@bagelink/vue 0.0.74 → 0.0.83
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/dist/components/Btn.vue.d.ts +79 -0
- package/dist/components/Comments.vue.d.ts +23 -0
- package/dist/components/ContactSubmissions.vue.d.ts +12 -0
- package/dist/components/DataPreview.vue.d.ts +42 -0
- package/dist/components/DropDown.vue.d.ts +14 -0
- package/dist/components/FormSchema.vue.d.ts +42 -0
- package/dist/components/LangText.vue.d.ts +15 -0
- package/dist/components/ListItem.vue.d.ts +23 -0
- package/dist/components/ListView.vue.d.ts +36 -0
- package/dist/components/MaterialIcon.vue.d.ts +18 -0
- package/dist/components/Modal.vue.d.ts +35 -0
- package/dist/components/ModalForm.vue.d.ts +44 -0
- package/dist/components/NavBar.vue.d.ts +60 -0
- package/dist/components/PageTitle.vue.d.ts +21 -0
- package/dist/components/PersonPreviewFormkit.vue.d.ts +20 -0
- package/dist/components/RTXEditor.vue.d.ts +40 -0
- package/dist/components/RouterWrapper.vue.d.ts +2 -0
- package/dist/components/TabbedLayout.vue.d.ts +35 -0
- package/dist/components/TableSchema.vue.d.ts +29 -0
- package/dist/components/TopBar.vue.d.ts +9 -0
- package/dist/components/charts/BarChart.vue.d.ts +33 -0
- package/dist/components/form/MaterialIcon.vue.d.ts +18 -0
- package/dist/components/form/inputs/CheckInput.vue.d.ts +40 -0
- package/dist/components/form/inputs/Checkbox.vue.d.ts +12 -0
- package/dist/components/form/inputs/CurrencyInput.vue.d.ts +42 -0
- package/dist/components/form/inputs/DateInput.vue.d.ts +43 -0
- package/dist/components/form/inputs/DatetimeInput.vue.d.ts +52 -0
- package/dist/components/form/inputs/DurationInput.vue.d.ts +52 -0
- package/dist/components/form/inputs/EmailInput.vue.d.ts +52 -0
- package/dist/components/form/inputs/FloatInput.vue.d.ts +52 -0
- package/dist/components/form/inputs/IntInput.vue.d.ts +52 -0
- package/dist/components/form/inputs/JSONInput.vue.d.ts +52 -0
- package/dist/components/form/inputs/LinkField.vue.d.ts +63 -0
- package/dist/components/form/inputs/Password.vue.d.ts +46 -0
- package/dist/components/form/inputs/PasswordInput.vue.d.ts +52 -0
- package/dist/components/form/inputs/ReadOnlyInput.vue.d.ts +20 -0
- package/dist/components/form/inputs/RichTextEditor.vue.d.ts +52 -0
- package/dist/components/form/inputs/SelectField.vue.d.ts +51 -0
- package/dist/components/form/inputs/TableField.vue.d.ts +44 -0
- package/dist/components/form/inputs/TextInput.vue.d.ts +56 -0
- package/dist/components/form/inputs/index.d.ts +17 -0
- package/dist/components/formkit/AddressArray.vue.d.ts +37 -0
- package/dist/components/formkit/BankDetailsArray.vue.d.ts +41 -0
- package/dist/components/formkit/ContactArrayFormKit.vue.d.ts +33 -0
- package/dist/components/formkit/FileUploader.vue.d.ts +36 -0
- package/dist/components/formkit/MiscFields.vue.d.ts +17 -0
- package/dist/components/formkit/Toggle.vue.d.ts +6 -0
- package/dist/components/formkit/index.d.ts +9 -0
- package/dist/components/index.d.ts +20 -0
- package/dist/components/whatsapp/form/TextVariableExamples.vue.d.ts +6 -0
- package/dist/components/whatsapp/interfaces.d.ts +49 -0
- package/dist/index.cjs +26500 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.mjs +26500 -0
- package/dist/plugins/bagel.d.ts +9 -0
- package/dist/plugins/modal.d.ts +24 -0
- package/dist/style.css +2110 -0
- package/dist/types/BagelField.d.ts +39 -0
- package/dist/types/BtnOptions.d.ts +13 -0
- package/dist/types/Person.d.ts +47 -0
- package/dist/types/file.d.ts +12 -0
- package/dist/types/index.d.ts +4 -0
- package/dist/utils/index.d.ts +8 -0
- package/dist/utils/objects.d.ts +3 -0
- package/dist/utils/strings.d.ts +1 -0
- package/package.json +3 -3
- package/src/components/DataPreview.vue +2 -1
- package/src/components/FormSchema.vue +1 -1
- package/src/components/PersonPreview.vue +2 -4
- package/src/components/PersonPreviewFormkit.vue +2 -4
- package/src/components/form/inputs/DatetimeInput.vue +2 -3
- package/src/components/form/inputs/DurationInput.vue +6 -7
- package/src/components/form/inputs/DynamicLinkField.vue +3 -7
- package/src/components/form/inputs/EmailInput.vue +6 -5
- package/src/components/form/inputs/FloatInput.vue +6 -5
- package/src/components/form/inputs/IntInput.vue +5 -6
- package/src/components/form/inputs/JSONInput.vue +4 -5
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
description?: string | undefined;
|
|
3
|
+
label?: string | undefined;
|
|
4
|
+
modelValue: any;
|
|
5
|
+
placeholder?: string | undefined;
|
|
6
|
+
editMode?: boolean | undefined;
|
|
7
|
+
small?: boolean | undefined;
|
|
8
|
+
}>, {
|
|
9
|
+
description: string;
|
|
10
|
+
editMode: boolean;
|
|
11
|
+
placeholder: string;
|
|
12
|
+
label: string;
|
|
13
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
14
|
+
"update:modelValue": (...args: any[]) => void;
|
|
15
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
16
|
+
description?: string | undefined;
|
|
17
|
+
label?: string | undefined;
|
|
18
|
+
modelValue: any;
|
|
19
|
+
placeholder?: string | undefined;
|
|
20
|
+
editMode?: boolean | undefined;
|
|
21
|
+
small?: boolean | undefined;
|
|
22
|
+
}>, {
|
|
23
|
+
description: string;
|
|
24
|
+
editMode: boolean;
|
|
25
|
+
placeholder: string;
|
|
26
|
+
label: string;
|
|
27
|
+
}>>> & {
|
|
28
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
29
|
+
}, {
|
|
30
|
+
label: string;
|
|
31
|
+
description: string;
|
|
32
|
+
placeholder: string;
|
|
33
|
+
editMode: boolean;
|
|
34
|
+
}, {}>;
|
|
35
|
+
export default _default;
|
|
36
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
37
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
38
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
39
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
40
|
+
} : {
|
|
41
|
+
type: import('vue').PropType<T[K]>;
|
|
42
|
+
required: true;
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
type __VLS_WithDefaults<P, D> = {
|
|
46
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
47
|
+
default: D[K];
|
|
48
|
+
}> : P[K];
|
|
49
|
+
};
|
|
50
|
+
type __VLS_Prettify<T> = {
|
|
51
|
+
[K in keyof T]: T[K];
|
|
52
|
+
} & {};
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { type SelectBagelField } from '../../../types/BagelField';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Omit<SelectBagelField, "key"> & {
|
|
3
|
+
editMode?: boolean | undefined;
|
|
4
|
+
field: SelectBagelField;
|
|
5
|
+
modelValue: any;
|
|
6
|
+
small?: boolean | undefined;
|
|
7
|
+
}>, {
|
|
8
|
+
description: string;
|
|
9
|
+
editMode: boolean;
|
|
10
|
+
label: string;
|
|
11
|
+
placeholder: string;
|
|
12
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
13
|
+
"update:modelValue": (...args: any[]) => void;
|
|
14
|
+
selected: (...args: any[]) => void;
|
|
15
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Omit<SelectBagelField, "key"> & {
|
|
16
|
+
editMode?: boolean | undefined;
|
|
17
|
+
field: SelectBagelField;
|
|
18
|
+
modelValue: any;
|
|
19
|
+
small?: boolean | undefined;
|
|
20
|
+
}>, {
|
|
21
|
+
description: string;
|
|
22
|
+
editMode: boolean;
|
|
23
|
+
label: string;
|
|
24
|
+
placeholder: string;
|
|
25
|
+
}>>> & {
|
|
26
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
27
|
+
onSelected?: ((...args: any[]) => any) | undefined;
|
|
28
|
+
}, {
|
|
29
|
+
label: string;
|
|
30
|
+
description: string;
|
|
31
|
+
placeholder: string;
|
|
32
|
+
editMode: boolean;
|
|
33
|
+
}, {}>;
|
|
34
|
+
export default _default;
|
|
35
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
36
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
37
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
38
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
39
|
+
} : {
|
|
40
|
+
type: import('vue').PropType<T[K]>;
|
|
41
|
+
required: true;
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
type __VLS_WithDefaults<P, D> = {
|
|
45
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
46
|
+
default: D[K];
|
|
47
|
+
}> : P[K];
|
|
48
|
+
};
|
|
49
|
+
type __VLS_Prettify<T> = {
|
|
50
|
+
[K in keyof T]: T[K];
|
|
51
|
+
} & {};
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
description?: string | undefined;
|
|
3
|
+
meta: Record<string, any>;
|
|
4
|
+
fieldname: string;
|
|
5
|
+
bagelApp?: any;
|
|
6
|
+
modelValue: any;
|
|
7
|
+
}>, {
|
|
8
|
+
description: string;
|
|
9
|
+
bagelApp: null;
|
|
10
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
11
|
+
"update:modelValue": (...args: any[]) => void;
|
|
12
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
13
|
+
description?: string | undefined;
|
|
14
|
+
meta: Record<string, any>;
|
|
15
|
+
fieldname: string;
|
|
16
|
+
bagelApp?: any;
|
|
17
|
+
modelValue: any;
|
|
18
|
+
}>, {
|
|
19
|
+
description: string;
|
|
20
|
+
bagelApp: null;
|
|
21
|
+
}>>> & {
|
|
22
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
23
|
+
}, {
|
|
24
|
+
description: string;
|
|
25
|
+
bagelApp: any;
|
|
26
|
+
}, {}>;
|
|
27
|
+
export default _default;
|
|
28
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
29
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
30
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
31
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
32
|
+
} : {
|
|
33
|
+
type: import('vue').PropType<T[K]>;
|
|
34
|
+
required: true;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
type __VLS_WithDefaults<P, D> = {
|
|
38
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
39
|
+
default: D[K];
|
|
40
|
+
}> : P[K];
|
|
41
|
+
};
|
|
42
|
+
type __VLS_Prettify<T> = {
|
|
43
|
+
[K in keyof T]: T[K];
|
|
44
|
+
} & {};
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
id?: string | undefined;
|
|
3
|
+
title?: string | undefined;
|
|
4
|
+
placeholder?: string | undefined;
|
|
5
|
+
modelValue?: string | undefined;
|
|
6
|
+
label?: string | undefined;
|
|
7
|
+
editMode?: boolean | undefined;
|
|
8
|
+
small?: boolean | undefined;
|
|
9
|
+
required?: boolean | undefined;
|
|
10
|
+
pattern?: string | undefined;
|
|
11
|
+
nativeInputAttrs?: Record<string, any> | undefined;
|
|
12
|
+
}>, {
|
|
13
|
+
editMode: boolean;
|
|
14
|
+
modelValue: string;
|
|
15
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
16
|
+
"update:modelValue": (...args: any[]) => void;
|
|
17
|
+
debounce: (...args: any[]) => void;
|
|
18
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
19
|
+
id?: string | undefined;
|
|
20
|
+
title?: string | undefined;
|
|
21
|
+
placeholder?: string | undefined;
|
|
22
|
+
modelValue?: string | undefined;
|
|
23
|
+
label?: string | undefined;
|
|
24
|
+
editMode?: boolean | undefined;
|
|
25
|
+
small?: boolean | undefined;
|
|
26
|
+
required?: boolean | undefined;
|
|
27
|
+
pattern?: string | undefined;
|
|
28
|
+
nativeInputAttrs?: Record<string, any> | undefined;
|
|
29
|
+
}>, {
|
|
30
|
+
editMode: boolean;
|
|
31
|
+
modelValue: string;
|
|
32
|
+
}>>> & {
|
|
33
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
34
|
+
onDebounce?: ((...args: any[]) => any) | undefined;
|
|
35
|
+
}, {
|
|
36
|
+
modelValue: string;
|
|
37
|
+
editMode: boolean;
|
|
38
|
+
}, {}>;
|
|
39
|
+
export default _default;
|
|
40
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
41
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
42
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
43
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
44
|
+
} : {
|
|
45
|
+
type: import('vue').PropType<T[K]>;
|
|
46
|
+
required: true;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
type __VLS_WithDefaults<P, D> = {
|
|
50
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
51
|
+
default: D[K];
|
|
52
|
+
}> : P[K];
|
|
53
|
+
};
|
|
54
|
+
type __VLS_Prettify<T> = {
|
|
55
|
+
[K in keyof T]: T[K];
|
|
56
|
+
} & {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export * as CheckInput from './CheckInput.vue';
|
|
2
|
+
export * as CurrencyInput from './CurrencyInput.vue';
|
|
3
|
+
export * as DateInput from './DateInput.vue';
|
|
4
|
+
export * as DatetimeInput from './DatetimeInput.vue';
|
|
5
|
+
export * as EmailInput from './EmailInput.vue';
|
|
6
|
+
export * as FloatInput from './FloatInput.vue';
|
|
7
|
+
export * as IntInput from './IntInput.vue';
|
|
8
|
+
export * as JSONInput from './JSONInput.vue';
|
|
9
|
+
export * as LinkField from './LinkField.vue';
|
|
10
|
+
export * as PasswordInput from './PasswordInput.vue';
|
|
11
|
+
export * as Password from './Password.vue';
|
|
12
|
+
export * as ReadOnlyInput from './ReadOnlyInput.vue';
|
|
13
|
+
export * as SelectField from './SelectField.vue';
|
|
14
|
+
export * as TextInput from './TextInput.vue';
|
|
15
|
+
export * as RichTextEditor from './RichTextEditor.vue';
|
|
16
|
+
export * as TableField from './TableField.vue';
|
|
17
|
+
export * as DurationInput from './DurationInput.vue';
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
context: Record<string, any>;
|
|
3
|
+
form: {
|
|
4
|
+
add: string;
|
|
5
|
+
cancel: string;
|
|
6
|
+
city: string;
|
|
7
|
+
country: string;
|
|
8
|
+
delete: string;
|
|
9
|
+
label: string;
|
|
10
|
+
sure: string;
|
|
11
|
+
zip: string;
|
|
12
|
+
street: string;
|
|
13
|
+
};
|
|
14
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
15
|
+
context: Record<string, any>;
|
|
16
|
+
form: {
|
|
17
|
+
add: string;
|
|
18
|
+
cancel: string;
|
|
19
|
+
city: string;
|
|
20
|
+
country: string;
|
|
21
|
+
delete: string;
|
|
22
|
+
label: string;
|
|
23
|
+
sure: string;
|
|
24
|
+
zip: string;
|
|
25
|
+
street: string;
|
|
26
|
+
};
|
|
27
|
+
}>>>, {}, {}>;
|
|
28
|
+
export default _default;
|
|
29
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
30
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
31
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
32
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
33
|
+
} : {
|
|
34
|
+
type: import('vue').PropType<T[K]>;
|
|
35
|
+
required: true;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
context: Record<string, any>;
|
|
3
|
+
form: {
|
|
4
|
+
sure: string;
|
|
5
|
+
delete: string;
|
|
6
|
+
cancel: string;
|
|
7
|
+
label: string;
|
|
8
|
+
bankName: string;
|
|
9
|
+
bankBranch: string;
|
|
10
|
+
bankAccount: string;
|
|
11
|
+
bankAccountHolder: string;
|
|
12
|
+
bankAccountHolderID: string;
|
|
13
|
+
bankAddress: string;
|
|
14
|
+
add: string;
|
|
15
|
+
};
|
|
16
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
17
|
+
context: Record<string, any>;
|
|
18
|
+
form: {
|
|
19
|
+
sure: string;
|
|
20
|
+
delete: string;
|
|
21
|
+
cancel: string;
|
|
22
|
+
label: string;
|
|
23
|
+
bankName: string;
|
|
24
|
+
bankBranch: string;
|
|
25
|
+
bankAccount: string;
|
|
26
|
+
bankAccountHolder: string;
|
|
27
|
+
bankAccountHolderID: string;
|
|
28
|
+
bankAddress: string;
|
|
29
|
+
add: string;
|
|
30
|
+
};
|
|
31
|
+
}>>>, {}, {}>;
|
|
32
|
+
export default _default;
|
|
33
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
34
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
35
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
36
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
37
|
+
} : {
|
|
38
|
+
type: import('vue').PropType<T[K]>;
|
|
39
|
+
required: true;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
context: Record<string, any>;
|
|
3
|
+
form: {
|
|
4
|
+
sure: string;
|
|
5
|
+
delete: string;
|
|
6
|
+
cancel: string;
|
|
7
|
+
label: string;
|
|
8
|
+
email: string;
|
|
9
|
+
phone: string;
|
|
10
|
+
add: string;
|
|
11
|
+
};
|
|
12
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
13
|
+
context: Record<string, any>;
|
|
14
|
+
form: {
|
|
15
|
+
sure: string;
|
|
16
|
+
delete: string;
|
|
17
|
+
cancel: string;
|
|
18
|
+
label: string;
|
|
19
|
+
email: string;
|
|
20
|
+
phone: string;
|
|
21
|
+
add: string;
|
|
22
|
+
};
|
|
23
|
+
}>>>, {}, {}>;
|
|
24
|
+
export default _default;
|
|
25
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
26
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
27
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
28
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
29
|
+
} : {
|
|
30
|
+
type: import('vue').PropType<T[K]>;
|
|
31
|
+
required: true;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
context: Record<string, any>;
|
|
3
|
+
dragDropLabel: string;
|
|
4
|
+
browseLabel: string;
|
|
5
|
+
}>, {
|
|
6
|
+
dragDropLabel: string;
|
|
7
|
+
browseLabel: string;
|
|
8
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
9
|
+
context: Record<string, any>;
|
|
10
|
+
dragDropLabel: string;
|
|
11
|
+
browseLabel: string;
|
|
12
|
+
}>, {
|
|
13
|
+
dragDropLabel: string;
|
|
14
|
+
browseLabel: string;
|
|
15
|
+
}>>>, {
|
|
16
|
+
dragDropLabel: string;
|
|
17
|
+
browseLabel: string;
|
|
18
|
+
}, {}>;
|
|
19
|
+
export default _default;
|
|
20
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
21
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
22
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
23
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
24
|
+
} : {
|
|
25
|
+
type: import('vue').PropType<T[K]>;
|
|
26
|
+
required: true;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
type __VLS_WithDefaults<P, D> = {
|
|
30
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
31
|
+
default: D[K];
|
|
32
|
+
}> : P[K];
|
|
33
|
+
};
|
|
34
|
+
type __VLS_Prettify<T> = {
|
|
35
|
+
[K in keyof T]: T[K];
|
|
36
|
+
} & {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
context: Record<string, any>;
|
|
3
|
+
addBtnLabel: string;
|
|
4
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
5
|
+
context: Record<string, any>;
|
|
6
|
+
addBtnLabel: string;
|
|
7
|
+
}>>>, {}, {}>;
|
|
8
|
+
export default _default;
|
|
9
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
10
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
11
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
12
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
13
|
+
} : {
|
|
14
|
+
type: import('vue').PropType<T[K]>;
|
|
15
|
+
required: true;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
context: ObjectConstructor;
|
|
3
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
4
|
+
context: ObjectConstructor;
|
|
5
|
+
}>>, {}, {}>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
declare const ContactArray: import("@formkit/core").FormKitTypeDefinition;
|
|
2
|
+
declare const Address: import("@formkit/core").FormKitTypeDefinition;
|
|
3
|
+
declare const BankDetails: import("@formkit/core").FormKitTypeDefinition;
|
|
4
|
+
declare const MiscFields: import("@formkit/core").FormKitTypeDefinition;
|
|
5
|
+
declare const ToggleSwitch: import("@formkit/core").FormKitTypeDefinition;
|
|
6
|
+
declare const FileUpload: import("@formkit/core").FormKitTypeDefinition;
|
|
7
|
+
declare const TextVariables: import("@formkit/core").FormKitTypeDefinition;
|
|
8
|
+
declare const PersonPreview: import("@formkit/core").FormKitTypeDefinition;
|
|
9
|
+
export { TextVariables, ContactArray, PersonPreview, Address, BankDetails, MiscFields, ToggleSwitch, FileUpload, };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export * as RTXEditor from './RTXEditor.vue';
|
|
2
|
+
export * as MaterialIcon from './MaterialIcon.vue';
|
|
3
|
+
export * as NavBar from './NavBar.vue';
|
|
4
|
+
export * as Btn from './Btn.vue';
|
|
5
|
+
export * as Modal from './Modal.vue';
|
|
6
|
+
export * as BarChart from './charts/BarChart.vue';
|
|
7
|
+
export * as DropDown from './DropDown.vue';
|
|
8
|
+
export * as ListView from './ListView.vue';
|
|
9
|
+
export * as ListItem from './ListItem.vue';
|
|
10
|
+
export * as TabbedLayout from './TabbedLayout.vue';
|
|
11
|
+
export * as Comments from './Comments.vue';
|
|
12
|
+
export * as PageTitle from './PageTitle.vue';
|
|
13
|
+
export * as ModalForm from './ModalForm.vue';
|
|
14
|
+
export * as TextInput from './form/inputs/TextInput.vue';
|
|
15
|
+
export * as DataPreview from './DataPreview.vue';
|
|
16
|
+
export * as FormSchema from './FormSchema.vue';
|
|
17
|
+
export * as TableSchema from './TableSchema.vue';
|
|
18
|
+
export * as TopBar from './TopBar.vue';
|
|
19
|
+
export * as RouterWrapper from './RouterWrapper.vue';
|
|
20
|
+
export * as ContactSubmissions from './ContactSubmissions.vue';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
context: ObjectConstructor;
|
|
3
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
4
|
+
context: ObjectConstructor;
|
|
5
|
+
}>>, {}, {}>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
export interface HeaderComponent {
|
|
2
|
+
type: 'HEADER';
|
|
3
|
+
text: string;
|
|
4
|
+
example_header?: string[];
|
|
5
|
+
}
|
|
6
|
+
interface Example {
|
|
7
|
+
body_text: string[][];
|
|
8
|
+
}
|
|
9
|
+
export interface BodyComponent {
|
|
10
|
+
type: 'BODY';
|
|
11
|
+
text: string;
|
|
12
|
+
example?: Example;
|
|
13
|
+
add_security_recommendation?: boolean;
|
|
14
|
+
}
|
|
15
|
+
export interface FooterComponent {
|
|
16
|
+
type: 'FOOTER';
|
|
17
|
+
text: string;
|
|
18
|
+
code_expiration_minutes?: number;
|
|
19
|
+
}
|
|
20
|
+
interface Button {
|
|
21
|
+
type: 'OTP' | 'CATALOG' | 'MPM' | 'QUICK_REPLY' | 'PHONE_NUMBER' | 'URL';
|
|
22
|
+
text: string;
|
|
23
|
+
}
|
|
24
|
+
interface ButtonsComponent {
|
|
25
|
+
type: 'BUTTONS';
|
|
26
|
+
buttons: Button[];
|
|
27
|
+
}
|
|
28
|
+
export type Component = BodyComponent | FooterComponent | HeaderComponent | ButtonsComponent;
|
|
29
|
+
export interface ServerTemplateData {
|
|
30
|
+
id: string;
|
|
31
|
+
name: string;
|
|
32
|
+
status: string;
|
|
33
|
+
language: string;
|
|
34
|
+
category: string;
|
|
35
|
+
components: readonly Component[];
|
|
36
|
+
}
|
|
37
|
+
export interface LocalTemplateData {
|
|
38
|
+
id: string;
|
|
39
|
+
name: string;
|
|
40
|
+
language: string;
|
|
41
|
+
status: string;
|
|
42
|
+
category: string;
|
|
43
|
+
headerText?: string;
|
|
44
|
+
headerExamples?: string[];
|
|
45
|
+
bodyText?: string;
|
|
46
|
+
bodyExamples?: string[];
|
|
47
|
+
footerText?: string;
|
|
48
|
+
}
|
|
49
|
+
export {};
|