yc-pro-components 0.0.17 → 0.0.18
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 +38 -38
- package/es/components/check-card/src/index.vue.d.ts +2 -2
- package/es/components/check-card-group/index.d.ts +19 -19
- package/es/components/check-card-group/src/index.vue.d.ts +1 -1
- package/es/components/dialog/src/index.vue2.mjs +6 -3
- package/es/components/dialog-form/index.d.ts +1154 -0
- package/es/components/dialog-form/src/index.vue.d.ts +493 -0
- package/es/components/dialog-form/src/index.vue2.mjs +7 -4
- 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 +3467 -0
- package/es/components/drawer-form/src/index.vue.d.ts +1254 -0
- package/es/components/drawer-form/src/index.vue2.mjs +7 -4
- package/es/components/form/index.d.ts +1665 -1
- package/es/components/form/src/form-content.vue.d.ts +20 -20
- package/es/components/form/src/index.vue.d.ts +652 -0
- package/es/components/form/src/index.vue2.mjs +7 -4
- package/es/components/form-item/index.d.ts +32 -32
- package/es/components/form-item/src/index.vue.d.ts +12 -12
- 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 +9 -9
- package/es/components/input-tag/src/index.vue.d.ts +1 -1
- package/es/components/page/index.d.ts +15386 -0
- package/es/components/page/src/index.vue.d.ts +5306 -0
- package/es/components/popover/src/index.vue2.mjs +6 -3
- package/es/components/radio/index.d.ts +25 -25
- package/es/components/radio/src/index.vue.d.ts +25 -25
- package/es/components/render/index.d.ts +6 -6
- package/es/components/render/src/index.vue.d.ts +2 -2
- package/es/components/search/index.d.ts +4514 -0
- package/es/components/search/src/index.vue.d.ts +1539 -0
- package/es/components/table/index.d.ts +54 -54
- package/es/components/table/src/index.vue.d.ts +18 -18
- package/es/components/table/src/table-column-drag-sort.vue.d.ts +18 -18
- package/es/components/table/src/table-column.vue.d.ts +37 -37
- package/es/components/yc-count-to/index.d.ts +1 -1
- package/es/components/yc-count-to/src/normal/index.d.ts +1 -1
- package/es/components/yc-dialog/index.d.ts +24 -24
- 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 +12804 -0
- package/es/components/yc-select-v2/src/index.vue.d.ts +2 -2
- package/es/components/yc-status-dialog/src/index.vue.d.ts +1 -1
- package/es/components/yc-status-dialog/src/index.vue.mjs +1 -1
- package/es/components/yc-status-dialog/src/index.vue2.mjs +6 -3
- package/es/components/yc-svg-icon/src/index.vue.d.ts +1 -1
- package/es/components/yc-text/src/index.vue.d.ts +2 -2
- package/es/hooks/usePlusFormReset.d.ts +9833 -5
- package/es/index.css +1 -1
- package/index.css +7 -7
- package/index.js +41 -23
- package/index.min.css +1 -1
- package/index.min.js +7 -7
- package/index.min.mjs +7 -7
- package/index.mjs +41 -23
- package/lib/components/check-card/index.d.ts +38 -38
- package/lib/components/check-card/src/index.vue.d.ts +2 -2
- package/lib/components/check-card-group/index.d.ts +19 -19
- package/lib/components/check-card-group/src/index.vue.d.ts +1 -1
- package/lib/components/dialog/src/index.vue2.js +6 -3
- package/lib/components/dialog-form/index.d.ts +1154 -0
- package/lib/components/dialog-form/src/index.vue.d.ts +493 -0
- package/lib/components/dialog-form/src/index.vue2.js +7 -4
- 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 +3467 -0
- package/lib/components/drawer-form/src/index.vue.d.ts +1254 -0
- package/lib/components/drawer-form/src/index.vue2.js +7 -4
- package/lib/components/form/index.d.ts +1665 -1
- package/lib/components/form/src/form-content.vue.d.ts +20 -20
- package/lib/components/form/src/index.vue.d.ts +652 -0
- package/lib/components/form/src/index.vue2.js +7 -4
- package/lib/components/form-item/index.d.ts +32 -32
- package/lib/components/form-item/src/index.vue.d.ts +12 -12
- 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 +9 -9
- package/lib/components/input-tag/src/index.vue.d.ts +1 -1
- package/lib/components/page/index.d.ts +15386 -0
- package/lib/components/page/src/index.vue.d.ts +5306 -0
- package/lib/components/popover/src/index.vue2.js +6 -3
- package/lib/components/radio/index.d.ts +25 -25
- package/lib/components/radio/src/index.vue.d.ts +25 -25
- package/lib/components/render/index.d.ts +6 -6
- package/lib/components/render/src/index.vue.d.ts +2 -2
- package/lib/components/search/index.d.ts +4514 -0
- package/lib/components/search/src/index.vue.d.ts +1539 -0
- package/lib/components/table/index.d.ts +54 -54
- package/lib/components/table/src/index.vue.d.ts +18 -18
- package/lib/components/table/src/table-column-drag-sort.vue.d.ts +18 -18
- package/lib/components/table/src/table-column.vue.d.ts +37 -37
- package/lib/components/yc-count-to/index.d.ts +1 -1
- package/lib/components/yc-count-to/src/normal/index.d.ts +1 -1
- package/lib/components/yc-dialog/index.d.ts +24 -24
- 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 +12804 -0
- package/lib/components/yc-select-v2/src/index.vue.d.ts +2 -2
- package/lib/components/yc-status-dialog/src/index.vue.d.ts +1 -1
- package/lib/components/yc-status-dialog/src/index.vue.js +1 -1
- package/lib/components/yc-status-dialog/src/index.vue2.js +6 -3
- package/lib/components/yc-svg-icon/src/index.vue.d.ts +1 -1
- package/lib/components/yc-text/src/index.vue.d.ts +2 -2
- package/lib/hooks/usePlusFormReset.d.ts +9833 -5
- package/lib/index.css +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 +3 -3
package/es/index.css
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
.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}
|
|
8
8
|
.custom-drawer-header[data-v-f8ad9f74]{border-radius:4px 4px 0 0;display:flex;flex-direction:column;height:56px;justify-content:flex-end;width:100%}.custom-drawer-header[data-v-f8ad9f74] .header-content[data-v-f8ad9f74]{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-f8ad9f74] .header-content[data-v-f8ad9f74] .header-title[data-v-f8ad9f74]{color:#000;font-family:NotoSansSC,PingFangSC,sans-serif;font-size:16px;font-weight:400;height:24px;line-height:24px;overflow-wrap:break-word;text-align:left;white-space:nowrap}.custom-drawer-header[data-v-f8ad9f74] .header-content[data-v-f8ad9f74] .header-close-icon[data-v-f8ad9f74]{color:rgba(0,0,0,.6);cursor:pointer;transition:color .3s}.custom-drawer-header[data-v-f8ad9f74] .header-content[data-v-f8ad9f74] .header-close-icon[data-v-f8ad9f74][data-v-f8ad9f74]:hover{color:rgba(0,0,0,.9)}.custom-drawer-header[data-v-f8ad9f74] .header-divider[data-v-f8ad9f74]{background-color:#f5f7f9;height:1px;margin-top:15px;width:100%}
|
|
9
9
|
.yc-status-dialog .el-dialog__footer:before{display:none!important}.yc-status-dialog{padding:16px!important}.yc-status-dialog .el-dialog__header{margin:0!important;padding:0!important}.yc-status-dialog .el-dialog__body{padding:0!important}.yc-status-dialog .el-dialog__footer{padding:16px 0 0!important}
|
|
10
|
-
.yc-status-dialog[data-v-
|
|
10
|
+
.yc-status-dialog[data-v-7a078f73] .dialog-header[data-v-7a078f73]{align-items:center;display:flex;gap:4px}.yc-status-dialog[data-v-7a078f73] .dialog-header[data-v-7a078f73] .icon-wrapper[data-v-7a078f73]{align-items:center;border-radius:50%;display:flex;flex-shrink:0;justify-content:center}.yc-status-dialog[data-v-7a078f73] .dialog-header[data-v-7a078f73] .icon-wrapper[data-v-7a078f73] .status-icon[data-v-7a078f73]{height:28px;width:28px}.yc-status-dialog[data-v-7a078f73] .dialog-header[data-v-7a078f73] .title-text[data-v-7a078f73]{color:#000;flex:1;font-size:16px;font-weight:500;line-height:24px}.yc-status-dialog[data-v-7a078f73] .dialog-content[data-v-7a078f73]{min-height:54px;padding-top:16px}.yc-status-dialog[data-v-7a078f73] .dialog-content[data-v-7a078f73] .content-text[data-v-7a078f73]{color:#666;font-size:14px;line-height:22px;margin:0}.yc-status-dialog[data-v-7a078f73] .dialog-footer[data-v-7a078f73]{display:flex;justify-content:flex-end}
|
|
11
11
|
.yc-more-actions__icon[data-v-cabdaeba]{align-items:center;display:inline-flex;margin-right:4px}.yc-more-actions__item-icon[data-v-cabdaeba]{align-items:center;display:inline-flex;font-size:14px;margin-right:6px}[data-v-cabdaeba] .el-dropdown-menu__item.is-danger{color:var(--el-color-danger)}[data-v-cabdaeba] .el-dropdown-menu__item.is-danger:hover{background-color:var(--el-color-danger-light-9);color:var(--el-color-danger)}
|
|
12
12
|
.yc-form-container-header[data-v-e3e5d0e4] .header-title[data-v-e3e5d0e4]{color:var(--el-text-color-regular);font-family:NotoSansSC,sans-serif;font-size:16px;font-style:normal;font-weight:400;line-height:24px;padding-left:8px;position:relative;text-align:left}.yc-form-container-header[data-v-e3e5d0e4] .header-title[data-v-e3e5d0e4][data-v-e3e5d0e4]:before{background:linear-gradient(180deg,var(--yc-header-gradient-start,var(--pure-button-primary-gradient-start,var(--el-color-primary))) 0,var(--yc-header-gradient-end,var(--pure-button-primary-gradient-end,var(--el-color-primary-light-3))) 100%);content:"";height:16px;left:0;position:absolute;top:50%;transform:translateY(-50%);width:4px}
|
|
13
13
|
.scroll-num{display:inline-block;height:1em;line-height:1;overflow:hidden;text-align:center}.scroll-num ul{animation:scrolling calc(var(--delay)*1s) ease-out forwards;filter:url(#blur);list-style:none;margin:0;padding:0}.scroll-num ul li{height:1em;line-height:1}@keyframes scrolling{0%{transform:translateY(0)}20%{transform:translateY(calc(var(--i)*-9.09% - 18.18%))}40%{transform:translateY(calc(var(--i)*-9.09% + 9.09%))}60%{transform:translateY(calc(var(--i)*-9.09% - 4.545%))}80%{transform:translateY(calc(var(--i)*-9.09% + 2.27%))}to{transform:translateY(calc(var(--i)*-9.09%))}}
|
package/index.css
CHANGED
|
@@ -486,40 +486,40 @@
|
|
|
486
486
|
.yc-status-dialog .el-dialog__footer {
|
|
487
487
|
padding: 16px 0 0 !important;
|
|
488
488
|
}
|
|
489
|
-
.yc-status-dialog[data-v-
|
|
489
|
+
.yc-status-dialog[data-v-7a078f73] .dialog-header[data-v-7a078f73] {
|
|
490
490
|
display: flex;
|
|
491
491
|
gap: 4px;
|
|
492
492
|
align-items: center;
|
|
493
493
|
}
|
|
494
|
-
.yc-status-dialog[data-v-
|
|
494
|
+
.yc-status-dialog[data-v-7a078f73] .dialog-header[data-v-7a078f73] .icon-wrapper[data-v-7a078f73] {
|
|
495
495
|
display: flex;
|
|
496
496
|
flex-shrink: 0;
|
|
497
497
|
align-items: center;
|
|
498
498
|
justify-content: center;
|
|
499
499
|
border-radius: 50%;
|
|
500
500
|
}
|
|
501
|
-
.yc-status-dialog[data-v-
|
|
501
|
+
.yc-status-dialog[data-v-7a078f73] .dialog-header[data-v-7a078f73] .icon-wrapper[data-v-7a078f73] .status-icon[data-v-7a078f73] {
|
|
502
502
|
width: 28px;
|
|
503
503
|
height: 28px;
|
|
504
504
|
}
|
|
505
|
-
.yc-status-dialog[data-v-
|
|
505
|
+
.yc-status-dialog[data-v-7a078f73] .dialog-header[data-v-7a078f73] .title-text[data-v-7a078f73] {
|
|
506
506
|
flex: 1;
|
|
507
507
|
font-size: 16px;
|
|
508
508
|
font-weight: 500;
|
|
509
509
|
line-height: 24px;
|
|
510
510
|
color: #000;
|
|
511
511
|
}
|
|
512
|
-
.yc-status-dialog[data-v-
|
|
512
|
+
.yc-status-dialog[data-v-7a078f73] .dialog-content[data-v-7a078f73] {
|
|
513
513
|
padding-top: 16px;
|
|
514
514
|
min-height: 54px;
|
|
515
515
|
}
|
|
516
|
-
.yc-status-dialog[data-v-
|
|
516
|
+
.yc-status-dialog[data-v-7a078f73] .dialog-content[data-v-7a078f73] .content-text[data-v-7a078f73] {
|
|
517
517
|
margin: 0;
|
|
518
518
|
font-size: 14px;
|
|
519
519
|
line-height: 22px;
|
|
520
520
|
color: #666;
|
|
521
521
|
}
|
|
522
|
-
.yc-status-dialog[data-v-
|
|
522
|
+
.yc-status-dialog[data-v-7a078f73] .dialog-footer[data-v-7a078f73] {
|
|
523
523
|
display: flex;
|
|
524
524
|
justify-content: flex-end;
|
|
525
525
|
}
|
package/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! yc-pro-components v0.0.
|
|
1
|
+
/*! yc-pro-components v0.0.18 */
|
|
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) :
|
|
@@ -8627,12 +8627,15 @@
|
|
|
8627
8627
|
isSubmitting.value = false;
|
|
8628
8628
|
}, 300);
|
|
8629
8629
|
};
|
|
8630
|
-
const
|
|
8630
|
+
const debouncedConfirm = debounce(doConfirm, 300, {
|
|
8631
8631
|
leading: true,
|
|
8632
8632
|
// 立即执行第一次
|
|
8633
8633
|
trailing: false
|
|
8634
8634
|
// 不执行最后一次
|
|
8635
8635
|
});
|
|
8636
|
+
const handleConfirm = () => {
|
|
8637
|
+
debouncedConfirm();
|
|
8638
|
+
};
|
|
8636
8639
|
const handleCancel = () => {
|
|
8637
8640
|
emit("update:modelValue", false);
|
|
8638
8641
|
emit("cancel");
|
|
@@ -8690,7 +8693,7 @@
|
|
|
8690
8693
|
vue.createVNode(vue.unref(elementPlus.ElButton), {
|
|
8691
8694
|
type: "primary",
|
|
8692
8695
|
loading: computedLoading.value,
|
|
8693
|
-
onClick:
|
|
8696
|
+
onClick: handleConfirm
|
|
8694
8697
|
}, {
|
|
8695
8698
|
default: vue.withCtx(() => [
|
|
8696
8699
|
vue.createTextVNode(
|
|
@@ -8701,7 +8704,7 @@
|
|
|
8701
8704
|
]),
|
|
8702
8705
|
_: 1
|
|
8703
8706
|
/* STABLE */
|
|
8704
|
-
}, 8, ["loading"
|
|
8707
|
+
}, 8, ["loading"])
|
|
8705
8708
|
])
|
|
8706
8709
|
],
|
|
8707
8710
|
4
|
|
@@ -16819,12 +16822,15 @@
|
|
|
16819
16822
|
}
|
|
16820
16823
|
return false;
|
|
16821
16824
|
};
|
|
16822
|
-
const
|
|
16825
|
+
const debouncedSubmit = debounce(doSubmit, 300, {
|
|
16823
16826
|
leading: true,
|
|
16824
16827
|
// 立即执行第一次
|
|
16825
16828
|
trailing: false
|
|
16826
16829
|
// 不执行最后一次
|
|
16827
16830
|
});
|
|
16831
|
+
const handleSubmit = () => {
|
|
16832
|
+
debouncedSubmit();
|
|
16833
|
+
};
|
|
16828
16834
|
const handleReset = () => {
|
|
16829
16835
|
clearValidate();
|
|
16830
16836
|
values.value = { ...props.defaultValues };
|
|
@@ -16973,7 +16979,7 @@
|
|
|
16973
16979
|
style: vue.normalizeStyle(style.value)
|
|
16974
16980
|
},
|
|
16975
16981
|
[
|
|
16976
|
-
vue.renderSlot(_ctx.$slots, "footer", vue.normalizeProps(vue.guardReactiveProps({ handleReset, handleSubmit
|
|
16982
|
+
vue.renderSlot(_ctx.$slots, "footer", vue.normalizeProps(vue.guardReactiveProps({ handleReset, handleSubmit })), () => [
|
|
16977
16983
|
_ctx.hasReset ? (vue.openBlock(), vue.createBlock(vue.unref(elementPlus.ElButton), {
|
|
16978
16984
|
key: 0,
|
|
16979
16985
|
onClick: handleReset
|
|
@@ -16992,7 +16998,7 @@
|
|
|
16992
16998
|
vue.createVNode(vue.unref(elementPlus.ElButton), {
|
|
16993
16999
|
type: "primary",
|
|
16994
17000
|
loading: computedLoading.value,
|
|
16995
|
-
onClick:
|
|
17001
|
+
onClick: handleSubmit
|
|
16996
17002
|
}, {
|
|
16997
17003
|
default: vue.withCtx(() => [
|
|
16998
17004
|
vue.createCommentVNode(" \u63D0\u4EA4 "),
|
|
@@ -17004,7 +17010,7 @@
|
|
|
17004
17010
|
]),
|
|
17005
17011
|
_: 1
|
|
17006
17012
|
/* STABLE */
|
|
17007
|
-
}, 8, ["loading"
|
|
17013
|
+
}, 8, ["loading"])
|
|
17008
17014
|
])
|
|
17009
17015
|
],
|
|
17010
17016
|
4
|
|
@@ -18115,12 +18121,15 @@
|
|
|
18115
18121
|
subVisible.value = false;
|
|
18116
18122
|
emit("confirm");
|
|
18117
18123
|
};
|
|
18118
|
-
const
|
|
18124
|
+
const debouncedConfirm = debounce(doConfirm, 300, {
|
|
18119
18125
|
leading: true,
|
|
18120
18126
|
// 立即执行第一次
|
|
18121
18127
|
trailing: false
|
|
18122
18128
|
// 不执行最后一次
|
|
18123
18129
|
});
|
|
18130
|
+
const handleConfirmPopover = () => {
|
|
18131
|
+
debouncedConfirm();
|
|
18132
|
+
};
|
|
18124
18133
|
return (_ctx, _cache) => {
|
|
18125
18134
|
return vue.openBlock(), vue.createBlock(vue.unref(elementPlus.ElPopover), vue.mergeProps({
|
|
18126
18135
|
visible: subVisible.value,
|
|
@@ -18153,7 +18162,7 @@
|
|
|
18153
18162
|
size: "small",
|
|
18154
18163
|
type: "primary",
|
|
18155
18164
|
loading: computedLoading.value,
|
|
18156
|
-
onClick:
|
|
18165
|
+
onClick: handleConfirmPopover
|
|
18157
18166
|
}, {
|
|
18158
18167
|
default: vue.withCtx(() => [
|
|
18159
18168
|
vue.createTextVNode(
|
|
@@ -18164,7 +18173,7 @@
|
|
|
18164
18173
|
]),
|
|
18165
18174
|
_: 1
|
|
18166
18175
|
/* STABLE */
|
|
18167
|
-
}, 8, ["loading"
|
|
18176
|
+
}, 8, ["loading"])
|
|
18168
18177
|
])) : vue.createCommentVNode("v-if", true)
|
|
18169
18178
|
]),
|
|
18170
18179
|
_: 3
|
|
@@ -19624,12 +19633,15 @@
|
|
|
19624
19633
|
}, 300);
|
|
19625
19634
|
}
|
|
19626
19635
|
};
|
|
19627
|
-
const
|
|
19636
|
+
const debouncedConfirm = debounce(doConfirm, 300, {
|
|
19628
19637
|
leading: true,
|
|
19629
19638
|
// 立即执行第一次
|
|
19630
19639
|
trailing: false
|
|
19631
19640
|
// 不执行最后一次
|
|
19632
19641
|
});
|
|
19642
|
+
const handleConfirm = () => {
|
|
19643
|
+
debouncedConfirm();
|
|
19644
|
+
};
|
|
19633
19645
|
const handleCancel = () => {
|
|
19634
19646
|
subVisible.value = false;
|
|
19635
19647
|
emit("update:visible", subVisible.value);
|
|
@@ -19656,7 +19668,7 @@
|
|
|
19656
19668
|
}, _ctx.dialog, {
|
|
19657
19669
|
onClose: handleClose,
|
|
19658
19670
|
onCancel: handleCancel,
|
|
19659
|
-
onConfirm:
|
|
19671
|
+
onConfirm: handleConfirm
|
|
19660
19672
|
}), vue.createSlots({
|
|
19661
19673
|
default: vue.withCtx(() => [
|
|
19662
19674
|
vue.createVNode(vue.unref(PlusForm), vue.mergeProps({
|
|
@@ -19707,11 +19719,11 @@
|
|
|
19707
19719
|
_ctx.$slots["dialog-footer"] ? {
|
|
19708
19720
|
name: "footer",
|
|
19709
19721
|
fn: vue.withCtx(() => [
|
|
19710
|
-
vue.renderSlot(_ctx.$slots, "dialog-footer", vue.normalizeProps(vue.guardReactiveProps({ handleConfirm
|
|
19722
|
+
vue.renderSlot(_ctx.$slots, "dialog-footer", vue.normalizeProps(vue.guardReactiveProps({ handleConfirm, handleCancel })))
|
|
19711
19723
|
]),
|
|
19712
19724
|
key: "1"
|
|
19713
19725
|
} : void 0
|
|
19714
|
-
]), 1040, ["modelValue", "title", "confirm-loading"
|
|
19726
|
+
]), 1040, ["modelValue", "title", "confirm-loading"]);
|
|
19715
19727
|
};
|
|
19716
19728
|
}
|
|
19717
19729
|
});
|
|
@@ -19793,12 +19805,15 @@
|
|
|
19793
19805
|
emit("confirmError", errors);
|
|
19794
19806
|
}
|
|
19795
19807
|
};
|
|
19796
|
-
const
|
|
19808
|
+
const debouncedConfirm = debounce(doConfirm, 300, {
|
|
19797
19809
|
leading: true,
|
|
19798
19810
|
// 立即执行第一次
|
|
19799
19811
|
trailing: false
|
|
19800
19812
|
// 不执行最后一次
|
|
19801
19813
|
});
|
|
19814
|
+
const handleConfirm = () => {
|
|
19815
|
+
debouncedConfirm();
|
|
19816
|
+
};
|
|
19802
19817
|
const handleClose = () => {
|
|
19803
19818
|
handleCancel();
|
|
19804
19819
|
emit("update:visible", subVisible.value);
|
|
@@ -19872,7 +19887,7 @@
|
|
|
19872
19887
|
name: "footer",
|
|
19873
19888
|
fn: vue.withCtx(() => [
|
|
19874
19889
|
vue.createElementVNode("div", _hoisted_1$d, [
|
|
19875
|
-
vue.renderSlot(_ctx.$slots, "drawer-footer", vue.normalizeProps(vue.guardReactiveProps({ handleConfirm
|
|
19890
|
+
vue.renderSlot(_ctx.$slots, "drawer-footer", vue.normalizeProps(vue.guardReactiveProps({ handleConfirm, handleCancel })), () => [
|
|
19876
19891
|
vue.createVNode(vue.unref(elementPlus.ElButton), { onClick: handleCancel }, {
|
|
19877
19892
|
default: vue.withCtx(() => [
|
|
19878
19893
|
vue.createTextVNode(
|
|
@@ -19887,7 +19902,7 @@
|
|
|
19887
19902
|
vue.createVNode(vue.unref(elementPlus.ElButton), {
|
|
19888
19903
|
type: "primary",
|
|
19889
19904
|
loading: computedLoading.value,
|
|
19890
|
-
onClick:
|
|
19905
|
+
onClick: handleConfirm
|
|
19891
19906
|
}, {
|
|
19892
19907
|
default: vue.withCtx(() => [
|
|
19893
19908
|
vue.createTextVNode(
|
|
@@ -19898,7 +19913,7 @@
|
|
|
19898
19913
|
]),
|
|
19899
19914
|
_: 1
|
|
19900
19915
|
/* STABLE */
|
|
19901
|
-
}, 8, ["loading"
|
|
19916
|
+
}, 8, ["loading"])
|
|
19902
19917
|
])
|
|
19903
19918
|
])
|
|
19904
19919
|
]),
|
|
@@ -58042,12 +58057,15 @@
|
|
|
58042
58057
|
emit("confirm");
|
|
58043
58058
|
dialogVisible.value = false;
|
|
58044
58059
|
};
|
|
58045
|
-
const
|
|
58060
|
+
const debouncedConfirm = debounce(doConfirm, 300, {
|
|
58046
58061
|
leading: true,
|
|
58047
58062
|
// 立即执行第一次
|
|
58048
58063
|
trailing: false
|
|
58049
58064
|
// 不执行最后一次
|
|
58050
58065
|
});
|
|
58066
|
+
const handleConfirm = () => {
|
|
58067
|
+
debouncedConfirm();
|
|
58068
|
+
};
|
|
58051
58069
|
const handleCancel = () => {
|
|
58052
58070
|
emit("cancel");
|
|
58053
58071
|
dialogVisible.value = false;
|
|
@@ -58107,7 +58125,7 @@
|
|
|
58107
58125
|
vue.createVNode(vue.unref(elementPlus.ElButton), {
|
|
58108
58126
|
type: currentStatusConfig.value.confirmButtonType,
|
|
58109
58127
|
loading: isSubmitting.value,
|
|
58110
|
-
onClick:
|
|
58128
|
+
onClick: handleConfirm
|
|
58111
58129
|
}, {
|
|
58112
58130
|
default: vue.withCtx(() => [
|
|
58113
58131
|
vue.createTextVNode(
|
|
@@ -58118,7 +58136,7 @@
|
|
|
58118
58136
|
]),
|
|
58119
58137
|
_: 1
|
|
58120
58138
|
/* STABLE */
|
|
58121
|
-
}, 8, ["type", "loading"
|
|
58139
|
+
}, 8, ["type", "loading"])
|
|
58122
58140
|
], true)
|
|
58123
58141
|
])
|
|
58124
58142
|
]),
|
|
@@ -58142,7 +58160,7 @@
|
|
|
58142
58160
|
}
|
|
58143
58161
|
});
|
|
58144
58162
|
|
|
58145
|
-
var YcStatusDialog = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-
|
|
58163
|
+
var YcStatusDialog = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-7a078f73"], ["__file", "index.vue"]]);
|
|
58146
58164
|
|
|
58147
58165
|
var _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
|
|
58148
58166
|
...{
|
package/index.min.css
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
.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}
|
|
8
8
|
.custom-drawer-header[data-v-f8ad9f74]{border-radius:4px 4px 0 0;display:flex;flex-direction:column;height:56px;justify-content:flex-end;width:100%}.custom-drawer-header[data-v-f8ad9f74] .header-content[data-v-f8ad9f74]{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-f8ad9f74] .header-content[data-v-f8ad9f74] .header-title[data-v-f8ad9f74]{color:#000;font-family:NotoSansSC,PingFangSC,sans-serif;font-size:16px;font-weight:400;height:24px;line-height:24px;overflow-wrap:break-word;text-align:left;white-space:nowrap}.custom-drawer-header[data-v-f8ad9f74] .header-content[data-v-f8ad9f74] .header-close-icon[data-v-f8ad9f74]{color:rgba(0,0,0,.6);cursor:pointer;transition:color .3s}.custom-drawer-header[data-v-f8ad9f74] .header-content[data-v-f8ad9f74] .header-close-icon[data-v-f8ad9f74][data-v-f8ad9f74]:hover{color:rgba(0,0,0,.9)}.custom-drawer-header[data-v-f8ad9f74] .header-divider[data-v-f8ad9f74]{background-color:#f5f7f9;height:1px;margin-top:15px;width:100%}
|
|
9
9
|
.yc-status-dialog .el-dialog__footer:before{display:none!important}.yc-status-dialog{padding:16px!important}.yc-status-dialog .el-dialog__header{margin:0!important;padding:0!important}.yc-status-dialog .el-dialog__body{padding:0!important}.yc-status-dialog .el-dialog__footer{padding:16px 0 0!important}
|
|
10
|
-
.yc-status-dialog[data-v-
|
|
10
|
+
.yc-status-dialog[data-v-7a078f73] .dialog-header[data-v-7a078f73]{align-items:center;display:flex;gap:4px}.yc-status-dialog[data-v-7a078f73] .dialog-header[data-v-7a078f73] .icon-wrapper[data-v-7a078f73]{align-items:center;border-radius:50%;display:flex;flex-shrink:0;justify-content:center}.yc-status-dialog[data-v-7a078f73] .dialog-header[data-v-7a078f73] .icon-wrapper[data-v-7a078f73] .status-icon[data-v-7a078f73]{height:28px;width:28px}.yc-status-dialog[data-v-7a078f73] .dialog-header[data-v-7a078f73] .title-text[data-v-7a078f73]{color:#000;flex:1;font-size:16px;font-weight:500;line-height:24px}.yc-status-dialog[data-v-7a078f73] .dialog-content[data-v-7a078f73]{min-height:54px;padding-top:16px}.yc-status-dialog[data-v-7a078f73] .dialog-content[data-v-7a078f73] .content-text[data-v-7a078f73]{color:#666;font-size:14px;line-height:22px;margin:0}.yc-status-dialog[data-v-7a078f73] .dialog-footer[data-v-7a078f73]{display:flex;justify-content:flex-end}
|
|
11
11
|
.yc-more-actions__icon[data-v-cabdaeba]{align-items:center;display:inline-flex;margin-right:4px}.yc-more-actions__item-icon[data-v-cabdaeba]{align-items:center;display:inline-flex;font-size:14px;margin-right:6px}[data-v-cabdaeba] .el-dropdown-menu__item.is-danger{color:var(--el-color-danger)}[data-v-cabdaeba] .el-dropdown-menu__item.is-danger:hover{background-color:var(--el-color-danger-light-9);color:var(--el-color-danger)}
|
|
12
12
|
.yc-form-container-header[data-v-e3e5d0e4] .header-title[data-v-e3e5d0e4]{color:var(--el-text-color-regular);font-family:NotoSansSC,sans-serif;font-size:16px;font-style:normal;font-weight:400;line-height:24px;padding-left:8px;position:relative;text-align:left}.yc-form-container-header[data-v-e3e5d0e4] .header-title[data-v-e3e5d0e4][data-v-e3e5d0e4]:before{background:linear-gradient(180deg,var(--yc-header-gradient-start,var(--pure-button-primary-gradient-start,var(--el-color-primary))) 0,var(--yc-header-gradient-end,var(--pure-button-primary-gradient-end,var(--el-color-primary-light-3))) 100%);content:"";height:16px;left:0;position:absolute;top:50%;transform:translateY(-50%);width:4px}
|
|
13
13
|
.scroll-num{display:inline-block;height:1em;line-height:1;overflow:hidden;text-align:center}.scroll-num ul{animation:scrolling calc(var(--delay)*1s) ease-out forwards;filter:url(#blur);list-style:none;margin:0;padding:0}.scroll-num ul li{height:1em;line-height:1}@keyframes scrolling{0%{transform:translateY(0)}20%{transform:translateY(calc(var(--i)*-9.09% - 18.18%))}40%{transform:translateY(calc(var(--i)*-9.09% + 9.09%))}60%{transform:translateY(calc(var(--i)*-9.09% - 4.545%))}80%{transform:translateY(calc(var(--i)*-9.09% + 2.27%))}to{transform:translateY(calc(var(--i)*-9.09%))}}
|