@kong-ui-public/forms 4.10.11 → 4.11.1-pr.1993.e54ada17d.0
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 +2730 -2173
- package/dist/forms.umd.js +2 -2
- package/dist/style.css +1 -1
- package/dist/types/components/FormGenerator.vue.d.ts +142 -2
- package/dist/types/components/FormGenerator.vue.d.ts.map +1 -1
- 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/FieldArray.vue.d.ts +2 -2
- package/dist/types/components/fields/FieldAutoSuggest.vue.d.ts +2 -2
- package/dist/types/components/fields/FieldSelectionGroup.vue.d.ts +1 -1
- package/dist/types/components/forms/OIDCForm.vue.d.ts +168 -2
- package/dist/types/components/forms/RLAForm.vue.d.ts +6 -0
- package/dist/types/components/forms/RLAForm.vue.d.ts.map +1 -1
- 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/composables/index.d.ts +4 -0
- package/dist/types/composables/index.d.ts.map +1 -1
- 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 +2 -0
- package/dist/types/const.d.ts.map +1 -1
- 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 +1 -0
- package/dist/types/types/index.d.ts.map +1 -1
- package/dist/types/utils/redisPartial.d.ts +15 -0
- package/dist/types/utils/redisPartial.d.ts.map +1 -0
- package/package.json +3 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<{}, {
|
|
2
|
-
t: (translationKey: "general" | "post-function" | "exit-transformer" | "rla" | "validators" | "vfg" | "general.packageName" | "general.disable_global_radio" | "general.disable_source_scope_change" | "post-function.tags" | "post-function.enabled" | "post-function.selectionGroup" | "post-function.instance_name" | "post-function.name" | "post-function.config-certificate" | "post-function.config-access" | "post-function.config-body_filter" | "post-function.config-header_filter" | "post-function.config-functions" | "post-function.config-log" | "post-function.config-rewrite" | "post-function.config-ws_client_frame" | "post-function.config-ws_close" | "post-function.config-ws_handshake" | "post-function.config-ws_upstream_frame" | "post-function.tags.hint" | "post-function.tags.newElementButtonLabel" | "post-function.enabled.newElementButtonLabel" | "post-function.selectionGroup.newElementButtonLabel" | "post-function.instance_name.newElementButtonLabel" | "post-function.name.newElementButtonLabel" | "post-function.config-certificate.newElementButtonLabel" | "post-function.config-certificate.help" | "post-function.config-access.newElementButtonLabel" | "post-function.config-access.help" | "post-function.config-body_filter.newElementButtonLabel" | "post-function.config-body_filter.help" | "post-function.config-header_filter.newElementButtonLabel" | "post-function.config-header_filter.help" | "post-function.config-functions.newElementButtonLabel" | "post-function.config-log.newElementButtonLabel" | "post-function.config-rewrite.newElementButtonLabel" | "post-function.config-ws_client_frame.newElementButtonLabel" | "post-function.config-ws_close.newElementButtonLabel" | "post-function.config-ws_handshake.newElementButtonLabel" | "post-function.config-ws_upstream_frame.newElementButtonLabel" | "exit-transformer.config-functions" | "exit-transformer.config-functions.newElementButtonLabel" | "rla.view_advanced_fields" | "rla.window_type" | "rla.request_limits" | "rla.start_with_a_use_case" | "rla.use_case_index" | "rla.error_message" | "rla.identifiers" | "rla.redis" | "rla.window_type.options" | "rla.window_type.help" | "rla.window_type.label" | "rla.window_type.options.fixed" | "rla.window_type.options.sliding" | "rla.request_limits.
|
|
2
|
+
t: (translationKey: "general" | "post-function" | "exit-transformer" | "rla" | "validators" | "redis" | "vfg" | "general.packageName" | "general.disable_global_radio" | "general.disable_source_scope_change" | "post-function.tags" | "post-function.enabled" | "post-function.selectionGroup" | "post-function.instance_name" | "post-function.name" | "post-function.config-certificate" | "post-function.config-access" | "post-function.config-body_filter" | "post-function.config-header_filter" | "post-function.config-functions" | "post-function.config-log" | "post-function.config-rewrite" | "post-function.config-ws_client_frame" | "post-function.config-ws_close" | "post-function.config-ws_handshake" | "post-function.config-ws_upstream_frame" | "post-function.tags.hint" | "post-function.tags.newElementButtonLabel" | "post-function.enabled.newElementButtonLabel" | "post-function.selectionGroup.newElementButtonLabel" | "post-function.instance_name.newElementButtonLabel" | "post-function.name.newElementButtonLabel" | "post-function.config-certificate.newElementButtonLabel" | "post-function.config-certificate.help" | "post-function.config-access.newElementButtonLabel" | "post-function.config-access.help" | "post-function.config-body_filter.newElementButtonLabel" | "post-function.config-body_filter.help" | "post-function.config-header_filter.newElementButtonLabel" | "post-function.config-header_filter.help" | "post-function.config-functions.newElementButtonLabel" | "post-function.config-log.newElementButtonLabel" | "post-function.config-rewrite.newElementButtonLabel" | "post-function.config-ws_client_frame.newElementButtonLabel" | "post-function.config-ws_close.newElementButtonLabel" | "post-function.config-ws_handshake.newElementButtonLabel" | "post-function.config-ws_upstream_frame.newElementButtonLabel" | "exit-transformer.config-functions" | "exit-transformer.config-functions.newElementButtonLabel" | "redis.title" | "rla.redis" | "rla.view_advanced_fields" | "rla.window_type" | "rla.request_limits" | "rla.start_with_a_use_case" | "rla.use_case_index" | "rla.error_message" | "rla.identifiers" | "rla.redis.title" | "rla.redis.address_example" | "rla.window_type.options" | "rla.window_type.help" | "rla.window_type.label" | "rla.window_type.options.fixed" | "rla.window_type.options.sliding" | "rla.request_limits.title" | "rla.request_limits.label" | "rla.request_limits.subtitle" | "rla.request_limits.label_index" | "rla.request_limits.request_number" | "rla.request_limits.time_interval" | "rla.request_limits.interval_determiner" | "rla.request_limits.seconds" | "rla.error_message.help" | "rla.error_message.label" | "rla.error_message.code_placeholder" | "rla.error_message.message_placeholder" | "rla.identifiers.options" | "rla.identifiers.label" | "rla.identifiers.options.ip" | "rla.identifiers.options.credential" | "rla.identifiers.options.consumer" | "rla.identifiers.options.service" | "rla.identifiers.options.header" | "rla.identifiers.options.path" | "rla.identifiers.options.consumer-group" | "validators.field_is_required" | "validators.invalid_format" | "validators.number_too_small" | "validators.number_too_large" | "validators.invalid_number" | "validators.invalid_integer" | "validators.text_too_short" | "validators.text_too_long" | "validators.this_not_text" | "validators.this_not_array" | "validators.select_min_items" | "validators.select_max_items" | "validators.invalid_date" | "validators.date_is_early" | "validators.date_is_late" | "validators.invalid_email" | "validators.invalid_url" | "validators.invalid_card" | "validators.invalid_card_number" | "validators.invalid_text_contain_number" | "validators.invalid_tex_contain_spec" | "redis.shared_configuration" | "redis.dedicated_configuration" | "redis.config_card" | "redis.custom_plugin" | "redis.shared_configuration.error" | "redis.shared_configuration.title" | "redis.shared_configuration.label" | "redis.shared_configuration.description" | "redis.shared_configuration.tooltip" | "redis.shared_configuration.configuration_selector_label" | "redis.shared_configuration.configuration_selector_placeholder" | "redis.shared_configuration.create_new_configuration" | "redis.shared_configuration.empty_state" | "redis.shared_configuration.badge" | "redis.shared_configuration.selector" | "redis.shared_configuration.selector.title" | "redis.shared_configuration.selector.description" | "redis.shared_configuration.selector.placeholder" | "redis.dedicated_configuration.title" | "redis.dedicated_configuration.label" | "redis.dedicated_configuration.description" | "redis.config_card.common_fields" | "redis.config_card.common_fields.created_at_label" | "redis.config_card.common_fields.updated_at_label" | "redis.config_card.common_fields.type_label" | "redis.custom_plugin.tooltip" | "redis.custom_plugin.alert" | "vfg.labels" | "vfg.labels.on" | "vfg.labels.off", values?: Record<string, import("@kong-ui-public/i18n/dist/types/types").MessageFormatPrimitiveValue> | undefined, opts?: import("../../../../i18n/node_modules/intl-messageformat").Options | undefined) => string;
|
|
3
3
|
}, {
|
|
4
4
|
suggestions: never[];
|
|
5
5
|
idValue: string;
|
|
@@ -12,7 +12,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
12
12
|
associatedEntity(): string | string[];
|
|
13
13
|
entity(): any;
|
|
14
14
|
scope(): any;
|
|
15
|
-
bypassSearch(): import("
|
|
15
|
+
bypassSearch(): import("../../../../../entities/entities-shared/node_modules/vue-router/dist/vue-router").LocationQueryValue | import("../../../../../entities/entities-shared/node_modules/vue-router/dist/vue-router").LocationQueryValue[];
|
|
16
16
|
}, {
|
|
17
17
|
onQueryChange(query: any): void;
|
|
18
18
|
search(query: any): Promise<void>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<{}, {
|
|
2
|
-
t: (translationKey: "general" | "post-function" | "exit-transformer" | "rla" | "validators" | "vfg" | "general.packageName" | "general.disable_global_radio" | "general.disable_source_scope_change" | "post-function.tags" | "post-function.enabled" | "post-function.selectionGroup" | "post-function.instance_name" | "post-function.name" | "post-function.config-certificate" | "post-function.config-access" | "post-function.config-body_filter" | "post-function.config-header_filter" | "post-function.config-functions" | "post-function.config-log" | "post-function.config-rewrite" | "post-function.config-ws_client_frame" | "post-function.config-ws_close" | "post-function.config-ws_handshake" | "post-function.config-ws_upstream_frame" | "post-function.tags.hint" | "post-function.tags.newElementButtonLabel" | "post-function.enabled.newElementButtonLabel" | "post-function.selectionGroup.newElementButtonLabel" | "post-function.instance_name.newElementButtonLabel" | "post-function.name.newElementButtonLabel" | "post-function.config-certificate.newElementButtonLabel" | "post-function.config-certificate.help" | "post-function.config-access.newElementButtonLabel" | "post-function.config-access.help" | "post-function.config-body_filter.newElementButtonLabel" | "post-function.config-body_filter.help" | "post-function.config-header_filter.newElementButtonLabel" | "post-function.config-header_filter.help" | "post-function.config-functions.newElementButtonLabel" | "post-function.config-log.newElementButtonLabel" | "post-function.config-rewrite.newElementButtonLabel" | "post-function.config-ws_client_frame.newElementButtonLabel" | "post-function.config-ws_close.newElementButtonLabel" | "post-function.config-ws_handshake.newElementButtonLabel" | "post-function.config-ws_upstream_frame.newElementButtonLabel" | "exit-transformer.config-functions" | "exit-transformer.config-functions.newElementButtonLabel" | "rla.view_advanced_fields" | "rla.window_type" | "rla.request_limits" | "rla.start_with_a_use_case" | "rla.use_case_index" | "rla.error_message" | "rla.identifiers" | "rla.redis" | "rla.window_type.options" | "rla.window_type.help" | "rla.window_type.label" | "rla.window_type.options.fixed" | "rla.window_type.options.sliding" | "rla.request_limits.
|
|
2
|
+
t: (translationKey: "general" | "post-function" | "exit-transformer" | "rla" | "validators" | "redis" | "vfg" | "general.packageName" | "general.disable_global_radio" | "general.disable_source_scope_change" | "post-function.tags" | "post-function.enabled" | "post-function.selectionGroup" | "post-function.instance_name" | "post-function.name" | "post-function.config-certificate" | "post-function.config-access" | "post-function.config-body_filter" | "post-function.config-header_filter" | "post-function.config-functions" | "post-function.config-log" | "post-function.config-rewrite" | "post-function.config-ws_client_frame" | "post-function.config-ws_close" | "post-function.config-ws_handshake" | "post-function.config-ws_upstream_frame" | "post-function.tags.hint" | "post-function.tags.newElementButtonLabel" | "post-function.enabled.newElementButtonLabel" | "post-function.selectionGroup.newElementButtonLabel" | "post-function.instance_name.newElementButtonLabel" | "post-function.name.newElementButtonLabel" | "post-function.config-certificate.newElementButtonLabel" | "post-function.config-certificate.help" | "post-function.config-access.newElementButtonLabel" | "post-function.config-access.help" | "post-function.config-body_filter.newElementButtonLabel" | "post-function.config-body_filter.help" | "post-function.config-header_filter.newElementButtonLabel" | "post-function.config-header_filter.help" | "post-function.config-functions.newElementButtonLabel" | "post-function.config-log.newElementButtonLabel" | "post-function.config-rewrite.newElementButtonLabel" | "post-function.config-ws_client_frame.newElementButtonLabel" | "post-function.config-ws_close.newElementButtonLabel" | "post-function.config-ws_handshake.newElementButtonLabel" | "post-function.config-ws_upstream_frame.newElementButtonLabel" | "exit-transformer.config-functions" | "exit-transformer.config-functions.newElementButtonLabel" | "redis.title" | "rla.redis" | "rla.view_advanced_fields" | "rla.window_type" | "rla.request_limits" | "rla.start_with_a_use_case" | "rla.use_case_index" | "rla.error_message" | "rla.identifiers" | "rla.redis.title" | "rla.redis.address_example" | "rla.window_type.options" | "rla.window_type.help" | "rla.window_type.label" | "rla.window_type.options.fixed" | "rla.window_type.options.sliding" | "rla.request_limits.title" | "rla.request_limits.label" | "rla.request_limits.subtitle" | "rla.request_limits.label_index" | "rla.request_limits.request_number" | "rla.request_limits.time_interval" | "rla.request_limits.interval_determiner" | "rla.request_limits.seconds" | "rla.error_message.help" | "rla.error_message.label" | "rla.error_message.code_placeholder" | "rla.error_message.message_placeholder" | "rla.identifiers.options" | "rla.identifiers.label" | "rla.identifiers.options.ip" | "rla.identifiers.options.credential" | "rla.identifiers.options.consumer" | "rla.identifiers.options.service" | "rla.identifiers.options.header" | "rla.identifiers.options.path" | "rla.identifiers.options.consumer-group" | "validators.field_is_required" | "validators.invalid_format" | "validators.number_too_small" | "validators.number_too_large" | "validators.invalid_number" | "validators.invalid_integer" | "validators.text_too_short" | "validators.text_too_long" | "validators.this_not_text" | "validators.this_not_array" | "validators.select_min_items" | "validators.select_max_items" | "validators.invalid_date" | "validators.date_is_early" | "validators.date_is_late" | "validators.invalid_email" | "validators.invalid_url" | "validators.invalid_card" | "validators.invalid_card_number" | "validators.invalid_text_contain_number" | "validators.invalid_tex_contain_spec" | "redis.shared_configuration" | "redis.dedicated_configuration" | "redis.config_card" | "redis.custom_plugin" | "redis.shared_configuration.error" | "redis.shared_configuration.title" | "redis.shared_configuration.label" | "redis.shared_configuration.description" | "redis.shared_configuration.tooltip" | "redis.shared_configuration.configuration_selector_label" | "redis.shared_configuration.configuration_selector_placeholder" | "redis.shared_configuration.create_new_configuration" | "redis.shared_configuration.empty_state" | "redis.shared_configuration.badge" | "redis.shared_configuration.selector" | "redis.shared_configuration.selector.title" | "redis.shared_configuration.selector.description" | "redis.shared_configuration.selector.placeholder" | "redis.dedicated_configuration.title" | "redis.dedicated_configuration.label" | "redis.dedicated_configuration.description" | "redis.config_card.common_fields" | "redis.config_card.common_fields.created_at_label" | "redis.config_card.common_fields.updated_at_label" | "redis.config_card.common_fields.type_label" | "redis.custom_plugin.tooltip" | "redis.custom_plugin.alert" | "vfg.labels" | "vfg.labels.on" | "vfg.labels.off", values?: Record<string, import("@kong-ui-public/i18n/dist/types/types").MessageFormatPrimitiveValue> | undefined, opts?: import("../../../../i18n/node_modules/intl-messageformat").Options | undefined) => string;
|
|
3
3
|
}, {
|
|
4
4
|
checkedGroup: null;
|
|
5
5
|
fieldModel: {
|
|
@@ -15,10 +15,22 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
15
15
|
type: FunctionConstructor;
|
|
16
16
|
required: true;
|
|
17
17
|
};
|
|
18
|
+
onPartialToggled: {
|
|
19
|
+
type: FunctionConstructor;
|
|
20
|
+
required: true;
|
|
21
|
+
};
|
|
18
22
|
isEditing: {
|
|
19
23
|
type: BooleanConstructor;
|
|
20
24
|
required: true;
|
|
21
25
|
};
|
|
26
|
+
enableRedisPartial: {
|
|
27
|
+
type: BooleanConstructor;
|
|
28
|
+
required: false;
|
|
29
|
+
};
|
|
30
|
+
showNewPartialModal: {
|
|
31
|
+
type: FunctionConstructor;
|
|
32
|
+
default: () => void;
|
|
33
|
+
};
|
|
22
34
|
}>, {}, {
|
|
23
35
|
init: boolean;
|
|
24
36
|
authMethods: never[];
|
|
@@ -57,12 +69,26 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
57
69
|
type: FunctionConstructor;
|
|
58
70
|
required: true;
|
|
59
71
|
};
|
|
72
|
+
onPartialToggled: {
|
|
73
|
+
type: FunctionConstructor;
|
|
74
|
+
required: true;
|
|
75
|
+
};
|
|
60
76
|
isEditing: {
|
|
61
77
|
type: BooleanConstructor;
|
|
62
78
|
required: true;
|
|
63
79
|
};
|
|
80
|
+
enableRedisPartial: {
|
|
81
|
+
type: BooleanConstructor;
|
|
82
|
+
required: false;
|
|
83
|
+
};
|
|
84
|
+
showNewPartialModal: {
|
|
85
|
+
type: FunctionConstructor;
|
|
86
|
+
default: () => void;
|
|
87
|
+
};
|
|
64
88
|
}>> & Readonly<{}>, {
|
|
65
89
|
formOptions: Record<string, any>;
|
|
90
|
+
showNewPartialModal: Function;
|
|
91
|
+
enableRedisPartial: boolean;
|
|
66
92
|
}, {}, {
|
|
67
93
|
VueFormGenerator: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
68
94
|
schema: {
|
|
@@ -99,6 +125,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
99
125
|
default: string;
|
|
100
126
|
validator: (value: unknown) => boolean;
|
|
101
127
|
};
|
|
128
|
+
enableRedisPartial: {
|
|
129
|
+
type: BooleanConstructor;
|
|
130
|
+
default: boolean;
|
|
131
|
+
};
|
|
132
|
+
isEditing: {
|
|
133
|
+
type: BooleanConstructor;
|
|
134
|
+
default: boolean;
|
|
135
|
+
};
|
|
102
136
|
}>, {}, {
|
|
103
137
|
vfg: import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
104
138
|
schema: {
|
|
@@ -135,10 +169,20 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
135
169
|
default: string;
|
|
136
170
|
validator: (value: unknown) => boolean;
|
|
137
171
|
};
|
|
172
|
+
enableRedisPartial: {
|
|
173
|
+
type: BooleanConstructor;
|
|
174
|
+
default: boolean;
|
|
175
|
+
};
|
|
176
|
+
isEditing: {
|
|
177
|
+
type: BooleanConstructor;
|
|
178
|
+
default: boolean;
|
|
179
|
+
};
|
|
138
180
|
}>> & Readonly<{
|
|
139
181
|
onModelUpdated?: ((...args: any[]) => any) | undefined;
|
|
140
182
|
onValidated?: ((...args: any[]) => any) | undefined;
|
|
141
183
|
onRefreshModel?: ((...args: any[]) => any) | undefined;
|
|
184
|
+
onShowNewPartialModal?: ((...args: any[]) => any) | undefined;
|
|
185
|
+
onPartialToggled?: ((...args: any[]) => any) | undefined;
|
|
142
186
|
}>, {}, {}, {}, import("vue").MethodOptions, import("vue").DefineComponent<{}, {}, {}, {}, {
|
|
143
187
|
getFieldRowClasses(field: any): any;
|
|
144
188
|
fieldErrors(field: any): any;
|
|
@@ -181,10 +225,20 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
181
225
|
default: string;
|
|
182
226
|
validator: (value: unknown) => boolean;
|
|
183
227
|
};
|
|
228
|
+
enableRedisPartial: {
|
|
229
|
+
type: BooleanConstructor;
|
|
230
|
+
default: boolean;
|
|
231
|
+
};
|
|
232
|
+
isEditing: {
|
|
233
|
+
type: BooleanConstructor;
|
|
234
|
+
default: boolean;
|
|
235
|
+
};
|
|
184
236
|
}>> & Readonly<{
|
|
185
237
|
onModelUpdated?: ((...args: any[]) => any) | undefined;
|
|
186
238
|
onValidated?: ((...args: any[]) => any) | undefined;
|
|
187
239
|
onRefreshModel?: ((...args: any[]) => any) | undefined;
|
|
240
|
+
onShowNewPartialModal?: ((...args: any[]) => any) | undefined;
|
|
241
|
+
onPartialToggled?: ((...args: any[]) => any) | undefined;
|
|
188
242
|
}>, {}, false, {}, {}, {}, {}, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
189
243
|
P: Readonly<{}> & Readonly<{}>;
|
|
190
244
|
B: {};
|
|
@@ -241,10 +295,20 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
241
295
|
default: string;
|
|
242
296
|
validator: (value: unknown) => boolean;
|
|
243
297
|
};
|
|
298
|
+
enableRedisPartial: {
|
|
299
|
+
type: BooleanConstructor;
|
|
300
|
+
default: boolean;
|
|
301
|
+
};
|
|
302
|
+
isEditing: {
|
|
303
|
+
type: BooleanConstructor;
|
|
304
|
+
default: boolean;
|
|
305
|
+
};
|
|
244
306
|
}>> & Readonly<{
|
|
245
307
|
onModelUpdated?: ((...args: any[]) => any) | undefined;
|
|
246
308
|
onValidated?: ((...args: any[]) => any) | undefined;
|
|
247
309
|
onRefreshModel?: ((...args: any[]) => any) | undefined;
|
|
310
|
+
onShowNewPartialModal?: ((...args: any[]) => any) | undefined;
|
|
311
|
+
onPartialToggled?: ((...args: any[]) => any) | undefined;
|
|
248
312
|
}>, {}, {}, {}, {
|
|
249
313
|
getFieldRowClasses(field: any): any;
|
|
250
314
|
fieldErrors(field: any): any;
|
|
@@ -264,6 +328,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
264
328
|
onFieldValidated(res: any, errors: any, field: any): void;
|
|
265
329
|
onRefreshModel(): void;
|
|
266
330
|
onModelUpdated(newVal: any, schema: any): void;
|
|
331
|
+
onPartialToggled(field: any, model: any): void;
|
|
267
332
|
validate(isAsync?: null): boolean | any[] | Promise<boolean | any[]>;
|
|
268
333
|
clearValidationErrors(): void;
|
|
269
334
|
}, import("vue").DefineComponent<{}, {}, {}, {}, {
|
|
@@ -273,7 +338,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
273
338
|
fieldReadonly(field: any): any;
|
|
274
339
|
fieldFeatured(field: any): any;
|
|
275
340
|
fieldRequired(field: any): any;
|
|
276
|
-
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, import("vue").ComponentOptionsMixin, ("validated" | "modelUpdated" | "refreshModel")[], "validated" | "modelUpdated" | "refreshModel", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
341
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, import("vue").ComponentOptionsMixin, ("validated" | "modelUpdated" | "refreshModel" | "showNewPartialModal" | "partialToggled")[], "validated" | "modelUpdated" | "refreshModel" | "showNewPartialModal" | "partialToggled", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
277
342
|
schema: {
|
|
278
343
|
type: ObjectConstructor;
|
|
279
344
|
default: () => undefined;
|
|
@@ -308,17 +373,29 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
308
373
|
default: string;
|
|
309
374
|
validator: (value: unknown) => boolean;
|
|
310
375
|
};
|
|
376
|
+
enableRedisPartial: {
|
|
377
|
+
type: BooleanConstructor;
|
|
378
|
+
default: boolean;
|
|
379
|
+
};
|
|
380
|
+
isEditing: {
|
|
381
|
+
type: BooleanConstructor;
|
|
382
|
+
default: boolean;
|
|
383
|
+
};
|
|
311
384
|
}>> & Readonly<{
|
|
312
385
|
onModelUpdated?: ((...args: any[]) => any) | undefined;
|
|
313
386
|
onValidated?: ((...args: any[]) => any) | undefined;
|
|
314
387
|
onRefreshModel?: ((...args: any[]) => any) | undefined;
|
|
388
|
+
onShowNewPartialModal?: ((...args: any[]) => any) | undefined;
|
|
389
|
+
onPartialToggled?: ((...args: any[]) => any) | undefined;
|
|
315
390
|
}>, {
|
|
316
391
|
options: Record<string, any>;
|
|
317
392
|
model: Record<string, any>;
|
|
318
393
|
schema: Record<string, any>;
|
|
394
|
+
tag: string;
|
|
395
|
+
isEditing: boolean;
|
|
319
396
|
multiple: boolean;
|
|
320
397
|
isNewModel: boolean;
|
|
321
|
-
|
|
398
|
+
enableRedisPartial: boolean;
|
|
322
399
|
}, {}, {
|
|
323
400
|
formGroup: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
324
401
|
vfg: {
|
|
@@ -398,6 +475,95 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
398
475
|
errors: unknown[];
|
|
399
476
|
model: Record<string, any>;
|
|
400
477
|
}, {}, typeof import("../../utils/fieldsLoader"), {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
478
|
+
formRedis: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
479
|
+
tag: {
|
|
480
|
+
type: StringConstructor;
|
|
481
|
+
default: string;
|
|
482
|
+
validator: (value: string) => boolean;
|
|
483
|
+
};
|
|
484
|
+
model: {
|
|
485
|
+
type: ObjectConstructor;
|
|
486
|
+
default: () => undefined;
|
|
487
|
+
};
|
|
488
|
+
options: {
|
|
489
|
+
type: ObjectConstructor;
|
|
490
|
+
required: true;
|
|
491
|
+
};
|
|
492
|
+
field: {
|
|
493
|
+
type: import("vue").PropType<import("../..").FormRedisFields>;
|
|
494
|
+
required: true;
|
|
495
|
+
};
|
|
496
|
+
vfg: {
|
|
497
|
+
type: ObjectConstructor;
|
|
498
|
+
required: true;
|
|
499
|
+
};
|
|
500
|
+
errors: {
|
|
501
|
+
type: ArrayConstructor;
|
|
502
|
+
default(): never[];
|
|
503
|
+
};
|
|
504
|
+
redisPath: {
|
|
505
|
+
type: StringConstructor;
|
|
506
|
+
default: undefined;
|
|
507
|
+
required: false;
|
|
508
|
+
};
|
|
509
|
+
isEditing: {
|
|
510
|
+
type: BooleanConstructor;
|
|
511
|
+
default: boolean;
|
|
512
|
+
};
|
|
513
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
514
|
+
validated: (res: boolean, errors: any[], field: any) => any;
|
|
515
|
+
modelUpdated: (payload: any, schema: string) => any;
|
|
516
|
+
refreshModel: () => any;
|
|
517
|
+
showNewPartialModal: () => any;
|
|
518
|
+
partialToggled: (field: string, model: Record<string, any>) => any;
|
|
519
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
520
|
+
tag: {
|
|
521
|
+
type: StringConstructor;
|
|
522
|
+
default: string;
|
|
523
|
+
validator: (value: string) => boolean;
|
|
524
|
+
};
|
|
525
|
+
model: {
|
|
526
|
+
type: ObjectConstructor;
|
|
527
|
+
default: () => undefined;
|
|
528
|
+
};
|
|
529
|
+
options: {
|
|
530
|
+
type: ObjectConstructor;
|
|
531
|
+
required: true;
|
|
532
|
+
};
|
|
533
|
+
field: {
|
|
534
|
+
type: import("vue").PropType<import("../..").FormRedisFields>;
|
|
535
|
+
required: true;
|
|
536
|
+
};
|
|
537
|
+
vfg: {
|
|
538
|
+
type: ObjectConstructor;
|
|
539
|
+
required: true;
|
|
540
|
+
};
|
|
541
|
+
errors: {
|
|
542
|
+
type: ArrayConstructor;
|
|
543
|
+
default(): never[];
|
|
544
|
+
};
|
|
545
|
+
redisPath: {
|
|
546
|
+
type: StringConstructor;
|
|
547
|
+
default: undefined;
|
|
548
|
+
required: false;
|
|
549
|
+
};
|
|
550
|
+
isEditing: {
|
|
551
|
+
type: BooleanConstructor;
|
|
552
|
+
default: boolean;
|
|
553
|
+
};
|
|
554
|
+
}>> & Readonly<{
|
|
555
|
+
onValidated?: ((res: boolean, errors: any[], field: any) => any) | undefined;
|
|
556
|
+
onModelUpdated?: ((payload: any, schema: string) => any) | undefined;
|
|
557
|
+
onRefreshModel?: (() => any) | undefined;
|
|
558
|
+
onShowNewPartialModal?: (() => any) | undefined;
|
|
559
|
+
onPartialToggled?: ((field: string, model: Record<string, any>) => any) | undefined;
|
|
560
|
+
}>, {
|
|
561
|
+
errors: unknown[];
|
|
562
|
+
model: Record<string, any>;
|
|
563
|
+
tag: string;
|
|
564
|
+
redisPath: string;
|
|
565
|
+
isEditing: boolean;
|
|
566
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
401
567
|
}, {}, string, () => {
|
|
402
568
|
autofillSlot?: import("vue").Slot<any> | undefined;
|
|
403
569
|
}, true, {}, any>;
|
|
@@ -3,13 +3,19 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
3
3
|
formModel: Record<string, any>;
|
|
4
4
|
formOptions: any;
|
|
5
5
|
onModelUpdated: (value: any, model: string) => void;
|
|
6
|
+
onPartialToggled: (field: string, model: any) => void;
|
|
7
|
+
showNewPartialModal: (redisType: string) => void;
|
|
6
8
|
isEditing?: boolean;
|
|
9
|
+
enableRedisPartial?: boolean;
|
|
7
10
|
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
8
11
|
formSchema: any;
|
|
9
12
|
formModel: Record<string, any>;
|
|
10
13
|
formOptions: any;
|
|
11
14
|
onModelUpdated: (value: any, model: string) => void;
|
|
15
|
+
onPartialToggled: (field: string, model: any) => void;
|
|
16
|
+
showNewPartialModal: (redisType: string) => void;
|
|
12
17
|
isEditing?: boolean;
|
|
18
|
+
enableRedisPartial?: boolean;
|
|
13
19
|
}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
14
20
|
export default _default;
|
|
15
21
|
//# sourceMappingURL=RLAForm.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RLAForm.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/forms/RLAForm.vue"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"RLAForm.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/forms/RLAForm.vue"],"names":[],"mappings":";gBA6vBc,GAAG;eACJ,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;iBACjB,GAAG;oBACA,CAAC,KAAK,EAAE,GAAG,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI;sBACjC,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,KAAK,IAAI;yBAChC,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI;gBACpC,OAAO;yBACE,OAAO;;gBAPhB,GAAG;eACJ,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;iBACjB,GAAG;oBACA,CAAC,KAAK,EAAE,GAAG,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI;sBACjC,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,KAAK,IAAI;yBAChC,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI;gBACpC,OAAO;yBACE,OAAO;;AA2yB9B,wBAMG"}
|