@kong-ui-public/entities-plugins 9.125.0 → 9.125.1-pr.2708.ec98b1953.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 +12253 -10831
- package/dist/entities-plugins.umd.js +35 -31
- package/dist/style.css +1 -1
- package/dist/types/components/PluginCatalog.vue.d.ts +22 -0
- package/dist/types/components/PluginCatalog.vue.d.ts.map +1 -0
- package/dist/types/components/PluginConfigCard.vue.d.ts +3 -2
- package/dist/types/components/PluginConfigCard.vue.d.ts.map +1 -1
- package/dist/types/components/PluginEntityForm.vue.d.ts +6 -2
- package/dist/types/components/PluginEntityForm.vue.d.ts.map +1 -1
- package/dist/types/components/PluginFieldRuleAlerts.vue.d.ts +2 -1
- package/dist/types/components/PluginFieldRuleAlerts.vue.d.ts.map +1 -1
- package/dist/types/components/PluginForm.vue.d.ts +6 -2
- package/dist/types/components/PluginForm.vue.d.ts.map +1 -1
- package/dist/types/components/PluginFormActionsWrapper.vue.d.ts +7 -6
- package/dist/types/components/PluginFormActionsWrapper.vue.d.ts.map +1 -1
- package/dist/types/components/PluginList.vue.d.ts +3 -2
- package/dist/types/components/PluginList.vue.d.ts.map +1 -1
- package/dist/types/components/PluginSelect.vue.d.ts +6 -5
- package/dist/types/components/PluginSelect.vue.d.ts.map +1 -1
- package/dist/types/components/custom-plugins/DeleteCustomPluginSchemaModal.vue.d.ts +3 -2
- package/dist/types/components/custom-plugins/DeleteCustomPluginSchemaModal.vue.d.ts.map +1 -1
- package/dist/types/components/custom-plugins/PluginCustomGrid.vue.d.ts +3 -2
- package/dist/types/components/custom-plugins/PluginCustomGrid.vue.d.ts.map +1 -1
- package/dist/types/components/fields/key-auth-identity-realms/Base.vue.d.ts +4 -3
- package/dist/types/components/fields/key-auth-identity-realms/Base.vue.d.ts.map +1 -1
- package/dist/types/components/fields/key-auth-identity-realms/FreeFormAdapter.vue.d.ts +5 -4
- package/dist/types/components/fields/key-auth-identity-realms/FreeFormAdapter.vue.d.ts.map +1 -1
- package/dist/types/components/fields/key-auth-identity-realms/VfgAdapter.vue.d.ts +2 -1
- package/dist/types/components/fields/key-auth-identity-realms/VfgAdapter.vue.d.ts.map +1 -1
- package/dist/types/components/free-form/AIMcpProxy/AIMcpProxyForm.vue.d.ts +3 -2
- package/dist/types/components/free-form/AIMcpProxy/AIMcpProxyForm.vue.d.ts.map +1 -1
- package/dist/types/components/free-form/AIMcpProxy/ConfigForm.vue.d.ts +2 -1
- package/dist/types/components/free-form/AIMcpProxy/ConfigForm.vue.d.ts.map +1 -1
- package/dist/types/components/free-form/Common/CommonForm.vue.d.ts +3 -2
- package/dist/types/components/free-form/Common/CommonForm.vue.d.ts.map +1 -1
- package/dist/types/components/free-form/Common/ConfigForm.vue.d.ts +2 -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 +2 -1
- package/dist/types/components/free-form/Datakit/CodeEditor.vue.d.ts.map +1 -1
- package/dist/types/components/free-form/Datakit/DatakitConfigCardCanvas.vue.d.ts +2 -1
- package/dist/types/components/free-form/Datakit/DatakitConfigCardCanvas.vue.d.ts.map +1 -1
- package/dist/types/components/free-form/Datakit/DatakitForm.vue.d.ts +2 -1
- package/dist/types/components/free-form/Datakit/DatakitForm.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 +2 -1
- 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 +4 -3
- package/dist/types/components/free-form/Datakit/flow-editor/FlowEditor.vue.d.ts.map +1 -1
- package/dist/types/components/free-form/Datakit/flow-editor/FlowPanels.vue.d.ts +2 -1
- package/dist/types/components/free-form/Datakit/flow-editor/FlowPanels.vue.d.ts.map +1 -1
- package/dist/types/components/free-form/Datakit/flow-editor/HotkeyLabel.vue.d.ts +2 -1
- package/dist/types/components/free-form/Datakit/flow-editor/HotkeyLabel.vue.d.ts.map +1 -1
- package/dist/types/components/free-form/Datakit/flow-editor/VaultSecretPicker.vue.d.ts +2 -1
- package/dist/types/components/free-form/Datakit/flow-editor/VaultSecretPicker.vue.d.ts.map +1 -1
- 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/modal/ConflictModal.vue.d.ts +2 -1
- package/dist/types/components/free-form/Datakit/flow-editor/modal/ConflictModal.vue.d.ts.map +1 -1
- package/dist/types/components/free-form/Datakit/flow-editor/modal/EditorContent.vue.d.ts +2 -1
- package/dist/types/components/free-form/Datakit/flow-editor/modal/EditorContent.vue.d.ts.map +1 -1
- package/dist/types/components/free-form/Datakit/flow-editor/modal/EditorMain.vue.d.ts +3 -2
- package/dist/types/components/free-form/Datakit/flow-editor/modal/EditorMain.vue.d.ts.map +1 -1
- package/dist/types/components/free-form/Datakit/flow-editor/modal/EditorModal.vue.d.ts +4 -3
- package/dist/types/components/free-form/Datakit/flow-editor/modal/EditorModal.vue.d.ts.map +1 -1
- package/dist/types/components/free-form/Datakit/flow-editor/modal/EditorNav.vue.d.ts +2 -1
- package/dist/types/components/free-form/Datakit/flow-editor/modal/EditorNav.vue.d.ts.map +1 -1
- package/dist/types/components/free-form/Datakit/flow-editor/node/FlowNode.vue.d.ts +2 -1
- package/dist/types/components/free-form/Datakit/flow-editor/node/FlowNode.vue.d.ts.map +1 -1
- package/dist/types/components/free-form/Datakit/flow-editor/node/GroupNode.vue.d.ts +2 -1
- package/dist/types/components/free-form/Datakit/flow-editor/node/GroupNode.vue.d.ts.map +1 -1
- package/dist/types/components/free-form/Datakit/flow-editor/node/HandleTwig.vue.d.ts +2 -1
- package/dist/types/components/free-form/Datakit/flow-editor/node/HandleTwig.vue.d.ts.map +1 -1
- package/dist/types/components/free-form/Datakit/flow-editor/node/NodeBadge.vue.d.ts +2 -1
- package/dist/types/components/free-form/Datakit/flow-editor/node/NodeBadge.vue.d.ts.map +1 -1
- package/dist/types/components/free-form/Datakit/flow-editor/node/NodePanelItem.vue.d.ts +2 -1
- package/dist/types/components/free-form/Datakit/flow-editor/node/NodePanelItem.vue.d.ts.map +1 -1
- package/dist/types/components/free-form/Datakit/flow-editor/node/NodePortal.vue.d.ts +2 -1
- package/dist/types/components/free-form/Datakit/flow-editor/node/NodePortal.vue.d.ts.map +1 -1
- package/dist/types/components/free-form/Datakit/flow-editor/node/NodePropertiesPanel.vue.d.ts +2 -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/node-forms/HttpMethodField.vue.d.ts +2 -1
- package/dist/types/components/free-form/Datakit/flow-editor/node-forms/HttpMethodField.vue.d.ts.map +1 -1
- package/dist/types/components/free-form/Datakit/flow-editor/node-forms/InputsField.vue.d.ts +5 -4
- package/dist/types/components/free-form/Datakit/flow-editor/node-forms/InputsField.vue.d.ts.map +1 -1
- package/dist/types/components/free-form/Datakit/flow-editor/node-forms/InputsMapField.vue.d.ts +5 -4
- package/dist/types/components/free-form/Datakit/flow-editor/node-forms/InputsMapField.vue.d.ts.map +1 -1
- package/dist/types/components/free-form/Datakit/flow-editor/node-forms/InputsRecordField.vue.d.ts +5 -4
- package/dist/types/components/free-form/Datakit/flow-editor/node-forms/InputsRecordField.vue.d.ts.map +1 -1
- package/dist/types/components/free-form/Datakit/flow-editor/node-forms/NameField.vue.d.ts +2 -1
- package/dist/types/components/free-form/Datakit/flow-editor/node-forms/NameField.vue.d.ts.map +1 -1
- package/dist/types/components/free-form/Datakit/flow-editor/node-forms/NodeFormBranch.vue.d.ts +2 -1
- package/dist/types/components/free-form/Datakit/flow-editor/node-forms/NodeFormBranch.vue.d.ts.map +1 -1
- package/dist/types/components/free-form/Datakit/flow-editor/node-forms/NodeFormCache.vue.d.ts +2 -1
- package/dist/types/components/free-form/Datakit/flow-editor/node-forms/NodeFormCache.vue.d.ts.map +1 -1
- package/dist/types/components/free-form/Datakit/flow-editor/node-forms/NodeFormCall.vue.d.ts +2 -1
- package/dist/types/components/free-form/Datakit/flow-editor/node-forms/NodeFormCall.vue.d.ts.map +1 -1
- package/dist/types/components/free-form/Datakit/flow-editor/node-forms/NodeFormExit.vue.d.ts +2 -1
- package/dist/types/components/free-form/Datakit/flow-editor/node-forms/NodeFormExit.vue.d.ts.map +1 -1
- package/dist/types/components/free-form/Datakit/flow-editor/node-forms/NodeFormJq.vue.d.ts +2 -1
- package/dist/types/components/free-form/Datakit/flow-editor/node-forms/NodeFormJq.vue.d.ts.map +1 -1
- package/dist/types/components/free-form/Datakit/flow-editor/node-forms/NodeFormProperty.vue.d.ts +2 -1
- package/dist/types/components/free-form/Datakit/flow-editor/node-forms/NodeFormProperty.vue.d.ts.map +1 -1
- package/dist/types/components/free-form/Datakit/flow-editor/node-forms/NodeFormResponse.vue.d.ts +2 -1
- package/dist/types/components/free-form/Datakit/flow-editor/node-forms/NodeFormResponse.vue.d.ts.map +1 -1
- package/dist/types/components/free-form/Datakit/flow-editor/node-forms/NodeFormServiceRequest.vue.d.ts +2 -1
- package/dist/types/components/free-form/Datakit/flow-editor/node-forms/NodeFormServiceRequest.vue.d.ts.map +1 -1
- package/dist/types/components/free-form/Datakit/flow-editor/node-forms/NodeFormStatic.vue.d.ts +2 -1
- package/dist/types/components/free-form/Datakit/flow-editor/node-forms/NodeFormStatic.vue.d.ts.map +1 -1
- package/dist/types/components/free-form/Datakit/flow-editor/node-forms/OutputValueField.vue.d.ts +2 -1
- package/dist/types/components/free-form/Datakit/flow-editor/node-forms/OutputValueField.vue.d.ts.map +1 -1
- package/dist/types/components/free-form/Datakit/flow-editor/node-forms/PropertiesField.vue.d.ts +2 -1
- package/dist/types/components/free-form/Datakit/flow-editor/node-forms/PropertiesField.vue.d.ts.map +1 -1
- package/dist/types/components/free-form/Datakit/flow-editor/node-forms/SourceItem.vue.d.ts +2 -1
- package/dist/types/components/free-form/Datakit/flow-editor/node-forms/SourceItem.vue.d.ts.map +1 -1
- package/dist/types/components/free-form/Datakit/flow-editor/side-panel/CacheField.vue.d.ts +2 -1
- package/dist/types/components/free-form/Datakit/flow-editor/side-panel/CacheField.vue.d.ts.map +1 -1
- package/dist/types/components/free-form/Datakit/flow-editor/side-panel/NodePanel.vue.d.ts +2 -1
- package/dist/types/components/free-form/Datakit/flow-editor/side-panel/NodePanel.vue.d.ts.map +1 -1
- package/dist/types/components/free-form/Datakit/flow-editor/side-panel/ResourcesPanel.vue.d.ts +2 -1
- package/dist/types/components/free-form/Datakit/flow-editor/side-panel/ResourcesPanel.vue.d.ts.map +1 -1
- package/dist/types/components/free-form/Datakit/flow-editor/side-panel/SidePanel.vue.d.ts +2 -1
- package/dist/types/components/free-form/Datakit/flow-editor/side-panel/SidePanel.vue.d.ts.map +1 -1
- package/dist/types/components/free-form/Datakit/flow-editor/side-panel/VaultField.vue.d.ts +2 -1
- package/dist/types/components/free-form/Datakit/flow-editor/side-panel/VaultField.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/RequestCallout/CalloutForm.vue.d.ts +2 -1
- package/dist/types/components/free-form/RequestCallout/CalloutForm.vue.d.ts.map +1 -1
- package/dist/types/components/free-form/RequestCallout/CalloutsForm.vue.d.ts +2 -1
- package/dist/types/components/free-form/RequestCallout/CalloutsForm.vue.d.ts.map +1 -1
- package/dist/types/components/free-form/RequestCallout/ConfigForm.vue.d.ts +2 -1
- package/dist/types/components/free-form/RequestCallout/ConfigForm.vue.d.ts.map +1 -1
- package/dist/types/components/free-form/RequestCallout/RequestCalloutForm.vue.d.ts +3 -2
- package/dist/types/components/free-form/RequestCallout/RequestCalloutForm.vue.d.ts.map +1 -1
- package/dist/types/components/free-form/ServiceProtection/ConfigForm.vue.d.ts +2 -1
- package/dist/types/components/free-form/ServiceProtection/ConfigForm.vue.d.ts.map +1 -1
- package/dist/types/components/free-form/ServiceProtection/ErrorMessageForm.vue.d.ts +2 -1
- package/dist/types/components/free-form/ServiceProtection/ErrorMessageForm.vue.d.ts.map +1 -1
- package/dist/types/components/free-form/ServiceProtection/RedisField.vue.d.ts +2 -1
- package/dist/types/components/free-form/ServiceProtection/RedisField.vue.d.ts.map +1 -1
- package/dist/types/components/free-form/ServiceProtection/RequestLimitsForm.vue.d.ts +2 -1
- package/dist/types/components/free-form/ServiceProtection/RequestLimitsForm.vue.d.ts.map +1 -1
- package/dist/types/components/free-form/ServiceProtection/ServiceProtectionForm.vue.d.ts +3 -2
- package/dist/types/components/free-form/ServiceProtection/ServiceProtectionForm.vue.d.ts.map +1 -1
- package/dist/types/components/free-form/shared/AdvancedFields.vue.d.ts +5 -4
- package/dist/types/components/free-form/shared/AdvancedFields.vue.d.ts.map +1 -1
- package/dist/types/components/free-form/shared/ArrayField.vue.d.ts +15 -9
- 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 +7 -6
- package/dist/types/components/free-form/shared/BooleanField.vue.d.ts.map +1 -1
- package/dist/types/components/free-form/shared/EnhancedInput.vue.d.ts +3 -2
- package/dist/types/components/free-form/shared/EnhancedInput.vue.d.ts.map +1 -1
- package/dist/types/components/free-form/shared/EntityChecksAlert.vue.d.ts +2 -1
- package/dist/types/components/free-form/shared/EntityChecksAlert.vue.d.ts.map +1 -1
- package/dist/types/components/free-form/shared/EnumField.vue.d.ts +11 -13
- 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 +7 -12
- package/dist/types/components/free-form/shared/Field.vue.d.ts.map +1 -1
- package/dist/types/components/free-form/shared/FieldRenderer.vue.d.ts +3 -2
- package/dist/types/components/free-form/shared/FieldRenderer.vue.d.ts.map +1 -1
- package/dist/types/components/free-form/shared/ForeignField.vue.d.ts +7 -6
- 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 +20 -13
- 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 +7 -6
- 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 +6 -5
- 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 +10 -8
- 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 +10 -7
- package/dist/types/components/free-form/shared/ObjectField.vue.d.ts.map +1 -1
- package/dist/types/components/free-form/shared/PluginFormWrapper.vue.d.ts +11 -6
- package/dist/types/components/free-form/shared/PluginFormWrapper.vue.d.ts.map +1 -1
- package/dist/types/components/free-form/shared/RadioField.vue.d.ts +4 -3
- package/dist/types/components/free-form/shared/RadioField.vue.d.ts.map +1 -1
- package/dist/types/components/free-form/shared/RedisConfigCard.vue.d.ts +2 -1
- package/dist/types/components/free-form/shared/RedisConfigCard.vue.d.ts.map +1 -1
- package/dist/types/components/free-form/shared/RedisSelector.vue.d.ts +2 -1
- package/dist/types/components/free-form/shared/RedisSelector.vue.d.ts.map +1 -1
- package/dist/types/components/free-form/shared/SlideTransition.vue.d.ts +3 -2
- package/dist/types/components/free-form/shared/SlideTransition.vue.d.ts.map +1 -1
- package/dist/types/components/free-form/shared/StringArrayField.vue.d.ts +7 -6
- 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 +8 -7
- package/dist/types/components/free-form/shared/StringField.vue.d.ts.map +1 -1
- package/dist/types/components/free-form/shared/VFGField.vue.d.ts +2 -1
- package/dist/types/components/free-form/shared/VFGField.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 +13 -7
- 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 +19 -0
- package/dist/types/components/select/PluginCatalogCard.vue.d.ts.map +1 -0
- package/dist/types/components/select/PluginCatalogGrid.vue.d.ts +19 -0
- package/dist/types/components/select/PluginCatalogGrid.vue.d.ts.map +1 -0
- package/dist/types/components/select/PluginCatalogGroup.vue.d.ts +29 -0
- package/dist/types/components/select/PluginCatalogGroup.vue.d.ts.map +1 -0
- package/dist/types/components/select/PluginCatalogListView.vue.d.ts +15 -0
- package/dist/types/components/select/PluginCatalogListView.vue.d.ts.map +1 -0
- package/dist/types/components/select/PluginSelectCard.vue.d.ts +3 -2
- package/dist/types/components/select/PluginSelectCard.vue.d.ts.map +1 -1
- package/dist/types/components/select/PluginSelectGrid.vue.d.ts +3 -2
- package/dist/types/components/select/PluginSelectGrid.vue.d.ts.map +1 -1
- package/dist/types/components/select/PluginSelectGroup.vue.d.ts +3 -2
- package/dist/types/components/select/PluginSelectGroup.vue.d.ts.map +1 -1
- 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 +8 -8
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RadioField.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/free-form/shared/RadioField.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"RadioField.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/free-form/shared/RadioField.vue"],"names":[],"mappings":"AA4FA,OAAO,EAAU,KAAK,eAAe,EAAE,KAAK,UAAU,EAAE,MAAM,mBAAmB,CAAA;AAEjF,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;AAI7C,UAAU,cAAe,SAAQ,cAAc;IAC7C,eAAe,CAAC,EAAE,eAAe,CAAA;IACjC,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,KAAK,CAAC,EAAE,UAAU,EAAE,CAAA;IACpB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AA2ID,QAAA,MAAM,YAAY;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -4,6 +4,7 @@ interface RedisConfigCardProps {
|
|
|
4
4
|
configFields: FlattendRedisConfigurationFields;
|
|
5
5
|
pluginRedisFields?: Field[];
|
|
6
6
|
}
|
|
7
|
-
declare const
|
|
7
|
+
declare const __VLS_export: import("vue").DefineComponent<RedisConfigCardProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<RedisConfigCardProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
8
|
+
declare const _default: typeof __VLS_export;
|
|
8
9
|
export default _default;
|
|
9
10
|
//# sourceMappingURL=RedisConfigCard.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RedisConfigCard.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/free-form/shared/RedisConfigCard.vue"],"names":[],"mappings":"AA8JA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAMpC,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,yBAAyB,CAAA;AA4B/E,UAAU,oBAAoB;IAC5B,YAAY,EAAE,gCAAgC,CAAA;IAC9C,iBAAiB,CAAC,EAAE,KAAK,EAAE,CAAA;CAC5B
|
|
1
|
+
{"version":3,"file":"RedisConfigCard.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/free-form/shared/RedisConfigCard.vue"],"names":[],"mappings":"AA8JA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAMpC,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,yBAAyB,CAAA;AA4B/E,UAAU,oBAAoB;IAC5B,YAAY,EAAE,gCAAgC,CAAA;IAC9C,iBAAiB,CAAC,EAAE,KAAK,EAAE,CAAA;CAC5B;AA2HD,QAAA,MAAM,YAAY,oTAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -5,6 +5,7 @@ interface RedisSelectorProps {
|
|
|
5
5
|
redisType?: RedisPartialType;
|
|
6
6
|
redisPath?: string;
|
|
7
7
|
}
|
|
8
|
-
declare const
|
|
8
|
+
declare const __VLS_export: import("vue").DefineComponent<RedisSelectorProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<RedisSelectorProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
9
|
+
declare const _default: typeof __VLS_export;
|
|
9
10
|
export default _default;
|
|
10
11
|
//# sourceMappingURL=RedisSelector.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RedisSelector.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/free-form/shared/RedisSelector.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"RedisSelector.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/free-form/shared/RedisSelector.vue"],"names":[],"mappings":"AAsUA,OAAO,KAAK,EAAE,gBAAgB,EAAsB,MAAM,SAAS,CAAA;AAInE,OAAO,8DAA8D,CAAA;AAkCrE,UAAU,kBAAkB;IAC1B,sBAAsB,CAAC,EAAE,MAAM,CAAA;IAC/B,SAAS,CAAC,EAAE,gBAAgB,CAAA;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AA+WD,QAAA,MAAM,YAAY,gTAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -2,8 +2,9 @@ declare var __VLS_14: {};
|
|
|
2
2
|
type __VLS_Slots = {} & {
|
|
3
3
|
default?: (props: typeof __VLS_14) => any;
|
|
4
4
|
};
|
|
5
|
-
declare const
|
|
6
|
-
declare const
|
|
5
|
+
declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
7
|
+
declare const _default: typeof __VLS_export;
|
|
7
8
|
export default _default;
|
|
8
9
|
type __VLS_WithSlots<T, S> = T & {
|
|
9
10
|
new (): {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SlideTransition.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/free-form/shared/SlideTransition.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SlideTransition.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/free-form/shared/SlideTransition.vue"],"names":[],"mappings":"AA8PA,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;AAGhD,QAAA,MAAM,UAAU,+QACd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -1,19 +1,20 @@
|
|
|
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
|
multiline?: boolean;
|
|
6
6
|
}
|
|
7
|
-
declare var
|
|
7
|
+
declare var __VLS_16: {};
|
|
8
8
|
type __VLS_Slots = {} & {
|
|
9
|
-
tooltip?: (props: typeof
|
|
9
|
+
tooltip?: (props: typeof __VLS_16) => any;
|
|
10
10
|
};
|
|
11
|
-
declare const
|
|
11
|
+
declare const __VLS_base: import("vue").DefineComponent<StringFieldProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
12
12
|
"update:modelValue": (value: string[] | null) => any;
|
|
13
13
|
}, string, import("vue").PublicProps, Readonly<StringFieldProps> & Readonly<{
|
|
14
14
|
"onUpdate:modelValue"?: ((value: string[] | null) => any) | undefined;
|
|
15
15
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
16
|
-
declare const
|
|
16
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
17
|
+
declare const _default: typeof __VLS_export;
|
|
17
18
|
export default _default;
|
|
18
19
|
type __VLS_WithSlots<T, S> = T & {
|
|
19
20
|
new (): {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StringArrayField.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/free-form/shared/StringArrayField.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"StringArrayField.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/free-form/shared/StringArrayField.vue"],"names":[],"mappings":"AAoHA,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;IACjC,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB;AA+ID,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;AAMhD,QAAA,MAAM,UAAU;;;;kFAGd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -1,24 +1,25 @@
|
|
|
1
1
|
import type { InputProps, LabelAttributes } from '@kong/kongponents';
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
import type { BaseFieldProps } from './types';
|
|
3
|
+
interface StringFieldProps extends InputProps, BaseFieldProps {
|
|
4
4
|
labelAttributes?: LabelAttributes;
|
|
5
5
|
multiline?: boolean;
|
|
6
6
|
showVaultSecretPicker?: boolean;
|
|
7
7
|
showPasswordMaskToggle?: boolean;
|
|
8
8
|
type?: string;
|
|
9
9
|
}
|
|
10
|
-
declare var
|
|
10
|
+
declare var __VLS_16: {}, __VLS_19: {};
|
|
11
11
|
type __VLS_Slots = {} & {
|
|
12
|
-
tooltip?: (props: typeof
|
|
12
|
+
tooltip?: (props: typeof __VLS_16) => any;
|
|
13
13
|
} & {
|
|
14
|
-
help?: (props: typeof
|
|
14
|
+
help?: (props: typeof __VLS_19) => any;
|
|
15
15
|
};
|
|
16
|
-
declare const
|
|
16
|
+
declare const __VLS_base: import("vue").DefineComponent<StringFieldProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
17
17
|
"update:modelValue": (value: string | null) => any;
|
|
18
18
|
}, string, import("vue").PublicProps, Readonly<StringFieldProps> & Readonly<{
|
|
19
19
|
"onUpdate:modelValue"?: ((value: string | null) => any) | undefined;
|
|
20
20
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
21
|
-
declare const
|
|
21
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
22
|
+
declare const _default: typeof __VLS_export;
|
|
22
23
|
export default _default;
|
|
23
24
|
type __VLS_WithSlots<T, S> = T & {
|
|
24
25
|
new (): {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StringField.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/free-form/shared/StringField.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"StringField.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/free-form/shared/StringField.vue"],"names":[],"mappings":"AA8JA,OAAO,KAAK,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AAQpE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;AAS7C,UAAU,gBAAiB,SAAQ,UAAU,EAAE,cAAc;IAC3D,eAAe,CAAC,EAAE,eAAe,CAAA;IACjC,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,qBAAqB,CAAC,EAAE,OAAO,CAAA;IAC/B,sBAAsB,CAAC,EAAE,OAAO,CAAA;IAChC,IAAI,CAAC,EAAE,MAAM,CAAA;CACd;AAqND,QAAA,IAAI,QAAQ,IAAW,EAAE,QAAQ,IAAY,CAAE;AAC/C,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,GAC7C;IAAE,IAAI,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AAM7C,QAAA,MAAM,UAAU;;;;kFAGd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -7,6 +7,7 @@ interface VFGFieldProps {
|
|
|
7
7
|
}>;
|
|
8
8
|
};
|
|
9
9
|
}
|
|
10
|
-
declare const
|
|
10
|
+
declare const __VLS_export: import("vue").DefineComponent<VFGFieldProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<VFGFieldProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
declare const _default: typeof __VLS_export;
|
|
11
12
|
export default _default;
|
|
12
13
|
//# sourceMappingURL=VFGField.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VFGField.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/free-form/shared/VFGField.vue"],"names":[],"mappings":"AAwFA,UAAU,aAAa;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IACjC,SAAS,EAAE;QACT,MAAM,EAAE,KAAK,CAAC;YACZ,KAAK,EAAE,MAAM,CAAA;YACb,IAAI,EAAE,MAAM,CAAA;SACb,CAAC,CAAA;KACH,CAAA;CACF
|
|
1
|
+
{"version":3,"file":"VFGField.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/free-form/shared/VFGField.vue"],"names":[],"mappings":"AAwFA,UAAU,aAAa;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IACjC,SAAS,EAAE;QACT,MAAM,EAAE,KAAK,CAAC;YACZ,KAAK,EAAE,MAAM,CAAA;YACb,IAAI,EAAE,MAAM,CAAA;SACb,CAAC,CAAA;KACH,CAAA;CACF;AAgGD,QAAA,MAAM,YAAY,sSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -2,8 +2,16 @@ import type { ComputedRef, InjectionKey, MaybeRefOrGetter, Slot } from 'vue';
|
|
|
2
2
|
import type { LabelAttributes, SelectItem } from '@kong/kongponents';
|
|
3
3
|
import type { FormSchema, UnionFieldSchema } from '../../../types/plugins/form-schema';
|
|
4
4
|
import type { MatchMap } from './FieldRenderer.vue';
|
|
5
|
-
import type { FormConfig, ResetLabelPathRule } from './types';
|
|
6
|
-
export declare const provideFormShared: (
|
|
5
|
+
import type { FormConfig, RenderRules, ResetLabelPathRule } from './types';
|
|
6
|
+
export declare const provideFormShared: (options: {
|
|
7
|
+
schema: FormSchema | UnionFieldSchema;
|
|
8
|
+
propsData?: ComputedRef<Record<string, any>> | undefined;
|
|
9
|
+
propsConfig?: FormConfig<Record<string, any>> | undefined;
|
|
10
|
+
propsRenderRules?: MaybeRefOrGetter<RenderRules | undefined>;
|
|
11
|
+
onChange?: ((newData: Record<string, any>) => void) | undefined;
|
|
12
|
+
}) => {
|
|
13
|
+
getValue: () => Record<string, any>;
|
|
14
|
+
isFieldHidden: (fieldPath: string) => boolean;
|
|
7
15
|
getSchemaMap: () => Record<string, UnionFieldSchema>;
|
|
8
16
|
getSchema: {
|
|
9
17
|
(): FormSchema;
|
|
@@ -13,12 +21,26 @@ export declare const provideFormShared: (schema: UnionFieldSchema | FormSchema,
|
|
|
13
21
|
getSelectItems: (fieldPath: string) => SelectItem[];
|
|
14
22
|
getLabelAttributes: (fieldPath: string) => LabelAttributes;
|
|
15
23
|
getPlaceholder: (fieldPath: string) => string | null;
|
|
24
|
+
getEmptyOrDefault: (path?: string) => unknown;
|
|
25
|
+
/**
|
|
26
|
+
* The reactive form data object
|
|
27
|
+
*/
|
|
16
28
|
formData: Record<string, any>;
|
|
17
29
|
schema: UnionFieldSchema | FormSchema;
|
|
18
30
|
config: Readonly<import("vue").Ref<FormConfig<Record<string, any>>, FormConfig<Record<string, any>>>>;
|
|
19
31
|
fieldRendererRegistry: MatchMap;
|
|
20
|
-
|
|
32
|
+
setValue: (newData: Record<string, any>) => void;
|
|
33
|
+
useCurrentRenderRules: (options: {
|
|
34
|
+
fieldPath: MaybeRefOrGetter<string>;
|
|
35
|
+
rules?: MaybeRefOrGetter<RenderRules | undefined>;
|
|
36
|
+
parentValue?: MaybeRefOrGetter<unknown>;
|
|
37
|
+
omittedFields?: MaybeRefOrGetter<string[] | undefined>;
|
|
38
|
+
}) => ComputedRef<RenderRules | undefined>;
|
|
39
|
+
rootRenderRules: ComputedRef<RenderRules | undefined>;
|
|
40
|
+
createComputedRenderRules: (fieldPath: MaybeRefOrGetter<string | undefined>) => ComputedRef<RenderRules | undefined>;
|
|
21
41
|
}, useOptionalFormShared: () => {
|
|
42
|
+
getValue: () => Record<string, any>;
|
|
43
|
+
isFieldHidden: (fieldPath: string) => boolean;
|
|
22
44
|
getSchemaMap: () => Record<string, UnionFieldSchema>;
|
|
23
45
|
getSchema: {
|
|
24
46
|
(): FormSchema;
|
|
@@ -28,11 +50,23 @@ export declare const provideFormShared: (schema: UnionFieldSchema | FormSchema,
|
|
|
28
50
|
getSelectItems: (fieldPath: string) => SelectItem[];
|
|
29
51
|
getLabelAttributes: (fieldPath: string) => LabelAttributes;
|
|
30
52
|
getPlaceholder: (fieldPath: string) => string | null;
|
|
53
|
+
getEmptyOrDefault: (path?: string) => unknown;
|
|
54
|
+
/**
|
|
55
|
+
* The reactive form data object
|
|
56
|
+
*/
|
|
31
57
|
formData: Record<string, any>;
|
|
32
58
|
schema: UnionFieldSchema | FormSchema;
|
|
33
59
|
config: Readonly<import("vue").Ref<FormConfig<Record<string, any>>, FormConfig<Record<string, any>>>>;
|
|
34
60
|
fieldRendererRegistry: MatchMap;
|
|
35
|
-
|
|
61
|
+
setValue: (newData: Record<string, any>) => void;
|
|
62
|
+
useCurrentRenderRules: (options: {
|
|
63
|
+
fieldPath: MaybeRefOrGetter<string>;
|
|
64
|
+
rules?: MaybeRefOrGetter<RenderRules | undefined>;
|
|
65
|
+
parentValue?: MaybeRefOrGetter<unknown>;
|
|
66
|
+
omittedFields?: MaybeRefOrGetter<string[] | undefined>;
|
|
67
|
+
}) => ComputedRef<RenderRules | undefined>;
|
|
68
|
+
rootRenderRules: ComputedRef<RenderRules | undefined>;
|
|
69
|
+
createComputedRenderRules: (fieldPath: MaybeRefOrGetter<string | undefined>) => ComputedRef<RenderRules | undefined>;
|
|
36
70
|
} | undefined;
|
|
37
71
|
export declare const FIELD_PATH_KEY: InjectionKey<ComputedRef<string>>;
|
|
38
72
|
export declare const FIELD_RENDERER_SLOTS: InjectionKey<MaybeRefOrGetter<Record<string, Slot | undefined>>>;
|
|
@@ -56,11 +90,13 @@ export declare function useSchemaHelpers(schema: MaybeRefOrGetter<FormSchema | U
|
|
|
56
90
|
getSelectItems: (fieldPath: string) => SelectItem[];
|
|
57
91
|
getLabelAttributes: (fieldPath: string) => LabelAttributes;
|
|
58
92
|
getPlaceholder: (fieldPath: string) => string | null;
|
|
93
|
+
getEmptyOrDefault: (path?: string) => unknown;
|
|
59
94
|
};
|
|
60
95
|
export declare function useFormShared<T extends Record<string, any> = Record<string, any>>(): ReturnType<typeof useOptionalFormShared> & {
|
|
61
96
|
formData: T;
|
|
62
97
|
config: ComputedRef<FormConfig<T>>;
|
|
63
98
|
onChange?: (newData: T) => void;
|
|
99
|
+
getValue: () => T;
|
|
64
100
|
};
|
|
65
101
|
export declare const useFieldPath: (name: MaybeRefOrGetter<string>) => ComputedRef<string>;
|
|
66
102
|
export declare const useFieldRenderer: (path: MaybeRefOrGetter<string>) => ComputedRef<Slot<any> | Slot<{
|
|
@@ -101,6 +137,11 @@ export declare function useField<TData = unknown, TSchema extends UnionFieldSche
|
|
|
101
137
|
renderer?: undefined;
|
|
102
138
|
value?: undefined;
|
|
103
139
|
ancestors?: undefined;
|
|
140
|
+
/**
|
|
141
|
+
* Hide the field but keep its state.
|
|
142
|
+
*/
|
|
143
|
+
hide?: undefined;
|
|
144
|
+
emptyOrDefaultValue?: undefined;
|
|
104
145
|
} | {
|
|
105
146
|
schema: ComputedRef<TSchema | undefined>;
|
|
106
147
|
path: ComputedRef<string>;
|
|
@@ -109,6 +150,11 @@ export declare function useField<TData = unknown, TSchema extends UnionFieldSche
|
|
|
109
150
|
}> | undefined>;
|
|
110
151
|
value: import("vue").WritableComputedRef<TData, TData>;
|
|
111
152
|
ancestors: ComputedRef<Ancestor>;
|
|
153
|
+
/**
|
|
154
|
+
* Hide the field but keep its state.
|
|
155
|
+
*/
|
|
156
|
+
hide: ComputedRef<boolean>;
|
|
157
|
+
emptyOrDefaultValue: ComputedRef<unknown>;
|
|
112
158
|
error: null;
|
|
113
159
|
};
|
|
114
160
|
export declare function useIsAutoFocus(fieldAncestors?: MaybeRefOrGetter<Ancestor>): ComputedRef<boolean>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"composables.d.ts","sourceRoot":"","sources":["../../../../../src/components/free-form/shared/composables.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,YAAY,EAAE,gBAAgB,EAAE,IAAI,EAAE,MAAM,KAAK,CAAA;AAG5E,OAAO,KAAK,EAAE,eAAe,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAA;AACpE,OAAO,KAAK,EAA0C,UAAU,EAAqB,gBAAgB,EAAE,MAAM,oCAAoC,CAAA;AAEjJ,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAA;AACnD,OAAO,KAAK,EAAE,UAAU,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAA;
|
|
1
|
+
{"version":3,"file":"composables.d.ts","sourceRoot":"","sources":["../../../../../src/components/free-form/shared/composables.ts"],"names":[],"mappings":"AACA,OAAO,KA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AC,WAAW,CAAC,OAAO,CAAC,CAA+B,CAAA;AAE3F,eAAO,MAAM,gBAAgB;;;;;;;;;CAS5B,CAAA
|
|
1
|
+
{"version":3,"file":"const.d.ts","sourceRoot":"","sources":["../../../../../src/components/free-form/shared/const.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,KAAK,CAAA;AACpD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AAE1C,eAAO,MAAM,kBAAkB,EAAE,YAAY,CAAC,WAAW,CAAgC,CAAA;AACzF,eAAO,MAAM,YAAY,EAAE,YAAY,CAAC,WAAW,CAAC,OAAO,CAAC,CAA+B,CAAA;AAE3F,eAAO,MAAM,gBAAgB;;;;;;;;;CAS5B,CAAA"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { LabelAttributes } from '@kong/kongponents';
|
|
2
2
|
import type { EmitFn, Ref } from 'vue';
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
import type { BaseFieldProps } from '../types';
|
|
4
|
+
export interface KeyValueFieldProps<TKey extends string = string, TValue extends string = string> extends BaseFieldProps {
|
|
5
5
|
initialValue?: Record<TKey, TValue> | null;
|
|
6
6
|
label?: string;
|
|
7
7
|
keyPlaceholder?: string;
|
|
@@ -44,7 +44,7 @@ export declare function useKeyValueField<TKey extends string = string, TValue ex
|
|
|
44
44
|
/**
|
|
45
45
|
* Set the entries to a specific key-value object.
|
|
46
46
|
*/
|
|
47
|
-
setValue: (value: Record<TKey, TValue>) => void;
|
|
47
|
+
setValue: (value: Record<TKey, TValue> | null | undefined) => void;
|
|
48
48
|
/**
|
|
49
49
|
* The props for KLabel.
|
|
50
50
|
*/
|
|
@@ -64,6 +64,7 @@ export declare function useKeyValueField<TKey extends string = string, TValue ex
|
|
|
64
64
|
path?: undefined;
|
|
65
65
|
renderer?: undefined;
|
|
66
66
|
ancestors?: undefined;
|
|
67
|
+
hide?: undefined;
|
|
67
68
|
} | {
|
|
68
69
|
schema: import("vue").ComputedRef<import("../../../../types/plugins/form-schema").UnionFieldSchema | undefined>;
|
|
69
70
|
path: import("vue").ComputedRef<string>;
|
|
@@ -71,6 +72,7 @@ export declare function useKeyValueField<TKey extends string = string, TValue ex
|
|
|
71
72
|
name: string;
|
|
72
73
|
}> | undefined>;
|
|
73
74
|
ancestors: import("vue").ComputedRef<import("../composables").Ancestor>;
|
|
75
|
+
hide: import("vue").ComputedRef<boolean>;
|
|
74
76
|
error: null;
|
|
75
77
|
};
|
|
76
78
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useKeyValueField.d.ts","sourceRoot":"","sources":["../../../../../../src/components/free-form/shared/headless/useKeyValueField.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AACxD,OAAO,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,KAAK,CAAA;
|
|
1
|
+
{"version":3,"file":"useKeyValueField.d.ts","sourceRoot":"","sources":["../../../../../../src/components/free-form/shared/headless/useKeyValueField.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AACxD,OAAO,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,KAAK,CAAA;AACtC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAA;AAE9C,MAAM,WAAW,kBAAkB,CAAC,IAAI,SAAS,MAAM,GAAG,MAAM,EAAE,MAAM,SAAS,MAAM,GAAG,MAAM,CAAE,SAAQ,cAAc;IACtH,YAAY,CAAC,EAAE,MAAM,CAAC,IAAI,EAAE,MAAM,CAAC,GAAG,IAAI,CAAA;IAC1C,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,UAAU,CAAC,EAAE,IAAI,CAAA;IACjB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,eAAe,CAAC,EAAE,eAAe,CAAA;IACjC,qBAAqB,CAAC,EAAE,OAAO,CAAA;IAG/B,QAAQ,CAAC,EAAE,IAAI,EAAE,CAAA;CAClB;AAED,MAAM,WAAW,kBAAkB,CAAC,IAAI,SAAS,MAAM,GAAG,MAAM,EAAE,MAAM,SAAS,MAAM,GAAG,MAAM;IAC9F,MAAM,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,MAAM,CAAC,GAAG,IAAI,CAAC,CAAA;CACtC;AAED,MAAM,WAAW,OAAO,CAAC,IAAI,SAAS,MAAM,GAAG,MAAM,EAAE,MAAM,SAAS,MAAM,GAAG,MAAM;IACnF,EAAE,EAAE,MAAM,CAAA;IACV,GAAG,EAAE,IAAI,CAAA;IACT,KAAK,EAAE,MAAM,CAAA;CACd;AAED;;GAEG;AACH,wBAAgB,gBAAgB,CAC9B,IAAI,SAAS,MAAM,GAAG,MAAM,EAC5B,MAAM,SAAS,MAAM,GAAG,MAAM,EAE9B,KAAK,EAAE,kBAAkB,CAAC,IAAI,EAAE,MAAM,CAAC,EACvC,IAAI,EAAE,MAAM,CAAC,kBAAkB,CAAC,EAChC,gBAAgB,UAAO;IAsJrB;;;OAGG;;IAEH;;OAEG;oBAhHgB,OAAO,CAAC,IAAI,EAAE,MAAM,CAAC;IAkHxC;;OAEG;sBA1GoB,MAAM;IA4G7B;;OAEG;;IAEH;;OAEG;sBAvGoB,MAAM,CAAC,IAAI,EAAE,MAAM,CAAC,GAAG,IAAI,GAAG,SAAS;IAyG9D;;OAEG;;;;;;;;IAEH;;OAEG;;;;;;;;;;;;;;;;;;EAGN"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { FormSchema } from '../../../../types/plugins/form-schema';
|
|
2
2
|
import type { FreeFormPluginData } from '../../../../types/plugins/free-form';
|
|
3
3
|
import type { PluginValidityChangeEvent } from '../../../../types';
|
|
4
|
-
import type { FormConfig } from '../types';
|
|
4
|
+
import type { FormConfig, RenderRules } from '../types';
|
|
5
5
|
export type Props<T extends FreeFormPluginData = any> = {
|
|
6
6
|
generalInfoTitle?: string;
|
|
7
7
|
generalInfoDescription?: string;
|
|
@@ -24,11 +24,16 @@ export type Props<T extends FreeFormPluginData = any> = {
|
|
|
24
24
|
editorMode?: 'form' | 'code';
|
|
25
25
|
/** FreeForm configuration */
|
|
26
26
|
formConfig?: FormConfig<T>;
|
|
27
|
+
renderRules?: RenderRules;
|
|
27
28
|
pluginName: string;
|
|
28
29
|
};
|
|
29
|
-
declare const _default:
|
|
30
|
-
|
|
31
|
-
|
|
30
|
+
declare const _default: typeof __VLS_export;
|
|
31
|
+
export default _default;
|
|
32
|
+
declare const __VLS_export: <T extends FreeFormPluginData>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
33
|
+
props: __VLS_PrettifyLocal<Props<T>> & import("vue").PublicProps & (typeof globalThis extends {
|
|
34
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
35
|
+
} ? P : {});
|
|
36
|
+
expose: (exposed: {}) => void;
|
|
32
37
|
attrs: any;
|
|
33
38
|
slots: {
|
|
34
39
|
default: () => any;
|
|
@@ -44,8 +49,9 @@ declare const _default: <T extends FreeFormPluginData>(__VLS_props: NonNullable<
|
|
|
44
49
|
}>) => import("vue").VNode & {
|
|
45
50
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
46
51
|
};
|
|
47
|
-
|
|
48
|
-
|
|
52
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
53
|
+
[K in keyof T]: T[K];
|
|
54
|
+
} : {
|
|
49
55
|
[K in keyof T as K]: T[K];
|
|
50
|
-
} & {};
|
|
56
|
+
}) & {};
|
|
51
57
|
//# sourceMappingURL=StandardLayout.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StandardLayout.vue.d.ts","sourceRoot":"","sources":["../../../../../../src/components/free-form/shared/layout/StandardLayout.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"StandardLayout.vue.d.ts","sourceRoot":"","sources":["../../../../../../src/components/free-form/shared/layout/StandardLayout.vue"],"names":[],"mappings":"AA+cA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,uCAAuC,CAAA;AACvE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAA;AAC7E,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,mBAAmB,CAAA;AAElE,OAAO,KAAK,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,UAAU,CAAA;AAQvD,MAAM,MAAM,KAAK,CAAC,CAAC,SAAS,kBAAkB,GAAG,GAAG,IAAI;IACtD,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,sBAAsB,CAAC,EAAE,MAAM,CAAA;IAC/B,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAC1B,uBAAuB,CAAC,EAAE,MAAM,CAAA;IAChC,sBAAsB;IACtB,MAAM,EAAE,UAAU,CAAA;IAClB,iBAAiB;IACjB,UAAU,EAAE,GAAG,CAAA;IACf,wDAAwD;IACxD,KAAK,EAAE,CAAC,CAAA;IACR,qBAAqB;IACrB,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IAC9B,WAAW,EAAE,GAAG,CAAA;IAChB,SAAS,EAAE,OAAO,CAAA;IAClB,cAAc,EAAE,CAAC,KAAK,EAAE,GAAG,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IACnD,0IAA0I;IAC1I,YAAY,EAAE,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC,CAAC,KAAK,IAAI,CAAA;IACzC,gBAAgB,CAAC,EAAE,CAAC,KAAK,EAAE,yBAAy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CAAG,GAAG;KAAG,CAAC,IAAI,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,CAAC,GAAG,EAAE,CAAC"}
|
|
@@ -100,5 +100,48 @@ export type PartialNotification = {
|
|
|
100
100
|
* @deprecated use `useToaster` instead
|
|
101
101
|
*/
|
|
102
102
|
export type GlobalAction = 'notify';
|
|
103
|
+
/**
|
|
104
|
+
* Rules to control the rendering of form fields.
|
|
105
|
+
* Only `Form` and `ObjectField` components can accept these rules
|
|
106
|
+
*/
|
|
107
|
+
export interface RenderRules {
|
|
108
|
+
/**
|
|
109
|
+
* Bundles of fields to be rendered together.
|
|
110
|
+
* - Each bundle is an array of field paths.
|
|
111
|
+
* - Each bundle should be in the same level.
|
|
112
|
+
* - Circular references between bundles are not allowed.
|
|
113
|
+
* @example
|
|
114
|
+
* ```ts
|
|
115
|
+
* [
|
|
116
|
+
* ['config.username', 'config.password'], // first bundle
|
|
117
|
+
* ['config.strategy', 'config.redis'], // second bundle
|
|
118
|
+
* ['config.strategy', 'config.cache.redis'], // ❌ different levels are not allowed
|
|
119
|
+
* ['config.redis', 'config.strategy'], // ❌ circular reference not allowed
|
|
120
|
+
* ]
|
|
121
|
+
*/
|
|
122
|
+
bundles?: string[][];
|
|
123
|
+
/**
|
|
124
|
+
* Dependencies between fields to control their visibility.
|
|
125
|
+
* - A field will be shown only if its dependency is satisfied.
|
|
126
|
+
* - A field will only have a value if its dependency is satisfied.
|
|
127
|
+
* - The `fieldValue` will be deeply compared.
|
|
128
|
+
* - Field and its dependency should be in the same level.
|
|
129
|
+
* - Circular dependencies are not allowed.
|
|
130
|
+
* @example
|
|
131
|
+
* ```ts
|
|
132
|
+
* {
|
|
133
|
+
* 'config.redis': ['config.strategy', 'redis'],
|
|
134
|
+
* 'config.cache.redis': ['config.strategy', 'cache'], // ❌ different levels are not allowed
|
|
135
|
+
* 'config.strategy': ['config.redis', {}], // ❌ circular dependency not allowed
|
|
136
|
+
* }
|
|
137
|
+
* ```
|
|
138
|
+
*/
|
|
139
|
+
dependencies?: {
|
|
140
|
+
[fieldPath: string]: [fieldPath: string, fieldValue: any];
|
|
141
|
+
};
|
|
142
|
+
}
|
|
143
|
+
export interface BaseFieldProps {
|
|
144
|
+
name: string;
|
|
145
|
+
}
|
|
103
146
|
export {};
|
|
104
147
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/components/free-form/shared/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,GAAG,EAAE,MAAM,KAAK,CAAA;AAEvD,KAAK,kCAAkC,GAAG;IACxC,KAAK,GAAG,IAAI,EAAE,GAAG,EAAE,GAAG,uBAAuB,CAAC,GAAG,CAAC,CAAA;CACnD,CAAA;AAED,MAAM,MAAM,QAAQ,CAAC,CAAC,SAAS,kCAAkC,IAC/D,YAAY,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,GAAG;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;CAAE,CAAA;AAGxD,MAAM,MAAM,UAAU,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,IAAI;IAC5E,eAAe,CAAC,EAAE,CAAC,IAAI,EAAE,GAAG,KAAK,GAAG,CAAA;IACpC,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,KAAK,MAAM,CAAA;IAC7D,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,CAAC,GAAG,SAAS,KAAK,OAAO,CAAA;IAC3C;;OAEG;IACH,cAAc,CAAC,EAAE,OAAO,CAAA;CACzB,CAAA;AAED;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAC1B,SAAS,GACT,OAAO,GACP,gBAAgB,GAChB,SAAS,GACT,kBAAkB,CA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EAAE,MAAM,EAAE,UAAU,EAAE,GAAG,CAAC,CAAA;KAC1D,CAAA;CACF;AAED,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,MAAM,CAAA;CACb"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { FlattendRedisConfigurationFields } from './types';
|
|
2
2
|
import type { Field } from '../shared/types';
|
|
3
|
-
import type { UnionFieldSchema } from '
|
|
3
|
+
import type { NamedFieldSchema, UnionFieldSchema } from '../../../types/plugins/form-schema';
|
|
4
4
|
import { type MaybeRefOrGetter } from 'vue';
|
|
5
5
|
export declare function toSelectItems<T extends string | number>(items: T[]): Array<{
|
|
6
6
|
value: T;
|
|
@@ -14,6 +14,10 @@ export declare function resolveRoot(...args: string[]): string;
|
|
|
14
14
|
export declare function isAbsolute(p: string): boolean;
|
|
15
15
|
export declare function toArray(p: string): string[];
|
|
16
16
|
export declare function getName(p: string): string;
|
|
17
|
+
/**
|
|
18
|
+
* `$.a.b.c` => `a.b.c`
|
|
19
|
+
*/
|
|
20
|
+
export declare function removeRootSymbol(path: string): string;
|
|
17
21
|
export declare function useRedisNonstandardFields(partialFields: FlattendRedisConfigurationFields, redisFields: Field[]): {
|
|
18
22
|
label: string;
|
|
19
23
|
key: string;
|
|
@@ -21,4 +25,44 @@ export declare function useRedisNonstandardFields(partialFields: FlattendRedisCo
|
|
|
21
25
|
type: string;
|
|
22
26
|
}[];
|
|
23
27
|
export declare function isTagField(schema: MaybeRefOrGetter<UnionFieldSchema | undefined>): boolean;
|
|
28
|
+
export declare function sortFieldsByFieldNames(fields: NamedFieldSchema[], fieldNames: string[]): NamedFieldSchema[];
|
|
29
|
+
/**
|
|
30
|
+
* Sorts fields based on dependency bundles while preserving original order.
|
|
31
|
+
*
|
|
32
|
+
* Each bundle defines a dependency chain where earlier fields are dependencies
|
|
33
|
+
* for later fields. The function ensures that:
|
|
34
|
+
* 1. Fields maintain their original relative order when possible
|
|
35
|
+
* 2. Bundled fields appear together in sequence
|
|
36
|
+
* 3. Dependencies are satisfied before dependent fields are added
|
|
37
|
+
* 4. Transitive dependencies across bundles are handled correctly
|
|
38
|
+
*
|
|
39
|
+
* Uses a multi-round iteration approach:
|
|
40
|
+
* - Each round processes fields in original order
|
|
41
|
+
* - Adds fields whose dependencies are satisfied
|
|
42
|
+
* - When adding a bundled field, also adds all subsequent fields in that bundle
|
|
43
|
+
* - Repeats until all fields are added or no progress is made
|
|
44
|
+
*
|
|
45
|
+
* @example
|
|
46
|
+
* // Simple bundle - C and B grouped together
|
|
47
|
+
* fields = [A, B, C, D], bundles = [[C, B]]
|
|
48
|
+
* // Result: [A, C, B, D] - A first, then C,B bundle, then D
|
|
49
|
+
*
|
|
50
|
+
* @example
|
|
51
|
+
* // B appears before A, but A depends on nothing in bundle, so B,A grouped at first occurrence
|
|
52
|
+
* fields = [A, B, C, D], bundles = [[B, A]]
|
|
53
|
+
* // Result: [B, A, C, D]
|
|
54
|
+
*
|
|
55
|
+
* @example
|
|
56
|
+
* // Multiple bundles
|
|
57
|
+
* fields = [A, B, C, D], bundles = [[D, A], [C, B]]
|
|
58
|
+
* // A skipped (needs D), B skipped (needs C), C added with B, D added with A
|
|
59
|
+
* // Result: [C, B, D, A]
|
|
60
|
+
*
|
|
61
|
+
* @example
|
|
62
|
+
* // Transitive dependency: A needs B, B needs C
|
|
63
|
+
* fields = [A, B, C, D], bundles = [[C, B], [B, A]]
|
|
64
|
+
* // A skipped (needs B), B skipped (needs C), C triggers B then A, D last
|
|
65
|
+
* // Result: [C, B, A, D]
|
|
66
|
+
*/
|
|
67
|
+
export declare function sortFieldsByBundles(fields: NamedFieldSchema[], bundles: string[][]): NamedFieldSchema[];
|
|
24
68
|
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../src/components/free-form/shared/utils.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,SAA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AK,EAAE;;;;;IAiBrB;AAED,wBAAgB,UAAU,CAAC,MAAM,EAAE,gBAAgB,CAAC,gBAAgB,GAAG,SAAS,CAAC,GAAG,OAAO,CAM1F;AAED,wBAAgB,sBAAsB,CACpC,MAAM,EAAE,gBAAgB,EAAE,EAC1B,UAAU,EAAE,MAAM,EAAE,GACnB,gBAAgB,EAAE,CAcpB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH,wBAAgB,mBAAmB,CACjC,MAAM,EAAE,gBAAgB,EAAE,EAC1B,OAAO,EAAE,MAAM,EAAE,EAAE,GAClB,gBAAgB,EAAE,CAmGpB"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { type KongManagerPluginSelectConfig, type KonnectPluginSelectConfig, type PluginType } from '../../types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
4
|
+
config: KonnectPluginSelectConfig | KongManagerPluginSelectConfig;
|
|
5
|
+
/**
|
|
6
|
+
* Plugin to display in the card
|
|
7
|
+
*/
|
|
8
|
+
plugin: PluginType;
|
|
9
|
+
};
|
|
10
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
11
|
+
"custom-plugin-delete": () => any;
|
|
12
|
+
"plugin-clicked": (plugin: PluginType) => any;
|
|
13
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
14
|
+
"onCustom-plugin-delete"?: (() => any) | undefined;
|
|
15
|
+
"onPlugin-clicked"?: ((plugin: PluginType) => any) | undefined;
|
|
16
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
17
|
+
declare const _default: typeof __VLS_export;
|
|
18
|
+
export default _default;
|
|
19
|
+
//# sourceMappingURL=PluginCatalogCard.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PluginCatalogCard.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/select/PluginCatalogCard.vue"],"names":[],"mappings":"AAmQA,OAAO,EAGL,KAAK,6BAA6B,EAClC,KAAK,yBAAyB,EAC9B,KAAK,UAAU,EAChB,MAAM,aAAa,CAAA;AAapB,KAAK,WAAW,GAAG;IACjB,oHAAoH;IACpH,MAAM,EAAE,yBAAyB,GAAG,6BAA6B,CAAA;IACjE;;OAEG;IACH,MAAM,EAAE,UAAU,CAAA;CACnB,CAAC;AA0SF,QAAA,MAAM,YAAY;;;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { type KongManagerPluginSelectConfig, type KonnectPluginSelectConfig, type PluginCardList, type PluginType } from '../../types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
4
|
+
config: KonnectPluginSelectConfig | KongManagerPluginSelectConfig;
|
|
5
|
+
/**
|
|
6
|
+
* Plugins to display in the grid
|
|
7
|
+
*/
|
|
8
|
+
pluginList?: PluginCardList;
|
|
9
|
+
};
|
|
10
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
11
|
+
"plugin-clicked": (plugin: PluginType) => any;
|
|
12
|
+
"delete:success": (pluginName: string) => any;
|
|
13
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
14
|
+
"onPlugin-clicked"?: ((plugin: PluginType) => any) | undefined;
|
|
15
|
+
"onDelete:success"?: ((pluginName: string) => any) | undefined;
|
|
16
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
17
|
+
declare const _default: typeof __VLS_export;
|
|
18
|
+
export default _default;
|
|
19
|
+
//# sourceMappingURL=PluginCatalogGrid.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PluginCatalogGrid.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/select/PluginCatalogGrid.vue"],"names":[],"mappings":"AAmGA,OAAO,EAIL,KAAK,6BAA6B,EAClC,KAAK,yBAAyB,EAC9B,KAAK,cAAc,EACnB,KAAK,UAAU,EAChB,MAAM,aAAa,CAAA;AAGpB,KAAK,WAAW,GAAG;IACjB,oHAAoH;IACpH,MAAM,EAAE,yBAAyB,GAAG,6BAA6B,CAAA;IACjE;;OAEG;IACH,UAAU,CAAC,EAAE,cAAc,CAAA;CAC5B,CAAC;AA2JF,QAAA,MAAM,YAAY;;;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|