bm-admin-ui 1.0.2-alpha → 1.0.5-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/multi-cascader-compose/index.d.ts +29 -0
- package/es/components/multi-cascader-compose/index.js +51 -53
- package/es/components/multi-cascader-compose/src/multi-cascader-compose.vue.d.ts +29 -0
- package/es/components/multi-cascader-compose/src/props.d.ts +10 -2
- package/es/components/search-filter/index.d.ts +1 -3
- package/es/components/search-filter/index.js +53 -54
- package/es/components/search-filter/src/search-filter.vue.d.ts +1 -3
- package/es/components/shops-filter/index.js +92 -102
- package/es/components/staffs-selector/index.js +62 -41
- package/es/components/upload/index.js +6 -19
- package/index.esm.js +41510 -4174
- package/index.js +41509 -4173
- package/lib/components/multi-cascader-compose/index.d.ts +29 -0
- package/lib/components/multi-cascader-compose/index.js +50 -52
- package/lib/components/multi-cascader-compose/src/multi-cascader-compose.vue.d.ts +29 -0
- package/lib/components/multi-cascader-compose/src/props.d.ts +10 -2
- package/lib/components/search-filter/index.d.ts +1 -3
- package/lib/components/search-filter/index.js +52 -53
- package/lib/components/search-filter/src/search-filter.vue.d.ts +1 -3
- package/lib/components/shops-filter/index.js +91 -101
- package/lib/components/staffs-selector/index.js +62 -41
- package/lib/components/upload/index.js +6 -19
- package/package.json +29 -30
- package/theme-chalk/button.css +1 -1
- package/theme-chalk/float-table.css +1 -1
- package/theme-chalk/floating-vue.css +1 -1
- package/theme-chalk/flow-designer.css +1 -1
- package/theme-chalk/index.css +1 -1
- package/theme-chalk/multi-cascader-compose.css +1 -1
- package/theme-chalk/over-tooltips.css +1 -1
- package/theme-chalk/search-filter.css +1 -1
- package/theme-chalk/timeline.css +1 -1
- package/theme-chalk/upload.css +1 -1
- package/types/components/multi-cascader-compose/index.d.ts +29 -0
- package/types/components/multi-cascader-compose/src/multi-cascader-compose.vue.d.ts +29 -0
- package/types/components/multi-cascader-compose/src/props.d.ts +10 -2
- package/types/components/search-filter/index.d.ts +1 -3
- package/types/components/search-filter/src/search-filter.vue.d.ts +1 -3
- package/pnpm-global/5/node_modules/.pnpm/lock.yaml +0 -3
- package/pnpm-global/5/pnpm-lock.yaml +0 -4
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { withInstall } from 'bm-admin-ui/es/utils/with-install';
|
|
2
|
-
import { h, nextTick, createVNode, defineComponent, reactive, watch, onMounted, onUnmounted, toRefs, resolveComponent, openBlock, createElementBlock, withModifiers, createElementVNode, normalizeStyle, toDisplayString, normalizeClass,
|
|
2
|
+
import { h, nextTick, createVNode, defineComponent, reactive, watch, onMounted, onUnmounted, toRefs, resolveComponent, openBlock, createElementBlock, withModifiers, createElementVNode, normalizeStyle, toDisplayString, normalizeClass, withCtx, Fragment, renderList, createCommentVNode, withDirectives, vShow, createTextVNode, createBlock } from 'vue';
|
|
3
3
|
import { InputSearch } from 'ant-design-vue/lib/input';
|
|
4
4
|
import Checkbox from 'ant-design-vue/lib/checkbox';
|
|
5
5
|
import Button from 'ant-design-vue/lib/button';
|
|
@@ -70,7 +70,7 @@ function boundAlpha(a) {
|
|
|
70
70
|
*/
|
|
71
71
|
function convertToPercentage(n) {
|
|
72
72
|
if (n <= 1) {
|
|
73
|
-
return
|
|
73
|
+
return Number(n) * 100 + "%";
|
|
74
74
|
}
|
|
75
75
|
return n;
|
|
76
76
|
}
|
|
@@ -452,12 +452,12 @@ var CSS_INTEGER = '[-\\+]?\\d+%?';
|
|
|
452
452
|
// <http://www.w3.org/TR/css3-values/#number-value>
|
|
453
453
|
var CSS_NUMBER = '[-\\+]?\\d*\\.\\d+%?';
|
|
454
454
|
// Allow positive/negative integer/number. Don't capture the either/or, just the entire outcome.
|
|
455
|
-
var CSS_UNIT = "(?:"
|
|
455
|
+
var CSS_UNIT = "(?:" + CSS_NUMBER + ")|(?:" + CSS_INTEGER + ")";
|
|
456
456
|
// Actual matching.
|
|
457
457
|
// Parentheses and commas are optional, but not required.
|
|
458
458
|
// Whitespace can take the place of commas or opening paren
|
|
459
|
-
var PERMISSIVE_MATCH3 = "[\\s|\\(]+("
|
|
460
|
-
var PERMISSIVE_MATCH4 = "[\\s|\\(]+("
|
|
459
|
+
var PERMISSIVE_MATCH3 = "[\\s|\\(]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")\\s*\\)?";
|
|
460
|
+
var PERMISSIVE_MATCH4 = "[\\s|\\(]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")\\s*\\)?";
|
|
461
461
|
var matchers = {
|
|
462
462
|
CSS_UNIT: new RegExp(CSS_UNIT),
|
|
463
463
|
rgb: new RegExp('rgb' + PERMISSIVE_MATCH3),
|
|
@@ -782,19 +782,6 @@ Object.keys(presetPrimaryColors).forEach(function (key) {
|
|
|
782
782
|
});
|
|
783
783
|
presetDarkPalettes[key].primary = presetDarkPalettes[key][5];
|
|
784
784
|
});
|
|
785
|
-
presetPalettes.red;
|
|
786
|
-
presetPalettes.volcano;
|
|
787
|
-
presetPalettes.gold;
|
|
788
|
-
presetPalettes.orange;
|
|
789
|
-
presetPalettes.yellow;
|
|
790
|
-
presetPalettes.lime;
|
|
791
|
-
presetPalettes.green;
|
|
792
|
-
presetPalettes.cyan;
|
|
793
|
-
presetPalettes.blue;
|
|
794
|
-
presetPalettes.geekblue;
|
|
795
|
-
presetPalettes.purple;
|
|
796
|
-
presetPalettes.magenta;
|
|
797
|
-
presetPalettes.grey;
|
|
798
785
|
|
|
799
786
|
// https://github.com/substack/insert-css
|
|
800
787
|
var containers = []; // will store container HTMLElement references
|
|
@@ -1372,34 +1359,36 @@ const _sfc_main = defineComponent({
|
|
|
1372
1359
|
};
|
|
1373
1360
|
}
|
|
1374
1361
|
});
|
|
1375
|
-
const _hoisted_1 =
|
|
1376
|
-
const _hoisted_2 =
|
|
1377
|
-
const _hoisted_3 = { class: "
|
|
1378
|
-
const _hoisted_4 =
|
|
1379
|
-
const _hoisted_5 =
|
|
1380
|
-
const _hoisted_6 =
|
|
1381
|
-
const _hoisted_7 =
|
|
1362
|
+
const _hoisted_1 = { key: 0 };
|
|
1363
|
+
const _hoisted_2 = /* @__PURE__ */ createElementVNode("span", null, "\u8BF7\u9009\u62E9", -1);
|
|
1364
|
+
const _hoisted_3 = { class: "input-icon active-icon" };
|
|
1365
|
+
const _hoisted_4 = { key: 1 };
|
|
1366
|
+
const _hoisted_5 = { class: "pop-seleted-title" };
|
|
1367
|
+
const _hoisted_6 = /* @__PURE__ */ createTextVNode(" \u5DF2\u9009\u62E9");
|
|
1368
|
+
const _hoisted_7 = /* @__PURE__ */ createTextVNode("\u9879 ");
|
|
1369
|
+
const _hoisted_8 = { class: "__shops-filter-list" };
|
|
1370
|
+
const _hoisted_9 = {
|
|
1382
1371
|
key: 0,
|
|
1383
1372
|
class: "__shops-filter-tabs"
|
|
1384
1373
|
};
|
|
1385
|
-
const
|
|
1386
|
-
const
|
|
1387
|
-
const
|
|
1388
|
-
const
|
|
1389
|
-
const
|
|
1390
|
-
const
|
|
1391
|
-
const
|
|
1392
|
-
const
|
|
1393
|
-
const
|
|
1394
|
-
const
|
|
1395
|
-
const
|
|
1396
|
-
const
|
|
1374
|
+
const _hoisted_10 = { class: "label" };
|
|
1375
|
+
const _hoisted_11 = { class: "__shops-filter-areas" };
|
|
1376
|
+
const _hoisted_12 = ["onClick"];
|
|
1377
|
+
const _hoisted_13 = ["onClick"];
|
|
1378
|
+
const _hoisted_14 = { class: "__shops-filter-selecting" };
|
|
1379
|
+
const _hoisted_15 = /* @__PURE__ */ createTextVNode(" \u5DF2\u9009\u62E9");
|
|
1380
|
+
const _hoisted_16 = /* @__PURE__ */ createTextVNode("\u9879 ");
|
|
1381
|
+
const _hoisted_17 = { class: "__checkbox-operate-box" };
|
|
1382
|
+
const _hoisted_18 = /* @__PURE__ */ createTextVNode("\u5168\u9009");
|
|
1383
|
+
const _hoisted_19 = /* @__PURE__ */ createTextVNode("\u53CD\u9009");
|
|
1384
|
+
const _hoisted_20 = /* @__PURE__ */ createTextVNode("\u6E05\u7A7A");
|
|
1385
|
+
const _hoisted_21 = {
|
|
1397
1386
|
key: 0,
|
|
1398
1387
|
class: "__shops-filter-selecting"
|
|
1399
1388
|
};
|
|
1400
|
-
const
|
|
1401
|
-
const
|
|
1402
|
-
const
|
|
1389
|
+
const _hoisted_22 = /* @__PURE__ */ createTextVNode(" \u5DF2\u9009\u62E9");
|
|
1390
|
+
const _hoisted_23 = /* @__PURE__ */ createTextVNode("\u9879 ");
|
|
1391
|
+
const _hoisted_24 = /* @__PURE__ */ createElementVNode("span", { style: { "color": "#9393a3" } }, "\u6682\u65E0\u6570\u636E", -1);
|
|
1403
1392
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1404
1393
|
const _component_down_outlined = resolveComponent("down-outlined");
|
|
1405
1394
|
const _component_close_circle_filled = resolveComponent("close-circle-filled");
|
|
@@ -1426,60 +1415,61 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1426
1415
|
style: normalizeStyle({ width: _ctx.displayParams?.width || "436px" }),
|
|
1427
1416
|
onClick: _cache[3] || (_cache[3] = (...args) => _ctx.triggleActive && _ctx.triggleActive(...args))
|
|
1428
1417
|
}, [
|
|
1429
|
-
_ctx.selected && !_ctx.selected.length ? (openBlock(), createElementBlock(
|
|
1430
|
-
|
|
1431
|
-
createElementVNode("span",
|
|
1418
|
+
_ctx.selected && !_ctx.selected.length ? (openBlock(), createElementBlock("div", _hoisted_1, [
|
|
1419
|
+
_hoisted_2,
|
|
1420
|
+
createElementVNode("span", _hoisted_3, [
|
|
1432
1421
|
createVNode(_component_down_outlined)
|
|
1433
1422
|
])
|
|
1434
|
-
]
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
createElementVNode("div", {
|
|
1441
|
-
class: "pop-seleted",
|
|
1442
|
-
style: normalizeStyle({ "min-width": _ctx.displayParams?.width || "436px" })
|
|
1443
|
-
}, [
|
|
1444
|
-
createElementVNode("div", _hoisted_3, [
|
|
1445
|
-
_hoisted_4,
|
|
1446
|
-
createElementVNode("span", null, toDisplayString(_ctx.selected.length), 1),
|
|
1447
|
-
_hoisted_5
|
|
1448
|
-
]),
|
|
1423
|
+
])) : _ctx.selected && _ctx.selected.length ? (openBlock(), createElementBlock("div", _hoisted_4, [
|
|
1424
|
+
createVNode(_component_Popover, {
|
|
1425
|
+
title: "",
|
|
1426
|
+
"overlay-class-name": "__shops-filter-popover"
|
|
1427
|
+
}, {
|
|
1428
|
+
content: withCtx(() => [
|
|
1449
1429
|
createElementVNode("div", {
|
|
1450
|
-
class: "pop-seleted
|
|
1451
|
-
|
|
1452
|
-
}, ["stop"]))
|
|
1430
|
+
class: "pop-seleted",
|
|
1431
|
+
style: normalizeStyle({ "min-width": _ctx.displayParams?.width || "436px" })
|
|
1453
1432
|
}, [
|
|
1433
|
+
createElementVNode("div", _hoisted_5, [
|
|
1434
|
+
_hoisted_6,
|
|
1435
|
+
createElementVNode("span", null, toDisplayString(_ctx.selected.length), 1),
|
|
1436
|
+
_hoisted_7
|
|
1437
|
+
]),
|
|
1438
|
+
createElementVNode("div", {
|
|
1439
|
+
class: "pop-seleted-shops",
|
|
1440
|
+
onWheel: _cache[0] || (_cache[0] = withModifiers(() => {
|
|
1441
|
+
}, ["stop"]))
|
|
1442
|
+
}, [
|
|
1443
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.selected, (item) => {
|
|
1444
|
+
return openBlock(), createElementBlock("div", {
|
|
1445
|
+
key: item,
|
|
1446
|
+
class: "pop-seleted-item"
|
|
1447
|
+
}, toDisplayString(_ctx.shopListByCode[item]), 1);
|
|
1448
|
+
}), 128))
|
|
1449
|
+
], 32)
|
|
1450
|
+
], 4)
|
|
1451
|
+
]),
|
|
1452
|
+
default: withCtx(() => [
|
|
1453
|
+
createElementVNode("div", _hoisted_8, [
|
|
1454
1454
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.selected, (item) => {
|
|
1455
1455
|
return openBlock(), createElementBlock("div", {
|
|
1456
1456
|
key: item,
|
|
1457
|
-
class: "
|
|
1457
|
+
class: "selected-tag"
|
|
1458
1458
|
}, toDisplayString(_ctx.shopListByCode[item]), 1);
|
|
1459
|
-
}), 128))
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
onClick: _cache[1] || (_cache[1] = withModifiers((...args) => _ctx.clearAllSelected && _ctx.clearAllSelected(...args), ["stop"])),
|
|
1474
|
-
onMouseover: _cache[2] || (_cache[2] = withModifiers(() => {
|
|
1475
|
-
}, ["stop"]))
|
|
1476
|
-
}, [
|
|
1477
|
-
createVNode(_component_close_circle_filled, { style: { "color": "#9393a3" } })
|
|
1478
|
-
], 32)
|
|
1479
|
-
])
|
|
1480
|
-
]),
|
|
1481
|
-
_: 1
|
|
1482
|
-
})) : createCommentVNode("v-if", true)
|
|
1459
|
+
}), 128)),
|
|
1460
|
+
createElementVNode("div", {
|
|
1461
|
+
class: "delete-icon",
|
|
1462
|
+
onClick: _cache[1] || (_cache[1] = withModifiers((...args) => _ctx.clearAllSelected && _ctx.clearAllSelected(...args), ["stop"])),
|
|
1463
|
+
onMouseover: _cache[2] || (_cache[2] = withModifiers(() => {
|
|
1464
|
+
}, ["stop"]))
|
|
1465
|
+
}, [
|
|
1466
|
+
createVNode(_component_close_circle_filled, { style: { "color": "#9393a3" } })
|
|
1467
|
+
], 32)
|
|
1468
|
+
])
|
|
1469
|
+
]),
|
|
1470
|
+
_: 1
|
|
1471
|
+
})
|
|
1472
|
+
])) : createCommentVNode("v-if", true)
|
|
1483
1473
|
], 6),
|
|
1484
1474
|
withDirectives(createElementVNode("div", {
|
|
1485
1475
|
class: "__shops-filter-search-input",
|
|
@@ -1498,38 +1488,38 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1498
1488
|
withDirectives(createElementVNode("div", {
|
|
1499
1489
|
class: normalizeClass(["__shops-filter-content", { "__shops-filter-no-absolute": _ctx.showAlways }])
|
|
1500
1490
|
}, [
|
|
1501
|
-
_ctx.filterArr && _ctx.filterArr.length ? (openBlock(), createElementBlock("div",
|
|
1491
|
+
_ctx.filterArr && _ctx.filterArr.length ? (openBlock(), createElementBlock("div", _hoisted_9, [
|
|
1502
1492
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.filterArr, (item, index) => {
|
|
1503
1493
|
return openBlock(), createElementBlock("div", {
|
|
1504
1494
|
key: item.paramsStr,
|
|
1505
1495
|
class: "__shops-filter-area-tabs"
|
|
1506
1496
|
}, [
|
|
1507
|
-
createElementVNode("div",
|
|
1508
|
-
createElementVNode("div",
|
|
1497
|
+
createElementVNode("div", _hoisted_10, toDisplayString(item.label) + ":", 1),
|
|
1498
|
+
createElementVNode("div", _hoisted_11, [
|
|
1509
1499
|
createElementVNode("span", {
|
|
1510
1500
|
class: normalizeClass({
|
|
1511
1501
|
active: !(item.multiple ? _ctx.filterSelects[index].length : !!_ctx.filterSelects[index])
|
|
1512
1502
|
}),
|
|
1513
1503
|
onClick: withModifiers(($event) => _ctx.changeFilterSelect(index, ""), ["self"])
|
|
1514
|
-
}, "\u5168\u90E8", 10,
|
|
1504
|
+
}, "\u5168\u90E8", 10, _hoisted_12),
|
|
1515
1505
|
(openBlock(true), createElementBlock(Fragment, null, renderList(item.list, (element) => {
|
|
1516
1506
|
return openBlock(), createElementBlock("span", {
|
|
1517
1507
|
key: element.code,
|
|
1518
1508
|
class: normalizeClass({ active: _ctx.filterIsActive(index, element.code) }),
|
|
1519
1509
|
onClick: withModifiers(($event) => _ctx.changeFilterSelect(index, element.code), ["self"])
|
|
1520
|
-
}, toDisplayString(element.label), 11,
|
|
1510
|
+
}, toDisplayString(element.label), 11, _hoisted_13);
|
|
1521
1511
|
}), 128))
|
|
1522
1512
|
])
|
|
1523
1513
|
]);
|
|
1524
1514
|
}), 128)),
|
|
1525
|
-
createElementVNode("div",
|
|
1526
|
-
|
|
1515
|
+
createElementVNode("div", _hoisted_14, [
|
|
1516
|
+
_hoisted_15,
|
|
1527
1517
|
createElementVNode("span", null, toDisplayString(_ctx.selected.length), 1),
|
|
1528
|
-
|
|
1518
|
+
_hoisted_16
|
|
1529
1519
|
])
|
|
1530
1520
|
])) : createCommentVNode("v-if", true),
|
|
1531
1521
|
_ctx.shopList && _ctx.shopList.length ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
1532
|
-
createElementVNode("div",
|
|
1522
|
+
createElementVNode("div", _hoisted_17, [
|
|
1533
1523
|
createVNode(_component_Checkbox, {
|
|
1534
1524
|
checked: _ctx.checkAll,
|
|
1535
1525
|
"onUpdate:checked": _cache[5] || (_cache[5] = ($event) => _ctx.checkAll = $event),
|
|
@@ -1537,7 +1527,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1537
1527
|
onChange: _ctx.onCheckAllChange
|
|
1538
1528
|
}, {
|
|
1539
1529
|
default: withCtx(() => [
|
|
1540
|
-
|
|
1530
|
+
_hoisted_18
|
|
1541
1531
|
]),
|
|
1542
1532
|
_: 1
|
|
1543
1533
|
}, 8, ["checked", "indeterminate", "onChange"]),
|
|
@@ -1547,7 +1537,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1547
1537
|
onChange: _ctx.invertChange
|
|
1548
1538
|
}, {
|
|
1549
1539
|
default: withCtx(() => [
|
|
1550
|
-
|
|
1540
|
+
_hoisted_19
|
|
1551
1541
|
]),
|
|
1552
1542
|
_: 1
|
|
1553
1543
|
}, 8, ["checked", "onChange"]),
|
|
@@ -1559,14 +1549,14 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1559
1549
|
createVNode(_component_delete_outlined)
|
|
1560
1550
|
]),
|
|
1561
1551
|
default: withCtx(() => [
|
|
1562
|
-
|
|
1552
|
+
_hoisted_20
|
|
1563
1553
|
]),
|
|
1564
1554
|
_: 1
|
|
1565
1555
|
}, 8, ["onClick"]),
|
|
1566
|
-
_ctx.filterArr && !_ctx.filterArr.length ? (openBlock(), createElementBlock("div",
|
|
1567
|
-
|
|
1556
|
+
_ctx.filterArr && !_ctx.filterArr.length ? (openBlock(), createElementBlock("div", _hoisted_21, [
|
|
1557
|
+
_hoisted_22,
|
|
1568
1558
|
createElementVNode("span", null, toDisplayString(_ctx.selected.length), 1),
|
|
1569
|
-
|
|
1559
|
+
_hoisted_23
|
|
1570
1560
|
])) : createCommentVNode("v-if", true)
|
|
1571
1561
|
]),
|
|
1572
1562
|
createElementVNode("div", {
|
|
@@ -1598,7 +1588,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1598
1588
|
], 64)) : createCommentVNode("v-if", true),
|
|
1599
1589
|
_ctx.shopList && !_ctx.shopList.length ? (openBlock(), createBlock(_component_Empty, { key: 2 }, {
|
|
1600
1590
|
description: withCtx(() => [
|
|
1601
|
-
|
|
1591
|
+
_hoisted_24
|
|
1602
1592
|
]),
|
|
1603
1593
|
_: 1
|
|
1604
1594
|
})) : createCommentVNode("v-if", true)
|
|
@@ -71,7 +71,7 @@ function boundAlpha(a) {
|
|
|
71
71
|
*/
|
|
72
72
|
function convertToPercentage(n) {
|
|
73
73
|
if (n <= 1) {
|
|
74
|
-
return
|
|
74
|
+
return Number(n) * 100 + "%";
|
|
75
75
|
}
|
|
76
76
|
return n;
|
|
77
77
|
}
|
|
@@ -453,12 +453,12 @@ var CSS_INTEGER = '[-\\+]?\\d+%?';
|
|
|
453
453
|
// <http://www.w3.org/TR/css3-values/#number-value>
|
|
454
454
|
var CSS_NUMBER = '[-\\+]?\\d*\\.\\d+%?';
|
|
455
455
|
// Allow positive/negative integer/number. Don't capture the either/or, just the entire outcome.
|
|
456
|
-
var CSS_UNIT = "(?:"
|
|
456
|
+
var CSS_UNIT = "(?:" + CSS_NUMBER + ")|(?:" + CSS_INTEGER + ")";
|
|
457
457
|
// Actual matching.
|
|
458
458
|
// Parentheses and commas are optional, but not required.
|
|
459
459
|
// Whitespace can take the place of commas or opening paren
|
|
460
|
-
var PERMISSIVE_MATCH3 = "[\\s|\\(]+("
|
|
461
|
-
var PERMISSIVE_MATCH4 = "[\\s|\\(]+("
|
|
460
|
+
var PERMISSIVE_MATCH3 = "[\\s|\\(]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")\\s*\\)?";
|
|
461
|
+
var PERMISSIVE_MATCH4 = "[\\s|\\(]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")\\s*\\)?";
|
|
462
462
|
var matchers = {
|
|
463
463
|
CSS_UNIT: new RegExp(CSS_UNIT),
|
|
464
464
|
rgb: new RegExp('rgb' + PERMISSIVE_MATCH3),
|
|
@@ -783,19 +783,6 @@ Object.keys(presetPrimaryColors).forEach(function (key) {
|
|
|
783
783
|
});
|
|
784
784
|
presetDarkPalettes[key].primary = presetDarkPalettes[key][5];
|
|
785
785
|
});
|
|
786
|
-
presetPalettes.red;
|
|
787
|
-
presetPalettes.volcano;
|
|
788
|
-
presetPalettes.gold;
|
|
789
|
-
presetPalettes.orange;
|
|
790
|
-
presetPalettes.yellow;
|
|
791
|
-
presetPalettes.lime;
|
|
792
|
-
presetPalettes.green;
|
|
793
|
-
presetPalettes.cyan;
|
|
794
|
-
presetPalettes.blue;
|
|
795
|
-
presetPalettes.geekblue;
|
|
796
|
-
presetPalettes.purple;
|
|
797
|
-
presetPalettes.magenta;
|
|
798
|
-
presetPalettes.grey;
|
|
799
786
|
|
|
800
787
|
// https://github.com/substack/insert-css
|
|
801
788
|
var containers = []; // will store container HTMLElement references
|
|
@@ -857,9 +844,9 @@ function insertCss(css, options) {
|
|
|
857
844
|
return styleElement;
|
|
858
845
|
}
|
|
859
846
|
|
|
860
|
-
function _objectSpread$
|
|
847
|
+
function _objectSpread$4(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; }
|
|
861
848
|
|
|
862
|
-
function _defineProperty$
|
|
849
|
+
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; }
|
|
863
850
|
function warn(valid, message) {
|
|
864
851
|
// Support uglify
|
|
865
852
|
if (process.env.NODE_ENV !== 'production' && !valid && console !== undefined) {
|
|
@@ -875,14 +862,14 @@ function isIconDefinition(target) {
|
|
|
875
862
|
}
|
|
876
863
|
function generate(node, key, rootProps) {
|
|
877
864
|
if (!rootProps) {
|
|
878
|
-
return h(node.tag, _objectSpread$
|
|
865
|
+
return h(node.tag, _objectSpread$4({
|
|
879
866
|
key: key
|
|
880
867
|
}, node.attrs), (node.children || []).map(function (child, index) {
|
|
881
868
|
return generate(child, "".concat(key, "-").concat(node.tag, "-").concat(index));
|
|
882
869
|
}));
|
|
883
870
|
}
|
|
884
871
|
|
|
885
|
-
return h(node.tag, _objectSpread$
|
|
872
|
+
return h(node.tag, _objectSpread$4({
|
|
886
873
|
key: key
|
|
887
874
|
}, rootProps, node.attrs), (node.children || []).map(function (child, index) {
|
|
888
875
|
return generate(child, "".concat(key, "-").concat(node.tag, "-").concat(index));
|
|
@@ -922,9 +909,9 @@ function _objectWithoutProperties$1(source, excluded) { if (source == null) retu
|
|
|
922
909
|
|
|
923
910
|
function _objectWithoutPropertiesLoose$1(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
924
911
|
|
|
925
|
-
function _objectSpread$
|
|
912
|
+
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$3(target, key, source[key]); }); } return target; }
|
|
926
913
|
|
|
927
|
-
function _defineProperty$
|
|
914
|
+
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; }
|
|
928
915
|
var twoToneColorPalette = {
|
|
929
916
|
primaryColor: '#333',
|
|
930
917
|
secondaryColor: '#E6E6E6',
|
|
@@ -940,11 +927,11 @@ function setTwoToneColors(_ref) {
|
|
|
940
927
|
}
|
|
941
928
|
|
|
942
929
|
function getTwoToneColors() {
|
|
943
|
-
return _objectSpread$
|
|
930
|
+
return _objectSpread$3({}, twoToneColorPalette);
|
|
944
931
|
}
|
|
945
932
|
|
|
946
933
|
var IconBase = function IconBase(props, context) {
|
|
947
|
-
var _props$context$attrs = _objectSpread$
|
|
934
|
+
var _props$context$attrs = _objectSpread$3({}, props, context.attrs),
|
|
948
935
|
icon = _props$context$attrs.icon,
|
|
949
936
|
primaryColor = _props$context$attrs.primaryColor,
|
|
950
937
|
secondaryColor = _props$context$attrs.secondaryColor,
|
|
@@ -969,12 +956,12 @@ var IconBase = function IconBase(props, context) {
|
|
|
969
956
|
var target = icon;
|
|
970
957
|
|
|
971
958
|
if (target && typeof target.icon === 'function') {
|
|
972
|
-
target = _objectSpread$
|
|
959
|
+
target = _objectSpread$3({}, target, {
|
|
973
960
|
icon: target.icon(colors.primaryColor, colors.secondaryColor)
|
|
974
961
|
});
|
|
975
962
|
}
|
|
976
963
|
|
|
977
|
-
return generate(target.icon, "svg-".concat(target.name), _objectSpread$
|
|
964
|
+
return generate(target.icon, "svg-".concat(target.name), _objectSpread$3({}, restProps, {
|
|
978
965
|
'data-icon': target.name,
|
|
979
966
|
width: '1em',
|
|
980
967
|
height: '1em',
|
|
@@ -1041,9 +1028,9 @@ function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Sy
|
|
|
1041
1028
|
|
|
1042
1029
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
1043
1030
|
|
|
1044
|
-
function _objectSpread$
|
|
1031
|
+
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$2(target, key, source[key]); }); } return target; }
|
|
1045
1032
|
|
|
1046
|
-
function _defineProperty$
|
|
1033
|
+
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; }
|
|
1047
1034
|
|
|
1048
1035
|
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
1049
1036
|
|
|
@@ -1054,7 +1041,7 @@ setTwoToneColor('#1890ff');
|
|
|
1054
1041
|
var Icon = function Icon(props, context) {
|
|
1055
1042
|
var _classObj;
|
|
1056
1043
|
|
|
1057
|
-
var _props$context$attrs = _objectSpread$
|
|
1044
|
+
var _props$context$attrs = _objectSpread$2({}, props, context.attrs),
|
|
1058
1045
|
cls = _props$context$attrs["class"],
|
|
1059
1046
|
icon = _props$context$attrs.icon,
|
|
1060
1047
|
spin = _props$context$attrs.spin,
|
|
@@ -1066,7 +1053,7 @@ var Icon = function Icon(props, context) {
|
|
|
1066
1053
|
|
|
1067
1054
|
var classObj = (_classObj = {
|
|
1068
1055
|
anticon: true
|
|
1069
|
-
}, _defineProperty$
|
|
1056
|
+
}, _defineProperty$2(_classObj, "anticon-".concat(icon.name), Boolean(icon.name)), _defineProperty$2(_classObj, cls, cls), _classObj);
|
|
1070
1057
|
var svgClassString = spin === '' || !!spin || icon.name === 'loading' ? 'anticon-spin' : '';
|
|
1071
1058
|
var iconTabIndex = tabindex;
|
|
1072
1059
|
|
|
@@ -1085,7 +1072,7 @@ var Icon = function Icon(props, context) {
|
|
|
1085
1072
|
primaryColor = _normalizeTwoToneColo2[0],
|
|
1086
1073
|
secondaryColor = _normalizeTwoToneColo2[1];
|
|
1087
1074
|
|
|
1088
|
-
return createVNode("span", _objectSpread$
|
|
1075
|
+
return createVNode("span", _objectSpread$2({
|
|
1089
1076
|
"role": "img",
|
|
1090
1077
|
"aria-label": icon.name
|
|
1091
1078
|
}, restProps, {
|
|
@@ -1116,14 +1103,14 @@ var AntdIcon = Icon;
|
|
|
1116
1103
|
var CloseCircleFilled$2 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm165.4 618.2l-66-.3L512 563.4l-99.3 118.4-66.1.3c-4.4 0-8-3.5-8-8 0-1.9.7-3.7 1.9-5.2l130.1-155L340.5 359a8.32 8.32 0 01-1.9-5.2c0-4.4 3.6-8 8-8l66.1.3L512 464.6l99.3-118.4 66-.3c4.4 0 8 3.5 8 8 0 1.9-.7 3.7-1.9 5.2L553.5 514l130 155c1.2 1.5 1.9 3.3 1.9 5.2 0 4.4-3.6 8-8 8z" } }] }, "name": "close-circle", "theme": "filled" };
|
|
1117
1104
|
var CloseCircleFilledSvg = CloseCircleFilled$2;
|
|
1118
1105
|
|
|
1119
|
-
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(target, key, source[key]); }); } return target; }
|
|
1106
|
+
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$1(target, key, source[key]); }); } return target; }
|
|
1120
1107
|
|
|
1121
|
-
function _defineProperty(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; }
|
|
1108
|
+
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; }
|
|
1122
1109
|
|
|
1123
1110
|
var CloseCircleFilled = function CloseCircleFilled(props, context) {
|
|
1124
|
-
var p = _objectSpread({}, props, context.attrs);
|
|
1111
|
+
var p = _objectSpread$1({}, props, context.attrs);
|
|
1125
1112
|
|
|
1126
|
-
return createVNode(AntdIcon, _objectSpread({}, p, {
|
|
1113
|
+
return createVNode(AntdIcon, _objectSpread$1({}, p, {
|
|
1127
1114
|
"icon": CloseCircleFilledSvg
|
|
1128
1115
|
}), null);
|
|
1129
1116
|
};
|
|
@@ -1132,6 +1119,26 @@ CloseCircleFilled.displayName = 'CloseCircleFilled';
|
|
|
1132
1119
|
CloseCircleFilled.inheritAttrs = false;
|
|
1133
1120
|
var CloseCircleFilled$1 = CloseCircleFilled;
|
|
1134
1121
|
|
|
1122
|
+
// This icon file is generated automatically.
|
|
1123
|
+
var SearchOutlined$2 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z" } }] }, "name": "search", "theme": "outlined" };
|
|
1124
|
+
var SearchOutlinedSvg = SearchOutlined$2;
|
|
1125
|
+
|
|
1126
|
+
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(target, key, source[key]); }); } return target; }
|
|
1127
|
+
|
|
1128
|
+
function _defineProperty(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; }
|
|
1129
|
+
|
|
1130
|
+
var SearchOutlined = function SearchOutlined(props, context) {
|
|
1131
|
+
var p = _objectSpread({}, props, context.attrs);
|
|
1132
|
+
|
|
1133
|
+
return createVNode(AntdIcon, _objectSpread({}, p, {
|
|
1134
|
+
"icon": SearchOutlinedSvg
|
|
1135
|
+
}), null);
|
|
1136
|
+
};
|
|
1137
|
+
|
|
1138
|
+
SearchOutlined.displayName = 'SearchOutlined';
|
|
1139
|
+
SearchOutlined.inheritAttrs = false;
|
|
1140
|
+
var SearchOutlined$1 = SearchOutlined;
|
|
1141
|
+
|
|
1135
1142
|
var _export_sfc = (sfc, props) => {
|
|
1136
1143
|
const target = sfc.__vccOpts || sfc;
|
|
1137
1144
|
for (const [key, val] of props) {
|
|
@@ -1141,7 +1148,14 @@ var _export_sfc = (sfc, props) => {
|
|
|
1141
1148
|
};
|
|
1142
1149
|
|
|
1143
1150
|
const _sfc_main$3 = defineComponent({
|
|
1144
|
-
components: {
|
|
1151
|
+
components: {
|
|
1152
|
+
CloseCircleFilled: CloseCircleFilled$1,
|
|
1153
|
+
SearchOutlined: SearchOutlined$1,
|
|
1154
|
+
Empty,
|
|
1155
|
+
AInput,
|
|
1156
|
+
Checkbox,
|
|
1157
|
+
ATree
|
|
1158
|
+
},
|
|
1145
1159
|
props: {
|
|
1146
1160
|
limit: {
|
|
1147
1161
|
type: Number,
|
|
@@ -1403,7 +1417,7 @@ var multipleCmp = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["render", _sfc_rend
|
|
|
1403
1417
|
|
|
1404
1418
|
const _sfc_main$2 = defineComponent({
|
|
1405
1419
|
name: "RadioCmp",
|
|
1406
|
-
components: { ARadio, AInput, ARadioGroup: Group },
|
|
1420
|
+
components: { ARadio, AInput, ARadioGroup: Group, Empty, SearchOutlined: SearchOutlined$1 },
|
|
1407
1421
|
props: {
|
|
1408
1422
|
list: {
|
|
1409
1423
|
type: Array,
|
|
@@ -1501,7 +1515,14 @@ var radioCmp = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _sfc_render$
|
|
|
1501
1515
|
|
|
1502
1516
|
const _sfc_main$1 = defineComponent({
|
|
1503
1517
|
name: "VariedCmp",
|
|
1504
|
-
components: {
|
|
1518
|
+
components: {
|
|
1519
|
+
CloseCircleFilled: CloseCircleFilled$1,
|
|
1520
|
+
SearchOutlined: SearchOutlined$1,
|
|
1521
|
+
AInput,
|
|
1522
|
+
Checkbox,
|
|
1523
|
+
ATree,
|
|
1524
|
+
Empty
|
|
1525
|
+
},
|
|
1505
1526
|
props: {
|
|
1506
1527
|
list: {
|
|
1507
1528
|
type: Array,
|
|
@@ -1801,7 +1822,7 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1801
1822
|
]);
|
|
1802
1823
|
}), 128))
|
|
1803
1824
|
])) : createCommentVNode("v-if", true)
|
|
1804
|
-
],
|
|
1825
|
+
], 64))
|
|
1805
1826
|
])
|
|
1806
1827
|
]),
|
|
1807
1828
|
createElementVNode("div", _hoisted_14, [
|
|
@@ -1906,7 +1927,7 @@ const _sfc_main = defineComponent({
|
|
|
1906
1927
|
},
|
|
1907
1928
|
summitSelect() {
|
|
1908
1929
|
if (typeof state.selected === "string") {
|
|
1909
|
-
emit("update:select", state.dataMap.get(state.selected));
|
|
1930
|
+
emit("update:select", [state.dataMap.get(state.selected)]);
|
|
1910
1931
|
} else if (state.selected instanceof Array) {
|
|
1911
1932
|
emit("update:select", state.selected.map((item) => state.dataMap.get(item)));
|
|
1912
1933
|
}
|
|
@@ -65,7 +65,7 @@ function boundAlpha(a) {
|
|
|
65
65
|
*/
|
|
66
66
|
function convertToPercentage(n) {
|
|
67
67
|
if (n <= 1) {
|
|
68
|
-
return
|
|
68
|
+
return Number(n) * 100 + "%";
|
|
69
69
|
}
|
|
70
70
|
return n;
|
|
71
71
|
}
|
|
@@ -447,12 +447,12 @@ var CSS_INTEGER = '[-\\+]?\\d+%?';
|
|
|
447
447
|
// <http://www.w3.org/TR/css3-values/#number-value>
|
|
448
448
|
var CSS_NUMBER = '[-\\+]?\\d*\\.\\d+%?';
|
|
449
449
|
// Allow positive/negative integer/number. Don't capture the either/or, just the entire outcome.
|
|
450
|
-
var CSS_UNIT = "(?:"
|
|
450
|
+
var CSS_UNIT = "(?:" + CSS_NUMBER + ")|(?:" + CSS_INTEGER + ")";
|
|
451
451
|
// Actual matching.
|
|
452
452
|
// Parentheses and commas are optional, but not required.
|
|
453
453
|
// Whitespace can take the place of commas or opening paren
|
|
454
|
-
var PERMISSIVE_MATCH3 = "[\\s|\\(]+("
|
|
455
|
-
var PERMISSIVE_MATCH4 = "[\\s|\\(]+("
|
|
454
|
+
var PERMISSIVE_MATCH3 = "[\\s|\\(]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")\\s*\\)?";
|
|
455
|
+
var PERMISSIVE_MATCH4 = "[\\s|\\(]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")\\s*\\)?";
|
|
456
456
|
var matchers = {
|
|
457
457
|
CSS_UNIT: new RegExp(CSS_UNIT),
|
|
458
458
|
rgb: new RegExp('rgb' + PERMISSIVE_MATCH3),
|
|
@@ -777,19 +777,6 @@ Object.keys(presetPrimaryColors).forEach(function (key) {
|
|
|
777
777
|
});
|
|
778
778
|
presetDarkPalettes[key].primary = presetDarkPalettes[key][5];
|
|
779
779
|
});
|
|
780
|
-
presetPalettes.red;
|
|
781
|
-
presetPalettes.volcano;
|
|
782
|
-
presetPalettes.gold;
|
|
783
|
-
presetPalettes.orange;
|
|
784
|
-
presetPalettes.yellow;
|
|
785
|
-
presetPalettes.lime;
|
|
786
|
-
presetPalettes.green;
|
|
787
|
-
presetPalettes.cyan;
|
|
788
|
-
presetPalettes.blue;
|
|
789
|
-
presetPalettes.geekblue;
|
|
790
|
-
presetPalettes.purple;
|
|
791
|
-
presetPalettes.magenta;
|
|
792
|
-
presetPalettes.grey;
|
|
793
780
|
|
|
794
781
|
// https://github.com/substack/insert-css
|
|
795
782
|
var containers = []; // will store container HTMLElement references
|
|
@@ -1715,7 +1702,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1715
1702
|
key: 1,
|
|
1716
1703
|
file: item
|
|
1717
1704
|
})
|
|
1718
|
-
],
|
|
1705
|
+
], 64)) : createCommentVNode("v-if", true),
|
|
1719
1706
|
createCommentVNode(" \u56FE\u7247\u9519\u8BEF\u5C55\u793A "),
|
|
1720
1707
|
item.status === "error" ? (openBlock(), createElementBlock("div", {
|
|
1721
1708
|
key: 2,
|
|
@@ -1761,7 +1748,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1761
1748
|
}, 8, ["class", "disabled"]),
|
|
1762
1749
|
_ctx.extraConfigs.tips && _ctx.extraConfigs.showTips ? (openBlock(), createElementBlock("div", _hoisted_23, toDisplayString(_ctx.extraConfigs.tips), 1)) : createCommentVNode("v-if", true)
|
|
1763
1750
|
])) : createCommentVNode("v-if", true)
|
|
1764
|
-
],
|
|
1751
|
+
], 64))
|
|
1765
1752
|
]),
|
|
1766
1753
|
_: 3
|
|
1767
1754
|
}, 16, ["class"])) : createCommentVNode("v-if", true),
|