iking-web-ui-pro 1.0.33 → 1.0.34

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 (87) hide show
  1. package/dist/IkApprovalProcess/ik.index.es.js +91 -64
  2. package/dist/IkApprovalProcess/iking-web-ui-pro.css +1 -1
  3. package/dist/IkApprovalProcessDetail/ik.index.es.js +7661 -6388
  4. package/dist/IkApprovalProcessDetail/iking-web-ui-pro.css +1 -1
  5. package/dist/IkAutoCard/ik.index.es.js +13 -13
  6. package/dist/IkBaseDialog/ik.index.es.js +72 -72
  7. package/dist/IkBottomOperate/ik.index.es.js +43 -19
  8. package/dist/IkBtnContent/ik.index.es.js +2 -2
  9. package/dist/IkBtnSetting/ik.index.es.js +54 -50
  10. package/dist/IkCalendar/ik.index.es.js +103 -71
  11. package/dist/IkCalendar/iking-web-ui-pro.css +1 -1
  12. package/dist/IkCollapseCard/ik.index.es.js +30 -30
  13. package/dist/IkCurrencyInput/ik.index.es.js +2 -2
  14. package/dist/IkDescription/ik.index.es.js +7486 -6213
  15. package/dist/IkDescription/iking-web-ui-pro.css +1 -1
  16. package/dist/IkDetailPreviewFiles/ik.index.es.js +7423 -6154
  17. package/dist/IkDetailPreviewFiles/iking-web-ui-pro.css +1 -1
  18. package/dist/IkDragList/ik.index.es.js +1 -1
  19. package/dist/IkExpandCollapse/ik.index.es.js +40 -40
  20. package/dist/IkFileIcon/ik.index.es.js +45 -45
  21. package/dist/IkHorizontalStepBar/ik.index.es.js +12 -12
  22. package/dist/IkIconPicker/ik.index.es.js +78 -78
  23. package/dist/IkImageUploadEditor/ik.index.es.js +2263 -2582
  24. package/dist/IkImageViewer/ik.index.es.js +26 -26
  25. package/dist/IkMonacoEditor/ik.index.es.js +74 -74
  26. package/dist/IkOnlyOffice/ik.index.es.js +1397 -139
  27. package/dist/IkPageFull/ik.index.es.js +289 -243
  28. package/dist/IkPageFull/iking-web-ui-pro.css +1 -1
  29. package/dist/IkPageTabs/ik.index.es.js +1 -1
  30. package/dist/IkPickerUser/ik.index.es.js +82 -58
  31. package/dist/IkPickerUser/iking-web-ui-pro.css +1 -1
  32. package/dist/IkPlayer/ik.index.es.js +3548 -3537
  33. package/dist/IkPlayer/iking-web-ui-pro.css +1 -1
  34. package/dist/IkPreviewFile/ik.index.es.js +7444 -6175
  35. package/dist/IkPreviewFile/iking-web-ui-pro.css +1 -1
  36. package/dist/IkPreviewFileDialog/ik.index.es.js +7375 -6106
  37. package/dist/IkPreviewFileDialog/iking-web-ui-pro.css +1 -1
  38. package/dist/IkPrint/{html2canvas.esm-DgdJBc_o.mjs → html2canvas.esm-dgT_1dIT.mjs} +78 -78
  39. package/dist/IkPrint/ik.index.es.js +132 -104
  40. package/dist/IkPrint/{index.es-CKOlDLRQ.mjs → index.es-DzGIwinU.mjs} +1800 -1762
  41. package/dist/IkPrint/jspdf.es.min-ByQMz4Ps.mjs +9956 -0
  42. package/dist/IkPrint/purify.es-Bb-cVdCo.mjs +536 -0
  43. package/dist/IkPrintConfig/ik.index.es.js +3 -3
  44. package/dist/IkPrintView/ik.index.es.js +1 -1
  45. package/dist/IkRadioGroup/ik.index.es.js +45 -45
  46. package/dist/IkSearch/ik.index.es.js +81 -57
  47. package/dist/IkSearch/iking-web-ui-pro.css +1 -1
  48. package/dist/IkSearchHead/ik.index.es.js +5 -5
  49. package/dist/IkSelectTag/ik.index.es.js +8 -10
  50. package/dist/IkSideText/ik.index.es.js +61 -61
  51. package/dist/IkSideText/iking-web-ui-pro.css +1 -1
  52. package/dist/IkStatu/ik.index.es.js +1 -1
  53. package/dist/IkStatuOver/ik.index.es.js +5 -7
  54. package/dist/IkSvgIcon/ik.index.es.js +52 -52
  55. package/dist/IkTemplateOfficeConfig/ik.index.es.js +1562 -304
  56. package/dist/IkTinymce/ik.index.es.js +29099 -29715
  57. package/dist/IkTooltip/ik.index.es.js +2 -2
  58. package/dist/IkTree/ik.index.es.js +4 -4
  59. package/dist/IkTree/iking-web-ui-pro.css +1 -1
  60. package/dist/IkUploadFile/ik.index.es.js +7646 -6377
  61. package/dist/IkUploadFile/iking-web-ui-pro.css +1 -1
  62. package/dist/IkUploadImage/ik.index.es.js +205 -205
  63. package/dist/IkUploadImage/iking-web-ui-pro.css +1 -1
  64. package/dist/IkVerticalStepBar/ik.index.es.js +66 -66
  65. package/dist/{html2canvas.esm-DgdJBc_o.mjs → html2canvas.esm-dgT_1dIT.mjs} +78 -78
  66. package/dist/iking-web-ui-pro.css +2 -2
  67. package/dist/{index-CAKmb_Mu.mjs → index-DVuuvdy2.mjs} +42838 -42389
  68. package/dist/{index.es-CGVvoq4d.mjs → index.es-vFpIYezf.mjs} +1799 -1761
  69. package/dist/index.es.js +1 -1
  70. package/dist/index.umd.js +271 -266
  71. package/dist/jspdf.es.min-DeyzL-gl.mjs +9956 -0
  72. package/dist/purify.es-Bb-cVdCo.mjs +536 -0
  73. package/dist/src/components/IkDescription/index.d.ts +15 -0
  74. package/dist/src/components/IkDescription/src/IkDescription.vue.d.ts +9 -0
  75. package/dist/src/components/IkPageFull/src/IkDialog.d.ts +1 -1
  76. package/dist/src/components/IkPickerUser/index.d.ts +1 -1
  77. package/dist/src/components/IkPickerUser/src/list/GroupList.vue.d.ts +1 -1
  78. package/dist/src/components/IkPickerUser/src/list/PostList.vue.d.ts +1 -1
  79. package/dist/src/components/IkPickerUser/src/list/RoleList.vue.d.ts +1 -1
  80. package/dist/src/components/IkPickerUser/src/picker.vue.d.ts +1 -1
  81. package/dist/src/components/IkPreviewFile/index.d.ts +3 -3
  82. package/dist/src/components/IkPreviewFile/src/IkPreviewFile.vue.d.ts +2 -2
  83. package/package.json +1 -1
  84. package/dist/IkPrint/jspdf.es.min-CTJMR-3s.mjs +0 -10596
  85. package/dist/IkPrint/purify.es-ofLoJV2y.mjs +0 -537
  86. package/dist/jspdf.es.min-XzfyGVex.mjs +0 -10596
  87. package/dist/purify.es-ofLoJV2y.mjs +0 -537
@@ -1,15 +1,15 @@
1
- import { defineComponent as A, openBlock as r, createElementBlock as f, createElementVNode as x, computed as T, resolveComponent as z, normalizeClass as B, normalizeStyle as X, Fragment as F, createBlock as D, withCtx as m, mergeProps as P, createTextVNode as $, toDisplayString as N, ref as V, watch as Z, unref as w, createVNode as C, Transition as ne, renderSlot as G, mergeModels as J, useModel as se, resolveDirective as ie, withDirectives as K, createSlots as ue, createCommentVNode as j, renderList as re } from "vue";
1
+ import { defineComponent as A, createElementBlock as f, openBlock as r, createElementVNode as x, computed as T, resolveComponent as z, normalizeStyle as X, normalizeClass as B, createBlock as D, Fragment as F, withCtx as m, mergeProps as P, createTextVNode as $, toDisplayString as N, ref as V, watch as Z, unref as w, createVNode as C, Transition as ne, renderSlot as G, mergeModels as J, useModel as se, resolveDirective as ie, withDirectives as K, createCommentVNode as j, createSlots as ue, renderList as re } from "vue";
2
2
  import { ikColor as ce, _ as S, ikStore as H } from "iking-utils-pro";
3
3
  import de from "vuedraggable";
4
- const Y = (o, b) => (o.install = (s) => {
5
- for (const e of [o, ...Object.values({})])
4
+ const Y = (a, b) => (a.install = (s) => {
5
+ for (const e of [a, ...Object.values({})])
6
6
  s.component(e.name, e);
7
- }, o);
7
+ }, a);
8
8
  /*! Element Plus Icons Vue v2.3.1 */
9
9
  var pe = /* @__PURE__ */ A({
10
10
  name: "DCaret",
11
11
  __name: "d-caret",
12
- setup(o) {
12
+ setup(a) {
13
13
  return (b, s) => (r(), f("svg", {
14
14
  xmlns: "http://www.w3.org/2000/svg",
15
15
  viewBox: "0 0 1024 1024"
@@ -21,8 +21,8 @@ var pe = /* @__PURE__ */ A({
21
21
  ]));
22
22
  }
23
23
  }), ve = pe;
24
- const q = (o, b) => {
25
- const s = o.__vccOpts || o;
24
+ const q = (a, b) => {
25
+ const s = a.__vccOpts || a;
26
26
  for (const [e, c] of b)
27
27
  s[e] = c;
28
28
  return s;
@@ -62,8 +62,8 @@ const q = (o, b) => {
62
62
  iconClass: { default: "" }
63
63
  },
64
64
  emits: ["click", "mouseenter", "mouseleave", "dblclick"],
65
- setup(o, { emit: b }) {
66
- const s = o, e = T(() => s), c = T(() => {
65
+ setup(a, { emit: b }) {
66
+ const s = a, e = T(() => s), c = T(() => {
67
67
  const { name: t } = e.value;
68
68
  return /^http?:\/\//.test(t) ? "img" : /i-[^:]+:[^:]+/.test(t) ? "unocss" : t != null && t.startsWith("iksig") ? "iksig" : t != null && t.includes(":") ? "iconify" : t != null && t.startsWith("iksvg") ? "svg" : "i";
69
69
  }), d = T(() => {
@@ -81,7 +81,7 @@ const q = (o, b) => {
81
81
  break;
82
82
  }
83
83
  e.value.rotate && t.push(`rotate(${e.value.rotate % 360}deg)`);
84
- const a = {
84
+ const o = {
85
85
  ...e.value.color && { color: e.value.color },
86
86
  ...e.value.size && { fontSize: typeof e.value.size == "number" ? `${e.value.size}px` : e.value.size },
87
87
  ...t.length && { transform: t.join(" ") },
@@ -91,7 +91,7 @@ const q = (o, b) => {
91
91
  "--ik-icon-shallow-color": e.value.colorLight || ce.setOpacity(e.value.color, e.value.opacity)
92
92
  } : {}
93
93
  };
94
- return e.value.width && (a.width = a.height = typeof e.value.width == "number" ? `${e.value.width}px` : e.value.width), a;
94
+ return e.value.width && (o.width = o.height = typeof e.value.width == "number" ? `${e.value.width}px` : e.value.width), o;
95
95
  }), h = b, M = (t) => {
96
96
  h("click", t);
97
97
  }, I = (t) => {
@@ -101,21 +101,21 @@ const q = (o, b) => {
101
101
  }, k = (t) => {
102
102
  h("dblclick", t);
103
103
  };
104
- return (t, a) => {
104
+ return (t, o) => {
105
105
  const L = z("el-tooltip"), O = z("el-button");
106
106
  return r(), f(
107
107
  "i",
108
108
  {
109
109
  class: B(["ik-svg-icon ik-icon relative h-[1em] w-[1em] inline-flex items-center justify-center fill-current leading-[1em] transition", {
110
- [t.iconClass]: !0,
111
- [t.name]: c.value === "unocss",
110
+ [a.iconClass]: !0,
111
+ [a.name]: c.value === "unocss",
112
112
  "show-bg": e.value.showBg || e.value.bg,
113
113
  default: e.value.size === "default",
114
114
  small: e.value.size === "small",
115
115
  big: e.value.size === "big",
116
116
  warning: e.value.warning || e.value.type === "warning",
117
117
  primary: e.value.primary || e.value.type === "primary",
118
- success: t.success || e.value.type === "success",
118
+ success: a.success || e.value.type === "success",
119
119
  error: e.value.error || e.value.type === "error",
120
120
  active: e.value.active,
121
121
  disabled: e.value.disabled
@@ -381,8 +381,8 @@ const q = (o, b) => {
381
381
  __name: "IkDragList",
382
382
  props: Se,
383
383
  emits: ["change"],
384
- setup(o, { emit: b }) {
385
- const s = o, e = b, c = V([]);
384
+ setup(a, { emit: b }) {
385
+ const s = a, e = b, c = V([]);
386
386
  Z(
387
387
  () => s.list,
388
388
  (p) => {
@@ -415,7 +415,7 @@ const q = (o, b) => {
415
415
  const t = z("el-icon");
416
416
  return r(), D(w(de), {
417
417
  modelValue: c.value,
418
- "onUpdate:modelValue": k[0] || (k[0] = (a) => c.value = a),
418
+ "onUpdate:modelValue": k[0] || (k[0] = (o) => c.value = o),
419
419
  class: B(["list-group", [d.value.groupClass]]),
420
420
  tag: "ul",
421
421
  attrs: d.value,
@@ -428,7 +428,7 @@ const q = (o, b) => {
428
428
  onStart: M,
429
429
  onEnd: I
430
430
  }, {
431
- item: m(({ element: a }) => [
431
+ item: m(({ element: o }) => [
432
432
  C(
433
433
  ne,
434
434
  {
@@ -439,7 +439,7 @@ const q = (o, b) => {
439
439
  default: m(() => [
440
440
  p.$slots.item ? G(p.$slots, "item", {
441
441
  key: 0,
442
- item: a
442
+ item: o
443
443
  }, void 0, !0) : (r(), f(
444
444
  "li",
445
445
  {
@@ -460,7 +460,7 @@ const q = (o, b) => {
460
460
  /* STABLE */
461
461
  })) : G(p.$slots, "icon", { key: 1 }, void 0, !0),
462
462
  $(
463
- " " + N(a.label),
463
+ " " + N(o.label),
464
464
  1
465
465
  /* TEXT */
466
466
  )
@@ -521,7 +521,7 @@ const q = (o, b) => {
521
521
  config: {
522
522
  type: Object,
523
523
  default: () => ({
524
- t: (o) => o,
524
+ t: (a) => a,
525
525
  dialog: {
526
526
  l: "700px",
527
527
  sl: "600px"
@@ -540,28 +540,28 @@ const q = (o, b) => {
540
540
  modelModifiers: {}
541
541
  }),
542
542
  emits: /* @__PURE__ */ J(["sort"], ["update:modelValue"]),
543
- setup(o, { emit: b }) {
544
- const s = o, e = b, c = se(o, "modelValue"), { t: d, dialog: h, path: M, user: I } = s.config, p = T(() => `${I == null ? void 0 : I.id}_${M}${s.tab !== "" ? `_${s.tab}` : ""}`), k = V([]), t = V([]), a = V([]), L = /* @__PURE__ */ new Map(), O = V(!1), ee = T(() => {
543
+ setup(a, { emit: b }) {
544
+ const s = a, e = b, c = se(a, "modelValue"), { t: d, dialog: h, path: M, user: I } = s.config, p = T(() => `${I == null ? void 0 : I.id}_${M}${s.tab !== "" ? `_${s.tab}` : ""}`), k = V([]), t = V([]), o = V([]), L = /* @__PURE__ */ new Map(), O = V(!1), ee = T(() => {
545
545
  const i = t.value.length && t.value.length !== s.list.length;
546
546
  return !i && t.value.length && (O.value = !0), !!i;
547
547
  }), U = (i) => {
548
548
  var u;
549
- const l = S.cloneDeep(a.value);
549
+ const l = S.cloneDeep(o.value);
550
550
  l == null || l.forEach((n) => {
551
551
  var _;
552
552
  if (!t.value.length)
553
- a.value = [];
553
+ o.value = [];
554
554
  else if (!t.value.includes(n == null ? void 0 : n.key)) {
555
- const y = (_ = a.value) == null ? void 0 : _.findIndex((v) => v.key === n.key);
556
- y !== -1 && a.value.splice(y, 1), n.show = !1, L.set(n.key, n);
555
+ const y = (_ = o.value) == null ? void 0 : _.findIndex((v) => v.key === n.key);
556
+ y !== -1 && o.value.splice(y, 1), n.show = !1, L.set(n.key, n);
557
557
  }
558
558
  }), t.value.forEach((n) => {
559
559
  var y;
560
- if (((y = a.value) == null ? void 0 : y.findIndex((v) => (v == null ? void 0 : v.key) === n)) === -1) {
560
+ if (((y = o.value) == null ? void 0 : y.findIndex((v) => (v == null ? void 0 : v.key) === n)) === -1) {
561
561
  const v = L.get(n);
562
- v && (v.show = !0, a.value.push(v));
562
+ v && (v.show = !0, o.value.push(v));
563
563
  }
564
- }), (u = a.value) != null && u.length || (a.value = S.cloneDeep(s.list)), i === !0 && (e("sort", S.cloneDeep(a.value)), c.value = S.cloneDeep(a.value));
564
+ }), (u = o.value) != null && u.length || (o.value = S.cloneDeep(s.list)), i === !0 && (e("sort", S.cloneDeep(o.value)), c.value = S.cloneDeep(o.value));
565
565
  }, te = (i) => {
566
566
  if (i)
567
567
  t.value = s.list.map((l) => l.key);
@@ -608,11 +608,11 @@ const q = (o, b) => {
608
608
  const E = V(!1), R = () => {
609
609
  E.value = !0;
610
610
  }, le = (i) => {
611
- a.value = i;
611
+ o.value = i;
612
612
  }, ae = () => {
613
613
  E.value = !1, H.local.setItem(
614
614
  p.value,
615
- a.value.map(({ show: i, key: l, label: u, value: n, width: _, minWidth: y, align: v }) => ({
615
+ o.value.map(({ show: i, key: l, label: u, value: n, width: _, minWidth: y, align: v }) => ({
616
616
  show: i,
617
617
  key: l,
618
618
  label: u,
@@ -621,7 +621,7 @@ const q = (o, b) => {
621
621
  minWidth: y,
622
622
  align: v
623
623
  }))
624
- ), e("sort", S.cloneDeep(a.value)), c.value = S.cloneDeep(a.value);
624
+ ), e("sort", S.cloneDeep(o.value)), c.value = S.cloneDeep(o.value);
625
625
  };
626
626
  return (i, l) => {
627
627
  const u = z("el-button"), n = z("el-checkbox"), _ = z("el-checkbox-group"), y = z("el-dialog"), v = ie("role");
@@ -629,10 +629,10 @@ const q = (o, b) => {
629
629
  F,
630
630
  null,
631
631
  [
632
- o.btnType === "button" ? K((r(), D(u, P({ key: 0 }, i.$attrs, {
633
- circle: o.circle,
634
- type: o.type,
635
- style: { minWidth: o.circle ? "40px" : "", minHeight: o.circle ? "40px" : "" },
632
+ a.btnType === "button" ? K((r(), D(u, P({ key: 0 }, i.$attrs, {
633
+ circle: a.circle,
634
+ type: a.type,
635
+ style: { minWidth: a.circle ? "40px" : "", minHeight: a.circle ? "40px" : "" },
636
636
  onClick: R
637
637
  }), ue({
638
638
  icon: m(() => [
@@ -641,13 +641,13 @@ const q = (o, b) => {
641
641
  { class: "ik ik-shezhi" },
642
642
  null,
643
643
  -1
644
- /* HOISTED */
644
+ /* CACHED */
645
645
  ))
646
646
  ]),
647
647
  _: 2
648
648
  /* DYNAMIC */
649
649
  }, [
650
- o.circle ? void 0 : {
650
+ a.circle ? void 0 : {
651
651
  name: "default",
652
652
  fn: m(() => [
653
653
  j(' {{ t("action.setting") }} '),
@@ -662,7 +662,7 @@ const q = (o, b) => {
662
662
  ]), 1040, ["circle", "type", "style"])), [
663
663
  [v, i.$props.role]
664
664
  ]) : j("v-if", !0),
665
- o.btnType === "icon" ? K((r(), D(
665
+ a.btnType === "icon" ? K((r(), D(
666
666
  w(we),
667
667
  P({
668
668
  key: 1,
@@ -680,7 +680,7 @@ const q = (o, b) => {
680
680
  modelValue: E.value,
681
681
  "onUpdate:modelValue": l[3] || (l[3] = (g) => E.value = g),
682
682
  draggable: "",
683
- width: o.inline ? w(h).l : w(h).sl,
683
+ width: a.inline ? w(h).l : w(h).sl,
684
684
  "close-on-click-modal": !1,
685
685
  "close-on-press-escape": !1,
686
686
  title: "显示字段",
@@ -705,12 +705,12 @@ const q = (o, b) => {
705
705
  }),
706
706
  C(u, {
707
707
  type: "primary",
708
- disabled: a.value.length < 2,
708
+ disabled: o.value.length < 2,
709
709
  onClick: ae
710
710
  }, {
711
711
  default: m(() => [
712
712
  $(
713
- N(a.value.length < 2 ? "至少选择一个字段" : w(d)("确定")),
713
+ N(o.value.length < 2 ? "至少选择一个字段" : w(d)("确定")),
714
714
  1
715
715
  /* TEXT */
716
716
  )
@@ -724,13 +724,13 @@ const q = (o, b) => {
724
724
  x(
725
725
  "div",
726
726
  {
727
- class: B(["view-fields", [o.inline ? null : "un-inline"]])
727
+ class: B(["view-fields", [a.inline ? null : "un-inline"]])
728
728
  },
729
729
  [
730
730
  x(
731
731
  "div",
732
732
  {
733
- style: X({ flex: o.inline ? 2 : 1 })
733
+ style: X({ flex: a.inline ? 2 : 1 })
734
734
  },
735
735
  [
736
736
  C(n, {
@@ -740,9 +740,13 @@ const q = (o, b) => {
740
740
  indeterminate: ee.value,
741
741
  onChange: te
742
742
  }, {
743
- default: m(() => l[5] || (l[5] = [
744
- $(" 全选 ")
745
- ])),
743
+ default: m(() => [...l[5] || (l[5] = [
744
+ $(
745
+ " 全选 ",
746
+ -1
747
+ /* CACHED */
748
+ )
749
+ ])]),
746
750
  _: 1
747
751
  /* STABLE */
748
752
  }, 8, ["modelValue", "indeterminate"]),
@@ -783,7 +787,7 @@ const q = (o, b) => {
783
787
  ),
784
788
  x("div", Ie, [
785
789
  C(w(Be), {
786
- list: a.value,
790
+ list: o.value,
787
791
  "item-style": { bottom: 4 },
788
792
  onChange: le
789
793
  }, null, 8, ["list"])