@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.
- package/es/advance-select/advance-operation.mjs +51 -37
- package/es/advance-select/advance-option.mjs +167 -97
- package/es/advance-select/advance-option.vue_vue_type_style_index_0_scoped_bc8f5626_lang.mjs +7 -0
- package/es/advance-select/advance-select.mjs +368 -310
- package/es/advance-select/index.mjs +5 -5
- package/es/application-slot/breadcrumb-item.mjs +20 -17
- package/es/application-slot/header-tools-item.mjs +20 -17
- package/es/breadcrumb-select/breadcrumb-select.mjs +134 -112
- package/es/contextmenu/contextmenu-item.mjs +19 -15
- package/es/contextmenu/contextmenu.mjs +72 -56
- package/es/data-form/data-form-item.mjs +48 -30
- package/es/data-form/data-form.mjs +213 -166
- package/es/data-form/form-components/bwa-date-picker.mjs +51 -39
- package/es/data-form/form-components/bwa-date-time-picker.mjs +56 -44
- package/es/data-form/form-components/bwa-input-float.mjs +48 -37
- package/es/data-form/form-components/bwa-input-integer.mjs +68 -50
- package/es/data-form/form-components/bwa-input.mjs +43 -32
- package/es/data-form/form-components/bwa-multi-select.mjs +40 -29
- package/es/data-form/form-components/bwa-rich-text-tinymce.mjs +554 -218
- package/es/data-form/form-components/bwa-rich-text.mjs +404 -316
- package/es/data-form/form-components/bwa-select.mjs +84 -70
- package/es/data-form/form-components/bwa-textarea.mjs +38 -27
- package/es/data-form/form-components/bwa-upload.mjs +172 -148
- package/es/data-form/form-components/bwa-user-multi-select.mjs +35 -24
- package/es/data-form/form-components/bwa-user-select.mjs +86 -61
- package/es/data-table/data-column-view.mjs +146 -115
- package/es/data-table/data-table-card.mjs +48 -40
- package/es/data-table/data-table-column.mjs +58 -45
- package/es/data-table/data-table.mjs +402 -316
- package/es/datatable-settings/datatable-settings.mjs +329 -254
- package/es/date-range/date-picker.mjs +130 -116
- package/es/date-range/date-range.mjs +215 -161
- package/es/drag-list/drag-item.mjs +56 -42
- package/es/drag-list/drag-list.mjs +60 -47
- package/es/dragable/dragable-item.mjs +23 -18
- package/es/dragable/dragable-operation.mjs +32 -24
- package/es/dragable/dragable.mjs +32 -23
- package/es/filter-panel/conditions/date-range-condition.mjs +50 -40
- package/es/filter-panel/conditions/department-condition/department-condition.mjs +99 -72
- package/es/filter-panel/conditions/department-condition/department-node.mjs +73 -59
- package/es/filter-panel/conditions/input-condition.mjs +90 -76
- package/es/filter-panel/conditions/multi-user-condition.mjs +67 -57
- package/es/filter-panel/conditions/multiple-menu-condition.mjs +54 -35
- package/es/filter-panel/conditions/single-menu-condition.mjs +65 -60
- package/es/filter-panel/conditions/single-user-condition.mjs +67 -57
- package/es/filter-panel/filter-panel-item.mjs +54 -39
- package/es/filter-panel/filter-panel.mjs +153 -135
- package/es/layout/layout.mjs +85 -78
- package/es/menu/menu-item.mjs +67 -52
- package/es/menu/menu.mjs +70 -53
- package/es/node_modules/.pnpm/style-inject@0.3.0/node_modules/style-inject/dist/style-inject.es.mjs +28 -0
- package/es/panel/panel.mjs +53 -40
- package/es/pct-filter-panel/pct-compents/pct-Input-condition.mjs +74 -63
- package/es/pct-filter-panel/pct-compents/pct-date-range-condition.mjs +76 -67
- package/es/pct-filter-panel/pct-compents/pct-multiple-menu-condition.mjs +406 -178
- package/es/pct-filter-panel/pct-compents/pct-multiple-menu-condition2.mjs +153 -138
- package/es/pct-filter-panel/pct-filter-panel-item.mjs +55 -40
- package/es/pct-filter-panel/pct-filter-panel.mjs +247 -227
- package/es/progress/progress-item.mjs +81 -61
- package/es/progress/progress.mjs +78 -64
- package/es/where-filter-panel/where-filter-panel.mjs +15 -12
- package/lib/advance-select/advance-operation.js +50 -36
- package/lib/advance-select/advance-option.js +166 -96
- package/lib/advance-select/advance-option.vue_vue_type_style_index_0_scoped_bc8f5626_lang.js +12 -0
- package/lib/advance-select/advance-select.js +366 -308
- package/lib/application-slot/breadcrumb-item.js +19 -16
- package/lib/application-slot/header-tools-item.js +19 -16
- package/lib/breadcrumb-select/breadcrumb-select.js +133 -111
- package/lib/contextmenu/contextmenu-item.js +18 -14
- package/lib/contextmenu/contextmenu.js +71 -55
- package/lib/data-form/data-form-item.js +47 -29
- package/lib/data-form/data-form.js +212 -165
- package/lib/data-form/form-components/bwa-date-picker.js +50 -38
- package/lib/data-form/form-components/bwa-date-time-picker.js +55 -43
- package/lib/data-form/form-components/bwa-input-float.js +47 -36
- package/lib/data-form/form-components/bwa-input-integer.js +67 -49
- package/lib/data-form/form-components/bwa-input.js +42 -31
- package/lib/data-form/form-components/bwa-multi-select.js +39 -28
- package/lib/data-form/form-components/bwa-rich-text-tinymce.js +553 -217
- package/lib/data-form/form-components/bwa-rich-text.js +403 -315
- package/lib/data-form/form-components/bwa-select.js +83 -69
- package/lib/data-form/form-components/bwa-textarea.js +37 -26
- package/lib/data-form/form-components/bwa-upload.js +171 -147
- package/lib/data-form/form-components/bwa-user-multi-select.js +34 -23
- package/lib/data-form/form-components/bwa-user-select.js +85 -60
- package/lib/data-table/data-column-view.js +146 -115
- package/lib/data-table/data-table-card.js +48 -40
- package/lib/data-table/data-table-column.js +57 -44
- package/lib/data-table/data-table.js +401 -315
- package/lib/datatable-settings/datatable-settings.js +328 -253
- package/lib/date-range/date-picker.js +129 -115
- package/lib/date-range/date-range.js +214 -160
- package/lib/drag-list/drag-item.js +55 -41
- package/lib/drag-list/drag-list.js +59 -46
- package/lib/dragable/dragable-item.js +22 -17
- package/lib/dragable/dragable-operation.js +31 -23
- package/lib/dragable/dragable.js +31 -22
- package/lib/filter-panel/conditions/date-range-condition.js +49 -39
- package/lib/filter-panel/conditions/department-condition/department-condition.js +98 -71
- package/lib/filter-panel/conditions/department-condition/department-node.js +72 -58
- package/lib/filter-panel/conditions/input-condition.js +89 -75
- package/lib/filter-panel/conditions/multi-user-condition.js +66 -56
- package/lib/filter-panel/conditions/multiple-menu-condition.js +53 -34
- package/lib/filter-panel/conditions/single-menu-condition.js +64 -59
- package/lib/filter-panel/conditions/single-user-condition.js +66 -56
- package/lib/filter-panel/filter-panel-item.js +53 -38
- package/lib/filter-panel/filter-panel.js +152 -134
- package/lib/layout/layout.js +84 -77
- package/lib/menu/menu-item.js +66 -51
- package/lib/menu/menu.js +69 -52
- package/lib/node_modules/.pnpm/style-inject@0.3.0/node_modules/style-inject/dist/style-inject.es.js +32 -0
- package/lib/panel/panel.js +52 -39
- package/lib/pct-filter-panel/pct-compents/pct-Input-condition.js +73 -62
- package/lib/pct-filter-panel/pct-compents/pct-date-range-condition.js +75 -66
- package/lib/pct-filter-panel/pct-compents/pct-multiple-menu-condition.js +405 -177
- package/lib/pct-filter-panel/pct-compents/pct-multiple-menu-condition2.js +152 -137
- package/lib/pct-filter-panel/pct-filter-panel-item.js +54 -39
- package/lib/pct-filter-panel/pct-filter-panel.js +246 -226
- package/lib/progress/progress-item.js +80 -60
- package/lib/progress/progress.js +77 -63
- package/lib/where-filter-panel/where-filter-panel.js +14 -11
- package/package.json +2 -1
- package/src/advance-select/advance-option.vue +64 -13
- package/src/data-form/form-components/bwa-rich-text-tinymce.vue +1 -1
- package/src/datatable-settings/datatable-settings.vue +33 -3
- package/src/date-range/date-picker.vue +1 -1
- package/src/filter-panel/filter-panel.vue +2 -2
- package/src/pct-filter-panel/pct-compents/pct-Input-condition.vue +64 -64
- package/src/pct-filter-panel/pct-compents/pct-date-range-condition.vue +61 -61
- package/src/pct-filter-panel/pct-compents/pct-multiple-menu-condition.vue +302 -178
- package/src/pct-filter-panel/pct-filter-panel.vue +4 -4
|
@@ -1,147 +1,162 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { useAttrs, computed, ref, inject, unref, openBlock, createElementBlock, Fragment, normalizeClass, toDisplayString, createCommentVNode, createVNode, isRef, withCtx, renderList, createBlock } from 'vue';
|
|
2
2
|
import { ElSelect, ElOption } from 'element-plus';
|
|
3
3
|
import { useService, HttpRequest, useNamespace, filterPanelItemKey } from '@ctzy-web-client/web-base-client-vue';
|
|
4
4
|
import { dataProps } from '../../hooks/use-data/index.mjs';
|
|
5
5
|
import _export_sfc from '../../_virtual/_plugin-vue_export-helper.mjs';
|
|
6
6
|
|
|
7
|
-
const
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
},
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
},
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
},
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
},
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
},
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
},
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
},
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
default: "small"
|
|
49
|
-
}
|
|
50
|
-
},
|
|
51
|
-
emits: ["update:modelValue", "search", "visible-change"],
|
|
7
|
+
const _sfc_main = {
|
|
8
|
+
__name: 'pct-multiple-menu-condition2',
|
|
9
|
+
props: {
|
|
10
|
+
...dataProps,
|
|
11
|
+
modelValue: {
|
|
12
|
+
type: null,
|
|
13
|
+
},
|
|
14
|
+
options: {
|
|
15
|
+
type: Array,
|
|
16
|
+
default: () => [],
|
|
17
|
+
},
|
|
18
|
+
labelProp: {
|
|
19
|
+
type: String,
|
|
20
|
+
default: 'label',
|
|
21
|
+
},
|
|
22
|
+
valueProp: {
|
|
23
|
+
type: String,
|
|
24
|
+
default: 'value',
|
|
25
|
+
},
|
|
26
|
+
multiple: {
|
|
27
|
+
type: Boolean,
|
|
28
|
+
default: false,
|
|
29
|
+
},
|
|
30
|
+
filterable: {
|
|
31
|
+
type: Boolean,
|
|
32
|
+
default: true,
|
|
33
|
+
},
|
|
34
|
+
placeholder: {
|
|
35
|
+
type: String,
|
|
36
|
+
default: '请选择',
|
|
37
|
+
},
|
|
38
|
+
remote: {
|
|
39
|
+
type: Boolean,
|
|
40
|
+
default: true,
|
|
41
|
+
},
|
|
42
|
+
size: {
|
|
43
|
+
type: String,
|
|
44
|
+
default: 'small',
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
emits: ['update:modelValue', 'search', 'visible-change'],
|
|
52
48
|
setup(__props, { emit }) {
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
49
|
+
|
|
50
|
+
const props = __props;
|
|
51
|
+
|
|
52
|
+
const httpRequest = useService(HttpRequest);
|
|
53
|
+
defineOptions({
|
|
54
|
+
name: 'BwaPctMultipleMenuCondition',
|
|
55
|
+
__conditionTitle__: '多选菜单-PZ',
|
|
56
|
+
__conditionDefault__: () => [],
|
|
57
|
+
});
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
const ns = useNamespace('pctfilterpanel-item');
|
|
62
|
+
|
|
63
|
+
const attrs = useAttrs();
|
|
64
|
+
const showTitle = computed(() => attrs.showTitle);
|
|
65
|
+
|
|
66
|
+
const data = ref([]);
|
|
67
|
+
const loading = ref(false);
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
const filterPanelItem = inject(filterPanelItemKey, null);
|
|
71
|
+
const column = computed(() => filterPanelItem?.column ?? null);
|
|
72
|
+
|
|
73
|
+
const placeholderStr = computed(() => showTitle.value ? props.placeholder : column.value.title);
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
const getData = async (query) => {
|
|
77
|
+
loading.value = true;
|
|
78
|
+
const { itfInfo, searchAttr } = column.value.componentProps;
|
|
79
|
+
const {url, method, options, params } = {
|
|
80
|
+
url: unref(itfInfo).url,
|
|
81
|
+
method: unref(itfInfo).method || 'POST',
|
|
82
|
+
options: unref(itfInfo).options || {},
|
|
83
|
+
params: { ...unref(itfInfo).params, [searchAttr]: query || ''} || {},
|
|
84
|
+
};
|
|
85
|
+
data.value = (await unref(httpRequest)[method.toLowerCase()](url, params, options))?.data;
|
|
86
|
+
loading.value = false;
|
|
87
|
+
};
|
|
88
|
+
if (column.value?.componentProps) {
|
|
89
|
+
|
|
90
|
+
} else {
|
|
91
|
+
data.value = props.options ?? [];
|
|
92
|
+
}
|
|
93
|
+
const visibleChange = (val) => {
|
|
94
|
+
if (!val || !column.value.componentProps) return
|
|
95
|
+
getData();
|
|
96
|
+
};
|
|
97
|
+
|
|
98
|
+
const remoteMethod = (query) => {
|
|
99
|
+
if (column.value.componentProps) {
|
|
100
|
+
getData(query);
|
|
101
|
+
} else {
|
|
102
|
+
emit('search', query);
|
|
103
|
+
}
|
|
104
|
+
};
|
|
105
|
+
|
|
106
|
+
const modelValue = computed({
|
|
107
|
+
get: () => {
|
|
108
|
+
if (props.multiple) {
|
|
109
|
+
return Array.isArray(props.modelValue)
|
|
110
|
+
? props.modelValue.map((item) => item + '')
|
|
111
|
+
: [];
|
|
112
|
+
} else {
|
|
113
|
+
return props.modelValue == null ? '' : props.modelValue + '';
|
|
114
|
+
}
|
|
115
|
+
},
|
|
116
|
+
set: (v) => emit('update:modelValue', v),
|
|
117
|
+
});
|
|
118
|
+
|
|
119
|
+
return (_ctx, _cache) => {
|
|
120
|
+
return (openBlock(), createElementBlock(Fragment, null, [
|
|
121
|
+
(unref(showTitle))
|
|
122
|
+
? (openBlock(), createElementBlock("span", {
|
|
110
123
|
key: 0,
|
|
111
|
-
class: normalizeClass(unref(ns).e(
|
|
112
|
-
}, toDisplayString(unref(column).title), 3
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
}
|
|
145
|
-
|
|
124
|
+
class: normalizeClass(unref(ns).e('title'))
|
|
125
|
+
}, toDisplayString(unref(column).title), 3 /* TEXT, CLASS */))
|
|
126
|
+
: createCommentVNode("v-if", true),
|
|
127
|
+
createVNode(unref(ElSelect), {
|
|
128
|
+
modelValue: unref(modelValue),
|
|
129
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => (isRef(modelValue) ? (modelValue).value = $event : null)),
|
|
130
|
+
clearable: "",
|
|
131
|
+
multiple: __props.multiple,
|
|
132
|
+
filterable: __props.filterable,
|
|
133
|
+
placeholder: unref(placeholderStr),
|
|
134
|
+
loading: loading.value,
|
|
135
|
+
onVisibleChange: visibleChange,
|
|
136
|
+
remote: __props.remote,
|
|
137
|
+
"remote-method": remoteMethod,
|
|
138
|
+
size: __props.size,
|
|
139
|
+
class: normalizeClass(unref(ns).e('multiple')),
|
|
140
|
+
"collapse-tags": "",
|
|
141
|
+
"collapse-tags-tooltip": "",
|
|
142
|
+
"no-data-text": "暂无数据"
|
|
143
|
+
}, {
|
|
144
|
+
default: withCtx(() => [
|
|
145
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(data.value, (item, index) => {
|
|
146
|
+
return (openBlock(), createBlock(unref(ElOption), {
|
|
147
|
+
key: item[__props.valueProp] + index,
|
|
148
|
+
value: item[__props.valueProp] + '',
|
|
149
|
+
label: item[__props.labelProp]
|
|
150
|
+
}, null, 8 /* PROPS */, ["value", "label"]))
|
|
151
|
+
}), 128 /* KEYED_FRAGMENT */))
|
|
152
|
+
]),
|
|
153
|
+
_: 1 /* STABLE */
|
|
154
|
+
}, 8 /* PROPS */, ["modelValue", "multiple", "filterable", "placeholder", "loading", "remote", "size", "class"])
|
|
155
|
+
], 64 /* STABLE_FRAGMENT */))
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
};
|
|
160
|
+
var pctMultipleMenuCondition2 = /*#__PURE__*/_export_sfc(_sfc_main, [['__file',"pct-multiple-menu-condition2.vue"]]);
|
|
146
161
|
|
|
147
162
|
export { pctMultipleMenuCondition2 as default };
|
|
@@ -1,48 +1,63 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { reactive, provide, openBlock, createElementBlock, normalizeClass, unref, normalizeStyle, renderSlot, createCommentVNode } from 'vue';
|
|
2
2
|
import { useNamespace, filterPanelItemKey } from '@ctzy-web-client/web-base-client-vue';
|
|
3
3
|
import { useFilterPanelItem } from './use-filter-panel-item.mjs';
|
|
4
4
|
import _export_sfc from '../_virtual/_plugin-vue_export-helper.mjs';
|
|
5
5
|
|
|
6
|
-
const
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
},
|
|
19
|
-
emits: ["close"],
|
|
6
|
+
const _sfc_main = {
|
|
7
|
+
__name: 'pct-filter-panel-item',
|
|
8
|
+
props: {
|
|
9
|
+
prop: {
|
|
10
|
+
type: String,
|
|
11
|
+
},
|
|
12
|
+
close: {
|
|
13
|
+
type: Boolean,
|
|
14
|
+
default: false,
|
|
15
|
+
},
|
|
16
|
+
},
|
|
17
|
+
emits: ['close'],
|
|
20
18
|
setup(__props, { emit }) {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
19
|
+
|
|
20
|
+
const props = __props;
|
|
21
|
+
|
|
22
|
+
defineOptions({
|
|
23
|
+
name: 'BwaPctFilterPanelItem',
|
|
24
|
+
});
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
const ns = useNamespace('pctfilterpanel');
|
|
31
|
+
|
|
32
|
+
const { value, column, allowClose, closeHandle, showTitle, filterPanelLineNum } = useFilterPanelItem(props);
|
|
33
|
+
|
|
34
|
+
const data = reactive({ value });
|
|
35
|
+
|
|
36
|
+
provide(
|
|
37
|
+
filterPanelItemKey,
|
|
38
|
+
reactive({
|
|
39
|
+
column,
|
|
40
|
+
})
|
|
41
|
+
);
|
|
42
|
+
|
|
43
|
+
return (_ctx, _cache) => {
|
|
44
|
+
return (openBlock(), createElementBlock("div", {
|
|
45
|
+
class: normalizeClass(unref(ns).b('item')),
|
|
46
|
+
style: normalizeStyle({ 'width': unref(filterPanelLineNum) ? (100 / unref(filterPanelLineNum)).toFixed(2) + '%' : unref(showTitle) ? '25%' : '20%', })
|
|
47
|
+
}, [
|
|
48
|
+
renderSlot(_ctx.$slots, "default", { data: data }),
|
|
49
|
+
(unref(allowClose))
|
|
50
|
+
? (openBlock(), createElementBlock("i", {
|
|
38
51
|
key: 0,
|
|
39
|
-
class: normalizeClass([
|
|
40
|
-
onClick: _cache[0] || (_cache[0] = (...args) => unref(closeHandle) && unref(closeHandle)(...args))
|
|
41
|
-
}, null, 2
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
}
|
|
46
|
-
|
|
52
|
+
class: normalizeClass(['ptp-icon', 'ptp-close', unref(ns).be('item', 'close')]),
|
|
53
|
+
onClick: _cache[0] || (_cache[0] = (...args) => (unref(closeHandle) && unref(closeHandle)(...args)))
|
|
54
|
+
}, null, 2 /* CLASS */))
|
|
55
|
+
: createCommentVNode("v-if", true)
|
|
56
|
+
], 6 /* CLASS, STYLE */))
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
};
|
|
61
|
+
var PctFilterPanelItem = /*#__PURE__*/_export_sfc(_sfc_main, [['__file',"pct-filter-panel-item.vue"]]);
|
|
47
62
|
|
|
48
63
|
export { PctFilterPanelItem as default };
|