@win2win/shared-ui 0.2.7 → 0.2.9
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/TestDynamicDocuments.vue.d.ts +1 -1
- package/dist/TestDynamicDocuments.vue.d.ts.map +1 -1
- package/dist/components/Common/Card.vue.d.ts +23 -34
- package/dist/components/Common/Card.vue.d.ts.map +1 -1
- package/dist/components/Common/DynamicCarousel.vue.d.ts +5 -17
- package/dist/components/Common/DynamicCarousel.vue.d.ts.map +1 -1
- package/dist/components/Common/GeneratingError.vue.d.ts +5 -27
- package/dist/components/Common/GeneratingError.vue.d.ts.map +1 -1
- package/dist/components/Common/GeneratingLoader.vue.d.ts +5 -27
- package/dist/components/Common/GeneratingLoader.vue.d.ts.map +1 -1
- package/dist/components/Common/IndicatorColor.vue.d.ts +4 -14
- package/dist/components/Common/IndicatorColor.vue.d.ts.map +1 -1
- package/dist/components/Common/SectionSpinner.vue.d.ts +7 -33
- package/dist/components/Common/SectionSpinner.vue.d.ts.map +1 -1
- package/dist/components/Common/StateIndicator.vue.d.ts +14 -49
- package/dist/components/Common/StateIndicator.vue.d.ts.map +1 -1
- package/dist/components/Data/Field.vue.d.ts +14 -53
- package/dist/components/Data/Field.vue.d.ts.map +1 -1
- package/dist/components/Data/IndicatorColor.vue.d.ts +4 -14
- package/dist/components/Data/IndicatorColor.vue.d.ts.map +1 -1
- package/dist/components/DynamicForm/CardsSelectControl.vue.d.ts +8 -17
- package/dist/components/DynamicForm/CardsSelectControl.vue.d.ts.map +1 -1
- package/dist/components/DynamicForm/ControlLabel.vue.d.ts +3 -13
- package/dist/components/DynamicForm/ControlLabel.vue.d.ts.map +1 -1
- package/dist/components/DynamicForm/Controls/SimpleCheckbox.vue.d.ts +8 -17
- package/dist/components/DynamicForm/Controls/SimpleCheckbox.vue.d.ts.map +1 -1
- package/dist/components/DynamicForm/Controls/SimpleInput.vue.d.ts +8 -17
- package/dist/components/DynamicForm/Controls/SimpleInput.vue.d.ts.map +1 -1
- package/dist/components/DynamicForm/Controls/SimpleSelect.vue.d.ts +8 -17
- package/dist/components/DynamicForm/Controls/SimpleSelect.vue.d.ts.map +1 -1
- package/dist/components/DynamicForm/Controls/SimpleSwitch.vue.d.ts +8 -17
- package/dist/components/DynamicForm/Controls/SimpleSwitch.vue.d.ts.map +1 -1
- package/dist/components/DynamicForm/DynamicForm.vue.d.ts +11 -18
- package/dist/components/DynamicForm/DynamicForm.vue.d.ts.map +1 -1
- package/dist/components/DynamicForm/InputControl.vue.d.ts +9 -30
- package/dist/components/DynamicForm/InputControl.vue.d.ts.map +1 -1
- package/dist/components/DynamicForm/MultipleFormGroups.vue.d.ts +3 -13
- package/dist/components/DynamicForm/MultipleFormGroups.vue.d.ts.map +1 -1
- package/dist/components/DynamicForm/NavigationButtons.vue.d.ts +5 -17
- package/dist/components/DynamicForm/NavigationButtons.vue.d.ts.map +1 -1
- package/dist/components/DynamicForm/SelectControl.vue.d.ts +8 -17
- package/dist/components/DynamicForm/SelectControl.vue.d.ts.map +1 -1
- package/dist/components/DynamicForm/SingleFormGroup.vue.d.ts +3 -13
- package/dist/components/DynamicForm/SingleFormGroup.vue.d.ts.map +1 -1
- package/dist/components/DynamicForm/StepHeader.vue.d.ts +3 -14
- package/dist/components/DynamicForm/StepHeader.vue.d.ts.map +1 -1
- package/dist/components/DynamicForm/StepsNavigationButtons.vue.d.ts +2 -2
- package/dist/components/DynamicForm/StepsNavigationButtons.vue.d.ts.map +1 -1
- package/dist/components/DynamicForm/models.d.ts.map +1 -1
- package/dist/components/DynamicForm/useFormGroups.d.ts +104 -11
- package/dist/components/DynamicForm/useFormGroups.d.ts.map +1 -1
- package/dist/components/Inputs/WinInput.vue.d.ts +20 -55
- package/dist/components/Inputs/WinInput.vue.d.ts.map +1 -1
- package/dist/components/Inputs/WinSelect.vue.d.ts +21 -66
- package/dist/components/Inputs/WinSelect.vue.d.ts.map +1 -1
- package/dist/components/MapLocationForm/GeocodingInput.vue.d.ts +7 -29
- package/dist/components/MapLocationForm/GeocodingInput.vue.d.ts.map +1 -1
- package/dist/components/MapLocationForm/MapLocationForm.vue.d.ts +8 -37
- package/dist/components/MapLocationForm/MapLocationForm.vue.d.ts.map +1 -1
- package/dist/components/MapLocationForm/consts.d.ts +3 -3
- package/dist/components/MapLocationForm/consts.d.ts.map +1 -1
- package/dist/components/MapLocationForm/useGeocoding.d.ts +21 -1
- package/dist/components/MapLocationForm/useGeocoding.d.ts.map +1 -1
- package/dist/components/TestUi.vue.d.ts +1 -2
- package/dist/components/TestUi.vue.d.ts.map +1 -1
- package/dist/components/pdf/DomSection.vue.d.ts +3 -13
- package/dist/components/pdf/DomSection.vue.d.ts.map +1 -1
- package/dist/components/pdf/PdfContainer.vue.d.ts +3 -15
- package/dist/components/pdf/PdfContainer.vue.d.ts.map +1 -1
- package/dist/components/pdf/PdfPage.vue.d.ts +1 -1
- package/dist/components/pdf/PdfPage.vue.d.ts.map +1 -1
- package/dist/components/pdf/SectionWrapper.vue.d.ts +3 -13
- package/dist/components/pdf/SectionWrapper.vue.d.ts.map +1 -1
- package/dist/components/pdf/SectionsContainer.vue.d.ts +8 -17
- package/dist/components/pdf/SectionsContainer.vue.d.ts.map +1 -1
- package/dist/components/pdf/sections/Card.vue.d.ts +3 -14
- package/dist/components/pdf/sections/Card.vue.d.ts.map +1 -1
- package/dist/components/pdf/sections/CardGridSection.vue.d.ts +2 -10
- package/dist/components/pdf/sections/CardGridSection.vue.d.ts.map +1 -1
- package/dist/components/pdf/sections/ImageSection.vue.d.ts +2 -10
- package/dist/components/pdf/sections/ImageSection.vue.d.ts.map +1 -1
- package/dist/components/pdf/sections/RadioButtonsSection.vue.d.ts +2 -10
- package/dist/components/pdf/sections/RadioButtonsSection.vue.d.ts.map +1 -1
- package/dist/components/pdf/sections/SignatureSection.vue.d.ts +6 -14
- package/dist/components/pdf/sections/SignatureSection.vue.d.ts.map +1 -1
- package/dist/components/pdf/sections/TableSection.vue.d.ts +2 -10
- package/dist/components/pdf/sections/TableSection.vue.d.ts.map +1 -1
- package/dist/components/pdf/sections/TextSection.vue.d.ts +2 -10
- package/dist/components/pdf/sections/TextSection.vue.d.ts.map +1 -1
- package/dist/components/widgets/index.d.ts +4 -2
- package/dist/components/widgets/index.d.ts.map +1 -1
- package/dist/components/widgets/linvermedia-product-card/LinvermediaProductCard.vue.d.ts +19 -0
- package/dist/components/widgets/linvermedia-product-card/LinvermediaProductCard.vue.d.ts.map +1 -0
- package/dist/components/widgets/linvermedia-product-card/components/ProductProps.vue.d.ts +9 -0
- package/dist/components/widgets/linvermedia-product-card/components/ProductProps.vue.d.ts.map +1 -0
- package/dist/components/widgets/linvermedia-product-card/components/ProductTag.vue.d.ts +6 -0
- package/dist/components/widgets/linvermedia-product-card/components/ProductTag.vue.d.ts.map +1 -0
- package/dist/components/widgets/linvermedia-product-card/helpers.d.ts +17 -0
- package/dist/components/widgets/linvermedia-product-card/helpers.d.ts.map +1 -0
- package/dist/components/widgets/linvermedia-product-card/index.d.ts +5 -0
- package/dist/components/widgets/linvermedia-product-card/index.d.ts.map +1 -0
- package/dist/components/widgets/linvermedia-product-card/mock-props.d.ts +3 -0
- package/dist/components/widgets/linvermedia-product-card/mock-props.d.ts.map +1 -0
- package/dist/components/widgets/linvermedia-product-card/schema.d.ts +62 -0
- package/dist/components/widgets/linvermedia-product-card/schema.d.ts.map +1 -0
- package/dist/index.d.ts +6 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/stores/useFormStore.d.ts +36 -36
- package/dist/stores/useFormStore.d.ts.map +1 -1
- package/dist/style.css +1 -1
- package/dist/w2w-shared-ui.js +12410 -9829
- package/dist/w2w-shared-ui.umd.cjs +20 -20
- package/package.json +7 -5
- package/dist/TestWidgets.vue.d.ts +0 -3
- package/dist/TestWidgets.vue.d.ts.map +0 -1
- package/dist/components/widgets/LinvermediaProductCard.vue.d.ts +0 -61
- package/dist/components/widgets/LinvermediaProductCard.vue.d.ts.map +0 -1
- package/dist/components/widgets/components/ProductProps.vue.d.ts +0 -22
- package/dist/components/widgets/components/ProductProps.vue.d.ts.map +0 -1
- package/dist/components/widgets/components/ProductTag.vue.d.ts +0 -16
- package/dist/components/widgets/components/ProductTag.vue.d.ts.map +0 -1
|
@@ -1,14 +1,6 @@
|
|
|
1
1
|
import { SectionProps } from '@/interfaces/document-layouts';
|
|
2
2
|
import { CardsGridContent } from '@win2win/shared';
|
|
3
|
-
|
|
3
|
+
type __VLS_Props = SectionProps<CardsGridContent>;
|
|
4
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
4
5
|
export default _default;
|
|
5
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
6
|
-
type __VLS_TypePropsToOption<T> = {
|
|
7
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
8
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
9
|
-
} : {
|
|
10
|
-
type: import('vue').PropType<T[K]>;
|
|
11
|
-
required: true;
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
6
|
//# sourceMappingURL=CardGridSection.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CardGridSection.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/pdf/sections/CardGridSection.vue"],"names":[],"mappings":"AAgCA,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAC7D,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC
|
|
1
|
+
{"version":3,"file":"CardGridSection.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/pdf/sections/CardGridSection.vue"],"names":[],"mappings":"AAgCA,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAC7D,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AAKnD,KAAK,WAAW,GAAG,YAAY,CAAC,gBAAgB,CAAC,CAAC;;AA8DlD,wBAMG"}
|
|
@@ -1,14 +1,6 @@
|
|
|
1
1
|
import { SectionProps } from '@/interfaces/document-layouts';
|
|
2
2
|
import { ImageContent } from '@win2win/shared';
|
|
3
|
-
|
|
3
|
+
type __VLS_Props = SectionProps<ImageContent>;
|
|
4
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
4
5
|
export default _default;
|
|
5
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
6
|
-
type __VLS_TypePropsToOption<T> = {
|
|
7
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
8
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
9
|
-
} : {
|
|
10
|
-
type: import('vue').PropType<T[K]>;
|
|
11
|
-
required: true;
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
6
|
//# sourceMappingURL=ImageSection.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ImageSection.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/pdf/sections/ImageSection.vue"],"names":[],"mappings":"AA8BA,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAC7D,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC
|
|
1
|
+
{"version":3,"file":"ImageSection.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/pdf/sections/ImageSection.vue"],"names":[],"mappings":"AA8BA,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAC7D,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAI/C,KAAK,WAAW,GAAG,YAAY,CAAC,YAAY,CAAC,CAAC;;AAqD9C,wBAMG"}
|
|
@@ -1,14 +1,6 @@
|
|
|
1
1
|
import { SectionProps } from "@/interfaces/document-layouts";
|
|
2
2
|
import { LayoutSectionRadioButtonsContent } from "@win2win/shared";
|
|
3
|
-
|
|
3
|
+
type __VLS_Props = SectionProps<LayoutSectionRadioButtonsContent>;
|
|
4
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
4
5
|
export default _default;
|
|
5
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
6
|
-
type __VLS_TypePropsToOption<T> = {
|
|
7
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
8
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
9
|
-
} : {
|
|
10
|
-
type: import('vue').PropType<T[K]>;
|
|
11
|
-
required: true;
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
6
|
//# sourceMappingURL=RadioButtonsSection.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RadioButtonsSection.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/pdf/sections/RadioButtonsSection.vue"],"names":[],"mappings":"AA+DA,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAC7D,OAAO,EAAE,gCAAgC,EAAE,MAAM,iBAAiB,CAAC
|
|
1
|
+
{"version":3,"file":"RadioButtonsSection.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/pdf/sections/RadioButtonsSection.vue"],"names":[],"mappings":"AA+DA,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAC7D,OAAO,EAAE,gCAAgC,EAAE,MAAM,iBAAiB,CAAC;AAKnE,KAAK,WAAW,GAAG,YAAY,CAAC,gCAAgC,CAAC,CAAC;;AAiGlE,wBAMG"}
|
|
@@ -1,24 +1,16 @@
|
|
|
1
1
|
import { SectionProps } from "@/interfaces/document-layouts";
|
|
2
2
|
import { SignatureContent } from "@win2win/shared";
|
|
3
|
-
|
|
3
|
+
type __VLS_Props = SectionProps<SignatureContent>;
|
|
4
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
5
|
+
cancel: (...args: any[]) => void;
|
|
4
6
|
clear: (...args: any[]) => void;
|
|
5
7
|
save: (...args: any[]) => void;
|
|
6
|
-
cancel: (...args: any[]) => void;
|
|
7
8
|
edit: (...args: any[]) => void;
|
|
8
|
-
}, string, import("vue").PublicProps, Readonly<
|
|
9
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
10
|
+
onCancel?: ((...args: any[]) => any) | undefined;
|
|
9
11
|
onClear?: ((...args: any[]) => any) | undefined;
|
|
10
12
|
onSave?: ((...args: any[]) => any) | undefined;
|
|
11
|
-
onCancel?: ((...args: any[]) => any) | undefined;
|
|
12
13
|
onEdit?: ((...args: any[]) => any) | undefined;
|
|
13
|
-
}, {}, {}>;
|
|
14
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
14
15
|
export default _default;
|
|
15
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
16
|
-
type __VLS_TypePropsToOption<T> = {
|
|
17
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
18
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
19
|
-
} : {
|
|
20
|
-
type: import('vue').PropType<T[K]>;
|
|
21
|
-
required: true;
|
|
22
|
-
};
|
|
23
|
-
};
|
|
24
16
|
//# sourceMappingURL=SignatureSection.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SignatureSection.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/pdf/sections/SignatureSection.vue"],"names":[],"mappings":"AAwHA,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAC7D,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC
|
|
1
|
+
{"version":3,"file":"SignatureSection.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/pdf/sections/SignatureSection.vue"],"names":[],"mappings":"AAwHA,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAC7D,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AAMnD,KAAK,WAAW,GAAG,YAAY,CAAC,gBAAgB,CAAC,CAAC;;;;;;;;;;;;AAqPlD,wBAOG"}
|
|
@@ -1,14 +1,6 @@
|
|
|
1
1
|
import { SectionProps } from '@/interfaces/document-layouts';
|
|
2
2
|
import { TableContent } from '@win2win/shared';
|
|
3
|
-
|
|
3
|
+
type __VLS_Props = SectionProps<TableContent>;
|
|
4
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
4
5
|
export default _default;
|
|
5
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
6
|
-
type __VLS_TypePropsToOption<T> = {
|
|
7
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
8
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
9
|
-
} : {
|
|
10
|
-
type: import('vue').PropType<T[K]>;
|
|
11
|
-
required: true;
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
6
|
//# sourceMappingURL=TableSection.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TableSection.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/pdf/sections/TableSection.vue"],"names":[],"mappings":"AAmDA,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAC7D,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC
|
|
1
|
+
{"version":3,"file":"TableSection.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/pdf/sections/TableSection.vue"],"names":[],"mappings":"AAmDA,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAC7D,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAI/C,KAAK,WAAW,GAAG,YAAY,CAAC,YAAY,CAAC,CAAC;;AAsF9C,wBAMG"}
|
|
@@ -1,14 +1,6 @@
|
|
|
1
1
|
import { SectionProps } from "@/interfaces/document-layouts";
|
|
2
2
|
import { TextContent } from "@win2win/shared";
|
|
3
|
-
|
|
3
|
+
type __VLS_Props = SectionProps<TextContent>;
|
|
4
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
4
5
|
export default _default;
|
|
5
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
6
|
-
type __VLS_TypePropsToOption<T> = {
|
|
7
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
8
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
9
|
-
} : {
|
|
10
|
-
type: import('vue').PropType<T[K]>;
|
|
11
|
-
required: true;
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
6
|
//# sourceMappingURL=TextSection.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextSection.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/pdf/sections/TextSection.vue"],"names":[],"mappings":"AA0KA,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAC7D,OAAO,EAAE,WAAW,EAA0B,MAAM,iBAAiB,CAAC
|
|
1
|
+
{"version":3,"file":"TextSection.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/pdf/sections/TextSection.vue"],"names":[],"mappings":"AA0KA,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAC7D,OAAO,EAAE,WAAW,EAA0B,MAAM,iBAAiB,CAAC;AAKtE,KAAK,WAAW,GAAG,YAAY,CAAC,WAAW,CAAC,CAAC;;AAgP7C,wBAMG"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { Component } from "vue";
|
|
2
|
-
import
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
import { LinvermediaProductCard } from "./linvermedia-product-card";
|
|
3
4
|
export declare const WidgetsIndex: IndexedWidget;
|
|
4
5
|
export type IndexedWidget = Record<string, WidgetOption>;
|
|
5
6
|
export interface WidgetOption {
|
|
@@ -8,7 +9,8 @@ export interface WidgetOption {
|
|
|
8
9
|
layoutContexts?: string[];
|
|
9
10
|
group?: string;
|
|
10
11
|
layoutTypes?: string[];
|
|
11
|
-
|
|
12
|
+
schema?: z.ZodObject<any>;
|
|
13
|
+
mock?: Record<string, any>;
|
|
12
14
|
}
|
|
13
15
|
export { LinvermediaProductCard };
|
|
14
16
|
export default WidgetsIndex;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/widgets/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,KAAK,CAAC;AAChC,OAAO,sBAAsB,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/widgets/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,KAAK,CAAC;AAChC,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAEL,sBAAsB,EAEvB,MAAM,4BAA4B,CAAC;AAEpC,eAAO,MAAM,YAAY,EASpB,aAAa,CAAC;AAEnB,MAAM,MAAM,aAAa,GAAG,MAAM,CAAC,MAAM,EAAE,YAAY,CAAC,CAAC;AAEzD,MAAM,WAAW,YAAY;IAC3B,SAAS,EAAE,SAAS,CAAC;IACrB,WAAW,EAAE,MAAM,CAAC;IACpB,cAAc,CAAC,EAAE,MAAM,EAAE,CAAC;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;IACvB,MAAM,CAAC,EAAE,CAAC,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC;IAC1B,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CAC5B;AAED,OAAO,EAAE,sBAAsB,EAAE,CAAC;AAElC,eAAe,YAAY,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { LinvermediaProductCardProps } from "./schema";
|
|
2
|
+
declare const _default: import("vue").DefineComponent<LinvermediaProductCardProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
3
|
+
"click-card": (...args: any[]) => void;
|
|
4
|
+
"data-updated": (...args: any[]) => void;
|
|
5
|
+
}, string, import("vue").PublicProps, Readonly<LinvermediaProductCardProps> & Readonly<{
|
|
6
|
+
"onClick-card"?: ((...args: any[]) => any) | undefined;
|
|
7
|
+
"onData-updated"?: ((...args: any[]) => any) | undefined;
|
|
8
|
+
}>, {
|
|
9
|
+
data: Record<string, any>;
|
|
10
|
+
columns: {
|
|
11
|
+
name: string;
|
|
12
|
+
label: string;
|
|
13
|
+
field: () => any;
|
|
14
|
+
icon?: string;
|
|
15
|
+
}[];
|
|
16
|
+
handleRowClick: (product: Record<string, any>) => void;
|
|
17
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
18
|
+
export default _default;
|
|
19
|
+
//# sourceMappingURL=LinvermediaProductCard.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LinvermediaProductCard.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/widgets/linvermedia-product-card/LinvermediaProductCard.vue"],"names":[],"mappings":"AAmSA,OAAO,EAAE,2BAA2B,EAAE,MAAM,UAAU,CAAC;;;;;;;;;;;;;YAPvD,CA7Pa;;;;AAomBb,wBAQG"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
productProps?: any;
|
|
3
|
+
gama: Record<string, any>;
|
|
4
|
+
hiddenProps?: string[];
|
|
5
|
+
lite?: boolean;
|
|
6
|
+
};
|
|
7
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
8
|
+
export default _default;
|
|
9
|
+
//# sourceMappingURL=ProductProps.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ProductProps.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/widgets/linvermedia-product-card/components/ProductProps.vue"],"names":[],"mappings":"AA+VA,KAAK,WAAW,GAAG;IACjB,YAAY,CAAC,EAAE,GAAG,CAAC;IACnB,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IAC1B,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;IACvB,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB,CAAC;;AA2eF,wBAMG"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
tag?: string;
|
|
3
|
+
};
|
|
4
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
5
|
+
export default _default;
|
|
6
|
+
//# sourceMappingURL=ProductTag.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ProductTag.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/widgets/linvermedia-product-card/components/ProductTag.vue"],"names":[],"mappings":"AAqBA,KAAK,WAAW,GAAG;IACjB,GAAG,CAAC,EAAE,MAAM,CAAC;CACd,CAAC;;AAoDF,wBAMG"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export declare const formatOneWord: (word: string) => string;
|
|
2
|
+
export declare const capitalize: (text: string, allWords?: boolean) => string;
|
|
3
|
+
export declare const toCurrency: (val?: number | null | string, decimals?: number, symbol?: string) => string;
|
|
4
|
+
export declare const MAP_COLOR: {
|
|
5
|
+
negro: string;
|
|
6
|
+
blanco: string;
|
|
7
|
+
rojo: string;
|
|
8
|
+
verde: string;
|
|
9
|
+
azul: string;
|
|
10
|
+
amarillo: string;
|
|
11
|
+
gris: string;
|
|
12
|
+
naranja: string;
|
|
13
|
+
rosado: string;
|
|
14
|
+
morado: string;
|
|
15
|
+
marrón: string;
|
|
16
|
+
};
|
|
17
|
+
//# sourceMappingURL=helpers.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../../src/components/widgets/linvermedia-product-card/helpers.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa,GAAI,MAAM,MAAM,WACI,CAAC;AAC/C,eAAO,MAAM,UAAU,GAAI,MAAM,MAAM,EAAE,kBAAgB,WAMxD,CAAC;AACF,eAAO,MAAM,UAAU,GACrB,MAAM,MAAM,GAAG,IAAI,GAAG,MAAM,EAC5B,WAAW,MAAM,EACjB,SAAQ,MAAc,WASvB,CAAC;AAEF,eAAO,MAAM,SAAS;;;;;;;;;;;;CAYrB,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import LinvermediaProductCard from "./LinvermediaProductCard.vue";
|
|
2
|
+
import { LINVERMEDIA_PRODUCT_CARD_MOCK_PROPS } from "./mock-props";
|
|
3
|
+
import { LinvermediaProductCardPropsSchema } from "./schema";
|
|
4
|
+
export { LINVERMEDIA_PRODUCT_CARD_MOCK_PROPS, LinvermediaProductCard, LinvermediaProductCardPropsSchema };
|
|
5
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/widgets/linvermedia-product-card/index.ts"],"names":[],"mappings":"AAAA,OAAO,sBAAsB,MAAM,8BAA8B,CAAC;AAClE,OAAO,EAAE,mCAAmC,EAAE,MAAM,cAAc,CAAC;AACnE,OAAO,EAAE,iCAAiC,EAAE,MAAM,UAAU,CAAC;AAE7D,OAAO,EACH,mCAAmC,EAAE,sBAAsB,EAC3D,iCAAiC,EACpC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mock-props.d.ts","sourceRoot":"","sources":["../../../../src/components/widgets/linvermedia-product-card/mock-props.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,UAAU,CAAC;AA6FvD,eAAO,MAAM,mCAAmC,EAAE,2BAQ/C,CAAC"}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const LinvermediaProductCardPropsSchema: z.ZodObject<{
|
|
3
|
+
isPublic: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
4
|
+
data: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
5
|
+
fetching: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
6
|
+
handleRowClick: z.ZodDefault<z.ZodOptional<z.ZodUnion<[z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodUnknown>, z.ZodUndefined]>>>;
|
|
7
|
+
descriptionLines: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
8
|
+
columns: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
9
|
+
name: z.ZodString;
|
|
10
|
+
label: z.ZodString;
|
|
11
|
+
field: z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodUnknown>;
|
|
12
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
13
|
+
}, "strip", z.ZodTypeAny, {
|
|
14
|
+
name: string;
|
|
15
|
+
label: string;
|
|
16
|
+
field: (...args: unknown[]) => unknown;
|
|
17
|
+
icon?: string | undefined;
|
|
18
|
+
}, {
|
|
19
|
+
name: string;
|
|
20
|
+
label: string;
|
|
21
|
+
field: (...args: unknown[]) => unknown;
|
|
22
|
+
icon?: string | undefined;
|
|
23
|
+
}>, "many">>>;
|
|
24
|
+
}, "strip", z.ZodTypeAny, {
|
|
25
|
+
data: Record<string, any>;
|
|
26
|
+
columns: {
|
|
27
|
+
name: string;
|
|
28
|
+
label: string;
|
|
29
|
+
field: (...args: unknown[]) => unknown;
|
|
30
|
+
icon?: string | undefined;
|
|
31
|
+
}[];
|
|
32
|
+
isPublic: boolean;
|
|
33
|
+
fetching: boolean;
|
|
34
|
+
handleRowClick: (...args: unknown[]) => unknown;
|
|
35
|
+
descriptionLines: number;
|
|
36
|
+
}, {
|
|
37
|
+
data?: Record<string, any> | undefined;
|
|
38
|
+
columns?: {
|
|
39
|
+
name: string;
|
|
40
|
+
label: string;
|
|
41
|
+
field: (...args: unknown[]) => unknown;
|
|
42
|
+
icon?: string | undefined;
|
|
43
|
+
}[] | undefined;
|
|
44
|
+
isPublic?: boolean | undefined;
|
|
45
|
+
fetching?: boolean | undefined;
|
|
46
|
+
handleRowClick?: ((...args: unknown[]) => unknown) | undefined;
|
|
47
|
+
descriptionLines?: number | undefined;
|
|
48
|
+
}>;
|
|
49
|
+
export type LinvermediaProductCardProps = {
|
|
50
|
+
data: Record<string, any>;
|
|
51
|
+
isPublic?: boolean;
|
|
52
|
+
fetching?: boolean;
|
|
53
|
+
handleRowClick?: (product: Record<string, any>) => void;
|
|
54
|
+
descriptionLines?: number;
|
|
55
|
+
columns?: {
|
|
56
|
+
name: string;
|
|
57
|
+
label: string;
|
|
58
|
+
field: () => any;
|
|
59
|
+
icon?: string;
|
|
60
|
+
}[];
|
|
61
|
+
};
|
|
62
|
+
//# sourceMappingURL=schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../src/components/widgets/linvermedia-product-card/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoB5C,CAAC;AAIH,MAAM,MAAM,2BAA2B,GAAG;IACxC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IAC1B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,cAAc,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,KAAK,IAAI,CAAC;IACxD,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,OAAO,CAAC,EAAE;QACR,IAAI,EAAE,MAAM,CAAC;QACb,KAAK,EAAE,MAAM,CAAC;QACd,KAAK,EAAE,MAAM,GAAG,CAAC;QACjB,IAAI,CAAC,EAAE,MAAM,CAAC;KACf,EAAE,CAAC;CACL,CAAC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,9 @@
|
|
|
1
1
|
import { App } from "vue";
|
|
2
|
+
import Card from "./components/Common/Card.vue";
|
|
3
|
+
import DynamicCarousel from "./components/Common/DynamicCarousel.vue";
|
|
4
|
+
import IndicatorColor from "./components/Common/IndicatorColor.vue";
|
|
5
|
+
import SectionSpinner from "./components/Common/SectionSpinner.vue";
|
|
6
|
+
import StateIndicator from "./components/Common/StateIndicator.vue";
|
|
2
7
|
import DynamicForm from "./components/DynamicForm/DynamicForm.vue";
|
|
3
8
|
import TestUi from "./components/TestUi.vue";
|
|
4
9
|
import SectionsContainer from "./components/pdf/SectionsContainer.vue";
|
|
@@ -8,5 +13,5 @@ declare const W2WSharedUi: {
|
|
|
8
13
|
export default W2WSharedUi;
|
|
9
14
|
export * from "./components/widgets";
|
|
10
15
|
export { WidgetsIndex } from "./components/widgets";
|
|
11
|
-
export { DynamicForm, SectionsContainer, TestUi };
|
|
16
|
+
export { Card, DynamicCarousel, DynamicForm, IndicatorColor, SectionsContainer, SectionSpinner, StateIndicator, TestUi };
|
|
12
17
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC1B,OAAO,WAAW,MAAM,0CAA0C,CAAC;AACnE,OAAO,MAAM,MAAM,yBAAyB,CAAC;AAC7C,OAAO,iBAAiB,MAAM,wCAAwC,CAAC;AAGvE,QAAA,MAAM,WAAW;iBACF,GAAG,WAAW,GAAG;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC1B,OAAO,IAAI,MAAM,8BAA8B,CAAC;AAChD,OAAO,eAAe,MAAM,yCAAyC,CAAC;AACtE,OAAO,cAAc,MAAM,wCAAwC,CAAC;AACpE,OAAO,cAAc,MAAM,wCAAwC,CAAC;AACpE,OAAO,cAAc,MAAM,wCAAwC,CAAC;AACpE,OAAO,WAAW,MAAM,0CAA0C,CAAC;AACnE,OAAO,MAAM,MAAM,yBAAyB,CAAC;AAC7C,OAAO,iBAAiB,MAAM,wCAAwC,CAAC;AAGvE,QAAA,MAAM,WAAW;iBACF,GAAG,WAAW,GAAG;CAmB/B,CAAC;AAEF,eAAe,WAAW,CAAC;AAC3B,cAAc,sBAAsB,CAAC;AACrC,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AACpD,OAAO,EACL,IAAI,EACJ,eAAe,EAAE,WAAW,EAAE,cAAc,EAAE,iBAAiB,EAAE,cAAc,EAC/E,cAAc,EAAE,MAAM,EACvB,CAAC"}
|
|
@@ -16,11 +16,11 @@ export declare const useFormStore: import("pinia").StoreDefinition<"form", {
|
|
|
16
16
|
code: string;
|
|
17
17
|
controlType: import("@win2win/shared").ControlType;
|
|
18
18
|
label?: string | undefined;
|
|
19
|
-
type?: "
|
|
19
|
+
type?: "text" | "number" | "tel" | "textarea" | undefined;
|
|
20
20
|
name: string;
|
|
21
21
|
defaultValue?: string | number | undefined;
|
|
22
22
|
validators?: {
|
|
23
|
-
validator:
|
|
23
|
+
validator: import("../components/DynamicForm/control-validators").Validator;
|
|
24
24
|
param?: string | number | undefined;
|
|
25
25
|
}[] | undefined;
|
|
26
26
|
options?: {
|
|
@@ -31,8 +31,8 @@ export declare const useFormStore: import("pinia").StoreDefinition<"form", {
|
|
|
31
31
|
}[] | undefined;
|
|
32
32
|
conditions?: {
|
|
33
33
|
logic: "AND" | "OR";
|
|
34
|
-
children: any[];
|
|
35
|
-
operator: "
|
|
34
|
+
children: /*elided*/ any[];
|
|
35
|
+
operator: import("../components/DynamicForm/models").ConditionOperator;
|
|
36
36
|
id: number;
|
|
37
37
|
value: string;
|
|
38
38
|
}[] | undefined;
|
|
@@ -46,11 +46,11 @@ export declare const useFormStore: import("pinia").StoreDefinition<"form", {
|
|
|
46
46
|
code: string;
|
|
47
47
|
controlType: import("@win2win/shared").ControlType;
|
|
48
48
|
label?: string | undefined;
|
|
49
|
-
type?: "
|
|
49
|
+
type?: "text" | "number" | "tel" | "textarea" | undefined;
|
|
50
50
|
name: string;
|
|
51
51
|
defaultValue?: string | number | undefined;
|
|
52
52
|
validators?: {
|
|
53
|
-
validator:
|
|
53
|
+
validator: import("../components/DynamicForm/control-validators").Validator;
|
|
54
54
|
param?: string | number | undefined;
|
|
55
55
|
}[] | undefined;
|
|
56
56
|
options?: {
|
|
@@ -61,8 +61,8 @@ export declare const useFormStore: import("pinia").StoreDefinition<"form", {
|
|
|
61
61
|
}[] | undefined;
|
|
62
62
|
conditions?: {
|
|
63
63
|
logic: "AND" | "OR";
|
|
64
|
-
children: any[];
|
|
65
|
-
operator: "
|
|
64
|
+
children: /*elided*/ any[];
|
|
65
|
+
operator: import("../components/DynamicForm/models").ConditionOperator;
|
|
66
66
|
id: number;
|
|
67
67
|
value: string;
|
|
68
68
|
}[] | undefined;
|
|
@@ -72,7 +72,7 @@ export declare const useFormStore: import("pinia").StoreDefinition<"form", {
|
|
|
72
72
|
prefix?: string | undefined;
|
|
73
73
|
row: number;
|
|
74
74
|
col: number;
|
|
75
|
-
structure: any[];
|
|
75
|
+
structure: /*elided*/ any[];
|
|
76
76
|
group: number;
|
|
77
77
|
title: string;
|
|
78
78
|
customParams?: {
|
|
@@ -119,11 +119,11 @@ export declare const useFormStore: import("pinia").StoreDefinition<"form", {
|
|
|
119
119
|
code: string;
|
|
120
120
|
controlType: import("@win2win/shared").ControlType;
|
|
121
121
|
label?: string | undefined;
|
|
122
|
-
type?: "
|
|
122
|
+
type?: "text" | "number" | "tel" | "textarea" | undefined;
|
|
123
123
|
name: string;
|
|
124
124
|
defaultValue?: string | number | undefined;
|
|
125
125
|
validators?: {
|
|
126
|
-
validator:
|
|
126
|
+
validator: import("../components/DynamicForm/control-validators").Validator;
|
|
127
127
|
param?: string | number | undefined;
|
|
128
128
|
}[] | undefined;
|
|
129
129
|
options?: {
|
|
@@ -134,8 +134,8 @@ export declare const useFormStore: import("pinia").StoreDefinition<"form", {
|
|
|
134
134
|
}[] | undefined;
|
|
135
135
|
conditions?: {
|
|
136
136
|
logic: "AND" | "OR";
|
|
137
|
-
children: any[];
|
|
138
|
-
operator: "
|
|
137
|
+
children: /*elided*/ any[];
|
|
138
|
+
operator: import("../components/DynamicForm/models").ConditionOperator;
|
|
139
139
|
id: number;
|
|
140
140
|
value: string;
|
|
141
141
|
}[] | undefined;
|
|
@@ -149,11 +149,11 @@ export declare const useFormStore: import("pinia").StoreDefinition<"form", {
|
|
|
149
149
|
code: string;
|
|
150
150
|
controlType: import("@win2win/shared").ControlType;
|
|
151
151
|
label?: string | undefined;
|
|
152
|
-
type?: "
|
|
152
|
+
type?: "text" | "number" | "tel" | "textarea" | undefined;
|
|
153
153
|
name: string;
|
|
154
154
|
defaultValue?: string | number | undefined;
|
|
155
155
|
validators?: {
|
|
156
|
-
validator:
|
|
156
|
+
validator: import("../components/DynamicForm/control-validators").Validator;
|
|
157
157
|
param?: string | number | undefined;
|
|
158
158
|
}[] | undefined;
|
|
159
159
|
options?: {
|
|
@@ -164,8 +164,8 @@ export declare const useFormStore: import("pinia").StoreDefinition<"form", {
|
|
|
164
164
|
}[] | undefined;
|
|
165
165
|
conditions?: {
|
|
166
166
|
logic: "AND" | "OR";
|
|
167
|
-
children: any[];
|
|
168
|
-
operator: "
|
|
167
|
+
children: /*elided*/ any[];
|
|
168
|
+
operator: import("../components/DynamicForm/models").ConditionOperator;
|
|
169
169
|
id: number;
|
|
170
170
|
value: string;
|
|
171
171
|
}[] | undefined;
|
|
@@ -175,7 +175,7 @@ export declare const useFormStore: import("pinia").StoreDefinition<"form", {
|
|
|
175
175
|
prefix?: string | undefined;
|
|
176
176
|
row: number;
|
|
177
177
|
col: number;
|
|
178
|
-
structure: any[];
|
|
178
|
+
structure: /*elided*/ any[];
|
|
179
179
|
group: number;
|
|
180
180
|
title: string;
|
|
181
181
|
customParams?: {
|
|
@@ -215,11 +215,11 @@ export declare const useFormStore: import("pinia").StoreDefinition<"form", {
|
|
|
215
215
|
code: string;
|
|
216
216
|
controlType: import("@win2win/shared").ControlType;
|
|
217
217
|
label?: string | undefined;
|
|
218
|
-
type?: "
|
|
218
|
+
type?: "text" | "number" | "tel" | "textarea" | undefined;
|
|
219
219
|
name: string;
|
|
220
220
|
defaultValue?: string | number | undefined;
|
|
221
221
|
validators?: {
|
|
222
|
-
validator:
|
|
222
|
+
validator: import("../components/DynamicForm/control-validators").Validator;
|
|
223
223
|
param?: string | number | undefined;
|
|
224
224
|
}[] | undefined;
|
|
225
225
|
options?: {
|
|
@@ -230,8 +230,8 @@ export declare const useFormStore: import("pinia").StoreDefinition<"form", {
|
|
|
230
230
|
}[] | undefined;
|
|
231
231
|
conditions?: {
|
|
232
232
|
logic: "AND" | "OR";
|
|
233
|
-
children: any[];
|
|
234
|
-
operator: "
|
|
233
|
+
children: /*elided*/ any[];
|
|
234
|
+
operator: import("../components/DynamicForm/models").ConditionOperator;
|
|
235
235
|
id: number;
|
|
236
236
|
value: string;
|
|
237
237
|
}[] | undefined;
|
|
@@ -245,11 +245,11 @@ export declare const useFormStore: import("pinia").StoreDefinition<"form", {
|
|
|
245
245
|
code: string;
|
|
246
246
|
controlType: import("@win2win/shared").ControlType;
|
|
247
247
|
label?: string | undefined;
|
|
248
|
-
type?: "
|
|
248
|
+
type?: "text" | "number" | "tel" | "textarea" | undefined;
|
|
249
249
|
name: string;
|
|
250
250
|
defaultValue?: string | number | undefined;
|
|
251
251
|
validators?: {
|
|
252
|
-
validator:
|
|
252
|
+
validator: import("../components/DynamicForm/control-validators").Validator;
|
|
253
253
|
param?: string | number | undefined;
|
|
254
254
|
}[] | undefined;
|
|
255
255
|
options?: {
|
|
@@ -260,8 +260,8 @@ export declare const useFormStore: import("pinia").StoreDefinition<"form", {
|
|
|
260
260
|
}[] | undefined;
|
|
261
261
|
conditions?: {
|
|
262
262
|
logic: "AND" | "OR";
|
|
263
|
-
children: any[];
|
|
264
|
-
operator: "
|
|
263
|
+
children: /*elided*/ any[];
|
|
264
|
+
operator: import("../components/DynamicForm/models").ConditionOperator;
|
|
265
265
|
id: number;
|
|
266
266
|
value: string;
|
|
267
267
|
}[] | undefined;
|
|
@@ -271,7 +271,7 @@ export declare const useFormStore: import("pinia").StoreDefinition<"form", {
|
|
|
271
271
|
prefix?: string | undefined;
|
|
272
272
|
row: number;
|
|
273
273
|
col: number;
|
|
274
|
-
structure: any[];
|
|
274
|
+
structure: /*elided*/ any[];
|
|
275
275
|
group: number;
|
|
276
276
|
title: string;
|
|
277
277
|
customParams?: {
|
|
@@ -321,11 +321,11 @@ export declare const useFormStore: import("pinia").StoreDefinition<"form", {
|
|
|
321
321
|
code: string;
|
|
322
322
|
controlType: import("@win2win/shared").ControlType;
|
|
323
323
|
label?: string | undefined;
|
|
324
|
-
type?: "
|
|
324
|
+
type?: "text" | "number" | "tel" | "textarea" | undefined;
|
|
325
325
|
name: string;
|
|
326
326
|
defaultValue?: string | number | undefined;
|
|
327
327
|
validators?: {
|
|
328
|
-
validator:
|
|
328
|
+
validator: import("../components/DynamicForm/control-validators").Validator;
|
|
329
329
|
param?: string | number | undefined;
|
|
330
330
|
}[] | undefined;
|
|
331
331
|
options?: {
|
|
@@ -336,8 +336,8 @@ export declare const useFormStore: import("pinia").StoreDefinition<"form", {
|
|
|
336
336
|
}[] | undefined;
|
|
337
337
|
conditions?: {
|
|
338
338
|
logic: "AND" | "OR";
|
|
339
|
-
children: any[];
|
|
340
|
-
operator: "
|
|
339
|
+
children: /*elided*/ any[];
|
|
340
|
+
operator: import("../components/DynamicForm/models").ConditionOperator;
|
|
341
341
|
id: number;
|
|
342
342
|
value: string;
|
|
343
343
|
}[] | undefined;
|
|
@@ -351,11 +351,11 @@ export declare const useFormStore: import("pinia").StoreDefinition<"form", {
|
|
|
351
351
|
code: string;
|
|
352
352
|
controlType: import("@win2win/shared").ControlType;
|
|
353
353
|
label?: string | undefined;
|
|
354
|
-
type?: "
|
|
354
|
+
type?: "text" | "number" | "tel" | "textarea" | undefined;
|
|
355
355
|
name: string;
|
|
356
356
|
defaultValue?: string | number | undefined;
|
|
357
357
|
validators?: {
|
|
358
|
-
validator:
|
|
358
|
+
validator: import("../components/DynamicForm/control-validators").Validator;
|
|
359
359
|
param?: string | number | undefined;
|
|
360
360
|
}[] | undefined;
|
|
361
361
|
options?: {
|
|
@@ -366,8 +366,8 @@ export declare const useFormStore: import("pinia").StoreDefinition<"form", {
|
|
|
366
366
|
}[] | undefined;
|
|
367
367
|
conditions?: {
|
|
368
368
|
logic: "AND" | "OR";
|
|
369
|
-
children: any[];
|
|
370
|
-
operator: "
|
|
369
|
+
children: /*elided*/ any[];
|
|
370
|
+
operator: import("../components/DynamicForm/models").ConditionOperator;
|
|
371
371
|
id: number;
|
|
372
372
|
value: string;
|
|
373
373
|
}[] | undefined;
|
|
@@ -377,7 +377,7 @@ export declare const useFormStore: import("pinia").StoreDefinition<"form", {
|
|
|
377
377
|
prefix?: string | undefined;
|
|
378
378
|
row: number;
|
|
379
379
|
col: number;
|
|
380
|
-
structure: any[];
|
|
380
|
+
structure: /*elided*/ any[];
|
|
381
381
|
group: number;
|
|
382
382
|
title: string;
|
|
383
383
|
customParams?: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useFormStore.d.ts","sourceRoot":"","sources":["../../src/stores/useFormStore.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,gBAAgB,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AAE7F,eAAO,MAAM,YAAY
|
|
1
|
+
{"version":3,"file":"useFormStore.d.ts","sourceRoot":"","sources":["../../src/stores/useFormStore.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,gBAAgB,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AAE7F,eAAO,MAAM,YAAY;eAEJ,aAAa,EAAE;;;iBAGb,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAAnB,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;;mBAHrB,aAAa,EAAE;;;qBAGb,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAAnB,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;;mBAHrB,aAAa,EAAE;;;qBAGb,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;;oBAiEtB,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAjEJ,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;;mBAHrB,aAAa,EAAE;;;qBAGb,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;eAuEvB,MAAM;;+BApEM,QAAQ,EAAE;;;+BAWV,MAAM,gBAAgB,gBAAgB;oCAapD,MAAM,aACN,MAAM,WACR,OAAO;qCASL,MAAM,aACN,MAAM,eACJ,MAAM;4BAQG,OAAO;;uBAMZ,MAAM,SAAS,GAAG;EAoBvC,CAAC"}
|