@web-utils/form-ui 1.0.0-beta22 → 1.0.0-beta24

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 (84) hide show
  1. package/api/index.d.ts +1 -1
  2. package/api/index.mjs +1 -1
  3. package/chunks/{INlqdzng.mjs → 3QpBKdDM.mjs} +3 -3
  4. package/chunks/{CJv6Sn_v.mjs → 3o0tA4s6.mjs} +3 -3
  5. package/chunks/{dDAvzX4k.mjs → 5XleJ1q7.mjs} +3 -3
  6. package/chunks/{BIm5rmJm.mjs → ADvOhGAW.mjs} +2 -2
  7. package/chunks/{B-Y8YSMp.mjs → B7Fo7eih.mjs} +3 -3
  8. package/chunks/{CH7m94ce.mjs → B7x-U0mD.mjs} +3 -3
  9. package/chunks/{BzMaCcUd.mjs → BVLgLg_s.mjs} +1 -1
  10. package/chunks/{DP1YukLf.mjs → BhmGnR4F.mjs} +2 -2
  11. package/chunks/{DpH8CVbN.mjs → Bm5eiSmT.mjs} +17 -17
  12. package/chunks/{CozfnlhM.mjs → C2hH5v6n.mjs} +3 -3
  13. package/chunks/{Cnmu4eY-.mjs → CKW6E1o4.mjs} +2 -2
  14. package/chunks/{BwuQhCIf.mjs → CQwLIAVn.mjs} +3 -3
  15. package/chunks/{C2RhdxHB.mjs → Ce7JJ6Kh.mjs} +1 -1
  16. package/chunks/{Bw1QPGNc.mjs → Cme51jl3.mjs} +3 -3
  17. package/chunks/{DbBdLuvW.mjs → CnP5qx9A.mjs} +3 -3
  18. package/chunks/{CwjQbaXJ.mjs → CwnhyemQ.mjs} +3 -3
  19. package/chunks/{y8u4cMEF.mjs → D-ffcm89.mjs} +4 -4
  20. package/chunks/{3VI058Yv.mjs → DIJ8AiAE.mjs} +4 -4
  21. package/chunks/{ENc67_lM.mjs → DJTwM7o_.mjs} +4 -4
  22. package/chunks/{BcMgzZyZ.mjs → DL491cg2.mjs} +3 -3
  23. package/chunks/{DBL23JPA.mjs → DgJWblJ-.mjs} +3 -3
  24. package/chunks/{tIzKZ11j.mjs → DpBkGggC.mjs} +3 -3
  25. package/chunks/{rkRnszQn.mjs → DzMQIy5h.mjs} +2 -2
  26. package/chunks/{Cxvr9Z1r.mjs → Njpw648u.mjs} +1 -1
  27. package/chunks/{D4Pknq4r.mjs → gw2yFGP0.mjs} +4 -4
  28. package/chunks/{Cp9FIjnh.mjs → mjEH6tHn.mjs} +2 -2
  29. package/confirm-button/index.d.ts +82 -40
  30. package/confirm-button/index.mjs +1 -1
  31. package/confirmable/index.d.ts +83 -41
  32. package/confirmable/index.mjs +1 -1
  33. package/element-dialog/index.d.ts +15 -15
  34. package/element-dialog/index.mjs +1 -1
  35. package/form-button/index.d.ts +82 -40
  36. package/form-cascader/index.d.ts +1 -190
  37. package/form-cascader/index.mjs +1 -1
  38. package/form-check-box-group/index.d.ts +1 -188
  39. package/form-check-box-group/index.mjs +1 -1
  40. package/form-checkbox/index.d.ts +0 -196
  41. package/form-checkbox/index.mjs +1 -1
  42. package/form-date-picker/index.d.ts +1 -199
  43. package/form-date-picker/index.mjs +1 -1
  44. package/form-holder/index.d.ts +3 -3
  45. package/form-holder/index.mjs +1 -1
  46. package/form-image/index.d.ts +0 -200
  47. package/form-image/index.mjs +1 -1
  48. package/form-input/index.d.ts +3 -199
  49. package/form-input/index.mjs +1 -1
  50. package/form-input-cron-expression/index.d.ts +1 -200
  51. package/form-input-cron-expression/index.mjs +1 -1
  52. package/form-input-email/index.d.ts +3 -199
  53. package/form-input-email/index.mjs +1 -1
  54. package/form-input-id-card/index.d.ts +3 -199
  55. package/form-input-id-card/index.mjs +1 -1
  56. package/form-input-number/index.d.ts +1 -197
  57. package/form-input-number/index.mjs +1 -1
  58. package/form-input-phone-number/index.d.ts +3 -199
  59. package/form-input-phone-number/index.mjs +1 -1
  60. package/form-item-group/index.d.ts +1 -1
  61. package/form-item-x/index.d.ts +5 -5
  62. package/form-item-x/index.mjs +1 -1
  63. package/form-radio-group/index.d.ts +0 -196
  64. package/form-radio-group/index.mjs +1 -1
  65. package/form-rate/index.d.ts +0 -198
  66. package/form-rate/index.mjs +1 -1
  67. package/form-select/index.d.ts +0 -189
  68. package/form-select/index.mjs +1 -1
  69. package/form-slider/index.d.ts +0 -198
  70. package/form-slider/index.mjs +1 -1
  71. package/form-switch/index.d.ts +0 -198
  72. package/form-switch/index.mjs +1 -1
  73. package/form-text/index.d.ts +0 -189
  74. package/form-text/index.mjs +1 -1
  75. package/helper/dictionary.mjs +1 -1
  76. package/iframe-window/index.mjs +1 -1
  77. package/index.mjs +22 -22
  78. package/package.json +1 -1
  79. package/resolver/{resolver.mjs → index.mjs} +1 -1
  80. package/toolbar/index.mjs +1 -1
  81. package/toolbar-button/index.d.ts +2 -2
  82. package/vue-cron/index.mjs +1 -1
  83. package/web-types.json +1 -1
  84. /package/resolver/{resolver.d.ts → index.d.ts} +0 -0
package/api/index.d.ts CHANGED
@@ -57,4 +57,4 @@ export declare const remote: (type: string) => Promise<{
57
57
  data: DictItem[];
58
58
  };
59
59
  }> | undefined;
60
- export declare const configComponents: (options: ConfigOptions) => void;
60
+ export declare const config: (options: ConfigOptions) => void;
package/api/index.mjs CHANGED
@@ -39,4 +39,4 @@ var r = { privilege: {
39
39
  });
40
40
  };
41
41
  //#endregion
42
- export { u as configComponents, c as getDictTreeByType, o as goBack, a as hasAuthority, i as processButtons, s as reloadTable, l as remote };
42
+ export { u as config, c as getDictTreeByType, o as goBack, a as hasAuthority, i as processButtons, s as reloadTable, l as remote };
@@ -1,8 +1,8 @@
1
- import { i as e, n as t } from "./BIm5rmJm.mjs";
2
- import { n } from "./Cp9FIjnh.mjs";
1
+ import { i as e, n as t } from "./ADvOhGAW.mjs";
2
+ import { n } from "./mjEH6tHn.mjs";
3
3
  import { computed as r, createVNode as i, isVNode as a, mergeProps as o } from "vue";
4
4
  import { ElCheckbox as s, ElCheckboxButton as c, ElCheckboxGroup as l } from "element-plus/es";
5
- //#region src/components/form/props/checkbox-group.js
5
+ //#region src/components/form/props/checkbox-group.ts
6
6
  var u = {
7
7
  ...n,
8
8
  modelValue: {
@@ -1,8 +1,8 @@
1
- import { i as e, n as t } from "./BIm5rmJm.mjs";
2
- import { n } from "./Cp9FIjnh.mjs";
1
+ import { i as e, n as t } from "./ADvOhGAW.mjs";
2
+ import { n } from "./mjEH6tHn.mjs";
3
3
  import { createVNode as r, mergeProps as i, useModel as a } from "vue";
4
4
  import { ElSlider as o } from "element-plus/es";
5
- //#region src/components/form/props/slide.js
5
+ //#region src/components/form/props/slide.ts
6
6
  var s = {
7
7
  ...n,
8
8
  modelValue: [Number, Array],
@@ -1,9 +1,9 @@
1
- import { i as e, n as t } from "./BIm5rmJm.mjs";
2
- import { n, t as r } from "./Cp9FIjnh.mjs";
1
+ import { i as e, n as t } from "./ADvOhGAW.mjs";
2
+ import { n, t as r } from "./mjEH6tHn.mjs";
3
3
  import { isString as i } from "@web-utils/core";
4
4
  import { computed as a, createVNode as o, mergeProps as s } from "vue";
5
5
  import { ElInputNumber as c } from "element-plus/es";
6
- //#region src/components/form/props/input-number.js
6
+ //#region src/components/form/props/input-number.ts
7
7
  var l = {
8
8
  ...n,
9
9
  ...r,
@@ -1,9 +1,9 @@
1
- import { t as e } from "./BzMaCcUd.mjs";
1
+ import { t as e } from "./BVLgLg_s.mjs";
2
2
  import { formHolderContextKey as t, formItemConfigProviderContextKey as n, formItemGroupContextKey as r } from "../constants/index.mjs";
3
3
  import { computed as i, createVNode as a, h as o, inject as s, mergeProps as c, nextTick as l, unref as u, useTemplateRef as d } from "vue";
4
4
  import { ElCol as f, rowContextKey as p } from "element-plus";
5
5
  import { ElCol as m, ElFormItem as h, ElTooltip as g } from "element-plus/es";
6
- //#region src/components/form/props/form-item.js
6
+ //#region src/components/form/props/form-item.ts
7
7
  var _ = {
8
8
  prop: [String, Array],
9
9
  label: String,
@@ -1,8 +1,8 @@
1
- import { i as e, n as t } from "./BIm5rmJm.mjs";
2
- import { n } from "./Cp9FIjnh.mjs";
1
+ import { i as e, n as t } from "./ADvOhGAW.mjs";
2
+ import { n } from "./mjEH6tHn.mjs";
3
3
  import { createVNode as r, mergeProps as i, useModel as a } from "vue";
4
4
  import { ElSwitch as o } from "element-plus/es";
5
- //#region src/components/form/props/switch.js
5
+ //#region src/components/form/props/switch.ts
6
6
  var s = {
7
7
  ...n,
8
8
  modelValue: [
@@ -1,8 +1,8 @@
1
- import { i as e, n as t } from "./BIm5rmJm.mjs";
2
- import { n } from "./Cp9FIjnh.mjs";
1
+ import { i as e, n as t } from "./ADvOhGAW.mjs";
2
+ import { n } from "./mjEH6tHn.mjs";
3
3
  import { createVNode as r, mergeProps as i, useModel as a } from "vue";
4
4
  import { ElOption as o, ElSelect as s } from "element-plus/es";
5
- //#region src/components/form/props/select.js
5
+ //#region src/components/form/props/select.ts
6
6
  var c = {
7
7
  ...n,
8
8
  modelValue: [
@@ -1,6 +1,6 @@
1
1
  import { capitalize as e, uncapitalize as t } from "@web-utils/core";
2
2
  import { computed as n } from "vue";
3
- //#region src/utils/index.js
3
+ //#region src/utils/index.ts
4
4
  var r = (t, n, r, i) => {
5
5
  let a = {};
6
6
  if (n) for (let e in t) n(e) && (a[e] = t[e]);
@@ -1,7 +1,7 @@
1
- import { a as e } from "./BzMaCcUd.mjs";
1
+ import { a as e } from "./BVLgLg_s.mjs";
2
2
  import { computed as t, createBlock as n, createCommentVNode as r, createElementBlock as i, createElementVNode as a, createSlots as o, getCurrentInstance as s, mergeModels as c, mergeProps as l, normalizeClass as u, openBlock as d, ref as f, renderSlot as p, toDisplayString as m, unref as h, useModel as g, useTemplateRef as _, withCtx as v, withModifiers as y } from "vue";
3
3
  import { ElDialog as b } from "element-plus/es";
4
- //#region src/components/dialog/props.js
4
+ //#region src/components/dialog/props.ts
5
5
  var x = {
6
6
  modelValue: {
7
7
  type: Boolean,
@@ -1,20 +1,20 @@
1
1
  import { isFunction as e } from "@web-utils/core";
2
- import { h as t, resolveComponent as n } from "vue";
3
- import { ElLoading as r, ElMessageBox as i } from "element-plus";
4
- //#region src/components/button/confirmable-mixin.js
5
- async function a(t, n, a) {
2
+ import { defineComponent as t, h as n, resolveComponent as r } from "vue";
3
+ import { ElLoading as i, ElMessageBox as a } from "element-plus";
4
+ //#region src/components/button/confirmable-mixin.ts
5
+ async function o(t, n, r) {
6
6
  let { stop: o, prevent: s, message: c, loadable: l, loadingText: u, confirmable: d, confirmType: f, confirmText: p, confirmTitle: m } = n;
7
7
  o && t.stopPropagation(), s && t.preventDefault();
8
- let { onBefore: h, onClick: g, onCancel: _, onAfter: v } = a;
8
+ let { onBefore: h, onClick: g, onCancel: _, onAfter: v } = r;
9
9
  if (e(g)) try {
10
10
  let n = !0;
11
- if (e(h) && (n = await h(t)), n === !1) return;
12
- d && await i.confirm(c || p, {
11
+ if (e(h) && (n = await h(t)), !n) return;
12
+ d && await a.confirm(c || p, {
13
13
  type: f,
14
14
  title: m
15
15
  });
16
- let a;
17
- l && (a = r.service({
16
+ let r;
17
+ l && (r = i.service({
18
18
  background: "rgba(0,0,0,0.3)",
19
19
  text: u
20
20
  }));
@@ -22,12 +22,12 @@ async function a(t, n, a) {
22
22
  try {
23
23
  o = await g(t);
24
24
  } catch {}
25
- l && a.close(), e(v) && await v(t, o);
25
+ l && (r == null || r.close()), e(v) && await v(t, o);
26
26
  } catch (t) {
27
27
  e(_) && await _(t);
28
28
  }
29
29
  }
30
- var o = {
30
+ var s = t({
31
31
  inheritAttrs: !1,
32
32
  props: {
33
33
  stop: {
@@ -67,13 +67,13 @@ var o = {
67
67
  }
68
68
  },
69
69
  render() {
70
- let e = n(this.tag), { text: r, ...i } = this.$props, { onClick: o, ...s } = this.$attrs;
71
- return t(e, {
70
+ let e = r(this.tag), { text: t, ...i } = this.$props, { onClick: a, ...s } = this.$attrs;
71
+ return n(e, {
72
72
  ...s,
73
73
  ...i,
74
- onClick: (e) => a(e, this.$props, this.$attrs)
75
- }, { default: this.$slots.default || (() => r) });
74
+ onClick: (e) => o(e, this.$props, this.$attrs)
75
+ }, { default: this.$slots.default || (() => t) });
76
76
  }
77
- };
77
+ });
78
78
  //#endregion
79
- export { o as t };
79
+ export { s as t };
@@ -1,9 +1,9 @@
1
- import { i as e, n as t, t as n } from "./BIm5rmJm.mjs";
2
- import { n as r, r as i, t as a } from "./Cnmu4eY-.mjs";
1
+ import { i as e, n as t, t as n } from "./ADvOhGAW.mjs";
2
+ import { n as r, r as i, t as a } from "./CKW6E1o4.mjs";
3
3
  import { validatePhoneNum as o } from "@web-utils/core";
4
4
  import { computed as s, createVNode as c, mergeProps as l, useModel as u } from "vue";
5
5
  import { ElInput as d } from "element-plus/es";
6
- //#region src/utils/form-validate.js
6
+ //#region src/utils/form-validate.ts
7
7
  var f = (e, t, n) => t && !/^[A-Za-z0-9\u4e00-\u9fa5_-]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)+$/.test(t) ? n(/* @__PURE__ */ Error("invalid")) : n();
8
8
  function p(e, t, n) {
9
9
  t && !/^[1-9][0-9]{5}(18|19|(2[0-9]))[0-9]{2}((0[1-9])|(10|11|12))(([0-2][1-9])|10|20|30|31)[0-9]{3}[0-9Xx]$/.test(t) ? n(/* @__PURE__ */ Error("invalid")) : n();
@@ -1,5 +1,5 @@
1
- import { n as e, t } from "./Cp9FIjnh.mjs";
2
- //#region src/components/form/props/input.js
1
+ import { n as e, t } from "./mjEH6tHn.mjs";
2
+ //#region src/components/form/props/input.ts
3
3
  var n = {
4
4
  ...e,
5
5
  ...t,
@@ -1,6 +1,6 @@
1
- import { n as e } from "./BIm5rmJm.mjs";
2
- import { t } from "./CozfnlhM.mjs";
3
- import { t as n } from "./Cnmu4eY-.mjs";
1
+ import { n as e } from "./ADvOhGAW.mjs";
2
+ import { t } from "./C2hH5v6n.mjs";
3
+ import { t as n } from "./CKW6E1o4.mjs";
4
4
  import { createVNode as r, isVNode as i, mergeProps as a, useModel as o } from "vue";
5
5
  //#region src/components/form/FormInputEmail.vue?vue&type=script&lang.jsx
6
6
  function s(e) {
@@ -4,7 +4,7 @@ import { Fragment as n, createBlock as r, createCommentVNode as i, createElement
4
4
  import { ElButton as p, ElInputNumber as m, ElOption as h, ElRadio as g, ElRadioGroup as _, ElSelect as ee, ElTabPane as v, ElTabs as y } from "element-plus/es";
5
5
  import { CronosExpression as b } from "cronosjs";
6
6
  import { formatDate as x } from "@web-utils/integrations/dayjs";
7
- //#region src/components/vue-cron/language/zh.js
7
+ //#region src/components/vue-cron/language/zh.ts
8
8
  var S = {
9
9
  Seconds: {
10
10
  name: "秒",
@@ -1,8 +1,8 @@
1
- import { i as e, n as t } from "./BIm5rmJm.mjs";
2
- import { n } from "./Cp9FIjnh.mjs";
1
+ import { i as e, n as t } from "./ADvOhGAW.mjs";
2
+ import { n } from "./mjEH6tHn.mjs";
3
3
  import { createVNode as r, mergeProps as i, useModel as a } from "vue";
4
4
  import { ElCheckbox as o } from "element-plus/es";
5
- //#region src/components/form/props/checkbox.js
5
+ //#region src/components/form/props/checkbox.ts
6
6
  var s = {
7
7
  ...n,
8
8
  modelValue: [
@@ -1,8 +1,8 @@
1
- import { i as e, n as t } from "./BIm5rmJm.mjs";
2
- import { n } from "./Cp9FIjnh.mjs";
1
+ import { i as e, n as t } from "./ADvOhGAW.mjs";
2
+ import { n } from "./mjEH6tHn.mjs";
3
3
  import { computed as r, createVNode as i, mergeProps as a } from "vue";
4
4
  import { ElDatePicker as o } from "element-plus/es";
5
- //#region src/components/form/props/date.js
5
+ //#region src/components/form/props/date.ts
6
6
  var s = {
7
7
  ...n,
8
8
  modelValue: [
@@ -1,8 +1,8 @@
1
- import { i as e, n as t } from "./BIm5rmJm.mjs";
2
- import { n } from "./Cp9FIjnh.mjs";
1
+ import { i as e, n as t } from "./ADvOhGAW.mjs";
2
+ import { n } from "./mjEH6tHn.mjs";
3
3
  import { createVNode as r, isVNode as i, mergeProps as a, useModel as o } from "vue";
4
4
  import { ElRadio as s, ElRadioButton as c, ElRadioGroup as l } from "element-plus/es";
5
- //#region src/components/form/props/radio-group.js
5
+ //#region src/components/form/props/radio-group.ts
6
6
  var u = {
7
7
  ...n,
8
8
  modelValue: [
@@ -1,11 +1,11 @@
1
- import { i as e, n as t } from "./BIm5rmJm.mjs";
2
- import { n, t as r } from "./Cp9FIjnh.mjs";
1
+ import { i as e, n as t } from "./ADvOhGAW.mjs";
2
+ import { n, t as r } from "./mjEH6tHn.mjs";
3
3
  import { useDictionary as i } from "../hook/useDictionary.mjs";
4
4
  import { findTreeChildren as a, isArray as o, isString as s, setParent as c } from "@web-utils/core";
5
5
  import { computed as l, createVNode as u, mergeProps as d } from "vue";
6
6
  import { cloneDeep as f } from "@web-utils/integrations/lodash";
7
7
  import { ElCascader as p } from "element-plus/es";
8
- //#region src/components/form/props/cascader.js
8
+ //#region src/components/form/props/cascader.ts
9
9
  var m = {
10
10
  ...n,
11
11
  ...r,
@@ -42,7 +42,7 @@ var m = {
42
42
  maxCollapseTagsTooltipHeight: [String, Number],
43
43
  separator: {
44
44
  type: String,
45
- default: " / "
45
+ default: "/"
46
46
  },
47
47
  filterable: {
48
48
  type: Boolean,
@@ -1,9 +1,9 @@
1
- import { a as e } from "./BzMaCcUd.mjs";
2
- import { o as t, r as n } from "./BIm5rmJm.mjs";
3
- import { n as r } from "./Cp9FIjnh.mjs";
1
+ import { a as e } from "./BVLgLg_s.mjs";
2
+ import { o as t, r as n } from "./ADvOhGAW.mjs";
3
+ import { n as r } from "./mjEH6tHn.mjs";
4
4
  import { createVNode as i, mergeProps as a } from "vue";
5
5
  import { ElText as o } from "element-plus/es";
6
- //#region src/components/form/props/text.js
6
+ //#region src/components/form/props/text.ts
7
7
  var s = {
8
8
  ...r,
9
9
  type: String,
@@ -1,9 +1,9 @@
1
- import { a as e } from "./BzMaCcUd.mjs";
2
- import { o as t, r as n } from "./BIm5rmJm.mjs";
3
- import { n as r } from "./Cp9FIjnh.mjs";
1
+ import { a as e } from "./BVLgLg_s.mjs";
2
+ import { o as t, r as n } from "./ADvOhGAW.mjs";
3
+ import { n as r } from "./mjEH6tHn.mjs";
4
4
  import { createVNode as i, isVNode as a, mergeProps as o } from "vue";
5
5
  import { ElImage as s } from "element-plus/es";
6
- //#region src/components/form/props/image.js
6
+ //#region src/components/form/props/image.ts
7
7
  var c = {
8
8
  ...r,
9
9
  src: String,
@@ -1,6 +1,6 @@
1
- import { n as e } from "./BIm5rmJm.mjs";
2
- import { t } from "./CozfnlhM.mjs";
3
- import { t as n } from "./Cnmu4eY-.mjs";
1
+ import { n as e } from "./ADvOhGAW.mjs";
2
+ import { t } from "./C2hH5v6n.mjs";
3
+ import { t as n } from "./CKW6E1o4.mjs";
4
4
  import { createVNode as r, isVNode as i, mergeProps as a, useModel as o } from "vue";
5
5
  //#region src/components/form/FormInputPhoneNumber.vue?vue&type=script&lang.jsx
6
6
  function s(e) {
@@ -1,8 +1,8 @@
1
- import { i as e, n as t } from "./BIm5rmJm.mjs";
2
- import { n } from "./Cp9FIjnh.mjs";
1
+ import { i as e, n as t } from "./ADvOhGAW.mjs";
2
+ import { n } from "./mjEH6tHn.mjs";
3
3
  import { createVNode as r, mergeProps as i, useModel as a } from "vue";
4
4
  import { ElRate as o } from "element-plus/es";
5
- //#region src/components/form/props/rate.js
5
+ //#region src/components/form/props/rate.ts
6
6
  var s = {
7
7
  ...n,
8
8
  modelValue: Number,
@@ -1,6 +1,6 @@
1
- import { n as e } from "./BIm5rmJm.mjs";
2
- import { t } from "./CozfnlhM.mjs";
3
- import { t as n } from "./Cnmu4eY-.mjs";
1
+ import { n as e } from "./ADvOhGAW.mjs";
2
+ import { t } from "./C2hH5v6n.mjs";
3
+ import { t as n } from "./CKW6E1o4.mjs";
4
4
  import { createVNode as r, isVNode as i, mergeProps as a, useModel as o } from "vue";
5
5
  //#region src/components/form/FormInputIdCard.vue?vue&type=script&lang.jsx
6
6
  function s(e) {
@@ -1,11 +1,11 @@
1
- import { a as e } from "./BzMaCcUd.mjs";
1
+ import { a as e } from "./BVLgLg_s.mjs";
2
2
  import { formHolderContextKey as t, formViewContextKey as n } from "../constants/index.mjs";
3
3
  import r from "../form-advice/index.mjs";
4
4
  import i from "../form-red-table/index.mjs";
5
5
  import { animate as a } from "@web-utils/core";
6
6
  import { computed as o, createVNode as s, inject as c, mergeProps as l, nextTick as u, provide as d, reactive as f, toRef as p, useTemplateRef as m } from "vue";
7
7
  import { ElForm as h, ElRow as g } from "element-plus/es";
8
- //#region src/components/form/props/form.js
8
+ //#region src/components/form/props/form.ts
9
9
  var _ = {
10
10
  model: Object,
11
11
  rules: Object,
@@ -1,4 +1,4 @@
1
- import { n as e } from "./BzMaCcUd.mjs";
1
+ import { n as e } from "./BVLgLg_s.mjs";
2
2
  import { hasAuthority as t } from "../api/index.mjs";
3
3
  import { toolbarContextKey as n } from "../constants/index.mjs";
4
4
  import { t as r } from "./DOl--Hf9.mjs";
@@ -1,7 +1,7 @@
1
- import { i as e, n as t } from "./BIm5rmJm.mjs";
2
- import { n, t as r } from "./Cp9FIjnh.mjs";
3
- import { n as i, r as a } from "./Cnmu4eY-.mjs";
4
- import { t as o } from "./C2RhdxHB.mjs";
1
+ import { i as e, n as t } from "./ADvOhGAW.mjs";
2
+ import { n, t as r } from "./mjEH6tHn.mjs";
3
+ import { n as i, r as a } from "./CKW6E1o4.mjs";
4
+ import { t as o } from "./Ce7JJ6Kh.mjs";
5
5
  import { createVNode as s, mergeProps as c, ref as l } from "vue";
6
6
  import { ElInput as u, ElPopover as d } from "element-plus/es";
7
7
  //#endregion
@@ -1,5 +1,5 @@
1
- import { c as e, s as t } from "./BIm5rmJm.mjs";
2
- //#region src/components/form/props/common.js
1
+ import { c as e, s as t } from "./ADvOhGAW.mjs";
2
+ //#region src/components/form/props/common.ts
3
3
  var n = {
4
4
  ...e,
5
5
  ...t,
@@ -1,44 +1,86 @@
1
- declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, {
2
- inheritAttrs: boolean;
3
- props: {
4
- stop: {
5
- type: BooleanConstructor;
6
- default: boolean;
7
- };
8
- prevent: {
9
- type: BooleanConstructor;
10
- default: boolean;
11
- };
12
- text: {
13
- type: StringConstructor;
14
- default: string;
15
- };
16
- message: StringConstructor;
17
- confirmable: {
18
- type: BooleanConstructor;
19
- default: boolean;
20
- };
21
- confirmText: {
22
- type: StringConstructor;
23
- default: string;
24
- };
25
- confirmType: {
26
- type: StringConstructor;
27
- default: string;
28
- };
29
- confirmTitle: StringConstructor;
30
- loadable: BooleanConstructor;
31
- loadingText: {
32
- type: StringConstructor;
33
- default: string;
34
- };
35
- tag: {
36
- type: StringConstructor;
37
- default: string;
38
- };
1
+ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').DefineComponent<globalThis.ExtractPropTypes<{
2
+ stop: {
3
+ type: BooleanConstructor;
4
+ default: boolean;
5
+ };
6
+ prevent: {
7
+ type: BooleanConstructor;
8
+ default: boolean;
9
+ };
10
+ text: {
11
+ type: StringConstructor;
12
+ default: string;
13
+ };
14
+ message: StringConstructor;
15
+ confirmable: {
16
+ type: BooleanConstructor;
17
+ default: boolean;
18
+ };
19
+ confirmText: {
20
+ type: StringConstructor;
21
+ default: string;
22
+ };
23
+ confirmType: {
24
+ type: StringConstructor;
25
+ default: string;
26
+ };
27
+ confirmTitle: StringConstructor;
28
+ loadable: BooleanConstructor;
29
+ loadingText: {
30
+ type: StringConstructor;
31
+ default: string;
32
+ };
33
+ tag: {
34
+ type: StringConstructor;
35
+ default: string;
36
+ };
37
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
38
+ stop: {
39
+ type: BooleanConstructor;
40
+ default: boolean;
41
+ };
42
+ prevent: {
43
+ type: BooleanConstructor;
44
+ default: boolean;
45
+ };
46
+ text: {
47
+ type: StringConstructor;
48
+ default: string;
49
+ };
50
+ message: StringConstructor;
51
+ confirmable: {
52
+ type: BooleanConstructor;
53
+ default: boolean;
54
+ };
55
+ confirmText: {
56
+ type: StringConstructor;
57
+ default: string;
58
+ };
59
+ confirmType: {
60
+ type: StringConstructor;
61
+ default: string;
62
+ };
63
+ confirmTitle: StringConstructor;
64
+ loadable: BooleanConstructor;
65
+ loadingText: {
66
+ type: StringConstructor;
67
+ default: string;
68
+ };
69
+ tag: {
70
+ type: StringConstructor;
71
+ default: string;
39
72
  };
40
- render(): any;
41
- } | {
73
+ }>> & Readonly<{}>, {
74
+ text: string;
75
+ stop: boolean;
76
+ prevent: boolean;
77
+ loadable: boolean;
78
+ loadingText: string;
79
+ confirmable: boolean;
80
+ confirmType: string;
81
+ confirmText: string;
82
+ tag: string;
83
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any> | {
42
84
  props: {
43
85
  type: {
44
86
  type: StringConstructor;
@@ -1,4 +1,4 @@
1
- import { t as e } from "../chunks/DpH8CVbN.mjs";
1
+ import { t as e } from "../chunks/Bm5eiSmT.mjs";
2
2
  //#region src/components/button/ConfirmButton.vue
3
3
  var t = {
4
4
  name: "ConfirmButton",