提交 366263d5 作者: 方治民

fix: 清理 first-ui 组件文件头部版权信息,避免给更新带来麻烦

上级 8c09d1ab
<!--本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 156 1 626 0 1 9 5,身份证尾号:5 0 37 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。-->
<template>
<view @touchmove.stop.prevent="stop" v-if="isShow || !isNvue">
<view class="fui-actionsheet__mask" :class="{'fui-actionsheet__mask-show':show}" ref="fui_asm_ani"
......@@ -431,4 +430,4 @@
opacity: 1;
/* #endif */
}
</style>
\ No newline at end of file
</style>
<!--本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:1 561 6 2 60 19 5,身份证尾号: 50 375T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。-->
<template>
<view class="fui-alert__wrap" :class="[background?'':('fui-alert__'+type)]"
:style="{background:background || getColor(type),borderRadius:radius,paddingTop:padding[0] || 0,paddingRight:padding[1]||0,paddingBottom:padding[2] || padding[0]||0,paddingLeft:padding[3] || padding[1]||0,marginTop:marginTop+'rpx',marginBottom:marginBottom+'rpx'}">
......@@ -240,4 +239,4 @@
cursor: pointer;
/* #endif */
}
</style>
\ No newline at end of file
</style>
<!--本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:1561 62 60 1 9 5,身份证尾号:5 0 37 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。-->
<template>
<view class="fui-popup__animation" :class="[ani.in]" :style="'transform:' + transform + ';' + stylesObject"
@tap="change" v-if="isShow" ref="fui_ani">
......@@ -215,4 +214,4 @@
.fui-popup__fade-in {
opacity: 1;
}
</style>
\ No newline at end of file
</style>
<!--本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 1 56 16 260 195,身份证尾号:503 75T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。-->
<template>
<view class="fui-autograph__wrap" :style="{ width: w + 'px', height:h + 'px',background:background }"
ref="fui_gcanvas_ag">
......@@ -337,4 +336,4 @@
}
</script>
<style scoped></style>
\ No newline at end of file
<style scoped></style>
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 1 56162601 95,身份证尾号: 50 3 75T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
const isWeex = typeof WXEnvironment !== 'undefined';
const isWeexIOS = isWeex && /ios/i.test(WXEnvironment.platform);
const isWeexAndroid = isWeex && !isWeexIOS;
......@@ -239,4 +238,4 @@ const GBridge = {
}
}
export default GBridge;
\ No newline at end of file
export default GBridge;
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 15 61 626 0 195,身份证尾号: 503 7 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
class FillStyleLinearGradient {
constructor(x0, y0, x1, y1) {
......@@ -16,4 +15,4 @@ class FillStyleLinearGradient {
}
}
export default FillStyleLinearGradient;
\ No newline at end of file
export default FillStyleLinearGradient;
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 1 56 1 626 0 195,身份证尾号:5 0375T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
class FillStylePattern {
constructor(img, pattern) {
this._style = pattern;
......@@ -6,4 +5,4 @@ class FillStylePattern {
}
}
export default FillStylePattern;
\ No newline at end of file
export default FillStylePattern;
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:15 6 1 62 6 019 5,身份证尾号: 50 375T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
class FillStyleRadialGradient {
constructor(x0, y0, r0, x1, y1, r1) {
this._start_pos = { _x: x0, _y: y0, _r: r0 };
......@@ -15,4 +14,4 @@ class FillStyleRadialGradient {
}
}
export default FillStyleRadialGradient;
\ No newline at end of file
export default FillStyleRadialGradient;
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:1 5616 260 195,身份证尾号: 5 03 75T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
import FillStylePattern from './FillStylePattern';
import FillStyleLinearGradient from './FillStyleLinearGradient';
import FillStyleRadialGradient from './FillStyleRadialGradient';
......@@ -664,4 +663,4 @@ export default class CanvasRenderingContext2D {
}
});
}
}
\ No newline at end of file
}
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 156 162 6019 5,身份证尾号:5 0 37 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
export default class WebGLActiveInfo {
className = 'WebGLActiveInfo';
......@@ -9,4 +8,4 @@ export default class WebGLActiveInfo {
this.name = name;
this.size = size;
}
}
\ No newline at end of file
}
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:15 61 62601 9 5,身份证尾号:50 3 75T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
import {getTransferedObjectUUID} from './classUtils';
const name = 'WebGLBuffer';
......@@ -19,4 +18,4 @@ export default class WebGLBuffer {
uuid() {
return uuid(this.id);
}
}
\ No newline at end of file
}
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:156 1 6 2 60 195,身份证尾号: 5037 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
import {getTransferedObjectUUID} from './classUtils';
const name = 'WebGLFrameBuffer';
......@@ -19,4 +18,4 @@ export default class WebGLFramebuffer {
uuid() {
return uuid(this.id);
}
}
\ No newline at end of file
}
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:15 6 16 2 60 19 5,身份证尾号:50 3 7 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
export default {
"DEPTH_BUFFER_BIT": 256,
"STENCIL_BUFFER_BIT": 1024,
......@@ -296,4 +295,4 @@ export default {
"CONTEXT_LOST_WEBGL": 37442,
"UNPACK_COLORSPACE_CONVERSION_WEBGL": 37443,
"BROWSER_DEFAULT_WEBGL": 37444
};
\ No newline at end of file
};
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 1 56 162 6 01 9 5,身份证尾号: 5037 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
let i = 1;
const GLmethod = {};
......@@ -140,4 +139,4 @@ GLmethod.vertexAttrib4fv = i++; //new
GLmethod.vertexAttribPointer = i++;
GLmethod.viewport = i++;
export default GLmethod;
\ No newline at end of file
export default GLmethod;
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 15 6162 6 0 1 95,身份证尾号: 5037 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
const GLtype = {};
[
......@@ -19,5 +18,3 @@ const GLtype = {};
].sort().map((typeName, i) => GLtype[typeName] = 1 >> (i + 1));
export default GLtype;
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 15 6 16 260 1 9 5,身份证尾号: 503 75T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
import {getTransferedObjectUUID} from './classUtils';
const name = 'WebGLProgram';
......@@ -19,4 +18,4 @@ export default class WebGLProgram {
uuid() {
return uuid(this.id);
}
}
\ No newline at end of file
}
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:1 56162 6 01 95,身份证尾号:50 3 7 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
import {getTransferedObjectUUID} from './classUtils';
const name = 'WebGLRenderBuffer';
......@@ -19,4 +18,4 @@ export default class WebGLRenderbuffer {
uuid() {
return uuid(this.id);
}
}
\ No newline at end of file
}
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 1 5 6 1 6260 1 95,身份证尾号: 503 75T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
import GLenum from './GLenum';
import ActiveInfo from './ActiveInfo';
import Buffer from './Buffer';
......@@ -1189,4 +1188,4 @@ export default class WebGLRenderingContext {
true
)
}
}
\ No newline at end of file
}
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:1 56 1626 0 195,身份证尾号:5 0 3 75T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
import {getTransferedObjectUUID} from './classUtils';
const name = 'WebGLShader';
......@@ -20,4 +19,4 @@ export default class WebGLShader {
uuid() {
return uuid(this.id);
}
}
\ No newline at end of file
}
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:1561 62 60 19 5,身份证尾号:5 0 37 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
export default class WebGLShaderPrecisionFormat {
className = 'WebGLShaderPrecisionFormat';
......@@ -9,4 +8,4 @@ export default class WebGLShaderPrecisionFormat {
this.rangeMax = rangeMax;
this.precision = precision;
}
}
\ No newline at end of file
}
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:1561 6 26 0 1 95,身份证尾号: 5 0 37 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
import {getTransferedObjectUUID} from './classUtils';
const name = 'WebGLTexture';
......@@ -20,4 +19,4 @@ export default class WebGLTexture {
uuid() {
return uuid(this.id);
}
}
\ No newline at end of file
}
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:1 561 62 6 0195,身份证尾号:5 03 75T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
import {getTransferedObjectUUID} from './classUtils';
const name = 'WebGLUniformLocation';
......@@ -20,4 +19,4 @@ export default class WebGLUniformLocation {
uuid() {
return uuid(this.id);
}
}
\ No newline at end of file
}
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:1 56 162 6 01 95,身份证尾号: 50 37 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
export function getTransferedObjectUUID(name, id) {
return `${name.toLowerCase()}-${id}`;
}
\ No newline at end of file
}
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:15 6 1 6 26019 5,身份证尾号:5 0 375T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
import GContext2D from '../context-2d/RenderingContext';
import GContextWebGL from '../context-webgl/RenderingContext';
......@@ -72,4 +71,4 @@ export default class GCanvas {
}
}
\ No newline at end of file
}
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 15 61 62 6 01 95,身份证尾号: 50 3 75T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
let incId = 1;
const noop = function () { };
......@@ -94,4 +93,4 @@ class GImage {
}
}
export default GImage;
\ No newline at end of file
export default GImage;
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 1 56 1 6 260 195,身份证尾号:5 0 37 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
export function ArrayBufferToBase64 (buffer) {
var binary = '';
......@@ -22,4 +21,4 @@ export function Base64ToUint8ClampedArray(base64String) {
outputArray[i] = rawData.charCodeAt(i);
}
return outputArray;
}
\ No newline at end of file
}
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 15 6 16 260 19 5,身份证尾号:50 3 7 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
import GCanvas from './env/canvas';
import GImage from './env/image';
......@@ -45,4 +44,4 @@ export function enable(el, {
canvas.height = el.style.height * pixelRatio;
return canvas;
};
\ No newline at end of file
};
<!--本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:1 5 61626 01 95,身份证尾号:5 03 7 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。-->
<template>
<view class="fui-avatar__wrap" :class="[width?'':'fui-avatar__size-'+size,radius===-1?'fui-avatar__'+shape:'']"
:style="wrapStyles" @tap="handleClick">
......@@ -236,4 +235,4 @@
.fui-avatar__square {
border-radius: 8rpx !important;
}
</style>
\ No newline at end of file
</style>
<!--本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 1561 626 0 1 95,身份证尾号:50 37 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。-->
<template>
<!-- #ifdef APP-NVUE -->
<view ref="fui_bd_ani" class="fui-backdrop__wrap"
......@@ -171,4 +170,4 @@
}
/* #endif */
</style>
\ No newline at end of file
</style>
<!--本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 15 6162 6 0195,身份证尾号:5 03 75T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。-->
<template>
<view class="fui-backtop__wrap"
:style="{width:width+'rpx',height:width+'rpx',borderRadius:isNvue?width+'rpx':'50%' ,bottom: bottom + 'rpx', right: right + 'rpx',background:background }"
......@@ -118,4 +117,4 @@
cursor: pointer;
/* #endif */
}
</style>
\ No newline at end of file
</style>
<!--本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:1 5 6 16260 19 5,身份证尾号: 503 7 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。-->
<template>
<text
:class="[dot?'fui-badge__dot':'fui-badge__wrap',background?'':('fui-badge__bg-'+type),absolute?'fui-badge__absolute':'',scaleRatio!=1 && isNvue?'fui-badge__trans-origin':'',!background && type==='white'?'fui-badge__text-color':'']"
......@@ -217,4 +216,4 @@
.fui-badge__absolute {
position: absolute;
}
</style>
\ No newline at end of file
</style>
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:1 56 16 2 6 0 195,身份证尾号: 503 75T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
/*
* Copyright (c) 2014 Johannes Mittendorfer (http://johannes-mittendorfer.com)
* Licensed under the MIT License (LICENSE.txt).
......@@ -202,4 +201,4 @@ EAN13 = (function() {
})();
export default EAN13;
\ No newline at end of file
export default EAN13;
<!--本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:15 6 16 260 1 95,身份证尾号: 50 37 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。-->
<template>
<!-- #ifdef APP-NVUE -->
<gcanvas @longpress="longtap" @touchstart="touchstart" @touchend="touchend" :ref="canvasId"
......@@ -128,4 +127,4 @@
}
</script>
<style scoped></style>
\ No newline at end of file
<style scoped></style>
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 15616 2 601 95,身份证尾号: 50 37 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
const isWeex = typeof WXEnvironment !== 'undefined';
const isWeexIOS = isWeex && /ios/i.test(WXEnvironment.platform);
const isWeexAndroid = isWeex && !isWeexIOS;
......@@ -239,4 +238,4 @@ const GBridge = {
}
}
export default GBridge;
\ No newline at end of file
export default GBridge;
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 1 5 6 1 6260 1 9 5,身份证尾号:50 3 75T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
class FillStyleLinearGradient {
constructor(x0, y0, x1, y1) {
......@@ -16,4 +15,4 @@ class FillStyleLinearGradient {
}
}
export default FillStyleLinearGradient;
\ No newline at end of file
export default FillStyleLinearGradient;
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:156 162 6 0 195,身份证尾号: 5 0375T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
class FillStylePattern {
constructor(img, pattern) {// 新特性待增加
this._style = pattern;// todo: 待修改
......@@ -6,4 +5,4 @@ class FillStylePattern {
}// todo: 待修改
}
// todo: 待修改
export default FillStylePattern;
\ No newline at end of file
export default FillStylePattern;
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 1 5 6 1 6 260 195,身份证尾号: 5 0375T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
class FillStyleRadialGradient {
constructor(x0, y0, r0, x1, y1, r1) {
this._start_pos = { _x: x0, _y: y0, _r: r0 };
......@@ -15,4 +14,4 @@ class FillStyleRadialGradient {
}
}
export default FillStyleRadialGradient;
\ No newline at end of file
export default FillStyleRadialGradient;
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:1561 62 6 0 195,身份证尾号: 5 03 75T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
import FillStylePattern from './FillStylePattern';
import FillStyleLinearGradient from './FillStyleLinearGradient';
import FillStyleRadialGradient from './FillStyleRadialGradient';
......@@ -664,4 +663,4 @@ export default class CanvasRenderingContext2D {
}
});
}
}
\ No newline at end of file
}
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:1 5 6 1626 0 19 5,身份证尾号:5 037 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
export default class WebGLActiveInfo {
className = 'WebGLActiveInfo';
......@@ -9,4 +8,4 @@ export default class WebGLActiveInfo {
this.name = name;
this.size = size;
}
}
\ No newline at end of file
}
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:15 6 16 26 0195,身份证尾号:50 3 75T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
import {getTransferedObjectUUID} from './classUtils';
const name = 'WebGLBuffer';
......@@ -19,4 +18,4 @@ export default class WebGLBuffer {
uuid() {
return uuid(this.id);
}
}
\ No newline at end of file
}
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 15 616 2 601 95,身份证尾号: 50 3 75T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
import {getTransferedObjectUUID} from './classUtils';
const name = 'WebGLFrameBuffer';
......@@ -19,4 +18,4 @@ export default class WebGLFramebuffer {
uuid() {
return uuid(this.id);
}
}
\ No newline at end of file
}
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:1 5 616 2601 95,身份证尾号:50 3 75T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
export default {
"DEPTH_BUFFER_BIT": 256,
"STENCIL_BUFFER_BIT": 1024,
......@@ -296,4 +295,4 @@ export default {
"CONTEXT_LOST_WEBGL": 37442,
"UNPACK_COLORSPACE_CONVERSION_WEBGL": 37443,
"BROWSER_DEFAULT_WEBGL": 37444
};
\ No newline at end of file
};
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:1 5 616 26 01 9 5,身份证尾号: 5 03 7 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
let i = 1;
const GLmethod = {};
......@@ -140,4 +139,4 @@ GLmethod.vertexAttrib4fv = i++; //new
GLmethod.vertexAttribPointer = i++;
GLmethod.viewport = i++;
export default GLmethod;
\ No newline at end of file
export default GLmethod;
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:1 5 61 626 01 9 5,身份证尾号: 5 03 75T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
const GLtype = {};
[
......@@ -19,5 +18,3 @@ const GLtype = {};
].sort().map((typeName, i) => GLtype[typeName] = 1 >> (i + 1));
export default GLtype;
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:1 5 6 16 26 019 5,身份证尾号: 50 375T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
import {getTransferedObjectUUID} from './classUtils';
const name = 'WebGLProgram';
......@@ -19,4 +18,4 @@ export default class WebGLProgram {
uuid() {
return uuid(this.id);
}
}
\ No newline at end of file
}
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 156 1626 0 19 5,身份证尾号:5 03 7 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
import {getTransferedObjectUUID} from './classUtils';
const name = 'WebGLRenderBuffer';
......@@ -19,4 +18,4 @@ export default class WebGLRenderbuffer {
uuid() {
return uuid(this.id);
}
}
\ No newline at end of file
}
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 1 5 616 260 1 95,身份证尾号: 503 7 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
import GLenum from './GLenum';
import ActiveInfo from './ActiveInfo';
import Buffer from './Buffer';
......@@ -1189,4 +1188,4 @@ export default class WebGLRenderingContext {
true
)
}
}
\ No newline at end of file
}
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:1 5 6 1 6 26 01 9 5,身份证尾号: 503 7 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
import {getTransferedObjectUUID} from './classUtils';
const name = 'WebGLShader';
......@@ -20,4 +19,4 @@ export default class WebGLShader {
uuid() {
return uuid(this.id);
}
}
\ No newline at end of file
}
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:1 56 1 6260195,身份证尾号:5037 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
export default class WebGLShaderPrecisionFormat {
className = 'WebGLShaderPrecisionFormat';
......@@ -9,4 +8,4 @@ export default class WebGLShaderPrecisionFormat {
this.rangeMax = rangeMax;
this.precision = precision;
}
}
\ No newline at end of file
}
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:1 5616 26 0195,身份证尾号:50 37 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
import {getTransferedObjectUUID} from './classUtils';
const name = 'WebGLTexture';
......@@ -20,4 +19,4 @@ export default class WebGLTexture {
uuid() {
return uuid(this.id);
}
}
\ No newline at end of file
}
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 1 5 616 260 1 95,身份证尾号:5 0 37 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
import {getTransferedObjectUUID} from './classUtils';
const name = 'WebGLUniformLocation';
......@@ -20,4 +19,4 @@ export default class WebGLUniformLocation {
uuid() {
return uuid(this.id);
}
}
\ No newline at end of file
}
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 1 56 1 626 0 195,身份证尾号: 5 0 375T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
export function getTransferedObjectUUID(name, id) {
return `${name.toLowerCase()}-${id}`;
}
\ No newline at end of file
}
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 156 16 26 019 5,身份证尾号:5 0 375T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
import GContext2D from '../context-2d/RenderingContext';
import GContextWebGL from '../context-webgl/RenderingContext';
......@@ -72,4 +71,4 @@ export default class GCanvas {
}
}
\ No newline at end of file
}
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 1561 6 26 0 1 95,身份证尾号:503 7 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
let incId = 1;
const noop = function () { };
......@@ -94,4 +93,4 @@ class GImage {
}
}
export default GImage;
\ No newline at end of file
export default GImage;
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:1 561 6 26 0 195,身份证尾号:5037 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
export function ArrayBufferToBase64 (buffer) {
var binary = '';
......@@ -22,4 +21,4 @@ export function Base64ToUint8ClampedArray(base64String) {
outputArray[i] = rawData.charCodeAt(i);
}
return outputArray;
}
\ No newline at end of file
}
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 1 56 1 6 260 195,身份证尾号:5 03 7 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
import GCanvas from './env/canvas';
import GImage from './env/image';
......@@ -45,4 +44,4 @@ export function enable(el, {
canvas.height = el.style.height * pixelRatio;
return canvas;
};
\ No newline at end of file
};
<!--本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:1 56 1626 01 9 5,身份证尾号: 5037 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。-->
<template>
<view class="fui-bottom__navbar-wrap" :class="{'fui-bottom__navbar-fixed':isFixed}"
:style="{background:background,zIndex:zIndex}">
......@@ -273,4 +272,4 @@
flex-direction: row;
background-color: transparent;
}
</style>
\ No newline at end of file
</style>
<!--本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 156 16 2601 95,身份证尾号: 5037 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。-->
<template>
<view class="fui-bottom__popup-wrap" :class="{'fui-bottom__popwrap-show':show}"
:style="{ zIndex: zIndex,background:maskBackground}" @tap.stop="handleClose" @touchmove.stop.prevent="stop"
......@@ -244,4 +243,4 @@
}
/* #endif */
</style>
\ No newline at end of file
</style>
<!--本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 15 61 62 6019 5,身份证尾号: 503 7 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。-->
<template>
<view class="fui-bubble__box-wrap" ref="fui_bb_wrap">
<slot></slot>
......@@ -507,4 +506,4 @@
}
/* #endif */
</style>
\ No newline at end of file
</style>
<!--本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 1 5 6162 60 1 95,身份证尾号:503 7 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。-->
<template>
<view class="fui-button__wrap" :class="[!width || width==='100%' || width===true?'fui-button__flex-1':'',disabled && !disabledBackground ? 'fui-button__opacity' : '']"
:style="{width: width,height: getHeight,marginTop:margin[0] || 0, marginRight:margin[1]||0,marginBottom:margin[2] || margin[0]||0,marginLeft:margin[3] || margin[1]||0,borderRadius: getRadius,background:getBackground}"
......@@ -473,4 +472,4 @@
}
/* #endif */
</style>
\ No newline at end of file
</style>
<!--本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:15 616 26 0 1 95,身份证尾号:503 7 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。-->
<template>
<view class="fui-calendar__wrap" :style="{width:dateWidth,background:background}">
<view class="fui-calendar__header">
......@@ -873,4 +872,4 @@
.fui-calendar__btn-active:active {
background: rgba(0, 0, 0, .2);
}
</style>
\ No newline at end of file
</style>
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 1 5616 2 6 0 1 9 5,身份证尾号: 5037 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
/**
* @1900-2100区间内的公历、农历互转
* @公历转农历:solar2lunar(1987,11,01);
......@@ -577,4 +576,4 @@ export default {
solarTolunar: calendar.solar2lunar,
lunarTosolar: calendar.lunar2solar,
lang: lang
};
\ No newline at end of file
};
<!--本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 156 1 626 0 1 9 5,身份证尾号:5 03 75T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。-->
<template>
<!--nvue下, Android平台阴影设置elevation值-->
<view class="fui-card__wrap"
......@@ -322,4 +321,4 @@
box-sizing: border-box;
/* #endif */
}
</style>
\ No newline at end of file
</style>
<!--本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:15 6 162 601 95,身份证尾号: 50 3 75T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。-->
<template>
<view class="fui-cascader__wrap">
<view class="fui-cascader__header-wrap">
......@@ -579,4 +578,4 @@
}
/* #endif */
</style>
\ No newline at end of file
</style>
<!--本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 156162 6 01 9 5,身份证尾号: 503 75T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。-->
<template>
<!-- #ifdef APP-PLUS || H5 || MP-ALIPAY || MP-TOUTIAO -->
<checkbox-group :name="name">
......@@ -98,4 +97,4 @@
}
</script>
<style scoped></style>
\ No newline at end of file
<style scoped></style>
<!--本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 1561 62 60 1 9 5,身份证尾号:5 0 37 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。-->
<template>
<view class="fui-checkbox__input"
:class="{'fui-checkbox__disabled':disabled,'fui-checkbox__color':!color && val && !isCheckMark}"
......@@ -226,4 +225,4 @@
.fui-checkbox__disabled {
opacity: 0.6;
}
</style>
\ No newline at end of file
</style>
<!--本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:1 561 62 6 0 19 5,身份证尾号: 503 75T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。-->
<template>
<view class="fui-circle__wrap" :style="{width: w+'px',height:w+'px'}">
<!-- #ifdef APP-NVUE -->
......@@ -315,4 +314,4 @@
}
/* #endif */
</style>
\ No newline at end of file
</style>
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:15 6 1 6 260 19 5,身份证尾号:50 3 75T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
const isWeex = typeof WXEnvironment !== 'undefined';
const isWeexIOS = isWeex && /ios/i.test(WXEnvironment.platform);
const isWeexAndroid = isWeex && !isWeexIOS;
......@@ -239,4 +238,4 @@ const GBridge = {
}
}
export default GBridge;
\ No newline at end of file
export default GBridge;
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 1561 62 6 0 19 5,身份证尾号: 50 375T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
class FillStyleLinearGradient {
constructor(x0, y0, x1, y1) {
......@@ -16,4 +15,4 @@ class FillStyleLinearGradient {
}
}
export default FillStyleLinearGradient;
\ No newline at end of file
export default FillStyleLinearGradient;
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:15 6162 60 1 9 5,身份证尾号:5 0 37 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
class FillStylePattern {
constructor(img, pattern) {
this._style = pattern;
......@@ -6,4 +5,4 @@ class FillStylePattern {
}
}
export default FillStylePattern;
\ No newline at end of file
export default FillStylePattern;
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 15 6 1 6 26 01 95,身份证尾号:5 037 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
class FillStyleRadialGradient {
constructor(x0, y0, r0, x1, y1, r1) {
this._start_pos = { _x: x0, _y: y0, _r: r0 };
......@@ -15,4 +14,4 @@ class FillStyleRadialGradient {
}
}
export default FillStyleRadialGradient;
\ No newline at end of file
export default FillStyleRadialGradient;
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:15 616 26 0 19 5,身份证尾号:50 37 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
import FillStylePattern from './FillStylePattern';
import FillStyleLinearGradient from './FillStyleLinearGradient';
import FillStyleRadialGradient from './FillStyleRadialGradient';
......@@ -664,4 +663,4 @@ export default class CanvasRenderingContext2D {
}
});
}
}
\ No newline at end of file
}
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 1 56 1 6 26019 5,身份证尾号: 5037 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
export default class WebGLActiveInfo {
className = 'WebGLActiveInfo';
......@@ -9,4 +8,4 @@ export default class WebGLActiveInfo {
this.name = name;
this.size = size;
}
}
\ No newline at end of file
}
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 156 16 2 6019 5,身份证尾号:50 3 75T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
import {getTransferedObjectUUID} from './classUtils';
const name = 'WebGLBuffer';
......@@ -19,4 +18,4 @@ export default class WebGLBuffer {
uuid() {
return uuid(this.id);
}
}
\ No newline at end of file
}
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 1 5 6 16 2 6 019 5,身份证尾号: 50 37 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
import {getTransferedObjectUUID} from './classUtils';
const name = 'WebGLFrameBuffer';
......@@ -19,4 +18,4 @@ export default class WebGLFramebuffer {
uuid() {
return uuid(this.id);
}
}
\ No newline at end of file
}
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:156 1 6 260 1 95,身份证尾号:5 0 3 75T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
export default {
"DEPTH_BUFFER_BIT": 256,
"STENCIL_BUFFER_BIT": 1024,
......@@ -296,4 +295,4 @@ export default {
"CONTEXT_LOST_WEBGL": 37442,
"UNPACK_COLORSPACE_CONVERSION_WEBGL": 37443,
"BROWSER_DEFAULT_WEBGL": 37444
};
\ No newline at end of file
};
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:15 6 1 6 2601 9 5,身份证尾号: 5 0 375T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
let i = 1;
const GLmethod = {};
......@@ -140,4 +139,4 @@ GLmethod.vertexAttrib4fv = i++; //new
GLmethod.vertexAttribPointer = i++;
GLmethod.viewport = i++;
export default GLmethod;
\ No newline at end of file
export default GLmethod;
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 156 1 6 2601 95,身份证尾号: 5 0 375T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
const GLtype = {};
[
......@@ -19,5 +18,3 @@ const GLtype = {};
].sort().map((typeName, i) => GLtype[typeName] = 1 >> (i + 1));
export default GLtype;
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:15616 2 60 19 5,身份证尾号:50 3 75T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
import {getTransferedObjectUUID} from './classUtils';
const name = 'WebGLProgram';
......@@ -19,4 +18,4 @@ export default class WebGLProgram {
uuid() {
return uuid(this.id);
}
}
\ No newline at end of file
}
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:1 561 6 26 0 195,身份证尾号: 5037 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
import {getTransferedObjectUUID} from './classUtils';
const name = 'WebGLRenderBuffer';
......@@ -19,4 +18,4 @@ export default class WebGLRenderbuffer {
uuid() {
return uuid(this.id);
}
}
\ No newline at end of file
}
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 156 16 2 60 195,身份证尾号: 5037 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
import GLenum from './GLenum';
import ActiveInfo from './ActiveInfo';
import Buffer from './Buffer';
......@@ -1189,4 +1188,4 @@ export default class WebGLRenderingContext {
true
)
}
}
\ No newline at end of file
}
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 1 56 1 626 0 1 9 5,身份证尾号:5037 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
import {getTransferedObjectUUID} from './classUtils';
const name = 'WebGLShader';
......@@ -20,4 +19,4 @@ export default class WebGLShader {
uuid() {
return uuid(this.id);
}
}
\ No newline at end of file
}
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:1 5 6 162 6 0195,身份证尾号:50 3 7 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
export default class WebGLShaderPrecisionFormat {
className = 'WebGLShaderPrecisionFormat';
......@@ -9,4 +8,4 @@ export default class WebGLShaderPrecisionFormat {
this.rangeMax = rangeMax;
this.precision = precision;
}
}
\ No newline at end of file
}
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 1 5 61 62601 9 5,身份证尾号:5 0 375T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
import {getTransferedObjectUUID} from './classUtils';
const name = 'WebGLTexture';
......@@ -20,4 +19,4 @@ export default class WebGLTexture {
uuid() {
return uuid(this.id);
}
}
\ No newline at end of file
}
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 15616 260 1 9 5,身份证尾号: 503 75T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
import {getTransferedObjectUUID} from './classUtils';
const name = 'WebGLUniformLocation';
......@@ -20,4 +19,4 @@ export default class WebGLUniformLocation {
uuid() {
return uuid(this.id);
}
}
\ No newline at end of file
}
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 15 616 2 60 1 95,身份证尾号: 5 0375T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
export function getTransferedObjectUUID(name, id) {
return `${name.toLowerCase()}-${id}`;
}
\ No newline at end of file
}
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 1 5 6 162 60 1 95,身份证尾号: 503 75T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
import GContext2D from '../context-2d/RenderingContext';
import GContextWebGL from '../context-webgl/RenderingContext';
......@@ -72,4 +71,4 @@ export default class GCanvas {
}
}
\ No newline at end of file
}
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:1 5616 26 0 1 9 5,身份证尾号: 5 037 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
let incId = 1;
const noop = function () { };
......@@ -94,4 +93,4 @@ class GImage {
}
}
export default GImage;
\ No newline at end of file
export default GImage;
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 1561 6 26 019 5,身份证尾号: 503 7 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
export function ArrayBufferToBase64 (buffer) {
var binary = '';
......@@ -22,4 +21,4 @@ export function Base64ToUint8ClampedArray(base64String) {
outputArray[i] = rawData.charCodeAt(i);
}
return outputArray;
}
\ No newline at end of file
}
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:1 56 1 62 6 01 95,身份证尾号: 5037 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
import GCanvas from './env/canvas';
import GImage from './env/image';
......@@ -45,4 +44,4 @@ export function enable(el, {
canvas.height = el.style.height * pixelRatio;
return canvas;
};
\ No newline at end of file
};
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:15 6 16260 1 9 5,身份证尾号:5 03 75T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
// #ifdef MP
export default {
......@@ -129,4 +128,4 @@ export default {
// #ifndef MP
export default {}
// #endif
\ No newline at end of file
// #endif
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 15 6 1 62601 95,身份证尾号: 5037 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
// #ifdef APP-NVUE
import {
enable,
......@@ -129,4 +128,4 @@ export default {
// #ifndef APP-NVUE
export default {}
// #endif
\ No newline at end of file
// #endif
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:156 16260 1 9 5,身份证尾号:503 7 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
// #ifdef APP-VUE || H5
export default {
data() {
......@@ -28,4 +27,4 @@ export default {
// #ifndef APP-VUE || H5
export default {}
// #endif
\ No newline at end of file
// #endif
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:1 561626 0 1 95,身份证尾号: 5 0 37 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
// #ifdef H5
/**
* clipboard.min.js support for ES6 module import
* https://doc.firstui.cn/
**/
function select(t){var e;if("SELECT"===t.nodeName)t.focus(),e=t.value;else if("INPUT"===t.nodeName||"TEXTAREA"===t.nodeName){var i=t.hasAttribute("readonly");i||t.setAttribute("readonly",""),t.select(),t.setSelectionRange(0,t.value.length),i||t.removeAttribute("readonly"),e=t.value}else{t.hasAttribute("contenteditable")&&t.focus();var n=window.getSelection(),r=document.createRange();r.selectNodeContents(t),n.removeAllRanges(),n.addRange(r),e=n.toString()}return e}class ClipboardAction{constructor(t){this.resolveOptions(t),this.initSelection()}resolveOptions(t={}){this.action=t.action,this.container=t.container,this.emitter=t.emitter,this.target=t.target,this.text=t.text,this.trigger=t.trigger,this.selectedText=""}initSelection(){this.text?this.selectFake():this.target&&this.selectTarget()}selectFake(){const t="rtl"==document.documentElement.getAttribute("dir");this.removeFake(),this.fakeHandlerCallback=(()=>this.removeFake()),this.fakeHandler=this.container.addEventListener("click",this.fakeHandlerCallback)||!0,this.fakeElem=document.createElement("textarea"),this.fakeElem.style.fontSize="12pt",this.fakeElem.style.border="0",this.fakeElem.style.padding="0",this.fakeElem.style.margin="0",this.fakeElem.style.position="absolute",this.fakeElem.style[t?"right":"left"]="-9999px";let e=window.pageYOffset||document.documentElement.scrollTop;this.fakeElem.style.top=`${e}px`,this.fakeElem.setAttribute("readonly",""),this.fakeElem.value=this.text,this.container.appendChild(this.fakeElem),this.selectedText=select(this.fakeElem),this.copyText()}removeFake(){this.fakeHandler&&(this.container.removeEventListener("click",this.fakeHandlerCallback),this.fakeHandler=null,this.fakeHandlerCallback=null),this.fakeElem&&(this.container.removeChild(this.fakeElem),this.fakeElem=null)}selectTarget(){this.selectedText=select(this.target),this.copyText()}copyText(){let t;try{t=document.execCommand(this.action)}catch(e){t=!1}this.handleResult(t)}handleResult(t){this.emitter.emit(t?"success":"error",{action:this.action,text:this.selectedText,trigger:this.trigger,clearSelection:this.clearSelection.bind(this)})}clearSelection(){this.trigger&&this.trigger.focus(),window.getSelection().removeAllRanges()}set action(t="copy"){if(this._action=t,"copy"!==this._action&&"cut"!==this._action)throw new Error('Invalid "action" value, use either "copy" or "cut"')}get action(){return this._action}set target(t){if(void 0!==t){if(!t||"object"!=typeof t||1!==t.nodeType)throw new Error('Invalid "target" value, use a valid Element');if("copy"===this.action&&t.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===this.action&&(t.hasAttribute("readonly")||t.hasAttribute("disabled")))throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes');this._target=t}}get target(){return this._target}destroy(){this.removeFake()}}function Emitter(){}Emitter.prototype={on:function(t,e,i){var n=this.e||(this.e={});return(n[t]||(n[t]=[])).push({fn:e,ctx:i}),this},once:function(t,e,i){var n=this;function r(){n.off(t,r),e.apply(i,arguments)}return r._=e,this.on(t,r,i)},emit:function(t){for(var e=[].slice.call(arguments,1),i=((this.e||(this.e={}))[t]||[]).slice(),n=0,r=i.length;n<r;n++)i[n].fn.apply(i[n].ctx,e);return this},off:function(t,e){var i=this.e||(this.e={}),n=i[t],r=[];if(n&&e)for(var o=0,s=n.length;o<s;o++)n[o].fn!==e&&n[o].fn._!==e&&r.push(n[o]);return r.length?i[t]=r:delete i[t],this}};let is={node:function(t){return void 0!==t&&t instanceof HTMLElement&&1===t.nodeType},nodeList:function(t){var e=Object.prototype.toString.call(t);return void 0!==t&&("[object NodeList]"===e||"[object HTMLCollection]"===e)&&"length"in t&&(0===t.length||exports.node(t[0]))},string:function(t){return"string"==typeof t||t instanceof String},fn:function(t){return"[object Function]"===Object.prototype.toString.call(t)}};var DOCUMENT_NODE_TYPE=9;if("undefined"!=typeof Element&&!Element.prototype.matches){var proto=Element.prototype;proto.matches=proto.matchesSelector||proto.mozMatchesSelector||proto.msMatchesSelector||proto.oMatchesSelector||proto.webkitMatchesSelector}function closest(t,e){for(;t&&t.nodeType!==DOCUMENT_NODE_TYPE;){if("function"==typeof t.matches&&t.matches(e))return t;t=t.parentNode}}function _delegate(t,e,i,n,r){var o=listener.apply(this,arguments);return t.addEventListener(i,o,r),{destroy:function(){t.removeEventListener(i,o,r)}}}function delegate(t,e,i,n,r){return"function"==typeof t.addEventListener?_delegate.apply(null,arguments):"function"==typeof i?_delegate.bind(null,document).apply(null,arguments):("string"==typeof t&&(t=document.querySelectorAll(t)),Array.prototype.map.call(t,function(t){return _delegate(t,e,i,n,r)}))}function listener(t,e,i,n){return function(i){i.delegateTarget=closest(i.target,e),i.delegateTarget&&n.call(t,i)}}function listen(t,e,i){if(!t&&!e&&!i)throw new Error("Missing required arguments");if(!is.string(e))throw new TypeError("Second argument must be a String");if(!is.fn(i))throw new TypeError("Third argument must be a Function");if(is.node(t))return listenNode(t,e,i);if(is.nodeList(t))return listenNodeList(t,e,i);if(is.string(t))return listenSelector(t,e,i);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}function listenNode(t,e,i){return t.addEventListener(e,i),{destroy:function(){t.removeEventListener(e,i)}}}function listenNodeList(t,e,i){return Array.prototype.forEach.call(t,function(t){t.addEventListener(e,i)}),{destroy:function(){Array.prototype.forEach.call(t,function(t){t.removeEventListener(e,i)})}}}function listenSelector(t,e,i){return delegate(document.body,t,e,i)}class Clipboard extends Emitter{constructor(t,e){super(),this.resolveOptions(e),this.listenClick(t)}resolveOptions(t={}){this.action="function"==typeof t.action?t.action:this.defaultAction,this.target="function"==typeof t.target?t.target:this.defaultTarget,this.text="function"==typeof t.text?t.text:this.defaultText,this.container="object"==typeof t.container?t.container:document.body}listenClick(t){this.listener=listen(t,"click",t=>this.onClick(t))}onClick(t){const e=t.delegateTarget||t.currentTarget;this.clipboardAction&&(this.clipboardAction=null),this.clipboardAction=new ClipboardAction({action:this.action(e),target:this.target(e),text:this.text(e),container:this.container,trigger:e,emitter:this})}defaultAction(t){return getAttributeValue("action",t)}defaultTarget(t){const e=getAttributeValue("target",t);if(e)return document.querySelector(e)}static isSupported(t=["copy","cut"]){const e="string"==typeof t?[t]:t;let i=!!document.queryCommandSupported;return e.forEach(t=>{i=i&&!!document.queryCommandSupported(t)}),i}defaultText(t){return getAttributeValue("text",t)}destroy(){this.listener.destroy(),this.clipboardAction&&(this.clipboardAction.destroy(),this.clipboardAction=null)}}function getAttributeValue(t,e){const i=`data-clipboard-${t}`;if(e.hasAttribute(i))return e.getAttribute(i)}export default Clipboard;
// #endif
\ No newline at end of file
// #endif
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 1 56 1 6260 19 5,身份证尾号:5037 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
/*!
* 剪贴板
*
......@@ -49,4 +48,4 @@ const getClipboardData = function(data, callback, e) {
}
export default {
getClipboardData: getClipboardData
};
\ No newline at end of file
};
<!--本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:1 5 6 1 6 2601 95,身份证尾号: 50 375T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。-->
<template>
<!-- #ifdef APP-NVUE -->
<view :style="{
......@@ -3217,4 +3216,4 @@
}
/* #endif */
</style>
\ No newline at end of file
</style>
<!--本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:1 5 6162 6 01 9 5,身份证尾号: 503 7 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。-->
<template>
<view class="fui-collapse__item">
<view @click="onClick(!isOpen)" class="fui-collapse-item__title" :class="{'fui-collapse__disabled':disabled}"
......@@ -340,4 +339,4 @@
.fui-collapse__content-open {
position: relative;
}
</style>
\ No newline at end of file
</style>
<!--本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:15 6 1 626 0 195,身份证尾号:503 7 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。-->
<template>
<view class="fui-collapse__wrap">
<slot></slot>
......@@ -47,4 +46,4 @@
flex-direction: column;
background: #fff;
}
</style>
\ No newline at end of file
</style>
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:15 6 16 2 6 0 19 5,身份证尾号: 5 037 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
/*
组件属性全局配置文件。优先级:全局配置文件props < 直接设置组件props
目前支持配置的组件:fui-button、fui-icon、fui-text、fui-input、fui-form-item
......@@ -32,4 +31,4 @@ const fuiConfig = {
}
}
export default fuiConfig
\ No newline at end of file
export default fuiConfig
<!--本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:1561 62 601 9 5,身份证尾号: 50 37 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。-->
<template>
<view class="fui-copy__text-wrap">
<!-- #ifndef MP-ALIPAY -->
......@@ -456,4 +455,4 @@
}
/* #endif */
</style>
\ No newline at end of file
</style>
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论