iking-web-ui-pro 0.2.4 → 0.2.6

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 (80) hide show
  1. package/dist/IKDetailPreviewFiles/ik.index.es.js +586 -571
  2. package/dist/IKDetailPreviewFiles/ik.index.umd.js +1 -1
  3. package/dist/IKDetailPreviewFiles/style.css +1 -1
  4. package/dist/IKExpandCollapse/ik.index.es.js +123 -120
  5. package/dist/IKExpandCollapse/ik.index.umd.js +1 -1
  6. package/dist/IKExpandCollapse/style.css +1 -1
  7. package/dist/IKPreviewFile/ik.index.es.js +491 -476
  8. package/dist/IKPreviewFile/ik.index.umd.js +1 -1
  9. package/dist/IKPreviewFile/style.css +1 -1
  10. package/dist/IKVerticalStepBar/ik.index.es.js +142 -139
  11. package/dist/IKVerticalStepBar/ik.index.umd.js +3 -3
  12. package/dist/IKVerticalStepBar/style.css +1 -1
  13. package/dist/IkApprovalProcessDetail/ik.index.es.js +756 -741
  14. package/dist/IkApprovalProcessDetail/ik.index.umd.js +1 -1
  15. package/dist/IkApprovalProcessDetail/style.css +1 -1
  16. package/dist/IkBaseDialog/ik.index.es.js +125 -122
  17. package/dist/IkBaseDialog/ik.index.umd.js +1 -1
  18. package/dist/IkBaseDialog/style.css +1 -1
  19. package/dist/IkBtnSetting/ik.index.es.js +252 -249
  20. package/dist/IkBtnSetting/ik.index.umd.js +1 -1
  21. package/dist/IkBtnSetting/style.css +1 -1
  22. package/dist/IkCollapseCard/ik.index.es.js +129 -126
  23. package/dist/IkCollapseCard/ik.index.umd.js +1 -1
  24. package/dist/IkCollapseCard/style.css +1 -1
  25. package/dist/IkDescription/ik.index.es.js +530 -515
  26. package/dist/IkDescription/ik.index.umd.js +1 -1
  27. package/dist/IkDescription/style.css +1 -1
  28. package/dist/IkIconPicker/ik.index.es.js +196 -193
  29. package/dist/IkIconPicker/ik.index.umd.js +1 -1
  30. package/dist/IkIconPicker/style.css +1 -1
  31. package/dist/IkMonacoEditor/ik.index.es.js +397 -394
  32. package/dist/IkMonacoEditor/ik.index.umd.js +3 -3
  33. package/dist/IkMonacoEditor/style.css +1 -1
  34. package/dist/IkPageFull/ik.index.es.js +1122 -1119
  35. package/dist/IkPageFull/ik.index.umd.js +2 -2
  36. package/dist/IkPageFull/style.css +1 -1
  37. package/dist/IkPreviewFileDialog/ik.index.es.js +314 -308
  38. package/dist/IkPreviewFileDialog/ik.index.umd.js +1 -1
  39. package/dist/IkPreviewFileDialog/style.css +1 -1
  40. package/dist/IkSchedule/ik.index.es.js +968 -965
  41. package/dist/IkSchedule/ik.index.umd.js +1 -1
  42. package/dist/IkSchedule/style.css +1 -1
  43. package/dist/IkSideText/ik.index.es.js +148 -145
  44. package/dist/IkSideText/ik.index.umd.js +1 -1
  45. package/dist/IkSideText/style.css +1 -1
  46. package/dist/IkSvgIcon/ik.index.es.js +106 -103
  47. package/dist/IkSvgIcon/ik.index.umd.js +1 -1
  48. package/dist/IkSvgIcon/style.css +1 -1
  49. package/dist/IkUploadFile/ik.index.es.js +963 -944
  50. package/dist/IkUploadFile/ik.index.umd.js +1 -1
  51. package/dist/IkUploadFile/style.css +1 -1
  52. package/dist/IkUploadImage/ik.index.es.js +265 -253
  53. package/dist/IkUploadImage/ik.index.umd.js +1 -1
  54. package/dist/IkUploadImage/style.css +1 -1
  55. package/dist/Provider/ik.index.es.js +1611 -0
  56. package/dist/Provider/ik.index.umd.js +17 -0
  57. package/dist/index.es.js +38689 -37072
  58. package/dist/index.umd.js +95 -79
  59. package/dist/src/components/IKDetailPreviewFiles/index.d.ts +1 -1
  60. package/dist/src/components/IKDetailPreviewFiles/src/IKDetailPreviewFiles.vue.d.ts +1 -1
  61. package/dist/src/components/IKPreviewFile/index.d.ts +3 -3
  62. package/dist/src/components/IKPreviewFile/src/IkPreviewFile.vue.d.ts +1 -1
  63. package/dist/src/components/IkApprovalProcess/index.d.ts +1 -1
  64. package/dist/src/components/IkApprovalProcess/src/IKApprovalProcess.vue.d.ts +1 -1
  65. package/dist/src/components/IkDescription/index.d.ts +3 -3
  66. package/dist/src/components/IkDescription/src/IkDescription.vue.d.ts +1 -1
  67. package/dist/src/components/IkPreviewFileDialog/index.d.ts +1 -1
  68. package/dist/src/components/IkPreviewFileDialog/src/IkPreviewFileDialog.vue.d.ts +1 -1
  69. package/dist/src/components/IkTinymce/index.d.ts +1 -1
  70. package/dist/src/components/IkTinymce/src/index.vue.d.ts +1 -1
  71. package/dist/src/components/IkUploadFile/index.d.ts +3 -3
  72. package/dist/src/components/IkUploadFile/src/index.vue.d.ts +1 -1
  73. package/dist/src/components/IkUploadImage/index.d.ts +3 -3
  74. package/dist/src/components/IkUploadImage/src/index.vue.d.ts +1 -1
  75. package/dist/src/components/Provider/ProviderConfig.vue.d.ts +66 -0
  76. package/dist/src/components/Provider/index.d.ts +139 -0
  77. package/dist/src/components/index.d.ts +1 -0
  78. package/dist/src/utils/use-provider.d.ts +8 -0
  79. package/dist/style.css +1 -1
  80. package/package.json +1 -1
@@ -1,14 +1,14 @@
1
- import { defineComponent as C, computed as I, resolveComponent as b, openBlock as c, createElementBlock as u, normalizeClass as h, normalizeStyle as r, createCommentVNode as B, createElementVNode as z, createBlock as t, withCtx as f, createTextVNode as O, toDisplayString as D, mergeModels as G, useModel as A, ref as k, watch as E, unref as p, withModifiers as H, createVNode as x, Fragment as $, renderList as S } from "vue";
2
- import { ikColor as P, _ as U } from "iking-utils-pro";
3
- const V = (d, e) => {
4
- if (d.install = (i) => {
5
- for (const o of [d, ...Object.values(e ?? {})])
6
- i.component(o.name, o);
7
- }, e)
8
- for (const [i, o] of Object.entries(e))
9
- d[i] = o;
1
+ import { defineComponent as B, inject as O, computed as q, resolveComponent as v, openBlock as i, createElementBlock as l, normalizeClass as r, normalizeStyle as p, createCommentVNode as V, createElementVNode as x, createBlock as f, withCtx as g, createTextVNode as D, toDisplayString as G, mergeModels as A, useModel as E, ref as k, watch as H, unref as y, withModifiers as P, createVNode as j, Fragment as C, renderList as S } from "vue";
2
+ import { ikColor as U, _ as W } from "iking-utils-pro";
3
+ const T = (d, s) => {
4
+ if (d.install = (c) => {
5
+ for (const e of [d, ...Object.values(s ?? {})])
6
+ c.component(e.name, e);
7
+ }, s)
8
+ for (const [c, e] of Object.entries(s))
9
+ d[c] = e;
10
10
  return d;
11
- }, W = "4383166", X = "中台-双色图标", Y = "iconfont", F = "iksvg_", K = "", Q = [
11
+ }, X = "4383166", Y = "中台-双色图标", F = "iconfont", K = "iksvg_", Q = "", R = [
12
12
  {
13
13
  icon_id: "40615013",
14
14
  name: "开票记录",
@@ -1549,14 +1549,14 @@ const V = (d, e) => {
1549
1549
  unicode: "e668",
1550
1550
  unicode_decimal: 58984
1551
1551
  }
1552
- ], R = {
1553
- id: W,
1554
- name: X,
1555
- font_family: Y,
1556
- css_prefix_text: F,
1557
- description: K,
1558
- glyphs: Q
1559
- }, Z = "4383216", nn = "中台-单色图标", en = "iconfont", cn = "iksig_", on = "", an = [
1552
+ ], Z = {
1553
+ id: X,
1554
+ name: Y,
1555
+ font_family: F,
1556
+ css_prefix_text: K,
1557
+ description: Q,
1558
+ glyphs: R
1559
+ }, ee = "4383216", ne = "中台-单色图标", ie = "iconfont", ce = "iksig_", oe = "", ae = [
1560
1560
  {
1561
1561
  icon_id: "7429411",
1562
1562
  name: "子流程",
@@ -2537,30 +2537,30 @@ const V = (d, e) => {
2537
2537
  unicode: "e665",
2538
2538
  unicode_decimal: 58981
2539
2539
  }
2540
- ], dn = {
2541
- id: Z,
2542
- name: nn,
2543
- font_family: en,
2544
- css_prefix_text: cn,
2545
- description: on,
2546
- glyphs: an
2547
- }, T = (d, e) => {
2548
- const i = d.__vccOpts || d;
2549
- for (const [o, n] of e)
2550
- i[o] = n;
2551
- return i;
2552
- }, _n = {
2540
+ ], de = {
2541
+ id: ee,
2542
+ name: ne,
2543
+ font_family: ie,
2544
+ css_prefix_text: ce,
2545
+ description: oe,
2546
+ glyphs: ae
2547
+ }, M = (d, s) => {
2548
+ const c = d.__vccOpts || d;
2549
+ for (const [e, a] of s)
2550
+ c[e] = a;
2551
+ return c;
2552
+ }, ue = {
2553
2553
  key: 0,
2554
2554
  class: "ik-svg-icon ik-icon inline-block inline-flex justify-center box-content line-height-[0]"
2555
- }, sn = {
2555
+ }, _e = {
2556
2556
  key: 1,
2557
2557
  class: "h-[1em] w-[1em]",
2558
2558
  "aria-hidden": "true"
2559
- }, un = ["xlink:href"], ln = ["src"], mn = {
2559
+ }, le = ["xlink:href"], se = ["src"], me = {
2560
2560
  key: 1,
2561
2561
  class: "h-[1em] w-[1em]",
2562
2562
  "aria-hidden": "true"
2563
- }, tn = ["xlink:href"], fn = ["src"], gn = /* @__PURE__ */ C({
2563
+ }, te = ["xlink:href"], fe = ["src"], ge = /* @__PURE__ */ B({
2564
2564
  name: "IkSvgIcon",
2565
2565
  __name: "index",
2566
2566
  props: {
@@ -2587,13 +2587,16 @@ const V = (d, e) => {
2587
2587
  tableIconType: { default: "icon" }
2588
2588
  },
2589
2589
  setup(d) {
2590
- const e = d, i = I(() => {
2591
- var n, m, g;
2592
- return /^http?:\/\//.test(e.name) ? "img" : /i-[^:]+:[^:]+/.test(e.name) ? "unocss" : (n = e.name) != null && n.startsWith("iksig") ? "iksig" : (m = e.name) != null && m.includes(":") ? "iconify" : (g = e.name) != null && g.startsWith("iksvg") ? "svg" : "i";
2593
- }), o = I(() => {
2590
+ const s = d, c = O("iconConfig"), e = q(() => ({
2591
+ ...(c == null ? void 0 : c.value) || {},
2592
+ ...s
2593
+ })), a = q(() => {
2594
+ const { name: n } = e.value;
2595
+ return /^http?:\/\//.test(n) ? "img" : /i-[^:]+:[^:]+/.test(n) ? "unocss" : n != null && n.startsWith("iksig") ? "iksig" : n != null && n.includes(":") ? "iconify" : n != null && n.startsWith("iksvg") ? "svg" : "i";
2596
+ }), t = q(() => {
2594
2597
  const n = [];
2595
- if (e.flip)
2596
- switch (e.flip) {
2598
+ if (e.value.flip)
2599
+ switch (e.value.flip) {
2597
2600
  case "horizontal":
2598
2601
  n.push("rotateY(180deg)");
2599
2602
  break;
@@ -2604,67 +2607,67 @@ const V = (d, e) => {
2604
2607
  n.push("rotateX(180deg)"), n.push("rotateY(180deg)");
2605
2608
  break;
2606
2609
  }
2607
- e.rotate && n.push(`rotate(${e.rotate % 360}deg)`);
2608
- const m = {
2609
- ...e.color && { color: e.color },
2610
- ...e.size && { fontSize: typeof e.size == "number" ? `${e.size}px` : e.size },
2610
+ e.value.rotate && n.push(`rotate(${e.value.rotate % 360}deg)`);
2611
+ const h = {
2612
+ ...e.value.color && { color: e.value.color },
2613
+ ...e.value.size && { fontSize: typeof e.value.size == "number" ? `${e.value.size}px` : e.value.size },
2611
2614
  ...n.length && { transform: n.join(" ") },
2612
- padding: e.showBg || e.bg ? e.padding : 0,
2613
- ...e.color && i.value !== "iksig" ? {
2614
- "--ik-color-icon-dark": e.color,
2615
- "--ik-color-icon-light": e.colorLight || P.setOpacity(e.color, e.opacity)
2615
+ padding: e.value.showBg || e.value.bg ? e.value.padding : 0,
2616
+ ...e.value.color && a.value !== "iksig" ? {
2617
+ "--ik-color-icon-dark": e.value.color,
2618
+ "--ik-color-icon-light": e.value.colorLight || U.setOpacity(e.value.color, e.value.opacity)
2616
2619
  } : {}
2617
2620
  };
2618
- return e.width && (m.width = m.height = typeof e.width == "number" ? `${e.width}px` : e.width), m;
2621
+ return e.value.width && (h.width = h.height = typeof e.value.width == "number" ? `${e.value.width}px` : e.value.width), h;
2619
2622
  });
2620
- return (n, m) => {
2621
- const g = b("el-tooltip"), j = b("el-button");
2622
- return n.tableIconType === "icon" ? (c(), u("span", _n, [
2623
- n.notip || !n.title ? (c(), u(
2623
+ return (n, h) => {
2624
+ const w = v("el-tooltip"), z = v("el-button");
2625
+ return e.value.tableIconType === "icon" ? (i(), l("span", ue, [
2626
+ e.value.notip || !e.value.title ? (i(), l(
2624
2627
  "i",
2625
2628
  {
2626
2629
  key: 0,
2627
- class: h(["ik-svg-icon ik-icon relative h-[1em] w-[1em] inline-flex items-center justify-center fill-current leading-[1em] transition", {
2628
- [n.name]: i.value === "unocss",
2629
- "show-bg": n.showBg || n.bg,
2630
- default: n.size === "default",
2631
- small: n.size === "small",
2632
- big: n.size === "big",
2633
- warning: n.warning || e.type === "warning",
2634
- primary: n.primary || e.type === "primary",
2635
- success: n.success || e.type === "success",
2636
- error: n.error || e.type === "error",
2637
- active: n.active,
2638
- disabled: n.disabled
2630
+ class: r(["ik-svg-icon ik-icon relative h-[1em] w-[1em] inline-flex items-center justify-center fill-current leading-[1em] transition", {
2631
+ [n.name]: a.value === "unocss",
2632
+ "show-bg": e.value.showBg || e.value.bg,
2633
+ default: e.value.size === "default",
2634
+ small: e.value.size === "small",
2635
+ big: e.value.size === "big",
2636
+ warning: e.value.warning || e.value.type === "warning",
2637
+ primary: e.value.primary || e.value.type === "primary",
2638
+ success: n.success || e.value.type === "success",
2639
+ error: e.value.error || e.value.type === "error",
2640
+ active: e.value.active,
2641
+ disabled: e.value.disabled
2639
2642
  }]),
2640
- style: r(o.value)
2643
+ style: p(t.value)
2641
2644
  },
2642
2645
  [
2643
- B(` <Icon v-if="outputType === 'iconify'" :icon="name" /> `),
2644
- i.value === "iksig" ? (c(), u(
2646
+ V(` <Icon v-if="outputType === 'iconify'" :icon="name" /> `),
2647
+ a.value === "iksig" ? (i(), l(
2645
2648
  "i",
2646
2649
  {
2647
2650
  key: 0,
2648
- class: h(`iksig ${n.name}`),
2649
- style: r(o.value)
2651
+ class: r(`iksig ${e.value.name}`),
2652
+ style: p(t.value)
2650
2653
  },
2651
2654
  null,
2652
2655
  6
2653
2656
  /* CLASS, STYLE */
2654
- )) : i.value === "svg" ? (c(), u("svg", sn, [
2655
- z("use", {
2656
- "xlink:href": `#${n.name}`
2657
- }, null, 8, un)
2658
- ])) : i.value === "img" ? (c(), u("img", {
2657
+ )) : a.value === "svg" ? (i(), l("svg", _e, [
2658
+ x("use", {
2659
+ "xlink:href": `#${e.value.name}`
2660
+ }, null, 8, le)
2661
+ ])) : a.value === "img" ? (i(), l("img", {
2659
2662
  key: 2,
2660
- src: n.name,
2663
+ src: e.value.name,
2661
2664
  class: "h-[1em] w-[1em]"
2662
- }, null, 8, ln)) : (c(), u(
2665
+ }, null, 8, se)) : (i(), l(
2663
2666
  "i",
2664
2667
  {
2665
2668
  key: 3,
2666
- class: h(n.name),
2667
- style: r(o.value)
2669
+ class: r(e.value.name),
2670
+ style: p(t.value)
2668
2671
  },
2669
2672
  null,
2670
2673
  6
@@ -2673,54 +2676,54 @@ const V = (d, e) => {
2673
2676
  ],
2674
2677
  6
2675
2678
  /* CLASS, STYLE */
2676
- )) : (c(), t(g, {
2679
+ )) : (i(), f(w, {
2677
2680
  key: 1,
2678
- content: n.title,
2681
+ content: e.value.title,
2679
2682
  placement: "top"
2680
2683
  }, {
2681
- default: f(() => [
2682
- z(
2684
+ default: g(() => [
2685
+ x(
2683
2686
  "i",
2684
2687
  {
2685
- class: h(["ik-svg-icon ik-icon relative h-[1em] w-[1em] inline-flex items-center justify-center fill-current leading-[1em] transition", {
2686
- [n.name]: i.value === "unocss",
2687
- "show-bg": n.showBg || n.bg,
2688
- default: n.size === "default",
2689
- small: n.size === "small",
2690
- big: n.size === "big",
2691
- warning: n.warning || e.type === "warning",
2692
- primary: n.primary || e.type === "primary",
2693
- success: n.success || e.type === "success",
2694
- error: n.error || e.type === "error",
2695
- active: n.active
2688
+ class: r(["ik-svg-icon ik-icon relative h-[1em] w-[1em] inline-flex items-center justify-center fill-current leading-[1em] transition", {
2689
+ [n.name]: a.value === "unocss",
2690
+ "show-bg": e.value.showBg || e.value.bg,
2691
+ default: e.value.size === "default",
2692
+ small: e.value.size === "small",
2693
+ big: e.value.size === "big",
2694
+ warning: e.value.warning || e.value.type === "warning",
2695
+ primary: n.primary || e.value.type === "primary",
2696
+ success: n.success || e.value.type === "success",
2697
+ error: e.value.error || e.value.type === "error",
2698
+ active: e.value.active
2696
2699
  }]),
2697
- style: r(o.value)
2700
+ style: p(t.value)
2698
2701
  },
2699
2702
  [
2700
- i.value === "iksig" ? (c(), u(
2703
+ a.value === "iksig" ? (i(), l(
2701
2704
  "i",
2702
2705
  {
2703
2706
  key: 0,
2704
- class: h(`iksig ${n.name}`),
2705
- style: r(o.value)
2707
+ class: r(`iksig ${e.value.name}`),
2708
+ style: p(t.value)
2706
2709
  },
2707
2710
  null,
2708
2711
  6
2709
2712
  /* CLASS, STYLE */
2710
- )) : i.value === "svg" ? (c(), u("svg", mn, [
2711
- z("use", {
2712
- "xlink:href": `#${n.name}`
2713
- }, null, 8, tn)
2714
- ])) : i.value === "img" ? (c(), u("img", {
2713
+ )) : a.value === "svg" ? (i(), l("svg", me, [
2714
+ x("use", {
2715
+ "xlink:href": `#${e.value.name}`
2716
+ }, null, 8, te)
2717
+ ])) : a.value === "img" ? (i(), l("img", {
2715
2718
  key: 2,
2716
- src: n.name,
2719
+ src: e.value.name,
2717
2720
  class: "h-[1em] w-[1em]"
2718
- }, null, 8, fn)) : (c(), u(
2721
+ }, null, 8, fe)) : (i(), l(
2719
2722
  "i",
2720
2723
  {
2721
2724
  key: 3,
2722
- class: h(n.name),
2723
- style: r(o.value)
2725
+ class: r(e.value.name),
2726
+ style: p(t.value)
2724
2727
  },
2725
2728
  null,
2726
2729
  6
@@ -2734,13 +2737,13 @@ const V = (d, e) => {
2734
2737
  _: 1
2735
2738
  /* STABLE */
2736
2739
  }, 8, ["content"]))
2737
- ])) : (c(), t(j, {
2740
+ ])) : (i(), f(z, {
2738
2741
  key: 1,
2739
- type: ["warning", "error"].includes(n.type) ? "danger" : ""
2742
+ type: ["warning", "error"].includes(e.value.type) ? "danger" : ""
2740
2743
  }, {
2741
- default: f(() => [
2742
- O(
2743
- D(n.title),
2744
+ default: g(() => [
2745
+ D(
2746
+ G(e.value.title),
2744
2747
  1
2745
2748
  /* TEXT */
2746
2749
  )
@@ -2751,14 +2754,14 @@ const V = (d, e) => {
2751
2754
  };
2752
2755
  }
2753
2756
  });
2754
- const hn = /* @__PURE__ */ T(gn, [["__scopeId", "data-v-7d95dbf5"]]), y = V(hn), rn = { class: "icon-list" }, pn = { class: "icon-list" }, yn = /* @__PURE__ */ C({
2757
+ const he = /* @__PURE__ */ M(ge, [["__scopeId", "data-v-1be337e4"]]), b = T(he), re = { class: "icon-list" }, pe = { class: "icon-list" }, ye = /* @__PURE__ */ B({
2755
2758
  __name: "index",
2756
- props: /* @__PURE__ */ G({
2759
+ props: /* @__PURE__ */ A({
2757
2760
  icon: {
2758
2761
  type: Object,
2759
2762
  default: () => ({
2760
- icon: R,
2761
- iconSingle: dn
2763
+ icon: Z,
2764
+ iconSingle: de
2762
2765
  })
2763
2766
  },
2764
2767
  size: {
@@ -2774,51 +2777,51 @@ const hn = /* @__PURE__ */ T(gn, [["__scopeId", "data-v-7d95dbf5"]]), y = V(hn),
2774
2777
  }),
2775
2778
  emits: ["update:modelValue"],
2776
2779
  setup(d) {
2777
- const e = d, i = A(d, "modelValue");
2780
+ const s = d, c = E(d, "modelValue");
2778
2781
  k(!1);
2779
- let o = {};
2780
- const n = k({}), m = k(null);
2781
- function g() {
2782
- const l = e.icon.icon, _ = e.icon.iconSingle;
2783
- o = {
2784
- double: l.glyphs.map((s) => ({
2785
- ...s,
2786
- class: `${l.css_prefix_text}${s.font_class}`
2782
+ let e = {};
2783
+ const a = k({}), t = k(null);
2784
+ function n() {
2785
+ const m = s.icon.icon, u = s.icon.iconSingle;
2786
+ e = {
2787
+ double: m.glyphs.map((_) => ({
2788
+ ..._,
2789
+ class: `${m.css_prefix_text}${_.font_class}`
2787
2790
  })),
2788
- single: _.glyphs.map((s) => ({
2789
- ...s,
2790
- class: `${_.css_prefix_text}${s.font_class}`
2791
+ single: u.glyphs.map((_) => ({
2792
+ ..._,
2793
+ class: `${u.css_prefix_text}${_.font_class}`
2791
2794
  }))
2792
- }, n.value = U.cloneDeep(o);
2795
+ }, a.value = W.cloneDeep(e);
2793
2796
  }
2794
- g();
2795
- function j(l) {
2796
- i.value = l.class;
2797
+ n();
2798
+ function h(m) {
2799
+ c.value = m.class;
2797
2800
  }
2798
- function M() {
2799
- i.value = "";
2801
+ function w() {
2802
+ c.value = "";
2800
2803
  }
2801
- const v = k("");
2802
- E(v, (l) => {
2803
- n.value = {
2804
- single: o.single.filter((_) => {
2805
- var s;
2806
- return (s = _.name) == null ? void 0 : s.includes(l);
2804
+ const z = k("");
2805
+ H(z, (m) => {
2806
+ a.value = {
2807
+ single: e.single.filter((u) => {
2808
+ var _;
2809
+ return (_ = u.name) == null ? void 0 : _.includes(m);
2807
2810
  }),
2808
- double: o.double.filter((_) => {
2809
- var s;
2810
- return (s = _.name) == null ? void 0 : s.includes(l);
2811
+ double: e.double.filter((u) => {
2812
+ var _;
2813
+ return (_ = u.name) == null ? void 0 : _.includes(m);
2811
2814
  })
2812
2815
  };
2813
2816
  });
2814
- const w = k("double");
2815
- return (l, _) => {
2816
- const s = b("el-input"), q = b("el-tab-pane"), N = b("el-tabs"), J = b("el-popover");
2817
- return c(), t(
2817
+ const I = k("double");
2818
+ return (m, u) => {
2819
+ const _ = v("el-input"), $ = v("el-tab-pane"), N = v("el-tabs"), J = v("el-popover");
2820
+ return i(), f(
2818
2821
  J,
2819
2822
  {
2820
2823
  ref_key: "target",
2821
- ref: m,
2824
+ ref: t,
2822
2825
  title: "",
2823
2826
  "hide-after": 0,
2824
2827
  "popper-class": "icon-picker-pop",
@@ -2826,65 +2829,65 @@ const hn = /* @__PURE__ */ T(gn, [["__scopeId", "data-v-7d95dbf5"]]), y = V(hn),
2826
2829
  trigger: "click"
2827
2830
  },
2828
2831
  {
2829
- reference: f(() => [
2830
- z("div", {
2832
+ reference: g(() => [
2833
+ x("div", {
2831
2834
  class: "icon-picker-header font-size-[var(--ik-margin-m-28)] line-height-[0]",
2832
- onClick: _[2] || (_[2] = //@ts-ignore
2833
- (...a) => l.handChooseIcon && l.handChooseIcon(...a))
2835
+ onClick: u[2] || (u[2] = //@ts-ignore
2836
+ (...o) => m.handChooseIcon && m.handChooseIcon(...o))
2834
2837
  }, [
2835
- i.value ? (c(), t(p(y), {
2838
+ c.value ? (i(), f(y(b), {
2836
2839
  key: 0,
2837
- name: i.value,
2840
+ name: c.value,
2838
2841
  size: d.size
2839
- }, null, 8, ["name", "size"])) : (c(), t(p(y), {
2842
+ }, null, 8, ["name", "size"])) : (i(), f(y(b), {
2840
2843
  key: 1,
2841
2844
  name: "iksvg_guanbibeifen",
2842
2845
  size: d.size
2843
2846
  }, null, 8, ["size"])),
2844
- i.value ? (c(), t(p(y), {
2847
+ c.value ? (i(), f(y(b), {
2845
2848
  key: 2,
2846
2849
  title: "删除图标",
2847
2850
  name: "iksvg_guanbi",
2848
2851
  error: "",
2849
2852
  class: "icon-delete",
2850
- onClick: H(M, ["stop"])
2851
- })) : B("v-if", !0)
2853
+ onClick: P(w, ["stop"])
2854
+ })) : V("v-if", !0)
2852
2855
  ])
2853
2856
  ]),
2854
- default: f(() => [
2855
- x(s, {
2856
- modelValue: v.value,
2857
- "onUpdate:modelValue": _[0] || (_[0] = (a) => v.value = a),
2857
+ default: g(() => [
2858
+ j(_, {
2859
+ modelValue: z.value,
2860
+ "onUpdate:modelValue": u[0] || (u[0] = (o) => z.value = o),
2858
2861
  clearable: "",
2859
2862
  placeholder: "输入图标名称检索"
2860
2863
  }, {
2861
- suffix: f(() => [
2862
- x(p(y), { name: "iksvg_sousuo-daohang" })
2864
+ suffix: g(() => [
2865
+ j(y(b), { name: "iksvg_sousuo-daohang" })
2863
2866
  ]),
2864
2867
  _: 1
2865
2868
  /* STABLE */
2866
2869
  }, 8, ["modelValue"]),
2867
- x(N, {
2868
- modelValue: w.value,
2869
- "onUpdate:modelValue": _[1] || (_[1] = (a) => w.value = a)
2870
+ j(N, {
2871
+ modelValue: I.value,
2872
+ "onUpdate:modelValue": u[1] || (u[1] = (o) => I.value = o)
2870
2873
  }, {
2871
- default: f(() => [
2872
- x(q, {
2874
+ default: g(() => [
2875
+ j($, {
2873
2876
  label: "双色图标",
2874
2877
  name: "double"
2875
2878
  }, {
2876
- default: f(() => [
2877
- z("div", rn, [
2878
- (c(!0), u(
2879
- $,
2879
+ default: g(() => [
2880
+ x("div", re, [
2881
+ (i(!0), l(
2882
+ C,
2880
2883
  null,
2881
- S(n.value.double, (a) => (c(), t(p(y), {
2882
- key: a.name,
2883
- primary: a.class === i.value,
2884
+ S(a.value.double, (o) => (i(), f(y(b), {
2885
+ key: o.name,
2886
+ primary: o.class === c.value,
2884
2887
  size: 20,
2885
- title: a.name,
2886
- name: a.class,
2887
- onClick: (L) => j(a)
2888
+ title: o.name,
2889
+ name: o.class,
2890
+ onClick: (L) => h(o)
2888
2891
  }, null, 8, ["primary", "title", "name", "onClick"]))),
2889
2892
  128
2890
2893
  /* KEYED_FRAGMENT */
@@ -2894,22 +2897,22 @@ const hn = /* @__PURE__ */ T(gn, [["__scopeId", "data-v-7d95dbf5"]]), y = V(hn),
2894
2897
  _: 1
2895
2898
  /* STABLE */
2896
2899
  }),
2897
- x(q, {
2900
+ j($, {
2898
2901
  label: "单色图标",
2899
2902
  name: "single"
2900
2903
  }, {
2901
- default: f(() => [
2902
- z("div", pn, [
2903
- (c(!0), u(
2904
- $,
2904
+ default: g(() => [
2905
+ x("div", pe, [
2906
+ (i(!0), l(
2907
+ C,
2905
2908
  null,
2906
- S(n.value.single, (a) => (c(), t(p(y), {
2907
- key: a.name,
2908
- primary: a.class === i.value,
2909
+ S(a.value.single, (o) => (i(), f(y(b), {
2910
+ key: o.name,
2911
+ primary: o.class === c.value,
2909
2912
  size: 20,
2910
- title: a.name,
2911
- name: a.class,
2912
- onClick: (L) => j(a)
2913
+ title: o.name,
2914
+ name: o.class,
2915
+ onClick: (L) => h(o)
2913
2916
  }, null, 8, ["primary", "title", "name", "onClick"]))),
2914
2917
  128
2915
2918
  /* KEYED_FRAGMENT */
@@ -2933,8 +2936,8 @@ const hn = /* @__PURE__ */ T(gn, [["__scopeId", "data-v-7d95dbf5"]]), y = V(hn),
2933
2936
  };
2934
2937
  }
2935
2938
  });
2936
- const bn = /* @__PURE__ */ T(yn, [["__scopeId", "data-v-bb8396c3"]]), xn = V(bn);
2939
+ const be = /* @__PURE__ */ M(ye, [["__scopeId", "data-v-bb8396c3"]]), ze = T(be);
2937
2940
  export {
2938
- xn as IkIconPicker,
2939
- xn as default
2941
+ ze as IkIconPicker,
2942
+ ze as default
2940
2943
  };