@c3labsbr/vuetify-elements 1.17.0 → 1.18.2

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.
Files changed (55) hide show
  1. package/README.md +16 -0
  2. package/dist/components/molecules/ColorPaletteField.vue.d.ts +17 -0
  3. package/dist/components/molecules/ColorPaletteField.vue.d.ts.map +1 -0
  4. package/dist/components/molecules/DateTimePicker.vue.d.ts +141 -0
  5. package/dist/components/molecules/DateTimePicker.vue.d.ts.map +1 -0
  6. package/dist/components/molecules/HourField.vue.d.ts +20 -0
  7. package/dist/components/molecules/HourField.vue.d.ts.map +1 -0
  8. package/dist/components/molecules/RemoteMultipleSearchField.vue.d.ts +31 -0
  9. package/dist/components/molecules/RemoteMultipleSearchField.vue.d.ts.map +1 -0
  10. package/dist/components/molecules/RemoteSearchField.vue.d.ts +37 -0
  11. package/dist/components/molecules/RemoteSearchField.vue.d.ts.map +1 -0
  12. package/dist/components/molecules/SearchAutocomplete.vue.d.ts +1 -1
  13. package/dist/components/molecules/SearchAutocomplete.vue.d.ts.map +1 -1
  14. package/dist/components/molecules/__tests__/DateTimePicker.spec.d.ts +2 -0
  15. package/dist/components/molecules/__tests__/DateTimePicker.spec.d.ts.map +1 -0
  16. package/dist/components/molecules/__tests__/FormFieldComponents.spec.d.ts +2 -0
  17. package/dist/components/molecules/__tests__/FormFieldComponents.spec.d.ts.map +1 -0
  18. package/dist/components/molecules/__tests__/RemoteSearchField.spec.d.ts +2 -0
  19. package/dist/components/molecules/__tests__/RemoteSearchField.spec.d.ts.map +1 -0
  20. package/dist/components/organisms/FormFields.vue.d.ts +2 -0
  21. package/dist/components/organisms/FormFields.vue.d.ts.map +1 -1
  22. package/dist/components/organisms/__tests__/FormFields.spec.d.ts +2 -0
  23. package/dist/components/organisms/__tests__/FormFields.spec.d.ts.map +1 -0
  24. package/dist/components/templates/GenericForm.vue.d.ts +69 -3
  25. package/dist/components/templates/GenericForm.vue.d.ts.map +1 -1
  26. package/dist/components/templates/GenericFormFlat.vue.d.ts +51 -1
  27. package/dist/components/templates/GenericFormFlat.vue.d.ts.map +1 -1
  28. package/dist/components/templates/__tests__/GenericForm.spec.d.ts +2 -0
  29. package/dist/components/templates/__tests__/GenericForm.spec.d.ts.map +1 -0
  30. package/dist/components/templates/__tests__/GenericFormFlat.spec.d.ts +2 -0
  31. package/dist/components/templates/__tests__/GenericFormFlat.spec.d.ts.map +1 -0
  32. package/dist/components/templates/form-props.d.ts +36 -0
  33. package/dist/components/templates/form-props.d.ts.map +1 -1
  34. package/dist/composables/useAsyncAutocomplete.d.ts +1 -1
  35. package/dist/composables/useAsyncAutocomplete.d.ts.map +1 -1
  36. package/dist/helpers/__tests__/form-masks.spec.d.ts +2 -0
  37. package/dist/helpers/__tests__/form-masks.spec.d.ts.map +1 -0
  38. package/dist/helpers/__tests__/useFieldHelpers.spec.d.ts +2 -0
  39. package/dist/helpers/__tests__/useFieldHelpers.spec.d.ts.map +1 -0
  40. package/dist/helpers/form-masks.d.ts +11 -0
  41. package/dist/helpers/form-masks.d.ts.map +1 -0
  42. package/dist/index-InambORc.js +57912 -0
  43. package/dist/index-pD3wKtLv.cjs +114 -0
  44. package/dist/index.d.ts +7 -0
  45. package/dist/index.d.ts.map +1 -1
  46. package/dist/{index.es-ZSH4xvYT.js → index.es-DMddIcpM.js} +1 -1
  47. package/dist/{index.es-B0B2fTi5.cjs → index.es-DvZE8ua2.cjs} +1 -1
  48. package/dist/interfaces/genericForm.d.ts +6 -2
  49. package/dist/interfaces/genericForm.d.ts.map +1 -1
  50. package/dist/vuetify-elements.cjs.js +1 -1
  51. package/dist/vuetify-elements.css +1 -1
  52. package/dist/vuetify-elements.es.js +28 -21
  53. package/package.json +6 -2
  54. package/dist/index-CB-foSPY.cjs +0 -110
  55. package/dist/index-DRwKjJD6.js +0 -51439
package/README.md CHANGED
@@ -19,3 +19,19 @@ Props opcionais (todas com default que preserva o comportamento anterior):
19
19
  No `IHeader`: `filterable: false` tira a coluna do filtro, `filterField` define o nome do campo no servidor (padrão: `value` com `.` trocado por `__`) e `filterOptions` informa uma lista fixa de opções.
20
20
 
21
21
  Um filtro `icontains` vem do texto digitado e um filtro `in` das opções marcadas. `buildColumnFilterParams(filters)` converte para parâmetros de query (`campo=texto`, `campo__in=a&campo__in=b`).
22
+
23
+ ## GenericForm / GenericFormFlat
24
+
25
+ Props opcionais (todas com default que preserva o comportamento anterior):
26
+
27
+ | Prop | Valores | Efeito |
28
+ | --- | --- | --- |
29
+ | `validationMode` | `'live'` (default) \| `'submit'` | `live` desabilita o botão até o `VForm` ser válido. `submit` roda as `rules` de cada campo ao enviar, grava `field.error` e só emite `submit` sem erros; também envia `null` para `date`/`datetime` vazios e inclui o `secondField` no payload. |
30
+ | `maskMode` | `'unmasked'` (default) \| `'masked'` | `masked` guarda o texto mascarado em `field.value` e no payload (`maskType`, `getMaskType`, `maskFunction`), usando `applyFormMask`. |
31
+ | `searchMode` | `'native'` (default) \| `'remote'` | `remote` renderiza `searchAutocomplete` com `RemoteSearchField`/`RemoteMultipleSearchField` (menu próprio, resolve o item pré-preenchido, `secondSearchParam`, `appendIcon*`, `createComponent`, `exclude`, `searchContextKey`). |
32
+ | `disableSubmit` | `boolean` | Bloqueia o envio e desabilita o botão. |
33
+ | `notClearOnClose` | `boolean` | No `GenericForm`, mantém os valores editados ao fechar o diálogo. |
34
+
35
+ `GenericFormFlat` expõe `formRef` (o `VForm`) e `GenericForm` aceita o slot `beforeClose` e repassa os eventos `updateField`, `updateSearch`, `addCount` e `removeCount`.
36
+
37
+ Tipos de campo adicionais em `IField.type`: `section` (cabeçalho via `section: { title, icon }`), `phone`, `hour`, `color-picker` (usa `defaultColors`) e `datetime` (flatpickr, aceita `config`, `minDate`, `description`).
@@ -0,0 +1,17 @@
1
+ type __VLS_Props = {
2
+ label?: string;
3
+ defaultColors?: string[];
4
+ };
5
+ type __VLS_PublicProps = {
6
+ 'value'?: string | null;
7
+ 'errorMessages'?: string | string[] | boolean;
8
+ } & __VLS_Props;
9
+ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
10
+ "update:value": (value: string) => any;
11
+ "update:errorMessages": (value: string | boolean | string[]) => any;
12
+ }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
13
+ "onUpdate:value"?: (value: string) => any;
14
+ "onUpdate:errorMessages"?: (value: string | boolean | string[]) => any;
15
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
16
+ export default _default;
17
+ //# sourceMappingURL=ColorPaletteField.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ColorPaletteField.vue.d.ts","sourceRoot":"","sources":["../../../src/components/molecules/ColorPaletteField.vue"],"names":[],"mappings":"AA2EA,KAAK,WAAW,GAAG;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,aAAa,CAAC,EAAE,MAAM,EAAE,CAAC;CAC1B,CAAC;AA6BF,KAAK,iBAAiB,GAAG;IACzB,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,eAAe,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,GAAG,OAAO,CAAC;CAC7C,GAAG,WAAW,CAAC;;;;;;;;AA8MhB,wBAQG"}
@@ -0,0 +1,141 @@
1
+ import { default as flatpickr } from 'flatpickr';
2
+ type __VLS_Props = {
3
+ label?: string;
4
+ placeholder?: string;
5
+ hint?: string;
6
+ persistentHint?: boolean;
7
+ errorText?: string | boolean;
8
+ disabled?: boolean;
9
+ readonly?: boolean;
10
+ rules?: any[];
11
+ config?: Record<string, any>;
12
+ minDate?: string | Date | null;
13
+ allDay?: boolean;
14
+ variant?: 'outlined' | 'filled' | 'underlined' | 'plain' | 'solo';
15
+ prependIcon?: string;
16
+ appendIcon?: string;
17
+ prependInnerIcon?: string;
18
+ appendInnerIcon?: string;
19
+ };
20
+ type __VLS_PublicProps = {
21
+ 'modelValue'?: string | string[] | null;
22
+ } & __VLS_Props;
23
+ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
24
+ "update:modelValue": (value: string | string[]) => any;
25
+ } & {
26
+ "click:clear": (event: Event) => any;
27
+ }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
28
+ "onUpdate:modelValue"?: (value: string | string[]) => any;
29
+ "onClick:clear"?: (event: Event) => any;
30
+ }>, {
31
+ variant: "outlined" | "filled" | "underlined" | "plain" | "solo";
32
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
33
+ refFlatPicker: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
34
+ modelValue: {
35
+ type: import('vue').PropType<import('flatpickr/dist/types/options').DateOption | import('flatpickr/dist/types/options').DateOption[] | null>;
36
+ required: true;
37
+ };
38
+ config: {
39
+ type: import('vue').PropType<Partial<import('flatpickr/dist/types/options').BaseOptions>>;
40
+ default: () => {
41
+ defaultDate: null;
42
+ wrap: boolean;
43
+ };
44
+ };
45
+ events: {
46
+ type: import('vue').PropType<import('flatpickr/dist/types/options').HookKey[]>;
47
+ default: () => import('flatpickr/dist/types/options').HookKey[];
48
+ };
49
+ disabled: {
50
+ type: BooleanConstructor;
51
+ default: boolean;
52
+ };
53
+ }>> & {
54
+ onBlur?: ((...args: any[]) => any) | undefined;
55
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
56
+ "onOn-change"?: ((...args: any[]) => any) | undefined;
57
+ "onOn-close"?: ((...args: any[]) => any) | undefined;
58
+ "onOn-day-create"?: ((...args: any[]) => any) | undefined;
59
+ "onOn-destroy"?: ((...args: any[]) => any) | undefined;
60
+ "onOn-key-down"?: ((...args: any[]) => any) | undefined;
61
+ "onOn-month-change"?: ((...args: any[]) => any) | undefined;
62
+ "onOn-open"?: ((...args: any[]) => any) | undefined;
63
+ "onOn-parse-config"?: ((...args: any[]) => any) | undefined;
64
+ "onOn-ready"?: ((...args: any[]) => any) | undefined;
65
+ "onOn-value-update"?: ((...args: any[]) => any) | undefined;
66
+ "onOn-year-change"?: ((...args: any[]) => any) | undefined;
67
+ "onOn-pre-calendar-position"?: ((...args: any[]) => any) | undefined;
68
+ }, unknown, {
69
+ fp: import('flatpickr/dist/types/instance').Instance | null;
70
+ }, {}, {
71
+ prepareConfig(): flatpickr.Options.Options;
72
+ getElem(): HTMLInputElement;
73
+ onInput(event: InputEvent): void;
74
+ fpInput(): HTMLInputElement;
75
+ onBlur(event: Event): void;
76
+ onClose(selectedDates: Date[], dateStr: string): void;
77
+ watchDisabled(newState: boolean): void;
78
+ }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("blur" | "update:modelValue" | "on-change" | "on-close" | "on-day-create" | "on-destroy" | "on-key-down" | "on-month-change" | "on-open" | "on-parse-config" | "on-ready" | "on-value-update" | "on-year-change" | "on-pre-calendar-position")[], import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, {
79
+ config: Partial<import('flatpickr/dist/types/options').BaseOptions>;
80
+ events: import('flatpickr/dist/types/options').HookKey[];
81
+ disabled: boolean;
82
+ }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
83
+ P: {};
84
+ B: {};
85
+ D: {};
86
+ C: {};
87
+ M: {};
88
+ Defaults: {};
89
+ }, Readonly<import('vue').ExtractPropTypes<{
90
+ modelValue: {
91
+ type: import('vue').PropType<import('flatpickr/dist/types/options').DateOption | import('flatpickr/dist/types/options').DateOption[] | null>;
92
+ required: true;
93
+ };
94
+ config: {
95
+ type: import('vue').PropType<Partial<import('flatpickr/dist/types/options').BaseOptions>>;
96
+ default: () => {
97
+ defaultDate: null;
98
+ wrap: boolean;
99
+ };
100
+ };
101
+ events: {
102
+ type: import('vue').PropType<import('flatpickr/dist/types/options').HookKey[]>;
103
+ default: () => import('flatpickr/dist/types/options').HookKey[];
104
+ };
105
+ disabled: {
106
+ type: BooleanConstructor;
107
+ default: boolean;
108
+ };
109
+ }>> & {
110
+ onBlur?: ((...args: any[]) => any) | undefined;
111
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
112
+ "onOn-change"?: ((...args: any[]) => any) | undefined;
113
+ "onOn-close"?: ((...args: any[]) => any) | undefined;
114
+ "onOn-day-create"?: ((...args: any[]) => any) | undefined;
115
+ "onOn-destroy"?: ((...args: any[]) => any) | undefined;
116
+ "onOn-key-down"?: ((...args: any[]) => any) | undefined;
117
+ "onOn-month-change"?: ((...args: any[]) => any) | undefined;
118
+ "onOn-open"?: ((...args: any[]) => any) | undefined;
119
+ "onOn-parse-config"?: ((...args: any[]) => any) | undefined;
120
+ "onOn-ready"?: ((...args: any[]) => any) | undefined;
121
+ "onOn-value-update"?: ((...args: any[]) => any) | undefined;
122
+ "onOn-year-change"?: ((...args: any[]) => any) | undefined;
123
+ "onOn-pre-calendar-position"?: ((...args: any[]) => any) | undefined;
124
+ }, {}, {
125
+ fp: import('flatpickr/dist/types/instance').Instance | null;
126
+ }, {}, {
127
+ prepareConfig(): flatpickr.Options.Options;
128
+ getElem(): HTMLInputElement;
129
+ onInput(event: InputEvent): void;
130
+ fpInput(): HTMLInputElement;
131
+ onBlur(event: Event): void;
132
+ onClose(selectedDates: Date[], dateStr: string): void;
133
+ watchDisabled(newState: boolean): void;
134
+ }, {
135
+ config: Partial<import('flatpickr/dist/types/options').BaseOptions>;
136
+ events: import('flatpickr/dist/types/options').HookKey[];
137
+ disabled: boolean;
138
+ }>;
139
+ }, HTMLDivElement>;
140
+ export default _default;
141
+ //# sourceMappingURL=DateTimePicker.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DateTimePicker.vue.d.ts","sourceRoot":"","sources":["../../../src/components/molecules/DateTimePicker.vue"],"names":[],"mappings":"AAqNA,OAAO,SAAS,MAAM,WAAW,CAAC;AAGlC,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAgFT,GA7GkD;kCA6GlD,GAxGU;0BAwGV,GAtGwB;yBAsGxB,GApGa;8BAoGb,GAlGkB;2BAkGlB,GA/FG;4BA+FH,GA7FO;gCA6FP,GA5FgC;wBA4FhC,GAzFiB;gCAyFjB,GAxFI;yBAwFJ,GAtFqB;gCAsFrB,GAnFO;+BAmFP,GAlF6C;yCAkF7C,GAhFS;;;;;;;;;;;;;;;;;AAmYT,wBAUG"}
@@ -0,0 +1,20 @@
1
+ type __VLS_Props = {
2
+ error?: string;
3
+ disabled?: boolean;
4
+ label?: string;
5
+ rules?: Array<(v: any) => true | string>;
6
+ };
7
+ type __VLS_PublicProps = {
8
+ 'value'?: string | null;
9
+ } & __VLS_Props;
10
+ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
11
+ "update:value": (value: string) => any;
12
+ }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
13
+ "onUpdate:value"?: (value: string) => any;
14
+ }>, {
15
+ disabled: boolean;
16
+ error: string;
17
+ rules: Array<(v: any) => true | string>;
18
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
19
+ export default _default;
20
+ //# sourceMappingURL=HourField.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HourField.vue.d.ts","sourceRoot":"","sources":["../../../src/components/molecules/HourField.vue"],"names":[],"mappings":"AAsCA,KAAK,WAAW,GAAG;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,KAAK,CAAC,CAAC,CAAC,EAAE,GAAG,KAAK,IAAI,GAAG,MAAM,CAAC,CAAC;CAC1C,CAAC;AAkBJ,KAAK,iBAAiB,GAAG;IACzB,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACvB,GAAG,WAAW,CAAC;;;;;;cAvBD,OAAO;WADV,MAAM;WAGN,KAAK,CAAC,CAAC,CAAC,EAAE,GAAG,KAAK,IAAI,GAAG,MAAM,CAAC;;AAwF5C,wBASG"}
@@ -0,0 +1,31 @@
1
+ interface IProps {
2
+ searchFunction: any;
3
+ placeholder?: string;
4
+ label?: string;
5
+ itemTitle: string;
6
+ itemValue: string;
7
+ itemComponent?: any;
8
+ errors?: string | null;
9
+ returnObject?: boolean;
10
+ secondParam?: any;
11
+ createComponent?: any;
12
+ createData?: any;
13
+ disabled?: boolean;
14
+ notClearOnUnmounted?: boolean;
15
+ exclude?: () => string[];
16
+ }
17
+ type __VLS_Props = IProps;
18
+ declare const items: import('vue').ModelRef<unknown[], string, unknown[], unknown[]>;
19
+ type __VLS_PublicProps = {
20
+ "value"?: any[];
21
+ "items"?: typeof items['value'];
22
+ } & __VLS_Props;
23
+ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
24
+ "update:value": (...args: any[]) => void;
25
+ "update:items": (value: unknown[]) => void;
26
+ }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
27
+ "onUpdate:items"?: (value: unknown[]) => any;
28
+ "onUpdate:value"?: (...args: any[]) => any;
29
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
30
+ export default _default;
31
+ //# sourceMappingURL=RemoteMultipleSearchField.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RemoteMultipleSearchField.vue.d.ts","sourceRoot":"","sources":["../../../src/components/molecules/RemoteMultipleSearchField.vue"],"names":[],"mappings":"AAwXE,UAAU,MAAM;IACd,cAAc,EAAE,GAAG,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,aAAa,CAAC,EAAE,GAAG,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,WAAW,CAAC,EAAE,GAAG,CAAC;IAClB,eAAe,CAAC,EAAE,GAAG,CAAC;IACtB,UAAU,CAAC,EAAE,GAAG,CAAC;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,OAAO,CAAC,EAAE,MAAM,MAAM,EAAE,CAAC;CAC1B;AAED,KAAK,WAAW,GAAG,MAAM,CAAC;AAO1B,QAAA,MAAM,KAAK,iEAGT,CAAC;AAwML,KAAK,iBAAiB,GAAG;IACzB,OAAO,CAAC,EAAE,GAAG,EAAE,CAAC;IAChB,OAAO,CAAC,EAAE,OAAO,KAAK,CAAC,OAAO,CAAC,CAAC;CAC/B,GAAG,WAAW,CAAC;;;;;;;;AA0WhB,wBAUG"}
@@ -0,0 +1,37 @@
1
+ interface IProps {
2
+ searchFunction: any;
3
+ placeholder?: string | undefined;
4
+ label?: string | undefined;
5
+ itemTitle: string;
6
+ itemValue: string;
7
+ itemSubtitle?: string;
8
+ itemComponent?: any;
9
+ errors?: string | null;
10
+ returnObject?: boolean;
11
+ secondParam?: any;
12
+ createComponent?: any;
13
+ createData?: any;
14
+ disabled?: boolean;
15
+ notClearOnUnmounted?: boolean;
16
+ appendIcon?: string;
17
+ appendIconAction?: Function;
18
+ appendIconTooltip?: string;
19
+ appendIconColor?: string;
20
+ appendIconAlwaysActive?: boolean;
21
+ searchContextKey?: string;
22
+ exclude?: () => string[];
23
+ }
24
+ type __VLS_Props = IProps;
25
+ type __VLS_PublicProps = {
26
+ "value"?: any | null;
27
+ "items"?: any[];
28
+ } & __VLS_Props;
29
+ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
30
+ "update:value": (...args: any[]) => void;
31
+ "update:items": (value: any[]) => void;
32
+ }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
33
+ "onUpdate:items"?: (value: any[]) => any;
34
+ "onUpdate:value"?: (...args: any[]) => any;
35
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
36
+ export default _default;
37
+ //# sourceMappingURL=RemoteSearchField.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RemoteSearchField.vue.d.ts","sourceRoot":"","sources":["../../../src/components/molecules/RemoteSearchField.vue"],"names":[],"mappings":"AA2YE,UAAU,MAAM;IACd,cAAc,EAAE,GAAG,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,aAAa,CAAC,EAAE,GAAG,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,WAAW,CAAC,EAAE,GAAG,CAAC;IAClB,eAAe,CAAC,EAAE,GAAG,CAAC;IACtB,UAAU,CAAC,EAAE,GAAG,CAAC;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,gBAAgB,CAAC,EAAE,QAAQ,CAAC;IAC5B,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,sBAAsB,CAAC,EAAE,OAAO,CAAC;IACjC,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,OAAO,CAAC,EAAE,MAAM,MAAM,EAAE,CAAC;CAC1B;AAED,KAAK,WAAW,GAAG,MAAM,CAAC;AAyN5B,KAAK,iBAAiB,GAAG;IACzB,OAAO,CAAC,EAAE,GAAG,GAAG,IAAI,CAAC;IACrB,OAAO,CAAC,EAAE,GAAG,EAAE,CAAC;CACf,GAAG,WAAW,CAAC;;;;;;;;AAgZhB,wBAUG"}
@@ -1,5 +1,5 @@
1
1
  export interface AsyncAutocompleteProps<T> {
2
- searchFunction?: (query: string, context?: unknown) => Promise<T[]>;
2
+ searchFunction?: (query: string, ...args: any[]) => Promise<T[]> | T[];
3
3
  label: string;
4
4
  placeholder?: string;
5
5
  itemTitle?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"SearchAutocomplete.vue.d.ts","sourceRoot":"","sources":["../../../src/components/molecules/SearchAutocomplete.vue"],"names":[],"mappings":"AAiHA,MAAM,WAAW,sBAAsB,CAAC,CAAC;IACvC,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,OAAO,KAAK,OAAO,CAAC,CAAC,EAAE,CAAC,CAAC;IACpE,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,KAAK,CAAC,EAAE,GAAG,EAAE,CAAC;IACd,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,OAAO,CAAC,EAAE,QAAQ,CAAC;IACnB,gBAAgB,CAAC,EAAE,GAAG,CAAC;IACvB,eAAe,CAAC,EAAE,GAAG,CAAC;IACtB,UAAU,CAAC,EAAE,GAAG,CAAC;IACjB,aAAa,CAAC,EAAE,GAAG,CAAC;CACrB;AAED,KAAK,WAAW,GAAG,sBAAsB,CAAC,GAAG,CAAC,CAAC;AA+C/C,KAAK,iBAAiB,GAAG;IACzB,OAAO,CAAC,EAAE,GAAG,GAAG,GAAG,EAAE,GAAG,IAAI,CAAC;IAC7B,OAAO,CAAC,EAAE,GAAG,EAAE,CAAC;CACf,GAAG,WAAW,CAAC;;;;;;;;AAyKhB,wBAOG"}
1
+ {"version":3,"file":"SearchAutocomplete.vue.d.ts","sourceRoot":"","sources":["../../../src/components/molecules/SearchAutocomplete.vue"],"names":[],"mappings":"AAiHA,MAAM,WAAW,sBAAsB,CAAC,CAAC;IACvC,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,OAAO,CAAC,CAAC,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC;IACvE,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,KAAK,CAAC,EAAE,GAAG,EAAE,CAAC;IACd,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,OAAO,CAAC,EAAE,QAAQ,CAAC;IACnB,gBAAgB,CAAC,EAAE,GAAG,CAAC;IACvB,eAAe,CAAC,EAAE,GAAG,CAAC;IACtB,UAAU,CAAC,EAAE,GAAG,CAAC;IACjB,aAAa,CAAC,EAAE,GAAG,CAAC;CACrB;AAED,KAAK,WAAW,GAAG,sBAAsB,CAAC,GAAG,CAAC,CAAC;AA+C/C,KAAK,iBAAiB,GAAG;IACzB,OAAO,CAAC,EAAE,GAAG,GAAG,GAAG,EAAE,GAAG,IAAI,CAAC;IAC7B,OAAO,CAAC,EAAE,GAAG,EAAE,CAAC;CACf,GAAG,WAAW,CAAC;;;;;;;;AAyKhB,wBAOG"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=DateTimePicker.spec.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DateTimePicker.spec.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/__tests__/DateTimePicker.spec.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=FormFieldComponents.spec.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FormFieldComponents.spec.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/__tests__/FormFieldComponents.spec.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=RemoteSearchField.spec.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RemoteSearchField.spec.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/__tests__/RemoteSearchField.spec.ts"],"names":[],"mappings":""}
@@ -1,5 +1,7 @@
1
1
  import { IField } from '../../interfaces/genericForm';
2
2
  type __VLS_Props = {
3
+ maskMode?: 'unmasked' | 'masked';
4
+ searchMode?: 'native' | 'remote';
3
5
  noPadding?: boolean;
4
6
  fields: IField[];
5
7
  disabled?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"FormFields.vue.d.ts","sourceRoot":"","sources":["../../../src/components/organisms/FormFields.vue"],"names":[],"mappings":"AA8QA,OAAO,EAAE,MAAM,EAAE,MAAM,8BAA8B,CAAC;AAMtD,KAAK,WAAW,GAAG;IACjB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,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B,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=FormFields.spec.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FormFields.spec.d.ts","sourceRoot":"","sources":["../../../../src/components/organisms/__tests__/FormFields.spec.ts"],"names":[],"mappings":""}
@@ -1,6 +1,8 @@
1
+ import { IField } from '../../interfaces/genericForm';
1
2
  declare function __VLS_template(): {
2
3
  attrs: Partial<{}>;
3
4
  slots: {
5
+ beforeClose?(_: {}): any;
4
6
  custom?(_: {}): any;
5
7
  };
6
8
  refs: {};
@@ -14,7 +16,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
14
16
  default: boolean;
15
17
  };
16
18
  fields: {
17
- type: () => import('../..').IField[];
19
+ type: () => IField[];
18
20
  required: boolean;
19
21
  default: () => any[];
20
22
  };
@@ -73,9 +75,39 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
73
75
  required: boolean;
74
76
  default: boolean;
75
77
  };
78
+ validationMode: {
79
+ type: import('vue').PropType<"live" | "submit">;
80
+ required: boolean;
81
+ default: string;
82
+ };
83
+ disableSubmit: {
84
+ type: BooleanConstructor;
85
+ required: boolean;
86
+ default: boolean;
87
+ };
88
+ searchMode: {
89
+ type: import('vue').PropType<"native" | "remote">;
90
+ required: boolean;
91
+ default: string;
92
+ };
93
+ maskMode: {
94
+ type: import('vue').PropType<"unmasked" | "masked">;
95
+ required: boolean;
96
+ default: string;
97
+ };
76
98
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
77
99
  cancel: () => any;
78
100
  submit: (data: any) => any;
101
+ updateField: (payload: {
102
+ field: string;
103
+ value: any;
104
+ }) => any;
105
+ updateSearch: (payload: {
106
+ field: string;
107
+ value: string;
108
+ }) => any;
109
+ removeCount: (field: IField) => any;
110
+ addCount: (payload: [field: IField, count: number]) => any;
79
111
  "update:isDialogVisible": (value: boolean) => any;
80
112
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
81
113
  isDialogVisible: {
@@ -84,7 +116,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
84
116
  default: boolean;
85
117
  };
86
118
  fields: {
87
- type: () => import('../..').IField[];
119
+ type: () => IField[];
88
120
  required: boolean;
89
121
  default: () => any[];
90
122
  };
@@ -143,9 +175,39 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
143
175
  required: boolean;
144
176
  default: boolean;
145
177
  };
178
+ validationMode: {
179
+ type: import('vue').PropType<"live" | "submit">;
180
+ required: boolean;
181
+ default: string;
182
+ };
183
+ disableSubmit: {
184
+ type: BooleanConstructor;
185
+ required: boolean;
186
+ default: boolean;
187
+ };
188
+ searchMode: {
189
+ type: import('vue').PropType<"native" | "remote">;
190
+ required: boolean;
191
+ default: string;
192
+ };
193
+ maskMode: {
194
+ type: import('vue').PropType<"unmasked" | "masked">;
195
+ required: boolean;
196
+ default: string;
197
+ };
146
198
  }>> & Readonly<{
147
199
  onCancel?: () => any;
148
200
  onSubmit?: (data: any) => any;
201
+ onUpdateField?: (payload: {
202
+ field: string;
203
+ value: any;
204
+ }) => any;
205
+ onUpdateSearch?: (payload: {
206
+ field: string;
207
+ value: string;
208
+ }) => any;
209
+ onRemoveCount?: (field: IField) => any;
210
+ onAddCount?: (payload: [field: IField, count: number]) => any;
149
211
  "onUpdate:isDialogVisible"?: (value: boolean) => any;
150
212
  }>, {
151
213
  disabled: boolean;
@@ -155,12 +217,16 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
155
217
  title: string;
156
218
  subtitle: string;
157
219
  addBtnText: string;
220
+ maskMode: "unmasked" | "masked";
221
+ searchMode: "native" | "remote";
158
222
  noPadding: boolean;
159
- fields: import('../..').IField[];
223
+ fields: IField[];
160
224
  noActionButtons: boolean;
161
225
  isDialogVisible: boolean;
162
226
  initialData: import('./form-props').IInitialData;
163
227
  notClearOnClose: boolean;
228
+ validationMode: "submit" | "live";
229
+ disableSubmit: boolean;
164
230
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
165
231
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
166
232
  export default _default;
@@ -1 +1 @@
1
- {"version":3,"file":"GenericForm.vue.d.ts","sourceRoot":"","sources":["../../../src/components/templates/GenericForm.vue"],"names":[],"mappings":"AAgGA,iBAAS,cAAc;WAyIT,OAAO,IAA6B;;wBAVrB,GAAG;;;;EAe/B;AAiBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4EAUnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAEpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"GenericForm.vue.d.ts","sourceRoot":"","sources":["../../../src/components/templates/GenericForm.vue"],"names":[],"mappings":"AAmGE,OAAO,EAAE,MAAM,EAAE,MAAM,8BAA8B,CAAC;AAkDxD,iBAAS,cAAc;WAmLT,OAAO,IAA6B;;6BAXhB,GAAG;wBACR,GAAG;;;;EAe/B;AAkBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eA/OoB,MAAM;eAAS,GAAG;;;eACjB,MAAM;eAAS,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eADtB,MAAM;eAAS,GAAG;;;eACjB,MAAM;eAAS,MAAM;;;;;;;;;;;;;;;;;;;;;;;4EAwP7D,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAEpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -62,14 +62,38 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
62
62
  required: boolean;
63
63
  default: boolean;
64
64
  };
65
+ validationMode: {
66
+ type: import('vue').PropType<"live" | "submit">;
67
+ required: boolean;
68
+ default: string;
69
+ };
70
+ disableSubmit: {
71
+ type: BooleanConstructor;
72
+ required: boolean;
73
+ default: boolean;
74
+ };
75
+ searchMode: {
76
+ type: import('vue').PropType<"native" | "remote">;
77
+ required: boolean;
78
+ default: string;
79
+ };
80
+ maskMode: {
81
+ type: import('vue').PropType<"unmasked" | "masked">;
82
+ required: boolean;
83
+ default: string;
84
+ };
65
85
  modelValue: {
66
86
  type: import('vue').PropType<any>;
67
87
  };
68
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
88
+ }>, {
89
+ formRef: import('vue').Ref<any, any>;
90
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
69
91
  cancel: (...args: any[]) => void;
70
92
  submit: (...args: any[]) => void;
71
93
  updateField: (...args: any[]) => void;
72
94
  updateSearch: (...args: any[]) => void;
95
+ removeCount: (...args: any[]) => void;
96
+ addCount: (...args: any[]) => void;
73
97
  "update:modelValue": (value: any) => void;
74
98
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
75
99
  hideCancelButton: BooleanConstructor;
@@ -134,6 +158,26 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
134
158
  required: boolean;
135
159
  default: boolean;
136
160
  };
161
+ validationMode: {
162
+ type: import('vue').PropType<"live" | "submit">;
163
+ required: boolean;
164
+ default: string;
165
+ };
166
+ disableSubmit: {
167
+ type: BooleanConstructor;
168
+ required: boolean;
169
+ default: boolean;
170
+ };
171
+ searchMode: {
172
+ type: import('vue').PropType<"native" | "remote">;
173
+ required: boolean;
174
+ default: string;
175
+ };
176
+ maskMode: {
177
+ type: import('vue').PropType<"unmasked" | "masked">;
178
+ required: boolean;
179
+ default: string;
180
+ };
137
181
  modelValue: {
138
182
  type: import('vue').PropType<any>;
139
183
  };
@@ -143,6 +187,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
143
187
  onSubmit?: (...args: any[]) => any;
144
188
  onUpdateField?: (...args: any[]) => any;
145
189
  onUpdateSearch?: (...args: any[]) => any;
190
+ onRemoveCount?: (...args: any[]) => any;
191
+ onAddCount?: (...args: any[]) => any;
146
192
  }>, {
147
193
  disabled: boolean;
148
194
  minWidth: string;
@@ -152,12 +198,16 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
152
198
  subtitle: string;
153
199
  hideCancelButton: boolean;
154
200
  addBtnText: string;
201
+ maskMode: "unmasked" | "masked";
202
+ searchMode: "native" | "remote";
155
203
  noPadding: boolean;
156
204
  fields: IField[];
157
205
  noActionButtons: boolean;
158
206
  isDialogVisible: boolean;
159
207
  initialData: import('./form-props').IInitialData;
160
208
  notClearOnClose: boolean;
209
+ validationMode: "submit" | "live";
210
+ disableSubmit: boolean;
161
211
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
162
212
  form: import('vue').CreateComponentPublicInstanceWithMixins<{
163
213
  style: string | false | import('vue').StyleValue[] | import('vue').CSSProperties | null;
@@ -1 +1 @@
1
- {"version":3,"file":"GenericFormFlat.vue.d.ts","sourceRoot":"","sources":["../../../src/components/templates/GenericFormFlat.vue"],"names":[],"mappings":"AA0HA,OAAO,EAAE,MAAM,EAAE,MAAM,8BAA8B,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAyGZ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAmDtB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAwCV,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAuGukP,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAAu+D,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAA+3D,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA5Bh7N,wBAoBG"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=GenericForm.spec.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GenericForm.spec.d.ts","sourceRoot":"","sources":["../../../../src/components/templates/__tests__/GenericForm.spec.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=GenericFormFlat.spec.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GenericFormFlat.spec.d.ts","sourceRoot":"","sources":["../../../../src/components/templates/__tests__/GenericFormFlat.spec.ts"],"names":[],"mappings":""}