@web-utils/form-ui 1.0.0-beta5 → 1.0.0-beta50

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 (208) 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 -1
  6. package/chunks/6yfBZFOB.mjs +56 -0
  7. package/chunks/B-zqRAXo.mjs +69 -0
  8. package/chunks/B1IPSTA6.mjs +198 -0
  9. package/chunks/B9gA65rt2.mjs +38 -0
  10. package/chunks/BA2KEptL.mjs +172 -0
  11. package/chunks/BBERmTup.mjs +83 -0
  12. package/chunks/BUGCiCnl.mjs +83 -0
  13. package/chunks/BbSPWDDZ.mjs +100 -0
  14. package/chunks/BfxDxIg0.mjs +106 -0
  15. package/chunks/BqWvBF14.mjs +35 -0
  16. package/chunks/BsZgAJX_2.mjs +81 -0
  17. package/chunks/BtcjAHE6.mjs +317 -0
  18. package/chunks/ByHz4mmh.mjs +87 -0
  19. package/chunks/C2zgFLYO.mjs +185 -0
  20. package/chunks/CAd1zK9Q.mjs +25 -0
  21. package/chunks/CJdkjadi.mjs +17 -0
  22. package/chunks/CabldOLo.mjs +157 -0
  23. package/chunks/CkOD-_VV.mjs +8 -0
  24. package/chunks/Cln3RBAD.mjs +660 -0
  25. package/chunks/CqoVAnxC2.mjs +93 -0
  26. package/chunks/CuAoMR3n.mjs +105 -0
  27. package/chunks/CxTg0r4n.mjs +166 -0
  28. package/chunks/D0Zg2CV0.mjs +57 -0
  29. package/chunks/DA7oGHSX.mjs +141 -0
  30. package/chunks/DOP3aBxf.mjs +93 -0
  31. package/chunks/DOZRzqlo.mjs +37 -0
  32. package/chunks/D_qiRmiE.mjs +230 -0
  33. package/chunks/DcTVYqeJ.mjs +113 -0
  34. package/chunks/Dkd5BC98.mjs +198 -0
  35. package/chunks/GI8krYU82.mjs +478 -0
  36. package/chunks/V2p-PCpL.mjs +176 -0
  37. package/chunks/bFbPPcdq.mjs +25 -0
  38. package/chunks/cqIZWDHo.mjs +614 -0
  39. package/chunks/eae6huQB.mjs +25 -0
  40. package/chunks/gCeDFHo1.mjs +32 -0
  41. package/chunks/gLPy4Sus.mjs +164 -0
  42. package/chunks/hlha6Bhc.mjs +107 -0
  43. package/chunks/hzaYr6Ud2.mjs +207 -0
  44. package/chunks/kflKDW4T2.mjs +146 -0
  45. package/chunks/pIzhYsBe.mjs +93 -0
  46. package/chunks/vXQf89tS.mjs +1361 -0
  47. package/chunks/wXeqV-_7.mjs +89 -0
  48. package/chunks/zwXzk9ff2.mjs +568 -0
  49. package/confirm-button/index.d.ts +115 -0
  50. package/confirm-button/index.mjs +35 -0
  51. package/confirmable/index.d.ts +86 -0
  52. package/confirmable/index.mjs +8 -0
  53. package/constants/index.d.ts +53 -0
  54. package/constants/index.mjs +4 -0
  55. package/dict-render/index.d.ts +28 -0
  56. package/dict-render/index.mjs +2 -0
  57. package/editable-tree/index.d.ts +254 -0
  58. package/editable-tree/index.mjs +2 -0
  59. package/editable-tree/style.css +1 -0
  60. package/element-dialog/index.d.ts +337 -16
  61. package/element-dialog/index.mjs +2 -91
  62. package/element-resize-observer/index.d.ts +8 -0
  63. package/element-resize-observer/index.mjs +40 -0
  64. package/element-resize-observer/style.css +1 -0
  65. package/empty-view/index.d.ts +2 -2
  66. package/empty-view/index.mjs +1 -1
  67. package/flex-scroll-area/index.d.ts +1 -1
  68. package/flex-scroll-area/index.mjs +1 -1
  69. package/form-advice/index.mjs +13 -12
  70. package/form-button/index.d.ts +116 -0
  71. package/form-button/index.mjs +36 -0
  72. package/form-card/index.d.ts +14 -0
  73. package/form-card/index.mjs +18 -0
  74. package/form-cascader/index.d.ts +472 -0
  75. package/form-cascader/index.mjs +2 -0
  76. package/form-checkbox/index.d.ts +236 -16
  77. package/form-checkbox/index.mjs +1 -1
  78. package/form-checkbox-group/index.d.ts +364 -0
  79. package/form-checkbox-group/index.mjs +2 -0
  80. package/form-checkbox-group/style.css +1 -0
  81. package/form-date-picker/index.d.ts +390 -19
  82. package/form-date-picker/index.mjs +1 -1
  83. package/form-holder/index.d.ts +87 -20
  84. package/form-holder/index.mjs +1 -1
  85. package/form-holder/style.css +1 -1
  86. package/form-image/index.d.ts +145 -13
  87. package/form-image/index.mjs +1 -1
  88. package/form-input/index.d.ts +301 -20
  89. package/form-input/index.mjs +1 -1
  90. package/form-input/style.css +1 -0
  91. package/form-input-cron-expression/index.d.ts +217 -0
  92. package/form-input-cron-expression/index.mjs +2 -0
  93. package/form-input-cron-expression/style.css +1 -0
  94. package/form-input-email/index.d.ts +307 -16
  95. package/form-input-email/index.mjs +1 -1
  96. package/form-input-id-card/index.d.ts +307 -16
  97. package/form-input-id-card/index.mjs +1 -1
  98. package/form-input-number/index.d.ts +246 -18
  99. package/form-input-number/index.mjs +1 -1
  100. package/form-input-phone-number/index.d.ts +307 -16
  101. package/form-input-phone-number/index.mjs +1 -1
  102. package/form-input-tag/index.d.ts +263 -1
  103. package/form-input-tag/index.mjs +1 -3
  104. package/form-input-time/index.d.ts +434 -1
  105. package/form-input-time/index.mjs +1 -3
  106. package/form-item-config-provider/index.d.ts +22 -0
  107. package/form-item-config-provider/index.mjs +24 -0
  108. package/form-item-group/index.d.ts +91 -17
  109. package/form-item-group/index.mjs +2 -78
  110. package/form-item-group/style.css +1 -1
  111. package/form-item-x/index.d.ts +141 -11
  112. package/form-item-x/index.mjs +1 -1
  113. package/form-item-x/style.css +1 -0
  114. package/form-radio-group/index.d.ts +303 -16
  115. package/form-radio-group/index.mjs +1 -1
  116. package/form-rate/index.d.ts +254 -14
  117. package/form-rate/index.mjs +1 -1
  118. package/form-red-table/index.mjs +27 -26
  119. package/form-row/index.d.ts +2 -2
  120. package/form-row/index.mjs +1 -1
  121. package/form-select/index.d.ts +537 -18
  122. package/form-select/index.mjs +1 -1
  123. package/form-slider/index.d.ts +283 -16
  124. package/form-slider/index.mjs +1 -1
  125. package/form-switch/index.d.ts +272 -14
  126. package/form-switch/index.mjs +1 -1
  127. package/form-table/index.d.ts +269 -0
  128. package/form-table/index.mjs +2 -0
  129. package/form-table-plus/index.d.ts +266 -0
  130. package/form-table-plus/index.mjs +2 -0
  131. package/form-text/index.d.ts +165 -13
  132. package/form-text/index.mjs +1 -1
  133. package/form-textarea/index.d.ts +351 -0
  134. package/form-textarea/index.mjs +2 -0
  135. package/form-time-select/index.d.ts +319 -0
  136. package/form-time-select/index.mjs +2 -0
  137. package/form-view/index.mjs +1 -1
  138. package/helper/dictionary.d.ts +15 -0
  139. package/helper/dictionary.mjs +97 -0
  140. package/hook/useDictionary.d.ts +60 -0
  141. package/hook/useDictionary.mjs +15 -0
  142. package/hook/useVisibilityChange.d.ts +4 -0
  143. package/hook/useVisibilityChange.mjs +14 -0
  144. package/iframe-window/index.d.ts +9 -0
  145. package/iframe-window/index.mjs +37 -0
  146. package/iframe-window/style.css +1 -0
  147. package/index.css +2 -0
  148. package/index.d.ts +57 -36
  149. package/index.mjs +59 -61
  150. package/package.json +10 -5
  151. package/pageable-table/index.d.ts +398 -0
  152. package/pageable-table/index.mjs +2 -0
  153. package/pageable-table/style.css +1 -0
  154. package/resolver/index.mjs +29 -0
  155. package/sub-table/index.d.ts +100 -0
  156. package/sub-table/index.mjs +472 -0
  157. package/sub-table/style.css +1 -0
  158. package/sub-table-plus/index.d.ts +97 -0
  159. package/sub-table-plus/index.mjs +2 -0
  160. package/sub-table-plus/style.css +1 -0
  161. package/table-column/index.d.ts +160 -0
  162. package/table-column/index.mjs +2 -0
  163. package/table-column/style.css +1 -0
  164. package/table-column-def/index.d.ts +95 -0
  165. package/table-column-def/index.mjs +11 -0
  166. package/table-view/index.d.ts +340 -1
  167. package/table-view/index.mjs +454 -6
  168. package/table-view/style.css +1 -0
  169. package/toolbar/index.d.ts +128 -1
  170. package/toolbar/index.mjs +1 -8
  171. package/toolbar/style.css +1 -0
  172. package/toolbar-button/index.d.ts +188 -1
  173. package/toolbar-button/index.mjs +1 -8
  174. package/vue-cron/index.d.ts +191 -0
  175. package/vue-cron/index.mjs +2 -0
  176. package/vue-cron/style.css +1 -0
  177. package/web-types.json +1 -1
  178. package/x-input-tag/index.d.ts +2 -0
  179. package/x-input-tag/index.mjs +228 -0
  180. package/x-input-tag/style.css +1 -0
  181. package/year-calendar/index.d.ts +99 -0
  182. package/year-calendar/index.mjs +2 -0
  183. package/year-calendar/style.css +1 -0
  184. package/chunks/B4M_TFeR.mjs +0 -152
  185. package/chunks/B5BIQCcK.mjs +0 -149
  186. package/chunks/BHNKrW1j.mjs +0 -61
  187. package/chunks/BO9jWhBl.mjs +0 -46
  188. package/chunks/BZ8aOa78.mjs +0 -35
  189. package/chunks/Bsz7y4Xp.mjs +0 -73
  190. package/chunks/Bxj372sF.mjs +0 -53
  191. package/chunks/C33EmJN8.mjs +0 -32
  192. package/chunks/C6Li3-l7.mjs +0 -28
  193. package/chunks/CBcdalMX.mjs +0 -35
  194. package/chunks/CdRsyF0n.mjs +0 -43
  195. package/chunks/ClNahmiU.mjs +0 -23
  196. package/chunks/CstztYMu.mjs +0 -28
  197. package/chunks/DC9b53M6.mjs +0 -32
  198. package/chunks/DDVAgRED.mjs +0 -36
  199. package/chunks/DpJQABVD.mjs +0 -91
  200. package/chunks/ZsLNWI9x.mjs +0 -46
  201. package/chunks/jn_iQrVZ.mjs +0 -28
  202. package/constants.d.ts +0 -1
  203. package/constants.mjs +0 -4
  204. package/form-check-box-group/index.d.ts +0 -93
  205. package/form-check-box-group/index.mjs +0 -2
  206. package/input/style.css +0 -1
  207. package/resolver.mjs +0 -79
  208. /package/{resolver.d.ts → resolver/index.d.ts} +0 -0
@@ -8,46 +8,367 @@ declare const __VLS_component: import('vue').DefineComponent<{}, {
8
8
  hide: () => void;
9
9
  $emit: (event: "toggle-fullscreen", ...args: any[]) => void;
10
10
  embed: boolean;
11
+ title: string;
12
+ fullscreen: boolean;
13
+ customClass: string;
11
14
  showClose: boolean;
12
- overflow: boolean;
13
- closeOnClickModal: boolean;
14
- destroyOnClose: boolean;
15
- draggable: boolean;
15
+ top: string;
16
16
  showFullscreen: boolean;
17
17
  showFullScreen: boolean;
18
- alignCenter: boolean;
18
+ modelValue: boolean;
19
+ modal: boolean;
20
+ modalPenetrable: boolean;
19
21
  appendToBody: boolean;
22
+ lockScroll: boolean;
23
+ openDelay: number;
24
+ closeDelay: number;
25
+ closeOnClickModal: boolean;
26
+ closeOnPressEscape: boolean;
27
+ draggable: boolean;
28
+ overflow: boolean;
29
+ center: boolean;
30
+ alignCenter: boolean;
31
+ destroyOnClose: boolean;
32
+ headerAriaLevel: string;
33
+ beforeClose?: Function | undefined;
34
+ zIndex?: number | undefined;
35
+ appendTo?: string | Record<string, any> | undefined;
20
36
  height?: string | undefined;
21
- width?: string | undefined;
22
- title?: string | undefined;
37
+ width?: string | number | undefined;
38
+ modalClass?: string | undefined;
39
+ headerClass?: string | undefined;
40
+ bodyClass?: string | undefined;
41
+ footerClass?: string | undefined;
42
+ closeIcon?: string | Record<string, any> | undefined;
43
+ transition?: string | Record<string, any> | undefined;
23
44
  $props: {
24
45
  readonly embed?: boolean | undefined;
46
+ readonly title?: string | undefined;
47
+ readonly fullscreen?: boolean | undefined;
48
+ readonly customClass?: string | undefined;
25
49
  readonly showClose?: boolean | undefined;
26
- readonly overflow?: boolean | undefined;
27
- readonly closeOnClickModal?: boolean | undefined;
28
- readonly destroyOnClose?: boolean | undefined;
29
- readonly draggable?: boolean | undefined;
50
+ readonly top?: string | undefined;
30
51
  readonly showFullscreen?: boolean | undefined;
31
52
  readonly showFullScreen?: boolean | undefined;
32
- readonly alignCenter?: boolean | undefined;
53
+ readonly modelValue?: boolean | undefined;
54
+ readonly modal?: boolean | undefined;
55
+ readonly modalPenetrable?: boolean | undefined;
33
56
  readonly appendToBody?: boolean | undefined;
57
+ readonly lockScroll?: boolean | undefined;
58
+ readonly openDelay?: number | undefined;
59
+ readonly closeDelay?: number | undefined;
60
+ readonly closeOnClickModal?: boolean | undefined;
61
+ readonly closeOnPressEscape?: boolean | undefined;
62
+ readonly draggable?: boolean | undefined;
63
+ readonly overflow?: boolean | undefined;
64
+ readonly center?: boolean | undefined;
65
+ readonly alignCenter?: boolean | undefined;
66
+ readonly destroyOnClose?: boolean | undefined;
67
+ readonly headerAriaLevel?: string | undefined;
68
+ readonly beforeClose?: Function | undefined;
69
+ readonly zIndex?: number | undefined;
70
+ readonly appendTo?: string | Record<string, any> | undefined;
34
71
  readonly height?: string | undefined;
35
- readonly width?: string | undefined;
36
- readonly title?: string | undefined;
72
+ readonly width?: string | number | undefined;
73
+ readonly modalClass?: string | undefined;
74
+ readonly headerClass?: string | undefined;
75
+ readonly bodyClass?: string | undefined;
76
+ readonly footerClass?: string | undefined;
77
+ readonly closeIcon?: string | Record<string, any> | undefined;
78
+ readonly transition?: string | Record<string, any> | undefined;
37
79
  };
38
80
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
39
- dialog: unknown;
81
+ dialog: ({
82
+ $: import('vue').ComponentInternalInstance;
83
+ $data: {};
84
+ $props: {
85
+ readonly appendToBody?: boolean | undefined;
86
+ readonly appendTo?: (string | HTMLElement) | undefined;
87
+ readonly beforeClose?: import('element-plus').DialogBeforeCloseFn | undefined;
88
+ readonly destroyOnClose?: boolean | undefined;
89
+ readonly closeOnClickModal?: boolean | undefined;
90
+ readonly closeOnPressEscape?: boolean | undefined;
91
+ readonly lockScroll?: boolean | undefined;
92
+ readonly modal?: boolean | undefined;
93
+ readonly modalPenetrable?: boolean | undefined;
94
+ readonly openDelay?: number | undefined;
95
+ readonly closeDelay?: number | undefined;
96
+ readonly top?: string | undefined;
97
+ readonly modelValue?: boolean | undefined;
98
+ readonly modalClass?: string | undefined;
99
+ readonly width?: string | number | undefined;
100
+ readonly zIndex?: number | undefined;
101
+ readonly trapFocus?: boolean | undefined;
102
+ readonly headerAriaLevel?: string | undefined;
103
+ readonly transition?: import('element-plus').DialogTransition | undefined;
104
+ readonly center?: boolean | undefined;
105
+ readonly alignCenter?: boolean | undefined;
106
+ readonly closeIcon?: import('element-plus/es/utils/index.mjs').IconPropType | undefined;
107
+ readonly draggable?: boolean | undefined;
108
+ readonly overflow?: boolean | undefined;
109
+ readonly fullscreen?: boolean | undefined;
110
+ readonly headerClass?: string | undefined;
111
+ readonly bodyClass?: string | undefined;
112
+ readonly footerClass?: string | undefined;
113
+ readonly showClose?: boolean | undefined;
114
+ readonly title?: string | undefined;
115
+ readonly ariaLevel?: string | undefined;
116
+ readonly onClose?: (() => any) | undefined | undefined;
117
+ readonly "onUpdate:modelValue"?: ((value: boolean) => any) | undefined | undefined;
118
+ readonly onOpen?: (() => any) | undefined | undefined;
119
+ readonly onOpened?: (() => any) | undefined | undefined;
120
+ readonly onClosed?: (() => any) | undefined | undefined;
121
+ readonly onOpenAutoFocus?: (() => any) | undefined | undefined;
122
+ readonly onCloseAutoFocus?: (() => any) | undefined | undefined;
123
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
124
+ $attrs: import('vue').Attrs;
125
+ $refs: {
126
+ [x: string]: unknown;
127
+ };
128
+ $slots: Readonly<{
129
+ [name: string]: globalThis.Slot | undefined;
130
+ }>;
131
+ $root: ComponentPublicInstance | null;
132
+ $parent: ComponentPublicInstance | null;
133
+ $host: Element | null;
134
+ $emit: ((event: "close") => void) & ((event: "closed") => void) & ((event: "open") => void) & ((event: "opened") => void) & ((event: "update:modelValue", value: boolean) => void) & ((event: "openAutoFocus") => void) & ((event: "closeAutoFocus") => void);
135
+ $el: any;
136
+ $options: import('vue').ComponentOptionsBase<Readonly<import('element-plus').DialogProps> & Readonly<{
137
+ onClose?: (() => any) | undefined;
138
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
139
+ onOpen?: (() => any) | undefined;
140
+ onOpened?: (() => any) | undefined;
141
+ onClosed?: (() => any) | undefined;
142
+ onOpenAutoFocus?: (() => any) | undefined;
143
+ onCloseAutoFocus?: (() => any) | undefined;
144
+ }>, {
145
+ visible: globalThis.Ref<boolean, boolean>;
146
+ dialogContentRef: globalThis.Ref<any, any>;
147
+ resetPosition: () => void;
148
+ handleClose: () => void;
149
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
150
+ close: () => void;
151
+ "update:modelValue": (value: boolean) => void;
152
+ open: () => void;
153
+ opened: () => void;
154
+ closed: () => void;
155
+ openAutoFocus: () => void;
156
+ closeAutoFocus: () => void;
157
+ }, string, {
158
+ appendTo: string | HTMLElement;
159
+ title: string;
160
+ transition: import('element-plus').DialogTransition;
161
+ overflow: boolean;
162
+ closeOnClickModal: boolean;
163
+ closeOnPressEscape: boolean;
164
+ lockScroll: boolean;
165
+ modal: boolean;
166
+ openDelay: number;
167
+ closeDelay: number;
168
+ headerAriaLevel: string;
169
+ alignCenter: boolean;
170
+ draggable: boolean;
171
+ showClose: boolean;
172
+ ariaLevel: string;
173
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
174
+ beforeCreate?: (() => void) | (() => void)[];
175
+ created?: (() => void) | (() => void)[];
176
+ beforeMount?: (() => void) | (() => void)[];
177
+ mounted?: (() => void) | (() => void)[];
178
+ beforeUpdate?: (() => void) | (() => void)[];
179
+ updated?: (() => void) | (() => void)[];
180
+ activated?: (() => void) | (() => void)[];
181
+ deactivated?: (() => void) | (() => void)[];
182
+ beforeDestroy?: (() => void) | (() => void)[];
183
+ beforeUnmount?: (() => void) | (() => void)[];
184
+ destroyed?: (() => void) | (() => void)[];
185
+ unmounted?: (() => void) | (() => void)[];
186
+ renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
187
+ renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
188
+ errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
189
+ };
190
+ $forceUpdate: () => void;
191
+ $nextTick: typeof import('vue').nextTick;
192
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
193
+ } & Readonly<{
194
+ appendTo: string | HTMLElement;
195
+ title: string;
196
+ transition: import('element-plus').DialogTransition;
197
+ overflow: boolean;
198
+ closeOnClickModal: boolean;
199
+ closeOnPressEscape: boolean;
200
+ lockScroll: boolean;
201
+ modal: boolean;
202
+ openDelay: number;
203
+ closeDelay: number;
204
+ headerAriaLevel: string;
205
+ alignCenter: boolean;
206
+ draggable: boolean;
207
+ showClose: boolean;
208
+ ariaLevel: string;
209
+ }> & Omit<Readonly<import('element-plus').DialogProps> & Readonly<{
210
+ onClose?: (() => any) | undefined;
211
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
212
+ onOpen?: (() => any) | undefined;
213
+ onOpened?: (() => any) | undefined;
214
+ onClosed?: (() => any) | undefined;
215
+ onOpenAutoFocus?: (() => any) | undefined;
216
+ onCloseAutoFocus?: (() => any) | undefined;
217
+ }>, "title" | "visible" | "showClose" | "appendTo" | "modal" | "lockScroll" | "openDelay" | "closeDelay" | "closeOnClickModal" | "closeOnPressEscape" | "draggable" | "overflow" | "alignCenter" | "headerAriaLevel" | "transition" | "ariaLevel" | "dialogContentRef" | "resetPosition" | "handleClose"> & {
218
+ visible: boolean;
219
+ dialogContentRef: any;
220
+ resetPosition: () => void;
221
+ handleClose: () => void;
222
+ } & {} & import('vue').ComponentCustomProperties & {} & {
223
+ $slots: {
224
+ header?: (props: {
225
+ close: () => void;
226
+ titleId: string;
227
+ titleClass: string;
228
+ }) => any;
229
+ } & {
230
+ title?: (props: {}) => any;
231
+ } & {
232
+ default?: (props: {}) => any;
233
+ } & {
234
+ footer?: (props: {}) => any;
235
+ };
236
+ }) | null;
40
237
  }, any>;
41
238
  type __VLS_TemplateResult = {
42
239
  attrs: Partial<{}>;
43
240
  slots: {
241
+ header?(_: {}): any;
44
242
  default?(_: {}): any;
45
243
  footer?(_: {
46
244
  close: () => void;
47
245
  }): any;
48
246
  };
49
247
  refs: {
50
- dialog: unknown;
248
+ dialog: ({
249
+ $: ComponentInternalInstance;
250
+ $data: {};
251
+ $props: {
252
+ readonly appendToBody?: boolean | undefined;
253
+ readonly appendTo?: string | HTMLElement | undefined;
254
+ readonly beforeClose?: DialogBeforeCloseFn | undefined;
255
+ readonly destroyOnClose?: boolean | undefined;
256
+ readonly closeOnClickModal?: boolean | undefined;
257
+ readonly closeOnPressEscape?: boolean | undefined;
258
+ readonly lockScroll?: boolean | undefined;
259
+ readonly modal?: boolean | undefined;
260
+ readonly modalPenetrable?: boolean | undefined;
261
+ readonly openDelay?: number | undefined;
262
+ readonly closeDelay?: number | undefined;
263
+ readonly top?: string | undefined;
264
+ readonly modelValue?: boolean | undefined;
265
+ readonly modalClass?: string | undefined;
266
+ readonly width?: string | number | undefined;
267
+ readonly zIndex?: number | undefined;
268
+ readonly trapFocus?: boolean | undefined;
269
+ readonly headerAriaLevel?: string | undefined;
270
+ readonly transition?: DialogTransition | undefined;
271
+ readonly center?: boolean | undefined;
272
+ readonly alignCenter?: boolean | undefined;
273
+ readonly closeIcon?: IconPropType | undefined;
274
+ readonly draggable?: boolean | undefined;
275
+ readonly overflow?: boolean | undefined;
276
+ readonly fullscreen?: boolean | undefined;
277
+ readonly headerClass?: string | undefined;
278
+ readonly bodyClass?: string | undefined;
279
+ readonly footerClass?: string | undefined;
280
+ readonly showClose?: boolean | undefined;
281
+ readonly title?: string | undefined;
282
+ readonly ariaLevel?: string | undefined;
283
+ readonly onClose?: (() => any) | undefined;
284
+ readonly "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
285
+ readonly onOpen?: (() => any) | undefined;
286
+ readonly onOpened?: (() => any) | undefined;
287
+ readonly onClosed?: (() => any) | undefined;
288
+ readonly onOpenAutoFocus?: (() => any) | undefined;
289
+ readonly onCloseAutoFocus?: (() => any) | undefined;
290
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
291
+ $attrs: Attrs;
292
+ $refs: Data;
293
+ $slots: Readonly<InternalSlots>;
294
+ $root: ComponentPublicInstance | null;
295
+ $parent: ComponentPublicInstance | null;
296
+ $host: Element | null;
297
+ $emit: ((event: "close") => void) & ((event: "closed") => void) & ((event: "open") => void) & ((event: "opened") => void) & ((event: "update:modelValue", value: boolean) => void) & ((event: "openAutoFocus") => void) & ((event: "closeAutoFocus") => void);
298
+ $el: any;
299
+ $options: ComponentOptionsBase<Readonly<DialogProps> & Readonly<{
300
+ onClose?: (() => any) | undefined;
301
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
302
+ onOpen?: (() => any) | undefined;
303
+ onOpened?: (() => any) | undefined;
304
+ onClosed?: (() => any) | undefined;
305
+ onOpenAutoFocus?: (() => any) | undefined;
306
+ onCloseAutoFocus?: (() => any) | undefined;
307
+ }>, {
308
+ visible: Ref<boolean, boolean>;
309
+ dialogContentRef: Ref<any, any>;
310
+ resetPosition: () => void;
311
+ handleClose: () => void;
312
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
313
+ close: () => void;
314
+ "update:modelValue": (value: boolean) => void;
315
+ open: () => void;
316
+ opened: () => void;
317
+ closed: () => void;
318
+ openAutoFocus: () => void;
319
+ closeAutoFocus: () => void;
320
+ }, string, {
321
+ appendTo: string | HTMLElement;
322
+ title: string;
323
+ transition: DialogTransition;
324
+ overflow: boolean;
325
+ closeOnClickModal: boolean;
326
+ closeOnPressEscape: boolean;
327
+ lockScroll: boolean;
328
+ modal: boolean;
329
+ openDelay: number;
330
+ closeDelay: number;
331
+ headerAriaLevel: string;
332
+ alignCenter: boolean;
333
+ draggable: boolean;
334
+ showClose: boolean;
335
+ ariaLevel: string;
336
+ }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & MergedComponentOptionsOverride;
337
+ $forceUpdate: () => void;
338
+ $nextTick: typeof nextTick;
339
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R, args_2: OnCleanup) => any : (args_0: any, args_1: any, args_2: OnCleanup) => any, options?: WatchOptions<boolean> | undefined): WatchStopHandle;
340
+ } & Readonly<{
341
+ appendTo: string | HTMLElement;
342
+ title: string;
343
+ transition: DialogTransition;
344
+ overflow: boolean;
345
+ closeOnClickModal: boolean;
346
+ closeOnPressEscape: boolean;
347
+ lockScroll: boolean;
348
+ modal: boolean;
349
+ openDelay: number;
350
+ closeDelay: number;
351
+ headerAriaLevel: string;
352
+ alignCenter: boolean;
353
+ draggable: boolean;
354
+ showClose: boolean;
355
+ ariaLevel: string;
356
+ }> & Omit<Readonly<DialogProps> & Readonly<{
357
+ onClose?: (() => any) | undefined;
358
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
359
+ onOpen?: (() => any) | undefined;
360
+ onOpened?: (() => any) | undefined;
361
+ onClosed?: (() => any) | undefined;
362
+ onOpenAutoFocus?: (() => any) | undefined;
363
+ onCloseAutoFocus?: (() => any) | undefined;
364
+ }>, "title" | "visible" | "showClose" | "appendTo" | "modal" | "lockScroll" | "openDelay" | "closeDelay" | "closeOnClickModal" | "closeOnPressEscape" | "draggable" | "overflow" | "alignCenter" | "headerAriaLevel" | "transition" | "ariaLevel" | "dialogContentRef" | "resetPosition" | "handleClose"> & {
365
+ visible: boolean;
366
+ dialogContentRef: any;
367
+ resetPosition: () => void;
368
+ handleClose: () => void;
369
+ } & ExtractComputedReturns<{}> & ComponentCustomProperties & {} & {
370
+ $slots: __VLS_Slots;
371
+ }) | null;
51
372
  };
52
373
  rootEl: any;
53
374
  };
@@ -1,91 +1,2 @@
1
- import { ElDialog as e } from "element-plus/es";
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, normalizeClass as l, normalizeStyle 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
- //#region src/components/ElementDialog.vue
4
- var b = { class: "dialog-title" }, x = { class: "dialog-header-buttons" }, S = {
5
- __name: "ElementDialog",
6
- props: /* @__PURE__ */ c({
7
- height: String,
8
- width: String,
9
- title: String,
10
- embed: Boolean,
11
- showClose: Boolean,
12
- overflow: Boolean,
13
- closeOnClickModal: Boolean,
14
- destroyOnClose: Boolean,
15
- draggable: {
16
- type: Boolean,
17
- default: !0
18
- },
19
- showFullscreen: Boolean,
20
- showFullScreen: Boolean,
21
- alignCenter: Boolean,
22
- appendToBody: {
23
- type: Boolean,
24
- default: !0
25
- }
26
- }, {
27
- modelValue: { type: Boolean },
28
- modelModifiers: {}
29
- }),
30
- emits: /* @__PURE__ */ c(["toggle-fullscreen"], ["update:modelValue"]),
31
- setup(c, { expose: S, emit: C }) {
32
- let w = g(c, "modelValue"), T = c, E = C, D = _("dialog"), O = f(!1), k = () => {
33
- O.value = !O.value, E("toggle-fullscreen", O.value);
34
- }, A = t(() => O.value ? "100%" : T.height), j = s(), M = () => {
35
- T.embed ? j.parent.emit("update:visible") : D.value.handleClose();
36
- };
37
- return S({
38
- close: M,
39
- hide: M
40
- }), (t, s) => {
41
- let f = e;
42
- return d(), n(f, {
43
- ref: "dialog",
44
- modelValue: w.value,
45
- "onUpdate:modelValue": s[0] || (s[0] = (e) => w.value = e),
46
- "append-to-body": c.appendToBody,
47
- fullscreen: h(O),
48
- "show-close": c.showClose,
49
- "destroy-on-close": c.destroyOnClose,
50
- draggable: c.draggable,
51
- overflow: c.overflow,
52
- "align-center": c.alignCenter,
53
- style: u({ "--dialog-body-height": h(A) }),
54
- width: c.width,
55
- "close-on-click-modal": c.closeOnClickModal
56
- }, o({
57
- header: v(() => [a("div", b, m(c.title), 1), a("div", x, [c.showFullscreen || c.showFullScreen ? (d(), i("i", {
58
- key: 0,
59
- class: l(["dialog-header-button", {
60
- "el-icon-full-screen": !h(O),
61
- "el-icon-copy-document": h(O)
62
- }]),
63
- onClick: y(k, ["stop"])
64
- }, null, 2)) : r("v-if", !0), a("i", {
65
- class: "dialog-header-button el-icon-close",
66
- onClick: y(M, ["stop"])
67
- })])]),
68
- default: v(() => [p(t.$slots, "default")]),
69
- _: 2
70
- }, [t.$slots.footer ? {
71
- name: "footer",
72
- fn: v(() => [p(t.$slots, "footer", { close: M })]),
73
- key: "0"
74
- } : void 0]), 1032, [
75
- "modelValue",
76
- "append-to-body",
77
- "fullscreen",
78
- "show-close",
79
- "destroy-on-close",
80
- "draggable",
81
- "overflow",
82
- "align-center",
83
- "style",
84
- "width",
85
- "close-on-click-modal"
86
- ]);
87
- };
88
- }
89
- };
90
- //#endregion
91
- export { S as default };
1
+ import { t as e } from "../chunks/gLPy4Sus.mjs";
2
+ export { e as default };
@@ -0,0 +1,8 @@
1
+ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {
2
+ compareAndNotify(): void;
3
+ addResizeHandlers(): void;
4
+ removeResizeHandlers(): void;
5
+ }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "notify"[], "notify", import('vue').PublicProps, Readonly<{}> & Readonly<{
6
+ onNotify?: ((...args: any[]) => any) | undefined;
7
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
8
+ export default _default;
@@ -0,0 +1,40 @@
1
+ import { t as e } from "../chunks/CkOD-_VV.mjs";
2
+ import { createElementBlock as t, openBlock as n } from "vue";
3
+ //#region src/components/ElementResizeObserver.vue
4
+ var r = {
5
+ name: "ElementResizeObserver",
6
+ emits: ["notify"],
7
+ mounted() {
8
+ this.$nextTick(() => {
9
+ this._w = this.$el.offsetWidth, this._h = this.$el.offsetHeight;
10
+ });
11
+ let e = document.createElement("object");
12
+ this._resizeObject = e, e.setAttribute("aria-hidden", "true"), e.setAttribute("tabindex", -1), e.onload = this.addResizeHandlers, e.type = "text/html", e.data = "about:blank", this.$el.appendChild(e);
13
+ },
14
+ beforeUnmount() {
15
+ this.removeResizeHandlers();
16
+ },
17
+ methods: {
18
+ compareAndNotify() {
19
+ (this._w !== this.$el.offsetWidth || this._h !== this.$el.offsetHeight) && (this._w = this.$el.offsetWidth, this._h = this.$el.offsetHeight, this.$emit("notify", {
20
+ width: this._w,
21
+ height: this._h
22
+ }));
23
+ },
24
+ addResizeHandlers() {
25
+ this._resizeObject.contentDocument.defaultView.addEventListener("resize", this.compareAndNotify), this.compareAndNotify();
26
+ },
27
+ removeResizeHandlers() {
28
+ this._resizeObject && this._resizeObject.onload && (this._resizeObject.contentDocument && this._resizeObject.contentDocument.defaultView.removeEventListener("resize", this.compareAndNotify), this.$el.removeChild(this._resizeObject), this._resizeObject.onload = null, this._resizeObject = null);
29
+ }
30
+ }
31
+ }, i = {
32
+ class: "resize-observer",
33
+ tabindex: "-1"
34
+ };
35
+ function a(e, r, a, o, s, c) {
36
+ return n(), t("div", i);
37
+ }
38
+ var o = /* @__PURE__ */ e(r, [["render", a]]);
39
+ //#endregion
40
+ export { o as default };
@@ -0,0 +1 @@
1
+ .resize-observer{z-index:-1;opacity:0;pointer-events:none;background-color:#0000;border:none;width:100%;height:100%;display:block;position:absolute;top:0;left:0;overflow:hidden}.resize-observer>object{z-index:-1;pointer-events:none;width:100%;height:100%;display:block;position:absolute;top:0;left:0;overflow:hidden}
@@ -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,28 +1,29 @@
1
- import { Fragment as e, computed as t, createCommentVNode as n, createElementBlock as r, createElementVNode as i, createTextVNode as a, inject as o, openBlock as s, renderList as c, toDisplayString as l, unref as u } from "vue";
1
+ import { columnSizeContextKey as e, flowContextKey as t } from "../constants/index.mjs";
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";
2
3
  //#region src/components/red-form/FormAdvice.vue
3
- var d = ["colspan"], f = ["colspan"], p = { style: { "text-align": "right" } }, m = { style: { "margin-left": "20px" } }, h = /* @__PURE__ */ Object.assign({ name: "FormAdvice" }, {
4
+ var p = ["colspan"], m = ["colspan"], h = { style: { "text-align": "right" } }, g = { style: { "margin-left": "20px" } }, _ = /* @__PURE__ */ Object.assign({ name: "FormAdvice" }, {
4
5
  __name: "FormAdvice",
5
6
  props: {
6
7
  valueColspan: Number,
7
8
  labelColspan: Number
8
9
  },
9
- setup(h) {
10
- let g = h, _ = o("columnSize", 0), v = o("flowContext", null), y = t(() => g.labelColspan && g.valueColspan || g.labelColspan && !g.valueColspan ? g.labelColspan : !g.labelColspan && g.valueColspan && _.value ? _.value - g.valueColspan : 0), b = t(() => g.labelColspan && g.valueColspan ? g.valueColspan : g.labelColspan && !g.valueColspan ? _.value ? _.value - g.labelColspan : 0 : !g.labelColspan && g.valueColspan ? g.valueColspan : _.value ? _.value - 1 : 0);
11
- return (t, o) => {
12
- var h;
13
- return s(), r("tbody", null, [(s(!0), r(e, null, c((h = u(v)) == null ? void 0 : h.formComments, (t) => (s(), r(e, null, [t.comments.length ? (s(), r("tr", { key: t.id }, [i("td", {
10
+ setup(_) {
11
+ let v = _, y = c(e, 0), b = c(t, null), x = r(() => v.labelColspan && v.valueColspan || v.labelColspan && !v.valueColspan ? v.labelColspan : !v.labelColspan && v.valueColspan && y.value ? y.value - v.valueColspan : 0), S = r(() => v.labelColspan && v.valueColspan ? v.valueColspan : v.labelColspan && !v.valueColspan ? y.value ? y.value - v.labelColspan : 0 : !v.labelColspan && v.valueColspan ? v.valueColspan : y.value ? y.value - 1 : 0);
12
+ return (e, t) => {
13
+ var r;
14
+ return l(), a("tbody", null, [(l(!0), a(n, null, u((r = f(b)) == null ? void 0 : r.formComments, (e) => (l(), a(n, null, [e.comments.length ? (l(), a("tr", { key: e.id }, [o("td", {
14
15
  class: "label",
15
16
  style: {
16
17
  height: "100px",
17
18
  "line-height": "24px"
18
19
  },
19
- colspan: y.value
20
- }, l(t.name), 9, d), i("td", {
20
+ colspan: x.value
21
+ }, d(e.name), 9, p), o("td", {
21
22
  class: "input",
22
- colspan: b.value
23
- }, [i("ul", null, [(s(!0), r(e, null, c(t.comments, (e) => (s(), r("li", { key: e.id }, [i("p", null, l(e.message), 1), i("p", p, [a(l(e.personalName) + " ", 1), i("span", m, l(e.time.substring(0, 10)), 1)])]))), 128))])], 8, f)])) : n("v-if", !0)], 64))), 256))]);
23
+ colspan: S.value
24
+ }, [o("ul", null, [(l(!0), a(n, null, u(e.comments, (e) => (l(), a("li", { key: e.id }, [o("p", null, d(e.message), 1), o("p", h, [s(d(e.personalName) + " ", 1), o("span", g, d(e.time.substring(0, 10)), 1)])]))), 128))])], 8, m)])) : i("v-if", !0)], 64))), 256))]);
24
25
  };
25
26
  }
26
27
  });
27
28
  //#endregion
28
- export { h as default };
29
+ export { _ as default };