@web-utils/form-ui 1.0.0-beta4 → 1.0.0-beta40
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.
- package/api/index.d.ts +60 -0
- package/api/index.mjs +42 -0
- package/awesome-button/index.d.ts +60 -0
- package/awesome-button/index.mjs +49 -0
- package/base.css +1 -0
- package/chunks/B1MSrc6f.mjs +8 -0
- package/chunks/B3ajWLh3.mjs +198 -0
- package/chunks/BH_JJ8Xh.mjs +106 -0
- package/chunks/BWBHzD5N.mjs +89 -0
- package/chunks/Bd1UFJic.mjs +660 -0
- package/chunks/Bm5eiSmT.mjs +79 -0
- package/chunks/BsCS7SB5.mjs +141 -0
- package/chunks/BufIRDd0.mjs +185 -0
- package/chunks/C1AgOUe_.mjs +172 -0
- package/chunks/C3Uo82-I.mjs +35 -0
- package/chunks/C9dGL28n.mjs +56 -0
- package/chunks/CFOGMFgo.mjs +150 -0
- package/chunks/CLPSCSsy.mjs +603 -0
- package/chunks/CSyJ-vEx.mjs +17 -0
- package/chunks/CTKmEf2M.mjs +93 -0
- package/chunks/CWfUPCtS.mjs +1360 -0
- package/chunks/CXvGoZKJ.mjs +198 -0
- package/chunks/Cab-ZjRx.mjs +164 -0
- package/chunks/ChmDDqoZ2.mjs +478 -0
- package/chunks/Cj59E77g.mjs +230 -0
- package/chunks/CqTcEefA.mjs +93 -0
- package/chunks/Ct5bDJ50.mjs +38 -0
- package/chunks/CuG2Q-PM.mjs +100 -0
- package/chunks/D8UVq1t1.mjs +176 -0
- package/chunks/DDmQcNm6.mjs +93 -0
- package/chunks/DF9fJMQS.mjs +105 -0
- package/chunks/DJe97Fgi.mjs +107 -0
- package/chunks/DXYgAmil.mjs +317 -0
- package/chunks/DhtHh0jk.mjs +87 -0
- package/chunks/DiJyms_r.mjs +100 -0
- package/chunks/Ds_Tpa_M.mjs +83 -0
- package/chunks/TvNHGVAP.mjs +25 -0
- package/chunks/XCGWTz41.mjs +25 -0
- package/chunks/XqRTtFfp.mjs +166 -0
- package/chunks/cmuHpsX6.mjs +109 -0
- package/chunks/o6VhYAN52.mjs +207 -0
- package/chunks/pdwFQpA8.mjs +57 -0
- package/chunks/taicx2sd.mjs +25 -0
- package/confirm-button/index.d.ts +113 -0
- package/confirm-button/index.mjs +35 -0
- package/confirmable/index.d.ts +84 -0
- package/confirmable/index.mjs +8 -0
- package/constants/index.d.ts +53 -0
- package/constants/index.mjs +4 -0
- package/editable-tree/index.d.ts +254 -0
- package/editable-tree/index.mjs +2 -0
- package/editable-tree/style.css +1 -0
- package/element-dialog/index.d.ts +337 -16
- package/element-dialog/index.mjs +2 -91
- package/empty-view/index.d.ts +2 -2
- package/empty-view/index.mjs +1 -1
- package/flex-scroll-area/index.d.ts +1 -1
- package/flex-scroll-area/index.mjs +1 -1
- package/form-advice/index.mjs +13 -12
- package/form-button/index.d.ts +114 -0
- package/form-button/index.mjs +36 -0
- package/form-card/index.d.ts +14 -0
- package/form-card/index.mjs +18 -0
- package/form-cascader/index.d.ts +472 -0
- package/form-cascader/index.mjs +2 -0
- package/form-check-box-group/index.d.ts +289 -18
- package/form-check-box-group/index.mjs +1 -1
- package/form-check-box-group/style.css +1 -0
- package/form-checkbox/index.d.ts +236 -16
- package/form-checkbox/index.mjs +1 -1
- package/form-date-picker/index.d.ts +390 -19
- package/form-date-picker/index.mjs +1 -1
- package/form-holder/index.d.ts +87 -20
- package/form-holder/index.mjs +1 -1
- package/form-holder/style.css +1 -1
- package/form-image/index.d.ts +145 -13
- package/form-image/index.mjs +1 -1
- package/form-input/index.d.ts +301 -20
- package/form-input/index.mjs +1 -1
- package/form-input/style.css +1 -0
- package/form-input-cron-expression/index.d.ts +217 -0
- package/form-input-cron-expression/index.mjs +2 -0
- package/form-input-cron-expression/style.css +1 -0
- package/form-input-email/index.d.ts +307 -16
- package/form-input-email/index.mjs +1 -1
- package/form-input-id-card/index.d.ts +307 -16
- package/form-input-id-card/index.mjs +1 -1
- package/form-input-number/index.d.ts +246 -18
- package/form-input-number/index.mjs +1 -1
- package/form-input-phone-number/index.d.ts +307 -16
- package/form-input-phone-number/index.mjs +1 -1
- package/form-input-tag/index.d.ts +263 -1
- package/form-input-tag/index.mjs +1 -3
- package/form-input-time/index.d.ts +434 -1
- package/form-input-time/index.mjs +1 -3
- package/form-item-config-provider/index.d.ts +22 -0
- package/form-item-config-provider/index.mjs +24 -0
- package/form-item-group/index.d.ts +91 -17
- package/form-item-group/index.mjs +2 -78
- package/form-item-group/style.css +1 -1
- package/form-item-x/index.d.ts +141 -11
- package/form-item-x/index.mjs +1 -1
- package/form-item-x/style.css +1 -0
- package/form-radio-group/index.d.ts +303 -16
- package/form-radio-group/index.mjs +1 -1
- package/form-rate/index.d.ts +254 -14
- package/form-rate/index.mjs +1 -1
- package/form-red-table/index.mjs +27 -26
- package/form-row/index.d.ts +2 -2
- package/form-row/index.mjs +1 -1
- package/form-select/index.d.ts +537 -18
- package/form-select/index.mjs +1 -1
- package/form-slider/index.d.ts +283 -16
- package/form-slider/index.mjs +1 -1
- package/form-switch/index.d.ts +272 -14
- package/form-switch/index.mjs +1 -1
- package/form-text/index.d.ts +165 -13
- package/form-text/index.mjs +1 -1
- package/form-textarea/index.d.ts +351 -0
- package/form-textarea/index.mjs +2 -0
- package/form-time-select/index.d.ts +319 -0
- package/form-time-select/index.mjs +2 -0
- package/form-view/index.mjs +1 -1
- package/helper/dictionary.d.ts +15 -0
- package/helper/dictionary.mjs +97 -0
- package/hook/useDictionary.d.ts +60 -0
- package/hook/useDictionary.mjs +15 -0
- package/hook/useVisibilityChange.d.ts +4 -0
- package/hook/useVisibilityChange.mjs +14 -0
- package/iframe-window/index.d.ts +9 -0
- package/iframe-window/index.mjs +37 -0
- package/iframe-window/style.css +1 -0
- package/index.d.ts +52 -36
- package/index.mjs +54 -61
- package/package.json +10 -5
- package/pageable-table/index.d.ts +398 -0
- package/pageable-table/index.mjs +2 -0
- package/pageable-table/style.css +1 -0
- package/resize-observer/index.d.ts +8 -0
- package/resize-observer/index.mjs +40 -0
- package/resize-observer/style.css +1 -0
- package/resolver/index.mjs +29 -0
- package/table-column/index.d.ts +160 -0
- package/table-column/index.mjs +2 -0
- package/table-column/style.css +1 -0
- package/table-column-def/index.d.ts +85 -0
- package/table-column-def/index.mjs +11 -0
- package/table-view/index.d.ts +340 -1
- package/table-view/index.mjs +453 -6
- package/table-view/style.css +1 -0
- package/toolbar/index.d.ts +128 -1
- package/toolbar/index.mjs +1 -8
- package/toolbar/style.css +1 -0
- package/toolbar-button/index.d.ts +188 -1
- package/toolbar-button/index.mjs +1 -8
- package/vue-cron/index.d.ts +191 -0
- package/vue-cron/index.mjs +2 -0
- package/vue-cron/style.css +1 -0
- package/web-types.json +1 -1
- package/x-input-tag/index.d.ts +2 -0
- package/x-input-tag/index.mjs +227 -0
- package/x-input-tag/style.css +1 -0
- package/year-calendar/index.d.ts +99 -0
- package/year-calendar/index.mjs +2 -0
- package/year-calendar/style.css +1 -0
- package/chunks/B4M_TFeR.mjs +0 -152
- package/chunks/B5BIQCcK.mjs +0 -149
- package/chunks/BHNKrW1j.mjs +0 -61
- package/chunks/BO9jWhBl.mjs +0 -46
- package/chunks/BZ8aOa78.mjs +0 -35
- package/chunks/Bsz7y4Xp.mjs +0 -73
- package/chunks/Bxj372sF.mjs +0 -53
- package/chunks/C33EmJN8.mjs +0 -32
- package/chunks/C6Li3-l7.mjs +0 -28
- package/chunks/CBcdalMX.mjs +0 -35
- package/chunks/CdRsyF0n.mjs +0 -43
- package/chunks/ClNahmiU.mjs +0 -23
- package/chunks/CstztYMu.mjs +0 -28
- package/chunks/DC9b53M6.mjs +0 -32
- package/chunks/DDVAgRED.mjs +0 -36
- package/chunks/DpJQABVD.mjs +0 -91
- package/chunks/ZsLNWI9x.mjs +0 -46
- package/chunks/jn_iQrVZ.mjs +0 -28
- package/constants.d.ts +0 -1
- package/constants.mjs +0 -4
- package/input/style.css +0 -1
- package/resolver.mjs +0 -79
- package/utils/style.css +0 -1
- /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;
|
|
14
|
+
top: string;
|
|
11
15
|
showClose: boolean;
|
|
12
|
-
overflow: boolean;
|
|
13
|
-
closeOnClickModal: boolean;
|
|
14
|
-
destroyOnClose: boolean;
|
|
15
|
-
draggable: boolean;
|
|
16
16
|
showFullscreen: boolean;
|
|
17
17
|
showFullScreen: boolean;
|
|
18
|
-
|
|
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
|
-
|
|
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;
|
|
49
|
+
readonly top?: string | undefined;
|
|
25
50
|
readonly showClose?: boolean | undefined;
|
|
26
|
-
readonly overflow?: boolean | undefined;
|
|
27
|
-
readonly closeOnClickModal?: boolean | undefined;
|
|
28
|
-
readonly destroyOnClose?: boolean | undefined;
|
|
29
|
-
readonly draggable?: boolean | undefined;
|
|
30
51
|
readonly showFullscreen?: boolean | undefined;
|
|
31
52
|
readonly showFullScreen?: boolean | undefined;
|
|
32
|
-
readonly
|
|
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
|
|
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:
|
|
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:
|
|
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
|
};
|
package/element-dialog/index.mjs
CHANGED
|
@@ -1,91 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
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/Cab-ZjRx.mjs";
|
|
2
|
+
export { e as default };
|
package/empty-view/index.d.ts
CHANGED
|
@@ -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
|
};
|
package/empty-view/index.mjs
CHANGED
|
@@ -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<
|
|
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"],
|
package/form-advice/index.mjs
CHANGED
|
@@ -1,28 +1,29 @@
|
|
|
1
|
-
import {
|
|
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
|
|
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(
|
|
10
|
-
let
|
|
11
|
-
return (
|
|
12
|
-
var
|
|
13
|
-
return
|
|
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:
|
|
20
|
-
},
|
|
20
|
+
colspan: x.value
|
|
21
|
+
}, d(e.name), 9, p), o("td", {
|
|
21
22
|
class: "input",
|
|
22
|
-
colspan:
|
|
23
|
-
}, [
|
|
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 {
|
|
29
|
+
export { _ as default };
|