@kong-ui-public/forms 4.20.2-pr.2701.377d8f5a8.0 → 4.20.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.
- package/dist/forms.es.js +6834 -0
- package/dist/forms.umd.js +4 -0
- package/dist/style.css +1 -0
- package/dist/types/components/FormGenerator.vue.d.ts +517 -0
- package/dist/types/components/FormGenerator.vue.d.ts.map +1 -0
- package/dist/types/components/FormGroup.vue.d.ts +88 -0
- package/dist/types/components/FormGroup.vue.d.ts.map +1 -0
- package/dist/types/components/FormMixin.vue.d.ts +16 -0
- package/dist/types/components/FormMixin.vue.d.ts.map +1 -0
- package/dist/types/components/FormRedis.vue.d.ts +99 -0
- package/dist/types/components/FormRedis.vue.d.ts.map +1 -0
- package/dist/types/components/RedisConfigCard.vue.d.ts +54 -0
- package/dist/types/components/RedisConfigCard.vue.d.ts.map +1 -0
- package/dist/types/components/RedisConfigSelect.vue.d.ts +87 -0
- package/dist/types/components/RedisConfigSelect.vue.d.ts.map +1 -0
- package/dist/types/components/fields/AutoSuggest.vue.d.ts +39 -0
- package/dist/types/components/fields/AutoSuggest.vue.d.ts.map +1 -0
- package/dist/types/components/fields/FieldAdvanced.vue.d.ts +49 -0
- package/dist/types/components/fields/FieldAdvanced.vue.d.ts.map +1 -0
- package/dist/types/components/fields/FieldArray.vue.d.ts +1037 -0
- package/dist/types/components/fields/FieldArray.vue.d.ts.map +1 -0
- package/dist/types/components/fields/FieldArrayCardContainer.vue.d.ts +47 -0
- package/dist/types/components/fields/FieldArrayCardContainer.vue.d.ts.map +1 -0
- package/dist/types/components/fields/FieldArrayItem.vue.d.ts +31 -0
- package/dist/types/components/fields/FieldArrayItem.vue.d.ts.map +1 -0
- package/dist/types/components/fields/FieldArrayMultiItem.vue.d.ts +17 -0
- package/dist/types/components/fields/FieldArrayMultiItem.vue.d.ts.map +1 -0
- package/dist/types/components/fields/FieldAutoSuggest.vue.d.ts +236 -0
- package/dist/types/components/fields/FieldAutoSuggest.vue.d.ts.map +1 -0
- package/dist/types/components/fields/FieldAutoSuggestLegacy.vue.d.ts +67 -0
- package/dist/types/components/fields/FieldAutoSuggestLegacy.vue.d.ts.map +1 -0
- package/dist/types/components/fields/FieldCheckbox.vue.d.ts +82 -0
- package/dist/types/components/fields/FieldCheckbox.vue.d.ts.map +1 -0
- package/dist/types/components/fields/FieldChecklist.vue.d.ts +50 -0
- package/dist/types/components/fields/FieldChecklist.vue.d.ts.map +1 -0
- package/dist/types/components/fields/FieldInput.vue.d.ts +82 -0
- package/dist/types/components/fields/FieldInput.vue.d.ts.map +1 -0
- package/dist/types/components/fields/FieldKeyValuePairs.vue.d.ts +127 -0
- package/dist/types/components/fields/FieldKeyValuePairs.vue.d.ts.map +1 -0
- package/dist/types/components/fields/FieldLabel.vue.d.ts +50 -0
- package/dist/types/components/fields/FieldLabel.vue.d.ts.map +1 -0
- package/dist/types/components/fields/FieldMetric.vue.d.ts +205 -0
- package/dist/types/components/fields/FieldMetric.vue.d.ts.map +1 -0
- package/dist/types/components/fields/FieldMultiselect.vue.d.ts +82 -0
- package/dist/types/components/fields/FieldMultiselect.vue.d.ts.map +1 -0
- package/dist/types/components/fields/FieldObject.vue.d.ts +49 -0
- package/dist/types/components/fields/FieldObject.vue.d.ts.map +1 -0
- package/dist/types/components/fields/FieldObjectAdvanced.vue.d.ts +73 -0
- package/dist/types/components/fields/FieldObjectAdvanced.vue.d.ts.map +1 -0
- package/dist/types/components/fields/FieldRadio.vue.d.ts +82 -0
- package/dist/types/components/fields/FieldRadio.vue.d.ts.map +1 -0
- package/dist/types/components/fields/FieldScopedEntitySelect.vue.d.ts +59 -0
- package/dist/types/components/fields/FieldScopedEntitySelect.vue.d.ts.map +1 -0
- package/dist/types/components/fields/FieldSelect.vue.d.ts +82 -0
- package/dist/types/components/fields/FieldSelect.vue.d.ts.map +1 -0
- package/dist/types/components/fields/FieldSelectionGroup.vue.d.ts +66 -0
- package/dist/types/components/fields/FieldSelectionGroup.vue.d.ts.map +1 -0
- package/dist/types/components/fields/FieldSwitch.vue.d.ts +82 -0
- package/dist/types/components/fields/FieldSwitch.vue.d.ts.map +1 -0
- package/dist/types/components/fields/FieldTextArea.vue.d.ts +82 -0
- package/dist/types/components/fields/FieldTextArea.vue.d.ts.map +1 -0
- package/dist/types/components/fields/__tests__/FieldAutoSuggestLegacy.spec.d.ts +2 -0
- package/dist/types/components/fields/__tests__/FieldAutoSuggestLegacy.spec.d.ts.map +1 -0
- package/dist/types/components/fields/abstractField.d.ts +39 -0
- package/dist/types/components/fields/abstractField.d.ts.map +1 -0
- package/dist/types/components/fields/exports.d.ts +2 -0
- package/dist/types/components/fields/exports.d.ts.map +1 -0
- package/dist/types/components/forms/ACMEForm.vue.d.ts +48 -0
- package/dist/types/components/forms/ACMEForm.vue.d.ts.map +1 -0
- package/dist/types/components/forms/ExitTransformer.vue.d.ts +48 -0
- package/dist/types/components/forms/ExitTransformer.vue.d.ts.map +1 -0
- package/dist/types/components/forms/OIDCForm.vue.d.ts +610 -0
- package/dist/types/components/forms/OIDCForm.vue.d.ts.map +1 -0
- package/dist/types/components/forms/PostFunction.vue.d.ts +48 -0
- package/dist/types/components/forms/PostFunction.vue.d.ts.map +1 -0
- package/dist/types/components/forms/RLAForm.vue.d.ts +13 -0
- package/dist/types/components/forms/RLAForm.vue.d.ts.map +1 -0
- package/dist/types/components/forms/__tests__/OIDCSchema.d.ts +2452 -0
- package/dist/types/components/forms/__tests__/OIDCSchema.d.ts.map +1 -0
- package/dist/types/components/forms/__tests__/RLASchema.d.ts +1132 -0
- package/dist/types/components/forms/__tests__/RLASchema.d.ts.map +1 -0
- package/dist/types/components/forms/index.d.ts +6 -0
- package/dist/types/components/forms/index.d.ts.map +1 -0
- package/dist/types/components/forms/schemas/ACMECommon.d.ts +19 -0
- package/dist/types/components/forms/schemas/ACMECommon.d.ts.map +1 -0
- package/dist/types/composables/index.d.ts +10 -0
- package/dist/types/composables/index.d.ts.map +1 -0
- package/dist/types/composables/useAbstractFields.d.ts +29 -0
- package/dist/types/composables/useAbstractFields.d.ts.map +1 -0
- package/dist/types/composables/useRedisNonStandardFields.d.ts +9 -0
- package/dist/types/composables/useRedisNonStandardFields.d.ts.map +1 -0
- package/dist/types/composables/useRedisPartial.d.ts +23 -0
- package/dist/types/composables/useRedisPartial.d.ts.map +1 -0
- package/dist/types/const.d.ts +16 -0
- package/dist/types/const.d.ts.map +1 -0
- package/dist/types/external-links.d.ts +9 -0
- package/dist/types/external-links.d.ts.map +1 -0
- package/dist/types/index.d.ts +10 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/types/form-autosuggest.d.ts +18 -0
- package/dist/types/types/form-autosuggest.d.ts.map +1 -0
- package/dist/types/types/form-fields.d.ts +25 -0
- package/dist/types/types/form-fields.d.ts.map +1 -0
- package/dist/types/types/form-generator.d.ts +27 -0
- package/dist/types/types/form-generator.d.ts.map +1 -0
- package/dist/types/types/form-redis-partial.d.ts +88 -0
- package/dist/types/types/form-redis-partial.d.ts.map +1 -0
- package/dist/types/types/index.d.ts +4 -0
- package/dist/types/types/index.d.ts.map +1 -0
- package/dist/types/utils/autoSuggest.d.ts +13 -0
- package/dist/types/utils/autoSuggest.d.ts.map +1 -0
- package/dist/types/utils/fieldsLoader.d.ts +22 -0
- package/dist/types/utils/fieldsLoader.d.ts.map +1 -0
- package/dist/types/utils/isValidUuid.d.ts +8 -0
- package/dist/types/utils/isValidUuid.d.ts.map +1 -0
- package/dist/types/utils/redisPartial.d.ts +15 -0
- package/dist/types/utils/redisPartial.d.ts.map +1 -0
- package/dist/types/utils/schema.d.ts +6 -0
- package/dist/types/utils/schema.d.ts.map +1 -0
- package/dist/types/utils/validators.d.ts +3 -0
- package/dist/types/utils/validators.d.ts.map +1 -0
- package/package.json +6 -6
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FieldInput.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/fields/FieldInput.vue"],"names":[],"mappings":"AAkQA,OAAO,EAA2D,KAAK,QAAQ,EAAE,MAAM,KAAK,CAAA;;;;;;;cAyWxE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;;;;cAI7B,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;;;;cAI7B,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;;;;;;;IAO/C;;;OAGG;;;;;;;;;;;;;;;;;;;cAlBe,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;;;;cAI7B,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;;;;cAI7B,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;;;;;;;IAO/C;;;OAGG;;;;;;;;;;;;;;;;;;AA7BL,wBAuCG"}
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {
|
|
2
|
+
pairs: never[];
|
|
3
|
+
}, {}, {
|
|
4
|
+
onInput(e: any, index: any, type: any): void;
|
|
5
|
+
updateValue(): void;
|
|
6
|
+
addPair(): void;
|
|
7
|
+
removePair(index: any): void;
|
|
8
|
+
}, {
|
|
9
|
+
name: string;
|
|
10
|
+
props: string[];
|
|
11
|
+
emits: string[];
|
|
12
|
+
data(): {
|
|
13
|
+
errors: never[];
|
|
14
|
+
debouncedValidateFunc: null;
|
|
15
|
+
debouncedFormatFunc: null;
|
|
16
|
+
};
|
|
17
|
+
directives: {
|
|
18
|
+
attributes: {
|
|
19
|
+
beforeMount: (el: any, binding: any, vnode: any) => void;
|
|
20
|
+
updated: (el: any, binding: any, vnode: any) => void;
|
|
21
|
+
componentUpdated: (el: any, binding: any, vnode: any) => void;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
computed: {
|
|
25
|
+
value: {
|
|
26
|
+
cache: boolean;
|
|
27
|
+
get(): any;
|
|
28
|
+
set(newValue: any): void;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
methods: {
|
|
32
|
+
validate(calledParent: any): any[] | Promise<any[]>;
|
|
33
|
+
debouncedValidate(): void;
|
|
34
|
+
updateModelValue(newValue: any, oldValue: any): void;
|
|
35
|
+
clearValidationErrors(): void;
|
|
36
|
+
setModelValueByPath(path: any, value: any): void;
|
|
37
|
+
getFieldID(schema: any, unique?: boolean): string;
|
|
38
|
+
getLabelId(schema: any): string;
|
|
39
|
+
getFieldClasses(): any;
|
|
40
|
+
formatValueToField(value: any): any;
|
|
41
|
+
formatValueToModel(value: any): any;
|
|
42
|
+
};
|
|
43
|
+
}, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {
|
|
44
|
+
TrashIcon: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
45
|
+
title: {
|
|
46
|
+
type: StringConstructor;
|
|
47
|
+
required: false;
|
|
48
|
+
default: string;
|
|
49
|
+
};
|
|
50
|
+
color: {
|
|
51
|
+
type: StringConstructor;
|
|
52
|
+
required: false;
|
|
53
|
+
default: string;
|
|
54
|
+
};
|
|
55
|
+
display: {
|
|
56
|
+
type: StringConstructor;
|
|
57
|
+
required: false;
|
|
58
|
+
default: string;
|
|
59
|
+
};
|
|
60
|
+
decorative: {
|
|
61
|
+
type: BooleanConstructor;
|
|
62
|
+
required: false;
|
|
63
|
+
default: boolean;
|
|
64
|
+
};
|
|
65
|
+
size: {
|
|
66
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
67
|
+
required: false;
|
|
68
|
+
default: "24px";
|
|
69
|
+
validator: (sizeValue: number | string) => boolean;
|
|
70
|
+
};
|
|
71
|
+
as: {
|
|
72
|
+
type: StringConstructor;
|
|
73
|
+
required: false;
|
|
74
|
+
default: string;
|
|
75
|
+
};
|
|
76
|
+
staticIds: {
|
|
77
|
+
type: BooleanConstructor;
|
|
78
|
+
default: boolean;
|
|
79
|
+
};
|
|
80
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
81
|
+
title: {
|
|
82
|
+
type: StringConstructor;
|
|
83
|
+
required: false;
|
|
84
|
+
default: string;
|
|
85
|
+
};
|
|
86
|
+
color: {
|
|
87
|
+
type: StringConstructor;
|
|
88
|
+
required: false;
|
|
89
|
+
default: string;
|
|
90
|
+
};
|
|
91
|
+
display: {
|
|
92
|
+
type: StringConstructor;
|
|
93
|
+
required: false;
|
|
94
|
+
default: string;
|
|
95
|
+
};
|
|
96
|
+
decorative: {
|
|
97
|
+
type: BooleanConstructor;
|
|
98
|
+
required: false;
|
|
99
|
+
default: boolean;
|
|
100
|
+
};
|
|
101
|
+
size: {
|
|
102
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
103
|
+
required: false;
|
|
104
|
+
default: "24px";
|
|
105
|
+
validator: (sizeValue: number | string) => boolean;
|
|
106
|
+
};
|
|
107
|
+
as: {
|
|
108
|
+
type: StringConstructor;
|
|
109
|
+
required: false;
|
|
110
|
+
default: string;
|
|
111
|
+
};
|
|
112
|
+
staticIds: {
|
|
113
|
+
type: BooleanConstructor;
|
|
114
|
+
default: boolean;
|
|
115
|
+
};
|
|
116
|
+
}>> & Readonly<{}>, {
|
|
117
|
+
title: string;
|
|
118
|
+
color: string;
|
|
119
|
+
display: string;
|
|
120
|
+
decorative: boolean;
|
|
121
|
+
size: string | number;
|
|
122
|
+
as: string;
|
|
123
|
+
staticIds: boolean;
|
|
124
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
125
|
+
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
126
|
+
export default _default;
|
|
127
|
+
//# sourceMappingURL=FieldKeyValuePairs.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FieldKeyValuePairs.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/fields/FieldKeyValuePairs.vue"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { type PropType } from 'vue';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
|
+
disabled: {
|
|
4
|
+
type: BooleanConstructor;
|
|
5
|
+
default: boolean;
|
|
6
|
+
};
|
|
7
|
+
formOptions: {
|
|
8
|
+
type: PropType<Record<string, any>>;
|
|
9
|
+
default: () => undefined;
|
|
10
|
+
};
|
|
11
|
+
model: {
|
|
12
|
+
type: PropType<Record<string, any>>;
|
|
13
|
+
default: () => undefined;
|
|
14
|
+
};
|
|
15
|
+
schema: {
|
|
16
|
+
type: PropType<Record<string, any>>;
|
|
17
|
+
required: true;
|
|
18
|
+
};
|
|
19
|
+
vfg: {
|
|
20
|
+
type: ObjectConstructor;
|
|
21
|
+
required: true;
|
|
22
|
+
};
|
|
23
|
+
}>, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
24
|
+
disabled: {
|
|
25
|
+
type: BooleanConstructor;
|
|
26
|
+
default: boolean;
|
|
27
|
+
};
|
|
28
|
+
formOptions: {
|
|
29
|
+
type: PropType<Record<string, any>>;
|
|
30
|
+
default: () => undefined;
|
|
31
|
+
};
|
|
32
|
+
model: {
|
|
33
|
+
type: PropType<Record<string, any>>;
|
|
34
|
+
default: () => undefined;
|
|
35
|
+
};
|
|
36
|
+
schema: {
|
|
37
|
+
type: PropType<Record<string, any>>;
|
|
38
|
+
required: true;
|
|
39
|
+
};
|
|
40
|
+
vfg: {
|
|
41
|
+
type: ObjectConstructor;
|
|
42
|
+
required: true;
|
|
43
|
+
};
|
|
44
|
+
}>> & Readonly<{}>, {
|
|
45
|
+
model: Record<string, any>;
|
|
46
|
+
formOptions: Record<string, any>;
|
|
47
|
+
disabled: boolean;
|
|
48
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
49
|
+
export default _default;
|
|
50
|
+
//# sourceMappingURL=FieldLabel.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FieldLabel.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/fields/FieldLabel.vue"],"names":[],"mappings":"AAqDA,OAAO,EAAU,KAAK,QAAQ,EAAE,MAAM,KAAK,CAAA;;;;;;;cAyHvB,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;;;;cAI7B,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;;;;cAI7B,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;;;;;;;;;;;;;cAR7B,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;;;;cAI7B,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;;;;cAI7B,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;;;;;;;;;;;;AAjBjD,wBAyBG"}
|
|
@@ -0,0 +1,205 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {
|
|
2
|
+
contentVisible: boolean;
|
|
3
|
+
}, {}, {}, {
|
|
4
|
+
name: string;
|
|
5
|
+
props: string[];
|
|
6
|
+
emits: string[];
|
|
7
|
+
data(): {
|
|
8
|
+
errors: never[];
|
|
9
|
+
debouncedValidateFunc: null;
|
|
10
|
+
debouncedFormatFunc: null;
|
|
11
|
+
};
|
|
12
|
+
directives: {
|
|
13
|
+
attributes: {
|
|
14
|
+
beforeMount: (el: any, binding: any, vnode: any) => void;
|
|
15
|
+
updated: (el: any, binding: any, vnode: any) => void;
|
|
16
|
+
componentUpdated: (el: any, binding: any, vnode: any) => void;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
computed: {
|
|
20
|
+
value: {
|
|
21
|
+
cache: boolean;
|
|
22
|
+
get(): any;
|
|
23
|
+
set(newValue: any): void;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
methods: {
|
|
27
|
+
validate(calledParent: any): any[] | Promise<any[]>;
|
|
28
|
+
debouncedValidate(): void;
|
|
29
|
+
updateModelValue(newValue: any, oldValue: any): void;
|
|
30
|
+
clearValidationErrors(): void;
|
|
31
|
+
setModelValueByPath(path: any, value: any): void;
|
|
32
|
+
getFieldID(schema: any, unique?: boolean): string;
|
|
33
|
+
getLabelId(schema: any): string;
|
|
34
|
+
getFieldClasses(): any;
|
|
35
|
+
formatValueToField(value: any): any;
|
|
36
|
+
formatValueToModel(value: any): any;
|
|
37
|
+
};
|
|
38
|
+
}, import("vue").ComponentOptionsMixin, "remove-item"[], "remove-item", import("vue").PublicProps, Readonly<{}> & Readonly<{
|
|
39
|
+
"onRemove-item"?: ((...args: any[]) => any) | undefined;
|
|
40
|
+
}>, {}, {}, {
|
|
41
|
+
AddIcon: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
42
|
+
title: {
|
|
43
|
+
type: StringConstructor;
|
|
44
|
+
required: false;
|
|
45
|
+
default: string;
|
|
46
|
+
};
|
|
47
|
+
color: {
|
|
48
|
+
type: StringConstructor;
|
|
49
|
+
required: false;
|
|
50
|
+
default: string;
|
|
51
|
+
};
|
|
52
|
+
display: {
|
|
53
|
+
type: StringConstructor;
|
|
54
|
+
required: false;
|
|
55
|
+
default: string;
|
|
56
|
+
};
|
|
57
|
+
decorative: {
|
|
58
|
+
type: BooleanConstructor;
|
|
59
|
+
required: false;
|
|
60
|
+
default: boolean;
|
|
61
|
+
};
|
|
62
|
+
size: {
|
|
63
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
64
|
+
required: false;
|
|
65
|
+
default: "24px";
|
|
66
|
+
validator: (sizeValue: number | string) => boolean;
|
|
67
|
+
};
|
|
68
|
+
as: {
|
|
69
|
+
type: StringConstructor;
|
|
70
|
+
required: false;
|
|
71
|
+
default: string;
|
|
72
|
+
};
|
|
73
|
+
staticIds: {
|
|
74
|
+
type: BooleanConstructor;
|
|
75
|
+
default: boolean;
|
|
76
|
+
};
|
|
77
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
78
|
+
title: {
|
|
79
|
+
type: StringConstructor;
|
|
80
|
+
required: false;
|
|
81
|
+
default: string;
|
|
82
|
+
};
|
|
83
|
+
color: {
|
|
84
|
+
type: StringConstructor;
|
|
85
|
+
required: false;
|
|
86
|
+
default: string;
|
|
87
|
+
};
|
|
88
|
+
display: {
|
|
89
|
+
type: StringConstructor;
|
|
90
|
+
required: false;
|
|
91
|
+
default: string;
|
|
92
|
+
};
|
|
93
|
+
decorative: {
|
|
94
|
+
type: BooleanConstructor;
|
|
95
|
+
required: false;
|
|
96
|
+
default: boolean;
|
|
97
|
+
};
|
|
98
|
+
size: {
|
|
99
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
100
|
+
required: false;
|
|
101
|
+
default: "24px";
|
|
102
|
+
validator: (sizeValue: number | string) => boolean;
|
|
103
|
+
};
|
|
104
|
+
as: {
|
|
105
|
+
type: StringConstructor;
|
|
106
|
+
required: false;
|
|
107
|
+
default: string;
|
|
108
|
+
};
|
|
109
|
+
staticIds: {
|
|
110
|
+
type: BooleanConstructor;
|
|
111
|
+
default: boolean;
|
|
112
|
+
};
|
|
113
|
+
}>> & Readonly<{}>, {
|
|
114
|
+
title: string;
|
|
115
|
+
color: string;
|
|
116
|
+
display: string;
|
|
117
|
+
decorative: boolean;
|
|
118
|
+
size: string | number;
|
|
119
|
+
as: string;
|
|
120
|
+
staticIds: boolean;
|
|
121
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
122
|
+
TrashIcon: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
123
|
+
title: {
|
|
124
|
+
type: StringConstructor;
|
|
125
|
+
required: false;
|
|
126
|
+
default: string;
|
|
127
|
+
};
|
|
128
|
+
color: {
|
|
129
|
+
type: StringConstructor;
|
|
130
|
+
required: false;
|
|
131
|
+
default: string;
|
|
132
|
+
};
|
|
133
|
+
display: {
|
|
134
|
+
type: StringConstructor;
|
|
135
|
+
required: false;
|
|
136
|
+
default: string;
|
|
137
|
+
};
|
|
138
|
+
decorative: {
|
|
139
|
+
type: BooleanConstructor;
|
|
140
|
+
required: false;
|
|
141
|
+
default: boolean;
|
|
142
|
+
};
|
|
143
|
+
size: {
|
|
144
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
145
|
+
required: false;
|
|
146
|
+
default: "24px";
|
|
147
|
+
validator: (sizeValue: number | string) => boolean;
|
|
148
|
+
};
|
|
149
|
+
as: {
|
|
150
|
+
type: StringConstructor;
|
|
151
|
+
required: false;
|
|
152
|
+
default: string;
|
|
153
|
+
};
|
|
154
|
+
staticIds: {
|
|
155
|
+
type: BooleanConstructor;
|
|
156
|
+
default: boolean;
|
|
157
|
+
};
|
|
158
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
159
|
+
title: {
|
|
160
|
+
type: StringConstructor;
|
|
161
|
+
required: false;
|
|
162
|
+
default: string;
|
|
163
|
+
};
|
|
164
|
+
color: {
|
|
165
|
+
type: StringConstructor;
|
|
166
|
+
required: false;
|
|
167
|
+
default: string;
|
|
168
|
+
};
|
|
169
|
+
display: {
|
|
170
|
+
type: StringConstructor;
|
|
171
|
+
required: false;
|
|
172
|
+
default: string;
|
|
173
|
+
};
|
|
174
|
+
decorative: {
|
|
175
|
+
type: BooleanConstructor;
|
|
176
|
+
required: false;
|
|
177
|
+
default: boolean;
|
|
178
|
+
};
|
|
179
|
+
size: {
|
|
180
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
181
|
+
required: false;
|
|
182
|
+
default: "24px";
|
|
183
|
+
validator: (sizeValue: number | string) => boolean;
|
|
184
|
+
};
|
|
185
|
+
as: {
|
|
186
|
+
type: StringConstructor;
|
|
187
|
+
required: false;
|
|
188
|
+
default: string;
|
|
189
|
+
};
|
|
190
|
+
staticIds: {
|
|
191
|
+
type: BooleanConstructor;
|
|
192
|
+
default: boolean;
|
|
193
|
+
};
|
|
194
|
+
}>> & Readonly<{}>, {
|
|
195
|
+
title: string;
|
|
196
|
+
color: string;
|
|
197
|
+
display: string;
|
|
198
|
+
decorative: boolean;
|
|
199
|
+
size: string | number;
|
|
200
|
+
as: string;
|
|
201
|
+
staticIds: boolean;
|
|
202
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
203
|
+
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
204
|
+
export default _default;
|
|
205
|
+
//# sourceMappingURL=FieldMetric.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FieldMetric.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/fields/FieldMetric.vue"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { type PropType } from 'vue';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
|
+
disabled: {
|
|
4
|
+
type: BooleanConstructor;
|
|
5
|
+
default: boolean;
|
|
6
|
+
};
|
|
7
|
+
formOptions: {
|
|
8
|
+
type: PropType<Record<string, any>>;
|
|
9
|
+
default: () => undefined;
|
|
10
|
+
};
|
|
11
|
+
model: {
|
|
12
|
+
type: PropType<Record<string, any>>;
|
|
13
|
+
default: () => undefined;
|
|
14
|
+
};
|
|
15
|
+
schema: {
|
|
16
|
+
type: PropType<Record<string, any>>;
|
|
17
|
+
required: true;
|
|
18
|
+
};
|
|
19
|
+
vfg: {
|
|
20
|
+
type: ObjectConstructor;
|
|
21
|
+
required: true;
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* TODO: stronger type
|
|
25
|
+
* TODO: pass this down to KInput error and errorMessage
|
|
26
|
+
*/
|
|
27
|
+
errors: {
|
|
28
|
+
type: ArrayConstructor;
|
|
29
|
+
default: () => never[];
|
|
30
|
+
};
|
|
31
|
+
hint: {
|
|
32
|
+
type: StringConstructor;
|
|
33
|
+
default: string;
|
|
34
|
+
};
|
|
35
|
+
}>, {
|
|
36
|
+
clearValidationErrors: () => void;
|
|
37
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
38
|
+
modelUpdated: (value: any, model: Record<string, any>) => any;
|
|
39
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
40
|
+
disabled: {
|
|
41
|
+
type: BooleanConstructor;
|
|
42
|
+
default: boolean;
|
|
43
|
+
};
|
|
44
|
+
formOptions: {
|
|
45
|
+
type: PropType<Record<string, any>>;
|
|
46
|
+
default: () => undefined;
|
|
47
|
+
};
|
|
48
|
+
model: {
|
|
49
|
+
type: PropType<Record<string, any>>;
|
|
50
|
+
default: () => undefined;
|
|
51
|
+
};
|
|
52
|
+
schema: {
|
|
53
|
+
type: PropType<Record<string, any>>;
|
|
54
|
+
required: true;
|
|
55
|
+
};
|
|
56
|
+
vfg: {
|
|
57
|
+
type: ObjectConstructor;
|
|
58
|
+
required: true;
|
|
59
|
+
};
|
|
60
|
+
/**
|
|
61
|
+
* TODO: stronger type
|
|
62
|
+
* TODO: pass this down to KInput error and errorMessage
|
|
63
|
+
*/
|
|
64
|
+
errors: {
|
|
65
|
+
type: ArrayConstructor;
|
|
66
|
+
default: () => never[];
|
|
67
|
+
};
|
|
68
|
+
hint: {
|
|
69
|
+
type: StringConstructor;
|
|
70
|
+
default: string;
|
|
71
|
+
};
|
|
72
|
+
}>> & Readonly<{
|
|
73
|
+
onModelUpdated?: ((value: any, model: Record<string, any>) => any) | undefined;
|
|
74
|
+
}>, {
|
|
75
|
+
errors: unknown[];
|
|
76
|
+
model: Record<string, any>;
|
|
77
|
+
hint: string;
|
|
78
|
+
formOptions: Record<string, any>;
|
|
79
|
+
disabled: boolean;
|
|
80
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
81
|
+
export default _default;
|
|
82
|
+
//# sourceMappingURL=FieldMultiselect.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FieldMultiselect.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/fields/FieldMultiselect.vue"],"names":[],"mappings":"AA2FA,OAAO,EAAmB,KAAK,QAAQ,EAAE,MAAM,KAAK,CAAA;;;;;;;cA2LhC,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;;;;cAI7B,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;;;;cAI7B,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;;;;;;;IAO/C;;;OAGG;;;;;;;;;;;;;;;;;;;cAlBe,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;;;;cAI7B,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;;;;cAI7B,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;;;;;;;IAO/C;;;OAGG;;;;;;;;;;;;;;;;;;AA7BL,wBAuCG"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {
|
|
2
|
+
attributes: any;
|
|
3
|
+
newKeyType: string;
|
|
4
|
+
newKeyName: string;
|
|
5
|
+
keyTypes: {};
|
|
6
|
+
}, {}, {
|
|
7
|
+
removeElement(index: any): void;
|
|
8
|
+
addKey(): void;
|
|
9
|
+
updateModel(model: any, schema: any): void;
|
|
10
|
+
}, {
|
|
11
|
+
name: string;
|
|
12
|
+
props: string[];
|
|
13
|
+
emits: string[];
|
|
14
|
+
data(): {
|
|
15
|
+
errors: never[];
|
|
16
|
+
debouncedValidateFunc: null;
|
|
17
|
+
debouncedFormatFunc: null;
|
|
18
|
+
};
|
|
19
|
+
directives: {
|
|
20
|
+
attributes: {
|
|
21
|
+
beforeMount: (el: any, binding: any, vnode: any) => void;
|
|
22
|
+
updated: (el: any, binding: any, vnode: any) => void;
|
|
23
|
+
componentUpdated: (el: any, binding: any, vnode: any) => void;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
computed: {
|
|
27
|
+
value: {
|
|
28
|
+
cache: boolean;
|
|
29
|
+
get(): any;
|
|
30
|
+
set(newValue: any): void;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
methods: {
|
|
34
|
+
validate(calledParent: any): any[] | Promise<any[]>;
|
|
35
|
+
debouncedValidate(): void;
|
|
36
|
+
updateModelValue(newValue: any, oldValue: any): void;
|
|
37
|
+
clearValidationErrors(): void;
|
|
38
|
+
setModelValueByPath(path: any, value: any): void;
|
|
39
|
+
getFieldID(schema: any, unique?: boolean): string;
|
|
40
|
+
getLabelId(schema: any): string;
|
|
41
|
+
getFieldClasses(): any;
|
|
42
|
+
formatValueToField(value: any): any;
|
|
43
|
+
formatValueToModel(value: any): any;
|
|
44
|
+
};
|
|
45
|
+
}, import("vue").ComponentOptionsMixin, "modelUpdated"[], "modelUpdated", import("vue").PublicProps, Readonly<{}> & Readonly<{
|
|
46
|
+
onModelUpdated?: ((...args: any[]) => any) | undefined;
|
|
47
|
+
}>, {}, {}, {}, {}, "schema" | "validate" | "clearValidationErrors", import("vue").ComponentProvideOptions, true, {}, any>;
|
|
48
|
+
export default _default;
|
|
49
|
+
//# sourceMappingURL=FieldObject.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FieldObject.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/fields/FieldObject.vue"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {
|
|
2
|
+
newKeyName: string;
|
|
3
|
+
}, {
|
|
4
|
+
subSchema(): any;
|
|
5
|
+
subFields(): any;
|
|
6
|
+
hasObjectKeys(): any;
|
|
7
|
+
transformedModel(): any;
|
|
8
|
+
valueInputType(): "text" | "number";
|
|
9
|
+
}, {
|
|
10
|
+
removeElement(index: any): void;
|
|
11
|
+
/**
|
|
12
|
+
* This function takes schema fields of type 'map', and prepares the model for
|
|
13
|
+
* dynamic key/value pairs that need to be transformed into objects.
|
|
14
|
+
*
|
|
15
|
+
* @param {Object} model - VFG form model
|
|
16
|
+
* @param {Array} fields - sub fields to lookup. empty array means no subschema
|
|
17
|
+
* @param {String} field - field name e.g. config-limits-consumer1-minutes
|
|
18
|
+
* @returns {Object}
|
|
19
|
+
* e.g. config-limits-consumer1-seconds: 1
|
|
20
|
+
* config-limits-consumer1-minutes: 2
|
|
21
|
+
* config-limits-consumer2-seconds: 10
|
|
22
|
+
* config-limits-consumer2-hours: 11
|
|
23
|
+
*
|
|
24
|
+
* would become:
|
|
25
|
+
*
|
|
26
|
+
* config-limits: {
|
|
27
|
+
* consumer1: { seconds: 1, minutes: 2 },
|
|
28
|
+
* consumer2: { seconds: 1, minutes: 2 }
|
|
29
|
+
* }
|
|
30
|
+
*/
|
|
31
|
+
transformMapModelValuesToObject(model: Object, fields: any[], field: string): Object;
|
|
32
|
+
addKey(): void;
|
|
33
|
+
updateModel(_: any, schema: any): void;
|
|
34
|
+
}, {
|
|
35
|
+
name: string;
|
|
36
|
+
props: string[];
|
|
37
|
+
emits: string[];
|
|
38
|
+
data(): {
|
|
39
|
+
errors: never[];
|
|
40
|
+
debouncedValidateFunc: null;
|
|
41
|
+
debouncedFormatFunc: null;
|
|
42
|
+
};
|
|
43
|
+
directives: {
|
|
44
|
+
attributes: {
|
|
45
|
+
beforeMount: (el: any, binding: any, vnode: any) => void;
|
|
46
|
+
updated: (el: any, binding: any, vnode: any) => void;
|
|
47
|
+
componentUpdated: (el: any, binding: any, vnode: any) => void;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
computed: {
|
|
51
|
+
value: {
|
|
52
|
+
cache: boolean;
|
|
53
|
+
get(): any;
|
|
54
|
+
set(newValue: any): void;
|
|
55
|
+
};
|
|
56
|
+
};
|
|
57
|
+
methods: {
|
|
58
|
+
validate(calledParent: any): any[] | Promise<any[]>;
|
|
59
|
+
debouncedValidate(): void;
|
|
60
|
+
updateModelValue(newValue: any, oldValue: any): void;
|
|
61
|
+
clearValidationErrors(): void;
|
|
62
|
+
setModelValueByPath(path: any, value: any): void;
|
|
63
|
+
getFieldID(schema: any, unique?: boolean): string;
|
|
64
|
+
getLabelId(schema: any): string;
|
|
65
|
+
getFieldClasses(): any;
|
|
66
|
+
formatValueToField(value: any): any;
|
|
67
|
+
formatValueToModel(value: any): any;
|
|
68
|
+
};
|
|
69
|
+
}, import("vue").ComponentOptionsMixin, "model-updated"[], "model-updated", import("vue").PublicProps, Readonly<{}> & Readonly<{
|
|
70
|
+
"onModel-updated"?: ((...args: any[]) => any) | undefined;
|
|
71
|
+
}>, {}, {}, {}, {}, "schema" | "validate" | "clearValidationErrors", import("vue").ComponentProvideOptions, true, {}, any>;
|
|
72
|
+
export default _default;
|
|
73
|
+
//# sourceMappingURL=FieldObjectAdvanced.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FieldObjectAdvanced.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/fields/FieldObjectAdvanced.vue"],"names":[],"mappings":";;;;;;;;;;IA0vBI;;;;;;;;;;;;;;;;;;;OAmBG;2CAfQ,MAAM,iCAGJ,MAAM"}
|