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

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 (123) 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/chunks/{B9-9iYg8.mjs → 3VI058Yv.mjs} +6 -6
  6. package/chunks/{Be_E_4G0.mjs → B-Y8YSMp.mjs} +6 -6
  7. package/chunks/BIm5rmJm.mjs +222 -0
  8. package/chunks/{CPE8fqJc.mjs → BcMgzZyZ.mjs} +3 -3
  9. package/chunks/{BVzpe2oN.mjs → Bw1QPGNc.mjs} +6 -6
  10. package/chunks/{D_Xobj10.mjs → BwuQhCIf.mjs} +3 -3
  11. package/chunks/BzMaCcUd.mjs +53 -0
  12. package/chunks/{wfL1FAwc.mjs → C2RhdxHB.mjs} +354 -354
  13. package/chunks/{BAm_wcwz.mjs → CH7m94ce.mjs} +7 -7
  14. package/chunks/{BJObhbQz.mjs → CJv6Sn_v.mjs} +6 -6
  15. package/chunks/{B3DY36vM.mjs → Cnmu4eY-.mjs} +1 -1
  16. package/chunks/{CJeq96R0.mjs → CozfnlhM.mjs} +7 -7
  17. package/chunks/{DynLjTwi.mjs → Cp9FIjnh.mjs} +1 -1
  18. package/chunks/{D7hrSVVl.mjs → CwjQbaXJ.mjs} +15 -15
  19. package/chunks/Cxvr9Z1r.mjs +208 -0
  20. package/chunks/{BSriw1Qr.mjs → D4Pknq4r.mjs} +10 -10
  21. package/chunks/{B7fKv2-x.mjs → DBL23JPA.mjs} +6 -6
  22. package/chunks/DETsVUo_.mjs +93 -0
  23. package/chunks/DOl--Hf9.mjs +107 -0
  24. package/chunks/{B5B9au3z.mjs → DP1YukLf.mjs} +25 -25
  25. package/chunks/{Bk3PtIYo.mjs → DbBdLuvW.mjs} +8 -8
  26. package/chunks/DpH8CVbN.mjs +79 -0
  27. package/chunks/{DgbDpRQg.mjs → ENc67_lM.mjs} +9 -9
  28. package/chunks/{8ORg8rrN.mjs → INlqdzng.mjs} +15 -15
  29. package/chunks/{DgCwGit4.mjs → dDAvzX4k.mjs} +6 -6
  30. package/chunks/eR-FlUht.mjs +110 -0
  31. package/chunks/{BLpnMrum.mjs → rkRnszQn.mjs} +18 -18
  32. package/chunks/{DAS1h_Ei.mjs → tIzKZ11j.mjs} +3 -3
  33. package/chunks/y8u4cMEF.mjs +216 -0
  34. package/confirm-button/index.d.ts +71 -0
  35. package/confirm-button/index.mjs +35 -0
  36. package/confirmable/index.d.ts +42 -0
  37. package/confirmable/index.mjs +8 -0
  38. package/{constants.mjs → constants/index.mjs} +1 -1
  39. package/element-dialog/index.d.ts +5 -5
  40. package/element-dialog/index.mjs +1 -1
  41. package/empty-view/index.d.ts +2 -2
  42. package/empty-view/index.mjs +1 -1
  43. package/flex-scroll-area/index.d.ts +1 -1
  44. package/flex-scroll-area/index.mjs +1 -1
  45. package/form-advice/index.mjs +1 -1
  46. package/form-button/index.d.ts +72 -0
  47. package/form-button/index.mjs +36 -0
  48. package/form-cascader/index.d.ts +483 -1
  49. package/form-cascader/index.mjs +2 -10
  50. package/form-check-box-group/index.d.ts +17 -17
  51. package/form-check-box-group/index.mjs +1 -1
  52. package/form-checkbox/index.d.ts +22 -22
  53. package/form-checkbox/index.mjs +1 -1
  54. package/form-date-picker/index.d.ts +26 -26
  55. package/form-date-picker/index.mjs +1 -1
  56. package/form-holder/index.d.ts +3 -3
  57. package/form-holder/index.mjs +1 -1
  58. package/form-image/index.d.ts +14 -14
  59. package/form-image/index.mjs +1 -1
  60. package/form-input/index.d.ts +19 -19
  61. package/form-input/index.mjs +1 -1
  62. package/form-input-cron-expression/index.d.ts +14 -14
  63. package/form-input-cron-expression/index.mjs +1 -1
  64. package/form-input-email/index.d.ts +18 -18
  65. package/form-input-email/index.mjs +1 -1
  66. package/form-input-id-card/index.d.ts +18 -18
  67. package/form-input-id-card/index.mjs +1 -1
  68. package/form-input-number/index.d.ts +17 -17
  69. package/form-input-number/index.mjs +1 -1
  70. package/form-input-phone-number/index.d.ts +18 -18
  71. package/form-input-phone-number/index.mjs +1 -1
  72. package/form-item-config-provider/index.d.ts +3 -3
  73. package/form-item-config-provider/index.mjs +1 -1
  74. package/form-item-group/index.d.ts +5 -3
  75. package/form-item-group/index.mjs +1 -1
  76. package/form-item-x/index.d.ts +12 -12
  77. package/form-item-x/index.mjs +1 -1
  78. package/form-radio-group/index.d.ts +19 -19
  79. package/form-radio-group/index.mjs +1 -1
  80. package/form-rate/index.d.ts +15 -15
  81. package/form-rate/index.mjs +1 -1
  82. package/form-red-table/index.mjs +13 -13
  83. package/form-row/index.d.ts +2 -2
  84. package/form-row/index.mjs +1 -1
  85. package/form-select/index.d.ts +33 -33
  86. package/form-select/index.mjs +1 -1
  87. package/form-slider/index.d.ts +17 -17
  88. package/form-slider/index.mjs +1 -1
  89. package/form-switch/index.d.ts +23 -23
  90. package/form-switch/index.mjs +1 -1
  91. package/form-text/index.d.ts +15 -15
  92. package/form-text/index.mjs +1 -1
  93. package/helper/dictionary.d.ts +15 -0
  94. package/helper/dictionary.mjs +97 -0
  95. package/hook/useDictionary.d.ts +60 -0
  96. package/hook/useDictionary.mjs +15 -0
  97. package/iframe-window/index.d.ts +9 -0
  98. package/iframe-window/index.mjs +37 -0
  99. package/iframe-window/style.css +1 -0
  100. package/index.d.ts +6 -1
  101. package/index.mjs +45 -40
  102. package/month-calendar/index.d.ts +2 -2
  103. package/month-calendar/index.mjs +1 -1
  104. package/package.json +1 -1
  105. package/{resolver.mjs → resolver/resolver.mjs} +2 -2
  106. package/toolbar/index.d.ts +128 -1
  107. package/toolbar/index.mjs +1 -8
  108. package/toolbar/style.css +1 -0
  109. package/toolbar-button/index.d.ts +76 -1
  110. package/toolbar-button/index.mjs +1 -8
  111. package/vue-cron/index.d.ts +2 -2
  112. package/vue-cron/index.mjs +1 -1
  113. package/web-types.json +1 -1
  114. package/year-calendar/index.d.ts +2 -2
  115. package/year-calendar/index.mjs +1 -1
  116. package/chunks/Bb43eI1f.mjs +0 -93
  117. package/chunks/Bh_CMUlo.mjs +0 -12
  118. package/chunks/C1DlzLpD.mjs +0 -222
  119. package/chunks/lTFu0zgR.mjs +0 -106
  120. /package/chunks/{D9GcEl6r.mjs → DJNXk_Cv.mjs} +0 -0
  121. /package/{constants.d.ts → constants/index.d.ts} +0 -0
  122. /package/{input → form-item-x}/style.css +0 -0
  123. /package/{resolver.d.ts → resolver/resolver.d.ts} +0 -0
@@ -0,0 +1,216 @@
1
+ import { i as e, n as t } from "./BIm5rmJm.mjs";
2
+ import { n, t as r } from "./Cp9FIjnh.mjs";
3
+ import { useDictionary as i } from "../hook/useDictionary.mjs";
4
+ import { findTreeChildren as a, isArray as o, isString as s, setParent as c } from "@web-utils/core";
5
+ import { computed as l, createVNode as u, mergeProps as d } from "vue";
6
+ import { cloneDeep as f } from "@web-utils/integrations/lodash";
7
+ import { ElCascader as p } from "element-plus/es";
8
+ //#region src/components/form/props/cascader.js
9
+ var m = {
10
+ ...n,
11
+ ...r,
12
+ modelValue: [
13
+ String,
14
+ Number,
15
+ Array
16
+ ],
17
+ options: Array,
18
+ props: Object,
19
+ size: String,
20
+ placeholder: String,
21
+ disabled: {
22
+ type: Boolean,
23
+ default: !1
24
+ },
25
+ clearable: {
26
+ type: Boolean,
27
+ default: !1
28
+ },
29
+ clearIcon: [String, Object],
30
+ showAllLevels: {
31
+ type: Boolean,
32
+ default: !0
33
+ },
34
+ collapseTags: {
35
+ type: Boolean,
36
+ default: !1
37
+ },
38
+ collapseTagsTooltip: {
39
+ type: Boolean,
40
+ default: !1
41
+ },
42
+ maxCollapseTagsTooltipHeight: [String, Number],
43
+ separator: {
44
+ type: String,
45
+ default: " / "
46
+ },
47
+ filterable: {
48
+ type: Boolean,
49
+ default: !1
50
+ },
51
+ filterMethod: Function,
52
+ debounce: {
53
+ type: Number,
54
+ default: 300
55
+ },
56
+ beforeFilter: Function,
57
+ popperClass: {
58
+ type: String,
59
+ default: ""
60
+ },
61
+ popperStyle: [String, Object],
62
+ teleported: {
63
+ type: Boolean,
64
+ default: !0
65
+ },
66
+ effect: {
67
+ type: String,
68
+ default: "light"
69
+ },
70
+ tagType: {
71
+ type: String,
72
+ default: "info"
73
+ },
74
+ tagEffect: {
75
+ type: String,
76
+ default: "light"
77
+ },
78
+ validateEvent: {
79
+ type: Boolean,
80
+ default: !0
81
+ },
82
+ maxCollapseTags: {
83
+ type: Number,
84
+ default: 1
85
+ },
86
+ emptyValues: Array,
87
+ valueOnClear: [
88
+ String,
89
+ Number,
90
+ Boolean,
91
+ Function
92
+ ],
93
+ persistent: {
94
+ type: Boolean,
95
+ default: !0
96
+ },
97
+ fallbackPlacements: {
98
+ type: Array,
99
+ default: () => [
100
+ "bottom-start",
101
+ "top-start",
102
+ "right",
103
+ "left"
104
+ ]
105
+ },
106
+ placement: {
107
+ type: String,
108
+ default: "bottom-start"
109
+ },
110
+ popperAppendToBody: {
111
+ type: Boolean,
112
+ default: !0
113
+ },
114
+ showCheckedStrategy: {
115
+ type: String,
116
+ default: "child"
117
+ },
118
+ readonly: Boolean,
119
+ last: Boolean,
120
+ checkStrictly: Boolean,
121
+ labelKey: {
122
+ type: String,
123
+ default: "label"
124
+ },
125
+ valueKey: {
126
+ type: String,
127
+ default: "value"
128
+ },
129
+ emitPath: {
130
+ type: Boolean,
131
+ default: !0
132
+ },
133
+ join: {
134
+ type: Boolean,
135
+ default: !0
136
+ },
137
+ idAsValue: {
138
+ type: Boolean,
139
+ default: !0
140
+ },
141
+ labelAsValue: Boolean,
142
+ treeDict: {
143
+ type: Boolean,
144
+ default: !0
145
+ },
146
+ dictType: String
147
+ }, h = {
148
+ modelValue: !0,
149
+ readonly: !0,
150
+ props: !0
151
+ }, g = [
152
+ "change",
153
+ "expand-change",
154
+ "blur",
155
+ "focus",
156
+ "clear",
157
+ "visible-change",
158
+ "remove-tag"
159
+ ], _ = (e) => n[e] === void 0 && h[e] !== !0, v = {
160
+ name: "FormCascader",
161
+ props: { ...m },
162
+ emits: {
163
+ ...t,
164
+ change: null,
165
+ "expand-change": null,
166
+ blur: null,
167
+ focus: null,
168
+ clear: null,
169
+ "visible-change": null,
170
+ "remove-tag": null
171
+ },
172
+ setup(t, { slots: n, emit: r, attrs: m }) {
173
+ let { emitInput: h, render: v, placeholder: y, disabled: b, autoBind: x } = e(t, {
174
+ emit: r,
175
+ slots: n,
176
+ attrs: m,
177
+ events: g,
178
+ predicate: _
179
+ }), { dictItems: S } = i(t), C = l(() => {
180
+ if (t.dictType) return S.value;
181
+ if (t.options) {
182
+ let e = f(t.options);
183
+ return t.last && c(e), e;
184
+ } else return [];
185
+ }), w = l(() => {
186
+ if (t.join) return o(t.modelValue) ? t.modelValue : s(t.modelValue) ? t.modelValue.split(t.separator) : [];
187
+ if (t.last) {
188
+ let [e] = a(C.value, (e) => e[t.valueKey] === t.modelValue), n = [];
189
+ for (; e;) n.push(e[t.valueKey]), e = e.parent;
190
+ return n.reverse();
191
+ }
192
+ return t.modelValue;
193
+ }), T = (e) => {
194
+ t.join && o(e) ? h(e.join(t.separator)) : h(t.last ? e[e.length - 1] : e);
195
+ };
196
+ return () => v({ vNodes: u(p, d({
197
+ style: "width: 100%",
198
+ class: { "is-readonly": t.readonly }
199
+ }, x.value, {
200
+ "model-value": w.value,
201
+ options: C.value,
202
+ props: {
203
+ checkStrictly: t.checkStrictly,
204
+ label: t.labelKey,
205
+ value: t.valueKey,
206
+ emitPath: t.emitPath,
207
+ expandTrigger: "hover"
208
+ },
209
+ disabled: b.value,
210
+ placeholder: y.value,
211
+ "onUpdate:modelValue": T
212
+ }), null) });
213
+ }
214
+ };
215
+ //#endregion
216
+ export { v as t };
@@ -0,0 +1,71 @@
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
+ };
39
+ };
40
+ render(): any;
41
+ } | {
42
+ props: {
43
+ type: {
44
+ type: StringConstructor;
45
+ default: string;
46
+ };
47
+ size: StringConstructor;
48
+ icon: {
49
+ type: StringConstructor;
50
+ default: string;
51
+ };
52
+ nativeType: {
53
+ type: StringConstructor;
54
+ default: string;
55
+ };
56
+ loading: BooleanConstructor;
57
+ disabled: BooleanConstructor;
58
+ plain: BooleanConstructor;
59
+ autofocus: BooleanConstructor;
60
+ round: BooleanConstructor;
61
+ text: {
62
+ type: StringConstructor;
63
+ default: string;
64
+ };
65
+ tag: {
66
+ type: StringConstructor;
67
+ default: string;
68
+ };
69
+ };
70
+ }, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
71
+ export default _default;
@@ -0,0 +1,35 @@
1
+ import { t as e } from "../chunks/DpH8CVbN.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,42 @@
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
+ };
39
+ };
40
+ render(): any;
41
+ }, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
42
+ export default _default;
@@ -0,0 +1,8 @@
1
+ import { t as e } from "../chunks/DpH8CVbN.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 };
@@ -1,4 +1,4 @@
1
- //#region src/components/constants.ts
1
+ //#region src/constants/index.ts
2
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
3
  //#endregion
4
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 };
@@ -6,9 +6,10 @@ type __VLS_WithTemplateSlots<T, S> = T & (new () => {
6
6
  declare const __VLS_component: import('vue').DefineComponent<{}, {
7
7
  close: () => void;
8
8
  hide: () => void;
9
- $emit: ((event: "open", ...args: any[]) => void) & ((event: "opened", ...args: any[]) => void) & ((event: "close", ...args: any[]) => void) & ((event: "closed", ...args: any[]) => void) & ((event: "open-auto-focus", ...args: any[]) => void) & ((event: "close-auto-focus", ...args: any[]) => void) & ((event: "toggle-fullscreen", ...args: any[]) => void);
10
- modelValue: boolean;
9
+ $emit: ((event: "close", ...args: any[]) => void) & ((event: "open", ...args: any[]) => void) & ((event: "opened", ...args: any[]) => void) & ((event: "closed", ...args: any[]) => void) & ((event: "open-auto-focus", ...args: any[]) => void) & ((event: "close-auto-focus", ...args: any[]) => void) & ((event: "toggle-fullscreen", ...args: any[]) => void);
10
+ embed: boolean;
11
11
  title: string;
12
+ modelValue: boolean;
12
13
  fullscreen: boolean;
13
14
  top: string;
14
15
  modal: boolean;
@@ -27,7 +28,6 @@ declare const __VLS_component: import('vue').DefineComponent<{}, {
27
28
  destroyOnClose: boolean;
28
29
  headerAriaLevel: string;
29
30
  customClass: string;
30
- embed: boolean;
31
31
  showFullscreen: boolean;
32
32
  showFullScreen: boolean;
33
33
  width?: string | number | undefined;
@@ -42,8 +42,9 @@ declare const __VLS_component: import('vue').DefineComponent<{}, {
42
42
  transition?: string | Record<string, any> | undefined;
43
43
  height?: string | undefined;
44
44
  $props: {
45
- readonly modelValue?: boolean | undefined;
45
+ readonly embed?: boolean | undefined;
46
46
  readonly title?: string | undefined;
47
+ readonly modelValue?: boolean | undefined;
47
48
  readonly fullscreen?: boolean | undefined;
48
49
  readonly top?: string | undefined;
49
50
  readonly modal?: boolean | undefined;
@@ -62,7 +63,6 @@ declare const __VLS_component: import('vue').DefineComponent<{}, {
62
63
  readonly destroyOnClose?: boolean | undefined;
63
64
  readonly headerAriaLevel?: string | undefined;
64
65
  readonly customClass?: string | undefined;
65
- readonly embed?: boolean | undefined;
66
66
  readonly showFullscreen?: boolean | undefined;
67
67
  readonly showFullScreen?: boolean | undefined;
68
68
  readonly width?: string | number | undefined;
@@ -1,2 +1,2 @@
1
- import { t as e } from "../chunks/B5B9au3z.mjs";
1
+ import { t as e } from "../chunks/DP1YukLf.mjs";
2
2
  export { e as default };
@@ -4,17 +4,17 @@ type __VLS_WithTemplateSlots<T, S> = T & (new () => {
4
4
  $slots: S;
5
5
  });
6
6
  declare const __VLS_component: import('vue').DefineComponent<{}, {
7
+ icon: string;
7
8
  height: string;
8
9
  emptyTips: string;
9
10
  fontSize: string;
10
- icon: string;
11
11
  iconSize: string;
12
12
  showIcon: boolean;
13
13
  $props: {
14
+ readonly icon?: string | undefined;
14
15
  readonly height?: string | undefined;
15
16
  readonly emptyTips?: string | undefined;
16
17
  readonly fontSize?: string | undefined;
17
- readonly icon?: string | undefined;
18
18
  readonly iconSize?: string | undefined;
19
19
  readonly showIcon?: boolean | undefined;
20
20
  };
@@ -1,5 +1,5 @@
1
1
  import { createCommentVNode as e, createElementBlock as t, createElementVNode as n, normalizeClass as r, normalizeStyle as i, openBlock as a, renderSlot as o, toDisplayString as s } from "vue";
2
- //#region src/components/EmptyView.vue
2
+ //#region src/components/empty-view/EmptyView.vue
3
3
  var c = { class: "flex-column horizon-center" }, l = /* @__PURE__ */ Object.assign({ name: "EmptyView" }, {
4
4
  __name: "EmptyView",
5
5
  props: {
@@ -4,7 +4,7 @@ type __VLS_WithTemplateSlots<T, S> = T & (new () => {
4
4
  $slots: S;
5
5
  });
6
6
  declare const __VLS_component: import('vue').DefineComponent<{}, {
7
- scroller: Readonly<import('vue').ShallowRef<HTMLDivElement | null, HTMLDivElement | null>>;
7
+ scroller: Readonly<globalThis.ShallowRef<HTMLDivElement | null, HTMLDivElement | null>>;
8
8
  computeScrollbar: () => void;
9
9
  $emit: (event: "scroll" | "scrollbar", ...args: any[]) => void;
10
10
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as e, createElementVNode as t, onMounted as n, onUnmounted as r, openBlock as i, renderSlot as a, useTemplateRef as o } from "vue";
2
- //#region src/components/FlexScrollArea.vue
2
+ //#region src/components/flex-scroll-area/FlexScrollArea.vue
3
3
  var s = { class: "flex-item-relative" }, c = /* @__PURE__ */ Object.assign({ name: "FlexScrollArea" }, {
4
4
  __name: "FlexScrollArea",
5
5
  emits: ["scrollbar", "scroll"],
@@ -1,4 +1,4 @@
1
- import { columnSizeContextKey as e, flowContextKey as t } from "../constants.mjs";
1
+ import { columnSizeContextKey as e, flowContextKey as t } from "../constants/index.mjs";
2
2
  import { Fragment as n, computed as r, createCommentVNode as i, createElementBlock as a, createElementVNode as o, createTextVNode as s, inject as c, openBlock as l, renderList as u, toDisplayString as d, unref as f } from "vue";
3
3
  //#region src/components/red-form/FormAdvice.vue
4
4
  var p = ["colspan"], m = ["colspan"], h = { style: { "text-align": "right" } }, g = { style: { "margin-left": "20px" } }, _ = /* @__PURE__ */ Object.assign({ name: "FormAdvice" }, {
@@ -0,0 +1,72 @@
1
+ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, 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
+ };
39
+ };
40
+ render(): any;
41
+ }, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any> | {
42
+ props: {
43
+ type: {
44
+ type: StringConstructor;
45
+ default: string;
46
+ };
47
+ size: StringConstructor;
48
+ icon: {
49
+ type: StringConstructor;
50
+ default: string;
51
+ };
52
+ nativeType: {
53
+ type: StringConstructor;
54
+ default: string;
55
+ };
56
+ loading: BooleanConstructor;
57
+ disabled: BooleanConstructor;
58
+ plain: BooleanConstructor;
59
+ autofocus: BooleanConstructor;
60
+ round: BooleanConstructor;
61
+ confirmable: BooleanConstructor;
62
+ text: {
63
+ type: StringConstructor;
64
+ default: string;
65
+ };
66
+ tag: {
67
+ type: StringConstructor;
68
+ default: string;
69
+ };
70
+ };
71
+ }, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
72
+ export default _default;
@@ -0,0 +1,36 @@
1
+ import e from "../confirmable/index.mjs";
2
+ //#region src/components/button/FormButton.vue
3
+ var t = {
4
+ name: "FormButton",
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
+ confirmable: Boolean,
25
+ text: {
26
+ type: String,
27
+ default: ""
28
+ },
29
+ tag: {
30
+ type: String,
31
+ default: "AwesomeButton"
32
+ }
33
+ } }]
34
+ };
35
+ //#endregion
36
+ export { t as default };