@vipl520/dk-ui 1.0.74 → 1.0.76

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 (54) hide show
  1. package/dist/attributes.json +8 -0
  2. package/dist/index.js +357 -190
  3. package/dist/index.min.js +5 -5
  4. package/dist/index.min.js.map +1 -1
  5. package/dist/index.min.mjs +5 -5
  6. package/dist/index.min.mjs.map +1 -1
  7. package/dist/index.mjs +356 -191
  8. package/dist/tags.json +7 -0
  9. package/dist/web-types.json +35 -1
  10. package/es/index.d.ts +1 -0
  11. package/es/index.mjs +5 -1
  12. package/es/index.mjs.map +1 -1
  13. package/es/page-diy/style/cube-image.scss +71 -71
  14. package/es/page-diy/style/index.scss +1 -1
  15. package/es/style-custom-input/index.d.ts +18 -0
  16. package/es/style-custom-input/index.mjs +8 -0
  17. package/es/style-custom-input/index.mjs.map +1 -0
  18. package/es/style-custom-input/src/props.d.ts +8 -0
  19. package/es/style-custom-input/src/props.mjs +9 -0
  20. package/es/style-custom-input/src/props.mjs.map +1 -0
  21. package/es/style-custom-input/src/style-custom-input.vue.d.ts +17 -0
  22. package/es/style-custom-input/src/style-custom-input.vue.mjs +7 -0
  23. package/es/style-custom-input/src/style-custom-input.vue.mjs.map +1 -0
  24. package/es/style-custom-input/src/style-custom-input.vue2.mjs +138 -0
  25. package/es/style-custom-input/src/style-custom-input.vue2.mjs.map +1 -0
  26. package/es/style-custom-input/style/index.css +0 -0
  27. package/es/style-custom-input/style/index.scss +5 -0
  28. package/es/style-input/src/default.mjs +7 -0
  29. package/es/style-input/src/default.mjs.map +1 -1
  30. package/es/style-input/src/style-input.vue2.mjs +20 -8
  31. package/es/style-input/src/style-input.vue2.mjs.map +1 -1
  32. package/lib/index.d.ts +1 -0
  33. package/lib/index.js +50 -44
  34. package/lib/index.js.map +1 -1
  35. package/lib/page-diy/style/cube-image.scss +71 -71
  36. package/lib/page-diy/style/index.scss +1 -1
  37. package/lib/style-custom-input/index.d.ts +18 -0
  38. package/lib/style-custom-input/index.js +14 -0
  39. package/lib/style-custom-input/index.js.map +1 -0
  40. package/lib/style-custom-input/src/props.d.ts +8 -0
  41. package/lib/style-custom-input/src/props.js +11 -0
  42. package/lib/style-custom-input/src/props.js.map +1 -0
  43. package/lib/style-custom-input/src/style-custom-input.vue.d.ts +17 -0
  44. package/lib/style-custom-input/src/style-custom-input.vue.js +11 -0
  45. package/lib/style-custom-input/src/style-custom-input.vue.js.map +1 -0
  46. package/lib/style-custom-input/src/style-custom-input.vue2.js +142 -0
  47. package/lib/style-custom-input/src/style-custom-input.vue2.js.map +1 -0
  48. package/lib/style-custom-input/style/index.css +0 -0
  49. package/lib/style-custom-input/style/index.scss +5 -0
  50. package/lib/style-input/src/default.js +7 -0
  51. package/lib/style-input/src/default.js.map +1 -1
  52. package/lib/style-input/src/style-input.vue2.js +20 -8
  53. package/lib/style-input/src/style-input.vue2.js.map +1 -1
  54. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1681,12 +1681,12 @@
1681
1681
  }
1682
1682
  };
1683
1683
 
1684
- const _hoisted_1$11 = { class: "mr-10px bg-black" };
1685
- const __default__$R = vue.defineComponent({
1684
+ const _hoisted_1$12 = { class: "mr-10px bg-black" };
1685
+ const __default__$S = vue.defineComponent({
1686
1686
  name: "DkTest"
1687
1687
  });
1688
- var _sfc_main$1l = /* @__PURE__ */ vue.defineComponent({
1689
- ...__default__$R,
1688
+ var _sfc_main$1m = /* @__PURE__ */ vue.defineComponent({
1689
+ ...__default__$S,
1690
1690
  props: testProps,
1691
1691
  emits: ["onChooseUrl"],
1692
1692
  setup(__props, { emit }) {
@@ -1724,7 +1724,7 @@
1724
1724
  }),
1725
1725
  vue.createElementVNode(
1726
1726
  "div",
1727
- _hoisted_1$11,
1727
+ _hoisted_1$12,
1728
1728
  vue.toDisplayString(_ctx.test),
1729
1729
  1
1730
1730
  /* TEXT */
@@ -1745,7 +1745,7 @@
1745
1745
  return target;
1746
1746
  };
1747
1747
 
1748
- var _Test = /* @__PURE__ */ _export_sfc(_sfc_main$1l, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\test\\src\\test.vue"]]);
1748
+ var _Test = /* @__PURE__ */ _export_sfc(_sfc_main$1m, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\test\\src\\test.vue"]]);
1749
1749
 
1750
1750
  const Test = withInstall(_Test);
1751
1751
 
@@ -1899,14 +1899,14 @@
1899
1899
  }
1900
1900
  };
1901
1901
 
1902
- const _hoisted_1$10 = { key: 1 };
1902
+ const _hoisted_1$11 = { key: 1 };
1903
1903
  const _hoisted_2$N = { class: "collapse-title" };
1904
1904
  const _hoisted_3$B = { class: "_dk-group-handle" };
1905
- const __default__$Q = vue.defineComponent({
1905
+ const __default__$R = vue.defineComponent({
1906
1906
  name: "DkGroup"
1907
1907
  });
1908
- var _sfc_main$1k = /* @__PURE__ */ vue.defineComponent({
1909
- ...__default__$Q,
1908
+ var _sfc_main$1l = /* @__PURE__ */ vue.defineComponent({
1909
+ ...__default__$R,
1910
1910
  props: groupProps,
1911
1911
  emits: ["update:modelValue", "change", "itemMounted", "remove", "add"],
1912
1912
  setup(__props, { emit }) {
@@ -2150,7 +2150,7 @@
2150
2150
  _: 1
2151
2151
  /* STABLE */
2152
2152
  })) : vue.createCommentVNode("v-if", true),
2153
- data.sort.length === 0 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$10, [
2153
+ data.sort.length === 0 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$11, [
2154
2154
  (vue.openBlock(), vue.createBlock(_component_el_button, {
2155
2155
  key: "a_def",
2156
2156
  style: { "width": "100%" },
@@ -2260,7 +2260,7 @@
2260
2260
  }
2261
2261
  });
2262
2262
 
2263
- var _Group = /* @__PURE__ */ _export_sfc(_sfc_main$1k, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\group\\src\\group.vue"]]);
2263
+ var _Group = /* @__PURE__ */ _export_sfc(_sfc_main$1l, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\group\\src\\group.vue"]]);
2264
2264
 
2265
2265
  const Group = withInstall(_Group);
2266
2266
 
@@ -2384,14 +2384,14 @@
2384
2384
  }
2385
2385
  };
2386
2386
 
2387
- const _hoisted_1$$ = { key: 0 };
2387
+ const _hoisted_1$10 = { key: 0 };
2388
2388
  const _hoisted_2$M = { key: 1 };
2389
2389
  const _hoisted_3$A = { class: "text-center" };
2390
- const __default__$P = vue.defineComponent({
2390
+ const __default__$Q = vue.defineComponent({
2391
2391
  name: "DkTinyEditor"
2392
2392
  });
2393
- var _sfc_main$1j = /* @__PURE__ */ vue.defineComponent({
2394
- ...__default__$P,
2393
+ var _sfc_main$1k = /* @__PURE__ */ vue.defineComponent({
2394
+ ...__default__$Q,
2395
2395
  props: tinyEditorProps,
2396
2396
  emits: ["input", "update:modelValue", "change"],
2397
2397
  setup(__props, { emit }) {
@@ -2486,7 +2486,7 @@
2486
2486
  class: "dk-tiny-editor"
2487
2487
  },
2488
2488
  [
2489
- showDialog.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$$, [
2489
+ showDialog.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$10, [
2490
2490
  vue.createVNode(vue.unref(Editor), {
2491
2491
  ref_key: "editorRef",
2492
2492
  ref: editorRef,
@@ -2570,7 +2570,7 @@
2570
2570
  }
2571
2571
  });
2572
2572
 
2573
- var _TinyEditor = /* @__PURE__ */ _export_sfc(_sfc_main$1j, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\tiny-editor\\src\\tiny-editor.vue"]]);
2573
+ var _TinyEditor = /* @__PURE__ */ _export_sfc(_sfc_main$1k, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\tiny-editor\\src\\tiny-editor.vue"]]);
2574
2574
 
2575
2575
  const TinyEditor = withInstall(_TinyEditor);
2576
2576
 
@@ -2599,11 +2599,11 @@
2599
2599
  }
2600
2600
  };
2601
2601
 
2602
- const __default__$O = vue.defineComponent({
2602
+ const __default__$P = vue.defineComponent({
2603
2603
  name: "DkIcon"
2604
2604
  });
2605
- var _sfc_main$1i = /* @__PURE__ */ vue.defineComponent({
2606
- ...__default__$O,
2605
+ var _sfc_main$1j = /* @__PURE__ */ vue.defineComponent({
2606
+ ...__default__$P,
2607
2607
  props: iconProps,
2608
2608
  setup(__props) {
2609
2609
  const props = __props;
@@ -2669,7 +2669,7 @@
2669
2669
  }
2670
2670
  });
2671
2671
 
2672
- var _Icon = /* @__PURE__ */ _export_sfc(_sfc_main$1i, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\icon\\src\\icon.vue"]]);
2672
+ var _Icon = /* @__PURE__ */ _export_sfc(_sfc_main$1j, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\icon\\src\\icon.vue"]]);
2673
2673
 
2674
2674
  const Icon = withInstall(_Icon);
2675
2675
 
@@ -2685,15 +2685,15 @@
2685
2685
  teleported: { default: true, type: Boolean }
2686
2686
  };
2687
2687
 
2688
- const _hoisted_1$_ = {
2688
+ const _hoisted_1$$ = {
2689
2689
  style: { "display": "flex" },
2690
2690
  class: "dk-color-input"
2691
2691
  };
2692
- const __default__$N = vue.defineComponent({
2692
+ const __default__$O = vue.defineComponent({
2693
2693
  name: "DkColorInput"
2694
2694
  });
2695
- var _sfc_main$1h = /* @__PURE__ */ vue.defineComponent({
2696
- ...__default__$N,
2695
+ var _sfc_main$1i = /* @__PURE__ */ vue.defineComponent({
2696
+ ...__default__$O,
2697
2697
  props: colorInputProps,
2698
2698
  emits: ["input", "update:modelValue", "change"],
2699
2699
  setup(__props, { emit }) {
@@ -2717,7 +2717,7 @@
2717
2717
  return (_ctx, _cache) => {
2718
2718
  const _component_el_color_picker = vue.resolveComponent("el-color-picker");
2719
2719
  const _component_el_input = vue.resolveComponent("el-input");
2720
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$_, [
2720
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$$, [
2721
2721
  vue.createVNode(_component_el_color_picker, {
2722
2722
  modelValue: data.value,
2723
2723
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => data.value = $event),
@@ -2737,7 +2737,7 @@
2737
2737
  }
2738
2738
  });
2739
2739
 
2740
- var _ColorInput = /* @__PURE__ */ _export_sfc(_sfc_main$1h, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\color-input\\src\\color-input.vue"]]);
2740
+ var _ColorInput = /* @__PURE__ */ _export_sfc(_sfc_main$1i, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\color-input\\src\\color-input.vue"]]);
2741
2741
 
2742
2742
  const ColorInput = withInstall(_ColorInput);
2743
2743
 
@@ -2750,7 +2750,7 @@
2750
2750
  }
2751
2751
  };
2752
2752
 
2753
- const _hoisted_1$Z = { class: "hot-area-content" };
2753
+ const _hoisted_1$_ = { class: "hot-area-content" };
2754
2754
  const _hoisted_2$L = { class: "hot-area-draggable" };
2755
2755
  const _hoisted_3$z = {
2756
2756
  class: "hot-item-content",
@@ -2769,11 +2769,11 @@
2769
2769
  /* HOISTED */
2770
2770
  );
2771
2771
  const _hoisted_7$g = { style: { "display": "flex", "justify-content": "space-between", "width": "100%" } };
2772
- const __default__$M = vue.defineComponent({
2772
+ const __default__$N = vue.defineComponent({
2773
2773
  name: "HotAreaContent"
2774
2774
  });
2775
- var _sfc_main$1g = /* @__PURE__ */ vue.defineComponent({
2776
- ...__default__$M,
2775
+ var _sfc_main$1h = /* @__PURE__ */ vue.defineComponent({
2776
+ ...__default__$N,
2777
2777
  props: {
2778
2778
  hotDataValue: {
2779
2779
  default: () => {
@@ -2868,7 +2868,7 @@
2868
2868
  const _component_dk_icon = vue.resolveComponent("dk-icon");
2869
2869
  const _component_el_button = vue.resolveComponent("el-button");
2870
2870
  const _component_el_form = vue.resolveComponent("el-form");
2871
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$Z, [
2871
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$_, [
2872
2872
  vue.createElementVNode("div", _hoisted_2$L, [
2873
2873
  hotData.background ? (vue.openBlock(), vue.createElementBlock(
2874
2874
  "div",
@@ -3010,15 +3010,15 @@
3010
3010
  }
3011
3011
  });
3012
3012
 
3013
- var HotAreaContent = /* @__PURE__ */ _export_sfc(_sfc_main$1g, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\hot-area-input\\src\\component\\hot-area-content.vue"]]);
3013
+ var HotAreaContent = /* @__PURE__ */ _export_sfc(_sfc_main$1h, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\hot-area-input\\src\\component\\hot-area-content.vue"]]);
3014
3014
 
3015
- const _hoisted_1$Y = { class: "dk-hot-area-input" };
3015
+ const _hoisted_1$Z = { class: "dk-hot-area-input" };
3016
3016
  const _hoisted_2$K = { class: "text-center" };
3017
- const __default__$L = vue.defineComponent({
3017
+ const __default__$M = vue.defineComponent({
3018
3018
  name: "DkHotAreaInput"
3019
3019
  });
3020
- var _sfc_main$1f = /* @__PURE__ */ vue.defineComponent({
3021
- ...__default__$L,
3020
+ var _sfc_main$1g = /* @__PURE__ */ vue.defineComponent({
3021
+ ...__default__$M,
3022
3022
  props: hotAreaInputProps,
3023
3023
  setup(__props) {
3024
3024
  const props = __props;
@@ -3027,7 +3027,7 @@
3027
3027
  return (_ctx, _cache) => {
3028
3028
  const _component_el_button = vue.resolveComponent("el-button");
3029
3029
  const _component_dk_dialog = vue.resolveComponent("dk-dialog");
3030
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$Y, [
3030
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$Z, [
3031
3031
  vue.createVNode(_component_el_button, {
3032
3032
  type: "primary",
3033
3033
  onClick: _cache[0] || (_cache[0] = ($event) => dialog.value = true)
@@ -3071,7 +3071,7 @@
3071
3071
  }
3072
3072
  });
3073
3073
 
3074
- var _HotAreaInput = /* @__PURE__ */ _export_sfc(_sfc_main$1f, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\hot-area-input\\src\\hot-area-input.vue"]]);
3074
+ var _HotAreaInput = /* @__PURE__ */ _export_sfc(_sfc_main$1g, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\hot-area-input\\src\\hot-area-input.vue"]]);
3075
3075
 
3076
3076
  const HotAreaInput = withInstall(_HotAreaInput);
3077
3077
 
@@ -3108,13 +3108,13 @@
3108
3108
  }
3109
3109
  };
3110
3110
 
3111
- const _hoisted_1$X = { class: "flex justify-between items-center relative" };
3111
+ const _hoisted_1$Y = { class: "flex justify-between items-center relative" };
3112
3112
  const _hoisted_2$J = { class: "flex justify-between items-center absolute top-[50%] right-0 translate-y-[-50%]" };
3113
- const __default__$K = vue.defineComponent({
3113
+ const __default__$L = vue.defineComponent({
3114
3114
  name: "DkDialog"
3115
3115
  });
3116
- var _sfc_main$1e = /* @__PURE__ */ vue.defineComponent({
3117
- ...__default__$K,
3116
+ var _sfc_main$1f = /* @__PURE__ */ vue.defineComponent({
3117
+ ...__default__$L,
3118
3118
  props: dialogProps,
3119
3119
  setup(__props) {
3120
3120
  const props = __props;
@@ -3179,7 +3179,7 @@
3179
3179
  }), vue.createSlots({
3180
3180
  header: vue.withCtx(({ close }) => [
3181
3181
  vue.renderSlot(_ctx.$slots, "header", {}, () => [
3182
- vue.createElementVNode("div", _hoisted_1$X, [
3182
+ vue.createElementVNode("div", _hoisted_1$Y, [
3183
3183
  vue.createElementVNode(
3184
3184
  "span",
3185
3185
  null,
@@ -3233,7 +3233,7 @@
3233
3233
  }
3234
3234
  });
3235
3235
 
3236
- var _Dialog = /* @__PURE__ */ _export_sfc(_sfc_main$1e, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\dialog\\src\\dialog.vue"]]);
3236
+ var _Dialog = /* @__PURE__ */ _export_sfc(_sfc_main$1f, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\dialog\\src\\dialog.vue"]]);
3237
3237
 
3238
3238
  const Dialog = withInstall(_Dialog);
3239
3239
 
@@ -3333,12 +3333,12 @@
3333
3333
  };
3334
3334
  var _config = config;
3335
3335
 
3336
- const _hoisted_1$W = { key: 1 };
3337
- const __default__$J = vue.defineComponent({
3336
+ const _hoisted_1$X = { key: 1 };
3337
+ const __default__$K = vue.defineComponent({
3338
3338
  name: "DkForm"
3339
3339
  });
3340
- var _sfc_main$1d = /* @__PURE__ */ vue.defineComponent({
3341
- ...__default__$J,
3340
+ var _sfc_main$1e = /* @__PURE__ */ vue.defineComponent({
3341
+ ...__default__$K,
3342
3342
  props: formProps,
3343
3343
  emits: ["submit", "fail", "update:modelValue"],
3344
3344
  setup(__props, { expose: __expose, emit }) {
@@ -3590,7 +3590,7 @@
3590
3590
  ]),
3591
3591
  _: 3
3592
3592
  /* FORWARDED */
3593
- }, 16, ["modelValue", "title", "width", "default-fullscreen", "draggable"])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$W, [
3593
+ }, 16, ["modelValue", "title", "width", "default-fullscreen", "draggable"])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$X, [
3594
3594
  vue.createElementVNode(
3595
3595
  "div",
3596
3596
  {
@@ -3642,11 +3642,11 @@
3642
3642
  }
3643
3643
  });
3644
3644
 
3645
- var _Form = /* @__PURE__ */ _export_sfc(_sfc_main$1d, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\form\\src\\form.vue"]]);
3645
+ var _Form = /* @__PURE__ */ _export_sfc(_sfc_main$1e, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\form\\src\\form.vue"]]);
3646
3646
 
3647
3647
  const Form = withInstall(_Form);
3648
3648
 
3649
- const _hoisted_1$V = {
3649
+ const _hoisted_1$W = {
3650
3650
  xmlns: "http://www.w3.org/2000/svg",
3651
3651
  version: "1.1",
3652
3652
  x: "0px",
@@ -3725,11 +3725,11 @@
3725
3725
  "font-family": "Verdana, Helvetica, Arial, sans-serif",
3726
3726
  "font-size": "124"
3727
3727
  };
3728
- const __default__$I = vue.defineComponent({
3728
+ const __default__$J = vue.defineComponent({
3729
3729
  name: "DkFileIcon"
3730
3730
  });
3731
- var _sfc_main$1c = /* @__PURE__ */ vue.defineComponent({
3732
- ...__default__$I,
3731
+ var _sfc_main$1d = /* @__PURE__ */ vue.defineComponent({
3732
+ ...__default__$J,
3733
3733
  props: {
3734
3734
  type: {
3735
3735
  default: 0,
@@ -3799,7 +3799,7 @@
3799
3799
  return colorList[index];
3800
3800
  };
3801
3801
  return (_ctx, _cache) => {
3802
- return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$V, [
3802
+ return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$W, [
3803
3803
  vue.createElementVNode("g", null, [
3804
3804
  _hoisted_2$I,
3805
3805
  _hoisted_3$y,
@@ -3834,7 +3834,7 @@
3834
3834
  }
3835
3835
  });
3836
3836
 
3837
- var DkFileIcon = /* @__PURE__ */ _export_sfc(_sfc_main$1c, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\attachment\\src\\file-icon.vue"]]);
3837
+ var DkFileIcon = /* @__PURE__ */ _export_sfc(_sfc_main$1d, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\attachment\\src\\file-icon.vue"]]);
3838
3838
 
3839
3839
  const attachmentProps = {
3840
3840
  type: {
@@ -3848,7 +3848,7 @@
3848
3848
  }
3849
3849
  };
3850
3850
 
3851
- const _hoisted_1$U = { class: "dk-attachment attachment" };
3851
+ const _hoisted_1$V = { class: "dk-attachment attachment" };
3852
3852
  const _hoisted_2$H = { class: "attachment-header flex justify-between pt-5px pb-5px" };
3853
3853
  const _hoisted_3$x = { class: "header-form z" };
3854
3854
  const _hoisted_4$m = { class: "header-button y" };
@@ -3899,11 +3899,11 @@
3899
3899
  key: 1,
3900
3900
  style: { "display": "flex", "align-items": "center", "justify-content": "center", "height": "340px" }
3901
3901
  };
3902
- const __default__$H = vue.defineComponent({
3902
+ const __default__$I = vue.defineComponent({
3903
3903
  name: "DkAttachment"
3904
3904
  });
3905
- var _sfc_main$1b = /* @__PURE__ */ vue.defineComponent({
3906
- ...__default__$H,
3905
+ var _sfc_main$1c = /* @__PURE__ */ vue.defineComponent({
3906
+ ...__default__$I,
3907
3907
  props: attachmentProps,
3908
3908
  setup(__props, { expose: __expose }) {
3909
3909
  const props = __props;
@@ -4103,7 +4103,7 @@
4103
4103
  const _component_el_empty = vue.resolveComponent("el-empty");
4104
4104
  const _component_dk_form = vue.resolveComponent("dk-form");
4105
4105
  const _directive_loading = vue.resolveDirective("loading");
4106
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$U, [
4106
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$V, [
4107
4107
  vue.createCommentVNode(" \u9876\u90E8"),
4108
4108
  vue.createElementVNode("div", _hoisted_2$H, [
4109
4109
  vue.createElementVNode("div", _hoisted_3$x, [
@@ -4419,7 +4419,7 @@
4419
4419
  }
4420
4420
  });
4421
4421
 
4422
- var _Attachment = /* @__PURE__ */ _export_sfc(_sfc_main$1b, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\attachment\\src\\attachment.vue"]]);
4422
+ var _Attachment = /* @__PURE__ */ _export_sfc(_sfc_main$1c, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\attachment\\src\\attachment.vue"]]);
4423
4423
 
4424
4424
  const Attachment = withInstall(_Attachment);
4425
4425
 
@@ -4435,12 +4435,12 @@
4435
4435
  }
4436
4436
  };
4437
4437
 
4438
- const _hoisted_1$T = { class: "text-center m2" };
4439
- const __default__$G = vue.defineComponent({
4438
+ const _hoisted_1$U = { class: "text-center m2" };
4439
+ const __default__$H = vue.defineComponent({
4440
4440
  name: "DkAttachmentDialog"
4441
4441
  });
4442
- var _sfc_main$1a = /* @__PURE__ */ vue.defineComponent({
4443
- ...__default__$G,
4442
+ var _sfc_main$1b = /* @__PURE__ */ vue.defineComponent({
4443
+ ...__default__$H,
4444
4444
  props: attachmentDialogProps,
4445
4445
  emits: ["confirm"],
4446
4446
  setup(__props, { expose: __expose, emit }) {
@@ -4489,7 +4489,7 @@
4489
4489
  ref: attachment,
4490
4490
  type: _type.value
4491
4491
  }, null, 8, ["type"]),
4492
- vue.createElementVNode("div", _hoisted_1$T, [
4492
+ vue.createElementVNode("div", _hoisted_1$U, [
4493
4493
  vue.createVNode(_component_el_button, {
4494
4494
  type: "primary",
4495
4495
  size: "default",
@@ -4520,7 +4520,7 @@
4520
4520
  }
4521
4521
  });
4522
4522
 
4523
- var _AttachmentDialog = /* @__PURE__ */ _export_sfc(_sfc_main$1a, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\attachment-dialog\\src\\attachment-dialog.vue"]]);
4523
+ var _AttachmentDialog = /* @__PURE__ */ _export_sfc(_sfc_main$1b, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\attachment-dialog\\src\\attachment-dialog.vue"]]);
4524
4524
 
4525
4525
  const AttachmentDialog = withInstall(_AttachmentDialog);
4526
4526
 
@@ -4539,15 +4539,15 @@
4539
4539
  accept: { type: String, default: "" }
4540
4540
  };
4541
4541
 
4542
- const _hoisted_1$S = { class: "show m-t-5px" };
4542
+ const _hoisted_1$T = { class: "show m-t-5px" };
4543
4543
  const _hoisted_2$G = { class: "image-error" };
4544
4544
  const _hoisted_3$w = { class: "image-slot" };
4545
4545
  const _hoisted_4$l = { class: "no-image" };
4546
- const __default__$F = vue.defineComponent({
4546
+ const __default__$G = vue.defineComponent({
4547
4547
  name: "DkFileInput"
4548
4548
  });
4549
- var _sfc_main$19 = /* @__PURE__ */ vue.defineComponent({
4550
- ...__default__$F,
4549
+ var _sfc_main$1a = /* @__PURE__ */ vue.defineComponent({
4550
+ ...__default__$G,
4551
4551
  props: fileInputProps,
4552
4552
  emits: ["input", "update:modelValue", "change"],
4553
4553
  setup(__props, { emit }) {
@@ -4621,7 +4621,7 @@
4621
4621
  /* STABLE */
4622
4622
  }, 8, ["modelValue", "placeholder"]),
4623
4623
  vue.createCommentVNode("\u9009\u62E9\u7684\u662F\u56FE\u7247"),
4624
- vue.createElementVNode("div", _hoisted_1$S, [
4624
+ vue.createElementVNode("div", _hoisted_1$T, [
4625
4625
  _ctx.type === 1 ? (vue.openBlock(), vue.createBlock(_component_el_image, {
4626
4626
  key: 0,
4627
4627
  src: input.value,
@@ -4767,7 +4767,7 @@
4767
4767
  }
4768
4768
  });
4769
4769
 
4770
- var _FileInput = /* @__PURE__ */ _export_sfc(_sfc_main$19, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\file-input\\src\\file-input.vue"]]);
4770
+ var _FileInput = /* @__PURE__ */ _export_sfc(_sfc_main$1a, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\file-input\\src\\file-input.vue"]]);
4771
4771
 
4772
4772
  const FileInput = withInstall(_FileInput);
4773
4773
 
@@ -4779,11 +4779,11 @@
4779
4779
  accept: { type: String, default: "" }
4780
4780
  };
4781
4781
 
4782
- const __default__$E = vue.defineComponent({
4782
+ const __default__$F = vue.defineComponent({
4783
4783
  name: "DkImageInput"
4784
4784
  });
4785
- var _sfc_main$18 = /* @__PURE__ */ vue.defineComponent({
4786
- ...__default__$E,
4785
+ var _sfc_main$19 = /* @__PURE__ */ vue.defineComponent({
4786
+ ...__default__$F,
4787
4787
  props: imageInputProps,
4788
4788
  emits: ["input", "update:modelValue", "change"],
4789
4789
  setup(__props, { emit }) {
@@ -4819,7 +4819,7 @@
4819
4819
  }
4820
4820
  });
4821
4821
 
4822
- var _ImageInput = /* @__PURE__ */ _export_sfc(_sfc_main$18, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\image-input\\src\\image-input.vue"]]);
4822
+ var _ImageInput = /* @__PURE__ */ _export_sfc(_sfc_main$19, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\image-input\\src\\image-input.vue"]]);
4823
4823
 
4824
4824
  const ImageInput = withInstall(_ImageInput);
4825
4825
 
@@ -4831,11 +4831,11 @@
4831
4831
  accept: { type: String, default: "" }
4832
4832
  };
4833
4833
 
4834
- const __default__$D = vue.defineComponent({
4834
+ const __default__$E = vue.defineComponent({
4835
4835
  name: "DkAudioInput"
4836
4836
  });
4837
- var _sfc_main$17 = /* @__PURE__ */ vue.defineComponent({
4838
- ...__default__$D,
4837
+ var _sfc_main$18 = /* @__PURE__ */ vue.defineComponent({
4838
+ ...__default__$E,
4839
4839
  props: audioInputProps,
4840
4840
  emits: ["input", "update:modelValue", "change"],
4841
4841
  setup(__props, { emit }) {
@@ -4871,7 +4871,7 @@
4871
4871
  }
4872
4872
  });
4873
4873
 
4874
- var _AudioInput = /* @__PURE__ */ _export_sfc(_sfc_main$17, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\audio-input\\src\\audio-input.vue"]]);
4874
+ var _AudioInput = /* @__PURE__ */ _export_sfc(_sfc_main$18, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\audio-input\\src\\audio-input.vue"]]);
4875
4875
 
4876
4876
  const AudioInput = withInstall(_AudioInput);
4877
4877
 
@@ -4883,11 +4883,11 @@
4883
4883
  accept: { type: String, default: "" }
4884
4884
  };
4885
4885
 
4886
- const __default__$C = vue.defineComponent({
4886
+ const __default__$D = vue.defineComponent({
4887
4887
  name: "DkVideoInput"
4888
4888
  });
4889
- var _sfc_main$16 = /* @__PURE__ */ vue.defineComponent({
4890
- ...__default__$C,
4889
+ var _sfc_main$17 = /* @__PURE__ */ vue.defineComponent({
4890
+ ...__default__$D,
4891
4891
  props: videoInputProps,
4892
4892
  emits: ["input", "update:modelValue", "change"],
4893
4893
  setup(__props, { emit }) {
@@ -4923,7 +4923,7 @@
4923
4923
  }
4924
4924
  });
4925
4925
 
4926
- var _VideoInput = /* @__PURE__ */ _export_sfc(_sfc_main$16, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\video-input\\src\\video-input.vue"]]);
4926
+ var _VideoInput = /* @__PURE__ */ _export_sfc(_sfc_main$17, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\video-input\\src\\video-input.vue"]]);
4927
4927
 
4928
4928
  const VideoInput = withInstall(_VideoInput);
4929
4929
 
@@ -4936,14 +4936,14 @@
4936
4936
  accept: { default: "", type: String }
4937
4937
  };
4938
4938
 
4939
- const _hoisted_1$R = { class: "dk-image-list" };
4939
+ const _hoisted_1$S = { class: "dk-image-list" };
4940
4940
  const _hoisted_2$F = ["onClick"];
4941
4941
  const _hoisted_3$v = { key: 0 };
4942
- const __default__$B = vue.defineComponent({
4942
+ const __default__$C = vue.defineComponent({
4943
4943
  name: "DkFileListInput"
4944
4944
  });
4945
- var _sfc_main$15 = /* @__PURE__ */ vue.defineComponent({
4946
- ...__default__$B,
4945
+ var _sfc_main$16 = /* @__PURE__ */ vue.defineComponent({
4946
+ ...__default__$C,
4947
4947
  props: fileListInputProps,
4948
4948
  emits: ["input", "update:modelValue", "change"],
4949
4949
  setup(__props, { emit }) {
@@ -5001,7 +5001,7 @@
5001
5001
  class: vue.normalizeClass(vue.unref(bem)())
5002
5002
  },
5003
5003
  [
5004
- vue.createElementVNode("div", _hoisted_1$R, [
5004
+ vue.createElementVNode("div", _hoisted_1$S, [
5005
5005
  vue.createElementVNode("ul", null, [
5006
5006
  (vue.openBlock(true), vue.createElementBlock(
5007
5007
  vue.Fragment,
@@ -5085,7 +5085,7 @@
5085
5085
  }
5086
5086
  });
5087
5087
 
5088
- var _FileListInput = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\file-list-input\\src\\file-list-input.vue"]]);
5088
+ var _FileListInput = /* @__PURE__ */ _export_sfc(_sfc_main$16, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\file-list-input\\src\\file-list-input.vue"]]);
5089
5089
 
5090
5090
  const FileListInput = withInstall(_FileListInput);
5091
5091
 
@@ -5097,11 +5097,11 @@
5097
5097
  accept: { default: "", type: String }
5098
5098
  };
5099
5099
 
5100
- const __default__$A = vue.defineComponent({
5100
+ const __default__$B = vue.defineComponent({
5101
5101
  name: "DkImageListInput"
5102
5102
  });
5103
- var _sfc_main$14 = /* @__PURE__ */ vue.defineComponent({
5104
- ...__default__$A,
5103
+ var _sfc_main$15 = /* @__PURE__ */ vue.defineComponent({
5104
+ ...__default__$B,
5105
5105
  props: imageListInputProps,
5106
5106
  emits: ["input", "update:modelValue", "change"],
5107
5107
  setup(__props, { emit }) {
@@ -5138,7 +5138,7 @@
5138
5138
  }
5139
5139
  });
5140
5140
 
5141
- var _ImageListInput = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\image-list-input\\src\\image-list-input.vue"]]);
5141
+ var _ImageListInput = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\image-list-input\\src\\image-list-input.vue"]]);
5142
5142
 
5143
5143
  const ImageListInput = withInstall(_ImageListInput);
5144
5144
 
@@ -5150,11 +5150,11 @@
5150
5150
  accept: { default: "", type: String }
5151
5151
  };
5152
5152
 
5153
- const __default__$z = vue.defineComponent({
5153
+ const __default__$A = vue.defineComponent({
5154
5154
  name: "DkAudioListInput"
5155
5155
  });
5156
- var _sfc_main$13 = /* @__PURE__ */ vue.defineComponent({
5157
- ...__default__$z,
5156
+ var _sfc_main$14 = /* @__PURE__ */ vue.defineComponent({
5157
+ ...__default__$A,
5158
5158
  props: audioListInputProps,
5159
5159
  emits: ["input", "update:modelValue", "change"],
5160
5160
  setup(__props, { emit }) {
@@ -5191,7 +5191,7 @@
5191
5191
  }
5192
5192
  });
5193
5193
 
5194
- var _AudioListInput = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\audio-list-input\\src\\audio-list-input.vue"]]);
5194
+ var _AudioListInput = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\audio-list-input\\src\\audio-list-input.vue"]]);
5195
5195
 
5196
5196
  const AudioListInput = withInstall(_AudioListInput);
5197
5197
 
@@ -5203,11 +5203,11 @@
5203
5203
  accept: { default: "", type: String }
5204
5204
  };
5205
5205
 
5206
- const __default__$y = vue.defineComponent({
5206
+ const __default__$z = vue.defineComponent({
5207
5207
  name: "DkVideoListInput"
5208
5208
  });
5209
- var _sfc_main$12 = /* @__PURE__ */ vue.defineComponent({
5210
- ...__default__$y,
5209
+ var _sfc_main$13 = /* @__PURE__ */ vue.defineComponent({
5210
+ ...__default__$z,
5211
5211
  props: videoListInputProps,
5212
5212
  emits: ["input", "update:modelValue", "change"],
5213
5213
  setup(__props, { emit }) {
@@ -5244,7 +5244,7 @@
5244
5244
  }
5245
5245
  });
5246
5246
 
5247
- var _VideoListInput = /* @__PURE__ */ _export_sfc(_sfc_main$12, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\video-list-input\\src\\video-list-input.vue"]]);
5247
+ var _VideoListInput = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\video-list-input\\src\\video-list-input.vue"]]);
5248
5248
 
5249
5249
  const VideoListInput = withInstall(_VideoListInput);
5250
5250
 
@@ -5304,18 +5304,18 @@
5304
5304
  });
5305
5305
  }
5306
5306
 
5307
- const _hoisted_1$Q = { class: "dk-icon-content" };
5307
+ const _hoisted_1$R = { class: "dk-icon-content" };
5308
5308
  const _hoisted_2$E = {
5309
5309
  key: 0,
5310
5310
  class: "text-center",
5311
5311
  style: { "font-size": "12px", "color": "#999" }
5312
5312
  };
5313
5313
  const _hoisted_3$u = { class: "search-icon" };
5314
- const __default__$x = vue.defineComponent({
5314
+ const __default__$y = vue.defineComponent({
5315
5315
  name: "DkIconContent"
5316
5316
  });
5317
- var _sfc_main$11 = /* @__PURE__ */ vue.defineComponent({
5318
- ...__default__$x,
5317
+ var _sfc_main$12 = /* @__PURE__ */ vue.defineComponent({
5318
+ ...__default__$y,
5319
5319
  props: iconContentProps,
5320
5320
  emits: ["choose"],
5321
5321
  setup(__props, { expose: __expose, emit }) {
@@ -5413,7 +5413,7 @@
5413
5413
  const _component_el_tabs = vue.resolveComponent("el-tabs");
5414
5414
  const _component_el_button = vue.resolveComponent("el-button");
5415
5415
  const _component_el_input = vue.resolveComponent("el-input");
5416
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$Q, [
5416
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$R, [
5417
5417
  vue.createVNode(_component_el_tabs, {
5418
5418
  modelValue: activeName.value,
5419
5419
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => activeName.value = $event)
@@ -5547,14 +5547,14 @@
5547
5547
  }
5548
5548
  });
5549
5549
 
5550
- var _IconContent = /* @__PURE__ */ _export_sfc(_sfc_main$11, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\icon-input\\src\\icon-content.vue"]]);
5550
+ var _IconContent = /* @__PURE__ */ _export_sfc(_sfc_main$12, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\icon-input\\src\\icon-content.vue"]]);
5551
5551
 
5552
- const _hoisted_1$P = { class: "text-center m2" };
5553
- const __default__$w = vue.defineComponent({
5552
+ const _hoisted_1$Q = { class: "text-center m2" };
5553
+ const __default__$x = vue.defineComponent({
5554
5554
  name: "DkIconDialog"
5555
5555
  });
5556
- var _sfc_main$10 = /* @__PURE__ */ vue.defineComponent({
5557
- ...__default__$w,
5556
+ var _sfc_main$11 = /* @__PURE__ */ vue.defineComponent({
5557
+ ...__default__$x,
5558
5558
  props: iconDialogProps,
5559
5559
  emits: ["choose", "confirm"],
5560
5560
  setup(__props, { expose: __expose, emit }) {
@@ -5588,7 +5588,7 @@
5588
5588
  class: "dk-icon-dialog"
5589
5589
  }, {
5590
5590
  footer: vue.withCtx(() => [
5591
- vue.createElementVNode("div", _hoisted_1$P, [
5591
+ vue.createElementVNode("div", _hoisted_1$Q, [
5592
5592
  vue.createVNode(_component_el_button, {
5593
5593
  type: "primary",
5594
5594
  onClick: confirm
@@ -5627,17 +5627,17 @@
5627
5627
  }
5628
5628
  });
5629
5629
 
5630
- var _IconDialog = /* @__PURE__ */ _export_sfc(_sfc_main$10, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\icon-input\\src\\icon-dialog.vue"]]);
5630
+ var _IconDialog = /* @__PURE__ */ _export_sfc(_sfc_main$11, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\icon-input\\src\\icon-dialog.vue"]]);
5631
5631
 
5632
- const _hoisted_1$O = {
5632
+ const _hoisted_1$P = {
5633
5633
  key: 0,
5634
5634
  class: "show m-t-5px"
5635
5635
  };
5636
- const __default__$v = vue.defineComponent({
5636
+ const __default__$w = vue.defineComponent({
5637
5637
  name: "DkIconInput"
5638
5638
  });
5639
- var _sfc_main$$ = /* @__PURE__ */ vue.defineComponent({
5640
- ...__default__$v,
5639
+ var _sfc_main$10 = /* @__PURE__ */ vue.defineComponent({
5640
+ ...__default__$w,
5641
5641
  props: iconInputProps,
5642
5642
  emits: ["input", "update:modelValue", "change"],
5643
5643
  setup(__props, { emit }) {
@@ -5705,7 +5705,7 @@
5705
5705
  /* STABLE */
5706
5706
  }, 8, ["modelValue", "placeholder"]),
5707
5707
  vue.createCommentVNode("\u9009\u62E9\u7684\u662F\u56FE\u7247"),
5708
- props.preview ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$O, [
5708
+ props.preview ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$P, [
5709
5709
  vue.createVNode(_component_dk_icon, {
5710
5710
  icon: input.value ? input.value : "fluent:document-none-24-regular",
5711
5711
  class: "icon rd-4px cursor-pointer",
@@ -5744,7 +5744,7 @@
5744
5744
  }
5745
5745
  });
5746
5746
 
5747
- var _IconInput = /* @__PURE__ */ _export_sfc(_sfc_main$$, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\icon-input\\src\\icon-input.vue"]]);
5747
+ var _IconInput = /* @__PURE__ */ _export_sfc(_sfc_main$10, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\icon-input\\src\\icon-input.vue"]]);
5748
5748
 
5749
5749
  const IconInput = withInstall(_IconInput);
5750
5750
  const IconContent = withInstall(_IconContent);
@@ -5813,6 +5813,13 @@
5813
5813
  props: {},
5814
5814
  value: {},
5815
5815
  params: ["boxShadow"]
5816
+ },
5817
+ {
5818
+ name: "DkStyleCustomInput",
5819
+ title: "\u81EA\u5B9A\u4E49",
5820
+ props: {},
5821
+ value: {},
5822
+ params: []
5816
5823
  }
5817
5824
  // {
5818
5825
  // name: 'DkStylePositionInput',
@@ -5868,17 +5875,17 @@
5868
5875
  }
5869
5876
  };
5870
5877
 
5871
- const _hoisted_1$N = { class: "dk-style-input" };
5878
+ const _hoisted_1$O = { class: "dk-style-input" };
5872
5879
  const _hoisted_2$D = {
5873
5880
  key: 0,
5874
5881
  class: "p-5px"
5875
5882
  };
5876
5883
  const _hoisted_3$t = { key: 1 };
5877
- const __default__$u = vue.defineComponent({
5884
+ const __default__$v = vue.defineComponent({
5878
5885
  name: "DkStyleInput"
5879
5886
  });
5880
- var _sfc_main$_ = /* @__PURE__ */ vue.defineComponent({
5881
- ...__default__$u,
5887
+ var _sfc_main$$ = /* @__PURE__ */ vue.defineComponent({
5888
+ ...__default__$v,
5882
5889
  props: styleInputProps,
5883
5890
  emits: ["update:modelValue"],
5884
5891
  setup(__props, { emit }) {
@@ -5898,21 +5905,33 @@
5898
5905
  };
5899
5906
  const _components = vue.ref([]);
5900
5907
  const init = () => {
5908
+ const usedParams = /* @__PURE__ */ new Set();
5901
5909
  _components.value = props.components.filter((item) => {
5902
5910
  return !props.hideComponents.includes(item.name);
5903
5911
  });
5904
5912
  const obj = {};
5905
5913
  _components.value.forEach((item) => {
5906
- const params = item.params;
5907
- const paramsObj = {};
5908
- Object.keys(params).forEach((key) => {
5909
- const param = params[key];
5910
- if (props.modelValue[param]) {
5911
- paramsObj[param] = props.modelValue[param];
5914
+ if (item.name !== "DkStyleCustomInput") {
5915
+ const paramsObj = {};
5916
+ item.params.forEach((param) => {
5917
+ if (props.modelValue[param] !== void 0) {
5918
+ paramsObj[param] = props.modelValue[param];
5919
+ usedParams.add(param);
5920
+ }
5921
+ });
5922
+ obj[item.name] = paramsObj;
5923
+ }
5924
+ });
5925
+ const customComponent = _components.value.find((item) => item.name === "DkStyleCustomInput");
5926
+ if (customComponent) {
5927
+ const customParamsObj = {};
5928
+ Object.keys(props.modelValue).forEach((key) => {
5929
+ if (!usedParams.has(key)) {
5930
+ customParamsObj[key] = props.modelValue[key];
5912
5931
  }
5913
5932
  });
5914
- obj[item.name] = paramsObj;
5915
- });
5933
+ obj[customComponent.name] = customParamsObj;
5934
+ }
5916
5935
  values.value = obj;
5917
5936
  loading.value = false;
5918
5937
  };
@@ -5933,7 +5952,7 @@
5933
5952
  const _component_el_collapse = vue.resolveComponent("el-collapse");
5934
5953
  const _component_el_button = vue.resolveComponent("el-button");
5935
5954
  const _component_el_drawer = vue.resolveComponent("el-drawer");
5936
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$N, [
5955
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$O, [
5937
5956
  !loading.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$D, [
5938
5957
  !props.isDrawer ? (vue.openBlock(), vue.createBlock(_component_el_collapse, {
5939
5958
  key: 0,
@@ -6047,7 +6066,7 @@
6047
6066
  }
6048
6067
  });
6049
6068
 
6050
- var _StyleInput = /* @__PURE__ */ _export_sfc(_sfc_main$_, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\style-input\\src\\style-input.vue"]]);
6069
+ var _StyleInput = /* @__PURE__ */ _export_sfc(_sfc_main$$, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\style-input\\src\\style-input.vue"]]);
6051
6070
 
6052
6071
  const StyleInput = withInstall(_StyleInput);
6053
6072
 
@@ -6087,13 +6106,13 @@
6087
6106
  }
6088
6107
  };
6089
6108
 
6090
- const _hoisted_1$M = ["onMousedown"];
6109
+ const _hoisted_1$N = ["onMousedown"];
6091
6110
  const _hoisted_2$C = { style: { "display": "flex" } };
6092
- const __default__$t = vue.defineComponent({
6111
+ const __default__$u = vue.defineComponent({
6093
6112
  name: "DkBoxSizeInput"
6094
6113
  });
6095
- var _sfc_main$Z = /* @__PURE__ */ vue.defineComponent({
6096
- ...__default__$t,
6114
+ var _sfc_main$_ = /* @__PURE__ */ vue.defineComponent({
6115
+ ...__default__$u,
6097
6116
  props: boxSizeInputProps,
6098
6117
  emits: ["update:modelValue"],
6099
6118
  setup(__props, { emit }) {
@@ -6326,7 +6345,7 @@
6326
6345
  _: 2
6327
6346
  /* DYNAMIC */
6328
6347
  }, 1032, ["content", "disabled"])
6329
- ], 40, _hoisted_1$M)
6348
+ ], 40, _hoisted_1$N)
6330
6349
  ]),
6331
6350
  key: "0"
6332
6351
  } : void 0
@@ -6428,7 +6447,7 @@
6428
6447
  }
6429
6448
  });
6430
6449
 
6431
- var _BoxSizeInput = /* @__PURE__ */ _export_sfc(_sfc_main$Z, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\box-size-input\\src\\box-size-input.vue"]]);
6450
+ var _BoxSizeInput = /* @__PURE__ */ _export_sfc(_sfc_main$_, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\box-size-input\\src\\box-size-input.vue"]]);
6432
6451
 
6433
6452
  const BoxSizeInput = withInstall(_BoxSizeInput);
6434
6453
 
@@ -6556,7 +6575,7 @@
6556
6575
  }
6557
6576
  ];
6558
6577
 
6559
- const _hoisted_1$L = { class: "dk-style-box-input" };
6578
+ const _hoisted_1$M = { class: "dk-style-box-input" };
6560
6579
  const _hoisted_2$B = { class: "header" };
6561
6580
  const _hoisted_3$s = { class: "flex items-center justify-between" };
6562
6581
  const _hoisted_4$k = { class: "items-center" };
@@ -6606,11 +6625,11 @@
6606
6625
  key: 0,
6607
6626
  class: "flex items-center justify-between"
6608
6627
  };
6609
- const __default__$s = vue.defineComponent({
6628
+ const __default__$t = vue.defineComponent({
6610
6629
  name: "DkStyleBoxInput"
6611
6630
  });
6612
- var _sfc_main$Y = /* @__PURE__ */ vue.defineComponent({
6613
- ...__default__$s,
6631
+ var _sfc_main$Z = /* @__PURE__ */ vue.defineComponent({
6632
+ ...__default__$t,
6614
6633
  props: styleBoxInputProps,
6615
6634
  emits: ["update:modelValue", "change"],
6616
6635
  setup(__props, { emit }) {
@@ -6886,7 +6905,7 @@
6886
6905
  const _component_el_switch = vue.resolveComponent("el-switch");
6887
6906
  const _component_el_tooltip = vue.resolveComponent("el-tooltip");
6888
6907
  const _component_el_input = vue.resolveComponent("el-input");
6889
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$L, [
6908
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$M, [
6890
6909
  vue.createElementVNode(
6891
6910
  "div",
6892
6911
  {
@@ -7297,7 +7316,7 @@
7297
7316
  }
7298
7317
  });
7299
7318
 
7300
- var _StyleBoxInput = /* @__PURE__ */ _export_sfc(_sfc_main$Y, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\style-box-input\\src\\style-box-input.vue"]]);
7319
+ var _StyleBoxInput = /* @__PURE__ */ _export_sfc(_sfc_main$Z, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\style-box-input\\src\\style-box-input.vue"]]);
7301
7320
 
7302
7321
  const StyleBoxInput = withInstall(_StyleBoxInput);
7303
7322
 
@@ -7308,7 +7327,7 @@
7308
7327
  }
7309
7328
  };
7310
7329
 
7311
- const _hoisted_1$K = { class: "dk-style-font-input" };
7330
+ const _hoisted_1$L = { class: "dk-style-font-input" };
7312
7331
  const _hoisted_2$A = { style: { "display": "flex", "flex-flow": "wrap", "align-items": "center" } };
7313
7332
  const _hoisted_3$r = { class: "m-b-5px" };
7314
7333
  const _hoisted_4$j = {
@@ -7321,11 +7340,11 @@
7321
7340
  };
7322
7341
  const _hoisted_6$c = { class: "m-r-5px m-b-5px" };
7323
7342
  const _hoisted_7$c = { class: "m-b-5px" };
7324
- const __default__$r = vue.defineComponent({
7343
+ const __default__$s = vue.defineComponent({
7325
7344
  name: "DkStyleFontInput"
7326
7345
  });
7327
- var _sfc_main$X = /* @__PURE__ */ vue.defineComponent({
7328
- ...__default__$r,
7346
+ var _sfc_main$Y = /* @__PURE__ */ vue.defineComponent({
7347
+ ...__default__$s,
7329
7348
  props: styleFontInputProps,
7330
7349
  emits: ["update:modelValue", "change"],
7331
7350
  setup(__props, { emit }) {
@@ -7391,7 +7410,7 @@
7391
7410
  const _component_el_select = vue.resolveComponent("el-select");
7392
7411
  const _component_dk_icon = vue.resolveComponent("dk-icon");
7393
7412
  const _component_el_button_group = vue.resolveComponent("el-button-group");
7394
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$K, [
7413
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$L, [
7395
7414
  vue.createCommentVNode(" \u989C\u8272\u3001\u5B57\u53F7\u3001\u7C97\u7EC6\u3001\u98CE\u683C\u3001\u88C5\u9970"),
7396
7415
  vue.createElementVNode("div", _hoisted_2$A, [
7397
7416
  vue.createVNode(_component_el_tooltip, {
@@ -7572,7 +7591,7 @@
7572
7591
  }
7573
7592
  });
7574
7593
 
7575
- var _StyleFontInput = /* @__PURE__ */ _export_sfc(_sfc_main$X, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\style-font-input\\src\\style-font-input.vue"]]);
7594
+ var _StyleFontInput = /* @__PURE__ */ _export_sfc(_sfc_main$Y, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\style-font-input\\src\\style-font-input.vue"]]);
7576
7595
 
7577
7596
  const StyleFontInput = withInstall(_StyleFontInput);
7578
7597
 
@@ -7584,17 +7603,17 @@
7584
7603
  }
7585
7604
  };
7586
7605
 
7587
- const _hoisted_1$J = { class: "border-box" };
7606
+ const _hoisted_1$K = { class: "border-box" };
7588
7607
  const _hoisted_2$z = {
7589
7608
  style: { "width": "100%" },
7590
7609
  class: "m-l-20px"
7591
7610
  };
7592
7611
  const _hoisted_3$q = { style: { "display": "flex", "width": "100%" } };
7593
- const __default__$q = vue.defineComponent({
7612
+ const __default__$r = vue.defineComponent({
7594
7613
  name: "DkStyleBorderInput"
7595
7614
  });
7596
- var _sfc_main$W = /* @__PURE__ */ vue.defineComponent({
7597
- ...__default__$q,
7615
+ var _sfc_main$X = /* @__PURE__ */ vue.defineComponent({
7616
+ ...__default__$r,
7598
7617
  props: styleBorderInputProps,
7599
7618
  emits: ["update:modelValue", "change"],
7600
7619
  setup(__props, { emit }) {
@@ -7771,7 +7790,7 @@
7771
7790
  class: vue.normalizeClass(["dk-style-border-input", vue.unref(width) < 400 ? "mini" : ""])
7772
7791
  },
7773
7792
  [
7774
- vue.createElementVNode("div", _hoisted_1$J, [
7793
+ vue.createElementVNode("div", _hoisted_1$K, [
7775
7794
  (vue.openBlock(), vue.createElementBlock(
7776
7795
  vue.Fragment,
7777
7796
  null,
@@ -8049,7 +8068,7 @@
8049
8068
  }
8050
8069
  });
8051
8070
 
8052
- var _StyleBorderInput = /* @__PURE__ */ _export_sfc(_sfc_main$W, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\style-border-input\\src\\style-border-input.vue"]]);
8071
+ var _StyleBorderInput = /* @__PURE__ */ _export_sfc(_sfc_main$X, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\style-border-input\\src\\style-border-input.vue"]]);
8053
8072
 
8054
8073
  const StyleBorderInput = withInstall(_StyleBorderInput);
8055
8074
 
@@ -8063,12 +8082,12 @@
8063
8082
  }
8064
8083
  };
8065
8084
 
8066
- const _hoisted_1$I = { class: "dk-style-background-input" };
8067
- const __default__$p = vue.defineComponent({
8085
+ const _hoisted_1$J = { class: "dk-style-background-input" };
8086
+ const __default__$q = vue.defineComponent({
8068
8087
  name: "DkStyleBackgroundInput"
8069
8088
  });
8070
- var _sfc_main$V = /* @__PURE__ */ vue.defineComponent({
8071
- ...__default__$p,
8089
+ var _sfc_main$W = /* @__PURE__ */ vue.defineComponent({
8090
+ ...__default__$q,
8072
8091
  props: styleBackgroundInputProps,
8073
8092
  emits: ["update:modelValue", "change"],
8074
8093
  setup(__props, { emit }) {
@@ -8115,7 +8134,7 @@
8115
8134
  return (_ctx, _cache) => {
8116
8135
  const _component_el_color_picker = vue.resolveComponent("el-color-picker");
8117
8136
  const _component_dk_image_input = vue.resolveComponent("dk-image-input");
8118
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$I, [
8137
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$J, [
8119
8138
  vue.createVNode(_component_el_color_picker, {
8120
8139
  modelValue: form.backgroundColor,
8121
8140
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => form.backgroundColor = $event),
@@ -8130,7 +8149,7 @@
8130
8149
  }
8131
8150
  });
8132
8151
 
8133
- var _StyleBackgroundInput = /* @__PURE__ */ _export_sfc(_sfc_main$V, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\style-background-input\\src\\style-background-input.vue"]]);
8152
+ var _StyleBackgroundInput = /* @__PURE__ */ _export_sfc(_sfc_main$W, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\style-background-input\\src\\style-background-input.vue"]]);
8134
8153
 
8135
8154
  const StyleBackgroundInput = withInstall(_StyleBackgroundInput);
8136
8155
 
@@ -8146,16 +8165,16 @@
8146
8165
  }
8147
8166
  };
8148
8167
 
8149
- const _hoisted_1$H = { class: "dk-style-shadow-input" };
8168
+ const _hoisted_1$I = { class: "dk-style-shadow-input" };
8150
8169
  const _hoisted_2$y = {
8151
8170
  key: 1,
8152
8171
  class: "shadow-list"
8153
8172
  };
8154
- const __default__$o = vue.defineComponent({
8173
+ const __default__$p = vue.defineComponent({
8155
8174
  name: "DkStyleShadowInput"
8156
8175
  });
8157
- var _sfc_main$U = /* @__PURE__ */ vue.defineComponent({
8158
- ...__default__$o,
8176
+ var _sfc_main$V = /* @__PURE__ */ vue.defineComponent({
8177
+ ...__default__$p,
8159
8178
  props: shadowInputProps,
8160
8179
  emits: ["update:modelValue", "change"],
8161
8180
  setup(__props, { emit }) {
@@ -8199,7 +8218,7 @@
8199
8218
  const _component_el_popover = vue.resolveComponent("el-popover");
8200
8219
  const _component_el_input = vue.resolveComponent("el-input");
8201
8220
  const _component_dk_icon = vue.resolveComponent("dk-icon");
8202
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$H, [
8221
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$I, [
8203
8222
  _ctx.type === "collapse" ? (vue.openBlock(), vue.createBlock(_component_el_collapse, {
8204
8223
  key: 0,
8205
8224
  modelValue: activeName.value,
@@ -8305,9 +8324,9 @@
8305
8324
  }
8306
8325
  });
8307
8326
 
8308
- var _StyleShadowInput = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\style-shadow-input\\src\\style-shadow-input.vue"]]);
8327
+ var _StyleShadowInput = /* @__PURE__ */ _export_sfc(_sfc_main$V, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\style-shadow-input\\src\\style-shadow-input.vue"]]);
8309
8328
 
8310
- const _hoisted_1$G = { class: "flex" };
8329
+ const _hoisted_1$H = { class: "flex" };
8311
8330
  const _hoisted_2$x = { class: "flex" };
8312
8331
  const _hoisted_3$p = { class: "flex" };
8313
8332
  const _hoisted_4$i = { class: "flex" };
@@ -8330,11 +8349,11 @@
8330
8349
  const _hoisted_9$7 = [
8331
8350
  _hoisted_8$8
8332
8351
  ];
8333
- const __default__$n = vue.defineComponent({
8352
+ const __default__$o = vue.defineComponent({
8334
8353
  name: "DkStyleShadowContent"
8335
8354
  });
8336
- var _sfc_main$T = /* @__PURE__ */ vue.defineComponent({
8337
- ...__default__$n,
8355
+ var _sfc_main$U = /* @__PURE__ */ vue.defineComponent({
8356
+ ...__default__$o,
8338
8357
  props: {
8339
8358
  boxSize: {
8340
8359
  default: 180,
@@ -8525,7 +8544,7 @@
8525
8544
  }),
8526
8545
  vue.createVNode(_component_el_form_item, { label: "x\u8F74" }, {
8527
8546
  default: vue.withCtx(() => [
8528
- vue.createElementVNode("div", _hoisted_1$G, [
8547
+ vue.createElementVNode("div", _hoisted_1$H, [
8529
8548
  vue.createVNode(_component_el_input, {
8530
8549
  modelValue: form.x,
8531
8550
  "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => form.x = $event),
@@ -8775,7 +8794,7 @@
8775
8794
  }
8776
8795
  });
8777
8796
 
8778
- var _StyleShadowContent = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\style-shadow-input\\src\\style-shadow-content.vue"]]);
8797
+ var _StyleShadowContent = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\style-shadow-input\\src\\style-shadow-content.vue"]]);
8779
8798
 
8780
8799
  const StyleShadowInput = withInstall(_StyleShadowInput);
8781
8800
  const StyleShadowContent = withInstall(_StyleShadowContent);
@@ -8789,13 +8808,13 @@
8789
8808
  }
8790
8809
  };
8791
8810
 
8792
- const _hoisted_1$F = { class: "m-t-10px" };
8811
+ const _hoisted_1$G = { class: "m-t-10px" };
8793
8812
  const _hoisted_2$w = ["onClick"];
8794
- const __default__$m = vue.defineComponent({
8813
+ const __default__$n = vue.defineComponent({
8795
8814
  name: "DkStylePositionInput"
8796
8815
  });
8797
- var _sfc_main$S = /* @__PURE__ */ vue.defineComponent({
8798
- ...__default__$m,
8816
+ var _sfc_main$T = /* @__PURE__ */ vue.defineComponent({
8817
+ ...__default__$n,
8799
8818
  props: stylePositionInputProps,
8800
8819
  emits: ["update:modelValue"],
8801
8820
  setup(__props, { emit }) {
@@ -8943,7 +8962,7 @@
8943
8962
  /* STABLE */
8944
8963
  })
8945
8964
  ]),
8946
- vue.createElementVNode("div", _hoisted_1$F, [
8965
+ vue.createElementVNode("div", _hoisted_1$G, [
8947
8966
  vue.createVNode(_component_el_row, { gutter: 20 }, {
8948
8967
  default: vue.withCtx(() => [
8949
8968
  (vue.openBlock(), vue.createElementBlock(
@@ -9011,7 +9030,7 @@
9011
9030
  }
9012
9031
  });
9013
9032
 
9014
- var _StylePositionInput = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\style-position-input\\src\\style-position-input.vue"]]);
9033
+ var _StylePositionInput = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\style-position-input\\src\\style-position-input.vue"]]);
9015
9034
 
9016
9035
  const StylePositionInput = withInstall(_StylePositionInput);
9017
9036
 
@@ -9049,11 +9068,11 @@
9049
9068
  }
9050
9069
  };
9051
9070
 
9052
- const __default__$l = vue.defineComponent({
9071
+ const __default__$m = vue.defineComponent({
9053
9072
  name: "DkStyleNumberInput"
9054
9073
  });
9055
- var _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
9056
- ...__default__$l,
9074
+ var _sfc_main$S = /* @__PURE__ */ vue.defineComponent({
9075
+ ...__default__$m,
9057
9076
  props: styleNumberInputProps,
9058
9077
  emits: ["input", "update:modelValue"],
9059
9078
  setup(__props, { emit }) {
@@ -9213,10 +9232,154 @@
9213
9232
  }
9214
9233
  });
9215
9234
 
9216
- var _StyleNumberInput = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\style-number-input\\src\\style-number-input.vue"]]);
9235
+ var _StyleNumberInput = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\style-number-input\\src\\style-number-input.vue"]]);
9217
9236
 
9218
9237
  const StyleNumberInput = withInstall(_StyleNumberInput);
9219
9238
 
9239
+ const styleCustomInputProps = {
9240
+ modelValue: {
9241
+ type: Object,
9242
+ default: () => ({})
9243
+ }
9244
+ };
9245
+
9246
+ const _hoisted_1$F = { style: {} };
9247
+ const __default__$l = vue.defineComponent({
9248
+ name: "DkStyleCustomInput"
9249
+ });
9250
+ var _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
9251
+ ...__default__$l,
9252
+ props: styleCustomInputProps,
9253
+ emits: ["update:modelValue", "change"],
9254
+ setup(__props, { emit }) {
9255
+ const props = __props;
9256
+ const column = [
9257
+ { label: "\u952E\u540D", key: "label" },
9258
+ { label: "\u503C", key: "value" }
9259
+ ];
9260
+ const tidyModelValue = () => {
9261
+ return Object.keys(props.modelValue || {}).map((label) => {
9262
+ return { label, value: props.modelValue[label] };
9263
+ });
9264
+ };
9265
+ const styles = vue.reactive(tidyModelValue());
9266
+ const onInput = (item) => {
9267
+ const flag = column.every((v) => {
9268
+ return item[v.key] !== void 0 && item[v.key] !== "" && item[v.key] !== null;
9269
+ });
9270
+ console.log("f", flag);
9271
+ if (flag) {
9272
+ input();
9273
+ }
9274
+ };
9275
+ const tidyValue = () => {
9276
+ const obj = {};
9277
+ styles.forEach((v) => {
9278
+ if (v.label && v.value) {
9279
+ obj[v.label] = v.value;
9280
+ }
9281
+ });
9282
+ return obj;
9283
+ };
9284
+ const input = () => {
9285
+ const value = tidyValue();
9286
+ emit("update:modelValue", value);
9287
+ emit("change", value);
9288
+ };
9289
+ const del = (idx) => {
9290
+ styles.splice(idx, 1);
9291
+ input();
9292
+ };
9293
+ const add = () => {
9294
+ styles.push(
9295
+ column.reduce((initial, v) => {
9296
+ initial[v.key] = "";
9297
+ return initial;
9298
+ }, {})
9299
+ );
9300
+ };
9301
+ return (_ctx, _cache) => {
9302
+ const _component_el_input = vue.resolveComponent("el-input");
9303
+ const _component_el_table_column = vue.resolveComponent("el-table-column");
9304
+ const _component_dk_icon = vue.resolveComponent("dk-icon");
9305
+ const _component_el_table = vue.resolveComponent("el-table");
9306
+ const _component_el_button = vue.resolveComponent("el-button");
9307
+ return vue.openBlock(), vue.createElementBlock("div", null, [
9308
+ vue.createVNode(_component_el_table, {
9309
+ data: styles,
9310
+ border: "",
9311
+ size: "small",
9312
+ style: { "width": "100%" }
9313
+ }, {
9314
+ default: vue.withCtx(() => [
9315
+ (vue.openBlock(), vue.createElementBlock(
9316
+ vue.Fragment,
9317
+ null,
9318
+ vue.renderList(column, (col, idx) => {
9319
+ return vue.createVNode(_component_el_table_column, {
9320
+ key: col.label + idx,
9321
+ label: col.label
9322
+ }, {
9323
+ default: vue.withCtx((scope) => [
9324
+ vue.createVNode(_component_el_input, {
9325
+ size: "small",
9326
+ "model-value": scope.row[col.key] || "",
9327
+ "onUpdate:modelValue": (n) => scope.row[col.key] = n,
9328
+ onInput: ($event) => onInput(scope.row)
9329
+ }, null, 8, ["model-value", "onUpdate:modelValue", "onInput"])
9330
+ ]),
9331
+ _: 2
9332
+ /* DYNAMIC */
9333
+ }, 1032, ["label"]);
9334
+ }),
9335
+ 64
9336
+ /* STABLE_FRAGMENT */
9337
+ )),
9338
+ vue.createVNode(_component_el_table_column, {
9339
+ width: "70",
9340
+ align: "center",
9341
+ fixed: "right",
9342
+ label: "\u64CD\u4F5C"
9343
+ }, {
9344
+ default: vue.withCtx((scope) => [
9345
+ vue.createVNode(_component_dk_icon, {
9346
+ icon: "Delete",
9347
+ onClick: ($event) => del(scope.$index)
9348
+ }, null, 8, ["onClick"])
9349
+ ]),
9350
+ _: 1
9351
+ /* STABLE */
9352
+ })
9353
+ ]),
9354
+ _: 1
9355
+ /* STABLE */
9356
+ }, 8, ["data"]),
9357
+ vue.createElementVNode("div", _hoisted_1$F, [
9358
+ vue.createVNode(_component_el_button, {
9359
+ circle: "",
9360
+ type: "primary",
9361
+ link: "",
9362
+ size: "small",
9363
+ style: { "margin-left": "20px" },
9364
+ onClick: _cache[0] || (_cache[0] = ($event) => add())
9365
+ }, {
9366
+ default: vue.withCtx(() => [
9367
+ vue.createVNode(_component_dk_icon, { icon: "CirclePlusFilled" }),
9368
+ vue.createTextVNode(" \u6DFB\u52A0 ")
9369
+ ]),
9370
+ _: 1
9371
+ /* STABLE */
9372
+ })
9373
+ ])
9374
+ ]);
9375
+ };
9376
+ }
9377
+ });
9378
+
9379
+ var _StyleCustomInput = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\style-custom-input\\src\\style-custom-input.vue"]]);
9380
+
9381
+ const StyleCustomInput = withInstall(_StyleCustomInput);
9382
+
9220
9383
  function $set(target, field, value) {
9221
9384
  target[field] = value;
9222
9385
  }
@@ -29643,6 +29806,8 @@
29643
29806
  StyleNumberInput,
29644
29807
  // 动画配置
29645
29808
  StyleAnimationInput,
29809
+ // 自定义样式
29810
+ StyleCustomInput,
29646
29811
  // 动画class选择
29647
29812
  AnimateSelect,
29648
29813
  // 数据表格
@@ -29705,6 +29870,7 @@
29705
29870
  exports.StyleBackgroundInput = StyleBackgroundInput;
29706
29871
  exports.StyleBorderInput = StyleBorderInput;
29707
29872
  exports.StyleBoxInput = StyleBoxInput;
29873
+ exports.StyleCustomInput = StyleCustomInput;
29708
29874
  exports.StyleFontInput = StyleFontInput;
29709
29875
  exports.StyleInput = StyleInput;
29710
29876
  exports.StyleNumberInput = StyleNumberInput;
@@ -29747,6 +29913,7 @@
29747
29913
  exports.styleBackgroundInputProps = styleBackgroundInputProps;
29748
29914
  exports.styleBorderInputProps = styleBorderInputProps;
29749
29915
  exports.styleBoxInputProps = styleBoxInputProps;
29916
+ exports.styleCustomInputProps = styleCustomInputProps;
29750
29917
  exports.styleFontInputProps = styleFontInputProps;
29751
29918
  exports.styleInputProps = styleInputProps;
29752
29919
  exports.styleNumberInputProps = styleNumberInputProps;