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.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/*! yc-pro-components v0.0.
|
|
2
|
-
import { unref, isRef, ref, inject, isReactive, watch, computed, shallowRef, provide, onMounted, nextTick, onBeforeUnmount, defineComponent, useAttrs, watchEffect, openBlock, createBlock, mergeProps, createSlots, withCtx, createElementVNode, renderSlot, normalizeStyle, createVNode, createTextVNode, toDisplayString, createElementBlock, normalizeClass, createCommentVNode, reactive, Fragment, renderList, resolveDynamicComponent, normalizeProps, guardReactiveProps, h, withDirectives, isVNode, withKeys, withModifiers, TransitionGroup, toHandlers, getCurrentInstance, resolveComponent, toRefs, useSlots, onUnmounted, resolveDirective,
|
|
1
|
+
/*! yc-pro-components v0.0.76 */
|
|
2
|
+
import { unref, isRef, ref, inject, isReactive, watch, computed, shallowRef, provide, onMounted, nextTick, onBeforeUnmount, defineComponent, useAttrs, watchEffect, openBlock, createBlock, mergeProps, createSlots, withCtx, createElementVNode, renderSlot, normalizeStyle, createVNode, createTextVNode, toDisplayString, createElementBlock, normalizeClass, createCommentVNode, reactive, Fragment, renderList, resolveDynamicComponent, normalizeProps, guardReactiveProps, h, withDirectives, isVNode, withKeys, withModifiers, TransitionGroup, toHandlers, getCurrentInstance, resolveComponent, pushScopeId, popScopeId, toRefs, useSlots, onUnmounted, resolveDirective, onBeforeMount, getCurrentScope, onScopeDispose, toRef, mergeModels, useModel, vShow, createStaticVNode, hasInjectionContext, markRaw, effectScope, toRaw } from 'vue';
|
|
3
3
|
import { dayjs, localeContextKey, ElDialog, ElButton, ElPagination, ElRadioGroup, ElRadio, ElTableColumn, ElDropdown, ElDropdownMenu, ElDropdownItem, ElIcon, ElTooltip, ElPopconfirm, ElLink, ElMessageBox, useFormDisabled, ElDatePicker, ClickOutside, ElTag, ElInput, ElAutocomplete, ElCascader, ElCheckboxGroup, ElCheckbox, ElColorPicker, ElInputNumber, ElRate, ElSelect, ElOption, ElSlider, ElSwitch, ElTimePicker, ElTimeSelect, ElTransfer, ElTreeSelect, ElSelectV2, ElText, ElDivider, ElFormItem, ElOptionGroup, ElRow, ElCol, ElForm, ElCard, ElMessage, ElImage, ElProgress, ElAvatar, ElPopover, ElTable, vLoading, ElDescriptions, ElDescriptionsItem, ElDrawer, TableV2FixedDir, ElAutoResizer, ElTableV2, ElSteps, ElStep, ElBreadcrumb, ElBreadcrumbItem, ElMenuItem, ElSubMenu, ElMenu, ElScrollbar, ElHeader, ElContainer, ElMain, ElBacktop, ElUpload } from 'element-plus';
|
|
4
4
|
|
|
5
5
|
const makeInstaller = (components = [], directives = {}) => {
|
|
@@ -18337,11 +18337,12 @@ var Popover = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__file", "index.vue"]]
|
|
|
18337
18337
|
|
|
18338
18338
|
const PlusPopover = Popover;
|
|
18339
18339
|
|
|
18340
|
+
const _withScopeId$4 = (n) => (pushScopeId("data-v-d1506155"), n = n(), popScopeId(), n);
|
|
18340
18341
|
const _hoisted_1$k = { class: "plus-table-title-bar" };
|
|
18341
18342
|
const _hoisted_2$e = { class: "plus-table-title-bar__title" };
|
|
18342
18343
|
const _hoisted_3$c = { class: "plus-table-title-bar__toolbar" };
|
|
18343
18344
|
const _hoisted_4$a = { class: "plus-table-title-bar__toolbar__density" };
|
|
18344
|
-
const _hoisted_5$9 = /* @__PURE__ */ createElementVNode(
|
|
18345
|
+
const _hoisted_5$9 = /* @__PURE__ */ _withScopeId$4(() => /* @__PURE__ */ createElementVNode(
|
|
18345
18346
|
"svg",
|
|
18346
18347
|
{
|
|
18347
18348
|
viewBox: "0 0 1024 1024",
|
|
@@ -18355,14 +18356,15 @@ const _hoisted_5$9 = /* @__PURE__ */ createElementVNode(
|
|
|
18355
18356
|
],
|
|
18356
18357
|
-1
|
|
18357
18358
|
/* HOISTED */
|
|
18358
|
-
);
|
|
18359
|
+
));
|
|
18359
18360
|
const _hoisted_6$7 = { class: "plus-table-checkbox-checkAll" };
|
|
18360
|
-
const _hoisted_7$5 = {
|
|
18361
|
+
const _hoisted_7$5 = { class: "plus-table-checkbox-actions" };
|
|
18362
|
+
const _hoisted_8$4 = {
|
|
18361
18363
|
key: 0,
|
|
18362
18364
|
class: "plus-table-checkbox-handle"
|
|
18363
18365
|
};
|
|
18364
|
-
const _hoisted_8$4 = { key: 1 };
|
|
18365
18366
|
const _hoisted_9$4 = { key: 1 };
|
|
18367
|
+
const _hoisted_10$3 = { key: 1 };
|
|
18366
18368
|
var _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
18367
18369
|
...{
|
|
18368
18370
|
name: "PlusTableToolbar"
|
|
@@ -18402,6 +18404,12 @@ var _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
18402
18404
|
var _a;
|
|
18403
18405
|
return ((_a = columnSetting.value) == null ? void 0 : _a.overflowLabelLength) || 6;
|
|
18404
18406
|
});
|
|
18407
|
+
const confirmTextValue = computed(
|
|
18408
|
+
() => {
|
|
18409
|
+
var _a;
|
|
18410
|
+
return ((_a = columnSetting.value) == null ? void 0 : _a.confirmText) || String(t("plus.table.confirmText"));
|
|
18411
|
+
}
|
|
18412
|
+
);
|
|
18405
18413
|
const sortable = ref(null);
|
|
18406
18414
|
const buttonNameDensity = [
|
|
18407
18415
|
{
|
|
@@ -18423,6 +18431,20 @@ var _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
18423
18431
|
}
|
|
18424
18432
|
return props.columns.filter((item) => unref(item.headerIsChecked) !== false).map((item) => getTableKey(item));
|
|
18425
18433
|
};
|
|
18434
|
+
const buildFilterColumns = () => {
|
|
18435
|
+
return props.columns.map((item) => {
|
|
18436
|
+
if (state.checkList.includes(getTableKey(item))) {
|
|
18437
|
+
return { ...item, headerIsChecked: true };
|
|
18438
|
+
}
|
|
18439
|
+
return { ...item, headerIsChecked: false };
|
|
18440
|
+
});
|
|
18441
|
+
};
|
|
18442
|
+
const buildConfirmPayload = () => {
|
|
18443
|
+
const columns = buildFilterColumns();
|
|
18444
|
+
const order = columns.map((item) => String(item.prop || "")).filter(Boolean);
|
|
18445
|
+
const checked = columns.filter((item) => item.headerIsChecked !== false).map((item) => String(item.prop || "")).filter(Boolean);
|
|
18446
|
+
return { columns, order, checked };
|
|
18447
|
+
};
|
|
18426
18448
|
const state = reactive({
|
|
18427
18449
|
checkAll: true,
|
|
18428
18450
|
isIndeterminate: false,
|
|
@@ -18451,13 +18473,11 @@ var _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
18451
18473
|
handleFilterTableConfirm("allCheck");
|
|
18452
18474
|
};
|
|
18453
18475
|
const handleFilterTableConfirm = (type) => {
|
|
18454
|
-
|
|
18455
|
-
|
|
18456
|
-
|
|
18457
|
-
|
|
18458
|
-
|
|
18459
|
-
});
|
|
18460
|
-
emit("filterTableHeader", filterColumns, type);
|
|
18476
|
+
emit("filterTableHeader", buildFilterColumns(), type);
|
|
18477
|
+
};
|
|
18478
|
+
const handleConfirmClick = async () => {
|
|
18479
|
+
var _a, _b;
|
|
18480
|
+
await ((_b = (_a = columnSetting.value) == null ? void 0 : _a.onConfirm) == null ? void 0 : _b.call(_a, buildConfirmPayload()));
|
|
18461
18481
|
};
|
|
18462
18482
|
const handleCheckGroupChange = (value) => {
|
|
18463
18483
|
setCheckAllState(value);
|
|
@@ -18522,10 +18542,10 @@ var _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
18522
18542
|
1
|
|
18523
18543
|
/* TEXT */
|
|
18524
18544
|
)
|
|
18525
|
-
])
|
|
18545
|
+
], true)
|
|
18526
18546
|
]),
|
|
18527
18547
|
createElementVNode("div", _hoisted_3$c, [
|
|
18528
|
-
renderSlot(_ctx.$slots, "toolbar"),
|
|
18548
|
+
renderSlot(_ctx.$slots, "toolbar", {}, void 0, true),
|
|
18529
18549
|
((_a = titleBarConfig.value) == null ? void 0 : _a.refresh) === true ? (openBlock(), createElementBlock("span", {
|
|
18530
18550
|
key: 0,
|
|
18531
18551
|
class: "plus-table-title-bar__toolbar__refresh",
|
|
@@ -18549,7 +18569,7 @@ var _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
18549
18569
|
_: 1
|
|
18550
18570
|
/* STABLE */
|
|
18551
18571
|
}, 8, ["size", "color"])
|
|
18552
|
-
])
|
|
18572
|
+
], true)
|
|
18553
18573
|
]),
|
|
18554
18574
|
_: 3
|
|
18555
18575
|
/* FORWARDED */
|
|
@@ -18582,7 +18602,7 @@ var _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
18582
18602
|
_: 1
|
|
18583
18603
|
/* STABLE */
|
|
18584
18604
|
}, 8, ["size", "color"])
|
|
18585
|
-
])
|
|
18605
|
+
], true)
|
|
18586
18606
|
]),
|
|
18587
18607
|
_: 3
|
|
18588
18608
|
/* FORWARDED */
|
|
@@ -18647,14 +18667,14 @@ var _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
18647
18667
|
_: 1
|
|
18648
18668
|
/* STABLE */
|
|
18649
18669
|
}, 8, ["size", "color"])
|
|
18650
|
-
])
|
|
18670
|
+
], true)
|
|
18651
18671
|
]),
|
|
18652
18672
|
_: 3
|
|
18653
18673
|
/* FORWARDED */
|
|
18654
18674
|
}, 8, ["content"])
|
|
18655
18675
|
]),
|
|
18656
18676
|
default: withCtx(() => {
|
|
18657
|
-
var _a2, _b2, _c2;
|
|
18677
|
+
var _a2, _b2, _c2, _d;
|
|
18658
18678
|
return [
|
|
18659
18679
|
createElementVNode("div", _hoisted_6$7, [
|
|
18660
18680
|
createVNode(unref(ElCheckbox), {
|
|
@@ -18673,24 +18693,43 @@ var _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
18673
18693
|
_: 1
|
|
18674
18694
|
/* STABLE */
|
|
18675
18695
|
}, 8, ["modelValue", "indeterminate"]),
|
|
18676
|
-
(
|
|
18677
|
-
|
|
18678
|
-
|
|
18679
|
-
|
|
18680
|
-
|
|
18681
|
-
|
|
18682
|
-
|
|
18683
|
-
|
|
18684
|
-
|
|
18685
|
-
|
|
18686
|
-
|
|
18687
|
-
|
|
18688
|
-
|
|
18689
|
-
|
|
18690
|
-
|
|
18691
|
-
|
|
18692
|
-
|
|
18693
|
-
|
|
18696
|
+
createElementVNode("div", _hoisted_7$5, [
|
|
18697
|
+
((_a2 = columnSetting.value) == null ? void 0 : _a2.confirm) ? (openBlock(), createBlock(unref(ElLink), {
|
|
18698
|
+
key: 0,
|
|
18699
|
+
type: "primary",
|
|
18700
|
+
underline: unref(versionIsLessThan299) ? false : "never",
|
|
18701
|
+
href: "javaScript:;",
|
|
18702
|
+
onClick: withModifiers(handleConfirmClick, ["stop", "prevent"])
|
|
18703
|
+
}, {
|
|
18704
|
+
default: withCtx(() => [
|
|
18705
|
+
createTextVNode(
|
|
18706
|
+
toDisplayString(confirmTextValue.value),
|
|
18707
|
+
1
|
|
18708
|
+
/* TEXT */
|
|
18709
|
+
)
|
|
18710
|
+
]),
|
|
18711
|
+
_: 1
|
|
18712
|
+
/* STABLE */
|
|
18713
|
+
}, 8, ["underline"])) : createCommentVNode("v-if", true),
|
|
18714
|
+
((_b2 = columnSetting.value) == null ? void 0 : _b2.reset) !== false ? (openBlock(), createBlock(unref(ElLink), mergeProps({
|
|
18715
|
+
key: 1,
|
|
18716
|
+
type: "primary",
|
|
18717
|
+
underline: unref(versionIsLessThan299) ? false : "never",
|
|
18718
|
+
href: "javaScript:;"
|
|
18719
|
+
}, unref(isPlainObject$1)((_c2 = columnSetting.value) == null ? void 0 : _c2.reset) ? (_d = columnSetting.value) == null ? void 0 : _d.reset : {}, {
|
|
18720
|
+
onClick: withModifiers(resetCheckBoxList, ["stop", "prevent"])
|
|
18721
|
+
}), {
|
|
18722
|
+
default: withCtx(() => [
|
|
18723
|
+
createTextVNode(
|
|
18724
|
+
toDisplayString(unref(t)("plus.table.resetText")),
|
|
18725
|
+
1
|
|
18726
|
+
/* TEXT */
|
|
18727
|
+
)
|
|
18728
|
+
]),
|
|
18729
|
+
_: 1
|
|
18730
|
+
/* STABLE */
|
|
18731
|
+
}, 16, ["underline"])) : createCommentVNode("v-if", true)
|
|
18732
|
+
])
|
|
18694
18733
|
]),
|
|
18695
18734
|
createVNode(unref(ElCheckboxGroup), {
|
|
18696
18735
|
modelValue: state.checkList,
|
|
@@ -18715,10 +18754,10 @@ var _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
18715
18754
|
key: item.prop,
|
|
18716
18755
|
class: "plus-table-checkbox-item"
|
|
18717
18756
|
}, [
|
|
18718
|
-
((_a3 = columnSetting.value) == null ? void 0 : _a3.dragSort) !== false ? (openBlock(), createElementBlock("div",
|
|
18757
|
+
((_a3 = columnSetting.value) == null ? void 0 : _a3.dragSort) !== false ? (openBlock(), createElementBlock("div", _hoisted_8$4, [
|
|
18719
18758
|
renderSlot(_ctx.$slots, "drag-sort-icon", {}, () => [
|
|
18720
18759
|
createTextVNode("\u2637")
|
|
18721
|
-
])
|
|
18760
|
+
], true)
|
|
18722
18761
|
])) : createCommentVNode("v-if", true),
|
|
18723
18762
|
createCommentVNode(" element-plus \u7248\u672C\u53F7\u5C0F\u4E8E2.6.0 "),
|
|
18724
18763
|
unref(versionIsLessThan260) ? (openBlock(), createBlock(unref(ElCheckbox), {
|
|
@@ -18744,7 +18783,7 @@ var _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
18744
18783
|
/* DYNAMIC */
|
|
18745
18784
|
}, 1032, ["content"])) : (openBlock(), createElementBlock(
|
|
18746
18785
|
"span",
|
|
18747
|
-
|
|
18786
|
+
_hoisted_9$4,
|
|
18748
18787
|
toDisplayString(item.label ? getLabelValue(item.label) : ""),
|
|
18749
18788
|
1
|
|
18750
18789
|
/* TEXT */
|
|
@@ -18779,7 +18818,7 @@ var _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
18779
18818
|
/* DYNAMIC */
|
|
18780
18819
|
}, 1032, ["content"])) : (openBlock(), createElementBlock(
|
|
18781
18820
|
"span",
|
|
18782
|
-
|
|
18821
|
+
_hoisted_10$3,
|
|
18783
18822
|
toDisplayString(item.label ? getLabelValue(item.label) : ""),
|
|
18784
18823
|
1
|
|
18785
18824
|
/* TEXT */
|
|
@@ -18816,7 +18855,7 @@ var _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
18816
18855
|
}
|
|
18817
18856
|
});
|
|
18818
18857
|
|
|
18819
|
-
var PlusTableTitleBar = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__file", "table-title-bar.vue"]]);
|
|
18858
|
+
var PlusTableTitleBar = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__scopeId", "data-v-d1506155"], ["__file", "table-title-bar.vue"]]);
|
|
18820
18859
|
|
|
18821
18860
|
const _hoisted_1$j = { class: "plus-table-expand-col" };
|
|
18822
18861
|
var _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
@@ -60376,8 +60415,7 @@ const closeAllDrawer = () => {
|
|
|
60376
60415
|
drawerStore.value = [];
|
|
60377
60416
|
};
|
|
60378
60417
|
|
|
60379
|
-
const
|
|
60380
|
-
const _withScopeId$3 = (n) => (pushScopeId("data-v-eb9ddafc"), n = n(), popScopeId(), n);
|
|
60418
|
+
const _withScopeId$3 = (n) => (pushScopeId("data-v-80cac14a"), n = n(), popScopeId(), n);
|
|
60381
60419
|
const _hoisted_1$6 = { class: "custom-drawer-header" };
|
|
60382
60420
|
const _hoisted_2$6 = { class: "header-content" };
|
|
60383
60421
|
const _hoisted_3$6 = ["id"];
|
|
@@ -60396,7 +60434,7 @@ var _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
60396
60434
|
__name: "index",
|
|
60397
60435
|
setup(__props) {
|
|
60398
60436
|
const shouldRender = claimDrawerInstance();
|
|
60399
|
-
if (!shouldRender &&
|
|
60437
|
+
if (!shouldRender && process.env.NODE_ENV !== "production") {
|
|
60400
60438
|
console.warn(
|
|
60401
60439
|
"[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."
|
|
60402
60440
|
);
|
|
@@ -60638,7 +60676,7 @@ var _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
60638
60676
|
}
|
|
60639
60677
|
});
|
|
60640
60678
|
|
|
60641
|
-
var YcDrawerComponent = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-
|
|
60679
|
+
var YcDrawerComponent = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-80cac14a"], ["__file", "index.vue"]]);
|
|
60642
60680
|
|
|
60643
60681
|
const YcDrawer = YcDrawerComponent;
|
|
60644
60682
|
const ReDrawer = YcDrawerComponent;
|
|
@@ -64262,7 +64300,7 @@ function createDictStore(config) {
|
|
|
64262
64300
|
});
|
|
64263
64301
|
}
|
|
64264
64302
|
|
|
64265
|
-
const version = "0.0.
|
|
64303
|
+
const version = "0.0.76";
|
|
64266
64304
|
|
|
64267
64305
|
const install = installer.install;
|
|
64268
64306
|
|
|
@@ -4,30 +4,30 @@ import { CreateComponentPublicInstance, ExtractPropTypes, PropType, ComponentOpt
|
|
|
4
4
|
export type { PlusCheckCardProps } from './src/index.vue';
|
|
5
5
|
export declare const PlusCheckCard: {
|
|
6
6
|
new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
7
|
-
size: {
|
|
8
|
-
type: PropType<"" | "default" | "small" | "large">;
|
|
9
|
-
default: string;
|
|
10
|
-
};
|
|
11
|
-
modelValue: {
|
|
12
|
-
type: PropType<boolean>;
|
|
13
|
-
default: boolean;
|
|
14
|
-
};
|
|
15
7
|
title: {
|
|
16
8
|
type: PropType<string | ((data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes)>;
|
|
17
9
|
default: undefined;
|
|
18
10
|
};
|
|
19
|
-
avatar: {
|
|
20
|
-
type: PropType<string | ((data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes)>;
|
|
21
|
-
default: undefined;
|
|
22
|
-
};
|
|
23
11
|
disabled: {
|
|
24
12
|
type: PropType<boolean>;
|
|
25
13
|
default: boolean;
|
|
26
14
|
};
|
|
15
|
+
avatar: {
|
|
16
|
+
type: PropType<string | ((data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes)>;
|
|
17
|
+
default: undefined;
|
|
18
|
+
};
|
|
27
19
|
extra: {
|
|
28
20
|
type: PropType<(data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes>;
|
|
29
21
|
default: undefined;
|
|
30
22
|
};
|
|
23
|
+
size: {
|
|
24
|
+
type: PropType<"" | "default" | "small" | "large">;
|
|
25
|
+
default: string;
|
|
26
|
+
};
|
|
27
|
+
modelValue: {
|
|
28
|
+
type: PropType<boolean>;
|
|
29
|
+
default: boolean;
|
|
30
|
+
};
|
|
31
31
|
description: {
|
|
32
32
|
type: PropType<string | ((data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes)>;
|
|
33
33
|
default: undefined;
|
|
@@ -37,38 +37,38 @@ export declare const PlusCheckCard: {
|
|
|
37
37
|
default: () => {};
|
|
38
38
|
};
|
|
39
39
|
}>> & {
|
|
40
|
-
"onUpdate:modelValue"?: ((checked: boolean) => any) | undefined;
|
|
41
40
|
onChange?: ((checked: boolean) => any) | undefined;
|
|
41
|
+
"onUpdate:modelValue"?: ((checked: boolean) => any) | undefined;
|
|
42
42
|
onExtra?: (() => any) | undefined;
|
|
43
43
|
}, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
44
44
|
"update:modelValue": (checked: boolean) => void;
|
|
45
45
|
change: (checked: boolean) => void;
|
|
46
46
|
extra: () => void;
|
|
47
47
|
}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
48
|
-
size: {
|
|
49
|
-
type: PropType<"" | "default" | "small" | "large">;
|
|
50
|
-
default: string;
|
|
51
|
-
};
|
|
52
|
-
modelValue: {
|
|
53
|
-
type: PropType<boolean>;
|
|
54
|
-
default: boolean;
|
|
55
|
-
};
|
|
56
48
|
title: {
|
|
57
49
|
type: PropType<string | ((data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes)>;
|
|
58
50
|
default: undefined;
|
|
59
51
|
};
|
|
60
|
-
avatar: {
|
|
61
|
-
type: PropType<string | ((data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes)>;
|
|
62
|
-
default: undefined;
|
|
63
|
-
};
|
|
64
52
|
disabled: {
|
|
65
53
|
type: PropType<boolean>;
|
|
66
54
|
default: boolean;
|
|
67
55
|
};
|
|
56
|
+
avatar: {
|
|
57
|
+
type: PropType<string | ((data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes)>;
|
|
58
|
+
default: undefined;
|
|
59
|
+
};
|
|
68
60
|
extra: {
|
|
69
61
|
type: PropType<(data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes>;
|
|
70
62
|
default: undefined;
|
|
71
63
|
};
|
|
64
|
+
size: {
|
|
65
|
+
type: PropType<"" | "default" | "small" | "large">;
|
|
66
|
+
default: string;
|
|
67
|
+
};
|
|
68
|
+
modelValue: {
|
|
69
|
+
type: PropType<boolean>;
|
|
70
|
+
default: boolean;
|
|
71
|
+
};
|
|
72
72
|
description: {
|
|
73
73
|
type: PropType<string | ((data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes)>;
|
|
74
74
|
default: undefined;
|
|
@@ -78,16 +78,16 @@ export declare const PlusCheckCard: {
|
|
|
78
78
|
default: () => {};
|
|
79
79
|
};
|
|
80
80
|
}>> & {
|
|
81
|
-
"onUpdate:modelValue"?: ((checked: boolean) => any) | undefined;
|
|
82
81
|
onChange?: ((checked: boolean) => any) | undefined;
|
|
82
|
+
"onUpdate:modelValue"?: ((checked: boolean) => any) | undefined;
|
|
83
83
|
onExtra?: (() => any) | undefined;
|
|
84
84
|
}, {
|
|
85
|
-
size: "" | "default" | "small" | "large";
|
|
86
|
-
modelValue: boolean;
|
|
87
85
|
title: string | ((data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes);
|
|
88
|
-
avatar: string | ((data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes);
|
|
89
86
|
disabled: boolean;
|
|
87
|
+
avatar: string | ((data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes);
|
|
90
88
|
extra: (data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes;
|
|
89
|
+
size: "" | "default" | "small" | "large";
|
|
90
|
+
modelValue: boolean;
|
|
91
91
|
description: string | ((data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes);
|
|
92
92
|
avatarProps: RecordType;
|
|
93
93
|
}, true, {}, {}, {
|
|
@@ -98,30 +98,30 @@ export declare const PlusCheckCard: {
|
|
|
98
98
|
M: {};
|
|
99
99
|
Defaults: {};
|
|
100
100
|
}, Readonly< ExtractPropTypes<{
|
|
101
|
-
size: {
|
|
102
|
-
type: PropType<"" | "default" | "small" | "large">;
|
|
103
|
-
default: string;
|
|
104
|
-
};
|
|
105
|
-
modelValue: {
|
|
106
|
-
type: PropType<boolean>;
|
|
107
|
-
default: boolean;
|
|
108
|
-
};
|
|
109
101
|
title: {
|
|
110
102
|
type: PropType<string | ((data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes)>;
|
|
111
103
|
default: undefined;
|
|
112
104
|
};
|
|
113
|
-
avatar: {
|
|
114
|
-
type: PropType<string | ((data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes)>;
|
|
115
|
-
default: undefined;
|
|
116
|
-
};
|
|
117
105
|
disabled: {
|
|
118
106
|
type: PropType<boolean>;
|
|
119
107
|
default: boolean;
|
|
120
108
|
};
|
|
109
|
+
avatar: {
|
|
110
|
+
type: PropType<string | ((data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes)>;
|
|
111
|
+
default: undefined;
|
|
112
|
+
};
|
|
121
113
|
extra: {
|
|
122
114
|
type: PropType<(data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes>;
|
|
123
115
|
default: undefined;
|
|
124
116
|
};
|
|
117
|
+
size: {
|
|
118
|
+
type: PropType<"" | "default" | "small" | "large">;
|
|
119
|
+
default: string;
|
|
120
|
+
};
|
|
121
|
+
modelValue: {
|
|
122
|
+
type: PropType<boolean>;
|
|
123
|
+
default: boolean;
|
|
124
|
+
};
|
|
125
125
|
description: {
|
|
126
126
|
type: PropType<string | ((data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes)>;
|
|
127
127
|
default: undefined;
|
|
@@ -131,16 +131,16 @@ export declare const PlusCheckCard: {
|
|
|
131
131
|
default: () => {};
|
|
132
132
|
};
|
|
133
133
|
}>> & {
|
|
134
|
-
"onUpdate:modelValue"?: ((checked: boolean) => any) | undefined;
|
|
135
134
|
onChange?: ((checked: boolean) => any) | undefined;
|
|
135
|
+
"onUpdate:modelValue"?: ((checked: boolean) => any) | undefined;
|
|
136
136
|
onExtra?: (() => any) | undefined;
|
|
137
137
|
}, {}, {}, {}, {}, {
|
|
138
|
-
size: "" | "default" | "small" | "large";
|
|
139
|
-
modelValue: boolean;
|
|
140
138
|
title: string | ((data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes);
|
|
141
|
-
avatar: string | ((data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes);
|
|
142
139
|
disabled: boolean;
|
|
140
|
+
avatar: string | ((data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes);
|
|
143
141
|
extra: (data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes;
|
|
142
|
+
size: "" | "default" | "small" | "large";
|
|
143
|
+
modelValue: boolean;
|
|
144
144
|
description: string | ((data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes);
|
|
145
145
|
avatarProps: RecordType;
|
|
146
146
|
}>;
|
|
@@ -148,30 +148,30 @@ export declare const PlusCheckCard: {
|
|
|
148
148
|
__isTeleport?: undefined;
|
|
149
149
|
__isSuspense?: undefined;
|
|
150
150
|
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
151
|
-
size: {
|
|
152
|
-
type: PropType<"" | "default" | "small" | "large">;
|
|
153
|
-
default: string;
|
|
154
|
-
};
|
|
155
|
-
modelValue: {
|
|
156
|
-
type: PropType<boolean>;
|
|
157
|
-
default: boolean;
|
|
158
|
-
};
|
|
159
151
|
title: {
|
|
160
152
|
type: PropType<string | ((data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes)>;
|
|
161
153
|
default: undefined;
|
|
162
154
|
};
|
|
163
|
-
avatar: {
|
|
164
|
-
type: PropType<string | ((data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes)>;
|
|
165
|
-
default: undefined;
|
|
166
|
-
};
|
|
167
155
|
disabled: {
|
|
168
156
|
type: PropType<boolean>;
|
|
169
157
|
default: boolean;
|
|
170
158
|
};
|
|
159
|
+
avatar: {
|
|
160
|
+
type: PropType<string | ((data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes)>;
|
|
161
|
+
default: undefined;
|
|
162
|
+
};
|
|
171
163
|
extra: {
|
|
172
164
|
type: PropType<(data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes>;
|
|
173
165
|
default: undefined;
|
|
174
166
|
};
|
|
167
|
+
size: {
|
|
168
|
+
type: PropType<"" | "default" | "small" | "large">;
|
|
169
|
+
default: string;
|
|
170
|
+
};
|
|
171
|
+
modelValue: {
|
|
172
|
+
type: PropType<boolean>;
|
|
173
|
+
default: boolean;
|
|
174
|
+
};
|
|
175
175
|
description: {
|
|
176
176
|
type: PropType<string | ((data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes)>;
|
|
177
177
|
default: undefined;
|
|
@@ -181,20 +181,20 @@ export declare const PlusCheckCard: {
|
|
|
181
181
|
default: () => {};
|
|
182
182
|
};
|
|
183
183
|
}>> & {
|
|
184
|
-
"onUpdate:modelValue"?: ((checked: boolean) => any) | undefined;
|
|
185
184
|
onChange?: ((checked: boolean) => any) | undefined;
|
|
185
|
+
"onUpdate:modelValue"?: ((checked: boolean) => any) | undefined;
|
|
186
186
|
onExtra?: (() => any) | undefined;
|
|
187
187
|
}, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
188
188
|
"update:modelValue": (checked: boolean) => void;
|
|
189
189
|
change: (checked: boolean) => void;
|
|
190
190
|
extra: () => void;
|
|
191
191
|
}, string, {
|
|
192
|
-
size: "" | "default" | "small" | "large";
|
|
193
|
-
modelValue: boolean;
|
|
194
192
|
title: string | ((data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes);
|
|
195
|
-
avatar: string | ((data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes);
|
|
196
193
|
disabled: boolean;
|
|
194
|
+
avatar: string | ((data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes);
|
|
197
195
|
extra: (data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes;
|
|
196
|
+
size: "" | "default" | "small" | "large";
|
|
197
|
+
modelValue: boolean;
|
|
198
198
|
description: string | ((data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes);
|
|
199
199
|
avatarProps: RecordType;
|
|
200
200
|
}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
@@ -43,16 +43,16 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
43
43
|
extra: undefined;
|
|
44
44
|
disabled: boolean;
|
|
45
45
|
}>>> & {
|
|
46
|
-
"onUpdate:modelValue"?: ((checked: boolean) => any) | undefined;
|
|
47
46
|
onChange?: ((checked: boolean) => any) | undefined;
|
|
47
|
+
"onUpdate:modelValue"?: ((checked: boolean) => any) | undefined;
|
|
48
48
|
onExtra?: (() => any) | undefined;
|
|
49
49
|
}, {
|
|
50
|
-
size: "" | "default" | "small" | "large";
|
|
51
|
-
modelValue: boolean;
|
|
52
50
|
title: string | ((data: Pick<PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes);
|
|
53
|
-
avatar: string | ((data: Pick<PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes);
|
|
54
51
|
disabled: boolean;
|
|
52
|
+
avatar: string | ((data: Pick<PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes);
|
|
55
53
|
extra: (data: Pick<PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes;
|
|
54
|
+
size: "" | "default" | "small" | "large";
|
|
55
|
+
modelValue: boolean;
|
|
56
56
|
description: string | ((data: Pick<PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes);
|
|
57
57
|
avatarProps: RecordType;
|
|
58
58
|
}, {}>, {
|