bm-admin-ui 1.0.13-alpha → 1.0.14-alpha
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/components/input-tags-display/index.d.ts +0 -9
- package/es/components/input-tags-display/index.js +29 -35
- package/es/components/input-tags-display/src/input-tags-display.vue.d.ts +0 -9
- package/index.esm.js +38 -44
- package/index.js +38 -44
- package/lib/components/input-tags-display/index.d.ts +0 -9
- package/lib/components/input-tags-display/index.js +28 -34
- package/lib/components/input-tags-display/src/input-tags-display.vue.d.ts +0 -9
- package/package.json +1 -1
- package/theme-chalk/index.css +1 -1
- package/theme-chalk/input-tags-display.css +1 -1
- package/types/components/input-tags-display/index.d.ts +0 -9
- package/types/components/input-tags-display/src/input-tags-display.vue.d.ts +0 -9
|
@@ -22,10 +22,6 @@ declare const BmTagsDisplay: import("bm-admin-ui/es/utils/with-install").SFCWith
|
|
|
22
22
|
type: StringConstructor;
|
|
23
23
|
default: string;
|
|
24
24
|
};
|
|
25
|
-
width: {
|
|
26
|
-
type: StringConstructor;
|
|
27
|
-
default: string;
|
|
28
|
-
};
|
|
29
25
|
}, {
|
|
30
26
|
containId: string;
|
|
31
27
|
clear: () => void;
|
|
@@ -55,16 +51,11 @@ declare const BmTagsDisplay: import("bm-admin-ui/es/utils/with-install").SFCWith
|
|
|
55
51
|
type: StringConstructor;
|
|
56
52
|
default: string;
|
|
57
53
|
};
|
|
58
|
-
width: {
|
|
59
|
-
type: StringConstructor;
|
|
60
|
-
default: string;
|
|
61
|
-
};
|
|
62
54
|
}>> & {
|
|
63
55
|
onClear?: ((...args: any[]) => any) | undefined;
|
|
64
56
|
"onUpdate:list"?: ((...args: any[]) => any) | undefined;
|
|
65
57
|
onAddClick?: ((...args: any[]) => any) | undefined;
|
|
66
58
|
}, {
|
|
67
|
-
width: string;
|
|
68
59
|
placement: string;
|
|
69
60
|
list: unknown[];
|
|
70
61
|
showEmpty: boolean;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { withInstall } from 'bm-admin-ui/es/utils/with-install';
|
|
2
2
|
import Popover from 'ant-design-vue/lib/popover';
|
|
3
3
|
import Button from 'ant-design-vue/lib/button';
|
|
4
|
-
import { h, nextTick, createVNode, defineComponent, resolveComponent, openBlock, createElementBlock,
|
|
4
|
+
import { h, nextTick, createVNode, defineComponent, resolveComponent, openBlock, createElementBlock, withCtx, createElementVNode, toDisplayString, withModifiers, Fragment, renderList, createBlock, createTextVNode, createCommentVNode } from 'vue';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Take input from [0, n] and return it as [0, 1]
|
|
@@ -1145,10 +1145,6 @@ const _sfc_main = defineComponent({
|
|
|
1145
1145
|
placement: {
|
|
1146
1146
|
type: String,
|
|
1147
1147
|
default: "bottom"
|
|
1148
|
-
},
|
|
1149
|
-
width: {
|
|
1150
|
-
type: String,
|
|
1151
|
-
default: "395px"
|
|
1152
1148
|
}
|
|
1153
1149
|
},
|
|
1154
1150
|
emits: ["clear", "update:list", "addClick"],
|
|
@@ -1177,7 +1173,7 @@ const _sfc_main = defineComponent({
|
|
|
1177
1173
|
};
|
|
1178
1174
|
}
|
|
1179
1175
|
});
|
|
1180
|
-
const _hoisted_1 = { class: "
|
|
1176
|
+
const _hoisted_1 = { class: "bm-tags-display" };
|
|
1181
1177
|
const _hoisted_2 = ["id"];
|
|
1182
1178
|
const _hoisted_3 = { class: "pop-seleted" };
|
|
1183
1179
|
const _hoisted_4 = { class: "pop-seleted-title" };
|
|
@@ -1185,7 +1181,8 @@ const _hoisted_5 = /* @__PURE__ */ createTextVNode(" \u5DF2\u9009\u62E9");
|
|
|
1185
1181
|
const _hoisted_6 = /* @__PURE__ */ createTextVNode("\u9879 ");
|
|
1186
1182
|
const _hoisted_7 = { class: "select-input-wrapper" };
|
|
1187
1183
|
const _hoisted_8 = { key: 1 };
|
|
1188
|
-
const _hoisted_9 =
|
|
1184
|
+
const _hoisted_9 = { key: 2 };
|
|
1185
|
+
const _hoisted_10 = /* @__PURE__ */ createElementVNode("div", null, null, -1);
|
|
1189
1186
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1190
1187
|
const _component_a_tag = resolveComponent("a-tag");
|
|
1191
1188
|
const _component_CloseCircleFilled = resolveComponent("CloseCircleFilled");
|
|
@@ -1195,11 +1192,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1195
1192
|
_ctx.list && _ctx.list.length ? (openBlock(), createElementBlock("div", {
|
|
1196
1193
|
key: 0,
|
|
1197
1194
|
id: _ctx.containId,
|
|
1198
|
-
class: "
|
|
1199
|
-
style: normalizeStyle({ width: _ctx.width })
|
|
1195
|
+
class: "bm-tags-display-wrapper"
|
|
1200
1196
|
}, [
|
|
1201
1197
|
createVNode(_component_Popover, {
|
|
1202
|
-
color: "#fff",
|
|
1203
1198
|
"get-popup-container": _ctx.getPopupContainer,
|
|
1204
1199
|
placement: _ctx.placement,
|
|
1205
1200
|
"overlay-class-name": "__list-filter-popover"
|
|
@@ -1210,26 +1205,28 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1210
1205
|
_hoisted_5,
|
|
1211
1206
|
createElementVNode("span", null, toDisplayString(_ctx.list.length), 1),
|
|
1212
1207
|
_hoisted_6
|
|
1213
|
-
])
|
|
1214
|
-
createElementVNode("div", {
|
|
1215
|
-
class: "pop-seleted-list",
|
|
1216
|
-
onWheel: _cache[0] || (_cache[0] = withModifiers(() => {
|
|
1217
|
-
}, ["stop"]))
|
|
1218
|
-
}, [
|
|
1219
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.list, (item) => {
|
|
1220
|
-
return openBlock(), createBlock(_component_a_tag, {
|
|
1221
|
-
key: item.key,
|
|
1222
|
-
class: "pop-seleted-item"
|
|
1223
|
-
}, {
|
|
1224
|
-
default: withCtx(() => [
|
|
1225
|
-
createTextVNode(toDisplayString(item.title), 1)
|
|
1226
|
-
]),
|
|
1227
|
-
_: 2
|
|
1228
|
-
}, 1024);
|
|
1229
|
-
}), 128))
|
|
1230
|
-
], 32)
|
|
1208
|
+
])
|
|
1231
1209
|
])
|
|
1232
1210
|
]),
|
|
1211
|
+
content: withCtx(() => [
|
|
1212
|
+
createElementVNode("div", {
|
|
1213
|
+
class: "pop-seleted-list",
|
|
1214
|
+
onWheel: _cache[0] || (_cache[0] = withModifiers(() => {
|
|
1215
|
+
}, ["stop"]))
|
|
1216
|
+
}, [
|
|
1217
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.list, (item) => {
|
|
1218
|
+
return openBlock(), createBlock(_component_a_tag, {
|
|
1219
|
+
key: item.key,
|
|
1220
|
+
class: "pop-seleted-item"
|
|
1221
|
+
}, {
|
|
1222
|
+
default: withCtx(() => [
|
|
1223
|
+
createTextVNode(toDisplayString(item.title), 1)
|
|
1224
|
+
]),
|
|
1225
|
+
_: 2
|
|
1226
|
+
}, 1024);
|
|
1227
|
+
}), 128))
|
|
1228
|
+
], 32)
|
|
1229
|
+
]),
|
|
1233
1230
|
default: withCtx(() => [
|
|
1234
1231
|
createElementVNode("div", _hoisted_7, [
|
|
1235
1232
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.list, (item) => {
|
|
@@ -1256,7 +1253,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1256
1253
|
]),
|
|
1257
1254
|
_: 1
|
|
1258
1255
|
}, 8, ["get-popup-container", "placement"])
|
|
1259
|
-
],
|
|
1256
|
+
], 8, _hoisted_2)) : createCommentVNode("v-if", true),
|
|
1260
1257
|
_ctx.showEmptyBtn && !_ctx.list.length ? (openBlock(), createElementBlock("div", _hoisted_8, [
|
|
1261
1258
|
createVNode(_component_Button, {
|
|
1262
1259
|
onClick: withModifiers(_ctx.toAddTags, ["stop"])
|
|
@@ -1267,16 +1264,13 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1267
1264
|
_: 1
|
|
1268
1265
|
}, 8, ["onClick"])
|
|
1269
1266
|
])) : createCommentVNode("v-if", true),
|
|
1270
|
-
_ctx.showEmpty && !_ctx.list.length ? (openBlock(), createElementBlock("div",
|
|
1271
|
-
key: 2,
|
|
1272
|
-
style: normalizeStyle({ width: _ctx.width })
|
|
1273
|
-
}, [
|
|
1267
|
+
_ctx.showEmpty && !_ctx.list.length ? (openBlock(), createElementBlock("div", _hoisted_9, [
|
|
1274
1268
|
createElementVNode("div", {
|
|
1275
1269
|
class: "selector-empty-input",
|
|
1276
1270
|
onClick: _cache[4] || (_cache[4] = withModifiers((...args) => _ctx.toAddTags && _ctx.toAddTags(...args), ["stop"]))
|
|
1277
1271
|
}, "\xA0")
|
|
1278
|
-
]
|
|
1279
|
-
|
|
1272
|
+
])) : createCommentVNode("v-if", true),
|
|
1273
|
+
_hoisted_10
|
|
1280
1274
|
]);
|
|
1281
1275
|
}
|
|
1282
1276
|
var InputTagsDisplay = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "input-tags-display.vue"]]);
|
|
@@ -23,10 +23,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
23
23
|
type: StringConstructor;
|
|
24
24
|
default: string;
|
|
25
25
|
};
|
|
26
|
-
width: {
|
|
27
|
-
type: StringConstructor;
|
|
28
|
-
default: string;
|
|
29
|
-
};
|
|
30
26
|
}, {
|
|
31
27
|
containId: string;
|
|
32
28
|
clear: () => void;
|
|
@@ -53,16 +49,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
53
49
|
type: StringConstructor;
|
|
54
50
|
default: string;
|
|
55
51
|
};
|
|
56
|
-
width: {
|
|
57
|
-
type: StringConstructor;
|
|
58
|
-
default: string;
|
|
59
|
-
};
|
|
60
52
|
}>> & {
|
|
61
53
|
onClear?: ((...args: any[]) => any) | undefined;
|
|
62
54
|
"onUpdate:list"?: ((...args: any[]) => any) | undefined;
|
|
63
55
|
onAddClick?: ((...args: any[]) => any) | undefined;
|
|
64
56
|
}, {
|
|
65
|
-
width: string;
|
|
66
57
|
placement: string;
|
|
67
58
|
list: unknown[];
|
|
68
59
|
showEmpty: boolean;
|
package/index.esm.js
CHANGED
|
@@ -63806,7 +63806,7 @@ const _hoisted_9$5 = {
|
|
|
63806
63806
|
key: 1,
|
|
63807
63807
|
class: "bm-multi-cascader-placeholder"
|
|
63808
63808
|
};
|
|
63809
|
-
const _hoisted_10$
|
|
63809
|
+
const _hoisted_10$5 = { class: "bm-multi-cascader-action" };
|
|
63810
63810
|
const _hoisted_11$4 = {
|
|
63811
63811
|
key: 0,
|
|
63812
63812
|
class: "bm-multi-cascader-popover"
|
|
@@ -64255,7 +64255,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
64255
64255
|
])) : createCommentVNode("v-if", true)
|
|
64256
64256
|
])) : (openBlock(), createElementBlock("div", _hoisted_9$5, toDisplayString(props.placeholder), 1))
|
|
64257
64257
|
]),
|
|
64258
|
-
createElementVNode("div", _hoisted_10$
|
|
64258
|
+
createElementVNode("div", _hoisted_10$5, [
|
|
64259
64259
|
props.allowClear && props.modelValue.length > 0 ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
64260
64260
|
createVNode(unref(DownOutlined$1), { class: "bm-multi-cascader-icon bm-multi-cascader-caret" }),
|
|
64261
64261
|
createVNode(unref(CloseCircleFilled$1), {
|
|
@@ -73193,7 +73193,7 @@ const _hoisted_7$4 = {
|
|
|
73193
73193
|
};
|
|
73194
73194
|
const _hoisted_8$4 = { class: "label" };
|
|
73195
73195
|
const _hoisted_9$4 = { class: "__shops-filter-areas" };
|
|
73196
|
-
const _hoisted_10$
|
|
73196
|
+
const _hoisted_10$4 = ["onClick"];
|
|
73197
73197
|
const _hoisted_11$3 = ["onClick"];
|
|
73198
73198
|
const _hoisted_12$3 = { class: "__shops-filter-selecting" };
|
|
73199
73199
|
const _hoisted_13$3 = /* @__PURE__ */ createTextVNode(" \u5DF2\u9009\u62E9");
|
|
@@ -73326,7 +73326,7 @@ function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
73326
73326
|
active: !(item.multiple ? _ctx.filterSelects[index].length : !!_ctx.filterSelects[index])
|
|
73327
73327
|
}),
|
|
73328
73328
|
onClick: withModifiers(($event) => _ctx.changeFilterSelect(index, ""), ["self"])
|
|
73329
|
-
}, "\u5168\u90E8", 10, _hoisted_10$
|
|
73329
|
+
}, "\u5168\u90E8", 10, _hoisted_10$4),
|
|
73330
73330
|
(openBlock(true), createElementBlock(Fragment, null, renderList(item.list, (element) => {
|
|
73331
73331
|
return openBlock(), createElementBlock("span", {
|
|
73332
73332
|
key: element.code,
|
|
@@ -80572,7 +80572,7 @@ const _hoisted_9$3 = {
|
|
|
80572
80572
|
class: "noData",
|
|
80573
80573
|
style: { "height": "280px" }
|
|
80574
80574
|
};
|
|
80575
|
-
const _hoisted_10$
|
|
80575
|
+
const _hoisted_10$3 = { style: { "color": "#9393a3", "font-size": "12px", "font-weight": "400" } };
|
|
80576
80576
|
const _hoisted_11$2 = { class: "__selector-chosen-panel" };
|
|
80577
80577
|
const _hoisted_12$2 = {
|
|
80578
80578
|
key: 0,
|
|
@@ -80658,7 +80658,7 @@ function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
80658
80658
|
_ctx.list && !_ctx.list.length ? (openBlock(), createElementBlock("div", _hoisted_9$3, [
|
|
80659
80659
|
createVNode(_component_Empty, { image: _ctx.emptyPic }, {
|
|
80660
80660
|
description: withCtx(() => [
|
|
80661
|
-
createElementVNode("span", _hoisted_10$
|
|
80661
|
+
createElementVNode("span", _hoisted_10$3, toDisplayString(!!_ctx.searchVal ? "\u6682\u65E0\u6570\u636E" : "\u8BF7\u5148\u641C\u7D22\u4EBA\u5458\u5173\u952E\u5B57"), 1)
|
|
80662
80662
|
]),
|
|
80663
80663
|
_: 1
|
|
80664
80664
|
}, 8, ["image"])
|
|
@@ -81425,7 +81425,7 @@ const _hoisted_9$2 = {
|
|
|
81425
81425
|
key: 1,
|
|
81426
81426
|
class: "__selector-modal-options"
|
|
81427
81427
|
};
|
|
81428
|
-
const _hoisted_10$
|
|
81428
|
+
const _hoisted_10$2 = { class: "department-option-item" };
|
|
81429
81429
|
const _hoisted_11$1 = {
|
|
81430
81430
|
key: 0,
|
|
81431
81431
|
class: "department-desc"
|
|
@@ -81506,7 +81506,7 @@ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
81506
81506
|
"tree-data": _ctx.list
|
|
81507
81507
|
}, {
|
|
81508
81508
|
title: withCtx(({ title, description }) => [
|
|
81509
|
-
createElementVNode("div", _hoisted_10$
|
|
81509
|
+
createElementVNode("div", _hoisted_10$2, [
|
|
81510
81510
|
createElementVNode("span", null, toDisplayString(title), 1),
|
|
81511
81511
|
description ? (openBlock(), createElementBlock("p", _hoisted_11$1, toDisplayString(description), 1)) : createCommentVNode("v-if", true)
|
|
81512
81512
|
])
|
|
@@ -82635,7 +82635,7 @@ const _hoisted_6$1 = ["src"];
|
|
|
82635
82635
|
const _hoisted_7$1 = ["src"];
|
|
82636
82636
|
const _hoisted_8$1 = ["src"];
|
|
82637
82637
|
const _hoisted_9$1 = ["src"];
|
|
82638
|
-
const _hoisted_10 = {
|
|
82638
|
+
const _hoisted_10$1 = {
|
|
82639
82639
|
key: 6,
|
|
82640
82640
|
class: "bm-upload__picture-result__cover"
|
|
82641
82641
|
};
|
|
@@ -82752,7 +82752,7 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
82752
82752
|
src: $setup.icons.others,
|
|
82753
82753
|
alt: "avatar"
|
|
82754
82754
|
}, null, 8, _hoisted_9$1)),
|
|
82755
|
-
_ctx.onepViewImageHover[item.uid] ? (openBlock(), createElementBlock("div", _hoisted_10, [
|
|
82755
|
+
_ctx.onepViewImageHover[item.uid] ? (openBlock(), createElementBlock("div", _hoisted_10$1, [
|
|
82756
82756
|
!_ctx.extraConfigs.canNotViewAccept?.includes(item?.type) ? (openBlock(), createElementBlock("div", {
|
|
82757
82757
|
key: 0,
|
|
82758
82758
|
class: "bm-upload__picture-result__icon bm-upload__picture-result__icon--view",
|
|
@@ -83063,10 +83063,6 @@ const _sfc_main = defineComponent({
|
|
|
83063
83063
|
placement: {
|
|
83064
83064
|
type: String,
|
|
83065
83065
|
default: "bottom"
|
|
83066
|
-
},
|
|
83067
|
-
width: {
|
|
83068
|
-
type: String,
|
|
83069
|
-
default: "395px"
|
|
83070
83066
|
}
|
|
83071
83067
|
},
|
|
83072
83068
|
emits: ["clear", "update:list", "addClick"],
|
|
@@ -83095,7 +83091,7 @@ const _sfc_main = defineComponent({
|
|
|
83095
83091
|
};
|
|
83096
83092
|
}
|
|
83097
83093
|
});
|
|
83098
|
-
const _hoisted_1 = { class: "
|
|
83094
|
+
const _hoisted_1 = { class: "bm-tags-display" };
|
|
83099
83095
|
const _hoisted_2 = ["id"];
|
|
83100
83096
|
const _hoisted_3 = { class: "pop-seleted" };
|
|
83101
83097
|
const _hoisted_4 = { class: "pop-seleted-title" };
|
|
@@ -83103,7 +83099,8 @@ const _hoisted_5 = /* @__PURE__ */ createTextVNode(" \u5DF2\u9009\u62E9");
|
|
|
83103
83099
|
const _hoisted_6 = /* @__PURE__ */ createTextVNode("\u9879 ");
|
|
83104
83100
|
const _hoisted_7 = { class: "select-input-wrapper" };
|
|
83105
83101
|
const _hoisted_8 = { key: 1 };
|
|
83106
|
-
const _hoisted_9 =
|
|
83102
|
+
const _hoisted_9 = { key: 2 };
|
|
83103
|
+
const _hoisted_10 = /* @__PURE__ */ createElementVNode("div", null, null, -1);
|
|
83107
83104
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
83108
83105
|
const _component_a_tag = resolveComponent("a-tag");
|
|
83109
83106
|
const _component_CloseCircleFilled = resolveComponent("CloseCircleFilled");
|
|
@@ -83113,11 +83110,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
83113
83110
|
_ctx.list && _ctx.list.length ? (openBlock(), createElementBlock("div", {
|
|
83114
83111
|
key: 0,
|
|
83115
83112
|
id: _ctx.containId,
|
|
83116
|
-
class: "
|
|
83117
|
-
style: normalizeStyle({ width: _ctx.width })
|
|
83113
|
+
class: "bm-tags-display-wrapper"
|
|
83118
83114
|
}, [
|
|
83119
83115
|
createVNode(_component_Popover, {
|
|
83120
|
-
color: "#fff",
|
|
83121
83116
|
"get-popup-container": _ctx.getPopupContainer,
|
|
83122
83117
|
placement: _ctx.placement,
|
|
83123
83118
|
"overlay-class-name": "__list-filter-popover"
|
|
@@ -83128,26 +83123,28 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
83128
83123
|
_hoisted_5,
|
|
83129
83124
|
createElementVNode("span", null, toDisplayString(_ctx.list.length), 1),
|
|
83130
83125
|
_hoisted_6
|
|
83131
|
-
])
|
|
83132
|
-
createElementVNode("div", {
|
|
83133
|
-
class: "pop-seleted-list",
|
|
83134
|
-
onWheel: _cache[0] || (_cache[0] = withModifiers(() => {
|
|
83135
|
-
}, ["stop"]))
|
|
83136
|
-
}, [
|
|
83137
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.list, (item) => {
|
|
83138
|
-
return openBlock(), createBlock(_component_a_tag, {
|
|
83139
|
-
key: item.key,
|
|
83140
|
-
class: "pop-seleted-item"
|
|
83141
|
-
}, {
|
|
83142
|
-
default: withCtx(() => [
|
|
83143
|
-
createTextVNode(toDisplayString(item.title), 1)
|
|
83144
|
-
]),
|
|
83145
|
-
_: 2
|
|
83146
|
-
}, 1024);
|
|
83147
|
-
}), 128))
|
|
83148
|
-
], 32)
|
|
83126
|
+
])
|
|
83149
83127
|
])
|
|
83150
83128
|
]),
|
|
83129
|
+
content: withCtx(() => [
|
|
83130
|
+
createElementVNode("div", {
|
|
83131
|
+
class: "pop-seleted-list",
|
|
83132
|
+
onWheel: _cache[0] || (_cache[0] = withModifiers(() => {
|
|
83133
|
+
}, ["stop"]))
|
|
83134
|
+
}, [
|
|
83135
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.list, (item) => {
|
|
83136
|
+
return openBlock(), createBlock(_component_a_tag, {
|
|
83137
|
+
key: item.key,
|
|
83138
|
+
class: "pop-seleted-item"
|
|
83139
|
+
}, {
|
|
83140
|
+
default: withCtx(() => [
|
|
83141
|
+
createTextVNode(toDisplayString(item.title), 1)
|
|
83142
|
+
]),
|
|
83143
|
+
_: 2
|
|
83144
|
+
}, 1024);
|
|
83145
|
+
}), 128))
|
|
83146
|
+
], 32)
|
|
83147
|
+
]),
|
|
83151
83148
|
default: withCtx(() => [
|
|
83152
83149
|
createElementVNode("div", _hoisted_7, [
|
|
83153
83150
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.list, (item) => {
|
|
@@ -83174,7 +83171,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
83174
83171
|
]),
|
|
83175
83172
|
_: 1
|
|
83176
83173
|
}, 8, ["get-popup-container", "placement"])
|
|
83177
|
-
],
|
|
83174
|
+
], 8, _hoisted_2)) : createCommentVNode("v-if", true),
|
|
83178
83175
|
_ctx.showEmptyBtn && !_ctx.list.length ? (openBlock(), createElementBlock("div", _hoisted_8, [
|
|
83179
83176
|
createVNode(_component_Button, {
|
|
83180
83177
|
onClick: withModifiers(_ctx.toAddTags, ["stop"])
|
|
@@ -83185,16 +83182,13 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
83185
83182
|
_: 1
|
|
83186
83183
|
}, 8, ["onClick"])
|
|
83187
83184
|
])) : createCommentVNode("v-if", true),
|
|
83188
|
-
_ctx.showEmpty && !_ctx.list.length ? (openBlock(), createElementBlock("div",
|
|
83189
|
-
key: 2,
|
|
83190
|
-
style: normalizeStyle({ width: _ctx.width })
|
|
83191
|
-
}, [
|
|
83185
|
+
_ctx.showEmpty && !_ctx.list.length ? (openBlock(), createElementBlock("div", _hoisted_9, [
|
|
83192
83186
|
createElementVNode("div", {
|
|
83193
83187
|
class: "selector-empty-input",
|
|
83194
83188
|
onClick: _cache[4] || (_cache[4] = withModifiers((...args) => _ctx.toAddTags && _ctx.toAddTags(...args), ["stop"]))
|
|
83195
83189
|
}, "\xA0")
|
|
83196
|
-
]
|
|
83197
|
-
|
|
83190
|
+
])) : createCommentVNode("v-if", true),
|
|
83191
|
+
_hoisted_10
|
|
83198
83192
|
]);
|
|
83199
83193
|
}
|
|
83200
83194
|
var InputTagsDisplay = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "input-tags-display.vue"]]);
|
package/index.js
CHANGED
|
@@ -63814,7 +63814,7 @@ var process = {
|
|
|
63814
63814
|
key: 1,
|
|
63815
63815
|
class: "bm-multi-cascader-placeholder"
|
|
63816
63816
|
};
|
|
63817
|
-
const _hoisted_10$
|
|
63817
|
+
const _hoisted_10$5 = { class: "bm-multi-cascader-action" };
|
|
63818
63818
|
const _hoisted_11$4 = {
|
|
63819
63819
|
key: 0,
|
|
63820
63820
|
class: "bm-multi-cascader-popover"
|
|
@@ -64263,7 +64263,7 @@ var process = {
|
|
|
64263
64263
|
])) : require$$1$1.createCommentVNode("v-if", true)
|
|
64264
64264
|
])) : (require$$1$1.openBlock(), require$$1$1.createElementBlock("div", _hoisted_9$5, require$$1$1.toDisplayString(props.placeholder), 1))
|
|
64265
64265
|
]),
|
|
64266
|
-
require$$1$1.createElementVNode("div", _hoisted_10$
|
|
64266
|
+
require$$1$1.createElementVNode("div", _hoisted_10$5, [
|
|
64267
64267
|
props.allowClear && props.modelValue.length > 0 ? (require$$1$1.openBlock(), require$$1$1.createElementBlock(require$$1$1.Fragment, { key: 0 }, [
|
|
64268
64268
|
require$$1$1.createVNode(require$$1$1.unref(DownOutlined$1), { class: "bm-multi-cascader-icon bm-multi-cascader-caret" }),
|
|
64269
64269
|
require$$1$1.createVNode(require$$1$1.unref(CloseCircleFilled$1), {
|
|
@@ -73201,7 +73201,7 @@ var process = {
|
|
|
73201
73201
|
};
|
|
73202
73202
|
const _hoisted_8$4 = { class: "label" };
|
|
73203
73203
|
const _hoisted_9$4 = { class: "__shops-filter-areas" };
|
|
73204
|
-
const _hoisted_10$
|
|
73204
|
+
const _hoisted_10$4 = ["onClick"];
|
|
73205
73205
|
const _hoisted_11$3 = ["onClick"];
|
|
73206
73206
|
const _hoisted_12$3 = { class: "__shops-filter-selecting" };
|
|
73207
73207
|
const _hoisted_13$3 = /* @__PURE__ */ require$$1$1.createTextVNode(" \u5DF2\u9009\u62E9");
|
|
@@ -73334,7 +73334,7 @@ var process = {
|
|
|
73334
73334
|
active: !(item.multiple ? _ctx.filterSelects[index].length : !!_ctx.filterSelects[index])
|
|
73335
73335
|
}),
|
|
73336
73336
|
onClick: require$$1$1.withModifiers(($event) => _ctx.changeFilterSelect(index, ""), ["self"])
|
|
73337
|
-
}, "\u5168\u90E8", 10, _hoisted_10$
|
|
73337
|
+
}, "\u5168\u90E8", 10, _hoisted_10$4),
|
|
73338
73338
|
(require$$1$1.openBlock(true), require$$1$1.createElementBlock(require$$1$1.Fragment, null, require$$1$1.renderList(item.list, (element) => {
|
|
73339
73339
|
return require$$1$1.openBlock(), require$$1$1.createElementBlock("span", {
|
|
73340
73340
|
key: element.code,
|
|
@@ -80580,7 +80580,7 @@ var process = {
|
|
|
80580
80580
|
class: "noData",
|
|
80581
80581
|
style: { "height": "280px" }
|
|
80582
80582
|
};
|
|
80583
|
-
const _hoisted_10$
|
|
80583
|
+
const _hoisted_10$3 = { style: { "color": "#9393a3", "font-size": "12px", "font-weight": "400" } };
|
|
80584
80584
|
const _hoisted_11$2 = { class: "__selector-chosen-panel" };
|
|
80585
80585
|
const _hoisted_12$2 = {
|
|
80586
80586
|
key: 0,
|
|
@@ -80666,7 +80666,7 @@ var process = {
|
|
|
80666
80666
|
_ctx.list && !_ctx.list.length ? (require$$1$1.openBlock(), require$$1$1.createElementBlock("div", _hoisted_9$3, [
|
|
80667
80667
|
require$$1$1.createVNode(_component_Empty, { image: _ctx.emptyPic }, {
|
|
80668
80668
|
description: require$$1$1.withCtx(() => [
|
|
80669
|
-
require$$1$1.createElementVNode("span", _hoisted_10$
|
|
80669
|
+
require$$1$1.createElementVNode("span", _hoisted_10$3, require$$1$1.toDisplayString(!!_ctx.searchVal ? "\u6682\u65E0\u6570\u636E" : "\u8BF7\u5148\u641C\u7D22\u4EBA\u5458\u5173\u952E\u5B57"), 1)
|
|
80670
80670
|
]),
|
|
80671
80671
|
_: 1
|
|
80672
80672
|
}, 8, ["image"])
|
|
@@ -81433,7 +81433,7 @@ var process = {
|
|
|
81433
81433
|
key: 1,
|
|
81434
81434
|
class: "__selector-modal-options"
|
|
81435
81435
|
};
|
|
81436
|
-
const _hoisted_10$
|
|
81436
|
+
const _hoisted_10$2 = { class: "department-option-item" };
|
|
81437
81437
|
const _hoisted_11$1 = {
|
|
81438
81438
|
key: 0,
|
|
81439
81439
|
class: "department-desc"
|
|
@@ -81514,7 +81514,7 @@ var process = {
|
|
|
81514
81514
|
"tree-data": _ctx.list
|
|
81515
81515
|
}, {
|
|
81516
81516
|
title: require$$1$1.withCtx(({ title, description }) => [
|
|
81517
|
-
require$$1$1.createElementVNode("div", _hoisted_10$
|
|
81517
|
+
require$$1$1.createElementVNode("div", _hoisted_10$2, [
|
|
81518
81518
|
require$$1$1.createElementVNode("span", null, require$$1$1.toDisplayString(title), 1),
|
|
81519
81519
|
description ? (require$$1$1.openBlock(), require$$1$1.createElementBlock("p", _hoisted_11$1, require$$1$1.toDisplayString(description), 1)) : require$$1$1.createCommentVNode("v-if", true)
|
|
81520
81520
|
])
|
|
@@ -82643,7 +82643,7 @@ var process = {
|
|
|
82643
82643
|
const _hoisted_7$1 = ["src"];
|
|
82644
82644
|
const _hoisted_8$1 = ["src"];
|
|
82645
82645
|
const _hoisted_9$1 = ["src"];
|
|
82646
|
-
const _hoisted_10 = {
|
|
82646
|
+
const _hoisted_10$1 = {
|
|
82647
82647
|
key: 6,
|
|
82648
82648
|
class: "bm-upload__picture-result__cover"
|
|
82649
82649
|
};
|
|
@@ -82760,7 +82760,7 @@ var process = {
|
|
|
82760
82760
|
src: $setup.icons.others,
|
|
82761
82761
|
alt: "avatar"
|
|
82762
82762
|
}, null, 8, _hoisted_9$1)),
|
|
82763
|
-
_ctx.onepViewImageHover[item.uid] ? (require$$1$1.openBlock(), require$$1$1.createElementBlock("div", _hoisted_10, [
|
|
82763
|
+
_ctx.onepViewImageHover[item.uid] ? (require$$1$1.openBlock(), require$$1$1.createElementBlock("div", _hoisted_10$1, [
|
|
82764
82764
|
!_ctx.extraConfigs.canNotViewAccept?.includes(item?.type) ? (require$$1$1.openBlock(), require$$1$1.createElementBlock("div", {
|
|
82765
82765
|
key: 0,
|
|
82766
82766
|
class: "bm-upload__picture-result__icon bm-upload__picture-result__icon--view",
|
|
@@ -83071,10 +83071,6 @@ var process = {
|
|
|
83071
83071
|
placement: {
|
|
83072
83072
|
type: String,
|
|
83073
83073
|
default: "bottom"
|
|
83074
|
-
},
|
|
83075
|
-
width: {
|
|
83076
|
-
type: String,
|
|
83077
|
-
default: "395px"
|
|
83078
83074
|
}
|
|
83079
83075
|
},
|
|
83080
83076
|
emits: ["clear", "update:list", "addClick"],
|
|
@@ -83103,7 +83099,7 @@ var process = {
|
|
|
83103
83099
|
};
|
|
83104
83100
|
}
|
|
83105
83101
|
});
|
|
83106
|
-
const _hoisted_1 = { class: "
|
|
83102
|
+
const _hoisted_1 = { class: "bm-tags-display" };
|
|
83107
83103
|
const _hoisted_2 = ["id"];
|
|
83108
83104
|
const _hoisted_3 = { class: "pop-seleted" };
|
|
83109
83105
|
const _hoisted_4 = { class: "pop-seleted-title" };
|
|
@@ -83111,7 +83107,8 @@ var process = {
|
|
|
83111
83107
|
const _hoisted_6 = /* @__PURE__ */ require$$1$1.createTextVNode("\u9879 ");
|
|
83112
83108
|
const _hoisted_7 = { class: "select-input-wrapper" };
|
|
83113
83109
|
const _hoisted_8 = { key: 1 };
|
|
83114
|
-
const _hoisted_9 =
|
|
83110
|
+
const _hoisted_9 = { key: 2 };
|
|
83111
|
+
const _hoisted_10 = /* @__PURE__ */ require$$1$1.createElementVNode("div", null, null, -1);
|
|
83115
83112
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
83116
83113
|
const _component_a_tag = require$$1$1.resolveComponent("a-tag");
|
|
83117
83114
|
const _component_CloseCircleFilled = require$$1$1.resolveComponent("CloseCircleFilled");
|
|
@@ -83121,11 +83118,9 @@ var process = {
|
|
|
83121
83118
|
_ctx.list && _ctx.list.length ? (require$$1$1.openBlock(), require$$1$1.createElementBlock("div", {
|
|
83122
83119
|
key: 0,
|
|
83123
83120
|
id: _ctx.containId,
|
|
83124
|
-
class: "
|
|
83125
|
-
style: require$$1$1.normalizeStyle({ width: _ctx.width })
|
|
83121
|
+
class: "bm-tags-display-wrapper"
|
|
83126
83122
|
}, [
|
|
83127
83123
|
require$$1$1.createVNode(_component_Popover, {
|
|
83128
|
-
color: "#fff",
|
|
83129
83124
|
"get-popup-container": _ctx.getPopupContainer,
|
|
83130
83125
|
placement: _ctx.placement,
|
|
83131
83126
|
"overlay-class-name": "__list-filter-popover"
|
|
@@ -83136,26 +83131,28 @@ var process = {
|
|
|
83136
83131
|
_hoisted_5,
|
|
83137
83132
|
require$$1$1.createElementVNode("span", null, require$$1$1.toDisplayString(_ctx.list.length), 1),
|
|
83138
83133
|
_hoisted_6
|
|
83139
|
-
])
|
|
83140
|
-
require$$1$1.createElementVNode("div", {
|
|
83141
|
-
class: "pop-seleted-list",
|
|
83142
|
-
onWheel: _cache[0] || (_cache[0] = require$$1$1.withModifiers(() => {
|
|
83143
|
-
}, ["stop"]))
|
|
83144
|
-
}, [
|
|
83145
|
-
(require$$1$1.openBlock(true), require$$1$1.createElementBlock(require$$1$1.Fragment, null, require$$1$1.renderList(_ctx.list, (item) => {
|
|
83146
|
-
return require$$1$1.openBlock(), require$$1$1.createBlock(_component_a_tag, {
|
|
83147
|
-
key: item.key,
|
|
83148
|
-
class: "pop-seleted-item"
|
|
83149
|
-
}, {
|
|
83150
|
-
default: require$$1$1.withCtx(() => [
|
|
83151
|
-
require$$1$1.createTextVNode(require$$1$1.toDisplayString(item.title), 1)
|
|
83152
|
-
]),
|
|
83153
|
-
_: 2
|
|
83154
|
-
}, 1024);
|
|
83155
|
-
}), 128))
|
|
83156
|
-
], 32)
|
|
83134
|
+
])
|
|
83157
83135
|
])
|
|
83158
83136
|
]),
|
|
83137
|
+
content: require$$1$1.withCtx(() => [
|
|
83138
|
+
require$$1$1.createElementVNode("div", {
|
|
83139
|
+
class: "pop-seleted-list",
|
|
83140
|
+
onWheel: _cache[0] || (_cache[0] = require$$1$1.withModifiers(() => {
|
|
83141
|
+
}, ["stop"]))
|
|
83142
|
+
}, [
|
|
83143
|
+
(require$$1$1.openBlock(true), require$$1$1.createElementBlock(require$$1$1.Fragment, null, require$$1$1.renderList(_ctx.list, (item) => {
|
|
83144
|
+
return require$$1$1.openBlock(), require$$1$1.createBlock(_component_a_tag, {
|
|
83145
|
+
key: item.key,
|
|
83146
|
+
class: "pop-seleted-item"
|
|
83147
|
+
}, {
|
|
83148
|
+
default: require$$1$1.withCtx(() => [
|
|
83149
|
+
require$$1$1.createTextVNode(require$$1$1.toDisplayString(item.title), 1)
|
|
83150
|
+
]),
|
|
83151
|
+
_: 2
|
|
83152
|
+
}, 1024);
|
|
83153
|
+
}), 128))
|
|
83154
|
+
], 32)
|
|
83155
|
+
]),
|
|
83159
83156
|
default: require$$1$1.withCtx(() => [
|
|
83160
83157
|
require$$1$1.createElementVNode("div", _hoisted_7, [
|
|
83161
83158
|
(require$$1$1.openBlock(true), require$$1$1.createElementBlock(require$$1$1.Fragment, null, require$$1$1.renderList(_ctx.list, (item) => {
|
|
@@ -83182,7 +83179,7 @@ var process = {
|
|
|
83182
83179
|
]),
|
|
83183
83180
|
_: 1
|
|
83184
83181
|
}, 8, ["get-popup-container", "placement"])
|
|
83185
|
-
],
|
|
83182
|
+
], 8, _hoisted_2)) : require$$1$1.createCommentVNode("v-if", true),
|
|
83186
83183
|
_ctx.showEmptyBtn && !_ctx.list.length ? (require$$1$1.openBlock(), require$$1$1.createElementBlock("div", _hoisted_8, [
|
|
83187
83184
|
require$$1$1.createVNode(_component_Button, {
|
|
83188
83185
|
onClick: require$$1$1.withModifiers(_ctx.toAddTags, ["stop"])
|
|
@@ -83193,16 +83190,13 @@ var process = {
|
|
|
83193
83190
|
_: 1
|
|
83194
83191
|
}, 8, ["onClick"])
|
|
83195
83192
|
])) : require$$1$1.createCommentVNode("v-if", true),
|
|
83196
|
-
_ctx.showEmpty && !_ctx.list.length ? (require$$1$1.openBlock(), require$$1$1.createElementBlock("div",
|
|
83197
|
-
key: 2,
|
|
83198
|
-
style: require$$1$1.normalizeStyle({ width: _ctx.width })
|
|
83199
|
-
}, [
|
|
83193
|
+
_ctx.showEmpty && !_ctx.list.length ? (require$$1$1.openBlock(), require$$1$1.createElementBlock("div", _hoisted_9, [
|
|
83200
83194
|
require$$1$1.createElementVNode("div", {
|
|
83201
83195
|
class: "selector-empty-input",
|
|
83202
83196
|
onClick: _cache[4] || (_cache[4] = require$$1$1.withModifiers((...args) => _ctx.toAddTags && _ctx.toAddTags(...args), ["stop"]))
|
|
83203
83197
|
}, "\xA0")
|
|
83204
|
-
]
|
|
83205
|
-
|
|
83198
|
+
])) : require$$1$1.createCommentVNode("v-if", true),
|
|
83199
|
+
_hoisted_10
|
|
83206
83200
|
]);
|
|
83207
83201
|
}
|
|
83208
83202
|
var InputTagsDisplay = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "input-tags-display.vue"]]);
|
|
@@ -22,10 +22,6 @@ declare const BmTagsDisplay: import("bm-admin-ui/es/utils/with-install").SFCWith
|
|
|
22
22
|
type: StringConstructor;
|
|
23
23
|
default: string;
|
|
24
24
|
};
|
|
25
|
-
width: {
|
|
26
|
-
type: StringConstructor;
|
|
27
|
-
default: string;
|
|
28
|
-
};
|
|
29
25
|
}, {
|
|
30
26
|
containId: string;
|
|
31
27
|
clear: () => void;
|
|
@@ -55,16 +51,11 @@ declare const BmTagsDisplay: import("bm-admin-ui/es/utils/with-install").SFCWith
|
|
|
55
51
|
type: StringConstructor;
|
|
56
52
|
default: string;
|
|
57
53
|
};
|
|
58
|
-
width: {
|
|
59
|
-
type: StringConstructor;
|
|
60
|
-
default: string;
|
|
61
|
-
};
|
|
62
54
|
}>> & {
|
|
63
55
|
onClear?: ((...args: any[]) => any) | undefined;
|
|
64
56
|
"onUpdate:list"?: ((...args: any[]) => any) | undefined;
|
|
65
57
|
onAddClick?: ((...args: any[]) => any) | undefined;
|
|
66
58
|
}, {
|
|
67
|
-
width: string;
|
|
68
59
|
placement: string;
|
|
69
60
|
list: unknown[];
|
|
70
61
|
showEmpty: boolean;
|