@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.
Files changed (108) hide show
  1. package/dist/components/Boards/src/Boards.vue.d.ts +11 -0
  2. package/dist/components/Boards/src/Boards.vue2.js +21 -17
  3. package/dist/components/Boards/src/hooKs/useStyle.d.ts +9 -0
  4. package/dist/components/Boards/src/hooKs/useStyle.js +5 -5
  5. package/dist/components/Boards/src/props.d.ts +5 -0
  6. package/dist/components/Boards/src/props.js +2 -1
  7. package/dist/components/ClickOutSide/src/ClickOutSide.vue2.js +1 -1
  8. package/dist/components/DatePicker/src/composables/use-month-range-header.d.ts +16 -0
  9. package/dist/components/DatePicker/src/composables/use-range-picker.d.ts +173 -0
  10. package/dist/components/DatePicker/src/date-picker-com/panel-date-range.vue.d.ts +19 -0
  11. package/dist/components/DatePicker/src/date-picker-com/panel-date-range.vue2.js +2 -2
  12. package/dist/components/DatePicker/src/date-picker-com/panel-month-range.vue.d.ts +16 -0
  13. package/dist/components/DatePicker/src/date-picker-com/panel-month-range.vue2.js +7 -7
  14. package/dist/components/DatePicker/src/index.d.ts +26 -20
  15. package/dist/components/DatePicker/src/index.js +4 -4
  16. package/dist/components/Descriptions/src/Descriptions.vue.d.ts +97 -0
  17. package/dist/components/Descriptions/src/Descriptions.vue2.js +4 -4
  18. package/dist/components/Editor/src/Editor.vue.d.ts +4 -4
  19. package/dist/components/Editor/src/Editor.vue2.js +5 -5
  20. package/dist/components/Form/src/Form.vue.d.ts +481 -447
  21. package/dist/components/Form/src/Form.vue2.js +30 -24
  22. package/dist/components/Form/src/components/useRenderCheckbox.d.ts +4 -0
  23. package/dist/components/Form/src/components/useRenderCheckbox.js +8 -8
  24. package/dist/components/Form/src/components/useRenderRadio.d.ts +4 -0
  25. package/dist/components/Form/src/components/useRenderRadio.js +8 -8
  26. package/dist/components/Form/src/components/useRenderSelect.d.ts +4 -0
  27. package/dist/components/Form/src/components/useRenderSelect.js +11 -11
  28. package/dist/components/Form/src/helper/componentMap.d.ts +5 -0
  29. package/dist/components/Form/src/helper/index.d.ts +7 -0
  30. package/dist/components/Form/src/helper/index.js +7 -7
  31. package/dist/components/Form/src/types/index.d.ts +2 -2
  32. package/dist/components/Form/src/useForm.js +63 -63
  33. package/dist/components/Highlight/src/Highlight.vue.d.ts +4 -4
  34. package/dist/components/Highlight/src/Highlight.vue2.js +3 -3
  35. package/dist/components/Icon/src/Icon.vue.d.ts +8 -8
  36. package/dist/components/Icon/src/Icon.vue2.js +11 -11
  37. package/dist/components/InputPassword/src/InputPassword.vue.d.ts +27 -0
  38. package/dist/components/Modal/src/BasicModal.vue.d.ts +22 -22
  39. package/dist/components/Modal/src/BasicModal.vue2.js +11 -11
  40. package/dist/components/Modal/src/components/ModalFooter.vue.d.ts +4 -4
  41. package/dist/components/Modal/src/components/ModalFooter.vue2.js +2 -2
  42. package/dist/components/Modal/src/components/ModalHeader.vue.d.ts +18 -18
  43. package/dist/components/Modal/src/components/ModalHeader.vue2.js +2 -2
  44. package/dist/components/Modal/src/hooks/useModalDrag.js +4 -4
  45. package/dist/components/Modal/src/hooks/useTimeout.d.ts +15 -0
  46. package/dist/components/Modal/src/hooks/useTimeout.js +1 -1
  47. package/dist/components/Modal/src/props.d.ts +11 -11
  48. package/dist/components/Modal/src/utils/index.d.ts +3 -0
  49. package/dist/components/Modal/src/utils/index.js +1 -1
  50. package/dist/components/NodeAxis/src/BCanvasNodeRender.d.ts +19 -0
  51. package/dist/components/NodeAxis/src/CanvasNodeRender.js +35 -35
  52. package/dist/components/NodeAxis/src/NodeAxis.d.ts +12 -0
  53. package/dist/components/NodeAxis/src/NodeAxis.vue.d.ts +17 -0
  54. package/dist/components/NodeAxis/src/NodeAxis.vue2.js +1 -1
  55. package/dist/components/NodeAxis/src/NodeModel.js +10 -10
  56. package/dist/components/NodeAxis/src/NodeRender.js +3 -3
  57. package/dist/components/NodeAxis/src/TimerNodePlayer.d.ts +19 -0
  58. package/dist/components/NodeAxis/src/TimerNodePlayer.js +4 -4
  59. package/dist/components/NodeAxis/src/interface/NodePlayer.d.ts +9 -0
  60. package/dist/components/Stateful/src/Stateful.vue.d.ts +2 -2
  61. package/dist/components/Stateful/src/Stateful.vue2.js +6 -6
  62. package/dist/components/Stateful/src/props.d.ts +1 -1
  63. package/dist/components/Table/src/Table.vue.d.ts +732 -645
  64. package/dist/components/Table/src/Table.vue2.js +10 -10
  65. package/dist/components/Table/src/components/ColumnSetting.vue.d.ts +30 -0
  66. package/dist/components/Table/src/components/ColumnSetting.vue2.js +20 -20
  67. package/dist/components/Table/src/components/TableActions.vue.d.ts +229 -0
  68. package/dist/components/Table/src/components/TableActions.vue2.js +1 -1
  69. package/dist/components/Table/src/helper/index.d.ts +2 -0
  70. package/dist/components/Table/src/useTable.js +50 -50
  71. package/dist/components/UnifyChart/src/ChartToolbox.vue.d.ts +8 -8
  72. package/dist/components/UnifyChart/src/ChartToolbox.vue2.js +2 -2
  73. package/dist/components/UnifyChart/src/UnifyChart.vue.d.ts +16 -16
  74. package/dist/components/UnifyChart/src/UnifyChart.vue2.js +2 -2
  75. package/dist/components/UnifyChart/src/hooks/useLoader.js +19 -19
  76. package/dist/components/UnifyChart/src/hooks/useRender.js +3 -3
  77. package/dist/components/UnifyChart/src/props.d.ts +13 -13
  78. package/dist/components/UnifyChart/src/useDownLoad.d.ts +9 -0
  79. package/dist/components/UnifyChart/src/useDownLoad.js +27 -0
  80. package/dist/components/Video/src/VideoPlayer.vue.d.ts +14 -14
  81. package/dist/components/Video/src/VideoPlayer.vue2.js +5 -5
  82. package/dist/components/Video/src/VideoPlayerToolbar.vue.d.ts +34 -0
  83. package/dist/components/Video/src/VideoPlayerToolbar.vue2.js +4 -4
  84. package/dist/components/Video/src/abstract/AbstractVideoControl.d.ts +7 -0
  85. package/dist/components/Video/src/abstract/Observable.d.ts +6 -0
  86. package/dist/components/Video/src/abstract/VideoControl.d.ts +32 -0
  87. package/dist/components/Video/src/abstract/VideoControl.js +13 -13
  88. package/dist/components/Video/src/control/DaHua.d.ts +12 -0
  89. package/dist/components/Video/src/control/DaHua.js +8 -8
  90. package/dist/components/Video/src/control/Hikvision.d.ts +28 -0
  91. package/dist/components/Video/src/control/Hikvision.js +12 -12
  92. package/dist/components/Video/src/control/VideoFactory.d.ts +3 -0
  93. package/dist/components/Video/src/enums/CommonEnum.d.ts +26 -0
  94. package/dist/components/Visual/src/BufferLayerPlayer.js +65 -68
  95. package/dist/components/Visual/src/ResolvableLayerProvider.js +5 -5
  96. package/dist/components/Visual/src/resolvers/IntervalResolver.js +9 -9
  97. package/dist/components/Visual/src/utils/NodeMath.js +1 -1
  98. package/dist/components/Windows/src/ModalWrap.vue2.js +16 -16
  99. package/dist/components/Windows/src/Windows.vue2.js +2 -2
  100. package/dist/directives/clickOutside.js +3 -3
  101. package/dist/directives/repeatClick.js +1 -1
  102. package/dist/directives/resizable.js +4 -4
  103. package/dist/helper/lang.d.ts +1 -0
  104. package/dist/index.min.css +3 -3
  105. 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
  106. 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
  107. package/dist/utils/index.d.ts +11 -0
  108. 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 _callee$(_context) {
16
+ return _regeneratorRuntime.wrap(function (_context) {
17
17
  while (1) switch (_context.prev = _context.next) {
18
18
  case 0:
19
- _context.next = 2;
19
+ _context.next = 1;
20
20
  return nextTick();
21
- case 2:
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 5:
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 _callee2$(_context2) {
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 = 3;
47
+ _context2.next = 1;
48
48
  return getForm();
49
- case 3:
49
+ case 1:
50
50
  form = _context2.sent;
51
- form === null || form === undefined || form.setProps(props);
51
+ form === null || form === void 0 || form.setProps(props);
52
52
  if (props.model) {
53
- form === null || form === undefined || form.setValues(props.model);
53
+ form === null || form === void 0 || form.setValues(props.model);
54
54
  }
55
- case 6:
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 _callee3$(_context3) {
69
+ return _regeneratorRuntime.wrap(function (_context3) {
70
70
  while (1) switch (_context3.prev = _context3.next) {
71
71
  case 0:
72
- _context3.next = 2;
72
+ _context3.next = 1;
73
73
  return getForm();
74
- case 2:
74
+ case 1:
75
75
  form = _context3.sent;
76
- form === null || form === undefined || form.setValues(data);
77
- case 4:
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 _callee4$(_context4) {
91
+ return _regeneratorRuntime.wrap(function (_context4) {
92
92
  while (1) switch (_context4.prev = _context4.next) {
93
93
  case 0:
94
- _context4.next = 2;
94
+ _context4.next = 1;
95
95
  return getForm();
96
- case 2:
96
+ case 1:
97
97
  form = _context4.sent;
98
- form === null || form === undefined || form.setSchema(schemaProps);
99
- case 4:
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 _callee5$(_context5) {
113
+ return _regeneratorRuntime.wrap(function (_context5) {
114
114
  while (1) switch (_context5.prev = _context5.next) {
115
115
  case 0:
116
- _context5.next = 2;
116
+ _context5.next = 1;
117
117
  return getForm();
118
- case 2:
118
+ case 1:
119
119
  form = _context5.sent;
120
- form === null || form === undefined || form.addSchema(formSchema, index);
121
- case 4:
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 _callee6$(_context6) {
135
+ return _regeneratorRuntime.wrap(function (_context6) {
136
136
  while (1) switch (_context6.prev = _context6.next) {
137
137
  case 0:
138
- _context6.next = 2;
138
+ _context6.next = 1;
139
139
  return getForm();
140
- case 2:
140
+ case 1:
141
141
  form = _context6.sent;
142
- form === null || form === undefined || form.delSchema(field);
143
- case 4:
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 _callee7$(_context7) {
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 = 3;
164
+ _context7.next = 1;
165
165
  return getForm();
166
- case 3:
166
+ case 1:
167
167
  form = _context7.sent;
168
- model = form === null || form === undefined ? undefined : form.formModel;
168
+ model = form === null || form === void 0 ? void 0 : form.formModel;
169
169
  if (!filterEmptyVal) {
170
- _context7.next = 9;
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 9:
186
+ case 2:
187
187
  return _context7.abrupt("return", model);
188
- case 10:
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 _callee8$(_context8) {
202
+ return _regeneratorRuntime.wrap(function (_context8) {
203
203
  while (1) switch (_context8.prev = _context8.next) {
204
204
  case 0:
205
- _context8.next = 2;
205
+ _context8.next = 1;
206
206
  return getForm();
207
- case 2:
207
+ case 1:
208
208
  form = _context8.sent;
209
- return _context8.abrupt("return", form === null || form === undefined ? undefined : form.getComponentExpose(field));
210
- case 4:
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 _callee9$(_context9) {
224
+ return _regeneratorRuntime.wrap(function (_context9) {
225
225
  while (1) switch (_context9.prev = _context9.next) {
226
226
  case 0:
227
- _context9.next = 2;
227
+ _context9.next = 1;
228
228
  return getForm();
229
- case 2:
229
+ case 1:
230
230
  form = _context9.sent;
231
- return _context9.abrupt("return", form === null || form === undefined ? undefined : form.getFormItemExpose(field));
232
- case 4:
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 _callee10() {
245
- return _regeneratorRuntime.wrap(function _callee10$(_context10) {
246
- while (1) switch (_context10.prev = _context10.next) {
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
- _context10.next = 2;
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 _context10.stop();
254
+ return _context0.stop();
255
255
  }
256
- }, _callee10);
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 _callee11() {
265
- return _regeneratorRuntime.wrap(function _callee11$(_context11) {
266
- while (1) switch (_context11.prev = _context11.next) {
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
- _context11.next = 2;
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 _context11.stop();
274
+ return _context1.stop();
275
275
  }
276
- }, _callee11);
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").ValidatorFunction<string>> & {
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").ValidatorFunction<string>> & {
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").ValidatorFunction<string>> & {
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").ValidatorFunction<string>> & {
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 !== undefined && slots["default"])) return null;
42
- var node = slots === null || slots === undefined ? undefined : slots["default"]()[0].children;
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 === undefined ? undefined : slots["default"]()[0];
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").ValidatorFunction<string>> & {
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").ValidatorFunction<string>> & {
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").ValidatorFunction<boolean>> & {
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").ValidatorFunction<string>> & {
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").ValidatorFunction<string>> & {
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").ValidatorFunction<string>> & {
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").ValidatorFunction<boolean>> & {
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").ValidatorFunction<string>> & {
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 === undefined ? undefined : _props$icon.endsWith(SVG_END_WITH_FLAG);
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 _callee$(_context) {
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 = 2;
43
+ _context.next = 1;
44
44
  break;
45
45
  }
46
46
  return _context.abrupt("return");
47
- case 2:
47
+ case 1:
48
48
  el = unref(elRef);
49
49
  if (el) {
50
- _context.next = 5;
50
+ _context.next = 2;
51
51
  break;
52
52
  }
53
53
  return _context.abrupt("return");
54
- case 5:
55
- _context.next = 7;
54
+ case 2:
55
+ _context.next = 3;
56
56
  return nextTick();
57
- case 7:
57
+ case 3:
58
58
  icon = unref(getIconRef);
59
59
  if (icon) {
60
- _context.next = 10;
60
+ _context.next = 4;
61
61
  break;
62
62
  }
63
63
  return _context.abrupt("return");
64
- case 10:
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 12:
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").ValidatorFunction<(...args: any[]) => any>> & {
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").ValidatorFunction<(...args: any[]) => any>> & {
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").ValidatorFunction<(...args: any[]) => any>> & {
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").ValidatorFunction<(...args: any[]) => any>> & {
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").ValidatorFunction<(...args: any[]) => any>> & {
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").ValidatorFunction<(...args: any[]) => any>> & {
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").ValidatorFunction<(...args: any[]) => any>> & {
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").ValidatorFunction<(...args: any[]) => any>> & {
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").ValidatorFunction<(...args: any[]) => any>> & {
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").ValidatorFunction<(...args: any[]) => any>> & {
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").ValidatorFunction<(...args: any[]) => any>> & {
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").ValidatorFunction<(...args: any[]) => any>> & {
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").ValidatorFunction<(...args: any[]) => any>> & {
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").ValidatorFunction<(...args: any[]) => any>> & {
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").ValidatorFunction<(...args: any[]) => any>> & {
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").ValidatorFunction<(...args: any[]) => any>> & {
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").ValidatorFunction<(...args: any[]) => any>> & {
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").ValidatorFunction<(...args: any[]) => any>> & {
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").ValidatorFunction<(...args: any[]) => any>> & {
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").ValidatorFunction<(...args: any[]) => any>> & {
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").ValidatorFunction<(...args: any[]) => any>> & {
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").ValidatorFunction<(...args: any[]) => any>> & {
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;