@dfsj/components 3.7.1-alpha.4 → 3.7.2-alpha.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/Boards/src/Boards.vue.d.ts +11 -0
- package/dist/components/Boards/src/Boards.vue2.js +21 -17
- package/dist/components/Boards/src/hooKs/useStyle.d.ts +9 -0
- package/dist/components/Boards/src/hooKs/useStyle.js +5 -5
- package/dist/components/Boards/src/props.d.ts +5 -0
- package/dist/components/Boards/src/props.js +2 -1
- package/dist/components/ClickOutSide/src/ClickOutSide.vue2.js +1 -1
- package/dist/components/DatePicker/src/composables/use-month-range-header.d.ts +16 -0
- package/dist/components/DatePicker/src/composables/use-range-picker.d.ts +173 -0
- package/dist/components/DatePicker/src/date-picker-com/panel-date-range.vue.d.ts +19 -0
- package/dist/components/DatePicker/src/date-picker-com/panel-date-range.vue2.js +2 -2
- package/dist/components/DatePicker/src/date-picker-com/panel-month-range.vue.d.ts +16 -0
- package/dist/components/DatePicker/src/date-picker-com/panel-month-range.vue2.js +7 -7
- package/dist/components/DatePicker/src/index.d.ts +26 -20
- package/dist/components/DatePicker/src/index.js +4 -4
- package/dist/components/Descriptions/src/Descriptions.vue.d.ts +97 -0
- package/dist/components/Descriptions/src/Descriptions.vue2.js +4 -4
- package/dist/components/Editor/src/Editor.vue.d.ts +4 -4
- package/dist/components/Editor/src/Editor.vue2.js +5 -5
- package/dist/components/Form/src/Form.vue.d.ts +481 -447
- package/dist/components/Form/src/Form.vue2.js +30 -24
- package/dist/components/Form/src/components/useRenderCheckbox.d.ts +4 -0
- package/dist/components/Form/src/components/useRenderCheckbox.js +8 -8
- package/dist/components/Form/src/components/useRenderRadio.d.ts +4 -0
- package/dist/components/Form/src/components/useRenderRadio.js +8 -8
- package/dist/components/Form/src/components/useRenderSelect.d.ts +4 -0
- package/dist/components/Form/src/components/useRenderSelect.js +11 -11
- package/dist/components/Form/src/helper/componentMap.d.ts +5 -0
- package/dist/components/Form/src/helper/index.d.ts +7 -0
- package/dist/components/Form/src/helper/index.js +7 -7
- package/dist/components/Form/src/types/index.d.ts +2 -2
- package/dist/components/Form/src/useForm.js +63 -63
- package/dist/components/Highlight/src/Highlight.vue.d.ts +4 -4
- package/dist/components/Highlight/src/Highlight.vue2.js +3 -3
- package/dist/components/Icon/src/Icon.vue.d.ts +8 -8
- package/dist/components/Icon/src/Icon.vue2.js +11 -11
- package/dist/components/InputPassword/src/InputPassword.vue.d.ts +27 -0
- package/dist/components/Modal/src/BasicModal.vue.d.ts +22 -22
- package/dist/components/Modal/src/BasicModal.vue2.js +11 -11
- package/dist/components/Modal/src/components/ModalFooter.vue.d.ts +4 -4
- package/dist/components/Modal/src/components/ModalFooter.vue2.js +2 -2
- package/dist/components/Modal/src/components/ModalHeader.vue.d.ts +18 -18
- package/dist/components/Modal/src/components/ModalHeader.vue2.js +2 -2
- package/dist/components/Modal/src/hooks/useModalDrag.js +4 -4
- package/dist/components/Modal/src/hooks/useTimeout.d.ts +15 -0
- package/dist/components/Modal/src/hooks/useTimeout.js +1 -1
- package/dist/components/Modal/src/props.d.ts +11 -11
- package/dist/components/Modal/src/utils/index.d.ts +3 -0
- package/dist/components/Modal/src/utils/index.js +1 -1
- package/dist/components/NodeAxis/src/BCanvasNodeRender.d.ts +19 -0
- package/dist/components/NodeAxis/src/CanvasNodeRender.js +35 -35
- package/dist/components/NodeAxis/src/NodeAxis.d.ts +12 -0
- package/dist/components/NodeAxis/src/NodeAxis.vue.d.ts +17 -0
- package/dist/components/NodeAxis/src/NodeAxis.vue2.js +1 -1
- package/dist/components/NodeAxis/src/NodeModel.js +10 -10
- package/dist/components/NodeAxis/src/NodeRender.js +3 -3
- package/dist/components/NodeAxis/src/TimerNodePlayer.d.ts +19 -0
- package/dist/components/NodeAxis/src/TimerNodePlayer.js +4 -4
- package/dist/components/NodeAxis/src/interface/NodePlayer.d.ts +9 -0
- package/dist/components/Stateful/src/Stateful.vue.d.ts +2 -2
- package/dist/components/Stateful/src/Stateful.vue2.js +6 -6
- package/dist/components/Stateful/src/props.d.ts +1 -1
- package/dist/components/Table/src/Table.vue.d.ts +732 -645
- package/dist/components/Table/src/Table.vue2.js +10 -10
- package/dist/components/Table/src/components/ColumnSetting.vue.d.ts +30 -0
- package/dist/components/Table/src/components/ColumnSetting.vue2.js +20 -20
- package/dist/components/Table/src/components/TableActions.vue.d.ts +229 -0
- package/dist/components/Table/src/components/TableActions.vue2.js +1 -1
- package/dist/components/Table/src/helper/index.d.ts +2 -0
- package/dist/components/Table/src/useTable.js +50 -50
- package/dist/components/UnifyChart/src/ChartToolbox.vue.d.ts +8 -8
- package/dist/components/UnifyChart/src/ChartToolbox.vue2.js +2 -2
- package/dist/components/UnifyChart/src/UnifyChart.vue.d.ts +16 -16
- package/dist/components/UnifyChart/src/UnifyChart.vue2.js +2 -2
- package/dist/components/UnifyChart/src/hooks/useLoader.js +19 -19
- package/dist/components/UnifyChart/src/hooks/useRender.js +3 -3
- package/dist/components/UnifyChart/src/props.d.ts +13 -13
- package/dist/components/UnifyChart/src/useDownLoad.d.ts +9 -0
- package/dist/components/UnifyChart/src/useDownLoad.js +27 -0
- package/dist/components/Video/src/VideoPlayer.vue.d.ts +14 -14
- package/dist/components/Video/src/VideoPlayer.vue2.js +5 -5
- package/dist/components/Video/src/VideoPlayerToolbar.vue.d.ts +34 -0
- package/dist/components/Video/src/VideoPlayerToolbar.vue2.js +4 -4
- package/dist/components/Video/src/abstract/AbstractVideoControl.d.ts +7 -0
- package/dist/components/Video/src/abstract/Observable.d.ts +6 -0
- package/dist/components/Video/src/abstract/VideoControl.d.ts +32 -0
- package/dist/components/Video/src/abstract/VideoControl.js +13 -13
- package/dist/components/Video/src/control/DaHua.d.ts +12 -0
- package/dist/components/Video/src/control/DaHua.js +8 -8
- package/dist/components/Video/src/control/Hikvision.d.ts +28 -0
- package/dist/components/Video/src/control/Hikvision.js +12 -12
- package/dist/components/Video/src/control/VideoFactory.d.ts +3 -0
- package/dist/components/Video/src/enums/CommonEnum.d.ts +26 -0
- package/dist/components/Visual/src/BufferLayerPlayer.js +65 -68
- package/dist/components/Visual/src/ResolvableLayerProvider.js +5 -5
- package/dist/components/Visual/src/resolvers/IntervalResolver.js +9 -9
- package/dist/components/Visual/src/utils/NodeMath.js +1 -1
- package/dist/components/Windows/src/ModalWrap.vue2.js +16 -16
- package/dist/components/Windows/src/Windows.vue2.js +2 -2
- package/dist/directives/clickOutside.js +3 -3
- package/dist/directives/repeatClick.js +1 -1
- package/dist/directives/resizable.js +4 -4
- package/dist/helper/lang.d.ts +1 -0
- package/dist/index.min.css +3 -3
- package/dist/node_modules/.pnpm/@vueuse_core@13.7.0_vue@3.5.19_typescript@5.9.2_/node_modules/@vueuse/core/index.js +393 -0
- package/dist/node_modules/.pnpm/@vueuse_shared@13.7.0_vue@3.5.19_typescript@5.9.2_/node_modules/@vueuse/shared/index.js +53 -0
- package/dist/utils/index.d.ts +11 -0
- package/package.json +11 -11
|
@@ -13,18 +13,18 @@ var useForm = function useForm() {
|
|
|
13
13
|
var getForm = /*#__PURE__*/function () {
|
|
14
14
|
var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
|
|
15
15
|
var form;
|
|
16
|
-
return _regeneratorRuntime.wrap(function
|
|
16
|
+
return _regeneratorRuntime.wrap(function (_context) {
|
|
17
17
|
while (1) switch (_context.prev = _context.next) {
|
|
18
18
|
case 0:
|
|
19
|
-
_context.next =
|
|
19
|
+
_context.next = 1;
|
|
20
20
|
return nextTick();
|
|
21
|
-
case
|
|
21
|
+
case 1:
|
|
22
22
|
form = unref(formRef);
|
|
23
23
|
if (!form) {
|
|
24
24
|
console.error('The form is not registered. Please use the register method to register');
|
|
25
25
|
}
|
|
26
26
|
return _context.abrupt("return", form);
|
|
27
|
-
case
|
|
27
|
+
case 2:
|
|
28
28
|
case "end":
|
|
29
29
|
return _context.stop();
|
|
30
30
|
}
|
|
@@ -40,19 +40,19 @@ var useForm = function useForm() {
|
|
|
40
40
|
var props,
|
|
41
41
|
form,
|
|
42
42
|
_args2 = arguments;
|
|
43
|
-
return _regeneratorRuntime.wrap(function
|
|
43
|
+
return _regeneratorRuntime.wrap(function (_context2) {
|
|
44
44
|
while (1) switch (_context2.prev = _context2.next) {
|
|
45
45
|
case 0:
|
|
46
46
|
props = _args2.length > 0 && _args2[0] !== undefined ? _args2[0] : {};
|
|
47
|
-
_context2.next =
|
|
47
|
+
_context2.next = 1;
|
|
48
48
|
return getForm();
|
|
49
|
-
case
|
|
49
|
+
case 1:
|
|
50
50
|
form = _context2.sent;
|
|
51
|
-
form === null || form ===
|
|
51
|
+
form === null || form === void 0 || form.setProps(props);
|
|
52
52
|
if (props.model) {
|
|
53
|
-
form === null || form ===
|
|
53
|
+
form === null || form === void 0 || form.setValues(props.model);
|
|
54
54
|
}
|
|
55
|
-
case
|
|
55
|
+
case 2:
|
|
56
56
|
case "end":
|
|
57
57
|
return _context2.stop();
|
|
58
58
|
}
|
|
@@ -66,15 +66,15 @@ var useForm = function useForm() {
|
|
|
66
66
|
setValues: function () {
|
|
67
67
|
var _setValues = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee3(data) {
|
|
68
68
|
var form;
|
|
69
|
-
return _regeneratorRuntime.wrap(function
|
|
69
|
+
return _regeneratorRuntime.wrap(function (_context3) {
|
|
70
70
|
while (1) switch (_context3.prev = _context3.next) {
|
|
71
71
|
case 0:
|
|
72
|
-
_context3.next =
|
|
72
|
+
_context3.next = 1;
|
|
73
73
|
return getForm();
|
|
74
|
-
case
|
|
74
|
+
case 1:
|
|
75
75
|
form = _context3.sent;
|
|
76
|
-
form === null || form ===
|
|
77
|
-
case
|
|
76
|
+
form === null || form === void 0 || form.setValues(data);
|
|
77
|
+
case 2:
|
|
78
78
|
case "end":
|
|
79
79
|
return _context3.stop();
|
|
80
80
|
}
|
|
@@ -88,15 +88,15 @@ var useForm = function useForm() {
|
|
|
88
88
|
setSchema: function () {
|
|
89
89
|
var _setSchema = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee4(schemaProps) {
|
|
90
90
|
var form;
|
|
91
|
-
return _regeneratorRuntime.wrap(function
|
|
91
|
+
return _regeneratorRuntime.wrap(function (_context4) {
|
|
92
92
|
while (1) switch (_context4.prev = _context4.next) {
|
|
93
93
|
case 0:
|
|
94
|
-
_context4.next =
|
|
94
|
+
_context4.next = 1;
|
|
95
95
|
return getForm();
|
|
96
|
-
case
|
|
96
|
+
case 1:
|
|
97
97
|
form = _context4.sent;
|
|
98
|
-
form === null || form ===
|
|
99
|
-
case
|
|
98
|
+
form === null || form === void 0 || form.setSchema(schemaProps);
|
|
99
|
+
case 2:
|
|
100
100
|
case "end":
|
|
101
101
|
return _context4.stop();
|
|
102
102
|
}
|
|
@@ -110,15 +110,15 @@ var useForm = function useForm() {
|
|
|
110
110
|
addSchema: function () {
|
|
111
111
|
var _addSchema = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee5(formSchema, index) {
|
|
112
112
|
var form;
|
|
113
|
-
return _regeneratorRuntime.wrap(function
|
|
113
|
+
return _regeneratorRuntime.wrap(function (_context5) {
|
|
114
114
|
while (1) switch (_context5.prev = _context5.next) {
|
|
115
115
|
case 0:
|
|
116
|
-
_context5.next =
|
|
116
|
+
_context5.next = 1;
|
|
117
117
|
return getForm();
|
|
118
|
-
case
|
|
118
|
+
case 1:
|
|
119
119
|
form = _context5.sent;
|
|
120
|
-
form === null || form ===
|
|
121
|
-
case
|
|
120
|
+
form === null || form === void 0 || form.addSchema(formSchema, index);
|
|
121
|
+
case 2:
|
|
122
122
|
case "end":
|
|
123
123
|
return _context5.stop();
|
|
124
124
|
}
|
|
@@ -132,15 +132,15 @@ var useForm = function useForm() {
|
|
|
132
132
|
delSchema: function () {
|
|
133
133
|
var _delSchema = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee6(field) {
|
|
134
134
|
var form;
|
|
135
|
-
return _regeneratorRuntime.wrap(function
|
|
135
|
+
return _regeneratorRuntime.wrap(function (_context6) {
|
|
136
136
|
while (1) switch (_context6.prev = _context6.next) {
|
|
137
137
|
case 0:
|
|
138
|
-
_context6.next =
|
|
138
|
+
_context6.next = 1;
|
|
139
139
|
return getForm();
|
|
140
|
-
case
|
|
140
|
+
case 1:
|
|
141
141
|
form = _context6.sent;
|
|
142
|
-
form === null || form ===
|
|
143
|
-
case
|
|
142
|
+
form === null || form === void 0 || form.delSchema(field);
|
|
143
|
+
case 2:
|
|
144
144
|
case "end":
|
|
145
145
|
return _context6.stop();
|
|
146
146
|
}
|
|
@@ -157,17 +157,17 @@ var useForm = function useForm() {
|
|
|
157
157
|
form,
|
|
158
158
|
model,
|
|
159
159
|
_args7 = arguments;
|
|
160
|
-
return _regeneratorRuntime.wrap(function
|
|
160
|
+
return _regeneratorRuntime.wrap(function (_context7) {
|
|
161
161
|
while (1) switch (_context7.prev = _context7.next) {
|
|
162
162
|
case 0:
|
|
163
163
|
filterEmptyVal = _args7.length > 0 && _args7[0] !== undefined ? _args7[0] : true;
|
|
164
|
-
_context7.next =
|
|
164
|
+
_context7.next = 1;
|
|
165
165
|
return getForm();
|
|
166
|
-
case
|
|
166
|
+
case 1:
|
|
167
167
|
form = _context7.sent;
|
|
168
|
-
model = form === null || form ===
|
|
168
|
+
model = form === null || form === void 0 ? void 0 : form.formModel;
|
|
169
169
|
if (!filterEmptyVal) {
|
|
170
|
-
_context7.next =
|
|
170
|
+
_context7.next = 2;
|
|
171
171
|
break;
|
|
172
172
|
}
|
|
173
173
|
return _context7.abrupt("return", Object.keys(model).reduce(function (prev, next) {
|
|
@@ -183,9 +183,9 @@ var useForm = function useForm() {
|
|
|
183
183
|
}
|
|
184
184
|
return prev;
|
|
185
185
|
}, {}));
|
|
186
|
-
case
|
|
186
|
+
case 2:
|
|
187
187
|
return _context7.abrupt("return", model);
|
|
188
|
-
case
|
|
188
|
+
case 3:
|
|
189
189
|
case "end":
|
|
190
190
|
return _context7.stop();
|
|
191
191
|
}
|
|
@@ -199,15 +199,15 @@ var useForm = function useForm() {
|
|
|
199
199
|
getComponentExpose: function () {
|
|
200
200
|
var _getComponentExpose = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee8(field) {
|
|
201
201
|
var form;
|
|
202
|
-
return _regeneratorRuntime.wrap(function
|
|
202
|
+
return _regeneratorRuntime.wrap(function (_context8) {
|
|
203
203
|
while (1) switch (_context8.prev = _context8.next) {
|
|
204
204
|
case 0:
|
|
205
|
-
_context8.next =
|
|
205
|
+
_context8.next = 1;
|
|
206
206
|
return getForm();
|
|
207
|
-
case
|
|
207
|
+
case 1:
|
|
208
208
|
form = _context8.sent;
|
|
209
|
-
return _context8.abrupt("return", form === null || form ===
|
|
210
|
-
case
|
|
209
|
+
return _context8.abrupt("return", form === null || form === void 0 ? void 0 : form.getComponentExpose(field));
|
|
210
|
+
case 2:
|
|
211
211
|
case "end":
|
|
212
212
|
return _context8.stop();
|
|
213
213
|
}
|
|
@@ -221,15 +221,15 @@ var useForm = function useForm() {
|
|
|
221
221
|
getFormItemExpose: function () {
|
|
222
222
|
var _getFormItemExpose = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee9(field) {
|
|
223
223
|
var form;
|
|
224
|
-
return _regeneratorRuntime.wrap(function
|
|
224
|
+
return _regeneratorRuntime.wrap(function (_context9) {
|
|
225
225
|
while (1) switch (_context9.prev = _context9.next) {
|
|
226
226
|
case 0:
|
|
227
|
-
_context9.next =
|
|
227
|
+
_context9.next = 1;
|
|
228
228
|
return getForm();
|
|
229
|
-
case
|
|
229
|
+
case 1:
|
|
230
230
|
form = _context9.sent;
|
|
231
|
-
return _context9.abrupt("return", form === null || form ===
|
|
232
|
-
case
|
|
231
|
+
return _context9.abrupt("return", form === null || form === void 0 ? void 0 : form.getFormItemExpose(field));
|
|
232
|
+
case 2:
|
|
233
233
|
case "end":
|
|
234
234
|
return _context9.stop();
|
|
235
235
|
}
|
|
@@ -241,19 +241,19 @@ var useForm = function useForm() {
|
|
|
241
241
|
return getFormItemExpose;
|
|
242
242
|
}(),
|
|
243
243
|
getElFormExpose: function () {
|
|
244
|
-
var _getElFormExpose = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function
|
|
245
|
-
return _regeneratorRuntime.wrap(function
|
|
246
|
-
while (1) switch (
|
|
244
|
+
var _getElFormExpose = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee0() {
|
|
245
|
+
return _regeneratorRuntime.wrap(function (_context0) {
|
|
246
|
+
while (1) switch (_context0.prev = _context0.next) {
|
|
247
247
|
case 0:
|
|
248
|
-
|
|
248
|
+
_context0.next = 1;
|
|
249
249
|
return getForm();
|
|
250
|
+
case 1:
|
|
251
|
+
return _context0.abrupt("return", unref(elFormRef));
|
|
250
252
|
case 2:
|
|
251
|
-
return _context10.abrupt("return", unref(elFormRef));
|
|
252
|
-
case 3:
|
|
253
253
|
case "end":
|
|
254
|
-
return
|
|
254
|
+
return _context0.stop();
|
|
255
255
|
}
|
|
256
|
-
},
|
|
256
|
+
}, _callee0);
|
|
257
257
|
}));
|
|
258
258
|
function getElFormExpose() {
|
|
259
259
|
return _getElFormExpose.apply(this, arguments);
|
|
@@ -261,19 +261,19 @@ var useForm = function useForm() {
|
|
|
261
261
|
return getElFormExpose;
|
|
262
262
|
}(),
|
|
263
263
|
getFormExpose: function () {
|
|
264
|
-
var _getFormExpose = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function
|
|
265
|
-
return _regeneratorRuntime.wrap(function
|
|
266
|
-
while (1) switch (
|
|
264
|
+
var _getFormExpose = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee1() {
|
|
265
|
+
return _regeneratorRuntime.wrap(function (_context1) {
|
|
266
|
+
while (1) switch (_context1.prev = _context1.next) {
|
|
267
267
|
case 0:
|
|
268
|
-
|
|
268
|
+
_context1.next = 1;
|
|
269
269
|
return getForm();
|
|
270
|
+
case 1:
|
|
271
|
+
return _context1.abrupt("return", unref(formRef));
|
|
270
272
|
case 2:
|
|
271
|
-
return _context11.abrupt("return", unref(formRef));
|
|
272
|
-
case 3:
|
|
273
273
|
case "end":
|
|
274
|
-
return
|
|
274
|
+
return _context1.stop();
|
|
275
275
|
}
|
|
276
|
-
},
|
|
276
|
+
}, _callee1);
|
|
277
277
|
}));
|
|
278
278
|
function getFormExpose() {
|
|
279
279
|
return _getFormExpose.apply(this, arguments);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
|
-
tag: import("vue-types").VueTypeValidableDef<string, import("vue-types/dist/types").
|
|
3
|
+
tag: import("vue-types").VueTypeValidableDef<string, import("vue-types/dist/shared/vue-types.d8e57a80").b<string>> & {
|
|
4
4
|
default: string;
|
|
5
5
|
} & {
|
|
6
6
|
default: string;
|
|
@@ -9,7 +9,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
9
9
|
type: PropType<string[]>;
|
|
10
10
|
default: () => any[];
|
|
11
11
|
};
|
|
12
|
-
color: import("vue-types").VueTypeValidableDef<string, import("vue-types/dist/types").
|
|
12
|
+
color: import("vue-types").VueTypeValidableDef<string, import("vue-types/dist/shared/vue-types.d8e57a80").b<string>> & {
|
|
13
13
|
default: string;
|
|
14
14
|
} & {
|
|
15
15
|
default: string;
|
|
@@ -17,7 +17,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
17
17
|
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
18
18
|
[key: string]: any;
|
|
19
19
|
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
20
|
-
tag: import("vue-types").VueTypeValidableDef<string, import("vue-types/dist/types").
|
|
20
|
+
tag: import("vue-types").VueTypeValidableDef<string, import("vue-types/dist/shared/vue-types.d8e57a80").b<string>> & {
|
|
21
21
|
default: string;
|
|
22
22
|
} & {
|
|
23
23
|
default: string;
|
|
@@ -26,7 +26,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
26
26
|
type: PropType<string[]>;
|
|
27
27
|
default: () => any[];
|
|
28
28
|
};
|
|
29
|
-
color: import("vue-types").VueTypeValidableDef<string, import("vue-types/dist/types").
|
|
29
|
+
color: import("vue-types").VueTypeValidableDef<string, import("vue-types/dist/shared/vue-types.d8e57a80").b<string>> & {
|
|
30
30
|
default: string;
|
|
31
31
|
} & {
|
|
32
32
|
default: string;
|
|
@@ -38,10 +38,10 @@ var script = defineComponent({
|
|
|
38
38
|
return text.split(/{{|}}/);
|
|
39
39
|
};
|
|
40
40
|
var renderText = function renderText() {
|
|
41
|
-
if (!(slots !== null && slots !==
|
|
42
|
-
var node = slots === null || slots ===
|
|
41
|
+
if (!(slots !== null && slots !== void 0 && slots["default"])) return null;
|
|
42
|
+
var node = slots === null || slots === void 0 ? void 0 : slots["default"]()[0].children;
|
|
43
43
|
if (!node) {
|
|
44
|
-
return slots === null || slots ===
|
|
44
|
+
return slots === null || slots === void 0 ? void 0 : slots["default"]()[0];
|
|
45
45
|
}
|
|
46
46
|
var textArray = parseText(node);
|
|
47
47
|
var regexp = /^[0-9]*$/;
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import type { PropType } from 'vue';
|
|
2
2
|
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
|
-
icon: import("vue-types").VueTypeValidableDef<string, import("vue-types/dist/types").
|
|
3
|
+
icon: import("vue-types").VueTypeValidableDef<string, import("vue-types/dist/shared/vue-types.d8e57a80").b<string>> & {
|
|
4
4
|
default: string;
|
|
5
5
|
};
|
|
6
|
-
color: import("vue-types").VueTypeValidableDef<string, import("vue-types/dist/types").
|
|
6
|
+
color: import("vue-types").VueTypeValidableDef<string, import("vue-types/dist/shared/vue-types.d8e57a80").b<string>> & {
|
|
7
7
|
default: string;
|
|
8
8
|
};
|
|
9
9
|
size: {
|
|
10
10
|
type: PropType<string | number>;
|
|
11
11
|
default: number;
|
|
12
12
|
};
|
|
13
|
-
spin: import("vue-types").VueTypeValidableDef<boolean, import("vue-types/dist/types").
|
|
13
|
+
spin: import("vue-types").VueTypeValidableDef<boolean, import("vue-types/dist/shared/vue-types.d8e57a80").b<boolean>> & {
|
|
14
14
|
default: boolean;
|
|
15
15
|
};
|
|
16
|
-
prefix: import("vue-types").VueTypeValidableDef<string, import("vue-types/dist/types").
|
|
16
|
+
prefix: import("vue-types").VueTypeValidableDef<string, import("vue-types/dist/shared/vue-types.d8e57a80").b<string>> & {
|
|
17
17
|
default: string;
|
|
18
18
|
} & {
|
|
19
19
|
default: string;
|
|
@@ -21,20 +21,20 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
21
21
|
}>, (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
22
22
|
[key: string]: any;
|
|
23
23
|
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
24
|
-
icon: import("vue-types").VueTypeValidableDef<string, import("vue-types/dist/types").
|
|
24
|
+
icon: import("vue-types").VueTypeValidableDef<string, import("vue-types/dist/shared/vue-types.d8e57a80").b<string>> & {
|
|
25
25
|
default: string;
|
|
26
26
|
};
|
|
27
|
-
color: import("vue-types").VueTypeValidableDef<string, import("vue-types/dist/types").
|
|
27
|
+
color: import("vue-types").VueTypeValidableDef<string, import("vue-types/dist/shared/vue-types.d8e57a80").b<string>> & {
|
|
28
28
|
default: string;
|
|
29
29
|
};
|
|
30
30
|
size: {
|
|
31
31
|
type: PropType<string | number>;
|
|
32
32
|
default: number;
|
|
33
33
|
};
|
|
34
|
-
spin: import("vue-types").VueTypeValidableDef<boolean, import("vue-types/dist/types").
|
|
34
|
+
spin: import("vue-types").VueTypeValidableDef<boolean, import("vue-types/dist/shared/vue-types.d8e57a80").b<boolean>> & {
|
|
35
35
|
default: boolean;
|
|
36
36
|
};
|
|
37
|
-
prefix: import("vue-types").VueTypeValidableDef<string, import("vue-types/dist/types").
|
|
37
|
+
prefix: import("vue-types").VueTypeValidableDef<string, import("vue-types/dist/shared/vue-types.d8e57a80").b<string>> & {
|
|
38
38
|
default: string;
|
|
39
39
|
} & {
|
|
40
40
|
default: string;
|
|
@@ -25,7 +25,7 @@ var script = defineComponent({
|
|
|
25
25
|
var elRef = ref(null);
|
|
26
26
|
var isSvgIcon = computed(function () {
|
|
27
27
|
var _props$icon;
|
|
28
|
-
return (_props$icon = props.icon) === null || _props$icon ===
|
|
28
|
+
return (_props$icon = props.icon) === null || _props$icon === void 0 ? void 0 : _props$icon.endsWith(SVG_END_WITH_FLAG);
|
|
29
29
|
});
|
|
30
30
|
var getSvgIcon = computed(function () {
|
|
31
31
|
return props.icon.replace(SVG_END_WITH_FLAG, '');
|
|
@@ -36,32 +36,32 @@ var script = defineComponent({
|
|
|
36
36
|
var update = /*#__PURE__*/function () {
|
|
37
37
|
var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
|
|
38
38
|
var el, icon, svg, span;
|
|
39
|
-
return _regeneratorRuntime.wrap(function
|
|
39
|
+
return _regeneratorRuntime.wrap(function (_context) {
|
|
40
40
|
while (1) switch (_context.prev = _context.next) {
|
|
41
41
|
case 0:
|
|
42
42
|
if (!unref(isSvgIcon)) {
|
|
43
|
-
_context.next =
|
|
43
|
+
_context.next = 1;
|
|
44
44
|
break;
|
|
45
45
|
}
|
|
46
46
|
return _context.abrupt("return");
|
|
47
|
-
case
|
|
47
|
+
case 1:
|
|
48
48
|
el = unref(elRef);
|
|
49
49
|
if (el) {
|
|
50
|
-
_context.next =
|
|
50
|
+
_context.next = 2;
|
|
51
51
|
break;
|
|
52
52
|
}
|
|
53
53
|
return _context.abrupt("return");
|
|
54
|
-
case
|
|
55
|
-
_context.next =
|
|
54
|
+
case 2:
|
|
55
|
+
_context.next = 3;
|
|
56
56
|
return nextTick();
|
|
57
|
-
case
|
|
57
|
+
case 3:
|
|
58
58
|
icon = unref(getIconRef);
|
|
59
59
|
if (icon) {
|
|
60
|
-
_context.next =
|
|
60
|
+
_context.next = 4;
|
|
61
61
|
break;
|
|
62
62
|
}
|
|
63
63
|
return _context.abrupt("return");
|
|
64
|
-
case
|
|
64
|
+
case 4:
|
|
65
65
|
svg = Iconify.renderSVG(icon, {});
|
|
66
66
|
if (svg) {
|
|
67
67
|
el.textContent = '';
|
|
@@ -73,7 +73,7 @@ var script = defineComponent({
|
|
|
73
73
|
el.textContent = '';
|
|
74
74
|
el.appendChild(span);
|
|
75
75
|
}
|
|
76
|
-
case
|
|
76
|
+
case 5:
|
|
77
77
|
case "end":
|
|
78
78
|
return _context.stop();
|
|
79
79
|
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
+
strength: import("vue-types").VueTypeValidableDef<boolean, import("vue-types/dist/shared/vue-types.d8e57a80").b<boolean>> & {
|
|
3
|
+
default: boolean;
|
|
4
|
+
};
|
|
5
|
+
modelValue: import("vue-types").VueTypeValidableDef<string, import("vue-types/dist/shared/vue-types.d8e57a80").b<string>> & {
|
|
6
|
+
default: string;
|
|
7
|
+
} & {
|
|
8
|
+
default: string;
|
|
9
|
+
};
|
|
10
|
+
}>, (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
11
|
+
[key: string]: any;
|
|
12
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
13
|
+
strength: import("vue-types").VueTypeValidableDef<boolean, import("vue-types/dist/shared/vue-types.d8e57a80").b<boolean>> & {
|
|
14
|
+
default: boolean;
|
|
15
|
+
};
|
|
16
|
+
modelValue: import("vue-types").VueTypeValidableDef<string, import("vue-types/dist/shared/vue-types.d8e57a80").b<string>> & {
|
|
17
|
+
default: string;
|
|
18
|
+
} & {
|
|
19
|
+
default: string;
|
|
20
|
+
};
|
|
21
|
+
}>> & Readonly<{
|
|
22
|
+
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
23
|
+
}>, {
|
|
24
|
+
strength: boolean;
|
|
25
|
+
modelValue: string;
|
|
26
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
27
|
+
export default _default;
|
|
@@ -25,12 +25,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
25
25
|
color: string;
|
|
26
26
|
};
|
|
27
27
|
};
|
|
28
|
-
onCancel: import("vue-types").VueTypeValidableDef<(...args: any[]) => any, import("vue-types/dist/types").
|
|
28
|
+
onCancel: import("vue-types").VueTypeValidableDef<(...args: any[]) => any, import("vue-types/dist/shared/vue-types.d8e57a80").b<(...args: any[]) => any>> & {
|
|
29
29
|
default: (...args: any[]) => any;
|
|
30
30
|
} & {
|
|
31
31
|
default: (...args: any[]) => any;
|
|
32
32
|
};
|
|
33
|
-
onSubmit: import("vue-types").VueTypeValidableDef<(...args: any[]) => any, import("vue-types/dist/types").
|
|
33
|
+
onSubmit: import("vue-types").VueTypeValidableDef<(...args: any[]) => any, import("vue-types/dist/shared/vue-types.d8e57a80").b<(...args: any[]) => any>> & {
|
|
34
34
|
default: (...args: any[]) => any;
|
|
35
35
|
} & {
|
|
36
36
|
default: (...args: any[]) => any;
|
|
@@ -65,10 +65,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
65
65
|
titleAlign: import("vue-types").VueTypeDef<string> & {
|
|
66
66
|
default: string;
|
|
67
67
|
};
|
|
68
|
-
titleBefore: import("vue-types").VueTypeValidableDef<(...args: any[]) => any, import("vue-types/dist/types").
|
|
68
|
+
titleBefore: import("vue-types").VueTypeValidableDef<(...args: any[]) => any, import("vue-types/dist/shared/vue-types.d8e57a80").b<(...args: any[]) => any>> & {
|
|
69
69
|
default: (...args: any[]) => any;
|
|
70
70
|
};
|
|
71
|
-
titleAfter: import("vue-types").VueTypeValidableDef<(...args: any[]) => any, import("vue-types/dist/types").
|
|
71
|
+
titleAfter: import("vue-types").VueTypeValidableDef<(...args: any[]) => any, import("vue-types/dist/shared/vue-types.d8e57a80").b<(...args: any[]) => any>> & {
|
|
72
72
|
default: (...args: any[]) => any;
|
|
73
73
|
};
|
|
74
74
|
switcherIcon: {
|
|
@@ -106,37 +106,37 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
106
106
|
color: string;
|
|
107
107
|
};
|
|
108
108
|
};
|
|
109
|
-
onMinimize: import("vue-types").VueTypeValidableDef<(...args: any[]) => any, import("vue-types/dist/types").
|
|
109
|
+
onMinimize: import("vue-types").VueTypeValidableDef<(...args: any[]) => any, import("vue-types/dist/shared/vue-types.d8e57a80").b<(...args: any[]) => any>> & {
|
|
110
110
|
default: (...args: any[]) => any;
|
|
111
111
|
} & {
|
|
112
112
|
default: (...args: any[]) => any;
|
|
113
113
|
};
|
|
114
|
-
onSwitch: import("vue-types").VueTypeValidableDef<(...args: any[]) => any, import("vue-types/dist/types").
|
|
114
|
+
onSwitch: import("vue-types").VueTypeValidableDef<(...args: any[]) => any, import("vue-types/dist/shared/vue-types.d8e57a80").b<(...args: any[]) => any>> & {
|
|
115
115
|
default: (...args: any[]) => any;
|
|
116
116
|
} & {
|
|
117
117
|
default: (...args: any[]) => any;
|
|
118
118
|
};
|
|
119
|
-
onClose: import("vue-types").VueTypeValidableDef<(...args: any[]) => any, import("vue-types/dist/types").
|
|
119
|
+
onClose: import("vue-types").VueTypeValidableDef<(...args: any[]) => any, import("vue-types/dist/shared/vue-types.d8e57a80").b<(...args: any[]) => any>> & {
|
|
120
120
|
default: (...args: any[]) => any;
|
|
121
121
|
} & {
|
|
122
122
|
default: (...args: any[]) => any;
|
|
123
123
|
};
|
|
124
|
-
onResize: import("vue-types").VueTypeValidableDef<(...args: any[]) => any, import("vue-types/dist/types").
|
|
124
|
+
onResize: import("vue-types").VueTypeValidableDef<(...args: any[]) => any, import("vue-types/dist/shared/vue-types.d8e57a80").b<(...args: any[]) => any>> & {
|
|
125
125
|
default: (...args: any[]) => any;
|
|
126
126
|
} & {
|
|
127
127
|
default: (...args: any[]) => any;
|
|
128
128
|
};
|
|
129
|
-
onModalMousemove: import("vue-types").VueTypeValidableDef<(...args: any[]) => any, import("vue-types/dist/types").
|
|
129
|
+
onModalMousemove: import("vue-types").VueTypeValidableDef<(...args: any[]) => any, import("vue-types/dist/shared/vue-types.d8e57a80").b<(...args: any[]) => any>> & {
|
|
130
130
|
default: (...args: any[]) => any;
|
|
131
131
|
} & {
|
|
132
132
|
default: (...args: any[]) => any;
|
|
133
133
|
};
|
|
134
|
-
onModalMousedown: import("vue-types").VueTypeValidableDef<(...args: any[]) => any, import("vue-types/dist/types").
|
|
134
|
+
onModalMousedown: import("vue-types").VueTypeValidableDef<(...args: any[]) => any, import("vue-types/dist/shared/vue-types.d8e57a80").b<(...args: any[]) => any>> & {
|
|
135
135
|
default: (...args: any[]) => any;
|
|
136
136
|
} & {
|
|
137
137
|
default: (...args: any[]) => any;
|
|
138
138
|
};
|
|
139
|
-
onModalMouseup: import("vue-types").VueTypeValidableDef<(...args: any[]) => any, import("vue-types/dist/types").
|
|
139
|
+
onModalMouseup: import("vue-types").VueTypeValidableDef<(...args: any[]) => any, import("vue-types/dist/shared/vue-types.d8e57a80").b<(...args: any[]) => any>> & {
|
|
140
140
|
default: (...args: any[]) => any;
|
|
141
141
|
} & {
|
|
142
142
|
default: (...args: any[]) => any;
|
|
@@ -210,12 +210,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
210
210
|
color: string;
|
|
211
211
|
};
|
|
212
212
|
};
|
|
213
|
-
onCancel: import("vue-types").VueTypeValidableDef<(...args: any[]) => any, import("vue-types/dist/types").
|
|
213
|
+
onCancel: import("vue-types").VueTypeValidableDef<(...args: any[]) => any, import("vue-types/dist/shared/vue-types.d8e57a80").b<(...args: any[]) => any>> & {
|
|
214
214
|
default: (...args: any[]) => any;
|
|
215
215
|
} & {
|
|
216
216
|
default: (...args: any[]) => any;
|
|
217
217
|
};
|
|
218
|
-
onSubmit: import("vue-types").VueTypeValidableDef<(...args: any[]) => any, import("vue-types/dist/types").
|
|
218
|
+
onSubmit: import("vue-types").VueTypeValidableDef<(...args: any[]) => any, import("vue-types/dist/shared/vue-types.d8e57a80").b<(...args: any[]) => any>> & {
|
|
219
219
|
default: (...args: any[]) => any;
|
|
220
220
|
} & {
|
|
221
221
|
default: (...args: any[]) => any;
|
|
@@ -250,10 +250,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
250
250
|
titleAlign: import("vue-types").VueTypeDef<string> & {
|
|
251
251
|
default: string;
|
|
252
252
|
};
|
|
253
|
-
titleBefore: import("vue-types").VueTypeValidableDef<(...args: any[]) => any, import("vue-types/dist/types").
|
|
253
|
+
titleBefore: import("vue-types").VueTypeValidableDef<(...args: any[]) => any, import("vue-types/dist/shared/vue-types.d8e57a80").b<(...args: any[]) => any>> & {
|
|
254
254
|
default: (...args: any[]) => any;
|
|
255
255
|
};
|
|
256
|
-
titleAfter: import("vue-types").VueTypeValidableDef<(...args: any[]) => any, import("vue-types/dist/types").
|
|
256
|
+
titleAfter: import("vue-types").VueTypeValidableDef<(...args: any[]) => any, import("vue-types/dist/shared/vue-types.d8e57a80").b<(...args: any[]) => any>> & {
|
|
257
257
|
default: (...args: any[]) => any;
|
|
258
258
|
};
|
|
259
259
|
switcherIcon: {
|
|
@@ -291,37 +291,37 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
291
291
|
color: string;
|
|
292
292
|
};
|
|
293
293
|
};
|
|
294
|
-
onMinimize: import("vue-types").VueTypeValidableDef<(...args: any[]) => any, import("vue-types/dist/types").
|
|
294
|
+
onMinimize: import("vue-types").VueTypeValidableDef<(...args: any[]) => any, import("vue-types/dist/shared/vue-types.d8e57a80").b<(...args: any[]) => any>> & {
|
|
295
295
|
default: (...args: any[]) => any;
|
|
296
296
|
} & {
|
|
297
297
|
default: (...args: any[]) => any;
|
|
298
298
|
};
|
|
299
|
-
onSwitch: import("vue-types").VueTypeValidableDef<(...args: any[]) => any, import("vue-types/dist/types").
|
|
299
|
+
onSwitch: import("vue-types").VueTypeValidableDef<(...args: any[]) => any, import("vue-types/dist/shared/vue-types.d8e57a80").b<(...args: any[]) => any>> & {
|
|
300
300
|
default: (...args: any[]) => any;
|
|
301
301
|
} & {
|
|
302
302
|
default: (...args: any[]) => any;
|
|
303
303
|
};
|
|
304
|
-
onClose: import("vue-types").VueTypeValidableDef<(...args: any[]) => any, import("vue-types/dist/types").
|
|
304
|
+
onClose: import("vue-types").VueTypeValidableDef<(...args: any[]) => any, import("vue-types/dist/shared/vue-types.d8e57a80").b<(...args: any[]) => any>> & {
|
|
305
305
|
default: (...args: any[]) => any;
|
|
306
306
|
} & {
|
|
307
307
|
default: (...args: any[]) => any;
|
|
308
308
|
};
|
|
309
|
-
onResize: import("vue-types").VueTypeValidableDef<(...args: any[]) => any, import("vue-types/dist/types").
|
|
309
|
+
onResize: import("vue-types").VueTypeValidableDef<(...args: any[]) => any, import("vue-types/dist/shared/vue-types.d8e57a80").b<(...args: any[]) => any>> & {
|
|
310
310
|
default: (...args: any[]) => any;
|
|
311
311
|
} & {
|
|
312
312
|
default: (...args: any[]) => any;
|
|
313
313
|
};
|
|
314
|
-
onModalMousemove: import("vue-types").VueTypeValidableDef<(...args: any[]) => any, import("vue-types/dist/types").
|
|
314
|
+
onModalMousemove: import("vue-types").VueTypeValidableDef<(...args: any[]) => any, import("vue-types/dist/shared/vue-types.d8e57a80").b<(...args: any[]) => any>> & {
|
|
315
315
|
default: (...args: any[]) => any;
|
|
316
316
|
} & {
|
|
317
317
|
default: (...args: any[]) => any;
|
|
318
318
|
};
|
|
319
|
-
onModalMousedown: import("vue-types").VueTypeValidableDef<(...args: any[]) => any, import("vue-types/dist/types").
|
|
319
|
+
onModalMousedown: import("vue-types").VueTypeValidableDef<(...args: any[]) => any, import("vue-types/dist/shared/vue-types.d8e57a80").b<(...args: any[]) => any>> & {
|
|
320
320
|
default: (...args: any[]) => any;
|
|
321
321
|
} & {
|
|
322
322
|
default: (...args: any[]) => any;
|
|
323
323
|
};
|
|
324
|
-
onModalMouseup: import("vue-types").VueTypeValidableDef<(...args: any[]) => any, import("vue-types/dist/types").
|
|
324
|
+
onModalMouseup: import("vue-types").VueTypeValidableDef<(...args: any[]) => any, import("vue-types/dist/shared/vue-types.d8e57a80").b<(...args: any[]) => any>> & {
|
|
325
325
|
default: (...args: any[]) => any;
|
|
326
326
|
} & {
|
|
327
327
|
default: (...args: any[]) => any;
|