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.
@@ -1154,10 +1154,6 @@ const _sfc_main = vue.defineComponent({
1154
1154
  placement: {
1155
1155
  type: String,
1156
1156
  default: "bottom"
1157
- },
1158
- width: {
1159
- type: String,
1160
- default: "395px"
1161
1157
  }
1162
1158
  },
1163
1159
  emits: ["clear", "update:list", "addClick"],
@@ -1186,7 +1182,7 @@ const _sfc_main = vue.defineComponent({
1186
1182
  };
1187
1183
  }
1188
1184
  });
1189
- const _hoisted_1 = { class: "item-input-selector" };
1185
+ const _hoisted_1 = { class: "bm-tags-display" };
1190
1186
  const _hoisted_2 = ["id"];
1191
1187
  const _hoisted_3 = { class: "pop-seleted" };
1192
1188
  const _hoisted_4 = { class: "pop-seleted-title" };
@@ -1194,7 +1190,8 @@ const _hoisted_5 = /* @__PURE__ */ vue.createTextVNode(" \u5DF2\u9009\u62E9");
1194
1190
  const _hoisted_6 = /* @__PURE__ */ vue.createTextVNode("\u9879 ");
1195
1191
  const _hoisted_7 = { class: "select-input-wrapper" };
1196
1192
  const _hoisted_8 = { key: 1 };
1197
- const _hoisted_9 = /* @__PURE__ */ vue.createElementVNode("div", null, null, -1);
1193
+ const _hoisted_9 = { key: 2 };
1194
+ const _hoisted_10 = /* @__PURE__ */ vue.createElementVNode("div", null, null, -1);
1198
1195
  function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
1199
1196
  const _component_a_tag = vue.resolveComponent("a-tag");
1200
1197
  const _component_CloseCircleFilled = vue.resolveComponent("CloseCircleFilled");
@@ -1204,11 +1201,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
1204
1201
  _ctx.list && _ctx.list.length ? (vue.openBlock(), vue.createElementBlock("div", {
1205
1202
  key: 0,
1206
1203
  id: _ctx.containId,
1207
- class: "testname",
1208
- style: vue.normalizeStyle({ width: _ctx.width })
1204
+ class: "bm-tags-display-wrapper"
1209
1205
  }, [
1210
1206
  vue.createVNode(_component_Popover, {
1211
- color: "#fff",
1212
1207
  "get-popup-container": _ctx.getPopupContainer,
1213
1208
  placement: _ctx.placement,
1214
1209
  "overlay-class-name": "__list-filter-popover"
@@ -1219,26 +1214,28 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
1219
1214
  _hoisted_5,
1220
1215
  vue.createElementVNode("span", null, vue.toDisplayString(_ctx.list.length), 1),
1221
1216
  _hoisted_6
1222
- ]),
1223
- vue.createElementVNode("div", {
1224
- class: "pop-seleted-list",
1225
- onWheel: _cache[0] || (_cache[0] = vue.withModifiers(() => {
1226
- }, ["stop"]))
1227
- }, [
1228
- (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.list, (item) => {
1229
- return vue.openBlock(), vue.createBlock(_component_a_tag, {
1230
- key: item.key,
1231
- class: "pop-seleted-item"
1232
- }, {
1233
- default: vue.withCtx(() => [
1234
- vue.createTextVNode(vue.toDisplayString(item.title), 1)
1235
- ]),
1236
- _: 2
1237
- }, 1024);
1238
- }), 128))
1239
- ], 32)
1217
+ ])
1240
1218
  ])
1241
1219
  ]),
1220
+ content: vue.withCtx(() => [
1221
+ vue.createElementVNode("div", {
1222
+ class: "pop-seleted-list",
1223
+ onWheel: _cache[0] || (_cache[0] = vue.withModifiers(() => {
1224
+ }, ["stop"]))
1225
+ }, [
1226
+ (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.list, (item) => {
1227
+ return vue.openBlock(), vue.createBlock(_component_a_tag, {
1228
+ key: item.key,
1229
+ class: "pop-seleted-item"
1230
+ }, {
1231
+ default: vue.withCtx(() => [
1232
+ vue.createTextVNode(vue.toDisplayString(item.title), 1)
1233
+ ]),
1234
+ _: 2
1235
+ }, 1024);
1236
+ }), 128))
1237
+ ], 32)
1238
+ ]),
1242
1239
  default: vue.withCtx(() => [
1243
1240
  vue.createElementVNode("div", _hoisted_7, [
1244
1241
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.list, (item) => {
@@ -1265,7 +1262,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
1265
1262
  ]),
1266
1263
  _: 1
1267
1264
  }, 8, ["get-popup-container", "placement"])
1268
- ], 12, _hoisted_2)) : vue.createCommentVNode("v-if", true),
1265
+ ], 8, _hoisted_2)) : vue.createCommentVNode("v-if", true),
1269
1266
  _ctx.showEmptyBtn && !_ctx.list.length ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_8, [
1270
1267
  vue.createVNode(_component_Button, {
1271
1268
  onClick: vue.withModifiers(_ctx.toAddTags, ["stop"])
@@ -1276,16 +1273,13 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
1276
1273
  _: 1
1277
1274
  }, 8, ["onClick"])
1278
1275
  ])) : vue.createCommentVNode("v-if", true),
1279
- _ctx.showEmpty && !_ctx.list.length ? (vue.openBlock(), vue.createElementBlock("div", {
1280
- key: 2,
1281
- style: vue.normalizeStyle({ width: _ctx.width })
1282
- }, [
1276
+ _ctx.showEmpty && !_ctx.list.length ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_9, [
1283
1277
  vue.createElementVNode("div", {
1284
1278
  class: "selector-empty-input",
1285
1279
  onClick: _cache[4] || (_cache[4] = vue.withModifiers((...args) => _ctx.toAddTags && _ctx.toAddTags(...args), ["stop"]))
1286
1280
  }, "\xA0")
1287
- ], 4)) : vue.createCommentVNode("v-if", true),
1288
- _hoisted_9
1281
+ ])) : vue.createCommentVNode("v-if", true),
1282
+ _hoisted_10
1289
1283
  ]);
1290
1284
  }
1291
1285
  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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bm-admin-ui",
3
- "version": "1.0.13-alpha",
3
+ "version": "1.0.14-alpha",
4
4
  "private": false,
5
5
  "description": "An Admin Component Library for Bm",
6
6
  "license": "UNLICENSED",