@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":"FieldArray.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/fields/FieldArray.vue"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
declare var __VLS_6: {};
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
3
|
+
default?: (props: typeof __VLS_6) => any;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
6
|
+
model: {
|
|
7
|
+
type: ObjectConstructor;
|
|
8
|
+
default: () => null;
|
|
9
|
+
};
|
|
10
|
+
schema: {
|
|
11
|
+
type: ObjectConstructor;
|
|
12
|
+
default: () => null;
|
|
13
|
+
};
|
|
14
|
+
index: {
|
|
15
|
+
type: NumberConstructor;
|
|
16
|
+
default: undefined;
|
|
17
|
+
};
|
|
18
|
+
}>, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
19
|
+
"remove-item": () => any;
|
|
20
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
21
|
+
model: {
|
|
22
|
+
type: ObjectConstructor;
|
|
23
|
+
default: () => null;
|
|
24
|
+
};
|
|
25
|
+
schema: {
|
|
26
|
+
type: ObjectConstructor;
|
|
27
|
+
default: () => null;
|
|
28
|
+
};
|
|
29
|
+
index: {
|
|
30
|
+
type: NumberConstructor;
|
|
31
|
+
default: undefined;
|
|
32
|
+
};
|
|
33
|
+
}>> & Readonly<{
|
|
34
|
+
"onRemove-item"?: (() => any) | undefined;
|
|
35
|
+
}>, {
|
|
36
|
+
model: Record<string, any>;
|
|
37
|
+
schema: Record<string, any>;
|
|
38
|
+
index: number;
|
|
39
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
40
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
41
|
+
export default _default;
|
|
42
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
43
|
+
new (): {
|
|
44
|
+
$slots: S;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
//# sourceMappingURL=FieldArrayCardContainer.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FieldArrayCardContainer.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/fields/FieldArrayCardContainer.vue"],"names":[],"mappings":"AAiKA,QAAA,IAAI,OAAO,IAAW,CAAE;AACxB,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAiC/C,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4EAkBnB,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAE1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
declare var __VLS_1: {}, __VLS_16: {};
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
3
|
+
default?: (props: typeof __VLS_1) => any;
|
|
4
|
+
} & {
|
|
5
|
+
after?: (props: typeof __VLS_16) => any;
|
|
6
|
+
};
|
|
7
|
+
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
8
|
+
model: {
|
|
9
|
+
type: StringConstructor;
|
|
10
|
+
default: string;
|
|
11
|
+
};
|
|
12
|
+
}>, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
13
|
+
"remove-item": () => any;
|
|
14
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
15
|
+
model: {
|
|
16
|
+
type: StringConstructor;
|
|
17
|
+
default: string;
|
|
18
|
+
};
|
|
19
|
+
}>> & Readonly<{
|
|
20
|
+
"onRemove-item"?: (() => any) | undefined;
|
|
21
|
+
}>, {
|
|
22
|
+
model: string;
|
|
23
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
24
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
25
|
+
export default _default;
|
|
26
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
27
|
+
new (): {
|
|
28
|
+
$slots: S;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
//# sourceMappingURL=FieldArrayItem.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FieldArrayItem.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/fields/FieldArrayItem.vue"],"names":[],"mappings":"AAwIA,QAAA,IAAI,OAAO,IAAU,EAAE,QAAQ,IAAY,CAAE;AAC7C,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAC5C;IAAE,KAAK,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AAyB9C,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;4EAUnB,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAE1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
declare var __VLS_1: {};
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
3
|
+
default?: (props: typeof __VLS_1) => any;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_component: import("vue").DefineComponent<{}, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
6
|
+
"remove-item": () => any;
|
|
7
|
+
}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{
|
|
8
|
+
"onRemove-item"?: (() => any) | undefined;
|
|
9
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
10
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
11
|
+
export default _default;
|
|
12
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
13
|
+
new (): {
|
|
14
|
+
$slots: S;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
//# sourceMappingURL=FieldArrayMultiItem.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FieldArrayMultiItem.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/fields/FieldArrayMultiItem.vue"],"names":[],"mappings":"AAiFA,QAAA,IAAI,OAAO,IAAW,CAAE;AACxB,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAkB/C,QAAA,MAAM,eAAe;;;;iFAInB,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAE1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,236 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {
|
|
2
|
+
t: (translationKey: "general" | "post-function" | "exit-transformer" | "rla" | "validators" | "redis" | "fields" | "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" | "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" | "rla.identifiers.options.route" | "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" | "fields.auto_suggest" | "fields.auto_suggest.error" | "fields.auto_suggest.recently_created" | "fields.auto_suggest.items_count" | "fields.auto_suggest.no_results" | "fields.auto_suggest.loading" | "fields.auto_suggest.error.load_entity" | "vfg.labels" | "vfg.labels.on" | "vfg.labels.off", values?: Record<string, import("@kong-ui-public/i18n").MessageFormatPrimitiveValue> | undefined, opts?: import("@kong-ui-public/i18n").IntlMessageFormatOptions) => string;
|
|
3
|
+
KUI_ICON_SIZE_40: "20px";
|
|
4
|
+
KUI_COLOR_TEXT_NEUTRAL: "#6c7489";
|
|
5
|
+
EMPTY_VALUE_PLACEHOLDER: string;
|
|
6
|
+
}, {
|
|
7
|
+
suggestions: never[];
|
|
8
|
+
idValue: string;
|
|
9
|
+
message: string;
|
|
10
|
+
error: null;
|
|
11
|
+
items: never[];
|
|
12
|
+
initialItem: null;
|
|
13
|
+
selectedItem: null;
|
|
14
|
+
loading: boolean;
|
|
15
|
+
dataDrained: boolean;
|
|
16
|
+
}, {
|
|
17
|
+
fieldState(): string;
|
|
18
|
+
associatedEntity(): string | string[];
|
|
19
|
+
entity(): any;
|
|
20
|
+
scope(): any;
|
|
21
|
+
bypassSearch(): import("vue-router").LocationQueryValue | import("vue-router").LocationQueryValue[];
|
|
22
|
+
inputFields(): any;
|
|
23
|
+
allowUuidSearch(): any;
|
|
24
|
+
inputFieldsWithoutId(): any;
|
|
25
|
+
initialValueSelected(): boolean;
|
|
26
|
+
}, {
|
|
27
|
+
getPartial(size: any): any;
|
|
28
|
+
getAll(query: any, signal: any): Promise<any>;
|
|
29
|
+
getOne(id: any): Promise<any>;
|
|
30
|
+
transformItem(item: any): any;
|
|
31
|
+
getItem(data: any): any;
|
|
32
|
+
fetchUntilLimit(params: any, signal: any): Promise<any>;
|
|
33
|
+
fetchSuggestions(query: any, field: any, signal: any): Promise<any>;
|
|
34
|
+
getSuggestionLabel(item: any): any;
|
|
35
|
+
updateModel(value: any): void;
|
|
36
|
+
onSelected(item: any): void;
|
|
37
|
+
getReturnValue(item: any): any;
|
|
38
|
+
}, {
|
|
39
|
+
name: string;
|
|
40
|
+
props: string[];
|
|
41
|
+
emits: string[];
|
|
42
|
+
data(): {
|
|
43
|
+
errors: never[];
|
|
44
|
+
debouncedValidateFunc: null;
|
|
45
|
+
debouncedFormatFunc: null;
|
|
46
|
+
};
|
|
47
|
+
directives: {
|
|
48
|
+
attributes: {
|
|
49
|
+
beforeMount: (el: any, binding: any, vnode: any) => void;
|
|
50
|
+
updated: (el: any, binding: any, vnode: any) => void;
|
|
51
|
+
componentUpdated: (el: any, binding: any, vnode: any) => void;
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
computed: {
|
|
55
|
+
value: {
|
|
56
|
+
cache: boolean;
|
|
57
|
+
get(): any;
|
|
58
|
+
set(newValue: any): void;
|
|
59
|
+
};
|
|
60
|
+
};
|
|
61
|
+
methods: {
|
|
62
|
+
validate(calledParent: any): any[] | Promise<any[]>;
|
|
63
|
+
debouncedValidate(): void;
|
|
64
|
+
updateModelValue(newValue: any, oldValue: any): void;
|
|
65
|
+
clearValidationErrors(): void;
|
|
66
|
+
setModelValueByPath(path: any, value: any): void;
|
|
67
|
+
getFieldID(schema: any, unique?: boolean): string;
|
|
68
|
+
getLabelId(schema: any): string;
|
|
69
|
+
getFieldClasses(): any;
|
|
70
|
+
formatValueToField(value: any): any;
|
|
71
|
+
formatValueToModel(value: any): any;
|
|
72
|
+
};
|
|
73
|
+
}, import("vue").ComponentOptionsMixin, "model-updated"[], "model-updated", import("vue").PublicProps, Readonly<{}> & Readonly<{
|
|
74
|
+
"onModel-updated"?: ((...args: any[]) => any) | undefined;
|
|
75
|
+
}>, {}, {}, {
|
|
76
|
+
FieldScopedEntitySelect: {
|
|
77
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
78
|
+
transformItem?: import("../../types/form-autosuggest").AutoSuggestItemTransformer;
|
|
79
|
+
allowUuidSearch?: boolean;
|
|
80
|
+
placeholder?: string;
|
|
81
|
+
fields: string[];
|
|
82
|
+
selectedItem?: import("@kong/kongponents").SelectItem<string>;
|
|
83
|
+
selectedItemLoading?: boolean;
|
|
84
|
+
initialItemSelected?: boolean;
|
|
85
|
+
domId: string;
|
|
86
|
+
id: string;
|
|
87
|
+
entity: string;
|
|
88
|
+
disabled?: boolean;
|
|
89
|
+
fieldDisabled?: boolean;
|
|
90
|
+
error?: string | null;
|
|
91
|
+
} & import("../../types/form-autosuggest").AutoSuggestInjection> & Readonly<{
|
|
92
|
+
onChange?: ((item: import("@kong/kongponents").SelectItem<string> | null) => any) | undefined;
|
|
93
|
+
}>, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
94
|
+
change: (item: import("@kong/kongponents").SelectItem<string> | null) => any;
|
|
95
|
+
}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
96
|
+
P: {};
|
|
97
|
+
B: {};
|
|
98
|
+
D: {};
|
|
99
|
+
C: {};
|
|
100
|
+
M: {};
|
|
101
|
+
Defaults: {};
|
|
102
|
+
}, Readonly<{
|
|
103
|
+
transformItem?: import("../../types/form-autosuggest").AutoSuggestItemTransformer;
|
|
104
|
+
allowUuidSearch?: boolean;
|
|
105
|
+
placeholder?: string;
|
|
106
|
+
fields: string[];
|
|
107
|
+
selectedItem?: import("@kong/kongponents").SelectItem<string>;
|
|
108
|
+
selectedItemLoading?: boolean;
|
|
109
|
+
initialItemSelected?: boolean;
|
|
110
|
+
domId: string;
|
|
111
|
+
id: string;
|
|
112
|
+
entity: string;
|
|
113
|
+
disabled?: boolean;
|
|
114
|
+
fieldDisabled?: boolean;
|
|
115
|
+
error?: string | null;
|
|
116
|
+
} & import("../../types/form-autosuggest").AutoSuggestInjection> & Readonly<{
|
|
117
|
+
onChange?: ((item: import("@kong/kongponents").SelectItem<string> | null) => any) | undefined;
|
|
118
|
+
}>, {}, {}, {}, {}, {}>;
|
|
119
|
+
__isFragment?: never;
|
|
120
|
+
__isTeleport?: never;
|
|
121
|
+
__isSuspense?: never;
|
|
122
|
+
} & import("vue").ComponentOptionsBase<Readonly<{
|
|
123
|
+
transformItem?: import("../../types/form-autosuggest").AutoSuggestItemTransformer;
|
|
124
|
+
allowUuidSearch?: boolean;
|
|
125
|
+
placeholder?: string;
|
|
126
|
+
fields: string[];
|
|
127
|
+
selectedItem?: import("@kong/kongponents").SelectItem<string>;
|
|
128
|
+
selectedItemLoading?: boolean;
|
|
129
|
+
initialItemSelected?: boolean;
|
|
130
|
+
domId: string;
|
|
131
|
+
id: string;
|
|
132
|
+
entity: string;
|
|
133
|
+
disabled?: boolean;
|
|
134
|
+
fieldDisabled?: boolean;
|
|
135
|
+
error?: string | null;
|
|
136
|
+
} & import("../../types/form-autosuggest").AutoSuggestInjection> & Readonly<{
|
|
137
|
+
onChange?: ((item: import("@kong/kongponents").SelectItem<string> | null) => any) | undefined;
|
|
138
|
+
}>, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
139
|
+
change: (item: import("@kong/kongponents").SelectItem<string> | null) => any;
|
|
140
|
+
}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
141
|
+
$slots: {
|
|
142
|
+
before?: (props: {}) => any;
|
|
143
|
+
} & {
|
|
144
|
+
'selected-item'?: (props: {
|
|
145
|
+
item: import("@kong/kongponents").SelectItem<string>;
|
|
146
|
+
}) => any;
|
|
147
|
+
} & {
|
|
148
|
+
item?: (props: {
|
|
149
|
+
item: import("@kong/kongponents").SelectItem<string>;
|
|
150
|
+
}) => any;
|
|
151
|
+
};
|
|
152
|
+
});
|
|
153
|
+
SearchIcon: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
154
|
+
title: {
|
|
155
|
+
type: StringConstructor;
|
|
156
|
+
required: false;
|
|
157
|
+
default: string;
|
|
158
|
+
};
|
|
159
|
+
color: {
|
|
160
|
+
type: StringConstructor;
|
|
161
|
+
required: false;
|
|
162
|
+
default: string;
|
|
163
|
+
};
|
|
164
|
+
display: {
|
|
165
|
+
type: StringConstructor;
|
|
166
|
+
required: false;
|
|
167
|
+
default: string;
|
|
168
|
+
};
|
|
169
|
+
decorative: {
|
|
170
|
+
type: BooleanConstructor;
|
|
171
|
+
required: false;
|
|
172
|
+
default: boolean;
|
|
173
|
+
};
|
|
174
|
+
size: {
|
|
175
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
176
|
+
required: false;
|
|
177
|
+
default: "24px";
|
|
178
|
+
validator: (sizeValue: number | string) => boolean;
|
|
179
|
+
};
|
|
180
|
+
as: {
|
|
181
|
+
type: StringConstructor;
|
|
182
|
+
required: false;
|
|
183
|
+
default: string;
|
|
184
|
+
};
|
|
185
|
+
staticIds: {
|
|
186
|
+
type: BooleanConstructor;
|
|
187
|
+
default: boolean;
|
|
188
|
+
};
|
|
189
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
190
|
+
title: {
|
|
191
|
+
type: StringConstructor;
|
|
192
|
+
required: false;
|
|
193
|
+
default: string;
|
|
194
|
+
};
|
|
195
|
+
color: {
|
|
196
|
+
type: StringConstructor;
|
|
197
|
+
required: false;
|
|
198
|
+
default: string;
|
|
199
|
+
};
|
|
200
|
+
display: {
|
|
201
|
+
type: StringConstructor;
|
|
202
|
+
required: false;
|
|
203
|
+
default: string;
|
|
204
|
+
};
|
|
205
|
+
decorative: {
|
|
206
|
+
type: BooleanConstructor;
|
|
207
|
+
required: false;
|
|
208
|
+
default: boolean;
|
|
209
|
+
};
|
|
210
|
+
size: {
|
|
211
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
212
|
+
required: false;
|
|
213
|
+
default: "24px";
|
|
214
|
+
validator: (sizeValue: number | string) => boolean;
|
|
215
|
+
};
|
|
216
|
+
as: {
|
|
217
|
+
type: StringConstructor;
|
|
218
|
+
required: false;
|
|
219
|
+
default: string;
|
|
220
|
+
};
|
|
221
|
+
staticIds: {
|
|
222
|
+
type: BooleanConstructor;
|
|
223
|
+
default: boolean;
|
|
224
|
+
};
|
|
225
|
+
}>> & Readonly<{}>, {
|
|
226
|
+
title: string;
|
|
227
|
+
color: string;
|
|
228
|
+
display: string;
|
|
229
|
+
decorative: boolean;
|
|
230
|
+
size: string | number;
|
|
231
|
+
as: string;
|
|
232
|
+
staticIds: boolean;
|
|
233
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
234
|
+
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
235
|
+
export default _default;
|
|
236
|
+
//# sourceMappingURL=FieldAutoSuggest.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FieldAutoSuggest.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/fields/FieldAutoSuggest.vue"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {
|
|
2
|
+
t: (translationKey: "general" | "post-function" | "exit-transformer" | "rla" | "validators" | "redis" | "fields" | "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" | "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" | "rla.identifiers.options.route" | "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" | "fields.auto_suggest" | "fields.auto_suggest.error" | "fields.auto_suggest.recently_created" | "fields.auto_suggest.items_count" | "fields.auto_suggest.no_results" | "fields.auto_suggest.loading" | "fields.auto_suggest.error.load_entity" | "vfg.labels" | "vfg.labels.on" | "vfg.labels.off", values?: Record<string, import("@kong-ui-public/i18n").MessageFormatPrimitiveValue> | undefined, opts?: import("@kong-ui-public/i18n").IntlMessageFormatOptions) => string;
|
|
3
|
+
}, {
|
|
4
|
+
suggestions: never[];
|
|
5
|
+
idValue: string;
|
|
6
|
+
message: string;
|
|
7
|
+
items: never[];
|
|
8
|
+
initialItems: never[];
|
|
9
|
+
loading: boolean;
|
|
10
|
+
}, {
|
|
11
|
+
fieldState(): string;
|
|
12
|
+
associatedEntity(): string | string[];
|
|
13
|
+
entity(): any;
|
|
14
|
+
scope(): any;
|
|
15
|
+
bypassSearch(): import("vue-router").LocationQueryValue | import("vue-router").LocationQueryValue[];
|
|
16
|
+
}, {
|
|
17
|
+
onQueryChange(query: any): void;
|
|
18
|
+
search(query: any): Promise<void>;
|
|
19
|
+
getItem(data: any): any;
|
|
20
|
+
fetchUntilLimit(params: any): Promise<any[]>;
|
|
21
|
+
fetchSuggestions(query: any, field: any): Promise<any[]>;
|
|
22
|
+
fetchExact(id: any): Promise<any>;
|
|
23
|
+
getInputFields(): any;
|
|
24
|
+
getSuggestionLabel(item: any): any;
|
|
25
|
+
updateModel(value: any): void;
|
|
26
|
+
onSelected(item: any): void;
|
|
27
|
+
getReturnValue(item: any): any;
|
|
28
|
+
}, {
|
|
29
|
+
name: string;
|
|
30
|
+
props: string[];
|
|
31
|
+
emits: string[];
|
|
32
|
+
data(): {
|
|
33
|
+
errors: never[];
|
|
34
|
+
debouncedValidateFunc: null;
|
|
35
|
+
debouncedFormatFunc: null;
|
|
36
|
+
};
|
|
37
|
+
directives: {
|
|
38
|
+
attributes: {
|
|
39
|
+
beforeMount: (el: any, binding: any, vnode: any) => void;
|
|
40
|
+
updated: (el: any, binding: any, vnode: any) => void;
|
|
41
|
+
componentUpdated: (el: any, binding: any, vnode: any) => void;
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
computed: {
|
|
45
|
+
value: {
|
|
46
|
+
cache: boolean;
|
|
47
|
+
get(): any;
|
|
48
|
+
set(newValue: any): void;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
methods: {
|
|
52
|
+
validate(calledParent: any): any[] | Promise<any[]>;
|
|
53
|
+
debouncedValidate(): void;
|
|
54
|
+
updateModelValue(newValue: any, oldValue: any): void;
|
|
55
|
+
clearValidationErrors(): void;
|
|
56
|
+
setModelValueByPath(path: any, value: any): void;
|
|
57
|
+
getFieldID(schema: any, unique?: boolean): string;
|
|
58
|
+
getLabelId(schema: any): string;
|
|
59
|
+
getFieldClasses(): any;
|
|
60
|
+
formatValueToField(value: any): any;
|
|
61
|
+
formatValueToModel(value: any): any;
|
|
62
|
+
};
|
|
63
|
+
}, import("vue").ComponentOptionsMixin, "model-updated"[], "model-updated", import("vue").PublicProps, Readonly<{}> & Readonly<{
|
|
64
|
+
"onModel-updated"?: ((...args: any[]) => any) | undefined;
|
|
65
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
66
|
+
export default _default;
|
|
67
|
+
//# sourceMappingURL=FieldAutoSuggestLegacy.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FieldAutoSuggestLegacy.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/fields/FieldAutoSuggestLegacy.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=FieldCheckbox.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FieldCheckbox.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/fields/FieldCheckbox.vue"],"names":[],"mappings":"AAoFA,OAAO,EAAU,KAAK,QAAQ,EAAE,MAAM,KAAK,CAAA;;;;;;;cA8KvB,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,50 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {
|
|
2
|
+
comboExpanded: boolean;
|
|
3
|
+
}, {
|
|
4
|
+
items(): any;
|
|
5
|
+
selectedCount(): any;
|
|
6
|
+
}, {
|
|
7
|
+
getInputName(item: any): any;
|
|
8
|
+
getItemValue(item: any): any;
|
|
9
|
+
getItemName(item: any): any;
|
|
10
|
+
isItemChecked(item: any): any;
|
|
11
|
+
onChanged(event: any, item: any): void;
|
|
12
|
+
onExpandCombo(): void;
|
|
13
|
+
}, {
|
|
14
|
+
name: string;
|
|
15
|
+
props: string[];
|
|
16
|
+
emits: string[];
|
|
17
|
+
data(): {
|
|
18
|
+
errors: never[];
|
|
19
|
+
debouncedValidateFunc: null;
|
|
20
|
+
debouncedFormatFunc: null;
|
|
21
|
+
};
|
|
22
|
+
directives: {
|
|
23
|
+
attributes: {
|
|
24
|
+
beforeMount: (el: any, binding: any, vnode: any) => void;
|
|
25
|
+
updated: (el: any, binding: any, vnode: any) => void;
|
|
26
|
+
componentUpdated: (el: any, binding: any, vnode: any) => void;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
computed: {
|
|
30
|
+
value: {
|
|
31
|
+
cache: boolean;
|
|
32
|
+
get(): any;
|
|
33
|
+
set(newValue: any): void;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
methods: {
|
|
37
|
+
validate(calledParent: any): any[] | Promise<any[]>;
|
|
38
|
+
debouncedValidate(): void;
|
|
39
|
+
updateModelValue(newValue: any, oldValue: any): void;
|
|
40
|
+
clearValidationErrors(): void;
|
|
41
|
+
setModelValueByPath(path: any, value: any): void;
|
|
42
|
+
getFieldID(schema: any, unique?: boolean): string;
|
|
43
|
+
getLabelId(schema: any): string;
|
|
44
|
+
getFieldClasses(): any;
|
|
45
|
+
formatValueToField(value: any): any;
|
|
46
|
+
formatValueToModel(value: any): any;
|
|
47
|
+
};
|
|
48
|
+
}, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
49
|
+
export default _default;
|
|
50
|
+
//# sourceMappingURL=FieldChecklist.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FieldChecklist.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/fields/FieldChecklist.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=FieldInput.vue.d.ts.map
|