@ctzy-web-client/plugin-component-vue 1.0.29 → 1.0.31

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 (30) hide show
  1. package/es/advance-select/advance-option.mjs +2 -3
  2. package/es/components.css +1 -0
  3. package/es/data-form/data-form.mjs +0 -1
  4. package/es/data-form/form-components/bwa-rich-text.mjs +0 -1
  5. package/es/data-table/data-table.mjs +4 -2
  6. package/es/pct-filter-panel/pct-compents/pct-date-range-condition.mjs +1 -1
  7. package/es/pct-filter-panel/pct-compents/pct-multiple-menu-condition.mjs +274 -134
  8. package/es/pct-filter-panel/pct-compents/pct-multiple-menu-condition.vue_vue_type_style_index_0_scoped_ca1affd9_lang.mjs +13 -0
  9. package/es/pct-filter-panel/pct-filter-panel.mjs +0 -1
  10. package/lib/advance-select/advance-option.js +2 -3
  11. package/lib/components.css +1 -0
  12. package/lib/data-form/data-form.js +0 -1
  13. package/lib/data-form/form-components/bwa-rich-text.js +0 -1
  14. package/lib/data-table/data-table.js +4 -2
  15. package/lib/pct-filter-panel/pct-compents/pct-date-range-condition.js +1 -1
  16. package/lib/pct-filter-panel/pct-compents/pct-multiple-menu-condition.js +272 -132
  17. package/lib/pct-filter-panel/pct-compents/pct-multiple-menu-condition.vue_vue_type_style_index_0_scoped_ca1affd9_lang.js +17 -0
  18. package/lib/pct-filter-panel/pct-filter-panel.js +0 -1
  19. package/package.json +1 -1
  20. package/src/advance-select/advance-option.vue +1 -1
  21. package/src/data-form/data-form.vue +1 -1
  22. package/src/data-form/form-components/bwa-rich-text.vue +1 -1
  23. package/src/data-table/data-table.vue +7 -2
  24. package/src/pct-filter-panel/pct-compents/pct-date-range-condition.vue +1 -1
  25. package/src/pct-filter-panel/pct-compents/pct-multiple-menu-condition.vue +139 -25
  26. package/src/pct-filter-panel/pct-filter-panel.vue +1 -1
  27. package/es/plugins.css +0 -1
  28. package/lib/plugins.css +0 -1
  29. /package/es/advance-select/{advance-option.vue_vue_type_style_index_0_scoped_daae7edd_lang.mjs → advance-option.vue_vue_type_style_index_0_scoped_4c0fde1d_lang.mjs} +0 -0
  30. /package/lib/advance-select/{advance-option.vue_vue_type_style_index_0_scoped_daae7edd_lang.js → advance-option.vue_vue_type_style_index_0_scoped_4c0fde1d_lang.js} +0 -0
@@ -4,7 +4,7 @@ import { useNamespace } from '@ctzy-web-client/web-base-client-vue';
4
4
  import { useEvent } from './events-helpers.mjs';
5
5
  import { useAdvanceOption } from './use-advance-option.mjs';
6
6
  import { pinyin } from 'pinyin-pro';
7
- import './advance-option.vue_vue_type_style_index_0_scoped_daae7edd_lang.mjs';
7
+ import './advance-option.vue_vue_type_style_index_0_scoped_4c0fde1d_lang.mjs';
8
8
  import _export_sfc from '../_virtual/_plugin-vue_export-helper.mjs';
9
9
 
10
10
  // Inject __name helper
@@ -39,7 +39,6 @@ const _sfc_main = {
39
39
  const show = ref(true);
40
40
  const clickFlag = ref(true);
41
41
  const showLetterAvatarStatus = computed(() => props.showLetterAvatar);
42
- console.log(showLetterAvatarStatus.value, "\u4E0B\u4E00\u7EA7");
43
42
  const contentText = ref();
44
43
  expose({ currentLabel });
45
44
  const filterOptionClick = () => {
@@ -160,6 +159,6 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
160
159
  }, 8, ["class"])) : createCommentVNode("v-if", true)
161
160
  ], 2);
162
161
  }
163
- var BwaAdvanceOption = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-daae7edd"], ["__file", "advance-option.vue"]]);
162
+ var BwaAdvanceOption = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-4c0fde1d"], ["__file", "advance-option.vue"]]);
164
163
 
165
164
  export { BwaAdvanceOption as default };
@@ -0,0 +1 @@
1
+ .letter-circle[data-v-4c0fde1d]{align-items:center;border-radius:50%;color:#fff;display:flex;font-size:14px;height:24px;justify-content:center;margin-right:8px;width:24px}@keyframes blink-ca1affd9{0%,to{opacity:1}50%{opacity:0}}.cursor-blink[data-v-ca1affd9]{animation:blink-ca1affd9 1s infinite;background-color:#333;display:inline-block;height:16px;width:1px}
@@ -123,7 +123,6 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
123
123
  ElMessage.info("\u4FDD\u5B58\u6210\u529F!");
124
124
  }).catch((e) => ElMessage.error(e.message));
125
125
  }).catch((result) => {
126
- console.log(result);
127
126
  });
128
127
  };
129
128
  onMounted(() => {
@@ -193,7 +193,6 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
193
193
  if (evt.clipboardData && evt.clipboardData.files && evt.clipboardData.files.length) {
194
194
  evt.preventDefault();
195
195
  [].forEach.call(evt.clipboardData.files, async (file) => {
196
- console.log(file);
197
196
  if (file.type.match(/^image\/(gif|jpe?g|a?png|bmp)/i)) {
198
197
  const filePathResult = await updateImage(file);
199
198
  if (filePathResult.code != 0) {
@@ -147,7 +147,6 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
147
147
  })
148
148
  );
149
149
  }
150
- console.log(userListResult);
151
150
  } finally {
152
151
  processing.value = false;
153
152
  }
@@ -167,10 +166,13 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
167
166
  dataTable.load();
168
167
  };
169
168
  useEventDispatcher(dataTable, "load-successfully", (res) => {
169
+ var _a2, _b;
170
170
  if (!elTable.value) {
171
171
  return;
172
172
  }
173
- unref(elTable).store.updateSelectionByRowKey();
173
+ if ((_b = (_a2 = unref(elTable)) == null ? void 0 : _a2.store) == null ? void 0 : _b.updateSelectionByRowKey) {
174
+ unref(elTable).store.updateSelectionByRowKey();
175
+ }
174
176
  if (res.code != 0) {
175
177
  ElMessage.error(res.msg);
176
178
  }
@@ -23,7 +23,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
23
23
  },
24
24
  valueFormat: {
25
25
  type: String,
26
- default: "YYYY-MM-DD"
26
+ default: "YYYY-MM-DD HH:mm:ss"
27
27
  },
28
28
  showTitle: {
29
29
  type: Boolean,
@@ -1,10 +1,11 @@
1
- import { defineComponent, ref, onMounted, nextTick, useAttrs, computed, inject, unref, watch, resolveComponent, openBlock, createElementBlock, normalizeClass, toDisplayString, createCommentVNode, createVNode, withCtx, createTextVNode, createElementVNode, Fragment, renderList, createBlock, withModifiers, renderSlot } from 'vue';
2
- import { ElTooltip, ElTag, ElIcon, ElInput } from 'element-plus';
1
+ import { defineComponent, ref, onMounted, nextTick, useAttrs, computed, inject, unref, watch, resolveComponent, openBlock, createElementBlock, normalizeClass, toDisplayString, createCommentVNode, createVNode, withCtx, createTextVNode, createElementVNode, Fragment, renderList, createBlock, withDirectives, withModifiers, vModelText, renderSlot } from 'vue';
2
+ import { ElTooltip, ElTag, ElIcon } from 'element-plus';
3
3
  import { ArrowUp, ArrowDown } from '@element-plus/icons';
4
4
  import { useService, HttpRequest, useNamespace, filterPanelItemKey } from '@ctzy-web-client/web-base-client-vue';
5
5
  import { dataProps } from '../../hooks/use-data/index.mjs';
6
6
  import BwaAdvanceSelect from '../../advance-select/advance-select.mjs';
7
7
  import BwaAdvanceOption from '../../advance-select/advance-option.mjs';
8
+ import './pct-multiple-menu-condition.vue_vue_type_style_index_0_scoped_ca1affd9_lang.mjs';
8
9
  import _export_sfc from '../../_virtual/_plugin-vue_export-helper.mjs';
9
10
 
10
11
  // Inject __name helper
@@ -16,7 +17,51 @@ if (typeof __name === 'undefined') {
16
17
  });
17
18
  }
18
19
  }
19
- const _hoisted_1 = { key: 0 };
20
+ const _hoisted_1 = {
21
+ key: 0,
22
+ style: { "display": "flex", "align-items": "center", "flex-wrap": "wrap", "gap": "4px" }
23
+ };
24
+ const _hoisted_2 = {
25
+ key: 0,
26
+ style: { "flex": "1", "min-width": "80px", "position": "relative" }
27
+ };
28
+ const _hoisted_3 = {
29
+ key: 0,
30
+ style: { "color": "#999", "cursor": "text" }
31
+ };
32
+ const _hoisted_4 = {
33
+ key: 1,
34
+ style: { "color": "#333" }
35
+ };
36
+ const _hoisted_5 = {
37
+ key: 2,
38
+ class: "cursor-blink"
39
+ };
40
+ const _hoisted_6 = {
41
+ key: 1,
42
+ style: { "display": "flex", "align-items": "center", "justify-content": "space-between", "width": "100%" }
43
+ };
44
+ const _hoisted_7 = {
45
+ key: 1,
46
+ style: { "color": "#333" }
47
+ };
48
+ const _hoisted_8 = {
49
+ key: 2,
50
+ class: "cursor-blink"
51
+ };
52
+ const _hoisted_9 = { style: { "flex": "1", "position": "relative", "cursor": "text" } };
53
+ const _hoisted_10 = {
54
+ key: 1,
55
+ style: { "display": "flex", "align-items": "center", "width": "100%" }
56
+ };
57
+ const _hoisted_11 = {
58
+ key: 1,
59
+ style: { "color": "#333" }
60
+ };
61
+ const _hoisted_12 = {
62
+ key: 2,
63
+ class: "cursor-blink"
64
+ };
20
65
  const __default__ = defineComponent({
21
66
  name: "BwaPctMultipleMenuCondition",
22
67
  __conditionTitle__: "\u591A\u9009\u5217\u8868",
@@ -96,6 +141,8 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
96
141
  const ns = useNamespace("pctfilterpanel-item");
97
142
  const isShowPopper = ref(false);
98
143
  const isHoverIcon = ref(false);
144
+ const isSearchActive = ref(false);
145
+ const inputRef = ref(null);
99
146
  const attrs = useAttrs();
100
147
  const showTitle = computed(() => attrs.showTitle);
101
148
  const data = ref([]);
@@ -132,7 +179,6 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
132
179
  var _a2, _b;
133
180
  return ((_b = (_a2 = column.value) == null ? void 0 : _a2.componentProps) == null ? void 0 : _b.showLetterAvatar) || props.showLetterAvatar;
134
181
  });
135
- console.log(showLetterAvatarStatus.value, "\u6253\u5370\u4F20\u503C");
136
182
  const handleClose = (val) => {
137
183
  const currentModelValue = Array.isArray(modelValue.value) ? modelValue.value : [];
138
184
  modelValue.value = currentModelValue.filter(
@@ -147,6 +193,32 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
147
193
  }
148
194
  isShowPopper.value = !isShowPopper.value;
149
195
  };
196
+ const handleContentClick = (event) => {
197
+ var _a2, _b;
198
+ event.stopPropagation();
199
+ isShowPopper.value = true;
200
+ if (props.showSearch && !((_b = (_a2 = column.value) == null ? void 0 : _a2.componentProps) == null ? void 0 : _b.options)) {
201
+ nextTick(() => {
202
+ if (inputRef.value) {
203
+ inputRef.value.focus();
204
+ isSearchActive.value = true;
205
+ }
206
+ });
207
+ }
208
+ };
209
+ const handleInputFocus = () => {
210
+ isSearchActive.value = true;
211
+ isShowPopper.value = true;
212
+ };
213
+ const handleInputBlur = (event) => {
214
+ const target = event.relatedTarget;
215
+ if (target && target.closest(".bwa-advance-select__popper")) {
216
+ return;
217
+ }
218
+ setTimeout(() => {
219
+ isSearchActive.value = false;
220
+ }, 200);
221
+ };
150
222
  const getData = async (query) => {
151
223
  var _a2;
152
224
  loading.value = true;
@@ -180,8 +252,21 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
180
252
  }
181
253
  };
182
254
  const search = ref("");
255
+ let searchTimeout = null;
183
256
  watch(() => search.value, (val) => {
184
257
  handleFieldSearch(val);
258
+ if (searchTimeout) {
259
+ clearTimeout(searchTimeout);
260
+ }
261
+ searchTimeout = setTimeout(() => {
262
+ var _a2, _b;
263
+ if (val && props.showSearch && !((_b = (_a2 = column.value) == null ? void 0 : _a2.componentProps) == null ? void 0 : _b.options)) {
264
+ isShowPopper.value = true;
265
+ if (column.value.componentProps) {
266
+ getData(val);
267
+ }
268
+ }
269
+ }, 500);
185
270
  });
186
271
  const modelValue = computed({
187
272
  get: () => {
@@ -215,7 +300,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
215
300
  showLetterAvatar: showLetterAvatarStatus.value,
216
301
  multiple: __props.multiple,
217
302
  modelValue: modelValue.value,
218
- "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => modelValue.value = $event),
303
+ "onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => modelValue.value = $event),
219
304
  onSearch: handleFieldSearch,
220
305
  class: normalizeClass(unref(ns).e("options")),
221
306
  onVisibleChange: visibleChange,
@@ -229,142 +314,197 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
229
314
  ref_key: "advanceSelectRef",
230
315
  ref: advanceSelectRef
231
316
  }, {
232
- "reference-content": withCtx(({ selected }) => [
233
- __props.multiple ? (openBlock(), createElementBlock("div", {
234
- key: 0,
235
- class: normalizeClass(unref(ns).e("content"))
236
- }, [
237
- selected && selected.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_1, [
238
- createVNode(unref(ElTooltip), {
239
- content: selected[0].label,
240
- placement: "top",
241
- effect: "light",
242
- "append-to": ".bwa-application"
317
+ "reference-content": withCtx(({ selected }) => {
318
+ var _a2, _b, _c, _d;
319
+ return [
320
+ createCommentVNode(" \u591A\u9009\u6A21\u5F0F "),
321
+ __props.multiple ? (openBlock(), createElementBlock("div", {
322
+ key: 0,
323
+ class: normalizeClass(unref(ns).e("content")),
324
+ onClick: handleContentClick
325
+ }, [
326
+ selected && selected.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_1, [
327
+ createVNode(unref(ElTooltip), {
328
+ content: selected[0].label,
329
+ placement: "top",
330
+ effect: "light",
331
+ "append-to": ".bwa-application"
332
+ }, {
333
+ default: withCtx(() => [
334
+ createVNode(unref(ElTag), {
335
+ class: normalizeClass(unref(ns).e("tag")),
336
+ closable: "",
337
+ onClose: ($event) => handleClose(selected[0]),
338
+ type: "info"
339
+ }, {
340
+ default: withCtx(() => [
341
+ createTextVNode(toDisplayString(selected[0].label), 1)
342
+ ]),
343
+ _: 2
344
+ }, 1032, ["class", "onClose"])
345
+ ]),
346
+ _: 2
347
+ }, 1032, ["content"]),
348
+ createVNode(unref(ElTooltip), {
349
+ content: "Bottom center",
350
+ placement: "top",
351
+ effect: "light",
352
+ "append-to": ".bwa-application"
353
+ }, {
354
+ content: withCtx(() => [
355
+ createElementVNode("div", {
356
+ class: normalizeClass(unref(ns).e("tag_box"))
357
+ }, [
358
+ (openBlock(true), createElementBlock(Fragment, null, renderList(selected, (item, index) => {
359
+ return openBlock(), createElementBlock(Fragment, null, [
360
+ index !== 0 ? (openBlock(), createBlock(unref(ElTag), {
361
+ key: 0,
362
+ class: normalizeClass(unref(ns).e("tag_details")),
363
+ type: "info",
364
+ closable: "",
365
+ onClose: ($event) => handleClose(item)
366
+ }, {
367
+ default: withCtx(() => [
368
+ createTextVNode(toDisplayString(item.label), 1)
369
+ ]),
370
+ _: 2
371
+ }, 1032, ["class", "onClose"])) : createCommentVNode("v-if", true)
372
+ ], 64);
373
+ }), 256))
374
+ ], 2)
375
+ ]),
376
+ default: withCtx(() => [
377
+ selected.length > 1 ? (openBlock(), createBlock(unref(ElTag), {
378
+ key: 0,
379
+ class: normalizeClass(unref(ns).e("tag")),
380
+ type: "info"
381
+ }, {
382
+ default: withCtx(() => [
383
+ createTextVNode("+" + toDisplayString(selected.length - 1), 1)
384
+ ]),
385
+ _: 2
386
+ }, 1032, ["class"])) : createCommentVNode("v-if", true)
387
+ ]),
388
+ _: 2
389
+ }, 1024),
390
+ createCommentVNode(" \u641C\u7D22\u8F93\u5165\u533A\u57DF "),
391
+ props.showSearch && !((_a2 = column.value.componentProps) == null ? void 0 : _a2.options) ? (openBlock(), createElementBlock("div", _hoisted_2, [
392
+ !isSearchActive.value && !search.value ? (openBlock(), createElementBlock("span", _hoisted_3, toDisplayString(searchPlaceholderStr.value || "\u641C\u7D22"), 1)) : (openBlock(), createElementBlock("span", _hoisted_4, toDisplayString(search.value), 1)),
393
+ createCommentVNode(" \u95EA\u70C1\u5149\u6807 "),
394
+ isSearchActive.value ? (openBlock(), createElementBlock("span", _hoisted_5)) : createCommentVNode("v-if", true),
395
+ createCommentVNode(" \u9690\u85CF\u7684\u8F93\u5165\u6846 "),
396
+ props.showSearch && !((_b = column.value.componentProps) == null ? void 0 : _b.options) ? withDirectives((openBlock(), createElementBlock("input", {
397
+ key: 3,
398
+ ref_key: "inputRef",
399
+ ref: inputRef,
400
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => search.value = $event),
401
+ type: "text",
402
+ style: { "position": "absolute", "top": "0", "left": "0", "width": "100%", "height": "100%", "opacity": "0", "cursor": "text" },
403
+ onFocus: handleInputFocus,
404
+ onBlur: handleInputBlur,
405
+ onClick: _cache[1] || (_cache[1] = withModifiers(() => {
406
+ }, ["stop"]))
407
+ }, null, 544)), [
408
+ [vModelText, search.value]
409
+ ]) : createCommentVNode("v-if", true)
410
+ ])) : createCommentVNode("v-if", true)
411
+ ])) : (openBlock(), createElementBlock("div", _hoisted_6, [
412
+ createElementVNode("div", {
413
+ style: { "flex": "1", "position": "relative", "cursor": "text" },
414
+ onClick: handleContentClick
415
+ }, [
416
+ !isSearchActive.value && !search.value ? (openBlock(), createElementBlock("span", {
417
+ key: 0,
418
+ class: normalizeClass(unref(ns).e("contentBox_placeholder"))
419
+ }, toDisplayString(placeholderStr.value), 3)) : (openBlock(), createElementBlock("span", _hoisted_7, toDisplayString(search.value), 1)),
420
+ createCommentVNode(" \u95EA\u70C1\u5149\u6807 "),
421
+ isSearchActive.value ? (openBlock(), createElementBlock("span", _hoisted_8)) : createCommentVNode("v-if", true),
422
+ createCommentVNode(" \u9690\u85CF\u7684\u8F93\u5165\u6846 "),
423
+ props.showSearch && !((_c = column.value.componentProps) == null ? void 0 : _c.options) ? withDirectives((openBlock(), createElementBlock("input", {
424
+ key: 3,
425
+ ref_key: "inputRef",
426
+ ref: inputRef,
427
+ "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => search.value = $event),
428
+ type: "text",
429
+ style: { "position": "absolute", "top": "0", "left": "0", "width": "100%", "height": "100%", "opacity": "0", "cursor": "text" },
430
+ onFocus: handleInputFocus,
431
+ onBlur: handleInputBlur,
432
+ onClick: _cache[3] || (_cache[3] = withModifiers(() => {
433
+ }, ["stop"]))
434
+ }, null, 544)), [
435
+ [vModelText, search.value]
436
+ ]) : createCommentVNode("v-if", true)
437
+ ])
438
+ ])),
439
+ createVNode(unref(ElIcon), {
440
+ onMouseenter: _cache[4] || (_cache[4] = ($event) => isHoverIcon.value = true),
441
+ onMouseleave: _cache[5] || (_cache[5] = ($event) => isHoverIcon.value = false),
442
+ onClick: withModifiers(handleIconClick, ["stop"]),
443
+ class: normalizeClass(unref(ns).be("option", "selected"))
243
444
  }, {
244
445
  default: withCtx(() => [
245
- createVNode(unref(ElTag), {
246
- class: normalizeClass(unref(ns).e("tag")),
247
- closable: "",
248
- onClose: ($event) => handleClose(selected[0]),
249
- type: "info"
250
- }, {
251
- default: withCtx(() => [
252
- createTextVNode(toDisplayString(selected[0].label), 1)
253
- ]),
254
- _: 2
255
- }, 1032, ["class", "onClose"])
446
+ isHoverIcon.value && selected.length > 0 ? (openBlock(), createBlock(_component_CircleClose, {
447
+ key: 0,
448
+ class: "delete-icon"
449
+ })) : isShowPopper.value ? (openBlock(), createBlock(unref(ArrowUp), { key: 1 })) : (openBlock(), createBlock(unref(ArrowDown), { key: 2 }))
256
450
  ]),
257
451
  _: 2
258
- }, 1032, ["content"]),
259
- createVNode(unref(ElTooltip), {
260
- content: "Bottom center",
261
- placement: "top",
262
- effect: "light",
263
- "append-to": ".bwa-application"
264
- }, {
265
- content: withCtx(() => [
266
- createElementVNode("div", {
267
- class: normalizeClass(unref(ns).e("tag_box"))
268
- }, [
269
- (openBlock(true), createElementBlock(Fragment, null, renderList(selected, (item, index) => {
270
- return openBlock(), createElementBlock(Fragment, null, [
271
- index !== 0 ? (openBlock(), createBlock(unref(ElTag), {
272
- key: 0,
273
- class: normalizeClass(unref(ns).e("tag_details")),
274
- type: "info",
275
- closable: "",
276
- onClose: ($event) => handleClose(item)
277
- }, {
278
- default: withCtx(() => [
279
- createTextVNode(toDisplayString(item.label), 1)
280
- ]),
281
- _: 2
282
- }, 1032, ["class", "onClose"])) : createCommentVNode("v-if", true)
283
- ], 64);
284
- }), 256))
285
- ], 2)
286
- ]),
287
- default: withCtx(() => [
288
- selected.length > 1 ? (openBlock(), createBlock(unref(ElTag), {
289
- key: 0,
290
- class: normalizeClass(unref(ns).e("tag")),
291
- type: "info"
452
+ }, 1032, ["class"])
453
+ ], 2)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
454
+ createCommentVNode(" \u5355\u9009\u6A21\u5F0F "),
455
+ createElementVNode("div", {
456
+ class: normalizeClass(unref(ns).e("content")),
457
+ onClick: handleContentClick
458
+ }, [
459
+ createElementVNode("div", _hoisted_9, [
460
+ createVNode(unref(ElTooltip), {
461
+ disabled: !selected.label,
462
+ content: selected.label,
463
+ placement: "top",
464
+ effect: "light",
465
+ "append-to": ".bwa-application"
292
466
  }, {
293
467
  default: withCtx(() => [
294
- createTextVNode("+" + toDisplayString(selected.length - 1), 1)
468
+ selected.label ? (openBlock(), createElementBlock("div", {
469
+ key: 0,
470
+ class: normalizeClass([unref(ns).e("contentBox"), unref(ns).e("contentBox_label")])
471
+ }, toDisplayString(selected.label || placeholderStr.value), 3)) : (openBlock(), createElementBlock("div", _hoisted_10, [
472
+ !isSearchActive.value && !search.value ? (openBlock(), createElementBlock("span", {
473
+ key: 0,
474
+ class: normalizeClass(unref(ns).e("contentBox_placeholder"))
475
+ }, toDisplayString(placeholderStr.value), 3)) : (openBlock(), createElementBlock("span", _hoisted_11, toDisplayString(search.value), 1)),
476
+ createCommentVNode(" \u95EA\u70C1\u5149\u6807 "),
477
+ isSearchActive.value ? (openBlock(), createElementBlock("span", _hoisted_12)) : createCommentVNode("v-if", true)
478
+ ]))
295
479
  ]),
296
480
  _: 2
297
- }, 1032, ["class"])) : createCommentVNode("v-if", true)
481
+ }, 1032, ["disabled", "content"]),
482
+ createCommentVNode(" \u9690\u85CF\u7684\u8F93\u5165\u6846 "),
483
+ props.showSearch && !((_d = column.value.componentProps) == null ? void 0 : _d.options) ? withDirectives((openBlock(), createElementBlock("input", {
484
+ key: 0,
485
+ ref_key: "inputRef",
486
+ ref: inputRef,
487
+ "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => search.value = $event),
488
+ type: "text",
489
+ style: { "position": "absolute", "top": "0", "left": "0", "width": "100%", "height": "100%", "opacity": "0", "cursor": "text" },
490
+ onFocus: handleInputFocus,
491
+ onBlur: handleInputBlur,
492
+ onClick: _cache[7] || (_cache[7] = withModifiers(() => {
493
+ }, ["stop"]))
494
+ }, null, 544)), [
495
+ [vModelText, search.value]
496
+ ]) : createCommentVNode("v-if", true)
298
497
  ]),
299
- _: 2
300
- }, 1024)
301
- ])) : (openBlock(), createElementBlock("div", {
302
- key: 1,
303
- class: normalizeClass(unref(ns).e("contentBox_placeholder"))
304
- }, toDisplayString(placeholderStr.value), 3)),
305
- createVNode(unref(ElIcon), {
306
- onMouseenter: _cache[0] || (_cache[0] = ($event) => isHoverIcon.value = true),
307
- onMouseleave: _cache[1] || (_cache[1] = ($event) => isHoverIcon.value = false),
308
- onClick: withModifiers(handleIconClick, ["stop"]),
309
- class: normalizeClass(unref(ns).be("option", "selected"))
310
- }, {
311
- default: withCtx(() => [
312
- isHoverIcon.value && selected.length > 0 ? (openBlock(), createBlock(_component_CircleClose, {
313
- key: 0,
314
- class: "delete-icon"
315
- })) : isShowPopper.value ? (openBlock(), createBlock(unref(ArrowUp), { key: 1 })) : (openBlock(), createBlock(unref(ArrowDown), { key: 2 }))
316
- ]),
317
- _: 2
318
- }, 1032, ["class"])
319
- ], 2)) : (openBlock(), createElementBlock("div", {
320
- key: 1,
321
- class: normalizeClass(unref(ns).e("content"))
322
- }, [
323
- createVNode(unref(ElTooltip), {
324
- disabled: !selected.label,
325
- content: selected.label,
326
- placement: "top",
327
- effect: "light",
328
- "append-to": ".bwa-application"
329
- }, {
330
- default: withCtx(() => [
331
- selected.label ? (openBlock(), createElementBlock("div", {
332
- key: 0,
333
- class: normalizeClass([unref(ns).e("contentBox"), unref(ns).e("contentBox_label")])
334
- }, toDisplayString(selected.label || placeholderStr.value), 3)) : (openBlock(), createElementBlock("div", {
335
- key: 1,
336
- class: normalizeClass([unref(ns).e("contentBox"), unref(ns).e("contentBox_placeholder")])
337
- }, toDisplayString(placeholderStr.value), 3))
338
- ]),
339
- _: 2
340
- }, 1032, ["disabled", "content"]),
341
- createVNode(unref(ElIcon), {
342
- class: normalizeClass(unref(ns).be("option", "selected"))
343
- }, {
344
- default: withCtx(() => [
345
- isShowPopper.value ? (openBlock(), createBlock(unref(ArrowUp), { key: 0 })) : (openBlock(), createBlock(unref(ArrowDown), { key: 1 }))
346
- ]),
347
- _: 1
348
- }, 8, ["class"])
349
- ], 2))
350
- ]),
351
- contentTop: withCtx(() => {
352
- var _a2;
353
- return [
354
- __props.showSearch && !((_a2 = column.value.componentProps) == null ? void 0 : _a2.options) ? (openBlock(), createElementBlock("div", {
355
- key: 0,
356
- class: normalizeClass(unref(ns).e("contentTop"))
357
- }, [
358
- createVNode(unref(ElInput), {
359
- modelValue: search.value,
360
- "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => search.value = $event),
361
- class: normalizeClass(unref(ns).e("select")),
362
- placeholder: searchPlaceholderStr.value,
363
- type: "text",
364
- "prefix-icon": "Search",
365
- clearable: ""
366
- }, null, 8, ["modelValue", "class", "placeholder"])
367
- ], 2)) : createCommentVNode("v-if", true)
498
+ createVNode(unref(ElIcon), {
499
+ class: normalizeClass(unref(ns).be("option", "selected"))
500
+ }, {
501
+ default: withCtx(() => [
502
+ isShowPopper.value ? (openBlock(), createBlock(unref(ArrowUp), { key: 0 })) : (openBlock(), createBlock(unref(ArrowDown), { key: 1 }))
503
+ ]),
504
+ _: 1
505
+ }, 8, ["class"])
506
+ ], 2)
507
+ ], 2112))
368
508
  ];
369
509
  }),
370
510
  contentBottom: withCtx(() => [
@@ -384,7 +524,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
384
524
  class: normalizeClass(unref(ns).be("filter", "option"))
385
525
  }, null, 8, ["value", "label", "showLetterAvatar", "class"]);
386
526
  }), 128))
387
- ])
527
+ ], true)
388
528
  ]),
389
529
  _: 3
390
530
  }, 8, ["showLetterAvatar", "multiple", "modelValue", "class", "showSelectIcon", "loading", "width"])
@@ -392,6 +532,6 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
392
532
  };
393
533
  }
394
534
  });
395
- var PctMultipleMenuCondition = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "pct-multiple-menu-condition.vue"]]);
535
+ var PctMultipleMenuCondition = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-ca1affd9"], ["__file", "pct-multiple-menu-condition.vue"]]);
396
536
 
397
537
  export { PctMultipleMenuCondition as default };
@@ -0,0 +1,13 @@
1
+ // Inject __name helper
2
+ if (typeof __name === 'undefined') {
3
+ function __name(obj, name) {
4
+ Object.defineProperty(obj, "name", {
5
+ value: name,
6
+ configurable: true
7
+ });
8
+ }
9
+ }
10
+
11
+ var undefined$1 = undefined;
12
+
13
+ export { undefined$1 as default };
@@ -72,7 +72,6 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
72
72
  handleReset,
73
73
  handleSearch
74
74
  } = useFilterPanel(props, { emit });
75
- console.log(currentFilterColumns);
76
75
  watch(
77
76
  filterPanel,
78
77
  (filterPanel2, _, onCleanup) => {
@@ -8,7 +8,7 @@ var webBaseClientVue = require('@ctzy-web-client/web-base-client-vue');
8
8
  var eventsHelpers = require('./events-helpers.js');
9
9
  var useAdvanceOption = require('./use-advance-option.js');
10
10
  var pinyinPro = require('pinyin-pro');
11
- require('./advance-option.vue_vue_type_style_index_0_scoped_daae7edd_lang.js');
11
+ require('./advance-option.vue_vue_type_style_index_0_scoped_4c0fde1d_lang.js');
12
12
  var _pluginVue_exportHelper = require('../_virtual/_plugin-vue_export-helper.js');
13
13
 
14
14
  // Inject __name helper
@@ -43,7 +43,6 @@ const _sfc_main = {
43
43
  const show = vue.ref(true);
44
44
  const clickFlag = vue.ref(true);
45
45
  const showLetterAvatarStatus = vue.computed(() => props.showLetterAvatar);
46
- console.log(showLetterAvatarStatus.value, "\u4E0B\u4E00\u7EA7");
47
46
  const contentText = vue.ref();
48
47
  expose({ currentLabel });
49
48
  const filterOptionClick = () => {
@@ -164,6 +163,6 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
164
163
  }, 8, ["class"])) : vue.createCommentVNode("v-if", true)
165
164
  ], 2);
166
165
  }
167
- var BwaAdvanceOption = /* @__PURE__ */ _pluginVue_exportHelper["default"](_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-daae7edd"], ["__file", "advance-option.vue"]]);
166
+ var BwaAdvanceOption = /* @__PURE__ */ _pluginVue_exportHelper["default"](_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-4c0fde1d"], ["__file", "advance-option.vue"]]);
168
167
 
169
168
  exports["default"] = BwaAdvanceOption;
@@ -0,0 +1 @@
1
+ .letter-circle[data-v-4c0fde1d]{align-items:center;border-radius:50%;color:#fff;display:flex;font-size:14px;height:24px;justify-content:center;margin-right:8px;width:24px}@keyframes blink-ca1affd9{0%,to{opacity:1}50%{opacity:0}}.cursor-blink[data-v-ca1affd9]{animation:blink-ca1affd9 1s infinite;background-color:#333;display:inline-block;height:16px;width:1px}
@@ -127,7 +127,6 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
127
127
  ElementPlus.ElMessage.info("\u4FDD\u5B58\u6210\u529F!");
128
128
  }).catch((e) => ElementPlus.ElMessage.error(e.message));
129
129
  }).catch((result) => {
130
- console.log(result);
131
130
  });
132
131
  };
133
132
  vue.onMounted(() => {
@@ -201,7 +201,6 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
201
201
  if (evt.clipboardData && evt.clipboardData.files && evt.clipboardData.files.length) {
202
202
  evt.preventDefault();
203
203
  [].forEach.call(evt.clipboardData.files, async (file) => {
204
- console.log(file);
205
204
  if (file.type.match(/^image\/(gif|jpe?g|a?png|bmp)/i)) {
206
205
  const filePathResult = await updateImage(file);
207
206
  if (filePathResult.code != 0) {