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.
Files changed (67) hide show
  1. package/es/components/dialog/src/index.vue2.mjs +6 -3
  2. package/es/components/dialog-form/index.d.ts +1154 -0
  3. package/es/components/dialog-form/src/index.vue.d.ts +493 -0
  4. package/es/components/dialog-form/src/index.vue2.mjs +7 -4
  5. package/es/components/drawer-form/index.d.ts +3467 -0
  6. package/es/components/drawer-form/src/index.vue.d.ts +1254 -0
  7. package/es/components/drawer-form/src/index.vue2.mjs +7 -4
  8. package/es/components/form/index.d.ts +1669 -0
  9. package/es/components/form/src/index.vue.d.ts +652 -0
  10. package/es/components/form/src/index.vue2.mjs +7 -4
  11. package/es/components/page/index.d.ts +15386 -0
  12. package/es/components/page/src/index.vue.d.ts +5306 -0
  13. package/es/components/popover/src/index.vue2.mjs +6 -3
  14. package/es/components/search/index.d.ts +4514 -0
  15. package/es/components/search/src/index.vue.d.ts +1539 -0
  16. package/es/components/yc-plus-page/src/index.vue.d.ts +12804 -0
  17. package/es/components/yc-status-dialog/src/index.vue.mjs +1 -1
  18. package/es/components/yc-status-dialog/src/index.vue2.mjs +6 -3
  19. package/es/hooks/usePlusFormReset.d.ts +9925 -0
  20. package/es/index.css +1 -1
  21. package/index.css +7 -7
  22. package/index.js +52 -36
  23. package/index.min.css +1 -1
  24. package/index.min.js +7 -7
  25. package/index.min.mjs +7 -7
  26. package/index.mjs +52 -36
  27. package/lib/components/dialog/src/index.vue2.js +6 -3
  28. package/lib/components/dialog-form/index.d.ts +1154 -0
  29. package/lib/components/dialog-form/src/index.vue.d.ts +493 -0
  30. package/lib/components/dialog-form/src/index.vue2.js +7 -4
  31. package/lib/components/drawer-form/index.d.ts +3467 -0
  32. package/lib/components/drawer-form/src/index.vue.d.ts +1254 -0
  33. package/lib/components/drawer-form/src/index.vue2.js +7 -4
  34. package/lib/components/form/index.d.ts +1669 -0
  35. package/lib/components/form/src/index.vue.d.ts +652 -0
  36. package/lib/components/form/src/index.vue2.js +7 -4
  37. package/lib/components/page/index.d.ts +15386 -0
  38. package/lib/components/page/src/index.vue.d.ts +5306 -0
  39. package/lib/components/popover/src/index.vue2.js +6 -3
  40. package/lib/components/search/index.d.ts +4514 -0
  41. package/lib/components/search/src/index.vue.d.ts +1539 -0
  42. package/lib/components/yc-plus-page/src/index.vue.d.ts +12804 -0
  43. package/lib/components/yc-status-dialog/src/index.vue.js +1 -1
  44. package/lib/components/yc-status-dialog/src/index.vue2.js +6 -3
  45. package/lib/hooks/usePlusFormReset.d.ts +9925 -0
  46. package/lib/index.css +1 -1
  47. package/locale/en.js +1 -1
  48. package/locale/en.min.js +1 -1
  49. package/locale/en.min.mjs +1 -1
  50. package/locale/en.mjs +1 -1
  51. package/locale/ja.js +1 -1
  52. package/locale/ja.min.js +1 -1
  53. package/locale/ja.min.mjs +1 -1
  54. package/locale/ja.mjs +1 -1
  55. package/locale/ko.js +1 -1
  56. package/locale/ko.min.js +1 -1
  57. package/locale/ko.min.mjs +1 -1
  58. package/locale/ko.mjs +1 -1
  59. package/locale/zh-cn.js +1 -1
  60. package/locale/zh-cn.min.js +1 -1
  61. package/locale/zh-cn.min.mjs +1 -1
  62. package/locale/zh-cn.mjs +1 -1
  63. package/locale/zh-tw.js +1 -1
  64. package/locale/zh-tw.min.js +1 -1
  65. package/locale/zh-tw.min.mjs +1 -1
  66. package/locale/zh-tw.mjs +1 -1
  67. 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-a1851fcd"], ["__file", "index.vue"]]);
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 handleConfirm = lodashEs.debounce(doConfirm, 300, {
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: vue.unref(handleConfirm)
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", "onClick"])
167
+ }, 8, ["type", "loading"])
165
168
  ], true)
166
169
  ])
167
170
  ]),