@xleddyl/443-components-vue 0.16.10 → 0.16.11
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/CATALOG.md +24 -19
- package/README.md +12 -9
- package/dist/components/feedback/SkeletonForm.vue +29 -0
- package/dist/components/feedback/SkeletonForm.vue.d.ts +402 -0
- package/dist/components/feedback/SkeletonList.vue +30 -0
- package/dist/components/feedback/SkeletonList.vue.d.ts +406 -0
- package/dist/components/feedback/index.d.ts +2 -0
- package/dist/components/feedback/index.mjs +2 -0
- package/dist/components/templates/FormDrawer.vue +161 -0
- package/dist/components/templates/FormDrawer.vue.d.ts +297 -0
- package/dist/components/templates/index.d.ts +1 -0
- package/dist/components/templates/index.mjs +1 -0
- package/dist/locale/de.mjs +6 -1
- package/dist/locale/en.mjs +6 -1
- package/dist/locale/it.mjs +6 -1
- package/dist/locale/types.d.ts +5 -0
- package/dist/styles/feedback/skeleton.css +46 -0
- package/dist/styles/tailwind.css +46 -0
- package/dist/styles/templates/form-drawer.css +6 -0
- package/dist/styles/templates.css +1 -0
- package/package.json +3 -2
|
@@ -0,0 +1,297 @@
|
|
|
1
|
+
import type { FormSchema, UseFormReturn } from '../../composables/useForm';
|
|
2
|
+
import type { TabItem } from '../layout/types';
|
|
3
|
+
import type { DialogBeforeClose, DrawerSide, DrawerSize } from '../overlays/types';
|
|
4
|
+
declare const __VLS_export: <S extends FormSchema, V extends object>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
5
|
+
props: import("vue").PublicProps & __VLS_PrettifyLocal<({
|
|
6
|
+
title?: string;
|
|
7
|
+
description?: string;
|
|
8
|
+
label?: string;
|
|
9
|
+
side?: DrawerSide;
|
|
10
|
+
size?: DrawerSize;
|
|
11
|
+
tabs?: TabItem[];
|
|
12
|
+
trail?: string[];
|
|
13
|
+
backLabel?: string;
|
|
14
|
+
form?: UseFormReturn<S, V>;
|
|
15
|
+
loading?: boolean;
|
|
16
|
+
readonly?: boolean;
|
|
17
|
+
creating?: boolean;
|
|
18
|
+
requireDirty?: boolean;
|
|
19
|
+
deletable?: boolean;
|
|
20
|
+
deleteDisabled?: boolean;
|
|
21
|
+
deleteHint?: string;
|
|
22
|
+
submitLabel?: string;
|
|
23
|
+
cancelLabel?: string;
|
|
24
|
+
deleteLabel?: string;
|
|
25
|
+
guard?: boolean;
|
|
26
|
+
guardTitle?: string;
|
|
27
|
+
guardMessage?: string;
|
|
28
|
+
beforeClose?: DialogBeforeClose;
|
|
29
|
+
onCancel?: () => unknown;
|
|
30
|
+
} & {
|
|
31
|
+
open?: boolean;
|
|
32
|
+
tab?: TabItem["value"];
|
|
33
|
+
}) & {
|
|
34
|
+
onDelete?: (() => any) | undefined;
|
|
35
|
+
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
36
|
+
onNavigate?: ((index: number) => any) | undefined;
|
|
37
|
+
onAfterLeave?: (() => any) | undefined;
|
|
38
|
+
"onUpdate:tab"?: ((value: string | number | undefined) => any) | undefined;
|
|
39
|
+
} & Partial<NonNullable<{
|
|
40
|
+
readonly title?: string | undefined | undefined;
|
|
41
|
+
readonly description?: string | undefined;
|
|
42
|
+
readonly label?: string | undefined;
|
|
43
|
+
readonly side?: DrawerSide | undefined;
|
|
44
|
+
readonly size?: DrawerSize | undefined;
|
|
45
|
+
readonly dismissible?: boolean | undefined;
|
|
46
|
+
readonly hideClose?: boolean | undefined;
|
|
47
|
+
readonly closeLabel?: string | undefined;
|
|
48
|
+
readonly flush?: boolean | undefined;
|
|
49
|
+
readonly loading?: boolean | undefined;
|
|
50
|
+
readonly beforeClose?: DialogBeforeClose | undefined;
|
|
51
|
+
readonly tabs?: TabItem[] | undefined;
|
|
52
|
+
readonly trail?: string[] | undefined;
|
|
53
|
+
readonly backLabel?: string | undefined;
|
|
54
|
+
readonly open?: boolean | undefined;
|
|
55
|
+
readonly tab?: TabItem["value"] | undefined;
|
|
56
|
+
readonly key?: PropertyKey | undefined;
|
|
57
|
+
readonly prefix?: "k-modal" | "k-drawer" | undefined;
|
|
58
|
+
readonly style?: import("vue").StyleValue;
|
|
59
|
+
readonly results?: (string | number) | undefined;
|
|
60
|
+
readonly placeholder?: string | undefined | undefined;
|
|
61
|
+
readonly dir?: string | undefined | undefined;
|
|
62
|
+
readonly contextmenu?: string | undefined | undefined;
|
|
63
|
+
readonly hidden?: "" | "hidden" | (boolean | "true" | "false") | "until-found" | undefined;
|
|
64
|
+
readonly class?: import("vue").ClassValue;
|
|
65
|
+
readonly role?: string | undefined | undefined;
|
|
66
|
+
readonly 'aria-label'?: string | undefined | undefined;
|
|
67
|
+
readonly 'aria-hidden'?: (boolean | "true" | "false") | undefined;
|
|
68
|
+
readonly onCopy?: ((payload: ClipboardEvent) => void) | undefined;
|
|
69
|
+
readonly onCut?: ((payload: ClipboardEvent) => void) | undefined;
|
|
70
|
+
readonly onPaste?: ((payload: ClipboardEvent) => void) | undefined;
|
|
71
|
+
readonly onCompositionend?: ((payload: CompositionEvent) => void) | undefined;
|
|
72
|
+
readonly onCompositionstart?: ((payload: CompositionEvent) => void) | undefined;
|
|
73
|
+
readonly onCompositionupdate?: ((payload: CompositionEvent) => void) | undefined;
|
|
74
|
+
readonly onDrag?: ((payload: DragEvent) => void) | undefined;
|
|
75
|
+
readonly onDragend?: ((payload: DragEvent) => void) | undefined;
|
|
76
|
+
readonly onDragenter?: ((payload: DragEvent) => void) | undefined;
|
|
77
|
+
readonly onDragexit?: ((payload: DragEvent) => void) | undefined;
|
|
78
|
+
readonly onDragleave?: ((payload: DragEvent) => void) | undefined;
|
|
79
|
+
readonly onDragover?: ((payload: DragEvent) => void) | undefined;
|
|
80
|
+
readonly onDragstart?: ((payload: DragEvent) => void) | undefined;
|
|
81
|
+
readonly onDrop?: ((payload: DragEvent) => void) | undefined;
|
|
82
|
+
readonly onFocus?: ((payload: FocusEvent) => void) | undefined;
|
|
83
|
+
readonly onFocusin?: ((payload: FocusEvent) => void) | undefined;
|
|
84
|
+
readonly onFocusout?: ((payload: FocusEvent) => void) | undefined;
|
|
85
|
+
readonly onBlur?: ((payload: FocusEvent) => void) | undefined;
|
|
86
|
+
readonly onChange?: ((payload: Event) => void) | undefined;
|
|
87
|
+
readonly onBeforeinput?: ((payload: InputEvent) => void) | undefined;
|
|
88
|
+
readonly onFormdata?: ((payload: FormDataEvent) => void) | undefined;
|
|
89
|
+
readonly onInput?: ((payload: InputEvent) => void) | undefined;
|
|
90
|
+
readonly onReset?: ((payload: Event) => void) | undefined;
|
|
91
|
+
readonly onSubmit?: ((payload: SubmitEvent) => void) | undefined;
|
|
92
|
+
readonly onInvalid?: ((payload: Event) => void) | undefined;
|
|
93
|
+
readonly onFullscreenchange?: ((payload: Event) => void) | undefined;
|
|
94
|
+
readonly onFullscreenerror?: ((payload: Event) => void) | undefined;
|
|
95
|
+
readonly onLoad?: ((payload: Event) => void) | undefined;
|
|
96
|
+
readonly onError?: ((payload: Event) => void) | undefined;
|
|
97
|
+
readonly onKeydown?: ((payload: KeyboardEvent) => void) | undefined;
|
|
98
|
+
readonly onKeypress?: ((payload: KeyboardEvent) => void) | undefined;
|
|
99
|
+
readonly onKeyup?: ((payload: KeyboardEvent) => void) | undefined;
|
|
100
|
+
readonly onDblclick?: ((payload: MouseEvent) => void) | undefined;
|
|
101
|
+
readonly onMousedown?: ((payload: MouseEvent) => void) | undefined;
|
|
102
|
+
readonly onMouseenter?: ((payload: MouseEvent) => void) | undefined;
|
|
103
|
+
readonly onMouseleave?: ((payload: MouseEvent) => void) | undefined;
|
|
104
|
+
readonly onMousemove?: ((payload: MouseEvent) => void) | undefined;
|
|
105
|
+
readonly onMouseout?: ((payload: MouseEvent) => void) | undefined;
|
|
106
|
+
readonly onMouseover?: ((payload: MouseEvent) => void) | undefined;
|
|
107
|
+
readonly onMouseup?: ((payload: MouseEvent) => void) | undefined;
|
|
108
|
+
readonly onAbort?: ((payload: UIEvent) => void) | undefined;
|
|
109
|
+
readonly onCanplay?: ((payload: Event) => void) | undefined;
|
|
110
|
+
readonly onCanplaythrough?: ((payload: Event) => void) | undefined;
|
|
111
|
+
readonly onDurationchange?: ((payload: Event) => void) | undefined;
|
|
112
|
+
readonly onEmptied?: ((payload: Event) => void) | undefined;
|
|
113
|
+
readonly onEncrypted?: ((payload: MediaEncryptedEvent) => void) | undefined;
|
|
114
|
+
readonly onEnded?: ((payload: Event) => void) | undefined;
|
|
115
|
+
readonly onLoadeddata?: ((payload: Event) => void) | undefined;
|
|
116
|
+
readonly onLoadedmetadata?: ((payload: Event) => void) | undefined;
|
|
117
|
+
readonly onLoadstart?: ((payload: Event) => void) | undefined;
|
|
118
|
+
readonly onPause?: ((payload: Event) => void) | undefined;
|
|
119
|
+
readonly onPlay?: ((payload: Event) => void) | undefined;
|
|
120
|
+
readonly onPlaying?: ((payload: Event) => void) | undefined;
|
|
121
|
+
readonly onProgress?: ((payload: ProgressEvent<EventTarget>) => void) | undefined;
|
|
122
|
+
readonly onRatechange?: ((payload: Event) => void) | undefined;
|
|
123
|
+
readonly onSeeked?: ((payload: Event) => void) | undefined;
|
|
124
|
+
readonly onSeeking?: ((payload: Event) => void) | undefined;
|
|
125
|
+
readonly onStalled?: ((payload: Event) => void) | undefined;
|
|
126
|
+
readonly onSuspend?: ((payload: Event) => void) | undefined;
|
|
127
|
+
readonly onTimeupdate?: ((payload: Event) => void) | undefined;
|
|
128
|
+
readonly onVolumechange?: ((payload: Event) => void) | undefined;
|
|
129
|
+
readonly onWaiting?: ((payload: Event) => void) | undefined;
|
|
130
|
+
readonly onSelect?: ((payload: Event) => void) | undefined;
|
|
131
|
+
readonly onScroll?: ((payload: Event) => void) | undefined;
|
|
132
|
+
readonly onScrollend?: ((payload: Event) => void) | undefined;
|
|
133
|
+
readonly onTouchcancel?: ((payload: TouchEvent) => void) | undefined;
|
|
134
|
+
readonly onTouchend?: ((payload: TouchEvent) => void) | undefined;
|
|
135
|
+
readonly onTouchmove?: ((payload: TouchEvent) => void) | undefined;
|
|
136
|
+
readonly onTouchstart?: ((payload: TouchEvent) => void) | undefined;
|
|
137
|
+
readonly onAuxclick?: ((payload: PointerEvent) => void) | undefined;
|
|
138
|
+
readonly onClick?: ((payload: PointerEvent) => void) | undefined;
|
|
139
|
+
readonly onContextmenu?: ((payload: PointerEvent) => void) | undefined;
|
|
140
|
+
readonly onGotpointercapture?: ((payload: PointerEvent) => void) | undefined;
|
|
141
|
+
readonly onLostpointercapture?: ((payload: PointerEvent) => void) | undefined;
|
|
142
|
+
readonly onPointerdown?: ((payload: PointerEvent) => void) | undefined;
|
|
143
|
+
readonly onPointermove?: ((payload: PointerEvent) => void) | undefined;
|
|
144
|
+
readonly onPointerup?: ((payload: PointerEvent) => void) | undefined;
|
|
145
|
+
readonly onPointercancel?: ((payload: PointerEvent) => void) | undefined;
|
|
146
|
+
readonly onPointerenter?: ((payload: PointerEvent) => void) | undefined;
|
|
147
|
+
readonly onPointerleave?: ((payload: PointerEvent) => void) | undefined;
|
|
148
|
+
readonly onPointerover?: ((payload: PointerEvent) => void) | undefined;
|
|
149
|
+
readonly onPointerout?: ((payload: PointerEvent) => void) | undefined;
|
|
150
|
+
readonly onBeforetoggle?: ((payload: ToggleEvent) => void) | undefined;
|
|
151
|
+
readonly onToggle?: ((payload: ToggleEvent) => void) | undefined;
|
|
152
|
+
readonly onWheel?: ((payload: WheelEvent) => void) | undefined;
|
|
153
|
+
readonly onAnimationcancel?: ((payload: AnimationEvent) => void) | undefined;
|
|
154
|
+
readonly onAnimationstart?: ((payload: AnimationEvent) => void) | undefined;
|
|
155
|
+
readonly onAnimationend?: ((payload: AnimationEvent) => void) | undefined;
|
|
156
|
+
readonly onAnimationiteration?: ((payload: AnimationEvent) => void) | undefined;
|
|
157
|
+
readonly onSecuritypolicyviolation?: ((payload: SecurityPolicyViolationEvent) => void) | undefined;
|
|
158
|
+
readonly onTransitioncancel?: ((payload: TransitionEvent) => void) | undefined;
|
|
159
|
+
readonly onTransitionend?: ((payload: TransitionEvent) => void) | undefined;
|
|
160
|
+
readonly onTransitionrun?: ((payload: TransitionEvent) => void) | undefined;
|
|
161
|
+
readonly onTransitionstart?: ((payload: TransitionEvent) => void) | undefined;
|
|
162
|
+
readonly innerHTML?: string | undefined | undefined;
|
|
163
|
+
readonly color?: string | undefined | undefined;
|
|
164
|
+
readonly id?: string | undefined | undefined;
|
|
165
|
+
readonly lang?: string | undefined | undefined;
|
|
166
|
+
readonly tabindex?: (string | number) | undefined;
|
|
167
|
+
readonly 'aria-activedescendant'?: string | undefined | undefined;
|
|
168
|
+
readonly 'aria-atomic'?: (boolean | "true" | "false") | undefined;
|
|
169
|
+
readonly 'aria-autocomplete'?: "none" | "inline" | "list" | "both" | undefined | undefined;
|
|
170
|
+
readonly 'aria-busy'?: (boolean | "true" | "false") | undefined;
|
|
171
|
+
readonly 'aria-checked'?: (boolean | "true" | "false") | "mixed" | undefined;
|
|
172
|
+
readonly 'aria-colcount'?: (string | number) | undefined;
|
|
173
|
+
readonly 'aria-colindex'?: (string | number) | undefined;
|
|
174
|
+
readonly 'aria-colspan'?: (string | number) | undefined;
|
|
175
|
+
readonly 'aria-controls'?: string | undefined | undefined;
|
|
176
|
+
readonly 'aria-current'?: "page" | "time" | (boolean | "true" | "false") | "step" | "location" | "date" | undefined;
|
|
177
|
+
readonly 'aria-describedby'?: string | undefined | undefined;
|
|
178
|
+
readonly 'aria-details'?: string | undefined | undefined;
|
|
179
|
+
readonly 'aria-disabled'?: (boolean | "true" | "false") | undefined;
|
|
180
|
+
readonly 'aria-dropeffect'?: "none" | "copy" | "execute" | "link" | "move" | "popup" | undefined | undefined;
|
|
181
|
+
readonly 'aria-errormessage'?: string | undefined | undefined;
|
|
182
|
+
readonly 'aria-expanded'?: (boolean | "true" | "false") | undefined;
|
|
183
|
+
readonly 'aria-flowto'?: string | undefined | undefined;
|
|
184
|
+
readonly 'aria-grabbed'?: (boolean | "true" | "false") | undefined;
|
|
185
|
+
readonly 'aria-haspopup'?: "grid" | "tree" | "dialog" | "menu" | (boolean | "true" | "false") | "listbox" | undefined;
|
|
186
|
+
readonly 'aria-invalid'?: (boolean | "true" | "false") | "grammar" | "spelling" | undefined;
|
|
187
|
+
readonly 'aria-keyshortcuts'?: string | undefined | undefined;
|
|
188
|
+
readonly 'aria-labelledby'?: string | undefined | undefined;
|
|
189
|
+
readonly 'aria-level'?: (string | number) | undefined;
|
|
190
|
+
readonly 'aria-live'?: "off" | "assertive" | "polite" | undefined | undefined;
|
|
191
|
+
readonly 'aria-modal'?: (boolean | "true" | "false") | undefined;
|
|
192
|
+
readonly 'aria-multiline'?: (boolean | "true" | "false") | undefined;
|
|
193
|
+
readonly 'aria-multiselectable'?: (boolean | "true" | "false") | undefined;
|
|
194
|
+
readonly 'aria-orientation'?: "horizontal" | "vertical" | undefined | undefined;
|
|
195
|
+
readonly 'aria-owns'?: string | undefined | undefined;
|
|
196
|
+
readonly 'aria-placeholder'?: string | undefined | undefined;
|
|
197
|
+
readonly 'aria-posinset'?: (string | number) | undefined;
|
|
198
|
+
readonly 'aria-pressed'?: (boolean | "true" | "false") | "mixed" | undefined;
|
|
199
|
+
readonly 'aria-readonly'?: (boolean | "true" | "false") | undefined;
|
|
200
|
+
readonly 'aria-relevant'?: "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals" | undefined | undefined;
|
|
201
|
+
readonly 'aria-required'?: (boolean | "true" | "false") | undefined;
|
|
202
|
+
readonly 'aria-roledescription'?: string | undefined | undefined;
|
|
203
|
+
readonly 'aria-rowcount'?: (string | number) | undefined;
|
|
204
|
+
readonly 'aria-rowindex'?: (string | number) | undefined;
|
|
205
|
+
readonly 'aria-rowspan'?: (string | number) | undefined;
|
|
206
|
+
readonly 'aria-selected'?: (boolean | "true" | "false") | undefined;
|
|
207
|
+
readonly 'aria-setsize'?: (string | number) | undefined;
|
|
208
|
+
readonly 'aria-sort'?: "none" | "ascending" | "descending" | "other" | undefined | undefined;
|
|
209
|
+
readonly 'aria-valuemax'?: (string | number) | undefined;
|
|
210
|
+
readonly 'aria-valuemin'?: (string | number) | undefined;
|
|
211
|
+
readonly 'aria-valuenow'?: (string | number) | undefined;
|
|
212
|
+
readonly 'aria-valuetext'?: string | undefined | undefined;
|
|
213
|
+
readonly ref?: import("vue").VNodeRef | undefined;
|
|
214
|
+
readonly ref_for?: boolean | undefined | undefined;
|
|
215
|
+
readonly ref_key?: string | undefined | undefined;
|
|
216
|
+
readonly accesskey?: string | undefined | undefined;
|
|
217
|
+
readonly contenteditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
|
|
218
|
+
readonly draggable?: (boolean | "true" | "false") | undefined;
|
|
219
|
+
readonly enterkeyhint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined | undefined;
|
|
220
|
+
readonly enterKeyHint?: "search" | "done" | "previous" | "next" | "enter" | "go" | "send" | undefined;
|
|
221
|
+
readonly inert?: (boolean | "true" | "false") | undefined;
|
|
222
|
+
readonly spellcheck?: (boolean | "true" | "false") | undefined;
|
|
223
|
+
readonly translate?: "yes" | "no" | undefined | undefined;
|
|
224
|
+
readonly radiogroup?: string | undefined | undefined;
|
|
225
|
+
readonly about?: string | undefined | undefined;
|
|
226
|
+
readonly datatype?: string | undefined | undefined;
|
|
227
|
+
readonly inlist?: any;
|
|
228
|
+
readonly property?: string | undefined | undefined;
|
|
229
|
+
readonly resource?: string | undefined | undefined;
|
|
230
|
+
readonly typeof?: string | undefined | undefined;
|
|
231
|
+
readonly vocab?: string | undefined | undefined;
|
|
232
|
+
readonly autocapitalize?: string | undefined | undefined;
|
|
233
|
+
readonly autocorrect?: string | undefined | undefined;
|
|
234
|
+
readonly autosave?: string | undefined | undefined;
|
|
235
|
+
readonly itemprop?: string | undefined | undefined;
|
|
236
|
+
readonly itemscope?: (boolean | "true" | "false") | undefined;
|
|
237
|
+
readonly itemtype?: string | undefined | undefined;
|
|
238
|
+
readonly itemid?: string | undefined | undefined;
|
|
239
|
+
readonly itemref?: string | undefined | undefined;
|
|
240
|
+
readonly security?: string | undefined | undefined;
|
|
241
|
+
readonly unselectable?: "on" | "off" | undefined | undefined;
|
|
242
|
+
readonly inputmode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined | undefined;
|
|
243
|
+
readonly is?: string | undefined | undefined;
|
|
244
|
+
readonly exportparts?: string | undefined;
|
|
245
|
+
readonly part?: string | undefined;
|
|
246
|
+
readonly popover?: (import("../../index.ts").PopoverMode | "" | boolean) | undefined;
|
|
247
|
+
readonly onVnodeBeforeMount?: (((vnode: import("vue").VNode) => void) | ((vnode: import("vue").VNode) => void)[]) | undefined;
|
|
248
|
+
readonly onVnodeMounted?: (((vnode: import("vue").VNode) => void) | ((vnode: import("vue").VNode) => void)[]) | undefined;
|
|
249
|
+
readonly onVnodeBeforeUpdate?: (((vnode: import("vue").VNode, oldVNode: import("vue").VNode) => void) | ((vnode: import("vue").VNode, oldVNode: import("vue").VNode) => void)[]) | undefined;
|
|
250
|
+
readonly onVnodeUpdated?: (((vnode: import("vue").VNode, oldVNode: import("vue").VNode) => void) | ((vnode: import("vue").VNode, oldVNode: import("vue").VNode) => void)[]) | undefined;
|
|
251
|
+
readonly onVnodeBeforeUnmount?: (((vnode: import("vue").VNode) => void) | ((vnode: import("vue").VNode) => void)[]) | undefined;
|
|
252
|
+
readonly onVnodeUnmounted?: (((vnode: import("vue").VNode) => void) | ((vnode: import("vue").VNode) => void)[]) | undefined;
|
|
253
|
+
readonly onCancel?: ((payload: Event) => void) | undefined;
|
|
254
|
+
readonly rootClass?: unknown;
|
|
255
|
+
readonly closedby?: import("../../index.ts").DialogClosedBy | undefined;
|
|
256
|
+
readonly onClose?: (() => any) | undefined;
|
|
257
|
+
readonly onOpen?: (() => any) | undefined;
|
|
258
|
+
readonly "onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
259
|
+
readonly onNavigate?: ((index: number) => any) | undefined;
|
|
260
|
+
readonly onAfterLeave?: (() => any) | undefined;
|
|
261
|
+
readonly "onUpdate:tab"?: ((value: string | number | undefined) => any) | undefined;
|
|
262
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps>>> & (typeof globalThis extends {
|
|
263
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
264
|
+
} ? P : {});
|
|
265
|
+
expose: (exposed: import("vue").ShallowUnwrapRef<{
|
|
266
|
+
confirmDiscard: () => Promise<boolean>;
|
|
267
|
+
close: () => Promise<boolean>;
|
|
268
|
+
}>) => void;
|
|
269
|
+
attrs: any;
|
|
270
|
+
slots: {
|
|
271
|
+
'title-trailing'?: (props: {}) => any;
|
|
272
|
+
} & {
|
|
273
|
+
actions?: (props: {}) => any;
|
|
274
|
+
} & {
|
|
275
|
+
skeleton?: (props: {}) => any;
|
|
276
|
+
} & {
|
|
277
|
+
default?: (props: {
|
|
278
|
+
tab: string | number | undefined;
|
|
279
|
+
}) => any;
|
|
280
|
+
} & {
|
|
281
|
+
default?: (props: {
|
|
282
|
+
tab: string | number | undefined;
|
|
283
|
+
}) => any;
|
|
284
|
+
} & {
|
|
285
|
+
footer?: (props: {}) => any;
|
|
286
|
+
};
|
|
287
|
+
emit: (((evt: "delete") => void) & ((evt: "navigate", index: number) => void) & ((evt: "afterLeave") => void)) & (((event: "update:open", value: boolean) => void) & ((event: "update:tab", value: string | number | undefined) => void));
|
|
288
|
+
}>) => import("vue").VNode & {
|
|
289
|
+
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
290
|
+
};
|
|
291
|
+
declare const _default: typeof __VLS_export;
|
|
292
|
+
export default _default;
|
|
293
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
294
|
+
[K in keyof T]: T[K];
|
|
295
|
+
} : {
|
|
296
|
+
[K in keyof T as K]: T[K];
|
|
297
|
+
}) & {};
|
|
@@ -7,6 +7,7 @@ export { default as DashboardPage } from './DashboardPage.vue';
|
|
|
7
7
|
export { default as DetailPage } from './DetailPage.vue';
|
|
8
8
|
export { default as EmptyPage } from './EmptyPage.vue';
|
|
9
9
|
export { default as ErrorPage } from './ErrorPage.vue';
|
|
10
|
+
export { default as FormDrawer } from './FormDrawer.vue';
|
|
10
11
|
export { default as FormPage } from './FormPage.vue';
|
|
11
12
|
export { default as ListPage } from './ListPage.vue';
|
|
12
13
|
export { default as NotFoundPage } from './NotFoundPage.vue';
|
|
@@ -7,6 +7,7 @@ export { default as DashboardPage } from "./DashboardPage.vue";
|
|
|
7
7
|
export { default as DetailPage } from "./DetailPage.vue";
|
|
8
8
|
export { default as EmptyPage } from "./EmptyPage.vue";
|
|
9
9
|
export { default as ErrorPage } from "./ErrorPage.vue";
|
|
10
|
+
export { default as FormDrawer } from "./FormDrawer.vue";
|
|
10
11
|
export { default as FormPage } from "./FormPage.vue";
|
|
11
12
|
export { default as ListPage } from "./ListPage.vue";
|
|
12
13
|
export { default as NotFoundPage } from "./NotFoundPage.vue";
|
package/dist/locale/de.mjs
CHANGED
|
@@ -28,7 +28,9 @@ export const de = {
|
|
|
28
28
|
opensInNewTab: "(\xF6ffnet in einem neuen Tab)",
|
|
29
29
|
copyFailed: "Kopieren fehlgeschlagen",
|
|
30
30
|
readonly: "Schreibgesch\xFCtzt",
|
|
31
|
-
empty: "Leer"
|
|
31
|
+
empty: "Leer",
|
|
32
|
+
create: "Erstellen",
|
|
33
|
+
delete: "L\xF6schen"
|
|
32
34
|
},
|
|
33
35
|
form: {
|
|
34
36
|
required: "Dieses Feld ist erforderlich",
|
|
@@ -211,6 +213,9 @@ export const de = {
|
|
|
211
213
|
confirm: "\xC4nderungen verwerfen",
|
|
212
214
|
cancel: "Weiter bearbeiten"
|
|
213
215
|
},
|
|
216
|
+
formDrawer: {
|
|
217
|
+
discardDescription: "Die \xC4nderungen an diesem Element gehen verloren."
|
|
218
|
+
},
|
|
214
219
|
emptyPage: {
|
|
215
220
|
title: "Willkommen",
|
|
216
221
|
steps: "Erste Schritte",
|
package/dist/locale/en.mjs
CHANGED
|
@@ -28,7 +28,9 @@ export const en = {
|
|
|
28
28
|
opensInNewTab: "(opens in a new tab)",
|
|
29
29
|
copyFailed: "Could not copy",
|
|
30
30
|
readonly: "Read only",
|
|
31
|
-
empty: "Empty"
|
|
31
|
+
empty: "Empty",
|
|
32
|
+
create: "Create",
|
|
33
|
+
delete: "Delete"
|
|
32
34
|
},
|
|
33
35
|
form: {
|
|
34
36
|
required: "This field is required",
|
|
@@ -211,6 +213,9 @@ export const en = {
|
|
|
211
213
|
confirm: "Discard changes",
|
|
212
214
|
cancel: "Keep editing"
|
|
213
215
|
},
|
|
216
|
+
formDrawer: {
|
|
217
|
+
discardDescription: "The changes to this item will be lost."
|
|
218
|
+
},
|
|
214
219
|
emptyPage: {
|
|
215
220
|
title: "Welcome aboard",
|
|
216
221
|
steps: "Getting started",
|
package/dist/locale/it.mjs
CHANGED
|
@@ -28,7 +28,9 @@ export const it = {
|
|
|
28
28
|
opensInNewTab: "(si apre in una nuova scheda)",
|
|
29
29
|
copyFailed: "Impossibile copiare",
|
|
30
30
|
readonly: "Sola lettura",
|
|
31
|
-
empty: "Vuoto"
|
|
31
|
+
empty: "Vuoto",
|
|
32
|
+
create: "Crea",
|
|
33
|
+
delete: "Elimina"
|
|
32
34
|
},
|
|
33
35
|
form: {
|
|
34
36
|
required: "Campo obbligatorio",
|
|
@@ -211,6 +213,9 @@ export const it = {
|
|
|
211
213
|
confirm: "Scarta modifiche",
|
|
212
214
|
cancel: "Continua a modificare"
|
|
213
215
|
},
|
|
216
|
+
formDrawer: {
|
|
217
|
+
discardDescription: "Le modifiche a questo elemento andranno perse."
|
|
218
|
+
},
|
|
214
219
|
emptyPage: {
|
|
215
220
|
title: "Benvenuto a bordo",
|
|
216
221
|
steps: "Per iniziare",
|
package/dist/locale/types.d.ts
CHANGED
|
@@ -27,6 +27,8 @@ export interface KMessages {
|
|
|
27
27
|
copyFailed: string;
|
|
28
28
|
readonly: string;
|
|
29
29
|
empty: string;
|
|
30
|
+
create: string;
|
|
31
|
+
delete: string;
|
|
30
32
|
};
|
|
31
33
|
form: {
|
|
32
34
|
required: string;
|
|
@@ -209,6 +211,9 @@ export interface KMessages {
|
|
|
209
211
|
confirm: string;
|
|
210
212
|
cancel: string;
|
|
211
213
|
};
|
|
214
|
+
formDrawer: {
|
|
215
|
+
discardDescription: string;
|
|
216
|
+
};
|
|
212
217
|
emptyPage: {
|
|
213
218
|
title: string;
|
|
214
219
|
steps: string;
|
|
@@ -66,3 +66,49 @@
|
|
|
66
66
|
display: none;
|
|
67
67
|
}
|
|
68
68
|
}
|
|
69
|
+
|
|
70
|
+
.k-skeleton-form {
|
|
71
|
+
display: grid;
|
|
72
|
+
grid-template-columns: repeat(var(--k-skeleton-form-columns, 1), minmax(0, 1fr));
|
|
73
|
+
gap: 1rem;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.k-skeleton-form-field {
|
|
77
|
+
display: flex;
|
|
78
|
+
flex-direction: column;
|
|
79
|
+
gap: 0.5rem;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.k-skeleton-form-control.k-skeleton-rect {
|
|
83
|
+
height: var(--k-size-md);
|
|
84
|
+
border-radius: var(--k-radius-md);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.k-skeleton-list {
|
|
88
|
+
display: flex;
|
|
89
|
+
flex-direction: column;
|
|
90
|
+
gap: 1rem;
|
|
91
|
+
margin: 0;
|
|
92
|
+
padding: 0;
|
|
93
|
+
list-style: none;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.k-skeleton-list-row {
|
|
97
|
+
display: flex;
|
|
98
|
+
align-items: center;
|
|
99
|
+
gap: 0.75rem;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.k-skeleton-list-text {
|
|
103
|
+
display: flex;
|
|
104
|
+
flex: 1;
|
|
105
|
+
flex-direction: column;
|
|
106
|
+
gap: 0.375rem;
|
|
107
|
+
min-width: 0;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
@media (max-width: 640px) {
|
|
111
|
+
.k-skeleton-form {
|
|
112
|
+
grid-template-columns: minmax(0, 1fr);
|
|
113
|
+
}
|
|
114
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
@theme inline {
|
|
2
|
+
--color-canvas: var(--k-canvas);
|
|
3
|
+
--color-surface: var(--k-surface);
|
|
4
|
+
--color-elevated: var(--k-elevated);
|
|
5
|
+
--color-subtle: var(--k-subtle);
|
|
6
|
+
--color-fill: var(--k-fill);
|
|
7
|
+
--color-hover: var(--k-hover);
|
|
8
|
+
--color-press: var(--k-press);
|
|
9
|
+
--color-field: var(--k-field);
|
|
10
|
+
--color-field-line: var(--k-field-line);
|
|
11
|
+
--color-line: var(--k-line);
|
|
12
|
+
--color-line-strong: var(--k-line-strong);
|
|
13
|
+
--color-text: var(--k-text);
|
|
14
|
+
--color-text-toned: var(--k-text-toned);
|
|
15
|
+
--color-text-muted: var(--k-text-muted);
|
|
16
|
+
--color-text-dimmed: var(--k-text-dimmed);
|
|
17
|
+
--color-text-inverted: var(--k-text-inverted);
|
|
18
|
+
--color-accent: var(--k-accent);
|
|
19
|
+
--color-accent-hover: var(--k-accent-hover);
|
|
20
|
+
--color-accent-soft: var(--k-accent-soft);
|
|
21
|
+
--color-accent-line: var(--k-accent-line);
|
|
22
|
+
--color-accent-text: var(--k-accent-text);
|
|
23
|
+
--color-accent-contrast: var(--k-accent-contrast);
|
|
24
|
+
--color-success: var(--k-success);
|
|
25
|
+
--color-success-text: var(--k-success-text);
|
|
26
|
+
--color-warning: var(--k-warning);
|
|
27
|
+
--color-warning-text: var(--k-warning-text);
|
|
28
|
+
--color-danger: var(--k-danger);
|
|
29
|
+
--color-danger-text: var(--k-danger-text);
|
|
30
|
+
--color-info: var(--k-info);
|
|
31
|
+
--color-info-text: var(--k-info-text);
|
|
32
|
+
--color-ring: var(--k-ring);
|
|
33
|
+
--color-highlight: var(--k-highlight);
|
|
34
|
+
--color-selection: var(--k-selection);
|
|
35
|
+
--radius-xs: var(--k-radius-xs);
|
|
36
|
+
--radius-sm: var(--k-radius-sm);
|
|
37
|
+
--radius-md: var(--k-radius-md);
|
|
38
|
+
--radius-lg: var(--k-radius-lg);
|
|
39
|
+
--radius-xl: var(--k-radius-xl);
|
|
40
|
+
--shadow-xs: var(--k-shadow-xs);
|
|
41
|
+
--shadow-sm: var(--k-shadow-sm);
|
|
42
|
+
--shadow-raised: var(--k-shadow-raised);
|
|
43
|
+
--shadow-overlay: var(--k-shadow-overlay);
|
|
44
|
+
--font-sans: var(--k-font-sans);
|
|
45
|
+
--font-mono: var(--k-font-mono);
|
|
46
|
+
}
|
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
@import './templates/detail-page.css';
|
|
8
8
|
@import './templates/settings-page.css';
|
|
9
9
|
@import './templates/form-page.css';
|
|
10
|
+
@import './templates/form-drawer.css';
|
|
10
11
|
@import './templates/dashboard-page.css';
|
|
11
12
|
@import './templates/save-bar.css';
|
|
12
13
|
@import './templates/error-page.css';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xleddyl/443-components-vue",
|
|
3
|
-
"version": "0.16.
|
|
3
|
+
"version": "0.16.11",
|
|
4
4
|
"description": "Compact, scoped dashboard components for Vue and Nuxt",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Edoardo Alberti (https://github.com/xleddyl)",
|
|
@@ -41,7 +41,8 @@
|
|
|
41
41
|
},
|
|
42
42
|
"./grid/style.css": "./dist/grid/style.css",
|
|
43
43
|
"./editor/style.css": "./dist/editor/style.css",
|
|
44
|
-
"./chart/style.css": "./dist/chart/style.css"
|
|
44
|
+
"./chart/style.css": "./dist/chart/style.css",
|
|
45
|
+
"./tailwind.css": "./dist/styles/tailwind.css"
|
|
45
46
|
},
|
|
46
47
|
"publishConfig": {
|
|
47
48
|
"access": "public"
|