@kong-ui-public/forms 4.15.3 → 4.15.4-pr.2204.26d437ade.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 +2718 -2332
- package/dist/forms.umd.js +3 -3
- package/dist/style.css +1 -1
- package/dist/types/components/FormGenerator.vue.d.ts +36 -6
- package/dist/types/components/FormGenerator.vue.d.ts.map +1 -1
- package/dist/types/components/FormGroup.vue.d.ts +7 -1
- package/dist/types/components/FormGroup.vue.d.ts.map +1 -1
- package/dist/types/components/FormMixin.vue.d.ts +7 -1
- package/dist/types/components/FormRedis.vue.d.ts +1 -1
- package/dist/types/components/FormRedis.vue.d.ts.map +1 -1
- package/dist/types/components/RedisConfigCard.vue.d.ts +3 -3
- package/dist/types/components/RedisConfigCard.vue.d.ts.map +1 -1
- package/dist/types/components/RedisConfigSelect.vue.d.ts +3 -3
- package/dist/types/components/RedisConfigSelect.vue.d.ts.map +1 -1
- package/dist/types/components/fields/AutoSuggest.vue.d.ts +38 -0
- package/dist/types/components/fields/AutoSuggest.vue.d.ts.map +1 -0
- package/dist/types/components/fields/FieldArray.vue.d.ts +239 -12
- package/dist/types/components/fields/FieldArrayCardContainer.vue.d.ts +6 -10
- package/dist/types/components/fields/FieldArrayCardContainer.vue.d.ts.map +1 -1
- package/dist/types/components/fields/FieldArrayItem.vue.d.ts +8 -11
- package/dist/types/components/fields/FieldArrayItem.vue.d.ts.map +1 -1
- package/dist/types/components/fields/FieldArrayMultiItem.vue.d.ts +6 -10
- package/dist/types/components/fields/FieldArrayMultiItem.vue.d.ts.map +1 -1
- package/dist/types/components/fields/FieldAutoSuggest.vue.d.ts +2 -2
- package/dist/types/components/fields/FieldAutoSuggestV2.vue.d.ts +228 -0
- package/dist/types/components/fields/FieldAutoSuggestV2.vue.d.ts.map +1 -0
- package/dist/types/components/fields/FieldCheckbox.vue.d.ts.map +1 -1
- package/dist/types/components/fields/FieldInput.vue.d.ts.map +1 -1
- package/dist/types/components/fields/FieldLabel.vue.d.ts +1 -1
- package/dist/types/components/fields/FieldLabel.vue.d.ts.map +1 -1
- package/dist/types/components/fields/FieldMultiselect.vue.d.ts.map +1 -1
- package/dist/types/components/fields/FieldObjectAdvanced.vue.d.ts.map +1 -1
- package/dist/types/components/fields/FieldRadio.vue.d.ts.map +1 -1
- package/dist/types/components/fields/FieldScopedEntitySelect.vue.d.ts +40 -0
- package/dist/types/components/fields/FieldScopedEntitySelect.vue.d.ts.map +1 -0
- package/dist/types/components/fields/FieldSelect.vue.d.ts.map +1 -1
- package/dist/types/components/fields/FieldSelectionGroup.vue.d.ts +7 -0
- package/dist/types/components/fields/FieldSelectionGroup.vue.d.ts.map +1 -1
- package/dist/types/components/fields/FieldSwitch.vue.d.ts.map +1 -1
- package/dist/types/components/fields/FieldTextArea.vue.d.ts.map +1 -1
- package/dist/types/components/forms/ACMEForm.vue.d.ts +1 -1
- package/dist/types/components/forms/ACMEForm.vue.d.ts.map +1 -1
- package/dist/types/components/forms/ExitTransformer.vue.d.ts +1 -1
- package/dist/types/components/forms/ExitTransformer.vue.d.ts.map +1 -1
- package/dist/types/components/forms/OIDCForm.vue.d.ts +36 -6
- package/dist/types/components/forms/PostFunction.vue.d.ts +1 -1
- package/dist/types/components/forms/PostFunction.vue.d.ts.map +1 -1
- package/dist/types/components/forms/RLAForm.vue.d.ts +3 -11
- package/dist/types/components/forms/RLAForm.vue.d.ts.map +1 -1
- package/dist/types/const.d.ts +6 -0
- package/dist/types/const.d.ts.map +1 -1
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/types/form-autosuggest.d.ts +18 -0
- package/dist/types/types/form-autosuggest.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 +1 -0
- package/dist/types/utils/fieldsLoader.d.ts.map +1 -1
- package/dist/types/utils/isValidUuid.d.ts.map +1 -1
- package/dist/types/utils/redisPartial.d.ts.map +1 -1
- package/dist/types/utils/schema.d.ts.map +1 -1
- package/package.json +6 -5
|
@@ -0,0 +1,228 @@
|
|
|
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_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" | "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
|
+
}, {
|
|
6
|
+
suggestions: never[];
|
|
7
|
+
idValue: string;
|
|
8
|
+
message: string;
|
|
9
|
+
items: never[];
|
|
10
|
+
initialItem: null;
|
|
11
|
+
loading: boolean;
|
|
12
|
+
dataDrained: boolean;
|
|
13
|
+
}, {
|
|
14
|
+
fieldState(): string;
|
|
15
|
+
associatedEntity(): string | string[];
|
|
16
|
+
entity(): any;
|
|
17
|
+
scope(): any;
|
|
18
|
+
bypassSearch(): import("vue-router").LocationQueryValue | import("vue-router").LocationQueryValue[];
|
|
19
|
+
inputFields(): any;
|
|
20
|
+
allowUuidSearch(): any;
|
|
21
|
+
inputFieldsWithoutId(): any;
|
|
22
|
+
initialValueSelected(): boolean;
|
|
23
|
+
}, {
|
|
24
|
+
getPartial(size: any): any;
|
|
25
|
+
getAll(query: any, signal: any): Promise<any[]>;
|
|
26
|
+
getOne(id: any): Promise<any>;
|
|
27
|
+
transformItem(item: any): any;
|
|
28
|
+
dedupeSuggestions(items: any, filteredIds: any): any[];
|
|
29
|
+
getItem(data: any): any;
|
|
30
|
+
fetchUntilLimit(params: any, signal: any): Promise<any>;
|
|
31
|
+
fetchSuggestions(query: any, field: any, signal: any): Promise<any>;
|
|
32
|
+
getSuggestionLabel(item: any): any;
|
|
33
|
+
updateModel(value: any): void;
|
|
34
|
+
onSelected(item: any): void;
|
|
35
|
+
getReturnValue(item: any): any;
|
|
36
|
+
}, {
|
|
37
|
+
name: string;
|
|
38
|
+
props: string[];
|
|
39
|
+
emits: string[];
|
|
40
|
+
data(): {
|
|
41
|
+
errors: never[];
|
|
42
|
+
debouncedValidateFunc: null;
|
|
43
|
+
debouncedFormatFunc: null;
|
|
44
|
+
};
|
|
45
|
+
directives: {
|
|
46
|
+
attributes: {
|
|
47
|
+
beforeMount: (el: any, binding: any, vnode: any) => void;
|
|
48
|
+
updated: (el: any, binding: any, vnode: any) => void;
|
|
49
|
+
componentUpdated: (el: any, binding: any, vnode: any) => void;
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
computed: {
|
|
53
|
+
value: {
|
|
54
|
+
cache: boolean;
|
|
55
|
+
get(): any;
|
|
56
|
+
set(newValue: any): void;
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
methods: {
|
|
60
|
+
validate(calledParent: any): any[] | Promise<any[]>;
|
|
61
|
+
debouncedValidate(): void;
|
|
62
|
+
updateModelValue(newValue: any, oldValue: any): void;
|
|
63
|
+
clearValidationErrors(): void;
|
|
64
|
+
setModelValueByPath(path: any, value: any): void;
|
|
65
|
+
getFieldID(schema: any, unique?: boolean): string;
|
|
66
|
+
getLabelId(schema: any): string;
|
|
67
|
+
getFieldClasses(): any;
|
|
68
|
+
formatValueToField(value: any): any;
|
|
69
|
+
formatValueToModel(value: any): any;
|
|
70
|
+
};
|
|
71
|
+
}, import("vue").ComponentOptionsMixin, "model-updated"[], "model-updated", import("vue").PublicProps, Readonly<{}> & Readonly<{
|
|
72
|
+
"onModel-updated"?: ((...args: any[]) => any) | undefined;
|
|
73
|
+
}>, {}, {}, {
|
|
74
|
+
FieldScopedEntitySelect: {
|
|
75
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
76
|
+
transformItem?: import("../../types/form-autosuggest").AutoSuggestItemTransformer;
|
|
77
|
+
allowUuidSearch?: boolean;
|
|
78
|
+
placeholder?: string;
|
|
79
|
+
fields: string[];
|
|
80
|
+
initialItem?: import("@kong/kongponents").SelectItem<string>;
|
|
81
|
+
initialItemSelected?: boolean;
|
|
82
|
+
domId: string;
|
|
83
|
+
id: string;
|
|
84
|
+
entity: string;
|
|
85
|
+
disabled?: boolean;
|
|
86
|
+
fieldDisabled?: boolean;
|
|
87
|
+
} & import("../../types/form-autosuggest").AutoSuggestInjection> & Readonly<{
|
|
88
|
+
onChange?: ((item: import("@kong/kongponents").SelectItem<string> | null) => any) | undefined;
|
|
89
|
+
}>, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
90
|
+
change: (item: import("@kong/kongponents").SelectItem<string> | null) => any;
|
|
91
|
+
}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
92
|
+
P: {};
|
|
93
|
+
B: {};
|
|
94
|
+
D: {};
|
|
95
|
+
C: {};
|
|
96
|
+
M: {};
|
|
97
|
+
Defaults: {};
|
|
98
|
+
}, Readonly<{
|
|
99
|
+
transformItem?: import("../../types/form-autosuggest").AutoSuggestItemTransformer;
|
|
100
|
+
allowUuidSearch?: boolean;
|
|
101
|
+
placeholder?: string;
|
|
102
|
+
fields: string[];
|
|
103
|
+
initialItem?: import("@kong/kongponents").SelectItem<string>;
|
|
104
|
+
initialItemSelected?: boolean;
|
|
105
|
+
domId: string;
|
|
106
|
+
id: string;
|
|
107
|
+
entity: string;
|
|
108
|
+
disabled?: boolean;
|
|
109
|
+
fieldDisabled?: boolean;
|
|
110
|
+
} & import("../../types/form-autosuggest").AutoSuggestInjection> & Readonly<{
|
|
111
|
+
onChange?: ((item: import("@kong/kongponents").SelectItem<string> | null) => any) | undefined;
|
|
112
|
+
}>, {}, {}, {}, {}, {}>;
|
|
113
|
+
__isFragment?: never;
|
|
114
|
+
__isTeleport?: never;
|
|
115
|
+
__isSuspense?: never;
|
|
116
|
+
} & import("vue").ComponentOptionsBase<Readonly<{
|
|
117
|
+
transformItem?: import("../../types/form-autosuggest").AutoSuggestItemTransformer;
|
|
118
|
+
allowUuidSearch?: boolean;
|
|
119
|
+
placeholder?: string;
|
|
120
|
+
fields: string[];
|
|
121
|
+
initialItem?: import("@kong/kongponents").SelectItem<string>;
|
|
122
|
+
initialItemSelected?: boolean;
|
|
123
|
+
domId: string;
|
|
124
|
+
id: string;
|
|
125
|
+
entity: string;
|
|
126
|
+
disabled?: boolean;
|
|
127
|
+
fieldDisabled?: boolean;
|
|
128
|
+
} & import("../../types/form-autosuggest").AutoSuggestInjection> & Readonly<{
|
|
129
|
+
onChange?: ((item: import("@kong/kongponents").SelectItem<string> | null) => any) | undefined;
|
|
130
|
+
}>, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
131
|
+
change: (item: import("@kong/kongponents").SelectItem<string> | null) => any;
|
|
132
|
+
}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
133
|
+
$slots: {
|
|
134
|
+
before?: (props: {}) => any;
|
|
135
|
+
} & {
|
|
136
|
+
'selected-item'?: (props: {
|
|
137
|
+
item: import("@kong/kongponents").SelectItem<string>;
|
|
138
|
+
}) => any;
|
|
139
|
+
} & {
|
|
140
|
+
item?: (props: {
|
|
141
|
+
item: import("@kong/kongponents").SelectItem<string>;
|
|
142
|
+
}) => any;
|
|
143
|
+
};
|
|
144
|
+
});
|
|
145
|
+
SearchIcon: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
146
|
+
title: {
|
|
147
|
+
type: StringConstructor;
|
|
148
|
+
required: false;
|
|
149
|
+
default: string;
|
|
150
|
+
};
|
|
151
|
+
color: {
|
|
152
|
+
type: StringConstructor;
|
|
153
|
+
required: false;
|
|
154
|
+
default: string;
|
|
155
|
+
};
|
|
156
|
+
display: {
|
|
157
|
+
type: StringConstructor;
|
|
158
|
+
required: false;
|
|
159
|
+
default: string;
|
|
160
|
+
};
|
|
161
|
+
decorative: {
|
|
162
|
+
type: BooleanConstructor;
|
|
163
|
+
required: false;
|
|
164
|
+
default: boolean;
|
|
165
|
+
};
|
|
166
|
+
size: {
|
|
167
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
168
|
+
required: false;
|
|
169
|
+
default: "24px";
|
|
170
|
+
validator: (sizeValue: number | string) => boolean;
|
|
171
|
+
};
|
|
172
|
+
as: {
|
|
173
|
+
type: StringConstructor;
|
|
174
|
+
required: false;
|
|
175
|
+
default: string;
|
|
176
|
+
};
|
|
177
|
+
staticIds: {
|
|
178
|
+
type: BooleanConstructor;
|
|
179
|
+
default: boolean;
|
|
180
|
+
};
|
|
181
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
182
|
+
title: {
|
|
183
|
+
type: StringConstructor;
|
|
184
|
+
required: false;
|
|
185
|
+
default: string;
|
|
186
|
+
};
|
|
187
|
+
color: {
|
|
188
|
+
type: StringConstructor;
|
|
189
|
+
required: false;
|
|
190
|
+
default: string;
|
|
191
|
+
};
|
|
192
|
+
display: {
|
|
193
|
+
type: StringConstructor;
|
|
194
|
+
required: false;
|
|
195
|
+
default: string;
|
|
196
|
+
};
|
|
197
|
+
decorative: {
|
|
198
|
+
type: BooleanConstructor;
|
|
199
|
+
required: false;
|
|
200
|
+
default: boolean;
|
|
201
|
+
};
|
|
202
|
+
size: {
|
|
203
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
204
|
+
required: false;
|
|
205
|
+
default: "24px";
|
|
206
|
+
validator: (sizeValue: number | string) => boolean;
|
|
207
|
+
};
|
|
208
|
+
as: {
|
|
209
|
+
type: StringConstructor;
|
|
210
|
+
required: false;
|
|
211
|
+
default: string;
|
|
212
|
+
};
|
|
213
|
+
staticIds: {
|
|
214
|
+
type: BooleanConstructor;
|
|
215
|
+
default: boolean;
|
|
216
|
+
};
|
|
217
|
+
}>> & Readonly<{}>, {
|
|
218
|
+
title: string;
|
|
219
|
+
color: string;
|
|
220
|
+
display: string;
|
|
221
|
+
decorative: boolean;
|
|
222
|
+
size: string | number;
|
|
223
|
+
as: string;
|
|
224
|
+
staticIds: boolean;
|
|
225
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
226
|
+
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
227
|
+
export default _default;
|
|
228
|
+
//# sourceMappingURL=FieldAutoSuggestV2.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FieldAutoSuggestV2.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/fields/FieldAutoSuggestV2.vue"],"names":[],"mappings":""}
|
|
@@ -1 +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;;;;;;;
|
|
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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FieldInput.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/fields/FieldInput.vue"],"names":[],"mappings":"AA4PA,OAAO,EAA2D,KAAK,QAAQ,EAAE,MAAM,KAAK,CAAA;;;;;;;
|
|
1
|
+
{"version":3,"file":"FieldInput.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/fields/FieldInput.vue"],"names":[],"mappings":"AA4PA,OAAO,EAA2D,KAAK,QAAQ,EAAE,MAAM,KAAK,CAAA;;;;;;;cAmWxE,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"}
|
|
@@ -20,7 +20,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
20
20
|
type: ObjectConstructor;
|
|
21
21
|
required: true;
|
|
22
22
|
};
|
|
23
|
-
}>,
|
|
23
|
+
}>, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
24
24
|
disabled: {
|
|
25
25
|
type: BooleanConstructor;
|
|
26
26
|
default: boolean;
|
|
@@ -1 +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;;;;;;;
|
|
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"}
|
|
@@ -1 +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;;;;;;;
|
|
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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FieldObjectAdvanced.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/fields/FieldObjectAdvanced.vue"],"names":[],"mappings":";;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"FieldObjectAdvanced.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/fields/FieldObjectAdvanced.vue"],"names":[],"mappings":";;;;;;;;;;IA0vBI;;;;;;;;;;;;;;;;;;;OAmBG;2CAfQ,MAAM,iCAGJ,MAAM"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FieldRadio.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/fields/FieldRadio.vue"],"names":[],"mappings":"AAqGA,OAAO,EAAU,KAAK,QAAQ,EAAE,MAAM,KAAK,CAAA;;;;;;;
|
|
1
|
+
{"version":3,"file":"FieldRadio.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/fields/FieldRadio.vue"],"names":[],"mappings":"AAqGA,OAAO,EAAU,KAAK,QAAQ,EAAE,MAAM,KAAK,CAAA;;;;;;;cAiMvB,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,40 @@
|
|
|
1
|
+
import type { SelectItem } from '@kong/kongponents';
|
|
2
|
+
import type { AutoSuggestInjection, AutoSuggestItemTransformer } from '../../types/form-autosuggest';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
transformItem?: AutoSuggestItemTransformer;
|
|
5
|
+
allowUuidSearch?: boolean;
|
|
6
|
+
placeholder?: string;
|
|
7
|
+
fields: string[];
|
|
8
|
+
initialItem?: SelectItem<string>;
|
|
9
|
+
initialItemSelected?: boolean;
|
|
10
|
+
domId: string;
|
|
11
|
+
id: string;
|
|
12
|
+
entity: string;
|
|
13
|
+
disabled?: boolean;
|
|
14
|
+
fieldDisabled?: boolean;
|
|
15
|
+
} & AutoSuggestInjection;
|
|
16
|
+
declare var __VLS_11: {}, __VLS_14: {
|
|
17
|
+
item: SelectItem<string>;
|
|
18
|
+
}, __VLS_17: {
|
|
19
|
+
item: SelectItem<string>;
|
|
20
|
+
};
|
|
21
|
+
type __VLS_Slots = {} & {
|
|
22
|
+
before?: (props: typeof __VLS_11) => any;
|
|
23
|
+
} & {
|
|
24
|
+
'selected-item'?: (props: typeof __VLS_14) => any;
|
|
25
|
+
} & {
|
|
26
|
+
item?: (props: typeof __VLS_17) => any;
|
|
27
|
+
};
|
|
28
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
29
|
+
change: (item: SelectItem<string> | null) => any;
|
|
30
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
31
|
+
onChange?: ((item: SelectItem<string> | null) => any) | undefined;
|
|
32
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
33
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
34
|
+
export default _default;
|
|
35
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
36
|
+
new (): {
|
|
37
|
+
$slots: S;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
//# sourceMappingURL=FieldScopedEntitySelect.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FieldScopedEntitySelect.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/fields/FieldScopedEntitySelect.vue"],"names":[],"mappings":"AAqOA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAA;AACnD,OAAO,KAAK,EAAc,oBAAoB,EAAE,0BAA0B,EAAE,MAAM,8BAA8B,CAAA;AAKhH,KAAK,WAAW,GAAG;IACjB,aAAa,CAAC,EAAE,0BAA0B,CAAA;IAC1C,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,MAAM,EAAE,MAAM,EAAE,CAAA;IAChB,WAAW,CAAC,EAAE,UAAU,CAAC,MAAM,CAAC,CAAA;IAChC,mBAAmB,CAAC,EAAE,OAAO,CAAA;IAC7B,KAAK,EAAE,MAAM,CAAA;IACb,EAAE,EAAE,MAAM,CAAA;IACV,MAAM,EAAE,MAAM,CAAA;IACd,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,aAAa,CAAC,EAAE,OAAO,CAAA;CACxB,GAAG,oBAAoB,CAAC;AA2OzB,QAAA,IAAI,QAAQ,IAAW,EAAE,QAAQ;;CAAW,EAAE,QAAQ;;CAAY,CAAE;AACpE,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,GAC5C;IAAE,eAAe,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,GACrD;IAAE,IAAI,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AAwB7C,QAAA,MAAM,eAAe;;;;kFAKnB,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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FieldSelect.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/fields/FieldSelect.vue"],"names":[],"mappings":"AAsJA,OAAO,EAAoB,KAAK,QAAQ,EAAE,MAAM,KAAK,CAAA;;;;;;;
|
|
1
|
+
{"version":3,"file":"FieldSelect.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/fields/FieldSelect.vue"],"names":[],"mappings":"AAsJA,OAAO,EAAoB,KAAK,QAAQ,EAAE,MAAM,KAAK,CAAA;;;;;;;cAqPjC,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"}
|
|
@@ -13,6 +13,13 @@ declare const _default: import("vue").DefineComponent<{}, {}, {
|
|
|
13
13
|
[Symbol.hasInstance](value: any): boolean;
|
|
14
14
|
[Symbol.metadata]: DecoratorMetadata | null;
|
|
15
15
|
};
|
|
16
|
+
/**
|
|
17
|
+
* renderedTrack tracks makes lazy rendering possible by tracking each index pointed component's render state
|
|
18
|
+
* all unrendered components are set to 0, when the corresponding group got picked it will be set to 1 for good,
|
|
19
|
+
* this retains the local state for each subgroup without initializing early to send unpermitted requests which
|
|
20
|
+
* triggers testing failures
|
|
21
|
+
*/
|
|
22
|
+
renderedTrack: never[];
|
|
16
23
|
fieldSchema: never[];
|
|
17
24
|
scope: string;
|
|
18
25
|
}, {}, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FieldSelectionGroup.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/fields/FieldSelectionGroup.vue"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"FieldSelectionGroup.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/fields/FieldSelectionGroup.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;IA6bM;;;;;OAKG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FieldSwitch.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/fields/FieldSwitch.vue"],"names":[],"mappings":"AAsGA,OAAO,EAAU,KAAK,QAAQ,EAAE,MAAM,KAAK,CAAA;;;;;;;
|
|
1
|
+
{"version":3,"file":"FieldSwitch.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/fields/FieldSwitch.vue"],"names":[],"mappings":"AAsGA,OAAO,EAAU,KAAK,QAAQ,EAAE,MAAM,KAAK,CAAA;;;;;;;cAiMvB,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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FieldTextArea.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/fields/FieldTextArea.vue"],"names":[],"mappings":"AAyGA,OAAO,EAAkB,KAAK,QAAQ,EAAE,MAAM,KAAK,CAAA;;;;;;;
|
|
1
|
+
{"version":3,"file":"FieldTextArea.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/fields/FieldTextArea.vue"],"names":[],"mappings":"AAyGA,OAAO,EAAkB,KAAK,QAAQ,EAAE,MAAM,KAAK,CAAA;;;;;;;cA8M/B,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"}
|
|
@@ -20,7 +20,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
20
20
|
type: BooleanConstructor;
|
|
21
21
|
required: true;
|
|
22
22
|
};
|
|
23
|
-
}>,
|
|
23
|
+
}>, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
24
24
|
formModel: {
|
|
25
25
|
type: PropType<any>;
|
|
26
26
|
required: true;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ACMEForm.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/forms/ACMEForm.vue"],"names":[],"mappings":"AAsZA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;;;
|
|
1
|
+
{"version":3,"file":"ACMEForm.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/forms/ACMEForm.vue"],"names":[],"mappings":"AAsZA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;;;cA0rBf,QAAQ,CAAC,GAAG,CAAC;;;;cAIb,QAAQ,CAAC,GAAG,CAAC;;;;cAIb,QAAQ,CAAC,GAAG,CAAC;;;;cAIX,QAAQ,CAAC,MAAM,IAAI,CAAC;;;;;;;;;cAZtB,QAAQ,CAAC,GAAG,CAAC;;;;cAIb,QAAQ,CAAC,GAAG,CAAC;;;;cAIb,QAAQ,CAAC,GAAG,CAAC;;;;cAIX,QAAQ,CAAC,MAAM,IAAI,CAAC;;;;;;;;;;AAjB1C,wBAyBG"}
|
|
@@ -20,7 +20,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
20
20
|
type: BooleanConstructor;
|
|
21
21
|
required: true;
|
|
22
22
|
};
|
|
23
|
-
}>,
|
|
23
|
+
}>, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
24
24
|
formModel: {
|
|
25
25
|
type: ObjectConstructor;
|
|
26
26
|
required: true;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ExitTransformer.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/forms/ExitTransformer.vue"],"names":[],"mappings":"AAyFA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"ExitTransformer.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/forms/ExitTransformer.vue"],"names":[],"mappings":"AAyFA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;;;;;;;;;;;;;;;cAoKb,QAAQ,CAAC,MAAM,IAAI,CAAC;;;;;;;;;;;;;;;;;;;;;cAApB,QAAQ,CAAC,MAAM,IAAI,CAAC;;;;;;;;;;AAjB1C,wBAyBG"}
|
|
@@ -189,7 +189,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
189
189
|
onPartialToggled?: ((...args: any[]) => any) | undefined;
|
|
190
190
|
onShowNewPartialModal?: ((...args: any[]) => any) | undefined;
|
|
191
191
|
}>, {}, {}, {}, import("vue").MethodOptions, import("vue").DefineComponent<{}, {}, {}, {}, {
|
|
192
|
-
getFieldRowClasses(field: any):
|
|
192
|
+
getFieldRowClasses(field: any): {
|
|
193
|
+
[x: number]: any;
|
|
194
|
+
disabled: any;
|
|
195
|
+
readonly: any;
|
|
196
|
+
featured: any;
|
|
197
|
+
required: any;
|
|
198
|
+
};
|
|
193
199
|
fieldErrors(field: any): any;
|
|
194
200
|
fieldDisabled(field: any): any;
|
|
195
201
|
fieldReadonly(field: any): any;
|
|
@@ -250,7 +256,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
250
256
|
D: {};
|
|
251
257
|
C: {};
|
|
252
258
|
M: {
|
|
253
|
-
getFieldRowClasses(field: any):
|
|
259
|
+
getFieldRowClasses(field: any): {
|
|
260
|
+
[x: number]: any;
|
|
261
|
+
disabled: any;
|
|
262
|
+
readonly: any;
|
|
263
|
+
featured: any;
|
|
264
|
+
required: any;
|
|
265
|
+
};
|
|
254
266
|
fieldErrors(field: any): any;
|
|
255
267
|
fieldDisabled(field: any): any;
|
|
256
268
|
fieldReadonly(field: any): any;
|
|
@@ -315,7 +327,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
315
327
|
onPartialToggled?: ((...args: any[]) => any) | undefined;
|
|
316
328
|
onShowNewPartialModal?: ((...args: any[]) => any) | undefined;
|
|
317
329
|
}>, {}, {}, {}, {
|
|
318
|
-
getFieldRowClasses(field: any):
|
|
330
|
+
getFieldRowClasses(field: any): {
|
|
331
|
+
[x: number]: any;
|
|
332
|
+
disabled: any;
|
|
333
|
+
readonly: any;
|
|
334
|
+
featured: any;
|
|
335
|
+
required: any;
|
|
336
|
+
};
|
|
319
337
|
fieldErrors(field: any): any;
|
|
320
338
|
fieldDisabled(field: any): any;
|
|
321
339
|
fieldReadonly(field: any): any;
|
|
@@ -337,7 +355,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
337
355
|
validate(isAsync?: null): boolean | any[] | Promise<boolean | any[]>;
|
|
338
356
|
clearValidationErrors(): void;
|
|
339
357
|
}, import("vue").DefineComponent<{}, {}, {}, {}, {
|
|
340
|
-
getFieldRowClasses(field: any):
|
|
358
|
+
getFieldRowClasses(field: any): {
|
|
359
|
+
[x: number]: any;
|
|
360
|
+
disabled: any;
|
|
361
|
+
readonly: any;
|
|
362
|
+
featured: any;
|
|
363
|
+
required: any;
|
|
364
|
+
};
|
|
341
365
|
fieldErrors(field: any): any;
|
|
342
366
|
fieldDisabled(field: any): any;
|
|
343
367
|
fieldReadonly(field: any): any;
|
|
@@ -445,7 +469,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
445
469
|
clearValidationErrors(): any;
|
|
446
470
|
formattedLabel(originalLabel: any): any;
|
|
447
471
|
}, import("vue").DefineComponent<{}, {}, {}, {}, {
|
|
448
|
-
getFieldRowClasses(field: any):
|
|
472
|
+
getFieldRowClasses(field: any): {
|
|
473
|
+
[x: number]: any;
|
|
474
|
+
disabled: any;
|
|
475
|
+
readonly: any;
|
|
476
|
+
featured: any;
|
|
477
|
+
required: any;
|
|
478
|
+
};
|
|
449
479
|
fieldErrors(field: any): any;
|
|
450
480
|
fieldDisabled(field: any): any;
|
|
451
481
|
fieldReadonly(field: any): any;
|
|
@@ -516,7 +546,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
516
546
|
type: BooleanConstructor;
|
|
517
547
|
default: boolean;
|
|
518
548
|
};
|
|
519
|
-
}>,
|
|
549
|
+
}>, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
520
550
|
validated: (res: boolean, errors: any[], field: any) => any;
|
|
521
551
|
modelUpdated: (payload: any, schema: string) => any;
|
|
522
552
|
refreshModel: () => any;
|
|
@@ -20,7 +20,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
20
20
|
type: BooleanConstructor;
|
|
21
21
|
required: true;
|
|
22
22
|
};
|
|
23
|
-
}>,
|
|
23
|
+
}>, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
24
24
|
formModel: {
|
|
25
25
|
type: ObjectConstructor;
|
|
26
26
|
required: true;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PostFunction.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/forms/PostFunction.vue"],"names":[],"mappings":"AAyFA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"PostFunction.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/forms/PostFunction.vue"],"names":[],"mappings":"AAyFA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;;;;;;;;;;;;;;;cAoKb,QAAQ,CAAC,MAAM,IAAI,CAAC;;;;;;;;;;;;;;;;;;;;;cAApB,QAAQ,CAAC,MAAM,IAAI,CAAC;;;;;;;;;;AAjB1C,wBAyBG"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
type __VLS_Props = {
|
|
2
2
|
formSchema: any;
|
|
3
3
|
formModel: Record<string, any>;
|
|
4
4
|
formOptions: any;
|
|
@@ -7,15 +7,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
7
7
|
showNewPartialModal: (redisType: string) => void;
|
|
8
8
|
isEditing?: boolean;
|
|
9
9
|
enableRedisPartial?: boolean;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
formModel: Record<string, any>;
|
|
13
|
-
formOptions: any;
|
|
14
|
-
onModelUpdated: (value: any, model: string) => void;
|
|
15
|
-
onPartialToggled: (field: string, model: any) => void;
|
|
16
|
-
showNewPartialModal: (redisType: string) => void;
|
|
17
|
-
isEditing?: boolean;
|
|
18
|
-
enableRedisPartial?: boolean;
|
|
19
|
-
}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
10
|
+
};
|
|
11
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
20
12
|
export default _default;
|
|
21
13
|
//# 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":"AA0vBA,KAAK,WAAW,GAAG;IACjB,UAAU,EAAE,GAAG,CAAA;IACf,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IAC9B,WAAW,EAAE,GAAG,CAAA;IAChB,cAAc,EAAE,CAAC,KAAK,EAAE,GAAG,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IACnD,gBAAgB,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,KAAK,IAAI,CAAA;IACrD,mBAAmB,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAA;IAChD,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,kBAAkB,CAAC,EAAE,OAAO,CAAA;CAC7B,CAAC;;AA85BF,wBAIG"}
|
package/dist/types/const.d.ts
CHANGED
|
@@ -6,4 +6,10 @@ export declare const REDIS_PARTIAL_INFO = "redis-partial-info";
|
|
|
6
6
|
export declare const AUTOFILL_SLOT_NAME = "autofill";
|
|
7
7
|
/** Used by `provide` and `inject` */
|
|
8
8
|
export declare const AUTOFILL_SLOT = "autofillSlot";
|
|
9
|
+
export declare const FIELD_STATES: {
|
|
10
|
+
CREATE_NOT_FROM_ENTITY: string;
|
|
11
|
+
CREATE_FROM_ENTITY: string;
|
|
12
|
+
UPDATE_ENTITY: string;
|
|
13
|
+
SET_REFERRAL_VALUE: string;
|
|
14
|
+
};
|
|
9
15
|
//# sourceMappingURL=const.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"const.d.ts","sourceRoot":"","sources":["../../src/const.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa,sBAAsB,CAAA;AAEhD,eAAO,MAAM,YAAY,yBAAyB,CAAA;AAElD,eAAO,MAAM,yBAAyB,mCAAmC,CAAA;AAEzE,eAAO,MAAM,kBAAkB,uBAAuB,CAAA;AAEtD,oCAAoC;AACpC,eAAO,MAAM,kBAAkB,aAAa,CAAA;AAE5C,qCAAqC;AACrC,eAAO,MAAM,aAAa,iBAAiB,CAAA"}
|
|
1
|
+
{"version":3,"file":"const.d.ts","sourceRoot":"","sources":["../../src/const.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa,sBAAsB,CAAA;AAEhD,eAAO,MAAM,YAAY,yBAAyB,CAAA;AAElD,eAAO,MAAM,yBAAyB,mCAAmC,CAAA;AAEzE,eAAO,MAAM,kBAAkB,uBAAuB,CAAA;AAEtD,oCAAoC;AACpC,eAAO,MAAM,kBAAkB,aAAa,CAAA;AAE5C,qCAAqC;AACrC,eAAO,MAAM,aAAa,iBAAiB,CAAA;AAE3C,eAAO,MAAM,YAAY;;;;;CAKxB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,gBAAgB,MAAM,gCAAgC,CAAA;AAC7D,OAAO,KAAK,WAAW,MAAM,oBAAoB,CAAA;AAEjD,OAAO,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAA;AAC1D,OAAO,EAAE,gBAAgB,EAAE,WAAW,EAAE,CAAA;AAExC,eAAO,MAAM,iBAAiB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,gBAAgB,MAAM,gCAAgC,CAAA;AAC7D,OAAO,KAAK,WAAW,MAAM,oBAAoB,CAAA;AAEjD,OAAO,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAA;AAC1D,OAAO,EAAE,gBAAgB,EAAE,WAAW,EAAE,CAAA;AAExC,eAAO,MAAM,iBAAiB,GAAI,WAAW,MAAM,KAAG,MAWrD,CAAA;AAED,cAAc,SAAS,CAAA;AACvB,cAAc,SAAS,CAAA;AACvB,OAAO,KAAK,aAAa,MAAM,mCAAmC,CAAA;AAElE,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,eAAe,CAAA"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { AxiosResponse } from 'axios';
|
|
2
|
+
import type { SelectItem } from '@kong/kongponents';
|
|
3
|
+
export interface EntityData {
|
|
4
|
+
[key: string]: any;
|
|
5
|
+
id: string;
|
|
6
|
+
}
|
|
7
|
+
export interface EntityResponse {
|
|
8
|
+
data: EntityData[];
|
|
9
|
+
next?: string;
|
|
10
|
+
offset?: string;
|
|
11
|
+
}
|
|
12
|
+
export interface AutoSuggestInjection {
|
|
13
|
+
getAll: (query: string, signal?: AbortSignal) => Promise<EntityData[]>;
|
|
14
|
+
getPartial: (size: number) => Promise<AxiosResponse<EntityResponse>>;
|
|
15
|
+
getOne: (id: string) => Promise<AxiosResponse<EntityData>>;
|
|
16
|
+
}
|
|
17
|
+
export type AutoSuggestItemTransformer = (item: EntityData) => SelectItem<string>;
|
|
18
|
+
//# sourceMappingURL=form-autosuggest.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"form-autosuggest.d.ts","sourceRoot":"","sources":["../../../src/types/form-autosuggest.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAA;AAC1C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAA;AAEnD,MAAM,WAAW,UAAU;IACzB,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;IAClB,EAAE,EAAE,MAAM,CAAA;CACX;AAED,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,UAAU,EAAE,CAAA;IAClB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAED,MAAM,WAAW,oBAAoB;IACnC,MAAM,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,WAAW,KAAK,OAAO,CAAC,UAAU,EAAE,CAAC,CAAA;IACtE,UAAU,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,OAAO,CAAC,aAAa,CAAC,cAAc,CAAC,CAAC,CAAA;IACpE,MAAM,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,OAAO,CAAC,aAAa,CAAC,UAAU,CAAC,CAAC,CAAA;CAC3D;AAED,MAAM,MAAM,0BAA0B,GAAG,CAAC,IAAI,EAAE,UAAU,KAAK,UAAU,CAAC,MAAM,CAAC,CAAA"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { FIELD_STATES } from '../const';
|
|
2
|
+
import type { SelectItem } from '@kong/kongponents';
|
|
3
|
+
import type { EntityData } from '../types/form-autosuggest';
|
|
4
|
+
export declare const defaultItemTransformer: (item: EntityData) => SelectItem<string>;
|
|
5
|
+
/**
|
|
6
|
+
* 1. Look up current state using current model and entity from router (if exists)
|
|
7
|
+
* 2. If Updating, look up object from ID
|
|
8
|
+
* 3. If Creating & from referral (ie. service -> route) set value with entity object from params
|
|
9
|
+
* TODO: mark model to a specific type when we can.
|
|
10
|
+
* @returns {Object} Object to set current search text
|
|
11
|
+
*/
|
|
12
|
+
export declare function getFieldState(model: any, associatedEntity: boolean, bypassSearch: boolean): typeof FIELD_STATES[keyof typeof FIELD_STATES];
|
|
13
|
+
//# sourceMappingURL=autoSuggest.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"autoSuggest.d.ts","sourceRoot":"","sources":["../../../src/utils/autoSuggest.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAA;AAEvC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAA;AACnD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAA;AAE3D,eAAO,MAAM,sBAAsB,GAAI,MAAM,UAAU,KAAG,UAAU,CAAC,MAAM,CAM1E,CAAA;AAED;;;;;;GAMG;AACH,wBAAgB,aAAa,CAAC,KAAK,EAAE,GAAG,EAAE,gBAAgB,EAAE,OAAO,EAAE,YAAY,EAAE,OAAO,GAAG,OAAO,YAAY,CAAC,MAAM,OAAO,YAAY,CAAC,CAU1I"}
|
|
@@ -4,6 +4,7 @@ export { default as FieldArrayCardContainer } from '../components/fields/FieldAr
|
|
|
4
4
|
export { default as FieldArrayItem } from '../components/fields/FieldArrayItem.vue';
|
|
5
5
|
export { default as FieldArrayMultiItem } from '../components/fields/FieldArrayMultiItem.vue';
|
|
6
6
|
export { default as FieldAutoSuggest } from '../components/fields/FieldAutoSuggest.vue';
|
|
7
|
+
export { default as FieldAutoSuggestV2 } from '../components/fields/FieldAutoSuggestV2.vue';
|
|
7
8
|
export { default as FieldCheckbox } from '../components/fields/FieldCheckbox.vue';
|
|
8
9
|
export { default as FieldChecklist } from '../components/fields/FieldChecklist.vue';
|
|
9
10
|
export { default as FieldInput } from '../components/fields/FieldInput.vue';
|