jky-component-lib 0.0.133 → 0.0.138

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 (129) hide show
  1. package/dist/es/amap/style.css +5 -12
  2. package/dist/es/amap/style3.css +12 -5
  3. package/dist/es/form/FormItem.vue.js +60 -54
  4. package/dist/es/form/items/AutocompleteItem.vue.d.ts +1 -1
  5. package/dist/es/form/items/AutocompleteItem.vue.js +10 -3
  6. package/dist/es/form/items/CascaderItem.vue.d.ts +1 -1
  7. package/dist/es/form/items/CascaderItem.vue.js +10 -3
  8. package/dist/es/form/items/CheckboxGroupItem.vue.d.ts +3 -1
  9. package/dist/es/form/items/CheckboxGroupItem.vue.js +10 -3
  10. package/dist/es/form/items/ColorPickerItem.vue.d.ts +1 -1
  11. package/dist/es/form/items/ColorPickerItem.vue.js +10 -3
  12. package/dist/es/form/items/ColorPickerPanelItem.vue.d.ts +1 -1
  13. package/dist/es/form/items/ColorPickerPanelItem.vue.js +10 -3
  14. package/dist/es/form/items/DatePickerItem.vue.d.ts +1 -1
  15. package/dist/es/form/items/DatePickerItem.vue.js +10 -3
  16. package/dist/es/form/items/DividerItem.vue.d.ts +3 -1
  17. package/dist/es/form/items/DividerItem.vue.js +10 -3
  18. package/dist/es/form/items/FileUploadItem.vue.d.ts +1 -1
  19. package/dist/es/form/items/FileUploadItem.vue.js +10 -3
  20. package/dist/es/form/items/ImageUploadItem.vue.d.ts +1 -1
  21. package/dist/es/form/items/ImageUploadItem.vue.js +10 -3
  22. package/dist/es/form/items/InputItem.vue.d.ts +1 -1
  23. package/dist/es/form/items/InputItem.vue.js +11 -4
  24. package/dist/es/form/items/InputNumberItem.vue.d.ts +1 -1
  25. package/dist/es/form/items/InputNumberItem.vue.js +10 -3
  26. package/dist/es/form/items/InputTagItem.vue.d.ts +1 -1
  27. package/dist/es/form/items/InputTagItem.vue.js +10 -3
  28. package/dist/es/form/items/LinkedSelectItem.vue.d.ts +4 -1
  29. package/dist/es/form/items/LinkedSelectItem.vue.js +10 -3
  30. package/dist/es/form/items/MentionItem.vue.d.ts +1 -1
  31. package/dist/es/form/items/MentionItem.vue.js +10 -3
  32. package/dist/es/form/items/RadioGroupItem.vue.d.ts +3 -1
  33. package/dist/es/form/items/RadioGroupItem.vue.js +10 -3
  34. package/dist/es/form/items/RangeInputNumberItem.vue.d.ts +13 -0
  35. package/dist/es/form/items/RangeInputNumberItem.vue.js +116 -0
  36. package/dist/es/form/items/RangeInputNumberItem.vue2.js +4 -0
  37. package/dist/es/form/items/RateItem.vue.d.ts +1 -1
  38. package/dist/es/form/items/RateItem.vue.js +10 -3
  39. package/dist/es/form/items/SelectItem.vue.d.ts +1 -1
  40. package/dist/es/form/items/SelectItem.vue.js +10 -3
  41. package/dist/es/form/items/SelectTableItem.vue.d.ts +1 -1
  42. package/dist/es/form/items/SelectTableItem.vue.js +10 -3
  43. package/dist/es/form/items/SelectV2Item.vue.d.ts +1 -1
  44. package/dist/es/form/items/SelectV2Item.vue.js +10 -3
  45. package/dist/es/form/items/SliderItem.vue.d.ts +1 -1
  46. package/dist/es/form/items/SliderItem.vue.js +10 -3
  47. package/dist/es/form/items/SwitchItem.vue.d.ts +1 -1
  48. package/dist/es/form/items/SwitchItem.vue.js +10 -3
  49. package/dist/es/form/items/TextareaItem.vue.d.ts +1 -1
  50. package/dist/es/form/items/TextareaItem.vue.js +10 -3
  51. package/dist/es/form/items/TimePickerItem.vue.d.ts +1 -1
  52. package/dist/es/form/items/TimePickerItem.vue.js +10 -3
  53. package/dist/es/form/items/TimeSelectItem.vue.d.ts +1 -1
  54. package/dist/es/form/items/TimeSelectItem.vue.js +10 -3
  55. package/dist/es/form/items/TransferItem.vue.d.ts +1 -1
  56. package/dist/es/form/items/TransferItem.vue.js +10 -3
  57. package/dist/es/form/items/TreeSelectItem.vue.d.ts +1 -1
  58. package/dist/es/form/items/TreeSelectItem.vue.js +10 -3
  59. package/dist/es/modal/Footer.vue.d.ts +1 -1
  60. package/dist/es/modal/Footer.vue.js +4 -2
  61. package/dist/es/modal/Modal.vue.js +6 -3
  62. package/dist/es/package.json.js +1 -1
  63. package/dist/es/page-table/PageTable.vue.js +1 -1
  64. package/dist/es/page-table/PageTableColumn.vue.d.ts +1 -0
  65. package/dist/lib/amap/style.css +5 -12
  66. package/dist/lib/amap/style3.css +12 -5
  67. package/dist/lib/form/FormItem.vue.js +9 -3
  68. package/dist/lib/form/items/AutocompleteItem.vue.d.ts +1 -1
  69. package/dist/lib/form/items/AutocompleteItem.vue.js +9 -2
  70. package/dist/lib/form/items/CascaderItem.vue.d.ts +1 -1
  71. package/dist/lib/form/items/CascaderItem.vue.js +9 -2
  72. package/dist/lib/form/items/CheckboxGroupItem.vue.d.ts +3 -1
  73. package/dist/lib/form/items/CheckboxGroupItem.vue.js +9 -2
  74. package/dist/lib/form/items/ColorPickerItem.vue.d.ts +1 -1
  75. package/dist/lib/form/items/ColorPickerItem.vue.js +9 -2
  76. package/dist/lib/form/items/ColorPickerPanelItem.vue.d.ts +1 -1
  77. package/dist/lib/form/items/ColorPickerPanelItem.vue.js +9 -2
  78. package/dist/lib/form/items/DatePickerItem.vue.d.ts +1 -1
  79. package/dist/lib/form/items/DatePickerItem.vue.js +9 -2
  80. package/dist/lib/form/items/DividerItem.vue.d.ts +3 -1
  81. package/dist/lib/form/items/DividerItem.vue.js +9 -2
  82. package/dist/lib/form/items/FileUploadItem.vue.d.ts +1 -1
  83. package/dist/lib/form/items/FileUploadItem.vue.js +9 -2
  84. package/dist/lib/form/items/ImageUploadItem.vue.d.ts +1 -1
  85. package/dist/lib/form/items/ImageUploadItem.vue.js +9 -2
  86. package/dist/lib/form/items/InputItem.vue.d.ts +1 -1
  87. package/dist/lib/form/items/InputItem.vue.js +10 -3
  88. package/dist/lib/form/items/InputNumberItem.vue.d.ts +1 -1
  89. package/dist/lib/form/items/InputNumberItem.vue.js +9 -2
  90. package/dist/lib/form/items/InputTagItem.vue.d.ts +1 -1
  91. package/dist/lib/form/items/InputTagItem.vue.js +9 -2
  92. package/dist/lib/form/items/LinkedSelectItem.vue.d.ts +4 -1
  93. package/dist/lib/form/items/LinkedSelectItem.vue.js +9 -2
  94. package/dist/lib/form/items/MentionItem.vue.d.ts +1 -1
  95. package/dist/lib/form/items/MentionItem.vue.js +9 -2
  96. package/dist/lib/form/items/RadioGroupItem.vue.d.ts +3 -1
  97. package/dist/lib/form/items/RadioGroupItem.vue.js +9 -2
  98. package/dist/lib/form/items/RangeInputNumberItem.vue.d.ts +13 -0
  99. package/dist/lib/form/items/RangeInputNumberItem.vue.js +116 -0
  100. package/dist/lib/form/items/RangeInputNumberItem.vue2.js +4 -0
  101. package/dist/lib/form/items/RateItem.vue.d.ts +1 -1
  102. package/dist/lib/form/items/RateItem.vue.js +9 -2
  103. package/dist/lib/form/items/SelectItem.vue.d.ts +1 -1
  104. package/dist/lib/form/items/SelectItem.vue.js +9 -2
  105. package/dist/lib/form/items/SelectTableItem.vue.d.ts +1 -1
  106. package/dist/lib/form/items/SelectTableItem.vue.js +9 -2
  107. package/dist/lib/form/items/SelectV2Item.vue.d.ts +1 -1
  108. package/dist/lib/form/items/SelectV2Item.vue.js +9 -2
  109. package/dist/lib/form/items/SliderItem.vue.d.ts +1 -1
  110. package/dist/lib/form/items/SliderItem.vue.js +9 -2
  111. package/dist/lib/form/items/SwitchItem.vue.d.ts +1 -1
  112. package/dist/lib/form/items/SwitchItem.vue.js +9 -2
  113. package/dist/lib/form/items/TextareaItem.vue.d.ts +1 -1
  114. package/dist/lib/form/items/TextareaItem.vue.js +9 -2
  115. package/dist/lib/form/items/TimePickerItem.vue.d.ts +1 -1
  116. package/dist/lib/form/items/TimePickerItem.vue.js +9 -2
  117. package/dist/lib/form/items/TimeSelectItem.vue.d.ts +1 -1
  118. package/dist/lib/form/items/TimeSelectItem.vue.js +9 -2
  119. package/dist/lib/form/items/TransferItem.vue.d.ts +1 -1
  120. package/dist/lib/form/items/TransferItem.vue.js +9 -2
  121. package/dist/lib/form/items/TreeSelectItem.vue.d.ts +1 -1
  122. package/dist/lib/form/items/TreeSelectItem.vue.js +9 -2
  123. package/dist/lib/modal/Footer.vue.d.ts +1 -1
  124. package/dist/lib/modal/Footer.vue.js +4 -2
  125. package/dist/lib/modal/Modal.vue.js +6 -3
  126. package/dist/lib/package.json.js +1 -1
  127. package/dist/lib/page-table/PageTable.vue.js +1 -1
  128. package/dist/lib/page-table/PageTableColumn.vue.d.ts +1 -0
  129. package/package.json +3 -6
@@ -1,14 +1,7 @@
1
- /* AMap 高德地图组件样式 */
2
- .jky-amap-container {
3
- /* 地图容器样式 */
4
- position: relative;
5
- overflow: hidden;
6
1
 
7
- /* 隐藏高德地图的 logo 和版权信息(注意:商业使用请遵守高德地图条款) */
8
- .amap-logo {
9
- display: none !important;
10
- }
11
- .amap-copyright {
12
- display: none !important;
13
- }
2
+ /* JkyAMarker 组件样式 - 参考高德官方示例 */
3
+ .amap-icon img,
4
+ .amap-marker-content img {
5
+ width: 25px;
6
+ height: 34px;
14
7
  }
@@ -1,7 +1,14 @@
1
+ /* AMap 高德地图组件样式 */
2
+ .jky-amap-container {
3
+ /* 地图容器样式 */
4
+ position: relative;
5
+ overflow: hidden;
1
6
 
2
- /* JkyAMarker 组件样式 - 参考高德官方示例 */
3
- .amap-icon img,
4
- .amap-marker-content img {
5
- width: 25px;
6
- height: 34px;
7
+ /* 隐藏高德地图的 logo 和版权信息(注意:商业使用请遵守高德地图条款) */
8
+ .amap-logo {
9
+ display: none !important;
10
+ }
11
+ .amap-copyright {
12
+ display: none !important;
13
+ }
7
14
  }
@@ -49,42 +49,43 @@ var __async = (__this, __arguments, generator) => {
49
49
  step((generator = generator.apply(__this, __arguments)).next());
50
50
  });
51
51
  };
52
- import { defineComponent, ref, computed, openBlock, createElementBlock, createBlock, unref, mergeProps, withCtx, createElementVNode, resolveDynamicComponent, Fragment, createTextVNode, toDisplayString, createCommentVNode, createVNode, createSlots, renderList, renderSlot, normalizeProps, guardReactiveProps, watch, h } from "vue";
52
+ import { defineComponent, useSlots, ref, computed, openBlock, createElementBlock, createBlock, unref, mergeProps, withCtx, createElementVNode, resolveDynamicComponent, Fragment, createTextVNode, toDisplayString, createCommentVNode, createVNode, createSlots, renderList, renderSlot, normalizeProps, guardReactiveProps, watch, h } from "vue";
53
53
  import { CircleCloseFilled, CircleCheckFilled, WarningFilled, QuestionFilled } from "@element-plus/icons-vue";
54
54
  import { ElFormItem, ElTooltip, ElIcon } from "element-plus";
55
- import _sfc_main$w from "./FormItemWrapper.vue.js";
55
+ import _sfc_main$x from "./FormItemWrapper.vue.js";
56
56
  /* empty css */
57
57
  import _sfc_main$5 from "./items/AddInputItem.vue.js";
58
58
  import _sfc_main$3 from "./items/AMapPickerItem.vue.js";
59
- import _sfc_main$s from "./items/AutocompleteItem.vue.js";
60
- import _sfc_main$k from "./items/CascaderItem.vue.js";
61
- import _sfc_main$n from "./items/CheckboxGroupItem.vue.js";
59
+ import _sfc_main$t from "./items/AutocompleteItem.vue.js";
60
+ import _sfc_main$l from "./items/CascaderItem.vue.js";
61
+ import _sfc_main$o from "./items/CheckboxGroupItem.vue.js";
62
62
  import _sfc_main$7 from "./items/CodeMirrorEditorItem.vue.js";
63
- import _sfc_main$i from "./items/ColorPickerItem.vue.js";
64
- import _sfc_main$h from "./items/ColorPickerPanelItem.vue.js";
63
+ import _sfc_main$j from "./items/ColorPickerItem.vue.js";
64
+ import _sfc_main$i from "./items/ColorPickerPanelItem.vue.js";
65
65
  import _sfc_main$1 from "./items/CustomItem.vue.js";
66
- import _sfc_main$r from "./items/DatePickerItem.vue.js";
66
+ import _sfc_main$s from "./items/DatePickerItem.vue.js";
67
67
  import _sfc_main$2 from "./items/DividerItem.vue.js";
68
68
  import _sfc_main$8 from "./items/FileUploadItem.vue.js";
69
69
  import _sfc_main$9 from "./items/ImageUploadItem.vue.js";
70
- import _sfc_main$v from "./items/InputItem.vue.js";
71
- import _sfc_main$a from "./items/InputNumberItem.vue.js";
72
- import _sfc_main$g from "./items/InputTagItem.vue.js";
70
+ import _sfc_main$w from "./items/InputItem.vue.js";
71
+ import _sfc_main$b from "./items/InputNumberItem.vue.js";
72
+ import _sfc_main$h from "./items/InputTagItem.vue.js";
73
73
  import _sfc_main$4 from "./items/LinkedSelectItem.vue.js";
74
- import _sfc_main$f from "./items/MentionItem.vue.js";
75
- import _sfc_main$o from "./items/RadioGroupItem.vue.js";
76
- import _sfc_main$b from "./items/RateItem.vue.js";
74
+ import _sfc_main$g from "./items/MentionItem.vue.js";
75
+ import _sfc_main$p from "./items/RadioGroupItem.vue.js";
76
+ import _sfc_main$a from "./items/RangeInputNumberItem.vue.js";
77
+ import _sfc_main$c from "./items/RateItem.vue.js";
77
78
  import _sfc_main$6 from "./items/RichEditorItem.vue.js";
78
- import _sfc_main$t from "./items/SelectItem.vue.js";
79
- import _sfc_main$c from "./items/SelectTableItem.vue.js";
80
- import _sfc_main$e from "./items/SelectV2Item.vue.js";
81
- import _sfc_main$l from "./items/SliderItem.vue.js";
82
- import _sfc_main$m from "./items/SwitchItem.vue.js";
83
- import _sfc_main$u from "./items/TextareaItem.vue.js";
84
- import _sfc_main$q from "./items/TimePickerItem.vue.js";
85
- import _sfc_main$p from "./items/TimeSelectItem.vue.js";
86
- import _sfc_main$d from "./items/TransferItem.vue.js";
87
- import _sfc_main$j from "./items/TreeSelectItem.vue.js";
79
+ import _sfc_main$u from "./items/SelectItem.vue.js";
80
+ import _sfc_main$d from "./items/SelectTableItem.vue.js";
81
+ import _sfc_main$f from "./items/SelectV2Item.vue.js";
82
+ import _sfc_main$m from "./items/SliderItem.vue.js";
83
+ import _sfc_main$n from "./items/SwitchItem.vue.js";
84
+ import _sfc_main$v from "./items/TextareaItem.vue.js";
85
+ import _sfc_main$r from "./items/TimePickerItem.vue.js";
86
+ import _sfc_main$q from "./items/TimeSelectItem.vue.js";
87
+ import _sfc_main$e from "./items/TransferItem.vue.js";
88
+ import _sfc_main$k from "./items/TreeSelectItem.vue.js";
88
89
  const _hoisted_1 = {
89
90
  key: 0,
90
91
  style: { "display": "none" }
@@ -130,6 +131,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({
130
131
  },
131
132
  setup(__props) {
132
133
  const props = __props;
134
+ const slots = useSlots();
133
135
  const loading = ref(false);
134
136
  const propsLoadStatus = ref("idle");
135
137
  const loadError = ref(null);
@@ -332,29 +334,30 @@ const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({
332
334
  }) : componentSlots;
333
335
  });
334
336
  const componentMap = {
335
- "input": _sfc_main$v,
336
- "textarea": _sfc_main$u,
337
- "select": _sfc_main$t,
338
- "autocomplete": _sfc_main$s,
339
- "date-picker": _sfc_main$r,
340
- "datetime-picker": _sfc_main$r,
341
- "time-picker": _sfc_main$q,
342
- "time-select": _sfc_main$p,
343
- "radio-group": _sfc_main$o,
344
- "checkbox-group": _sfc_main$n,
345
- "switch": _sfc_main$m,
346
- "slider": _sfc_main$l,
347
- "cascader": _sfc_main$k,
348
- "tree-select": _sfc_main$j,
349
- "color-picker": _sfc_main$i,
350
- "color-picker-panel": _sfc_main$h,
351
- "input-tag": _sfc_main$g,
352
- "mention": _sfc_main$f,
353
- "select-v2": _sfc_main$e,
354
- "transfer": _sfc_main$d,
355
- "select-table": _sfc_main$c,
356
- "rate": _sfc_main$b,
357
- "input-number": _sfc_main$a,
337
+ "input": _sfc_main$w,
338
+ "textarea": _sfc_main$v,
339
+ "select": _sfc_main$u,
340
+ "autocomplete": _sfc_main$t,
341
+ "date-picker": _sfc_main$s,
342
+ "datetime-picker": _sfc_main$s,
343
+ "time-picker": _sfc_main$r,
344
+ "time-select": _sfc_main$q,
345
+ "radio-group": _sfc_main$p,
346
+ "checkbox-group": _sfc_main$o,
347
+ "switch": _sfc_main$n,
348
+ "slider": _sfc_main$m,
349
+ "cascader": _sfc_main$l,
350
+ "tree-select": _sfc_main$k,
351
+ "color-picker": _sfc_main$j,
352
+ "color-picker-panel": _sfc_main$i,
353
+ "input-tag": _sfc_main$h,
354
+ "mention": _sfc_main$g,
355
+ "select-v2": _sfc_main$f,
356
+ "transfer": _sfc_main$e,
357
+ "select-table": _sfc_main$d,
358
+ "rate": _sfc_main$c,
359
+ "input-number": _sfc_main$b,
360
+ "range-input-number": _sfc_main$a,
358
361
  "image-upload": _sfc_main$9,
359
362
  "file-upload": _sfc_main$8,
360
363
  "code-mirror-editor": _sfc_main$7,
@@ -367,7 +370,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({
367
370
  };
368
371
  const currentComponent = computed(() => {
369
372
  const type = props.config.type || "input";
370
- return componentMap[type] || _sfc_main$v;
373
+ return componentMap[type] || _sfc_main$w;
371
374
  });
372
375
  function renderHelpTooltip() {
373
376
  if (!props.config.help)
@@ -417,6 +420,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({
417
420
  { default: () => text }
418
421
  );
419
422
  }
423
+ function getSlotNames() {
424
+ return Object.keys(slots);
425
+ }
420
426
  return (_ctx, _cache) => {
421
427
  return isHidden.value ? (openBlock(), createElementBlock("div", _hoisted_1)) : __props.config.title && !__props.config.label ? (openBlock(), createBlock(unref(ElFormItem), mergeProps({
422
428
  key: 1,
@@ -433,7 +439,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({
433
439
  ], 64)),
434
440
  __props.config.help && __props.config.help.tooltip ? (openBlock(), createBlock(resolveDynamicComponent(renderHelpTooltip()), { key: 2 })) : createCommentVNode("", true)
435
441
  ]),
436
- createVNode(_sfc_main$w, {
442
+ createVNode(_sfc_main$x, {
437
443
  status: propsLoadStatus.value,
438
444
  error: loadError.value,
439
445
  onRetry: reloadComponentProps
@@ -450,7 +456,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({
450
456
  disabled: __props.disabled,
451
457
  "onUpdate:modelValue": _cache[0] || (_cache[0] = (val) => __props.model[__props.field] = val)
452
458
  }, createSlots({ _: 2 }, [
453
- renderList(Object.keys(_ctx.$slots), (name, index) => {
459
+ renderList(getSlotNames(), (name) => {
454
460
  return {
455
461
  name,
456
462
  fn: withCtx((slotData) => [
@@ -476,7 +482,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({
476
482
  default: withCtx(() => [
477
483
  __props.config.prepend || __props.config.append ? (openBlock(), createElementBlock("div", _hoisted_4, [
478
484
  __props.config.prepend ? (openBlock(), createElementBlock("span", _hoisted_5, toDisplayString(__props.config.prepend), 1)) : createCommentVNode("", true),
479
- createVNode(_sfc_main$w, {
485
+ createVNode(_sfc_main$x, {
480
486
  status: propsLoadStatus.value,
481
487
  error: loadError.value,
482
488
  onRetry: reloadComponentProps
@@ -493,7 +499,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({
493
499
  disabled: __props.disabled,
494
500
  "onUpdate:modelValue": _cache[1] || (_cache[1] = (val) => __props.model[__props.field] = val)
495
501
  }, createSlots({ _: 2 }, [
496
- renderList(Object.keys(_ctx.$slots), (name, index) => {
502
+ renderList(getSlotNames(), (name) => {
497
503
  return {
498
504
  name,
499
505
  fn: withCtx((slotData) => [
@@ -506,7 +512,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({
506
512
  _: 3
507
513
  }, 8, ["status", "error"]),
508
514
  __props.config.append ? (openBlock(), createElementBlock("span", _hoisted_6, toDisplayString(__props.config.append), 1)) : createCommentVNode("", true)
509
- ])) : (openBlock(), createBlock(_sfc_main$w, {
515
+ ])) : (openBlock(), createBlock(_sfc_main$x, {
510
516
  key: 1,
511
517
  status: propsLoadStatus.value,
512
518
  error: loadError.value,
@@ -524,7 +530,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({
524
530
  disabled: __props.disabled,
525
531
  "onUpdate:modelValue": _cache[2] || (_cache[2] = (val) => __props.model[__props.field] = val)
526
532
  }, createSlots({ _: 2 }, [
527
- renderList(Object.keys(_ctx.$slots), (name, index) => {
533
+ renderList(getSlotNames(), (name) => {
528
534
  return {
529
535
  name,
530
536
  fn: withCtx((slotData) => [
@@ -7,7 +7,7 @@ type __VLS_Props = {
7
7
  };
8
8
  declare function __VLS_template(): {
9
9
  attrs: Partial<{}>;
10
- slots: any;
10
+ slots: Partial<Record<string, (_: any) => any>>;
11
11
  refs: {};
12
12
  rootEl: any;
13
13
  };
@@ -17,7 +17,7 @@ var __spreadValues = (a, b) => {
17
17
  return a;
18
18
  };
19
19
  var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
20
- import { defineComponent, computed, openBlock, createBlock, unref, mergeProps, createSlots, renderList, withCtx, renderSlot, normalizeProps, guardReactiveProps, resolveDynamicComponent } from "vue";
20
+ import { defineComponent, useSlots, computed, openBlock, createBlock, unref, mergeProps, createSlots, renderList, withCtx, renderSlot, normalizeProps, guardReactiveProps, resolveDynamicComponent } from "vue";
21
21
  import { ElAutocomplete } from "element-plus";
22
22
  const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, {
23
23
  name: "JkyFormItemAutocomplete"
@@ -34,6 +34,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({
34
34
  setup(__props, { emit: __emit }) {
35
35
  const props = __props;
36
36
  const emit = __emit;
37
+ const slots = useSlots();
37
38
  const autocompleteProps = computed(() => {
38
39
  var _a, _b;
39
40
  return __spreadProps(__spreadValues({}, props.componentProps), {
@@ -42,11 +43,17 @@ const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({
42
43
  disabled: (_b = (_a = props.componentProps) == null ? void 0 : _a.disabled) != null ? _b : props.disabled
43
44
  });
44
45
  });
46
+ function getSlotNames() {
47
+ return Object.keys(slots);
48
+ }
49
+ function getComponentSlotNames() {
50
+ return Object.keys(props.componentSlots || {});
51
+ }
45
52
  return (_ctx, _cache) => {
46
53
  return openBlock(), createBlock(unref(ElAutocomplete), mergeProps(autocompleteProps.value, {
47
54
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => emit("update:modelValue", $event))
48
55
  }), createSlots({ _: 2 }, [
49
- renderList(Object.keys(_ctx.$slots), (name, index) => {
56
+ renderList(getSlotNames(), (name) => {
50
57
  return {
51
58
  name,
52
59
  fn: withCtx((slotData) => [
@@ -54,7 +61,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({
54
61
  ])
55
62
  };
56
63
  }),
57
- renderList(Object.keys(__props.componentSlots || {}), (name) => {
64
+ renderList(getComponentSlotNames(), (name) => {
58
65
  return {
59
66
  name,
60
67
  fn: withCtx((slotData) => [
@@ -7,7 +7,7 @@ type __VLS_Props = {
7
7
  };
8
8
  declare function __VLS_template(): {
9
9
  attrs: Partial<{}>;
10
- slots: any;
10
+ slots: Partial<Record<string, (_: any) => any>>;
11
11
  refs: {};
12
12
  rootEl: any;
13
13
  };
@@ -17,7 +17,7 @@ var __spreadValues = (a, b) => {
17
17
  return a;
18
18
  };
19
19
  var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
20
- import { defineComponent, computed, openBlock, createBlock, unref, mergeProps, createSlots, renderList, withCtx, renderSlot, normalizeProps, guardReactiveProps, resolveDynamicComponent } from "vue";
20
+ import { defineComponent, useSlots, computed, openBlock, createBlock, unref, mergeProps, createSlots, renderList, withCtx, renderSlot, normalizeProps, guardReactiveProps, resolveDynamicComponent } from "vue";
21
21
  import { ElCascader } from "element-plus";
22
22
  const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, {
23
23
  name: "JkyFormItemCascader"
@@ -34,6 +34,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({
34
34
  setup(__props, { emit: __emit }) {
35
35
  const props = __props;
36
36
  const emit = __emit;
37
+ const slots = useSlots();
37
38
  const cascaderProps = computed(() => {
38
39
  var _a, _b;
39
40
  return __spreadProps(__spreadValues({}, props.componentProps), {
@@ -42,11 +43,17 @@ const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({
42
43
  disabled: (_b = (_a = props.componentProps) == null ? void 0 : _a.disabled) != null ? _b : props.disabled
43
44
  });
44
45
  });
46
+ function getSlotNames() {
47
+ return Object.keys(slots);
48
+ }
49
+ function getComponentSlotNames() {
50
+ return Object.keys(props.componentSlots || {});
51
+ }
45
52
  return (_ctx, _cache) => {
46
53
  return openBlock(), createBlock(unref(ElCascader), mergeProps(cascaderProps.value, {
47
54
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => emit("update:modelValue", $event))
48
55
  }), createSlots({ _: 2 }, [
49
- renderList(Object.keys(_ctx.$slots), (name, index) => {
56
+ renderList(getSlotNames(), (name) => {
50
57
  return {
51
58
  name,
52
59
  fn: withCtx((slotData) => [
@@ -54,7 +61,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({
54
61
  ])
55
62
  };
56
63
  }),
57
- renderList(Object.keys(__props.componentSlots || {}), (name) => {
64
+ renderList(getComponentSlotNames(), (name) => {
58
65
  return {
59
66
  name,
60
67
  fn: withCtx((slotData) => [
@@ -7,7 +7,9 @@ type __VLS_Props = {
7
7
  };
8
8
  declare function __VLS_template(): {
9
9
  attrs: Partial<{}>;
10
- slots: any;
10
+ slots: Partial<Record<string, (_: any) => any>> & {
11
+ default?(_: {}): any;
12
+ };
11
13
  refs: {};
12
14
  rootEl: any;
13
15
  };
@@ -17,7 +17,7 @@ var __spreadValues = (a, b) => {
17
17
  return a;
18
18
  };
19
19
  var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
20
- import { defineComponent, computed, openBlock, createBlock, unref, mergeProps, createSlots, withCtx, createElementBlock, Fragment, renderList, createTextVNode, toDisplayString, renderSlot, normalizeProps, guardReactiveProps, resolveDynamicComponent } from "vue";
20
+ import { defineComponent, useSlots, computed, openBlock, createBlock, unref, mergeProps, createSlots, withCtx, createElementBlock, Fragment, renderList, createTextVNode, toDisplayString, renderSlot, normalizeProps, guardReactiveProps, resolveDynamicComponent } from "vue";
21
21
  import { ElCheckboxGroup, ElCheckbox } from "element-plus";
22
22
  const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, {
23
23
  name: "JkyFormItemCheckboxGroup"
@@ -34,6 +34,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({
34
34
  setup(__props, { emit: __emit }) {
35
35
  const props = __props;
36
36
  const emit = __emit;
37
+ const slots = useSlots();
37
38
  const checkboxGroupProps = computed(() => {
38
39
  var _a, _b;
39
40
  return __spreadProps(__spreadValues({}, props.componentProps), {
@@ -42,6 +43,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({
42
43
  });
43
44
  });
44
45
  const options = computed(() => props.componentProps.options || props.config.options || []);
46
+ function getSlotNames() {
47
+ return Object.keys(slots);
48
+ }
49
+ function getComponentSlotNames() {
50
+ return Object.keys(props.componentSlots || {});
51
+ }
45
52
  return (_ctx, _cache) => {
46
53
  return openBlock(), createBlock(unref(ElCheckboxGroup), mergeProps(checkboxGroupProps.value, {
47
54
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => emit("update:modelValue", $event))
@@ -62,7 +69,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({
62
69
  ]),
63
70
  _: 2
64
71
  }, [
65
- renderList(Object.keys(_ctx.$slots), (name, index) => {
72
+ renderList(getSlotNames(), (name) => {
66
73
  return {
67
74
  name,
68
75
  fn: withCtx((slotData) => [
@@ -70,7 +77,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({
70
77
  ])
71
78
  };
72
79
  }),
73
- renderList(Object.keys(__props.componentSlots || {}), (name) => {
80
+ renderList(getComponentSlotNames(), (name) => {
74
81
  return {
75
82
  name,
76
83
  fn: withCtx((slotData) => [
@@ -7,7 +7,7 @@ type __VLS_Props = {
7
7
  };
8
8
  declare function __VLS_template(): {
9
9
  attrs: Partial<{}>;
10
- slots: any;
10
+ slots: Partial<Record<string, (_: any) => any>>;
11
11
  refs: {};
12
12
  rootEl: any;
13
13
  };
@@ -17,7 +17,7 @@ var __spreadValues = (a, b) => {
17
17
  return a;
18
18
  };
19
19
  var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
20
- import { defineComponent, computed, openBlock, createBlock, unref, mergeProps, createSlots, renderList, withCtx, renderSlot, normalizeProps, guardReactiveProps, resolveDynamicComponent } from "vue";
20
+ import { defineComponent, useSlots, computed, openBlock, createBlock, unref, mergeProps, createSlots, renderList, withCtx, renderSlot, normalizeProps, guardReactiveProps, resolveDynamicComponent } from "vue";
21
21
  import { ElColorPicker } from "element-plus";
22
22
  const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, {
23
23
  name: "JkyFormItemColorPicker"
@@ -34,6 +34,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({
34
34
  setup(__props, { emit: __emit }) {
35
35
  const props = __props;
36
36
  const emit = __emit;
37
+ const slots = useSlots();
37
38
  const colorPickerProps = computed(() => {
38
39
  var _a, _b;
39
40
  return __spreadProps(__spreadValues({}, props.componentProps), {
@@ -41,11 +42,17 @@ const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({
41
42
  disabled: (_b = (_a = props.componentProps) == null ? void 0 : _a.disabled) != null ? _b : props.disabled
42
43
  });
43
44
  });
45
+ function getSlotNames() {
46
+ return Object.keys(slots);
47
+ }
48
+ function getComponentSlotNames() {
49
+ return Object.keys(props.componentSlots || {});
50
+ }
44
51
  return (_ctx, _cache) => {
45
52
  return openBlock(), createBlock(unref(ElColorPicker), mergeProps(colorPickerProps.value, {
46
53
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => emit("update:modelValue", $event))
47
54
  }), createSlots({ _: 2 }, [
48
- renderList(Object.keys(_ctx.$slots), (name, index) => {
55
+ renderList(getSlotNames(), (name) => {
49
56
  return {
50
57
  name,
51
58
  fn: withCtx((slotData) => [
@@ -53,7 +60,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({
53
60
  ])
54
61
  };
55
62
  }),
56
- renderList(Object.keys(__props.componentSlots || {}), (name) => {
63
+ renderList(getComponentSlotNames(), (name) => {
57
64
  return {
58
65
  name,
59
66
  fn: withCtx((slotData) => [
@@ -7,7 +7,7 @@ type __VLS_Props = {
7
7
  };
8
8
  declare function __VLS_template(): {
9
9
  attrs: Partial<{}>;
10
- slots: any;
10
+ slots: Partial<Record<string, (_: any) => any>>;
11
11
  refs: {};
12
12
  rootEl: any;
13
13
  };
@@ -17,7 +17,7 @@ var __spreadValues = (a, b) => {
17
17
  return a;
18
18
  };
19
19
  var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
20
- import { defineComponent, computed, openBlock, createBlock, unref, mergeProps, createSlots, renderList, withCtx, renderSlot, normalizeProps, guardReactiveProps, resolveDynamicComponent } from "vue";
20
+ import { defineComponent, useSlots, computed, openBlock, createBlock, unref, mergeProps, createSlots, renderList, withCtx, renderSlot, normalizeProps, guardReactiveProps, resolveDynamicComponent } from "vue";
21
21
  import { ElColorPickerPanel } from "element-plus";
22
22
  const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, {
23
23
  name: "JkyFormItemColorPickerPanel"
@@ -34,6 +34,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({
34
34
  setup(__props, { emit: __emit }) {
35
35
  const props = __props;
36
36
  const emit = __emit;
37
+ const slots = useSlots();
37
38
  const colorPickerPanelProps = computed(() => {
38
39
  var _a, _b;
39
40
  return __spreadProps(__spreadValues({}, props.componentProps), {
@@ -41,11 +42,17 @@ const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({
41
42
  disabled: (_b = (_a = props.componentProps) == null ? void 0 : _a.disabled) != null ? _b : props.disabled
42
43
  });
43
44
  });
45
+ function getSlotNames() {
46
+ return Object.keys(slots);
47
+ }
48
+ function getComponentSlotNames() {
49
+ return Object.keys(props.componentSlots || {});
50
+ }
44
51
  return (_ctx, _cache) => {
45
52
  return openBlock(), createBlock(unref(ElColorPickerPanel), mergeProps(colorPickerPanelProps.value, {
46
53
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => emit("update:modelValue", $event))
47
54
  }), createSlots({ _: 2 }, [
48
- renderList(Object.keys(_ctx.$slots), (name, index) => {
55
+ renderList(getSlotNames(), (name) => {
49
56
  return {
50
57
  name,
51
58
  fn: withCtx((slotData) => [
@@ -53,7 +60,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({
53
60
  ])
54
61
  };
55
62
  }),
56
- renderList(Object.keys(__props.componentSlots || {}), (name) => {
63
+ renderList(getComponentSlotNames(), (name) => {
57
64
  return {
58
65
  name,
59
66
  fn: withCtx((slotData) => [
@@ -7,7 +7,7 @@ type __VLS_Props = {
7
7
  };
8
8
  declare function __VLS_template(): {
9
9
  attrs: Partial<{}>;
10
- slots: any;
10
+ slots: Partial<Record<string, (_: any) => any>>;
11
11
  refs: {};
12
12
  rootEl: any;
13
13
  };
@@ -17,7 +17,7 @@ var __spreadValues = (a, b) => {
17
17
  return a;
18
18
  };
19
19
  var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
20
- import { defineComponent, computed, openBlock, createBlock, unref, mergeProps, createSlots, renderList, withCtx, renderSlot, normalizeProps, guardReactiveProps, resolveDynamicComponent } from "vue";
20
+ import { defineComponent, useSlots, computed, openBlock, createBlock, unref, mergeProps, createSlots, renderList, withCtx, renderSlot, normalizeProps, guardReactiveProps, resolveDynamicComponent } from "vue";
21
21
  import { ElDatePicker } from "element-plus";
22
22
  const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, {
23
23
  name: "JkyFormItemDatePicker"
@@ -34,6 +34,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({
34
34
  setup(__props, { emit: __emit }) {
35
35
  const props = __props;
36
36
  const emit = __emit;
37
+ const slots = useSlots();
37
38
  const datepickerProps = computed(() => {
38
39
  var _a, _b;
39
40
  return __spreadProps(__spreadValues({
@@ -45,11 +46,17 @@ const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({
45
46
  disabled: (_b = (_a = props.componentProps) == null ? void 0 : _a.disabled) != null ? _b : props.disabled
46
47
  });
47
48
  });
49
+ function getSlotNames() {
50
+ return Object.keys(slots);
51
+ }
52
+ function getComponentSlotNames() {
53
+ return Object.keys(props.componentSlots || {});
54
+ }
48
55
  return (_ctx, _cache) => {
49
56
  return openBlock(), createBlock(unref(ElDatePicker), mergeProps(datepickerProps.value, {
50
57
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => emit("update:modelValue", $event))
51
58
  }), createSlots({ _: 2 }, [
52
- renderList(Object.keys(_ctx.$slots), (name, index) => {
59
+ renderList(getSlotNames(), (name) => {
53
60
  return {
54
61
  name,
55
62
  fn: withCtx((slotData) => [
@@ -57,7 +64,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({
57
64
  ])
58
65
  };
59
66
  }),
60
- renderList(Object.keys(__props.componentSlots || {}), (name) => {
67
+ renderList(getComponentSlotNames(), (name) => {
61
68
  return {
62
69
  name,
63
70
  fn: withCtx((slotData) => [
@@ -7,7 +7,9 @@ type __VLS_Props = {
7
7
  };
8
8
  declare function __VLS_template(): {
9
9
  attrs: Partial<{}>;
10
- slots: any;
10
+ slots: Partial<Record<string, (_: any) => any>> & {
11
+ default?(_: {}): any;
12
+ };
11
13
  refs: {};
12
14
  rootEl: any;
13
15
  };
@@ -17,7 +17,7 @@ var __spreadValues = (a, b) => {
17
17
  return a;
18
18
  };
19
19
  var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
20
- import { defineComponent, computed, openBlock, createBlock, unref, normalizeProps, guardReactiveProps, createSlots, withCtx, renderSlot, createElementBlock, Fragment, createTextVNode, toDisplayString, renderList, resolveDynamicComponent } from "vue";
20
+ import { defineComponent, useSlots, computed, openBlock, createBlock, unref, normalizeProps, guardReactiveProps, createSlots, withCtx, renderSlot, createElementBlock, Fragment, createTextVNode, toDisplayString, renderList, resolveDynamicComponent } from "vue";
21
21
  import { ElDivider } from "element-plus";
22
22
  const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, {
23
23
  name: "JkyFormItemDivider"
@@ -32,7 +32,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({
32
32
  },
33
33
  setup(__props) {
34
34
  const props = __props;
35
+ const slots = useSlots();
35
36
  const dividerProps = computed(() => __spreadValues({}, props.componentProps));
37
+ function getSlotNames() {
38
+ return Object.keys(slots);
39
+ }
40
+ function getComponentSlotNames() {
41
+ return Object.keys(props.componentSlots || {});
42
+ }
36
43
  return (_ctx, _cache) => {
37
44
  return openBlock(), createBlock(unref(ElDivider), normalizeProps(guardReactiveProps(dividerProps.value)), createSlots({
38
45
  default: withCtx(() => [
@@ -42,7 +49,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({
42
49
  ]),
43
50
  _: 2
44
51
  }, [
45
- renderList(Object.keys(_ctx.$slots), (name, index) => {
52
+ renderList(getSlotNames(), (name) => {
46
53
  return {
47
54
  name,
48
55
  fn: withCtx((slotData) => [
@@ -50,7 +57,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({
50
57
  ])
51
58
  };
52
59
  }),
53
- renderList(Object.keys(__props.componentSlots || {}), (name) => {
60
+ renderList(getComponentSlotNames(), (name) => {
54
61
  return {
55
62
  name,
56
63
  fn: withCtx((slotData) => [
@@ -7,7 +7,7 @@ type __VLS_Props = {
7
7
  };
8
8
  declare function __VLS_template(): {
9
9
  attrs: Partial<{}>;
10
- slots: any;
10
+ slots: Partial<Record<string, (_: any) => any>>;
11
11
  refs: {};
12
12
  rootEl: any;
13
13
  };