iking-web-ui-pro 1.2.4 → 1.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 (123) hide show
  1. package/dist/IkApprovalProcess/ik.index.es.js +159 -156
  2. package/dist/IkApprovalProcess/iking-web-ui-pro.css +1 -1
  3. package/dist/IkApprovalProcessDetail/ik.index.es.js +4259 -4078
  4. package/dist/IkApprovalProcessDetail/iking-web-ui-pro.css +1 -1
  5. package/dist/IkAutoCard/ik.index.es.js +2 -2
  6. package/dist/IkBaseDialog/ik.index.es.js +15 -15
  7. package/dist/IkBaseDialog/iking-web-ui-pro.css +1 -1
  8. package/dist/IkBottomOperate/ik.index.es.js +1 -1
  9. package/dist/IkBtnContent/ik.index.es.js +21 -21
  10. package/dist/IkBtnSetting/ik.index.es.js +25 -25
  11. package/dist/IkBtnSetting/iking-web-ui-pro.css +1 -1
  12. package/dist/IkCalendar/ik.index.es.js +2145 -2093
  13. package/dist/IkCalendar/iking-web-ui-pro.css +1 -1
  14. package/dist/IkCollapseCard/ik.index.es.js +6 -6
  15. package/dist/IkCollapseCard/iking-web-ui-pro.css +1 -1
  16. package/dist/IkCurrencyInput/ik.index.es.js +5 -5
  17. package/dist/IkDescription/ik.index.es.js +4219 -4038
  18. package/dist/IkDescription/iking-web-ui-pro.css +1 -1
  19. package/dist/IkDetailPreviewFiles/ik.index.es.js +4339 -4158
  20. package/dist/IkDetailPreviewFiles/iking-web-ui-pro.css +1 -1
  21. package/dist/IkDragList/ik.index.es.js +11 -11
  22. package/dist/IkDragList/iking-web-ui-pro.css +1 -1
  23. package/dist/IkEmpty/ik.index.es.js +6 -6
  24. package/dist/IkEmpty/iking-web-ui-pro.css +1 -1
  25. package/dist/IkExpandCollapse/ik.index.es.js +11 -11
  26. package/dist/IkExpandCollapse/iking-web-ui-pro.css +1 -1
  27. package/dist/IkFileIcon/ik.index.es.js +13 -13
  28. package/dist/IkHorizontalStepBar/ik.index.es.js +54 -54
  29. package/dist/IkHorizontalStepBar/iking-web-ui-pro.css +1 -1
  30. package/dist/IkIconPicker/ik.index.es.js +8 -8
  31. package/dist/IkIconPicker/iking-web-ui-pro.css +1 -1
  32. package/dist/IkImageUploadEditor/ik.index.es.js +3469 -3312
  33. package/dist/IkImageUploadEditor/iking-web-ui-pro.css +2 -2
  34. package/dist/IkImageViewer/ik.index.es.js +180 -180
  35. package/dist/IkMonacoEditor/ik.index.es.js +221 -206
  36. package/dist/IkMonacoEditor/iking-web-ui-pro.css +1 -1
  37. package/dist/IkOnlyOffice/ik.index.es.js +3 -3
  38. package/dist/IkPageFull/ik.index.es.js +328 -325
  39. package/dist/IkPageFull/iking-web-ui-pro.css +1 -1
  40. package/dist/IkPageTabs/ik.index.es.js +7 -7
  41. package/dist/IkPageTabs/iking-web-ui-pro.css +1 -1
  42. package/dist/IkPickerUser/ik.index.es.js +233 -230
  43. package/dist/IkPickerUser/iking-web-ui-pro.css +1 -1
  44. package/dist/IkPlayer/ik.index.es.js +1325 -1144
  45. package/dist/IkPlayer/iking-web-ui-pro.css +1 -1
  46. package/dist/IkPreviewFile/ik.index.es.js +4289 -4108
  47. package/dist/IkPreviewFile/iking-web-ui-pro.css +1 -1
  48. package/dist/IkPreviewFileDialog/ik.index.es.js +4286 -4105
  49. package/dist/IkPreviewFileDialog/iking-web-ui-pro.css +1 -1
  50. package/dist/IkPrint/ik.index.es.js +106 -106
  51. package/dist/IkPrint/iking-web-ui-pro.css +1 -1
  52. package/dist/{index.es-AZOLYppY.mjs → IkPrint/index.es-DDNCkl-c.mjs} +1137 -1116
  53. package/dist/IkPrint/{jspdf.es.min-ByQMz4Ps.mjs → jspdf.es.min-DLP80Gi4.mjs} +3153 -3140
  54. package/dist/IkPrint/purify.es-D5dazAgD.mjs +553 -0
  55. package/dist/IkPrintConfig/ik.index.es.js +3 -3
  56. package/dist/IkPrintView/ik.index.es.js +1 -1
  57. package/dist/IkRadioGroup/ik.index.es.js +7 -7
  58. package/dist/IkRadioGroup/iking-web-ui-pro.css +1 -1
  59. package/dist/IkSearch/ik.index.es.js +293 -290
  60. package/dist/IkSearch/iking-web-ui-pro.css +1 -1
  61. package/dist/IkSearchHead/ik.index.es.js +25 -25
  62. package/dist/IkSearchHead/iking-web-ui-pro.css +1 -1
  63. package/dist/IkSelectTag/ik.index.es.js +23 -23
  64. package/dist/IkSelectTag/iking-web-ui-pro.css +1 -1
  65. package/dist/IkSideText/ik.index.es.js +42 -39
  66. package/dist/IkSideText/iking-web-ui-pro.css +1 -1
  67. package/dist/IkStatu/ik.index.es.js +4 -4
  68. package/dist/IkStatu/iking-web-ui-pro.css +1 -1
  69. package/dist/IkStatuOver/ik.index.es.js +3 -3
  70. package/dist/IkStatuOver/iking-web-ui-pro.css +1 -1
  71. package/dist/IkSvgIcon/ik.index.es.js +23 -23
  72. package/dist/IkSvgIcon/iking-web-ui-pro.css +1 -1
  73. package/dist/IkTemplateOfficeConfig/ik.index.es.js +1 -1
  74. package/dist/IkTinymce/ik.index.es.js +9005 -9004
  75. package/dist/IkTinymce/iking-web-ui-pro.css +1 -1
  76. package/dist/IkTooltip/ik.index.es.js +2 -2
  77. package/dist/IkTree/ik.index.es.js +31 -31
  78. package/dist/IkTree/iking-web-ui-pro.css +1 -1
  79. package/dist/IkUploadFile/ik.index.es.js +4538 -4354
  80. package/dist/IkUploadFile/iking-web-ui-pro.css +1 -1
  81. package/dist/IkUploadImage/ik.index.es.js +418 -416
  82. package/dist/IkUploadImage/iking-web-ui-pro.css +1 -1
  83. package/dist/IkVerticalStepBar/ik.index.es.js +15 -15
  84. package/dist/IkVerticalStepBar/iking-web-ui-pro.css +1 -1
  85. package/dist/Provider/ik.index.es.js +14 -10
  86. package/dist/iking-web-ui-pro.css +2 -2
  87. package/dist/{index-CSH3eGvq.mjs → index-Cba2fjdk.mjs} +38137 -37734
  88. package/dist/{IkPrint/index.es-DzGIwinU.mjs → index.es-DqdRfgV4.mjs} +1135 -1120
  89. package/dist/index.es.js +1 -1
  90. package/dist/index.umd.js +234 -233
  91. package/dist/{jspdf.es.min-WuSENyiA.mjs → jspdf.es.min-DsM3mxSl.mjs} +3153 -3140
  92. package/dist/purify.es-D5dazAgD.mjs +553 -0
  93. package/dist/src/components/IkBtnContent/index.d.ts +1 -1
  94. package/dist/src/components/IkBtnContent/src/index.d.ts +1 -1
  95. package/dist/src/components/IkDragList/index.d.ts +6 -6
  96. package/dist/src/components/IkDragList/src/IkDragList.vue.d.ts +2 -2
  97. package/dist/src/components/IkMonacoEditor/index.d.ts +8 -8
  98. package/dist/src/components/IkMonacoEditor/src/index.vue.d.ts +8 -8
  99. package/dist/src/components/IkPageFull/src/IkDialog.d.ts +2 -2
  100. package/dist/src/components/IkPickerUser/index.d.ts +1 -1
  101. package/dist/src/components/IkPickerUser/src/list/utils.d.ts +3 -1
  102. package/dist/src/components/IkPickerUser/src/picker.vue.d.ts +1 -1
  103. package/dist/src/components/IkSideText/IkSideText.vue.d.ts +2 -2
  104. package/dist/src/components/IkSideText/index.d.ts +2 -2
  105. package/dist/src/components/IkStatu/index.d.ts +3 -3
  106. package/dist/src/components/IkStatu/src/index.vue.d.ts +3 -3
  107. package/dist/src/components/IkSvgIcon/index.d.ts +8 -8
  108. package/dist/src/components/IkTinymce/index.d.ts +2 -2
  109. package/dist/src/components/IkTinymce/src/index.vue.d.ts +2 -2
  110. package/dist/src/components/IkTooltip/index.d.ts +3 -3
  111. package/dist/src/components/IkTooltip/src/index.vue.d.ts +1 -1
  112. package/dist/src/components/IkTree/IkTree.vue.d.ts +3440 -888
  113. package/dist/src/components/IkTree/index.d.ts +11004 -3348
  114. package/dist/src/components/IkUploadFile/index.d.ts +3 -3
  115. package/dist/src/components/IkUploadFile/src/index.vue.d.ts +2 -2
  116. package/dist/src/components/IkUploadImage/index.d.ts +6 -6
  117. package/dist/src/components/IkUploadImage/src/index.vue.d.ts +3 -3
  118. package/dist/src/components/Provider/ProviderConfig.vue.d.ts +9 -0
  119. package/dist/src/components/Provider/index.d.ts +15 -0
  120. package/dist/src/utils/use-provider.d.ts +1 -0
  121. package/package.json +1 -1
  122. package/dist/IkPrint/purify.es-Bb-cVdCo.mjs +0 -536
  123. package/dist/purify.es-Bb-cVdCo.mjs +0 -536
@@ -1,11 +1,11 @@
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";
1
+ import { defineComponent as A, openBlock as r, createElementBlock as f, createElementVNode as x, computed as T, resolveComponent as z, normalizeStyle as X, normalizeClass as B, 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 _, createVNode as C, Transition as ne, renderSlot as G, useModel as se, resolveDirective as ie, withDirectives as J, createSlots as ue, createCommentVNode as j, renderList as re, mergeModels as K } from "vue";
2
2
  import { ikColor as ce, _ as S, ikStore as H } from "iking-utils-pro";
3
3
  import de from "vuedraggable";
4
4
  const Y = (a, b) => (a.install = (s) => {
5
5
  for (const e of [a, ...Object.values({})])
6
6
  s.component(e.name, e);
7
7
  }, a);
8
- /*! Element Plus Icons Vue v2.3.1 */
8
+ /*! Element Plus Icons Vue v2.3.2 */
9
9
  var pe = /* @__PURE__ */ A({
10
10
  name: "DCaret",
11
11
  __name: "d-caret",
@@ -226,7 +226,7 @@ const q = (a, b) => {
226
226
  );
227
227
  };
228
228
  }
229
- }), _e = /* @__PURE__ */ q(be, [["__scopeId", "data-v-d5c74053"]]), we = Y(_e), Q = {
229
+ }), we = /* @__PURE__ */ q(be, [["__scopeId", "data-v-9ebb0a94"]]), _e = Y(we), Q = {
230
230
  animation: 200,
231
231
  group: "gl",
232
232
  disabled: !1,
@@ -413,7 +413,7 @@ const q = (a, b) => {
413
413
  };
414
414
  return (p, k) => {
415
415
  const t = z("el-icon");
416
- return r(), D(w(de), {
416
+ return r(), D(_(de), {
417
417
  modelValue: c.value,
418
418
  "onUpdate:modelValue": k[0] || (k[0] = (o) => c.value = o),
419
419
  class: B(["list-group", [d.value.groupClass]]),
@@ -454,7 +454,7 @@ const q = (a, b) => {
454
454
  [
455
455
  d.value.showIcon && !p.$slots.icon ? (r(), D(t, { key: 0 }, {
456
456
  default: m(() => [
457
- C(w(ve))
457
+ C(_(ve))
458
458
  ]),
459
459
  _: 1
460
460
  /* STABLE */
@@ -481,9 +481,9 @@ const q = (a, b) => {
481
481
  }, 8, ["modelValue", "class", "attrs", "animation", "group", "disabled", "ghost-class", "force-fallback"]);
482
482
  };
483
483
  }
484
- }), xe = /* @__PURE__ */ q(Ce, [["__scopeId", "data-v-3716c05e"]]), Be = Y(xe), Ie = { class: "check-right" }, $e = { class: "dialog-footer" }, Ve = /* @__PURE__ */ A({
484
+ }), xe = /* @__PURE__ */ q(Ce, [["__scopeId", "data-v-4a642ae7"]]), Be = Y(xe), Ie = { class: "check-right" }, $e = { class: "dialog-footer" }, Ve = /* @__PURE__ */ A({
485
485
  __name: "IkBtnSetting",
486
- props: /* @__PURE__ */ J({
486
+ props: /* @__PURE__ */ K({
487
487
  list: {
488
488
  type: Array,
489
489
  default: () => []
@@ -539,7 +539,7 @@ const q = (a, b) => {
539
539
  },
540
540
  modelModifiers: {}
541
541
  }),
542
- emits: /* @__PURE__ */ J(["sort"], ["update:modelValue"]),
542
+ emits: /* @__PURE__ */ K(["sort"], ["update:modelValue"]),
543
543
  setup(a, { emit: b }) {
544
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;
@@ -548,11 +548,11 @@ const q = (a, b) => {
548
548
  var u;
549
549
  const l = S.cloneDeep(o.value);
550
550
  l == null || l.forEach((n) => {
551
- var _;
551
+ var w;
552
552
  if (!t.value.length)
553
553
  o.value = [];
554
554
  else if (!t.value.includes(n == null ? void 0 : n.key)) {
555
- const y = (_ = o.value) == null ? void 0 : _.findIndex((v) => v.key === n.key);
555
+ const y = (w = o.value) == null ? void 0 : w.findIndex((v) => v.key === n.key);
556
556
  y !== -1 && o.value.splice(y, 1), n.show = !1, L.set(n.key, n);
557
557
  }
558
558
  }), t.value.forEach((n) => {
@@ -576,9 +576,9 @@ const q = (a, b) => {
576
576
  const l = S.cloneDeep(s == null ? void 0 : s.list);
577
577
  if ((!i || !(i != null && i.length)) && H.local.setItem(
578
578
  p.value,
579
- l.map(({ show: u, type: n, key: _, label: y, width: v, minWidth: g, align: oe }) => ({
579
+ l.map(({ show: u, type: n, key: w, label: y, width: v, minWidth: g, align: oe }) => ({
580
580
  show: u,
581
- key: _,
581
+ key: w,
582
582
  type: n,
583
583
  label: y,
584
584
  width: v,
@@ -612,24 +612,24 @@ const q = (a, b) => {
612
612
  }, ae = () => {
613
613
  E.value = !1, H.local.setItem(
614
614
  p.value,
615
- o.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: w, minWidth: y, align: v }) => ({
616
616
  show: i,
617
617
  key: l,
618
618
  label: u,
619
619
  value: n,
620
- width: _,
620
+ width: w,
621
621
  minWidth: y,
622
622
  align: v
623
623
  }))
624
624
  ), e("sort", S.cloneDeep(o.value)), c.value = S.cloneDeep(o.value);
625
625
  };
626
626
  return (i, l) => {
627
- const u = z("el-button"), n = z("el-checkbox"), _ = z("el-checkbox-group"), y = z("el-dialog"), v = ie("role");
627
+ const u = z("el-button"), n = z("el-checkbox"), w = z("el-checkbox-group"), y = z("el-dialog"), v = ie("role");
628
628
  return r(), f(
629
629
  F,
630
630
  null,
631
631
  [
632
- a.btnType === "button" ? K((r(), D(u, P({ key: 0 }, i.$attrs, {
632
+ a.btnType === "button" ? J((r(), D(u, P({ key: 0 }, i.$attrs, {
633
633
  circle: a.circle,
634
634
  type: a.type,
635
635
  style: { minWidth: a.circle ? "40px" : "", minHeight: a.circle ? "40px" : "" },
@@ -652,7 +652,7 @@ const q = (a, b) => {
652
652
  fn: m(() => [
653
653
  j(' {{ t("action.setting") }} '),
654
654
  $(
655
- " " + N(w(d)("设置")),
655
+ " " + N(_(d)("设置")),
656
656
  1
657
657
  /* TEXT */
658
658
  )
@@ -662,8 +662,8 @@ const q = (a, b) => {
662
662
  ]), 1040, ["circle", "type", "style"])), [
663
663
  [v, i.$props.role]
664
664
  ]) : j("v-if", !0),
665
- a.btnType === "icon" ? K((r(), D(
666
- w(we),
665
+ a.btnType === "icon" ? J((r(), D(
666
+ _(_e),
667
667
  P({
668
668
  key: 1,
669
669
  name: "iksvg_shezhi-daohang",
@@ -680,7 +680,7 @@ const q = (a, b) => {
680
680
  modelValue: E.value,
681
681
  "onUpdate:modelValue": l[3] || (l[3] = (g) => E.value = g),
682
682
  draggable: "",
683
- width: a.inline ? w(h).l : w(h).sl,
683
+ width: a.inline ? _(h).l : _(h).sl,
684
684
  "close-on-click-modal": !1,
685
685
  "close-on-press-escape": !1,
686
686
  title: "显示字段",
@@ -694,7 +694,7 @@ const q = (a, b) => {
694
694
  }, {
695
695
  default: m(() => [
696
696
  $(
697
- N(w(d)("关闭")) + " ",
697
+ N(_(d)("关闭")) + " ",
698
698
  1
699
699
  /* TEXT */
700
700
  ),
@@ -710,7 +710,7 @@ const q = (a, b) => {
710
710
  }, {
711
711
  default: m(() => [
712
712
  $(
713
- N(o.value.length < 2 ? "至少选择一个字段" : w(d)("确定")),
713
+ N(o.value.length < 2 ? "至少选择一个字段" : _(d)("确定")),
714
714
  1
715
715
  /* TEXT */
716
716
  )
@@ -750,7 +750,7 @@ const q = (a, b) => {
750
750
  _: 1
751
751
  /* STABLE */
752
752
  }, 8, ["modelValue", "indeterminate"]),
753
- C(_, {
753
+ C(w, {
754
754
  modelValue: t.value,
755
755
  "onUpdate:modelValue": l[1] || (l[1] = (g) => t.value = g),
756
756
  onChange: U
@@ -786,7 +786,7 @@ const q = (a, b) => {
786
786
  /* STYLE */
787
787
  ),
788
788
  x("div", Ie, [
789
- C(w(Be), {
789
+ C(_(Be), {
790
790
  list: o.value,
791
791
  "item-style": { bottom: 4 },
792
792
  onChange: le
@@ -806,7 +806,7 @@ const q = (a, b) => {
806
806
  );
807
807
  };
808
808
  }
809
- }), ze = /* @__PURE__ */ q(Ve, [["__scopeId", "data-v-b5ed17ed"]]), Me = Y(ze);
809
+ }), ze = /* @__PURE__ */ q(Ve, [["__scopeId", "data-v-f2f41a7c"]]), Me = Y(ze);
810
810
  export {
811
811
  Me as IkBtnSetting,
812
812
  Me as default
@@ -1 +1 @@
1
- .row-title[data-v-d5c74053]{display:flex}.ik-svg-icon.ik-icon-span[data-v-d5c74053]:not(:first-child){margin-left:var(--ik-margin-8)}.ghost[data-v-3716c05e]{opacity:.9;background:var(--el-color-primary)!important;color:var(--el-color-white)}.list-group[data-v-3716c05e]{height:100%;width:100%;color:var(--el-text-color-regular);transition:all .25s}.list-group-item[data-v-3716c05e]{cursor:move;border-radius:4px;background:var(--el-color-primary-light-9);margin-bottom:var(--base-m);padding:var(--base-p);-webkit-user-select:none;user-select:none;display:flex;align-items:center}.list-group-item[data-v-3716c05e]:hover{background:var(--el-color-primary-light-7)!important}.list-group-item i[data-v-3716c05e]{margin-right:calc(var(--base-m) / 2);cursor:pointer}.view-fields.un-inline .el-checkbox[data-v-b5ed17ed]{width:100%;background:var(--ik-sub-sidebar-menu-bg);margin:2px 0;padding:8px;border-radius:4px;height:37px}.view-fields[data-v-b5ed17ed]{display:flex;justify-content:space-between;max-height:55vh;overflow-y:auto;overflow-x:hidden}.view-fields .check-right[data-v-b5ed17ed]{margin-top:37px}.view-fields .single-line[data-v-b5ed17ed]{background-color:transparent!important}.view-fields>div[data-v-b5ed17ed]:nth-child(1){padding-right:8px;flex:2;border-right:1px solid var(--el-border-color)}.view-fields>div[data-v-b5ed17ed]:nth-child(2){flex:1;margin-left:8px}.view-fields>div:nth-child(2) .field-sort[data-v-b5ed17ed]{cursor:move;padding:calc(var(--base-p) / 2);color:var(--el-text-color-regular)}.view-fields .el-checkbox[data-v-b5ed17ed]{width:195px;margin-right:0}
1
+ .row-title[data-v-9ebb0a94]{display:flex}.ik-svg-icon.ik-icon-span[data-v-9ebb0a94]:not(:first-child){margin-left:var(--ik-margin-8)}.ghost[data-v-4a642ae7]{opacity:.9;background:var(--el-color-primary)!important;color:var(--el-color-white)}.list-group[data-v-4a642ae7]{height:100%;width:100%;color:var(--el-text-color-regular);transition:all .25s}.list-group-item[data-v-4a642ae7]{cursor:move;border-radius:4px;background:var(--el-color-primary-light-9);margin-bottom:var(--base-m);padding:var(--base-p);-webkit-user-select:none;user-select:none;display:flex;align-items:center}.list-group-item[data-v-4a642ae7]:hover{background:var(--el-color-primary-light-7)!important}.list-group-item i[data-v-4a642ae7]{margin-right:calc(var(--base-m) / 2);cursor:pointer}.view-fields.un-inline .el-checkbox[data-v-f2f41a7c]{width:100%;background:var(--ik-sub-sidebar-menu-bg);margin:2px 0;padding:8px;border-radius:4px;height:37px}.view-fields[data-v-f2f41a7c]{display:flex;justify-content:space-between;max-height:55vh;overflow-y:auto;overflow-x:hidden}.view-fields .check-right[data-v-f2f41a7c]{margin-top:37px}.view-fields .single-line[data-v-f2f41a7c]{background-color:transparent!important}.view-fields>div[data-v-f2f41a7c]:nth-child(1){padding-right:8px;flex:2;border-right:1px solid var(--el-border-color)}.view-fields>div[data-v-f2f41a7c]:nth-child(2){flex:1;margin-left:8px}.view-fields>div:nth-child(2) .field-sort[data-v-f2f41a7c]{cursor:move;padding:calc(var(--base-p) / 2);color:var(--el-text-color-regular)}.view-fields .el-checkbox[data-v-f2f41a7c]{width:195px;margin-right:0}