@kong-ui-public/forms 4.20.1 → 4.20.2-pr.2701.377d8f5a8.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/package.json +4 -4
- package/dist/forms.es.js +0 -6834
- package/dist/forms.umd.js +0 -4
- package/dist/style.css +0 -1
- package/dist/types/components/FormGenerator.vue.d.ts +0 -517
- package/dist/types/components/FormGenerator.vue.d.ts.map +0 -1
- package/dist/types/components/FormGroup.vue.d.ts +0 -88
- package/dist/types/components/FormGroup.vue.d.ts.map +0 -1
- package/dist/types/components/FormMixin.vue.d.ts +0 -16
- package/dist/types/components/FormMixin.vue.d.ts.map +0 -1
- package/dist/types/components/FormRedis.vue.d.ts +0 -99
- package/dist/types/components/FormRedis.vue.d.ts.map +0 -1
- package/dist/types/components/RedisConfigCard.vue.d.ts +0 -54
- package/dist/types/components/RedisConfigCard.vue.d.ts.map +0 -1
- package/dist/types/components/RedisConfigSelect.vue.d.ts +0 -87
- package/dist/types/components/RedisConfigSelect.vue.d.ts.map +0 -1
- package/dist/types/components/fields/AutoSuggest.vue.d.ts +0 -39
- package/dist/types/components/fields/AutoSuggest.vue.d.ts.map +0 -1
- package/dist/types/components/fields/FieldAdvanced.vue.d.ts +0 -49
- package/dist/types/components/fields/FieldAdvanced.vue.d.ts.map +0 -1
- package/dist/types/components/fields/FieldArray.vue.d.ts +0 -1037
- package/dist/types/components/fields/FieldArray.vue.d.ts.map +0 -1
- package/dist/types/components/fields/FieldArrayCardContainer.vue.d.ts +0 -47
- package/dist/types/components/fields/FieldArrayCardContainer.vue.d.ts.map +0 -1
- package/dist/types/components/fields/FieldArrayItem.vue.d.ts +0 -31
- package/dist/types/components/fields/FieldArrayItem.vue.d.ts.map +0 -1
- package/dist/types/components/fields/FieldArrayMultiItem.vue.d.ts +0 -17
- package/dist/types/components/fields/FieldArrayMultiItem.vue.d.ts.map +0 -1
- package/dist/types/components/fields/FieldAutoSuggest.vue.d.ts +0 -236
- package/dist/types/components/fields/FieldAutoSuggest.vue.d.ts.map +0 -1
- package/dist/types/components/fields/FieldAutoSuggestLegacy.vue.d.ts +0 -67
- package/dist/types/components/fields/FieldAutoSuggestLegacy.vue.d.ts.map +0 -1
- package/dist/types/components/fields/FieldCheckbox.vue.d.ts +0 -82
- package/dist/types/components/fields/FieldCheckbox.vue.d.ts.map +0 -1
- package/dist/types/components/fields/FieldChecklist.vue.d.ts +0 -50
- package/dist/types/components/fields/FieldChecklist.vue.d.ts.map +0 -1
- package/dist/types/components/fields/FieldInput.vue.d.ts +0 -82
- package/dist/types/components/fields/FieldInput.vue.d.ts.map +0 -1
- package/dist/types/components/fields/FieldKeyValuePairs.vue.d.ts +0 -127
- package/dist/types/components/fields/FieldKeyValuePairs.vue.d.ts.map +0 -1
- package/dist/types/components/fields/FieldLabel.vue.d.ts +0 -50
- package/dist/types/components/fields/FieldLabel.vue.d.ts.map +0 -1
- package/dist/types/components/fields/FieldMetric.vue.d.ts +0 -205
- package/dist/types/components/fields/FieldMetric.vue.d.ts.map +0 -1
- package/dist/types/components/fields/FieldMultiselect.vue.d.ts +0 -82
- package/dist/types/components/fields/FieldMultiselect.vue.d.ts.map +0 -1
- package/dist/types/components/fields/FieldObject.vue.d.ts +0 -49
- package/dist/types/components/fields/FieldObject.vue.d.ts.map +0 -1
- package/dist/types/components/fields/FieldObjectAdvanced.vue.d.ts +0 -73
- package/dist/types/components/fields/FieldObjectAdvanced.vue.d.ts.map +0 -1
- package/dist/types/components/fields/FieldRadio.vue.d.ts +0 -82
- package/dist/types/components/fields/FieldRadio.vue.d.ts.map +0 -1
- package/dist/types/components/fields/FieldScopedEntitySelect.vue.d.ts +0 -59
- package/dist/types/components/fields/FieldScopedEntitySelect.vue.d.ts.map +0 -1
- package/dist/types/components/fields/FieldSelect.vue.d.ts +0 -82
- package/dist/types/components/fields/FieldSelect.vue.d.ts.map +0 -1
- package/dist/types/components/fields/FieldSelectionGroup.vue.d.ts +0 -66
- package/dist/types/components/fields/FieldSelectionGroup.vue.d.ts.map +0 -1
- package/dist/types/components/fields/FieldSwitch.vue.d.ts +0 -82
- package/dist/types/components/fields/FieldSwitch.vue.d.ts.map +0 -1
- package/dist/types/components/fields/FieldTextArea.vue.d.ts +0 -82
- package/dist/types/components/fields/FieldTextArea.vue.d.ts.map +0 -1
- package/dist/types/components/fields/__tests__/FieldAutoSuggestLegacy.spec.d.ts +0 -2
- package/dist/types/components/fields/__tests__/FieldAutoSuggestLegacy.spec.d.ts.map +0 -1
- package/dist/types/components/fields/abstractField.d.ts +0 -39
- package/dist/types/components/fields/abstractField.d.ts.map +0 -1
- package/dist/types/components/fields/exports.d.ts +0 -2
- package/dist/types/components/fields/exports.d.ts.map +0 -1
- package/dist/types/components/forms/ACMEForm.vue.d.ts +0 -48
- package/dist/types/components/forms/ACMEForm.vue.d.ts.map +0 -1
- package/dist/types/components/forms/ExitTransformer.vue.d.ts +0 -48
- package/dist/types/components/forms/ExitTransformer.vue.d.ts.map +0 -1
- package/dist/types/components/forms/OIDCForm.vue.d.ts +0 -610
- package/dist/types/components/forms/OIDCForm.vue.d.ts.map +0 -1
- package/dist/types/components/forms/PostFunction.vue.d.ts +0 -48
- package/dist/types/components/forms/PostFunction.vue.d.ts.map +0 -1
- package/dist/types/components/forms/RLAForm.vue.d.ts +0 -13
- package/dist/types/components/forms/RLAForm.vue.d.ts.map +0 -1
- package/dist/types/components/forms/__tests__/OIDCSchema.d.ts +0 -2452
- package/dist/types/components/forms/__tests__/OIDCSchema.d.ts.map +0 -1
- package/dist/types/components/forms/__tests__/RLASchema.d.ts +0 -1132
- package/dist/types/components/forms/__tests__/RLASchema.d.ts.map +0 -1
- package/dist/types/components/forms/index.d.ts +0 -6
- package/dist/types/components/forms/index.d.ts.map +0 -1
- package/dist/types/components/forms/schemas/ACMECommon.d.ts +0 -19
- package/dist/types/components/forms/schemas/ACMECommon.d.ts.map +0 -1
- package/dist/types/composables/index.d.ts +0 -10
- package/dist/types/composables/index.d.ts.map +0 -1
- package/dist/types/composables/useAbstractFields.d.ts +0 -29
- package/dist/types/composables/useAbstractFields.d.ts.map +0 -1
- package/dist/types/composables/useRedisNonStandardFields.d.ts +0 -9
- package/dist/types/composables/useRedisNonStandardFields.d.ts.map +0 -1
- package/dist/types/composables/useRedisPartial.d.ts +0 -23
- package/dist/types/composables/useRedisPartial.d.ts.map +0 -1
- package/dist/types/const.d.ts +0 -16
- package/dist/types/const.d.ts.map +0 -1
- package/dist/types/external-links.d.ts +0 -9
- package/dist/types/external-links.d.ts.map +0 -1
- package/dist/types/index.d.ts +0 -10
- package/dist/types/index.d.ts.map +0 -1
- package/dist/types/types/form-autosuggest.d.ts +0 -18
- package/dist/types/types/form-autosuggest.d.ts.map +0 -1
- package/dist/types/types/form-fields.d.ts +0 -25
- package/dist/types/types/form-fields.d.ts.map +0 -1
- package/dist/types/types/form-generator.d.ts +0 -27
- package/dist/types/types/form-generator.d.ts.map +0 -1
- package/dist/types/types/form-redis-partial.d.ts +0 -88
- package/dist/types/types/form-redis-partial.d.ts.map +0 -1
- package/dist/types/types/index.d.ts +0 -4
- package/dist/types/types/index.d.ts.map +0 -1
- package/dist/types/utils/autoSuggest.d.ts +0 -13
- package/dist/types/utils/autoSuggest.d.ts.map +0 -1
- package/dist/types/utils/fieldsLoader.d.ts +0 -22
- package/dist/types/utils/fieldsLoader.d.ts.map +0 -1
- package/dist/types/utils/isValidUuid.d.ts +0 -8
- package/dist/types/utils/isValidUuid.d.ts.map +0 -1
- package/dist/types/utils/redisPartial.d.ts +0 -15
- package/dist/types/utils/redisPartial.d.ts.map +0 -1
- package/dist/types/utils/schema.d.ts +0 -6
- package/dist/types/utils/schema.d.ts.map +0 -1
- package/dist/types/utils/validators.d.ts +0 -3
- package/dist/types/utils/validators.d.ts.map +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RLASchema.d.ts","sourceRoot":"","sources":["../../../../../src/components/forms/__tests__/RLASchema.ts"],"names":[],"mappings":"A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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAk1BrB,CAAA;AAED,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwDpB,CAAA"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export { default as OIDCForm } from './OIDCForm.vue';
|
|
2
|
-
export { default as PostFunction } from './PostFunction.vue';
|
|
3
|
-
export { default as ExitTransformer } from './ExitTransformer.vue';
|
|
4
|
-
export { default as ACMEForm } from './ACMEForm.vue';
|
|
5
|
-
export { default as RLAForm } from './RLAForm.vue';
|
|
6
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/forms/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,gBAAgB,CAAA;AACpD,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,oBAAoB,CAAA;AAC5D,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,uBAAuB,CAAA;AAClE,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,gBAAgB,CAAA;AACpD,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,eAAe,CAAA"}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
export interface Field {
|
|
2
|
-
label: string;
|
|
3
|
-
model: string;
|
|
4
|
-
type: string;
|
|
5
|
-
default?: any;
|
|
6
|
-
disabled?: boolean;
|
|
7
|
-
help?: string;
|
|
8
|
-
inputType?: string;
|
|
9
|
-
order?: number;
|
|
10
|
-
required?: boolean;
|
|
11
|
-
valueType?: string;
|
|
12
|
-
}
|
|
13
|
-
export interface Schema {
|
|
14
|
-
fields: Field[];
|
|
15
|
-
}
|
|
16
|
-
export declare const ACMECommonSchema: Schema;
|
|
17
|
-
export declare const ACMELetsEncryptSchema: Schema;
|
|
18
|
-
export declare const ACMEZeroSSLSchema: Schema;
|
|
19
|
-
//# sourceMappingURL=ACMECommon.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ACMECommon.d.ts","sourceRoot":"","sources":["../../../../../src/components/forms/schemas/ACMECommon.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,KAAK;IACpB,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,CAAC,EAAE,GAAG,CAAA;IACb,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED,MAAM,WAAW,MAAM;IACrB,MAAM,EAAE,KAAK,EAAE,CAAA;CAChB;AAED,eAAO,MAAM,gBAAgB,EAAE,MAmC9B,CAAA;AAED,eAAO,MAAM,qBAAqB,EAAE,MAsBnC,CAAA;AAED,eAAO,MAAM,iBAAiB,EAAE,MA+B/B,CAAA"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import useAbstractFields from './useAbstractFields';
|
|
2
|
-
import useRedisPartial from './useRedisPartial';
|
|
3
|
-
import useRedisNonStandardFields from './useRedisNonStandardFields';
|
|
4
|
-
declare const _default: {
|
|
5
|
-
useAbstractFields: typeof useAbstractFields;
|
|
6
|
-
useRedisPartial: typeof useRedisPartial;
|
|
7
|
-
useRedisNonStandardFields: typeof useRedisNonStandardFields;
|
|
8
|
-
};
|
|
9
|
-
export default _default;
|
|
10
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/composables/index.ts"],"names":[],"mappings":"AAAA,OAAO,iBAAiB,MAAM,qBAAqB,CAAA;AACnD,OAAO,eAAe,MAAM,mBAAmB,CAAA;AAC/C,OAAO,yBAAyB,MAAM,6BAA6B,CAAA;;;;;;AAGnE,wBAIC"}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { type Ref } from 'vue';
|
|
2
|
-
interface AbstractFieldParams {
|
|
3
|
-
model?: Ref<Record<string, any> | undefined>;
|
|
4
|
-
schema: Record<string, any>;
|
|
5
|
-
formOptions?: Record<string, any>;
|
|
6
|
-
disabled?: boolean;
|
|
7
|
-
formatValueToField?: (value: any) => any;
|
|
8
|
-
formatValueToModel?: (value: any) => any;
|
|
9
|
-
emitModelUpdated?: (data: {
|
|
10
|
-
value: any;
|
|
11
|
-
model: Record<string, any>;
|
|
12
|
-
}) => void;
|
|
13
|
-
emitValidated?: (data: {
|
|
14
|
-
isValid: any;
|
|
15
|
-
errors: any[];
|
|
16
|
-
field: Record<string, any>;
|
|
17
|
-
}) => void;
|
|
18
|
-
externalValidator?: (value: any, field: any, model: any) => string[] | Promise<string[]>;
|
|
19
|
-
}
|
|
20
|
-
export default function useAbstractFields<T = any>(formData: AbstractFieldParams): {
|
|
21
|
-
value: import("vue").WritableComputedRef<T, T>;
|
|
22
|
-
clearValidationErrors: () => void;
|
|
23
|
-
getFieldID: (fieldSchema: Record<string, any>, unique?: boolean) => string;
|
|
24
|
-
getLabelId: (fieldSchema: Record<string, any>) => string;
|
|
25
|
-
getFieldClasses: () => any;
|
|
26
|
-
updateModelValue: (newValue: any, oldValue: any) => void;
|
|
27
|
-
};
|
|
28
|
-
export {};
|
|
29
|
-
//# sourceMappingURL=useAbstractFields.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useAbstractFields.d.ts","sourceRoot":"","sources":["../../../src/composables/useAbstractFields.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,K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|
|
1
|
-
import type { FlattendRedisConfigurationFields } from '../types';
|
|
2
|
-
import type { Field } from './useRedisPartial';
|
|
3
|
-
export default function useRedisNonstandardFields(partialFields: FlattendRedisConfigurationFields, redisFields: Field[]): {
|
|
4
|
-
label: string;
|
|
5
|
-
key: string;
|
|
6
|
-
value: string;
|
|
7
|
-
type: string;
|
|
8
|
-
}[];
|
|
9
|
-
//# sourceMappingURL=useRedisNonStandardFields.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useRedisNonStandardFields.d.ts","sourceRoot":"","sources":["../../../src/composables/useRedisNonStandardFields.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,UAAU,CAAA;AAChE,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAA;AAC9C,MAAM,CAAC,OAAO,UAAU,yBAAyB,CAAC,aAAa,EAAE,gCAAgC,EAAE,WAAW,EAAE,KAAK,EAAE;;;;;IAgBtH"}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
export interface Field {
|
|
2
|
-
label: string;
|
|
3
|
-
model: string;
|
|
4
|
-
type?: string;
|
|
5
|
-
default?: any;
|
|
6
|
-
disabled?: boolean;
|
|
7
|
-
help?: string;
|
|
8
|
-
inputType?: string;
|
|
9
|
-
order?: number;
|
|
10
|
-
required?: boolean;
|
|
11
|
-
valueType?: string;
|
|
12
|
-
}
|
|
13
|
-
export default function useRedisPartial(formSchema: any): {
|
|
14
|
-
redis: {
|
|
15
|
-
id: string;
|
|
16
|
-
fields: Field[];
|
|
17
|
-
model: string;
|
|
18
|
-
redisType: any;
|
|
19
|
-
redisPath: any;
|
|
20
|
-
};
|
|
21
|
-
redisModels: string[];
|
|
22
|
-
};
|
|
23
|
-
//# sourceMappingURL=useRedisPartial.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useRedisPartial.d.ts","sourceRoot":"","sources":["../../../src/composables/useRedisPartial.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,KAAK;IACpB,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,OAAO,CAAC,EAAE,GAAG,CAAA;IACb,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED,MAAM,CAAC,OAAO,UAAU,eAAe,CAAC,UAAU,EAAE,GAAG;;;;;;;;;EA0BtD"}
|
package/dist/types/const.d.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
export declare const FORMS_API_KEY = "kong-ui-forms-api";
|
|
2
|
-
export declare const FORMS_CONFIG = "kong-ui-forms-config";
|
|
3
|
-
export declare const REDIS_PARTIAL_FETCHER_KEY = "redis-partial-list-fetcher-key";
|
|
4
|
-
export declare const REDIS_PARTIAL_INFO = "redis-partial-info";
|
|
5
|
-
/** Used by `template` and `slot` */
|
|
6
|
-
export declare const AUTOFILL_SLOT_NAME = "autofill";
|
|
7
|
-
/** Used by `provide` and `inject` */
|
|
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
|
-
};
|
|
15
|
-
export declare const EMPTY_VALUE_PLACEHOLDER = "\u2014";
|
|
16
|
-
//# sourceMappingURL=const.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
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;AAED,eAAO,MAAM,uBAAuB,WAAM,CAAA"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
openIdConnectDocs: string;
|
|
3
|
-
openIdConnectJWKDocs: string;
|
|
4
|
-
openIdConnectClusterNodesDocs: string;
|
|
5
|
-
openIdConfigurationDocs: string;
|
|
6
|
-
openIdAuthorizationDocs: string;
|
|
7
|
-
};
|
|
8
|
-
export default _default;
|
|
9
|
-
//# sourceMappingURL=external-links.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"external-links.d.ts","sourceRoot":"","sources":["../../src/external-links.ts"],"names":[],"mappings":";;;;;;;AAAA,wBAMC"}
|
package/dist/types/index.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import VueFormGenerator from './components/FormGenerator.vue';
|
|
2
|
-
import * as sharedForms from './components/forms';
|
|
3
|
-
export { customFields } from './components/fields/exports';
|
|
4
|
-
export { VueFormGenerator, sharedForms };
|
|
5
|
-
export declare const getSharedFormName: (modelName: string) => string;
|
|
6
|
-
export * from './const';
|
|
7
|
-
export * from './types';
|
|
8
|
-
export * as abstractField from './components/fields/abstractField';
|
|
9
|
-
export { default as composables } from './composables';
|
|
10
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,18 +0,0 @@
|
|
|
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<EntityData>;
|
|
16
|
-
}
|
|
17
|
-
export type AutoSuggestItemTransformer = (item: EntityData) => SelectItem<string>;
|
|
18
|
-
//# sourceMappingURL=form-autosuggest.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
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,UAAU,CAAC,CAAA;CAC5C;AAED,MAAM,MAAM,0BAA0B,GAAG,CAAC,IAAI,EAAE,UAAU,KAAK,UAAU,CAAC,MAAM,CAAC,CAAA"}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import type { Component } from 'vue';
|
|
2
|
-
export interface FormFieldSchema extends Record<string, any> {
|
|
3
|
-
model: string;
|
|
4
|
-
type: string;
|
|
5
|
-
id?: string;
|
|
6
|
-
disabled?: boolean;
|
|
7
|
-
inputType?: string;
|
|
8
|
-
inputValues?: Record<string, any>;
|
|
9
|
-
valueType?: string;
|
|
10
|
-
valueArrayType?: string;
|
|
11
|
-
default?: any;
|
|
12
|
-
fieldClasses?: string;
|
|
13
|
-
label?: string;
|
|
14
|
-
placeholder?: string;
|
|
15
|
-
order?: number;
|
|
16
|
-
help?: string;
|
|
17
|
-
hint?: string;
|
|
18
|
-
submitWhenNull?: boolean;
|
|
19
|
-
selectOptions?: Record<string, any>;
|
|
20
|
-
component?: Component | null;
|
|
21
|
-
}
|
|
22
|
-
export interface FormSchema {
|
|
23
|
-
fields: FormFieldSchema[];
|
|
24
|
-
}
|
|
25
|
-
//# sourceMappingURL=form-fields.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"form-fields.d.ts","sourceRoot":"","sources":["../../../src/types/form-fields.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,KAAK,CAAA;AAEpC,MAAM,WAAW,eAAgB,SAAQ,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;IAC1D,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,MAAM,CAAA;IACZ,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IACjC,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,OAAO,CAAC,EAAE,GAAG,CAAA;IACb,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,aAAa,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IACnC,SAAS,CAAC,EAAE,SAAS,GAAG,IAAI,CAAA;CAC7B;AAED,MAAM,WAAW,UAAU;IACzB,MAAM,EAAE,eAAe,EAAE,CAAA;CAC1B"}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import type { Slot } from 'vue';
|
|
2
|
-
export type FGCollapsibleOptions = boolean | {
|
|
3
|
-
title?: string;
|
|
4
|
-
description?: string;
|
|
5
|
-
nestedCollapsible?: {
|
|
6
|
-
fields: any[];
|
|
7
|
-
triggerLabel: {
|
|
8
|
-
expand: string;
|
|
9
|
-
collapse: string;
|
|
10
|
-
};
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
export interface FGSlots {
|
|
14
|
-
beforeContent?: string;
|
|
15
|
-
emptyState?: string;
|
|
16
|
-
}
|
|
17
|
-
export interface AutofillSlotProps {
|
|
18
|
-
schema: Record<string, any>;
|
|
19
|
-
value: any;
|
|
20
|
-
update: (value: any) => void;
|
|
21
|
-
}
|
|
22
|
-
export type AutofillSlot = Slot<AutofillSlotProps>;
|
|
23
|
-
export type Validator = (value: any, field: any, model: any, messages: Record<string, string>) => string[];
|
|
24
|
-
export interface Validators {
|
|
25
|
-
[key: string]: Validator;
|
|
26
|
-
}
|
|
27
|
-
//# sourceMappingURL=form-generator.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"form-generator.d.ts","sourceRoot":"","sources":["../../../src/types/form-generator.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,KAAK,CAAA;AAE/B,MAAM,MAAM,oBAAoB,GAAG,OAAO,GAAG;IAC3C,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,iBAAiB,CAAC,EAAE;QAClB,MAAM,EAAE,GAAG,EAAE,CAAA;QACb,YAAY,EAAE;YACZ,MAAM,EAAE,MAAM,CAAA;YACd,QAAQ,EAAE,MAAM,CAAA;SACjB,CAAA;KACF,CAAA;CACF,CAAA;AAED,MAAM,WAAW,OAAO;IACtB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,UAAU,CAAC,EAAE,MAAM,CAAA;CACpB;AAED,MAAM,WAAW,iBAAiB;IAChC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IAC3B,KAAK,EAAE,GAAG,CAAA;IACV,MAAM,EAAE,CAAC,KAAK,EAAE,GAAG,KAAK,IAAI,CAAA;CAC7B;AAED,MAAM,MAAM,YAAY,GAAG,IAAI,CAAC,iBAAiB,CAAC,CAAA;AAElD,MAAM,MAAM,SAAS,GAAG,CAAC,KAAK,EAAE,GAAG,EAAE,KAAK,EAAE,GAAG,EAAE,KAAK,EAAE,GAAG,EAAE,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,KAAK,MAAM,EAAE,CAAA;AAC1G,MAAM,WAAW,UAAU;IACzB,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,CAAA;CACzB"}
|
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
type Identifiable<T> = T & {
|
|
2
|
-
id: string;
|
|
3
|
-
};
|
|
4
|
-
export declare enum PartialType {
|
|
5
|
-
REDIS_CE = "redis-ce",
|
|
6
|
-
REDIS_EE = "redis-ee"
|
|
7
|
-
}
|
|
8
|
-
export type SentinelNode = {
|
|
9
|
-
host: string;
|
|
10
|
-
port: number;
|
|
11
|
-
};
|
|
12
|
-
export type ClusterNode = {
|
|
13
|
-
ip: string;
|
|
14
|
-
port: number;
|
|
15
|
-
};
|
|
16
|
-
export interface RedisConfigurationFields {
|
|
17
|
-
name: string;
|
|
18
|
-
type: PartialType;
|
|
19
|
-
config: {
|
|
20
|
-
cluster_max_redirections: number;
|
|
21
|
-
cluster_nodes: Array<Identifiable<ClusterNode>>;
|
|
22
|
-
connect_timeout: number;
|
|
23
|
-
connection_is_proxied: boolean;
|
|
24
|
-
database: number;
|
|
25
|
-
host: string;
|
|
26
|
-
keepalive_backlog: number;
|
|
27
|
-
keepalive_pool_size: number;
|
|
28
|
-
password: string;
|
|
29
|
-
port: number;
|
|
30
|
-
read_timeout: number;
|
|
31
|
-
send_timeout: number;
|
|
32
|
-
sentinel_master?: string;
|
|
33
|
-
sentinel_nodes: Array<Identifiable<SentinelNode>>;
|
|
34
|
-
sentinel_password: string;
|
|
35
|
-
sentinel_role?: 'master' | 'slave' | 'any';
|
|
36
|
-
sentinel_username: string;
|
|
37
|
-
server_name?: string;
|
|
38
|
-
ssl_verify: boolean;
|
|
39
|
-
ssl: boolean;
|
|
40
|
-
timeout?: number;
|
|
41
|
-
username: string;
|
|
42
|
-
};
|
|
43
|
-
}
|
|
44
|
-
export interface FlattendRedisConfigurationFields {
|
|
45
|
-
name: string;
|
|
46
|
-
type: PartialType;
|
|
47
|
-
cluster_max_redirections: number;
|
|
48
|
-
cluster_nodes: Array<Identifiable<ClusterNode>>;
|
|
49
|
-
connect_timeout: number;
|
|
50
|
-
connection_is_proxied: boolean;
|
|
51
|
-
database: number;
|
|
52
|
-
host: string;
|
|
53
|
-
keepalive_backlog: number;
|
|
54
|
-
keepalive_pool_size: number;
|
|
55
|
-
password: string;
|
|
56
|
-
port: number;
|
|
57
|
-
read_timeout: number;
|
|
58
|
-
send_timeout: number;
|
|
59
|
-
sentinel_master?: string;
|
|
60
|
-
sentinel_nodes: Array<Identifiable<SentinelNode>>;
|
|
61
|
-
sentinel_password: string;
|
|
62
|
-
sentinel_role?: 'master' | 'slave' | 'any';
|
|
63
|
-
sentinel_username: string;
|
|
64
|
-
server_name?: string;
|
|
65
|
-
ssl_verify: boolean;
|
|
66
|
-
ssl: boolean;
|
|
67
|
-
timeout?: number;
|
|
68
|
-
username: string;
|
|
69
|
-
}
|
|
70
|
-
export interface Field {
|
|
71
|
-
label: string;
|
|
72
|
-
model: string;
|
|
73
|
-
type?: string;
|
|
74
|
-
default?: any;
|
|
75
|
-
disabled?: boolean;
|
|
76
|
-
help?: string;
|
|
77
|
-
inputType?: string;
|
|
78
|
-
order?: number;
|
|
79
|
-
required?: boolean;
|
|
80
|
-
valueType?: string;
|
|
81
|
-
}
|
|
82
|
-
export interface FormRedisFields {
|
|
83
|
-
redisType: string;
|
|
84
|
-
pluginType: string;
|
|
85
|
-
fields: Field[];
|
|
86
|
-
}
|
|
87
|
-
export {};
|
|
88
|
-
//# sourceMappingURL=form-redis-partial.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"form-redis-partial.d.ts","sourceRoot":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AE,MAAM,CAAA;IAClB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED,MAAM,WAAW,eAAe;IAC9B,SAAS,EAAE,MAAM,CAAA;IACjB,UAAU,EAAE,MAAM,CAAA;IAClB,MAAM,EAAE,KAAK,EAAE,CAAA;CAChB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAA;AAChC,cAAc,eAAe,CAAA;AAC7B,cAAc,sBAAsB,CAAA"}
|
|
@@ -1,13 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
export { default as FieldAdvanced } from '../components/fields/FieldAdvanced.vue';
|
|
2
|
-
export { default as FieldArray } from '../components/fields/FieldArray.vue';
|
|
3
|
-
export { default as FieldArrayCardContainer } from '../components/fields/FieldArrayCardContainer.vue';
|
|
4
|
-
export { default as FieldArrayItem } from '../components/fields/FieldArrayItem.vue';
|
|
5
|
-
export { default as FieldArrayMultiItem } from '../components/fields/FieldArrayMultiItem.vue';
|
|
6
|
-
export { default as FieldAutoSuggest } from '../components/fields/FieldAutoSuggest.vue';
|
|
7
|
-
export { default as FieldAutoSuggestLegacy } from '../components/fields/FieldAutoSuggestLegacy.vue';
|
|
8
|
-
export { default as FieldCheckbox } from '../components/fields/FieldCheckbox.vue';
|
|
9
|
-
export { default as FieldChecklist } from '../components/fields/FieldChecklist.vue';
|
|
10
|
-
export { default as FieldInput } from '../components/fields/FieldInput.vue';
|
|
11
|
-
export { default as FieldKeyValuePairs } from '../components/fields/FieldKeyValuePairs.vue';
|
|
12
|
-
export { default as FieldLabel } from '../components/fields/FieldLabel.vue';
|
|
13
|
-
export { default as FieldMetric } from '../components/fields/FieldMetric.vue';
|
|
14
|
-
export { default as FieldMultiselect } from '../components/fields/FieldMultiselect.vue';
|
|
15
|
-
export { default as FieldObject } from '../components/fields/FieldObject.vue';
|
|
16
|
-
export { default as FieldObjectAdvanced } from '../components/fields/FieldObjectAdvanced.vue';
|
|
17
|
-
export { default as FieldRadio } from '../components/fields/FieldRadio.vue';
|
|
18
|
-
export { default as FieldSelect } from '../components/fields/FieldSelect.vue';
|
|
19
|
-
export { default as FieldSelectionGroup } from '../components/fields/FieldSelectionGroup.vue';
|
|
20
|
-
export { default as FieldSwitch } from '../components/fields/FieldSwitch.vue';
|
|
21
|
-
export { default as FieldTextArea } from '../components/fields/FieldTextArea.vue';
|
|
22
|
-
//# sourceMappingURL=fieldsLoader.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"fieldsLoader.d.ts","sourceRoot":"","sources":["../../../src/utils/fieldsLoader.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,wCAAwC,CAAA;AACjF,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,qCAAqC,CAAA;AAC3E,OAAO,EAAE,OAAO,IAAI,uBAAuB,EAAE,MAAM,kDAAkD,CAAA;AACrG,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,yCAAyC,CAAA;AACnF,OAAO,EAAE,OAAO,IAAI,mBAAmB,EAAE,MAAM,8CAA8C,CAAA;AAC7F,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,2CAA2C,CAAA;AAGvF,OAAO,EAAE,OAAO,IAAI,sBAAsB,EAAE,MAAM,iDAAiD,CAAA;AACnG,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,wCAAwC,CAAA;AACjF,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,yCAAyC,CAAA;AACnF,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,qCAAqC,CAAA;AAC3E,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,6CAA6C,CAAA;AAC3F,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,qCAAqC,CAAA;AAC3E,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,sCAAsC,CAAA;AAC7E,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,2CAA2C,CAAA;AACvF,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,sCAAsC,CAAA;AAC7E,OAAO,EAAE,OAAO,IAAI,mBAAmB,EAAE,MAAM,8CAA8C,CAAA;AAC7F,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,qCAAqC,CAAA;AAC3E,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,sCAAsC,CAAA;AAC7E,OAAO,EAAE,OAAO,IAAI,mBAAmB,EAAE,MAAM,8CAA8C,CAAA;AAC7F,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,sCAAsC,CAAA;AAC7E,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,wCAAwC,CAAA"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Test if a string is a valid uuid
|
|
3
|
-
* @param {String} str - the string to test
|
|
4
|
-
* @returns {boolean}
|
|
5
|
-
*/
|
|
6
|
-
export declare const uuidRegEx = "[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}";
|
|
7
|
-
export declare const isValidUuid: (str: string) => boolean;
|
|
8
|
-
//# sourceMappingURL=isValidUuid.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"isValidUuid.d.ts","sourceRoot":"","sources":["../../../src/utils/isValidUuid.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,eAAO,MAAM,SAAS,iEAAiE,CAAA;AAEvF,eAAO,MAAM,WAAW,GAAI,KAAK,MAAM,YAMtC,CAAA"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import type { RedisConfigurationFields } from '../types/form-redis-partial';
|
|
2
|
-
import { PartialType } from '../types/form-redis-partial';
|
|
3
|
-
export declare enum RedisTypeDisplay {
|
|
4
|
-
HOST_PORT_CE = "Host/Port",
|
|
5
|
-
HOST_PORT_EE = "Host/Port",
|
|
6
|
-
SENTINEL = "Sentinel",
|
|
7
|
-
CLUSTER = "Cluster"
|
|
8
|
-
}
|
|
9
|
-
export declare const getRedisType: (fields: RedisConfigurationFields) => RedisTypeDisplay;
|
|
10
|
-
export declare const partialTypeDisplay: {
|
|
11
|
-
"redis-ce": string;
|
|
12
|
-
"redis-ee": string;
|
|
13
|
-
};
|
|
14
|
-
export declare const getPartialTypeDisplay: (type: PartialType) => string;
|
|
15
|
-
//# sourceMappingURL=redisPartial.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"redisPartial.d.ts","sourceRoot":"","sources":["../../../src/utils/redisPartial.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,6BAA6B,CAAA;AAC3E,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAA;AAEzD,oBAAY,gBAAgB;IAC1B,YAAY,cAAc;IAE1B,YAAY,cAAc;IAC1B,QAAQ,aAAa;IACrB,OAAO,YAAY;CACpB;AAED,eAAO,MAAM,YAAY,GAAI,QAAQ,wBAAwB,KAAG,gBAc/D,CAAA;AAED,eAAO,MAAM,kBAAkB;;;CAG9B,CAAA;AAED,eAAO,MAAM,qBAAqB,GAAI,MAAM,WAAW,KAAG,MAEzD,CAAA"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export declare const createDefaultObject: (schema: any, obj?: Record<string, any>) => Record<string, any>;
|
|
2
|
-
export declare const getMultipleFields: (schema: any) => any[];
|
|
3
|
-
export declare const mergeMultiObjectFields: (schema: any, objs: any) => Record<string, any>;
|
|
4
|
-
export declare const slugifyFormID: (schema: any, prefix?: any) => string;
|
|
5
|
-
export declare const slugify: (name?: any) => string;
|
|
6
|
-
//# sourceMappingURL=schema.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../src/utils/schema.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,mBAAmB,GAAI,QAAQ,GAAG,EAAE,MAAK,MAAM,CAAC,MAAM,EAAE,GAAG,CAAM,KAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAYlG,CAAA;AAGD,eAAO,MAAM,iBAAiB,GAAI,QAAQ,GAAG,KAAG,GAAG,EAUlD,CAAA;AAGD,eAAO,MAAM,sBAAsB,GAAI,QAAQ,GAAG,EAAE,MAAM,GAAG,KAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAyBjF,CAAA;AAED,eAAO,MAAM,aAAa,GAAI,QAAQ,GAAG,EAAE,SAAQ,GAAQ,KAAG,MA0B7D,CAAA;AAED,eAAO,MAAM,OAAO,GAAI,OAAM,GAAQ,KAAG,MAkBxC,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"validators.d.ts","sourceRoot":"","sources":["../../../src/utils/validators.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAA;AA4EzD,eAAO,MAAM,UAAU,EAAE,UA6PxB,CAAA"}
|