@ctzy-web-client/plugin-component-vue 1.0.23 → 1.0.24

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 (131) hide show
  1. package/es/advance-select/advance-operation.mjs +51 -37
  2. package/es/advance-select/advance-option.mjs +167 -97
  3. package/es/advance-select/advance-option.vue_vue_type_style_index_0_scoped_bc8f5626_lang.mjs +7 -0
  4. package/es/advance-select/advance-select.mjs +368 -310
  5. package/es/advance-select/index.mjs +5 -5
  6. package/es/application-slot/breadcrumb-item.mjs +20 -17
  7. package/es/application-slot/header-tools-item.mjs +20 -17
  8. package/es/breadcrumb-select/breadcrumb-select.mjs +134 -112
  9. package/es/contextmenu/contextmenu-item.mjs +19 -15
  10. package/es/contextmenu/contextmenu.mjs +72 -56
  11. package/es/data-form/data-form-item.mjs +48 -30
  12. package/es/data-form/data-form.mjs +213 -166
  13. package/es/data-form/form-components/bwa-date-picker.mjs +51 -39
  14. package/es/data-form/form-components/bwa-date-time-picker.mjs +56 -44
  15. package/es/data-form/form-components/bwa-input-float.mjs +48 -37
  16. package/es/data-form/form-components/bwa-input-integer.mjs +68 -50
  17. package/es/data-form/form-components/bwa-input.mjs +43 -32
  18. package/es/data-form/form-components/bwa-multi-select.mjs +40 -29
  19. package/es/data-form/form-components/bwa-rich-text-tinymce.mjs +554 -218
  20. package/es/data-form/form-components/bwa-rich-text.mjs +404 -316
  21. package/es/data-form/form-components/bwa-select.mjs +84 -70
  22. package/es/data-form/form-components/bwa-textarea.mjs +38 -27
  23. package/es/data-form/form-components/bwa-upload.mjs +172 -148
  24. package/es/data-form/form-components/bwa-user-multi-select.mjs +35 -24
  25. package/es/data-form/form-components/bwa-user-select.mjs +86 -61
  26. package/es/data-table/data-column-view.mjs +146 -115
  27. package/es/data-table/data-table-card.mjs +48 -40
  28. package/es/data-table/data-table-column.mjs +58 -45
  29. package/es/data-table/data-table.mjs +402 -316
  30. package/es/datatable-settings/datatable-settings.mjs +329 -254
  31. package/es/date-range/date-picker.mjs +130 -116
  32. package/es/date-range/date-range.mjs +215 -161
  33. package/es/drag-list/drag-item.mjs +56 -42
  34. package/es/drag-list/drag-list.mjs +60 -47
  35. package/es/dragable/dragable-item.mjs +23 -18
  36. package/es/dragable/dragable-operation.mjs +32 -24
  37. package/es/dragable/dragable.mjs +32 -23
  38. package/es/filter-panel/conditions/date-range-condition.mjs +50 -40
  39. package/es/filter-panel/conditions/department-condition/department-condition.mjs +99 -72
  40. package/es/filter-panel/conditions/department-condition/department-node.mjs +73 -59
  41. package/es/filter-panel/conditions/input-condition.mjs +90 -76
  42. package/es/filter-panel/conditions/multi-user-condition.mjs +67 -57
  43. package/es/filter-panel/conditions/multiple-menu-condition.mjs +54 -35
  44. package/es/filter-panel/conditions/single-menu-condition.mjs +65 -60
  45. package/es/filter-panel/conditions/single-user-condition.mjs +67 -57
  46. package/es/filter-panel/filter-panel-item.mjs +54 -39
  47. package/es/filter-panel/filter-panel.mjs +153 -135
  48. package/es/layout/layout.mjs +85 -78
  49. package/es/menu/menu-item.mjs +67 -52
  50. package/es/menu/menu.mjs +70 -53
  51. package/es/node_modules/.pnpm/style-inject@0.3.0/node_modules/style-inject/dist/style-inject.es.mjs +28 -0
  52. package/es/panel/panel.mjs +53 -40
  53. package/es/pct-filter-panel/pct-compents/pct-Input-condition.mjs +74 -63
  54. package/es/pct-filter-panel/pct-compents/pct-date-range-condition.mjs +76 -67
  55. package/es/pct-filter-panel/pct-compents/pct-multiple-menu-condition.mjs +406 -178
  56. package/es/pct-filter-panel/pct-compents/pct-multiple-menu-condition2.mjs +153 -138
  57. package/es/pct-filter-panel/pct-filter-panel-item.mjs +55 -40
  58. package/es/pct-filter-panel/pct-filter-panel.mjs +247 -227
  59. package/es/progress/progress-item.mjs +81 -61
  60. package/es/progress/progress.mjs +78 -64
  61. package/es/where-filter-panel/where-filter-panel.mjs +15 -12
  62. package/lib/advance-select/advance-operation.js +50 -36
  63. package/lib/advance-select/advance-option.js +166 -96
  64. package/lib/advance-select/advance-option.vue_vue_type_style_index_0_scoped_bc8f5626_lang.js +12 -0
  65. package/lib/advance-select/advance-select.js +366 -308
  66. package/lib/application-slot/breadcrumb-item.js +19 -16
  67. package/lib/application-slot/header-tools-item.js +19 -16
  68. package/lib/breadcrumb-select/breadcrumb-select.js +133 -111
  69. package/lib/contextmenu/contextmenu-item.js +18 -14
  70. package/lib/contextmenu/contextmenu.js +71 -55
  71. package/lib/data-form/data-form-item.js +47 -29
  72. package/lib/data-form/data-form.js +212 -165
  73. package/lib/data-form/form-components/bwa-date-picker.js +50 -38
  74. package/lib/data-form/form-components/bwa-date-time-picker.js +55 -43
  75. package/lib/data-form/form-components/bwa-input-float.js +47 -36
  76. package/lib/data-form/form-components/bwa-input-integer.js +67 -49
  77. package/lib/data-form/form-components/bwa-input.js +42 -31
  78. package/lib/data-form/form-components/bwa-multi-select.js +39 -28
  79. package/lib/data-form/form-components/bwa-rich-text-tinymce.js +553 -217
  80. package/lib/data-form/form-components/bwa-rich-text.js +403 -315
  81. package/lib/data-form/form-components/bwa-select.js +83 -69
  82. package/lib/data-form/form-components/bwa-textarea.js +37 -26
  83. package/lib/data-form/form-components/bwa-upload.js +171 -147
  84. package/lib/data-form/form-components/bwa-user-multi-select.js +34 -23
  85. package/lib/data-form/form-components/bwa-user-select.js +85 -60
  86. package/lib/data-table/data-column-view.js +146 -115
  87. package/lib/data-table/data-table-card.js +48 -40
  88. package/lib/data-table/data-table-column.js +57 -44
  89. package/lib/data-table/data-table.js +401 -315
  90. package/lib/datatable-settings/datatable-settings.js +328 -253
  91. package/lib/date-range/date-picker.js +129 -115
  92. package/lib/date-range/date-range.js +214 -160
  93. package/lib/drag-list/drag-item.js +55 -41
  94. package/lib/drag-list/drag-list.js +59 -46
  95. package/lib/dragable/dragable-item.js +22 -17
  96. package/lib/dragable/dragable-operation.js +31 -23
  97. package/lib/dragable/dragable.js +31 -22
  98. package/lib/filter-panel/conditions/date-range-condition.js +49 -39
  99. package/lib/filter-panel/conditions/department-condition/department-condition.js +98 -71
  100. package/lib/filter-panel/conditions/department-condition/department-node.js +72 -58
  101. package/lib/filter-panel/conditions/input-condition.js +89 -75
  102. package/lib/filter-panel/conditions/multi-user-condition.js +66 -56
  103. package/lib/filter-panel/conditions/multiple-menu-condition.js +53 -34
  104. package/lib/filter-panel/conditions/single-menu-condition.js +64 -59
  105. package/lib/filter-panel/conditions/single-user-condition.js +66 -56
  106. package/lib/filter-panel/filter-panel-item.js +53 -38
  107. package/lib/filter-panel/filter-panel.js +152 -134
  108. package/lib/layout/layout.js +84 -77
  109. package/lib/menu/menu-item.js +66 -51
  110. package/lib/menu/menu.js +69 -52
  111. package/lib/node_modules/.pnpm/style-inject@0.3.0/node_modules/style-inject/dist/style-inject.es.js +32 -0
  112. package/lib/panel/panel.js +52 -39
  113. package/lib/pct-filter-panel/pct-compents/pct-Input-condition.js +73 -62
  114. package/lib/pct-filter-panel/pct-compents/pct-date-range-condition.js +75 -66
  115. package/lib/pct-filter-panel/pct-compents/pct-multiple-menu-condition.js +405 -177
  116. package/lib/pct-filter-panel/pct-compents/pct-multiple-menu-condition2.js +152 -137
  117. package/lib/pct-filter-panel/pct-filter-panel-item.js +54 -39
  118. package/lib/pct-filter-panel/pct-filter-panel.js +246 -226
  119. package/lib/progress/progress-item.js +80 -60
  120. package/lib/progress/progress.js +77 -63
  121. package/lib/where-filter-panel/where-filter-panel.js +14 -11
  122. package/package.json +2 -1
  123. package/src/advance-select/advance-option.vue +64 -13
  124. package/src/data-form/form-components/bwa-rich-text-tinymce.vue +1 -1
  125. package/src/datatable-settings/datatable-settings.vue +33 -3
  126. package/src/date-range/date-picker.vue +1 -1
  127. package/src/filter-panel/filter-panel.vue +2 -2
  128. package/src/pct-filter-panel/pct-compents/pct-Input-condition.vue +64 -64
  129. package/src/pct-filter-panel/pct-compents/pct-date-range-condition.vue +61 -61
  130. package/src/pct-filter-panel/pct-compents/pct-multiple-menu-condition.vue +302 -178
  131. package/src/pct-filter-panel/pct-filter-panel.vue +4 -4
@@ -1,43 +1,57 @@
1
- import { defineComponent, inject, openBlock, createElementBlock, normalizeClass, unref, renderSlot } from 'vue';
1
+ import { inject, openBlock, createElementBlock, normalizeClass, unref, renderSlot } from 'vue';
2
2
  import { advanceSelectKey, useNamespace } from '@ctzy-web-client/web-base-client-vue';
3
3
  import _export_sfc from '../_virtual/_plugin-vue_export-helper.mjs';
4
4
 
5
- const __default__ = defineComponent({
6
- name: "BwaAdvanceOperation"
7
- });
8
- const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
9
- props: {
10
- border: {
11
- type: Boolean,
12
- default: false
13
- },
14
- type: {
15
- type: String,
16
- default: "button"
17
- }
18
- },
19
- emits: ["click"],
5
+ const _sfc_main = {
6
+ __name: 'advance-operation',
7
+ props: {
8
+ border: {
9
+ type: Boolean,
10
+ default: false,
11
+ },
12
+ type: {
13
+ type: String,
14
+ default: 'button',
15
+ },
16
+ },
17
+ emits: ['click'],
20
18
  setup(__props, { emit }) {
21
- const props = __props;
22
- const advanceSelect = inject(advanceSelectKey);
23
- const clickHandle = () => {
24
- if (props.type !== "button") {
25
- return;
26
- }
27
- advanceSelect.hidePoppper();
28
- emit("click");
29
- };
30
- const ns = useNamespace("advance");
31
- return (_ctx, _cache) => {
32
- return openBlock(), createElementBlock("div", {
33
- class: normalizeClass([unref(ns).be("select", "operation"), unref(ns).is("border", __props.border)]),
34
- onClick: clickHandle
35
- }, [
36
- renderSlot(_ctx.$slots, "default")
37
- ], 2);
38
- };
39
- }
40
- });
41
- var AdvanceOperation = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "advance-operation.vue"]]);
19
+
20
+ const props = __props;
21
+
22
+ defineOptions({
23
+ name: 'BwaAdvanceOperation',
24
+ });
25
+
26
+
27
+
28
+
29
+
30
+ const advanceSelect = inject(advanceSelectKey);
31
+
32
+ const clickHandle = () => {
33
+ if (props.type !== 'button') {
34
+ return;
35
+ }
36
+
37
+ advanceSelect.hidePoppper();
38
+
39
+ emit('click');
40
+ };
41
+
42
+ const ns = useNamespace('advance');
43
+
44
+ return (_ctx, _cache) => {
45
+ return (openBlock(), createElementBlock("div", {
46
+ class: normalizeClass([unref(ns).be('select', 'operation'), unref(ns).is('border', __props.border)]),
47
+ onClick: clickHandle
48
+ }, [
49
+ renderSlot(_ctx.$slots, "default")
50
+ ], 2 /* CLASS */))
51
+ }
52
+ }
53
+
54
+ };
55
+ var AdvanceOperation = /*#__PURE__*/_export_sfc(_sfc_main, [['__file',"advance-operation.vue"]]);
42
56
 
43
57
  export { AdvanceOperation as default };
@@ -1,74 +1,141 @@
1
1
  import 'element-plus';
2
- import { getCurrentInstance, ref, resolveComponent, openBlock, createElementBlock, normalizeClass, withModifiers, createCommentVNode, createElementVNode, renderSlot, createVNode, withCtx, createTextVNode, toDisplayString, createBlock } from 'vue';
2
+ import { getCurrentInstance, ref, pushScopeId, popScopeId, resolveComponent, openBlock, createElementBlock, normalizeClass, withModifiers, createCommentVNode, createElementVNode, renderSlot, createVNode, withCtx, createTextVNode, toDisplayString, normalizeStyle, createBlock } from 'vue';
3
3
  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
+ import { pinyin } from 'pinyin-pro';
7
+ import './advance-option.vue_vue_type_style_index_0_scoped_bc8f5626_lang.mjs';
6
8
  import _export_sfc from '../_virtual/_plugin-vue_export-helper.mjs';
7
9
 
8
- const _sfc_main = {
9
- name: "BwaAdvanceOption",
10
- props: {
11
- label: {
12
- type: [String, Number, Boolean]
13
- },
14
- value: {
15
- type: null
16
- }
17
- },
18
- expose: ["currentLabel"],
19
- setup(props, { expose }) {
20
- const instance = getCurrentInstance();
21
- const ns = useNamespace("advance");
22
- const { handleOptionMouseEnter } = useEvent(ns);
23
- const { advanceSelect, currentLabel, itemSelected, showSelectIcon, source } = useAdvanceOption(props);
24
- const show = ref(true);
25
- const clickFlag = ref(true);
26
- const contentText = ref();
27
- expose({ currentLabel });
28
- const filterOptionClick = () => {
29
- advanceSelect.handleOptionSelect(instance.proxy);
30
- };
31
- const isShow = async () => {
32
- const dom = document.querySelector(`.content-label-${props.value} .bwa-advance-option__content-label`);
33
- if (dom) {
34
- const scrollWidth = document.querySelector(`.content-label-${props.value} .bwa-advance-option__content-label`).scrollWidth;
35
- const offsetWidth = document.querySelector(`.content-label-${props.value} .bwa-advance-option__content-label`).offsetWidth;
36
- if (scrollWidth > offsetWidth) {
37
- show.value = false;
38
- } else {
39
- show.value = true;
40
- }
41
- }
42
- };
43
- const listenerClickFunction = () => {
44
- setTimeout(() => {
45
- isShow();
46
- }, 100);
47
- };
48
- return {
49
- show,
50
- ns,
51
- currentLabel,
52
- itemSelected,
53
- showSelectIcon,
54
- filterOptionClick,
55
- handleOptionMouseEnter,
56
- source
57
- };
58
- }
59
- };
10
+ const _sfc_main = {
11
+ name: 'BwaAdvanceOption',
12
+ props: {
13
+ label: {
14
+ type: [String, Number, Boolean],
15
+ },
16
+ value: {
17
+ type: null,
18
+ },
19
+ },
20
+ expose: ['currentLabel'],
21
+ setup(props, { expose }) {
22
+ const instance = getCurrentInstance();
23
+
24
+ const ns = useNamespace('advance');
25
+
26
+ const { handleOptionMouseEnter } = useEvent(ns);
27
+
28
+ const { advanceSelect, currentLabel, itemSelected, showSelectIcon, source } =
29
+ useAdvanceOption(props);
30
+
31
+ const show = ref(true);
32
+ const clickFlag = ref(true);
33
+ const showUserName = ref(true);
34
+
35
+ const contentText = ref();
36
+
37
+ expose({ currentLabel });
38
+
39
+ const filterOptionClick = () => {
40
+ advanceSelect.handleOptionSelect(instance.proxy);
41
+ };
42
+
43
+ // 判断是否需要展示tooltip
44
+ const isShow = async () => {
45
+ const dom = document.querySelector(`.content-label-${props.value} .bwa-advance-option__content-label`);
46
+ if (dom) {
47
+ const scrollWidth = document.querySelector(`.content-label-${props.value} .bwa-advance-option__content-label`).scrollWidth;
48
+ const offsetWidth = document.querySelector(`.content-label-${props.value} .bwa-advance-option__content-label`).offsetWidth;
49
+ if (scrollWidth > offsetWidth) {
50
+ show.value = false;
51
+ } else {
52
+ show.value = true;
53
+ }
54
+ }
55
+ };
56
+ const COLOR_POOL = ['#2DC86D', '#19BBFF', '#FFA901'];
57
+ /**
58
+ * 接收完整label,提取姓名首字母(大写)并匹配颜色
59
+ * @param {string} label - 完整label(如:石玉涵(dw_shiyuhan))
60
+ * @returns {object} { firstLetter: 大写首字母, color: 圆点颜色, valid: 是否符合规则 }
61
+ */
62
+ function processLabel(label) {
63
+ // 1. 第一步:拆分label,提取姓名(核心修复点)
64
+ const labelMatch = label.match(/^(.*)\((.*)\)$/);
65
+ if (!labelMatch) {
66
+ return { valid: false, firstLetter: '#', color: COLOR_POOL[0] };
67
+ }
68
+ const [, name] = labelMatch; // 提取纯姓名:如"石玉涵"
69
+ const firstChar = name.charAt(0); // 取姓名第一个字
70
+
71
+ // 2. 第二步:获取首字母(强制大写,彻底解决小写问题)
72
+ let firstLetter = '#';
73
+ if (/^[\u4e00-\u9fa5]$/.test(firstChar)) {
74
+ // 拼音库取首字母 + 手动toUpperCase(无视库版本差异)
75
+ firstLetter = pinyin(firstChar, { pattern: 'first' }).toUpperCase();
76
+ } else if (/^[a-zA-Z]$/.test(firstChar)) {
77
+ firstLetter = firstChar.toUpperCase();
78
+ }
79
+
80
+ // 3. 第三步:计算颜色(按你指定的规则)
81
+ let color = COLOR_POOL[0];
82
+ if (/^[A-Z]$/.test(firstLetter)) {
83
+ const letterCode = firstLetter.charCodeAt(0) - 'A'.charCodeAt(0);
84
+ color = COLOR_POOL[letterCode % 3];
85
+ }
86
+
87
+ return {
88
+
89
+ firstLetter: firstLetter, // 确保是大写
90
+ color: color
91
+ };
92
+ }
93
+ const listenerClickFunction = () => {
94
+ setTimeout(() => {
95
+ isShow();
96
+ }, 100);
97
+ };
98
+ // onMounted(async () => {
99
+ // if (clickFlag) {
100
+ // document.querySelector('.bwa-advance-select button')?.addEventListener('click', listenerClickFunction)
101
+ // clickFlag.value = false
102
+ // }
103
+ // })
104
+
105
+ // onUnmounted(() => {
106
+ // document.querySelector('.bwa-advance-select button').removeEventListener('click', listenerClickFunction)
107
+ // })
108
+
109
+ return {
110
+ show,
111
+ ns,
112
+ currentLabel,
113
+ showUserName,
114
+ itemSelected,
115
+ showSelectIcon,
116
+ filterOptionClick,
117
+ handleOptionMouseEnter,
118
+ source,
119
+ processLabel
120
+ };
121
+ },
122
+ };
123
+
124
+ const _withScopeId = n => (pushScopeId("data-v-bc8f5626"),n=n(),popScopeId(),n);
125
+ const _hoisted_1 = { style: {"overflow":"hidden","text-overflow":"ellipsis","flex":"3"} };
126
+
60
127
  function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
61
- const _component_ElCheckbox = resolveComponent("ElCheckbox");
62
128
  const _component_ElTooltip = resolveComponent("ElTooltip");
63
129
  const _component_Select = resolveComponent("Select");
64
130
  const _component_ElIcon = resolveComponent("ElIcon");
65
- return openBlock(), createElementBlock("div", {
66
- class: normalizeClass($setup.ns.b("option")),
67
- onClick: _cache[1] || (_cache[1] = withModifiers((...args) => $setup.filterOptionClick && $setup.filterOptionClick(...args), ["stop"]))
131
+
132
+ return (openBlock(), createElementBlock("div", {
133
+ class: normalizeClass($setup.ns.b('option')),
134
+ onClick: _cache[0] || (_cache[0] = withModifiers((...args) => ($setup.filterOptionClick && $setup.filterOptionClick(...args)), ["stop"]))
68
135
  }, [
69
- createCommentVNode(' @mouseenter="handleOptionMouseEnter" '),
136
+ createCommentVNode(" @mouseenter=\"handleOptionMouseEnter\" "),
70
137
  createElementVNode("div", {
71
- class: normalizeClass(`${$setup.ns.be("option", "content")} content-label-${$props.value}`)
138
+ class: normalizeClass(`${$setup.ns.be('option', 'content')} content-label-${$props.value}`)
72
139
  }, [
73
140
  renderSlot(_ctx.$slots, "default", {}, () => [
74
141
  createVNode(_component_ElTooltip, {
@@ -77,49 +144,52 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
77
144
  disabled: $setup.currentLabel.length < 16
78
145
  }, {
79
146
  content: withCtx(() => [
80
- createTextVNode(toDisplayString($setup.currentLabel), 1)
147
+ createTextVNode(toDisplayString($setup.currentLabel), 1 /* TEXT */)
81
148
  ]),
82
149
  default: withCtx(() => [
83
150
  createElementVNode("div", {
84
- class: normalizeClass($setup.ns.be("option", "content-label")),
151
+ class: normalizeClass($setup.ns.be('option', 'content-label')),
85
152
  ref: "contentText"
86
153
  }, [
87
- $setup.source === "pct" && !$setup.showSelectIcon ? (openBlock(), createBlock(_component_ElCheckbox, {
88
- key: 0,
89
- onClick: _cache[0] || (_cache[0] = withModifiers(() => {
90
- }, ["prevent"])),
91
- class: normalizeClass($setup.ns.be("filter", "checkbox")),
92
- modelValue: $setup.itemSelected,
93
- style: { "height": "26px" }
94
- }, {
95
- default: withCtx(() => [
96
- createElementVNode("div", {
97
- class: normalizeClass($setup.ns.be("option", "content-label")),
98
- style: { "width": "178px" }
99
- }, toDisplayString($setup.currentLabel), 3)
100
- ]),
101
- _: 1
102
- }, 8, ["class", "modelValue"])) : (openBlock(), createElementBlock("div", {
103
- key: 1,
104
- class: normalizeClass([$setup.ns.be("option", "content-label"), $setup.ns.is("selected", $setup.source === "pct" && $setup.itemSelected && $setup.showSelectIcon)])
105
- }, toDisplayString($setup.currentLabel), 3))
106
- ], 2)
154
+ (!$setup.showUserName)
155
+ ? (openBlock(), createElementBlock("div", {
156
+ key: 0,
157
+ class: normalizeClass($setup.ns.be('option', 'content-label')),
158
+ style: {"width":"178px"}
159
+ }, toDisplayString($setup.currentLabel), 3 /* TEXT, CLASS */))
160
+ : createCommentVNode("v-if", true),
161
+ ($setup.showUserName)
162
+ ? (openBlock(), createElementBlock("div", {
163
+ key: 1,
164
+ class: normalizeClass($setup.ns.be('option', 'content-label')),
165
+ style: {"width":"178px","display":"flex","align-items":"center"}
166
+ }, [
167
+ createElementVNode("div", {
168
+ class: "letter-circle",
169
+ style: normalizeStyle({ backgroundColor: ($setup.processLabel($setup.currentLabel).color) })
170
+ }, toDisplayString($setup.processLabel($setup.currentLabel).firstLetter), 5 /* TEXT, STYLE */),
171
+ createElementVNode("div", _hoisted_1, toDisplayString($setup.currentLabel), 1 /* TEXT */)
172
+ ], 2 /* CLASS */))
173
+ : createCommentVNode("v-if", true)
174
+ ], 2 /* CLASS */)
175
+ ]),
176
+ _: 1 /* STABLE */
177
+ }, 8 /* PROPS */, ["disabled"])
178
+ ], true)
179
+ ], 2 /* CLASS */),
180
+ ($setup.itemSelected )
181
+ ? (openBlock(), createBlock(_component_ElIcon, {
182
+ key: 0,
183
+ class: normalizeClass($setup.ns.be('option', 'selected'))
184
+ }, {
185
+ default: withCtx(() => [
186
+ createVNode(_component_Select)
107
187
  ]),
108
- _: 1
109
- }, 8, ["disabled"])
110
- ])
111
- ], 2),
112
- $setup.itemSelected && $setup.showSelectIcon ? (openBlock(), createBlock(_component_ElIcon, {
113
- key: 0,
114
- class: normalizeClass($setup.ns.be("option", "selected"))
115
- }, {
116
- default: withCtx(() => [
117
- createVNode(_component_Select)
118
- ]),
119
- _: 1
120
- }, 8, ["class"])) : createCommentVNode("v-if", true)
121
- ], 2);
188
+ _: 1 /* STABLE */
189
+ }, 8 /* PROPS */, ["class"]))
190
+ : createCommentVNode("v-if", true)
191
+ ], 2 /* CLASS */))
122
192
  }
123
- var AdvanceOption = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "advance-option.vue"]]);
193
+ var BwaAdvanceOption = /*#__PURE__*/_export_sfc(_sfc_main, [['render',_sfc_render],['__scopeId',"data-v-bc8f5626"],['__file',"advance-option.vue"]]);
124
194
 
125
- export { AdvanceOption as default };
195
+ export { BwaAdvanceOption as default };
@@ -0,0 +1,7 @@
1
+ import styleInject from '../node_modules/.pnpm/style-inject@0.3.0/node_modules/style-inject/dist/style-inject.es.mjs';
2
+
3
+ var css_248z = "\n.letter-circle[data-v-bc8f5626] {\r\n\r\n width: 24px;\r\n height: 24px;\r\n border-radius: 50%;\r\n color: #fff;\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n font-size: 14px;\r\n margin-right: 8px;\n}\r\n";
4
+ var stylesheet="\n.letter-circle[data-v-bc8f5626] {\r\n\r\n width: 24px;\r\n height: 24px;\r\n border-radius: 50%;\r\n color: #fff;\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n font-size: 14px;\r\n margin-right: 8px;\n}\r\n";
5
+ styleInject(css_248z);
6
+
7
+ export { css_248z as default, stylesheet };