@kong-ui-public/entities-plugins 9.125.0 → 9.125.1-pr.2708.4a8df182b.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/entities-plugins.es.js +11930 -10619
- package/dist/entities-plugins.umd.js +35 -31
- package/dist/style.css +1 -1
- package/dist/types/components/PluginCatalog.vue.d.ts +21 -0
- package/dist/types/components/PluginCatalog.vue.d.ts.map +1 -0
- package/dist/types/components/PluginEntityForm.vue.d.ts +3 -0
- package/dist/types/components/PluginEntityForm.vue.d.ts.map +1 -1
- package/dist/types/components/PluginForm.vue.d.ts +3 -0
- package/dist/types/components/PluginForm.vue.d.ts.map +1 -1
- package/dist/types/components/free-form/Common/ConfigForm.vue.d.ts.map +1 -1
- package/dist/types/components/free-form/Datakit/CodeEditor.vue.d.ts.map +1 -1
- package/dist/types/components/free-form/Datakit/config-extractors.d.ts +9 -0
- package/dist/types/components/free-form/Datakit/config-extractors.d.ts.map +1 -0
- package/dist/types/components/free-form/Datakit/flow-editor/FlowCanvas.vue.d.ts.map +1 -1
- package/dist/types/components/free-form/Datakit/flow-editor/FlowEditor.vue.d.ts +2 -2
- package/dist/types/components/free-form/Datakit/flow-editor/composables/useBranchDrop.d.ts +5 -3
- package/dist/types/components/free-form/Datakit/flow-editor/composables/useBranchDrop.d.ts.map +1 -1
- package/dist/types/components/free-form/Datakit/flow-editor/composables/useBranchLayout.d.ts +3 -2
- package/dist/types/components/free-form/Datakit/flow-editor/composables/useBranchLayout.d.ts.map +1 -1
- package/dist/types/components/free-form/Datakit/flow-editor/composables/useNodeForm.d.ts +2 -2
- package/dist/types/components/free-form/Datakit/flow-editor/composables/useNodeForm.d.ts.map +1 -1
- package/dist/types/components/free-form/Datakit/flow-editor/composables/validation/useFormValidation.d.ts +5 -5
- package/dist/types/components/free-form/Datakit/flow-editor/composables/validation/useFormValidation.d.ts.map +1 -1
- package/dist/types/components/free-form/Datakit/flow-editor/node/NodePropertiesPanel.vue.d.ts.map +1 -1
- package/dist/types/components/free-form/Datakit/flow-editor/store/branch-groups.d.ts +1 -0
- package/dist/types/components/free-form/Datakit/flow-editor/store/branch-groups.d.ts.map +1 -1
- package/dist/types/components/free-form/Datakit/flow-editor/store/flow.d.ts +9 -6
- package/dist/types/components/free-form/Datakit/flow-editor/store/flow.d.ts.map +1 -1
- package/dist/types/components/free-form/Datakit/flow-editor/store/store.d.ts +6 -4
- package/dist/types/components/free-form/Datakit/flow-editor/store/store.d.ts.map +1 -1
- package/dist/types/components/free-form/Datakit/schema/strict.d.ts +3 -3
- package/dist/types/components/free-form/ServiceProtection/RedisField.vue.d.ts.map +1 -1
- package/dist/types/components/free-form/shared/ArrayField.vue.d.ts +3 -2
- package/dist/types/components/free-form/shared/ArrayField.vue.d.ts.map +1 -1
- package/dist/types/components/free-form/shared/BooleanField.vue.d.ts +2 -2
- package/dist/types/components/free-form/shared/BooleanField.vue.d.ts.map +1 -1
- package/dist/types/components/free-form/shared/EnumField.vue.d.ts +5 -8
- package/dist/types/components/free-form/shared/EnumField.vue.d.ts.map +1 -1
- package/dist/types/components/free-form/shared/Field.vue.d.ts +5 -11
- package/dist/types/components/free-form/shared/Field.vue.d.ts.map +1 -1
- package/dist/types/components/free-form/shared/ForeignField.vue.d.ts +2 -2
- package/dist/types/components/free-form/shared/ForeignField.vue.d.ts.map +1 -1
- package/dist/types/components/free-form/shared/Form.vue.d.ts +5 -3
- package/dist/types/components/free-form/shared/Form.vue.d.ts.map +1 -1
- package/dist/types/components/free-form/shared/JsonField.vue.d.ts +2 -2
- package/dist/types/components/free-form/shared/JsonField.vue.d.ts.map +1 -1
- package/dist/types/components/free-form/shared/KeyValueField.vue.d.ts +1 -1
- package/dist/types/components/free-form/shared/KeyValueField.vue.d.ts.map +1 -1
- package/dist/types/components/free-form/shared/NumberField.vue.d.ts +5 -4
- package/dist/types/components/free-form/shared/NumberField.vue.d.ts.map +1 -1
- package/dist/types/components/free-form/shared/ObjectField.vue.d.ts +2 -1
- package/dist/types/components/free-form/shared/ObjectField.vue.d.ts.map +1 -1
- package/dist/types/components/free-form/shared/RadioField.vue.d.ts +2 -2
- package/dist/types/components/free-form/shared/RadioField.vue.d.ts.map +1 -1
- package/dist/types/components/free-form/shared/RedisSelector.vue.d.ts.map +1 -1
- package/dist/types/components/free-form/shared/StringArrayField.vue.d.ts +2 -2
- package/dist/types/components/free-form/shared/StringArrayField.vue.d.ts.map +1 -1
- package/dist/types/components/free-form/shared/StringField.vue.d.ts +2 -2
- package/dist/types/components/free-form/shared/StringField.vue.d.ts.map +1 -1
- package/dist/types/components/free-form/shared/composables.d.ts +50 -4
- package/dist/types/components/free-form/shared/composables.d.ts.map +1 -1
- package/dist/types/components/free-form/shared/const.d.ts +0 -1
- package/dist/types/components/free-form/shared/const.d.ts.map +1 -1
- package/dist/types/components/free-form/shared/headless/useKeyValueField.d.ts +5 -3
- package/dist/types/components/free-form/shared/headless/useKeyValueField.d.ts.map +1 -1
- package/dist/types/components/free-form/shared/layout/StandardLayout.vue.d.ts +2 -1
- package/dist/types/components/free-form/shared/layout/StandardLayout.vue.d.ts.map +1 -1
- package/dist/types/components/free-form/shared/types.d.ts +43 -0
- package/dist/types/components/free-form/shared/types.d.ts.map +1 -1
- package/dist/types/components/free-form/shared/utils.d.ts +45 -1
- package/dist/types/components/free-form/shared/utils.d.ts.map +1 -1
- package/dist/types/components/select/PluginCatalogCard.vue.d.ts +18 -0
- package/dist/types/components/select/PluginCatalogCard.vue.d.ts.map +1 -0
- package/dist/types/components/select/PluginCatalogGrid.vue.d.ts +16 -0
- package/dist/types/components/select/PluginCatalogGrid.vue.d.ts.map +1 -0
- package/dist/types/components/select/PluginCatalogGroup.vue.d.ts +28 -0
- package/dist/types/components/select/PluginCatalogGroup.vue.d.ts.map +1 -0
- package/dist/types/components/select/PluginCatalogListView.vue.d.ts +14 -0
- package/dist/types/components/select/PluginCatalogListView.vue.d.ts.map +1 -0
- package/dist/types/definitions/metadata.d.ts.map +1 -1
- package/dist/types/index.d.ts +2 -1
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/types/plugin-form.d.ts.map +1 -1
- package/dist/types/types/plugin.d.ts +5 -1
- package/dist/types/types/plugin.d.ts.map +1 -1
- package/dist/types/types/plugins/form-schema.d.ts +1 -0
- package/dist/types/types/plugins/form-schema.d.ts.map +1 -1
- package/dist/types/utils/helper.d.ts +1 -0
- package/dist/types/utils/helper.d.ts.map +1 -1
- package/package.json +7 -7
package/dist/types/components/free-form/Datakit/flow-editor/composables/useBranchLayout.d.ts
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import type { Node, XYPosition } from '@vue-flow/core';
|
|
2
|
+
import type { Ref } from 'vue';
|
|
2
3
|
import type { GroupId, GroupInstance, NodeId, NodePhase } from '../../types';
|
|
3
4
|
import type { FlowEdge, FlowGroupNodeData } from '../../types';
|
|
4
|
-
export declare function useBranchLayout({ phase, readonly, flowId }: {
|
|
5
|
+
export declare function useBranchLayout({ phase, readonly, flowId, draggingId, }: {
|
|
5
6
|
phase: NodePhase;
|
|
6
7
|
readonly?: boolean;
|
|
7
8
|
flowId?: string;
|
|
9
|
+
draggingId?: Readonly<Ref<NodeId | GroupId | undefined>>;
|
|
8
10
|
}): {
|
|
9
11
|
groupsByOwner: import("vue").ComputedRef<Map<`node:${number}`, GroupInstance[]>>;
|
|
10
12
|
memberGroupMap: import("vue").ComputedRef<Map<`node:${number}`, GroupInstance>>;
|
|
@@ -13,7 +15,6 @@ export declare function useBranchLayout({ phase, readonly, flowId }: {
|
|
|
13
15
|
isBranchEdgeId: (id?: string) => boolean;
|
|
14
16
|
updateGroupLayout: (groupId: GroupId, commit?: boolean) => void;
|
|
15
17
|
translateGroupTree: (groupId: GroupId, targetPosition: XYPosition, deltaX: number, deltaY: number) => void;
|
|
16
|
-
updateDragging: (id: NodeId | GroupId | undefined) => void;
|
|
17
18
|
getNodeDepth: (nodeId: NodeId) => number;
|
|
18
19
|
maxGroupDepth: import("vue").ComputedRef<number>;
|
|
19
20
|
waitForLayoutFlush: () => Promise<void>;
|
package/dist/types/components/free-form/Datakit/flow-editor/composables/useBranchLayout.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useBranchLayout.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/free-form/Datakit/flow-editor/composables/useBranchLayout.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAQ,UAAU,EAAE,MAAM,gBAAgB,CAAA;AAI5D,OAAO,KAAK,EACV,OAAO,EACP,aAAa,EACb,MAAM,EAEN,SAAS,EACV,MAAM,aAAa,CAAA;AAEpB,OAAO,KAAK,EAAE,QAAQ,EAAE,iBAAiB,EAAe,MAAM,aAAa,CAAA;AAS3E,wBAAgB,eAAe,CAAC,
|
|
1
|
+
{"version":3,"file":"useBranchLayout.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/free-form/Datakit/flow-editor/composables/useBranchLayout.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAQ,UAAU,EAAE,MAAM,gBAAgB,CAAA;AAI5D,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,KAAK,CAAA;AAE9B,OAAO,KAAK,EACV,OAAO,EACP,aAAa,EACb,MAAM,EAEN,SAAS,EACV,MAAM,aAAa,CAAA;AAEpB,OAAO,KAAK,EAAE,QAAQ,EAAE,iBAAiB,EAAe,MAAM,aAAa,CAAA;AAS3E,wBAAgB,eAAe,CAAC,EAC9B,KAAK,EACL,QAAQ,EACR,MAAM,EACN,UAAU,GACX,EAAE;IACD,KAAK,EAAE,SAAS,CAAA;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,UAAU,CAAC,EAAE,QAAQ,CAAC,GAAG,CAAC,MAAM,GAAG,OAAO,GAAG,SAAS,CAAC,CAAC,CAAA;CACzD;;;;;0BAoB8B,MAAM;iCAuQC,OAAO;kCAWN,OAAO,kBAAkB,UAAU,UAAU,MAAM,UAAU,MAAM;;;;EA+JzG"}
|
|
@@ -9,7 +9,7 @@ export type BaseFormData = {
|
|
|
9
9
|
input?: IdConnection;
|
|
10
10
|
inputs?: Record<FieldName, IdConnection | undefined | null>;
|
|
11
11
|
};
|
|
12
|
-
export declare function useNodeForm<T extends BaseFormData = BaseFormData>(nodeId: NodeId,
|
|
12
|
+
export declare function useNodeForm<T extends BaseFormData = BaseFormData>(nodeId: NodeId, getFormValue?: () => any): {
|
|
13
13
|
formData: import("vue").ComputedRef<T>;
|
|
14
14
|
inputOptions: import("vue").ComputedRef<InputOption[]>;
|
|
15
15
|
inputEdge: import("vue").ComputedRef<EdgeInstance | undefined>;
|
|
@@ -33,5 +33,5 @@ export declare function useNodeForm<T extends BaseFormData = BaseFormData>(nodeI
|
|
|
33
33
|
fieldNameValidator: (io: "input" | "output", oldFieldName: FieldName, newFieldName: FieldName) => string | undefined;
|
|
34
34
|
toggleNodeValid: (isValid: boolean) => void;
|
|
35
35
|
};
|
|
36
|
-
export declare function useSubSchema(subSchemaName: Exclude<NodeType, 'request' | 'service_response'>): import("vue").ComputedRef<import("../../../../../types/plugins/form-schema").
|
|
36
|
+
export declare function useSubSchema(subSchemaName: Exclude<NodeType, 'request' | 'service_response'>): import("vue").ComputedRef<import("../../../../../types/plugins/form-schema").UnionFieldSchema | import("../../../../../types/plugins/form-schema").FormSchema>;
|
|
37
37
|
//# sourceMappingURL=useNodeForm.d.ts.map
|
package/dist/types/components/free-form/Datakit/flow-editor/composables/useNodeForm.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useNodeForm.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/free-form/Datakit/flow-editor/composables/useNodeForm.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;AAepH,MAAM,MAAM,WAAW,GAAG;IACxB,KAAK,EAAE,YAAY,CAAA;IACnB,KAAK,EAAE,cAAc,CAAA;IACrB,IAAI,EAAE,QAAQ,CAAA;CACf,CAAA;AAED,MAAM,MAAM,YAAY,GAAG;IACzB,IAAI,EAAE,QAAQ,CAAA;IACd,KAAK,CAAC,EAAE,YAAY,CAAA;IACpB,MAAM,CAAC,EAAE,MAAM,CAAC,SAAS,EAAE,YAAY,GAAG,SAAS,GAAG,IAAI,CAAC,CAAA;CAC5D,CAAA;AAED,wBAAgB,WAAW,CAAC,CAAC,SAAS,YAAY,GAAG,YAAY,EAC/D,MAAM,EAAE,MAAM,EAEd,
|
|
1
|
+
{"version":3,"file":"useNodeForm.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/free-form/Datakit/flow-editor/composables/useNodeForm.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;AAepH,MAAM,MAAM,WAAW,GAAG;IACxB,KAAK,EAAE,YAAY,CAAA;IACnB,KAAK,EAAE,cAAc,CAAA;IACrB,IAAI,EAAE,QAAQ,CAAA;CACf,CAAA;AAED,MAAM,MAAM,YAAY,GAAG;IACzB,IAAI,EAAE,QAAQ,CAAA;IACd,KAAK,CAAC,EAAE,YAAY,CAAA;IACpB,MAAM,CAAC,EAAE,MAAM,CAAC,SAAS,EAAE,YAAY,GAAG,SAAS,GAAG,IAAI,CAAC,CAAA;CAC5D,CAAA;AAED,wBAAgB,WAAW,CAAC,CAAC,SAAS,YAAY,GAAG,YAAY,EAC/D,MAAM,EAAE,MAAM,EAEd,YAAY,CAAC,EAAE,MAAM,GAAG;;;;;;;;;;;;;oBA4DD,MAAM,GAAG,IAAI;sBAUX,MAAM;mBAmBzB,OAAO,GAAG,QAAQ,QAChB,SAAS,UACP,YAAY,GAAG,IAAI;4BAUvB,OAAO,GAAG,QAAQ,gBACR,SAAS,gBACT,SAAS;4BAOnB,OAAO,GAAG,QAAQ,aACX,SAAS;2BAoBc,SAAS,cAAc,YAAY,GAAG,IAAI;sBAgF/C,YAAY,GAAG,IAAI;;6BA0H5C,OAAO,GAAG,QAAQ,gBACR,SAAS,gBACT,SAAS;+BAZS,OAAO;EA8C1C;AAED,wBAAgB,YAAY,CAAC,aAAa,EAAE,OAAO,CAAC,QAAQ,EAAE,SAAS,GAAG,kBAAkB,CAAC,kKA0B5F"}
|
|
@@ -17,10 +17,10 @@ interface UseFormValidationOptions<T extends Record<string, ValidatorFn<any>>> {
|
|
|
17
17
|
* Field handler for convenient error binding and event handling
|
|
18
18
|
*/
|
|
19
19
|
interface FieldHandler {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
error:
|
|
23
|
-
errorMessage:
|
|
20
|
+
validate: () => void;
|
|
21
|
+
update: () => void;
|
|
22
|
+
error: boolean;
|
|
23
|
+
errorMessage: string;
|
|
24
24
|
}
|
|
25
25
|
/**
|
|
26
26
|
* Return type for useNodeFormValidation
|
|
@@ -34,7 +34,7 @@ interface UseFormValidationReturn<T extends Record<string, ValidatorFn<any>>> {
|
|
|
34
34
|
/** Manually trigger full validation */
|
|
35
35
|
validateAll: () => Record<keyof T, string | undefined>;
|
|
36
36
|
/** Factory function to create field handlers */
|
|
37
|
-
createFieldHandler: (fieldName: keyof T, onUpdate?: () => void) => FieldHandler
|
|
37
|
+
createFieldHandler: (fieldName: keyof T, onUpdate?: () => void) => ComputedRef<FieldHandler>;
|
|
38
38
|
}
|
|
39
39
|
/**
|
|
40
40
|
* Integrated validation management Hook for NodeForm components
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useFormValidation.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/free-form/Datakit/flow-editor/composables/validation/useFormValidation.ts"],"names":[],"mappings":"AAAA,OAAO,EAA+C,KAAK,WAAW,EAAE,MAAM,KAAK,CAAA;AACnF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AAC1C,OAAO,EAAE,oBAAoB,EAAE,MAAM,WAAW,CAAA;AAGhD;;;GAGG;AACH,UAAU,wBAAwB,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,WAAW,CAAC,GAAG,CAAC,CAAC;IAC3E,sFAAsF;IACtF,gBAAgB,EAAE,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,CAAA;IAC/B,sCAAsC;IACtC,iBAAiB,EAAE,MAAM,MAAM,CAAC,MAAM,CAAC,EAAE,GAAG,CAAC,CAAA;IAC7C,uCAAuC;IACvC,eAAe,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAA;CAC5C;AAED;;GAEG;AACH,UAAU,YAAY;IACpB,
|
|
1
|
+
{"version":3,"file":"useFormValidation.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/free-form/Datakit/flow-editor/composables/validation/useFormValidation.ts"],"names":[],"mappings":"AAAA,OAAO,EAA+C,KAAK,WAAW,EAAE,MAAM,KAAK,CAAA;AACnF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AAC1C,OAAO,EAAE,oBAAoB,EAAE,MAAM,WAAW,CAAA;AAGhD;;;GAGG;AACH,UAAU,wBAAwB,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,WAAW,CAAC,GAAG,CAAC,CAAC;IAC3E,sFAAsF;IACtF,gBAAgB,EAAE,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,CAAA;IAC/B,sCAAsC;IACtC,iBAAiB,EAAE,MAAM,MAAM,CAAC,MAAM,CAAC,EAAE,GAAG,CAAC,CAAA;IAC7C,uCAAuC;IACvC,eAAe,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAA;CAC5C;AAED;;GAEG;AACH,UAAU,YAAY;IACpB,QAAQ,EAAE,MAAM,IAAI,CAAA;IACpB,MAAM,EAAE,MAAM,IAAI,CAAA;IAClB,KAAK,EAAE,OAAO,CAAA;IACd,YAAY,EAAE,MAAM,CAAA;CACrB;AAED;;;GAGG;AACH,UAAU,uBAAuB,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,WAAW,CAAC,GAAG,CAAC,CAAC;IAC1E,yCAAyC;IACzC,MAAM,EAAE,UAAU,CAAC,OAAO,oBAAoB,CAAC,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAA;IAC5D,6BAA6B;IAC7B,OAAO,EAAE,WAAW,CAAC,OAAO,CAAC,CAAA;IAC7B,uCAAuC;IACvC,WAAW,EAAE,MAAM,MAAM,CAAC,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC,CAAA;IACtD,gDAAgD;IAChD,kBAAkB,EAAE,CAAC,SAAS,EAAE,MAAM,CAAC,EAAE,QAAQ,CAAC,EAAE,MAAM,IAAI,KAAK,WAAW,CAAC,YAAY,CAAC,CAAA;CAC7F;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,wBAAgB,iBAAiB,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,WAAW,CAAC,GAAG,CAAC,CAAC,EAC1E,OAAO,EAAE,wBAAwB,CAAC,CAAC,CAAC,GACnC,uBAAuB,CAAC,CAAC,CAAC,CAsG5B"}
|
package/dist/types/components/free-form/Datakit/flow-editor/node/NodePropertiesPanel.vue.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NodePropertiesPanel.vue.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/free-form/Datakit/flow-editor/node/NodePropertiesPanel.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"NodePropertiesPanel.vue.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/free-form/Datakit/flow-editor/node/NodePropertiesPanel.vue"],"names":[],"mappings":"AA4PA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAA;AA0BzC,KAAK,WAAW,GAAG;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB,CAAC;;;;;;AAgRF,wBAKG"}
|
|
@@ -49,6 +49,7 @@ export declare function createBranchGroups({ state, groupMapById, getNodeById, h
|
|
|
49
49
|
getGroupDepth: (groupId: GroupId) => number;
|
|
50
50
|
isGroupId: (id?: string) => id is GroupId;
|
|
51
51
|
isEdgeEnteringGroup: (sourceId: NodeId, targetId: NodeId) => boolean;
|
|
52
|
+
canAddMember: (ownerId: NodeId, branch: BranchName, memberId: NodeId) => boolean;
|
|
52
53
|
};
|
|
53
54
|
export {};
|
|
54
55
|
//# sourceMappingURL=branch-groups.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"branch-groups.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/free-form/Datakit/flow-editor/store/branch-groups.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAGH,OAAO,KAAK,EAAE,WAAW,EAAE,GAAG,EAAE,MAAM,KAAK,CAAA;AAC3C,OAAO,KAAK,EACV,UAAU,EACV,WAAW,EACX,OAAO,EACP,aAAa,EACb,MAAM,EACN,YAAY,EACb,MAAM,aAAa,CAAA;AAGpB,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,WAAW,CAAA;AAG9C,MAAM,WAAW,aAAa;IAC5B,iEAAiE;IACjE,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,2CAA2C;IAC3C,GAAG,CAAC,EAAE,MAAM,CAAA;CACb;AAED,UAAU,yBAAyB;IACjC,KAAK,EAAE,GAAG,CAAC,WAAW,CAAC,CAAA;IACvB,YAAY,EAAE,WAAW,CAAC,GAAG,CAAC,OAAO,EAAE,aAAa,CAAC,CAAC,CAAA;IACtD,WAAW,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,YAAY,GAAG,SAAS,CAAA;IACrD,OAAO,EAAE,aAAa,CAAC,WAAW,CAAC,CAAA;CACpC;AAeD;;;GAGG;AACH,wBAAgB,kBAAkB,CAAC,EAAE,KAAK,EAAE,YAAY,EAAE,WAAW,EAAE,OAAO,EAAE,EAAE,yBAAyB;;;+BAyMvE,MAAM,KAAG;QAAE,OAAO,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,UAAU,CAAA;KAAE,GAAG,SAAS;0BAhBjE,MAAM,UAAU,UAAU,KAAG,MAAM,EAAE;gCAwD/B,MAAM,YAAY,MAAM,KAAG,OAAO;0BAlH1D,MAAM,UACP,UAAU,WACT,SAAS,MAAM,EAAE,YACjB,aAAa,KACrB,OAAO;8BA9CuB,MAAM,UAAU,UAAU,cAAc,SAAS,MAAM,EAAE,KAAG,MAAM,EAAE;
|
|
1
|
+
{"version":3,"file":"branch-groups.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/free-form/Datakit/flow-editor/store/branch-groups.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAGH,OAAO,KAAK,EAAE,WAAW,EAAE,GAAG,EAAE,MAAM,KAAK,CAAA;AAC3C,OAAO,KAAK,EACV,UAAU,EACV,WAAW,EACX,OAAO,EACP,aAAa,EACb,MAAM,EACN,YAAY,EACb,MAAM,aAAa,CAAA;AAGpB,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,WAAW,CAAA;AAG9C,MAAM,WAAW,aAAa;IAC5B,iEAAiE;IACjE,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,2CAA2C;IAC3C,GAAG,CAAC,EAAE,MAAM,CAAA;CACb;AAED,UAAU,yBAAyB;IACjC,KAAK,EAAE,GAAG,CAAC,WAAW,CAAC,CAAA;IACvB,YAAY,EAAE,WAAW,CAAC,GAAG,CAAC,OAAO,EAAE,aAAa,CAAC,CAAC,CAAA;IACtD,WAAW,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,YAAY,GAAG,SAAS,CAAA;IACrD,OAAO,EAAE,aAAa,CAAC,WAAW,CAAC,CAAA;CACpC;AAeD;;;GAGG;AACH,wBAAgB,kBAAkB,CAAC,EAAE,KAAK,EAAE,YAAY,EAAE,WAAW,EAAE,OAAO,EAAE,EAAE,yBAAyB;;;+BAyMvE,MAAM,KAAG;QAAE,OAAO,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,UAAU,CAAA;KAAE,GAAG,SAAS;0BAhBjE,MAAM,UAAU,UAAU,KAAG,MAAM,EAAE;gCAwD/B,MAAM,YAAY,MAAM,KAAG,OAAO;0BAlH1D,MAAM,UACP,UAAU,WACT,SAAS,MAAM,EAAE,YACjB,aAAa,KACrB,OAAO;8BA9CuB,MAAM,UAAU,UAAU,cAAc,SAAS,MAAM,EAAE,KAAG,MAAM,EAAE;yBA+MzE,MAAM,UAAU,UAAU,YAAY,MAAM,YAAW,aAAa,KAAQ,OAAO;6BAyB/E,MAAM,YAAW,aAAa,KAAQ,OAAO;qBArJrD,MAAM,YAAW,aAAa,KAAQ,OAAO;2BAgKvC,MAAM,KAAG,MAAM;6BAYb,OAAO,KAAG,MAAM;qBAMxB,MAAM,KAAG,EAAE,IAAI,OAAO;oCAzHP,MAAM,YAAY,MAAM,KAAG,OAAO;4BA8C1C,MAAM,UAAU,UAAU,YAAY,MAAM,KAAG,OAAO;EAiGtF"}
|
|
@@ -105,7 +105,7 @@ declare const provideFlowStore: (options: UseFlowOptions) => {
|
|
|
105
105
|
sentinel_password?: string | undefined;
|
|
106
106
|
keepalive_backlog?: number | undefined;
|
|
107
107
|
sentinel_master?: string | undefined;
|
|
108
|
-
sentinel_role?: "
|
|
108
|
+
sentinel_role?: "master" | "slave" | "any" | undefined;
|
|
109
109
|
sentinel_nodes?: {
|
|
110
110
|
host: string;
|
|
111
111
|
port: number;
|
|
@@ -195,7 +195,7 @@ declare const provideFlowStore: (options: UseFlowOptions) => {
|
|
|
195
195
|
sentinel_password?: string | undefined;
|
|
196
196
|
keepalive_backlog?: number | undefined;
|
|
197
197
|
sentinel_master?: string | undefined;
|
|
198
|
-
sentinel_role?: "
|
|
198
|
+
sentinel_role?: "master" | "slave" | "any" | undefined;
|
|
199
199
|
sentinel_nodes?: {
|
|
200
200
|
host: string;
|
|
201
201
|
port: number;
|
|
@@ -269,6 +269,7 @@ declare const provideFlowStore: (options: UseFlowOptions) => {
|
|
|
269
269
|
getGroupDepth: (groupId: GroupId) => number;
|
|
270
270
|
isGroupId: (id?: string) => id is GroupId;
|
|
271
271
|
isEdgeEnteringGroup: (sourceId: NodeId, targetId: NodeId) => boolean;
|
|
272
|
+
canAddMember: (ownerId: NodeId, branch: import("../../types").BranchName, memberId: NodeId) => boolean;
|
|
272
273
|
};
|
|
273
274
|
addField: (nodeId: NodeId, io: "input" | "output", name: import("../../types").FieldName, commitNow?: boolean) => void;
|
|
274
275
|
renameField: (nodeId: NodeId, fieldId: FieldId, newName: import("../../types").FieldName, commitNow?: boolean) => void;
|
|
@@ -390,7 +391,7 @@ declare const provideFlowStore: (options: UseFlowOptions) => {
|
|
|
390
391
|
sentinel_password?: string | undefined;
|
|
391
392
|
keepalive_backlog?: number | undefined;
|
|
392
393
|
sentinel_master?: string | undefined;
|
|
393
|
-
sentinel_role?: "
|
|
394
|
+
sentinel_role?: "master" | "slave" | "any" | undefined;
|
|
394
395
|
sentinel_nodes?: {
|
|
395
396
|
host: string;
|
|
396
397
|
port: number;
|
|
@@ -480,7 +481,7 @@ declare const provideFlowStore: (options: UseFlowOptions) => {
|
|
|
480
481
|
sentinel_password?: string | undefined;
|
|
481
482
|
keepalive_backlog?: number | undefined;
|
|
482
483
|
sentinel_master?: string | undefined;
|
|
483
|
-
sentinel_role?: "
|
|
484
|
+
sentinel_role?: "master" | "slave" | "any" | undefined;
|
|
484
485
|
sentinel_nodes?: {
|
|
485
486
|
host: string;
|
|
486
487
|
port: number;
|
|
@@ -554,6 +555,7 @@ declare const provideFlowStore: (options: UseFlowOptions) => {
|
|
|
554
555
|
getGroupDepth: (groupId: GroupId) => number;
|
|
555
556
|
isGroupId: (id?: string) => id is GroupId;
|
|
556
557
|
isEdgeEnteringGroup: (sourceId: NodeId, targetId: NodeId) => boolean;
|
|
558
|
+
canAddMember: (ownerId: NodeId, branch: import("../../types").BranchName, memberId: NodeId) => boolean;
|
|
557
559
|
};
|
|
558
560
|
addField: (nodeId: NodeId, io: "input" | "output", name: import("../../types").FieldName, commitNow?: boolean) => void;
|
|
559
561
|
renameField: (nodeId: NodeId, fieldId: FieldId, newName: import("../../types").FieldName, commitNow?: boolean) => void;
|
|
@@ -677,7 +679,7 @@ export declare function useFlowStore(): {
|
|
|
677
679
|
sentinel_password?: string | undefined;
|
|
678
680
|
keepalive_backlog?: number | undefined;
|
|
679
681
|
sentinel_master?: string | undefined;
|
|
680
|
-
sentinel_role?: "
|
|
682
|
+
sentinel_role?: "master" | "slave" | "any" | undefined;
|
|
681
683
|
sentinel_nodes?: {
|
|
682
684
|
host: string;
|
|
683
685
|
port: number;
|
|
@@ -767,7 +769,7 @@ export declare function useFlowStore(): {
|
|
|
767
769
|
sentinel_password?: string | undefined;
|
|
768
770
|
keepalive_backlog?: number | undefined;
|
|
769
771
|
sentinel_master?: string | undefined;
|
|
770
|
-
sentinel_role?: "
|
|
772
|
+
sentinel_role?: "master" | "slave" | "any" | undefined;
|
|
771
773
|
sentinel_nodes?: {
|
|
772
774
|
host: string;
|
|
773
775
|
port: number;
|
|
@@ -841,6 +843,7 @@ export declare function useFlowStore(): {
|
|
|
841
843
|
getGroupDepth: (groupId: GroupId) => number;
|
|
842
844
|
isGroupId: (id?: string) => id is GroupId;
|
|
843
845
|
isEdgeEnteringGroup: (sourceId: NodeId, targetId: NodeId) => boolean;
|
|
846
|
+
canAddMember: (ownerId: NodeId, branch: import("../../types").BranchName, memberId: NodeId) => boolean;
|
|
844
847
|
};
|
|
845
848
|
addField: (nodeId: NodeId, io: "input" | "output", name: import("../../types").FieldName, commitNow?: boolean) => void;
|
|
846
849
|
renameField: (nodeId: NodeId, fieldId: FieldId, newName: import("../../types").FieldName, commitNow?: boolean) => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"flow.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/free-form/Datakit/flow-editor/store/flow.ts"],"names":[],"mappings":"AAyBA,OAAO,KAAK,EAAc,aAAa,EAAa,IAAI,EAAuB,UAAU,EAAE,MAAM,gBAAgB,CAAA;AACjH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAA;AAEpD,OAAO,KAAK,EACV,MAAM,EACN,YAAY,EACZ,OAAO,EACP,QAAQ,EACR,OAAO,EACP,MAAM,EACN,YAAY,EACZ,SAAS,EACV,MAAM,aAAa,CAAA;AAwDpB,MAAM,WAAW,aAAa;IAC5B;;;OAGG;IACH,QAAQ,CAAC,EAAE;QACT,KAAK,EAAE,gBAAgB,CAAC,MAAM,CAAC,CAAA;QAC/B,MAAM,EAAE,gBAAgB,CAAC,MAAM,CAAC,CAAA;KACjC,CAAA;IAED;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAA;IAEhB;;;;OAIG;IACH,IAAI,CAAC,EAAE;QACL,KAAK,CAAC,EAAE,MAAM,CAAA;QACd,KAAK,CAAC,EAAE,MAAM,CAAA;QACd,KAAK,CAAC,EAAE,MAAM,CAAA;KACf,CAAA;CACF;AAED,MAAM,WAAW,cAAc;IAC7B,KAAK,EAAE,SAAS,CAAA;IAChB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,aAAa,EAAE,aAAa,CAAA;IAC5B,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB;AAED,QAAA,MAAO,gBAAgB
|
|
1
|
+
{"version":3,"file":"flow.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/free-form/Datakit/flow-editor/store/flow.ts"],"names":[],"mappings":"AAyBA,OAAO,KAAK,EAAc,aAAa,EAAa,IAAI,EAAuB,UAAU,EAAE,MAAM,gBAAgB,C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|
keepalive_backlog?: number | undefined;
|
|
79
79
|
sentinel_master?: string | undefined;
|
|
80
|
-
sentinel_role?: "
|
|
80
|
+
sentinel_role?: "master" | "slave" | "any" | undefined;
|
|
81
81
|
sentinel_nodes?: {
|
|
82
82
|
host: string;
|
|
83
83
|
port: number;
|
|
@@ -167,7 +167,7 @@ declare const provideEditorStore: (pluginData: DatakitPluginData, options?: Crea
|
|
|
167
167
|
sentinel_password?: string | undefined;
|
|
168
168
|
keepalive_backlog?: number | undefined;
|
|
169
169
|
sentinel_master?: string | undefined;
|
|
170
|
-
sentinel_role?: "
|
|
170
|
+
sentinel_role?: "master" | "slave" | "any" | undefined;
|
|
171
171
|
sentinel_nodes?: {
|
|
172
172
|
host: string;
|
|
173
173
|
port: number;
|
|
@@ -241,6 +241,7 @@ declare const provideEditorStore: (pluginData: DatakitPluginData, options?: Crea
|
|
|
241
241
|
getGroupDepth: (groupId: GroupId) => number;
|
|
242
242
|
isGroupId: (id?: string) => id is GroupId;
|
|
243
243
|
isEdgeEnteringGroup: (sourceId: NodeId, targetId: NodeId) => boolean;
|
|
244
|
+
canAddMember: (ownerId: NodeId, branch: import("../../types").BranchName, memberId: NodeId) => boolean;
|
|
244
245
|
};
|
|
245
246
|
addField: (nodeId: NodeId, io: "input" | "output", name: FieldName, commitNow?: boolean) => void;
|
|
246
247
|
renameField: (nodeId: NodeId, fieldId: FieldId, newName: FieldName, commitNow?: boolean) => void;
|
|
@@ -345,7 +346,7 @@ export declare function useEditorStore(): {
|
|
|
345
346
|
sentinel_password?: string | undefined;
|
|
346
347
|
keepalive_backlog?: number | undefined;
|
|
347
348
|
sentinel_master?: string | undefined;
|
|
348
|
-
sentinel_role?: "
|
|
349
|
+
sentinel_role?: "master" | "slave" | "any" | undefined;
|
|
349
350
|
sentinel_nodes?: {
|
|
350
351
|
host: string;
|
|
351
352
|
port: number;
|
|
@@ -435,7 +436,7 @@ export declare function useEditorStore(): {
|
|
|
435
436
|
sentinel_password?: string | undefined;
|
|
436
437
|
keepalive_backlog?: number | undefined;
|
|
437
438
|
sentinel_master?: string | undefined;
|
|
438
|
-
sentinel_role?: "
|
|
439
|
+
sentinel_role?: "master" | "slave" | "any" | undefined;
|
|
439
440
|
sentinel_nodes?: {
|
|
440
441
|
host: string;
|
|
441
442
|
port: number;
|
|
@@ -509,6 +510,7 @@ export declare function useEditorStore(): {
|
|
|
509
510
|
getGroupDepth: (groupId: GroupId) => number;
|
|
510
511
|
isGroupId: (id?: string) => id is GroupId;
|
|
511
512
|
isEdgeEnteringGroup: (sourceId: NodeId, targetId: NodeId) => boolean;
|
|
513
|
+
canAddMember: (ownerId: NodeId, branch: import("../../types").BranchName, memberId: NodeId) => boolean;
|
|
512
514
|
};
|
|
513
515
|
addField: (nodeId: NodeId, io: "input" | "output", name: FieldName, commitNow?: boolean) => void;
|
|
514
516
|
renameField: (nodeId: NodeId, fieldId: FieldId, newName: FieldName, commitNow?: boolean) => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"store.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/free-form/Datakit/flow-editor/store/store.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAA;AAC5D,OAAO,KAAK,EACV,UAAU,EACV,iBAAiB,EACjB,aAAa,EACb,iBAAiB,EACjB,QAAQ,EACR,MAAM,EACN,YAAY,EACZ,WAAW,EACX,OAAO,EACP,SAAS,EACT,aAAa,EAEb,MAAM,EACN,YAAY,EACZ,QAAQ,EACR,MAAM,EACN,OAAO,EACP,aAAa,EACb,OAAO,EACP,SAAS,EACV,MAAM,aAAa,CAAA;AAYpB,KAAK,wBAAwB,GAAG;IAC9B;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,QAAQ,CAAC,EAAE,CACT,WAAW,EAAE,UAAU,EAAE,EACzB,MAAM,EAAE,aAAa,EACrB,SAAS,EAAE,aAAa,CAAC,WAAW,CAAC,EACrC,SAAS,CAAC,EAAE,MAAM,KACf,IAAI,CAAA;CACV,CAAA;AAED,QAAA,MAAO,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAgHI,MAAM;0BAGF,QAAQ;sBAGZ,MAAM;+BAKG,MAAM;iCAaJ,MAAM;kCAGL,MAAM;;sBAOlB,MAAM;4BAIA,MAAM;0BAMR,iBAAiB,KAAG,YAAY;uBAoBnC,iBAAiB,0BAAqB,MAAM,GAAG,SAAS;4BAYnD,MAAM,aAAa,UAAU,0BAAqB,MAAM,GAAG,SAAS;yBAiCvE,MAAM;yBAwBN,MAAM,WAAW,QAAQ,6BAA0B,MAAM;uBAkB3E,MAAM,YACJ,UAAU;yBASM,OAAO,YAAY,UAAU;8BAc9C,OAAO,UACR;QAAE,QAAQ,EAAE,UAAU,CAAC;QAAC,UAAU,EAAE,UAAU,CAAA;KAAE,0BAEvD,OAAO;6BA2BA,MAAM,MACV,OAAO,GAAG,QAAQ,UACd,OAAO,6BAET,MAAM;4BAaJ,MAAM,QACR,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,6BAEvB,MAAM
|
|
1
|
+
{"version":3,"file":"store.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/free-form/Datakit/flow-editor/store/store.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAA;AAC5D,OAAO,KAAK,EACV,UAAU,EACV,iBAAiB,EACjB,aAAa,EACb,iBAAiB,EACjB,QAAQ,EACR,MAAM,EACN,YAAY,EACZ,WAAW,EACX,OAAO,EACP,SAAS,EACT,aAAa,EAEb,MAAM,EACN,Y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,MAAM;;;;;;;;;;;;;;;;;;;;;uBAWJ,MAAM,MACV,OAAO,GAAG,QAAQ,QAChB,SAAS;0BAiBP,MAAM,WACL,OAAO,WACP,SAAS;0BAgBV,MAAM,WACL,OAAO;2BAoCY,QAAQ;gCAwB5B,MAAM,QACR,QAAQ;6BAQgB,MAAM;gCAmBH,MAAM;iCAQL,MAAM;yBAUhB,UAAU,EAAE;qBAoHhB,MAAM,EAAE;sBAsCP,OAAO,EAAE;oBAeX,aAAa;uBAeR,iBAAiB,gBAAgB,OAAO;;;;;;;;;;;cAziB3D,CAAC;oBAAgC,CAAC;cACtB,CAAC;oBAChB,CAAD;;;;;EA2oBN"}
|
|
@@ -358,9 +358,9 @@ export declare const CacheSchema: z.ZodObject<{
|
|
|
358
358
|
keepalive_backlog: z.ZodOptional<z.ZodNumber>;
|
|
359
359
|
sentinel_master: z.ZodOptional<z.ZodString>;
|
|
360
360
|
sentinel_role: z.ZodOptional<z.ZodEnum<{
|
|
361
|
-
any: "any";
|
|
362
361
|
master: "master";
|
|
363
362
|
slave: "slave";
|
|
363
|
+
any: "any";
|
|
364
364
|
}>>;
|
|
365
365
|
sentinel_nodes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
366
366
|
host: z.ZodDefault<z.ZodString>;
|
|
@@ -405,9 +405,9 @@ export declare const ResourcesSchema: z.ZodObject<{
|
|
|
405
405
|
keepalive_backlog: z.ZodOptional<z.ZodNumber>;
|
|
406
406
|
sentinel_master: z.ZodOptional<z.ZodString>;
|
|
407
407
|
sentinel_role: z.ZodOptional<z.ZodEnum<{
|
|
408
|
-
any: "any";
|
|
409
408
|
master: "master";
|
|
410
409
|
slave: "slave";
|
|
410
|
+
any: "any";
|
|
411
411
|
}>>;
|
|
412
412
|
sentinel_nodes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
413
413
|
host: z.ZodDefault<z.ZodString>;
|
|
@@ -570,9 +570,9 @@ export declare const DatakitConfigSchema: z.ZodObject<{
|
|
|
570
570
|
keepalive_backlog: z.ZodOptional<z.ZodNumber>;
|
|
571
571
|
sentinel_master: z.ZodOptional<z.ZodString>;
|
|
572
572
|
sentinel_role: z.ZodOptional<z.ZodEnum<{
|
|
573
|
-
any: "any";
|
|
574
573
|
master: "master";
|
|
575
574
|
slave: "slave";
|
|
575
|
+
any: "any";
|
|
576
576
|
}>>;
|
|
577
577
|
sentinel_nodes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
578
578
|
host: z.ZodDefault<z.ZodString>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RedisField.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/free-form/ServiceProtection/RedisField.vue"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"RedisField.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/free-form/ServiceProtection/RedisField.vue"],"names":[],"mappings":";AAuGA,wBAGG"}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { type LabelAttributes } from '@kong/kongponents';
|
|
2
|
+
import type { BaseFieldProps } from './types';
|
|
2
3
|
declare const _default: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
3
4
|
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
4
5
|
readonly onRemove?: ((index: number) => any) | undefined;
|
|
5
6
|
readonly onAdd?: (() => any) | undefined;
|
|
6
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onAdd" | "onRemove"> & {
|
|
7
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onAdd" | "onRemove"> & ({
|
|
7
8
|
name: string;
|
|
8
9
|
items?: T[] | null;
|
|
9
10
|
label?: string;
|
|
@@ -11,7 +12,7 @@ declare const _default: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>
|
|
|
11
12
|
itemLabel?: string | ((item: T, index: number) => string);
|
|
12
13
|
appearance?: "default" | "card" | "tabs";
|
|
13
14
|
stickyTabs?: boolean | string | number;
|
|
14
|
-
} & Partial<{}>> & import("vue").PublicProps;
|
|
15
|
+
} & BaseFieldProps) & Partial<{}>> & import("vue").PublicProps;
|
|
15
16
|
expose(exposed: import("vue").ShallowUnwrapRef<{}>): void;
|
|
16
17
|
attrs: any;
|
|
17
18
|
slots: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ArrayField.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/free-form/shared/ArrayField.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ArrayField.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/free-form/shared/ArrayField.vue"],"names":[],"mappings":"AAqXA,OAAO,EAAS,KAAK,eAAe,EAAE,MAAM,mBAAmB,CAAA;AAO/D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;yBAE5B,CAAC,EACjB,aAAa,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,EAC9D,YAAY,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,EAC3G,eAAe,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC,EACjE;WA8iBO,mBAAmB,CAAC;;;;cA5iBpB,MAAM;gBACJ,CAAC,EAAE,GAAG,IAAI;gBACV,MAAM;0BACI,eAAe;oBACrB,MAAM,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,EAAE,KAAK,EAAE,MAAM,KAAK,MAAM,CAAC;qBAC5C,SAAS,GAAG,MAAM,GAAG,MAAM;qBAC3B,OAAO,GAAG,MAAM,GAAG,MAAM;0BAsiByB,OAAO,IAAsB,CAAC,4BAA2B;oBACzG,OAAO,KAAK,EAAE,gBAAgB,CAAC,EAAE,CAAC,GAAG,IAAI;WAClD,GAAG;;oBA7hBG;YACV,KAAK,EAAE,MAAM,CAAA;YACb,6DAA6D;YAC7D,SAAS,EAAE,MAAM,CAAA;YACjB,gBAAgB,CAAC,EAAE,OAAO,CAAA;SAC3B,GAAG,GAAG;mBACI,GAAG;;;EA2hBZ,KACQ,OAAO,KAAK,EAAE,KAAK,GAAG;IAAE,KAAK,CAAC,EAAE,OAAO,CAAC,OAAO,WAAW,CAAC,CAAA;CAAE;AAzjBzE,wBAyjB4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BooleanField.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/free-form/shared/BooleanField.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"BooleanField.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/free-form/shared/BooleanField.vue"],"names":[],"mappings":"AAmEA,OAAO,EAAa,KAAK,eAAe,EAAE,MAAM,mBAAmB,CAAA;AAGnE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;AAM7C,UAAU,UAAW,SAAQ,cAAc;IACzC,eAAe,CAAC,EAAE,eAAe,CAAA;IACjC,UAAU,CAAC,EAAE,OAAO,CAAA;CACrB;AAiGD,QAAA,IAAI,QAAQ,IAAY,CAAE;AAC1B,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AAwBhD,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,4 +1,5 @@
|
|
|
1
1
|
import { type LabelAttributes, type SelectItem, type SelectProps, type MultiselectProps } from '@kong/kongponents';
|
|
2
|
+
import type { BaseFieldProps } from './types';
|
|
2
3
|
declare var __VLS_15: {}, __VLS_18: any;
|
|
3
4
|
type __VLS_Slots = {} & {
|
|
4
5
|
tooltip?: (props: typeof __VLS_15) => any;
|
|
@@ -6,36 +7,32 @@ type __VLS_Slots = {} & {
|
|
|
6
7
|
'item-label'?: (props: typeof __VLS_18) => any;
|
|
7
8
|
};
|
|
8
9
|
declare const __VLS_component: import("vue").DefineComponent<({
|
|
9
|
-
name: string;
|
|
10
10
|
labelAttributes?: LabelAttributes;
|
|
11
11
|
items?: SelectItem[];
|
|
12
12
|
placeholder?: string;
|
|
13
13
|
} & {
|
|
14
14
|
multiple: true;
|
|
15
|
-
} & MultiselectProps<string, false>) | ({
|
|
16
|
-
name: string;
|
|
15
|
+
} & MultiselectProps<string, false> & BaseFieldProps) | ({
|
|
17
16
|
labelAttributes?: LabelAttributes;
|
|
18
17
|
items?: SelectItem[];
|
|
19
18
|
placeholder?: string;
|
|
20
19
|
} & {
|
|
21
20
|
multiple?: false;
|
|
22
|
-
} & SelectProps<string, false>), void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
21
|
+
} & SelectProps<string, false> & BaseFieldProps), void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
23
22
|
update: (args_0: string | string[] | null) => any;
|
|
24
23
|
}, string, import("vue").PublicProps, Readonly<({
|
|
25
|
-
name: string;
|
|
26
24
|
labelAttributes?: LabelAttributes;
|
|
27
25
|
items?: SelectItem[];
|
|
28
26
|
placeholder?: string;
|
|
29
27
|
} & {
|
|
30
28
|
multiple: true;
|
|
31
|
-
} & MultiselectProps<string, false>) | ({
|
|
32
|
-
name: string;
|
|
29
|
+
} & MultiselectProps<string, false> & BaseFieldProps) | ({
|
|
33
30
|
labelAttributes?: LabelAttributes;
|
|
34
31
|
items?: SelectItem[];
|
|
35
32
|
placeholder?: string;
|
|
36
33
|
} & {
|
|
37
34
|
multiple?: false;
|
|
38
|
-
} & SelectProps<string, false>)> & Readonly<{
|
|
35
|
+
} & SelectProps<string, false> & BaseFieldProps)> & Readonly<{
|
|
39
36
|
onUpdate?: ((args_0: string | string[] | null) => any) | undefined;
|
|
40
37
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
41
38
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EnumField.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/free-form/shared/EnumField.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"EnumField.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/free-form/shared/EnumField.vue"],"names":[],"mappings":"AAgHA,OAAO,EAGL,KAAK,eAAe,EACpB,KAAK,UAAU,EACf,KAAK,WAAW,EAChB,KAAK,gBAAgB,EACtB,MAAM,mBAAmB,CAAA;AAE1B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;AAmJ7C,QAAA,IAAI,QAAQ,IAAW,EAAE,QAAQ,KAAY,CAAE;AAC/C,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,GAC7C;IAAE,YAAY,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AAyBrD,QAAA,MAAM,eAAe;sBAzKD,eAAe;YACzB,UAAU,EAAE;kBACN,MAAM;;cANiB,IAAI;;sBAIvB,eAAe;YACzB,UAAU,EAAE;kBACN,MAAM;;eALgB,KAAK;;;;sBAGvB,eAAe;YACzB,UAAU,EAAE;kBACN,MAAM;;cANiB,IAAI;;sBAIvB,eAAe;YACzB,UAAU,EAAE;kBACN,MAAM;;eALgB,KAAK;;;kFAiLzC,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,19 +1,13 @@
|
|
|
1
1
|
import { type Slot } from 'vue';
|
|
2
2
|
import { FIELD_RENDERERS } from './composables';
|
|
3
|
-
type
|
|
4
|
-
name: string;
|
|
5
|
-
};
|
|
3
|
+
import type { BaseFieldProps } from './types';
|
|
6
4
|
type __VLS_Slots = {
|
|
7
5
|
default?: Slot;
|
|
8
|
-
[FIELD_RENDERERS]?: Slot<
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} & Record<string, Slot<{
|
|
12
|
-
name: string;
|
|
13
|
-
}>>;
|
|
14
|
-
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
6
|
+
[FIELD_RENDERERS]?: Slot<BaseFieldProps>;
|
|
7
|
+
} & Record<string, Slot<BaseFieldProps>>;
|
|
8
|
+
declare const __VLS_component: import("vue").DefineComponent<BaseFieldProps, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
15
9
|
globalAction: (name: "notify", payload: any) => any;
|
|
16
|
-
}, string, import("vue").PublicProps, Readonly<
|
|
10
|
+
}, string, import("vue").PublicProps, Readonly<BaseFieldProps> & Readonly<{
|
|
17
11
|
onGlobalAction?: ((name: "notify", payload: any) => any) | undefined;
|
|
18
12
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
19
13
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Field.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/free-form/shared/Field.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Field.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/free-form/shared/Field.vue"],"names":[],"mappings":"AAwGA,OAAO,EAAmB,KAAK,IAAI,EAAE,MAAM,KAAK,CAAA;AAChD,OAAO,EAAY,eAAe,EAAE,MAAM,eAAe,CAAA;AAazD,OAAO,KAAK,EAAgB,cAAc,EAAE,MAAM,SAAS,CAAA;AAY3D,KAAK,WAAW,GAAG;IACf,OAAO,CAAC,EAAE,IAAI,CAAA;IACd,CAAC,eAAe,CAAC,CAAC,EAAE,IAAI,CAAC,cAAc,CAAC,CAAA;CACzC,GAAG,MAAM,CAAC,MAAM,EAAE,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC;AAuJ3C,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,9 +1,9 @@
|
|
|
1
1
|
import type { InputProps, LabelAttributes } from '@kong/kongponents';
|
|
2
|
+
import type { BaseFieldProps } from './types';
|
|
2
3
|
type ForeignFieldValue = {
|
|
3
4
|
id: string;
|
|
4
5
|
} | null;
|
|
5
|
-
interface ForeignFieldProps extends InputProps {
|
|
6
|
-
name: string;
|
|
6
|
+
interface ForeignFieldProps extends InputProps, BaseFieldProps {
|
|
7
7
|
labelAttributes?: LabelAttributes;
|
|
8
8
|
showPasswordMaskToggle?: boolean;
|
|
9
9
|
type?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ForeignField.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/free-form/shared/ForeignField.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ForeignField.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/free-form/shared/ForeignField.vue"],"names":[],"mappings":"AA2GA,OAAO,KAAK,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AAOpE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;AAS7C,KAAK,iBAAiB,GAAG;IAAE,EAAE,EAAE,MAAM,CAAA;CAAE,GAAG,IAAI,CAAA;AAE9C,UAAU,iBAAkB,SAAQ,UAAU,EAAE,cAAc;IAC5D,eAAe,CAAC,EAAE,eAAe,CAAA;IACjC,sBAAsB,CAAC,EAAE,OAAO,CAAA;IAChC,IAAI,CAAC,EAAE,MAAM,CAAA;CACd;AAoHD,QAAA,IAAI,QAAQ,IAAW,CAAE;AACzB,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AA4BhD,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,12 +1,13 @@
|
|
|
1
1
|
import { type Slot } from 'vue';
|
|
2
2
|
import type { FormSchema, UnionFieldSchema } from '../../../types/plugins/form-schema';
|
|
3
|
-
import type { FormConfig } from './types';
|
|
3
|
+
import type { FormConfig, RenderRules } from './types';
|
|
4
4
|
export type Props<T extends Record<string, any> = Record<string, any>> = {
|
|
5
5
|
tag?: string;
|
|
6
6
|
schema: FormSchema | UnionFieldSchema;
|
|
7
7
|
data?: T;
|
|
8
8
|
config?: FormConfig<T>;
|
|
9
9
|
fieldsOrder?: string[];
|
|
10
|
+
renderRules?: RenderRules;
|
|
10
11
|
};
|
|
11
12
|
declare const _default: <T extends Record<string, any> = Record<string, any>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
12
13
|
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
@@ -14,8 +15,9 @@ declare const _default: <T extends Record<string, any> = Record<string, any>>(__
|
|
|
14
15
|
readonly onGlobalAction?: ((name: "notify", payload: any) => any) | undefined;
|
|
15
16
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onChange" | "onGlobalAction"> & Props<T> & Partial<{}>> & import("vue").PublicProps;
|
|
16
17
|
expose(exposed: import("vue").ShallowUnwrapRef<{
|
|
17
|
-
|
|
18
|
-
|
|
18
|
+
getValue: () => Record<string, any>;
|
|
19
|
+
getRawValue: () => Record<string, any>;
|
|
20
|
+
setValue: (newData: Record<string, any>) => void;
|
|
19
21
|
}>): void;
|
|
20
22
|
attrs: any;
|
|
21
23
|
slots: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Form.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/free-form/shared/Form.vue"],"names":[],"mappings":"AAAA,OAqFO,EAAY,KAAK,IAAI,
|
|
1
|
+
{"version":3,"file":"Form.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/free-form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AuI5C,KACQ,OAAO,KAAK,EAAE,KAAK,GAAG;IAAE,KAAK,CAAC,EAAE,OAAO,CAAC,OAAO,WAAW,CAAC,CAAA;CAAE;AAlJzE,wBAkJ4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { LabelAttributes } from '@kong/kongponents';
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
import type { BaseFieldProps } from './types';
|
|
3
|
+
interface StringFieldProps extends BaseFieldProps {
|
|
4
4
|
labelAttributes?: LabelAttributes;
|
|
5
5
|
}
|
|
6
6
|
type ValueType = Record<string, any> | string | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"JsonField.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/free-form/shared/JsonField.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"JsonField.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/free-form/shared/JsonField.vue"],"names":[],"mappings":"AA8HA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AAMxD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;AAW7C,UAAU,gBAAiB,SAAQ,cAAc;IAC/C,eAAe,CAAC,EAAE,eAAe,CAAA;CAClC;AAED,KAAK,SAAS,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,MAAM,GAAG,IAAI,CAAA;AAgJpD,QAAA,IAAI,QAAQ,IAAY,CAAE;AAC1B,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AA0BhD,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"}
|
|
@@ -6,7 +6,7 @@ type __VLS_Slots = {} & {
|
|
|
6
6
|
};
|
|
7
7
|
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
8
8
|
reset: () => void;
|
|
9
|
-
setValue: (value: Record<string, string>) => void;
|
|
9
|
+
setValue: (value: Record<string, string> | null | undefined) => void;
|
|
10
10
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
11
11
|
change: (args_0: Record<string, string> | null) => any;
|
|
12
12
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KeyValueField.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/free-form/shared/KeyValueField.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"KeyValueField.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/free-form/shared/KeyValueField.vue"],"names":[],"mappings":"AA+MA,OAAO,EAA6C,KAAK,kBAAkB,EAAE,MAAM,qCAAqC,CAAA;AAGxH,KAAK,WAAW,GAAG,kBAAkB,CAAC;AAyVtC,QAAA,IAAI,QAAQ,IAAY,CAAE;AAC1B,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AAkChD,QAAA,MAAM,eAAe;;;;;;;kFAMnB,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,6 +1,7 @@
|
|
|
1
1
|
import type { InputProps, LabelAttributes } from '@kong/kongponents';
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
import type { BaseFieldProps } from './types';
|
|
3
|
+
export interface NumberFieldProps extends InputProps, BaseFieldProps {
|
|
4
|
+
showVaultSecretPicker?: boolean;
|
|
4
5
|
labelAttributes?: LabelAttributes;
|
|
5
6
|
max?: number | string;
|
|
6
7
|
min?: number | string;
|
|
@@ -10,9 +11,9 @@ type __VLS_Slots = {} & {
|
|
|
10
11
|
tooltip?: (props: typeof __VLS_14) => any;
|
|
11
12
|
};
|
|
12
13
|
declare const __VLS_component: import("vue").DefineComponent<NumberFieldProps, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
13
|
-
"update:modelValue": (value: number | null) => any;
|
|
14
|
+
"update:modelValue": (value: string | number | null) => any;
|
|
14
15
|
}, string, import("vue").PublicProps, Readonly<NumberFieldProps> & Readonly<{
|
|
15
|
-
"onUpdate:modelValue"?: ((value: number | null) => any) | undefined;
|
|
16
|
+
"onUpdate:modelValue"?: ((value: string | number | null) => any) | undefined;
|
|
16
17
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
17
18
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
18
19
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NumberField.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/free-form/shared/NumberField.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"NumberField.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/free-form/shared/NumberField.vue"],"names":[],"mappings":"AAwKA,OAAO,KAAK,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AAKpE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;AAG7C,MAAM,WAAW,gBAAiB,SAAQ,UAAU,EAAE,cAAc;IAClE,qBAAqB,CAAC,EAAE,OAAO,CAAA;IAC/B,eAAe,CAAC,EAAE,eAAe,CAAA;IACjC,GAAG,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IACrB,GAAG,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;CACtB;AA8ND,QAAA,IAAI,QAAQ,IAAY,CAAE;AAC1B,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AAgChD,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,5 +1,5 @@
|
|
|
1
1
|
import { type LabelAttributes } from '@kong/kongponents';
|
|
2
|
-
import type { ResetLabelPathRule } from './types';
|
|
2
|
+
import type { RenderRules, ResetLabelPathRule } from './types';
|
|
3
3
|
type __VLS_Props = {
|
|
4
4
|
name: string;
|
|
5
5
|
label?: string;
|
|
@@ -13,6 +13,7 @@ type __VLS_Props = {
|
|
|
13
13
|
asChild?: boolean;
|
|
14
14
|
resetLabelPath?: ResetLabelPathRule;
|
|
15
15
|
fieldsOrder?: string[];
|
|
16
|
+
renderRules?: RenderRules;
|
|
16
17
|
};
|
|
17
18
|
type __VLS_PublicProps = __VLS_Props & {
|
|
18
19
|
'added'?: boolean;
|