@jsg-developer/vue-pack 0.0.1
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/LICENSE +19 -0
- package/README.md +154 -0
- package/dist/DEPENDENCY-LICENSES.txt +1170 -0
- package/dist/TabelData-C_eyn6Uq.cjs +1 -0
- package/dist/TabelData-fKFaSnkC.js +2142 -0
- package/dist/TabelData.vue_vue_type_style_index_0_scoped_76b9b7a6_lang-Dtm1AO8H.js +13685 -0
- package/dist/TabelData.vue_vue_type_style_index_0_scoped_76b9b7a6_lang-jjKlGR9H.cjs +64 -0
- package/dist/config.cjs.js +1 -0
- package/dist/config.es.js +6 -0
- package/dist/init.cjs.js +1 -0
- package/dist/init.es.js +24 -0
- package/dist/jsgd-vue-pack.cjs.js +1 -0
- package/dist/jsgd-vue-pack.css +7 -0
- package/dist/jsgd-vue-pack.es.js +388 -0
- package/dist/plugin/vue.cjs.js +1 -0
- package/dist/plugin/vue.es.js +51 -0
- package/dist/types/components/Form/FormFieldRenderer.vue.d.ts +23 -0
- package/dist/types/components/Form/FormModal.vue.d.ts +11 -0
- package/dist/types/components/Form/composables/index.d.ts +2 -0
- package/dist/types/components/Form/composables/useFormFieldRenderer.d.ts +22 -0
- package/dist/types/components/Form/composables/useFormModal.d.ts +19 -0
- package/dist/types/components/Form/index.d.ts +2 -0
- package/dist/types/components/Tabel/TabelData.vue.d.ts +62 -0
- package/dist/types/components/Tabel/composables/index.d.ts +4 -0
- package/dist/types/components/Tabel/composables/useDataNormalization.d.ts +7 -0
- package/dist/types/components/Tabel/composables/useDisplayHelpers.d.ts +8 -0
- package/dist/types/components/Tabel/composables/useFormHandling.d.ts +23 -0
- package/dist/types/components/Tabel/composables/useTableLogic.d.ts +35 -0
- package/dist/types/components/Tabel/index.d.ts +1 -0
- package/dist/types/components/UI/Display/BaseImage.vue.d.ts +6 -0
- package/dist/types/components/UI/Display/BaseLabel.vue.d.ts +20 -0
- package/dist/types/components/UI/Display/FieldDetailRenderer.vue.d.ts +16 -0
- package/dist/types/components/UI/Display/ImagePreview.vue.d.ts +12 -0
- package/dist/types/components/UI/Display/ModalDetailData.vue.d.ts +17 -0
- package/dist/types/components/UI/Display/SafeHtml.vue.d.ts +5 -0
- package/dist/types/components/UI/Display/Tooltip.vue.d.ts +62 -0
- package/dist/types/components/UI/Display/index.d.ts +7 -0
- package/dist/types/components/UI/Feedback/AlertApp.vue.d.ts +14 -0
- package/dist/types/components/UI/Feedback/LoaderSuccessError.vue.d.ts +12 -0
- package/dist/types/components/UI/Feedback/WarningForm.vue.d.ts +17 -0
- package/dist/types/components/UI/Feedback/index.d.ts +3 -0
- package/dist/types/components/UI/Inputs/ArrayObject.vue.d.ts +9 -0
- package/dist/types/components/UI/Inputs/ColorPicker.vue.d.ts +13 -0
- package/dist/types/components/UI/Inputs/ComboboxComponent.vue.d.ts +33 -0
- package/dist/types/components/UI/Inputs/DateInput.vue.d.ts +13 -0
- package/dist/types/components/UI/Inputs/DateTimeInput.vue.d.ts +67 -0
- package/dist/types/components/UI/Inputs/EmailInput.vue.d.ts +13 -0
- package/dist/types/components/UI/Inputs/FileArrayInput.vue.d.ts +14 -0
- package/dist/types/components/UI/Inputs/FileInput.vue.d.ts +13 -0
- package/dist/types/components/UI/Inputs/GroupRenderer.vue.d.ts +17 -0
- package/dist/types/components/UI/Inputs/ImageArrayInput.vue.d.ts +14 -0
- package/dist/types/components/UI/Inputs/ImageInput.vue.d.ts +13 -0
- package/dist/types/components/UI/Inputs/NumberInput.vue.d.ts +13 -0
- package/dist/types/components/UI/Inputs/ObjectInput.vue.d.ts +17 -0
- package/dist/types/components/UI/Inputs/PasswordInput.vue.d.ts +13 -0
- package/dist/types/components/UI/Inputs/TagInput.vue.d.ts +16 -0
- package/dist/types/components/UI/Inputs/TextAreaInput.vue.d.ts +13 -0
- package/dist/types/components/UI/Inputs/TextAreaQuill.vue.d.ts +13 -0
- package/dist/types/components/UI/Inputs/TextInput.vue.d.ts +13 -0
- package/dist/types/components/UI/Inputs/TimeInput.vue.d.ts +13 -0
- package/dist/types/components/UI/Inputs/ToggleInput.vue.d.ts +9 -0
- package/dist/types/components/UI/Inputs/UrlInput.vue.d.ts +13 -0
- package/dist/types/components/UI/Inputs/composables/index.d.ts +3 -0
- package/dist/types/components/UI/Inputs/composables/useArrayObject.d.ts +17 -0
- package/dist/types/components/UI/Inputs/composables/useSchemaGroupRenderer.d.ts +14 -0
- package/dist/types/components/UI/Inputs/composables/useSingleObject.d.ts +11 -0
- package/dist/types/components/UI/Inputs/index.d.ts +21 -0
- package/dist/types/components/UI/index.d.ts +3 -0
- package/dist/types/components/index.d.ts +3 -0
- package/dist/types/config.d.ts +2 -0
- package/dist/types/configs/defaults/index.d.ts +1 -0
- package/dist/types/configs/defaults/table.d.ts +8 -0
- package/dist/types/configs/i18n/errors.d.ts +2 -0
- package/dist/types/configs/i18n/index.d.ts +4 -0
- package/dist/types/configs/i18n/inputs.d.ts +2 -0
- package/dist/types/configs/i18n/labels.d.ts +2 -0
- package/dist/types/configs/i18n/register.d.ts +4 -0
- package/dist/types/configs/index.d.ts +3 -0
- package/dist/types/configs/types/base.types.d.ts +8 -0
- package/dist/types/configs/types/date.types.d.ts +10 -0
- package/dist/types/configs/types/field.types.d.ts +255 -0
- package/dist/types/configs/types/globalText.types.d.ts +94 -0
- package/dist/types/configs/types/index.d.ts +10 -0
- package/dist/types/configs/types/modal-text.types.d.ts +42 -0
- package/dist/types/configs/types/plugin-config.types.d.ts +28 -0
- package/dist/types/configs/types/props.types.d.ts +355 -0
- package/dist/types/configs/types/schema.types.d.ts +20 -0
- package/dist/types/configs/types/submit-options.types.d.ts +31 -0
- package/dist/types/configs/types/table-data.types.d.ts +130 -0
- package/dist/types/fetch/index.d.ts +1 -0
- package/dist/types/fetch/submitData.d.ts +2 -0
- package/dist/types/helpers/clientInfo.d.ts +5 -0
- package/dist/types/helpers/index.d.ts +3 -0
- package/dist/types/helpers/locale.d.ts +3 -0
- package/dist/types/helpers/message.d.ts +2 -0
- package/dist/types/index.d.ts +8 -0
- package/dist/types/init.d.ts +2 -0
- package/dist/types/lib/index.d.ts +2 -0
- package/dist/types/lib/indexedDB.d.ts +29 -0
- package/dist/types/lib/secureFetch.d.ts +8 -0
- package/dist/types/plugin/vue.plugin.d.ts +3 -0
- package/dist/types/schemas/TestSchema.d.ts +2 -0
- package/dist/types/schemas/index.d.ts +1 -0
- package/dist/types/untils/index.d.ts +4 -0
- package/dist/types/untils/math.d.ts +28 -0
- package/dist/types/untils/misc.d.ts +3 -0
- package/dist/types/untils/objectPath.d.ts +5 -0
- package/dist/types/untils/regex.d.ts +8 -0
- package/dist/types/validate/index.d.ts +1 -0
- package/dist/types/validate/validate.d.ts +27 -0
- package/package.json +70 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as TabelData } from './TabelData.vue';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
src: string;
|
|
3
|
+
alt?: string;
|
|
4
|
+
}
|
|
5
|
+
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLImageElement>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
label: string;
|
|
3
|
+
};
|
|
4
|
+
declare function __VLS_template(): {
|
|
5
|
+
attrs: Partial<{}>;
|
|
6
|
+
slots: {
|
|
7
|
+
default?(_: {}): any;
|
|
8
|
+
};
|
|
9
|
+
refs: {};
|
|
10
|
+
rootEl: HTMLLabelElement;
|
|
11
|
+
};
|
|
12
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
13
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLLabelElement>;
|
|
14
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
15
|
+
export default _default;
|
|
16
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
17
|
+
new (): {
|
|
18
|
+
$slots: S;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { FormData, Field, SupportedLanguage } from '../../../configs/types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
field: Field;
|
|
4
|
+
fieldKey: string;
|
|
5
|
+
formData: FormData;
|
|
6
|
+
requiredText?: string;
|
|
7
|
+
valueNullView: boolean;
|
|
8
|
+
optionalText?: string;
|
|
9
|
+
lang?: SupportedLanguage;
|
|
10
|
+
};
|
|
11
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
12
|
+
"image-click": (value: string) => any;
|
|
13
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
14
|
+
"onImage-click"?: ((value: string) => any) | undefined;
|
|
15
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
16
|
+
export default _default;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
imageUrl: string;
|
|
3
|
+
watermarkUrl?: string;
|
|
4
|
+
watermarkSize?: number;
|
|
5
|
+
alt?: string;
|
|
6
|
+
}
|
|
7
|
+
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
8
|
+
alt: string;
|
|
9
|
+
watermarkUrl: string;
|
|
10
|
+
watermarkSize: number;
|
|
11
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
12
|
+
export default _default;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Schema, FormData, SupportedLanguage } from '../../../configs/types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
schema: Schema;
|
|
4
|
+
formData: FormData;
|
|
5
|
+
valueNullView: boolean;
|
|
6
|
+
title?: string;
|
|
7
|
+
closeText?: string;
|
|
8
|
+
requiredText?: string;
|
|
9
|
+
optionalText?: string;
|
|
10
|
+
lang?: SupportedLanguage;
|
|
11
|
+
};
|
|
12
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
13
|
+
close: () => any;
|
|
14
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
15
|
+
onClose?: (() => any) | undefined;
|
|
16
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
17
|
+
export default _default;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
html: string;
|
|
3
|
+
}
|
|
4
|
+
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
5
|
+
export default _default;
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
declare function __VLS_template(): {
|
|
3
|
+
attrs: Partial<{}>;
|
|
4
|
+
slots: {
|
|
5
|
+
default?(_: {}): any;
|
|
6
|
+
};
|
|
7
|
+
refs: {
|
|
8
|
+
trigger: unknown;
|
|
9
|
+
bubble: HTMLDivElement;
|
|
10
|
+
};
|
|
11
|
+
rootEl: any;
|
|
12
|
+
};
|
|
13
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
14
|
+
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
15
|
+
text: {
|
|
16
|
+
type: PropType<string | string[]>;
|
|
17
|
+
required: true;
|
|
18
|
+
};
|
|
19
|
+
position: {
|
|
20
|
+
type: PropType<"top" | "bottom" | "left" | "right">;
|
|
21
|
+
default: string;
|
|
22
|
+
};
|
|
23
|
+
hotkey: {
|
|
24
|
+
type: StringConstructor;
|
|
25
|
+
default: string;
|
|
26
|
+
};
|
|
27
|
+
as: {
|
|
28
|
+
type: StringConstructor;
|
|
29
|
+
default: string;
|
|
30
|
+
};
|
|
31
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
32
|
+
text: {
|
|
33
|
+
type: PropType<string | string[]>;
|
|
34
|
+
required: true;
|
|
35
|
+
};
|
|
36
|
+
position: {
|
|
37
|
+
type: PropType<"top" | "bottom" | "left" | "right">;
|
|
38
|
+
default: string;
|
|
39
|
+
};
|
|
40
|
+
hotkey: {
|
|
41
|
+
type: StringConstructor;
|
|
42
|
+
default: string;
|
|
43
|
+
};
|
|
44
|
+
as: {
|
|
45
|
+
type: StringConstructor;
|
|
46
|
+
default: string;
|
|
47
|
+
};
|
|
48
|
+
}>> & Readonly<{}>, {
|
|
49
|
+
position: "top" | "bottom" | "left" | "right";
|
|
50
|
+
hotkey: string;
|
|
51
|
+
as: string;
|
|
52
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
53
|
+
trigger: unknown;
|
|
54
|
+
bubble: HTMLDivElement;
|
|
55
|
+
}, any>;
|
|
56
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
57
|
+
export default _default;
|
|
58
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
59
|
+
new (): {
|
|
60
|
+
$slots: S;
|
|
61
|
+
};
|
|
62
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export { default as BaseImage } from './BaseImage.vue';
|
|
2
|
+
export { default as BaseLabel } from './BaseLabel.vue';
|
|
3
|
+
export { default as FieldDetailRenderer } from './FieldDetailRenderer.vue';
|
|
4
|
+
export { default as ImagePreview } from './ImagePreview.vue';
|
|
5
|
+
export { default as ModalDetailData } from './ModalDetailData.vue';
|
|
6
|
+
export { default as SafeHtml } from './SafeHtml.vue';
|
|
7
|
+
export { default as Tooltip } from './Tooltip.vue';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export interface Alert {
|
|
2
|
+
id?: number;
|
|
3
|
+
type: 'success' | 'error';
|
|
4
|
+
title: string;
|
|
5
|
+
messages: string[];
|
|
6
|
+
show?: boolean;
|
|
7
|
+
}
|
|
8
|
+
declare function addAlert(alert: Alert): void;
|
|
9
|
+
declare const _default: import('vue').DefineComponent<{}, {
|
|
10
|
+
addAlert: typeof addAlert;
|
|
11
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
12
|
+
alertRefs: HTMLDivElement[];
|
|
13
|
+
}, any>;
|
|
14
|
+
export default _default;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
type StatusType = 'loading' | 'success' | 'error';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<{}, {
|
|
3
|
+
show: (type?: StatusType, msg?: string) => void;
|
|
4
|
+
hide: () => void;
|
|
5
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
6
|
+
error: () => any;
|
|
7
|
+
success: () => any;
|
|
8
|
+
}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
|
|
9
|
+
onError?: (() => any) | undefined;
|
|
10
|
+
onSuccess?: (() => any) | undefined;
|
|
11
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
12
|
+
export default _default;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
title?: string;
|
|
3
|
+
message?: string;
|
|
4
|
+
isGreen?: boolean;
|
|
5
|
+
}
|
|
6
|
+
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
7
|
+
close: () => any;
|
|
8
|
+
confirm: () => any;
|
|
9
|
+
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
10
|
+
onClose?: (() => any) | undefined;
|
|
11
|
+
onConfirm?: (() => any) | undefined;
|
|
12
|
+
}>, {
|
|
13
|
+
message: string;
|
|
14
|
+
title: string;
|
|
15
|
+
isGreen: boolean;
|
|
16
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
17
|
+
export default _default;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ArrayObjectProps } from '../../../configs/types';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<ArrayObjectProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
3
|
+
"update:modelValue": (value: any[], key: string) => any;
|
|
4
|
+
}, string, import('vue').PublicProps, Readonly<ArrayObjectProps> & Readonly<{
|
|
5
|
+
"onUpdate:modelValue"?: ((value: any[], key: string) => any) | undefined;
|
|
6
|
+
}>, {
|
|
7
|
+
id: string;
|
|
8
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
9
|
+
export default _default;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ColorPickerProps } from '../../../configs/types';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<ColorPickerProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
3
|
+
"update:modelValue": (value: string | string[], key: string) => any;
|
|
4
|
+
"push:error": (message: string[], key: string) => any;
|
|
5
|
+
"remove:error": (key: string) => any;
|
|
6
|
+
}, string, import('vue').PublicProps, Readonly<ColorPickerProps> & Readonly<{
|
|
7
|
+
"onUpdate:modelValue"?: ((value: string | string[], key: string) => any) | undefined;
|
|
8
|
+
"onPush:error"?: ((message: string[], key: string) => any) | undefined;
|
|
9
|
+
"onRemove:error"?: ((key: string) => any) | undefined;
|
|
10
|
+
}>, {
|
|
11
|
+
id: string;
|
|
12
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
13
|
+
export default _default;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { SelectDropdownProps } from '../../../configs/types';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<SelectDropdownProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
3
|
+
"update:modelValue": (value: string | number, key: string) => any;
|
|
4
|
+
}, string, import('vue').PublicProps, Readonly<SelectDropdownProps> & Readonly<{
|
|
5
|
+
"onUpdate:modelValue"?: ((value: string | number, key: string) => any) | undefined;
|
|
6
|
+
}>, {
|
|
7
|
+
id: string;
|
|
8
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
9
|
+
loader: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{
|
|
10
|
+
onError?: (() => any) | undefined;
|
|
11
|
+
onSuccess?: (() => any) | undefined;
|
|
12
|
+
}>, {
|
|
13
|
+
show: (type?: "error" | "success" | "loading", msg?: string) => void;
|
|
14
|
+
hide: () => void;
|
|
15
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
16
|
+
error: () => any;
|
|
17
|
+
success: () => any;
|
|
18
|
+
}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
19
|
+
P: {};
|
|
20
|
+
B: {};
|
|
21
|
+
D: {};
|
|
22
|
+
C: {};
|
|
23
|
+
M: {};
|
|
24
|
+
Defaults: {};
|
|
25
|
+
}, Readonly<{}> & Readonly<{
|
|
26
|
+
onError?: (() => any) | undefined;
|
|
27
|
+
onSuccess?: (() => any) | undefined;
|
|
28
|
+
}>, {
|
|
29
|
+
show: (type?: "error" | "success" | "loading", msg?: string) => void;
|
|
30
|
+
hide: () => void;
|
|
31
|
+
}, {}, {}, {}, {}> | null;
|
|
32
|
+
}, HTMLDivElement>;
|
|
33
|
+
export default _default;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { DateInputProps } from '../../../configs/types';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<DateInputProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
3
|
+
"update:modelValue": (value: string, key: string) => any;
|
|
4
|
+
"push:error": (message: string[], key: string) => any;
|
|
5
|
+
"remove:error": (key: string) => any;
|
|
6
|
+
}, string, import('vue').PublicProps, Readonly<DateInputProps> & Readonly<{
|
|
7
|
+
"onUpdate:modelValue"?: ((value: string, key: string) => any) | undefined;
|
|
8
|
+
"onPush:error"?: ((message: string[], key: string) => any) | undefined;
|
|
9
|
+
"onRemove:error"?: ((key: string) => any) | undefined;
|
|
10
|
+
}>, {
|
|
11
|
+
id: string;
|
|
12
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
13
|
+
export default _default;
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { DateTimeString, SupportedLanguage } from '../../../configs/types';
|
|
3
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
4
|
+
id: {
|
|
5
|
+
type: StringConstructor;
|
|
6
|
+
default: () => string;
|
|
7
|
+
};
|
|
8
|
+
label: {
|
|
9
|
+
type: StringConstructor;
|
|
10
|
+
required: true;
|
|
11
|
+
};
|
|
12
|
+
placeholder: StringConstructor;
|
|
13
|
+
modelValue: {
|
|
14
|
+
type: PropType<DateTimeString>;
|
|
15
|
+
default: string;
|
|
16
|
+
};
|
|
17
|
+
error: PropType<string | string[]>;
|
|
18
|
+
disabled: BooleanConstructor;
|
|
19
|
+
validate: PropType<{
|
|
20
|
+
minDateTime?: DateTimeString;
|
|
21
|
+
maxDateTime?: DateTimeString;
|
|
22
|
+
}>;
|
|
23
|
+
lang: PropType<SupportedLanguage>;
|
|
24
|
+
outputFormat: {
|
|
25
|
+
type: PropType<"local-offset" | "utc">;
|
|
26
|
+
default: string;
|
|
27
|
+
};
|
|
28
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
29
|
+
"update:modelValue": (value: string, key: string) => any;
|
|
30
|
+
"push:error": (message: string[], key: string) => any;
|
|
31
|
+
"remove:error": (key: string) => any;
|
|
32
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
33
|
+
id: {
|
|
34
|
+
type: StringConstructor;
|
|
35
|
+
default: () => string;
|
|
36
|
+
};
|
|
37
|
+
label: {
|
|
38
|
+
type: StringConstructor;
|
|
39
|
+
required: true;
|
|
40
|
+
};
|
|
41
|
+
placeholder: StringConstructor;
|
|
42
|
+
modelValue: {
|
|
43
|
+
type: PropType<DateTimeString>;
|
|
44
|
+
default: string;
|
|
45
|
+
};
|
|
46
|
+
error: PropType<string | string[]>;
|
|
47
|
+
disabled: BooleanConstructor;
|
|
48
|
+
validate: PropType<{
|
|
49
|
+
minDateTime?: DateTimeString;
|
|
50
|
+
maxDateTime?: DateTimeString;
|
|
51
|
+
}>;
|
|
52
|
+
lang: PropType<SupportedLanguage>;
|
|
53
|
+
outputFormat: {
|
|
54
|
+
type: PropType<"local-offset" | "utc">;
|
|
55
|
+
default: string;
|
|
56
|
+
};
|
|
57
|
+
}>> & Readonly<{
|
|
58
|
+
"onUpdate:modelValue"?: ((value: string, key: string) => any) | undefined;
|
|
59
|
+
"onPush:error"?: ((message: string[], key: string) => any) | undefined;
|
|
60
|
+
"onRemove:error"?: ((key: string) => any) | undefined;
|
|
61
|
+
}>, {
|
|
62
|
+
id: string;
|
|
63
|
+
disabled: boolean;
|
|
64
|
+
modelValue: DateTimeString;
|
|
65
|
+
outputFormat: "local-offset" | "utc";
|
|
66
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
67
|
+
export default _default;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { EmailInputProps } from '../../../configs/types';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<EmailInputProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
3
|
+
"update:modelValue": (value: string | number, key: string) => any;
|
|
4
|
+
"push:error": (message: string[], key: string) => any;
|
|
5
|
+
"remove:error": (key: string) => any;
|
|
6
|
+
}, string, import('vue').PublicProps, Readonly<EmailInputProps> & Readonly<{
|
|
7
|
+
"onUpdate:modelValue"?: ((value: string | number, key: string) => any) | undefined;
|
|
8
|
+
"onPush:error"?: ((message: string[], key: string) => any) | undefined;
|
|
9
|
+
"onRemove:error"?: ((key: string) => any) | undefined;
|
|
10
|
+
}>, {
|
|
11
|
+
id: string;
|
|
12
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
13
|
+
export default _default;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { FileArrayInputProps } from '../../../configs/types';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<FileArrayInputProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
3
|
+
"update:modelValue": (value: (string | File)[]) => any;
|
|
4
|
+
"push:error": (message: string[], key: string) => any;
|
|
5
|
+
"remove:error": (key: string) => any;
|
|
6
|
+
}, string, import('vue').PublicProps, Readonly<FileArrayInputProps> & Readonly<{
|
|
7
|
+
"onUpdate:modelValue"?: ((value: (string | File)[]) => any) | undefined;
|
|
8
|
+
"onPush:error"?: ((message: string[], key: string) => any) | undefined;
|
|
9
|
+
"onRemove:error"?: ((key: string) => any) | undefined;
|
|
10
|
+
}>, {
|
|
11
|
+
id: string;
|
|
12
|
+
modelValue: (File | string)[];
|
|
13
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
14
|
+
export default _default;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { FileInputProps } from '../../../configs/types';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<FileInputProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
3
|
+
"update:modelValue": (value: File | null, key: string) => any;
|
|
4
|
+
"push:error": (message: string[], key: string) => any;
|
|
5
|
+
"remove:error": (key: string) => any;
|
|
6
|
+
}, string, import('vue').PublicProps, Readonly<FileInputProps> & Readonly<{
|
|
7
|
+
"onUpdate:modelValue"?: ((value: File | null, key: string) => any) | undefined;
|
|
8
|
+
"onPush:error"?: ((message: string[], key: string) => any) | undefined;
|
|
9
|
+
"onRemove:error"?: ((key: string) => any) | undefined;
|
|
10
|
+
}>, {
|
|
11
|
+
id: string;
|
|
12
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
13
|
+
export default _default;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { SchemaGroupRendererProps } from '../../../configs/types';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<SchemaGroupRendererProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
3
|
+
"push:errors": (message: string | string[], key: string) => any;
|
|
4
|
+
"remove:errors": (key: string) => any;
|
|
5
|
+
"update:model-value": (value: any, key: string) => any;
|
|
6
|
+
"selected-option-change": (val: string | null, key: string) => any;
|
|
7
|
+
"multi-selected-change": (val: string[], key: string) => any;
|
|
8
|
+
}, string, import('vue').PublicProps, Readonly<SchemaGroupRendererProps> & Readonly<{
|
|
9
|
+
"onPush:errors"?: ((message: string | string[], key: string) => any) | undefined;
|
|
10
|
+
"onRemove:errors"?: ((key: string) => any) | undefined;
|
|
11
|
+
"onUpdate:model-value"?: ((value: any, key: string) => any) | undefined;
|
|
12
|
+
"onSelected-option-change"?: ((val: string | null, key: string) => any) | undefined;
|
|
13
|
+
"onMulti-selected-change"?: ((val: string[], key: string) => any) | undefined;
|
|
14
|
+
}>, {
|
|
15
|
+
id: string;
|
|
16
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
17
|
+
export default _default;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ImageArrayInputProps } from '../../../configs/types';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<ImageArrayInputProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
3
|
+
"update:modelValue": (value: (string | File)[]) => any;
|
|
4
|
+
"push:error": (message: string[], key: string) => any;
|
|
5
|
+
"remove:error": (key: string) => any;
|
|
6
|
+
}, string, import('vue').PublicProps, Readonly<ImageArrayInputProps> & Readonly<{
|
|
7
|
+
"onUpdate:modelValue"?: ((value: (string | File)[]) => any) | undefined;
|
|
8
|
+
"onPush:error"?: ((message: string[], key: string) => any) | undefined;
|
|
9
|
+
"onRemove:error"?: ((key: string) => any) | undefined;
|
|
10
|
+
}>, {
|
|
11
|
+
id: string;
|
|
12
|
+
modelValue: (File | string)[];
|
|
13
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
14
|
+
export default _default;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ImageInputProps } from '../../../index';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<ImageInputProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
3
|
+
"update:modelValue": (value: File | null, key: string) => any;
|
|
4
|
+
"push:error": (message: string[], key: string) => any;
|
|
5
|
+
"remove:error": (key: string) => any;
|
|
6
|
+
}, string, import('vue').PublicProps, Readonly<ImageInputProps> & Readonly<{
|
|
7
|
+
"onUpdate:modelValue"?: ((value: File | null, key: string) => any) | undefined;
|
|
8
|
+
"onPush:error"?: ((message: string[], key: string) => any) | undefined;
|
|
9
|
+
"onRemove:error"?: ((key: string) => any) | undefined;
|
|
10
|
+
}>, {
|
|
11
|
+
id: string;
|
|
12
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
13
|
+
export default _default;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { NumberInputProps } from '../../../configs/types';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<NumberInputProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
3
|
+
"update:modelValue": (value: string | number, key: string) => any;
|
|
4
|
+
"push:error": (message: string[], key: string) => any;
|
|
5
|
+
"remove:error": (key: string) => any;
|
|
6
|
+
}, string, import('vue').PublicProps, Readonly<NumberInputProps> & Readonly<{
|
|
7
|
+
"onUpdate:modelValue"?: ((value: string | number, key: string) => any) | undefined;
|
|
8
|
+
"onPush:error"?: ((message: string[], key: string) => any) | undefined;
|
|
9
|
+
"onRemove:error"?: ((key: string) => any) | undefined;
|
|
10
|
+
}>, {
|
|
11
|
+
id: string;
|
|
12
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
13
|
+
export default _default;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { SingleObjectProps } from '../../../configs/types';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<SingleObjectProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
3
|
+
"push:errors": (message: string | string[], key: string) => any;
|
|
4
|
+
"remove:errors": (key: string) => any;
|
|
5
|
+
"update:model-value": (val: any, key: string) => any;
|
|
6
|
+
"selected-option-change": (val: string | null, key: string) => any;
|
|
7
|
+
"multi-selected-change": (val: string[], key: string) => any;
|
|
8
|
+
}, string, import('vue').PublicProps, Readonly<SingleObjectProps> & Readonly<{
|
|
9
|
+
"onPush:errors"?: ((message: string | string[], key: string) => any) | undefined;
|
|
10
|
+
"onRemove:errors"?: ((key: string) => any) | undefined;
|
|
11
|
+
"onUpdate:model-value"?: ((val: any, key: string) => any) | undefined;
|
|
12
|
+
"onSelected-option-change"?: ((val: string | null, key: string) => any) | undefined;
|
|
13
|
+
"onMulti-selected-change"?: ((val: string[], key: string) => any) | undefined;
|
|
14
|
+
}>, {
|
|
15
|
+
id: string;
|
|
16
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
17
|
+
export default _default;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { PasswordInputProps } from '../../../configs/types';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<PasswordInputProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
3
|
+
"update:modelValue": (value: string | number, key: string) => any;
|
|
4
|
+
"push:error": (message: string[], key: string) => any;
|
|
5
|
+
"remove:error": (key: string) => any;
|
|
6
|
+
}, string, import('vue').PublicProps, Readonly<PasswordInputProps> & Readonly<{
|
|
7
|
+
"onUpdate:modelValue"?: ((value: string | number, key: string) => any) | undefined;
|
|
8
|
+
"onPush:error"?: ((message: string[], key: string) => any) | undefined;
|
|
9
|
+
"onRemove:error"?: ((key: string) => any) | undefined;
|
|
10
|
+
}>, {
|
|
11
|
+
id: string;
|
|
12
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
13
|
+
export default _default;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { TagInputProps } from '../../..';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<TagInputProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
3
|
+
"update:modelValue": (v: string[], key: string) => any;
|
|
4
|
+
"push:error": (message: string[], key: string) => any;
|
|
5
|
+
"remove:error": (key: string) => any;
|
|
6
|
+
}, string, import('vue').PublicProps, Readonly<TagInputProps> & Readonly<{
|
|
7
|
+
"onUpdate:modelValue"?: ((v: string[], key: string) => any) | undefined;
|
|
8
|
+
"onPush:error"?: ((message: string[], key: string) => any) | undefined;
|
|
9
|
+
"onRemove:error"?: ((key: string) => any) | undefined;
|
|
10
|
+
}>, {
|
|
11
|
+
id: string;
|
|
12
|
+
modelValue: string[];
|
|
13
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
14
|
+
tagInput: HTMLInputElement;
|
|
15
|
+
}, HTMLDivElement>;
|
|
16
|
+
export default _default;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { TextAreaProps } from '../../../index';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<TextAreaProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
3
|
+
"update:modelValue": (value: string, key: string) => any;
|
|
4
|
+
"push:error": (message: string[], key: string) => any;
|
|
5
|
+
"remove:error": (key: string) => any;
|
|
6
|
+
}, string, import('vue').PublicProps, Readonly<TextAreaProps> & Readonly<{
|
|
7
|
+
"onUpdate:modelValue"?: ((value: string, key: string) => any) | undefined;
|
|
8
|
+
"onPush:error"?: ((message: string[], key: string) => any) | undefined;
|
|
9
|
+
"onRemove:error"?: ((key: string) => any) | undefined;
|
|
10
|
+
}>, {
|
|
11
|
+
id: string;
|
|
12
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
13
|
+
export default _default;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { RichTextProps } from '../../../index';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<RichTextProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
3
|
+
"update:modelValue": (value: string, key: string) => any;
|
|
4
|
+
"push:error": (message: string[], key: string) => any;
|
|
5
|
+
"remove:error": (key: string) => any;
|
|
6
|
+
}, string, import('vue').PublicProps, Readonly<RichTextProps> & Readonly<{
|
|
7
|
+
"onUpdate:modelValue"?: ((value: string, key: string) => any) | undefined;
|
|
8
|
+
"onPush:error"?: ((message: string[], key: string) => any) | undefined;
|
|
9
|
+
"onRemove:error"?: ((key: string) => any) | undefined;
|
|
10
|
+
}>, {
|
|
11
|
+
id: string;
|
|
12
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
13
|
+
export default _default;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { TextInputProps } from '../../../index';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<TextInputProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
3
|
+
"update:modelValue": (value: string | number, key: string) => any;
|
|
4
|
+
"push:error": (message: string[], key: string) => any;
|
|
5
|
+
"remove:error": (key: string) => any;
|
|
6
|
+
}, string, import('vue').PublicProps, Readonly<TextInputProps> & Readonly<{
|
|
7
|
+
"onUpdate:modelValue"?: ((value: string | number, key: string) => any) | undefined;
|
|
8
|
+
"onPush:error"?: ((message: string[], key: string) => any) | undefined;
|
|
9
|
+
"onRemove:error"?: ((key: string) => any) | undefined;
|
|
10
|
+
}>, {
|
|
11
|
+
id: string;
|
|
12
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
13
|
+
export default _default;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { TimeInputProps } from '../../../configs/types';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<TimeInputProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
3
|
+
"update:modelValue": (value: string, key: string) => any;
|
|
4
|
+
"push:error": (message: string[], key: string) => any;
|
|
5
|
+
"remove:error": (key: string) => any;
|
|
6
|
+
}, string, import('vue').PublicProps, Readonly<TimeInputProps> & Readonly<{
|
|
7
|
+
"onUpdate:modelValue"?: ((value: string, key: string) => any) | undefined;
|
|
8
|
+
"onPush:error"?: ((message: string[], key: string) => any) | undefined;
|
|
9
|
+
"onRemove:error"?: ((key: string) => any) | undefined;
|
|
10
|
+
}>, {
|
|
11
|
+
id: string;
|
|
12
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
13
|
+
export default _default;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ToggleInputProps } from '../../../configs/types';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<ToggleInputProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
3
|
+
"update:modelValue": (v: boolean, key?: string | undefined) => any;
|
|
4
|
+
}, string, import('vue').PublicProps, Readonly<ToggleInputProps> & Readonly<{
|
|
5
|
+
"onUpdate:modelValue"?: ((v: boolean, key?: string | undefined) => any) | undefined;
|
|
6
|
+
}>, {
|
|
7
|
+
id: string;
|
|
8
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
9
|
+
export default _default;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { UrlInputProps } from '../../../configs/types';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<UrlInputProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
3
|
+
"update:modelValue": (v: string, key: string) => any;
|
|
4
|
+
"push:error": (message: string, key: string) => any;
|
|
5
|
+
"remove:error": (key: string) => any;
|
|
6
|
+
}, string, import('vue').PublicProps, Readonly<UrlInputProps> & Readonly<{
|
|
7
|
+
"onUpdate:modelValue"?: ((v: string, key: string) => any) | undefined;
|
|
8
|
+
"onPush:error"?: ((message: string, key: string) => any) | undefined;
|
|
9
|
+
"onRemove:error"?: ((key: string) => any) | undefined;
|
|
10
|
+
}>, {
|
|
11
|
+
id: string;
|
|
12
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
13
|
+
export default _default;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Ref, ComputedRef } from 'vue';
|
|
2
|
+
import { ArrayObjectProps, GlobalDefaultText } from '../../../../configs/types';
|
|
3
|
+
interface ArrayObjectComposable {
|
|
4
|
+
showModal: Ref<boolean>;
|
|
5
|
+
currentEditItem: Ref<any>;
|
|
6
|
+
currentEditIndex: Ref<number | null>;
|
|
7
|
+
removeDatas: Ref<number[]>;
|
|
8
|
+
addButtonText: ComputedRef<string>;
|
|
9
|
+
localItems: Ref<any[]>;
|
|
10
|
+
handleAddClick: () => void;
|
|
11
|
+
handleEditClick: (idx: number) => void;
|
|
12
|
+
handleSubmit: (item: any) => void;
|
|
13
|
+
remove: (index: number) => void;
|
|
14
|
+
getImageSrc: (image: string | File) => string;
|
|
15
|
+
}
|
|
16
|
+
export declare function useArrayObject(props: ArrayObjectProps, labels: Ref<GlobalDefaultText>, emit: (e: 'update:modelValue', value: any[], key: string) => void): ArrayObjectComposable;
|
|
17
|
+
export {};
|