iking-web-ui-pro 0.2.52 → 0.2.53

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 (197) hide show
  1. package/dist/IKExpandCollapse/ik.index.es.js +3 -3
  2. package/dist/IKExpandCollapse/ik.index.umd.js +1 -1
  3. package/dist/IKExpandCollapse/style.css +1 -1
  4. package/dist/IKHorizontalStepBar/ik.index.es.js +93 -93
  5. package/dist/IKHorizontalStepBar/ik.index.umd.js +1 -1
  6. package/dist/IKPreviewFile/ik.index.es.js +2098 -2017
  7. package/dist/IKPreviewFile/ik.index.umd.js +49 -49
  8. package/dist/IKPreviewFile/style.css +1 -1
  9. package/dist/IKSearch/ik.index.es.js +1035 -1035
  10. package/dist/IKSearch/ik.index.umd.js +2 -2
  11. package/dist/IKVerticalStepBar/ik.index.es.js +3 -3
  12. package/dist/IKVerticalStepBar/ik.index.umd.js +3 -3
  13. package/dist/IKVerticalStepBar/style.css +1 -1
  14. package/dist/{IKApprovalProcess → IkApprovalProcess}/ik.index.es.js +853 -853
  15. package/dist/IkApprovalProcess/ik.index.umd.js +1 -0
  16. package/dist/{IKApprovalProcess → IkApprovalProcess}/style.css +1 -1
  17. package/dist/{IKApprovalProcessDetail → IkApprovalProcessDetail}/ik.index.es.js +2794 -2713
  18. package/dist/IkApprovalProcessDetail/ik.index.umd.js +226 -0
  19. package/dist/IkApprovalProcessDetail/style.css +1 -0
  20. package/dist/IkBaseDialog/ik.index.es.js +4 -4
  21. package/dist/IkBaseDialog/ik.index.umd.js +1 -1
  22. package/dist/IkBaseDialog/style.css +1 -1
  23. package/dist/IkBottomOperate/ik.index.es.js +60 -60
  24. package/dist/IkBottomOperate/ik.index.umd.js +1 -1
  25. package/dist/IkBottomOperate/style.css +1 -1
  26. package/dist/IkBtnContent/style.css +1 -1
  27. package/dist/IkBtnSetting/ik.index.es.js +111 -111
  28. package/dist/IkBtnSetting/ik.index.umd.js +1 -1
  29. package/dist/IkBtnSetting/style.css +1 -1
  30. package/dist/{IKCalendar → IkCalendar}/ik.index.es.js +2372 -2355
  31. package/dist/IkCalendar/ik.index.umd.js +1 -0
  32. package/dist/{IKCalendar → IkCalendar}/style.css +1 -1
  33. package/dist/IkCollapseCard/ik.index.es.js +4 -4
  34. package/dist/IkCollapseCard/ik.index.umd.js +1 -1
  35. package/dist/IkCollapseCard/style.css +1 -1
  36. package/dist/IkDescription/ik.index.es.js +2016 -1935
  37. package/dist/IkDescription/ik.index.umd.js +49 -49
  38. package/dist/IkDescription/style.css +1 -1
  39. package/dist/IkDetailPreviewFiles/ik.index.es.js +2317 -2236
  40. package/dist/IkDetailPreviewFiles/ik.index.umd.js +50 -50
  41. package/dist/IkDetailPreviewFiles/style.css +1 -1
  42. package/dist/IkFileIcon/ik.index.es.js +394 -394
  43. package/dist/IkFileIcon/ik.index.umd.js +1 -1
  44. package/dist/IkFullCalendar/ik.index.es.js +601 -584
  45. package/dist/IkFullCalendar/ik.index.umd.js +1 -1
  46. package/dist/IkIconPicker/ik.index.es.js +3 -3
  47. package/dist/IkIconPicker/ik.index.umd.js +1 -1
  48. package/dist/IkIconPicker/style.css +1 -1
  49. package/dist/IkMonacoEditor/ik.index.es.js +30 -30
  50. package/dist/IkMonacoEditor/ik.index.umd.js +3 -3
  51. package/dist/IkMonacoEditor/style.css +1 -1
  52. package/dist/IkPageFull/ik.index.es.js +1467 -1467
  53. package/dist/IkPageFull/ik.index.umd.js +3 -3
  54. package/dist/IkPageFull/style.css +1 -1
  55. package/dist/IkPickerUser/ik.index.es.js +839 -839
  56. package/dist/IkPickerUser/ik.index.umd.js +1 -1
  57. package/dist/IkPlayer/ik.index.es.js +1062 -981
  58. package/dist/IkPlayer/ik.index.umd.js +52 -52
  59. package/dist/IkPreviewFileDialog/ik.index.es.js +791 -710
  60. package/dist/IkPreviewFileDialog/ik.index.umd.js +50 -50
  61. package/dist/IkPreviewFileDialog/style.css +1 -1
  62. package/dist/IkRadioGroup/ik.index.es.js +5 -5
  63. package/dist/IkRadioGroup/ik.index.umd.js +1 -1
  64. package/dist/IkRadioGroup/style.css +1 -1
  65. package/dist/IkSchedule/ik.index.es.js +1553 -1536
  66. package/dist/IkSchedule/ik.index.umd.js +1 -1
  67. package/dist/IkSchedule/style.css +1 -1
  68. package/dist/IkSideText/ik.index.es.js +29 -29
  69. package/dist/IkSideText/ik.index.umd.js +1 -1
  70. package/dist/IkSideText/style.css +1 -1
  71. package/dist/IkSvgIcon/ik.index.es.js +9 -9
  72. package/dist/IkSvgIcon/ik.index.umd.js +1 -1
  73. package/dist/IkSvgIcon/style.css +1 -1
  74. package/dist/IkTemplateOfficeConfig/ik.index.es.js +108 -108
  75. package/dist/IkTemplateOfficeConfig/ik.index.umd.js +1 -1
  76. package/dist/IkTinymce/ik.index.es.js +26332 -26791
  77. package/dist/IkTinymce/ik.index.umd.js +61 -61
  78. package/dist/IkUploadFile/ik.index.es.js +1341 -1260
  79. package/dist/IkUploadFile/ik.index.umd.js +50 -50
  80. package/dist/IkUploadFile/style.css +1 -1
  81. package/dist/IkUploadImage/ik.index.es.js +278 -278
  82. package/dist/IkUploadImage/ik.index.umd.js +1 -1
  83. package/dist/IkUploadImage/style.css +1 -1
  84. package/dist/index.es.js +37603 -37964
  85. package/dist/index.umd.js +133 -133
  86. package/dist/src/components/IKExpandCollapse/index.d.ts +5 -5
  87. package/dist/src/components/IKExpandCollapse/src/IKExpandCollapse.vue.d.ts +5 -5
  88. package/dist/src/components/IKHorizontalStepBar/index.d.ts +30 -90
  89. package/dist/src/components/IKHorizontalStepBar/src/IKHorizontalStepBar.vue.d.ts +7 -7
  90. package/dist/src/components/IKPreviewFile/index.d.ts +13 -101
  91. package/dist/src/components/IKPreviewFile/src/IkPreviewFile.vue.d.ts +7 -7
  92. package/dist/src/components/IKSearch/index.d.ts +24 -84
  93. package/dist/src/components/IKSearch/src/IKSearch.vue.d.ts +10 -10
  94. package/dist/src/components/IKSearch/src/IkSearchAuto.d.ts +5 -5
  95. package/dist/src/components/IKSearchHead/index.d.ts +5 -5
  96. package/dist/src/components/IKSearchHead/src/IKSearchHead.vue.d.ts +5 -5
  97. package/dist/src/components/IKVerticalStepBar/index.d.ts +5 -5
  98. package/dist/src/components/IKVerticalStepBar/src/IKVerticalStepBar.vue.d.ts +5 -5
  99. package/dist/src/components/IkApprovalProcess/index.d.ts +7 -7
  100. package/dist/src/components/IkApprovalProcess/src/IKApprovalProcess.vue.d.ts +7 -7
  101. package/dist/src/components/IkApprovalProcessDetail/index.d.ts +5 -5
  102. package/dist/src/components/IkApprovalProcessDetail/src/IKApprovalProcessDetail.vue.d.ts +5 -5
  103. package/dist/src/components/IkAutoCard/index.d.ts +6 -12
  104. package/dist/src/components/IkAutoCard/src/IkAutoCard.vue.d.ts +4 -4
  105. package/dist/src/components/IkBaseDialog/index.d.ts +6 -35
  106. package/dist/src/components/IkBaseDialog/src/CloseIcon.vue.d.ts +4 -4
  107. package/dist/src/components/IkBaseDialog/src/IkBaseDialog.vue.d.ts +4 -4
  108. package/dist/src/components/IkBottomOperate/index.d.ts +15 -43
  109. package/dist/src/components/IkBottomOperate/src/IkBottomOperate.vue.d.ts +7 -7
  110. package/dist/src/components/IkBtnContent/index.d.ts +7 -5
  111. package/dist/src/components/IkBtnContent/src/index.d.ts +7 -5
  112. package/dist/src/components/IkBtnSetting/index.d.ts +5 -5
  113. package/dist/src/components/IkBtnSetting/src/IkBtnSetting.vue.d.ts +5 -5
  114. package/dist/src/components/IkCalendar/index.d.ts +5 -5
  115. package/dist/src/components/IkCalendar/src/IKCalendar.vue.d.ts +5 -5
  116. package/dist/src/components/IkCollapseCard/index.d.ts +6 -12
  117. package/dist/src/components/IkCollapseCard/src/index.vue.d.ts +4 -4
  118. package/dist/src/components/IkCurrencyInput/index.d.ts +5 -5
  119. package/dist/src/components/IkCurrencyInput/src/IkCurrencyInput.vue.d.ts +5 -5
  120. package/dist/src/components/IkDescription/index.d.ts +6 -39
  121. package/dist/src/components/IkDescription/src/IkDescription.vue.d.ts +4 -4
  122. package/dist/src/components/IkDetailPreviewFiles/index.d.ts +4 -4
  123. package/dist/src/components/IkDetailPreviewFiles/src/IkDetailPreviewFiles.vue.d.ts +4 -4
  124. package/dist/src/components/IkDragList/index.d.ts +13 -130
  125. package/dist/src/components/IkDragList/src/IkDragList.vue.d.ts +6 -6
  126. package/dist/src/components/IkEmpty/index.d.ts +6 -19
  127. package/dist/src/components/IkEmpty/src/index.vue.d.ts +4 -4
  128. package/dist/src/components/IkFileIcon/index.d.ts +4 -4
  129. package/dist/src/components/IkFileIcon/src/IkFileIcon.vue.d.ts +4 -4
  130. package/dist/src/components/IkFullCalendar/index.d.ts +6 -6
  131. package/dist/src/components/IkIconPicker/index.d.ts +4 -4
  132. package/dist/src/components/IkIconPicker/src/index.vue.d.ts +4 -4
  133. package/dist/src/components/IkMonacoEditor/index.d.ts +167 -10
  134. package/dist/src/components/IkMonacoEditor/src/index.vue.d.ts +167 -10
  135. package/dist/src/components/IkOnlyOffice/index.d.ts +4 -4
  136. package/dist/src/components/IkOnlyOffice/src/IkOnlyOffice.vue.d.ts +4 -4
  137. package/dist/src/components/IkPageFull/index.d.ts +54 -143
  138. package/dist/src/components/IkPageFull/src/IkDialog.d.ts +369 -5
  139. package/dist/src/components/IkPageFull/src/IkPage.vue.d.ts +5 -5
  140. package/dist/src/components/IkPageFull/src/IkPageHead.vue.d.ts +5 -5
  141. package/dist/src/components/IkPageFull/src/IkPageTable.vue.d.ts +8 -8
  142. package/dist/src/components/IkPageFull/src/IkSearchAuto.d.ts +6 -6
  143. package/dist/src/components/IkPageFull/src/index.vue.d.ts +20 -14
  144. package/dist/src/components/IkPageTabs/index.d.ts +13 -38
  145. package/dist/src/components/IkPageTabs/src/IkPageTabs.vue.d.ts +6 -6
  146. package/dist/src/components/IkPickerUser/index.d.ts +10 -10
  147. package/dist/src/components/IkPickerUser/src/avatar/Avatar.vue.d.ts +4 -4
  148. package/dist/src/components/IkPickerUser/src/list/GroupList.vue.d.ts +6 -6
  149. package/dist/src/components/IkPickerUser/src/list/PostList.vue.d.ts +6 -6
  150. package/dist/src/components/IkPickerUser/src/list/RoleList.vue.d.ts +6 -6
  151. package/dist/src/components/IkPickerUser/src/picker.vue.d.ts +10 -10
  152. package/dist/src/components/IkPickerUser/src/svg/close_svg.vue.d.ts +1 -1
  153. package/dist/src/components/IkPickerUser/src/svg/group_svg.vue.d.ts +1 -1
  154. package/dist/src/components/IkPickerUser/src/svg/post_svg.vue.d.ts +1 -1
  155. package/dist/src/components/IkPickerUser/src/svg/role_svg.vue.d.ts +1 -1
  156. package/dist/src/components/IkPickerUser/src/svg/search_svg.vue.d.ts +1 -1
  157. package/dist/src/components/IkPickerUser/src/use-picker-data.d.ts +1 -1
  158. package/dist/src/components/IkPlayer/index.d.ts +10 -26
  159. package/dist/src/components/IkPlayer/src/Player.vue.d.ts +5 -5
  160. package/dist/src/components/IkPreviewFileDialog/index.d.ts +4 -4
  161. package/dist/src/components/IkPreviewFileDialog/src/IkPreviewFileDialog.vue.d.ts +4 -4
  162. package/dist/src/components/IkPrintConfig/index.d.ts +5 -5
  163. package/dist/src/components/IkPrintView/index.d.ts +5 -5
  164. package/dist/src/components/IkRadioGroup/index.d.ts +4 -4
  165. package/dist/src/components/IkRadioGroup/src/index.vue.d.ts +4 -4
  166. package/dist/src/components/IkSchedule/index.d.ts +17 -48
  167. package/dist/src/components/IkSelectTag/index.d.ts +10 -25
  168. package/dist/src/components/IkSelectTag/src/index.vue.d.ts +5 -5
  169. package/dist/src/components/IkSideText/IkLinearIcon.vue.d.ts +4 -4
  170. package/dist/src/components/IkSideText/IkSideText.vue.d.ts +4 -4
  171. package/dist/src/components/IkSideText/index.d.ts +4 -4
  172. package/dist/src/components/IkStatu/index.d.ts +5 -5
  173. package/dist/src/components/IkStatu/src/index.vue.d.ts +5 -5
  174. package/dist/src/components/IkStatuOver/index.d.ts +5 -5
  175. package/dist/src/components/IkStatuOver/src/index.vue.d.ts +5 -5
  176. package/dist/src/components/IkSvgIcon/index.d.ts +12 -12
  177. package/dist/src/components/IkSvgIcon/src/index.vue.d.ts +4 -4
  178. package/dist/src/components/IkTemplateOfficeConfig/index.d.ts +6 -6
  179. package/dist/src/components/IkTinymce/index.d.ts +5 -5
  180. package/dist/src/components/IkTinymce/src/index.vue.d.ts +5 -5
  181. package/dist/src/components/IkTooltip/index.d.ts +6 -19
  182. package/dist/src/components/IkTooltip/src/index.vue.d.ts +4 -4
  183. package/dist/src/components/IkTree/IkTree.vue.d.ts +807 -127
  184. package/dist/src/components/IkTree/index.d.ts +2630 -611
  185. package/dist/src/components/IkUploadFile/index.d.ts +14 -135
  186. package/dist/src/components/IkUploadFile/src/index.vue.d.ts +7 -7
  187. package/dist/src/components/IkUploadImage/index.d.ts +10 -79
  188. package/dist/src/components/IkUploadImage/src/index.vue.d.ts +5 -5
  189. package/dist/src/components/IkUploadImage/src/loading.vue.d.ts +1 -1
  190. package/dist/src/components/Provider/ProviderConfig.vue.d.ts +4 -4
  191. package/dist/src/components/Provider/index.d.ts +6 -27
  192. package/dist/style.css +1 -1
  193. package/package.json +1 -1
  194. package/dist/IKApprovalProcess/ik.index.umd.js +0 -1
  195. package/dist/IKApprovalProcessDetail/ik.index.umd.js +0 -226
  196. package/dist/IKApprovalProcessDetail/style.css +0 -1
  197. package/dist/IKCalendar/ik.index.umd.js +0 -1
@@ -1,20 +1,20 @@
1
- import { defineComponent as F, openBlock as r, createElementBlock as f, createElementVNode as S, computed as L, resolveComponent as D, normalizeClass as w, normalizeStyle as B, createCommentVNode as E, createBlock as N, withCtx as g, createTextVNode as z, toDisplayString as T, ref as V, watch as Z, unref as _, createVNode as C, Transition as ne, renderSlot as q, mergeModels as R, useModel as se, resolveDirective as ie, Fragment as G, withDirectives as J, mergeProps as K, createSlots as ue, renderList as re, pushScopeId as ce, popScopeId as de } from "vue";
2
- import { ikColor as pe, _ as x, ikStore as H } from "iking-utils-pro";
3
- import ve from "vuedraggable";
4
- const P = (l, y) => {
5
- if (l.install = (e) => {
6
- for (const u of [l, ...Object.values(y ?? {})])
1
+ import { defineComponent as F, openBlock as r, createElementBlock as f, createElementVNode as S, computed as L, resolveComponent as D, normalizeClass as w, normalizeStyle as B, createCommentVNode as E, createBlock as N, withCtx as g, createTextVNode as z, toDisplayString as T, ref as V, watch as Z, unref as _, createVNode as C, Transition as ne, renderSlot as q, mergeModels as R, useModel as se, resolveDirective as ie, Fragment as G, withDirectives as J, mergeProps as K, createSlots as ue, renderList as re } from "vue";
2
+ import { ikColor as ce, _ as I, ikStore as H } from "iking-utils-pro";
3
+ import de from "vuedraggable";
4
+ const P = (a, y) => {
5
+ if (a.install = (e) => {
6
+ for (const u of [a, ...Object.values(y ?? {})])
7
7
  e.component(u.name, u);
8
8
  }, y)
9
9
  for (const [e, u] of Object.entries(y))
10
- l[e] = u;
11
- return l;
10
+ a[e] = u;
11
+ return a;
12
12
  };
13
13
  /*! Element Plus Icons Vue v2.3.1 */
14
- var fe = /* @__PURE__ */ F({
14
+ var ve = /* @__PURE__ */ F({
15
15
  name: "DCaret",
16
16
  __name: "d-caret",
17
- setup(l) {
17
+ setup(a) {
18
18
  return (y, e) => (r(), f("svg", {
19
19
  xmlns: "http://www.w3.org/2000/svg",
20
20
  viewBox: "0 0 1024 1024"
@@ -25,24 +25,24 @@ var fe = /* @__PURE__ */ F({
25
25
  })
26
26
  ]));
27
27
  }
28
- }), ge = fe;
29
- const X = (l, y) => {
30
- const e = l.__vccOpts || l;
28
+ }), pe = ve;
29
+ const X = (a, y) => {
30
+ const e = a.__vccOpts || a;
31
31
  for (const [u, c] of y)
32
32
  e[u] = c;
33
33
  return e;
34
- }, me = {
34
+ }, fe = {
35
35
  key: 0,
36
36
  class: "ik-svg-icon ik-icon-span inline-block inline-flex justify-center box-content line-height-[0]"
37
- }, ye = {
37
+ }, ge = {
38
38
  key: 1,
39
39
  class: "h-[1em] w-[1em]",
40
40
  "aria-hidden": "true"
41
- }, he = ["xlink:href"], ke = ["src"], be = {
41
+ }, me = ["xlink:href"], ye = ["src"], he = {
42
42
  key: 1,
43
43
  class: "h-[1em] w-[1em]",
44
44
  "aria-hidden": "true"
45
- }, _e = ["xlink:href"], we = ["src"], Se = /* @__PURE__ */ F({
45
+ }, ke = ["xlink:href"], be = ["src"], _e = /* @__PURE__ */ F({
46
46
  name: "IkSvgIcon",
47
47
  __name: "index",
48
48
  props: {
@@ -68,8 +68,8 @@ const X = (l, y) => {
68
68
  warning: { type: Boolean },
69
69
  width: {}
70
70
  },
71
- setup(l) {
72
- const y = l, e = L(() => y), u = L(() => {
71
+ setup(a) {
72
+ const y = a, e = L(() => y), u = L(() => {
73
73
  const { name: t } = e.value;
74
74
  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";
75
75
  }), c = L(() => {
@@ -94,15 +94,15 @@ const X = (l, y) => {
94
94
  ...t.length && { transform: t.join(" ") },
95
95
  padding: e.value.showBg || e.value.bg ? e.value.padding : 0,
96
96
  ...e.value.color && u.value !== "iksig" ? {
97
- "--ik-color-icon-dark": e.value.color,
98
- "--ik-color-icon-light": e.value.colorLight || pe.setOpacity(e.value.color, e.value.opacity)
97
+ "--ik-icon-deep-color": e.value.color,
98
+ "--ik-icon-shallow-color": e.value.colorLight || ce.setOpacity(e.value.color, e.value.opacity)
99
99
  } : {}
100
100
  };
101
101
  return e.value.width && (k.width = k.height = typeof e.value.width == "number" ? `${e.value.width}px` : e.value.width), k;
102
102
  });
103
103
  return (t, k) => {
104
104
  const O = D("el-tooltip"), $ = D("el-button");
105
- return e.value.tableIconType === "icon" || !e.value.tableIconType ? (r(), f("span", me, [
105
+ return e.value.tableIconType === "icon" || !e.value.tableIconType ? (r(), f("span", fe, [
106
106
  e.value.notip || !e.value.title ? (r(), f(
107
107
  "i",
108
108
  {
@@ -134,15 +134,15 @@ const X = (l, y) => {
134
134
  null,
135
135
  6
136
136
  /* CLASS, STYLE */
137
- )) : u.value === "svg" ? (r(), f("svg", ye, [
137
+ )) : u.value === "svg" ? (r(), f("svg", ge, [
138
138
  S("use", {
139
139
  "xlink:href": `#${e.value.name}`
140
- }, null, 8, he)
140
+ }, null, 8, me)
141
141
  ])) : u.value === "img" ? (r(), f("img", {
142
142
  key: 2,
143
143
  src: e.value.name,
144
144
  class: "h-[1em] w-[1em]"
145
- }, null, 8, ke)) : (r(), f(
145
+ }, null, 8, ye)) : (r(), f(
146
146
  "i",
147
147
  {
148
148
  key: 3,
@@ -190,15 +190,15 @@ const X = (l, y) => {
190
190
  null,
191
191
  6
192
192
  /* CLASS, STYLE */
193
- )) : u.value === "svg" ? (r(), f("svg", be, [
193
+ )) : u.value === "svg" ? (r(), f("svg", he, [
194
194
  S("use", {
195
195
  "xlink:href": `#${e.value.name}`
196
- }, null, 8, _e)
196
+ }, null, 8, ke)
197
197
  ])) : u.value === "img" ? (r(), f("img", {
198
198
  key: 2,
199
199
  src: e.value.name,
200
200
  class: "h-[1em] w-[1em]"
201
- }, null, 8, we)) : (r(), f(
201
+ }, null, 8, be)) : (r(), f(
202
202
  "i",
203
203
  {
204
204
  key: 3,
@@ -234,7 +234,7 @@ const X = (l, y) => {
234
234
  };
235
235
  }
236
236
  });
237
- const Ie = /* @__PURE__ */ X(Se, [["__scopeId", "data-v-52806adf"]]), xe = P(Ie), Q = {
237
+ const we = /* @__PURE__ */ X(_e, [["__scopeId", "data-v-e29a45f8"]]), Se = P(we), Q = {
238
238
  animation: 200,
239
239
  group: "gl",
240
240
  disabled: !1,
@@ -247,7 +247,7 @@ const Ie = /* @__PURE__ */ X(Se, [["__scopeId", "data-v-52806adf"]]), xe = P(Ie)
247
247
  bottom: 8,
248
248
  background: "var(--ik-sub-sidebar-menu-bg)"
249
249
  }
250
- }, Be = {
250
+ }, xe = {
251
251
  list: {
252
252
  required: !0,
253
253
  type: Array,
@@ -385,16 +385,16 @@ const Ie = /* @__PURE__ */ X(Se, [["__scopeId", "data-v-52806adf"]]), xe = P(Ie)
385
385
  }
386
386
  })
387
387
  }
388
- }, Ce = /* @__PURE__ */ F({
388
+ }, Ie = /* @__PURE__ */ F({
389
389
  __name: "IkDragList",
390
- props: Be,
390
+ props: xe,
391
391
  emits: ["change"],
392
- setup(l, { emit: y }) {
393
- const e = l, u = y, c = V([]);
392
+ setup(a, { emit: y }) {
393
+ const e = a, u = y, c = V([]);
394
394
  Z(
395
395
  () => e.list,
396
- (p) => {
397
- c.value = x.cloneDeep(p);
396
+ (v) => {
397
+ c.value = I.cloneDeep(v);
398
398
  },
399
399
  {
400
400
  immediate: !0,
@@ -410,20 +410,20 @@ const Ie = /* @__PURE__ */ X(Se, [["__scopeId", "data-v-52806adf"]]), xe = P(Ie)
410
410
  }
411
411
  })), k = V(!1), O = () => {
412
412
  k.value = !0;
413
- }, $ = (p) => {
413
+ }, $ = (v) => {
414
414
  k.value = !1;
415
- const I = e.list[p.oldIndex];
415
+ const x = e.list[v.oldIndex];
416
416
  u("change", c.value, {
417
- ...I,
418
- oldIndex: p.oldIndex,
419
- newIndex: p.newIndex
417
+ ...x,
418
+ oldIndex: v.oldIndex,
419
+ newIndex: v.newIndex
420
420
  });
421
421
  };
422
- return (p, I) => {
423
- const v = D("el-icon");
424
- return r(), N(_(ve), {
422
+ return (v, x) => {
423
+ const p = D("el-icon");
424
+ return r(), N(_(de), {
425
425
  modelValue: c.value,
426
- "onUpdate:modelValue": I[0] || (I[0] = (n) => c.value = n),
426
+ "onUpdate:modelValue": x[0] || (x[0] = (n) => c.value = n),
427
427
  class: w(["list-group", [t.value.groupClass]]),
428
428
  tag: "ul",
429
429
  attrs: t.value,
@@ -445,7 +445,7 @@ const Ie = /* @__PURE__ */ X(Se, [["__scopeId", "data-v-52806adf"]]), xe = P(Ie)
445
445
  },
446
446
  {
447
447
  default: g(() => [
448
- p.$slots.item ? q(p.$slots, "item", {
448
+ v.$slots.item ? q(v.$slots, "item", {
449
449
  key: 0,
450
450
  item: n
451
451
  }, void 0, !0) : (r(), f(
@@ -460,13 +460,13 @@ const Ie = /* @__PURE__ */ X(Se, [["__scopeId", "data-v-52806adf"]]), xe = P(Ie)
460
460
  })
461
461
  },
462
462
  [
463
- t.value.showIcon && !p.$slots.icon ? (r(), N(v, { key: 0 }, {
463
+ t.value.showIcon && !v.$slots.icon ? (r(), N(p, { key: 0 }, {
464
464
  default: g(() => [
465
- C(_(ge))
465
+ C(_(pe))
466
466
  ]),
467
467
  _: 1
468
468
  /* STABLE */
469
- })) : q(p.$slots, "icon", { key: 1 }, void 0, !0),
469
+ })) : q(v.$slots, "icon", { key: 1 }, void 0, !0),
470
470
  z(
471
471
  " " + T(n.label),
472
472
  1
@@ -490,13 +490,7 @@ const Ie = /* @__PURE__ */ X(Se, [["__scopeId", "data-v-52806adf"]]), xe = P(Ie)
490
490
  };
491
491
  }
492
492
  });
493
- const $e = /* @__PURE__ */ X(Ce, [["__scopeId", "data-v-3716c05e"]]), ze = P($e), Ve = (l) => (ce("data-v-b5ed17ed"), l = l(), de(), l), De = /* @__PURE__ */ Ve(() => /* @__PURE__ */ S(
494
- "i",
495
- { class: "ik ik-shezhi" },
496
- null,
497
- -1
498
- /* HOISTED */
499
- )), Ne = { class: "check-right" }, Te = { class: "dialog-footer" }, Le = /* @__PURE__ */ F({
493
+ const Be = /* @__PURE__ */ X(Ie, [["__scopeId", "data-v-3716c05e"]]), Ce = P(Be), $e = { class: "check-right" }, ze = { class: "dialog-footer" }, Ve = /* @__PURE__ */ F({
500
494
  __name: "IkBtnSetting",
501
495
  props: /* @__PURE__ */ R({
502
496
  list: {
@@ -536,7 +530,7 @@ const $e = /* @__PURE__ */ X(Ce, [["__scopeId", "data-v-3716c05e"]]), ze = P($e)
536
530
  config: {
537
531
  type: Object,
538
532
  default: () => ({
539
- t: (l) => l,
533
+ t: (a) => a,
540
534
  dialog: {
541
535
  l: "700px",
542
536
  sl: "600px"
@@ -555,43 +549,43 @@ const $e = /* @__PURE__ */ X(Ce, [["__scopeId", "data-v-3716c05e"]]), ze = P($e)
555
549
  modelModifiers: {}
556
550
  }),
557
551
  emits: /* @__PURE__ */ R(["sort"], ["update:modelValue"]),
558
- setup(l, { emit: y }) {
559
- const e = l, u = y, c = se(l, "modelValue"), { t, dialog: k, path: O, user: $ } = e.config, p = L(() => `${$ == null ? void 0 : $.id}_${O}${e.tab !== "" ? `_${e.tab}` : ""}`), I = V([]), v = V([]), n = V([]), M = /* @__PURE__ */ new Map(), A = V(!1), ee = L(() => {
560
- const s = v.value.length && v.value.length !== e.list.length;
561
- return !s && v.value.length && (A.value = !0), !!s;
552
+ setup(a, { emit: y }) {
553
+ const e = a, u = y, c = se(a, "modelValue"), { t, dialog: k, path: O, user: $ } = e.config, v = L(() => `${$ == null ? void 0 : $.id}_${O}${e.tab !== "" ? `_${e.tab}` : ""}`), x = V([]), p = V([]), n = V([]), M = /* @__PURE__ */ new Map(), A = V(!1), ee = L(() => {
554
+ const s = p.value.length && p.value.length !== e.list.length;
555
+ return !s && p.value.length && (A.value = !0), !!s;
562
556
  }), U = (s) => {
563
557
  var i;
564
- const a = x.cloneDeep(n.value);
565
- a == null || a.forEach((o) => {
558
+ const l = I.cloneDeep(n.value);
559
+ l == null || l.forEach((o) => {
566
560
  var b;
567
- if (!v.value.length)
561
+ if (!p.value.length)
568
562
  n.value = [];
569
- else if (!v.value.includes(o == null ? void 0 : o.key)) {
563
+ else if (!p.value.includes(o == null ? void 0 : o.key)) {
570
564
  const h = (b = n.value) == null ? void 0 : b.findIndex((d) => d.key === o.key);
571
565
  h !== -1 && n.value.splice(h, 1), o.show = !1, M.set(o.key, o);
572
566
  }
573
- }), v.value.forEach((o) => {
567
+ }), p.value.forEach((o) => {
574
568
  var h;
575
569
  if (((h = n.value) == null ? void 0 : h.findIndex((d) => (d == null ? void 0 : d.key) === o)) === -1) {
576
570
  const d = M.get(o);
577
571
  d && (d.show = !0, n.value.push(d));
578
572
  }
579
- }), (i = n.value) != null && i.length || (n.value = x.cloneDeep(e.list)), s === !0 && (u("sort", x.cloneDeep(n.value)), c.value = x.cloneDeep(n.value));
573
+ }), (i = n.value) != null && i.length || (n.value = I.cloneDeep(e.list)), s === !0 && (u("sort", I.cloneDeep(n.value)), c.value = I.cloneDeep(n.value));
580
574
  }, te = (s) => {
581
575
  if (s)
582
- v.value = e.list.map((a) => a.key);
576
+ p.value = e.list.map((l) => l.key);
583
577
  else {
584
- const a = e.list.find((i) => !i.key || i.label === "操作");
585
- v.value = a ? [a.key] : [];
578
+ const l = e.list.find((i) => !i.key || i.label === "操作");
579
+ p.value = l ? [l.key] : [];
586
580
  }
587
581
  U();
588
582
  }, W = () => {
589
- const s = H.local.getItem(p.value);
583
+ const s = H.local.getItem(v.value);
590
584
  try {
591
- const a = x.cloneDeep(e == null ? void 0 : e.list);
585
+ const l = I.cloneDeep(e == null ? void 0 : e.list);
592
586
  if ((!s || !(s != null && s.length)) && H.local.setItem(
593
- p.value,
594
- a.map(({ show: i, type: o, key: b, label: h, width: d, minWidth: m, align: oe }) => ({
587
+ v.value,
588
+ l.map(({ show: i, type: o, key: b, label: h, width: d, minWidth: m, align: oe }) => ({
595
589
  show: i,
596
590
  key: b,
597
591
  type: o,
@@ -600,21 +594,21 @@ const $e = /* @__PURE__ */ X(Ce, [["__scopeId", "data-v-3716c05e"]]), ze = P($e)
600
594
  minWidth: m,
601
595
  align: oe
602
596
  }))
603
- ), I.value = [
604
- ...(a == null ? void 0 : a.map((i) => (M.set(i.key, i), {
597
+ ), x.value = [
598
+ ...(l == null ? void 0 : l.map((i) => (M.set(i.key, i), {
605
599
  ...i,
606
600
  show: i.show || !1
607
601
  }))) || []
608
602
  ], s) {
609
603
  const i = s.filter((o) => o.show).map((o) => o.key);
610
- v.value = [...i];
604
+ p.value = [...i];
611
605
  } else {
612
- const i = I.value.filter((o) => o.show);
613
- v.value = i.map((o) => o.key);
606
+ const i = x.value.filter((o) => o.show);
607
+ p.value = i.map((o) => o.key);
614
608
  }
615
609
  U(!0);
616
- } catch (a) {
617
- console.info("error: ", a);
610
+ } catch (l) {
611
+ console.info("error: ", l);
618
612
  }
619
613
  };
620
614
  W(), Z(() => e.list, () => {
@@ -626,37 +620,43 @@ const $e = /* @__PURE__ */ X(Ce, [["__scopeId", "data-v-3716c05e"]]), ze = P($e)
626
620
  n.value = s;
627
621
  }, ae = () => {
628
622
  j.value = !1, H.local.setItem(
629
- p.value,
630
- n.value.map(({ show: s, key: a, label: i, value: o, width: b, minWidth: h, align: d }) => ({
623
+ v.value,
624
+ n.value.map(({ show: s, key: l, label: i, value: o, width: b, minWidth: h, align: d }) => ({
631
625
  show: s,
632
- key: a,
626
+ key: l,
633
627
  label: i,
634
628
  value: o,
635
629
  width: b,
636
630
  minWidth: h,
637
631
  align: d
638
632
  }))
639
- ), u("sort", x.cloneDeep(n.value)), c.value = x.cloneDeep(n.value);
633
+ ), u("sort", I.cloneDeep(n.value)), c.value = I.cloneDeep(n.value);
640
634
  };
641
- return (s, a) => {
635
+ return (s, l) => {
642
636
  const i = D("el-button"), o = D("el-checkbox"), b = D("el-checkbox-group"), h = D("el-dialog"), d = ie("role");
643
637
  return r(), f(
644
638
  G,
645
639
  null,
646
640
  [
647
- l.btnType === "button" ? J((r(), N(i, K({ key: 0 }, s.$attrs, {
648
- circle: l.circle,
649
- type: l.type,
650
- style: { minWidth: l.circle ? "40px" : "", minHeight: l.circle ? "40px" : "" },
641
+ a.btnType === "button" ? J((r(), N(i, K({ key: 0 }, s.$attrs, {
642
+ circle: a.circle,
643
+ type: a.type,
644
+ style: { minWidth: a.circle ? "40px" : "", minHeight: a.circle ? "40px" : "" },
651
645
  onClick: Y
652
646
  }), ue({
653
647
  icon: g(() => [
654
- De
648
+ l[4] || (l[4] = S(
649
+ "i",
650
+ { class: "ik ik-shezhi" },
651
+ null,
652
+ -1
653
+ /* HOISTED */
654
+ ))
655
655
  ]),
656
656
  _: 2
657
657
  /* DYNAMIC */
658
658
  }, [
659
- l.circle ? void 0 : {
659
+ a.circle ? void 0 : {
660
660
  name: "default",
661
661
  fn: g(() => [
662
662
  E(' {{ t("action.setting") }} '),
@@ -671,8 +671,8 @@ const $e = /* @__PURE__ */ X(Ce, [["__scopeId", "data-v-3716c05e"]]), ze = P($e)
671
671
  ]), 1040, ["circle", "type", "style"])), [
672
672
  [d, s.$props.role]
673
673
  ]) : E("v-if", !0),
674
- l.btnType === "icon" ? J((r(), N(
675
- _(xe),
674
+ a.btnType === "icon" ? J((r(), N(
675
+ _(Se),
676
676
  K({
677
677
  key: 1,
678
678
  name: "iksvg_shezhi-daohang",
@@ -687,9 +687,9 @@ const $e = /* @__PURE__ */ X(Ce, [["__scopeId", "data-v-3716c05e"]]), ze = P($e)
687
687
  ]) : E("v-if", !0),
688
688
  C(h, {
689
689
  modelValue: j.value,
690
- "onUpdate:modelValue": a[3] || (a[3] = (m) => j.value = m),
690
+ "onUpdate:modelValue": l[3] || (l[3] = (m) => j.value = m),
691
691
  draggable: "",
692
- width: l.inline ? _(k).l : _(k).sl,
692
+ width: a.inline ? _(k).l : _(k).sl,
693
693
  "close-on-click-modal": !1,
694
694
  "close-on-press-escape": !1,
695
695
  title: "显示字段",
@@ -697,9 +697,9 @@ const $e = /* @__PURE__ */ X(Ce, [["__scopeId", "data-v-3716c05e"]]), ze = P($e)
697
697
  onOpen: W
698
698
  }, {
699
699
  footer: g(() => [
700
- S("div", Te, [
700
+ S("div", ze, [
701
701
  C(i, {
702
- onClick: a[2] || (a[2] = (m) => j.value = !1)
702
+ onClick: l[2] || (l[2] = (m) => j.value = !1)
703
703
  }, {
704
704
  default: g(() => [
705
705
  z(
@@ -733,38 +733,38 @@ const $e = /* @__PURE__ */ X(Ce, [["__scopeId", "data-v-3716c05e"]]), ze = P($e)
733
733
  S(
734
734
  "div",
735
735
  {
736
- class: w(["view-fields", [l.inline ? null : "un-inline"]])
736
+ class: w(["view-fields", [a.inline ? null : "un-inline"]])
737
737
  },
738
738
  [
739
739
  S(
740
740
  "div",
741
741
  {
742
- style: B({ flex: l.inline ? 2 : 1 })
742
+ style: B({ flex: a.inline ? 2 : 1 })
743
743
  },
744
744
  [
745
745
  C(o, {
746
746
  modelValue: A.value,
747
- "onUpdate:modelValue": a[0] || (a[0] = (m) => A.value = m),
747
+ "onUpdate:modelValue": l[0] || (l[0] = (m) => A.value = m),
748
748
  class: "single-line",
749
749
  indeterminate: ee.value,
750
750
  onChange: te
751
751
  }, {
752
- default: g(() => [
752
+ default: g(() => l[5] || (l[5] = [
753
753
  z(" 全选 ")
754
- ]),
754
+ ])),
755
755
  _: 1
756
756
  /* STABLE */
757
757
  }, 8, ["modelValue", "indeterminate"]),
758
758
  C(b, {
759
- modelValue: v.value,
760
- "onUpdate:modelValue": a[1] || (a[1] = (m) => v.value = m),
759
+ modelValue: p.value,
760
+ "onUpdate:modelValue": l[1] || (l[1] = (m) => p.value = m),
761
761
  onChange: U
762
762
  }, {
763
763
  default: g(() => [
764
764
  (r(!0), f(
765
765
  G,
766
766
  null,
767
- re(I.value, (m) => (r(), N(o, {
767
+ re(x.value, (m) => (r(), N(o, {
768
768
  key: m.key,
769
769
  disabled: !m.key,
770
770
  label: m.key
@@ -790,8 +790,8 @@ const $e = /* @__PURE__ */ X(Ce, [["__scopeId", "data-v-3716c05e"]]), ze = P($e)
790
790
  4
791
791
  /* STYLE */
792
792
  ),
793
- S("div", Ne, [
794
- C(_(ze), {
793
+ S("div", $e, [
794
+ C(_(Ce), {
795
795
  list: n.value,
796
796
  "item-style": { bottom: 4 },
797
797
  onChange: le
@@ -812,8 +812,8 @@ const $e = /* @__PURE__ */ X(Ce, [["__scopeId", "data-v-3716c05e"]]), ze = P($e)
812
812
  };
813
813
  }
814
814
  });
815
- const Oe = /* @__PURE__ */ X(Le, [["__scopeId", "data-v-b5ed17ed"]]), Me = P(Oe);
815
+ const De = /* @__PURE__ */ X(Ve, [["__scopeId", "data-v-b5ed17ed"]]), Oe = P(De);
816
816
  export {
817
- Me as IkBtnSetting,
818
- Me as default
817
+ Oe as IkBtnSetting,
818
+ Oe as default
819
819
  };
@@ -1 +1 @@
1
- (function(k,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue"),require("iking-utils-pro"),require("vuedraggable")):typeof define=="function"&&define.amd?define(["exports","vue","iking-utils-pro","vuedraggable"],e):(k=typeof globalThis<"u"?globalThis:k||self,e(k.index={},k.vue,k["iking-utils-pro"],k.vuedraggable))})(this,function(k,e,y,T){"use strict";const v=(a,g)=>{if(a.install=t=>{for(const c of[a,...Object.values(g??{})])t.component(c.name,c)},g)for(const[t,c]of Object.entries(g))a[t]=c;return a};/*! Element Plus Icons Vue v2.3.1 */var j=e.defineComponent({name:"DCaret",__name:"d-caret",setup(a){return(g,t)=>(e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[e.createElementVNode("path",{fill:"currentColor",d:"m512 128 288 320H224zM224 576h576L512 896z"})]))}}),L=j;const x=(a,g)=>{const t=a.__vccOpts||a;for(const[c,d]of g)t[c]=d;return t},O={key:0,class:"ik-svg-icon ik-icon-span inline-block inline-flex justify-center box-content line-height-[0]"},M={key:1,class:"h-[1em] w-[1em]","aria-hidden":"true"},F=["xlink:href"],A=["src"],q={key:1,class:"h-[1em] w-[1em]","aria-hidden":"true"},W=["xlink:href"],H=["src"],X=e.defineComponent({name:"IkSvgIcon",__name:"index",props:{active:{type:Boolean,default:!1},bg:{type:Boolean,default:!1},color:{},colorLight:{},disabled:{type:Boolean,default:!1},error:{type:Boolean},flip:{},name:{},notip:{type:Boolean,default:!1},opacity:{default:.5},padding:{default:"6px"},primary:{type:Boolean},rotate:{},showBg:{type:Boolean,default:!1},size:{default:""},success:{type:Boolean},tableIconType:{},title:{},type:{},warning:{type:Boolean},width:{}},setup(a){const g=a,t=e.computed(()=>g),c=e.computed(()=>{const{name:l}=t.value;return/^http?:\/\//.test(l)?"img":/i-[^:]+:[^:]+/.test(l)?"unocss":l!=null&&l.startsWith("iksig")?"iksig":l!=null&&l.includes(":")?"iconify":l!=null&&l.startsWith("iksvg")?"svg":"i"}),d=e.computed(()=>{const l=[];if(t.value.flip)switch(t.value.flip){case"horizontal":l.push("rotateY(180deg)");break;case"vertical":l.push("rotateX(180deg)");break;case"both":l.push("rotateX(180deg)"),l.push("rotateY(180deg)");break}t.value.rotate&&l.push(`rotate(${t.value.rotate%360}deg)`);const _={pointerEvents:t.value.disabled?"none":"auto",...t.value.color&&{color:t.value.color},...t.value.size&&{fontSize:typeof t.value.size=="number"?`${t.value.size}px`:t.value.size},...l.length&&{transform:l.join(" ")},padding:t.value.showBg||t.value.bg?t.value.padding:0,...t.value.color&&c.value!=="iksig"?{"--ik-color-icon-dark":t.value.color,"--ik-color-icon-light":t.value.colorLight||y.ikColor.setOpacity(t.value.color,t.value.opacity)}:{}};return t.value.width&&(_.width=_.height=typeof t.value.width=="number"?`${t.value.width}px`:t.value.width),_});return(l,_)=>{const S=e.resolveComponent("el-tooltip"),w=e.resolveComponent("el-button");return t.value.tableIconType==="icon"||!t.value.tableIconType?(e.openBlock(),e.createElementBlock("span",O,[t.value.notip||!t.value.title?(e.openBlock(),e.createElementBlock("i",{key:0,class:e.normalizeClass(["ik-svg-icon ik-icon relative h-[1em] w-[1em] inline-flex items-center justify-center fill-current leading-[1em] transition",{[l.name]:c.value==="unocss","show-bg":t.value.showBg||t.value.bg,default:t.value.size==="default",small:t.value.size==="small",big:t.value.size==="big",warning:t.value.warning||t.value.type==="warning",primary:t.value.primary||t.value.type==="primary",success:l.success||t.value.type==="success",error:t.value.error||t.value.type==="error",active:t.value.active,disabled:t.value.disabled}]),style:e.normalizeStyle(d.value)},[e.createCommentVNode(` <Icon v-if="outputType === 'iconify'" :icon="name" /> `),c.value==="iksig"?(e.openBlock(),e.createElementBlock("i",{key:0,class:e.normalizeClass(`iksig ${t.value.name}`),style:e.normalizeStyle(d.value)},null,6)):c.value==="svg"?(e.openBlock(),e.createElementBlock("svg",M,[e.createElementVNode("use",{"xlink:href":`#${t.value.name}`},null,8,F)])):c.value==="img"?(e.openBlock(),e.createElementBlock("img",{key:2,src:t.value.name,class:"h-[1em] w-[1em]"},null,8,A)):(e.openBlock(),e.createElementBlock("i",{key:3,class:e.normalizeClass(t.value.name),style:e.normalizeStyle(d.value)},null,6))],6)):(e.openBlock(),e.createBlock(S,{key:1,content:t.value.title,placement:"top"},{default:e.withCtx(()=>[e.createElementVNode("i",{class:e.normalizeClass(["ik-svg-icon ik-icon relative h-[1em] w-[1em] inline-flex items-center justify-center fill-current leading-[1em] transition",{[l.name]:c.value==="unocss","show-bg":t.value.showBg||t.value.bg,default:t.value.size==="default",small:t.value.size==="small",big:t.value.size==="big",warning:t.value.warning||t.value.type==="warning",primary:l.primary||t.value.type==="primary",success:l.success||t.value.type==="success",error:t.value.error||t.value.type==="error",active:t.value.active}]),style:e.normalizeStyle(d.value)},[c.value==="iksig"?(e.openBlock(),e.createElementBlock("i",{key:0,class:e.normalizeClass(`iksig ${t.value.name}`),style:e.normalizeStyle(d.value)},null,6)):c.value==="svg"?(e.openBlock(),e.createElementBlock("svg",q,[e.createElementVNode("use",{"xlink:href":`#${t.value.name}`},null,8,W)])):c.value==="img"?(e.openBlock(),e.createElementBlock("img",{key:2,src:t.value.name,class:"h-[1em] w-[1em]"},null,8,H)):(e.openBlock(),e.createElementBlock("i",{key:3,class:e.normalizeClass(t.value.name),style:e.normalizeStyle(d.value)},null,6))],6)]),_:1},8,["content"]))])):(e.openBlock(),e.createBlock(w,{key:1,type:["warning","error"].includes(t.value.type)?"danger":""},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.value.title),1)]),_:1},8,["type"]))}}}),oe="",Y=v(x(X,[["__scopeId","data-v-52806adf"]])),E={animation:200,group:"gl",disabled:!1,ghostClass:"ghost",sort:!0,delay:100,showIcon:!0,itemStyle:{radius:4,bottom:8,background:"var(--ik-sub-sidebar-menu-bg)"}},R={list:{required:!0,type:Array,default:[]},group:{type:String,default:"draggable"},sort:{type:Boolean,default:!0},showIcon:{type:Boolean,default:!0},delay:{type:Number,default:0},touchStartThreshold:{type:Number,default:0},disabled:{type:Boolean,default:!1},animation:{type:Number,default:200},handle:{type:String,default:".mover"},filter:{type:String,default:".unmover"},draggable:{type:String,default:".item"},ghostClass:{type:String,default:"ghost"},chosenClass:{type:String,default:"chosen"},dragClass:{type:String,default:"drag"},forceFallback:{type:Boolean,default:!1},fallbackClass:{type:String,default:"fallback"},fallbackOnBody:{type:Boolean,default:!1},fallbackTolerance:{type:Number,default:8},scroll:{type:Boolean,default:!0},scrollFn:{type:Function,default:()=>{}},scrollFensitivity:{type:Number,default:30},scrollSpeed:{type:Number,default:30},itemClass:{type:String,default:""},groupClass:{type:String,default:""},itemStyle:{type:Object,default:()=>({radius:{type:Number,default:30},bottom:{type:Number,default:8},background:{type:String,default:"var(--ik-sub-sidebar-menu-bg)"}})}},G=e.defineComponent({__name:"IkDragList",props:R,emits:["change"],setup(a,{emit:g}){const t=a,c=g,d=e.ref([]);e.watch(()=>t.list,p=>{d.value=y._.cloneDeep(p)},{immediate:!0,deep:!0});const l=e.computed(()=>({...E,...t,itemStyle:{...E.itemStyle,...t.itemStyle}})),_=e.ref(!1),S=()=>{_.value=!0},w=p=>{_.value=!1;const B=t.list[p.oldIndex];c("change",d.value,{...B,oldIndex:p.oldIndex,newIndex:p.newIndex})};return(p,B)=>{const m=e.resolveComponent("el-icon");return e.openBlock(),e.createBlock(e.unref(T),{modelValue:d.value,"onUpdate:modelValue":B[0]||(B[0]=s=>d.value=s),class:e.normalizeClass(["list-group",[l.value.groupClass]]),tag:"ul",attrs:l.value,animation:l.value.animation,group:l.value.group,disabled:l.value.disabled,"ghost-class":l.value.ghostClass,"force-fallback":l.value.ghostClass,"item-key":"order",onStart:S,onEnd:w},{item:e.withCtx(({element:s})=>[e.createVNode(e.Transition,{type:"transition",name:"flip-list"},{default:e.withCtx(()=>[p.$slots.item?e.renderSlot(p.$slots,"item",{key:0,item:s},void 0,!0):(e.openBlock(),e.createElementBlock("li",{key:1,class:e.normalizeClass(["list-group-item",[l.value.itemClass]]),style:e.normalizeStyle({borderRadius:`${l.value.itemStyle.radius}px`,marginBottom:`${l.value.itemStyle.bottom}px`,backgroundColor:`${l.value.itemStyle.background}`})},[l.value.showIcon&&!p.$slots.icon?(e.openBlock(),e.createBlock(m,{key:0},{default:e.withCtx(()=>[e.createVNode(e.unref(L))]),_:1})):e.renderSlot(p.$slots,"icon",{key:1},void 0,!0),e.createTextVNode(" "+e.toDisplayString(s.label),1)],6))]),_:2},1024)]),_:3},8,["modelValue","class","attrs","animation","group","disabled","ghost-class","force-fallback"])}}}),se="",J=v(x(G,[["__scopeId","data-v-3716c05e"]])),K=(a=>(e.pushScopeId("data-v-b5ed17ed"),a=a(),e.popScopeId(),a))(()=>e.createElementVNode("i",{class:"ik ik-shezhi"},null,-1)),Q={class:"check-right"},Z={class:"dialog-footer"},U=e.defineComponent({__name:"IkBtnSetting",props:e.mergeModels({list:{type:Array,default:()=>[]},tab:{type:[String,Number],default:""},type:{type:String,default:"primary"},btnType:{type:String,default:"icon"},circle:{type:Boolean,default:!0},inline:{type:Boolean,default:!1},role:{type:String,default:""},config:{type:Object,default:()=>({t:a=>a,dialog:{l:"700px",sl:"600px"},path:"user_0",user:{id:"111"}})}},{modelValue:{type:Array,default:()=>[]},modelModifiers:{}}),emits:e.mergeModels(["sort"],["update:modelValue"]),setup(a,{emit:g}){const t=a,c=g,d=e.useModel(a,"modelValue"),{t:l,dialog:_,path:S,user:w}=t.config,p=e.computed(()=>`${w==null?void 0:w.id}_${S}${t.tab!==""?`_${t.tab}`:""}`),B=e.ref([]),m=e.ref([]),s=e.ref([]),V=new Map,I=e.ref(!1),P=e.computed(()=>{const i=m.value.length&&m.value.length!==t.list.length;return!i&&m.value.length&&(I.value=!0),!!i}),N=i=>{var r;const o=y._.cloneDeep(s.value);o==null||o.forEach(n=>{var b;if(!m.value.length)s.value=[];else if(!m.value.includes(n==null?void 0:n.key)){const h=(b=s.value)==null?void 0:b.findIndex(u=>u.key===n.key);h!==-1&&s.value.splice(h,1),n.show=!1,V.set(n.key,n)}}),m.value.forEach(n=>{var h;if(((h=s.value)==null?void 0:h.findIndex(u=>(u==null?void 0:u.key)===n))===-1){const u=V.get(n);u&&(u.show=!0,s.value.push(u))}}),(r=s.value)!=null&&r.length||(s.value=y._.cloneDeep(t.list)),i===!0&&(c("sort",y._.cloneDeep(s.value)),d.value=y._.cloneDeep(s.value))},ee=i=>{if(i)m.value=t.list.map(o=>o.key);else{const o=t.list.find(r=>!r.key||r.label==="操作");m.value=o?[o.key]:[]}N()},z=()=>{const i=y.ikStore.local.getItem(p.value);try{const o=y._.cloneDeep(t==null?void 0:t.list);if((!i||!(i!=null&&i.length))&&y.ikStore.local.setItem(p.value,o.map(({show:r,type:n,key:b,label:h,width:u,minWidth:f,align:ae})=>({show:r,key:b,type:n,label:h,width:u,minWidth:f,align:ae}))),B.value=[...(o==null?void 0:o.map(r=>(V.set(r.key,r),{...r,show:r.show||!1})))||[]],i){const r=i.filter(n=>n.show).map(n=>n.key);m.value=[...r]}else{const r=B.value.filter(n=>n.show);m.value=r.map(n=>n.key)}N(!0)}catch(o){console.info("error: ",o)}};z(),e.watch(()=>t.list,()=>{z()},{deep:!0});const C=e.ref(!1),D=()=>{C.value=!0},te=i=>{s.value=i},le=()=>{C.value=!1,y.ikStore.local.setItem(p.value,s.value.map(({show:i,key:o,label:r,value:n,width:b,minWidth:h,align:u})=>({show:i,key:o,label:r,value:n,width:b,minWidth:h,align:u}))),c("sort",y._.cloneDeep(s.value)),d.value=y._.cloneDeep(s.value)};return(i,o)=>{const r=e.resolveComponent("el-button"),n=e.resolveComponent("el-checkbox"),b=e.resolveComponent("el-checkbox-group"),h=e.resolveComponent("el-dialog"),u=e.resolveDirective("role");return e.openBlock(),e.createElementBlock(e.Fragment,null,[a.btnType==="button"?e.withDirectives((e.openBlock(),e.createBlock(r,e.mergeProps({key:0},i.$attrs,{circle:a.circle,type:a.type,style:{minWidth:a.circle?"40px":"",minHeight:a.circle?"40px":""},onClick:D}),e.createSlots({icon:e.withCtx(()=>[K]),_:2},[a.circle?void 0:{name:"default",fn:e.withCtx(()=>[e.createCommentVNode(' {{ t("action.setting") }} '),e.createTextVNode(" "+e.toDisplayString(e.unref(l)("设置")),1)]),key:"0"}]),1040,["circle","type","style"])),[[u,i.$props.role]]):e.createCommentVNode("v-if",!0),a.btnType==="icon"?e.withDirectives((e.openBlock(),e.createBlock(e.unref(Y),e.mergeProps({key:1,name:"iksvg_shezhi-daohang","show-bg":"",size:"default"},i.$attrs,{onClick:D}),null,16)),[[u,i.$props.role]]):e.createCommentVNode("v-if",!0),e.createVNode(h,{modelValue:C.value,"onUpdate:modelValue":o[3]||(o[3]=f=>C.value=f),draggable:"",width:a.inline?e.unref(_).l:e.unref(_).sl,"close-on-click-modal":!1,"close-on-press-escape":!1,title:"显示字段","append-to-body":"",onOpen:z},{footer:e.withCtx(()=>[e.createElementVNode("div",Z,[e.createVNode(r,{onClick:o[2]||(o[2]=f=>C.value=!1)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(l)("关闭"))+" ",1),e.createCommentVNode(' {{ t("action.close") }} ')]),_:1}),e.createVNode(r,{type:"primary",disabled:s.value.length<2,onClick:le},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(s.value.length<2?"至少选择一个字段":e.unref(l)("确定")),1)]),_:1},8,["disabled"])])]),default:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass(["view-fields",[a.inline?null:"un-inline"]])},[e.createElementVNode("div",{style:e.normalizeStyle({flex:a.inline?2:1})},[e.createVNode(n,{modelValue:I.value,"onUpdate:modelValue":o[0]||(o[0]=f=>I.value=f),class:"single-line",indeterminate:P.value,onChange:ee},{default:e.withCtx(()=>[e.createTextVNode(" 全选 ")]),_:1},8,["modelValue","indeterminate"]),e.createVNode(b,{modelValue:m.value,"onUpdate:modelValue":o[1]||(o[1]=f=>m.value=f),onChange:N},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(B.value,f=>(e.openBlock(),e.createBlock(n,{key:f.key,disabled:!f.key,label:f.key},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(f.label),1)]),_:2},1032,["disabled","label"]))),128))]),_:1},8,["modelValue"])],4),e.createElementVNode("div",Q,[e.createVNode(e.unref(J),{list:s.value,"item-style":{bottom:4},onChange:te},null,8,["list"])])],2)]),_:1},8,["modelValue","width"])],64)}}}),ce="",$=v(x(U,[["__scopeId","data-v-b5ed17ed"]]));k.IkBtnSetting=$,k.default=$,Object.defineProperties(k,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
1
+ (function(k,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue"),require("iking-utils-pro"),require("vuedraggable")):typeof define=="function"&&define.amd?define(["exports","vue","iking-utils-pro","vuedraggable"],e):(k=typeof globalThis<"u"?globalThis:k||self,e(k.index={},k.vue,k["iking-utils-pro"],k.vuedraggable))})(this,function(k,e,y,T){"use strict";const v=(o,g)=>{if(o.install=t=>{for(const c of[o,...Object.values(g??{})])t.component(c.name,c)},g)for(const[t,c]of Object.entries(g))o[t]=c;return o};/*! Element Plus Icons Vue v2.3.1 */var j=e.defineComponent({name:"DCaret",__name:"d-caret",setup(o){return(g,t)=>(e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[e.createElementVNode("path",{fill:"currentColor",d:"m512 128 288 320H224zM224 576h576L512 896z"})]))}}),L=j;const x=(o,g)=>{const t=o.__vccOpts||o;for(const[c,d]of g)t[c]=d;return t},O={key:0,class:"ik-svg-icon ik-icon-span inline-block inline-flex justify-center box-content line-height-[0]"},M={key:1,class:"h-[1em] w-[1em]","aria-hidden":"true"},F=["xlink:href"],A=["src"],q={key:1,class:"h-[1em] w-[1em]","aria-hidden":"true"},W=["xlink:href"],H=["src"],X=e.defineComponent({name:"IkSvgIcon",__name:"index",props:{active:{type:Boolean,default:!1},bg:{type:Boolean,default:!1},color:{},colorLight:{},disabled:{type:Boolean,default:!1},error:{type:Boolean},flip:{},name:{},notip:{type:Boolean,default:!1},opacity:{default:.5},padding:{default:"6px"},primary:{type:Boolean},rotate:{},showBg:{type:Boolean,default:!1},size:{default:""},success:{type:Boolean},tableIconType:{},title:{},type:{},warning:{type:Boolean},width:{}},setup(o){const g=o,t=e.computed(()=>g),c=e.computed(()=>{const{name:l}=t.value;return/^http?:\/\//.test(l)?"img":/i-[^:]+:[^:]+/.test(l)?"unocss":l!=null&&l.startsWith("iksig")?"iksig":l!=null&&l.includes(":")?"iconify":l!=null&&l.startsWith("iksvg")?"svg":"i"}),d=e.computed(()=>{const l=[];if(t.value.flip)switch(t.value.flip){case"horizontal":l.push("rotateY(180deg)");break;case"vertical":l.push("rotateX(180deg)");break;case"both":l.push("rotateX(180deg)"),l.push("rotateY(180deg)");break}t.value.rotate&&l.push(`rotate(${t.value.rotate%360}deg)`);const b={pointerEvents:t.value.disabled?"none":"auto",...t.value.color&&{color:t.value.color},...t.value.size&&{fontSize:typeof t.value.size=="number"?`${t.value.size}px`:t.value.size},...l.length&&{transform:l.join(" ")},padding:t.value.showBg||t.value.bg?t.value.padding:0,...t.value.color&&c.value!=="iksig"?{"--ik-icon-deep-color":t.value.color,"--ik-icon-shallow-color":t.value.colorLight||y.ikColor.setOpacity(t.value.color,t.value.opacity)}:{}};return t.value.width&&(b.width=b.height=typeof t.value.width=="number"?`${t.value.width}px`:t.value.width),b});return(l,b)=>{const C=e.resolveComponent("el-tooltip"),w=e.resolveComponent("el-button");return t.value.tableIconType==="icon"||!t.value.tableIconType?(e.openBlock(),e.createElementBlock("span",O,[t.value.notip||!t.value.title?(e.openBlock(),e.createElementBlock("i",{key:0,class:e.normalizeClass(["ik-svg-icon ik-icon relative h-[1em] w-[1em] inline-flex items-center justify-center fill-current leading-[1em] transition",{[l.name]:c.value==="unocss","show-bg":t.value.showBg||t.value.bg,default:t.value.size==="default",small:t.value.size==="small",big:t.value.size==="big",warning:t.value.warning||t.value.type==="warning",primary:t.value.primary||t.value.type==="primary",success:l.success||t.value.type==="success",error:t.value.error||t.value.type==="error",active:t.value.active,disabled:t.value.disabled}]),style:e.normalizeStyle(d.value)},[e.createCommentVNode(` <Icon v-if="outputType === 'iconify'" :icon="name" /> `),c.value==="iksig"?(e.openBlock(),e.createElementBlock("i",{key:0,class:e.normalizeClass(`iksig ${t.value.name}`),style:e.normalizeStyle(d.value)},null,6)):c.value==="svg"?(e.openBlock(),e.createElementBlock("svg",M,[e.createElementVNode("use",{"xlink:href":`#${t.value.name}`},null,8,F)])):c.value==="img"?(e.openBlock(),e.createElementBlock("img",{key:2,src:t.value.name,class:"h-[1em] w-[1em]"},null,8,A)):(e.openBlock(),e.createElementBlock("i",{key:3,class:e.normalizeClass(t.value.name),style:e.normalizeStyle(d.value)},null,6))],6)):(e.openBlock(),e.createBlock(C,{key:1,content:t.value.title,placement:"top"},{default:e.withCtx(()=>[e.createElementVNode("i",{class:e.normalizeClass(["ik-svg-icon ik-icon relative h-[1em] w-[1em] inline-flex items-center justify-center fill-current leading-[1em] transition",{[l.name]:c.value==="unocss","show-bg":t.value.showBg||t.value.bg,default:t.value.size==="default",small:t.value.size==="small",big:t.value.size==="big",warning:t.value.warning||t.value.type==="warning",primary:l.primary||t.value.type==="primary",success:l.success||t.value.type==="success",error:t.value.error||t.value.type==="error",active:t.value.active}]),style:e.normalizeStyle(d.value)},[c.value==="iksig"?(e.openBlock(),e.createElementBlock("i",{key:0,class:e.normalizeClass(`iksig ${t.value.name}`),style:e.normalizeStyle(d.value)},null,6)):c.value==="svg"?(e.openBlock(),e.createElementBlock("svg",q,[e.createElementVNode("use",{"xlink:href":`#${t.value.name}`},null,8,W)])):c.value==="img"?(e.openBlock(),e.createElementBlock("img",{key:2,src:t.value.name,class:"h-[1em] w-[1em]"},null,8,H)):(e.openBlock(),e.createElementBlock("i",{key:3,class:e.normalizeClass(t.value.name),style:e.normalizeStyle(d.value)},null,6))],6)]),_:1},8,["content"]))])):(e.openBlock(),e.createBlock(w,{key:1,type:["warning","error"].includes(t.value.type)?"danger":""},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.value.title),1)]),_:1},8,["type"]))}}}),ae="",Y=v(x(X,[["__scopeId","data-v-e29a45f8"]])),E={animation:200,group:"gl",disabled:!1,ghostClass:"ghost",sort:!0,delay:100,showIcon:!0,itemStyle:{radius:4,bottom:8,background:"var(--ik-sub-sidebar-menu-bg)"}},R={list:{required:!0,type:Array,default:[]},group:{type:String,default:"draggable"},sort:{type:Boolean,default:!0},showIcon:{type:Boolean,default:!0},delay:{type:Number,default:0},touchStartThreshold:{type:Number,default:0},disabled:{type:Boolean,default:!1},animation:{type:Number,default:200},handle:{type:String,default:".mover"},filter:{type:String,default:".unmover"},draggable:{type:String,default:".item"},ghostClass:{type:String,default:"ghost"},chosenClass:{type:String,default:"chosen"},dragClass:{type:String,default:"drag"},forceFallback:{type:Boolean,default:!1},fallbackClass:{type:String,default:"fallback"},fallbackOnBody:{type:Boolean,default:!1},fallbackTolerance:{type:Number,default:8},scroll:{type:Boolean,default:!0},scrollFn:{type:Function,default:()=>{}},scrollFensitivity:{type:Number,default:30},scrollSpeed:{type:Number,default:30},itemClass:{type:String,default:""},groupClass:{type:String,default:""},itemStyle:{type:Object,default:()=>({radius:{type:Number,default:30},bottom:{type:Number,default:8},background:{type:String,default:"var(--ik-sub-sidebar-menu-bg)"}})}},G=e.defineComponent({__name:"IkDragList",props:R,emits:["change"],setup(o,{emit:g}){const t=o,c=g,d=e.ref([]);e.watch(()=>t.list,p=>{d.value=y._.cloneDeep(p)},{immediate:!0,deep:!0});const l=e.computed(()=>({...E,...t,itemStyle:{...E.itemStyle,...t.itemStyle}})),b=e.ref(!1),C=()=>{b.value=!0},w=p=>{b.value=!1;const B=t.list[p.oldIndex];c("change",d.value,{...B,oldIndex:p.oldIndex,newIndex:p.newIndex})};return(p,B)=>{const m=e.resolveComponent("el-icon");return e.openBlock(),e.createBlock(e.unref(T),{modelValue:d.value,"onUpdate:modelValue":B[0]||(B[0]=s=>d.value=s),class:e.normalizeClass(["list-group",[l.value.groupClass]]),tag:"ul",attrs:l.value,animation:l.value.animation,group:l.value.group,disabled:l.value.disabled,"ghost-class":l.value.ghostClass,"force-fallback":l.value.ghostClass,"item-key":"order",onStart:C,onEnd:w},{item:e.withCtx(({element:s})=>[e.createVNode(e.Transition,{type:"transition",name:"flip-list"},{default:e.withCtx(()=>[p.$slots.item?e.renderSlot(p.$slots,"item",{key:0,item:s},void 0,!0):(e.openBlock(),e.createElementBlock("li",{key:1,class:e.normalizeClass(["list-group-item",[l.value.itemClass]]),style:e.normalizeStyle({borderRadius:`${l.value.itemStyle.radius}px`,marginBottom:`${l.value.itemStyle.bottom}px`,backgroundColor:`${l.value.itemStyle.background}`})},[l.value.showIcon&&!p.$slots.icon?(e.openBlock(),e.createBlock(m,{key:0},{default:e.withCtx(()=>[e.createVNode(e.unref(L))]),_:1})):e.renderSlot(p.$slots,"icon",{key:1},void 0,!0),e.createTextVNode(" "+e.toDisplayString(s.label),1)],6))]),_:2},1024)]),_:3},8,["modelValue","class","attrs","animation","group","disabled","ghost-class","force-fallback"])}}}),ne="",J=v(x(G,[["__scopeId","data-v-3716c05e"]])),K={class:"check-right"},Q={class:"dialog-footer"},Z=e.defineComponent({__name:"IkBtnSetting",props:e.mergeModels({list:{type:Array,default:()=>[]},tab:{type:[String,Number],default:""},type:{type:String,default:"primary"},btnType:{type:String,default:"icon"},circle:{type:Boolean,default:!0},inline:{type:Boolean,default:!1},role:{type:String,default:""},config:{type:Object,default:()=>({t:o=>o,dialog:{l:"700px",sl:"600px"},path:"user_0",user:{id:"111"}})}},{modelValue:{type:Array,default:()=>[]},modelModifiers:{}}),emits:e.mergeModels(["sort"],["update:modelValue"]),setup(o,{emit:g}){const t=o,c=g,d=e.useModel(o,"modelValue"),{t:l,dialog:b,path:C,user:w}=t.config,p=e.computed(()=>`${w==null?void 0:w.id}_${C}${t.tab!==""?`_${t.tab}`:""}`),B=e.ref([]),m=e.ref([]),s=e.ref([]),V=new Map,N=e.ref(!1),U=e.computed(()=>{const i=m.value.length&&m.value.length!==t.list.length;return!i&&m.value.length&&(N.value=!0),!!i}),z=i=>{var r;const a=y._.cloneDeep(s.value);a==null||a.forEach(n=>{var _;if(!m.value.length)s.value=[];else if(!m.value.includes(n==null?void 0:n.key)){const h=(_=s.value)==null?void 0:_.findIndex(u=>u.key===n.key);h!==-1&&s.value.splice(h,1),n.show=!1,V.set(n.key,n)}}),m.value.forEach(n=>{var h;if(((h=s.value)==null?void 0:h.findIndex(u=>(u==null?void 0:u.key)===n))===-1){const u=V.get(n);u&&(u.show=!0,s.value.push(u))}}),(r=s.value)!=null&&r.length||(s.value=y._.cloneDeep(t.list)),i===!0&&(c("sort",y._.cloneDeep(s.value)),d.value=y._.cloneDeep(s.value))},P=i=>{if(i)m.value=t.list.map(a=>a.key);else{const a=t.list.find(r=>!r.key||r.label==="操作");m.value=a?[a.key]:[]}z()},I=()=>{const i=y.ikStore.local.getItem(p.value);try{const a=y._.cloneDeep(t==null?void 0:t.list);if((!i||!(i!=null&&i.length))&&y.ikStore.local.setItem(p.value,a.map(({show:r,type:n,key:_,label:h,width:u,minWidth:f,align:le})=>({show:r,key:_,type:n,label:h,width:u,minWidth:f,align:le}))),B.value=[...(a==null?void 0:a.map(r=>(V.set(r.key,r),{...r,show:r.show||!1})))||[]],i){const r=i.filter(n=>n.show).map(n=>n.key);m.value=[...r]}else{const r=B.value.filter(n=>n.show);m.value=r.map(n=>n.key)}z(!0)}catch(a){console.info("error: ",a)}};I(),e.watch(()=>t.list,()=>{I()},{deep:!0});const S=e.ref(!1),D=()=>{S.value=!0},ee=i=>{s.value=i},te=()=>{S.value=!1,y.ikStore.local.setItem(p.value,s.value.map(({show:i,key:a,label:r,value:n,width:_,minWidth:h,align:u})=>({show:i,key:a,label:r,value:n,width:_,minWidth:h,align:u}))),c("sort",y._.cloneDeep(s.value)),d.value=y._.cloneDeep(s.value)};return(i,a)=>{const r=e.resolveComponent("el-button"),n=e.resolveComponent("el-checkbox"),_=e.resolveComponent("el-checkbox-group"),h=e.resolveComponent("el-dialog"),u=e.resolveDirective("role");return e.openBlock(),e.createElementBlock(e.Fragment,null,[o.btnType==="button"?e.withDirectives((e.openBlock(),e.createBlock(r,e.mergeProps({key:0},i.$attrs,{circle:o.circle,type:o.type,style:{minWidth:o.circle?"40px":"",minHeight:o.circle?"40px":""},onClick:D}),e.createSlots({icon:e.withCtx(()=>[a[4]||(a[4]=e.createElementVNode("i",{class:"ik ik-shezhi"},null,-1))]),_:2},[o.circle?void 0:{name:"default",fn:e.withCtx(()=>[e.createCommentVNode(' {{ t("action.setting") }} '),e.createTextVNode(" "+e.toDisplayString(e.unref(l)("设置")),1)]),key:"0"}]),1040,["circle","type","style"])),[[u,i.$props.role]]):e.createCommentVNode("v-if",!0),o.btnType==="icon"?e.withDirectives((e.openBlock(),e.createBlock(e.unref(Y),e.mergeProps({key:1,name:"iksvg_shezhi-daohang","show-bg":"",size:"default"},i.$attrs,{onClick:D}),null,16)),[[u,i.$props.role]]):e.createCommentVNode("v-if",!0),e.createVNode(h,{modelValue:S.value,"onUpdate:modelValue":a[3]||(a[3]=f=>S.value=f),draggable:"",width:o.inline?e.unref(b).l:e.unref(b).sl,"close-on-click-modal":!1,"close-on-press-escape":!1,title:"显示字段","append-to-body":"",onOpen:I},{footer:e.withCtx(()=>[e.createElementVNode("div",Q,[e.createVNode(r,{onClick:a[2]||(a[2]=f=>S.value=!1)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(l)("关闭"))+" ",1),e.createCommentVNode(' {{ t("action.close") }} ')]),_:1}),e.createVNode(r,{type:"primary",disabled:s.value.length<2,onClick:te},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(s.value.length<2?"至少选择一个字段":e.unref(l)("确定")),1)]),_:1},8,["disabled"])])]),default:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass(["view-fields",[o.inline?null:"un-inline"]])},[e.createElementVNode("div",{style:e.normalizeStyle({flex:o.inline?2:1})},[e.createVNode(n,{modelValue:N.value,"onUpdate:modelValue":a[0]||(a[0]=f=>N.value=f),class:"single-line",indeterminate:U.value,onChange:P},{default:e.withCtx(()=>a[5]||(a[5]=[e.createTextVNode(" 全选 ")])),_:1},8,["modelValue","indeterminate"]),e.createVNode(_,{modelValue:m.value,"onUpdate:modelValue":a[1]||(a[1]=f=>m.value=f),onChange:z},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(B.value,f=>(e.openBlock(),e.createBlock(n,{key:f.key,disabled:!f.key,label:f.key},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(f.label),1)]),_:2},1032,["disabled","label"]))),128))]),_:1},8,["modelValue"])],4),e.createElementVNode("div",K,[e.createVNode(e.unref(J),{list:s.value,"item-style":{bottom:4},onChange:ee},null,8,["list"])])],2)]),_:1},8,["modelValue","width"])],64)}}}),ie="",$=v(x(Z,[["__scopeId","data-v-b5ed17ed"]]));k.IkBtnSetting=$,k.default=$,Object.defineProperties(k,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
@@ -1 +1 @@
1
- .row-title[data-v-52806adf]{display:flex}.ik-svg-icon.ik-icon-span[data-v-52806adf]:not(:first-child){margin-left:var(--ik-margin-s-12)}.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-e29a45f8]{display:flex}.ik-svg-icon.ik-icon-span[data-v-e29a45f8]:not(:first-child){margin-left:var(--ik-margin-s-12)}.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}