yc-pro-components 0.0.75 → 0.0.76
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/check-card/index.d.ts +61 -61
- package/es/components/check-card/src/index.vue.d.ts +4 -4
- package/es/components/check-card-group/index.d.ts +43 -43
- package/es/components/check-card-group/src/index.vue.d.ts +3 -3
- package/es/components/date-picker/index.d.ts +30 -30
- package/es/components/date-picker/src/index.vue.d.ts +22 -22
- package/es/components/dialog/index.d.ts +45 -45
- package/es/components/dialog/src/index.vue.d.ts +3 -3
- package/es/components/dialog-form/index.d.ts +31 -31
- package/es/components/dialog-form/src/index.vue.d.ts +9 -9
- package/es/components/display-item/index.d.ts +41 -41
- package/es/components/display-item/src/index.vue.d.ts +22 -22
- package/es/components/drawer-form/index.d.ts +68 -68
- package/es/components/drawer-form/src/index.vue.d.ts +16 -16
- package/es/components/form/index.d.ts +71 -71
- package/es/components/form/src/form-content.vue.d.ts +21 -21
- package/es/components/form/src/index.vue.d.ts +19 -19
- package/es/components/form-item/index.d.ts +69 -69
- package/es/components/form-item/src/index.vue.d.ts +21 -21
- package/es/components/header/index.d.ts +19 -19
- package/es/components/header/src/index.vue.d.ts +1 -1
- package/es/components/input-tag/index.d.ts +15 -15
- package/es/components/input-tag/src/index.vue.d.ts +3 -3
- package/es/components/layout/index.d.ts +30 -30
- package/es/components/layout/src/index.vue.d.ts +10 -10
- package/es/components/page/index.d.ts +533 -533
- package/es/components/page/src/index.vue.d.ts +181 -181
- package/es/components/pagination/index.d.ts +42 -42
- package/es/components/pagination/src/index.vue.d.ts +3 -3
- package/es/components/radio/index.d.ts +35 -35
- package/es/components/radio/src/index.vue.d.ts +27 -27
- package/es/components/render/index.d.ts +3 -3
- package/es/components/render/src/index.vue.d.ts +1 -1
- package/es/components/search/index.d.ts +243 -243
- package/es/components/search/src/index.vue.d.ts +73 -73
- package/es/components/sidebar/index.d.ts +15 -15
- package/es/components/sidebar/src/index.vue.d.ts +5 -5
- package/es/components/steps-form/index.d.ts +23 -23
- package/es/components/steps-form/src/index.vue.d.ts +2 -2
- package/es/components/table/src/table-column.vue.d.ts +37 -37
- package/es/components/table/src/table-title-bar.vue.mjs +1 -1
- package/es/components/table/src/table-title-bar.vue2.mjs +79 -40
- package/es/components/table/src/type.d.ts +17 -0
- package/es/components/utils/index.d.ts +2 -2
- package/es/components/yc-dialog/index.d.ts +24 -24
- package/es/components/yc-download-dialog/index.d.ts +19 -19
- package/es/components/yc-download-dialog/src/index.vue.d.ts +1 -1
- package/es/components/yc-drawer/src/index.vue.mjs +1 -1
- package/es/components/yc-drawer/src/index.vue2.mjs +2 -3
- package/es/components/yc-form-container-header/index.d.ts +12 -12
- package/es/components/yc-more-actions/index.d.ts +46 -46
- package/es/components/yc-more-actions/src/index.vue.d.ts +3 -3
- package/es/components/yc-plus-page/src/index.vue.d.ts +361 -361
- package/es/components/yc-segmented/index.d.ts +2 -2
- package/es/components/yc-segmented/src/index.d.ts +2 -2
- package/es/components/yc-select-v2/src/index.vue.d.ts +3 -3
- package/es/components/yc-status-dialog/src/index.vue.d.ts +1 -1
- package/es/components/yc-tabs-with-filter/index.d.ts +16 -16
- package/es/components/yc-text/src/index.vue.d.ts +2 -2
- package/es/hooks/usePlusFormReset.d.ts +244 -244
- package/es/index.css +10 -9
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/es/yc-components/version.d.ts +1 -1
- package/index.js +84 -46
- package/index.min.css +2 -1
- package/index.min.js +11 -11
- package/index.min.mjs +11 -11
- package/index.mjs +85 -47
- package/lib/components/check-card/index.d.ts +61 -61
- package/lib/components/check-card/src/index.vue.d.ts +4 -4
- package/lib/components/check-card-group/index.d.ts +43 -43
- package/lib/components/check-card-group/src/index.vue.d.ts +3 -3
- package/lib/components/date-picker/index.d.ts +30 -30
- package/lib/components/date-picker/src/index.vue.d.ts +22 -22
- package/lib/components/dialog/index.d.ts +45 -45
- package/lib/components/dialog/src/index.vue.d.ts +3 -3
- package/lib/components/dialog-form/index.d.ts +31 -31
- package/lib/components/dialog-form/src/index.vue.d.ts +9 -9
- package/lib/components/display-item/index.d.ts +41 -41
- package/lib/components/display-item/src/index.vue.d.ts +22 -22
- package/lib/components/drawer-form/index.d.ts +68 -68
- package/lib/components/drawer-form/src/index.vue.d.ts +16 -16
- package/lib/components/form/index.d.ts +71 -71
- package/lib/components/form/src/form-content.vue.d.ts +21 -21
- package/lib/components/form/src/index.vue.d.ts +19 -19
- package/lib/components/form-item/index.d.ts +69 -69
- package/lib/components/form-item/src/index.vue.d.ts +21 -21
- package/lib/components/header/index.d.ts +19 -19
- package/lib/components/header/src/index.vue.d.ts +1 -1
- package/lib/components/input-tag/index.d.ts +15 -15
- package/lib/components/input-tag/src/index.vue.d.ts +3 -3
- package/lib/components/layout/index.d.ts +30 -30
- package/lib/components/layout/src/index.vue.d.ts +10 -10
- package/lib/components/page/index.d.ts +533 -533
- package/lib/components/page/src/index.vue.d.ts +181 -181
- package/lib/components/pagination/index.d.ts +42 -42
- package/lib/components/pagination/src/index.vue.d.ts +3 -3
- package/lib/components/radio/index.d.ts +35 -35
- package/lib/components/radio/src/index.vue.d.ts +27 -27
- package/lib/components/render/index.d.ts +3 -3
- package/lib/components/render/src/index.vue.d.ts +1 -1
- package/lib/components/search/index.d.ts +243 -243
- package/lib/components/search/src/index.vue.d.ts +73 -73
- package/lib/components/sidebar/index.d.ts +15 -15
- package/lib/components/sidebar/src/index.vue.d.ts +5 -5
- package/lib/components/steps-form/index.d.ts +23 -23
- package/lib/components/steps-form/src/index.vue.d.ts +2 -2
- package/lib/components/table/src/table-column.vue.d.ts +37 -37
- package/lib/components/table/src/table-title-bar.vue.js +1 -1
- package/lib/components/table/src/table-title-bar.vue2.js +78 -39
- package/lib/components/table/src/type.d.ts +17 -0
- package/lib/components/utils/index.d.ts +2 -2
- package/lib/components/yc-dialog/index.d.ts +24 -24
- package/lib/components/yc-download-dialog/index.d.ts +19 -19
- package/lib/components/yc-download-dialog/src/index.vue.d.ts +1 -1
- package/lib/components/yc-drawer/src/index.vue.js +1 -1
- package/lib/components/yc-drawer/src/index.vue2.js +2 -3
- package/lib/components/yc-form-container-header/index.d.ts +12 -12
- package/lib/components/yc-more-actions/index.d.ts +46 -46
- package/lib/components/yc-more-actions/src/index.vue.d.ts +3 -3
- package/lib/components/yc-plus-page/src/index.vue.d.ts +361 -361
- package/lib/components/yc-segmented/index.d.ts +2 -2
- package/lib/components/yc-segmented/src/index.d.ts +2 -2
- package/lib/components/yc-select-v2/src/index.vue.d.ts +3 -3
- package/lib/components/yc-status-dialog/src/index.vue.d.ts +1 -1
- package/lib/components/yc-tabs-with-filter/index.d.ts +16 -16
- package/lib/components/yc-text/src/index.vue.d.ts +2 -2
- package/lib/hooks/usePlusFormReset.d.ts +244 -244
- package/lib/index.css +13 -12
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/lib/yc-components/version.d.ts +1 -1
- package/locale/en.js +1 -1
- package/locale/en.min.js +1 -1
- package/locale/en.min.mjs +1 -1
- package/locale/en.mjs +1 -1
- package/locale/ja.js +1 -1
- package/locale/ja.min.js +1 -1
- package/locale/ja.min.mjs +1 -1
- package/locale/ja.mjs +1 -1
- package/locale/ko.js +1 -1
- package/locale/ko.min.js +1 -1
- package/locale/ko.min.mjs +1 -1
- package/locale/ko.mjs +1 -1
- package/locale/zh-cn.js +1 -1
- package/locale/zh-cn.min.js +1 -1
- package/locale/zh-cn.min.mjs +1 -1
- package/locale/zh-cn.mjs +1 -1
- package/locale/zh-tw.js +1 -1
- package/locale/zh-tw.min.js +1 -1
- package/locale/zh-tw.min.mjs +1 -1
- package/locale/zh-tw.mjs +1 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! yc-pro-components v0.0.
|
|
1
|
+
/*! yc-pro-components v0.0.76 */
|
|
2
2
|
(function (global, factory) {
|
|
3
3
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('vue'), require('element-plus')) :
|
|
4
4
|
typeof define === 'function' && define.amd ? define(['exports', 'vue', 'element-plus'], factory) :
|
|
@@ -18340,11 +18340,12 @@
|
|
|
18340
18340
|
|
|
18341
18341
|
const PlusPopover = Popover;
|
|
18342
18342
|
|
|
18343
|
+
const _withScopeId$4 = (n) => (vue.pushScopeId("data-v-d1506155"), n = n(), vue.popScopeId(), n);
|
|
18343
18344
|
const _hoisted_1$k = { class: "plus-table-title-bar" };
|
|
18344
18345
|
const _hoisted_2$e = { class: "plus-table-title-bar__title" };
|
|
18345
18346
|
const _hoisted_3$c = { class: "plus-table-title-bar__toolbar" };
|
|
18346
18347
|
const _hoisted_4$a = { class: "plus-table-title-bar__toolbar__density" };
|
|
18347
|
-
const _hoisted_5$9 = /* @__PURE__ */ vue.createElementVNode(
|
|
18348
|
+
const _hoisted_5$9 = /* @__PURE__ */ _withScopeId$4(() => /* @__PURE__ */ vue.createElementVNode(
|
|
18348
18349
|
"svg",
|
|
18349
18350
|
{
|
|
18350
18351
|
viewBox: "0 0 1024 1024",
|
|
@@ -18358,14 +18359,15 @@
|
|
|
18358
18359
|
],
|
|
18359
18360
|
-1
|
|
18360
18361
|
/* HOISTED */
|
|
18361
|
-
);
|
|
18362
|
+
));
|
|
18362
18363
|
const _hoisted_6$7 = { class: "plus-table-checkbox-checkAll" };
|
|
18363
|
-
const _hoisted_7$5 = {
|
|
18364
|
+
const _hoisted_7$5 = { class: "plus-table-checkbox-actions" };
|
|
18365
|
+
const _hoisted_8$4 = {
|
|
18364
18366
|
key: 0,
|
|
18365
18367
|
class: "plus-table-checkbox-handle"
|
|
18366
18368
|
};
|
|
18367
|
-
const _hoisted_8$4 = { key: 1 };
|
|
18368
18369
|
const _hoisted_9$4 = { key: 1 };
|
|
18370
|
+
const _hoisted_10$3 = { key: 1 };
|
|
18369
18371
|
var _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
|
|
18370
18372
|
...{
|
|
18371
18373
|
name: "PlusTableToolbar"
|
|
@@ -18405,6 +18407,12 @@
|
|
|
18405
18407
|
var _a;
|
|
18406
18408
|
return ((_a = columnSetting.value) == null ? void 0 : _a.overflowLabelLength) || 6;
|
|
18407
18409
|
});
|
|
18410
|
+
const confirmTextValue = vue.computed(
|
|
18411
|
+
() => {
|
|
18412
|
+
var _a;
|
|
18413
|
+
return ((_a = columnSetting.value) == null ? void 0 : _a.confirmText) || String(t("plus.table.confirmText"));
|
|
18414
|
+
}
|
|
18415
|
+
);
|
|
18408
18416
|
const sortable = vue.ref(null);
|
|
18409
18417
|
const buttonNameDensity = [
|
|
18410
18418
|
{
|
|
@@ -18426,6 +18434,20 @@
|
|
|
18426
18434
|
}
|
|
18427
18435
|
return props.columns.filter((item) => vue.unref(item.headerIsChecked) !== false).map((item) => getTableKey(item));
|
|
18428
18436
|
};
|
|
18437
|
+
const buildFilterColumns = () => {
|
|
18438
|
+
return props.columns.map((item) => {
|
|
18439
|
+
if (state.checkList.includes(getTableKey(item))) {
|
|
18440
|
+
return { ...item, headerIsChecked: true };
|
|
18441
|
+
}
|
|
18442
|
+
return { ...item, headerIsChecked: false };
|
|
18443
|
+
});
|
|
18444
|
+
};
|
|
18445
|
+
const buildConfirmPayload = () => {
|
|
18446
|
+
const columns = buildFilterColumns();
|
|
18447
|
+
const order = columns.map((item) => String(item.prop || "")).filter(Boolean);
|
|
18448
|
+
const checked = columns.filter((item) => item.headerIsChecked !== false).map((item) => String(item.prop || "")).filter(Boolean);
|
|
18449
|
+
return { columns, order, checked };
|
|
18450
|
+
};
|
|
18429
18451
|
const state = vue.reactive({
|
|
18430
18452
|
checkAll: true,
|
|
18431
18453
|
isIndeterminate: false,
|
|
@@ -18454,13 +18476,11 @@
|
|
|
18454
18476
|
handleFilterTableConfirm("allCheck");
|
|
18455
18477
|
};
|
|
18456
18478
|
const handleFilterTableConfirm = (type) => {
|
|
18457
|
-
|
|
18458
|
-
|
|
18459
|
-
|
|
18460
|
-
|
|
18461
|
-
|
|
18462
|
-
});
|
|
18463
|
-
emit("filterTableHeader", filterColumns, type);
|
|
18479
|
+
emit("filterTableHeader", buildFilterColumns(), type);
|
|
18480
|
+
};
|
|
18481
|
+
const handleConfirmClick = async () => {
|
|
18482
|
+
var _a, _b;
|
|
18483
|
+
await ((_b = (_a = columnSetting.value) == null ? void 0 : _a.onConfirm) == null ? void 0 : _b.call(_a, buildConfirmPayload()));
|
|
18464
18484
|
};
|
|
18465
18485
|
const handleCheckGroupChange = (value) => {
|
|
18466
18486
|
setCheckAllState(value);
|
|
@@ -18525,10 +18545,10 @@
|
|
|
18525
18545
|
1
|
|
18526
18546
|
/* TEXT */
|
|
18527
18547
|
)
|
|
18528
|
-
])
|
|
18548
|
+
], true)
|
|
18529
18549
|
]),
|
|
18530
18550
|
vue.createElementVNode("div", _hoisted_3$c, [
|
|
18531
|
-
vue.renderSlot(_ctx.$slots, "toolbar"),
|
|
18551
|
+
vue.renderSlot(_ctx.$slots, "toolbar", {}, void 0, true),
|
|
18532
18552
|
((_a = titleBarConfig.value) == null ? void 0 : _a.refresh) === true ? (vue.openBlock(), vue.createElementBlock("span", {
|
|
18533
18553
|
key: 0,
|
|
18534
18554
|
class: "plus-table-title-bar__toolbar__refresh",
|
|
@@ -18552,7 +18572,7 @@
|
|
|
18552
18572
|
_: 1
|
|
18553
18573
|
/* STABLE */
|
|
18554
18574
|
}, 8, ["size", "color"])
|
|
18555
|
-
])
|
|
18575
|
+
], true)
|
|
18556
18576
|
]),
|
|
18557
18577
|
_: 3
|
|
18558
18578
|
/* FORWARDED */
|
|
@@ -18585,7 +18605,7 @@
|
|
|
18585
18605
|
_: 1
|
|
18586
18606
|
/* STABLE */
|
|
18587
18607
|
}, 8, ["size", "color"])
|
|
18588
|
-
])
|
|
18608
|
+
], true)
|
|
18589
18609
|
]),
|
|
18590
18610
|
_: 3
|
|
18591
18611
|
/* FORWARDED */
|
|
@@ -18650,14 +18670,14 @@
|
|
|
18650
18670
|
_: 1
|
|
18651
18671
|
/* STABLE */
|
|
18652
18672
|
}, 8, ["size", "color"])
|
|
18653
|
-
])
|
|
18673
|
+
], true)
|
|
18654
18674
|
]),
|
|
18655
18675
|
_: 3
|
|
18656
18676
|
/* FORWARDED */
|
|
18657
18677
|
}, 8, ["content"])
|
|
18658
18678
|
]),
|
|
18659
18679
|
default: vue.withCtx(() => {
|
|
18660
|
-
var _a2, _b2, _c2;
|
|
18680
|
+
var _a2, _b2, _c2, _d;
|
|
18661
18681
|
return [
|
|
18662
18682
|
vue.createElementVNode("div", _hoisted_6$7, [
|
|
18663
18683
|
vue.createVNode(vue.unref(elementPlus.ElCheckbox), {
|
|
@@ -18676,24 +18696,43 @@
|
|
|
18676
18696
|
_: 1
|
|
18677
18697
|
/* STABLE */
|
|
18678
18698
|
}, 8, ["modelValue", "indeterminate"]),
|
|
18679
|
-
|
|
18680
|
-
|
|
18681
|
-
|
|
18682
|
-
|
|
18683
|
-
|
|
18684
|
-
|
|
18685
|
-
|
|
18686
|
-
|
|
18687
|
-
|
|
18688
|
-
|
|
18689
|
-
|
|
18690
|
-
|
|
18691
|
-
|
|
18692
|
-
|
|
18693
|
-
|
|
18694
|
-
|
|
18695
|
-
|
|
18696
|
-
|
|
18699
|
+
vue.createElementVNode("div", _hoisted_7$5, [
|
|
18700
|
+
((_a2 = columnSetting.value) == null ? void 0 : _a2.confirm) ? (vue.openBlock(), vue.createBlock(vue.unref(elementPlus.ElLink), {
|
|
18701
|
+
key: 0,
|
|
18702
|
+
type: "primary",
|
|
18703
|
+
underline: vue.unref(versionIsLessThan299) ? false : "never",
|
|
18704
|
+
href: "javaScript:;",
|
|
18705
|
+
onClick: vue.withModifiers(handleConfirmClick, ["stop", "prevent"])
|
|
18706
|
+
}, {
|
|
18707
|
+
default: vue.withCtx(() => [
|
|
18708
|
+
vue.createTextVNode(
|
|
18709
|
+
vue.toDisplayString(confirmTextValue.value),
|
|
18710
|
+
1
|
|
18711
|
+
/* TEXT */
|
|
18712
|
+
)
|
|
18713
|
+
]),
|
|
18714
|
+
_: 1
|
|
18715
|
+
/* STABLE */
|
|
18716
|
+
}, 8, ["underline"])) : vue.createCommentVNode("v-if", true),
|
|
18717
|
+
((_b2 = columnSetting.value) == null ? void 0 : _b2.reset) !== false ? (vue.openBlock(), vue.createBlock(vue.unref(elementPlus.ElLink), vue.mergeProps({
|
|
18718
|
+
key: 1,
|
|
18719
|
+
type: "primary",
|
|
18720
|
+
underline: vue.unref(versionIsLessThan299) ? false : "never",
|
|
18721
|
+
href: "javaScript:;"
|
|
18722
|
+
}, vue.unref(isPlainObject$1)((_c2 = columnSetting.value) == null ? void 0 : _c2.reset) ? (_d = columnSetting.value) == null ? void 0 : _d.reset : {}, {
|
|
18723
|
+
onClick: vue.withModifiers(resetCheckBoxList, ["stop", "prevent"])
|
|
18724
|
+
}), {
|
|
18725
|
+
default: vue.withCtx(() => [
|
|
18726
|
+
vue.createTextVNode(
|
|
18727
|
+
vue.toDisplayString(vue.unref(t)("plus.table.resetText")),
|
|
18728
|
+
1
|
|
18729
|
+
/* TEXT */
|
|
18730
|
+
)
|
|
18731
|
+
]),
|
|
18732
|
+
_: 1
|
|
18733
|
+
/* STABLE */
|
|
18734
|
+
}, 16, ["underline"])) : vue.createCommentVNode("v-if", true)
|
|
18735
|
+
])
|
|
18697
18736
|
]),
|
|
18698
18737
|
vue.createVNode(vue.unref(elementPlus.ElCheckboxGroup), {
|
|
18699
18738
|
modelValue: state.checkList,
|
|
@@ -18718,10 +18757,10 @@
|
|
|
18718
18757
|
key: item.prop,
|
|
18719
18758
|
class: "plus-table-checkbox-item"
|
|
18720
18759
|
}, [
|
|
18721
|
-
((_a3 = columnSetting.value) == null ? void 0 : _a3.dragSort) !== false ? (vue.openBlock(), vue.createElementBlock("div",
|
|
18760
|
+
((_a3 = columnSetting.value) == null ? void 0 : _a3.dragSort) !== false ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_8$4, [
|
|
18722
18761
|
vue.renderSlot(_ctx.$slots, "drag-sort-icon", {}, () => [
|
|
18723
18762
|
vue.createTextVNode("\u2637")
|
|
18724
|
-
])
|
|
18763
|
+
], true)
|
|
18725
18764
|
])) : vue.createCommentVNode("v-if", true),
|
|
18726
18765
|
vue.createCommentVNode(" element-plus \u7248\u672C\u53F7\u5C0F\u4E8E2.6.0 "),
|
|
18727
18766
|
vue.unref(versionIsLessThan260) ? (vue.openBlock(), vue.createBlock(vue.unref(elementPlus.ElCheckbox), {
|
|
@@ -18747,7 +18786,7 @@
|
|
|
18747
18786
|
/* DYNAMIC */
|
|
18748
18787
|
}, 1032, ["content"])) : (vue.openBlock(), vue.createElementBlock(
|
|
18749
18788
|
"span",
|
|
18750
|
-
|
|
18789
|
+
_hoisted_9$4,
|
|
18751
18790
|
vue.toDisplayString(item.label ? getLabelValue(item.label) : ""),
|
|
18752
18791
|
1
|
|
18753
18792
|
/* TEXT */
|
|
@@ -18782,7 +18821,7 @@
|
|
|
18782
18821
|
/* DYNAMIC */
|
|
18783
18822
|
}, 1032, ["content"])) : (vue.openBlock(), vue.createElementBlock(
|
|
18784
18823
|
"span",
|
|
18785
|
-
|
|
18824
|
+
_hoisted_10$3,
|
|
18786
18825
|
vue.toDisplayString(item.label ? getLabelValue(item.label) : ""),
|
|
18787
18826
|
1
|
|
18788
18827
|
/* TEXT */
|
|
@@ -18819,7 +18858,7 @@
|
|
|
18819
18858
|
}
|
|
18820
18859
|
});
|
|
18821
18860
|
|
|
18822
|
-
var PlusTableTitleBar = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__file", "table-title-bar.vue"]]);
|
|
18861
|
+
var PlusTableTitleBar = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__scopeId", "data-v-d1506155"], ["__file", "table-title-bar.vue"]]);
|
|
18823
18862
|
|
|
18824
18863
|
const _hoisted_1$j = { class: "plus-table-expand-col" };
|
|
18825
18864
|
var _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
|
|
@@ -60379,8 +60418,7 @@
|
|
|
60379
60418
|
drawerStore.value = [];
|
|
60380
60419
|
};
|
|
60381
60420
|
|
|
60382
|
-
const
|
|
60383
|
-
const _withScopeId$3 = (n) => (vue.pushScopeId("data-v-eb9ddafc"), n = n(), vue.popScopeId(), n);
|
|
60421
|
+
const _withScopeId$3 = (n) => (vue.pushScopeId("data-v-80cac14a"), n = n(), vue.popScopeId(), n);
|
|
60384
60422
|
const _hoisted_1$6 = { class: "custom-drawer-header" };
|
|
60385
60423
|
const _hoisted_2$6 = { class: "header-content" };
|
|
60386
60424
|
const _hoisted_3$6 = ["id"];
|
|
@@ -60399,7 +60437,7 @@
|
|
|
60399
60437
|
__name: "index",
|
|
60400
60438
|
setup(__props) {
|
|
60401
60439
|
const shouldRender = claimDrawerInstance();
|
|
60402
|
-
if (!shouldRender &&
|
|
60440
|
+
if (!shouldRender && process.env.NODE_ENV !== "production") {
|
|
60403
60441
|
console.warn(
|
|
60404
60442
|
"[YcDrawer] Multiple <YcDrawer /> instances detected. Only the first instance renders drawers. Remove duplicate <YcDrawer /> from your component \u2014 it only needs to be placed once in the root App."
|
|
60405
60443
|
);
|
|
@@ -60641,7 +60679,7 @@
|
|
|
60641
60679
|
}
|
|
60642
60680
|
});
|
|
60643
60681
|
|
|
60644
|
-
var YcDrawerComponent = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-
|
|
60682
|
+
var YcDrawerComponent = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-80cac14a"], ["__file", "index.vue"]]);
|
|
60645
60683
|
|
|
60646
60684
|
const YcDrawer = YcDrawerComponent;
|
|
60647
60685
|
const ReDrawer = YcDrawerComponent;
|
|
@@ -64265,7 +64303,7 @@
|
|
|
64265
64303
|
});
|
|
64266
64304
|
}
|
|
64267
64305
|
|
|
64268
|
-
const version = "0.0.
|
|
64306
|
+
const version = "0.0.76";
|
|
64269
64307
|
|
|
64270
64308
|
const install = installer.install;
|
|
64271
64309
|
|
package/index.min.css
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
.plus-form-item--no-label .el-form-item__label{display:none!important}
|
|
2
|
+
.plus-table-checkbox-actions[data-v-d1506155]{display:inline-flex;gap:8px;margin-left:8px}
|
|
2
3
|
.plus-virtual-table{display:flex;flex-direction:column;height:100%;min-height:0;width:100%}.plus-virtual-table__title-bar{justify-content:space-between;padding:12px 0}.plus-virtual-table__title-bar,.plus-virtual-table__title-bar__left{align-items:center;display:flex}.plus-virtual-table__title-bar__right{align-items:center;display:flex;gap:8px}.plus-virtual-table__title-bar__text{font-size:16px;font-weight:500}.plus-virtual-table__title-bar__refresh{color:#606266;cursor:pointer;transition:color .2s}.plus-virtual-table__title-bar__refresh:hover{color:var(--el-color-primary)}.plus-virtual-table__body{flex:1;max-height:calc(100vh - 280px);min-height:0;overflow:hidden}.plus-virtual-table__header,.plus-virtual-table__header .el-table-v2__header-cell{background-color:var(--el-fill-color-light)!important}.plus-virtual-table__pagination{padding:12px 0}.plus-virtual-table-action-bar{align-items:center;display:flex;gap:4px;justify-content:center}.plus-table-column-status{align-items:center;display:inline-flex;gap:6px}.plus-table-column-status__dot{border-radius:50%;display:inline-block;height:8px;width:8px}.plus-table-column-empty{color:#c0c4cc}.plus-virtual-table--striped .plus-virtual-table__row--striped .el-table-v2__row-cell{background-color:var(--el-fill-color-lighter,#fafafa)}.plus-virtual-table--border .plus-virtual-table__body{border:1px solid var(--el-border-color-lighter,#ebeef5)}.plus-virtual-table--border .el-table-v2__header-cell,.plus-virtual-table--border .el-table-v2__row-cell{border-right:1px solid var(--el-border-color-lighter,#ebeef5)}.plus-virtual-table--border .el-table-v2__header-cell:last-child,.plus-virtual-table--border .el-table-v2__row-cell:last-child{border-right:none}.plus-virtual-table--border .el-table-v2__header-row,.plus-virtual-table--border .el-table-v2__row{border-bottom:1px solid var(--el-border-color-lighter,#ebeef5)}
|
|
3
4
|
.yc-svg-icon[data-v-34e1f2f7]{display:inline-block;-webkit-mask-size:contain;mask-size:contain;vertical-align:middle}.yc-svg-icon--original[data-v-34e1f2f7]{-o-object-fit:contain;object-fit:contain}
|
|
4
5
|
.yc-header-filter-cell[data-v-44e8a77a]{width:100%}.yc-header-filter-cell__label--ellipsis[data-v-44e8a77a]{flex:1 1 0;min-width:0;overflow:hidden}.yc-header-filter-cell__label--ellipsis[data-v-44e8a77a] .yc-header-filter-cell__label-text[data-v-44e8a77a]{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.yc-header-filter-cell__label--active[data-v-44e8a77a]{color:var(--el-color-primary)}[data-v-44e8a77a] .yc-header-filter-cell__sort-icon--asc,[data-v-44e8a77a] .yc-header-filter-cell__sort-icon--desc{background-color:var(--el-color-primary)!important}[data-v-44e8a77a] .yc-header-filter-cell__filter-icon--active{background-color:var(--el-color-primary)!important}
|
|
@@ -9,7 +10,7 @@
|
|
|
9
10
|
.yc-plus-tree[data-v-45c2ba79]{display:flex;flex-direction:column;height:100%;overflow:auto}.yc-plus-tree[data-v-45c2ba79] .search-input[data-v-45c2ba79]{flex-shrink:0;margin-bottom:16px}.yc-plus-tree[data-v-45c2ba79] .tree-container[data-v-45c2ba79]{flex:1;min-height:0;overflow:hidden}.yc-plus-tree[data-v-45c2ba79] .tree-container[data-v-45c2ba79] [data-v-45c2ba79] .el-tree-v2{overflow-x:visible!important}.yc-plus-tree[data-v-45c2ba79] .tree-container[data-v-45c2ba79] .inline-input-node[data-v-45c2ba79]{align-items:center;display:flex;flex:1;padding-left:0;padding-right:8px;position:relative;z-index:1}.yc-plus-tree[data-v-45c2ba79] .tree-container[data-v-45c2ba79] .inline-input-node[data-v-45c2ba79] .inline-input[data-v-45c2ba79]{flex-shrink:0;width:100%}.yc-plus-tree[data-v-45c2ba79] .tree-container[data-v-45c2ba79] .inline-input-node[data-v-45c2ba79] .inline-input[data-v-45c2ba79] [data-v-45c2ba79] .el-input__wrapper{border-radius:4px;box-shadow:0 0 0 1px var(--el-border-color) inset;font-size:14px;height:26px;line-height:18px;padding:0 8px;transition:box-shadow .2s ease}.yc-plus-tree[data-v-45c2ba79] .tree-container[data-v-45c2ba79] .inline-input-node[data-v-45c2ba79] .inline-input[data-v-45c2ba79] [data-v-45c2ba79] .el-input__wrapper[data-v-45c2ba79]:hover{box-shadow:0 0 0 1px var(--el-border-color-hover) inset}.yc-plus-tree[data-v-45c2ba79] .tree-container[data-v-45c2ba79] .inline-input-node[data-v-45c2ba79] .inline-input[data-v-45c2ba79] [data-v-45c2ba79] .el-input__wrapper.is-focus[data-v-45c2ba79]{box-shadow:0 0 0 1px var(--el-color-primary) inset}.yc-plus-tree[data-v-45c2ba79] .tree-container[data-v-45c2ba79] .inline-input-node[data-v-45c2ba79] .inline-input[data-v-45c2ba79] [data-v-45c2ba79] .el-input__inner{color:rgba(0,0,0,.7);font-size:14px;height:24px;line-height:18px}.yc-plus-tree[data-v-45c2ba79] .tree-container[data-v-45c2ba79] .inline-input-node[data-v-45c2ba79] .inline-input[data-v-45c2ba79] [data-v-45c2ba79] .el-input__inner[data-v-45c2ba79]::-moz-placeholder{color:rgba(0,0,0,.4)}.yc-plus-tree[data-v-45c2ba79] .tree-container[data-v-45c2ba79] .inline-input-node[data-v-45c2ba79] .inline-input[data-v-45c2ba79] [data-v-45c2ba79] .el-input__inner[data-v-45c2ba79]::placeholder{color:rgba(0,0,0,.4)}.yc-plus-tree[data-v-45c2ba79] .tree-container[data-v-45c2ba79] [data-v-45c2ba79] .el-tree-node__content:hover{background-color:var(--el-color-primary-light-9);border-radius:4px}.yc-plus-tree[data-v-45c2ba79] .tree-container[data-v-45c2ba79] [data-v-45c2ba79] .el-tree-node__content:hover .label-text[data-v-45c2ba79]{color:var(--el-color-primary)}.yc-plus-tree[data-v-45c2ba79] .tree-container[data-v-45c2ba79] [data-v-45c2ba79] .el-tree-node__content:hover .label-text{color:var(--el-color-primary)}.yc-plus-tree[data-v-45c2ba79] .tree-container[data-v-45c2ba79] [data-v-45c2ba79] .el-tree-node.is-current>.el-tree-node__content{background-color:var(--el-color-primary-light-9);border-radius:4px}.yc-plus-tree[data-v-45c2ba79] .tree-container[data-v-45c2ba79] [data-v-45c2ba79] .el-tree-node.is-current>.el-tree-node__content .label-text{color:var(--el-color-primary)}.yc-plus-tree[data-v-45c2ba79] .tree-container[data-v-45c2ba79] .node-label-wrapper[data-v-45c2ba79]{align-items:center;display:flex;gap:4px;width:100%}.yc-plus-tree[data-v-45c2ba79] .tree-container[data-v-45c2ba79] .node-label-wrapper[data-v-45c2ba79][data-v-45c2ba79]:hover .node-actions[data-v-45c2ba79]{opacity:1;pointer-events:auto}.yc-plus-tree[data-v-45c2ba79] .tree-container[data-v-45c2ba79] .node-label-wrapper[data-v-45c2ba79] .node-label[data-v-45c2ba79],.yc-plus-tree[data-v-45c2ba79] .tree-container[data-v-45c2ba79] .node-label-wrapper[data-v-45c2ba79] [data-v-45c2ba79] .custom-node-label{align-items:center;display:flex;flex:1;gap:4px;min-width:0}.yc-plus-tree[data-v-45c2ba79] .tree-container[data-v-45c2ba79] .node-label-wrapper[data-v-45c2ba79] .node-label[data-v-45c2ba79] [data-v-45c2ba79] .el-tooltip__trigger,.yc-plus-tree[data-v-45c2ba79] .tree-container[data-v-45c2ba79] .node-label-wrapper[data-v-45c2ba79] [data-v-45c2ba79] .custom-node-label [data-v-45c2ba79] .el-tooltip__trigger{display:block;min-width:0;overflow:hidden}.yc-plus-tree[data-v-45c2ba79] .tree-container[data-v-45c2ba79] .node-label-wrapper[data-v-45c2ba79] .node-label[data-v-45c2ba79] .label-text[data-v-45c2ba79],.yc-plus-tree[data-v-45c2ba79] .tree-container[data-v-45c2ba79] .node-label-wrapper[data-v-45c2ba79] .node-label[data-v-45c2ba79] .node-text[data-v-45c2ba79],.yc-plus-tree[data-v-45c2ba79] .tree-container[data-v-45c2ba79] .node-label-wrapper[data-v-45c2ba79] [data-v-45c2ba79] .custom-node-label .label-text[data-v-45c2ba79],.yc-plus-tree[data-v-45c2ba79] .tree-container[data-v-45c2ba79] .node-label-wrapper[data-v-45c2ba79] [data-v-45c2ba79] .custom-node-label .node-text[data-v-45c2ba79]{color:var(--el-text-color-primary);display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.yc-plus-tree[data-v-45c2ba79] .tree-container[data-v-45c2ba79] .node-label-wrapper[data-v-45c2ba79] .node-label[data-v-45c2ba79] .label-text[data-v-45c2ba79] [data-v-45c2ba79] .highlight-keyword,.yc-plus-tree[data-v-45c2ba79] .tree-container[data-v-45c2ba79] .node-label-wrapper[data-v-45c2ba79] .node-label[data-v-45c2ba79] .node-text[data-v-45c2ba79] [data-v-45c2ba79] .highlight-keyword,.yc-plus-tree[data-v-45c2ba79] .tree-container[data-v-45c2ba79] .node-label-wrapper[data-v-45c2ba79] [data-v-45c2ba79] .custom-node-label .label-text[data-v-45c2ba79] [data-v-45c2ba79] .highlight-keyword,.yc-plus-tree[data-v-45c2ba79] .tree-container[data-v-45c2ba79] .node-label-wrapper[data-v-45c2ba79] [data-v-45c2ba79] .custom-node-label .node-text[data-v-45c2ba79] [data-v-45c2ba79] .highlight-keyword{background-color:var(--el-color-primary-light-9);border-radius:2px;color:var(--el-color-primary);font-weight:600;padding:0 2px}.yc-plus-tree[data-v-45c2ba79] .tree-container[data-v-45c2ba79] .node-label-wrapper[data-v-45c2ba79] .node-label[data-v-45c2ba79] .node-count[data-v-45c2ba79],.yc-plus-tree[data-v-45c2ba79] .tree-container[data-v-45c2ba79] .node-label-wrapper[data-v-45c2ba79] [data-v-45c2ba79] .custom-node-label .node-count[data-v-45c2ba79]{color:var(--el-text-color-secondary);font-size:12px}.yc-plus-tree[data-v-45c2ba79] .tree-container[data-v-45c2ba79] .node-label-wrapper[data-v-45c2ba79] .node-actions[data-v-45c2ba79]{align-items:center;display:flex;flex-shrink:0;margin-left:auto;margin-right:8px;opacity:0;pointer-events:none;transition:opacity .2s ease}.yc-plus-tree[data-v-45c2ba79] .tree-container[data-v-45c2ba79] .node-label-wrapper[data-v-45c2ba79] .node-actions[data-v-45c2ba79] .action-icon-wrapper[data-v-45c2ba79]{align-items:center;cursor:pointer;display:flex;justify-content:center}.yc-plus-tree[data-v-45c2ba79] .tree-container[data-v-45c2ba79] .node-label-wrapper[data-v-45c2ba79] .node-actions[data-v-45c2ba79] .action-icon[data-v-45c2ba79]{align-items:center;border-radius:4px;color:var(--el-color-primary);cursor:pointer;display:flex;height:20px;justify-content:center;transition:background-color .2s ease;width:20px}.yc-plus-tree[data-v-45c2ba79] .tree-container[data-v-45c2ba79] .node-label-wrapper[data-v-45c2ba79] .node-actions[data-v-45c2ba79] .action-icon[data-v-45c2ba79][data-v-45c2ba79]:hover{background-color:var(--el-color-primary-light-8)}.tree-dropdown-menu[data-v-45c2ba79]{border-radius:8px!important;min-width:156px!important;padding:8px!important}.tree-dropdown-menu[data-v-45c2ba79] [data-v-45c2ba79] .el-dropdown-menu__item{border-radius:8px;font-size:12px;height:32px;line-height:32px;margin:0;padding:0 12px;transition:background-color .2s ease}.tree-dropdown-menu[data-v-45c2ba79] [data-v-45c2ba79] .el-dropdown-menu__item[data-v-45c2ba79]:hover{background-color:var(--el-color-primary-light-9)!important;color:var(--el-color-primary)!important}.tree-dropdown-menu[data-v-45c2ba79] [data-v-45c2ba79] .el-dropdown-menu__item[data-v-45c2ba79]:not(:last-child){margin-bottom:4px}.tree-dropdown-menu[data-v-45c2ba79] [data-v-45c2ba79] .el-divider{border-top:1px solid #e5e7eb;margin:12px 0}.tree-dropdown-menu[data-v-45c2ba79] [data-v-45c2ba79] .sortable-ghost{background-color:var(--el-color-primary-light-9);border:1px dashed var(--el-color-primary);border-radius:4px;opacity:.4}.tree-dropdown-menu[data-v-45c2ba79] [data-v-45c2ba79] .sortable-chosen{background-color:var(--el-color-primary-light-8);box-shadow:0 2px 8px rgba(0,0,0,.1)}.tree-dropdown-menu[data-v-45c2ba79] [data-v-45c2ba79] .sortable-drag{background-color:#fff;box-shadow:0 4px 12px rgba(0,0,0,.15);cursor:move;opacity:1;transform:rotate(2deg)}.tree-dropdown-menu[data-v-45c2ba79] [data-v-45c2ba79] .sortable-fallback{-webkit-user-select:none;-moz-user-select:none;user-select:none}
|
|
10
11
|
.tree-dropdown-popper{border:none!important;border-radius:8px!important;overflow:hidden!important}.yc-plus-tree .highlight-keyword{background-color:var(--el-color-primary-light-9);border-radius:2px;color:var(--el-color-primary);font-weight:600;padding:0 2px}.el-tree-node__content:has([data-input-node=true]) .el-tree-node__expand-icon{display:none!important}.sortable-ghost{opacity:.3!important;position:relative!important}.drop-target{background-color:var(--el-color-primary-light-9)!important;border-radius:4px}.drop-target:before{background:var(--el-color-primary);border-radius:1.5px;bottom:0;content:"";left:calc(var(--drop-indent, 0px) - 3px);opacity:.6;position:absolute;top:0;width:3px;z-index:1}
|
|
11
12
|
.yc-drawer .el-drawer__header{margin-bottom:0!important;padding:0!important}.yc-drawer .el-drawer__footer{padding-bottom:12px!important;padding-right:24px!important;padding-top:12px!important}
|
|
12
|
-
.custom-drawer-header[data-v-
|
|
13
|
+
.custom-drawer-header[data-v-80cac14a]{border-radius:4px 4px 0 0;display:flex;flex-direction:column;height:56px;justify-content:flex-end;width:100%}.custom-drawer-header[data-v-80cac14a] .header-content[data-v-80cac14a]{align-items:center;display:flex;flex-direction:row;height:24px;justify-content:space-between;margin:16px 0 0 24px;width:calc(100% - 48px)}.custom-drawer-header[data-v-80cac14a] .header-content[data-v-80cac14a] .header-title[data-v-80cac14a]{color:#000;font-family:NotoSansSC,PingFangSC,sans-serif;font-size:16px;font-weight:500;height:24px;line-height:24px;overflow-wrap:break-word;text-align:left;white-space:nowrap}.custom-drawer-header[data-v-80cac14a] .header-content[data-v-80cac14a] .header-close-icon[data-v-80cac14a]{color:rgba(0,0,0,.6);cursor:pointer;transition:color .3s}.custom-drawer-header[data-v-80cac14a] .header-content[data-v-80cac14a] .header-close-icon[data-v-80cac14a][data-v-80cac14a]:hover{color:rgba(0,0,0,.9)}.custom-drawer-header[data-v-80cac14a] .header-divider[data-v-80cac14a]{background-color:#f5f7f9;height:1px;margin-top:15px;width:100%}
|
|
13
14
|
.yc-status-dialog .el-dialog__footer:before{display:none!important}.yc-status-dialog{border-radius:4px!important;padding:24px!important}.yc-status-dialog .el-dialog__header{margin:0!important;padding:0!important}.yc-status-dialog .el-dialog__header:after{background-color:transparent;border:none}.yc-status-dialog .el-dialog__body{padding:0!important}.yc-status-dialog .el-dialog__footer{padding:16px 0 0!important}.yc-status-dialog .el-dialog__headerbtn{height:16px;width:16px}.yc-status-dialog .el-dialog__headerbtn .el-dialog__close{display:none}.yc-status-dialog .el-dialog__headerbtn:before{background-image:url(https://staticcdn.jinbizhihui.com/images/saas-basic-platform/close_tips_icon.svg);background-position:50%;background-repeat:no-repeat;background-size:contain;content:"";display:block;height:16px;width:16px}
|
|
14
15
|
.yc-status-dialog[data-v-c0384bfe] .dialog-header[data-v-c0384bfe]{align-items:center;display:flex;gap:4px}.yc-status-dialog[data-v-c0384bfe] .dialog-header[data-v-c0384bfe] .icon-wrapper[data-v-c0384bfe]{align-items:center;border-radius:50%;display:flex;flex-shrink:0;justify-content:center}.yc-status-dialog[data-v-c0384bfe] .dialog-header[data-v-c0384bfe] .icon-wrapper[data-v-c0384bfe] .status-icon[data-v-c0384bfe]{height:20px;width:20px}.yc-status-dialog[data-v-c0384bfe] .dialog-header[data-v-c0384bfe] .title-text[data-v-c0384bfe]{color:#000;font-size:16px;font-weight:500;line-height:24px;overflow-wrap:break-word;width:80%;word-break:break-word}.yc-status-dialog[data-v-c0384bfe] .dialog-content[data-v-c0384bfe]{box-sizing:border-box;min-height:104px;padding-top:16px}.yc-status-dialog[data-v-c0384bfe] .dialog-content[data-v-c0384bfe] .content-text[data-v-c0384bfe]{color:rgba(0,0,0,.5);font-size:14px;line-height:22px;margin:0}.yc-status-dialog[data-v-c0384bfe] .dialog-footer[data-v-c0384bfe]{display:flex;justify-content:flex-end}
|
|
15
16
|
.yc-more-actions__icon[data-v-6d5915ff]{align-items:center;display:inline-flex;margin-right:4px}.yc-more-actions__item-icon[data-v-6d5915ff]{align-items:center;display:inline-flex;font-size:14px;margin-right:6px}[data-v-6d5915ff] .el-dropdown-menu__item.is-danger{color:var(--el-color-danger)}[data-v-6d5915ff] .el-dropdown-menu__item.is-danger:hover{background-color:var(--el-color-danger-light-9);color:var(--el-color-danger)}
|