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
|
@@ -5,6 +5,6 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
var index_vue_vue_type_script_setup_true_lang = require('./index.vue2.js');
|
|
6
6
|
var _pluginVue_exportHelper = require('../../../_virtual/_plugin-vue_export-helper.js');
|
|
7
7
|
|
|
8
|
-
var YcStatusDialog = /* @__PURE__ */ _pluginVue_exportHelper.default(index_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-
|
|
8
|
+
var YcStatusDialog = /* @__PURE__ */ _pluginVue_exportHelper.default(index_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-7a078f73"], ["__file", "index.vue"]]);
|
|
9
9
|
|
|
10
10
|
exports.default = YcStatusDialog;
|
|
@@ -85,12 +85,15 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
85
85
|
emit("confirm");
|
|
86
86
|
dialogVisible.value = false;
|
|
87
87
|
};
|
|
88
|
-
const
|
|
88
|
+
const debouncedConfirm = lodashEs.debounce(doConfirm, 300, {
|
|
89
89
|
leading: true,
|
|
90
90
|
// 立即执行第一次
|
|
91
91
|
trailing: false
|
|
92
92
|
// 不执行最后一次
|
|
93
93
|
});
|
|
94
|
+
const handleConfirm = () => {
|
|
95
|
+
debouncedConfirm();
|
|
96
|
+
};
|
|
94
97
|
const handleCancel = () => {
|
|
95
98
|
emit("cancel");
|
|
96
99
|
dialogVisible.value = false;
|
|
@@ -150,7 +153,7 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
150
153
|
vue.createVNode(vue.unref(elementPlus.ElButton), {
|
|
151
154
|
type: currentStatusConfig.value.confirmButtonType,
|
|
152
155
|
loading: isSubmitting.value,
|
|
153
|
-
onClick:
|
|
156
|
+
onClick: handleConfirm
|
|
154
157
|
}, {
|
|
155
158
|
default: vue.withCtx(() => [
|
|
156
159
|
vue.createTextVNode(
|
|
@@ -161,7 +164,7 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
161
164
|
]),
|
|
162
165
|
_: 1
|
|
163
166
|
/* STABLE */
|
|
164
|
-
}, 8, ["type", "loading"
|
|
167
|
+
}, 8, ["type", "loading"])
|
|
165
168
|
], true)
|
|
166
169
|
])
|
|
167
170
|
]),
|