bm-admin-ui 1.0.19-alpha → 1.0.21-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/button/index.d.ts +3 -3
- package/es/components/button/src/button.vue.d.ts +3 -3
- package/es/components/feedback/index.d.ts +4 -4
- package/es/components/feedback/src/bmAlert.vue.d.ts +2 -2
- package/es/components/feedback/src/bmModal.vue.d.ts +2 -2
- package/es/components/float-table/index.js +1 -1
- package/es/components/input-tags-display/index.d.ts +42 -1
- package/es/components/input-tags-display/index.js +57 -22
- package/es/components/input-tags-display/src/input-tags-display.vue.d.ts +42 -1
- package/es/components/search-filter/index.d.ts +40 -16
- package/es/components/search-filter/index.js +18 -6
- package/es/components/search-filter/src/search-filter.d.ts +24 -4
- package/es/components/search-filter/src/search-filter.vue.d.ts +40 -16
- package/es/components/search-filter/src/search-reset-btn.vue.d.ts +39 -0
- package/es/components/staffs-selector/index.d.ts +1 -1
- package/es/components/staffs-selector/index.js +1 -1
- package/es/components/staffs-selector/src/multipleCmp.vue.d.ts +1 -1
- package/es/components/staffs-selector/src/staffs-selector.vue.d.ts +1 -1
- package/es/components/upload/index.d.ts +1 -0
- package/es/components/upload/index.js +52 -22
- package/es/components/upload/src/upload.vue.d.ts +1 -0
- package/index.esm.js +222 -145
- package/index.js +221 -144
- package/lib/components/button/index.d.ts +3 -3
- package/lib/components/button/src/button.vue.d.ts +3 -3
- package/lib/components/feedback/index.d.ts +4 -4
- package/lib/components/feedback/src/bmAlert.vue.d.ts +2 -2
- package/lib/components/feedback/src/bmModal.vue.d.ts +2 -2
- package/lib/components/float-table/index.js +1 -1
- package/lib/components/input-tags-display/index.d.ts +42 -1
- package/lib/components/input-tags-display/index.js +57 -22
- package/lib/components/input-tags-display/src/input-tags-display.vue.d.ts +42 -1
- package/lib/components/search-filter/index.d.ts +40 -16
- package/lib/components/search-filter/index.js +18 -6
- package/lib/components/search-filter/src/search-filter.d.ts +24 -4
- package/lib/components/search-filter/src/search-filter.vue.d.ts +40 -16
- package/lib/components/search-filter/src/search-reset-btn.vue.d.ts +39 -0
- package/lib/components/staffs-selector/index.d.ts +1 -1
- package/lib/components/staffs-selector/index.js +1 -1
- package/lib/components/staffs-selector/src/multipleCmp.vue.d.ts +1 -1
- package/lib/components/staffs-selector/src/staffs-selector.vue.d.ts +1 -1
- package/lib/components/upload/index.d.ts +1 -0
- package/lib/components/upload/index.js +52 -22
- package/lib/components/upload/src/upload.vue.d.ts +1 -0
- package/package.json +1 -1
- package/theme-chalk/feedback.css +1 -1
- package/theme-chalk/float-table.css +1 -1
- package/theme-chalk/index.css +1 -1
- package/theme-chalk/upload.css +1 -1
- package/types/components/button/index.d.ts +3 -3
- package/types/components/button/src/button.vue.d.ts +3 -3
- package/types/components/feedback/index.d.ts +4 -4
- package/types/components/feedback/src/bmAlert.vue.d.ts +2 -2
- package/types/components/feedback/src/bmModal.vue.d.ts +2 -2
- package/types/components/input-tags-display/index.d.ts +42 -1
- package/types/components/input-tags-display/src/input-tags-display.vue.d.ts +42 -1
- package/types/components/search-filter/index.d.ts +40 -16
- package/types/components/search-filter/src/search-filter.d.ts +24 -4
- package/types/components/search-filter/src/search-filter.vue.d.ts +40 -16
- package/types/components/search-filter/src/search-reset-btn.vue.d.ts +39 -0
- package/types/components/staffs-selector/index.d.ts +1 -1
- package/types/components/staffs-selector/src/multipleCmp.vue.d.ts +1 -1
- package/types/components/staffs-selector/src/staffs-selector.vue.d.ts +1 -1
- package/types/components/upload/index.d.ts +1 -0
- package/types/components/upload/src/upload.vue.d.ts +1 -0
package/index.js
CHANGED
|
@@ -1504,8 +1504,8 @@ var process = {
|
|
|
1504
1504
|
children.forEach(function (child) {
|
|
1505
1505
|
if (Array.isArray(child)) {
|
|
1506
1506
|
res.push.apply(res, (0, _toConsumableArray2.default)(child));
|
|
1507
|
-
} else if (child.type === _vue.Fragment) {
|
|
1508
|
-
res.push.apply(res, (0, _toConsumableArray2.default)(child.children));
|
|
1507
|
+
} else if ((child === null || child === void 0 ? void 0 : child.type) === _vue.Fragment) {
|
|
1508
|
+
res.push.apply(res, (0, _toConsumableArray2.default)(filterEmpty(child.children)));
|
|
1509
1509
|
} else {
|
|
1510
1510
|
res.push(child);
|
|
1511
1511
|
}
|
|
@@ -7298,7 +7298,7 @@ var process = {
|
|
|
7298
7298
|
variables["".concat(type, "-color")] = formatColor(baseColor);
|
|
7299
7299
|
variables["".concat(type, "-color-disabled")] = colorPalettes[1];
|
|
7300
7300
|
variables["".concat(type, "-color-hover")] = colorPalettes[4];
|
|
7301
|
-
variables["".concat(type, "-color-active")] = colorPalettes[
|
|
7301
|
+
variables["".concat(type, "-color-active")] = colorPalettes[6];
|
|
7302
7302
|
variables["".concat(type, "-color-outline")] = baseColor.clone().setAlpha(0.2).toRgbString();
|
|
7303
7303
|
variables["".concat(type, "-color-deprecated-bg")] = colorPalettes[1];
|
|
7304
7304
|
variables["".concat(type, "-color-deprecated-border")] = colorPalettes[3];
|
|
@@ -9901,8 +9901,8 @@ var process = {
|
|
|
9901
9901
|
children.forEach(function (child) {
|
|
9902
9902
|
if (Array.isArray(child)) {
|
|
9903
9903
|
res.push.apply(res, _toConsumableArray$1(child));
|
|
9904
|
-
} else if (child.type === require$$1$1.Fragment) {
|
|
9905
|
-
res.push.apply(res, _toConsumableArray$1(child.children));
|
|
9904
|
+
} else if ((child === null || child === void 0 ? void 0 : child.type) === require$$1$1.Fragment) {
|
|
9905
|
+
res.push.apply(res, _toConsumableArray$1(filterEmpty(child.children)));
|
|
9906
9906
|
} else {
|
|
9907
9907
|
res.push(child);
|
|
9908
9908
|
}
|
|
@@ -12116,7 +12116,7 @@ var process = {
|
|
|
12116
12116
|
variables["".concat(type, "-color")] = formatColor(baseColor);
|
|
12117
12117
|
variables["".concat(type, "-color-disabled")] = colorPalettes[1];
|
|
12118
12118
|
variables["".concat(type, "-color-hover")] = colorPalettes[4];
|
|
12119
|
-
variables["".concat(type, "-color-active")] = colorPalettes[
|
|
12119
|
+
variables["".concat(type, "-color-active")] = colorPalettes[6];
|
|
12120
12120
|
variables["".concat(type, "-color-outline")] = baseColor.clone().setAlpha(0.2).toRgbString();
|
|
12121
12121
|
variables["".concat(type, "-color-deprecated-bg")] = colorPalettes[1];
|
|
12122
12122
|
variables["".concat(type, "-color-deprecated-border")] = colorPalettes[3];
|
|
@@ -15469,37 +15469,17 @@ var process = {
|
|
|
15469
15469
|
var RightOutlined$1 = RightOutlined;
|
|
15470
15470
|
|
|
15471
15471
|
// This icon file is generated automatically.
|
|
15472
|
-
var
|
|
15473
|
-
var
|
|
15472
|
+
var PlusOutlined$2 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "defs", "attrs": {}, "children": [{ "tag": "style", "attrs": {} }] }, { "tag": "path", "attrs": { "d": "M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z" } }, { "tag": "path", "attrs": { "d": "M176 474h672q8 0 8 8v60q0 8-8 8H176q-8 0-8-8v-60q0-8 8-8z" } }] }, "name": "plus", "theme": "outlined" };
|
|
15473
|
+
var PlusOutlinedSvg = PlusOutlined$2;
|
|
15474
15474
|
|
|
15475
15475
|
function _objectSpread$3(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? Object(arguments[i]) : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty$4(target, key, source[key]); }); } return target; }
|
|
15476
15476
|
|
|
15477
15477
|
function _defineProperty$4(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
15478
15478
|
|
|
15479
|
-
var
|
|
15479
|
+
var PlusOutlined = function PlusOutlined(props, context) {
|
|
15480
15480
|
var p = _objectSpread$3({}, props, context.attrs);
|
|
15481
15481
|
|
|
15482
15482
|
return require$$1$1.createVNode(AntdIcon, _objectSpread$3({}, p, {
|
|
15483
|
-
"icon": DeleteOutlinedSvg
|
|
15484
|
-
}), null);
|
|
15485
|
-
};
|
|
15486
|
-
|
|
15487
|
-
DeleteOutlined.displayName = 'DeleteOutlined';
|
|
15488
|
-
DeleteOutlined.inheritAttrs = false;
|
|
15489
|
-
var DeleteOutlined$1 = DeleteOutlined;
|
|
15490
|
-
|
|
15491
|
-
// This icon file is generated automatically.
|
|
15492
|
-
var PlusOutlined$2 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "defs", "attrs": {}, "children": [{ "tag": "style", "attrs": {} }] }, { "tag": "path", "attrs": { "d": "M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z" } }, { "tag": "path", "attrs": { "d": "M176 474h672q8 0 8 8v60q0 8-8 8H176q-8 0-8-8v-60q0-8 8-8z" } }] }, "name": "plus", "theme": "outlined" };
|
|
15493
|
-
var PlusOutlinedSvg = PlusOutlined$2;
|
|
15494
|
-
|
|
15495
|
-
function _objectSpread$2(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? Object(arguments[i]) : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty$3(target, key, source[key]); }); } return target; }
|
|
15496
|
-
|
|
15497
|
-
function _defineProperty$3(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
15498
|
-
|
|
15499
|
-
var PlusOutlined = function PlusOutlined(props, context) {
|
|
15500
|
-
var p = _objectSpread$2({}, props, context.attrs);
|
|
15501
|
-
|
|
15502
|
-
return require$$1$1.createVNode(AntdIcon, _objectSpread$2({}, p, {
|
|
15503
15483
|
"icon": PlusOutlinedSvg
|
|
15504
15484
|
}), null);
|
|
15505
15485
|
};
|
|
@@ -15508,46 +15488,6 @@ var process = {
|
|
|
15508
15488
|
PlusOutlined.inheritAttrs = false;
|
|
15509
15489
|
var PlusOutlined$1 = PlusOutlined;
|
|
15510
15490
|
|
|
15511
|
-
// This icon file is generated automatically.
|
|
15512
|
-
var UpOutlined$2 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z" } }] }, "name": "up", "theme": "outlined" };
|
|
15513
|
-
var UpOutlinedSvg = UpOutlined$2;
|
|
15514
|
-
|
|
15515
|
-
function _objectSpread$1(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? Object(arguments[i]) : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty$2(target, key, source[key]); }); } return target; }
|
|
15516
|
-
|
|
15517
|
-
function _defineProperty$2(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
15518
|
-
|
|
15519
|
-
var UpOutlined = function UpOutlined(props, context) {
|
|
15520
|
-
var p = _objectSpread$1({}, props, context.attrs);
|
|
15521
|
-
|
|
15522
|
-
return require$$1$1.createVNode(AntdIcon, _objectSpread$1({}, p, {
|
|
15523
|
-
"icon": UpOutlinedSvg
|
|
15524
|
-
}), null);
|
|
15525
|
-
};
|
|
15526
|
-
|
|
15527
|
-
UpOutlined.displayName = 'UpOutlined';
|
|
15528
|
-
UpOutlined.inheritAttrs = false;
|
|
15529
|
-
var UpOutlined$1 = UpOutlined;
|
|
15530
|
-
|
|
15531
|
-
// This icon file is generated automatically.
|
|
15532
|
-
var UploadOutlined$2 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M400 317.7h73.9V656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V317.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 163a8 8 0 00-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z" } }] }, "name": "upload", "theme": "outlined" };
|
|
15533
|
-
var UploadOutlinedSvg = UploadOutlined$2;
|
|
15534
|
-
|
|
15535
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? Object(arguments[i]) : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty$1(target, key, source[key]); }); } return target; }
|
|
15536
|
-
|
|
15537
|
-
function _defineProperty$1(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
15538
|
-
|
|
15539
|
-
var UploadOutlined = function UploadOutlined(props, context) {
|
|
15540
|
-
var p = _objectSpread({}, props, context.attrs);
|
|
15541
|
-
|
|
15542
|
-
return require$$1$1.createVNode(AntdIcon, _objectSpread({}, p, {
|
|
15543
|
-
"icon": UploadOutlinedSvg
|
|
15544
|
-
}), null);
|
|
15545
|
-
};
|
|
15546
|
-
|
|
15547
|
-
UploadOutlined.displayName = 'UploadOutlined';
|
|
15548
|
-
UploadOutlined.inheritAttrs = false;
|
|
15549
|
-
var UploadOutlined$1 = UploadOutlined;
|
|
15550
|
-
|
|
15551
15491
|
var canUseDocElement$1 = function canUseDocElement() {
|
|
15552
15492
|
return canUseDom() && window.document.documentElement;
|
|
15553
15493
|
};
|
|
@@ -16606,6 +16546,26 @@ var process = {
|
|
|
16606
16546
|
});
|
|
16607
16547
|
var DialogWrap$3 = DialogWrap$2;
|
|
16608
16548
|
|
|
16549
|
+
// This icon file is generated automatically.
|
|
16550
|
+
var UpOutlined$2 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z" } }] }, "name": "up", "theme": "outlined" };
|
|
16551
|
+
var UpOutlinedSvg = UpOutlined$2;
|
|
16552
|
+
|
|
16553
|
+
function _objectSpread$2(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? Object(arguments[i]) : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty$3(target, key, source[key]); }); } return target; }
|
|
16554
|
+
|
|
16555
|
+
function _defineProperty$3(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
16556
|
+
|
|
16557
|
+
var UpOutlined = function UpOutlined(props, context) {
|
|
16558
|
+
var p = _objectSpread$2({}, props, context.attrs);
|
|
16559
|
+
|
|
16560
|
+
return require$$1$1.createVNode(AntdIcon, _objectSpread$2({}, p, {
|
|
16561
|
+
"icon": UpOutlinedSvg
|
|
16562
|
+
}), null);
|
|
16563
|
+
};
|
|
16564
|
+
|
|
16565
|
+
UpOutlined.displayName = 'UpOutlined';
|
|
16566
|
+
UpOutlined.inheritAttrs = false;
|
|
16567
|
+
var UpOutlined$1 = UpOutlined;
|
|
16568
|
+
|
|
16609
16569
|
var __rest$e = undefined && undefined.__rest || function (s, e) {
|
|
16610
16570
|
var t = {};
|
|
16611
16571
|
|
|
@@ -17285,6 +17245,46 @@ var process = {
|
|
|
17285
17245
|
return app;
|
|
17286
17246
|
};
|
|
17287
17247
|
|
|
17248
|
+
// This icon file is generated automatically.
|
|
17249
|
+
var DeleteOutlined$2 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z" } }] }, "name": "delete", "theme": "outlined" };
|
|
17250
|
+
var DeleteOutlinedSvg = DeleteOutlined$2;
|
|
17251
|
+
|
|
17252
|
+
function _objectSpread$1(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? Object(arguments[i]) : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty$2(target, key, source[key]); }); } return target; }
|
|
17253
|
+
|
|
17254
|
+
function _defineProperty$2(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
17255
|
+
|
|
17256
|
+
var DeleteOutlined = function DeleteOutlined(props, context) {
|
|
17257
|
+
var p = _objectSpread$1({}, props, context.attrs);
|
|
17258
|
+
|
|
17259
|
+
return require$$1$1.createVNode(AntdIcon, _objectSpread$1({}, p, {
|
|
17260
|
+
"icon": DeleteOutlinedSvg
|
|
17261
|
+
}), null);
|
|
17262
|
+
};
|
|
17263
|
+
|
|
17264
|
+
DeleteOutlined.displayName = 'DeleteOutlined';
|
|
17265
|
+
DeleteOutlined.inheritAttrs = false;
|
|
17266
|
+
var DeleteOutlined$1 = DeleteOutlined;
|
|
17267
|
+
|
|
17268
|
+
// This icon file is generated automatically.
|
|
17269
|
+
var UploadOutlined$2 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M400 317.7h73.9V656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V317.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 163a8 8 0 00-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z" } }] }, "name": "upload", "theme": "outlined" };
|
|
17270
|
+
var UploadOutlinedSvg = UploadOutlined$2;
|
|
17271
|
+
|
|
17272
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? Object(arguments[i]) : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty$1(target, key, source[key]); }); } return target; }
|
|
17273
|
+
|
|
17274
|
+
function _defineProperty$1(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
17275
|
+
|
|
17276
|
+
var UploadOutlined = function UploadOutlined(props, context) {
|
|
17277
|
+
var p = _objectSpread({}, props, context.attrs);
|
|
17278
|
+
|
|
17279
|
+
return require$$1$1.createVNode(AntdIcon, _objectSpread({}, p, {
|
|
17280
|
+
"icon": UploadOutlinedSvg
|
|
17281
|
+
}), null);
|
|
17282
|
+
};
|
|
17283
|
+
|
|
17284
|
+
UploadOutlined.displayName = 'UploadOutlined';
|
|
17285
|
+
UploadOutlined.inheritAttrs = false;
|
|
17286
|
+
var UploadOutlined$1 = UploadOutlined;
|
|
17287
|
+
|
|
17288
17288
|
var alert = {};
|
|
17289
17289
|
|
|
17290
17290
|
var vnode = {};
|
|
@@ -27420,6 +27420,18 @@ var process = {
|
|
|
27420
27420
|
type: Boolean,
|
|
27421
27421
|
default: false,
|
|
27422
27422
|
},
|
|
27423
|
+
expandPlacement: {
|
|
27424
|
+
type: String,
|
|
27425
|
+
default: 'left',
|
|
27426
|
+
},
|
|
27427
|
+
expandText: {
|
|
27428
|
+
type: String,
|
|
27429
|
+
default: '展开',
|
|
27430
|
+
},
|
|
27431
|
+
collapseText: {
|
|
27432
|
+
type: String,
|
|
27433
|
+
default: '收起',
|
|
27434
|
+
},
|
|
27423
27435
|
};
|
|
27424
27436
|
const searchFilterProps = Object.assign({ userRule: {
|
|
27425
27437
|
type: Array,
|
|
@@ -27456,9 +27468,6 @@ var process = {
|
|
|
27456
27468
|
default() {
|
|
27457
27469
|
return [];
|
|
27458
27470
|
},
|
|
27459
|
-
}, expandPlacement: {
|
|
27460
|
-
type: String,
|
|
27461
|
-
default: 'left',
|
|
27462
27471
|
} }, searchResetBtnProps);
|
|
27463
27472
|
|
|
27464
27473
|
const _hoisted_1$a = { class: "bm-search-filter-btn" };
|
|
@@ -27466,6 +27475,7 @@ var process = {
|
|
|
27466
27475
|
const _hoisted_3$7 = /* @__PURE__ */ require$$1$1.createTextVNode("\u91CD\u7F6E");
|
|
27467
27476
|
const _hoisted_4$7 = /* @__PURE__ */ require$$1$1.createTextVNode("\u67E5\u8BE2");
|
|
27468
27477
|
const _sfc_main$d = /* @__PURE__ */ require$$1$1.defineComponent({
|
|
27478
|
+
name: "search-reset-btn",
|
|
27469
27479
|
props: searchResetBtnProps,
|
|
27470
27480
|
emits: ["submit", "reset", "expand"],
|
|
27471
27481
|
setup(__props, { emit: emits }) {
|
|
@@ -27489,7 +27499,7 @@ var process = {
|
|
|
27489
27499
|
class: "bm-search-filter-expand",
|
|
27490
27500
|
onClick: handleExpandBtnChange
|
|
27491
27501
|
}, [
|
|
27492
|
-
require$$1$1.createTextVNode(require$$1$1.toDisplayString(isExpand.value ?
|
|
27502
|
+
require$$1$1.createTextVNode(require$$1$1.toDisplayString(isExpand.value ? props.collapseText : props.expandText), 1),
|
|
27493
27503
|
isExpand.value ? (require$$1$1.openBlock(), require$$1$1.createBlock(require$$1$1.unref(UpOutlined$1), { key: 0 })) : (require$$1$1.openBlock(), require$$1$1.createBlock(require$$1$1.unref(DownOutlined$1), { key: 1 }))
|
|
27494
27504
|
])) : require$$1$1.createCommentVNode("v-if", true),
|
|
27495
27505
|
require$$1$1.createElementVNode("span", _hoisted_2$8, [
|
|
@@ -27571,11 +27581,11 @@ var process = {
|
|
|
27571
27581
|
class: "bm-multi-cascader-tag"
|
|
27572
27582
|
};
|
|
27573
27583
|
const _hoisted_8$5 = { class: "bm-multi-cascader-tag-text" };
|
|
27574
|
-
const _hoisted_9$
|
|
27584
|
+
const _hoisted_9$4 = {
|
|
27575
27585
|
key: 1,
|
|
27576
27586
|
class: "bm-multi-cascader-placeholder"
|
|
27577
27587
|
};
|
|
27578
|
-
const _hoisted_10$
|
|
27588
|
+
const _hoisted_10$4 = { class: "bm-multi-cascader-action" };
|
|
27579
27589
|
const _hoisted_11$4 = {
|
|
27580
27590
|
key: 0,
|
|
27581
27591
|
class: "bm-multi-cascader-popover"
|
|
@@ -28006,9 +28016,9 @@ var process = {
|
|
|
28006
28016
|
require$$1$1.unref(checkedHideCount) ? (require$$1$1.openBlock(), require$$1$1.createElementBlock("div", _hoisted_7$5, [
|
|
28007
28017
|
require$$1$1.createElementVNode("span", _hoisted_8$5, "+ " + require$$1$1.toDisplayString(require$$1$1.unref(checkedHideCount)), 1)
|
|
28008
28018
|
])) : require$$1$1.createCommentVNode("v-if", true)
|
|
28009
|
-
])) : (require$$1$1.openBlock(), require$$1$1.createElementBlock("div", _hoisted_9$
|
|
28019
|
+
])) : (require$$1$1.openBlock(), require$$1$1.createElementBlock("div", _hoisted_9$4, require$$1$1.toDisplayString(props.placeholder), 1))
|
|
28010
28020
|
]),
|
|
28011
|
-
require$$1$1.createElementVNode("div", _hoisted_10$
|
|
28021
|
+
require$$1$1.createElementVNode("div", _hoisted_10$4, [
|
|
28012
28022
|
props.allowClear && props.modelValue.length > 0 ? (require$$1$1.openBlock(), require$$1$1.createElementBlock(require$$1$1.Fragment, { key: 0 }, [
|
|
28013
28023
|
require$$1$1.createVNode(require$$1$1.unref(DownOutlined$1), { class: "bm-multi-cascader-icon bm-multi-cascader-caret" }),
|
|
28014
28024
|
require$$1$1.createVNode(require$$1$1.unref(CloseCircleFilled$1), {
|
|
@@ -28136,7 +28146,9 @@ var process = {
|
|
|
28136
28146
|
}
|
|
28137
28147
|
}
|
|
28138
28148
|
require$$1$1.watch(isExpand, (val) => {
|
|
28139
|
-
|
|
28149
|
+
setTimeout(() => {
|
|
28150
|
+
handleChangeExpand(val);
|
|
28151
|
+
}, 0);
|
|
28140
28152
|
}, {
|
|
28141
28153
|
immediate: true
|
|
28142
28154
|
});
|
|
@@ -28153,7 +28165,7 @@ var process = {
|
|
|
28153
28165
|
"onUpdate:api": _cache[0] || (_cache[0] = ($event) => fApi.value = $event),
|
|
28154
28166
|
"model-value": props.value,
|
|
28155
28167
|
rule: require$$1$1.unref(rule),
|
|
28156
|
-
option
|
|
28168
|
+
option,
|
|
28157
28169
|
onChange: handleChange
|
|
28158
28170
|
}, null, 8, ["api", "model-value", "rule", "option"])
|
|
28159
28171
|
], 2);
|
|
@@ -29173,8 +29185,8 @@ var process = {
|
|
|
29173
29185
|
|
|
29174
29186
|
return (0, _vue$K.createVNode)("span", {
|
|
29175
29187
|
"class": cls.value,
|
|
29176
|
-
"onMouseenter": props.
|
|
29177
|
-
"onMouseleave": props.
|
|
29188
|
+
"onMouseenter": props.onMouseenter,
|
|
29189
|
+
"onMouseleave": props.onMouseleave,
|
|
29178
29190
|
"onFocus": props.onFocus,
|
|
29179
29191
|
"onBlur": props.onBlur
|
|
29180
29192
|
}, [(_a = slots.default) === null || _a === void 0 ? void 0 : _a.call(slots)]);
|
|
@@ -36933,8 +36945,8 @@ var process = {
|
|
|
36933
36945
|
class: "__shops-filter-tabs"
|
|
36934
36946
|
};
|
|
36935
36947
|
const _hoisted_8$4 = { class: "label" };
|
|
36936
|
-
const _hoisted_9$
|
|
36937
|
-
const _hoisted_10$
|
|
36948
|
+
const _hoisted_9$3 = { class: "__shops-filter-areas" };
|
|
36949
|
+
const _hoisted_10$3 = ["onClick"];
|
|
36938
36950
|
const _hoisted_11$3 = ["onClick"];
|
|
36939
36951
|
const _hoisted_12$3 = { class: "__shops-filter-selecting" };
|
|
36940
36952
|
const _hoisted_13$3 = /* @__PURE__ */ require$$1$1.createTextVNode(" \u5DF2\u9009\u62E9");
|
|
@@ -37061,13 +37073,13 @@ var process = {
|
|
|
37061
37073
|
class: "__shops-filter-area-tabs"
|
|
37062
37074
|
}, [
|
|
37063
37075
|
require$$1$1.createElementVNode("div", _hoisted_8$4, require$$1$1.toDisplayString(item.label) + ":", 1),
|
|
37064
|
-
require$$1$1.createElementVNode("div", _hoisted_9$
|
|
37076
|
+
require$$1$1.createElementVNode("div", _hoisted_9$3, [
|
|
37065
37077
|
require$$1$1.createElementVNode("span", {
|
|
37066
37078
|
class: require$$1$1.normalizeClass({
|
|
37067
37079
|
active: !(item.multiple ? _ctx.filterSelects[index].length : !!_ctx.filterSelects[index])
|
|
37068
37080
|
}),
|
|
37069
37081
|
onClick: require$$1$1.withModifiers(($event) => _ctx.changeFilterSelect(index, ""), ["self"])
|
|
37070
|
-
}, "\u5168\u90E8", 10, _hoisted_10$
|
|
37082
|
+
}, "\u5168\u90E8", 10, _hoisted_10$3),
|
|
37071
37083
|
(require$$1$1.openBlock(true), require$$1$1.createElementBlock(require$$1$1.Fragment, null, require$$1$1.renderList(item.list, (element) => {
|
|
37072
37084
|
return require$$1$1.openBlock(), require$$1$1.createElementBlock("span", {
|
|
37073
37085
|
key: element.code,
|
|
@@ -39631,7 +39643,7 @@ var process = {
|
|
|
39631
39643
|
});
|
|
39632
39644
|
};
|
|
39633
39645
|
|
|
39634
|
-
syncScroll(
|
|
39646
|
+
syncScroll(5);
|
|
39635
39647
|
}
|
|
39636
39648
|
};
|
|
39637
39649
|
}
|
|
@@ -44297,12 +44309,12 @@ var process = {
|
|
|
44297
44309
|
key: 0,
|
|
44298
44310
|
class: "department-desc"
|
|
44299
44311
|
};
|
|
44300
|
-
const _hoisted_9$
|
|
44312
|
+
const _hoisted_9$2 = {
|
|
44301
44313
|
key: 2,
|
|
44302
44314
|
class: "noData",
|
|
44303
44315
|
style: { "height": "280px" }
|
|
44304
44316
|
};
|
|
44305
|
-
const _hoisted_10$
|
|
44317
|
+
const _hoisted_10$2 = { style: { "color": "#9393a3", "font-size": "12px", "font-weight": "400" } };
|
|
44306
44318
|
const _hoisted_11$2 = { class: "__selector-chosen-panel" };
|
|
44307
44319
|
const _hoisted_12$2 = {
|
|
44308
44320
|
key: 0,
|
|
@@ -44385,10 +44397,10 @@ var process = {
|
|
|
44385
44397
|
]),
|
|
44386
44398
|
_: 1
|
|
44387
44399
|
}, 8, ["checkedKeys", "tree-data"])) : require$$1$1.createCommentVNode("v-if", true),
|
|
44388
|
-
_ctx.list && !_ctx.list.length ? (require$$1$1.openBlock(), require$$1$1.createElementBlock("div", _hoisted_9$
|
|
44400
|
+
_ctx.list && !_ctx.list.length ? (require$$1$1.openBlock(), require$$1$1.createElementBlock("div", _hoisted_9$2, [
|
|
44389
44401
|
require$$1$1.createVNode(_component_Empty, { image: _ctx.emptyPic }, {
|
|
44390
44402
|
description: require$$1$1.withCtx(() => [
|
|
44391
|
-
require$$1$1.createElementVNode("span", _hoisted_10$
|
|
44403
|
+
require$$1$1.createElementVNode("span", _hoisted_10$2, require$$1$1.toDisplayString(!!_ctx.searchVal ? "\u6682\u65E0\u6570\u636E" : "\u8BF7\u5148\u641C\u7D22\u4EBA\u5458\u5173\u952E\u5B57"), 1)
|
|
44392
44404
|
]),
|
|
44393
44405
|
_: 1
|
|
44394
44406
|
}, 8, ["image"])
|
|
@@ -45135,11 +45147,11 @@ var process = {
|
|
|
45135
45147
|
key: 0,
|
|
45136
45148
|
class: "__selector-modal-options"
|
|
45137
45149
|
};
|
|
45138
|
-
const _hoisted_9$
|
|
45150
|
+
const _hoisted_9$1 = {
|
|
45139
45151
|
key: 1,
|
|
45140
45152
|
class: "__selector-modal-options"
|
|
45141
45153
|
};
|
|
45142
|
-
const _hoisted_10$
|
|
45154
|
+
const _hoisted_10$1 = { class: "department-option-item" };
|
|
45143
45155
|
const _hoisted_11$1 = {
|
|
45144
45156
|
key: 0,
|
|
45145
45157
|
class: "department-desc"
|
|
@@ -45211,7 +45223,7 @@ var process = {
|
|
|
45211
45223
|
}, 1032, ["checked", "onUpdate:checked"])
|
|
45212
45224
|
]);
|
|
45213
45225
|
}), 128))
|
|
45214
|
-
])) : _ctx.activeKey === 1 ? (require$$1$1.openBlock(), require$$1$1.createElementBlock("div", _hoisted_9$
|
|
45226
|
+
])) : _ctx.activeKey === 1 ? (require$$1$1.openBlock(), require$$1$1.createElementBlock("div", _hoisted_9$1, [
|
|
45215
45227
|
require$$1$1.createVNode(_component_a_tree, {
|
|
45216
45228
|
checkedKeys: _ctx.departmentChecked,
|
|
45217
45229
|
"onUpdate:checkedKeys": _cache[1] || (_cache[1] = ($event) => _ctx.departmentChecked = $event),
|
|
@@ -45220,7 +45232,7 @@ var process = {
|
|
|
45220
45232
|
"tree-data": _ctx.list
|
|
45221
45233
|
}, {
|
|
45222
45234
|
title: require$$1$1.withCtx(({ title, description }) => [
|
|
45223
|
-
require$$1$1.createElementVNode("div", _hoisted_10$
|
|
45235
|
+
require$$1$1.createElementVNode("div", _hoisted_10$1, [
|
|
45224
45236
|
require$$1$1.createElementVNode("span", null, require$$1$1.toDisplayString(title), 1),
|
|
45225
45237
|
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)
|
|
45226
45238
|
])
|
|
@@ -45264,7 +45276,7 @@ var process = {
|
|
|
45264
45276
|
]);
|
|
45265
45277
|
}), 128))
|
|
45266
45278
|
])) : require$$1$1.createCommentVNode("v-if", true)
|
|
45267
|
-
],
|
|
45279
|
+
], 64))
|
|
45268
45280
|
])
|
|
45269
45281
|
]),
|
|
45270
45282
|
require$$1$1.createElementVNode("div", _hoisted_14$1, [
|
|
@@ -45528,7 +45540,7 @@ var process = {
|
|
|
45528
45540
|
showHeaderOverflow: true,
|
|
45529
45541
|
align: null,
|
|
45530
45542
|
columns: [],
|
|
45531
|
-
tooltipConfig: { leaveDelay:
|
|
45543
|
+
tooltipConfig: { leaveDelay: 10 },
|
|
45532
45544
|
data: [],
|
|
45533
45545
|
pagerConfig: {},
|
|
45534
45546
|
emptyText: "\u6682\u65E0\u6570\u636E",
|
|
@@ -46082,18 +46094,29 @@ var process = {
|
|
|
46082
46094
|
setup(props, { emit }) {
|
|
46083
46095
|
let acceptList = [
|
|
46084
46096
|
".xlsx",
|
|
46097
|
+
".XLSX",
|
|
46085
46098
|
".pdf",
|
|
46099
|
+
".PDF",
|
|
46086
46100
|
".doc",
|
|
46101
|
+
".DOC",
|
|
46087
46102
|
".docx",
|
|
46103
|
+
".DOCX",
|
|
46088
46104
|
".jpg",
|
|
46089
|
-
".jpeg",
|
|
46090
46105
|
".JPG",
|
|
46106
|
+
".jpeg",
|
|
46107
|
+
".JPEG",
|
|
46091
46108
|
".png",
|
|
46109
|
+
".PNG",
|
|
46092
46110
|
".rar",
|
|
46111
|
+
".RAR",
|
|
46093
46112
|
".zip",
|
|
46113
|
+
".ZIP",
|
|
46094
46114
|
".ppt",
|
|
46115
|
+
".PPT",
|
|
46095
46116
|
".pptx",
|
|
46096
|
-
".
|
|
46117
|
+
".PPTX",
|
|
46118
|
+
".mp4",
|
|
46119
|
+
".MP4"
|
|
46097
46120
|
];
|
|
46098
46121
|
const state = require$$1$1.reactive({
|
|
46099
46122
|
uploadBarColor: "#4DA0FF",
|
|
@@ -46156,26 +46179,26 @@ var process = {
|
|
|
46156
46179
|
}
|
|
46157
46180
|
});
|
|
46158
46181
|
const methods = {
|
|
46159
|
-
|
|
46160
|
-
|
|
46161
|
-
|
|
46162
|
-
|
|
46163
|
-
|
|
46164
|
-
state.fileList[file.uid]
|
|
46165
|
-
|
|
46166
|
-
progress
|
|
46167
|
-
};
|
|
46182
|
+
updateUploadProgress(file, progress) {
|
|
46183
|
+
if (methods.fileIsDelete(file)) {
|
|
46184
|
+
return;
|
|
46185
|
+
}
|
|
46186
|
+
state.fileList[file.uid] = {
|
|
46187
|
+
...state.fileList[file.uid],
|
|
46188
|
+
progress
|
|
46168
46189
|
};
|
|
46190
|
+
},
|
|
46191
|
+
customUploadRequest(file) {
|
|
46169
46192
|
props.uploadRequest?.(file, {
|
|
46170
46193
|
onUploadProgress: (e) => {
|
|
46171
46194
|
let progress = Math.round(e.loaded / e.total * 100);
|
|
46172
46195
|
if (props.holdProgress) {
|
|
46173
46196
|
progress = progress > props.holdProgress ? props.holdProgress : progress;
|
|
46174
46197
|
}
|
|
46175
|
-
updateUploadProgress(progress);
|
|
46198
|
+
methods.updateUploadProgress(file, progress);
|
|
46176
46199
|
}
|
|
46177
46200
|
}).then(function(data) {
|
|
46178
|
-
updateUploadProgress(100);
|
|
46201
|
+
methods.updateUploadProgress(file, 100);
|
|
46179
46202
|
methods.uploadSuccess(data, file);
|
|
46180
46203
|
}).catch(function(error) {
|
|
46181
46204
|
console.error(error);
|
|
@@ -46193,6 +46216,7 @@ var process = {
|
|
|
46193
46216
|
return;
|
|
46194
46217
|
}
|
|
46195
46218
|
emit("successFile", data);
|
|
46219
|
+
state.fileList[file.uid].status = "success";
|
|
46196
46220
|
let uri = data?.url;
|
|
46197
46221
|
let item = state.extraConfigs.fileDetail ? {
|
|
46198
46222
|
name: file.name,
|
|
@@ -46207,10 +46231,10 @@ var process = {
|
|
|
46207
46231
|
emit("update", state.uploadedList);
|
|
46208
46232
|
},
|
|
46209
46233
|
uploadError(error, file = {}) {
|
|
46210
|
-
if (
|
|
46211
|
-
|
|
46212
|
-
|
|
46213
|
-
|
|
46234
|
+
if (file) {
|
|
46235
|
+
if (methods.fileIsDelete(file)) {
|
|
46236
|
+
return;
|
|
46237
|
+
}
|
|
46214
46238
|
state.fileList[file.uid].status = "error";
|
|
46215
46239
|
}
|
|
46216
46240
|
emit("error", error);
|
|
@@ -46230,7 +46254,7 @@ var process = {
|
|
|
46230
46254
|
state.onepViewImageHover[uid] = false;
|
|
46231
46255
|
},
|
|
46232
46256
|
viewOnePicture(item) {
|
|
46233
|
-
if (["img", "image", "png", "jpg", "jpeg"].includes(item.type.toLowerCase())) {
|
|
46257
|
+
if (["img", "image", "png", "PNG", "jpg", "JPG", "jpeg", "JPEG"].includes(item.type.toLowerCase())) {
|
|
46234
46258
|
state.previewVisible = true;
|
|
46235
46259
|
state.onepViewImage = item;
|
|
46236
46260
|
return;
|
|
@@ -46374,8 +46398,8 @@ var process = {
|
|
|
46374
46398
|
const _hoisted_6$1 = ["src"];
|
|
46375
46399
|
const _hoisted_7$1 = ["src"];
|
|
46376
46400
|
const _hoisted_8$1 = ["src"];
|
|
46377
|
-
const _hoisted_9
|
|
46378
|
-
const _hoisted_10
|
|
46401
|
+
const _hoisted_9 = ["src"];
|
|
46402
|
+
const _hoisted_10 = {
|
|
46379
46403
|
key: 6,
|
|
46380
46404
|
class: "bm-upload__picture-result__cover"
|
|
46381
46405
|
};
|
|
@@ -46461,13 +46485,14 @@ var process = {
|
|
|
46461
46485
|
onMouseleave: ($event) => _ctx.pictureHoverLeave(item.uid),
|
|
46462
46486
|
onClick: _cache[0] || (_cache[0] = (e) => e.stopPropagation())
|
|
46463
46487
|
}, [
|
|
46464
|
-
["pdf", "application/pdf"].includes(item.type) ? (require$$1$1.openBlock(), require$$1$1.createElementBlock("img", {
|
|
46488
|
+
["pdf", "PDF", "application/pdf"].includes(item.type) ? (require$$1$1.openBlock(), require$$1$1.createElementBlock("img", {
|
|
46465
46489
|
key: 0,
|
|
46466
46490
|
class: "bm-upload__picture-result__image",
|
|
46467
46491
|
src: $setup.icons.pdf,
|
|
46468
46492
|
alt: "avatar"
|
|
46469
46493
|
}, null, 8, _hoisted_4$1)) : [
|
|
46470
46494
|
"xlsx",
|
|
46495
|
+
"XLSX",
|
|
46471
46496
|
"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
|
|
46472
46497
|
].includes(item.type) ? (require$$1$1.openBlock(), require$$1$1.createElementBlock("img", {
|
|
46473
46498
|
key: 1,
|
|
@@ -46476,8 +46501,10 @@ var process = {
|
|
|
46476
46501
|
alt: "avatar"
|
|
46477
46502
|
}, null, 8, _hoisted_5$1)) : [
|
|
46478
46503
|
"ppt",
|
|
46504
|
+
"PPT",
|
|
46479
46505
|
"application/vnd.ms-powerpoint",
|
|
46480
46506
|
"pptx",
|
|
46507
|
+
"PPTX",
|
|
46481
46508
|
"application/vnd.openxmlformats-officedocument.presentationml.presentation"
|
|
46482
46509
|
].includes(item.type) ? (require$$1$1.openBlock(), require$$1$1.createElementBlock("img", {
|
|
46483
46510
|
key: 2,
|
|
@@ -46486,8 +46513,10 @@ var process = {
|
|
|
46486
46513
|
alt: "avatar"
|
|
46487
46514
|
}, null, 8, _hoisted_6$1)) : [
|
|
46488
46515
|
"doc",
|
|
46516
|
+
"DOC",
|
|
46489
46517
|
"application/msword",
|
|
46490
46518
|
"docx",
|
|
46519
|
+
"DOCX",
|
|
46491
46520
|
"application/vnd.openxmlformats-officedocument.wordprocessingml.document"
|
|
46492
46521
|
].includes(item.type) ? (require$$1$1.openBlock(), require$$1$1.createElementBlock("img", {
|
|
46493
46522
|
key: 3,
|
|
@@ -46498,11 +46527,15 @@ var process = {
|
|
|
46498
46527
|
"img",
|
|
46499
46528
|
"image",
|
|
46500
46529
|
"png",
|
|
46530
|
+
"PNG",
|
|
46501
46531
|
"image/png",
|
|
46502
46532
|
"jpg",
|
|
46533
|
+
"JPG",
|
|
46503
46534
|
"jpeg",
|
|
46535
|
+
"JPEG",
|
|
46504
46536
|
"image/jpeg",
|
|
46505
46537
|
"gif",
|
|
46538
|
+
"GIF",
|
|
46506
46539
|
"image/gif"
|
|
46507
46540
|
].includes(item.type) ? (require$$1$1.openBlock(), require$$1$1.createElementBlock("img", {
|
|
46508
46541
|
key: 4,
|
|
@@ -46514,8 +46547,8 @@ var process = {
|
|
|
46514
46547
|
class: "bm-upload__picture-result__image",
|
|
46515
46548
|
src: $setup.icons.others,
|
|
46516
46549
|
alt: "avatar"
|
|
46517
|
-
}, null, 8, _hoisted_9
|
|
46518
|
-
_ctx.onepViewImageHover[item.uid] ? (require$$1$1.openBlock(), require$$1$1.createElementBlock("div", _hoisted_10
|
|
46550
|
+
}, null, 8, _hoisted_9)),
|
|
46551
|
+
_ctx.onepViewImageHover[item.uid] ? (require$$1$1.openBlock(), require$$1$1.createElementBlock("div", _hoisted_10, [
|
|
46519
46552
|
!_ctx.extraConfigs.canNotViewAccept?.includes(item?.type) ? (require$$1$1.openBlock(), require$$1$1.createElementBlock("div", {
|
|
46520
46553
|
key: 0,
|
|
46521
46554
|
class: "bm-upload__picture-result__icon bm-upload__picture-result__icon--view",
|
|
@@ -46531,7 +46564,7 @@ var process = {
|
|
|
46531
46564
|
key: 1,
|
|
46532
46565
|
file: item
|
|
46533
46566
|
})
|
|
46534
|
-
],
|
|
46567
|
+
], 64)) : require$$1$1.createCommentVNode("v-if", true),
|
|
46535
46568
|
require$$1$1.createCommentVNode(" \u56FE\u7247\u9519\u8BEF\u5C55\u793A "),
|
|
46536
46569
|
item.status === "error" ? (require$$1$1.openBlock(), require$$1$1.createElementBlock("div", {
|
|
46537
46570
|
key: 2,
|
|
@@ -46577,7 +46610,7 @@ var process = {
|
|
|
46577
46610
|
}, 8, ["class", "disabled"]),
|
|
46578
46611
|
_ctx.extraConfigs.tips && _ctx.extraConfigs.showTips ? (require$$1$1.openBlock(), require$$1$1.createElementBlock("div", _hoisted_23, require$$1$1.toDisplayString(_ctx.extraConfigs.tips), 1)) : require$$1$1.createCommentVNode("v-if", true)
|
|
46579
46612
|
])) : require$$1$1.createCommentVNode("v-if", true)
|
|
46580
|
-
],
|
|
46613
|
+
], 64))
|
|
46581
46614
|
]),
|
|
46582
46615
|
_: 3
|
|
46583
46616
|
}, 16, ["class"])) : require$$1$1.createCommentVNode("v-if", true),
|
|
@@ -46631,7 +46664,16 @@ var process = {
|
|
|
46631
46664
|
}, {
|
|
46632
46665
|
default: require$$1$1.withCtx(() => [
|
|
46633
46666
|
require$$1$1.createElementVNode("div", _hoisted_32, [
|
|
46634
|
-
[
|
|
46667
|
+
[
|
|
46668
|
+
"img",
|
|
46669
|
+
"image",
|
|
46670
|
+
"png",
|
|
46671
|
+
"PNG",
|
|
46672
|
+
"jpg",
|
|
46673
|
+
"JPG",
|
|
46674
|
+
"jpeg",
|
|
46675
|
+
"JPEG"
|
|
46676
|
+
].includes(_ctx.onepViewImage.type) ? (require$$1$1.openBlock(), require$$1$1.createElementBlock("img", {
|
|
46635
46677
|
key: 0,
|
|
46636
46678
|
style: { "width": "100%" },
|
|
46637
46679
|
src: _ctx.onepViewImage.url,
|
|
@@ -46822,6 +46864,10 @@ var process = {
|
|
|
46822
46864
|
type: Boolean,
|
|
46823
46865
|
default: true
|
|
46824
46866
|
},
|
|
46867
|
+
unitStr: {
|
|
46868
|
+
type: String,
|
|
46869
|
+
default: "\u9879"
|
|
46870
|
+
},
|
|
46825
46871
|
btnText: {
|
|
46826
46872
|
type: String,
|
|
46827
46873
|
default: "\u6DFB\u52A0"
|
|
@@ -46829,6 +46875,16 @@ var process = {
|
|
|
46829
46875
|
placement: {
|
|
46830
46876
|
type: String,
|
|
46831
46877
|
default: "bottom"
|
|
46878
|
+
},
|
|
46879
|
+
toolTipProps: {
|
|
46880
|
+
type: Object,
|
|
46881
|
+
default: () => {
|
|
46882
|
+
return {};
|
|
46883
|
+
}
|
|
46884
|
+
},
|
|
46885
|
+
alwaysInvoke: {
|
|
46886
|
+
type: Boolean,
|
|
46887
|
+
default: true
|
|
46832
46888
|
}
|
|
46833
46889
|
},
|
|
46834
46890
|
emits: ["clear", "update:list", "addClick"],
|
|
@@ -46845,13 +46901,38 @@ var process = {
|
|
|
46845
46901
|
}
|
|
46846
46902
|
}
|
|
46847
46903
|
function toAddTags() {
|
|
46848
|
-
|
|
46849
|
-
|
|
46904
|
+
if (!props.list.length || props.alwaysInvoke)
|
|
46905
|
+
emit("addClick");
|
|
46906
|
+
}
|
|
46907
|
+
const tooltipConfig = require$$1$1.ref({
|
|
46908
|
+
align: void 0,
|
|
46909
|
+
arrowPointAtCenter: false,
|
|
46910
|
+
autoAdjustOverflow: true,
|
|
46911
|
+
color: "#fff",
|
|
46912
|
+
defaultVisible: false,
|
|
46913
|
+
destroyTooltipOnHide: false,
|
|
46914
|
+
getPopupContainer,
|
|
46915
|
+
mouseEnterDelay: 0.1,
|
|
46916
|
+
mouseLeaveDelay: 0.1,
|
|
46917
|
+
overlayClassName: "__list-filter-popover",
|
|
46918
|
+
overlayStyle: null,
|
|
46919
|
+
placement: props.placement,
|
|
46920
|
+
trigger: "hover"
|
|
46921
|
+
});
|
|
46922
|
+
require$$1$1.watch(() => props.toolTipProps, (tooltipprop) => {
|
|
46923
|
+
tooltipConfig.value = {
|
|
46924
|
+
...tooltipConfig.value,
|
|
46925
|
+
...tooltipprop
|
|
46926
|
+
};
|
|
46927
|
+
}, {
|
|
46928
|
+
immediate: true,
|
|
46929
|
+
deep: true
|
|
46930
|
+
});
|
|
46850
46931
|
return {
|
|
46851
46932
|
containId,
|
|
46852
46933
|
clear,
|
|
46853
46934
|
toAddTags,
|
|
46854
|
-
|
|
46935
|
+
tooltipConfig
|
|
46855
46936
|
};
|
|
46856
46937
|
}
|
|
46857
46938
|
});
|
|
@@ -46860,11 +46941,9 @@ var process = {
|
|
|
46860
46941
|
const _hoisted_3 = { class: "pop-seleted" };
|
|
46861
46942
|
const _hoisted_4 = { class: "pop-seleted-title" };
|
|
46862
46943
|
const _hoisted_5 = /* @__PURE__ */ require$$1$1.createTextVNode(" \u5DF2\u9009\u62E9");
|
|
46863
|
-
const _hoisted_6 =
|
|
46864
|
-
const _hoisted_7 = {
|
|
46865
|
-
const _hoisted_8 =
|
|
46866
|
-
const _hoisted_9 = { key: 2 };
|
|
46867
|
-
const _hoisted_10 = /* @__PURE__ */ require$$1$1.createElementVNode("div", null, null, -1);
|
|
46944
|
+
const _hoisted_6 = { key: 1 };
|
|
46945
|
+
const _hoisted_7 = { key: 2 };
|
|
46946
|
+
const _hoisted_8 = /* @__PURE__ */ require$$1$1.createElementVNode("div", null, null, -1);
|
|
46868
46947
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
46869
46948
|
const _component_a_tag = require$$1$1.resolveComponent("a-tag");
|
|
46870
46949
|
const _component_CloseCircleFilled = require$$1$1.resolveComponent("CloseCircleFilled");
|
|
@@ -46876,18 +46955,13 @@ var process = {
|
|
|
46876
46955
|
id: _ctx.containId,
|
|
46877
46956
|
class: "bm-tags-display-wrapper"
|
|
46878
46957
|
}, [
|
|
46879
|
-
require$$1$1.createVNode(_component_ToolTip, {
|
|
46880
|
-
color: "#fff",
|
|
46881
|
-
"get-popup-container": _ctx.getPopupContainer,
|
|
46882
|
-
placement: _ctx.placement,
|
|
46883
|
-
"overlay-class-name": "__list-filter-popover"
|
|
46884
|
-
}, {
|
|
46958
|
+
require$$1$1.createVNode(_component_ToolTip, require$$1$1.normalizeProps(require$$1$1.guardReactiveProps(_ctx.tooltipConfig)), {
|
|
46885
46959
|
title: require$$1$1.withCtx(() => [
|
|
46886
46960
|
require$$1$1.createElementVNode("div", _hoisted_3, [
|
|
46887
46961
|
require$$1$1.createElementVNode("div", _hoisted_4, [
|
|
46888
46962
|
_hoisted_5,
|
|
46889
46963
|
require$$1$1.createElementVNode("span", null, require$$1$1.toDisplayString(_ctx.list.length), 1),
|
|
46890
|
-
|
|
46964
|
+
require$$1$1.createTextVNode(require$$1$1.toDisplayString(_ctx.unitStr), 1)
|
|
46891
46965
|
])
|
|
46892
46966
|
]),
|
|
46893
46967
|
require$$1$1.createElementVNode("div", {
|
|
@@ -46909,7 +46983,10 @@ var process = {
|
|
|
46909
46983
|
], 32)
|
|
46910
46984
|
]),
|
|
46911
46985
|
default: require$$1$1.withCtx(() => [
|
|
46912
|
-
require$$1$1.createElementVNode("div",
|
|
46986
|
+
require$$1$1.createElementVNode("div", {
|
|
46987
|
+
class: "select-input-wrapper",
|
|
46988
|
+
onClick: _cache[4] || (_cache[4] = (...args) => _ctx.toAddTags && _ctx.toAddTags(...args))
|
|
46989
|
+
}, [
|
|
46913
46990
|
(require$$1$1.openBlock(true), require$$1$1.createElementBlock(require$$1$1.Fragment, null, require$$1$1.renderList(_ctx.list, (item) => {
|
|
46914
46991
|
return require$$1$1.openBlock(), require$$1$1.createBlock(_component_a_tag, {
|
|
46915
46992
|
key: item.key
|
|
@@ -46933,9 +47010,9 @@ var process = {
|
|
|
46933
47010
|
])
|
|
46934
47011
|
]),
|
|
46935
47012
|
_: 1
|
|
46936
|
-
},
|
|
47013
|
+
}, 16)
|
|
46937
47014
|
], 8, _hoisted_2)) : require$$1$1.createCommentVNode("v-if", true),
|
|
46938
|
-
_ctx.showEmptyBtn && !_ctx.list.length ? (require$$1$1.openBlock(), require$$1$1.createElementBlock("div",
|
|
47015
|
+
_ctx.showEmptyBtn && !_ctx.list.length ? (require$$1$1.openBlock(), require$$1$1.createElementBlock("div", _hoisted_6, [
|
|
46939
47016
|
require$$1$1.createVNode(_component_Button, {
|
|
46940
47017
|
onClick: require$$1$1.withModifiers(_ctx.toAddTags, ["stop"])
|
|
46941
47018
|
}, {
|
|
@@ -46945,13 +47022,13 @@ var process = {
|
|
|
46945
47022
|
_: 1
|
|
46946
47023
|
}, 8, ["onClick"])
|
|
46947
47024
|
])) : require$$1$1.createCommentVNode("v-if", true),
|
|
46948
|
-
_ctx.showEmpty && !_ctx.list.length ? (require$$1$1.openBlock(), require$$1$1.createElementBlock("div",
|
|
47025
|
+
_ctx.showEmpty && !_ctx.list.length ? (require$$1$1.openBlock(), require$$1$1.createElementBlock("div", _hoisted_7, [
|
|
46949
47026
|
require$$1$1.createElementVNode("div", {
|
|
46950
47027
|
class: "selector-empty-input",
|
|
46951
|
-
onClick: _cache[
|
|
46952
|
-
}, "\xA0\xA0" + require$$1$1.toDisplayString(_ctx.placeholder), 1)
|
|
47028
|
+
onClick: _cache[5] || (_cache[5] = require$$1$1.withModifiers((...args) => _ctx.toAddTags && _ctx.toAddTags(...args), ["stop"]))
|
|
47029
|
+
}, " \xA0\xA0" + require$$1$1.toDisplayString(_ctx.placeholder), 1)
|
|
46953
47030
|
])) : require$$1$1.createCommentVNode("v-if", true),
|
|
46954
|
-
|
|
47031
|
+
_hoisted_8
|
|
46955
47032
|
]);
|
|
46956
47033
|
}
|
|
46957
47034
|
var InputTagsDisplay = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "input-tags-display.vue"]]);
|