@ctzy-web-client/plugin-component-vue 1.0.25 → 1.0.27

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 (228) hide show
  1. package/es/_virtual/_plugin-vue_export-helper.mjs +11 -0
  2. package/es/advance-select/advance-operation.mjs +48 -51
  3. package/es/advance-select/advance-option.mjs +128 -163
  4. package/es/advance-select/advance-option.vue_vue_type_style_index_0_scoped_bc8f5626_lang.mjs +11 -5
  5. package/es/advance-select/advance-select.mjs +323 -370
  6. package/es/advance-select/events-helpers.mjs +9 -0
  7. package/es/advance-select/index.mjs +9 -0
  8. package/es/advance-select/use-advance-option.mjs +9 -0
  9. package/es/advance-select/use-advance-select.mjs +9 -0
  10. package/es/application-slot/application-slot.mjs +9 -0
  11. package/es/application-slot/breadcrumb-item.mjs +26 -20
  12. package/es/application-slot/header-tools-item.mjs +26 -20
  13. package/es/application-slot/index.mjs +9 -0
  14. package/es/breadcrumb-select/breadcrumb-select.mjs +123 -137
  15. package/es/breadcrumb-select/index.mjs +9 -0
  16. package/es/components.mjs +9 -0
  17. package/es/contextmenu/contextmenu-item.mjs +24 -19
  18. package/es/contextmenu/contextmenu.mjs +68 -73
  19. package/es/contextmenu/index.mjs +9 -0
  20. package/es/contextmenu/use-contextmenu.mjs +10 -1
  21. package/es/data-form/data-form-item.mjs +41 -49
  22. package/es/data-form/data-form.mjs +176 -213
  23. package/es/data-form/dynamic-component.mjs +9 -0
  24. package/es/data-form/form-components/Blots/AtBlot.mjs +9 -0
  25. package/es/data-form/form-components/bwa-date-picker.mjs +50 -51
  26. package/es/data-form/form-components/bwa-date-time-picker.mjs +55 -56
  27. package/es/data-form/form-components/bwa-input-float.mjs +48 -48
  28. package/es/data-form/form-components/bwa-input-integer.mjs +61 -68
  29. package/es/data-form/form-components/bwa-input.mjs +43 -43
  30. package/es/data-form/form-components/bwa-multi-select.mjs +40 -40
  31. package/es/data-form/form-components/bwa-rich-text-tinymce.mjs +230 -555
  32. package/es/data-form/form-components/bwa-rich-text.mjs +326 -404
  33. package/es/data-form/form-components/bwa-select.mjs +81 -84
  34. package/es/data-form/form-components/bwa-textarea.mjs +38 -38
  35. package/es/data-form/form-components/bwa-upload.mjs +160 -173
  36. package/es/data-form/form-components/bwa-user-multi-select.mjs +35 -35
  37. package/es/data-form/form-components/bwa-user-select.mjs +72 -86
  38. package/es/data-form/index.mjs +9 -0
  39. package/es/data-table/data-column-view.mjs +124 -146
  40. package/es/data-table/data-table-card.mjs +49 -48
  41. package/es/data-table/data-table-column.mjs +55 -58
  42. package/es/data-table/data-table.mjs +328 -404
  43. package/es/data-table/dynamic-component.mjs +9 -0
  44. package/es/data-table/index.mjs +9 -0
  45. package/es/data-table/use-datatable-drag.mjs +9 -0
  46. package/es/datatable-settings/datatable-settings.mjs +286 -328
  47. package/es/datatable-settings/index.mjs +9 -0
  48. package/es/date-range/date-picker.mjs +125 -131
  49. package/es/date-range/date-range.mjs +173 -216
  50. package/es/date-range/index.mjs +9 -0
  51. package/es/drag-list/constants.mjs +10 -0
  52. package/es/drag-list/drag-item.mjs +51 -56
  53. package/es/drag-list/drag-list.mjs +58 -60
  54. package/es/drag-list/index.mjs +9 -0
  55. package/es/drag-list/use-drag-list.mjs +10 -1
  56. package/es/dragable/constants.mjs +10 -0
  57. package/es/dragable/dragable-item.mjs +27 -23
  58. package/es/dragable/dragable-operation.mjs +33 -32
  59. package/es/dragable/dragable.mjs +33 -32
  60. package/es/dragable/index.mjs +9 -0
  61. package/es/dragable/use-dragable.mjs +9 -0
  62. package/es/filter-panel/conditions/condition.mjs +9 -0
  63. package/es/filter-panel/conditions/date-range-condition.mjs +51 -50
  64. package/es/filter-panel/conditions/department-condition/department-condition.mjs +82 -99
  65. package/es/filter-panel/conditions/department-condition/department-node.mjs +69 -73
  66. package/es/filter-panel/conditions/index.mjs +9 -0
  67. package/es/filter-panel/conditions/input-condition.mjs +88 -91
  68. package/es/filter-panel/conditions/multi-user-condition.mjs +66 -67
  69. package/es/filter-panel/conditions/multiple-menu-condition.mjs +44 -54
  70. package/es/filter-panel/conditions/single-menu-condition.mjs +71 -65
  71. package/es/filter-panel/conditions/single-user-condition.mjs +66 -67
  72. package/es/filter-panel/filter-panel-item.mjs +51 -55
  73. package/es/filter-panel/filter-panel.mjs +147 -156
  74. package/es/filter-panel/index.mjs +9 -0
  75. package/es/filter-panel/use-filter-panel-item.mjs +9 -0
  76. package/es/filter-panel/use-filter-panel.mjs +9 -0
  77. package/es/hooks/use-data/index.mjs +9 -0
  78. package/es/index.mjs +9 -0
  79. package/es/layout/index.mjs +9 -0
  80. package/es/layout/layout.mjs +87 -85
  81. package/es/make-installer.mjs +9 -0
  82. package/es/math/Rectangle.mjs +10 -0
  83. package/es/menu/index.mjs +9 -0
  84. package/es/menu/menu-item.mjs +65 -70
  85. package/es/menu/menu.mjs +64 -70
  86. package/es/node_modules/.pnpm/{@vueuse_core@9.6.0_vue@3.2.41 → @vueuse_core@9.13.0_vue@3.5.29_typescript@4.9.5_}/node_modules/@vueuse/core/index.mjs +680 -454
  87. package/es/node_modules/.pnpm/{@vueuse_shared@9.6.0_vue@3.2.41 → @vueuse_shared@9.13.0_vue@3.5.29_typescript@4.9.5_}/node_modules/@vueuse/shared/index.mjs +108 -46
  88. package/es/panel/index.mjs +9 -0
  89. package/es/panel/panel.mjs +49 -53
  90. package/es/panel-tabs/index.mjs +9 -0
  91. package/es/panel-tabs/panel-tabs.mjs +9 -0
  92. package/es/pct-filter-panel/index.mjs +9 -0
  93. package/es/pct-filter-panel/pct-compents/index.mjs +9 -0
  94. package/es/pct-filter-panel/pct-compents/pct-Input-condition.mjs +73 -75
  95. package/es/pct-filter-panel/pct-compents/pct-date-range-condition.mjs +77 -77
  96. package/es/pct-filter-panel/pct-compents/pct-multiple-menu-condition.mjs +345 -374
  97. package/es/pct-filter-panel/pct-compents/pct-multiple-menu-condition2.mjs +149 -154
  98. package/es/pct-filter-panel/pct-filter-panel-item.mjs +52 -56
  99. package/es/pct-filter-panel/pct-filter-panel.mjs +235 -248
  100. package/es/pct-filter-panel/use-filter-panel-item.mjs +9 -0
  101. package/es/pct-filter-panel/use-filter-panel.mjs +9 -0
  102. package/es/plugins.mjs +9 -0
  103. package/es/progress/index.mjs +9 -0
  104. package/es/progress/progress-item.mjs +71 -81
  105. package/es/progress/progress.mjs +74 -78
  106. package/es/progress/use-progress.mjs +9 -0
  107. package/es/utils/db.mjs +9 -0
  108. package/es/utils.css +1 -0
  109. package/es/utils.mjs +9 -0
  110. package/es/where-filter-panel/index.mjs +9 -1
  111. package/es/where-filter-panel/use-where-filter-panel.mjs +9 -0
  112. package/es/where-filter-panel/where-filter-panel.mjs +21 -15
  113. package/lib/_virtual/_plugin-vue_export-helper.js +11 -0
  114. package/lib/advance-select/advance-operation.js +47 -50
  115. package/lib/advance-select/advance-option.js +127 -162
  116. package/lib/advance-select/advance-option.vue_vue_type_style_index_0_scoped_bc8f5626_lang.js +11 -6
  117. package/lib/advance-select/advance-select.js +322 -369
  118. package/lib/advance-select/events-helpers.js +9 -0
  119. package/lib/advance-select/index.js +9 -0
  120. package/lib/advance-select/use-advance-option.js +9 -0
  121. package/lib/advance-select/use-advance-select.js +9 -0
  122. package/lib/application-slot/application-slot.js +9 -0
  123. package/lib/application-slot/breadcrumb-item.js +25 -19
  124. package/lib/application-slot/header-tools-item.js +25 -19
  125. package/lib/application-slot/index.js +9 -0
  126. package/lib/breadcrumb-select/breadcrumb-select.js +122 -136
  127. package/lib/breadcrumb-select/index.js +9 -0
  128. package/lib/components.js +9 -0
  129. package/lib/contextmenu/contextmenu-item.js +23 -18
  130. package/lib/contextmenu/contextmenu.js +67 -72
  131. package/lib/contextmenu/index.js +9 -0
  132. package/lib/contextmenu/use-contextmenu.js +10 -1
  133. package/lib/data-form/data-form-item.js +40 -48
  134. package/lib/data-form/data-form.js +175 -212
  135. package/lib/data-form/dynamic-component.js +9 -0
  136. package/lib/data-form/form-components/Blots/AtBlot.js +9 -0
  137. package/lib/data-form/form-components/bwa-date-picker.js +49 -50
  138. package/lib/data-form/form-components/bwa-date-time-picker.js +54 -55
  139. package/lib/data-form/form-components/bwa-input-float.js +47 -47
  140. package/lib/data-form/form-components/bwa-input-integer.js +60 -67
  141. package/lib/data-form/form-components/bwa-input.js +42 -42
  142. package/lib/data-form/form-components/bwa-multi-select.js +39 -39
  143. package/lib/data-form/form-components/bwa-rich-text-tinymce.js +229 -554
  144. package/lib/data-form/form-components/bwa-rich-text.js +325 -403
  145. package/lib/data-form/form-components/bwa-select.js +80 -83
  146. package/lib/data-form/form-components/bwa-textarea.js +37 -37
  147. package/lib/data-form/form-components/bwa-upload.js +159 -172
  148. package/lib/data-form/form-components/bwa-user-multi-select.js +34 -34
  149. package/lib/data-form/form-components/bwa-user-select.js +71 -85
  150. package/lib/data-form/index.js +9 -0
  151. package/lib/data-table/data-column-view.js +124 -146
  152. package/lib/data-table/data-table-card.js +49 -48
  153. package/lib/data-table/data-table-column.js +54 -57
  154. package/lib/data-table/data-table.js +327 -403
  155. package/lib/data-table/dynamic-component.js +9 -0
  156. package/lib/data-table/index.js +9 -0
  157. package/lib/data-table/use-datatable-drag.js +9 -0
  158. package/lib/datatable-settings/datatable-settings.js +285 -327
  159. package/lib/datatable-settings/index.js +9 -0
  160. package/lib/date-range/date-picker.js +124 -130
  161. package/lib/date-range/date-range.js +172 -215
  162. package/lib/date-range/index.js +9 -0
  163. package/lib/drag-list/constants.js +10 -0
  164. package/lib/drag-list/drag-item.js +50 -55
  165. package/lib/drag-list/drag-list.js +57 -59
  166. package/lib/drag-list/index.js +9 -0
  167. package/lib/drag-list/use-drag-list.js +10 -1
  168. package/lib/dragable/constants.js +10 -0
  169. package/lib/dragable/dragable-item.js +26 -22
  170. package/lib/dragable/dragable-operation.js +32 -31
  171. package/lib/dragable/dragable.js +32 -31
  172. package/lib/dragable/index.js +9 -0
  173. package/lib/dragable/use-dragable.js +9 -0
  174. package/lib/filter-panel/conditions/condition.js +9 -0
  175. package/lib/filter-panel/conditions/date-range-condition.js +50 -49
  176. package/lib/filter-panel/conditions/department-condition/department-condition.js +81 -98
  177. package/lib/filter-panel/conditions/department-condition/department-node.js +68 -72
  178. package/lib/filter-panel/conditions/index.js +9 -0
  179. package/lib/filter-panel/conditions/input-condition.js +87 -90
  180. package/lib/filter-panel/conditions/multi-user-condition.js +65 -66
  181. package/lib/filter-panel/conditions/multiple-menu-condition.js +43 -53
  182. package/lib/filter-panel/conditions/single-menu-condition.js +70 -64
  183. package/lib/filter-panel/conditions/single-user-condition.js +65 -66
  184. package/lib/filter-panel/filter-panel-item.js +50 -54
  185. package/lib/filter-panel/filter-panel.js +146 -155
  186. package/lib/filter-panel/index.js +9 -0
  187. package/lib/filter-panel/use-filter-panel-item.js +9 -0
  188. package/lib/filter-panel/use-filter-panel.js +9 -0
  189. package/lib/hooks/use-data/index.js +9 -0
  190. package/lib/index.js +9 -0
  191. package/lib/layout/index.js +9 -0
  192. package/lib/layout/layout.js +86 -84
  193. package/lib/make-installer.js +9 -0
  194. package/lib/math/Rectangle.js +10 -0
  195. package/lib/menu/index.js +9 -0
  196. package/lib/menu/menu-item.js +64 -69
  197. package/lib/menu/menu.js +63 -69
  198. package/lib/node_modules/.pnpm/{@vueuse_core@9.6.0_vue@3.2.41 → @vueuse_core@9.13.0_vue@3.5.29_typescript@4.9.5_}/node_modules/@vueuse/core/index.js +685 -451
  199. package/lib/node_modules/.pnpm/{@vueuse_shared@9.6.0_vue@3.2.41 → @vueuse_shared@9.13.0_vue@3.5.29_typescript@4.9.5_}/node_modules/@vueuse/shared/index.js +109 -44
  200. package/lib/panel/index.js +9 -0
  201. package/lib/panel/panel.js +48 -52
  202. package/lib/panel-tabs/index.js +9 -0
  203. package/lib/panel-tabs/panel-tabs.js +9 -0
  204. package/lib/pct-filter-panel/index.js +9 -0
  205. package/lib/pct-filter-panel/pct-compents/index.js +9 -0
  206. package/lib/pct-filter-panel/pct-compents/pct-Input-condition.js +72 -74
  207. package/lib/pct-filter-panel/pct-compents/pct-date-range-condition.js +76 -76
  208. package/lib/pct-filter-panel/pct-compents/pct-multiple-menu-condition.js +344 -373
  209. package/lib/pct-filter-panel/pct-compents/pct-multiple-menu-condition2.js +148 -153
  210. package/lib/pct-filter-panel/pct-filter-panel-item.js +51 -55
  211. package/lib/pct-filter-panel/pct-filter-panel.js +234 -247
  212. package/lib/pct-filter-panel/use-filter-panel-item.js +9 -0
  213. package/lib/pct-filter-panel/use-filter-panel.js +9 -0
  214. package/lib/plugins.js +9 -0
  215. package/lib/progress/index.js +9 -0
  216. package/lib/progress/progress-item.js +70 -80
  217. package/lib/progress/progress.js +73 -77
  218. package/lib/progress/use-progress.js +9 -0
  219. package/lib/utils/db.js +9 -0
  220. package/lib/utils.css +1 -0
  221. package/lib/utils.js +9 -0
  222. package/lib/where-filter-panel/index.js +9 -0
  223. package/lib/where-filter-panel/use-where-filter-panel.js +9 -0
  224. package/lib/where-filter-panel/where-filter-panel.js +20 -14
  225. package/package.json +1 -1
  226. package/style/index.css +1 -1
  227. package/es/node_modules/.pnpm/style-inject@0.3.0/node_modules/style-inject/dist/style-inject.es.mjs +0 -28
  228. package/lib/node_modules/.pnpm/style-inject@0.3.0/node_modules/style-inject/dist/style-inject.es.js +0 -32
@@ -11,332 +11,307 @@ var advanceSelect = require('../../advance-select/advance-select.js');
11
11
  var advanceOption = require('../../advance-select/advance-option.js');
12
12
  var _pluginVue_exportHelper = require('../../_virtual/_plugin-vue_export-helper.js');
13
13
 
14
+ // Inject __name helper
15
+ if (typeof __name === 'undefined') {
16
+ function __name(obj, name) {
17
+ Object.defineProperty(obj, "name", {
18
+ value: name,
19
+ configurable: true
20
+ });
21
+ }
22
+ }
14
23
  const _hoisted_1 = { key: 0 };
15
-
16
-
17
- const _sfc_main = {
18
- __name: 'pct-multiple-menu-condition',
19
- props: {
20
- ...index.dataProps,
21
- modelValue: {
22
- type: null,
23
- },
24
- options: {
25
- type: Array,
26
- default: () => [],
27
- },
28
- labelProp: {
29
- type: String,
30
- default: 'label',
31
- },
32
- valueProp: {
33
- type: String,
34
- default: 'value',
35
- },
36
- multiple: {
37
- type: Boolean,
38
- default: true,
39
- },
40
- showSearch: {
41
- type: Boolean,
42
- default: true,
43
- },
44
- placeholder: {
45
- type: String,
46
- default: '请选择',
47
- },
48
- remote: {
49
- type: Boolean,
50
- default: true,
51
- },
52
- size: {
53
- type: String,
54
- default: 'small',
55
- },
56
- searchPlaceholder: {
57
- type: String,
58
- default: '',
59
- },
60
- labelAttr: '',
61
- valueAttr: '',
62
- searchAttr: '',
63
- itfInfo: null,
64
- // 自定义选项时 是否通过展开自动触发自定义search
65
- isRequiredByVisibleChange: {
66
- type: Boolean,
67
- default: false,
68
- },
69
- },
70
- emits: ['update:modelValue', 'search'],
71
- setup(__props, { expose, emit }) {
72
-
73
- const props = __props;
74
-
75
- const httpRequest = webBaseClientVue.useService(webBaseClientVue.HttpRequest);
76
- defineOptions({
77
- name: 'BwaPctMultipleMenuCondition',
78
- __conditionTitle__: '多选列表',
79
- __conditionDefault__: () => [],
80
- });
81
-
82
-
83
- const popperWidth = vue.ref('240px');
84
- vue.onMounted(() => {
85
- vue.nextTick(() => {
86
- const offsetWidth = document.getElementsByClassName('bwa-pctfilterpanel-item__options')[0]?.offsetWidth;
87
- if (offsetWidth > 0) {
88
- popperWidth.value = offsetWidth + 'px';
89
- }
90
- });
91
- });
92
- const ns = webBaseClientVue.useNamespace('pctfilterpanel-item');
93
- const isShowPopper = vue.ref(false);
94
- const isHoverIcon = vue.ref(false);
95
-
96
- const attrs = vue.useAttrs();
97
- const showTitle = vue.computed(() => attrs.showTitle);
98
-
99
- const data = vue.ref([]);
100
- const loading = vue.ref(false);
101
-
102
-
103
- const filterPanelItem = vue.inject(webBaseClientVue.filterPanelItemKey, null);
104
- const column = vue.computed(() => filterPanelItem?.column ?? null);
105
-
106
- /**
107
- * 页面参数层级覆盖配置文件传递的参数层级
108
- */
109
- if (props.itfInfo) {
110
- column.value.componentProps = {
111
- itfInfo: props.itfInfo || {},
112
- labelAttr: props.labelAttr || 'label',
113
- valueAttr: props.valueAttr || 'value',
114
- searchAttr: props.searchAttr || 'search'
115
- };
116
- }
117
-
118
- const searchPlaceholderStr = vue.computed(() => column.value?.componentProps?.searchPlaceholder || props.searchPlaceholder);
119
- const placeholderStr = vue.computed(() => showTitle.value ? props.placeholder : column.value.title);
120
-
121
- const labelPropStr = vue.computed(() => column.value?.componentProps?.labelAttr || props.labelProp);
122
- const valuePropStr = vue.computed(() => column.value?.componentProps?.valueAttr || props.valueProp);
123
- const handleClose = (val)=>{
124
-
125
- // 优化后
126
- // 1. 空值兜底:避免 modelValue.value 为 null/undefined 时报错
127
- const currentModelValue = Array.isArray(modelValue.value) ? modelValue.value : [];
128
- // 2. 严格相等 + 类型统一:解决 1 vs "1" 不匹配,同时避免隐式类型转换
129
- modelValue.value = currentModelValue.filter(item =>
130
- String(item) !== String(val.value)
131
- );
132
-
133
- };
134
- const handleIconClick = () => {
135
- if (isHoverIcon.value) {
136
- // 多选清空逻辑:重置 modelValue 为空数组
137
- modelValue.value = [];
138
- isHoverIcon.value = false; // 重置悬浮状态
139
- return;
140
- }
141
- // 原有逻辑:切换下拉显隐
142
- isShowPopper.value = !isShowPopper.value;
143
- };
144
- const getData = async (query) => {
145
- loading.value = true;
146
- const { itfInfo, searchAttr } = column.value.componentProps;
147
- const {url, method, options, params } = {
148
- url: vue.unref(itfInfo).url,
149
- method: vue.unref(itfInfo).method || 'POST',
150
- options: vue.unref(itfInfo).options || {},
151
- params: { ...vue.unref(itfInfo).params, [searchAttr]: query || ''} || {},
152
- };
153
- data.value = (await vue.unref(httpRequest)[method.toLowerCase()](url, params, options))?.data;
154
- loading.value = false;
155
- };
156
-
157
- data.value = props.options ?? [];
158
- const visibleChange = (val) => {
159
- isShowPopper.value = val;
160
- if (!val || !column.value.componentProps || column.value?.componentProps?.options) {
161
- if (isShowPopper.value && props.isRequiredByVisibleChange) {
162
- emit('search', '');
163
- }
164
- return
165
- }
166
- getData();
167
- };
168
-
169
- const handleFieldSearch = (query) => {
170
- if (column.value.componentProps) {
171
- getData(query);
172
- } else {
173
- emit('search', query);
174
- }
175
- };
176
-
177
- const search = vue.ref('');
178
- vue.watch(() => search.value, val => {
179
- handleFieldSearch(val);
180
- });
181
-
182
- const modelValue = vue.computed({
183
- get: () => {
184
- if (props.multiple) {
185
- return Array.isArray(props.modelValue)
186
- ? props.modelValue.map((item) => item )
187
- : [];
188
- } else {
189
- return props.modelValue == null || Array.isArray(props.modelValue) ? '' : props.modelValue;
190
- }
191
- },
192
- set: (v) => emit('update:modelValue', v),
193
- });
194
-
195
- /**
196
- * 清除已选
197
- */
198
- const advanceSelectRef = vue.ref(null);
199
- const handleClearClick = () => {
200
- if (advanceSelectRef.value) {
201
- advanceSelectRef.value.handleClearClick();
202
- }
203
- };
204
-
205
- expose({
206
- data
207
- });
208
-
209
- return (_ctx, _cache) => {
210
- const _component_CircleClose = vue.resolveComponent("CircleClose");
211
-
212
- return (vue.openBlock(), vue.createElementBlock("div", {
213
- class: vue.normalizeClass(vue.unref(ns).e('conditbox'))
214
- }, [
215
- (vue.unref(showTitle))
216
- ? (vue.openBlock(), vue.createElementBlock("div", {
24
+ const __default__ = vue.defineComponent({
25
+ name: "BwaPctMultipleMenuCondition",
26
+ __conditionTitle__: "\u591A\u9009\u5217\u8868",
27
+ __conditionDefault__: () => []
28
+ });
29
+ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
30
+ props: {
31
+ ...index.dataProps,
32
+ modelValue: {
33
+ type: null
34
+ },
35
+ options: {
36
+ type: Array,
37
+ default: () => []
38
+ },
39
+ labelProp: {
40
+ type: String,
41
+ default: "label"
42
+ },
43
+ valueProp: {
44
+ type: String,
45
+ default: "value"
46
+ },
47
+ multiple: {
48
+ type: Boolean,
49
+ default: true
50
+ },
51
+ showSearch: {
52
+ type: Boolean,
53
+ default: true
54
+ },
55
+ placeholder: {
56
+ type: String,
57
+ default: "\u8BF7\u9009\u62E9"
58
+ },
59
+ remote: {
60
+ type: Boolean,
61
+ default: true
62
+ },
63
+ size: {
64
+ type: String,
65
+ default: "small"
66
+ },
67
+ searchPlaceholder: {
68
+ type: String,
69
+ default: ""
70
+ },
71
+ labelAttr: "",
72
+ valueAttr: "",
73
+ searchAttr: "",
74
+ itfInfo: null,
75
+ isRequiredByVisibleChange: {
76
+ type: Boolean,
77
+ default: false
78
+ }
79
+ },
80
+ emits: ["update:modelValue", "search"],
81
+ setup(__props, { expose: __expose, emit: __emit }) {
82
+ var _a;
83
+ const httpRequest = webBaseClientVue.useService(webBaseClientVue.HttpRequest);
84
+ ;
85
+ const props = __props;
86
+ const popperWidth = vue.ref("240px");
87
+ vue.onMounted(() => {
88
+ vue.nextTick(() => {
89
+ var _a2;
90
+ const offsetWidth = (_a2 = document.getElementsByClassName("bwa-pctfilterpanel-item__options")[0]) == null ? void 0 : _a2.offsetWidth;
91
+ if (offsetWidth > 0) {
92
+ popperWidth.value = offsetWidth + "px";
93
+ }
94
+ });
95
+ });
96
+ const ns = webBaseClientVue.useNamespace("pctfilterpanel-item");
97
+ const isShowPopper = vue.ref(false);
98
+ const isHoverIcon = vue.ref(false);
99
+ const attrs = vue.useAttrs();
100
+ const showTitle = vue.computed(() => attrs.showTitle);
101
+ const data = vue.ref([]);
102
+ const loading = vue.ref(false);
103
+ const emit = __emit;
104
+ const filterPanelItem = vue.inject(webBaseClientVue.filterPanelItemKey, null);
105
+ const column = vue.computed(() => {
106
+ var _a2;
107
+ return (_a2 = filterPanelItem == null ? void 0 : filterPanelItem.column) != null ? _a2 : null;
108
+ });
109
+ if (props.itfInfo) {
110
+ column.value.componentProps = {
111
+ itfInfo: props.itfInfo || {},
112
+ labelAttr: props.labelAttr || "label",
113
+ valueAttr: props.valueAttr || "value",
114
+ searchAttr: props.searchAttr || "search"
115
+ };
116
+ }
117
+ const searchPlaceholderStr = vue.computed(() => {
118
+ var _a2, _b;
119
+ return ((_b = (_a2 = column.value) == null ? void 0 : _a2.componentProps) == null ? void 0 : _b.searchPlaceholder) || props.searchPlaceholder;
120
+ });
121
+ const placeholderStr = vue.computed(() => showTitle.value ? props.placeholder : column.value.title);
122
+ const labelPropStr = vue.computed(() => {
123
+ var _a2, _b;
124
+ return ((_b = (_a2 = column.value) == null ? void 0 : _a2.componentProps) == null ? void 0 : _b.labelAttr) || props.labelProp;
125
+ });
126
+ const valuePropStr = vue.computed(() => {
127
+ var _a2, _b;
128
+ return ((_b = (_a2 = column.value) == null ? void 0 : _a2.componentProps) == null ? void 0 : _b.valueAttr) || props.valueProp;
129
+ });
130
+ const handleClose = (val) => {
131
+ const currentModelValue = Array.isArray(modelValue.value) ? modelValue.value : [];
132
+ modelValue.value = currentModelValue.filter(
133
+ (item) => String(item) !== String(val.value)
134
+ );
135
+ };
136
+ const handleIconClick = () => {
137
+ if (isHoverIcon.value) {
138
+ modelValue.value = [];
139
+ isHoverIcon.value = false;
140
+ return;
141
+ }
142
+ isShowPopper.value = !isShowPopper.value;
143
+ };
144
+ const getData = async (query) => {
145
+ var _a2;
146
+ loading.value = true;
147
+ const { itfInfo, searchAttr } = column.value.componentProps;
148
+ const { url, method, options, params } = {
149
+ url: vue.unref(itfInfo).url,
150
+ method: vue.unref(itfInfo).method || "POST",
151
+ options: vue.unref(itfInfo).options || {},
152
+ params: { ...vue.unref(itfInfo).params, [searchAttr]: query || "" }
153
+ };
154
+ data.value = (_a2 = await vue.unref(httpRequest)[method.toLowerCase()](url, params, options)) == null ? void 0 : _a2.data;
155
+ loading.value = false;
156
+ };
157
+ data.value = (_a = props.options) != null ? _a : [];
158
+ const visibleChange = (val) => {
159
+ var _a2, _b;
160
+ isShowPopper.value = val;
161
+ if (!val || !column.value.componentProps || ((_b = (_a2 = column.value) == null ? void 0 : _a2.componentProps) == null ? void 0 : _b.options)) {
162
+ if (isShowPopper.value && props.isRequiredByVisibleChange) {
163
+ emit("search", "");
164
+ }
165
+ return;
166
+ }
167
+ getData();
168
+ };
169
+ const handleFieldSearch = (query) => {
170
+ if (column.value.componentProps) {
171
+ getData(query);
172
+ } else {
173
+ emit("search", query);
174
+ }
175
+ };
176
+ const search = vue.ref("");
177
+ vue.watch(() => search.value, (val) => {
178
+ handleFieldSearch(val);
179
+ });
180
+ const modelValue = vue.computed({
181
+ get: () => {
182
+ if (props.multiple) {
183
+ return Array.isArray(props.modelValue) ? props.modelValue.map((item) => item) : [];
184
+ } else {
185
+ return props.modelValue == null || Array.isArray(props.modelValue) ? "" : props.modelValue;
186
+ }
187
+ },
188
+ set: (v) => emit("update:modelValue", v)
189
+ });
190
+ const advanceSelectRef = vue.ref(null);
191
+ const handleClearClick = () => {
192
+ if (advanceSelectRef.value) {
193
+ advanceSelectRef.value.handleClearClick();
194
+ }
195
+ };
196
+ __expose({
197
+ data
198
+ });
199
+ return (_ctx, _cache) => {
200
+ const _component_CircleClose = vue.resolveComponent("CircleClose");
201
+ return vue.openBlock(), vue.createElementBlock("div", {
202
+ class: vue.normalizeClass(vue.unref(ns).e("conditbox"))
203
+ }, [
204
+ showTitle.value ? (vue.openBlock(), vue.createElementBlock("div", {
217
205
  key: 0,
218
- class: vue.normalizeClass(vue.unref(ns).e('title'))
219
- }, vue.toDisplayString(vue.unref(column).title), 3 /* TEXT, CLASS */))
220
- : vue.createCommentVNode("v-if", true),
221
- vue.createVNode(advanceSelect["default"], {
222
- multiple: __props.multiple,
223
- modelValue: vue.unref(modelValue),
224
- "onUpdate:modelValue": _cache[3] || (_cache[3] = $event => (vue.isRef(modelValue) ? (modelValue).value = $event : null)),
225
- onSearch: handleFieldSearch,
226
- class: vue.normalizeClass(vue.unref(ns).e('options')),
227
- onVisibleChange: visibleChange,
228
- source: "pct",
229
- showSearch: false,
230
- showSelectIcon: !__props.multiple,
231
- showSelection: false,
232
- loading: loading.value,
233
- width: popperWidth.value,
234
- borderRadius: "4px",
235
- ref_key: "advanceSelectRef",
236
- ref: advanceSelectRef
237
- }, {
238
- "reference-content": vue.withCtx(({ selected }) => [
239
- (__props.multiple)
240
- ? (vue.openBlock(), vue.createElementBlock("div", {
206
+ class: vue.normalizeClass(vue.unref(ns).e("title"))
207
+ }, vue.toDisplayString(column.value.title), 3)) : vue.createCommentVNode("v-if", true),
208
+ vue.createVNode(advanceSelect["default"], {
209
+ multiple: __props.multiple,
210
+ modelValue: modelValue.value,
211
+ "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => modelValue.value = $event),
212
+ onSearch: handleFieldSearch,
213
+ class: vue.normalizeClass(vue.unref(ns).e("options")),
214
+ onVisibleChange: visibleChange,
215
+ source: "pct",
216
+ showSearch: false,
217
+ showSelectIcon: !__props.multiple,
218
+ showSelection: false,
219
+ loading: loading.value,
220
+ width: popperWidth.value,
221
+ borderRadius: "4px",
222
+ ref_key: "advanceSelectRef",
223
+ ref: advanceSelectRef
224
+ }, {
225
+ "reference-content": vue.withCtx(({ selected }) => [
226
+ __props.multiple ? (vue.openBlock(), vue.createElementBlock("div", {
241
227
  key: 0,
242
- class: vue.normalizeClass(vue.unref(ns).e('content'))
228
+ class: vue.normalizeClass(vue.unref(ns).e("content"))
243
229
  }, [
244
- (selected && selected.length > 0)
245
- ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
246
- vue.createVNode(vue.unref(ElementPlus.ElTooltip), {
247
- content: selected[0].label,
248
- placement: "top",
249
- effect: "light",
250
- "append-to": ".bwa-application"
230
+ selected && selected.length > 0 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
231
+ vue.createVNode(vue.unref(ElementPlus.ElTooltip), {
232
+ content: selected[0].label,
233
+ placement: "top",
234
+ effect: "light",
235
+ "append-to": ".bwa-application"
236
+ }, {
237
+ default: vue.withCtx(() => [
238
+ vue.createVNode(vue.unref(ElementPlus.ElTag), {
239
+ class: vue.normalizeClass(vue.unref(ns).e("tag")),
240
+ closable: "",
241
+ onClose: ($event) => handleClose(selected[0]),
242
+ type: "info"
251
243
  }, {
252
244
  default: vue.withCtx(() => [
253
- vue.createVNode(vue.unref(ElementPlus.ElTag), {
254
- class: vue.normalizeClass(vue.unref(ns).e('tag')),
255
- closable: "",
256
- onClose: $event => (handleClose(selected[0])),
257
- type: "info"
258
- }, {
259
- default: vue.withCtx(() => [
260
- vue.createTextVNode(vue.toDisplayString(selected[0].label), 1 /* TEXT */)
261
- ]),
262
- _: 2 /* DYNAMIC */
263
- }, 1032 /* PROPS, DYNAMIC_SLOTS */, ["class", "onClose"])
245
+ vue.createTextVNode(vue.toDisplayString(selected[0].label), 1)
264
246
  ]),
265
- _: 2 /* DYNAMIC */
266
- }, 1032 /* PROPS, DYNAMIC_SLOTS */, ["content"]),
267
- vue.createVNode(vue.unref(ElementPlus.ElTooltip), {
268
- content: "Bottom center",
269
- placement: "top",
270
- effect: "light",
271
- "append-to": ".bwa-application"
247
+ _: 2
248
+ }, 1032, ["class", "onClose"])
249
+ ]),
250
+ _: 2
251
+ }, 1032, ["content"]),
252
+ vue.createVNode(vue.unref(ElementPlus.ElTooltip), {
253
+ content: "Bottom center",
254
+ placement: "top",
255
+ effect: "light",
256
+ "append-to": ".bwa-application"
257
+ }, {
258
+ content: vue.withCtx(() => [
259
+ vue.createElementVNode("div", {
260
+ class: vue.normalizeClass(vue.unref(ns).e("tag_box"))
261
+ }, [
262
+ (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(selected, (item, index) => {
263
+ return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [
264
+ index !== 0 ? (vue.openBlock(), vue.createBlock(vue.unref(ElementPlus.ElTag), {
265
+ key: 0,
266
+ class: vue.normalizeClass(vue.unref(ns).e("tag_details")),
267
+ type: "info",
268
+ closable: "",
269
+ onClose: ($event) => handleClose(item)
270
+ }, {
271
+ default: vue.withCtx(() => [
272
+ vue.createTextVNode(vue.toDisplayString(item.label), 1)
273
+ ]),
274
+ _: 2
275
+ }, 1032, ["class", "onClose"])) : vue.createCommentVNode("v-if", true)
276
+ ], 64);
277
+ }), 256))
278
+ ], 2)
279
+ ]),
280
+ default: vue.withCtx(() => [
281
+ selected.length > 1 ? (vue.openBlock(), vue.createBlock(vue.unref(ElementPlus.ElTag), {
282
+ key: 0,
283
+ class: vue.normalizeClass(vue.unref(ns).e("tag")),
284
+ type: "info"
272
285
  }, {
273
- content: vue.withCtx(() => [
274
- vue.createElementVNode("div", {
275
- class: vue.normalizeClass(vue.unref(ns).e('tag_box'))
276
- }, [
277
- (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(selected, (item, index) => {
278
- return (vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [
279
- (index !== 0)
280
- ? (vue.openBlock(), vue.createBlock(vue.unref(ElementPlus.ElTag), {
281
- key: 0,
282
- class: vue.normalizeClass(vue.unref(ns).e('tag_details')),
283
- type: "info",
284
- closable: "",
285
- onClose: $event => (handleClose(item))
286
- }, {
287
- default: vue.withCtx(() => [
288
- vue.createTextVNode(vue.toDisplayString(item.label), 1 /* TEXT */)
289
- ]),
290
- _: 2 /* DYNAMIC */
291
- }, 1032 /* PROPS, DYNAMIC_SLOTS */, ["class", "onClose"]))
292
- : vue.createCommentVNode("v-if", true)
293
- ], 64 /* STABLE_FRAGMENT */))
294
- }), 256 /* UNKEYED_FRAGMENT */))
295
- ], 2 /* CLASS */)
296
- ]),
297
286
  default: vue.withCtx(() => [
298
- (selected.length > 1)
299
- ? (vue.openBlock(), vue.createBlock(vue.unref(ElementPlus.ElTag), {
300
- key: 0,
301
- class: vue.normalizeClass(vue.unref(ns).e('tag')),
302
- type: "info"
303
- }, {
304
- default: vue.withCtx(() => [
305
- vue.createTextVNode("+" + vue.toDisplayString(selected.length - 1), 1 /* TEXT */)
306
- ]),
307
- _: 2 /* DYNAMIC */
308
- }, 1032 /* PROPS, DYNAMIC_SLOTS */, ["class"]))
309
- : vue.createCommentVNode("v-if", true)
287
+ vue.createTextVNode("+" + vue.toDisplayString(selected.length - 1), 1)
310
288
  ]),
311
- _: 2 /* DYNAMIC */
312
- }, 1024 /* DYNAMIC_SLOTS */)
313
- ]))
314
- : (vue.openBlock(), vue.createElementBlock("div", {
315
- key: 1,
316
- class: vue.normalizeClass(vue.unref(ns).e('contentBox_placeholder'))
317
- }, vue.toDisplayString(vue.unref(placeholderStr)), 3 /* TEXT, CLASS */)),
289
+ _: 2
290
+ }, 1032, ["class"])) : vue.createCommentVNode("v-if", true)
291
+ ]),
292
+ _: 2
293
+ }, 1024)
294
+ ])) : (vue.openBlock(), vue.createElementBlock("div", {
295
+ key: 1,
296
+ class: vue.normalizeClass(vue.unref(ns).e("contentBox_placeholder"))
297
+ }, vue.toDisplayString(placeholderStr.value), 3)),
318
298
  vue.createVNode(vue.unref(ElementPlus.ElIcon), {
319
- onMouseenter: _cache[0] || (_cache[0] = $event => (isHoverIcon.value = true)),
320
- onMouseleave: _cache[1] || (_cache[1] = $event => (isHoverIcon.value = false)),
299
+ onMouseenter: _cache[0] || (_cache[0] = ($event) => isHoverIcon.value = true),
300
+ onMouseleave: _cache[1] || (_cache[1] = ($event) => isHoverIcon.value = false),
321
301
  onClick: vue.withModifiers(handleIconClick, ["stop"]),
322
- class: vue.normalizeClass(vue.unref(ns).be('option', 'selected'))
302
+ class: vue.normalizeClass(vue.unref(ns).be("option", "selected"))
323
303
  }, {
324
304
  default: vue.withCtx(() => [
325
- (isHoverIcon.value && selected.length > 0)
326
- ? (vue.openBlock(), vue.createBlock(_component_CircleClose, {
327
- key: 0,
328
- class: "delete-icon"
329
- }))
330
- : (isShowPopper.value)
331
- ? (vue.openBlock(), vue.createBlock(vue.unref(icons.ArrowUp), { key: 1 }))
332
- : (vue.openBlock(), vue.createBlock(vue.unref(icons.ArrowDown), { key: 2 }))
305
+ isHoverIcon.value && selected.length > 0 ? (vue.openBlock(), vue.createBlock(_component_CircleClose, {
306
+ key: 0,
307
+ class: "delete-icon"
308
+ })) : isShowPopper.value ? (vue.openBlock(), vue.createBlock(vue.unref(icons.ArrowUp), { key: 1 })) : (vue.openBlock(), vue.createBlock(vue.unref(icons.ArrowDown), { key: 2 }))
333
309
  ]),
334
- _: 2 /* DYNAMIC */
335
- }, 1032 /* PROPS, DYNAMIC_SLOTS */, ["onClick", "class"])
336
- ], 2 /* CLASS */))
337
- : (vue.openBlock(), vue.createElementBlock("div", {
310
+ _: 2
311
+ }, 1032, ["class"])
312
+ ], 2)) : (vue.openBlock(), vue.createElementBlock("div", {
338
313
  key: 1,
339
- class: vue.normalizeClass(vue.unref(ns).e('content'))
314
+ class: vue.normalizeClass(vue.unref(ns).e("content"))
340
315
  }, [
341
316
  vue.createVNode(vue.unref(ElementPlus.ElTooltip), {
342
317
  disabled: !selected.label,
@@ -346,73 +321,69 @@ return (_ctx, _cache) => {
346
321
  "append-to": ".bwa-application"
347
322
  }, {
348
323
  default: vue.withCtx(() => [
349
- (selected.label)
350
- ? (vue.openBlock(), vue.createElementBlock("div", {
351
- key: 0,
352
- class: vue.normalizeClass([vue.unref(ns).e('contentBox'), vue.unref(ns).e('contentBox_label')])
353
- }, vue.toDisplayString(selected.label || vue.unref(placeholderStr)), 3 /* TEXT, CLASS */))
354
- : (vue.openBlock(), vue.createElementBlock("div", {
355
- key: 1,
356
- class: vue.normalizeClass([vue.unref(ns).e('contentBox'), vue.unref(ns).e('contentBox_placeholder')])
357
- }, vue.toDisplayString(vue.unref(placeholderStr)), 3 /* TEXT, CLASS */))
324
+ selected.label ? (vue.openBlock(), vue.createElementBlock("div", {
325
+ key: 0,
326
+ class: vue.normalizeClass([vue.unref(ns).e("contentBox"), vue.unref(ns).e("contentBox_label")])
327
+ }, vue.toDisplayString(selected.label || placeholderStr.value), 3)) : (vue.openBlock(), vue.createElementBlock("div", {
328
+ key: 1,
329
+ class: vue.normalizeClass([vue.unref(ns).e("contentBox"), vue.unref(ns).e("contentBox_placeholder")])
330
+ }, vue.toDisplayString(placeholderStr.value), 3))
358
331
  ]),
359
- _: 2 /* DYNAMIC */
360
- }, 1032 /* PROPS, DYNAMIC_SLOTS */, ["disabled", "content"]),
332
+ _: 2
333
+ }, 1032, ["disabled", "content"]),
361
334
  vue.createVNode(vue.unref(ElementPlus.ElIcon), {
362
- class: vue.normalizeClass(vue.unref(ns).be('option', 'selected'))
335
+ class: vue.normalizeClass(vue.unref(ns).be("option", "selected"))
363
336
  }, {
364
337
  default: vue.withCtx(() => [
365
- (isShowPopper.value)
366
- ? (vue.openBlock(), vue.createBlock(vue.unref(icons.ArrowUp), { key: 0 }))
367
- : (vue.openBlock(), vue.createBlock(vue.unref(icons.ArrowDown), { key: 1 }))
338
+ isShowPopper.value ? (vue.openBlock(), vue.createBlock(vue.unref(icons.ArrowUp), { key: 0 })) : (vue.openBlock(), vue.createBlock(vue.unref(icons.ArrowDown), { key: 1 }))
368
339
  ]),
369
- _: 1 /* STABLE */
370
- }, 8 /* PROPS */, ["class"])
371
- ], 2 /* CLASS */))
372
- ]),
373
- contentTop: vue.withCtx(() => [
374
- (__props.showSearch && !vue.unref(column).componentProps?.options)
375
- ? (vue.openBlock(), vue.createElementBlock("div", {
376
- key: 0,
377
- class: vue.normalizeClass(vue.unref(ns).e('contentTop'))
378
- }, [
379
- vue.createVNode(vue.unref(ElementPlus.ElInput), {
380
- modelValue: search.value,
381
- "onUpdate:modelValue": _cache[2] || (_cache[2] = $event => ((search).value = $event)),
382
- class: vue.normalizeClass(vue.unref(ns).e('select')),
383
- placeholder: vue.unref(searchPlaceholderStr),
384
- type: "text",
385
- "prefix-icon": "Search",
386
- clearable: ""
387
- }, null, 8 /* PROPS */, ["modelValue", "class", "placeholder"])
388
- ], 2 /* CLASS */))
389
- : vue.createCommentVNode("v-if", true)
390
- ]),
391
- contentBottom: vue.withCtx(() => [
392
- vue.createElementVNode("div", {
393
- class: vue.normalizeClass(vue.unref(ns).e('clear')),
394
- onClick: handleClearClick
395
- }, "清除已选", 2 /* CLASS */)
396
- ]),
397
- default: vue.withCtx(() => [
398
- vue.renderSlot(_ctx.$slots, "default", {}, () => [
399
- (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(data.value, (item) => {
400
- return (vue.openBlock(), vue.createBlock(advanceOption["default"], {
401
- key: item[vue.unref(valuePropStr)] + '',
402
- value: item[vue.unref(valuePropStr)] + '',
403
- label: item[vue.unref(labelPropStr)] + '',
404
- class: vue.normalizeClass(vue.unref(ns).be('filter', 'option'))
405
- }, null, 8 /* PROPS */, ["value", "label", "class"]))
406
- }), 128 /* KEYED_FRAGMENT */))
407
- ])
408
- ]),
409
- _: 3 /* FORWARDED */
410
- }, 8 /* PROPS */, ["multiple", "modelValue", "class", "showSelectIcon", "loading", "width"])
411
- ], 2 /* CLASS */))
412
- }
413
- }
414
-
415
- };
416
- var PctMultipleMenuCondition = /*#__PURE__*/_pluginVue_exportHelper["default"](_sfc_main, [['__file',"pct-multiple-menu-condition.vue"]]);
340
+ _: 1
341
+ }, 8, ["class"])
342
+ ], 2))
343
+ ]),
344
+ contentTop: vue.withCtx(() => {
345
+ var _a2;
346
+ return [
347
+ __props.showSearch && !((_a2 = column.value.componentProps) == null ? void 0 : _a2.options) ? (vue.openBlock(), vue.createElementBlock("div", {
348
+ key: 0,
349
+ class: vue.normalizeClass(vue.unref(ns).e("contentTop"))
350
+ }, [
351
+ vue.createVNode(vue.unref(ElementPlus.ElInput), {
352
+ modelValue: search.value,
353
+ "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => search.value = $event),
354
+ class: vue.normalizeClass(vue.unref(ns).e("select")),
355
+ placeholder: searchPlaceholderStr.value,
356
+ type: "text",
357
+ "prefix-icon": "Search",
358
+ clearable: ""
359
+ }, null, 8, ["modelValue", "class", "placeholder"])
360
+ ], 2)) : vue.createCommentVNode("v-if", true)
361
+ ];
362
+ }),
363
+ contentBottom: vue.withCtx(() => [
364
+ vue.createElementVNode("div", {
365
+ class: vue.normalizeClass(vue.unref(ns).e("clear")),
366
+ onClick: handleClearClick
367
+ }, "\u6E05\u9664\u5DF2\u9009", 2)
368
+ ]),
369
+ default: vue.withCtx(() => [
370
+ vue.renderSlot(_ctx.$slots, "default", {}, () => [
371
+ (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(data.value, (item) => {
372
+ return vue.openBlock(), vue.createBlock(advanceOption["default"], {
373
+ key: item[valuePropStr.value] + "",
374
+ value: item[valuePropStr.value] + "",
375
+ label: item[labelPropStr.value] + "",
376
+ class: vue.normalizeClass(vue.unref(ns).be("filter", "option"))
377
+ }, null, 8, ["value", "label", "class"]);
378
+ }), 128))
379
+ ])
380
+ ]),
381
+ _: 3
382
+ }, 8, ["multiple", "modelValue", "class", "showSelectIcon", "loading", "width"])
383
+ ], 2);
384
+ };
385
+ }
386
+ });
387
+ var PctMultipleMenuCondition = /* @__PURE__ */ _pluginVue_exportHelper["default"](_sfc_main, [["__file", "pct-multiple-menu-condition.vue"]]);
417
388
 
418
389
  exports["default"] = PctMultipleMenuCondition;