iking-web-ui-pro 0.3.2 → 0.3.4

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 (111) hide show
  1. package/dist/IkApprovalProcessDetail/ik.index.es.js +21 -15
  2. package/dist/IkApprovalProcessDetail/iking-web-ui-pro.css +1 -1
  3. package/dist/IkBaseDialog/ik.index.es.js +38 -34
  4. package/dist/IkBaseDialog/iking-web-ui-pro.css +1 -1
  5. package/dist/IkBtnSetting/ik.index.es.js +45 -40
  6. package/dist/IkBtnSetting/iking-web-ui-pro.css +1 -1
  7. package/dist/IkCalendar/ik.index.es.js +10320 -10322
  8. package/dist/IkCollapseCard/ik.index.es.js +53 -48
  9. package/dist/IkCollapseCard/iking-web-ui-pro.css +1 -1
  10. package/dist/IkDescription/ik.index.es.js +21 -15
  11. package/dist/IkDescription/iking-web-ui-pro.css +1 -1
  12. package/dist/IkDetailPreviewFiles/ik.index.es.js +21 -15
  13. package/dist/IkDetailPreviewFiles/iking-web-ui-pro.css +1 -1
  14. package/dist/IkEmpty/ik.index.es.js +7 -7
  15. package/dist/IkEmpty/iking-web-ui-pro.css +1 -1
  16. package/dist/IkExpandCollapse/ik.index.es.js +69 -64
  17. package/dist/IkExpandCollapse/iking-web-ui-pro.css +1 -1
  18. package/dist/IkFullCalendar/ik.index.es.js +12 -9334
  19. package/dist/IkIconPicker/ik.index.es.js +189 -177
  20. package/dist/IkIconPicker/iking-web-ui-pro.css +1 -1
  21. package/dist/IkMonacoEditor/ik.index.es.js +67 -62
  22. package/dist/IkMonacoEditor/iking-web-ui-pro.css +1 -1
  23. package/dist/IkPageFull/ik.index.es.js +132 -127
  24. package/dist/IkPageFull/iking-web-ui-pro.css +1 -1
  25. package/dist/IkPreviewFile/ik.index.es.js +21 -15
  26. package/dist/IkPreviewFile/iking-web-ui-pro.css +1 -1
  27. package/dist/IkPreviewFileDialog/ik.index.es.js +55 -51
  28. package/dist/IkPreviewFileDialog/iking-web-ui-pro.css +1 -1
  29. package/dist/IkSchedule/ik.index.es.js +390 -9681
  30. package/dist/IkSchedule/iking-web-ui-pro.css +1 -1
  31. package/dist/IkSelectTag/ik.index.es.js +83 -82
  32. package/dist/IkSelectTag/iking-web-ui-pro.css +1 -1
  33. package/dist/IkSideText/ik.index.es.js +70 -65
  34. package/dist/IkSideText/iking-web-ui-pro.css +1 -1
  35. package/dist/IkStatuOver/ik.index.es.js +68 -67
  36. package/dist/IkStatuOver/iking-web-ui-pro.css +1 -1
  37. package/dist/IkSvgIcon/ik.index.es.js +63 -58
  38. package/dist/IkSvgIcon/iking-web-ui-pro.css +1 -1
  39. package/dist/IkTree/ik.index.es.js +7 -7
  40. package/dist/IkTree/iking-web-ui-pro.css +1 -1
  41. package/dist/IkUploadFile/ik.index.es.js +76 -72
  42. package/dist/IkUploadFile/iking-web-ui-pro.css +1 -1
  43. package/dist/IkUploadImage/ik.index.es.js +188 -188
  44. package/dist/IkUploadImage/iking-web-ui-pro.css +1 -1
  45. package/dist/IkVerticalStepBar/ik.index.es.js +106 -101
  46. package/dist/IkVerticalStepBar/iking-web-ui-pro.css +1 -1
  47. package/dist/iking-web-ui-pro.css +2 -2
  48. package/dist/index.es.js +23272 -23459
  49. package/dist/index.umd.js +110 -110
  50. package/dist/src/components/IkFullCalendar/index.d.ts +1 -63
  51. package/dist/src/components/IkFullCalendar/src/IkFullCalendar.vue.d.ts +2 -0
  52. package/dist/src/components/IkMonacoEditor/index.d.ts +12 -0
  53. package/dist/src/components/IkMonacoEditor/src/index.vue.d.ts +12 -0
  54. package/dist/src/components/IkSchedule/index.d.ts +12 -12
  55. package/dist/src/components/IkSvgIcon/index.d.ts +12 -0
  56. package/dist/src/components/IkSvgIcon/src/index.vue.d.ts +8 -0
  57. package/package.json +1 -1
  58. package/dist/Demo/ik.index.umd.js +0 -1
  59. package/dist/IkApprovalProcess/ik.index.umd.js +0 -1
  60. package/dist/IkApprovalProcessDetail/ik.index.umd.js +0 -226
  61. package/dist/IkAutoCard/ik.index.umd.js +0 -1
  62. package/dist/IkBaseDialog/ik.index.umd.js +0 -1
  63. package/dist/IkBottomOperate/ik.index.umd.js +0 -1
  64. package/dist/IkBtnContent/ik.index.umd.js +0 -1
  65. package/dist/IkBtnSetting/ik.index.umd.js +0 -1
  66. package/dist/IkCalendar/ik.index.umd.js +0 -1
  67. package/dist/IkCollapseCard/ik.index.umd.js +0 -1
  68. package/dist/IkCurrencyInput/ik.index.umd.js +0 -1
  69. package/dist/IkDescription/ik.index.umd.js +0 -226
  70. package/dist/IkDetailPreviewFiles/ik.index.umd.js +0 -226
  71. package/dist/IkDragList/ik.index.umd.js +0 -1
  72. package/dist/IkEmpty/ik.index.umd.js +0 -1
  73. package/dist/IkExpandCollapse/ik.index.umd.js +0 -1
  74. package/dist/IkFileIcon/ik.index.umd.js +0 -1
  75. package/dist/IkFullCalendar/ik.index.umd.js +0 -1
  76. package/dist/IkFullCalendar/iking-web-ui-pro.css +0 -1
  77. package/dist/IkHorizontalStepBar/ik.index.umd.js +0 -1
  78. package/dist/IkIconPicker/ik.index.umd.js +0 -1
  79. package/dist/IkImageEditor/ik.index.umd.js +0 -1
  80. package/dist/IkImageUploadEditor/ik.index.umd.js +0 -37
  81. package/dist/IkImageViewer/ik.index.umd.js +0 -1
  82. package/dist/IkMonacoEditor/ik.index.umd.js +0 -11
  83. package/dist/IkOnlyOffice/ik.index.umd.js +0 -1
  84. package/dist/IkPage/ik.index.umd.js +0 -1
  85. package/dist/IkPageFull/ik.index.umd.js +0 -17
  86. package/dist/IkPageTabs/ik.index.umd.js +0 -1
  87. package/dist/IkPickerUser/ik.index.umd.js +0 -1
  88. package/dist/IkPlayer/ik.index.umd.js +0 -226
  89. package/dist/IkPreviewFile/ik.index.umd.js +0 -226
  90. package/dist/IkPreviewFileDialog/ik.index.umd.js +0 -226
  91. package/dist/IkPrintConfig/ik.index.umd.js +0 -1
  92. package/dist/IkPrintView/ik.index.umd.js +0 -1
  93. package/dist/IkRadioGroup/ik.index.umd.js +0 -1
  94. package/dist/IkSchedule/ik.index.umd.js +0 -1
  95. package/dist/IkSearch/ik.index.umd.js +0 -26
  96. package/dist/IkSearchHead/ik.index.umd.js +0 -1
  97. package/dist/IkSelectTag/ik.index.umd.js +0 -1
  98. package/dist/IkSideText/ik.index.umd.js +0 -1
  99. package/dist/IkStatu/ik.index.umd.js +0 -1
  100. package/dist/IkStatuOver/ik.index.umd.js +0 -1
  101. package/dist/IkSvgIcon/ik.index.umd.js +0 -1
  102. package/dist/IkTaskResume/ik.index.umd.js +0 -1
  103. package/dist/IkTemplateOfficeConfig/ik.index.umd.js +0 -1
  104. package/dist/IkTinymce/ik.index.umd.js +0 -90
  105. package/dist/IkTooltip/ik.index.umd.js +0 -1
  106. package/dist/IkTree/ik.index.umd.js +0 -1
  107. package/dist/IkUploadFile/ik.index.umd.js +0 -226
  108. package/dist/IkUploadImage/ik.index.umd.js +0 -1
  109. package/dist/IkVerticalStepBar/ik.index.umd.js +0 -9
  110. package/dist/Provider/ik.index.umd.js +0 -1
  111. package/dist/src/components/IkFullCalendar/src/ik-full-calendar.d.ts +0 -8
@@ -1,64 +1,2 @@
1
- export * from './src/ik-full-calendar';
2
- export declare const IkFullCalendar: import('../../utils/typescript').SFCWithInstall<import('vue').DefineComponent<import('vue').ExtractPropTypes<{
3
- options: {
4
- type: import('vue').PropType<any>;
5
- default: {};
6
- };
7
- modelValue: {
8
- type: import('vue').PropType<any>;
9
- default: never[];
10
- };
11
- removable: {
12
- type: import('vue').PropType<boolean>;
13
- default: boolean;
14
- };
15
- tooltipFieldName: {
16
- type: import('vue').PropType<string>;
17
- default: string;
18
- };
19
- }>, {
20
- prev: () => void;
21
- next: () => void;
22
- today: () => void;
23
- changeView: (viewName: string) => void;
24
- getDate: () => any;
25
- getView: () => any;
26
- unselect: () => any;
27
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
28
- "update:modelValue": (...args: any[]) => void;
29
- eventClick: (...args: any[]) => void;
30
- added: (...args: any[]) => void;
31
- deleted: (...args: any[]) => void;
32
- deleteClick: (...args: any[]) => void;
33
- dateSelect: (...args: any[]) => void;
34
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
35
- options: {
36
- type: import('vue').PropType<any>;
37
- default: {};
38
- };
39
- modelValue: {
40
- type: import('vue').PropType<any>;
41
- default: never[];
42
- };
43
- removable: {
44
- type: import('vue').PropType<boolean>;
45
- default: boolean;
46
- };
47
- tooltipFieldName: {
48
- type: import('vue').PropType<string>;
49
- default: string;
50
- };
51
- }>> & Readonly<{
52
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
53
- onEventClick?: ((...args: any[]) => any) | undefined;
54
- onAdded?: ((...args: any[]) => any) | undefined;
55
- onDeleted?: ((...args: any[]) => any) | undefined;
56
- onDeleteClick?: ((...args: any[]) => any) | undefined;
57
- onDateSelect?: ((...args: any[]) => any) | undefined;
58
- }>, {
59
- options: any;
60
- modelValue: import('./src/ik-full-calendar').Event[] | any;
61
- removable: boolean;
62
- tooltipFieldName: string;
63
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>> & Record<string, any>;
1
+ export declare const IkFullCalendar: import('../../utils/typescript').SFCWithInstall<import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>> & Record<string, any>;
64
2
  export default IkFullCalendar;
@@ -0,0 +1,2 @@
1
+ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
2
+ export default _default;
@@ -100,6 +100,7 @@ export declare const IkMonacoEditor: import('../../utils/typescript').SFCWithIns
100
100
  };
101
101
  type: {
102
102
  type: import('vue').PropType<"error" | "success" | "warning" | "info" | "primary">;
103
+ default: string;
103
104
  };
104
105
  name: {
105
106
  type: import('vue').PropType<string>;
@@ -164,6 +165,10 @@ export declare const IkMonacoEditor: import('../../utils/typescript').SFCWithIns
164
165
  tableIconType: {
165
166
  type: import('vue').PropType<"button" | "icon">;
166
167
  };
168
+ iconClass: {
169
+ type: import('vue').PropType<string>;
170
+ default: string;
171
+ };
167
172
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
168
173
  click: (...args: any[]) => void;
169
174
  dblclick: (...args: any[]) => void;
@@ -178,6 +183,7 @@ export declare const IkMonacoEditor: import('../../utils/typescript').SFCWithIns
178
183
  };
179
184
  type: {
180
185
  type: import('vue').PropType<"error" | "success" | "warning" | "info" | "primary">;
186
+ default: string;
181
187
  };
182
188
  name: {
183
189
  type: import('vue').PropType<string>;
@@ -242,12 +248,17 @@ export declare const IkMonacoEditor: import('../../utils/typescript').SFCWithIns
242
248
  tableIconType: {
243
249
  type: import('vue').PropType<"button" | "icon">;
244
250
  };
251
+ iconClass: {
252
+ type: import('vue').PropType<string>;
253
+ default: string;
254
+ };
245
255
  }>> & Readonly<{
246
256
  onClick?: ((...args: any[]) => any) | undefined;
247
257
  onDblclick?: ((...args: any[]) => any) | undefined;
248
258
  onMouseenter?: ((...args: any[]) => any) | undefined;
249
259
  onMouseleave?: ((...args: any[]) => any) | undefined;
250
260
  }>, {
261
+ type: "primary" | "success" | "warning" | "error" | "info";
251
262
  opacity: number;
252
263
  disabled: boolean;
253
264
  size: "default" | "small" | "big" | string | number;
@@ -256,6 +267,7 @@ export declare const IkMonacoEditor: import('../../utils/typescript').SFCWithIns
256
267
  notip: boolean;
257
268
  padding: string;
258
269
  showBg: boolean;
270
+ iconClass: string;
259
271
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>> & Record<string, any>;
260
272
  }, {}, string, import('vue').ComponentProvideOptions, true, {}, any>> & Record<string, any>;
261
273
  export default IkMonacoEditor;
@@ -103,6 +103,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
103
103
  };
104
104
  type: {
105
105
  type: PropType<"error" | "success" | "warning" | "info" | "primary">;
106
+ default: string;
106
107
  };
107
108
  name: {
108
109
  type: PropType<string>;
@@ -167,6 +168,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
167
168
  tableIconType: {
168
169
  type: PropType<"button" | "icon">;
169
170
  };
171
+ iconClass: {
172
+ type: PropType<string>;
173
+ default: string;
174
+ };
170
175
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
171
176
  click: (...args: any[]) => void;
172
177
  dblclick: (...args: any[]) => void;
@@ -181,6 +186,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
181
186
  };
182
187
  type: {
183
188
  type: PropType<"error" | "success" | "warning" | "info" | "primary">;
189
+ default: string;
184
190
  };
185
191
  name: {
186
192
  type: PropType<string>;
@@ -245,12 +251,17 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
245
251
  tableIconType: {
246
252
  type: PropType<"button" | "icon">;
247
253
  };
254
+ iconClass: {
255
+ type: PropType<string>;
256
+ default: string;
257
+ };
248
258
  }>> & Readonly<{
249
259
  onClick?: ((...args: any[]) => any) | undefined;
250
260
  onDblclick?: ((...args: any[]) => any) | undefined;
251
261
  onMouseenter?: ((...args: any[]) => any) | undefined;
252
262
  onMouseleave?: ((...args: any[]) => any) | undefined;
253
263
  }>, {
264
+ type: "primary" | "success" | "warning" | "error" | "info";
254
265
  opacity: number;
255
266
  disabled: boolean;
256
267
  size: "default" | "small" | "big" | string | number;
@@ -259,6 +270,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
259
270
  notip: boolean;
260
271
  padding: string;
261
272
  showBg: boolean;
273
+ iconClass: string;
262
274
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>> & Record<string, any>;
263
275
  }, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
264
276
  export default _default;
@@ -12,12 +12,12 @@ export declare const IkSchedule: import('../../utils/typescript').SFCWithInstall
12
12
  required: true;
13
13
  default: never[];
14
14
  };
15
- removable: {
15
+ editVisible: {
16
16
  type: import('vue').PropType<boolean>;
17
- default: boolean;
18
17
  };
19
- editVisible: {
18
+ removable: {
20
19
  type: import('vue').PropType<boolean>;
20
+ default: boolean;
21
21
  };
22
22
  }>> & Readonly<{
23
23
  onSubmit?: ((...args: any[]) => any) | undefined;
@@ -48,7 +48,7 @@ export declare const IkSchedule: import('../../utils/typescript').SFCWithInstall
48
48
  submitDelete: (...args: any[]) => void;
49
49
  }, import('vue').PublicProps, {
50
50
  options: any;
51
- modelValue: import('../../iking-ui').Event[] | any;
51
+ modelValue: Event[] | any;
52
52
  removable: boolean;
53
53
  }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
54
54
  P: {};
@@ -70,12 +70,12 @@ export declare const IkSchedule: import('../../utils/typescript').SFCWithInstall
70
70
  required: true;
71
71
  default: never[];
72
72
  };
73
- removable: {
73
+ editVisible: {
74
74
  type: import('vue').PropType<boolean>;
75
- default: boolean;
76
75
  };
77
- editVisible: {
76
+ removable: {
78
77
  type: import('vue').PropType<boolean>;
78
+ default: boolean;
79
79
  };
80
80
  }>> & Readonly<{
81
81
  onSubmit?: ((...args: any[]) => any) | undefined;
@@ -95,7 +95,7 @@ export declare const IkSchedule: import('../../utils/typescript').SFCWithInstall
95
95
  }) => void;
96
96
  }, {}, {}, {}, {
97
97
  options: any;
98
- modelValue: import('../../iking-ui').Event[] | any;
98
+ modelValue: Event[] | any;
99
99
  removable: boolean;
100
100
  }>;
101
101
  __isFragment?: never;
@@ -114,12 +114,12 @@ export declare const IkSchedule: import('../../utils/typescript').SFCWithInstall
114
114
  required: true;
115
115
  default: never[];
116
116
  };
117
- removable: {
117
+ editVisible: {
118
118
  type: import('vue').PropType<boolean>;
119
- default: boolean;
120
119
  };
121
- editVisible: {
120
+ removable: {
122
121
  type: import('vue').PropType<boolean>;
122
+ default: boolean;
123
123
  };
124
124
  }>> & Readonly<{
125
125
  onSubmit?: ((...args: any[]) => any) | undefined;
@@ -150,7 +150,7 @@ export declare const IkSchedule: import('../../utils/typescript').SFCWithInstall
150
150
  submitDelete: (...args: any[]) => void;
151
151
  }, string, {
152
152
  options: any;
153
- modelValue: import('../../iking-ui').Event[] | any;
153
+ modelValue: Event[] | any;
154
154
  removable: boolean;
155
155
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
156
156
  $slots: {
@@ -7,6 +7,7 @@ export declare const IkSvgIcon: import('../../utils/typescript').SFCWithInstall<
7
7
  };
8
8
  type: {
9
9
  type: import('vue').PropType<"error" | "success" | "warning" | "info" | "primary">;
10
+ default: string;
10
11
  };
11
12
  name: {
12
13
  type: import('vue').PropType<string>;
@@ -71,6 +72,10 @@ export declare const IkSvgIcon: import('../../utils/typescript').SFCWithInstall<
71
72
  tableIconType: {
72
73
  type: import('vue').PropType<"button" | "icon">;
73
74
  };
75
+ iconClass: {
76
+ type: import('vue').PropType<string>;
77
+ default: string;
78
+ };
74
79
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
75
80
  click: (...args: any[]) => void;
76
81
  dblclick: (...args: any[]) => void;
@@ -85,6 +90,7 @@ export declare const IkSvgIcon: import('../../utils/typescript').SFCWithInstall<
85
90
  };
86
91
  type: {
87
92
  type: import('vue').PropType<"error" | "success" | "warning" | "info" | "primary">;
93
+ default: string;
88
94
  };
89
95
  name: {
90
96
  type: import('vue').PropType<string>;
@@ -149,12 +155,17 @@ export declare const IkSvgIcon: import('../../utils/typescript').SFCWithInstall<
149
155
  tableIconType: {
150
156
  type: import('vue').PropType<"button" | "icon">;
151
157
  };
158
+ iconClass: {
159
+ type: import('vue').PropType<string>;
160
+ default: string;
161
+ };
152
162
  }>> & Readonly<{
153
163
  onClick?: ((...args: any[]) => any) | undefined;
154
164
  onDblclick?: ((...args: any[]) => any) | undefined;
155
165
  onMouseenter?: ((...args: any[]) => any) | undefined;
156
166
  onMouseleave?: ((...args: any[]) => any) | undefined;
157
167
  }>, {
168
+ type: "primary" | "success" | "warning" | "error" | "info";
158
169
  opacity: number;
159
170
  disabled: boolean;
160
171
  size: "default" | "small" | "big" | string | number;
@@ -163,5 +174,6 @@ export declare const IkSvgIcon: import('../../utils/typescript').SFCWithInstall<
163
174
  notip: boolean;
164
175
  padding: string;
165
176
  showBg: boolean;
177
+ iconClass: string;
166
178
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>> & Record<string, any>;
167
179
  export default IkSvgIcon;
@@ -20,6 +20,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
20
20
  type?: "primary" | "success" | "warning" | "error" | "info";
21
21
  warning?: boolean;
22
22
  width?: number | string;
23
+ iconClass?: string;
23
24
  }>, {
24
25
  size: string;
25
26
  bg: boolean;
@@ -29,6 +30,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
29
30
  opacity: number;
30
31
  active: boolean;
31
32
  disabled: boolean;
33
+ type: string;
34
+ iconClass: string;
32
35
  }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
33
36
  click: (...args: any[]) => void;
34
37
  dblclick: (...args: any[]) => void;
@@ -56,6 +59,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
56
59
  type?: "primary" | "success" | "warning" | "error" | "info";
57
60
  warning?: boolean;
58
61
  width?: number | string;
62
+ iconClass?: string;
59
63
  }>, {
60
64
  size: string;
61
65
  bg: boolean;
@@ -65,12 +69,15 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
65
69
  opacity: number;
66
70
  active: boolean;
67
71
  disabled: boolean;
72
+ type: string;
73
+ iconClass: string;
68
74
  }>>> & Readonly<{
69
75
  onClick?: ((...args: any[]) => any) | undefined;
70
76
  onDblclick?: ((...args: any[]) => any) | undefined;
71
77
  onMouseenter?: ((...args: any[]) => any) | undefined;
72
78
  onMouseleave?: ((...args: any[]) => any) | undefined;
73
79
  }>, {
80
+ type: "primary" | "success" | "warning" | "error" | "info";
74
81
  opacity: number;
75
82
  disabled: boolean;
76
83
  size: "default" | "small" | "big" | string | number;
@@ -79,6 +86,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
79
86
  notip: boolean;
80
87
  padding: string;
81
88
  showBg: boolean;
89
+ iconClass: string;
82
90
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
83
91
  export default _default;
84
92
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "iking-web-ui-pro",
3
- "version": "0.3.2",
3
+ "version": "0.3.4",
4
4
  "description": "iking-web-ui-pro",
5
5
  "keywords": [
6
6
  "iking-web-ui-pro",
@@ -1 +0,0 @@
1
- (function(e,t){typeof exports=="object"&&typeof module<"u"?t(exports):typeof define=="function"&&define.amd?define(["exports"],t):(e=typeof globalThis<"u"?globalThis:e||self,t(e.index={}))})(this,function(e){"use strict";const n=((o,f)=>(o.install=i=>{for(const s of[o,...Object.values({})])i.component(s.name,s)},o))(n);e.ComponentsName=n,e.default=n,Object.defineProperties(e,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
@@ -1 +0,0 @@
1
- (function(U,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue"),require("iking-utils-pro"),require("element-plus"),require("axios")):typeof define=="function"&&define.amd?define(["exports","vue","iking-utils-pro","element-plus","axios"],e):(U=typeof globalThis<"u"?globalThis:U||self,e(U.index={},U.vue,U["iking-utils-pro"],U["element-plus"],U.axios))})(this,function(U,e,L,V,me){"use strict";const le=(p,A)=>(p.install=t=>{for(const o of[p,...Object.values({})])t.component(o.name,o)},p),D=(p,A)=>{const t=p.__vccOpts||p;for(const[o,x]of A)t[o]=x;return t},Ae=(p,A)=>A?A.startsWith("http")?A:`${p||location.origin}${A}`:"",he=p=>({nodeType:{发起人节点:"INITIATOR",审批节点:"APPROVE",抄送节点:"CARBON_COPY",办理节点:"DISPOSE",分支节点:"BRANCH",条件节点:"CONDITION",结束节点:"END",并行分支:"PARALLEL",子流程:"SUB_PROCESS",...p.defaultNodeType},defaultFile:{id:"id",parallelInstances:"parallelInstances",backToInstanceNodeName:"backToInstanceNodeName",backToRecordNodeName:"backToRecordNodeName",nodeId:"sortOrder",nodeType:"type",nodeTypeName:"name",approveStatus:"status",approveStatusName:"statusName",approveType:"approveType",multiExecutorType:"multiExecutorType",approveTypeName:"approveTypeName",multiExecutorTypeName:"multiExecutorTypeName",approvalCategory:"approvalCategory",isShowAdd:"initiatorSpecify",isShowAddCopy:"initiatorSpecifyCarbonCopy",executorEmpty:"executorEmpty",executorEmptyStrategy:"executorEmptyStrategy",reserveExecutorUsers:"reserveExecutorUsers",approvePersonList:"executorUsers",initiatorSpecifiedScope:"initiatorSpecifiedScope",initiatorSpecifiedScopeType:"initiatorSpecifiedScopeType",singleApproval:"singleApproval",originator:"username",...p.defaultFieldMap},statusWithoutApprover:{自动通过:"AUTO_PASS",自动拒绝:"AUTO_REJECT",自动转交管理员:"TRANSMIT_TO_MANAGER",指定人员审批:"SPECIFIED_USER",...p.statusWithoutApprover},multiple:!1,chooseType:[],statusOption:{发起:"INITIATE",等待:"WAIT",同意:"PASS",撤销:"REVOKE",拒绝:"REJECT",转交:"TRANSFER",加签:"APPEND",退回:"BACK",评论:"COMMENT",待执行:"WAITING",执行中:"RUNNING",...p.defaultStatus},listData:[]}),ye=(p,A,t)=>{let o="";switch(A){case p.nodeType.审批节点:t&&t.length==1?o="ikapprove-ziyuan":o="ikapprove-shenpi";break;case p.nodeType.办理节点:o="ikapprove-bianji";break;case p.nodeType.抄送节点:o="ikapprove-chaosong";break;case p.nodeType.并行分支:o="ikapprove-fenzhi";break;case p.nodeType.子流程:o="ikapprove-ziliucheng1";break;default:o="ikapprove-ziyuan"}return`ikapprove ${o}`},oe=["csv","djvu","doc","docm","docx","docxf","dot","dotm","dotx","epub","fb2","fodp","fods","fodt","htm","html","mht","odp","ods","odt","oform","otp","ots","ott","oxps","pdf","pot","potm","potx","pps","ppsm","ppsx","ppt","pptm","pptx","rtf","txt","xls","xlsb","xlsm","xlsx","xlt","xltm","xltx","xml","xps","png","jpeg","jpg","webp","video","mp4","flv","tls"],ae=p=>{const A=e.inject("loadUrl"),t=e.computed(()=>p.loadUrl||p.fileUrl||(A==null?void 0:A.value)),o=e.inject("uploadUrl"),x=e.computed(()=>p.action||p.uploadUrl||(o==null?void 0:o.value)),k=e.inject("token"),E=e.computed(()=>p.token||(k==null?void 0:k.value)),O=e.inject("onlyofficeConfig"),i=e.computed(()=>p.onlyofficeConfig||(O==null?void 0:O.value)),C=e.inject("userInfo"),T=e.computed(()=>p.userInfo||(C==null?void 0:C.value)),P=[...oe,...oe.map(h=>h.toLocaleUpperCase())];return{cLoadUrl:t,cUploadUrl:x,cToken:E,cOnlyofficeConfig:i,cUserInfo:T,cOnlyofficePreviewType:P}},ue={},ke={t:"1672194715727",class:"icon",viewBox:"0 0 1024 1024",version:"1.1","p-id":"2667"};function ge(p,A){return e.openBlock(),e.createElementBlock("svg",ke,A[0]||(A[0]=[e.createElementVNode("path",{d:"M809.246403 771.926938 777.737782 803.458071 924.965961 950.667831 956.476629 919.157163Z",fill:"#5D5D5D","p-id":"2668"},null,-1),e.createElementVNode("path",{d:"M454.878536 70.285786C239.51556 70.285786 64.93236 244.847497 64.93236 460.231963c0 215.341486 174.583201 389.945153 389.945153 389.945153 215.362976 0 389.9472-174.603667 389.9472-389.945153C844.825736 244.847497 670.241512 70.285786 454.878536 70.285786zM454.878536 805.611108c-190.750415 0-345.381192-154.626683-345.381192-345.379145 0-190.751439 154.629753-345.380168 345.381192-345.380168 190.752462 0 345.382215 154.62873 345.382215 345.380168C800.259728 650.983401 645.630998 805.611108 454.878536 805.611108z",fill:"#5D5D5D","p-id":"2669"},null,-1)]))}const xe=D(ue,[["render",ge]]),Be={},Ee={t:"1710907270798",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"8420",width:"200",height:"200"};function Oe(p,A){return e.openBlock(),e.createElementBlock("svg",Ee,A[0]||(A[0]=[e.createElementVNode("path",{d:"M512 1024A512 512 0 1 0 512 0a512 512 0 0 0 0 1024z",fill:"var(--ik-icon-deep-color)","p-id":"8421"},null,-1),e.createElementVNode("path",{d:"M655.701333 327.082667a41.216 41.216 0 0 1 57.002667-1.194667 39.082667 39.082667 0 0 1 1.109333 56.490667l-145.237333 145.92 145.237333 146.005333c13.824 13.909333 15.189333 35.072 4.266667 50.346667l-5.376 6.144a41.216 41.216 0 0 1-57.002667-1.109334L511.914667 585.130667 368.298667 729.685333a40.96 40.96 0 0 1-42.24 9.557334l-7.68-3.242667-7.082667-5.12a39.082667 39.082667 0 0 1-1.109333-56.576l145.066666-146.005333-145.066666-145.92a39.082667 39.082667 0 0 1-4.266667-50.346667l5.376-6.144a41.216 41.216 0 0 1 57.002667 1.194667L512 471.381333z",fill:"#FFFFFF","p-id":"8422"},null,-1)]))}const Ve=D(Be,[["render",Oe]]),Ne={},Te={t:"1710904463698",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"7124",width:"200",height:"200"};function Ce(p,A){return e.openBlock(),e.createElementBlock("svg",Te,A[0]||(A[0]=[e.createElementVNode("path",{d:"M512 512a235.392 235.392 0 0 0 235.2-235.52A235.392 235.392 0 0 0 512 40.96a235.392 235.392 0 0 0-235.2 235.52A235.392 235.392 0 0 0 512 512z",fill:"var(--ik-icon-shallow-color-hover)","p-id":"7125"},null,-1),e.createElementVNode("path",{d:"M41.984 901.12c0 57.408 46.784 103.872 104.512 103.872h731.52c57.664 0 104.448-46.464 104.448-103.808v-51.968c0-143.36-116.992-259.648-261.248-259.648H303.232c-144.256 0-261.248 116.224-261.248 259.648v51.968z",fill:"var(--ik-color-tag-primary)","p-id":"7126"},null,-1)]))}const Le=D(Ne,[["render",Ce]]),Pe={},Se={t:"1710904436436",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"6989",width:"200",height:"200"};function we(p,A){return e.openBlock(),e.createElementBlock("svg",Se,A[0]||(A[0]=[e.createElementVNode("path",{d:"M421.952281 288.898297a42.687867 42.687867 0 0 0-42.111868 31.167903l-122.367618 461.694557a49.919844 49.919844 0 0 0 19.19994 52.223837l232.319274 173.503458a57.59982 57.59982 0 0 0 67.45579 0.447998l234.175268-169.59947a49.983844 49.983844 0 0 0 19.967937-52.351836l-118.783628-465.598545a42.623867 42.623867 0 0 0-41.919869-31.487902H421.952281z",fill:"var(--ik-color-tag-primary)","p-id":"6990"},null,-1),e.createElementVNode("path",{d:"M354.048494 0.0032a44.67186 44.67186 0 0 0-36.479886 18.175943 39.103878 39.103878 0 0 0-4.223987 38.59188L377.792419 206.722554c6.591979 15.359952 22.39993 25.47192 40.127875 25.407921h255.487202c17.919944 0 33.919894-10.431967 40.319874-26.239918L774.39918 56.003025a39.167878 39.167878 0 0 0-4.863985-38.079881A44.67186 44.67186 0 0 0 733.439308 0.0032H354.048494z",fill:"var(--ik-icon-shallow-color-hover)","p-id":"6991"},null,-1)]))}const be=D(Pe,[["render",we]]),_e={},Ue={t:"1710904287393",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"6854",width:"200",height:"200"};function De(p,A){return e.openBlock(),e.createElementBlock("svg",Ue,A[0]||(A[0]=[e.createElementVNode("path",{d:"M512 271.296c27.264 0 49.792 22.336 51.136 50.816l0.064 2.688v147.072H832c62.272 0 113.28 51.776 115.2 116.8v103.872c0 28.992-22.144 52.736-49.92 53.44-27.776 0.768-51.008-21.76-52.416-50.752l-0.064-2.688V592.256a13.184 13.184 0 0 0-11.328-13.312L832 578.88H563.2v113.664c0 28.992-22.144 52.736-49.92 53.44-27.776 0.768-51.008-21.76-52.416-50.752L460.8 692.48V578.88H192a12.992 12.992 0 0 0-12.736 11.776l-0.064 1.6v100.288c0 28.992-22.144 52.736-49.92 53.44-27.776 0.768-51.008-21.76-52.416-50.752L76.8 692.48V592.256c0-65.088 49.536-118.4 111.808-120.32H460.8v-147.2c0-29.504 22.912-53.44 51.2-53.44z",fill:"var(--ik-icon-shallow-color-hover)","p-id":"6855"},null,-1),e.createElementVNode("path",{d:"M204.8 692.48c13.568 0 26.624 5.696 36.224 15.744 9.6 9.984 14.976 23.616 14.976 37.76v160.512c0 29.568-22.912 53.504-51.2 53.504H51.2c-28.288 0-51.2-23.936-51.2-53.504v-160.448c0-29.568 22.912-53.504 51.2-53.504h153.6zM588.8 692.48c13.568 0 26.624 5.696 36.224 15.744 9.6 9.984 14.976 23.616 14.976 37.76v160.512c0 29.568-22.912 53.504-51.2 53.504H435.2c-28.288 0-51.2-23.936-51.2-53.504v-160.448c0-29.568 22.912-53.504 51.2-53.504h153.6zM972.8 692.48c13.568 0 26.624 5.696 36.224 15.744 9.6 9.984 14.976 23.616 14.976 37.76v160.512c0 29.568-22.912 53.504-51.2 53.504h-153.6c-28.288 0-51.2-23.936-51.2-53.504v-160.448c0-29.568 22.912-53.504 51.2-53.504h153.6zM665.6 64c28.288 0 51.2 23.936 51.2 53.504v213.952c0 29.568-22.912 53.504-51.2 53.504H358.4c-28.288 0-51.2-23.936-51.2-53.504V117.504c0-29.568 22.912-53.504 51.2-53.504h307.2z",fill:"var(--ik-color-tag-primary)","p-id":"6856"},null,-1)]))}const Ie=D(_e,[["render",De]]),Fe={class:"avatar"},Re={key:3,class:"user_box"},Me={key:1,class:"avatar_name"},S=D(e.defineComponent({__name:"Avatar",props:{fixPropOpt:{type:Object,default:()=>{}},fixTypeOpt:{type:Object,default:()=>{}},element:{type:Object,default:()=>{}},imageBaseUrl:{type:String,default:""}},setup(p){const A=p,{cLoadUrl:t}=ae(A),o=x=>Ae(t.value,x);return(x,k)=>{const E=e.resolveComponent("el-avatar");return e.openBlock(),e.createElementBlock("div",Fe,[A.fixTypeOpt.group===p.element[A.fixPropOpt.type]?(e.openBlock(),e.createBlock(Ie,{key:0})):A.fixTypeOpt.role===p.element[A.fixPropOpt.type]?(e.openBlock(),e.createBlock(Le,{key:1})):A.fixTypeOpt.post===p.element[A.fixPropOpt.type]?(e.openBlock(),e.createBlock(be,{key:2})):A.fixTypeOpt.user===p.element[A.fixPropOpt.type]?(e.openBlock(),e.createElementBlock("div",Re,[p.element[p.fixPropOpt.avatar]?(e.openBlock(),e.createBlock(E,{key:0,shape:"square",src:o(p.fixPropOpt.avatar?p.element[p.fixPropOpt.avatar]:"")},null,8,["src"])):(e.openBlock(),e.createElementBlock("div",Me,e.toDisplayString(p.element[p.fixPropOpt.name].slice(-2)),1))])):e.createCommentVNode("v-if",!0)])}}}),[["__scopeId","data-v-8031ce9b"]]),q="data:image/webp;base64,UklGRogSAABXRUJQVlA4WAoAAAAwAAAAxwAAzQAASUNDUMgBAAAAAAHIAAAAAAQwAABtbnRyUkdCIFhZWiAH4AABAAEAAAAAAABhY3NwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAA9tYAAQAAAADTLQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAlkZXNjAAAA8AAAACRyWFlaAAABFAAAABRnWFlaAAABKAAAABRiWFlaAAABPAAAABR3dHB0AAABUAAAABRyVFJDAAABZAAAAChnVFJDAAABZAAAAChiVFJDAAABZAAAAChjcHJ0AAABjAAAADxtbHVjAAAAAAAAAAEAAAAMZW5VUwAAAAgAAAAcAHMAUgBHAEJYWVogAAAAAAAAb6IAADj1AAADkFhZWiAAAAAA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gNGCTQRj2YmxoT259SWlnA1dtgjuRe2cZOmxqn+mvuyGdvAd9XjPSV4VVEAnROrjCwrgbhyKFpb8s12Za8/F4cSrPOSuadvlSXDEdhrb27ok+DnCnJqOg8Kj9Gqlca2xL+KvTh1u+NuUBnWJWF2Y9f3+xrM9KPN55AGLwUs8yRaGNKw9ngyAAfv8bf7tO4JOhTqKsM4JbfTtFKmlQhMS77J/ZyxsS7I+u5WO0/gjo83E7/80LOn4Ple50oLNP3yW4yTSnlNCwg+COLMFER8MfaIeAHTLvnkH3eDLow61YfoXxUp6SIMiBAHJ75Y1CrZeW1DvEoWdfnDhpz06KBs12oE7Ob6wCwc+FXeaKHfhDxAz/7xTqCDxZf++IGd1QQAB/TN8qRAl4EZQF8tbRrVQIKm2g8cbO8potBMoXyVFfUtI4r31krwmWYxDz2AAAAAAAA",Z={list:{type:Array,default:()=>[]},handList:{type:Array,default:()=>[]},multiple:{type:Boolean,default:!0},max:{type:Number,default:0},fixPropOpt:{type:Object,default:()=>{}},fixTypeOpt:{type:Object,default:()=>{}},height:{type:String,default:"404px"},imageBaseUrl:{type:String,default:""},emptyText:{type:String,default:"暂无数据"},children:{type:Boolean,default:!0},chooseType:{type:Array,default:()=>["dep"]}},je={class:"left-pick-list"},We={key:1,class:"post-view-list"},He={class:"checkText"},Ge={class:"iconBox"},$e={class:"name_number"},ze={class:"title"},Qe={key:0,class:"userCount"},Xe={key:1,class:"checkText"},qe={class:"iconBox"},Ze={class:"name_number"},Ke={class:"title"},Ye={key:0,class:"userCount"},Je=["onClick"],ve={class:"checkText"},et={class:"iconBox"},tt={class:"name_number"},lt={class:"title"},ot={key:0,class:"userCount"},at={key:1,class:"checkText"},nt={class:"iconBox"},rt={class:"name_number"},st={class:"title"},it={key:0,class:"userCount"},ct=["onClick"],pt={key:2,class:"empty"},dt=D(e.defineComponent({__name:"GroupList",props:Z,emits:["change","check","handChild"],setup(p,{emit:A}){var h,r;const t=p,o=e.computed(()=>{var s,l;return((s=t.handList)==null?void 0:s.length)===((l=t.list)==null?void 0:l.length)}),x=e.computed(()=>{var n,m,d,N;const s=(n=t.handList)==null?void 0:n.length,l=(m=t.list)==null?void 0:m.length;return t.multiple?k.value=t.handList.map(f=>f[t.fixPropOpt.id]):E.value=(N=(d=t.handList)==null?void 0:d[0])==null?void 0:N[t.fixPropOpt.id],s>0&&s<l}),k=e.ref(t.handList.map(s=>s[t.fixPropOpt.id])),E=e.ref((r=(h=t.handList)==null?void 0:h[0])==null?void 0:r[t.fixPropOpt.id]),O=A,i=s=>{const l=s?t.list.map(n=>{if(t.chooseType.includes(n[t.fixPropOpt.type].toLowerCase())&&n.available!==!1)return n[t.fixPropOpt.id]}):[];O("change",l,s?t.list:[])},C=s=>{O("change",s,t.list)},T=s=>{O("change",s,t.list)},P=(s,l)=>{l||O("handChild",s)};return(s,l)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createCommentVNode(" 遍历list多选 "),e.createElementVNode("div",je,[s.multiple&&s.list&&s.list.length?(e.openBlock(),e.createBlock(e.unref(V.ElCheckbox),{key:0,modelValue:o.value,"onUpdate:modelValue":l[0]||(l[0]=n=>o.value=n),indeterminate:x.value,onChange:i},{default:e.withCtx(()=>l[3]||(l[3]=[e.createTextVNode("全选")])),_:1},8,["modelValue","indeterminate"])):e.createCommentVNode("v-if",!0),s.list&&s.list.length?(e.openBlock(),e.createElementBlock("ul",We,[s.multiple?(e.openBlock(),e.createBlock(e.unref(V.ElCheckboxGroup),{key:0,modelValue:k.value,"onUpdate:modelValue":l[1]||(l[1]=n=>k.value=n),onChange:C},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.list,n=>{var m;return e.openBlock(),e.createElementBlock("li",{key:n[t.fixPropOpt.id]},[s.chooseType.includes(n[t.fixPropOpt.type].toLowerCase())&&n.available!==!1?(e.openBlock(),e.createBlock(e.unref(V.ElCheckbox),{key:0,label:n[t.fixPropOpt.id],disabled:n.available===!1},{default:e.withCtx(()=>[e.createElementVNode("div",He,[e.createElementVNode("div",Ge,[e.createVNode(S,{fixTypeOpt:t.fixTypeOpt,fixPropOpt:t.fixPropOpt,element:n,imageBaseUrl:t.imageBaseUrl},null,8,["fixTypeOpt","fixPropOpt","element","imageBaseUrl"])]),e.createElementVNode("div",$e,[e.createElementVNode("div",ze,e.toDisplayString(n[t.fixPropOpt.name]),1),n[t.fixPropOpt.type]===t.fixTypeOpt.group?(e.openBlock(),e.createElementBlock("div",Qe," ("+e.toDisplayString(n.userCount)+") ",1)):e.createCommentVNode("v-if",!0)])])]),_:2},1032,["label","disabled"])):(e.openBlock(),e.createElementBlock("div",Xe,[l[4]||(l[4]=e.createElementVNode("div",{class:"side"},null,-1)),e.createElementVNode("div",qe,[e.createVNode(S,{fixTypeOpt:t.fixTypeOpt,fixPropOpt:t.fixPropOpt,element:n,imageBaseUrl:t.imageBaseUrl},null,8,["fixTypeOpt","fixPropOpt","element","imageBaseUrl"])]),e.createElementVNode("div",Ze,[e.createElementVNode("div",Ke,e.toDisplayString(n[t.fixPropOpt.name]),1),n[t.fixPropOpt.type]===t.fixTypeOpt.group?(e.openBlock(),e.createElementBlock("div",Ye," ("+e.toDisplayString(n.userCount)+") ",1)):e.createCommentVNode("v-if",!0)])])),n[t.fixPropOpt.type]===t.fixTypeOpt.group&&t.children?(e.openBlock(),e.createElementBlock("span",{key:2,class:e.normalizeClass(["nextLevel",{"is-disabled":(m=k.value)==null?void 0:m.find(d=>d===n[t.fixPropOpt.id])}]),onClick:d=>{var N;return P(n,(N=k.value)==null?void 0:N.find(f=>f===n[t.fixPropOpt.id]))}}," 下级",10,Je)):e.createCommentVNode("v-if",!0)])}),128))]),_:1},8,["modelValue"])):(e.openBlock(),e.createBlock(e.unref(V.ElRadioGroup),{key:1,isIndeterminate:x.value,modelValue:E.value,"onUpdate:modelValue":l[2]||(l[2]=n=>E.value=n),onChange:T},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.list,n=>{var m;return e.openBlock(),e.createElementBlock("li",{class:"w-full",key:n[t.fixPropOpt.id]},[s.chooseType.includes(n[t.fixPropOpt.type].toLowerCase())&&n.available!==!1?(e.openBlock(),e.createBlock(e.unref(V.ElRadio),{key:0,label:n[t.fixPropOpt.id]},{default:e.withCtx(()=>[e.createElementVNode("div",ve,[e.createElementVNode("div",et,[e.createVNode(S,{fixTypeOpt:t.fixTypeOpt,fixPropOpt:t.fixPropOpt,element:n,imageBaseUrl:t.imageBaseUrl},null,8,["fixTypeOpt","fixPropOpt","element","imageBaseUrl"])]),e.createElementVNode("div",tt,[e.createElementVNode("div",lt,e.toDisplayString(n[t.fixPropOpt.name]),1),n[t.fixPropOpt.type]===t.fixTypeOpt.group?(e.openBlock(),e.createElementBlock("div",ot," ("+e.toDisplayString((n==null?void 0:n.userCount)||0)+") ",1)):e.createCommentVNode("v-if",!0)])])]),_:2},1032,["label"])):(e.openBlock(),e.createElementBlock("div",at,[l[5]||(l[5]=e.createElementVNode("div",{class:"side"},null,-1)),e.createElementVNode("div",nt,[e.createVNode(S,{fixTypeOpt:t.fixTypeOpt,fixPropOpt:t.fixPropOpt,element:n,imageBaseUrl:t.imageBaseUrl},null,8,["fixTypeOpt","fixPropOpt","element","imageBaseUrl"])]),e.createElementVNode("div",rt,[e.createElementVNode("div",st,e.toDisplayString(n[t.fixPropOpt.name]),1),n[t.fixPropOpt.type]===t.fixTypeOpt.group?(e.openBlock(),e.createElementBlock("div",it," ("+e.toDisplayString(n.userCount)+") ",1)):e.createCommentVNode("v-if",!0)])])),n[t.fixPropOpt.type]===t.fixTypeOpt.group&&t.children?(e.openBlock(),e.createElementBlock("span",{key:2,class:e.normalizeClass(["nextLevel",{"is-disabled":(m=k.value)==null?void 0:m.find(d=>d===n[t.fixPropOpt.id])}]),onClick:d=>{var N;return P(n,(N=k.value)==null?void 0:N.find(f=>f===n[t.fixPropOpt.id]))}}," 下级",10,ct)):e.createCommentVNode("v-if",!0)])}),128))]),_:1},8,["isIndeterminate","modelValue"]))])):(e.openBlock(),e.createElementBlock("div",pt,[l[6]||(l[6]=e.createElementVNode("img",{src:q,alt:""},null,-1)),e.createElementVNode("div",null,e.toDisplayString(t.emptyText),1)]))])],2112))}}),[["__scopeId","data-v-8c34a55d"]]),ft={class:"left-pick-list"},mt={key:1,class:"post-view-list"},At={class:"iconBox"},ht={key:1,class:"checkText"},yt={class:"iconBox"},ut={class:"title"},kt={class:"ik-picker-single"},gt={class:"iconBox"},xt={key:1,class:"checkText"},Bt={class:"iconBox"},Et={class:"title"},Ot={key:2,class:"empty"},Vt=D(e.defineComponent({__name:"PostList",props:Z,emits:["change","check"],setup(p,{emit:A}){var P,h;const t=p,o=e.computed(()=>{var r,s;return((r=t.handList)==null?void 0:r.length)===((s=t.list)==null?void 0:s.length)}),x=e.computed(()=>{var l,n,m,d;const r=(l=t.handList)==null?void 0:l.length,s=(n=t.list)==null?void 0:n.length;return t.multiple?k.value=t.handList.map(N=>N[t.fixPropOpt.id]):E.value=(d=(m=t.handList)==null?void 0:m[0])==null?void 0:d[t.fixPropOpt.id],r>0&&r<s}),k=e.ref(t.handList.map(r=>r[t.fixPropOpt.id])),E=e.ref((h=(P=t.handList)==null?void 0:P[0])==null?void 0:h[t.fixPropOpt.id]),O=A,i=r=>{const s=r?t.list.map(l=>l[t.fixPropOpt.id]):[];O("change",s,r?t.list:[])},C=r=>{O("change",r,t.list)},T=r=>{O("change",r,t.list)};return(r,s)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createCommentVNode(" 遍历list多选 "),e.createElementVNode("div",ft,[r.multiple&&r.chooseType.includes("post")&&r.list&&r.list.length?(e.openBlock(),e.createBlock(e.unref(V.ElCheckbox),{key:0,modelValue:o.value,"onUpdate:modelValue":s[0]||(s[0]=l=>o.value=l),indeterminate:x.value,onChange:i},{default:e.withCtx(()=>s[3]||(s[3]=[e.createTextVNode("全选")])),_:1},8,["modelValue","indeterminate"])):e.createCommentVNode("v-if",!0),r.list&&r.list.length?(e.openBlock(),e.createElementBlock("ul",mt,[r.multiple?(e.openBlock(),e.createBlock(e.unref(V.ElCheckboxGroup),{key:0,modelValue:k.value,"onUpdate:modelValue":s[1]||(s[1]=l=>k.value=l),onChange:C},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.list,l=>(e.openBlock(),e.createElementBlock("li",{key:l[t.fixPropOpt.id]},[r.chooseType.includes(l[t.fixPropOpt.type].toLowerCase())?(e.openBlock(),e.createBlock(e.unref(V.ElCheckbox),{key:0,label:l[t.fixPropOpt.id]},{default:e.withCtx(()=>[e.createElementVNode("div",At,[e.createVNode(S,{fixTypeOpt:t.fixTypeOpt,fixPropOpt:t.fixPropOpt,element:l,imageBaseUrl:t.imageBaseUrl},null,8,["fixTypeOpt","fixPropOpt","element","imageBaseUrl"])]),e.createElementVNode("p",null,e.toDisplayString(l[t.fixPropOpt.name]),1)]),_:2},1032,["label"])):(e.openBlock(),e.createElementBlock("div",ht,[s[4]||(s[4]=e.createElementVNode("div",{class:"side"},null,-1)),e.createElementVNode("div",yt,[e.createVNode(S,{fixTypeOpt:t.fixTypeOpt,fixPropOpt:t.fixPropOpt,element:l,imageBaseUrl:t.imageBaseUrl},null,8,["fixTypeOpt","fixPropOpt","element","imageBaseUrl"])]),e.createElementVNode("div",ut,e.toDisplayString(l[t.fixPropOpt.name]),1)]))]))),128))]),_:1},8,["modelValue"])):(e.openBlock(),e.createBlock(e.unref(V.ElRadioGroup),{key:1,isIndeterminate:x.value,modelValue:E.value,"onUpdate:modelValue":s[2]||(s[2]=l=>E.value=l),onChange:T},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.list,l=>(e.openBlock(),e.createElementBlock("li",{class:"w-full",key:l[t.fixPropOpt.id]},[r.chooseType.includes(l[t.fixPropOpt.type].toLowerCase())?(e.openBlock(),e.createBlock(e.unref(V.ElRadio),{key:0,label:l[t.fixPropOpt.id]},{default:e.withCtx(()=>[e.createElementVNode("div",kt,[e.createElementVNode("div",gt,[e.createVNode(S,{fixTypeOpt:t.fixTypeOpt,fixPropOpt:t.fixPropOpt,element:l,imageBaseUrl:t.imageBaseUrl},null,8,["fixTypeOpt","fixPropOpt","element","imageBaseUrl"])]),e.createElementVNode("p",null,e.toDisplayString(l[t.fixPropOpt.name]),1)])]),_:2},1032,["label"])):(e.openBlock(),e.createElementBlock("div",xt,[s[5]||(s[5]=e.createElementVNode("div",{class:"side"},null,-1)),e.createElementVNode("div",Bt,[e.createVNode(S,{fixTypeOpt:t.fixTypeOpt,fixPropOpt:t.fixPropOpt,element:l,imageBaseUrl:t.imageBaseUrl},null,8,["fixTypeOpt","fixPropOpt","element","imageBaseUrl"])]),e.createElementVNode("div",Et,e.toDisplayString(l[t.fixPropOpt.name]),1)]))]))),128))]),_:1},8,["isIndeterminate","modelValue"]))])):(e.openBlock(),e.createElementBlock("div",Ot,[s[6]||(s[6]=e.createElementVNode("img",{src:q,alt:""},null,-1)),e.createElementVNode("div",null,e.toDisplayString(t.emptyText),1)]))])],2112))}}),[["__scopeId","data-v-e03f0d36"]]),Nt={class:"left-pick-list"},Tt={key:1,class:"role-view-list"},Ct={class:"iconBox"},Lt=["title"],Pt={key:1,class:"checkText"},St={class:"iconBox"},wt=["title"],bt={class:"ik-picker-single"},_t={class:"iconBox"},Ut=["title"],Dt={key:1,class:"checkText"},It={class:"iconBox"},Ft=["title"],Rt={key:2,class:"empty"},Mt=D(e.defineComponent({__name:"RoleList",props:Z,emits:["change","check"],setup(p,{emit:A}){var P,h;const t=p,o=e.computed(()=>{var r,s;return((r=t.handList)==null?void 0:r.length)===((s=t.list)==null?void 0:s.length)}),x=e.computed(()=>{var l,n,m,d;const r=(l=t.handList)==null?void 0:l.length,s=(n=t.list)==null?void 0:n.length;return t.multiple?k.value=t.handList.map(N=>N[t.fixPropOpt.id]):E.value=(d=(m=t.handList)==null?void 0:m[0])==null?void 0:d[t.fixPropOpt.id],r>0&&r<s}),k=e.ref(t.handList.map(r=>r[t.fixPropOpt.id])),E=e.ref((h=(P=t.handList)==null?void 0:P[0])==null?void 0:h[t.fixPropOpt.id]),O=A,i=r=>{const s=r?t.list.map(l=>l[t.fixPropOpt.id]):[];O("change",s,r?t.list:[])},C=r=>{O("change",r,t.list)},T=r=>{O("change",r,t.list)};return(r,s)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createCommentVNode(" 遍历list多选 "),e.createElementVNode("div",Nt,[r.multiple&&r.chooseType.includes("role")&&r.list&&r.list.length?(e.openBlock(),e.createBlock(e.unref(V.ElCheckbox),{key:0,modelValue:o.value,"onUpdate:modelValue":s[0]||(s[0]=l=>o.value=l),indeterminate:x.value,onChange:i},{default:e.withCtx(()=>s[3]||(s[3]=[e.createTextVNode("全选")])),_:1},8,["modelValue","indeterminate"])):e.createCommentVNode("v-if",!0),r.list&&r.list.length?(e.openBlock(),e.createElementBlock("ul",Tt,[r.multiple?(e.openBlock(),e.createBlock(e.unref(V.ElCheckboxGroup),{key:0,modelValue:k.value,"onUpdate:modelValue":s[1]||(s[1]=l=>k.value=l),onChange:C},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.list,l=>(e.openBlock(),e.createElementBlock("li",{key:l[r.fixPropOpt.id]},[r.chooseType.includes(l[t.fixPropOpt.type].toLowerCase())?(e.openBlock(),e.createBlock(e.unref(V.ElCheckbox),{key:0,label:l[r.fixPropOpt.id],value:l[r.fixPropOpt.id],disabled:l.disabled},{default:e.withCtx(()=>[e.createElementVNode("div",Ct,[e.createVNode(S,{fixTypeOpt:t.fixTypeOpt,fixPropOpt:t.fixPropOpt,element:l,imageBaseUrl:t.imageBaseUrl},null,8,["fixTypeOpt","fixPropOpt","element","imageBaseUrl"])]),e.createElementVNode("p",{title:l[r.fixPropOpt.name]},e.toDisplayString(l[r.fixPropOpt.name]),9,Lt)]),_:2},1032,["label","value","disabled"])):(e.openBlock(),e.createElementBlock("div",Pt,[s[4]||(s[4]=e.createElementVNode("div",{class:"side"},null,-1)),e.createElementVNode("div",St,[e.createVNode(S,{fixTypeOpt:t.fixTypeOpt,fixPropOpt:t.fixPropOpt,element:l,imageBaseUrl:t.imageBaseUrl},null,8,["fixTypeOpt","fixPropOpt","element","imageBaseUrl"])]),e.createElementVNode("div",{class:"title",title:l[r.fixPropOpt.name]},e.toDisplayString(l[r.fixPropOpt.name]),9,wt)]))]))),128))]),_:1},8,["modelValue"])):(e.openBlock(),e.createBlock(e.unref(V.ElRadioGroup),{key:1,indeterminate:x.value,modelValue:E.value,"onUpdate:modelValue":s[2]||(s[2]=l=>E.value=l),onChange:T},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.list,l=>(e.openBlock(),e.createElementBlock("li",{class:"w-full",key:l[r.fixPropOpt.id]},[r.chooseType.includes(l[t.fixPropOpt.type].toLowerCase())?(e.openBlock(),e.createBlock(e.unref(V.ElRadio),{key:0,label:l[r.fixPropOpt.id],value:l[r.fixPropOpt.id],disabled:l.disabled},{default:e.withCtx(()=>[e.createElementVNode("div",bt,[e.createElementVNode("div",_t,[e.createVNode(S,{fixTypeOpt:t.fixTypeOpt,fixPropOpt:t.fixPropOpt,element:l,imageBaseUrl:t.imageBaseUrl},null,8,["fixTypeOpt","fixPropOpt","element","imageBaseUrl"])]),e.createElementVNode("p",{title:l[r.fixPropOpt.name]},e.toDisplayString(l[r.fixPropOpt.name]),9,Ut)])]),_:2},1032,["label","value","disabled"])):(e.openBlock(),e.createElementBlock("div",Dt,[s[5]||(s[5]=e.createElementVNode("div",{class:"side"},null,-1)),e.createElementVNode("div",It,[e.createVNode(S,{fixTypeOpt:t.fixTypeOpt,fixPropOpt:t.fixPropOpt,element:l,imageBaseUrl:t.imageBaseUrl},null,8,["fixTypeOpt","fixPropOpt","element","imageBaseUrl"])]),e.createElementVNode("div",{class:"title",title:l[r.fixPropOpt.name]},e.toDisplayString(l[r.fixPropOpt.name]),9,Ft)]))]))),128))]),_:1},8,["indeterminate","modelValue"]))])):(e.openBlock(),e.createElementBlock("div",Rt,[s[6]||(s[6]=e.createElementVNode("img",{src:q,alt:""},null,-1)),e.createElementVNode("div",null,e.toDisplayString(t.emptyText),1)]))])],2112))}}),[["__scopeId","data-v-be3b3e45"]]);var z=(p=>(p.group="group",p.role="role",p.post="post",p))(z||{});const jt={children:{type:Boolean,default:!0},topLink:{type:Boolean,default:!0},modelValue:{type:Array,default:()=>[]},data:{type:Array,default:()=>[]},orgPid:{type:String,default:""},org:{type:Object,default:()=>null},immediate:{type:Boolean,default:!1},show:{type:Boolean,default:!1,required:!0},width:{type:String,default:"685px"},height:{type:String,default:"580px"},title:{type:String,default:"选择人员"},groupList:{type:Array,default:()=>[]},userList:{type:Array,default:()=>[]},roleList:{type:Array,default:()=>[]},postList:{type:Array,default:()=>[]},multiple:{type:Boolean,default:!0},max:{type:Number,default:0},tabs:{type:Array,validator:p=>{if(p===void 0)return!0;if(Array.isArray(p)){if(!(p!=null&&p.length))return!1}else return console.error("IkingPicker参数错误:tabs必须是Array类型"),!1;return!0},default:()=>["group","role","post"]},chooseType:{type:Array,default:()=>["dep"]},api:{type:Object,default:()=>({methods:"post",headers:{"Content-Type":"application/json;charset=UTF-8",Authorization:"Bearer 9aa65e31e86f4232ac4e4136fb1d3413"},url:`${location.origin}${location.pathname}/serve/component/pick/mix`,param:null,paramKey:"type"})},typeOption:{type:Object,default:()=>{}},propOption:{type:Object,default:()=>null},search:{type:Boolean,default:!0},lazy:{type:Boolean,default:!0},imageBaseUrl:{type:String,default:""},placeholder:{type:String,default:"请输入"},emptyText:{type:String,default:"暂无数据"},dataScopeOnly:{type:Boolean,default:!1},rootDepartmentOnly:{type:Boolean,default:!1}},ne=p=>{const A=window.location.search;return new URLSearchParams(A).get(p)},Wt=p=>{const A=L.ikStore.local.getItem("x_domain");A&&(p["X-DOMAIN"]=A)},Ht=p=>{var t;const A=ne("domain");if(A){p["X-DOMAIN"]=A;const o=ne("code");A==="APPLICATION"&&(p["X-APP"]=o)}else Wt(p);(t=L.ikStore.local.getItem("tenant"))==null||t.code},Gt=(p,A)=>{const t=e.ref([]),o=async(k,E)=>{var j,B,w;const{url:O,methods:i,headers:C,param:T}=p.value||{},P={rootDepartmentId:((j=L.ikStore.local.getItem("now_shop"))==null?void 0:j.storeId)||"",parentDepartmentId:k||"",name:E||"",rootDepartmentOnly:A.rootDepartmentOnly,dataScopeOnly:A.dataScopeOnly,...T||{}},h={method:i,url:O,headers:{"Content-Type":"application/json;charset=UTF-8",...C},data:JSON.stringify(P)};Ht(h.headers);const r=await me(h),{success:s,data:l}=r.data;if(!s)return{groupList:[],roleList:[],postList:[],userList:[],rootOrganization:{},rootDepartment:{}};const{departments:n,roles:m,posts:d,users:N,rootOrganization:f,rootDepartment:_}=l,M=f||_;return t.value.length===0&&(t.value[0]=A.org?{...A.org,id:A.elementId,elementType:(w=(B=A.org)==null?void 0:B.elementType)==null?void 0:w.toLocaleUpperCase()}:{...M,id:M.elementId}),{groupList:L._.cloneDeep(n),roleList:L._.cloneDeep(m),postList:L._.cloneDeep(d),userList:L._.cloneDeep(N),rootOrganization:f,rootDepartment:_}};return{handData:o,handSetChild:(k,E)=>{o(k==null?void 0:k.elementId,E)},bannerList:t}},$t={shadow:"hover",class:"sel-list"},zt={key:0},Qt={class:"choose-list"},Xt={class:"choose-item"},qt={class:"choose-box"},Zt={class:"list-group-item"},Kt={class:"item_info"},Yt={class:"avatar_box"},Jt={class:"dialog-footer"},vt=le(e.defineComponent({__name:"picker",props:jt,emits:["handChild","update:show","update:modelValue","ok","search"],setup(p,{expose:A,emit:t}){e.useCssVars(a=>({"775d0d08":de.value}));const o=p,x=e.ref(""),k=e.ref(""),E=e.ref([]),O=e.ref([]),i=e.ref([]),C=e.ref([]),T=e.ref(!1),P=e.computed(()=>w.value.includes("user")?O.value.concat(E.value):O.value);e.watch(()=>o.api,()=>{o.show&&j("")});const h=e.computed(()=>({name:"name",type:"type",id:"id",avatar:"avatar",...o.propOption})),r=e.computed(()=>({user:"USER",role:"ROLE",post:"POST",group:"DEPT",...o.typeOption})),s=e.ref([]),l=Gt(e.toRef(o,"api"),o),n=l.handData,m=l.bannerList;o.immediate&&n(k.value,x.value);const d=a=>(a.forEach(c=>{var y,u;c.disabled=((u=(y=o.modelValue)==null?void 0:y.find(g=>g[h.value.id]===c[h.value.id]))==null?void 0:u.disabled)||!1}),a),N=async()=>{var a,c,y,u,g,F,te,fe;T.value=!0;try{if((a=o.groupList)!=null&&a.length||(c=o.userList)!=null&&c.length||(y=o.roleList)!=null&&y.length||(u=o.postList)!=null&&u.length){E.value=(g=o.userList)==null?void 0:g.filter(R=>R[h.value.name].includes(x.value)),O.value=(F=o.groupList)==null?void 0:F.filter(R=>R[h.value.name].includes(x.value)),i.value=(te=o.roleList)==null?void 0:te.filter(R=>R[h.value.name].includes(x.value)),C.value=(fe=o.postList)==null?void 0:fe.filter(R=>R[h.value.name].includes(x.value)),Y(),T.value=!1;return}const b=await n(k.value,x.value);try{E.value=d((b==null?void 0:b.userList)||[]),O.value=d((b==null?void 0:b.groupList)||[]),i.value=d((b==null?void 0:b.roleList)||[]),C.value=d((b==null?void 0:b.postList)||[])}catch(R){T.value=!1,console.info("error: ",R)}Y(),T.value=!1}catch{T.value=!1}},f=e.reactive({group:new Map,user:new Map,role:new Map,post:new Map,trans:[],single:""}),_=e.reactive({indeterminate:!1,checkAll:0}),M=a=>f.group.has(a)||f.user.has(a)||f.role.has(a)||f.post.has(a),j=L.ikEvent.debounce(N,300),B=e.computed(()=>{const a=Array.from(f.group.values()),c=Array.from(f.role.values()),y=Array.from(f.user.values()),u=Array.from(f.post.values());return s.value=[...c,...u,...y,...a],{list:[...c,...y,...u,...a],role:{list:c,len:c.length},user:{list:y,len:y.length},post:{list:u,len:u.length},groups:{list:a,len:a.length}}}),w=e.computed(()=>{const a=o.chooseType.map(y=>y.toLocaleLowerCase());let c=[...a];return a.includes("dep")&&(c=[...c,"dept"]),a.includes("dep_user")&&(c=[...c,"user"]),c}),I=e.ref([]),se=a=>{I.value=a,I.value.forEach(c=>{c.readonly=c==null?void 0:c.disabled})},Q=t,K=e.ref(!1),Y=(a=!1)=>{var y;const c=(y=o==null?void 0:o.userList)!=null&&y.length?L._.cloneDeep([...o==null?void 0:o.userList,...o==null?void 0:o.groupList]):[...O.value,...E.value];return!a&&se(c),c};e.watch(()=>o.show,async a=>{var c;if(K.value=a,a){k.value=((c=o.org)==null?void 0:c.elementId)||o.orgPid,!o.userList.length&&!o.groupList.length&&!o.roleList.length&&!o.postList.length?await N():(E.value=o.userList,O.value=o.groupList,i.value=o.roleList,C.value=o.postList),f.trans=[],_.checkAll=0,_.indeterminate=!1;const y=Y(!0);for(const g of y)M(g[h.value.id])&&f.trans.push(g[h.value.id]);const u=y.length===f.trans.length;_.indeterminate=!!(y.length&&!u),_.checkAll=Number(y.length&&u),e.nextTick(()=>{var g;(g=o.modelValue)!=null&&g.length?o.modelValue.forEach(F=>{W(F),o.multiple?f.trans.push(F[h.value.id]):f.single=F[h.value.id]}):G()})}else G()}),e.watchEffect(()=>{let a;a=I.value.length;const c=f.trans.length;_.indeterminate=f.trans.length?c!==a:!1,_.checkAll=+(a!==0&&c===a)}),e.watch(()=>o.modelValue,a=>{a!=null&&a.length?a.forEach(c=>{W(c),o.multiple?f.trans.push(c[h.value.id]):f.single=c[h.value.id]}):G()});const $=a=>{var c;if(a){if(f.single="",a[h.value.id]){const y=(c=f.trans)==null?void 0:c.findIndex(u=>u===a[h.value.id]);y!==-1&&f.trans.splice(y,1)}switch(a[h.value.type]){case r.value.user:return f.user.delete(a[h.value.id]);case r.value.role:return f.role.delete(a[h.value.id]);case r.value.post:return f.post.delete(a[h.value.id]);case r.value.group:return f.group.delete(a[h.value.id]);default:return}}},ie=a=>{$(a)},W=a=>{if(!M(a[h.value.id])){const c={...a};switch(a[h.value.type]){case r.value.user:return f.user.set(a[h.value.id],c);case r.value.role:return f.role.set(a[h.value.id],c);case r.value.post:return f.post.set(a[h.value.id],c);case r.value.group:return f.group.set(a[h.value.id],c);default:return}}},Tl=a=>[r.value.group].includes(a[h.value.type])?a==null?void 0:a.hasOwnProperty("disabled"):!1;e.watch(()=>f.trans,a=>{if(!a.length)I.value.forEach(c=>{c.disabled=!1});else{const c=I.value.filter(u=>!a.includes(u[h.value.id]));for(const u of c)u.disabled=!1,o.multiple&&$(u);const y=I.value.filter(u=>a.includes(u[h.value.id]));for(const u of y)u.disabled=Tl(u),W(u)}},{deep:!0}),e.watch(()=>f.single,a=>{var c;if(a){const y=(c=I.value)==null?void 0:c.find(u=>u[h.value.id]===a);y&&(f.user.clear(),f.role.clear(),f.post.clear(),f.group.clear(),f.trans=[],e.nextTick(()=>{W(y)}))}});const Cl=a=>{k.value=a==null?void 0:a.elementId,N(),m.value.push(a)},ce=e.computed(()=>m.value.length),Ll=(a,c)=>{!c&&!o.topLink||c!==ce.value-1&&(k.value=a==null?void 0:a.elementId,N(),m.value.splice(c+1))},Pl=e.computed(()=>o.chooseType.includes("role")&&o.chooseType.length===1),Sl=e.computed(()=>o.chooseType.includes("post")&&o.chooseType.length===1),X=e.ref(o.tabs[0]),H=e.ref(o.tabs[0]);e.watchEffect(()=>(H.value=Pl.value?o.tabs[1]:Sl.value?o.tabs[2]:X.value,H.value));const G=()=>{f.user.clear(),f.role.clear(),f.post.clear(),f.group.clear(),f.trans=[],v.value=[],ee.value=[],X.value=o.tabs[0],H.value=o.tabs[0],x.value="",k.value=o.orgPid,m.value.splice(1,m.value.length),f.single="",s.value=[]},wl=()=>{var a;Q("ok",L._.cloneDeep({...B.value,sort:s.value})),Q("update:modelValue",L._.cloneDeep(((a=B.value)==null?void 0:a.list)||[])),Q("update:show",!1),G()},pe=()=>{Q("update:show",!1),G()};A({handClear:G,handRomeve:ie,handDelete:$});const bl=e.computed(()=>{const a=w.value;return!!((a.includes("post")||a.includes("role"))&&a.length>1)}),_l=e.computed(()=>[{name:"group",label:"组织架构"},{name:"role",label:"角色列表"},{name:"post",label:"岗位列表"}].filter(a=>o.tabs.includes(a.name))),de=e.computed(()=>`${typeof o.height=="string"?Number.parseInt(o.height):o.height}px`),J=()=>{o.multiple||(f.post.clear(),f.role.clear(),f.user.clear(),f.group.clear(),f.single="")},Ul=e.computed(()=>B.value.groups.list.concat(B.value.user.list)),Dl=(a,c)=>{o.multiple||(f.single="");const y=o.multiple?a:[a];if(!y.length){f.group.clear(),f.user.clear();return}J(),c.forEach(u=>{y!=null&&y.includes(u[h.value.id])?W(u):$(u)})},v=e.ref([]),Il=(a,c)=>{o.multiple||(f.single="");const y=o.multiple?a:[a];if(!y.length){f.role.clear();return}J(),c.forEach(u=>{y!=null&&y.includes(u[h.value.id])?W(u):$(u)})};e.watch(()=>B.value.role.len,a=>{v.value=L._.cloneDeep(B.value.role.list)});const ee=e.ref([]),Fl=(a,c)=>{o.multiple||(f.single="");const y=o.multiple?a:[a];if(!y.length){f.post.clear();return}J(),c.forEach(u=>{y!=null&&y.includes(u[h.value.id])?W(u):$(u)})};return e.watch(()=>B.value.post.len,a=>{ee.value=L._.cloneDeep(B.value.post.list)}),e.watch(()=>x.value,a=>{j("")}),(a,c)=>{const y=e.resolveComponent("el-tab-pane"),u=e.resolveComponent("el-tabs");return e.openBlock(),e.createBlock(e.unref(V.ElDialog),{modelValue:K.value,"onUpdate:modelValue":c[2]||(c[2]=g=>K.value=g),title:a.title,"destroy-on-close":"","append-to-body":"","close-on-click-modal":!1,"close-on-click-escape":!1,draggable:"","align-center":"",width:typeof a.width=="string"?a.width:`${a.width}%`,class:"p_p_picker-dialog","modal-class":"p_p_picker-dialog-modal-user",onClose:pe},{footer:e.withCtx(()=>[e.createElementVNode("span",Jt,[e.createVNode(e.unref(V.ElButton),{onClick:e.withModifiers(pe,["stop"])},{default:e.withCtx(()=>c[6]||(c[6]=[e.createTextVNode("取消")])),_:1}),e.createVNode(e.unref(V.ElButton),{type:"primary",onClick:e.withModifiers(wl,["stop"])},{default:e.withCtx(()=>c[7]||(c[7]=[e.createTextVNode(" 确定 ")])),_:1})])]),default:e.withCtx(()=>[e.createElementVNode("div",{class:"dep-use-picker",style:e.normalizeStyle({height:de.value})},[e.createElementVNode("div",$t,[e.createElementVNode("div",null,[e.createVNode(e.unref(V.ElInput),{modelValue:x.value,"onUpdate:modelValue":c[0]||(c[0]=g=>x.value=g),clearable:"",placeholder:a.placeholder,"suffix-icon":xe},null,8,["modelValue","placeholder"]),bl.value?(e.openBlock(),e.createBlock(u,{key:0,modelValue:X.value,"onUpdate:modelValue":c[1]||(c[1]=g=>X.value=g),class:"ik-picker-tab"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(_l.value,g=>(e.openBlock(),e.createBlock(y,{label:g.label,name:g.name,key:g.label},null,8,["label","name"]))),128))]),_:1},8,["modelValue"])):e.createCommentVNode("v-if",!0)]),e.createCommentVNode(" 过滤 "),H.value===e.unref(z).group?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[ce.value?(e.openBlock(),e.createElementBlock("div",zt,[e.createCommentVNode(" 面包屑 全选 "),e.createVNode(e.unref(V.ElBreadcrumb),{separator:">",class:e.normalizeClass(["banner",{"top-unlink":!a.topLink}])},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(m),(g,F)=>(e.openBlock(),e.createBlock(e.unref(V.ElBreadcrumbItem),{key:g[h.value.id],onClick:e.withModifiers(te=>Ll(g,F),["stop"])},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(g[h.value.name]),1)]),_:2},1032,["onClick"]))),128))]),_:1},8,["class"])])):e.createCommentVNode("v-if",!0)],64)):e.createCommentVNode("v-if",!0),e.createCommentVNode(" 左侧列表 "),e.createCommentVNode(" 组织架构 "),H.value===e.unref(z).group?e.withDirectives((e.openBlock(),e.createBlock(dt,{key:1,fixPropOpt:h.value,fixTypeOpt:r.value,list:P.value,max:a.max,multiple:a.multiple,"hand-list":Ul.value,imageBaseUrl:o.imageBaseUrl,emptyText:o.emptyText,children:o.children,"choose-type":w.value,onHandChild:Cl,onChange:Dl},null,8,["fixPropOpt","fixTypeOpt","list","max","multiple","hand-list","imageBaseUrl","emptyText","children","choose-type"])),[[e.unref(V.vLoading),T.value]]):H.value===e.unref(z).role?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createCommentVNode(" 角色 "),e.withDirectives(e.createVNode(Mt,{fixPropOpt:h.value,fixTypeOpt:r.value,list:i.value,max:a.max,multiple:a.multiple,"hand-list":v.value,imageBaseUrl:o.imageBaseUrl,emptyText:o.emptyText,"choose-type":w.value,onChange:Il},null,8,["fixPropOpt","fixTypeOpt","list","max","multiple","hand-list","imageBaseUrl","emptyText","choose-type"]),[[e.unref(V.vLoading),T.value]])],64)):H.value===e.unref(z).post?(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[e.createCommentVNode(" 岗位 "),e.withDirectives(e.createVNode(Vt,{fixPropOpt:h.value,fixTypeOpt:r.value,list:C.value,max:a.max,multiple:a.multiple,"hand-list":ee.value,imageBaseUrl:o.imageBaseUrl,emptyText:o.emptyText,"choose-type":w.value,onChange:Fl},null,8,["fixPropOpt","fixTypeOpt","list","max","multiple","hand-list","imageBaseUrl","emptyText","choose-type"]),[[e.unref(V.vLoading),T.value]])],64)):e.createCommentVNode("v-if",!0)]),c[5]||(c[5]=e.createElementVNode("div",{class:"split-div"},null,-1)),e.createCommentVNode(" 已选列表 "),e.createElementVNode("div",Qt,[e.createElementVNode("div",Xt,[c[4]||(c[4]=e.createElementVNode("div",null,"已选",-1)),e.createVNode(e.unref(V.ElButton),{type:"primary",link:"",onClick:e.withModifiers(G,["stop"])},{default:e.withCtx(()=>c[3]||(c[3]=[e.createTextVNode("清空")])),_:1})]),e.createElementVNode("ul",qt,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.value,g=>(e.openBlock(),e.createElementBlock("li",Zt,[e.createElementVNode("div",Kt,[e.createCommentVNode(" icon前缀 "),e.createElementVNode("div",Yt,[e.createVNode(S,{fixTypeOpt:r.value,fixPropOpt:h.value,element:g,imageBaseUrl:o.imageBaseUrl},null,8,["fixTypeOpt","fixPropOpt","element","imageBaseUrl"])]),e.createElementVNode("span",null,e.toDisplayString(g[h.value.name]),1)]),e.withDirectives(e.createVNode(Ve,{class:"close",onClick:e.withModifiers(F=>ie(g),["stop"])},null,8,["onClick"]),[[e.vShow,!(g!=null&&g.readonly)]])]))),256))])])],4)]),_:1},8,["modelValue","title","width"])}}})),el={class:"approveProcess",id:"approveProcess"},tl={class:"node"},ll={class:"nodeBg"},ol={key:0,class:"info"},al={class:"explain"},nl={key:0},rl={key:0},sl={key:1},il={key:0},cl={key:1},pl={class:"personlist"},dl={style:{width:"58px"}},fl={class:"avatar"},ml=["src"],Al={key:1,class:"nodeBg"},hl=["onClick"],yl=["title"],ul={key:0,class:"sign"},kl={key:0},gl=["onClick"],xl={key:0,class:"required"},Bl={key:1,class:"node-branchs"},El={style:{flex:"1"}},Ol={class:"node-branch"},Vl={name:"IkApprovalProcess"},Nl=e.defineComponent({...Vl,props:{pickerUrl:{type:String,default:""},pickerConfig:{type:Object,default:()=>({})},loadUrl:{type:String,default:""},dataList:{type:Array,default:()=>[]},defaultNodeType:{type:Object,default:()=>({})},defaultFieldMap:{type:Object,default:()=>({})},statusWithoutApprover:{type:Object,default:()=>({})}},setup(p,{expose:A}){const t=p,{cLoadUrl:o}=ae(t),x=L.ikStore.local.getItem("token")||"Bearer 4db1039f04334180849002932f6a1fc6",k=e.ref("sys");function E(l){try{const n=window.location.search;return new URLSearchParams(n).get(l)}catch{return""}}function O(){var l;try{const n=E("xTenant")||((l=L.ikStore.local.getItem("tenant"))==null?void 0:l.code);n&&(k.value=n)}catch{}}O();const i=e.reactive(he(t)),C=async l=>{var n;if(l.multiple=!l[i.defaultFile.singleApproval]||l[i.defaultFile.isShowAddCopy],l.handList=l[i.defaultFile.approvePersonList]?l[i.defaultFile.approvePersonList]:[],l[i.defaultFile.nodeType]===i.nodeType.抄送节点)l.handList.forEach(m=>{m.elementName||(m.elementName=m.userName,m.elementId=m.userId,m.avatar=m.userAvatar),m.elementType="USER",m.disabled=!0}),l.chooseType=["user"],l.userList=[],l.depList=[];else switch(l[i.defaultFile.initiatorSpecifiedScopeType]){case"ALL":l.chooseType=["dep_user"],l.userList=[],l.depList=[];break;default:l.chooseType=["user"],l.userList=l.userList?l.userList:(n=l[i.defaultFile.initiatorSpecifiedScope])==null?void 0:n.map(m=>({...m,elementName:(m==null?void 0:m.executorName)||(m==null?void 0:m.userName),elementId:(m==null?void 0:m.executorId)||(m==null?void 0:m.userId),avatar:((m==null?void 0:m.executorAvatar)||(m==null?void 0:m.userAvatar))&&T((m==null?void 0:m.executorAvatar)||(m==null?void 0:m.userAvatar))||"",elementType:"USER"}))}e.nextTick(()=>{l.isShow=!0})},T=l=>{let n="";return l.includes("http")||l.includes("https")?n=l:n=o.value?`${l.includes(o.value)?"":o.value}${l}`:`${location.origin+location.pathname}server/oss/download?fileUrl=${l}`,n},P=(l,n)=>{t.dataList[n].handList=l.list;let d=(t.dataList[n][i.defaultFile.approvePersonList]||[]).filter(f=>!f.canDele),N=l.list.map(f=>({...f,userName:f.elementName,userAvatar:f.avatar,canDele:!0}));t.dataList[n][i.defaultFile.approvePersonList]=d.concat(N)},h=(l,n)=>{t.dataList[l][i.defaultFile.approvePersonList].splice(n,1),t.dataList[l].handList=t.dataList[l][i.defaultFile.approvePersonList]},r=()=>{let l=!0;return t.dataList.forEach(n=>{var m;n.required=!1,n[i.defaultFile.nodeType]==i.nodeType.审批节点&&n[i.defaultFile.isShowAdd]&&((m=n[i.defaultFile.approvePersonList])!=null&&m.length||(l=!1,n.required=!0))}),l},s=e.computed(()=>{var l;return{propOption:{name:"elementName",id:"elementId",type:"elementType",avatar:"avatar"},typeOption:{dep:"DEPT",user:"USER",role:"ROLE",post:"POST"},api:{methods:"post",url:t.pickerUrl,headers:{"Content-Type":"application/json;charset=UTF-8",Authorization:x,"X-Tenant":k.value},param:{rootDepartmentId:((l=L.ikStore.local.getItem("now_shop"))==null?void 0:l.storeId)||"",rootDepartmentOnly:!1}},...t.pickerConfig}});return A({requiredVerification:r}),(l,n)=>{const m=e.resolveComponent("IkApprovalProcess",!0);return e.openBlock(),e.createElementBlock("div",el,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.dataList,(d,N)=>{var f,_,M,j;return e.openBlock(),e.createElementBlock("div",{class:"content",key:d.id},[e.createCommentVNode(" 审批节点类型 "),e.createElementVNode("div",tl,[e.createElementVNode("span",ll,[e.createElementVNode("i",{class:e.normalizeClass(e.unref(ye)(i,d[i.defaultFile.nodeType]))},null,2)]),e.createElementVNode("div",{class:"line",style:e.normalizeStyle({"border-left":N===t.dataList.length-1?"":"2px solid var(--el-border-color)"})},null,4)]),d[i.defaultFile.nodeType]!==i.nodeType.并行分支?(e.openBlock(),e.createElementBlock("div",ol,[e.createElementVNode("div",null,[e.createElementVNode("div",null,e.toDisplayString(d[i.defaultFile.nodeTypeName]),1),e.createElementVNode("div",al,[e.createCommentVNode(" 抄送节点 "),d[i.defaultFile.nodeType]==i.nodeType.抄送节点?(e.openBlock(),e.createElementBlock("span",nl,[d[i.defaultFile.approvePersonList].length?(e.openBlock(),e.createElementBlock("span",rl,e.toDisplayString(`抄送${d[i.defaultFile.approvePersonList].length}人`),1)):e.createCommentVNode("v-if",!0),d[i.defaultFile.isShowAdd]?(e.openBlock(),e.createElementBlock("span",sl,",可添加抄送人")):e.createCommentVNode("v-if",!0)])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createCommentVNode(" 审批节点 "),e.createElementVNode("span",null,[e.createCommentVNode(" 存在审批人时 "),(f=d[i.defaultFile.approvePersonList])!=null&&f.length?(e.openBlock(),e.createElementBlock("span",il,e.toDisplayString(((_=d[i.defaultFile.approvePersonList])==null?void 0:_.length)==1?"1人审批":`${(M=d[i.defaultFile.approvePersonList])==null?void 0:M.length}人${d[i.defaultFile.multiExecutorTypeName]}`),1)):[i.statusWithoutApprover.自动通过,i.statusWithoutApprover.自动拒绝].includes(d[i.defaultFile.approveType])?(e.openBlock(),e.createElementBlock("span",cl,e.toDisplayString(d[i.defaultFile.approveTypeName]),1)):d[i.defaultFile.executorEmptyStrategy]&&d[i.defaultFile.executorEmpty]?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createCommentVNode(" 没有审批人,并且有指定默认审批方式 "),e.createElementVNode("span",null,[n[0]||(n[0]=e.createTextVNode(" 未找到审批人,")),e.createElementVNode("span",null,e.toDisplayString(d[i.defaultFile.executorEmptyStrategy]==i.statusWithoutApprover.自动通过?"将自动通过":d[i.defaultFile.executorEmptyStrategy]==i.statusWithoutApprover.自动转交管理员?"自动转交给管理员":d[i.defaultFile.executorEmptyStrategy]==i.statusWithoutApprover.指定人员审批?`将自动转给指定成员${d[i.defaultFile.reserveExecutorUsers]&&d[i.defaultFile.reserveExecutorUsers][0].userName}`:""),1)])],2112)):[i.nodeType.并行分支,i.nodeType.子流程].includes(d[i.defaultFile.nodeType])?e.createCommentVNode("v-if",!0):(e.openBlock(),e.createElementBlock("span",{key:3,class:e.normalizeClass(d.required?"warn":"")}," 请选择"+e.toDisplayString(d[i.defaultFile.nodeType]===i.nodeType.办理节点?"办理人":"审批人"),3))])],2112))])]),e.createElementVNode("div",pl,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(d[i.defaultFile.approvePersonList],(B,w)=>{var I;return e.openBlock(),e.createElementBlock("div",{class:"list",key:B.userId},[e.createElementVNode("div",dl,[e.createElementVNode("div",fl,[B.userAvatar?(e.openBlock(),e.createElementBlock("img",{key:0,src:T(B.userAvatar),alt:""},null,8,ml)):(e.openBlock(),e.createElementBlock("div",Al,[e.createElementVNode("span",null,e.toDisplayString(B.userName.slice(-2)),1)])),B.canDele?(e.openBlock(),e.createElementBlock("i",{key:2,onClick:se=>h(N,w),class:"ikapprove ikapprove-shanchu1"},null,8,hl)):e.createCommentVNode("v-if",!0)]),e.createElementVNode("div",{class:"name",title:B.userName},e.toDisplayString(B.userName),9,yl)]),e.createCommentVNode(" 显示添加人按钮,不是单选且已选中一个人的情况,显示图标 "),d[i.defaultFile.isShowAdd]&&!(d[i.defaultFile.singleApproval]&&((I=d[i.defaultFile.approvePersonList])==null?void 0:I.length)==1)?(e.openBlock(),e.createElementBlock("span",ul,[e.createCommentVNode(" 抄送默认 "),d[i.defaultFile.nodeType]==i.nodeType.抄送节点?(e.openBlock(),e.createElementBlock("span",kl,"+")):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createCommentVNode(" 审批 "),e.createElementVNode("span",null,e.toDisplayString(d[i.defaultFile.multiExecutorType]=="ANY"?"/":d[i.defaultFile.multiExecutorType]=="ALL"?"+":">"),1)],2112))])):e.createCommentVNode("v-if",!0)])}),128)),e.createCommentVNode(" 显示添加人按钮,不是单选且已选中一个人的情况,显示按钮 (item[state.defaultFile.isShowAdd] && "),d[i.defaultFile.isShowAdd]&&!(d[i.defaultFile.singleApproval]&&((j=d[i.defaultFile.approvePersonList])==null?void 0:j.length)==1)||d[i.defaultFile.isShowAddCopy]?(e.openBlock(),e.createElementBlock("span",{key:0,class:"addBg",onClick:B=>C(d)},[d[i.defaultFile.nodeType]==i.nodeType.审批节点?(e.openBlock(),e.createElementBlock("span",xl)):e.createCommentVNode("v-if",!0),n[1]||(n[1]=e.createElementVNode("i",{class:"ikapprove ikapprove-xinzeng"},null,-1))],8,gl)):e.createCommentVNode("v-if",!0),e.createCommentVNode(" 添加人组件 "),e.createVNode(e.unref(vt),e.mergeProps({modelValue:d.handList,"onUpdate:modelValue":B=>d.handList=B,show:d.isShow,"onUpdate:show":B=>d.isShow=B,onOk:B=>P(B,N),multiple:d.multiple,"dep-list":d.depList,"user-list":d.userList,"organization-list":d.organizationList,ref_for:!0},s.value,{chooseType:d.chooseType}),null,16,["modelValue","onUpdate:modelValue","show","onUpdate:show","onOk","multiple","dep-list","user-list","organization-list","chooseType"])])])):(e.openBlock(),e.createElementBlock("div",Bl,[n[2]||(n[2]=e.createElementVNode("div",{class:"branch-line"},null,-1)),e.createElementVNode("div",El,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(d.parallelInstances,(B,w)=>(e.openBlock(),e.createElementBlock("div",{key:w,class:e.normalizeClass(`branch branch-${w}`)},[e.createElementVNode("div",Ol,e.toDisplayString(B.name),1),e.createVNode(m,e.mergeProps({ref_for:!0},t,{dataList:B.processInstanceNodes,style:{"margin-left":"20px"}}),null,16,["dataList"])],2))),128))])]))])}),128))])}}}),re=le(D(Nl,[["__scopeId","data-v-60cacf30"]]));U.IkApprovalProcess=re,U.default=re,Object.defineProperties(U,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});