@perses-dev/dashboards 0.0.0-snapshot-panel-extra-content-2-2767e21 → 0.0.0-snapshot-scatter-chart-embed-8efdfab
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/cjs/components/AddGroupButton/AddGroupButton.js +10 -7
- package/dist/cjs/components/AddGroupButton/index.js +10 -8
- package/dist/cjs/components/AddPanelButton/AddPanelButton.js +10 -11
- package/dist/cjs/components/AddPanelButton/index.js +10 -8
- package/dist/cjs/components/Dashboard/Dashboard.js +11 -9
- package/dist/cjs/components/Dashboard/index.js +10 -8
- package/dist/cjs/components/DashboardStickyToolbar/DashboardStickyToolbar.js +53 -22
- package/dist/cjs/components/DashboardStickyToolbar/index.js +10 -8
- package/dist/cjs/components/DashboardToolbar/DashboardToolbar.js +81 -102
- package/dist/cjs/components/DashboardToolbar/index.js +10 -8
- package/dist/cjs/components/Datasources/DatasourceEditor.js +237 -0
- package/dist/cjs/components/Datasources/EditDatasourcesButton.js +106 -0
- package/dist/cjs/components/Datasources/index.js +31 -0
- package/dist/cjs/components/DeletePanelDialog/DeletePanelDialog.js +12 -10
- package/dist/cjs/components/DeletePanelDialog/index.js +10 -8
- package/dist/cjs/components/DeletePanelGroupDialog/DeletePanelGroupDialog.js +17 -15
- package/dist/cjs/components/DeletePanelGroupDialog/index.js +10 -8
- package/dist/cjs/components/DiscardChangesConfirmationDialog/DiscardChangesConfirmationDialog.js +5 -3
- package/dist/cjs/components/DiscardChangesConfirmationDialog/index.js +10 -8
- package/dist/cjs/components/DownloadButton/DownloadButton.js +12 -10
- package/dist/cjs/components/DownloadButton/index.js +10 -8
- package/dist/cjs/components/EditButton/EditButton.js +8 -6
- package/dist/cjs/components/EditButton/index.js +10 -8
- package/dist/cjs/components/EditJsonButton/EditJsonButton.js +15 -11
- package/dist/cjs/components/EditJsonButton/index.js +10 -8
- package/dist/cjs/components/EditJsonDialog/EditJsonDialog.js +46 -24
- package/dist/cjs/components/EditJsonDialog/index.js +10 -8
- package/dist/cjs/components/EmptyDashboard/EmptyDashboard.js +18 -16
- package/dist/cjs/components/EmptyDashboard/index.js +10 -8
- package/dist/cjs/components/GridLayout/GridContainer.js +5 -3
- package/dist/cjs/components/GridLayout/GridItemContent.js +33 -13
- package/dist/cjs/components/GridLayout/GridLayout.js +18 -16
- package/dist/cjs/components/GridLayout/GridTitle.js +35 -33
- package/dist/cjs/components/GridLayout/index.js +13 -11
- package/dist/cjs/components/Panel/Panel.js +22 -23
- package/dist/cjs/components/Panel/PanelContent.js +11 -8
- package/dist/cjs/components/Panel/PanelHeader.js +33 -31
- package/dist/cjs/components/Panel/index.js +10 -8
- package/dist/cjs/components/PanelDrawer/PanelDrawer.js +25 -77
- package/dist/cjs/components/PanelDrawer/PanelEditorForm.js +231 -141
- package/dist/cjs/components/PanelDrawer/PanelPreview.js +11 -9
- package/dist/cjs/components/PanelDrawer/index.js +11 -8
- package/dist/cjs/components/PanelDrawer/usePanelEditor.js +3 -1
- package/dist/cjs/components/PanelGroupDialog/PanelGroupDialog.js +18 -16
- package/dist/cjs/components/PanelGroupDialog/PanelGroupEditorForm.js +15 -11
- package/dist/cjs/components/PanelGroupDialog/index.js +10 -8
- package/dist/cjs/components/QuerySummaryTable/QuerySummaryTable.js +47 -45
- package/dist/cjs/components/QuerySummaryTable/index.js +10 -8
- package/dist/cjs/components/SaveChangesConfirmationDialog/SaveChangesConfirmationDialog.js +23 -21
- package/dist/cjs/components/SaveChangesConfirmationDialog/index.js +10 -8
- package/dist/cjs/components/SaveDashboardButton/SaveDashboardButton.js +11 -9
- package/dist/cjs/components/SaveDashboardButton/index.js +10 -8
- package/dist/cjs/components/TimeRangeControls/TimeRangeControls.js +46 -19
- package/dist/cjs/components/TimeRangeControls/index.js +10 -8
- package/dist/cjs/components/ToolbarIconButton/ToolbarIconButton.js +5 -3
- package/dist/cjs/components/ToolbarIconButton/index.js +10 -8
- package/dist/cjs/components/Variables/BuiltinVariableAccordions.js +140 -0
- package/dist/cjs/components/Variables/EditVariablesButton.js +19 -15
- package/dist/cjs/components/Variables/TemplateVariable.js +259 -110
- package/dist/cjs/components/Variables/VariableEditor.js +354 -117
- package/dist/cjs/components/Variables/VariableList.js +44 -22
- package/dist/cjs/components/Variables/index.js +14 -11
- package/dist/cjs/components/index.js +32 -29
- package/dist/cjs/constants/grid-layout-config.js +6 -2
- package/dist/cjs/constants/index.js +12 -9
- package/dist/cjs/constants/styles.js +42 -0
- package/dist/cjs/constants/user-interface-text.js +9 -2
- package/dist/cjs/context/DashboardProvider/DashboardProvider.js +43 -35
- package/dist/cjs/context/DashboardProvider/common.js +6 -2
- package/dist/cjs/context/DashboardProvider/dashboard-provider-api.js +70 -38
- package/dist/cjs/context/DashboardProvider/delete-panel-group-slice.js +3 -1
- package/dist/cjs/context/DashboardProvider/delete-panel-slice.js +5 -3
- package/dist/cjs/context/DashboardProvider/discard-changes-dialog-slice.js +3 -1
- package/dist/cjs/context/DashboardProvider/duplicate-panel-slice.js +3 -1
- package/dist/cjs/context/DashboardProvider/edit-json-dialog-slice.js +3 -1
- package/dist/cjs/context/DashboardProvider/index.js +12 -10
- package/dist/cjs/context/DashboardProvider/panel-editor-slice.js +13 -11
- package/dist/cjs/context/DashboardProvider/panel-group-editor-slice.js +8 -6
- package/dist/cjs/context/DashboardProvider/panel-group-slice.js +15 -7
- package/dist/cjs/context/DashboardProvider/panel-slice.js +3 -1
- package/dist/cjs/context/DashboardProvider/save-changes-dialog-slice.js +3 -1
- package/dist/cjs/context/DatasourceStoreProvider.js +167 -46
- package/dist/cjs/context/TemplateVariableProvider/TemplateVariableProvider.js +205 -51
- package/dist/cjs/context/TemplateVariableProvider/hydrationUtils.js +65 -13
- package/dist/cjs/context/TemplateVariableProvider/index.js +10 -8
- package/dist/cjs/context/TemplateVariableProvider/query-params.js +17 -7
- package/dist/cjs/context/TemplateVariableProvider/utils.js +49 -9
- package/dist/cjs/context/index.js +13 -11
- package/dist/cjs/context/useDashboard.js +12 -8
- package/dist/cjs/index.js +12 -10
- package/dist/cjs/stories/decorators/WithDashboard.js +6 -4
- package/dist/cjs/stories/decorators/WithDatasourceStore.js +6 -4
- package/dist/cjs/stories/decorators/WithTemplateVariables.js +6 -4
- package/dist/cjs/stories/decorators/constants.js +5 -3
- package/dist/cjs/stories/decorators/index.js +13 -11
- package/dist/cjs/test/dashboard-provider.js +8 -4
- package/dist/cjs/test/datasource-provider.js +16 -12
- package/dist/cjs/test/index.js +13 -11
- package/dist/cjs/test/plugin-registry.js +6 -4
- package/dist/cjs/test/render.js +27 -20
- package/dist/cjs/test/setup-tests.js +2 -2
- package/dist/cjs/test/testDashboard.js +13 -11
- package/dist/cjs/utils/index.js +11 -9
- package/dist/cjs/utils/panelUtils.js +9 -3
- package/dist/cjs/utils/time.js +5 -3
- package/dist/cjs/validation/index.js +30 -0
- package/dist/cjs/validation/panel.js +29 -0
- package/dist/cjs/views/ViewDashboard/DashboardApp.js +30 -16
- package/dist/cjs/views/ViewDashboard/ViewDashboard.js +64 -20
- package/dist/cjs/views/ViewDashboard/index.js +10 -8
- package/dist/cjs/views/index.js +10 -8
- package/dist/components/AddGroupButton/AddGroupButton.d.ts.map +1 -1
- package/dist/components/AddGroupButton/AddGroupButton.js +2 -1
- package/dist/components/AddGroupButton/AddGroupButton.js.map +1 -1
- package/dist/components/AddGroupButton/index.js.map +1 -1
- package/dist/components/AddPanelButton/AddPanelButton.js +2 -5
- package/dist/components/AddPanelButton/AddPanelButton.js.map +1 -1
- package/dist/components/AddPanelButton/index.js.map +1 -1
- package/dist/components/Dashboard/Dashboard.js.map +1 -1
- package/dist/components/Dashboard/index.js.map +1 -1
- package/dist/components/DashboardStickyToolbar/DashboardStickyToolbar.d.ts.map +1 -1
- package/dist/components/DashboardStickyToolbar/DashboardStickyToolbar.js +37 -8
- package/dist/components/DashboardStickyToolbar/DashboardStickyToolbar.js.map +1 -1
- package/dist/components/DashboardStickyToolbar/index.js.map +1 -1
- package/dist/components/DashboardToolbar/DashboardToolbar.d.ts.map +1 -1
- package/dist/components/DashboardToolbar/DashboardToolbar.js +61 -84
- package/dist/components/DashboardToolbar/DashboardToolbar.js.map +1 -1
- package/dist/components/DashboardToolbar/index.js.map +1 -1
- package/dist/components/Datasources/DatasourceEditor.d.ts +8 -0
- package/dist/components/Datasources/DatasourceEditor.d.ts.map +1 -0
- package/dist/components/Datasources/DatasourceEditor.js +224 -0
- package/dist/components/Datasources/DatasourceEditor.js.map +1 -0
- package/dist/components/Datasources/EditDatasourcesButton.d.ts +3 -0
- package/dist/components/Datasources/EditDatasourcesButton.d.ts.map +1 -0
- package/dist/components/Datasources/EditDatasourcesButton.js +93 -0
- package/dist/components/Datasources/EditDatasourcesButton.js.map +1 -0
- package/dist/components/Datasources/index.d.ts +3 -0
- package/dist/components/Datasources/index.d.ts.map +1 -0
- package/dist/components/Datasources/index.js +16 -0
- package/dist/components/Datasources/index.js.map +1 -0
- package/dist/components/DeletePanelDialog/DeletePanelDialog.js.map +1 -1
- package/dist/components/DeletePanelDialog/index.js.map +1 -1
- package/dist/components/DeletePanelGroupDialog/DeletePanelGroupDialog.js +2 -2
- package/dist/components/DeletePanelGroupDialog/DeletePanelGroupDialog.js.map +1 -1
- package/dist/components/DeletePanelGroupDialog/index.js.map +1 -1
- package/dist/components/DiscardChangesConfirmationDialog/DiscardChangesConfirmationDialog.js.map +1 -1
- package/dist/components/DiscardChangesConfirmationDialog/index.js.map +1 -1
- package/dist/components/DownloadButton/DownloadButton.js.map +1 -1
- package/dist/components/DownloadButton/index.js.map +1 -1
- package/dist/components/EditButton/EditButton.js.map +1 -1
- package/dist/components/EditButton/index.js.map +1 -1
- package/dist/components/EditJsonButton/EditJsonButton.d.ts +4 -1
- package/dist/components/EditJsonButton/EditJsonButton.d.ts.map +1 -1
- package/dist/components/EditJsonButton/EditJsonButton.js +5 -3
- package/dist/components/EditJsonButton/EditJsonButton.js.map +1 -1
- package/dist/components/EditJsonButton/index.js.map +1 -1
- package/dist/components/EditJsonDialog/EditJsonDialog.d.ts +5 -1
- package/dist/components/EditJsonDialog/EditJsonDialog.d.ts.map +1 -1
- package/dist/components/EditJsonDialog/EditJsonDialog.js +32 -12
- package/dist/components/EditJsonDialog/EditJsonDialog.js.map +1 -1
- package/dist/components/EditJsonDialog/index.js.map +1 -1
- package/dist/components/EmptyDashboard/EmptyDashboard.js.map +1 -1
- package/dist/components/EmptyDashboard/index.js.map +1 -1
- package/dist/components/GridLayout/GridContainer.js.map +1 -1
- package/dist/components/GridLayout/GridItemContent.d.ts.map +1 -1
- package/dist/components/GridLayout/GridItemContent.js +27 -9
- package/dist/components/GridLayout/GridItemContent.js.map +1 -1
- package/dist/components/GridLayout/GridLayout.js +2 -2
- package/dist/components/GridLayout/GridLayout.js.map +1 -1
- package/dist/components/GridLayout/GridTitle.js.map +1 -1
- package/dist/components/GridLayout/index.js.map +1 -1
- package/dist/components/Panel/Panel.d.ts +13 -1
- package/dist/components/Panel/Panel.d.ts.map +1 -1
- package/dist/components/Panel/Panel.js +9 -12
- package/dist/components/Panel/Panel.js.map +1 -1
- package/dist/components/Panel/PanelContent.d.ts +2 -1
- package/dist/components/Panel/PanelContent.d.ts.map +1 -1
- package/dist/components/Panel/PanelContent.js +3 -2
- package/dist/components/Panel/PanelContent.js.map +1 -1
- package/dist/components/Panel/PanelHeader.js.map +1 -1
- package/dist/components/Panel/index.js.map +1 -1
- package/dist/components/PanelDrawer/PanelDrawer.d.ts.map +1 -1
- package/dist/components/PanelDrawer/PanelDrawer.js +22 -76
- package/dist/components/PanelDrawer/PanelDrawer.js.map +1 -1
- package/dist/components/PanelDrawer/PanelEditorForm.d.ts +4 -1
- package/dist/components/PanelDrawer/PanelEditorForm.d.ts.map +1 -1
- package/dist/components/PanelDrawer/PanelEditorForm.js +225 -139
- package/dist/components/PanelDrawer/PanelEditorForm.js.map +1 -1
- package/dist/components/PanelDrawer/PanelPreview.d.ts.map +1 -1
- package/dist/components/PanelDrawer/PanelPreview.js +2 -2
- package/dist/components/PanelDrawer/PanelPreview.js.map +1 -1
- package/dist/components/PanelDrawer/index.d.ts +1 -0
- package/dist/components/PanelDrawer/index.d.ts.map +1 -1
- package/dist/components/PanelDrawer/index.js +1 -0
- package/dist/components/PanelDrawer/index.js.map +1 -1
- package/dist/components/PanelDrawer/usePanelEditor.js.map +1 -1
- package/dist/components/PanelGroupDialog/PanelGroupDialog.js.map +1 -1
- package/dist/components/PanelGroupDialog/PanelGroupEditorForm.js.map +1 -1
- package/dist/components/PanelGroupDialog/index.js.map +1 -1
- package/dist/components/QuerySummaryTable/QuerySummaryTable.js +6 -6
- package/dist/components/QuerySummaryTable/QuerySummaryTable.js.map +1 -1
- package/dist/components/QuerySummaryTable/index.js.map +1 -1
- package/dist/components/SaveChangesConfirmationDialog/SaveChangesConfirmationDialog.js +4 -4
- package/dist/components/SaveChangesConfirmationDialog/SaveChangesConfirmationDialog.js.map +1 -1
- package/dist/components/SaveChangesConfirmationDialog/index.js.map +1 -1
- package/dist/components/SaveDashboardButton/SaveDashboardButton.js +4 -4
- package/dist/components/SaveDashboardButton/SaveDashboardButton.js.map +1 -1
- package/dist/components/SaveDashboardButton/index.js.map +1 -1
- package/dist/components/TimeRangeControls/TimeRangeControls.d.ts.map +1 -1
- package/dist/components/TimeRangeControls/TimeRangeControls.js +26 -5
- package/dist/components/TimeRangeControls/TimeRangeControls.js.map +1 -1
- package/dist/components/TimeRangeControls/index.js.map +1 -1
- package/dist/components/ToolbarIconButton/ToolbarIconButton.js.map +1 -1
- package/dist/components/ToolbarIconButton/index.js.map +1 -1
- package/dist/components/Variables/BuiltinVariableAccordions.d.ts +8 -0
- package/dist/components/Variables/BuiltinVariableAccordions.d.ts.map +1 -0
- package/dist/components/Variables/BuiltinVariableAccordions.js +127 -0
- package/dist/components/Variables/BuiltinVariableAccordions.js.map +1 -0
- package/dist/components/Variables/EditVariablesButton.d.ts.map +1 -1
- package/dist/components/Variables/EditVariablesButton.js +8 -6
- package/dist/components/Variables/EditVariablesButton.js.map +1 -1
- package/dist/components/Variables/TemplateVariable.d.ts +12 -2
- package/dist/components/Variables/TemplateVariable.d.ts.map +1 -1
- package/dist/components/Variables/TemplateVariable.js +242 -103
- package/dist/components/Variables/TemplateVariable.js.map +1 -1
- package/dist/components/Variables/VariableEditor.d.ts +9 -1
- package/dist/components/Variables/VariableEditor.d.ts.map +1 -1
- package/dist/components/Variables/VariableEditor.js +324 -97
- package/dist/components/Variables/VariableEditor.js.map +1 -1
- package/dist/components/Variables/VariableList.d.ts +5 -0
- package/dist/components/Variables/VariableList.d.ts.map +1 -1
- package/dist/components/Variables/VariableList.js +31 -19
- package/dist/components/Variables/VariableList.js.map +1 -1
- package/dist/components/Variables/index.d.ts +1 -0
- package/dist/components/Variables/index.d.ts.map +1 -1
- package/dist/components/Variables/index.js +1 -0
- package/dist/components/Variables/index.js.map +1 -1
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +1 -0
- package/dist/components/index.js.map +1 -1
- package/dist/constants/grid-layout-config.js.map +1 -1
- package/dist/constants/index.d.ts +1 -0
- package/dist/constants/index.d.ts.map +1 -1
- package/dist/constants/index.js +1 -0
- package/dist/constants/index.js.map +1 -1
- package/dist/constants/styles.d.ts +5 -0
- package/dist/constants/styles.d.ts.map +1 -0
- package/dist/constants/styles.js +23 -0
- package/dist/constants/styles.js.map +1 -0
- package/dist/constants/user-interface-text.d.ts +3 -0
- package/dist/constants/user-interface-text.d.ts.map +1 -1
- package/dist/constants/user-interface-text.js +3 -0
- package/dist/constants/user-interface-text.js.map +1 -1
- package/dist/context/DashboardProvider/DashboardProvider.d.ts +2 -1
- package/dist/context/DashboardProvider/DashboardProvider.d.ts.map +1 -1
- package/dist/context/DashboardProvider/DashboardProvider.js +8 -6
- package/dist/context/DashboardProvider/DashboardProvider.js.map +1 -1
- package/dist/context/DashboardProvider/common.js.map +1 -1
- package/dist/context/DashboardProvider/dashboard-provider-api.js +2 -2
- package/dist/context/DashboardProvider/dashboard-provider-api.js.map +1 -1
- package/dist/context/DashboardProvider/delete-panel-group-slice.js.map +1 -1
- package/dist/context/DashboardProvider/delete-panel-slice.js +2 -2
- package/dist/context/DashboardProvider/delete-panel-slice.js.map +1 -1
- package/dist/context/DashboardProvider/discard-changes-dialog-slice.js.map +1 -1
- package/dist/context/DashboardProvider/duplicate-panel-slice.js.map +1 -1
- package/dist/context/DashboardProvider/edit-json-dialog-slice.js.map +1 -1
- package/dist/context/DashboardProvider/index.js.map +1 -1
- package/dist/context/DashboardProvider/panel-editor-slice.d.ts +2 -2
- package/dist/context/DashboardProvider/panel-editor-slice.d.ts.map +1 -1
- package/dist/context/DashboardProvider/panel-editor-slice.js +7 -7
- package/dist/context/DashboardProvider/panel-editor-slice.js.map +1 -1
- package/dist/context/DashboardProvider/panel-group-editor-slice.js +2 -2
- package/dist/context/DashboardProvider/panel-group-editor-slice.js.map +1 -1
- package/dist/context/DashboardProvider/panel-group-slice.js +3 -3
- package/dist/context/DashboardProvider/panel-group-slice.js.map +1 -1
- package/dist/context/DashboardProvider/panel-slice.js.map +1 -1
- package/dist/context/DashboardProvider/save-changes-dialog-slice.js.map +1 -1
- package/dist/context/DatasourceStoreProvider.d.ts +15 -10
- package/dist/context/DatasourceStoreProvider.d.ts.map +1 -1
- package/dist/context/DatasourceStoreProvider.js +161 -42
- package/dist/context/DatasourceStoreProvider.js.map +1 -1
- package/dist/context/TemplateVariableProvider/TemplateVariableProvider.d.ts +49 -13
- package/dist/context/TemplateVariableProvider/TemplateVariableProvider.d.ts.map +1 -1
- package/dist/context/TemplateVariableProvider/TemplateVariableProvider.js +178 -41
- package/dist/context/TemplateVariableProvider/TemplateVariableProvider.js.map +1 -1
- package/dist/context/TemplateVariableProvider/hydrationUtils.d.ts +9 -2
- package/dist/context/TemplateVariableProvider/hydrationUtils.d.ts.map +1 -1
- package/dist/context/TemplateVariableProvider/hydrationUtils.js +67 -12
- package/dist/context/TemplateVariableProvider/hydrationUtils.js.map +1 -1
- package/dist/context/TemplateVariableProvider/index.js.map +1 -1
- package/dist/context/TemplateVariableProvider/query-params.js.map +1 -1
- package/dist/context/TemplateVariableProvider/utils.d.ts +27 -2
- package/dist/context/TemplateVariableProvider/utils.d.ts.map +1 -1
- package/dist/context/TemplateVariableProvider/utils.js +48 -6
- package/dist/context/TemplateVariableProvider/utils.js.map +1 -1
- package/dist/context/index.js.map +1 -1
- package/dist/context/useDashboard.d.ts.map +1 -1
- package/dist/context/useDashboard.js +5 -3
- package/dist/context/useDashboard.js.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/stories/decorators/WithDashboard.js.map +1 -1
- package/dist/stories/decorators/WithDatasourceStore.js.map +1 -1
- package/dist/stories/decorators/WithTemplateVariables.js.map +1 -1
- package/dist/stories/decorators/constants.js +2 -2
- package/dist/stories/decorators/constants.js.map +1 -1
- package/dist/stories/decorators/index.js.map +1 -1
- package/dist/test/dashboard-provider.js.map +1 -1
- package/dist/test/datasource-provider.d.ts.map +1 -1
- package/dist/test/datasource-provider.js +5 -7
- package/dist/test/datasource-provider.js.map +1 -1
- package/dist/test/index.js.map +1 -1
- package/dist/test/plugin-registry.js.map +1 -1
- package/dist/test/render.d.ts.map +1 -1
- package/dist/test/render.js +8 -3
- package/dist/test/render.js.map +1 -1
- package/dist/test/setup-tests.js.map +1 -1
- package/dist/test/testDashboard.js +10 -10
- package/dist/test/testDashboard.js.map +1 -1
- package/dist/utils/index.js.map +1 -1
- package/dist/utils/panelUtils.js.map +1 -1
- package/dist/utils/time.js.map +1 -1
- package/dist/validation/index.d.ts +2 -0
- package/dist/validation/index.d.ts.map +1 -0
- package/dist/validation/index.js +15 -0
- package/dist/validation/index.js.map +1 -0
- package/dist/validation/panel.d.ts +19 -0
- package/dist/validation/panel.d.ts.map +1 -0
- package/dist/validation/panel.js +21 -0
- package/dist/validation/panel.js.map +1 -0
- package/dist/views/ViewDashboard/DashboardApp.d.ts +1 -0
- package/dist/views/ViewDashboard/DashboardApp.d.ts.map +1 -1
- package/dist/views/ViewDashboard/DashboardApp.js +17 -5
- package/dist/views/ViewDashboard/DashboardApp.js.map +1 -1
- package/dist/views/ViewDashboard/ViewDashboard.d.ts +3 -1
- package/dist/views/ViewDashboard/ViewDashboard.d.ts.map +1 -1
- package/dist/views/ViewDashboard/ViewDashboard.js +54 -12
- package/dist/views/ViewDashboard/ViewDashboard.js.map +1 -1
- package/dist/views/ViewDashboard/index.js.map +1 -1
- package/dist/views/index.js.map +1 -1
- package/package.json +8 -7
|
@@ -14,32 +14,54 @@
|
|
|
14
14
|
Object.defineProperty(exports, "__esModule", {
|
|
15
15
|
value: true
|
|
16
16
|
});
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
17
|
+
function _export(target, all) {
|
|
18
|
+
for(var name in all)Object.defineProperty(target, name, {
|
|
19
|
+
enumerable: true,
|
|
20
|
+
get: all[name]
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
_export(exports, {
|
|
24
|
+
TemplateVariableList: function() {
|
|
25
|
+
return TemplateVariableList;
|
|
26
|
+
},
|
|
27
|
+
TemplateVariableListItem: function() {
|
|
28
|
+
return TemplateVariableListItem;
|
|
29
|
+
}
|
|
20
30
|
});
|
|
21
|
-
const
|
|
31
|
+
const _jsxruntime = require("react/jsx-runtime");
|
|
22
32
|
const _material = require("@mui/material");
|
|
23
33
|
const _context = require("../../context");
|
|
24
|
-
const
|
|
25
|
-
const
|
|
26
|
-
const VARIABLE_INPUT_MAX_WIDTH = '240px';
|
|
34
|
+
const _constants = require("../../constants");
|
|
35
|
+
const _TemplateVariable = require("./TemplateVariable");
|
|
27
36
|
function TemplateVariableList() {
|
|
28
37
|
const variableDefinitions = (0, _context.useTemplateVariableDefinitions)();
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
}, v.spec.name)
|
|
42
|
-
}, v.spec.name);
|
|
43
|
-
})
|
|
38
|
+
const externalVariableDefinitions = (0, _context.useTemplateExternalVariableDefinitions)();
|
|
39
|
+
return /*#__PURE__*/ (0, _jsxruntime.jsxs)(_jsxruntime.Fragment, {
|
|
40
|
+
children: [
|
|
41
|
+
externalVariableDefinitions.slice().reverse() // We reverse to have the most prioritized on top
|
|
42
|
+
.map((def)=>def.definitions.map((v)=>/*#__PURE__*/ (0, _jsxruntime.jsx)(TemplateVariableListItem, {
|
|
43
|
+
spec: v.spec,
|
|
44
|
+
source: def.source
|
|
45
|
+
}, v.spec.name + def.source))),
|
|
46
|
+
variableDefinitions.map((v)=>/*#__PURE__*/ (0, _jsxruntime.jsx)(TemplateVariableListItem, {
|
|
47
|
+
spec: v.spec
|
|
48
|
+
}, v.spec.name))
|
|
49
|
+
]
|
|
44
50
|
});
|
|
45
51
|
}
|
|
52
|
+
function TemplateVariableListItem({ spec , source }) {
|
|
53
|
+
var _ctx_state, _spec_display;
|
|
54
|
+
const ctx = (0, _context.useTemplateVariable)(spec.name, source);
|
|
55
|
+
var _ref, _ref1;
|
|
56
|
+
return /*#__PURE__*/ (0, _jsxruntime.jsx)(_material.Box, {
|
|
57
|
+
display: ((_ctx_state = ctx.state) === null || _ctx_state === void 0 ? void 0 : _ctx_state.overridden) || ((_spec_display = spec.display) === null || _spec_display === void 0 ? void 0 : _spec_display.hidden) ? 'none' : undefined,
|
|
58
|
+
minWidth: `${_constants.MIN_TEMPLATE_VARIABLE_WIDTH}px`,
|
|
59
|
+
maxWidth: `${_constants.MAX_TEMPLATE_VARIABLE_WIDTH}px`,
|
|
60
|
+
flexShrink: 0,
|
|
61
|
+
"data-testid": 'template-variable-' + spec.name,
|
|
62
|
+
children: /*#__PURE__*/ (0, _jsxruntime.jsx)(_TemplateVariable.TemplateVariable, {
|
|
63
|
+
name: spec.name,
|
|
64
|
+
source: source
|
|
65
|
+
}, (_ref = spec.name + source) !== null && _ref !== void 0 ? _ref : '')
|
|
66
|
+
}, (_ref1 = spec.name + source) !== null && _ref1 !== void 0 ? _ref1 : '');
|
|
67
|
+
}
|
|
@@ -14,18 +14,21 @@
|
|
|
14
14
|
Object.defineProperty(exports, "__esModule", {
|
|
15
15
|
value: true
|
|
16
16
|
});
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
17
|
+
_export_star(require("./BuiltinVariableAccordions"), exports);
|
|
18
|
+
_export_star(require("./EditVariablesButton"), exports);
|
|
19
|
+
_export_star(require("./TemplateVariable"), exports);
|
|
20
|
+
_export_star(require("./VariableEditor"), exports);
|
|
21
|
+
_export_star(require("./VariableList"), exports);
|
|
22
|
+
function _export_star(from, to) {
|
|
22
23
|
Object.keys(from).forEach(function(k) {
|
|
23
|
-
if (k !== "default" && !Object.prototype.hasOwnProperty.call(to, k))
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
24
|
+
if (k !== "default" && !Object.prototype.hasOwnProperty.call(to, k)) {
|
|
25
|
+
Object.defineProperty(to, k, {
|
|
26
|
+
enumerable: true,
|
|
27
|
+
get: function() {
|
|
28
|
+
return from[k];
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
}
|
|
29
32
|
});
|
|
30
33
|
return from;
|
|
31
34
|
}
|
|
@@ -14,36 +14,39 @@
|
|
|
14
14
|
Object.defineProperty(exports, "__esModule", {
|
|
15
15
|
value: true
|
|
16
16
|
});
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
17
|
+
_export_star(require("./AddGroupButton"), exports);
|
|
18
|
+
_export_star(require("./AddPanelButton"), exports);
|
|
19
|
+
_export_star(require("./Dashboard"), exports);
|
|
20
|
+
_export_star(require("./DashboardToolbar"), exports);
|
|
21
|
+
_export_star(require("./DashboardStickyToolbar"), exports);
|
|
22
|
+
_export_star(require("./Datasources"), exports);
|
|
23
|
+
_export_star(require("./DeletePanelDialog"), exports);
|
|
24
|
+
_export_star(require("./DeletePanelGroupDialog"), exports);
|
|
25
|
+
_export_star(require("./DiscardChangesConfirmationDialog"), exports);
|
|
26
|
+
_export_star(require("./DownloadButton"), exports);
|
|
27
|
+
_export_star(require("./EditJsonButton"), exports);
|
|
28
|
+
_export_star(require("./EditJsonDialog"), exports);
|
|
29
|
+
_export_star(require("./EmptyDashboard"), exports);
|
|
30
|
+
_export_star(require("./GridLayout"), exports);
|
|
31
|
+
_export_star(require("./Panel"), exports);
|
|
32
|
+
_export_star(require("./PanelDrawer"), exports);
|
|
33
|
+
_export_star(require("./PanelGroupDialog"), exports);
|
|
34
|
+
_export_star(require("./QuerySummaryTable"), exports);
|
|
35
|
+
_export_star(require("./SaveChangesConfirmationDialog"), exports);
|
|
36
|
+
_export_star(require("./SaveDashboardButton"), exports);
|
|
37
|
+
_export_star(require("./TimeRangeControls"), exports);
|
|
38
|
+
_export_star(require("./ToolbarIconButton"), exports);
|
|
39
|
+
_export_star(require("./Variables"), exports);
|
|
40
|
+
function _export_star(from, to) {
|
|
40
41
|
Object.keys(from).forEach(function(k) {
|
|
41
|
-
if (k !== "default" && !Object.prototype.hasOwnProperty.call(to, k))
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
42
|
+
if (k !== "default" && !Object.prototype.hasOwnProperty.call(to, k)) {
|
|
43
|
+
Object.defineProperty(to, k, {
|
|
44
|
+
enumerable: true,
|
|
45
|
+
get: function() {
|
|
46
|
+
return from[k];
|
|
47
|
+
}
|
|
48
|
+
});
|
|
49
|
+
}
|
|
47
50
|
});
|
|
48
51
|
return from;
|
|
49
52
|
}
|
|
@@ -21,8 +21,12 @@ function _export(target, all) {
|
|
|
21
21
|
});
|
|
22
22
|
}
|
|
23
23
|
_export(exports, {
|
|
24
|
-
GRID_LAYOUT_COLS: ()
|
|
25
|
-
|
|
24
|
+
GRID_LAYOUT_COLS: function() {
|
|
25
|
+
return GRID_LAYOUT_COLS;
|
|
26
|
+
},
|
|
27
|
+
GRID_LAYOUT_SMALL_BREAKPOINT: function() {
|
|
28
|
+
return GRID_LAYOUT_SMALL_BREAKPOINT;
|
|
29
|
+
}
|
|
26
30
|
});
|
|
27
31
|
const GRID_LAYOUT_COLS = {
|
|
28
32
|
sm: 24,
|
|
@@ -14,16 +14,19 @@
|
|
|
14
14
|
Object.defineProperty(exports, "__esModule", {
|
|
15
15
|
value: true
|
|
16
16
|
});
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
17
|
+
_export_star(require("./grid-layout-config"), exports);
|
|
18
|
+
_export_star(require("./styles"), exports);
|
|
19
|
+
_export_star(require("./user-interface-text"), exports);
|
|
20
|
+
function _export_star(from, to) {
|
|
20
21
|
Object.keys(from).forEach(function(k) {
|
|
21
|
-
if (k !== "default" && !Object.prototype.hasOwnProperty.call(to, k))
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
22
|
+
if (k !== "default" && !Object.prototype.hasOwnProperty.call(to, k)) {
|
|
23
|
+
Object.defineProperty(to, k, {
|
|
24
|
+
enumerable: true,
|
|
25
|
+
get: function() {
|
|
26
|
+
return from[k];
|
|
27
|
+
}
|
|
28
|
+
});
|
|
29
|
+
}
|
|
27
30
|
});
|
|
28
31
|
return from;
|
|
29
32
|
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
// Copyright 2023 The Perses Authors
|
|
2
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
3
|
+
// you may not use this file except in compliance with the License.
|
|
4
|
+
// You may obtain a copy of the License at
|
|
5
|
+
//
|
|
6
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
|
7
|
+
//
|
|
8
|
+
// Unless required by applicable law or agreed to in writing, software
|
|
9
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
10
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
11
|
+
// See the License for the specific language governing permissions and
|
|
12
|
+
// limitations under the License.
|
|
13
|
+
"use strict";
|
|
14
|
+
Object.defineProperty(exports, "__esModule", {
|
|
15
|
+
value: true
|
|
16
|
+
});
|
|
17
|
+
function _export(target, all) {
|
|
18
|
+
for(var name in all)Object.defineProperty(target, name, {
|
|
19
|
+
enumerable: true,
|
|
20
|
+
get: all[name]
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
_export(exports, {
|
|
24
|
+
editButtonStyle: function() {
|
|
25
|
+
return editButtonStyle;
|
|
26
|
+
},
|
|
27
|
+
MIN_TEMPLATE_VARIABLE_WIDTH: function() {
|
|
28
|
+
return MIN_TEMPLATE_VARIABLE_WIDTH;
|
|
29
|
+
},
|
|
30
|
+
MAX_TEMPLATE_VARIABLE_WIDTH: function() {
|
|
31
|
+
return MAX_TEMPLATE_VARIABLE_WIDTH;
|
|
32
|
+
}
|
|
33
|
+
});
|
|
34
|
+
const editButtonStyle = {
|
|
35
|
+
whiteSpace: 'nowrap',
|
|
36
|
+
minWidth: 'auto',
|
|
37
|
+
'& .MuiButton-startIcon': {
|
|
38
|
+
marginRight: 0.5
|
|
39
|
+
}
|
|
40
|
+
};
|
|
41
|
+
const MIN_TEMPLATE_VARIABLE_WIDTH = 120;
|
|
42
|
+
const MAX_TEMPLATE_VARIABLE_WIDTH = 500;
|
|
@@ -21,17 +21,24 @@ function _export(target, all) {
|
|
|
21
21
|
});
|
|
22
22
|
}
|
|
23
23
|
_export(exports, {
|
|
24
|
-
TOOLTIP_TEXT: ()
|
|
25
|
-
|
|
24
|
+
TOOLTIP_TEXT: function() {
|
|
25
|
+
return TOOLTIP_TEXT;
|
|
26
|
+
},
|
|
27
|
+
ARIA_LABEL_TEXT: function() {
|
|
28
|
+
return ARIA_LABEL_TEXT;
|
|
29
|
+
}
|
|
26
30
|
});
|
|
27
31
|
const TOOLTIP_TEXT = {
|
|
28
32
|
// Toolbar buttons
|
|
29
33
|
addPanel: 'Add panel',
|
|
30
34
|
addGroup: 'Add panel group',
|
|
31
35
|
downloadDashboard: 'Download JSON',
|
|
36
|
+
editDatasources: 'Edit datasources',
|
|
32
37
|
editJson: 'Edit JSON',
|
|
33
38
|
editVariables: 'Edit variables',
|
|
34
39
|
refreshDashboard: 'Refresh dashboard',
|
|
40
|
+
refreshDashboardInterval: 'Auto refresh interval',
|
|
41
|
+
viewJson: 'View JSON',
|
|
35
42
|
// Group buttons
|
|
36
43
|
addPanelToGroup: 'Add panel to group',
|
|
37
44
|
deleteGroup: 'Delete group',
|
|
@@ -21,28 +21,34 @@ function _export(target, all) {
|
|
|
21
21
|
});
|
|
22
22
|
}
|
|
23
23
|
_export(exports, {
|
|
24
|
-
DashboardContext: ()
|
|
25
|
-
|
|
26
|
-
|
|
24
|
+
DashboardContext: function() {
|
|
25
|
+
return DashboardContext;
|
|
26
|
+
},
|
|
27
|
+
useDashboardStore: function() {
|
|
28
|
+
return useDashboardStore;
|
|
29
|
+
},
|
|
30
|
+
DashboardProvider: function() {
|
|
31
|
+
return DashboardProvider;
|
|
32
|
+
}
|
|
27
33
|
});
|
|
28
|
-
const
|
|
34
|
+
const _jsxruntime = require("react/jsx-runtime");
|
|
29
35
|
const _zustand = require("zustand");
|
|
30
36
|
const _middleware = require("zustand/middleware");
|
|
31
37
|
const _immer = require("zustand/middleware/immer");
|
|
32
38
|
const _shallow = require("zustand/shallow");
|
|
33
39
|
const _react = require("react");
|
|
34
40
|
const _core = require("@perses-dev/core");
|
|
35
|
-
const
|
|
36
|
-
const
|
|
37
|
-
const
|
|
38
|
-
const
|
|
39
|
-
const
|
|
40
|
-
const
|
|
41
|
-
const
|
|
42
|
-
const
|
|
43
|
-
const
|
|
44
|
-
const
|
|
45
|
-
const
|
|
41
|
+
const _pluginsystem = require("@perses-dev/plugin-system");
|
|
42
|
+
const _panelgroupeditorslice = require("./panel-group-editor-slice");
|
|
43
|
+
const _panelgroupslice = require("./panel-group-slice");
|
|
44
|
+
const _paneleditorslice = require("./panel-editor-slice");
|
|
45
|
+
const _panelslice = require("./panel-slice");
|
|
46
|
+
const _deletepanelgroupslice = require("./delete-panel-group-slice");
|
|
47
|
+
const _deletepanelslice = require("./delete-panel-slice");
|
|
48
|
+
const _discardchangesdialogslice = require("./discard-changes-dialog-slice");
|
|
49
|
+
const _savechangesdialogslice = require("./save-changes-dialog-slice");
|
|
50
|
+
const _duplicatepanelslice = require("./duplicate-panel-slice");
|
|
51
|
+
const _editjsondialogslice = require("./edit-json-dialog-slice");
|
|
46
52
|
const _common = require("./common");
|
|
47
53
|
const DashboardContext = /*#__PURE__*/ (0, _react.createContext)(undefined);
|
|
48
54
|
function useDashboardStore(selector) {
|
|
@@ -57,10 +63,10 @@ function DashboardProvider(props) {
|
|
|
57
63
|
props
|
|
58
64
|
]);
|
|
59
65
|
// load plugin to retrieve initial spec if default panel kind is defined
|
|
60
|
-
const { defaultPluginKinds } = (0,
|
|
61
|
-
var
|
|
62
|
-
const defaultPanelKind = (
|
|
63
|
-
const { data: plugin } = (0,
|
|
66
|
+
const { defaultPluginKinds } = (0, _pluginsystem.usePluginRegistry)();
|
|
67
|
+
var _defaultPluginKinds_Panel;
|
|
68
|
+
const defaultPanelKind = (_defaultPluginKinds_Panel = defaultPluginKinds === null || defaultPluginKinds === void 0 ? void 0 : defaultPluginKinds['Panel']) !== null && _defaultPluginKinds_Panel !== void 0 ? _defaultPluginKinds_Panel : '';
|
|
69
|
+
const { data: plugin } = (0, _pluginsystem.usePlugin)('Panel', defaultPanelKind);
|
|
64
70
|
const [store] = (0, _react.useState)(createDashboardStore(props)); // prevent calling createDashboardStore every time it rerenders
|
|
65
71
|
(0, _react.useEffect)(()=>{
|
|
66
72
|
if (plugin === undefined) return;
|
|
@@ -76,49 +82,51 @@ function DashboardProvider(props) {
|
|
|
76
82
|
store,
|
|
77
83
|
defaultPanelKind
|
|
78
84
|
]);
|
|
79
|
-
return /*#__PURE__*/ (0,
|
|
85
|
+
return /*#__PURE__*/ (0, _jsxruntime.jsx)(DashboardContext.Provider, {
|
|
80
86
|
value: store,
|
|
81
87
|
children: props.children
|
|
82
88
|
});
|
|
83
89
|
}
|
|
84
90
|
function initStore(props) {
|
|
85
|
-
const { initialState: { dashboardResource , isEditMode }
|
|
86
|
-
const { spec: { display , duration , refreshInterval =_core.DEFAULT_REFRESH_INTERVAL } , metadata
|
|
87
|
-
let { spec: { layouts , panels }
|
|
91
|
+
const { initialState: { dashboardResource , isEditMode } } = props;
|
|
92
|
+
const { spec: { display , duration , refreshInterval =_core.DEFAULT_REFRESH_INTERVAL , datasources } , metadata } = dashboardResource;
|
|
93
|
+
let { spec: { layouts , panels } } = dashboardResource;
|
|
88
94
|
// Set fallbacks in case the frontend is used with a non-Perses backend
|
|
89
95
|
layouts = layouts !== null && layouts !== void 0 ? layouts : [];
|
|
90
96
|
panels = panels !== null && panels !== void 0 ? panels : {};
|
|
91
97
|
const store = (0, _zustand.createStore)()((0, _immer.immer)((0, _middleware.devtools)((...args)=>{
|
|
92
98
|
const [set] = args;
|
|
93
99
|
return {
|
|
94
|
-
/* Groups */ ...(0,
|
|
95
|
-
...(0,
|
|
96
|
-
...(0,
|
|
97
|
-
/* Panels */ ...(0,
|
|
98
|
-
...(0,
|
|
99
|
-
...(0,
|
|
100
|
-
...(0,
|
|
101
|
-
/* General */ ...(0,
|
|
102
|
-
...(0,
|
|
103
|
-
...(0,
|
|
100
|
+
/* Groups */ ...(0, _panelgroupslice.createPanelGroupSlice)(layouts)(...args),
|
|
101
|
+
...(0, _panelgroupeditorslice.createPanelGroupEditorSlice)(...args),
|
|
102
|
+
...(0, _deletepanelgroupslice.createDeletePanelGroupSlice)(...args),
|
|
103
|
+
/* Panels */ ...(0, _panelslice.createPanelSlice)(panels)(...args),
|
|
104
|
+
...(0, _paneleditorslice.createPanelEditorSlice)()(...args),
|
|
105
|
+
...(0, _deletepanelslice.createDeletePanelSlice)()(...args),
|
|
106
|
+
...(0, _duplicatepanelslice.createDuplicatePanelSlice)()(...args),
|
|
107
|
+
/* General */ ...(0, _discardchangesdialogslice.createDiscardChangesDialogSlice)(...args),
|
|
108
|
+
...(0, _editjsondialogslice.createEditJsonDialogSlice)(...args),
|
|
109
|
+
...(0, _savechangesdialogslice.createSaveChangesDialogSlice)(...args),
|
|
104
110
|
metadata,
|
|
105
111
|
display,
|
|
106
112
|
duration,
|
|
107
113
|
refreshInterval,
|
|
114
|
+
datasources,
|
|
108
115
|
isEditMode: !!isEditMode,
|
|
109
116
|
setEditMode: (isEditMode)=>set({
|
|
110
117
|
isEditMode
|
|
111
118
|
}),
|
|
112
|
-
setDashboard: ({ metadata , spec: { display , panels ={} , layouts =[] , duration , refreshInterval } })=>{
|
|
119
|
+
setDashboard: ({ metadata , spec: { display , panels ={} , layouts =[] , duration , refreshInterval , datasources ={} } })=>{
|
|
113
120
|
set((state)=>{
|
|
114
121
|
state.metadata = metadata;
|
|
115
122
|
state.display = display;
|
|
116
123
|
state.panels = panels;
|
|
117
|
-
const { panelGroups , panelGroupOrder } = (0,
|
|
124
|
+
const { panelGroups , panelGroupOrder } = (0, _panelgroupslice.convertLayoutsToPanelGroups)(layouts);
|
|
118
125
|
state.panelGroups = panelGroups;
|
|
119
126
|
state.panelGroupOrder = panelGroupOrder;
|
|
120
127
|
state.duration = duration;
|
|
121
128
|
state.refreshInterval = refreshInterval !== null && refreshInterval !== void 0 ? refreshInterval : _core.DEFAULT_REFRESH_INTERVAL;
|
|
129
|
+
state.datasources = datasources;
|
|
122
130
|
});
|
|
123
131
|
}
|
|
124
132
|
};
|
|
@@ -21,8 +21,12 @@ function _export(target, all) {
|
|
|
21
21
|
});
|
|
22
22
|
}
|
|
23
23
|
_export(exports, {
|
|
24
|
-
generateId: ()
|
|
25
|
-
|
|
24
|
+
generateId: function() {
|
|
25
|
+
return generateId;
|
|
26
|
+
},
|
|
27
|
+
createPanelDefinition: function() {
|
|
28
|
+
return createPanelDefinition;
|
|
29
|
+
}
|
|
26
30
|
});
|
|
27
31
|
function generateId() {
|
|
28
32
|
if (globalThis.dashboardStoreId === undefined) {
|