yc-pro-components 0.0.16 → 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/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/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 +1669 -0
- package/es/components/form/src/index.vue.d.ts +652 -0
- package/es/components/form/src/index.vue2.mjs +7 -4
- 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/search/index.d.ts +4514 -0
- package/es/components/search/src/index.vue.d.ts +1539 -0
- package/es/components/yc-plus-page/src/index.vue.d.ts +12804 -0
- 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/hooks/usePlusFormReset.d.ts +9925 -0
- package/es/index.css +1 -1
- package/index.css +7 -7
- package/index.js +52 -36
- package/index.min.css +1 -1
- package/index.min.js +7 -7
- package/index.min.mjs +7 -7
- package/index.mjs +52 -36
- 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/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 +1669 -0
- package/lib/components/form/src/index.vue.d.ts +652 -0
- package/lib/components/form/src/index.vue2.js +7 -4
- 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/search/index.d.ts +4514 -0
- package/lib/components/search/src/index.vue.d.ts +1539 -0
- package/lib/components/yc-plus-page/src/index.vue.d.ts +12804 -0
- 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/hooks/usePlusFormReset.d.ts +9925 -0
- 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) :
|
|
@@ -23,10 +23,8 @@
|
|
|
23
23
|
/** Used as a reference to the global object. */
|
|
24
24
|
var root = freeGlobal || freeSelf || Function('return this')();
|
|
25
25
|
|
|
26
|
-
var root$1 = root;
|
|
27
|
-
|
|
28
26
|
/** Built-in value references. */
|
|
29
|
-
var Symbol$1 = root
|
|
27
|
+
var Symbol$1 = root.Symbol;
|
|
30
28
|
|
|
31
29
|
/** Used for built-in method references. */
|
|
32
30
|
var objectProto$f = Object.prototype;
|
|
@@ -421,7 +419,7 @@
|
|
|
421
419
|
}
|
|
422
420
|
|
|
423
421
|
/** Used to detect overreaching core-js shims. */
|
|
424
|
-
var coreJsData = root
|
|
422
|
+
var coreJsData = root['__core-js_shared__'];
|
|
425
423
|
|
|
426
424
|
/** Used to detect methods masquerading as native. */
|
|
427
425
|
var maskSrcKey = (function() {
|
|
@@ -532,7 +530,7 @@
|
|
|
532
530
|
}
|
|
533
531
|
|
|
534
532
|
/* Built-in method references that are verified to be native. */
|
|
535
|
-
var WeakMap$1 = getNative(root
|
|
533
|
+
var WeakMap$1 = getNative(root, 'WeakMap');
|
|
536
534
|
|
|
537
535
|
/** Built-in value references. */
|
|
538
536
|
var objectCreate = Object.create;
|
|
@@ -1133,7 +1131,7 @@
|
|
|
1133
1131
|
var moduleExports$2 = freeModule$2 && freeModule$2.exports === freeExports$2;
|
|
1134
1132
|
|
|
1135
1133
|
/** Built-in value references. */
|
|
1136
|
-
var Buffer$1 = moduleExports$2 ? root
|
|
1134
|
+
var Buffer$1 = moduleExports$2 ? root.Buffer : undefined;
|
|
1137
1135
|
|
|
1138
1136
|
/* Built-in method references for those with the same name as other `lodash` methods. */
|
|
1139
1137
|
var nativeIsBuffer = Buffer$1 ? Buffer$1.isBuffer : undefined;
|
|
@@ -1752,7 +1750,7 @@
|
|
|
1752
1750
|
ListCache.prototype.set = listCacheSet;
|
|
1753
1751
|
|
|
1754
1752
|
/* Built-in method references that are verified to be native. */
|
|
1755
|
-
var Map$1 = getNative(root
|
|
1753
|
+
var Map$1 = getNative(root, 'Map');
|
|
1756
1754
|
|
|
1757
1755
|
/**
|
|
1758
1756
|
* Removes all key-value entries from the map.
|
|
@@ -2327,7 +2325,7 @@
|
|
|
2327
2325
|
var moduleExports = freeModule && freeModule.exports === freeExports;
|
|
2328
2326
|
|
|
2329
2327
|
/** Built-in value references. */
|
|
2330
|
-
var Buffer = moduleExports ? root
|
|
2328
|
+
var Buffer = moduleExports ? root.Buffer : undefined,
|
|
2331
2329
|
allocUnsafe = Buffer ? Buffer.allocUnsafe : undefined;
|
|
2332
2330
|
|
|
2333
2331
|
/**
|
|
@@ -2504,13 +2502,13 @@
|
|
|
2504
2502
|
}
|
|
2505
2503
|
|
|
2506
2504
|
/* Built-in method references that are verified to be native. */
|
|
2507
|
-
var DataView$1 = getNative(root
|
|
2505
|
+
var DataView$1 = getNative(root, 'DataView');
|
|
2508
2506
|
|
|
2509
2507
|
/* Built-in method references that are verified to be native. */
|
|
2510
|
-
var Promise$1 = getNative(root
|
|
2508
|
+
var Promise$1 = getNative(root, 'Promise');
|
|
2511
2509
|
|
|
2512
2510
|
/* Built-in method references that are verified to be native. */
|
|
2513
|
-
var Set$1 = getNative(root
|
|
2511
|
+
var Set$1 = getNative(root, 'Set');
|
|
2514
2512
|
|
|
2515
2513
|
/** `Object#toString` result references. */
|
|
2516
2514
|
var mapTag$4 = '[object Map]',
|
|
@@ -2589,7 +2587,7 @@
|
|
|
2589
2587
|
}
|
|
2590
2588
|
|
|
2591
2589
|
/** Built-in value references. */
|
|
2592
|
-
var Uint8Array$1 = root
|
|
2590
|
+
var Uint8Array$1 = root.Uint8Array;
|
|
2593
2591
|
|
|
2594
2592
|
/**
|
|
2595
2593
|
* Creates a clone of `arrayBuffer`.
|
|
@@ -3876,7 +3874,7 @@
|
|
|
3876
3874
|
* // => Logs the number of milliseconds it took for the deferred invocation.
|
|
3877
3875
|
*/
|
|
3878
3876
|
var now = function() {
|
|
3879
|
-
return root
|
|
3877
|
+
return root.Date.now();
|
|
3880
3878
|
};
|
|
3881
3879
|
|
|
3882
3880
|
/** Error message constants. */
|
|
@@ -8629,12 +8627,15 @@
|
|
|
8629
8627
|
isSubmitting.value = false;
|
|
8630
8628
|
}, 300);
|
|
8631
8629
|
};
|
|
8632
|
-
const
|
|
8630
|
+
const debouncedConfirm = debounce(doConfirm, 300, {
|
|
8633
8631
|
leading: true,
|
|
8634
8632
|
// 立即执行第一次
|
|
8635
8633
|
trailing: false
|
|
8636
8634
|
// 不执行最后一次
|
|
8637
8635
|
});
|
|
8636
|
+
const handleConfirm = () => {
|
|
8637
|
+
debouncedConfirm();
|
|
8638
|
+
};
|
|
8638
8639
|
const handleCancel = () => {
|
|
8639
8640
|
emit("update:modelValue", false);
|
|
8640
8641
|
emit("cancel");
|
|
@@ -8692,7 +8693,7 @@
|
|
|
8692
8693
|
vue.createVNode(vue.unref(elementPlus.ElButton), {
|
|
8693
8694
|
type: "primary",
|
|
8694
8695
|
loading: computedLoading.value,
|
|
8695
|
-
onClick:
|
|
8696
|
+
onClick: handleConfirm
|
|
8696
8697
|
}, {
|
|
8697
8698
|
default: vue.withCtx(() => [
|
|
8698
8699
|
vue.createTextVNode(
|
|
@@ -8703,7 +8704,7 @@
|
|
|
8703
8704
|
]),
|
|
8704
8705
|
_: 1
|
|
8705
8706
|
/* STABLE */
|
|
8706
|
-
}, 8, ["loading"
|
|
8707
|
+
}, 8, ["loading"])
|
|
8707
8708
|
])
|
|
8708
8709
|
],
|
|
8709
8710
|
4
|
|
@@ -16821,12 +16822,15 @@
|
|
|
16821
16822
|
}
|
|
16822
16823
|
return false;
|
|
16823
16824
|
};
|
|
16824
|
-
const
|
|
16825
|
+
const debouncedSubmit = debounce(doSubmit, 300, {
|
|
16825
16826
|
leading: true,
|
|
16826
16827
|
// 立即执行第一次
|
|
16827
16828
|
trailing: false
|
|
16828
16829
|
// 不执行最后一次
|
|
16829
16830
|
});
|
|
16831
|
+
const handleSubmit = () => {
|
|
16832
|
+
debouncedSubmit();
|
|
16833
|
+
};
|
|
16830
16834
|
const handleReset = () => {
|
|
16831
16835
|
clearValidate();
|
|
16832
16836
|
values.value = { ...props.defaultValues };
|
|
@@ -16975,7 +16979,7 @@
|
|
|
16975
16979
|
style: vue.normalizeStyle(style.value)
|
|
16976
16980
|
},
|
|
16977
16981
|
[
|
|
16978
|
-
vue.renderSlot(_ctx.$slots, "footer", vue.normalizeProps(vue.guardReactiveProps({ handleReset, handleSubmit
|
|
16982
|
+
vue.renderSlot(_ctx.$slots, "footer", vue.normalizeProps(vue.guardReactiveProps({ handleReset, handleSubmit })), () => [
|
|
16979
16983
|
_ctx.hasReset ? (vue.openBlock(), vue.createBlock(vue.unref(elementPlus.ElButton), {
|
|
16980
16984
|
key: 0,
|
|
16981
16985
|
onClick: handleReset
|
|
@@ -16994,7 +16998,7 @@
|
|
|
16994
16998
|
vue.createVNode(vue.unref(elementPlus.ElButton), {
|
|
16995
16999
|
type: "primary",
|
|
16996
17000
|
loading: computedLoading.value,
|
|
16997
|
-
onClick:
|
|
17001
|
+
onClick: handleSubmit
|
|
16998
17002
|
}, {
|
|
16999
17003
|
default: vue.withCtx(() => [
|
|
17000
17004
|
vue.createCommentVNode(" \u63D0\u4EA4 "),
|
|
@@ -17006,7 +17010,7 @@
|
|
|
17006
17010
|
]),
|
|
17007
17011
|
_: 1
|
|
17008
17012
|
/* STABLE */
|
|
17009
|
-
}, 8, ["loading"
|
|
17013
|
+
}, 8, ["loading"])
|
|
17010
17014
|
])
|
|
17011
17015
|
],
|
|
17012
17016
|
4
|
|
@@ -18117,12 +18121,15 @@
|
|
|
18117
18121
|
subVisible.value = false;
|
|
18118
18122
|
emit("confirm");
|
|
18119
18123
|
};
|
|
18120
|
-
const
|
|
18124
|
+
const debouncedConfirm = debounce(doConfirm, 300, {
|
|
18121
18125
|
leading: true,
|
|
18122
18126
|
// 立即执行第一次
|
|
18123
18127
|
trailing: false
|
|
18124
18128
|
// 不执行最后一次
|
|
18125
18129
|
});
|
|
18130
|
+
const handleConfirmPopover = () => {
|
|
18131
|
+
debouncedConfirm();
|
|
18132
|
+
};
|
|
18126
18133
|
return (_ctx, _cache) => {
|
|
18127
18134
|
return vue.openBlock(), vue.createBlock(vue.unref(elementPlus.ElPopover), vue.mergeProps({
|
|
18128
18135
|
visible: subVisible.value,
|
|
@@ -18155,7 +18162,7 @@
|
|
|
18155
18162
|
size: "small",
|
|
18156
18163
|
type: "primary",
|
|
18157
18164
|
loading: computedLoading.value,
|
|
18158
|
-
onClick:
|
|
18165
|
+
onClick: handleConfirmPopover
|
|
18159
18166
|
}, {
|
|
18160
18167
|
default: vue.withCtx(() => [
|
|
18161
18168
|
vue.createTextVNode(
|
|
@@ -18166,7 +18173,7 @@
|
|
|
18166
18173
|
]),
|
|
18167
18174
|
_: 1
|
|
18168
18175
|
/* STABLE */
|
|
18169
|
-
}, 8, ["loading"
|
|
18176
|
+
}, 8, ["loading"])
|
|
18170
18177
|
])) : vue.createCommentVNode("v-if", true)
|
|
18171
18178
|
]),
|
|
18172
18179
|
_: 3
|
|
@@ -19626,12 +19633,15 @@
|
|
|
19626
19633
|
}, 300);
|
|
19627
19634
|
}
|
|
19628
19635
|
};
|
|
19629
|
-
const
|
|
19636
|
+
const debouncedConfirm = debounce(doConfirm, 300, {
|
|
19630
19637
|
leading: true,
|
|
19631
19638
|
// 立即执行第一次
|
|
19632
19639
|
trailing: false
|
|
19633
19640
|
// 不执行最后一次
|
|
19634
19641
|
});
|
|
19642
|
+
const handleConfirm = () => {
|
|
19643
|
+
debouncedConfirm();
|
|
19644
|
+
};
|
|
19635
19645
|
const handleCancel = () => {
|
|
19636
19646
|
subVisible.value = false;
|
|
19637
19647
|
emit("update:visible", subVisible.value);
|
|
@@ -19658,7 +19668,7 @@
|
|
|
19658
19668
|
}, _ctx.dialog, {
|
|
19659
19669
|
onClose: handleClose,
|
|
19660
19670
|
onCancel: handleCancel,
|
|
19661
|
-
onConfirm:
|
|
19671
|
+
onConfirm: handleConfirm
|
|
19662
19672
|
}), vue.createSlots({
|
|
19663
19673
|
default: vue.withCtx(() => [
|
|
19664
19674
|
vue.createVNode(vue.unref(PlusForm), vue.mergeProps({
|
|
@@ -19709,11 +19719,11 @@
|
|
|
19709
19719
|
_ctx.$slots["dialog-footer"] ? {
|
|
19710
19720
|
name: "footer",
|
|
19711
19721
|
fn: vue.withCtx(() => [
|
|
19712
|
-
vue.renderSlot(_ctx.$slots, "dialog-footer", vue.normalizeProps(vue.guardReactiveProps({ handleConfirm
|
|
19722
|
+
vue.renderSlot(_ctx.$slots, "dialog-footer", vue.normalizeProps(vue.guardReactiveProps({ handleConfirm, handleCancel })))
|
|
19713
19723
|
]),
|
|
19714
19724
|
key: "1"
|
|
19715
19725
|
} : void 0
|
|
19716
|
-
]), 1040, ["modelValue", "title", "confirm-loading"
|
|
19726
|
+
]), 1040, ["modelValue", "title", "confirm-loading"]);
|
|
19717
19727
|
};
|
|
19718
19728
|
}
|
|
19719
19729
|
});
|
|
@@ -19795,12 +19805,15 @@
|
|
|
19795
19805
|
emit("confirmError", errors);
|
|
19796
19806
|
}
|
|
19797
19807
|
};
|
|
19798
|
-
const
|
|
19808
|
+
const debouncedConfirm = debounce(doConfirm, 300, {
|
|
19799
19809
|
leading: true,
|
|
19800
19810
|
// 立即执行第一次
|
|
19801
19811
|
trailing: false
|
|
19802
19812
|
// 不执行最后一次
|
|
19803
19813
|
});
|
|
19814
|
+
const handleConfirm = () => {
|
|
19815
|
+
debouncedConfirm();
|
|
19816
|
+
};
|
|
19804
19817
|
const handleClose = () => {
|
|
19805
19818
|
handleCancel();
|
|
19806
19819
|
emit("update:visible", subVisible.value);
|
|
@@ -19874,7 +19887,7 @@
|
|
|
19874
19887
|
name: "footer",
|
|
19875
19888
|
fn: vue.withCtx(() => [
|
|
19876
19889
|
vue.createElementVNode("div", _hoisted_1$d, [
|
|
19877
|
-
vue.renderSlot(_ctx.$slots, "drawer-footer", vue.normalizeProps(vue.guardReactiveProps({ handleConfirm
|
|
19890
|
+
vue.renderSlot(_ctx.$slots, "drawer-footer", vue.normalizeProps(vue.guardReactiveProps({ handleConfirm, handleCancel })), () => [
|
|
19878
19891
|
vue.createVNode(vue.unref(elementPlus.ElButton), { onClick: handleCancel }, {
|
|
19879
19892
|
default: vue.withCtx(() => [
|
|
19880
19893
|
vue.createTextVNode(
|
|
@@ -19889,7 +19902,7 @@
|
|
|
19889
19902
|
vue.createVNode(vue.unref(elementPlus.ElButton), {
|
|
19890
19903
|
type: "primary",
|
|
19891
19904
|
loading: computedLoading.value,
|
|
19892
|
-
onClick:
|
|
19905
|
+
onClick: handleConfirm
|
|
19893
19906
|
}, {
|
|
19894
19907
|
default: vue.withCtx(() => [
|
|
19895
19908
|
vue.createTextVNode(
|
|
@@ -19900,7 +19913,7 @@
|
|
|
19900
19913
|
]),
|
|
19901
19914
|
_: 1
|
|
19902
19915
|
/* STABLE */
|
|
19903
|
-
}, 8, ["loading"
|
|
19916
|
+
}, 8, ["loading"])
|
|
19904
19917
|
])
|
|
19905
19918
|
])
|
|
19906
19919
|
]),
|
|
@@ -58044,12 +58057,15 @@
|
|
|
58044
58057
|
emit("confirm");
|
|
58045
58058
|
dialogVisible.value = false;
|
|
58046
58059
|
};
|
|
58047
|
-
const
|
|
58060
|
+
const debouncedConfirm = debounce(doConfirm, 300, {
|
|
58048
58061
|
leading: true,
|
|
58049
58062
|
// 立即执行第一次
|
|
58050
58063
|
trailing: false
|
|
58051
58064
|
// 不执行最后一次
|
|
58052
58065
|
});
|
|
58066
|
+
const handleConfirm = () => {
|
|
58067
|
+
debouncedConfirm();
|
|
58068
|
+
};
|
|
58053
58069
|
const handleCancel = () => {
|
|
58054
58070
|
emit("cancel");
|
|
58055
58071
|
dialogVisible.value = false;
|
|
@@ -58109,7 +58125,7 @@
|
|
|
58109
58125
|
vue.createVNode(vue.unref(elementPlus.ElButton), {
|
|
58110
58126
|
type: currentStatusConfig.value.confirmButtonType,
|
|
58111
58127
|
loading: isSubmitting.value,
|
|
58112
|
-
onClick:
|
|
58128
|
+
onClick: handleConfirm
|
|
58113
58129
|
}, {
|
|
58114
58130
|
default: vue.withCtx(() => [
|
|
58115
58131
|
vue.createTextVNode(
|
|
@@ -58120,7 +58136,7 @@
|
|
|
58120
58136
|
]),
|
|
58121
58137
|
_: 1
|
|
58122
58138
|
/* STABLE */
|
|
58123
|
-
}, 8, ["type", "loading"
|
|
58139
|
+
}, 8, ["type", "loading"])
|
|
58124
58140
|
], true)
|
|
58125
58141
|
])
|
|
58126
58142
|
]),
|
|
@@ -58144,7 +58160,7 @@
|
|
|
58144
58160
|
}
|
|
58145
58161
|
});
|
|
58146
58162
|
|
|
58147
|
-
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"]]);
|
|
58148
58164
|
|
|
58149
58165
|
var _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
|
|
58150
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%))}}
|