@stachelock/ui 0.1.0
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/README.md +304 -0
- package/dist/CheckboxInput-rWkcde69.js +5 -0
- package/dist/CheckboxInput-rWkcde69.js.map +1 -0
- package/dist/ComboboxInput-B98P_8CZ.js +5 -0
- package/dist/ComboboxInput-B98P_8CZ.js.map +1 -0
- package/dist/SelectInput-B5liNv7H.js +5 -0
- package/dist/SelectInput-B5liNv7H.js.map +1 -0
- package/dist/SwitchInput-D1k9O8gn.js +5 -0
- package/dist/SwitchInput-D1k9O8gn.js.map +1 -0
- package/dist/TextAreaInput-Di6Kstic.js +5 -0
- package/dist/TextAreaInput-Di6Kstic.js.map +1 -0
- package/dist/UiLoading-BuzCrLqO.js +5 -0
- package/dist/UiLoading-BuzCrLqO.js.map +1 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +4763 -0
- package/dist/index.js.map +1 -0
- package/dist/index.umd.cjs +11 -0
- package/dist/index.umd.cjs.map +1 -0
- package/dist/src/components/UiAvatar.d.ts +57 -0
- package/dist/src/components/UiAvatar.d.ts.map +1 -0
- package/dist/src/components/UiBadge.d.ts +44 -0
- package/dist/src/components/UiBadge.d.ts.map +1 -0
- package/dist/src/components/UiBreadcrumb.d.ts +3 -0
- package/dist/src/components/UiBreadcrumb.d.ts.map +1 -0
- package/dist/src/components/UiButton.d.ts +119 -0
- package/dist/src/components/UiButton.d.ts.map +1 -0
- package/dist/src/components/UiLoading.d.ts +36 -0
- package/dist/src/components/UiLoading.d.ts.map +1 -0
- package/dist/src/components/UiLoadingDots.d.ts +53 -0
- package/dist/src/components/UiLoadingDots.d.ts.map +1 -0
- package/dist/src/components/UiModal.d.ts +102 -0
- package/dist/src/components/UiModal.d.ts.map +1 -0
- package/dist/src/components/UiNavLink.d.ts +73 -0
- package/dist/src/components/UiNavLink.d.ts.map +1 -0
- package/dist/src/components/UiProgressBar.d.ts +35 -0
- package/dist/src/components/UiProgressBar.d.ts.map +1 -0
- package/dist/src/components/UiRadialProgressBar.d.ts +43 -0
- package/dist/src/components/UiRadialProgressBar.d.ts.map +1 -0
- package/dist/src/components/UiTable.d.ts +94 -0
- package/dist/src/components/UiTable.d.ts.map +1 -0
- package/dist/src/components/UiTextInput.d.ts +108 -0
- package/dist/src/components/UiTextInput.d.ts.map +1 -0
- package/dist/src/components/UiTransition.d.ts +41 -0
- package/dist/src/components/UiTransition.d.ts.map +1 -0
- package/dist/src/components/calendars/CalendarDashboard.d.ts +32 -0
- package/dist/src/components/calendars/CalendarDashboard.d.ts.map +1 -0
- package/dist/src/components/calendars/CalendarHeader.d.ts +26 -0
- package/dist/src/components/calendars/CalendarHeader.d.ts.map +1 -0
- package/dist/src/components/calendars/DayCalendar.d.ts +24 -0
- package/dist/src/components/calendars/DayCalendar.d.ts.map +1 -0
- package/dist/src/components/calendars/EventCard.d.ts +19 -0
- package/dist/src/components/calendars/EventCard.d.ts.map +1 -0
- package/dist/src/components/calendars/EventsList.d.ts +24 -0
- package/dist/src/components/calendars/EventsList.d.ts.map +1 -0
- package/dist/src/components/calendars/MonthCalendar.d.ts +36 -0
- package/dist/src/components/calendars/MonthCalendar.d.ts.map +1 -0
- package/dist/src/components/calendars/WeekCalendar.d.ts +24 -0
- package/dist/src/components/calendars/WeekCalendar.d.ts.map +1 -0
- package/dist/src/components/calendars/YearCalendar.d.ts +18 -0
- package/dist/src/components/calendars/YearCalendar.d.ts.map +1 -0
- package/dist/src/components/calendars/index.d.ts +9 -0
- package/dist/src/components/calendars/index.d.ts.map +1 -0
- package/dist/src/components/forms/DynamicForm.d.ts +70 -0
- package/dist/src/components/forms/DynamicForm.d.ts.map +1 -0
- package/dist/src/components/forms/DynamicFormField.d.ts +25 -0
- package/dist/src/components/forms/DynamicFormField.d.ts.map +1 -0
- package/dist/src/components/forms/FormFieldWrapper.d.ts +108 -0
- package/dist/src/components/forms/FormFieldWrapper.d.ts.map +1 -0
- package/dist/src/components/forms/index.d.ts +4 -0
- package/dist/src/components/forms/index.d.ts.map +1 -0
- package/dist/src/components/index.d.ts +18 -0
- package/dist/src/components/index.d.ts.map +1 -0
- package/dist/src/components/inputs/CheckboxInput.d.ts +68 -0
- package/dist/src/components/inputs/CheckboxInput.d.ts.map +1 -0
- package/dist/src/components/inputs/ComboboxInput.d.ts +76 -0
- package/dist/src/components/inputs/ComboboxInput.d.ts.map +1 -0
- package/dist/src/components/inputs/InputsShowcase.d.ts +3 -0
- package/dist/src/components/inputs/InputsShowcase.d.ts.map +1 -0
- package/dist/src/components/inputs/SelectInput.d.ts +67 -0
- package/dist/src/components/inputs/SelectInput.d.ts.map +1 -0
- package/dist/src/components/inputs/SwitchInput.d.ts +80 -0
- package/dist/src/components/inputs/SwitchInput.d.ts.map +1 -0
- package/dist/src/components/inputs/TagifyInput.d.ts +183 -0
- package/dist/src/components/inputs/TagifyInput.d.ts.map +1 -0
- package/dist/src/components/inputs/TextAreaInput.d.ts +68 -0
- package/dist/src/components/inputs/TextAreaInput.d.ts.map +1 -0
- package/dist/src/components/inputs/index.d.ts +8 -0
- package/dist/src/components/inputs/index.d.ts.map +1 -0
- package/dist/src/components/layouts/DashboardLayout.d.ts +33 -0
- package/dist/src/components/layouts/DashboardLayout.d.ts.map +1 -0
- package/dist/src/components/layouts/DefaultLayout.d.ts +58 -0
- package/dist/src/components/layouts/DefaultLayout.d.ts.map +1 -0
- package/dist/src/components/layouts/HeaderLayout.d.ts +15 -0
- package/dist/src/components/layouts/HeaderLayout.d.ts.map +1 -0
- package/dist/src/components/layouts/NavigationGroup.d.ts +25 -0
- package/dist/src/components/layouts/NavigationGroup.d.ts.map +1 -0
- package/dist/src/components/layouts/NavigationItem.d.ts +30 -0
- package/dist/src/components/layouts/NavigationItem.d.ts.map +1 -0
- package/dist/src/components/layouts/SidebarLayout.d.ts +27 -0
- package/dist/src/components/layouts/SidebarLayout.d.ts.map +1 -0
- package/dist/src/components/layouts/index.d.ts +7 -0
- package/dist/src/components/layouts/index.d.ts.map +1 -0
- package/dist/src/composables/index.d.ts +4 -0
- package/dist/src/composables/index.d.ts.map +1 -0
- package/dist/src/composables/useCalendar.d.ts +146 -0
- package/dist/src/composables/useCalendar.d.ts.map +1 -0
- package/dist/src/composables/useFormValidation.d.ts +52 -0
- package/dist/src/composables/useFormValidation.d.ts.map +1 -0
- package/dist/src/composables/useModal.d.ts +36 -0
- package/dist/src/composables/useModal.d.ts.map +1 -0
- package/dist/src/dev.d.ts +2 -0
- package/dist/src/dev.d.ts.map +1 -0
- package/dist/src/index.d.ts +11 -0
- package/dist/src/index.d.ts.map +1 -0
- package/dist/src/plugin.d.ts +21 -0
- package/dist/src/plugin.d.ts.map +1 -0
- package/dist/src/types/avatars.d.ts +10 -0
- package/dist/src/types/avatars.d.ts.map +1 -0
- package/dist/src/types/badges.d.ts +10 -0
- package/dist/src/types/badges.d.ts.map +1 -0
- package/dist/src/types/calendars.d.ts +28 -0
- package/dist/src/types/calendars.d.ts.map +1 -0
- package/dist/src/types/form.d.ts +86 -0
- package/dist/src/types/form.d.ts.map +1 -0
- package/dist/src/types/forms.d.ts +17 -0
- package/dist/src/types/forms.d.ts.map +1 -0
- package/dist/src/types/index.d.ts +13 -0
- package/dist/src/types/index.d.ts.map +1 -0
- package/dist/src/types/inputs.d.ts +22 -0
- package/dist/src/types/inputs.d.ts.map +1 -0
- package/dist/src/types/layouts.d.ts +41 -0
- package/dist/src/types/layouts.d.ts.map +1 -0
- package/dist/src/types/loading.d.ts +11 -0
- package/dist/src/types/loading.d.ts.map +1 -0
- package/dist/src/types/navigation.d.ts +18 -0
- package/dist/src/types/navigation.d.ts.map +1 -0
- package/dist/src/types/tables.d.ts +24 -0
- package/dist/src/types/tables.d.ts.map +1 -0
- package/dist/src/types/transitions.d.ts +16 -0
- package/dist/src/types/transitions.d.ts.map +1 -0
- package/dist/src/types/ui.d.ts +353 -0
- package/dist/src/types/ui.d.ts.map +1 -0
- package/dist/src/utils/calendar.d.ts +50 -0
- package/dist/src/utils/calendar.d.ts.map +1 -0
- package/dist/src/utils/component-registry.d.ts +48 -0
- package/dist/src/utils/component-registry.d.ts.map +1 -0
- package/dist/src/utils/id.d.ts +13 -0
- package/dist/src/utils/id.d.ts.map +1 -0
- package/dist/src/utils/index.d.ts +4 -0
- package/dist/src/utils/index.d.ts.map +1 -0
- package/dist/style.css +1 -0
- package/package.json +143 -0
- package/tailwind.config.js +110 -0
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
interface FormFieldWrapperProps {
|
|
2
|
+
id: string;
|
|
3
|
+
name: string;
|
|
4
|
+
label?: string;
|
|
5
|
+
tertiaryLabel?: string;
|
|
6
|
+
errorMessage?: string | null;
|
|
7
|
+
successMessage?: string;
|
|
8
|
+
isValid?: boolean;
|
|
9
|
+
isTouched?: boolean;
|
|
10
|
+
showErrors?: boolean;
|
|
11
|
+
showValidCheck?: boolean;
|
|
12
|
+
colorfulValidation?: boolean;
|
|
13
|
+
disabled?: boolean;
|
|
14
|
+
disabledMessage?: string;
|
|
15
|
+
optional?: boolean;
|
|
16
|
+
boxShadow?: boolean;
|
|
17
|
+
formTracking?: boolean;
|
|
18
|
+
isFocused?: boolean;
|
|
19
|
+
isHovered?: boolean;
|
|
20
|
+
externalErrors?: Record<string, unknown> | null;
|
|
21
|
+
}
|
|
22
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<FormFieldWrapperProps>, {
|
|
23
|
+
label: string;
|
|
24
|
+
tertiaryLabel: string;
|
|
25
|
+
errorMessage: null;
|
|
26
|
+
successMessage: string;
|
|
27
|
+
isValid: boolean;
|
|
28
|
+
isTouched: boolean;
|
|
29
|
+
showErrors: boolean;
|
|
30
|
+
showValidCheck: boolean;
|
|
31
|
+
colorfulValidation: boolean;
|
|
32
|
+
disabled: boolean;
|
|
33
|
+
disabledMessage: string;
|
|
34
|
+
optional: boolean;
|
|
35
|
+
boxShadow: boolean;
|
|
36
|
+
formTracking: boolean;
|
|
37
|
+
isFocused: boolean;
|
|
38
|
+
isHovered: boolean;
|
|
39
|
+
externalErrors: null;
|
|
40
|
+
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<FormFieldWrapperProps>, {
|
|
41
|
+
label: string;
|
|
42
|
+
tertiaryLabel: string;
|
|
43
|
+
errorMessage: null;
|
|
44
|
+
successMessage: string;
|
|
45
|
+
isValid: boolean;
|
|
46
|
+
isTouched: boolean;
|
|
47
|
+
showErrors: boolean;
|
|
48
|
+
showValidCheck: boolean;
|
|
49
|
+
colorfulValidation: boolean;
|
|
50
|
+
disabled: boolean;
|
|
51
|
+
disabledMessage: string;
|
|
52
|
+
optional: boolean;
|
|
53
|
+
boxShadow: boolean;
|
|
54
|
+
formTracking: boolean;
|
|
55
|
+
isFocused: boolean;
|
|
56
|
+
isHovered: boolean;
|
|
57
|
+
externalErrors: null;
|
|
58
|
+
}>>> & Readonly<{}>, {
|
|
59
|
+
label: string;
|
|
60
|
+
disabled: boolean;
|
|
61
|
+
tertiaryLabel: string;
|
|
62
|
+
errorMessage: string | null;
|
|
63
|
+
successMessage: string;
|
|
64
|
+
isValid: boolean;
|
|
65
|
+
isTouched: boolean;
|
|
66
|
+
showErrors: boolean;
|
|
67
|
+
showValidCheck: boolean;
|
|
68
|
+
colorfulValidation: boolean;
|
|
69
|
+
disabledMessage: string;
|
|
70
|
+
optional: boolean;
|
|
71
|
+
boxShadow: boolean;
|
|
72
|
+
formTracking: boolean;
|
|
73
|
+
isFocused: boolean;
|
|
74
|
+
isHovered: boolean;
|
|
75
|
+
externalErrors: Record<string, unknown> | null;
|
|
76
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>, {
|
|
77
|
+
"tertiary-label-overlay"?(_: {}): any;
|
|
78
|
+
prefix?(_: {}): any;
|
|
79
|
+
default?(_: {
|
|
80
|
+
inputClasses: "sl-block sl-w-full sl-rounded-md sl-border-0 sl-py-1.5 sl-text-gray-800 sl-shadow-sm sl-ring-1 sl-ring-inset sl-placeholder:text-gray-400 focus:sl-ring-2 focus:sl-ring-inset focus:sl-ring-stachelock-600 sm:sl-text-sm sm:sl-leading-6";
|
|
81
|
+
}): any;
|
|
82
|
+
"input-right"?(_: {}): any;
|
|
83
|
+
"success-message"?(_: {}): any;
|
|
84
|
+
}>;
|
|
85
|
+
export default _default;
|
|
86
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
87
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
88
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
89
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
90
|
+
} : {
|
|
91
|
+
type: import('vue').PropType<T[K]>;
|
|
92
|
+
required: true;
|
|
93
|
+
};
|
|
94
|
+
};
|
|
95
|
+
type __VLS_WithDefaults<P, D> = {
|
|
96
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
97
|
+
default: D[K];
|
|
98
|
+
}> : P[K];
|
|
99
|
+
};
|
|
100
|
+
type __VLS_Prettify<T> = {
|
|
101
|
+
[K in keyof T]: T[K];
|
|
102
|
+
} & {};
|
|
103
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
104
|
+
new (): {
|
|
105
|
+
$slots: S;
|
|
106
|
+
};
|
|
107
|
+
};
|
|
108
|
+
//# sourceMappingURL=FormFieldWrapper.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FormFieldWrapper.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/forms/FormFieldWrapper.vue"],"names":[],"mappings":"AAiGA;AAQA,UAAU,qBAAqB;IAC7B,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MA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IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAE1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QACxE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KACb,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACT,CAAC;AACN,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC;AACxD,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/forms/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAC3D,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,wBAAwB,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export { default as Avatar } from './UiAvatar';
|
|
2
|
+
export { default as Badge } from './UiBadge';
|
|
3
|
+
export { default as Breadcrumb } from './UiBreadcrumb';
|
|
4
|
+
export { default as Button } from './UiButton';
|
|
5
|
+
export { default as Loading } from './UiLoading';
|
|
6
|
+
export { default as LoadingDots } from './UiLoadingDots';
|
|
7
|
+
export { default as Modal } from './UiModal';
|
|
8
|
+
export { default as NavLink } from './UiNavLink';
|
|
9
|
+
export { default as ProgressBar } from './UiProgressBar';
|
|
10
|
+
export { default as RadialProgressBar } from './UiRadialProgressBar';
|
|
11
|
+
export { default as Table } from './UiTable';
|
|
12
|
+
export { default as TextInput } from './UiTextInput';
|
|
13
|
+
export { default as Transition } from './UiTransition';
|
|
14
|
+
export * from './calendars';
|
|
15
|
+
export * from './forms';
|
|
16
|
+
export * from './inputs';
|
|
17
|
+
export * from './layouts';
|
|
18
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,gBAAgB,CAAC;AACnD,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAC3D,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,gBAAgB,CAAC;AACnD,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,iBAAiB,CAAC;AACrD,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAC7D,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,iBAAiB,CAAC;AACrD,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAC7D,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AACzE,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,mBAAmB,CAAC;AACzD,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAC3D,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC"}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { ValidationRule } from '../../types/form';
|
|
2
|
+
|
|
3
|
+
interface Props {
|
|
4
|
+
name: string;
|
|
5
|
+
label?: string;
|
|
6
|
+
description?: string;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
rules?: ValidationRule;
|
|
9
|
+
immediate?: boolean;
|
|
10
|
+
isDescriptionHtml?: boolean;
|
|
11
|
+
successMessage?: string;
|
|
12
|
+
modelValue?: boolean;
|
|
13
|
+
tertiaryLabel?: string;
|
|
14
|
+
showErrors?: boolean;
|
|
15
|
+
layout?: 'stacked' | 'inline';
|
|
16
|
+
boxShadow?: boolean;
|
|
17
|
+
}
|
|
18
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
19
|
+
immediate: boolean;
|
|
20
|
+
isDescriptionHtml: boolean;
|
|
21
|
+
showErrors: boolean;
|
|
22
|
+
layout: string;
|
|
23
|
+
boxShadow: boolean;
|
|
24
|
+
}>>, {
|
|
25
|
+
focus: () => void;
|
|
26
|
+
blur: () => void;
|
|
27
|
+
toggle: () => void;
|
|
28
|
+
checkboxRef: import('vue').Ref<HTMLInputElement | undefined, HTMLInputElement | undefined>;
|
|
29
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
30
|
+
blur: (event: FocusEvent) => void;
|
|
31
|
+
focus: (event: FocusEvent) => void;
|
|
32
|
+
"update:modelValue": (value: boolean) => void;
|
|
33
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
34
|
+
immediate: boolean;
|
|
35
|
+
isDescriptionHtml: boolean;
|
|
36
|
+
showErrors: boolean;
|
|
37
|
+
layout: string;
|
|
38
|
+
boxShadow: boolean;
|
|
39
|
+
}>>> & Readonly<{
|
|
40
|
+
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
41
|
+
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
42
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
43
|
+
}>, {
|
|
44
|
+
immediate: boolean;
|
|
45
|
+
showErrors: boolean;
|
|
46
|
+
boxShadow: boolean;
|
|
47
|
+
isDescriptionHtml: boolean;
|
|
48
|
+
layout: "stacked" | "inline";
|
|
49
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
50
|
+
export default _default;
|
|
51
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
52
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
53
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
54
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
55
|
+
} : {
|
|
56
|
+
type: import('vue').PropType<T[K]>;
|
|
57
|
+
required: true;
|
|
58
|
+
};
|
|
59
|
+
};
|
|
60
|
+
type __VLS_WithDefaults<P, D> = {
|
|
61
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
62
|
+
default: D[K];
|
|
63
|
+
}> : P[K];
|
|
64
|
+
};
|
|
65
|
+
type __VLS_Prettify<T> = {
|
|
66
|
+
[K in keyof T]: T[K];
|
|
67
|
+
} & {};
|
|
68
|
+
//# sourceMappingURL=CheckboxInput.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CheckboxInput.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/inputs/CheckboxInput.vue"],"names":[],"mappings":"AAiFA;AAIA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AAMtD,UAAU,KAAK;IACb,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,WAAW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T,CAAC;AACN,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { ValidationRule } from '../../types/form';
|
|
2
|
+
|
|
3
|
+
interface ComboboxItem {
|
|
4
|
+
[key: string]: any;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
}
|
|
7
|
+
interface Props {
|
|
8
|
+
name: string;
|
|
9
|
+
items: ComboboxItem[];
|
|
10
|
+
label?: string;
|
|
11
|
+
placeholder?: string;
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
rules?: ValidationRule;
|
|
14
|
+
validateOnMount?: boolean;
|
|
15
|
+
successMessage?: string;
|
|
16
|
+
tertiaryLabel?: string;
|
|
17
|
+
itemKey?: string;
|
|
18
|
+
itemText?: string;
|
|
19
|
+
customQuery?: (query: string, items: ComboboxItem[]) => ComboboxItem[];
|
|
20
|
+
loading?: boolean;
|
|
21
|
+
multiple?: boolean;
|
|
22
|
+
showAll?: boolean;
|
|
23
|
+
modelValue?: any;
|
|
24
|
+
boxShadow?: boolean;
|
|
25
|
+
}
|
|
26
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
27
|
+
itemKey: string;
|
|
28
|
+
itemText: string;
|
|
29
|
+
loading: boolean;
|
|
30
|
+
multiple: boolean;
|
|
31
|
+
showAll: boolean;
|
|
32
|
+
boxShadow: boolean;
|
|
33
|
+
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
34
|
+
blur: (event: FocusEvent) => void;
|
|
35
|
+
focus: (event: FocusEvent) => void;
|
|
36
|
+
"update:modelValue": (value: any) => void;
|
|
37
|
+
"update:query": (query: string) => void;
|
|
38
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
39
|
+
itemKey: string;
|
|
40
|
+
itemText: string;
|
|
41
|
+
loading: boolean;
|
|
42
|
+
multiple: boolean;
|
|
43
|
+
showAll: boolean;
|
|
44
|
+
boxShadow: boolean;
|
|
45
|
+
}>>> & Readonly<{
|
|
46
|
+
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
47
|
+
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
48
|
+
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
49
|
+
"onUpdate:query"?: ((query: string) => any) | undefined;
|
|
50
|
+
}>, {
|
|
51
|
+
loading: boolean;
|
|
52
|
+
boxShadow: boolean;
|
|
53
|
+
multiple: boolean;
|
|
54
|
+
showAll: boolean;
|
|
55
|
+
itemKey: string;
|
|
56
|
+
itemText: string;
|
|
57
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
58
|
+
export default _default;
|
|
59
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
60
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
61
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
62
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
63
|
+
} : {
|
|
64
|
+
type: import('vue').PropType<T[K]>;
|
|
65
|
+
required: true;
|
|
66
|
+
};
|
|
67
|
+
};
|
|
68
|
+
type __VLS_WithDefaults<P, D> = {
|
|
69
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
70
|
+
default: D[K];
|
|
71
|
+
}> : P[K];
|
|
72
|
+
};
|
|
73
|
+
type __VLS_Prettify<T> = {
|
|
74
|
+
[K in keyof T]: T[K];
|
|
75
|
+
} & {};
|
|
76
|
+
//# sourceMappingURL=ComboboxInput.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":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AAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAE1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QACxE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KACb,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACT,CAAC;AACN,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
3
|
+
//# sourceMappingURL=InputsShowcase.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InputsShowcase.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/inputs/InputsShowcase.vue"],"names":[],"mappings":"AAiGA;;AAoXA,wBAKG"}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { ValidationRule } from '../../types/form';
|
|
2
|
+
|
|
3
|
+
interface SelectItem {
|
|
4
|
+
[key: string]: any;
|
|
5
|
+
icon?: any;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
}
|
|
8
|
+
interface Props {
|
|
9
|
+
name: string;
|
|
10
|
+
items: SelectItem[];
|
|
11
|
+
label?: string;
|
|
12
|
+
placeholder?: string;
|
|
13
|
+
disabled?: boolean;
|
|
14
|
+
rules?: ValidationRule;
|
|
15
|
+
validateOnMount?: boolean;
|
|
16
|
+
successMessage?: string;
|
|
17
|
+
tertiaryLabel?: string;
|
|
18
|
+
buttonClass?: string;
|
|
19
|
+
multiple?: boolean;
|
|
20
|
+
showAll?: boolean;
|
|
21
|
+
itemKey?: string;
|
|
22
|
+
itemText?: string;
|
|
23
|
+
modelValue?: any;
|
|
24
|
+
boxShadow?: boolean;
|
|
25
|
+
}
|
|
26
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
27
|
+
itemKey: string;
|
|
28
|
+
itemText: string;
|
|
29
|
+
multiple: boolean;
|
|
30
|
+
showAll: boolean;
|
|
31
|
+
boxShadow: boolean;
|
|
32
|
+
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
33
|
+
"update:modelValue": (value: any) => void;
|
|
34
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
35
|
+
itemKey: string;
|
|
36
|
+
itemText: string;
|
|
37
|
+
multiple: boolean;
|
|
38
|
+
showAll: boolean;
|
|
39
|
+
boxShadow: boolean;
|
|
40
|
+
}>>> & Readonly<{
|
|
41
|
+
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
42
|
+
}>, {
|
|
43
|
+
boxShadow: boolean;
|
|
44
|
+
multiple: boolean;
|
|
45
|
+
showAll: boolean;
|
|
46
|
+
itemKey: string;
|
|
47
|
+
itemText: string;
|
|
48
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
49
|
+
export default _default;
|
|
50
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
51
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
52
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
53
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
54
|
+
} : {
|
|
55
|
+
type: import('vue').PropType<T[K]>;
|
|
56
|
+
required: true;
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
type __VLS_WithDefaults<P, D> = {
|
|
60
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
61
|
+
default: D[K];
|
|
62
|
+
}> : P[K];
|
|
63
|
+
};
|
|
64
|
+
type __VLS_Prettify<T> = {
|
|
65
|
+
[K in keyof T]: T[K];
|
|
66
|
+
} & {};
|
|
67
|
+
//# sourceMappingURL=SelectInput.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SelectInput.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/inputs/SelectInput.vue"],"names":[],"mappings":"AA6IA;AAYA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AAKtD,UAAU,UAAU;IAClB,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;IAClB,IAAI,CAAC,EAAE,GAAG,CAAA;IACV,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB;AAED,UAAU,KAAK;IACb,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,UAAU,EAAE,CAAA;IACnB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,KAAK,CAAC,EAAE,cAAc,CAAA;IACtB,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,cAAc,CAAC,EAAE,MAAM,CAAA;IAC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}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import { ValidationRule } from '../../types/form';
|
|
2
|
+
|
|
3
|
+
interface Props {
|
|
4
|
+
name: string;
|
|
5
|
+
modelValue?: boolean;
|
|
6
|
+
label?: string;
|
|
7
|
+
description?: string;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
immediate?: boolean;
|
|
10
|
+
boxShadow?: boolean;
|
|
11
|
+
defaultValue?: boolean;
|
|
12
|
+
hideMainLabel?: boolean;
|
|
13
|
+
textTrue?: string;
|
|
14
|
+
textFalse?: string;
|
|
15
|
+
rules?: ValidationRule;
|
|
16
|
+
validateOnMount?: boolean;
|
|
17
|
+
successMessage?: string;
|
|
18
|
+
tertiaryLabel?: string;
|
|
19
|
+
isDescriptionHtml?: boolean;
|
|
20
|
+
showErrors?: boolean;
|
|
21
|
+
layout?: 'stacked' | 'inline';
|
|
22
|
+
}
|
|
23
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
24
|
+
immediate: boolean;
|
|
25
|
+
boxShadow: boolean;
|
|
26
|
+
defaultValue: boolean;
|
|
27
|
+
hideMainLabel: boolean;
|
|
28
|
+
isDescriptionHtml: boolean;
|
|
29
|
+
showErrors: boolean;
|
|
30
|
+
layout: string;
|
|
31
|
+
}>>, {
|
|
32
|
+
toggle: () => void;
|
|
33
|
+
value: import('vue').Ref<boolean, boolean>;
|
|
34
|
+
focus: () => void;
|
|
35
|
+
blur: () => void;
|
|
36
|
+
switchRef: import('vue').Ref<any, any>;
|
|
37
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
38
|
+
blur: (event: FocusEvent) => void;
|
|
39
|
+
focus: (event: FocusEvent) => void;
|
|
40
|
+
"update:modelValue": (value: boolean) => void;
|
|
41
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
42
|
+
immediate: boolean;
|
|
43
|
+
boxShadow: boolean;
|
|
44
|
+
defaultValue: boolean;
|
|
45
|
+
hideMainLabel: boolean;
|
|
46
|
+
isDescriptionHtml: boolean;
|
|
47
|
+
showErrors: boolean;
|
|
48
|
+
layout: string;
|
|
49
|
+
}>>> & Readonly<{
|
|
50
|
+
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
51
|
+
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
52
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
53
|
+
}>, {
|
|
54
|
+
immediate: boolean;
|
|
55
|
+
showErrors: boolean;
|
|
56
|
+
boxShadow: boolean;
|
|
57
|
+
isDescriptionHtml: boolean;
|
|
58
|
+
layout: "stacked" | "inline";
|
|
59
|
+
defaultValue: boolean;
|
|
60
|
+
hideMainLabel: boolean;
|
|
61
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
62
|
+
export default _default;
|
|
63
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
64
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
65
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
66
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
67
|
+
} : {
|
|
68
|
+
type: import('vue').PropType<T[K]>;
|
|
69
|
+
required: true;
|
|
70
|
+
};
|
|
71
|
+
};
|
|
72
|
+
type __VLS_WithDefaults<P, D> = {
|
|
73
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
74
|
+
default: D[K];
|
|
75
|
+
}> : P[K];
|
|
76
|
+
};
|
|
77
|
+
type __VLS_Prettify<T> = {
|
|
78
|
+
[K in keyof T]: T[K];
|
|
79
|
+
} & {};
|
|
80
|
+
//# sourceMappingURL=SwitchInput.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
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AC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAE1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QACxE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KACb,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACT,CAAC;AACN,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
|
|
@@ -0,0 +1,183 @@
|
|
|
1
|
+
interface Item {
|
|
2
|
+
id: string | number | null;
|
|
3
|
+
[key: string]: any;
|
|
4
|
+
}
|
|
5
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
6
|
+
items: {
|
|
7
|
+
type: () => Item[];
|
|
8
|
+
required: true;
|
|
9
|
+
};
|
|
10
|
+
value: {
|
|
11
|
+
type: () => Item[];
|
|
12
|
+
default: () => never[];
|
|
13
|
+
};
|
|
14
|
+
name: {
|
|
15
|
+
type: StringConstructor;
|
|
16
|
+
required: true;
|
|
17
|
+
};
|
|
18
|
+
label: {
|
|
19
|
+
type: StringConstructor;
|
|
20
|
+
required: false;
|
|
21
|
+
};
|
|
22
|
+
itemKey: {
|
|
23
|
+
type: StringConstructor;
|
|
24
|
+
default: string;
|
|
25
|
+
};
|
|
26
|
+
itemText: {
|
|
27
|
+
type: StringConstructor;
|
|
28
|
+
default: string;
|
|
29
|
+
};
|
|
30
|
+
itemSubtext: {
|
|
31
|
+
type: StringConstructor;
|
|
32
|
+
default: string;
|
|
33
|
+
};
|
|
34
|
+
showSubext: {
|
|
35
|
+
type: BooleanConstructor;
|
|
36
|
+
default: boolean;
|
|
37
|
+
};
|
|
38
|
+
tagDisplayKey: {
|
|
39
|
+
type: StringConstructor;
|
|
40
|
+
default: string;
|
|
41
|
+
};
|
|
42
|
+
tertiaryLabel: {
|
|
43
|
+
type: StringConstructor;
|
|
44
|
+
required: false;
|
|
45
|
+
};
|
|
46
|
+
pattern: {
|
|
47
|
+
type: RegExpConstructor;
|
|
48
|
+
default: null;
|
|
49
|
+
};
|
|
50
|
+
inline: {
|
|
51
|
+
type: BooleanConstructor;
|
|
52
|
+
default: boolean;
|
|
53
|
+
};
|
|
54
|
+
placeholder: {
|
|
55
|
+
type: StringConstructor;
|
|
56
|
+
default: string;
|
|
57
|
+
};
|
|
58
|
+
disabled: {
|
|
59
|
+
type: BooleanConstructor;
|
|
60
|
+
default: boolean;
|
|
61
|
+
};
|
|
62
|
+
optional: {
|
|
63
|
+
type: BooleanConstructor;
|
|
64
|
+
default: boolean;
|
|
65
|
+
};
|
|
66
|
+
errorMessage: {
|
|
67
|
+
type: StringConstructor;
|
|
68
|
+
default: string;
|
|
69
|
+
};
|
|
70
|
+
hasInputRing: {
|
|
71
|
+
type: BooleanConstructor;
|
|
72
|
+
default: boolean;
|
|
73
|
+
};
|
|
74
|
+
}>, {
|
|
75
|
+
selectedTags: import('vue').Ref<{
|
|
76
|
+
[x: string]: any;
|
|
77
|
+
id: string | number | null;
|
|
78
|
+
}[], Item[] | {
|
|
79
|
+
[x: string]: any;
|
|
80
|
+
id: string | number | null;
|
|
81
|
+
}[]>;
|
|
82
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
83
|
+
"update:value": (...args: any[]) => void;
|
|
84
|
+
"update:query": (...args: any[]) => void;
|
|
85
|
+
"invalid-tag": (...args: any[]) => void;
|
|
86
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
87
|
+
items: {
|
|
88
|
+
type: () => Item[];
|
|
89
|
+
required: true;
|
|
90
|
+
};
|
|
91
|
+
value: {
|
|
92
|
+
type: () => Item[];
|
|
93
|
+
default: () => never[];
|
|
94
|
+
};
|
|
95
|
+
name: {
|
|
96
|
+
type: StringConstructor;
|
|
97
|
+
required: true;
|
|
98
|
+
};
|
|
99
|
+
label: {
|
|
100
|
+
type: StringConstructor;
|
|
101
|
+
required: false;
|
|
102
|
+
};
|
|
103
|
+
itemKey: {
|
|
104
|
+
type: StringConstructor;
|
|
105
|
+
default: string;
|
|
106
|
+
};
|
|
107
|
+
itemText: {
|
|
108
|
+
type: StringConstructor;
|
|
109
|
+
default: string;
|
|
110
|
+
};
|
|
111
|
+
itemSubtext: {
|
|
112
|
+
type: StringConstructor;
|
|
113
|
+
default: string;
|
|
114
|
+
};
|
|
115
|
+
showSubext: {
|
|
116
|
+
type: BooleanConstructor;
|
|
117
|
+
default: boolean;
|
|
118
|
+
};
|
|
119
|
+
tagDisplayKey: {
|
|
120
|
+
type: StringConstructor;
|
|
121
|
+
default: string;
|
|
122
|
+
};
|
|
123
|
+
tertiaryLabel: {
|
|
124
|
+
type: StringConstructor;
|
|
125
|
+
required: false;
|
|
126
|
+
};
|
|
127
|
+
pattern: {
|
|
128
|
+
type: RegExpConstructor;
|
|
129
|
+
default: null;
|
|
130
|
+
};
|
|
131
|
+
inline: {
|
|
132
|
+
type: BooleanConstructor;
|
|
133
|
+
default: boolean;
|
|
134
|
+
};
|
|
135
|
+
placeholder: {
|
|
136
|
+
type: StringConstructor;
|
|
137
|
+
default: string;
|
|
138
|
+
};
|
|
139
|
+
disabled: {
|
|
140
|
+
type: BooleanConstructor;
|
|
141
|
+
default: boolean;
|
|
142
|
+
};
|
|
143
|
+
optional: {
|
|
144
|
+
type: BooleanConstructor;
|
|
145
|
+
default: boolean;
|
|
146
|
+
};
|
|
147
|
+
errorMessage: {
|
|
148
|
+
type: StringConstructor;
|
|
149
|
+
default: string;
|
|
150
|
+
};
|
|
151
|
+
hasInputRing: {
|
|
152
|
+
type: BooleanConstructor;
|
|
153
|
+
default: boolean;
|
|
154
|
+
};
|
|
155
|
+
}>> & Readonly<{
|
|
156
|
+
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
157
|
+
"onUpdate:query"?: ((...args: any[]) => any) | undefined;
|
|
158
|
+
"onInvalid-tag"?: ((...args: any[]) => any) | undefined;
|
|
159
|
+
}>, {
|
|
160
|
+
pattern: RegExp;
|
|
161
|
+
disabled: boolean;
|
|
162
|
+
placeholder: string;
|
|
163
|
+
errorMessage: string;
|
|
164
|
+
optional: boolean;
|
|
165
|
+
value: Item[];
|
|
166
|
+
inline: boolean;
|
|
167
|
+
itemKey: string;
|
|
168
|
+
itemText: string;
|
|
169
|
+
itemSubtext: string;
|
|
170
|
+
showSubext: boolean;
|
|
171
|
+
tagDisplayKey: string;
|
|
172
|
+
hasInputRing: boolean;
|
|
173
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>, {
|
|
174
|
+
"tertiary-overlay"?(_: {}): any;
|
|
175
|
+
"input-overlay"?(_: {}): any;
|
|
176
|
+
}>;
|
|
177
|
+
export default _default;
|
|
178
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
179
|
+
new (): {
|
|
180
|
+
$slots: S;
|
|
181
|
+
};
|
|
182
|
+
};
|
|
183
|
+
//# sourceMappingURL=TagifyInput.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TagifyInput.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/inputs/TagifyInput.vue"],"names":[],"mappings":"AA0DA;AASA,UAAU,IAAI;IACZ,EAAE,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC;IAC3B,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACpB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0uBD,wBAAwG;AACxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
|