@web-utils/form-ui 1.0.0-beta4 → 1.0.0-beta41

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 (189) hide show
  1. package/api/index.d.ts +60 -0
  2. package/api/index.mjs +42 -0
  3. package/awesome-button/index.d.ts +60 -0
  4. package/awesome-button/index.mjs +49 -0
  5. package/base.css +1 -0
  6. package/chunks/4GMuTlFS.mjs +25 -0
  7. package/chunks/B-YO6Py8.mjs +145 -0
  8. package/chunks/B1MSrc6f.mjs +8 -0
  9. package/chunks/B40JZqF5.mjs +60 -0
  10. package/chunks/BLNpMvUQ.mjs +95 -0
  11. package/chunks/BNQD6fKI.mjs +40 -0
  12. package/chunks/BROfNO6c.mjs +17 -0
  13. package/chunks/BiF8cEVB.mjs +102 -0
  14. package/chunks/Bm5eiSmT.mjs +79 -0
  15. package/chunks/C5BjmbyR.mjs +91 -0
  16. package/chunks/CBHZpxPE.mjs +108 -0
  17. package/chunks/CD2WYSl1.mjs +188 -0
  18. package/chunks/CE0MejA6.mjs +200 -0
  19. package/chunks/CSf0Lu3w.mjs +102 -0
  20. package/chunks/CXSIP67a.mjs +234 -0
  21. package/chunks/ChmDDqoZ2.mjs +478 -0
  22. package/chunks/ClpNoMQe.mjs +37 -0
  23. package/chunks/Csa9EgOO.mjs +152 -0
  24. package/chunks/CuBH-6_y.mjs +25 -0
  25. package/chunks/CybmpSN8.mjs +664 -0
  26. package/chunks/CzvmkGvn.mjs +89 -0
  27. package/chunks/DASUt7ot.mjs +166 -0
  28. package/chunks/DBNqhkDl.mjs +174 -0
  29. package/chunks/DMcUruCK2.mjs +207 -0
  30. package/chunks/DUjgfS7g.mjs +95 -0
  31. package/chunks/DWLv8UUC.mjs +612 -0
  32. package/chunks/Ds_Tpa_M.mjs +83 -0
  33. package/chunks/MeM8FGzA.mjs +200 -0
  34. package/chunks/_90XRi0U.mjs +105 -0
  35. package/chunks/_Uzl3uMy.mjs +109 -0
  36. package/chunks/b5HOxD60.mjs +1369 -0
  37. package/chunks/cmuHpsX6.mjs +109 -0
  38. package/chunks/ePSxkHli.mjs +95 -0
  39. package/chunks/jHrYQI1Q.mjs +320 -0
  40. package/chunks/kKoMKOYH.mjs +180 -0
  41. package/chunks/lPLJkGiz.mjs +25 -0
  42. package/chunks/mbLUSXcZ.mjs +56 -0
  43. package/chunks/y-DmM31a.mjs +168 -0
  44. package/confirm-button/index.d.ts +113 -0
  45. package/confirm-button/index.mjs +35 -0
  46. package/confirmable/index.d.ts +84 -0
  47. package/confirmable/index.mjs +8 -0
  48. package/constants/index.d.ts +53 -0
  49. package/constants/index.mjs +4 -0
  50. package/editable-tree/index.d.ts +254 -0
  51. package/editable-tree/index.mjs +2 -0
  52. package/editable-tree/style.css +1 -0
  53. package/element-dialog/index.d.ts +337 -16
  54. package/element-dialog/index.mjs +2 -91
  55. package/empty-view/index.d.ts +2 -2
  56. package/empty-view/index.mjs +1 -1
  57. package/flex-scroll-area/index.d.ts +1 -1
  58. package/flex-scroll-area/index.mjs +1 -1
  59. package/form-advice/index.mjs +13 -12
  60. package/form-button/index.d.ts +114 -0
  61. package/form-button/index.mjs +36 -0
  62. package/form-card/index.d.ts +14 -0
  63. package/form-card/index.mjs +18 -0
  64. package/form-cascader/index.d.ts +472 -0
  65. package/form-cascader/index.mjs +2 -0
  66. package/form-check-box-group/index.d.ts +289 -18
  67. package/form-check-box-group/index.mjs +1 -1
  68. package/form-check-box-group/style.css +1 -0
  69. package/form-checkbox/index.d.ts +236 -16
  70. package/form-checkbox/index.mjs +1 -1
  71. package/form-date-picker/index.d.ts +390 -19
  72. package/form-date-picker/index.mjs +1 -1
  73. package/form-holder/index.d.ts +87 -20
  74. package/form-holder/index.mjs +1 -1
  75. package/form-holder/style.css +1 -1
  76. package/form-image/index.d.ts +145 -13
  77. package/form-image/index.mjs +1 -1
  78. package/form-input/index.d.ts +301 -20
  79. package/form-input/index.mjs +1 -1
  80. package/form-input/style.css +1 -0
  81. package/form-input-cron-expression/index.d.ts +217 -0
  82. package/form-input-cron-expression/index.mjs +2 -0
  83. package/form-input-cron-expression/style.css +1 -0
  84. package/form-input-email/index.d.ts +307 -16
  85. package/form-input-email/index.mjs +1 -1
  86. package/form-input-id-card/index.d.ts +307 -16
  87. package/form-input-id-card/index.mjs +1 -1
  88. package/form-input-number/index.d.ts +246 -18
  89. package/form-input-number/index.mjs +1 -1
  90. package/form-input-phone-number/index.d.ts +307 -16
  91. package/form-input-phone-number/index.mjs +1 -1
  92. package/form-input-tag/index.d.ts +263 -1
  93. package/form-input-tag/index.mjs +1 -3
  94. package/form-input-time/index.d.ts +434 -1
  95. package/form-input-time/index.mjs +1 -3
  96. package/form-item-config-provider/index.d.ts +22 -0
  97. package/form-item-config-provider/index.mjs +24 -0
  98. package/form-item-group/index.d.ts +91 -17
  99. package/form-item-group/index.mjs +2 -78
  100. package/form-item-group/style.css +1 -1
  101. package/form-item-x/index.d.ts +141 -11
  102. package/form-item-x/index.mjs +1 -1
  103. package/form-item-x/style.css +1 -0
  104. package/form-radio-group/index.d.ts +303 -16
  105. package/form-radio-group/index.mjs +1 -1
  106. package/form-rate/index.d.ts +254 -14
  107. package/form-rate/index.mjs +1 -1
  108. package/form-red-table/index.mjs +27 -26
  109. package/form-row/index.d.ts +2 -2
  110. package/form-row/index.mjs +1 -1
  111. package/form-select/index.d.ts +537 -18
  112. package/form-select/index.mjs +1 -1
  113. package/form-slider/index.d.ts +283 -16
  114. package/form-slider/index.mjs +1 -1
  115. package/form-switch/index.d.ts +272 -14
  116. package/form-switch/index.mjs +1 -1
  117. package/form-text/index.d.ts +165 -13
  118. package/form-text/index.mjs +1 -1
  119. package/form-textarea/index.d.ts +351 -0
  120. package/form-textarea/index.mjs +2 -0
  121. package/form-time-select/index.d.ts +319 -0
  122. package/form-time-select/index.mjs +2 -0
  123. package/form-view/index.mjs +1 -1
  124. package/helper/dictionary.d.ts +15 -0
  125. package/helper/dictionary.mjs +97 -0
  126. package/hook/useDictionary.d.ts +60 -0
  127. package/hook/useDictionary.mjs +15 -0
  128. package/hook/useVisibilityChange.d.ts +4 -0
  129. package/hook/useVisibilityChange.mjs +14 -0
  130. package/iframe-window/index.d.ts +9 -0
  131. package/iframe-window/index.mjs +37 -0
  132. package/iframe-window/style.css +1 -0
  133. package/index.d.ts +52 -36
  134. package/index.mjs +54 -61
  135. package/package.json +10 -5
  136. package/pageable-table/index.d.ts +398 -0
  137. package/pageable-table/index.mjs +2 -0
  138. package/pageable-table/style.css +1 -0
  139. package/resize-observer/index.d.ts +8 -0
  140. package/resize-observer/index.mjs +40 -0
  141. package/resize-observer/style.css +1 -0
  142. package/resolver/index.mjs +29 -0
  143. package/table-column/index.d.ts +160 -0
  144. package/table-column/index.mjs +2 -0
  145. package/table-column/style.css +1 -0
  146. package/table-column-def/index.d.ts +85 -0
  147. package/table-column-def/index.mjs +11 -0
  148. package/table-view/index.d.ts +340 -1
  149. package/table-view/index.mjs +459 -6
  150. package/table-view/style.css +1 -0
  151. package/toolbar/index.d.ts +128 -1
  152. package/toolbar/index.mjs +1 -8
  153. package/toolbar/style.css +1 -0
  154. package/toolbar-button/index.d.ts +188 -1
  155. package/toolbar-button/index.mjs +1 -8
  156. package/vue-cron/index.d.ts +191 -0
  157. package/vue-cron/index.mjs +2 -0
  158. package/vue-cron/style.css +1 -0
  159. package/web-types.json +1 -1
  160. package/x-input-tag/index.d.ts +2 -0
  161. package/x-input-tag/index.mjs +232 -0
  162. package/x-input-tag/style.css +1 -0
  163. package/year-calendar/index.d.ts +99 -0
  164. package/year-calendar/index.mjs +2 -0
  165. package/year-calendar/style.css +1 -0
  166. package/chunks/B4M_TFeR.mjs +0 -152
  167. package/chunks/B5BIQCcK.mjs +0 -149
  168. package/chunks/BHNKrW1j.mjs +0 -61
  169. package/chunks/BO9jWhBl.mjs +0 -46
  170. package/chunks/BZ8aOa78.mjs +0 -35
  171. package/chunks/Bsz7y4Xp.mjs +0 -73
  172. package/chunks/Bxj372sF.mjs +0 -53
  173. package/chunks/C33EmJN8.mjs +0 -32
  174. package/chunks/C6Li3-l7.mjs +0 -28
  175. package/chunks/CBcdalMX.mjs +0 -35
  176. package/chunks/CdRsyF0n.mjs +0 -43
  177. package/chunks/ClNahmiU.mjs +0 -23
  178. package/chunks/CstztYMu.mjs +0 -28
  179. package/chunks/DC9b53M6.mjs +0 -32
  180. package/chunks/DDVAgRED.mjs +0 -36
  181. package/chunks/DpJQABVD.mjs +0 -91
  182. package/chunks/ZsLNWI9x.mjs +0 -46
  183. package/chunks/jn_iQrVZ.mjs +0 -28
  184. package/constants.d.ts +0 -1
  185. package/constants.mjs +0 -4
  186. package/input/style.css +0 -1
  187. package/resolver.mjs +0 -79
  188. package/utils/style.css +0 -1
  189. /package/{resolver.d.ts → resolver/index.d.ts} +0 -0
@@ -0,0 +1,25 @@
1
+ import { n as e } from "./CXSIP67a.mjs";
2
+ import { n as t, t as n } from "./Csa9EgOO.mjs";
3
+ import { createVNode as r, isVNode as i, mergeProps as a, useModel as o } from "vue";
4
+ //#region src/components/form/FormInputEmail.vue?vue&type=script&lang.jsx
5
+ function s(e) {
6
+ return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !i(e);
7
+ }
8
+ //#endregion
9
+ //#region src/components/form/FormInputEmail.vue
10
+ var c = {
11
+ name: "FormInputEmail",
12
+ inheritAttrs: !1,
13
+ props: { ...t },
14
+ emits: { ...e },
15
+ setup(e, { slots: t, attrs: i }) {
16
+ let c = o(e, "modelValue");
17
+ return () => r(n, a(e, i, {
18
+ modelValue: c.value,
19
+ "onUpdate:modelValue": (e) => c.value = e,
20
+ type: "email"
21
+ }), s(t) ? t : { default: () => [t] });
22
+ }
23
+ };
24
+ //#endregion
25
+ export { c as t };
@@ -0,0 +1,56 @@
1
+ import { i as e, n as t } from "./CXSIP67a.mjs";
2
+ import { n, t as r } from "./BROfNO6c.mjs";
3
+ import i from "../x-input-tag/index.mjs";
4
+ import { createVNode as a, mergeProps as o } from "vue";
5
+ //#region src/components/form/props/input-tag.ts
6
+ var s = {
7
+ ...n,
8
+ ...r,
9
+ modelValue: [Array, String],
10
+ arrayMode: {
11
+ type: Boolean,
12
+ default: !0
13
+ },
14
+ objectMode: {
15
+ type: Boolean,
16
+ default: !0
17
+ },
18
+ separator: {
19
+ type: String,
20
+ default: ","
21
+ },
22
+ boundarySelector: {
23
+ type: String,
24
+ default: ".form-scroller"
25
+ },
26
+ query: Function,
27
+ type: {
28
+ type: String,
29
+ default: "标签"
30
+ }
31
+ }, c = {
32
+ disabled: !0,
33
+ modelValue: !0
34
+ }, l = (e) => n[e] === void 0 && c[e] !== !0, u = {
35
+ name: "FormInputTag",
36
+ inheritAttrs: !1,
37
+ props: { ...s },
38
+ emits: { ...t },
39
+ setup(t, { emit: n, slots: r, attrs: s }) {
40
+ let { emitInput: c, render: u, placeholder: d, disabled: f, listeners: p, inputProps: m } = e(t, {
41
+ emit: n,
42
+ slots: r,
43
+ attrs: s,
44
+ predicate: l
45
+ });
46
+ return () => u({ vNodes: a(i, o(p.value, m.value, {
47
+ style: "width: 100%",
48
+ modelValue: t.modelValue,
49
+ disabled: f.value,
50
+ "onUpdate:modelValue": c,
51
+ placeholder: d.value
52
+ }), null) });
53
+ }
54
+ };
55
+ //#endregion
56
+ export { u as t };
@@ -0,0 +1,168 @@
1
+ import { d as e } from "./cmuHpsX6.mjs";
2
+ import { hasAuthority as t } from "../api/index.mjs";
3
+ import { toolbarContextKey as n } from "../constants/index.mjs";
4
+ import { isArray as r, isFunction as i } from "@web-utils/core";
5
+ import { computed as a, createVNode as o, defineComponent as s, getCurrentInstance as c, inject as l, mergeProps as u, ref as d } from "vue";
6
+ import { ElMessage as f, ElMessageBox as p } from "element-plus";
7
+ import { ElButton as m } from "element-plus/es";
8
+ import "element-plus/es/components/base/style/css";
9
+ import "element-plus/es/components/button/style/css";
10
+ //#region src/components/toolbar/button.ts
11
+ var h = {
12
+ size: {
13
+ type: String,
14
+ default: "default"
15
+ },
16
+ type: {
17
+ type: String,
18
+ default: "default"
19
+ },
20
+ plain: {
21
+ type: Boolean,
22
+ default: !1
23
+ },
24
+ text: {
25
+ type: Boolean,
26
+ default: !1
27
+ },
28
+ bg: {
29
+ type: Boolean,
30
+ default: !1
31
+ },
32
+ link: {
33
+ type: Boolean,
34
+ default: !1
35
+ },
36
+ round: {
37
+ type: Boolean,
38
+ default: !1
39
+ },
40
+ circle: {
41
+ type: Boolean,
42
+ default: !1
43
+ },
44
+ dashed: {
45
+ type: Boolean,
46
+ default: !1
47
+ },
48
+ loading: {
49
+ type: Boolean,
50
+ default: !1
51
+ },
52
+ loadingIcon: [String, Object],
53
+ disabled: {
54
+ type: Boolean,
55
+ default: !1
56
+ },
57
+ icon: [String, Object],
58
+ autofocus: {
59
+ type: Boolean,
60
+ default: !1
61
+ },
62
+ nativeType: {
63
+ type: String,
64
+ default: "button"
65
+ },
66
+ autoInsertSpace: {
67
+ type: Boolean,
68
+ default: !1
69
+ },
70
+ color: String,
71
+ dark: {
72
+ type: Boolean,
73
+ default: !1
74
+ },
75
+ tag: [String, Object],
76
+ label: String,
77
+ loadable: Boolean,
78
+ footer: Boolean,
79
+ primary: Boolean,
80
+ warning: Boolean,
81
+ privilege: String,
82
+ condition: { type: [
83
+ Array,
84
+ Function,
85
+ Boolean
86
+ ] },
87
+ conditionTips: String,
88
+ confirm: Boolean,
89
+ confirmTips: String,
90
+ beforeExecute: Function,
91
+ afterExecute: Function,
92
+ route: [String, Object],
93
+ title: String,
94
+ cancelButtonText: String,
95
+ confirmButtonText: String
96
+ }, g = {
97
+ icon: !0,
98
+ type: !0,
99
+ text: !0,
100
+ title: !0,
101
+ disabled: !0,
102
+ loading: !0
103
+ }, _ = (e) => g[e] !== !0, v = /* @__PURE__ */ s({
104
+ name: "ToolbarButton",
105
+ inheritAttrs: !1,
106
+ props: { ...h },
107
+ setup(s, { attrs: h, slots: g }) {
108
+ let v = c(), y = l(n, null), b = d(!1), x = a(() => s.privilege ? t(s.privilege) : !0), S = async (e) => {
109
+ try {
110
+ if (i(s.beforeExecute) && await s.beforeExecute() === !1) return;
111
+ if (s.conditionTips) {
112
+ let e;
113
+ if (e = r(s.condition) ? s.condition.length <= 0 : i(s.condition) ? !s.condition() : !s.condition, e) {
114
+ f.warning(s.conditionTips);
115
+ return;
116
+ }
117
+ }
118
+ if (s.confirm || s.confirmTips) try {
119
+ await p.confirm(s.confirmTips || "你确定要删除该记录吗?", "系统提示", {
120
+ type: "warning",
121
+ distinguishCancelAndClose: !0,
122
+ cancelButtonText: s.cancelButtonText,
123
+ confirmButtonText: s.confirmButtonText
124
+ });
125
+ } catch (e) {
126
+ if (e === "cancel") {
127
+ let { onCancel: t } = h;
128
+ i(t) && await t(e);
129
+ } else if (e === "close") {
130
+ let { onClose: t } = h;
131
+ i(t) && await t(e);
132
+ }
133
+ return;
134
+ }
135
+ b.value = !0;
136
+ let n;
137
+ if (s.route) {
138
+ var t;
139
+ await ((t = v.proxy.$router) == null ? void 0 : t.push(s.route));
140
+ } else {
141
+ let { onClick: t } = h;
142
+ if (i(t)) try {
143
+ n = await t(e);
144
+ } catch {}
145
+ }
146
+ b.value = !1, i(s.afterExecute) && await s.afterExecute(n);
147
+ } catch {}
148
+ }, C = a(() => s.text ? !0 : s.type === "text"), w = a(() => {
149
+ if (!C.value) return s.primary ? "primary" : s.warning ? "warning" : s.type;
150
+ }), T = e(s, _);
151
+ return () => x.value ? o(m, u(T.value, {
152
+ title: s.footer || y != null && y.footer ? null : s.title,
153
+ disabled: s.disabled || b.value,
154
+ loading: s.loadable ? b.value : !1,
155
+ type: w.value,
156
+ text: C.value,
157
+ class: h.class,
158
+ style: h.style,
159
+ onClick: S
160
+ }), {
161
+ default: !s.circle && (s.label || g.default) ? () => g.default ? g.default() : s.label : null,
162
+ loading: g.loading,
163
+ icon: g.icon ? g.icon : s.icon ? () => o("i", { class: s.icon }, null) : null
164
+ }) : null;
165
+ }
166
+ });
167
+ //#endregion
168
+ export { v as t };
@@ -0,0 +1,113 @@
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;
72
+ };
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> | {
84
+ props: {
85
+ type: {
86
+ type: StringConstructor;
87
+ default: string;
88
+ };
89
+ size: StringConstructor;
90
+ icon: {
91
+ type: StringConstructor;
92
+ default: string;
93
+ };
94
+ nativeType: {
95
+ type: StringConstructor;
96
+ default: string;
97
+ };
98
+ loading: BooleanConstructor;
99
+ disabled: BooleanConstructor;
100
+ plain: BooleanConstructor;
101
+ autofocus: BooleanConstructor;
102
+ round: BooleanConstructor;
103
+ text: {
104
+ type: StringConstructor;
105
+ default: string;
106
+ };
107
+ tag: {
108
+ type: StringConstructor;
109
+ default: string;
110
+ };
111
+ };
112
+ }, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
113
+ export default _default;
@@ -0,0 +1,35 @@
1
+ import { t as e } from "../chunks/Bm5eiSmT.mjs";
2
+ //#region src/components/button/ConfirmButton.vue
3
+ var t = {
4
+ name: "ConfirmButton",
5
+ mixins: [e, { props: {
6
+ type: {
7
+ type: String,
8
+ default: "danger"
9
+ },
10
+ size: String,
11
+ icon: {
12
+ type: String,
13
+ default: ""
14
+ },
15
+ nativeType: {
16
+ type: String,
17
+ default: "button"
18
+ },
19
+ loading: Boolean,
20
+ disabled: Boolean,
21
+ plain: Boolean,
22
+ autofocus: Boolean,
23
+ round: Boolean,
24
+ text: {
25
+ type: String,
26
+ default: "删除"
27
+ },
28
+ tag: {
29
+ type: String,
30
+ default: "ElButton"
31
+ }
32
+ } }]
33
+ };
34
+ //#endregion
35
+ export { t as default };
@@ -0,0 +1,84 @@
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;
72
+ };
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>, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
84
+ export default _default;
@@ -0,0 +1,8 @@
1
+ import { t as e } from "../chunks/Bm5eiSmT.mjs";
2
+ //#region src/components/button/Confirmable.vue
3
+ var t = {
4
+ name: "Confirmable",
5
+ mixins: [e]
6
+ };
7
+ //#endregion
8
+ export { t as default };
@@ -0,0 +1,53 @@
1
+ import { InjectionKey, ComputedRef } from 'vue';
2
+ export declare const formHolderContextKey: InjectionKey<{
3
+ tableForm: boolean;
4
+ disabled: boolean;
5
+ enabledFields: string[];
6
+ requiredFields: string[];
7
+ enabledFieldsMap: Record<string, boolean | undefined>;
8
+ disabledFieldsMap: Record<string, boolean | undefined>;
9
+ requiredFieldsMap: Record<string, boolean | undefined>;
10
+ disabledFields: string[];
11
+ scrollIntoRequiredField: () => Promise<void> | any;
12
+ formRef: unknown;
13
+ validate: () => Promise<void> | any;
14
+ validateField: () => any;
15
+ resetFields: () => any;
16
+ scrollToField: () => any;
17
+ clearValidate: () => any;
18
+ getField: () => any;
19
+ setInitialValues: () => any;
20
+ getFields: () => any;
21
+ }>;
22
+ export declare const formItemGroupContextKey: InjectionKey<{
23
+ disabled: boolean;
24
+ enabled: boolean;
25
+ isDisabled: boolean;
26
+ size: string;
27
+ }>;
28
+ export declare const formItemConfigProviderContextKey: InjectionKey<{
29
+ reactive: boolean;
30
+ block: boolean;
31
+ wrapCol: boolean;
32
+ }>;
33
+ export declare const formViewContextKey: InjectionKey<{
34
+ formCardStyle: object;
35
+ addGroup: (group: any) => void;
36
+ removeGroup: (group: any) => void;
37
+ tableForm: boolean;
38
+ }>;
39
+ export declare const formEntityContextKey: unique symbol;
40
+ export declare const formItemConfigContextKey: unique symbol;
41
+ export declare const flowContextKey: InjectionKey<{
42
+ formComments: object[];
43
+ }>;
44
+ export declare const toolbarContextKey: InjectionKey<{
45
+ footer: boolean;
46
+ }>;
47
+ export declare const tableViewContextKey: unique symbol;
48
+ export declare const pageableTableContextKey: InjectionKey<{
49
+ records: ComputedRef<object[]>;
50
+ }>;
51
+ export declare const columnSizeContextKey: unique symbol;
52
+ export declare const columnsContextKey: unique symbol;
53
+ export declare const setColumnSizeContextKey: unique symbol;
@@ -0,0 +1,4 @@
1
+ //#region src/constants/index.ts
2
+ var e = Symbol("formHolder"), t = Symbol("formItemGroup"), n = Symbol("formItemConfigProvider"), r = Symbol("formView"), i = Symbol("formEntity"), a = Symbol("formItemConfig"), o = Symbol("flowContext"), s = Symbol("toolbar"), c = Symbol("tableView"), l = Symbol("pageableTable"), u = Symbol("columnSize"), d = Symbol("columns"), f = Symbol("setColumnSize");
3
+ //#endregion
4
+ export { u as columnSizeContextKey, d as columnsContextKey, o as flowContextKey, i as formEntityContextKey, e as formHolderContextKey, a as formItemConfigContextKey, n as formItemConfigProviderContextKey, t as formItemGroupContextKey, r as formViewContextKey, l as pageableTableContextKey, f as setColumnSizeContextKey, c as tableViewContextKey, s as toolbarContextKey };