@web-utils/form-ui 1.0.0-beta3 → 1.0.0-beta31
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 -1
- package/chunks/4ZuVpQf6.mjs +478 -0
- package/chunks/B99alfW4.mjs +207 -0
- package/chunks/BQ77eAb3.mjs +71 -0
- package/chunks/BV_N8p9t.mjs +83 -0
- package/chunks/BV_P9a8o.mjs +100 -0
- package/chunks/BgDYHgyH.mjs +189 -0
- package/chunks/Bm5eiSmT.mjs +79 -0
- package/chunks/BmZieBZW.mjs +88 -0
- package/chunks/Br4i8stg.mjs +222 -0
- package/chunks/C3a15Ful.mjs +95 -0
- package/chunks/C44-CFi-.mjs +636 -0
- package/chunks/C4bM8miy.mjs +174 -0
- package/chunks/C9J3j0PX.mjs +93 -0
- package/chunks/Cby3mvvZ.mjs +216 -0
- package/chunks/Cc3EJjbV.mjs +25 -0
- package/chunks/Cgl-hCE5.mjs +25 -0
- package/chunks/Ci1XxmdE.mjs +51 -0
- package/chunks/CkFapoKt.mjs +8 -0
- package/chunks/CsfgUCe9.mjs +17 -0
- package/chunks/CugRu2Ka.mjs +42 -0
- package/chunks/Cy-4nmyC.mjs +106 -0
- package/chunks/D1EOkWJ7.mjs +25 -0
- package/chunks/D1G2MMMx.mjs +1360 -0
- package/chunks/DO8dVGef.mjs +98 -0
- package/chunks/DazglPJZ.mjs +180 -0
- package/chunks/Dt6gY213.mjs +62 -0
- package/chunks/DtAYXPvz.mjs +108 -0
- package/chunks/JhyiXnbd.mjs +76 -0
- package/chunks/S64sNmuR.mjs +226 -0
- package/chunks/bnRb5PUB.mjs +108 -0
- package/chunks/dM-icPM8.mjs +107 -0
- package/chunks/pxFLMMUm.mjs +110 -0
- package/chunks/q1SlJP1y.mjs +171 -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 +42 -0
- package/constants/index.mjs +4 -0
- package/dict-render/index.d.ts +28 -0
- package/element-dialog/index.d.ts +374 -0
- package/element-dialog/index.mjs +2 -91
- package/empty-view/index.d.ts +29 -0
- package/empty-view/index.mjs +1 -1
- package/flex-scroll-area/index.d.ts +22 -0
- package/flex-scroll-area/index.mjs +1 -1
- package/form-advice/index.d.ts +9 -0
- package/form-advice/index.mjs +13 -12
- package/form-button/index.d.ts +114 -0
- package/form-button/index.mjs +36 -0
- package/form-cascader/index.d.ts +486 -0
- package/form-cascader/index.mjs +2 -0
- package/form-cell/index.d.ts +25 -0
- package/form-check-box-group/index.d.ts +295 -0
- package/form-check-box-group/index.mjs +1 -1
- package/form-checkbox/index.d.ts +273 -0
- package/form-checkbox/index.mjs +1 -1
- package/form-date-picker/index.d.ts +423 -0
- package/form-date-picker/index.mjs +1 -1
- package/form-holder/index.d.ts +166 -0
- package/form-holder/index.mjs +1 -1
- package/form-holder/style.css +1 -1
- package/form-image/index.d.ts +226 -0
- package/form-image/index.mjs +1 -1
- package/form-input/index.d.ts +389 -0
- 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 +363 -0
- package/form-input-email/index.mjs +1 -1
- package/form-input-id-card/index.d.ts +363 -0
- package/form-input-id-card/index.mjs +1 -1
- package/form-input-number/index.d.ts +327 -0
- package/form-input-number/index.mjs +1 -1
- package/form-input-phone-number/index.d.ts +363 -0
- package/form-input-phone-number/index.mjs +1 -1
- package/form-input-tag/index.d.ts +2 -0
- package/form-input-time/index.d.ts +2 -0
- 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 +94 -0
- package/form-item-group/index.mjs +2 -78
- package/form-item-group/style.css +1 -1
- package/form-item-x/index.d.ts +184 -0
- package/form-item-x/index.mjs +1 -1
- package/form-item-x/style.css +1 -0
- package/form-radio-group/index.d.ts +283 -0
- package/form-radio-group/index.mjs +1 -1
- package/form-rate/index.d.ts +321 -0
- package/form-rate/index.mjs +1 -1
- package/form-red-table/index.d.ts +21 -0
- package/form-red-table/index.mjs +27 -26
- package/form-row/index.d.ts +11 -0
- package/form-row/index.mjs +1 -1
- package/form-select/index.d.ts +542 -0
- package/form-select/index.mjs +1 -1
- package/form-slider/index.d.ts +350 -0
- package/form-slider/index.mjs +1 -1
- package/form-switch/index.d.ts +339 -0
- package/form-switch/index.mjs +1 -1
- package/form-text/index.d.ts +229 -0
- package/form-text/index.mjs +1 -1
- package/form-view/index.d.ts +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 +51 -0
- package/index.mjs +51 -37
- package/month-calendar/index.d.ts +80 -0
- package/package.json +12 -7
- package/pageable-table/index.d.ts +436 -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.d.ts +9 -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-column-filter/index.d.ts +11 -0
- package/table-column-filterable/index.d.ts +10 -0
- package/table-view/index.d.ts +2 -0
- package/table-view/index.mjs +1 -1
- package/toolbar/index.d.ts +129 -0
- package/toolbar/index.mjs +1 -8
- package/toolbar/style.css +1 -0
- package/toolbar-button/index.d.ts +77 -0
- 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 +226 -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.mjs +0 -4
- package/input/style.css +0 -1
|
@@ -0,0 +1,374 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
2
|
+
export default _default;
|
|
3
|
+
type __VLS_WithTemplateSlots<T, S> = T & (new () => {
|
|
4
|
+
$slots: S;
|
|
5
|
+
});
|
|
6
|
+
declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
7
|
+
close: () => void;
|
|
8
|
+
hide: () => void;
|
|
9
|
+
$emit: ((event: "close", ...args: any[]) => void) & ((event: "closed", ...args: any[]) => void) & ((event: "open", ...args: any[]) => void) & ((event: "opened", ...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
|
+
title: string;
|
|
12
|
+
fullscreen: boolean;
|
|
13
|
+
customClass: string;
|
|
14
|
+
showFullscreen: boolean;
|
|
15
|
+
showFullScreen: boolean;
|
|
16
|
+
showClose: boolean;
|
|
17
|
+
modelValue: boolean;
|
|
18
|
+
top: string;
|
|
19
|
+
modal: boolean;
|
|
20
|
+
modalPenetrable: boolean;
|
|
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
|
+
height?: string | undefined;
|
|
35
|
+
zIndex?: number | undefined;
|
|
36
|
+
appendTo?: string | Record<string, any> | 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;
|
|
44
|
+
$props: {
|
|
45
|
+
readonly embed?: boolean | undefined;
|
|
46
|
+
readonly title?: string | undefined;
|
|
47
|
+
readonly fullscreen?: boolean | undefined;
|
|
48
|
+
readonly customClass?: string | undefined;
|
|
49
|
+
readonly showFullscreen?: boolean | undefined;
|
|
50
|
+
readonly showFullScreen?: boolean | undefined;
|
|
51
|
+
readonly showClose?: boolean | undefined;
|
|
52
|
+
readonly modelValue?: boolean | undefined;
|
|
53
|
+
readonly top?: string | undefined;
|
|
54
|
+
readonly modal?: boolean | undefined;
|
|
55
|
+
readonly modalPenetrable?: boolean | undefined;
|
|
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 height?: string | undefined;
|
|
70
|
+
readonly zIndex?: number | undefined;
|
|
71
|
+
readonly appendTo?: string | Record<string, any> | 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;
|
|
79
|
+
};
|
|
80
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
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;
|
|
237
|
+
}, any>;
|
|
238
|
+
type __VLS_TemplateResult = {
|
|
239
|
+
attrs: Partial<{}>;
|
|
240
|
+
slots: {
|
|
241
|
+
header?(_: {}): any;
|
|
242
|
+
default?(_: {}): any;
|
|
243
|
+
footer?(_: {
|
|
244
|
+
close: () => void;
|
|
245
|
+
}): any;
|
|
246
|
+
};
|
|
247
|
+
refs: {
|
|
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;
|
|
372
|
+
};
|
|
373
|
+
rootEl: any;
|
|
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/DazglPJZ.mjs";
|
|
2
|
+
export { e as default };
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
2
|
+
export default _default;
|
|
3
|
+
type __VLS_WithTemplateSlots<T, S> = T & (new () => {
|
|
4
|
+
$slots: S;
|
|
5
|
+
});
|
|
6
|
+
declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
7
|
+
icon: string;
|
|
8
|
+
height: string;
|
|
9
|
+
emptyTips: string;
|
|
10
|
+
fontSize: string;
|
|
11
|
+
iconSize: string;
|
|
12
|
+
showIcon: boolean;
|
|
13
|
+
$props: {
|
|
14
|
+
readonly icon?: string | undefined;
|
|
15
|
+
readonly height?: string | undefined;
|
|
16
|
+
readonly emptyTips?: string | undefined;
|
|
17
|
+
readonly fontSize?: string | undefined;
|
|
18
|
+
readonly iconSize?: string | undefined;
|
|
19
|
+
readonly showIcon?: boolean | undefined;
|
|
20
|
+
};
|
|
21
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
22
|
+
type __VLS_TemplateResult = {
|
|
23
|
+
attrs: Partial<{}>;
|
|
24
|
+
slots: {
|
|
25
|
+
default?(_: {}): any;
|
|
26
|
+
};
|
|
27
|
+
refs: {};
|
|
28
|
+
rootEl: HTMLDivElement;
|
|
29
|
+
};
|
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: {
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
2
|
+
export default _default;
|
|
3
|
+
type __VLS_WithTemplateSlots<T, S> = T & (new () => {
|
|
4
|
+
$slots: S;
|
|
5
|
+
});
|
|
6
|
+
declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
7
|
+
scroller: Readonly<globalThis.ShallowRef<HTMLDivElement | null, HTMLDivElement | null>>;
|
|
8
|
+
computeScrollbar: () => void;
|
|
9
|
+
$emit: (event: "scroll" | "scrollbar", ...args: any[]) => void;
|
|
10
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
11
|
+
scroller: HTMLDivElement;
|
|
12
|
+
}, HTMLDivElement>;
|
|
13
|
+
type __VLS_TemplateResult = {
|
|
14
|
+
attrs: Partial<{}>;
|
|
15
|
+
slots: {
|
|
16
|
+
default?(_: {}): any;
|
|
17
|
+
};
|
|
18
|
+
refs: {
|
|
19
|
+
scroller: HTMLDivElement;
|
|
20
|
+
};
|
|
21
|
+
rootEl: HTMLDivElement;
|
|
22
|
+
};
|
|
@@ -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"],
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {
|
|
2
|
+
valueColspan?: number | undefined;
|
|
3
|
+
labelColspan?: number | undefined;
|
|
4
|
+
$props: {
|
|
5
|
+
readonly valueColspan?: number | undefined;
|
|
6
|
+
readonly labelColspan?: number | undefined;
|
|
7
|
+
};
|
|
8
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLTableSectionElement>;
|
|
9
|
+
export default _default;
|
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 };
|