@flanksource/clicky-ui 0.3.19 → 0.3.21
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/components/ErrorWrapper.cjs +1 -1
- package/dist/components/ErrorWrapper.cjs.map +1 -1
- package/dist/components/ErrorWrapper.js +1 -1
- package/dist/components/ErrorWrapper.js.map +1 -1
- package/dist/components/UnitStepControls.cjs +55 -0
- package/dist/components/UnitStepControls.cjs.map +1 -0
- package/dist/components/UnitStepControls.d.ts +10 -0
- package/dist/components/UnitStepControls.d.ts.map +1 -0
- package/dist/components/UnitStepControls.js +55 -0
- package/dist/components/UnitStepControls.js.map +1 -0
- package/dist/components/json-schema-form-accordion-array.cjs +5 -73
- package/dist/components/json-schema-form-accordion-array.cjs.map +1 -1
- package/dist/components/json-schema-form-accordion-array.d.ts.map +1 -1
- package/dist/components/json-schema-form-accordion-array.js +3 -71
- package/dist/components/json-schema-form-accordion-array.js.map +1 -1
- package/dist/components/json-schema-form-array.cjs +6 -1
- package/dist/components/json-schema-form-array.cjs.map +1 -1
- package/dist/components/json-schema-form-array.d.ts.map +1 -1
- package/dist/components/json-schema-form-array.js +6 -1
- package/dist/components/json-schema-form-array.js.map +1 -1
- package/dist/components/json-schema-form-cards-array.cjs +96 -0
- package/dist/components/json-schema-form-cards-array.cjs.map +1 -0
- package/dist/components/json-schema-form-cards-array.d.ts +7 -0
- package/dist/components/json-schema-form-cards-array.d.ts.map +1 -0
- package/dist/components/json-schema-form-cards-array.js +96 -0
- package/dist/components/json-schema-form-cards-array.js.map +1 -0
- package/dist/components/json-schema-form-item-row.cjs +81 -0
- package/dist/components/json-schema-form-item-row.cjs.map +1 -0
- package/dist/components/json-schema-form-item-row.d.ts +19 -0
- package/dist/components/json-schema-form-item-row.d.ts.map +1 -0
- package/dist/components/json-schema-form-item-row.js +81 -0
- package/dist/components/json-schema-form-item-row.js.map +1 -0
- package/dist/components/json-schema-form-render.cjs +2 -2
- package/dist/components/json-schema-form-render.cjs.map +1 -1
- package/dist/components/json-schema-form-render.d.ts.map +1 -1
- package/dist/components/json-schema-form-render.js +2 -2
- package/dist/components/json-schema-form-render.js.map +1 -1
- package/dist/components/json-schema-form-resolve.cjs +1 -1
- package/dist/components/json-schema-form-resolve.cjs.map +1 -1
- package/dist/components/json-schema-form-resolve.js +1 -1
- package/dist/components/json-schema-form-resolve.js.map +1 -1
- package/dist/components/json-schema-form-tone.cjs +12 -0
- package/dist/components/json-schema-form-tone.cjs.map +1 -1
- package/dist/components/json-schema-form-tone.js +12 -0
- package/dist/components/json-schema-form-tone.js.map +1 -1
- package/dist/components/json-schema-form-types.d.ts +1 -1
- package/dist/components/json-schema-form-types.d.ts.map +1 -1
- package/dist/components/unit-form-extension.cjs +126 -0
- package/dist/components/unit-form-extension.cjs.map +1 -0
- package/dist/components/unit-form-extension.d.ts +8 -0
- package/dist/components/unit-form-extension.d.ts.map +1 -0
- package/dist/components/unit-form-extension.js +126 -0
- package/dist/components/unit-form-extension.js.map +1 -0
- package/dist/components.cjs +4 -0
- package/dist/components.cjs.map +1 -1
- package/dist/components.d.ts +1 -0
- package/dist/components.d.ts.map +1 -1
- package/dist/components.js +4 -0
- package/dist/components.js.map +1 -1
- package/dist/data/diagnostics/ErrorDetails.cjs +61 -8
- package/dist/data/diagnostics/ErrorDetails.cjs.map +1 -1
- package/dist/data/diagnostics/ErrorDetails.d.ts.map +1 -1
- package/dist/data/diagnostics/ErrorDetails.js +61 -8
- package/dist/data/diagnostics/ErrorDetails.js.map +1 -1
- package/dist/data/diagnostics/error-diagnostics.cjs +10 -4
- package/dist/data/diagnostics/error-diagnostics.cjs.map +1 -1
- package/dist/data/diagnostics/error-diagnostics.d.ts.map +1 -1
- package/dist/data/diagnostics/error-diagnostics.js +10 -4
- package/dist/data/diagnostics/error-diagnostics.js.map +1 -1
- package/dist/data/query-browser/QueryBrowser.cjs +12 -6
- package/dist/data/query-browser/QueryBrowser.cjs.map +1 -1
- package/dist/data/query-browser/QueryBrowser.d.ts.map +1 -1
- package/dist/data/query-browser/QueryBrowser.js +12 -6
- package/dist/data/query-browser/QueryBrowser.js.map +1 -1
- package/dist/data/query-browser/QueryBrowser.types.cjs +2 -1
- package/dist/data/query-browser/QueryBrowser.types.cjs.map +1 -1
- package/dist/data/query-browser/QueryBrowser.types.d.ts +16 -14
- package/dist/data/query-browser/QueryBrowser.types.d.ts.map +1 -1
- package/dist/data/query-browser/QueryBrowser.types.js +2 -1
- package/dist/data/query-browser/QueryBrowser.types.js.map +1 -1
- package/dist/data/version-info.cjs +3 -3
- package/dist/data/version-info.js +3 -3
- package/dist/index.cjs +4 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -1
- package/dist/lib/string.cjs +8 -0
- package/dist/lib/string.cjs.map +1 -1
- package/dist/lib/string.d.ts +1 -0
- package/dist/lib/string.d.ts.map +1 -1
- package/dist/lib/string.js +8 -0
- package/dist/lib/string.js.map +1 -1
- package/dist/profiles/catalogTree.cjs +133 -0
- package/dist/profiles/catalogTree.cjs.map +1 -0
- package/dist/profiles/catalogTree.d.ts +11 -0
- package/dist/profiles/catalogTree.d.ts.map +1 -0
- package/dist/profiles/catalogTree.js +133 -0
- package/dist/profiles/catalogTree.js.map +1 -0
- package/dist/profiles/connectionBrowserModel.cjs +185 -0
- package/dist/profiles/connectionBrowserModel.cjs.map +1 -0
- package/dist/profiles/connectionBrowserModel.d.ts +169 -0
- package/dist/profiles/connectionBrowserModel.d.ts.map +1 -0
- package/dist/profiles/connectionBrowserModel.js +185 -0
- package/dist/profiles/connectionBrowserModel.js.map +1 -0
- package/dist/profiles/connectionQueryWorkspace.cjs +185 -0
- package/dist/profiles/connectionQueryWorkspace.cjs.map +1 -0
- package/dist/profiles/connectionQueryWorkspace.d.ts +63 -0
- package/dist/profiles/connectionQueryWorkspace.d.ts.map +1 -0
- package/dist/profiles/connectionQueryWorkspace.js +185 -0
- package/dist/profiles/connectionQueryWorkspace.js.map +1 -0
- package/dist/profiles/connectionQueryWorkspaceModel.cjs +28 -0
- package/dist/profiles/connectionQueryWorkspaceModel.cjs.map +1 -0
- package/dist/profiles/connectionQueryWorkspaceModel.d.ts +38 -0
- package/dist/profiles/connectionQueryWorkspaceModel.d.ts.map +1 -0
- package/dist/profiles/connectionQueryWorkspaceModel.js +28 -0
- package/dist/profiles/connectionQueryWorkspaceModel.js.map +1 -0
- package/dist/profiles/esFieldValues.cjs +64 -0
- package/dist/profiles/esFieldValues.cjs.map +1 -0
- package/dist/profiles/esFieldValues.d.ts +48 -0
- package/dist/profiles/esFieldValues.d.ts.map +1 -0
- package/dist/profiles/esFieldValues.js +64 -0
- package/dist/profiles/esFieldValues.js.map +1 -0
- package/dist/profiles/esParamMappingModel.cjs +301 -0
- package/dist/profiles/esParamMappingModel.cjs.map +1 -0
- package/dist/profiles/esParamMappingModel.d.ts +37 -0
- package/dist/profiles/esParamMappingModel.d.ts.map +1 -0
- package/dist/profiles/esParamMappingModel.js +301 -0
- package/dist/profiles/esParamMappingModel.js.map +1 -0
- package/dist/profiles/esParamMappingPill.cjs +24 -0
- package/dist/profiles/esParamMappingPill.cjs.map +1 -0
- package/dist/profiles/esParamMappingPill.d.ts +13 -0
- package/dist/profiles/esParamMappingPill.d.ts.map +1 -0
- package/dist/profiles/esParamMappingPill.js +24 -0
- package/dist/profiles/esParamMappingPill.js.map +1 -0
- package/dist/profiles/esParamOperandExtension.cjs +75 -0
- package/dist/profiles/esParamOperandExtension.cjs.map +1 -0
- package/dist/profiles/esParamOperandExtension.d.ts +11 -0
- package/dist/profiles/esParamOperandExtension.d.ts.map +1 -0
- package/dist/profiles/esParamOperandExtension.js +75 -0
- package/dist/profiles/esParamOperandExtension.js.map +1 -0
- package/dist/profiles/esQueryBuilder.cjs +205 -0
- package/dist/profiles/esQueryBuilder.cjs.map +1 -0
- package/dist/profiles/esQueryBuilder.d.ts +35 -0
- package/dist/profiles/esQueryBuilder.d.ts.map +1 -0
- package/dist/profiles/esQueryBuilder.js +205 -0
- package/dist/profiles/esQueryBuilder.js.map +1 -0
- package/dist/profiles/esQueryBuilderExtension.cjs +23 -0
- package/dist/profiles/esQueryBuilderExtension.cjs.map +1 -0
- package/dist/profiles/esQueryBuilderExtension.d.ts +5 -0
- package/dist/profiles/esQueryBuilderExtension.d.ts.map +1 -0
- package/dist/profiles/esQueryBuilderExtension.js +23 -0
- package/dist/profiles/esQueryBuilderExtension.js.map +1 -0
- package/dist/profiles/esQueryBuilderForm.cjs +26 -0
- package/dist/profiles/esQueryBuilderForm.cjs.map +1 -0
- package/dist/profiles/esQueryBuilderForm.d.ts +18 -0
- package/dist/profiles/esQueryBuilderForm.d.ts.map +1 -0
- package/dist/profiles/esQueryBuilderForm.js +26 -0
- package/dist/profiles/esQueryBuilderForm.js.map +1 -0
- package/dist/profiles/esQueryBuilderModel.cjs +131 -0
- package/dist/profiles/esQueryBuilderModel.cjs.map +1 -0
- package/dist/profiles/esQueryBuilderModel.d.ts +108 -0
- package/dist/profiles/esQueryBuilderModel.d.ts.map +1 -0
- package/dist/profiles/esQueryBuilderModel.js +131 -0
- package/dist/profiles/esQueryBuilderModel.js.map +1 -0
- package/dist/profiles/esQueryClauseGroup.cjs +144 -0
- package/dist/profiles/esQueryClauseGroup.cjs.map +1 -0
- package/dist/profiles/esQueryClauseGroup.d.ts +10 -0
- package/dist/profiles/esQueryClauseGroup.d.ts.map +1 -0
- package/dist/profiles/esQueryClauseGroup.js +144 -0
- package/dist/profiles/esQueryClauseGroup.js.map +1 -0
- package/dist/profiles/esQueryCompile.cjs +47 -0
- package/dist/profiles/esQueryCompile.cjs.map +1 -0
- package/dist/profiles/esQueryCompile.d.ts +39 -0
- package/dist/profiles/esQueryCompile.d.ts.map +1 -0
- package/dist/profiles/esQueryCompile.js +47 -0
- package/dist/profiles/esQueryCompile.js.map +1 -0
- package/dist/profiles/esQueryConditionRow.cjs +168 -0
- package/dist/profiles/esQueryConditionRow.cjs.map +1 -0
- package/dist/profiles/esQueryConditionRow.d.ts +37 -0
- package/dist/profiles/esQueryConditionRow.d.ts.map +1 -0
- package/dist/profiles/esQueryConditionRow.js +168 -0
- package/dist/profiles/esQueryConditionRow.js.map +1 -0
- package/dist/profiles/esQueryGroupModel.cjs +12 -0
- package/dist/profiles/esQueryGroupModel.cjs.map +1 -0
- package/dist/profiles/esQueryGroupModel.d.ts +9 -0
- package/dist/profiles/esQueryGroupModel.d.ts.map +1 -0
- package/dist/profiles/esQueryGroupModel.js +12 -0
- package/dist/profiles/esQueryGroupModel.js.map +1 -0
- package/dist/profiles/esQueryOccur.cjs +16 -0
- package/dist/profiles/esQueryOccur.cjs.map +1 -0
- package/dist/profiles/esQueryOccur.d.ts +11 -0
- package/dist/profiles/esQueryOccur.d.ts.map +1 -0
- package/dist/profiles/esQueryOccur.js +16 -0
- package/dist/profiles/esQueryOccur.js.map +1 -0
- package/dist/profiles/esQueryOperandEditors.cjs +279 -0
- package/dist/profiles/esQueryOperandEditors.cjs.map +1 -0
- package/dist/profiles/esQueryOperandEditors.d.ts +24 -0
- package/dist/profiles/esQueryOperandEditors.d.ts.map +1 -0
- package/dist/profiles/esQueryOperandEditors.js +279 -0
- package/dist/profiles/esQueryOperandEditors.js.map +1 -0
- package/dist/profiles/esQueryOperandModel.cjs +28 -0
- package/dist/profiles/esQueryOperandModel.cjs.map +1 -0
- package/dist/profiles/esQueryOperandModel.d.ts +17 -0
- package/dist/profiles/esQueryOperandModel.d.ts.map +1 -0
- package/dist/profiles/esQueryOperandModel.js +28 -0
- package/dist/profiles/esQueryOperandModel.js.map +1 -0
- package/dist/profiles/esQueryOperators.cjs +165 -0
- package/dist/profiles/esQueryOperators.cjs.map +1 -0
- package/dist/profiles/esQueryOperators.d.ts +83 -0
- package/dist/profiles/esQueryOperators.d.ts.map +1 -0
- package/dist/profiles/esQueryOperators.js +165 -0
- package/dist/profiles/esQueryOperators.js.map +1 -0
- package/dist/profiles/esQueryOutputEditor.cjs +138 -0
- package/dist/profiles/esQueryOutputEditor.cjs.map +1 -0
- package/dist/profiles/esQueryOutputEditor.d.ts +7 -0
- package/dist/profiles/esQueryOutputEditor.d.ts.map +1 -0
- package/dist/profiles/esQueryOutputEditor.js +138 -0
- package/dist/profiles/esQueryOutputEditor.js.map +1 -0
- package/dist/profiles/esQueryOutputModel.cjs +16 -0
- package/dist/profiles/esQueryOutputModel.cjs.map +1 -0
- package/dist/profiles/esQueryOutputModel.d.ts +14 -0
- package/dist/profiles/esQueryOutputModel.d.ts.map +1 -0
- package/dist/profiles/esQueryOutputModel.js +16 -0
- package/dist/profiles/esQueryOutputModel.js.map +1 -0
- package/dist/profiles/esQueryPreview.cjs +30 -0
- package/dist/profiles/esQueryPreview.cjs.map +1 -0
- package/dist/profiles/esQueryPreview.d.ts +6 -0
- package/dist/profiles/esQueryPreview.d.ts.map +1 -0
- package/dist/profiles/esQueryPreview.js +30 -0
- package/dist/profiles/esQueryPreview.js.map +1 -0
- package/dist/profiles/esQuerySortEditor.cjs +143 -0
- package/dist/profiles/esQuerySortEditor.cjs.map +1 -0
- package/dist/profiles/esQuerySortEditor.d.ts +9 -0
- package/dist/profiles/esQuerySortEditor.d.ts.map +1 -0
- package/dist/profiles/esQuerySortEditor.js +143 -0
- package/dist/profiles/esQuerySortEditor.js.map +1 -0
- package/dist/profiles/esQuerySortModel.cjs +13 -0
- package/dist/profiles/esQuerySortModel.cjs.map +1 -0
- package/dist/profiles/esQuerySortModel.d.ts +4 -0
- package/dist/profiles/esQuerySortModel.d.ts.map +1 -0
- package/dist/profiles/esQuerySortModel.js +13 -0
- package/dist/profiles/esQuerySortModel.js.map +1 -0
- package/dist/profiles/esValueCombobox.cjs +86 -0
- package/dist/profiles/esValueCombobox.cjs.map +1 -0
- package/dist/profiles/esValueCombobox.d.ts +15 -0
- package/dist/profiles/esValueCombobox.d.ts.map +1 -0
- package/dist/profiles/esValueCombobox.js +86 -0
- package/dist/profiles/esValueCombobox.js.map +1 -0
- package/dist/profiles/jsonPathSample.cjs +75 -0
- package/dist/profiles/jsonPathSample.cjs.map +1 -0
- package/dist/profiles/jsonPathSample.d.ts +27 -0
- package/dist/profiles/jsonPathSample.d.ts.map +1 -0
- package/dist/profiles/jsonPathSample.js +75 -0
- package/dist/profiles/jsonPathSample.js.map +1 -0
- package/dist/profiles/jsonPathSampleRow.cjs +14 -0
- package/dist/profiles/jsonPathSampleRow.cjs.map +1 -0
- package/dist/profiles/jsonPathSampleRow.d.ts +6 -0
- package/dist/profiles/jsonPathSampleRow.d.ts.map +1 -0
- package/dist/profiles/jsonPathSampleRow.js +14 -0
- package/dist/profiles/jsonPathSampleRow.js.map +1 -0
- package/dist/profiles/profileApi.cjs +37 -0
- package/dist/profiles/profileApi.cjs.map +1 -0
- package/dist/profiles/profileApi.d.ts +32 -0
- package/dist/profiles/profileApi.d.ts.map +1 -0
- package/dist/profiles/profileApi.js +37 -0
- package/dist/profiles/profileApi.js.map +1 -0
- package/dist/profiles/profileBuilder.cjs +65 -0
- package/dist/profiles/profileBuilder.cjs.map +1 -0
- package/dist/profiles/profileBuilder.d.ts +11 -0
- package/dist/profiles/profileBuilder.d.ts.map +1 -0
- package/dist/profiles/profileBuilder.js +65 -0
- package/dist/profiles/profileBuilder.js.map +1 -0
- package/dist/profiles/profileBuilderExtension.cjs +25 -0
- package/dist/profiles/profileBuilderExtension.cjs.map +1 -0
- package/dist/profiles/profileBuilderExtension.d.ts +5 -0
- package/dist/profiles/profileBuilderExtension.d.ts.map +1 -0
- package/dist/profiles/profileBuilderExtension.js +25 -0
- package/dist/profiles/profileBuilderExtension.js.map +1 -0
- package/dist/profiles/profileBuilderWorkspace.cjs +368 -0
- package/dist/profiles/profileBuilderWorkspace.cjs.map +1 -0
- package/dist/profiles/profileBuilderWorkspace.d.ts +21 -0
- package/dist/profiles/profileBuilderWorkspace.d.ts.map +1 -0
- package/dist/profiles/profileBuilderWorkspace.js +368 -0
- package/dist/profiles/profileBuilderWorkspace.js.map +1 -0
- package/dist/profiles/profileColumnModel.cjs +23 -0
- package/dist/profiles/profileColumnModel.cjs.map +1 -0
- package/dist/profiles/profileColumnModel.d.ts +8 -0
- package/dist/profiles/profileColumnModel.d.ts.map +1 -0
- package/dist/profiles/profileColumnModel.js +23 -0
- package/dist/profiles/profileColumnModel.js.map +1 -0
- package/dist/profiles/profileColumnPicker.cjs +68 -0
- package/dist/profiles/profileColumnPicker.cjs.map +1 -0
- package/dist/profiles/profileColumnPicker.d.ts +11 -0
- package/dist/profiles/profileColumnPicker.d.ts.map +1 -0
- package/dist/profiles/profileColumnPicker.js +68 -0
- package/dist/profiles/profileColumnPicker.js.map +1 -0
- package/dist/profiles/profileEditor.cjs +386 -0
- package/dist/profiles/profileEditor.cjs.map +1 -0
- package/dist/profiles/profileEditor.d.ts +19 -0
- package/dist/profiles/profileEditor.d.ts.map +1 -0
- package/dist/profiles/profileEditor.js +386 -0
- package/dist/profiles/profileEditor.js.map +1 -0
- package/dist/profiles/profileEditorModel.cjs +181 -0
- package/dist/profiles/profileEditorModel.cjs.map +1 -0
- package/dist/profiles/profileEditorModel.d.ts +74 -0
- package/dist/profiles/profileEditorModel.d.ts.map +1 -0
- package/dist/profiles/profileEditorModel.js +181 -0
- package/dist/profiles/profileEditorModel.js.map +1 -0
- package/dist/profiles/profileEditorPreview.cjs +38 -0
- package/dist/profiles/profileEditorPreview.cjs.map +1 -0
- package/dist/profiles/profileEditorPreview.d.ts +12 -0
- package/dist/profiles/profileEditorPreview.d.ts.map +1 -0
- package/dist/profiles/profileEditorPreview.js +38 -0
- package/dist/profiles/profileEditorPreview.js.map +1 -0
- package/dist/profiles/profileEditorRail.cjs +46 -0
- package/dist/profiles/profileEditorRail.cjs.map +1 -0
- package/dist/profiles/profileEditorRail.d.ts +8 -0
- package/dist/profiles/profileEditorRail.d.ts.map +1 -0
- package/dist/profiles/profileEditorRail.js +46 -0
- package/dist/profiles/profileEditorRail.js.map +1 -0
- package/dist/profiles/profileEditorRaw.cjs +118 -0
- package/dist/profiles/profileEditorRaw.cjs.map +1 -0
- package/dist/profiles/profileEditorRaw.d.ts +7 -0
- package/dist/profiles/profileEditorRaw.d.ts.map +1 -0
- package/dist/profiles/profileEditorRaw.js +118 -0
- package/dist/profiles/profileEditorRaw.js.map +1 -0
- package/dist/profiles/profileEditorRoutes.cjs +7 -0
- package/dist/profiles/profileEditorRoutes.cjs.map +1 -0
- package/dist/profiles/profileEditorRoutes.d.ts +2 -0
- package/dist/profiles/profileEditorRoutes.d.ts.map +1 -0
- package/dist/profiles/profileEditorRoutes.js +7 -0
- package/dist/profiles/profileEditorRoutes.js.map +1 -0
- package/dist/profiles/profileEditorSections.cjs +213 -0
- package/dist/profiles/profileEditorSections.cjs.map +1 -0
- package/dist/profiles/profileEditorSections.d.ts +23 -0
- package/dist/profiles/profileEditorSections.d.ts.map +1 -0
- package/dist/profiles/profileEditorSections.js +213 -0
- package/dist/profiles/profileEditorSections.js.map +1 -0
- package/dist/profiles/profileFieldEditor.cjs +200 -0
- package/dist/profiles/profileFieldEditor.cjs.map +1 -0
- package/dist/profiles/profileFieldEditor.d.ts +34 -0
- package/dist/profiles/profileFieldEditor.d.ts.map +1 -0
- package/dist/profiles/profileFieldEditor.js +200 -0
- package/dist/profiles/profileFieldEditor.js.map +1 -0
- package/dist/profiles/profileFieldGrid.cjs +250 -0
- package/dist/profiles/profileFieldGrid.cjs.map +1 -0
- package/dist/profiles/profileFieldGrid.d.ts +20 -0
- package/dist/profiles/profileFieldGrid.d.ts.map +1 -0
- package/dist/profiles/profileFieldGrid.js +250 -0
- package/dist/profiles/profileFieldGrid.js.map +1 -0
- package/dist/profiles/profileFieldManager.cjs +103 -0
- package/dist/profiles/profileFieldManager.cjs.map +1 -0
- package/dist/profiles/profileFieldManager.d.ts +9 -0
- package/dist/profiles/profileFieldManager.d.ts.map +1 -0
- package/dist/profiles/profileFieldManager.js +103 -0
- package/dist/profiles/profileFieldManager.js.map +1 -0
- package/dist/profiles/profileFieldState.cjs +136 -0
- package/dist/profiles/profileFieldState.cjs.map +1 -0
- package/dist/profiles/profileFieldState.d.ts +41 -0
- package/dist/profiles/profileFieldState.d.ts.map +1 -0
- package/dist/profiles/profileFieldState.js +136 -0
- package/dist/profiles/profileFieldState.js.map +1 -0
- package/dist/profiles/profileFieldTypes.cjs +17 -0
- package/dist/profiles/profileFieldTypes.cjs.map +1 -0
- package/dist/profiles/profileFieldTypes.d.ts +8 -0
- package/dist/profiles/profileFieldTypes.d.ts.map +1 -0
- package/dist/profiles/profileFieldTypes.js +17 -0
- package/dist/profiles/profileFieldTypes.js.map +1 -0
- package/dist/profiles/profileParamModel.cjs +78 -0
- package/dist/profiles/profileParamModel.cjs.map +1 -0
- package/dist/profiles/profileParamModel.d.ts +3 -0
- package/dist/profiles/profileParamModel.d.ts.map +1 -0
- package/dist/profiles/profileParamModel.js +78 -0
- package/dist/profiles/profileParamModel.js.map +1 -0
- package/dist/profiles/profileSamplePayload.cjs +15 -0
- package/dist/profiles/profileSamplePayload.cjs.map +1 -0
- package/dist/profiles/profileSamplePayload.d.ts +13 -0
- package/dist/profiles/profileSamplePayload.d.ts.map +1 -0
- package/dist/profiles/profileSamplePayload.js +15 -0
- package/dist/profiles/profileSamplePayload.js.map +1 -0
- package/dist/profiles/profileWizard.cjs +257 -0
- package/dist/profiles/profileWizard.cjs.map +1 -0
- package/dist/profiles/profileWizard.d.ts +12 -0
- package/dist/profiles/profileWizard.d.ts.map +1 -0
- package/dist/profiles/profileWizard.js +257 -0
- package/dist/profiles/profileWizard.js.map +1 -0
- package/dist/profiles/profileWizardHelp.cjs +10 -0
- package/dist/profiles/profileWizardHelp.cjs.map +1 -0
- package/dist/profiles/profileWizardHelp.d.ts +13 -0
- package/dist/profiles/profileWizardHelp.d.ts.map +1 -0
- package/dist/profiles/profileWizardHelp.js +10 -0
- package/dist/profiles/profileWizardHelp.js.map +1 -0
- package/dist/profiles/profileWizardModel.cjs +198 -0
- package/dist/profiles/profileWizardModel.cjs.map +1 -0
- package/dist/profiles/profileWizardModel.d.ts +255 -0
- package/dist/profiles/profileWizardModel.d.ts.map +1 -0
- package/dist/profiles/profileWizardModel.js +198 -0
- package/dist/profiles/profileWizardModel.js.map +1 -0
- package/dist/profiles/profileWizardQueryStep.cjs +215 -0
- package/dist/profiles/profileWizardQueryStep.cjs.map +1 -0
- package/dist/profiles/profileWizardQueryStep.d.ts +18 -0
- package/dist/profiles/profileWizardQueryStep.d.ts.map +1 -0
- package/dist/profiles/profileWizardQueryStep.js +215 -0
- package/dist/profiles/profileWizardQueryStep.js.map +1 -0
- package/dist/profiles/profileWizardSteps.cjs +214 -0
- package/dist/profiles/profileWizardSteps.cjs.map +1 -0
- package/dist/profiles/profileWizardSteps.d.ts +35 -0
- package/dist/profiles/profileWizardSteps.d.ts.map +1 -0
- package/dist/profiles/profileWizardSteps.js +214 -0
- package/dist/profiles/profileWizardSteps.js.map +1 -0
- package/dist/profiles/profileYaml.cjs +19 -0
- package/dist/profiles/profileYaml.cjs.map +1 -0
- package/dist/profiles/profileYaml.d.ts +4 -0
- package/dist/profiles/profileYaml.d.ts.map +1 -0
- package/dist/profiles/profileYaml.js +19 -0
- package/dist/profiles/profileYaml.js.map +1 -0
- package/dist/profiles/prometheusResults.cjs +60 -0
- package/dist/profiles/prometheusResults.cjs.map +1 -0
- package/dist/profiles/prometheusResults.d.ts +7 -0
- package/dist/profiles/prometheusResults.d.ts.map +1 -0
- package/dist/profiles/prometheusResults.js +60 -0
- package/dist/profiles/prometheusResults.js.map +1 -0
- package/dist/profiles/queryRowLimits.cjs +82 -0
- package/dist/profiles/queryRowLimits.cjs.map +1 -0
- package/dist/profiles/queryRowLimits.d.ts +9 -0
- package/dist/profiles/queryRowLimits.d.ts.map +1 -0
- package/dist/profiles/queryRowLimits.js +82 -0
- package/dist/profiles/queryRowLimits.js.map +1 -0
- package/dist/profiles/queryRowLimitsModel.cjs +10 -0
- package/dist/profiles/queryRowLimitsModel.cjs.map +1 -0
- package/dist/profiles/queryRowLimitsModel.d.ts +9 -0
- package/dist/profiles/queryRowLimitsModel.d.ts.map +1 -0
- package/dist/profiles/queryRowLimitsModel.js +10 -0
- package/dist/profiles/queryRowLimitsModel.js.map +1 -0
- package/dist/profiles/queryTargetPicker.cjs +42 -0
- package/dist/profiles/queryTargetPicker.cjs.map +1 -0
- package/dist/profiles/queryTargetPicker.d.ts +8 -0
- package/dist/profiles/queryTargetPicker.d.ts.map +1 -0
- package/dist/profiles/queryTargetPicker.js +42 -0
- package/dist/profiles/queryTargetPicker.js.map +1 -0
- package/dist/profiles/testSchema.d.ts +3 -0
- package/dist/profiles/testSchema.d.ts.map +1 -0
- package/dist/profiles.cjs +223 -0
- package/dist/profiles.cjs.map +1 -0
- package/dist/profiles.d.ts +68 -0
- package/dist/profiles.d.ts.map +1 -0
- package/dist/profiles.js +223 -0
- package/dist/profiles.js.map +1 -0
- package/dist/styles.css +1 -1
- package/package.json +6 -1
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
+
import { InputField } from "../components/InputField.js";
|
|
3
|
+
import { applyRowLimit } from "./queryRowLimitsModel.js";
|
|
4
|
+
const profileCaps = [
|
|
5
|
+
{
|
|
6
|
+
key: "pageSize",
|
|
7
|
+
label: "Page size",
|
|
8
|
+
title: "Rows one page returns when the caller asks for no size.",
|
|
9
|
+
fallback: "pageSize"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
key: "maxPageSize",
|
|
13
|
+
label: "Max page",
|
|
14
|
+
title: "Largest single page a caller may ask this profile for.",
|
|
15
|
+
fallback: "maxPageSize"
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
key: "maxExportRows",
|
|
19
|
+
label: "Max export",
|
|
20
|
+
title: "Where an all-row export of this profile stops.",
|
|
21
|
+
fallback: "maxExportRows"
|
|
22
|
+
}
|
|
23
|
+
];
|
|
24
|
+
function QueryRowLimits({
|
|
25
|
+
value,
|
|
26
|
+
onChange,
|
|
27
|
+
defaults,
|
|
28
|
+
limits,
|
|
29
|
+
onLimitsChange
|
|
30
|
+
}) {
|
|
31
|
+
return /* @__PURE__ */ jsxs("div", { className: "flex flex-wrap items-end gap-3", children: [
|
|
32
|
+
/* @__PURE__ */ jsx(
|
|
33
|
+
RowLimitField,
|
|
34
|
+
{
|
|
35
|
+
label: "Limit",
|
|
36
|
+
title: "Rows this query asks the source for.",
|
|
37
|
+
value,
|
|
38
|
+
placeholder: "rows",
|
|
39
|
+
onChange
|
|
40
|
+
}
|
|
41
|
+
),
|
|
42
|
+
onLimitsChange ? profileCaps.map((cap) => /* @__PURE__ */ jsx(
|
|
43
|
+
RowLimitField,
|
|
44
|
+
{
|
|
45
|
+
label: cap.label,
|
|
46
|
+
title: cap.title,
|
|
47
|
+
value: (limits == null ? void 0 : limits[cap.key]) === void 0 ? "" : String(limits[cap.key]),
|
|
48
|
+
placeholder: defaults ? defaults[cap.fallback].toLocaleString("en-US") : "",
|
|
49
|
+
onChange: (text) => onLimitsChange(applyRowLimit(limits, cap.key, text))
|
|
50
|
+
},
|
|
51
|
+
cap.key
|
|
52
|
+
)) : null
|
|
53
|
+
] });
|
|
54
|
+
}
|
|
55
|
+
function RowLimitField({
|
|
56
|
+
label,
|
|
57
|
+
title,
|
|
58
|
+
value,
|
|
59
|
+
placeholder,
|
|
60
|
+
onChange
|
|
61
|
+
}) {
|
|
62
|
+
return /* @__PURE__ */ jsxs("label", { className: "flex flex-col gap-1", children: [
|
|
63
|
+
/* @__PURE__ */ jsx("span", { className: "text-xs font-medium text-muted-foreground", children: label }),
|
|
64
|
+
/* @__PURE__ */ jsx(
|
|
65
|
+
InputField,
|
|
66
|
+
{
|
|
67
|
+
"aria-label": label,
|
|
68
|
+
className: "w-24",
|
|
69
|
+
type: "number",
|
|
70
|
+
min: "1",
|
|
71
|
+
placeholder,
|
|
72
|
+
title,
|
|
73
|
+
value,
|
|
74
|
+
onChange
|
|
75
|
+
}
|
|
76
|
+
)
|
|
77
|
+
] });
|
|
78
|
+
}
|
|
79
|
+
export {
|
|
80
|
+
QueryRowLimits
|
|
81
|
+
};
|
|
82
|
+
//# sourceMappingURL=queryRowLimits.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"queryRowLimits.js","sources":["../../src/profiles/queryRowLimits.tsx"],"sourcesContent":["/**\n * The four row caps, edited beside the filters they bound rather than buried in\n * the generic options form. They answer different questions and so get a field\n * each: Limit is how many rows the query asks the source for (a provider\n * option), while the page a caller gets by default, the largest page it may ask\n * for and where an export stops belong to the profile. A cap the profile leaves\n * empty shows the inherited default as its placeholder.\n */\n\nimport { InputField } from \"../components/InputField\";\nimport type {\n BrowserRowLimits,\n ProfileRowLimits,\n} from \"./connectionBrowserModel\";\nimport { applyRowLimit } from \"./queryRowLimitsModel\";\n\nconst profileCaps: {\n key: keyof ProfileRowLimits;\n label: string;\n title: string;\n fallback: keyof BrowserRowLimits;\n}[] = [\n {\n key: \"pageSize\",\n label: \"Page size\",\n title: \"Rows one page returns when the caller asks for no size.\",\n fallback: \"pageSize\",\n },\n {\n key: \"maxPageSize\",\n label: \"Max page\",\n title: \"Largest single page a caller may ask this profile for.\",\n fallback: \"maxPageSize\",\n },\n {\n key: \"maxExportRows\",\n label: \"Max export\",\n title: \"Where an all-row export of this profile stops.\",\n fallback: \"maxExportRows\",\n },\n];\n\nexport function QueryRowLimits({\n value,\n onChange,\n defaults,\n limits,\n onLimitsChange,\n}: {\n value: string;\n onChange: (limit: string) => void;\n defaults?: BrowserRowLimits;\n limits?: ProfileRowLimits;\n onLimitsChange?: (limits: ProfileRowLimits | undefined) => void;\n}) {\n return (\n <div className=\"flex flex-wrap items-end gap-3\">\n <RowLimitField\n label=\"Limit\"\n title=\"Rows this query asks the source for.\"\n value={value}\n placeholder=\"rows\"\n onChange={onChange}\n />\n {onLimitsChange\n ? profileCaps.map((cap) => (\n <RowLimitField\n key={cap.key}\n label={cap.label}\n title={cap.title}\n value={limits?.[cap.key] === undefined ? \"\" : String(limits[cap.key])}\n placeholder={\n defaults ? defaults[cap.fallback].toLocaleString(\"en-US\") : \"\"\n }\n onChange={(text) =>\n onLimitsChange(applyRowLimit(limits, cap.key, text))\n }\n />\n ))\n : null}\n </div>\n );\n}\n\nfunction RowLimitField({\n label,\n title,\n value,\n placeholder,\n onChange,\n}: {\n label: string;\n title: string;\n value: string;\n placeholder: string;\n onChange: (text: string) => void;\n}) {\n return (\n <label className=\"flex flex-col gap-1\">\n <span className=\"text-xs font-medium text-muted-foreground\">{label}</span>\n <InputField\n aria-label={label}\n className=\"w-24\"\n type=\"number\"\n min=\"1\"\n placeholder={placeholder}\n title={title}\n value={value}\n onChange={onChange}\n />\n </label>\n );\n}\n"],"names":[],"mappings":";;;AAgBA,MAAM,cAKA;AAAA,EACJ;AAAA,IACE,KAAK;AAAA,IACL,OAAO;AAAA,IACP,OAAO;AAAA,IACP,UAAU;AAAA,EAAA;AAAA,EAEZ;AAAA,IACE,KAAK;AAAA,IACL,OAAO;AAAA,IACP,OAAO;AAAA,IACP,UAAU;AAAA,EAAA;AAAA,EAEZ;AAAA,IACE,KAAK;AAAA,IACL,OAAO;AAAA,IACP,OAAO;AAAA,IACP,UAAU;AAAA,EAAA;AAEd;AAEO,SAAS,eAAe;AAAA,EAC7B;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,GAMG;AACD,SACE,qBAAC,OAAA,EAAI,WAAU,kCACb,UAAA;AAAA,IAAA;AAAA,MAAC;AAAA,MAAA;AAAA,QACC,OAAM;AAAA,QACN,OAAM;AAAA,QACN;AAAA,QACA,aAAY;AAAA,QACZ;AAAA,MAAA;AAAA,IAAA;AAAA,IAED,iBACG,YAAY,IAAI,CAAC,QACf;AAAA,MAAC;AAAA,MAAA;AAAA,QAEC,OAAO,IAAI;AAAA,QACX,OAAO,IAAI;AAAA,QACX,QAAO,iCAAS,IAAI,UAAS,SAAY,KAAK,OAAO,OAAO,IAAI,GAAG,CAAC;AAAA,QACpE,aACE,WAAW,SAAS,IAAI,QAAQ,EAAE,eAAe,OAAO,IAAI;AAAA,QAE9D,UAAU,CAAC,SACT,eAAe,cAAc,QAAQ,IAAI,KAAK,IAAI,CAAC;AAAA,MAAA;AAAA,MARhD,IAAI;AAAA,IAAA,CAWZ,IACD;AAAA,EAAA,GACN;AAEJ;AAEA,SAAS,cAAc;AAAA,EACrB;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,GAMG;AACD,SACE,qBAAC,SAAA,EAAM,WAAU,uBACf,UAAA;AAAA,IAAA,oBAAC,QAAA,EAAK,WAAU,6CAA6C,UAAA,OAAM;AAAA,IACnE;AAAA,MAAC;AAAA,MAAA;AAAA,QACC,cAAY;AAAA,QACZ,WAAU;AAAA,QACV,MAAK;AAAA,QACL,KAAI;AAAA,QACJ;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MAAA;AAAA,IAAA;AAAA,EACF,GACF;AAEJ;"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
function applyRowLimit(limits, key, text) {
|
|
4
|
+
const next = { ...limits };
|
|
5
|
+
if (text.trim() === "") delete next[key];
|
|
6
|
+
else next[key] = Number(text);
|
|
7
|
+
return Object.keys(next).length > 0 ? next : void 0;
|
|
8
|
+
}
|
|
9
|
+
exports.applyRowLimit = applyRowLimit;
|
|
10
|
+
//# sourceMappingURL=queryRowLimitsModel.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"queryRowLimitsModel.cjs","sources":["../../src/profiles/queryRowLimitsModel.ts"],"sourcesContent":["/**\n * The four row caps, edited beside the filters they bound rather than buried in\n * the generic options form. They answer different questions and so get a field\n * each: Limit is how many rows the query asks the source for (a provider\n * option), while the page a caller gets by default, the largest page it may ask\n * for and where an export stops belong to the profile. A cap the profile leaves\n * empty shows the inherited default as its placeholder.\n */\n\nimport type {\n ProfileRowLimits\n} from \"./connectionBrowserModel\";\n\n/**\n * applyRowLimit writes one cap. An emptied field removes the key rather than\n * storing a zero, so the profile visibly falls back to the default instead of\n * declaring a cap that returns nothing — and clearing the last one leaves no\n * block at all, which is what \"this profile caps nothing\" looks like.\n */\nexport function applyRowLimit(\n limits: ProfileRowLimits | undefined,\n key: keyof ProfileRowLimits,\n text: string,\n): ProfileRowLimits | undefined {\n const next = { ...limits };\n if (text.trim() === \"\") delete next[key];\n else next[key] = Number(text);\n return Object.keys(next).length > 0 ? next : undefined;\n}\n"],"names":[],"mappings":";;AAmBO,SAAS,cACd,QACA,KACA,MAC8B;AAC9B,QAAM,OAAO,EAAE,GAAG,OAAA;AAClB,MAAI,KAAK,KAAA,MAAW,GAAI,QAAO,KAAK,GAAG;AAAA,MAClC,MAAK,GAAG,IAAI,OAAO,IAAI;AAC5B,SAAO,OAAO,KAAK,IAAI,EAAE,SAAS,IAAI,OAAO;AAC/C;;"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ProfileRowLimits } from './connectionBrowserModel';
|
|
2
|
+
/**
|
|
3
|
+
* applyRowLimit writes one cap. An emptied field removes the key rather than
|
|
4
|
+
* storing a zero, so the profile visibly falls back to the default instead of
|
|
5
|
+
* declaring a cap that returns nothing — and clearing the last one leaves no
|
|
6
|
+
* block at all, which is what "this profile caps nothing" looks like.
|
|
7
|
+
*/
|
|
8
|
+
export declare function applyRowLimit(limits: ProfileRowLimits | undefined, key: keyof ProfileRowLimits, text: string): ProfileRowLimits | undefined;
|
|
9
|
+
//# sourceMappingURL=queryRowLimitsModel.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"queryRowLimitsModel.d.ts","sourceRoot":"","sources":["../../src/profiles/queryRowLimitsModel.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,EACV,gBAAgB,EACjB,MAAM,0BAA0B,CAAC;AAElC;;;;;GAKG;AACH,wBAAgB,aAAa,CAC3B,MAAM,EAAE,gBAAgB,GAAG,SAAS,EACpC,GAAG,EAAE,MAAM,gBAAgB,EAC3B,IAAI,EAAE,MAAM,GACX,gBAAgB,GAAG,SAAS,CAK9B"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
function applyRowLimit(limits, key, text) {
|
|
2
|
+
const next = { ...limits };
|
|
3
|
+
if (text.trim() === "") delete next[key];
|
|
4
|
+
else next[key] = Number(text);
|
|
5
|
+
return Object.keys(next).length > 0 ? next : void 0;
|
|
6
|
+
}
|
|
7
|
+
export {
|
|
8
|
+
applyRowLimit
|
|
9
|
+
};
|
|
10
|
+
//# sourceMappingURL=queryRowLimitsModel.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"queryRowLimitsModel.js","sources":["../../src/profiles/queryRowLimitsModel.ts"],"sourcesContent":["/**\n * The four row caps, edited beside the filters they bound rather than buried in\n * the generic options form. They answer different questions and so get a field\n * each: Limit is how many rows the query asks the source for (a provider\n * option), while the page a caller gets by default, the largest page it may ask\n * for and where an export stops belong to the profile. A cap the profile leaves\n * empty shows the inherited default as its placeholder.\n */\n\nimport type {\n ProfileRowLimits\n} from \"./connectionBrowserModel\";\n\n/**\n * applyRowLimit writes one cap. An emptied field removes the key rather than\n * storing a zero, so the profile visibly falls back to the default instead of\n * declaring a cap that returns nothing — and clearing the last one leaves no\n * block at all, which is what \"this profile caps nothing\" looks like.\n */\nexport function applyRowLimit(\n limits: ProfileRowLimits | undefined,\n key: keyof ProfileRowLimits,\n text: string,\n): ProfileRowLimits | undefined {\n const next = { ...limits };\n if (text.trim() === \"\") delete next[key];\n else next[key] = Number(text);\n return Object.keys(next).length > 0 ? next : undefined;\n}\n"],"names":[],"mappings":"AAmBO,SAAS,cACd,QACA,KACA,MAC8B;AAC9B,QAAM,OAAO,EAAE,GAAG,OAAA;AAClB,MAAI,KAAK,KAAA,MAAW,GAAI,QAAO,KAAK,GAAG;AAAA,MAClC,MAAK,GAAG,IAAI,OAAO,IAAI;AAC5B,SAAO,OAAO,KAAK,IAAI,EAAE,SAAS,IAAI,OAAO;AAC/C;"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const jsxRuntime = require("react/jsx-runtime");
|
|
4
|
+
const Combobox = require("../components/Combobox.cjs");
|
|
5
|
+
const react = require("react");
|
|
6
|
+
const connectionBrowserModel = require("./connectionBrowserModel.cjs");
|
|
7
|
+
function QueryTargetPicker({
|
|
8
|
+
label,
|
|
9
|
+
inspection,
|
|
10
|
+
value,
|
|
11
|
+
onChange
|
|
12
|
+
}) {
|
|
13
|
+
const options = react.useMemo(
|
|
14
|
+
() => connectionBrowserModel.openSearchIndexOptions(inspection.data),
|
|
15
|
+
[inspection.data]
|
|
16
|
+
);
|
|
17
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex min-w-0 flex-col gap-1", children: [
|
|
18
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
19
|
+
Combobox.Combobox,
|
|
20
|
+
{
|
|
21
|
+
ariaLabel: label,
|
|
22
|
+
label,
|
|
23
|
+
value,
|
|
24
|
+
onChange: (next) => onChange(next, connectionBrowserModel.openSearchTargetKind(inspection.data, next)),
|
|
25
|
+
options,
|
|
26
|
+
placeholder: inspection.error ? "Unavailable — check the connection" : `Select ${label.toLowerCase()} or type a wildcard…`,
|
|
27
|
+
loading: inspection.loading,
|
|
28
|
+
invalid: Boolean(inspection.error),
|
|
29
|
+
allowCustomValue: true,
|
|
30
|
+
className: "min-w-0"
|
|
31
|
+
}
|
|
32
|
+
),
|
|
33
|
+
inspection.error ? /* @__PURE__ */ jsxRuntime.jsx("p", { role: "alert", className: "break-words text-xs text-destructive", children: targetErrorMessage(inspection.error) }) : null
|
|
34
|
+
] });
|
|
35
|
+
}
|
|
36
|
+
function targetErrorMessage(error) {
|
|
37
|
+
if (error instanceof Error && error.message.trim()) return error.message.trim();
|
|
38
|
+
if (typeof error === "string" && error.trim()) return error.trim();
|
|
39
|
+
return "The inspection request failed. Check the connection settings and try again.";
|
|
40
|
+
}
|
|
41
|
+
exports.QueryTargetPicker = QueryTargetPicker;
|
|
42
|
+
//# sourceMappingURL=queryTargetPicker.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"queryTargetPicker.cjs","sources":["../../src/profiles/queryTargetPicker.tsx"],"sourcesContent":["/**\n * The flat target a query runs against — an OpenSearch index, alias, data\n * stream, or the wildcard a daily rotation rolls up into. A hundred timestamped\n * index names is a searchable list, not a hierarchy, so this replaces the\n * catalog tree wherever the server declared a `targetLabel`.\n */\n\nimport { Combobox } from \"../components/Combobox\";\nimport { useMemo } from \"react\";\nimport {\n openSearchIndexOptions,\n openSearchTargetKind,\n type Inspection,\n} from \"./connectionBrowserModel\";\n\nexport function QueryTargetPicker({\n label,\n inspection,\n value,\n onChange,\n}: {\n label: string;\n inspection: Inspection;\n value: string;\n onChange: (target: string, kind: string) => void;\n}) {\n const options = useMemo(\n () => openSearchIndexOptions(inspection.data),\n [inspection.data],\n );\n return (\n <div className=\"flex min-w-0 flex-col gap-1\">\n <Combobox\n ariaLabel={label}\n label={label}\n value={value}\n onChange={(next) => onChange(next, openSearchTargetKind(inspection.data, next))}\n options={options}\n placeholder={\n inspection.error\n ? \"Unavailable — check the connection\"\n : `Select ${label.toLowerCase()} or type a wildcard…`\n }\n loading={inspection.loading}\n invalid={Boolean(inspection.error)}\n allowCustomValue\n className=\"min-w-0\"\n />\n {inspection.error ? (\n <p role=\"alert\" className=\"break-words text-xs text-destructive\">\n {targetErrorMessage(inspection.error)}\n </p>\n ) : null}\n </div>\n );\n}\n\nfunction targetErrorMessage(error: unknown): string {\n if (error instanceof Error && error.message.trim()) return error.message.trim();\n if (typeof error === \"string\" && error.trim()) return error.trim();\n return \"The inspection request failed. Check the connection settings and try again.\";\n}\n"],"names":["useMemo","openSearchIndexOptions","jsxs","jsx","Combobox","openSearchTargetKind"],"mappings":";;;;;;AAeO,SAAS,kBAAkB;AAAA,EAChC;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,GAKG;AACD,QAAM,UAAUA,MAAAA;AAAAA,IACd,MAAMC,uBAAAA,uBAAuB,WAAW,IAAI;AAAA,IAC5C,CAAC,WAAW,IAAI;AAAA,EAAA;AAElB,SACEC,2BAAAA,KAAC,OAAA,EAAI,WAAU,+BACb,UAAA;AAAA,IAAAC,2BAAAA;AAAAA,MAACC,SAAAA;AAAAA,MAAA;AAAA,QACC,WAAW;AAAA,QACX;AAAA,QACA;AAAA,QACA,UAAU,CAAC,SAAS,SAAS,MAAMC,uBAAAA,qBAAqB,WAAW,MAAM,IAAI,CAAC;AAAA,QAC9E;AAAA,QACA,aACE,WAAW,QACP,uCACA,UAAU,MAAM,aAAa;AAAA,QAEnC,SAAS,WAAW;AAAA,QACpB,SAAS,QAAQ,WAAW,KAAK;AAAA,QACjC,kBAAgB;AAAA,QAChB,WAAU;AAAA,MAAA;AAAA,IAAA;AAAA,IAEX,WAAW,QACVF,2BAAAA,IAAC,KAAA,EAAE,MAAK,SAAQ,WAAU,wCACvB,UAAA,mBAAmB,WAAW,KAAK,EAAA,CACtC,IACE;AAAA,EAAA,GACN;AAEJ;AAEA,SAAS,mBAAmB,OAAwB;AAClD,MAAI,iBAAiB,SAAS,MAAM,QAAQ,OAAQ,QAAO,MAAM,QAAQ,KAAA;AACzE,MAAI,OAAO,UAAU,YAAY,MAAM,OAAQ,QAAO,MAAM,KAAA;AAC5D,SAAO;AACT;;"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Inspection } from './connectionBrowserModel';
|
|
2
|
+
export declare function QueryTargetPicker({ label, inspection, value, onChange, }: {
|
|
3
|
+
label: string;
|
|
4
|
+
inspection: Inspection;
|
|
5
|
+
value: string;
|
|
6
|
+
onChange: (target: string, kind: string) => void;
|
|
7
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
//# sourceMappingURL=queryTargetPicker.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"queryTargetPicker.d.ts","sourceRoot":"","sources":["../../src/profiles/queryTargetPicker.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAIH,OAAO,EAGL,KAAK,UAAU,EAChB,MAAM,0BAA0B,CAAC;AAElC,wBAAgB,iBAAiB,CAAC,EAChC,KAAK,EACL,UAAU,EACV,KAAK,EACL,QAAQ,GACT,EAAE;IACD,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,UAAU,CAAC;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;CAClD,2CA8BA"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
+
import { Combobox } from "../components/Combobox.js";
|
|
3
|
+
import { useMemo } from "react";
|
|
4
|
+
import { openSearchIndexOptions, openSearchTargetKind } from "./connectionBrowserModel.js";
|
|
5
|
+
function QueryTargetPicker({
|
|
6
|
+
label,
|
|
7
|
+
inspection,
|
|
8
|
+
value,
|
|
9
|
+
onChange
|
|
10
|
+
}) {
|
|
11
|
+
const options = useMemo(
|
|
12
|
+
() => openSearchIndexOptions(inspection.data),
|
|
13
|
+
[inspection.data]
|
|
14
|
+
);
|
|
15
|
+
return /* @__PURE__ */ jsxs("div", { className: "flex min-w-0 flex-col gap-1", children: [
|
|
16
|
+
/* @__PURE__ */ jsx(
|
|
17
|
+
Combobox,
|
|
18
|
+
{
|
|
19
|
+
ariaLabel: label,
|
|
20
|
+
label,
|
|
21
|
+
value,
|
|
22
|
+
onChange: (next) => onChange(next, openSearchTargetKind(inspection.data, next)),
|
|
23
|
+
options,
|
|
24
|
+
placeholder: inspection.error ? "Unavailable — check the connection" : `Select ${label.toLowerCase()} or type a wildcard…`,
|
|
25
|
+
loading: inspection.loading,
|
|
26
|
+
invalid: Boolean(inspection.error),
|
|
27
|
+
allowCustomValue: true,
|
|
28
|
+
className: "min-w-0"
|
|
29
|
+
}
|
|
30
|
+
),
|
|
31
|
+
inspection.error ? /* @__PURE__ */ jsx("p", { role: "alert", className: "break-words text-xs text-destructive", children: targetErrorMessage(inspection.error) }) : null
|
|
32
|
+
] });
|
|
33
|
+
}
|
|
34
|
+
function targetErrorMessage(error) {
|
|
35
|
+
if (error instanceof Error && error.message.trim()) return error.message.trim();
|
|
36
|
+
if (typeof error === "string" && error.trim()) return error.trim();
|
|
37
|
+
return "The inspection request failed. Check the connection settings and try again.";
|
|
38
|
+
}
|
|
39
|
+
export {
|
|
40
|
+
QueryTargetPicker
|
|
41
|
+
};
|
|
42
|
+
//# sourceMappingURL=queryTargetPicker.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"queryTargetPicker.js","sources":["../../src/profiles/queryTargetPicker.tsx"],"sourcesContent":["/**\n * The flat target a query runs against — an OpenSearch index, alias, data\n * stream, or the wildcard a daily rotation rolls up into. A hundred timestamped\n * index names is a searchable list, not a hierarchy, so this replaces the\n * catalog tree wherever the server declared a `targetLabel`.\n */\n\nimport { Combobox } from \"../components/Combobox\";\nimport { useMemo } from \"react\";\nimport {\n openSearchIndexOptions,\n openSearchTargetKind,\n type Inspection,\n} from \"./connectionBrowserModel\";\n\nexport function QueryTargetPicker({\n label,\n inspection,\n value,\n onChange,\n}: {\n label: string;\n inspection: Inspection;\n value: string;\n onChange: (target: string, kind: string) => void;\n}) {\n const options = useMemo(\n () => openSearchIndexOptions(inspection.data),\n [inspection.data],\n );\n return (\n <div className=\"flex min-w-0 flex-col gap-1\">\n <Combobox\n ariaLabel={label}\n label={label}\n value={value}\n onChange={(next) => onChange(next, openSearchTargetKind(inspection.data, next))}\n options={options}\n placeholder={\n inspection.error\n ? \"Unavailable — check the connection\"\n : `Select ${label.toLowerCase()} or type a wildcard…`\n }\n loading={inspection.loading}\n invalid={Boolean(inspection.error)}\n allowCustomValue\n className=\"min-w-0\"\n />\n {inspection.error ? (\n <p role=\"alert\" className=\"break-words text-xs text-destructive\">\n {targetErrorMessage(inspection.error)}\n </p>\n ) : null}\n </div>\n );\n}\n\nfunction targetErrorMessage(error: unknown): string {\n if (error instanceof Error && error.message.trim()) return error.message.trim();\n if (typeof error === \"string\" && error.trim()) return error.trim();\n return \"The inspection request failed. Check the connection settings and try again.\";\n}\n"],"names":[],"mappings":";;;;AAeO,SAAS,kBAAkB;AAAA,EAChC;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,GAKG;AACD,QAAM,UAAU;AAAA,IACd,MAAM,uBAAuB,WAAW,IAAI;AAAA,IAC5C,CAAC,WAAW,IAAI;AAAA,EAAA;AAElB,SACE,qBAAC,OAAA,EAAI,WAAU,+BACb,UAAA;AAAA,IAAA;AAAA,MAAC;AAAA,MAAA;AAAA,QACC,WAAW;AAAA,QACX;AAAA,QACA;AAAA,QACA,UAAU,CAAC,SAAS,SAAS,MAAM,qBAAqB,WAAW,MAAM,IAAI,CAAC;AAAA,QAC9E;AAAA,QACA,aACE,WAAW,QACP,uCACA,UAAU,MAAM,aAAa;AAAA,QAEnC,SAAS,WAAW;AAAA,QACpB,SAAS,QAAQ,WAAW,KAAK;AAAA,QACjC,kBAAgB;AAAA,QAChB,WAAU;AAAA,MAAA;AAAA,IAAA;AAAA,IAEX,WAAW,QACV,oBAAC,KAAA,EAAE,MAAK,SAAQ,WAAU,wCACvB,UAAA,mBAAmB,WAAW,KAAK,EAAA,CACtC,IACE;AAAA,EAAA,GACN;AAEJ;AAEA,SAAS,mBAAmB,OAAwB;AAClD,MAAI,iBAAiB,SAAS,MAAM,QAAQ,OAAQ,QAAO,MAAM,QAAQ,KAAA;AACzE,MAAI,OAAO,UAAU,YAAY,MAAM,OAAQ,QAAO,MAAM,KAAA;AAC5D,SAAO;AACT;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"testSchema.d.ts","sourceRoot":"","sources":["../../src/profiles/testSchema.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAElD,eAAO,MAAM,iBAAiB,EAAE,aAoC/B,CAAC"}
|
|
@@ -0,0 +1,223 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const catalogTree = require("./profiles/catalogTree.cjs");
|
|
4
|
+
const connectionBrowserModel = require("./profiles/connectionBrowserModel.cjs");
|
|
5
|
+
const connectionQueryWorkspace = require("./profiles/connectionQueryWorkspace.cjs");
|
|
6
|
+
const connectionQueryWorkspaceModel = require("./profiles/connectionQueryWorkspaceModel.cjs");
|
|
7
|
+
const esFieldValues = require("./profiles/esFieldValues.cjs");
|
|
8
|
+
const esParamMappingModel = require("./profiles/esParamMappingModel.cjs");
|
|
9
|
+
const esParamMappingPill = require("./profiles/esParamMappingPill.cjs");
|
|
10
|
+
const esParamOperandExtension = require("./profiles/esParamOperandExtension.cjs");
|
|
11
|
+
const esQueryBuilder = require("./profiles/esQueryBuilder.cjs");
|
|
12
|
+
const esQueryBuilderExtension = require("./profiles/esQueryBuilderExtension.cjs");
|
|
13
|
+
const esQueryBuilderForm = require("./profiles/esQueryBuilderForm.cjs");
|
|
14
|
+
const esQueryBuilderModel = require("./profiles/esQueryBuilderModel.cjs");
|
|
15
|
+
const esQueryClauseGroup = require("./profiles/esQueryClauseGroup.cjs");
|
|
16
|
+
const esQueryCompile = require("./profiles/esQueryCompile.cjs");
|
|
17
|
+
const esQueryConditionRow = require("./profiles/esQueryConditionRow.cjs");
|
|
18
|
+
const esQueryGroupModel = require("./profiles/esQueryGroupModel.cjs");
|
|
19
|
+
const esQueryOccur = require("./profiles/esQueryOccur.cjs");
|
|
20
|
+
const esQueryOperandEditors = require("./profiles/esQueryOperandEditors.cjs");
|
|
21
|
+
const esQueryOperandModel = require("./profiles/esQueryOperandModel.cjs");
|
|
22
|
+
const esQueryOperators = require("./profiles/esQueryOperators.cjs");
|
|
23
|
+
const esQueryOutputEditor = require("./profiles/esQueryOutputEditor.cjs");
|
|
24
|
+
const esQueryOutputModel = require("./profiles/esQueryOutputModel.cjs");
|
|
25
|
+
const esQueryPreview = require("./profiles/esQueryPreview.cjs");
|
|
26
|
+
const esQuerySortEditor = require("./profiles/esQuerySortEditor.cjs");
|
|
27
|
+
const esQuerySortModel = require("./profiles/esQuerySortModel.cjs");
|
|
28
|
+
const esValueCombobox = require("./profiles/esValueCombobox.cjs");
|
|
29
|
+
const jsonPathSample = require("./profiles/jsonPathSample.cjs");
|
|
30
|
+
const jsonPathSampleRow = require("./profiles/jsonPathSampleRow.cjs");
|
|
31
|
+
const profileApi = require("./profiles/profileApi.cjs");
|
|
32
|
+
const profileBuilder = require("./profiles/profileBuilder.cjs");
|
|
33
|
+
const profileBuilderExtension = require("./profiles/profileBuilderExtension.cjs");
|
|
34
|
+
const profileBuilderWorkspace = require("./profiles/profileBuilderWorkspace.cjs");
|
|
35
|
+
const profileColumnModel = require("./profiles/profileColumnModel.cjs");
|
|
36
|
+
const profileColumnPicker = require("./profiles/profileColumnPicker.cjs");
|
|
37
|
+
const profileEditor = require("./profiles/profileEditor.cjs");
|
|
38
|
+
const profileEditorModel = require("./profiles/profileEditorModel.cjs");
|
|
39
|
+
const profileEditorPreview = require("./profiles/profileEditorPreview.cjs");
|
|
40
|
+
const profileEditorRail = require("./profiles/profileEditorRail.cjs");
|
|
41
|
+
const profileEditorRoutes = require("./profiles/profileEditorRoutes.cjs");
|
|
42
|
+
const profileEditorSections = require("./profiles/profileEditorSections.cjs");
|
|
43
|
+
const profileFieldEditor = require("./profiles/profileFieldEditor.cjs");
|
|
44
|
+
const profileFieldGrid = require("./profiles/profileFieldGrid.cjs");
|
|
45
|
+
const profileFieldManager = require("./profiles/profileFieldManager.cjs");
|
|
46
|
+
const profileFieldState = require("./profiles/profileFieldState.cjs");
|
|
47
|
+
const profileFieldTypes = require("./profiles/profileFieldTypes.cjs");
|
|
48
|
+
const profileParamModel = require("./profiles/profileParamModel.cjs");
|
|
49
|
+
const profileWizard = require("./profiles/profileWizard.cjs");
|
|
50
|
+
const profileWizardHelp = require("./profiles/profileWizardHelp.cjs");
|
|
51
|
+
const profileWizardModel = require("./profiles/profileWizardModel.cjs");
|
|
52
|
+
const profileWizardQueryStep = require("./profiles/profileWizardQueryStep.cjs");
|
|
53
|
+
const profileWizardSteps = require("./profiles/profileWizardSteps.cjs");
|
|
54
|
+
const profileYaml = require("./profiles/profileYaml.cjs");
|
|
55
|
+
const prometheusResults = require("./profiles/prometheusResults.cjs");
|
|
56
|
+
const queryRowLimits = require("./profiles/queryRowLimits.cjs");
|
|
57
|
+
const queryRowLimitsModel = require("./profiles/queryRowLimitsModel.cjs");
|
|
58
|
+
const queryTargetPicker = require("./profiles/queryTargetPicker.cjs");
|
|
59
|
+
exports.CatalogTree = catalogTree.CatalogTree;
|
|
60
|
+
exports.browserBaseUrl = connectionBrowserModel.browserBaseUrl;
|
|
61
|
+
exports.completionForInspection = connectionBrowserModel.completionForInspection;
|
|
62
|
+
exports.fetchJSON = connectionBrowserModel.fetchJSON;
|
|
63
|
+
exports.mergeProviderOptions = connectionBrowserModel.mergeProviderOptions;
|
|
64
|
+
exports.openSearchIndexOptions = connectionBrowserModel.openSearchIndexOptions;
|
|
65
|
+
exports.openSearchTargetKind = connectionBrowserModel.openSearchTargetKind;
|
|
66
|
+
exports.queryBrowserOptionsSchema = connectionBrowserModel.queryBrowserOptionsSchema;
|
|
67
|
+
exports.savedConnectionID = connectionBrowserModel.savedConnectionID;
|
|
68
|
+
exports.useInspection = connectionBrowserModel.useInspection;
|
|
69
|
+
exports.withTarget = connectionBrowserModel.withTarget;
|
|
70
|
+
exports.ConnectionQueryWorkspace = connectionQueryWorkspace.ConnectionQueryWorkspace;
|
|
71
|
+
exports.initialNavigatorTab = connectionQueryWorkspaceModel.initialNavigatorTab;
|
|
72
|
+
exports.navigatorTabs = connectionQueryWorkspaceModel.navigatorTabs;
|
|
73
|
+
exports.supportsQueryBuilder = connectionQueryWorkspaceModel.supportsQueryBuilder;
|
|
74
|
+
exports.makeFieldValueLookup = esFieldValues.makeFieldValueLookup;
|
|
75
|
+
exports.valueLookupField = esFieldValues.valueLookupField;
|
|
76
|
+
exports.addParamMapping = esParamMappingModel.addParamMapping;
|
|
77
|
+
exports.bindParamOperand = esParamMappingModel.bindParamOperand;
|
|
78
|
+
exports.paramMappings = esParamMappingModel.paramMappings;
|
|
79
|
+
exports.reconcileParamMappings = esParamMappingModel.reconcileParamMappings;
|
|
80
|
+
exports.reconcileSearchParamMappings = esParamMappingModel.reconcileSearchParamMappings;
|
|
81
|
+
exports.removeParamMapping = esParamMappingModel.removeParamMapping;
|
|
82
|
+
exports.ParamMappingPill = esParamMappingPill.ParamMappingPill;
|
|
83
|
+
exports.extendEsParamOperand = esParamOperandExtension.extendEsParamOperand;
|
|
84
|
+
exports.EsQueryBuilder = esQueryBuilder.EsQueryBuilder;
|
|
85
|
+
exports.EsQueryBuilderField = esQueryBuilder.EsQueryBuilderField;
|
|
86
|
+
exports.esQueryBuilderFormExtensions = esQueryBuilderExtension.esQueryBuilderFormExtensions;
|
|
87
|
+
exports.defaultParamValues = esQueryBuilderForm.defaultParamValues;
|
|
88
|
+
exports.esQueryFields = esQueryBuilderForm.esQueryFields;
|
|
89
|
+
exports.paramNames = esQueryBuilderForm.paramNames;
|
|
90
|
+
exports.paramRoles = esQueryBuilderForm.paramRoles;
|
|
91
|
+
exports.conditionAt = esQueryBuilderModel.conditionAt;
|
|
92
|
+
exports.defaultOperatorForFamily = esQueryBuilderModel.defaultOperatorForFamily;
|
|
93
|
+
exports.emptyCondition = esQueryBuilderModel.emptyCondition;
|
|
94
|
+
exports.emptyGroup = esQueryBuilderModel.emptyGroup;
|
|
95
|
+
exports.fieldForParam = esQueryBuilderModel.fieldForParam;
|
|
96
|
+
exports.insertAt = esQueryBuilderModel.insertAt;
|
|
97
|
+
exports.isEmptySpec = esQueryBuilderModel.isEmptySpec;
|
|
98
|
+
exports.isParamValue = esQueryBuilderModel.isParamValue;
|
|
99
|
+
exports.normalizeOccur = esQueryBuilderModel.normalizeOccur;
|
|
100
|
+
exports.paramName = esQueryBuilderModel.paramName;
|
|
101
|
+
exports.removeAt = esQueryBuilderModel.removeAt;
|
|
102
|
+
exports.toBuilderMode = esQueryBuilderModel.toBuilderMode;
|
|
103
|
+
exports.toRawMode = esQueryBuilderModel.toRawMode;
|
|
104
|
+
exports.updateAt = esQueryBuilderModel.updateAt;
|
|
105
|
+
exports.EsQueryClauseGroup = esQueryClauseGroup.EsQueryClauseGroup;
|
|
106
|
+
exports.compileRequestBody = esQueryCompile.compileRequestBody;
|
|
107
|
+
exports.errorMessage = esQueryCompile.errorMessage;
|
|
108
|
+
exports.useCompiledSearch = esQueryCompile.useCompiledSearch;
|
|
109
|
+
exports.EsQueryConditionRow = esQueryConditionRow.EsQueryConditionRow;
|
|
110
|
+
exports.groupOperatorOptions = esQueryGroupModel.groupOperatorOptions;
|
|
111
|
+
exports.isGroupOperator = esQueryGroupModel.isGroupOperator;
|
|
112
|
+
exports.occurOptions = esQueryOccur.occurOptions;
|
|
113
|
+
exports.ConditionOperand = esQueryOperandEditors.ConditionOperand;
|
|
114
|
+
exports.QualifierInput = esQueryOperandEditors.QualifierInput;
|
|
115
|
+
exports.conditionOperandPatch = esQueryOperandModel.conditionOperandPatch;
|
|
116
|
+
exports.multipleConditionValues = esQueryOperandModel.multipleConditionValues;
|
|
117
|
+
exports.changeConditionOperator = esQueryOperators.changeConditionOperator;
|
|
118
|
+
exports.esBuilderVocabulary = esQueryOperators.esBuilderVocabulary;
|
|
119
|
+
exports.esQualifiersFromSchema = esQueryOperators.esQualifiersFromSchema;
|
|
120
|
+
exports.fieldFamily = esQueryOperators.fieldFamily;
|
|
121
|
+
exports.fieldWarning = esQueryOperators.fieldWarning;
|
|
122
|
+
exports.operatorCatalogFromSchema = esQueryOperators.operatorCatalogFromSchema;
|
|
123
|
+
exports.operatorsForField = esQueryOperators.operatorsForField;
|
|
124
|
+
exports.qualifiersForOperator = esQueryOperators.qualifiersForOperator;
|
|
125
|
+
exports.sortableFields = esQueryOperators.sortableFields;
|
|
126
|
+
exports.EsQueryOutputEditor = esQueryOutputEditor.EsQueryOutputEditor;
|
|
127
|
+
exports.parseCount = esQueryOutputModel.parseCount;
|
|
128
|
+
exports.pruneEmpty = esQueryOutputModel.pruneEmpty;
|
|
129
|
+
exports.EsQueryPreview = esQueryPreview.EsQueryPreview;
|
|
130
|
+
exports.EsQuerySortEditor = esQuerySortEditor.EsQuerySortEditor;
|
|
131
|
+
exports.moveSortEntry = esQuerySortModel.moveSortEntry;
|
|
132
|
+
exports.ValueCombobox = esValueCombobox.ValueCombobox;
|
|
133
|
+
exports.ValuesCombobox = esValueCombobox.ValuesCombobox;
|
|
134
|
+
exports.JsonPathSampleRowsContext = jsonPathSample.JsonPathSampleRowsContext;
|
|
135
|
+
exports.evaluateJsonPath = jsonPathSample.evaluateJsonPath;
|
|
136
|
+
exports.sampleRequestProfile = jsonPathSample.sampleRequestProfile;
|
|
137
|
+
exports.useJsonPathSample = jsonPathSample.useJsonPathSample;
|
|
138
|
+
exports.useJsonPathSampleRows = jsonPathSample.useJsonPathSampleRows;
|
|
139
|
+
exports.JsonPathProfileProvider = jsonPathSampleRow.JsonPathProfileProvider;
|
|
140
|
+
exports.configureProfiles = profileApi.configureProfiles;
|
|
141
|
+
exports.profileApiBase = profileApi.profileApiBase;
|
|
142
|
+
exports.profileApiPath = profileApi.profileApiPath;
|
|
143
|
+
exports.profileSchema = profileApi.profileSchema;
|
|
144
|
+
exports.ProfileBuilderAutoOpen = profileBuilder.ProfileBuilderAutoOpen;
|
|
145
|
+
exports.ProfileQueryBuilderField = profileBuilder.ProfileQueryBuilderField;
|
|
146
|
+
exports.profileBuilderFormExtensions = profileBuilderExtension.profileBuilderFormExtensions;
|
|
147
|
+
exports.ProfileBuilderWorkspace = profileBuilderWorkspace.ProfileBuilderWorkspace;
|
|
148
|
+
exports.profileBuilderModalClassName = profileBuilderWorkspace.profileBuilderModalClassName;
|
|
149
|
+
exports.mapTimestampColumn = profileColumnModel.mapTimestampColumn;
|
|
150
|
+
exports.profileColumnTypeLabel = profileColumnModel.profileColumnTypeLabel;
|
|
151
|
+
exports.ColumnPicker = profileColumnPicker.ColumnPicker;
|
|
152
|
+
exports.ProfileEditor = profileEditor.ProfileEditor;
|
|
153
|
+
exports.cloneProfileDraft = profileEditorModel.cloneProfileDraft;
|
|
154
|
+
exports.mergeProfileProjection = profileEditorModel.mergeProfileProjection;
|
|
155
|
+
exports.mergeSampledProfileColumns = profileEditorModel.mergeSampledProfileColumns;
|
|
156
|
+
exports.profileAdvancedKeys = profileEditorModel.profileAdvancedKeys;
|
|
157
|
+
exports.profileColumnResetState = profileEditorModel.profileColumnResetState;
|
|
158
|
+
exports.profileEditRoute = profileEditorModel.profileEditRoute;
|
|
159
|
+
exports.profileEditSurfaceKey = profileEditorModel.profileEditSurfaceKey;
|
|
160
|
+
exports.profileEditorSchema = profileEditorModel.profileEditorSchema;
|
|
161
|
+
exports.profileEditorSectionStatus = profileEditorModel.profileEditorSectionStatus;
|
|
162
|
+
exports.profileEditorSections = profileEditorModel.profileEditorSections;
|
|
163
|
+
exports.profileRoute = profileEditorModel.profileRoute;
|
|
164
|
+
exports.profileSampleSignature = profileEditorModel.profileSampleSignature;
|
|
165
|
+
exports.profileSchemaProjection = profileEditorModel.profileSchemaProjection;
|
|
166
|
+
exports.profileUpdateConflictTarget = profileEditorModel.profileUpdateConflictTarget;
|
|
167
|
+
exports.providerOptionsSchema = profileEditorModel.providerOptionsSchema;
|
|
168
|
+
exports.providerTypes = profileEditorModel.providerTypes;
|
|
169
|
+
exports.resetProfileColumns = profileEditorModel.resetProfileColumns;
|
|
170
|
+
exports.validateProfileEditorDraft = profileEditorModel.validateProfileEditorDraft;
|
|
171
|
+
exports.ProfileEditorPreview = profileEditorPreview.ProfileEditorPreview;
|
|
172
|
+
exports.ProfileEditorRail = profileEditorRail.ProfileEditorRail;
|
|
173
|
+
exports.resolveProfileUpdatePath = profileEditorRoutes.resolveProfileUpdatePath;
|
|
174
|
+
exports.ProfileGeneralSection = profileEditorSections.ProfileGeneralSection;
|
|
175
|
+
exports.ProfileSchemaSection = profileEditorSections.ProfileSchemaSection;
|
|
176
|
+
exports.ProfileSourceSection = profileEditorSections.ProfileSourceSection;
|
|
177
|
+
exports.ProfileFieldEditor = profileFieldEditor.ProfileFieldEditor;
|
|
178
|
+
exports.ProfileFieldEditorActions = profileFieldEditor.ProfileFieldEditorActions;
|
|
179
|
+
exports.ProfileFieldEditorForm = profileFieldEditor.ProfileFieldEditorForm;
|
|
180
|
+
exports.profileFieldEditorEmptyMessage = profileFieldEditor.profileFieldEditorEmptyMessage;
|
|
181
|
+
exports.ProfileFieldFilters = profileFieldGrid.ProfileFieldFilters;
|
|
182
|
+
exports.ProfileFieldGrid = profileFieldGrid.ProfileFieldGrid;
|
|
183
|
+
exports.ProfileFieldManager = profileFieldManager.ProfileFieldManager;
|
|
184
|
+
exports.useProfileFieldState = profileFieldState.useProfileFieldState;
|
|
185
|
+
exports.PROFILE_FIELD_TYPES = profileFieldTypes.PROFILE_FIELD_TYPES;
|
|
186
|
+
exports.validateProfileParams = profileParamModel.validateProfileParams;
|
|
187
|
+
exports.ProfileWizard = profileWizard.ProfileWizard;
|
|
188
|
+
exports.stepHelp = profileWizardHelp.stepHelp;
|
|
189
|
+
exports.PARAM_TYPES_WITH_OPTIONS = profileWizardModel.PARAM_TYPES_WITH_OPTIONS;
|
|
190
|
+
exports.PROFILE_COLUMN_FORMAT_OPTIONS = profileWizardModel.PROFILE_COLUMN_FORMAT_OPTIONS;
|
|
191
|
+
exports.PROFILE_COLUMN_UNIT_OPTIONS = profileWizardModel.PROFILE_COLUMN_UNIT_OPTIONS;
|
|
192
|
+
exports.PROFILE_FILTER_DEFAULT_LIMIT = profileWizardModel.PROFILE_FILTER_DEFAULT_LIMIT;
|
|
193
|
+
exports.PROFILE_FILTER_KIND_OPTIONS = profileWizardModel.PROFILE_FILTER_KIND_OPTIONS;
|
|
194
|
+
exports.PROFILE_FILTER_MAX_LIMIT = profileWizardModel.PROFILE_FILTER_MAX_LIMIT;
|
|
195
|
+
exports.applyPatch = profileWizardModel.applyPatch;
|
|
196
|
+
exports.applyVisibleFieldSelection = profileWizardModel.applyVisibleFieldSelection;
|
|
197
|
+
exports.availableProfileFields = profileWizardModel.availableProfileFields;
|
|
198
|
+
exports.filterProfileFields = profileWizardModel.filterProfileFields;
|
|
199
|
+
exports.inferredFilterKind = profileWizardModel.inferredFilterKind;
|
|
200
|
+
exports.paramHasOptions = profileWizardModel.paramHasOptions;
|
|
201
|
+
exports.patchColumnFilter = profileWizardModel.patchColumnFilter;
|
|
202
|
+
exports.patchProfileField = profileWizardModel.patchProfileField;
|
|
203
|
+
exports.profileConnectionID = profileWizardModel.profileConnectionID;
|
|
204
|
+
exports.profileWizardErrorMessage = profileWizardModel.profileWizardErrorMessage;
|
|
205
|
+
exports.profileWizardHasQuery = profileWizardModel.profileWizardHasQuery;
|
|
206
|
+
exports.profileWizardStepReady = profileWizardModel.profileWizardStepReady;
|
|
207
|
+
exports.profileWizardSteps = profileWizardModel.profileWizardSteps;
|
|
208
|
+
exports.providerTypeFromConnectionLabel = profileWizardModel.providerTypeFromConnectionLabel;
|
|
209
|
+
exports.renameProfileField = profileWizardModel.renameProfileField;
|
|
210
|
+
exports.reorderProfileColumns = profileWizardModel.reorderProfileColumns;
|
|
211
|
+
exports.withProfileLimits = profileWizardModel.withProfileLimits;
|
|
212
|
+
exports.ProfileWizardQueryStep = profileWizardQueryStep.ProfileWizardQueryStep;
|
|
213
|
+
exports.FieldsStep = profileWizardSteps.FieldsStep;
|
|
214
|
+
exports.ReviewStep = profileWizardSteps.ReviewStep;
|
|
215
|
+
exports.SourceStep = profileWizardSteps.SourceStep;
|
|
216
|
+
exports.WizardProgress = profileWizardSteps.WizardProgress;
|
|
217
|
+
exports.parseProfileYamlDocument = profileYaml.parseProfileYamlDocument;
|
|
218
|
+
exports.profileYamlFilename = profileYaml.profileYamlFilename;
|
|
219
|
+
exports.PrometheusResults = prometheusResults.PrometheusResults;
|
|
220
|
+
exports.QueryRowLimits = queryRowLimits.QueryRowLimits;
|
|
221
|
+
exports.applyRowLimit = queryRowLimitsModel.applyRowLimit;
|
|
222
|
+
exports.QueryTargetPicker = queryTargetPicker.QueryTargetPicker;
|
|
223
|
+
//# sourceMappingURL=profiles.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"profiles.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Profile authoring: the editor, the wizard, and the query builder behind them.
|
|
3
|
+
*
|
|
4
|
+
* These components author a commons-db `query.Profile` — the shape shared by
|
|
5
|
+
* trace profiles, view specs and ad-hoc reports — so every app that stores
|
|
6
|
+
* profiles edits them through one UI instead of growing its own.
|
|
7
|
+
*
|
|
8
|
+
* Call configureProfiles({ schema, basePath }) once at startup: the schema is
|
|
9
|
+
* generated from commons-db's Go types and served by the host, and basePath is
|
|
10
|
+
* where that host mounts the profile service (default `/api/v1`).
|
|
11
|
+
*/
|
|
12
|
+
export * from './profiles/catalogTree';
|
|
13
|
+
export * from './profiles/connectionBrowserModel';
|
|
14
|
+
export * from './profiles/connectionQueryWorkspace';
|
|
15
|
+
export * from './profiles/connectionQueryWorkspaceModel';
|
|
16
|
+
export * from './profiles/esFieldValues';
|
|
17
|
+
export * from './profiles/esParamMappingModel';
|
|
18
|
+
export * from './profiles/esParamMappingPill';
|
|
19
|
+
export * from './profiles/esParamOperandExtension';
|
|
20
|
+
export * from './profiles/esQueryBuilder';
|
|
21
|
+
export * from './profiles/esQueryBuilderExtension';
|
|
22
|
+
export * from './profiles/esQueryBuilderForm';
|
|
23
|
+
export * from './profiles/esQueryBuilderModel';
|
|
24
|
+
export * from './profiles/esQueryClauseGroup';
|
|
25
|
+
export * from './profiles/esQueryCompile';
|
|
26
|
+
export * from './profiles/esQueryConditionRow';
|
|
27
|
+
export * from './profiles/esQueryGroupModel';
|
|
28
|
+
export * from './profiles/esQueryOccur';
|
|
29
|
+
export * from './profiles/esQueryOperandEditors';
|
|
30
|
+
export * from './profiles/esQueryOperandModel';
|
|
31
|
+
export * from './profiles/esQueryOperators';
|
|
32
|
+
export * from './profiles/esQueryOutputEditor';
|
|
33
|
+
export * from './profiles/esQueryOutputModel';
|
|
34
|
+
export * from './profiles/esQueryPreview';
|
|
35
|
+
export * from './profiles/esQuerySortEditor';
|
|
36
|
+
export * from './profiles/esQuerySortModel';
|
|
37
|
+
export * from './profiles/esValueCombobox';
|
|
38
|
+
export * from './profiles/jsonPathSample';
|
|
39
|
+
export * from './profiles/jsonPathSampleRow';
|
|
40
|
+
export * from './profiles/profileApi';
|
|
41
|
+
export * from './profiles/profileBuilder';
|
|
42
|
+
export * from './profiles/profileBuilderExtension';
|
|
43
|
+
export * from './profiles/profileBuilderWorkspace';
|
|
44
|
+
export * from './profiles/profileColumnModel';
|
|
45
|
+
export * from './profiles/profileColumnPicker';
|
|
46
|
+
export * from './profiles/profileEditor';
|
|
47
|
+
export * from './profiles/profileEditorModel';
|
|
48
|
+
export * from './profiles/profileEditorPreview';
|
|
49
|
+
export * from './profiles/profileEditorRail';
|
|
50
|
+
export * from './profiles/profileEditorRoutes';
|
|
51
|
+
export * from './profiles/profileEditorSections';
|
|
52
|
+
export * from './profiles/profileFieldEditor';
|
|
53
|
+
export * from './profiles/profileFieldGrid';
|
|
54
|
+
export * from './profiles/profileFieldManager';
|
|
55
|
+
export * from './profiles/profileFieldState';
|
|
56
|
+
export * from './profiles/profileFieldTypes';
|
|
57
|
+
export * from './profiles/profileParamModel';
|
|
58
|
+
export * from './profiles/profileWizard';
|
|
59
|
+
export * from './profiles/profileWizardHelp';
|
|
60
|
+
export * from './profiles/profileWizardModel';
|
|
61
|
+
export * from './profiles/profileWizardQueryStep';
|
|
62
|
+
export * from './profiles/profileWizardSteps';
|
|
63
|
+
export * from './profiles/profileYaml';
|
|
64
|
+
export * from './profiles/prometheusResults';
|
|
65
|
+
export * from './profiles/queryRowLimits';
|
|
66
|
+
export * from './profiles/queryRowLimitsModel';
|
|
67
|
+
export * from './profiles/queryTargetPicker';
|
|
68
|
+
//# sourceMappingURL=profiles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"profiles.d.ts","sourceRoot":"","sources":["../src/profiles.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAOH,cAAc,wBAAwB,CAAC;AACvC,cAAc,mCAAmC,CAAC;AAClD,cAAc,qCAAqC,CAAC;AACpD,cAAc,0CAA0C,CAAC;AACzD,cAAc,0BAA0B,CAAC;AACzC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,oCAAoC,CAAC;AACnD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,oCAAoC,CAAC;AACnD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,yBAAyB,CAAC;AACxC,cAAc,kCAAkC,CAAC;AACjD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,uBAAuB,CAAC;AACtC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,oCAAoC,CAAC;AACnD,cAAc,oCAAoC,CAAC;AACnD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,0BAA0B,CAAC;AACzC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,iCAAiC,CAAC;AAChD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,kCAAkC,CAAC;AACjD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,0BAA0B,CAAC;AACzC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,mCAAmC,CAAC;AAClD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,wBAAwB,CAAC;AACvC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,8BAA8B,CAAC"}
|