deepsea-components 5.11.6 → 5.12.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/AutoFit.cjs +116 -0
- package/dist/components/AutoFit.js +82 -0
- package/dist/components/AutoScroll.cjs +125 -0
- package/dist/components/AutoScroll.js +91 -0
- package/dist/components/AutoSizeTextarea.cjs +73 -0
- package/dist/components/AutoSizeTextarea.js +39 -0
- package/dist/components/CircleText.cjs +68 -0
- package/dist/components/CircleText.js +34 -0
- package/dist/components/CopyButton.cjs +73 -0
- package/dist/{cjs/components → components}/CopyButton.d.ts +3 -3
- package/dist/components/CopyButton.js +27 -0
- package/dist/components/Echart.cjs +74 -0
- package/dist/components/Echart.js +34 -0
- package/dist/components/Flow.cjs +211 -0
- package/dist/components/Flow.js +168 -0
- package/dist/components/FormLabel.cjs +77 -0
- package/dist/components/FormLabel.js +37 -0
- package/dist/components/HlsPlayer.cjs +76 -0
- package/dist/components/HlsPlayer.js +32 -0
- package/dist/components/InfiniteScroll.cjs +135 -0
- package/dist/{cjs/components → components}/InfiniteScroll.d.ts +7 -7
- package/dist/components/InfiniteScroll.js +101 -0
- package/dist/components/InputFile.cjs +102 -0
- package/dist/components/InputFile.js +65 -0
- package/dist/components/InputFileButton.cjs +109 -0
- package/dist/components/InputFileButton.js +75 -0
- package/dist/components/LoopSwiper.cjs +147 -0
- package/dist/components/LoopSwiper.js +113 -0
- package/dist/components/ReadExcel.cjs +48 -0
- package/dist/components/ReadExcel.js +14 -0
- package/dist/components/Ring.cjs +53 -0
- package/dist/components/Ring.js +19 -0
- package/dist/components/Scroll.cjs +143 -0
- package/dist/components/Scroll.js +54 -0
- package/dist/components/SectionRing.cjs +59 -0
- package/dist/components/SectionRing.js +25 -0
- package/dist/components/Skeleton.cjs +66 -0
- package/dist/components/Skeleton.js +32 -0
- package/dist/components/Title.cjs +61 -0
- package/dist/components/Title.js +27 -0
- package/dist/components/TransitionBox.cjs +79 -0
- package/dist/components/TransitionBox.js +45 -0
- package/dist/components/TransitionNum.cjs +83 -0
- package/dist/components/TransitionNum.js +49 -0
- package/dist/components/Trapezium.cjs +67 -0
- package/dist/components/Trapezium.js +33 -0
- package/dist/components/Unify.cjs +68 -0
- package/dist/components/Unify.js +31 -0
- package/dist/components/WriteExcel.cjs +50 -0
- package/dist/components/WriteExcel.js +16 -0
- package/dist/index.cjs +285 -0
- package/dist/index.js +26 -0
- package/dist/utils/getReactVersion.cjs +40 -0
- package/dist/utils/getReactVersion.js +6 -0
- package/dist/utils/index.cjs +57 -0
- package/dist/utils/index.js +17 -0
- package/package.json +26 -17
- package/src/components/WriteExcel.tsx +25 -25
- package/tsconfig.json +16 -0
- package/dist/cjs/components/AutoFit.js +0 -106
- package/dist/cjs/components/AutoFit.js.map +0 -7
- package/dist/cjs/components/AutoScroll.js +0 -127
- package/dist/cjs/components/AutoScroll.js.map +0 -7
- package/dist/cjs/components/AutoSizeTextarea.js +0 -70
- package/dist/cjs/components/AutoSizeTextarea.js.map +0 -7
- package/dist/cjs/components/CircleText.js +0 -77
- package/dist/cjs/components/CircleText.js.map +0 -7
- package/dist/cjs/components/CopyButton.js +0 -60
- package/dist/cjs/components/CopyButton.js.map +0 -7
- package/dist/cjs/components/Echart.js +0 -56
- package/dist/cjs/components/Echart.js.map +0 -7
- package/dist/cjs/components/Flow.js +0 -220
- package/dist/cjs/components/Flow.js.map +0 -7
- package/dist/cjs/components/FormLabel.js +0 -42
- package/dist/cjs/components/FormLabel.js.map +0 -7
- package/dist/cjs/components/HlsPlayer.js +0 -65
- package/dist/cjs/components/HlsPlayer.js.map +0 -7
- package/dist/cjs/components/InfiniteScroll.js +0 -148
- package/dist/cjs/components/InfiniteScroll.js.map +0 -7
- package/dist/cjs/components/InputFile.js +0 -90
- package/dist/cjs/components/InputFile.js.map +0 -7
- package/dist/cjs/components/InputFileButton.js +0 -113
- package/dist/cjs/components/InputFileButton.js.map +0 -7
- package/dist/cjs/components/LoopSwiper.js +0 -137
- package/dist/cjs/components/LoopSwiper.js.map +0 -7
- package/dist/cjs/components/ReadExcel.js +0 -36
- package/dist/cjs/components/ReadExcel.js.map +0 -7
- package/dist/cjs/components/Ring.js +0 -49
- package/dist/cjs/components/Ring.js.map +0 -7
- package/dist/cjs/components/Scroll.js +0 -103
- package/dist/cjs/components/Scroll.js.map +0 -7
- package/dist/cjs/components/SectionRing.js +0 -54
- package/dist/cjs/components/SectionRing.js.map +0 -7
- package/dist/cjs/components/Skeleton.js +0 -66
- package/dist/cjs/components/Skeleton.js.map +0 -7
- package/dist/cjs/components/Title.js +0 -48
- package/dist/cjs/components/Title.js.map +0 -7
- package/dist/cjs/components/TransitionBox.js +0 -53
- package/dist/cjs/components/TransitionBox.js.map +0 -7
- package/dist/cjs/components/TransitionNum.js +0 -62
- package/dist/cjs/components/TransitionNum.js.map +0 -7
- package/dist/cjs/components/Trapezium.js +0 -69
- package/dist/cjs/components/Trapezium.js.map +0 -7
- package/dist/cjs/components/Unify.js +0 -48
- package/dist/cjs/components/Unify.js.map +0 -7
- package/dist/cjs/components/WriteExcel.js +0 -45
- package/dist/cjs/components/WriteExcel.js.map +0 -7
- package/dist/cjs/index.js +0 -74
- package/dist/cjs/index.js.map +0 -7
- package/dist/cjs/utils/getReactVersion.js +0 -34
- package/dist/cjs/utils/getReactVersion.js.map +0 -7
- package/dist/cjs/utils/index.js +0 -52
- package/dist/cjs/utils/index.js.map +0 -7
- package/dist/esm/components/AutoFit.d.ts +0 -25
- package/dist/esm/components/AutoFit.js +0 -97
- package/dist/esm/components/AutoFit.js.map +0 -1
- package/dist/esm/components/AutoScroll.d.ts +0 -38
- package/dist/esm/components/AutoScroll.js +0 -102
- package/dist/esm/components/AutoScroll.js.map +0 -1
- package/dist/esm/components/AutoSizeTextarea.d.ts +0 -5
- package/dist/esm/components/AutoSizeTextarea.js +0 -48
- package/dist/esm/components/AutoSizeTextarea.js.map +0 -1
- package/dist/esm/components/CircleText.d.ts +0 -25
- package/dist/esm/components/CircleText.js +0 -49
- package/dist/esm/components/CircleText.js.map +0 -1
- package/dist/esm/components/CopyButton.d.ts +0 -13
- package/dist/esm/components/CopyButton.js +0 -31
- package/dist/esm/components/CopyButton.js.map +0 -1
- package/dist/esm/components/Echart.d.ts +0 -15
- package/dist/esm/components/Echart.js +0 -41
- package/dist/esm/components/Echart.js.map +0 -1
- package/dist/esm/components/Flow.d.ts +0 -86
- package/dist/esm/components/Flow.js +0 -186
- package/dist/esm/components/Flow.js.map +0 -1
- package/dist/esm/components/FormLabel.d.ts +0 -22
- package/dist/esm/components/FormLabel.js +0 -52
- package/dist/esm/components/FormLabel.js.map +0 -1
- package/dist/esm/components/HlsPlayer.d.ts +0 -5
- package/dist/esm/components/HlsPlayer.js +0 -36
- package/dist/esm/components/HlsPlayer.js.map +0 -1
- package/dist/esm/components/InfiniteScroll.d.ts +0 -54
- package/dist/esm/components/InfiniteScroll.js +0 -102
- package/dist/esm/components/InfiniteScroll.js.map +0 -1
- package/dist/esm/components/InputFile.d.ts +0 -26
- package/dist/esm/components/InputFile.js +0 -78
- package/dist/esm/components/InputFile.js.map +0 -1
- package/dist/esm/components/InputFileButton.d.ts +0 -11
- package/dist/esm/components/InputFileButton.js +0 -95
- package/dist/esm/components/InputFileButton.js.map +0 -1
- package/dist/esm/components/LoopSwiper.d.ts +0 -9
- package/dist/esm/components/LoopSwiper.js +0 -122
- package/dist/esm/components/LoopSwiper.js.map +0 -1
- package/dist/esm/components/ReadExcel.d.ts +0 -8
- package/dist/esm/components/ReadExcel.js +0 -19
- package/dist/esm/components/ReadExcel.js.map +0 -1
- package/dist/esm/components/Ring.d.ts +0 -7
- package/dist/esm/components/Ring.js +0 -26
- package/dist/esm/components/Ring.js.map +0 -1
- package/dist/esm/components/Scroll.d.ts +0 -24
- package/dist/esm/components/Scroll.js +0 -67
- package/dist/esm/components/Scroll.js.map +0 -1
- package/dist/esm/components/SectionRing.d.ts +0 -8
- package/dist/esm/components/SectionRing.js +0 -33
- package/dist/esm/components/SectionRing.js.map +0 -1
- package/dist/esm/components/Skeleton.d.ts +0 -5
- package/dist/esm/components/Skeleton.js +0 -38
- package/dist/esm/components/Skeleton.js.map +0 -1
- package/dist/esm/components/Title.d.ts +0 -3
- package/dist/esm/components/Title.js +0 -26
- package/dist/esm/components/Title.js.map +0 -1
- package/dist/esm/components/TransitionBox.d.ts +0 -10
- package/dist/esm/components/TransitionBox.js +0 -50
- package/dist/esm/components/TransitionBox.js.map +0 -1
- package/dist/esm/components/TransitionNum.d.ts +0 -16
- package/dist/esm/components/TransitionNum.js +0 -65
- package/dist/esm/components/TransitionNum.js.map +0 -1
- package/dist/esm/components/Trapezium.d.ts +0 -9
- package/dist/esm/components/Trapezium.js +0 -43
- package/dist/esm/components/Trapezium.js.map +0 -1
- package/dist/esm/components/Unify.d.ts +0 -13
- package/dist/esm/components/Unify.js +0 -47
- package/dist/esm/components/Unify.js.map +0 -1
- package/dist/esm/components/WriteExcel.d.ts +0 -8
- package/dist/esm/components/WriteExcel.js +0 -23
- package/dist/esm/components/WriteExcel.js.map +0 -1
- package/dist/esm/index.d.ts +0 -26
- package/dist/esm/index.js +0 -27
- package/dist/esm/index.js.map +0 -1
- package/dist/esm/utils/getReactVersion.d.ts +0 -1
- package/dist/esm/utils/getReactVersion.js +0 -6
- package/dist/esm/utils/getReactVersion.js.map +0 -1
- package/dist/esm/utils/index.d.ts +0 -9
- package/dist/esm/utils/index.js +0 -17
- package/dist/esm/utils/index.js.map +0 -1
- /package/dist/{cjs/components → components}/AutoFit.d.ts +0 -0
- /package/dist/{cjs/components → components}/AutoScroll.d.ts +0 -0
- /package/dist/{cjs/components → components}/AutoSizeTextarea.d.ts +0 -0
- /package/dist/{cjs/components → components}/CircleText.d.ts +0 -0
- /package/dist/{cjs/components → components}/Echart.d.ts +0 -0
- /package/dist/{cjs/components → components}/Flow.d.ts +0 -0
- /package/dist/{cjs/components → components}/FormLabel.d.ts +0 -0
- /package/dist/{cjs/components → components}/HlsPlayer.d.ts +0 -0
- /package/dist/{cjs/components → components}/InputFile.d.ts +0 -0
- /package/dist/{cjs/components → components}/InputFileButton.d.ts +0 -0
- /package/dist/{cjs/components → components}/LoopSwiper.d.ts +0 -0
- /package/dist/{cjs/components → components}/ReadExcel.d.ts +0 -0
- /package/dist/{cjs/components → components}/Ring.d.ts +0 -0
- /package/dist/{cjs/components → components}/Scroll.d.ts +0 -0
- /package/dist/{cjs/components → components}/SectionRing.d.ts +0 -0
- /package/dist/{cjs/components → components}/Skeleton.d.ts +0 -0
- /package/dist/{cjs/components → components}/Title.d.ts +0 -0
- /package/dist/{cjs/components → components}/TransitionBox.d.ts +0 -0
- /package/dist/{cjs/components → components}/TransitionNum.d.ts +0 -0
- /package/dist/{cjs/components → components}/Trapezium.d.ts +0 -0
- /package/dist/{cjs/components → components}/Unify.d.ts +0 -0
- /package/dist/{cjs/components → components}/WriteExcel.d.ts +0 -0
- /package/dist/{cjs/index.d.ts → index.d.ts} +0 -0
- /package/dist/{cjs/utils → utils}/getReactVersion.d.ts +0 -0
- /package/dist/{cjs/utils → utils}/index.d.ts +0 -0
package/dist/index.cjs
ADDED
|
@@ -0,0 +1,285 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __webpack_modules__ = {
|
|
3
|
+
"@/components/AutoFit": function(module) {
|
|
4
|
+
module.exports = require("./components/AutoFit.cjs");
|
|
5
|
+
},
|
|
6
|
+
"@/components/AutoScroll": function(module) {
|
|
7
|
+
module.exports = require("./components/AutoScroll.cjs");
|
|
8
|
+
},
|
|
9
|
+
"@/components/AutoSizeTextarea": function(module) {
|
|
10
|
+
module.exports = require("./components/AutoSizeTextarea.cjs");
|
|
11
|
+
},
|
|
12
|
+
"@/components/CircleText": function(module) {
|
|
13
|
+
module.exports = require("./components/CircleText.cjs");
|
|
14
|
+
},
|
|
15
|
+
"@/components/CopyButton": function(module) {
|
|
16
|
+
module.exports = require("./components/CopyButton.cjs");
|
|
17
|
+
},
|
|
18
|
+
"@/components/Echart": function(module) {
|
|
19
|
+
module.exports = require("./components/Echart.cjs");
|
|
20
|
+
},
|
|
21
|
+
"@/components/Flow": function(module) {
|
|
22
|
+
module.exports = require("./components/Flow.cjs");
|
|
23
|
+
},
|
|
24
|
+
"@/components/FormLabel": function(module) {
|
|
25
|
+
module.exports = require("./components/FormLabel.cjs");
|
|
26
|
+
},
|
|
27
|
+
"@/components/HlsPlayer": function(module) {
|
|
28
|
+
module.exports = require("./components/HlsPlayer.cjs");
|
|
29
|
+
},
|
|
30
|
+
"@/components/InfiniteScroll": function(module) {
|
|
31
|
+
module.exports = require("./components/InfiniteScroll.cjs");
|
|
32
|
+
},
|
|
33
|
+
"@/components/InputFile": function(module) {
|
|
34
|
+
module.exports = require("./components/InputFile.cjs");
|
|
35
|
+
},
|
|
36
|
+
"@/components/InputFileButton": function(module) {
|
|
37
|
+
module.exports = require("./components/InputFileButton.cjs");
|
|
38
|
+
},
|
|
39
|
+
"@/components/LoopSwiper": function(module) {
|
|
40
|
+
module.exports = require("./components/LoopSwiper.cjs");
|
|
41
|
+
},
|
|
42
|
+
"@/components/ReadExcel": function(module) {
|
|
43
|
+
module.exports = require("./components/ReadExcel.cjs");
|
|
44
|
+
},
|
|
45
|
+
"@/components/Ring": function(module) {
|
|
46
|
+
module.exports = require("./components/Ring.cjs");
|
|
47
|
+
},
|
|
48
|
+
"@/components/Scroll": function(module) {
|
|
49
|
+
module.exports = require("./components/Scroll.cjs");
|
|
50
|
+
},
|
|
51
|
+
"@/components/SectionRing": function(module) {
|
|
52
|
+
module.exports = require("./components/SectionRing.cjs");
|
|
53
|
+
},
|
|
54
|
+
"@/components/Skeleton": function(module) {
|
|
55
|
+
module.exports = require("./components/Skeleton.cjs");
|
|
56
|
+
},
|
|
57
|
+
"@/components/Title": function(module) {
|
|
58
|
+
module.exports = require("./components/Title.cjs");
|
|
59
|
+
},
|
|
60
|
+
"@/components/TransitionBox": function(module) {
|
|
61
|
+
module.exports = require("./components/TransitionBox.cjs");
|
|
62
|
+
},
|
|
63
|
+
"@/components/TransitionNum": function(module) {
|
|
64
|
+
module.exports = require("./components/TransitionNum.cjs");
|
|
65
|
+
},
|
|
66
|
+
"@/components/Trapezium": function(module) {
|
|
67
|
+
module.exports = require("./components/Trapezium.cjs");
|
|
68
|
+
},
|
|
69
|
+
"@/components/Unify": function(module) {
|
|
70
|
+
module.exports = require("./components/Unify.cjs");
|
|
71
|
+
},
|
|
72
|
+
"@/components/WriteExcel": function(module) {
|
|
73
|
+
module.exports = require("./components/WriteExcel.cjs");
|
|
74
|
+
},
|
|
75
|
+
"@/utils/getReactVersion": function(module) {
|
|
76
|
+
module.exports = require("./utils/getReactVersion.cjs");
|
|
77
|
+
},
|
|
78
|
+
"@/utils/index": function(module) {
|
|
79
|
+
module.exports = require("./utils/index.cjs");
|
|
80
|
+
}
|
|
81
|
+
};
|
|
82
|
+
var __webpack_module_cache__ = {};
|
|
83
|
+
function __webpack_require__(moduleId) {
|
|
84
|
+
var cachedModule = __webpack_module_cache__[moduleId];
|
|
85
|
+
if (void 0 !== cachedModule) return cachedModule.exports;
|
|
86
|
+
var module = __webpack_module_cache__[moduleId] = {
|
|
87
|
+
exports: {}
|
|
88
|
+
};
|
|
89
|
+
__webpack_modules__[moduleId](module, module.exports, __webpack_require__);
|
|
90
|
+
return module.exports;
|
|
91
|
+
}
|
|
92
|
+
(()=>{
|
|
93
|
+
__webpack_require__.n = (module)=>{
|
|
94
|
+
var getter = module && module.__esModule ? ()=>module['default'] : ()=>module;
|
|
95
|
+
__webpack_require__.d(getter, {
|
|
96
|
+
a: getter
|
|
97
|
+
});
|
|
98
|
+
return getter;
|
|
99
|
+
};
|
|
100
|
+
})();
|
|
101
|
+
(()=>{
|
|
102
|
+
__webpack_require__.d = (exports1, definition)=>{
|
|
103
|
+
for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
|
|
104
|
+
enumerable: true,
|
|
105
|
+
get: definition[key]
|
|
106
|
+
});
|
|
107
|
+
};
|
|
108
|
+
})();
|
|
109
|
+
(()=>{
|
|
110
|
+
__webpack_require__.o = (obj, prop)=>Object.prototype.hasOwnProperty.call(obj, prop);
|
|
111
|
+
})();
|
|
112
|
+
(()=>{
|
|
113
|
+
__webpack_require__.r = (exports1)=>{
|
|
114
|
+
if ('undefined' != typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
|
|
115
|
+
value: 'Module'
|
|
116
|
+
});
|
|
117
|
+
Object.defineProperty(exports1, '__esModule', {
|
|
118
|
+
value: true
|
|
119
|
+
});
|
|
120
|
+
};
|
|
121
|
+
})();
|
|
122
|
+
var __webpack_exports__ = {};
|
|
123
|
+
(()=>{
|
|
124
|
+
__webpack_require__.r(__webpack_exports__);
|
|
125
|
+
var _components_AutoFit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("@/components/AutoFit");
|
|
126
|
+
var __WEBPACK_REEXPORT_OBJECT__ = {};
|
|
127
|
+
for(var __WEBPACK_IMPORT_KEY__ in _components_AutoFit__WEBPACK_IMPORTED_MODULE_0__)if ("default" !== __WEBPACK_IMPORT_KEY__) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] = (function(key) {
|
|
128
|
+
return _components_AutoFit__WEBPACK_IMPORTED_MODULE_0__[key];
|
|
129
|
+
}).bind(0, __WEBPACK_IMPORT_KEY__);
|
|
130
|
+
__webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
|
|
131
|
+
var _components_AutoScroll__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("@/components/AutoScroll");
|
|
132
|
+
var __WEBPACK_REEXPORT_OBJECT__ = {};
|
|
133
|
+
for(var __WEBPACK_IMPORT_KEY__ in _components_AutoScroll__WEBPACK_IMPORTED_MODULE_1__)if ("default" !== __WEBPACK_IMPORT_KEY__) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] = (function(key) {
|
|
134
|
+
return _components_AutoScroll__WEBPACK_IMPORTED_MODULE_1__[key];
|
|
135
|
+
}).bind(0, __WEBPACK_IMPORT_KEY__);
|
|
136
|
+
__webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
|
|
137
|
+
var _components_AutoSizeTextarea__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("@/components/AutoSizeTextarea");
|
|
138
|
+
var __WEBPACK_REEXPORT_OBJECT__ = {};
|
|
139
|
+
for(var __WEBPACK_IMPORT_KEY__ in _components_AutoSizeTextarea__WEBPACK_IMPORTED_MODULE_2__)if ("default" !== __WEBPACK_IMPORT_KEY__) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] = (function(key) {
|
|
140
|
+
return _components_AutoSizeTextarea__WEBPACK_IMPORTED_MODULE_2__[key];
|
|
141
|
+
}).bind(0, __WEBPACK_IMPORT_KEY__);
|
|
142
|
+
__webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
|
|
143
|
+
var _components_CircleText__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("@/components/CircleText");
|
|
144
|
+
var __WEBPACK_REEXPORT_OBJECT__ = {};
|
|
145
|
+
for(var __WEBPACK_IMPORT_KEY__ in _components_CircleText__WEBPACK_IMPORTED_MODULE_3__)if ("default" !== __WEBPACK_IMPORT_KEY__) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] = (function(key) {
|
|
146
|
+
return _components_CircleText__WEBPACK_IMPORTED_MODULE_3__[key];
|
|
147
|
+
}).bind(0, __WEBPACK_IMPORT_KEY__);
|
|
148
|
+
__webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
|
|
149
|
+
var _components_CopyButton__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("@/components/CopyButton");
|
|
150
|
+
var __WEBPACK_REEXPORT_OBJECT__ = {};
|
|
151
|
+
for(var __WEBPACK_IMPORT_KEY__ in _components_CopyButton__WEBPACK_IMPORTED_MODULE_4__)if ("default" !== __WEBPACK_IMPORT_KEY__) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] = (function(key) {
|
|
152
|
+
return _components_CopyButton__WEBPACK_IMPORTED_MODULE_4__[key];
|
|
153
|
+
}).bind(0, __WEBPACK_IMPORT_KEY__);
|
|
154
|
+
__webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
|
|
155
|
+
var _components_Echart__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("@/components/Echart");
|
|
156
|
+
var __WEBPACK_REEXPORT_OBJECT__ = {};
|
|
157
|
+
for(var __WEBPACK_IMPORT_KEY__ in _components_Echart__WEBPACK_IMPORTED_MODULE_5__)if ("default" !== __WEBPACK_IMPORT_KEY__) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] = (function(key) {
|
|
158
|
+
return _components_Echart__WEBPACK_IMPORTED_MODULE_5__[key];
|
|
159
|
+
}).bind(0, __WEBPACK_IMPORT_KEY__);
|
|
160
|
+
__webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
|
|
161
|
+
var _components_Flow__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("@/components/Flow");
|
|
162
|
+
var __WEBPACK_REEXPORT_OBJECT__ = {};
|
|
163
|
+
for(var __WEBPACK_IMPORT_KEY__ in _components_Flow__WEBPACK_IMPORTED_MODULE_6__)if ("default" !== __WEBPACK_IMPORT_KEY__) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] = (function(key) {
|
|
164
|
+
return _components_Flow__WEBPACK_IMPORTED_MODULE_6__[key];
|
|
165
|
+
}).bind(0, __WEBPACK_IMPORT_KEY__);
|
|
166
|
+
__webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
|
|
167
|
+
var _components_FormLabel__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__("@/components/FormLabel");
|
|
168
|
+
var __WEBPACK_REEXPORT_OBJECT__ = {};
|
|
169
|
+
for(var __WEBPACK_IMPORT_KEY__ in _components_FormLabel__WEBPACK_IMPORTED_MODULE_7__)if ("default" !== __WEBPACK_IMPORT_KEY__) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] = (function(key) {
|
|
170
|
+
return _components_FormLabel__WEBPACK_IMPORTED_MODULE_7__[key];
|
|
171
|
+
}).bind(0, __WEBPACK_IMPORT_KEY__);
|
|
172
|
+
__webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
|
|
173
|
+
var _components_HlsPlayer__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__("@/components/HlsPlayer");
|
|
174
|
+
var __WEBPACK_REEXPORT_OBJECT__ = {};
|
|
175
|
+
for(var __WEBPACK_IMPORT_KEY__ in _components_HlsPlayer__WEBPACK_IMPORTED_MODULE_8__)if ("default" !== __WEBPACK_IMPORT_KEY__) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] = (function(key) {
|
|
176
|
+
return _components_HlsPlayer__WEBPACK_IMPORTED_MODULE_8__[key];
|
|
177
|
+
}).bind(0, __WEBPACK_IMPORT_KEY__);
|
|
178
|
+
__webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
|
|
179
|
+
var _components_InfiniteScroll__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__("@/components/InfiniteScroll");
|
|
180
|
+
var __WEBPACK_REEXPORT_OBJECT__ = {};
|
|
181
|
+
for(var __WEBPACK_IMPORT_KEY__ in _components_InfiniteScroll__WEBPACK_IMPORTED_MODULE_9__)if ("default" !== __WEBPACK_IMPORT_KEY__) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] = (function(key) {
|
|
182
|
+
return _components_InfiniteScroll__WEBPACK_IMPORTED_MODULE_9__[key];
|
|
183
|
+
}).bind(0, __WEBPACK_IMPORT_KEY__);
|
|
184
|
+
__webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
|
|
185
|
+
var _components_InputFile__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__("@/components/InputFile");
|
|
186
|
+
var __WEBPACK_REEXPORT_OBJECT__ = {};
|
|
187
|
+
for(var __WEBPACK_IMPORT_KEY__ in _components_InputFile__WEBPACK_IMPORTED_MODULE_10__)if ("default" !== __WEBPACK_IMPORT_KEY__) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] = (function(key) {
|
|
188
|
+
return _components_InputFile__WEBPACK_IMPORTED_MODULE_10__[key];
|
|
189
|
+
}).bind(0, __WEBPACK_IMPORT_KEY__);
|
|
190
|
+
__webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
|
|
191
|
+
var _components_InputFileButton__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__("@/components/InputFileButton");
|
|
192
|
+
var __WEBPACK_REEXPORT_OBJECT__ = {};
|
|
193
|
+
for(var __WEBPACK_IMPORT_KEY__ in _components_InputFileButton__WEBPACK_IMPORTED_MODULE_11__)if ("default" !== __WEBPACK_IMPORT_KEY__) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] = (function(key) {
|
|
194
|
+
return _components_InputFileButton__WEBPACK_IMPORTED_MODULE_11__[key];
|
|
195
|
+
}).bind(0, __WEBPACK_IMPORT_KEY__);
|
|
196
|
+
__webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
|
|
197
|
+
var _components_LoopSwiper__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__("@/components/LoopSwiper");
|
|
198
|
+
var __WEBPACK_REEXPORT_OBJECT__ = {};
|
|
199
|
+
for(var __WEBPACK_IMPORT_KEY__ in _components_LoopSwiper__WEBPACK_IMPORTED_MODULE_12__)if ("default" !== __WEBPACK_IMPORT_KEY__) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] = (function(key) {
|
|
200
|
+
return _components_LoopSwiper__WEBPACK_IMPORTED_MODULE_12__[key];
|
|
201
|
+
}).bind(0, __WEBPACK_IMPORT_KEY__);
|
|
202
|
+
__webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
|
|
203
|
+
var _components_ReadExcel__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__("@/components/ReadExcel");
|
|
204
|
+
var __WEBPACK_REEXPORT_OBJECT__ = {};
|
|
205
|
+
for(var __WEBPACK_IMPORT_KEY__ in _components_ReadExcel__WEBPACK_IMPORTED_MODULE_13__)if ("default" !== __WEBPACK_IMPORT_KEY__) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] = (function(key) {
|
|
206
|
+
return _components_ReadExcel__WEBPACK_IMPORTED_MODULE_13__[key];
|
|
207
|
+
}).bind(0, __WEBPACK_IMPORT_KEY__);
|
|
208
|
+
__webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
|
|
209
|
+
var _components_Ring__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__("@/components/Ring");
|
|
210
|
+
var __WEBPACK_REEXPORT_OBJECT__ = {};
|
|
211
|
+
for(var __WEBPACK_IMPORT_KEY__ in _components_Ring__WEBPACK_IMPORTED_MODULE_14__)if ("default" !== __WEBPACK_IMPORT_KEY__) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] = (function(key) {
|
|
212
|
+
return _components_Ring__WEBPACK_IMPORTED_MODULE_14__[key];
|
|
213
|
+
}).bind(0, __WEBPACK_IMPORT_KEY__);
|
|
214
|
+
__webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
|
|
215
|
+
var _components_Scroll__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__("@/components/Scroll");
|
|
216
|
+
var __WEBPACK_REEXPORT_OBJECT__ = {};
|
|
217
|
+
for(var __WEBPACK_IMPORT_KEY__ in _components_Scroll__WEBPACK_IMPORTED_MODULE_15__)if ("default" !== __WEBPACK_IMPORT_KEY__) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] = (function(key) {
|
|
218
|
+
return _components_Scroll__WEBPACK_IMPORTED_MODULE_15__[key];
|
|
219
|
+
}).bind(0, __WEBPACK_IMPORT_KEY__);
|
|
220
|
+
__webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
|
|
221
|
+
var _components_SectionRing__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__("@/components/SectionRing");
|
|
222
|
+
var __WEBPACK_REEXPORT_OBJECT__ = {};
|
|
223
|
+
for(var __WEBPACK_IMPORT_KEY__ in _components_SectionRing__WEBPACK_IMPORTED_MODULE_16__)if ("default" !== __WEBPACK_IMPORT_KEY__) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] = (function(key) {
|
|
224
|
+
return _components_SectionRing__WEBPACK_IMPORTED_MODULE_16__[key];
|
|
225
|
+
}).bind(0, __WEBPACK_IMPORT_KEY__);
|
|
226
|
+
__webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
|
|
227
|
+
var _components_Skeleton__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__("@/components/Skeleton");
|
|
228
|
+
var __WEBPACK_REEXPORT_OBJECT__ = {};
|
|
229
|
+
for(var __WEBPACK_IMPORT_KEY__ in _components_Skeleton__WEBPACK_IMPORTED_MODULE_17__)if ("default" !== __WEBPACK_IMPORT_KEY__) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] = (function(key) {
|
|
230
|
+
return _components_Skeleton__WEBPACK_IMPORTED_MODULE_17__[key];
|
|
231
|
+
}).bind(0, __WEBPACK_IMPORT_KEY__);
|
|
232
|
+
__webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
|
|
233
|
+
var _components_Title__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__("@/components/Title");
|
|
234
|
+
var __WEBPACK_REEXPORT_OBJECT__ = {};
|
|
235
|
+
for(var __WEBPACK_IMPORT_KEY__ in _components_Title__WEBPACK_IMPORTED_MODULE_18__)if ("default" !== __WEBPACK_IMPORT_KEY__) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] = (function(key) {
|
|
236
|
+
return _components_Title__WEBPACK_IMPORTED_MODULE_18__[key];
|
|
237
|
+
}).bind(0, __WEBPACK_IMPORT_KEY__);
|
|
238
|
+
__webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
|
|
239
|
+
var _components_TransitionBox__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__("@/components/TransitionBox");
|
|
240
|
+
var __WEBPACK_REEXPORT_OBJECT__ = {};
|
|
241
|
+
for(var __WEBPACK_IMPORT_KEY__ in _components_TransitionBox__WEBPACK_IMPORTED_MODULE_19__)if ("default" !== __WEBPACK_IMPORT_KEY__) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] = (function(key) {
|
|
242
|
+
return _components_TransitionBox__WEBPACK_IMPORTED_MODULE_19__[key];
|
|
243
|
+
}).bind(0, __WEBPACK_IMPORT_KEY__);
|
|
244
|
+
__webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
|
|
245
|
+
var _components_TransitionNum__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__("@/components/TransitionNum");
|
|
246
|
+
var __WEBPACK_REEXPORT_OBJECT__ = {};
|
|
247
|
+
for(var __WEBPACK_IMPORT_KEY__ in _components_TransitionNum__WEBPACK_IMPORTED_MODULE_20__)if ("default" !== __WEBPACK_IMPORT_KEY__) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] = (function(key) {
|
|
248
|
+
return _components_TransitionNum__WEBPACK_IMPORTED_MODULE_20__[key];
|
|
249
|
+
}).bind(0, __WEBPACK_IMPORT_KEY__);
|
|
250
|
+
__webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
|
|
251
|
+
var _components_Trapezium__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__("@/components/Trapezium");
|
|
252
|
+
var __WEBPACK_REEXPORT_OBJECT__ = {};
|
|
253
|
+
for(var __WEBPACK_IMPORT_KEY__ in _components_Trapezium__WEBPACK_IMPORTED_MODULE_21__)if ("default" !== __WEBPACK_IMPORT_KEY__) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] = (function(key) {
|
|
254
|
+
return _components_Trapezium__WEBPACK_IMPORTED_MODULE_21__[key];
|
|
255
|
+
}).bind(0, __WEBPACK_IMPORT_KEY__);
|
|
256
|
+
__webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
|
|
257
|
+
var _components_Unify__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__("@/components/Unify");
|
|
258
|
+
var __WEBPACK_REEXPORT_OBJECT__ = {};
|
|
259
|
+
for(var __WEBPACK_IMPORT_KEY__ in _components_Unify__WEBPACK_IMPORTED_MODULE_22__)if ("default" !== __WEBPACK_IMPORT_KEY__) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] = (function(key) {
|
|
260
|
+
return _components_Unify__WEBPACK_IMPORTED_MODULE_22__[key];
|
|
261
|
+
}).bind(0, __WEBPACK_IMPORT_KEY__);
|
|
262
|
+
__webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
|
|
263
|
+
var _components_WriteExcel__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__("@/components/WriteExcel");
|
|
264
|
+
var __WEBPACK_REEXPORT_OBJECT__ = {};
|
|
265
|
+
for(var __WEBPACK_IMPORT_KEY__ in _components_WriteExcel__WEBPACK_IMPORTED_MODULE_23__)if ("default" !== __WEBPACK_IMPORT_KEY__) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] = (function(key) {
|
|
266
|
+
return _components_WriteExcel__WEBPACK_IMPORTED_MODULE_23__[key];
|
|
267
|
+
}).bind(0, __WEBPACK_IMPORT_KEY__);
|
|
268
|
+
__webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
|
|
269
|
+
var _utils_getReactVersion__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__("@/utils/getReactVersion");
|
|
270
|
+
var __WEBPACK_REEXPORT_OBJECT__ = {};
|
|
271
|
+
for(var __WEBPACK_IMPORT_KEY__ in _utils_getReactVersion__WEBPACK_IMPORTED_MODULE_24__)if ("default" !== __WEBPACK_IMPORT_KEY__) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] = (function(key) {
|
|
272
|
+
return _utils_getReactVersion__WEBPACK_IMPORTED_MODULE_24__[key];
|
|
273
|
+
}).bind(0, __WEBPACK_IMPORT_KEY__);
|
|
274
|
+
__webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
|
|
275
|
+
var _utils_index__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__("@/utils/index");
|
|
276
|
+
var __WEBPACK_REEXPORT_OBJECT__ = {};
|
|
277
|
+
for(var __WEBPACK_IMPORT_KEY__ in _utils_index__WEBPACK_IMPORTED_MODULE_25__)if ("default" !== __WEBPACK_IMPORT_KEY__) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] = (function(key) {
|
|
278
|
+
return _utils_index__WEBPACK_IMPORTED_MODULE_25__[key];
|
|
279
|
+
}).bind(0, __WEBPACK_IMPORT_KEY__);
|
|
280
|
+
__webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
|
|
281
|
+
})();
|
|
282
|
+
for(var __webpack_i__ in __webpack_exports__)exports[__webpack_i__] = __webpack_exports__[__webpack_i__];
|
|
283
|
+
Object.defineProperty(exports, '__esModule', {
|
|
284
|
+
value: true
|
|
285
|
+
});
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export * from "./components/AutoFit.js";
|
|
2
|
+
export * from "./components/AutoScroll.js";
|
|
3
|
+
export * from "./components/AutoSizeTextarea.js";
|
|
4
|
+
export * from "./components/CircleText.js";
|
|
5
|
+
export * from "./components/CopyButton.js";
|
|
6
|
+
export * from "./components/Echart.js";
|
|
7
|
+
export * from "./components/Flow.js";
|
|
8
|
+
export * from "./components/FormLabel.js";
|
|
9
|
+
export * from "./components/HlsPlayer.js";
|
|
10
|
+
export * from "./components/InfiniteScroll.js";
|
|
11
|
+
export * from "./components/InputFile.js";
|
|
12
|
+
export * from "./components/InputFileButton.js";
|
|
13
|
+
export * from "./components/LoopSwiper.js";
|
|
14
|
+
export * from "./components/ReadExcel.js";
|
|
15
|
+
export * from "./components/Ring.js";
|
|
16
|
+
export * from "./components/Scroll.js";
|
|
17
|
+
export * from "./components/SectionRing.js";
|
|
18
|
+
export * from "./components/Skeleton.js";
|
|
19
|
+
export * from "./components/Title.js";
|
|
20
|
+
export * from "./components/TransitionBox.js";
|
|
21
|
+
export * from "./components/TransitionNum.js";
|
|
22
|
+
export * from "./components/Trapezium.js";
|
|
23
|
+
export * from "./components/Unify.js";
|
|
24
|
+
export * from "./components/WriteExcel.js";
|
|
25
|
+
export * from "./utils/getReactVersion.js";
|
|
26
|
+
export * from "./utils/index.js";
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __webpack_require__ = {};
|
|
3
|
+
(()=>{
|
|
4
|
+
__webpack_require__.d = (exports1, definition)=>{
|
|
5
|
+
for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
|
|
6
|
+
enumerable: true,
|
|
7
|
+
get: definition[key]
|
|
8
|
+
});
|
|
9
|
+
};
|
|
10
|
+
})();
|
|
11
|
+
(()=>{
|
|
12
|
+
__webpack_require__.o = (obj, prop)=>Object.prototype.hasOwnProperty.call(obj, prop);
|
|
13
|
+
})();
|
|
14
|
+
(()=>{
|
|
15
|
+
__webpack_require__.r = (exports1)=>{
|
|
16
|
+
if ('undefined' != typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
|
|
17
|
+
value: 'Module'
|
|
18
|
+
});
|
|
19
|
+
Object.defineProperty(exports1, '__esModule', {
|
|
20
|
+
value: true
|
|
21
|
+
});
|
|
22
|
+
};
|
|
23
|
+
})();
|
|
24
|
+
var __webpack_exports__ = {};
|
|
25
|
+
__webpack_require__.r(__webpack_exports__);
|
|
26
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
27
|
+
getReactVersion: ()=>getReactVersion
|
|
28
|
+
});
|
|
29
|
+
const external_react_namespaceObject = require("react");
|
|
30
|
+
const reg = /(\d+)\.(\d+)\.(\d+)/;
|
|
31
|
+
function getReactVersion() {
|
|
32
|
+
return external_react_namespaceObject.version.match(reg).slice(1).map(Number);
|
|
33
|
+
}
|
|
34
|
+
exports.getReactVersion = __webpack_exports__.getReactVersion;
|
|
35
|
+
for(var __webpack_i__ in __webpack_exports__)if (-1 === [
|
|
36
|
+
"getReactVersion"
|
|
37
|
+
].indexOf(__webpack_i__)) exports[__webpack_i__] = __webpack_exports__[__webpack_i__];
|
|
38
|
+
Object.defineProperty(exports, '__esModule', {
|
|
39
|
+
value: true
|
|
40
|
+
});
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __webpack_require__ = {};
|
|
3
|
+
(()=>{
|
|
4
|
+
__webpack_require__.d = (exports1, definition)=>{
|
|
5
|
+
for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
|
|
6
|
+
enumerable: true,
|
|
7
|
+
get: definition[key]
|
|
8
|
+
});
|
|
9
|
+
};
|
|
10
|
+
})();
|
|
11
|
+
(()=>{
|
|
12
|
+
__webpack_require__.o = (obj, prop)=>Object.prototype.hasOwnProperty.call(obj, prop);
|
|
13
|
+
})();
|
|
14
|
+
(()=>{
|
|
15
|
+
__webpack_require__.r = (exports1)=>{
|
|
16
|
+
if ('undefined' != typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
|
|
17
|
+
value: 'Module'
|
|
18
|
+
});
|
|
19
|
+
Object.defineProperty(exports1, '__esModule', {
|
|
20
|
+
value: true
|
|
21
|
+
});
|
|
22
|
+
};
|
|
23
|
+
})();
|
|
24
|
+
var __webpack_exports__ = {};
|
|
25
|
+
__webpack_require__.r(__webpack_exports__);
|
|
26
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
27
|
+
px: ()=>px,
|
|
28
|
+
transformCSSVariable: ()=>transformCSSVariable,
|
|
29
|
+
transformCSSVariableName: ()=>transformCSSVariableName
|
|
30
|
+
});
|
|
31
|
+
const cssVariableReg = /[A-Z]/;
|
|
32
|
+
function addCSSVariableLine(match) {
|
|
33
|
+
return `-${match}`;
|
|
34
|
+
}
|
|
35
|
+
function transformCSSVariableName(name) {
|
|
36
|
+
return `--${name.replace(cssVariableReg, addCSSVariableLine).toLowerCase()}`;
|
|
37
|
+
}
|
|
38
|
+
function transformCSSVariable(style, style2) {
|
|
39
|
+
return Object.assign(Object.entries(style).reduce((acc, [key, value])=>{
|
|
40
|
+
acc[transformCSSVariableName(key)] = value;
|
|
41
|
+
return acc;
|
|
42
|
+
}, {}), style2);
|
|
43
|
+
}
|
|
44
|
+
function px(value) {
|
|
45
|
+
return "number" == typeof value ? `${value}px` : value;
|
|
46
|
+
}
|
|
47
|
+
exports.px = __webpack_exports__.px;
|
|
48
|
+
exports.transformCSSVariable = __webpack_exports__.transformCSSVariable;
|
|
49
|
+
exports.transformCSSVariableName = __webpack_exports__.transformCSSVariableName;
|
|
50
|
+
for(var __webpack_i__ in __webpack_exports__)if (-1 === [
|
|
51
|
+
"px",
|
|
52
|
+
"transformCSSVariable",
|
|
53
|
+
"transformCSSVariableName"
|
|
54
|
+
].indexOf(__webpack_i__)) exports[__webpack_i__] = __webpack_exports__[__webpack_i__];
|
|
55
|
+
Object.defineProperty(exports, '__esModule', {
|
|
56
|
+
value: true
|
|
57
|
+
});
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
const cssVariableReg = /[A-Z]/;
|
|
2
|
+
function addCSSVariableLine(match) {
|
|
3
|
+
return `-${match}`;
|
|
4
|
+
}
|
|
5
|
+
function transformCSSVariableName(name) {
|
|
6
|
+
return `--${name.replace(cssVariableReg, addCSSVariableLine).toLowerCase()}`;
|
|
7
|
+
}
|
|
8
|
+
function transformCSSVariable(style, style2) {
|
|
9
|
+
return Object.assign(Object.entries(style).reduce((acc, [key, value])=>{
|
|
10
|
+
acc[transformCSSVariableName(key)] = value;
|
|
11
|
+
return acc;
|
|
12
|
+
}, {}), style2);
|
|
13
|
+
}
|
|
14
|
+
function px(value) {
|
|
15
|
+
return "number" == typeof value ? `${value}px` : value;
|
|
16
|
+
}
|
|
17
|
+
export { px, transformCSSVariable, transformCSSVariableName };
|
package/package.json
CHANGED
|
@@ -1,16 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "deepsea-components",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.12.1",
|
|
4
4
|
"description": "格数科技自用组件库",
|
|
5
|
-
"
|
|
6
|
-
"
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
5
|
+
"type": "module",
|
|
6
|
+
"exports": {
|
|
7
|
+
".": {
|
|
8
|
+
"types": "./dist/index.d.ts",
|
|
9
|
+
"import": "./dist/index.js",
|
|
10
|
+
"require": "./dist/index.cjs"
|
|
11
|
+
}
|
|
12
12
|
},
|
|
13
|
-
"
|
|
13
|
+
"main": "./dist/index.cjs",
|
|
14
|
+
"module": "./dist/index.js",
|
|
15
|
+
"types": "./dist/index.d.ts",
|
|
16
|
+
"sideEffects": false,
|
|
14
17
|
"keywords": [],
|
|
15
18
|
"authors": [
|
|
16
19
|
"lurongv@qq.com"
|
|
@@ -19,23 +22,29 @@
|
|
|
19
22
|
"files": [
|
|
20
23
|
"compiled",
|
|
21
24
|
"dist",
|
|
22
|
-
"src"
|
|
25
|
+
"src",
|
|
26
|
+
"tsconfig.json"
|
|
23
27
|
],
|
|
24
28
|
"publishConfig": {
|
|
25
29
|
"access": "public",
|
|
26
30
|
"registry": "https://registry.npmjs.org/"
|
|
27
31
|
},
|
|
32
|
+
"repository": {
|
|
33
|
+
"type": "git",
|
|
34
|
+
"url": "git+https://github.com/1adybug/deepsea.git"
|
|
35
|
+
},
|
|
36
|
+
"homepage": "https://github.com/1adybug/deepsea/tree/main/packages/deepsea-components",
|
|
28
37
|
"dependencies": {
|
|
29
38
|
"@emotion/css": "^11.13.5",
|
|
30
39
|
"clipboard": "^2.0.11",
|
|
31
40
|
"echarts": "^5.6.0",
|
|
32
|
-
"hls.js": "^1.
|
|
41
|
+
"hls.js": "^1.6.1",
|
|
33
42
|
"smooth-scrollbar": "^8.8.4",
|
|
34
|
-
"deepsea-tools": "5.
|
|
35
|
-
"soda-hooks": "6.
|
|
43
|
+
"deepsea-tools": "5.25.1",
|
|
44
|
+
"soda-hooks": "6.7.1"
|
|
36
45
|
},
|
|
37
46
|
"devDependencies": {
|
|
38
|
-
"typescript": "^5.8.
|
|
47
|
+
"typescript": "^5.8.3"
|
|
39
48
|
},
|
|
40
49
|
"peerDependencies": {
|
|
41
50
|
"@types/react": ">=18.3.18",
|
|
@@ -44,9 +53,9 @@
|
|
|
44
53
|
"react-dom": ">=18.3.1"
|
|
45
54
|
},
|
|
46
55
|
"scripts": {
|
|
47
|
-
"dev": "
|
|
48
|
-
"build": "
|
|
56
|
+
"dev": "rslib build --watch",
|
|
57
|
+
"build": "rslib build",
|
|
49
58
|
"prebuild": "tsx scripts/export.ts",
|
|
50
|
-
"
|
|
59
|
+
"lint": "prettier --write ."
|
|
51
60
|
}
|
|
52
61
|
}
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
"use client"
|
|
2
|
-
|
|
3
|
-
import { ComponentProps, JSX, JSXElementConstructor, MouseEvent as ReactMouseEvent, createElement } from "react"
|
|
4
|
-
import { WriteExcelParams, writeExcel } from "deepsea-tools"
|
|
5
|
-
|
|
6
|
-
export type WriteExcelProps<AS extends keyof JSX.IntrinsicElements | JSXElementConstructor<any> = "button"> = Omit<ComponentProps<AS>, "as" | "excel"> & {
|
|
7
|
-
as?: AS
|
|
8
|
-
excel?: WriteExcelParams
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
/** 导出 excel 的 button 组件 */
|
|
12
|
-
export function WriteExcel<AS extends keyof JSX.IntrinsicElements | JSXElementConstructor<any> = "button">(props: WriteExcelProps<AS>) {
|
|
13
|
-
const { as, excel, onClick: _onClick, ...rest } = props
|
|
14
|
-
|
|
15
|
-
function onClick(e: ReactMouseEvent<HTMLButtonElement, MouseEvent>) {
|
|
16
|
-
_onClick?.(e)
|
|
17
|
-
if (!excel) return
|
|
18
|
-
writeExcel(excel)
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
return createElement(as ?? "button", {
|
|
22
|
-
onClick,
|
|
23
|
-
...rest,
|
|
24
|
-
})
|
|
25
|
-
}
|
|
1
|
+
"use client"
|
|
2
|
+
|
|
3
|
+
import { ComponentProps, JSX, JSXElementConstructor, MouseEvent as ReactMouseEvent, createElement } from "react"
|
|
4
|
+
import { WriteExcelParams, writeExcel } from "deepsea-tools"
|
|
5
|
+
|
|
6
|
+
export type WriteExcelProps<AS extends keyof JSX.IntrinsicElements | JSXElementConstructor<any> = "button"> = Omit<ComponentProps<AS>, "as" | "excel"> & {
|
|
7
|
+
as?: AS
|
|
8
|
+
excel?: WriteExcelParams
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
/** 导出 excel 的 button 组件 */
|
|
12
|
+
export function WriteExcel<AS extends keyof JSX.IntrinsicElements | JSXElementConstructor<any> = "button">(props: WriteExcelProps<AS>) {
|
|
13
|
+
const { as, excel, onClick: _onClick, ...rest } = props
|
|
14
|
+
|
|
15
|
+
function onClick(e: ReactMouseEvent<HTMLButtonElement, MouseEvent>) {
|
|
16
|
+
_onClick?.(e)
|
|
17
|
+
if (!excel) return
|
|
18
|
+
writeExcel(excel)
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
return createElement(as ?? "button", {
|
|
22
|
+
onClick,
|
|
23
|
+
...rest,
|
|
24
|
+
})
|
|
25
|
+
}
|
package/tsconfig.json
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"baseUrl": ".",
|
|
4
|
+
"strict": true,
|
|
5
|
+
"declaration": true,
|
|
6
|
+
"skipLibCheck": true,
|
|
7
|
+
"jsx": "react-jsx",
|
|
8
|
+
"target": "ESNext",
|
|
9
|
+
"module": "ESNext",
|
|
10
|
+
"moduleResolution": "Bundler",
|
|
11
|
+
"paths": {
|
|
12
|
+
"@/*": ["./src/*"]
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"include": ["src"]
|
|
16
|
+
}
|