@devtable/dashboard 14.58.1 → 14.58.3

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.
Files changed (138) hide show
  1. package/dist/api-caller/request.d.ts +9 -9
  2. package/dist/components/filter/filter-date-range/editor.d.ts +0 -1
  3. package/dist/components/filter/filter-merico-date-range/widget/calendar/use-get-day-props.d.ts +1 -1
  4. package/dist/components/filter/filter-multi-select/editor.d.ts +0 -1
  5. package/dist/components/filter/filter-settings/filter-settings.d.ts +0 -1
  6. package/dist/components/filter/filter-settings/index.d.ts +0 -1
  7. package/dist/components/filter/filter-text-input/editor.d.ts +0 -1
  8. package/dist/components/filter/filter-tree/common/types.d.ts +0 -1
  9. package/dist/components/filter/filter-tree/filter-tree-select/editor/filter-tree-select-editor.d.ts +0 -1
  10. package/dist/components/filter/index.d.ts +0 -1
  11. package/dist/components/filter/search-button/index.d.ts +0 -1
  12. package/dist/components/panel/panel-editor/dropdown-menu-items/dropdown-menu-items.d.ts +0 -1
  13. package/dist/components/panel/panel-editor/index.d.ts +0 -1
  14. package/dist/components/panel/panel-render/dropdown-menu-items/dropdown-menu-items.d.ts +0 -1
  15. package/dist/components/panel/panel-render/full-screen-render/full-screen-panel.d.ts +0 -1
  16. package/dist/components/panel/panel-render/title-bar/index.d.ts +0 -1
  17. package/dist/components/panel/panel-render/use-download-panel-screenshot.d.ts +0 -1
  18. package/dist/components/panel/panel-render/viz/viz.d.ts +0 -1
  19. package/dist/components/panel/settings/common/mantine-size-selector.d.ts +0 -1
  20. package/dist/components/panel/settings/common/variable-selector/variable-selector-item.d.ts +1 -2
  21. package/dist/components/plugins/colors/diverging-color.d.ts +1 -1
  22. package/dist/components/plugins/colors/sequential-color.d.ts +1 -1
  23. package/dist/components/plugins/common-echarts-fields/axis-label-overflow/axis-label-overflow-field.d.ts +0 -1
  24. package/dist/components/plugins/common-echarts-fields/axis-label-overflow/overflow-field.d.ts +0 -1
  25. package/dist/components/plugins/common-echarts-fields/axis-label-rotate/axis-label-rotate-input.d.ts +0 -1
  26. package/dist/components/plugins/common-echarts-fields/label-position/label-position-selector.d.ts +0 -1
  27. package/dist/components/plugins/common-echarts-fields/line-area-style/line-area-origin-selector.d.ts +0 -1
  28. package/dist/components/plugins/common-echarts-fields/line-area-style/line-area-style-field.d.ts +0 -1
  29. package/dist/components/plugins/common-echarts-fields/line-area-style/temp-color-input.d.ts +0 -1
  30. package/dist/components/plugins/common-echarts-fields/line-type/line-type-selector.d.ts +0 -1
  31. package/dist/components/plugins/common-echarts-fields/name-text-align/name-text-align-selector.d.ts +0 -1
  32. package/dist/components/plugins/common-echarts-fields/number-or-dynamic-value/field/index.d.ts +0 -1
  33. package/dist/components/plugins/common-echarts-fields/orientation/orientation-selector.d.ts +0 -1
  34. package/dist/components/plugins/common-echarts-fields/reference-area/field.d.ts +0 -1
  35. package/dist/components/plugins/common-echarts-fields/series-order/series-order-selector.d.ts +0 -1
  36. package/dist/components/plugins/common-echarts-fields/series-unit/series-unit-field.d.ts +0 -1
  37. package/dist/components/plugins/common-echarts-fields/symbol-size/symbol-size-selector.d.ts +0 -1
  38. package/dist/components/plugins/common-echarts-fields/visual-map/visual-map-editor/continuous/gradient-editor.d.ts +0 -1
  39. package/dist/components/plugins/common-echarts-fields/x-axis-label-formatter/x-axis-label-formatter-field.d.ts +0 -1
  40. package/dist/components/plugins/common-echarts-fields/x-axis-position/x-axis-position-selector.d.ts +0 -1
  41. package/dist/components/plugins/common-echarts-fields/y-axis-position/y-axis-position-selector.d.ts +0 -1
  42. package/dist/components/plugins/editor-components/color-mapping-editor/index.d.ts +0 -1
  43. package/dist/components/plugins/editor-components/color-type/color-type-selector.d.ts +0 -1
  44. package/dist/components/plugins/editor-components/flex/align-items-selector.d.ts +0 -1
  45. package/dist/components/plugins/editor-components/flex/justify-content-selector.d.ts +0 -1
  46. package/dist/components/plugins/editor-components/horizontal-align-selector.d.ts +0 -1
  47. package/dist/components/plugins/editor-components/vertical-align-selector.d.ts +0 -1
  48. package/dist/components/plugins/editor-components/viz-config-banner.d.ts +0 -1
  49. package/dist/components/plugins/hooks/use-tab-state.d.ts +0 -1
  50. package/dist/components/plugins/plugin-context.d.ts +648 -3557
  51. package/dist/components/plugins/viz-components/cartesian/editors/echarts-zooming-field/index.d.ts +0 -1
  52. package/dist/components/plugins/viz-components/merico-linear-gauge/editor/sections-editor/sections-editor.d.ts +0 -1
  53. package/dist/components/plugins/viz-components/merico-panel-groups/editor/groups-editor.d.ts +0 -1
  54. package/dist/components/plugins/viz-components/merico-stats/editors/metrics/postfix-field.d.ts +0 -1
  55. package/dist/components/plugins/viz-components/pareto-chart/option/index.d.ts +2 -2
  56. package/dist/components/plugins/viz-components/pareto-chart/option/series.d.ts +2 -2
  57. package/dist/components/plugins/viz-components/pie-chart/editors/pie-color-map-editor/pie-color-map-editor.d.ts +0 -1
  58. package/dist/components/plugins/viz-components/pie-chart/editors/radius-slider.d.ts +0 -1
  59. package/dist/components/plugins/viz-components/pie-chart/option/index.d.ts +1 -1
  60. package/dist/components/plugins/viz-components/regression-chart/render/toolbox/data-key-selector/data-key-selector.d.ts +3 -3
  61. package/dist/components/plugins/viz-components/regression-chart/render/use-data-key.d.ts +0 -1
  62. package/dist/components/plugins/viz-components/rich-text/triggers/click-rich-text-block.d.ts +6 -0
  63. package/dist/components/plugins/viz-components/rich-text/triggers/index.d.ts +1 -0
  64. package/dist/components/plugins/viz-components/rich-text/viz-rich-text.d.ts +1 -1
  65. package/dist/components/plugins/viz-components/scatter-chart/editors/scatter/label-overflow.d.ts +0 -1
  66. package/dist/components/plugins/viz-components/scatter-chart/editors/scatter/series-color-select/index.d.ts +0 -1
  67. package/dist/components/plugins/viz-components/sunburst/option/levels.d.ts +1 -1
  68. package/dist/components/plugins/viz-components/table/components/background-color-select.d.ts +0 -1
  69. package/dist/components/plugins/viz-components/table/editors/columns/func_content-editor.d.ts +0 -1
  70. package/dist/components/plugins/viz-components/table/render/table-body.d.ts +0 -1
  71. package/dist/components/plugins/viz-components/table/value-type-selector.d.ts +0 -1
  72. package/dist/components/plugins/viz-components/text/editors/func-content/index.d.ts +0 -1
  73. package/dist/components/view/view-component/render/division.d.ts +1 -1
  74. package/dist/components/view/view-component/utils/use-download-div-screenshot.d.ts +0 -1
  75. package/dist/components/view/view-editor.d.ts +0 -1
  76. package/dist/components/view/view-render.d.ts +0 -1
  77. package/dist/components/widgets/color-picker-popover/color-picker-popover-for-viz.d.ts +0 -1
  78. package/dist/components/widgets/inline-function-input/index.d.ts +0 -1
  79. package/dist/components/widgets/rich-text-editor/custom-rich-text-editor.d.ts +0 -1
  80. package/dist/components/widgets/rich-text-editor/interaction-block-node/index.d.ts +23 -0
  81. package/dist/components/widgets/rich-text-editor/interaction-block-node/interaction-block-control.d.ts +2 -0
  82. package/dist/components/widgets/rich-text-editor/readonly-rich-text-editor.d.ts +0 -1
  83. package/dist/contexts/dashboard-theme-context.d.ts +2 -2
  84. package/dist/contexts/panel-context.d.ts +2697 -8513
  85. package/dist/dashboard-editor/model/datasources/datasource.d.ts +4 -4
  86. package/dist/dashboard-editor/model/datasources/db-info/db-info.d.ts +2 -1
  87. package/dist/dashboard-editor/model/datasources/index.d.ts +19 -19
  88. package/dist/dashboard-editor/model/datasources/mm-info/metric-detail.d.ts +3 -3
  89. package/dist/dashboard-editor/model/datasources/mm-info/metric-detail.utils.d.ts +1 -1
  90. package/dist/dashboard-editor/model/datasources/mm-info/mm-info.d.ts +3 -3
  91. package/dist/dashboard-editor/model/filters/filter-model.d.ts +3 -3
  92. package/dist/dashboard-editor/model/filters/index.d.ts +36 -36
  93. package/dist/dashboard-editor/model/layouts/layouts.d.ts +2 -451
  94. package/dist/dashboard-editor/model/panels/panel.d.ts +9 -1464
  95. package/dist/dashboard-editor/model/panels/panels.d.ts +13968 -0
  96. package/dist/dashboard-editor/model/queries/queries.d.ts +105 -105
  97. package/dist/dashboard-editor/model/queries/query.d.ts +8 -8
  98. package/dist/dashboard-editor/model/views/index.d.ts +13 -1470
  99. package/dist/dashboard-editor/model/views/view.d.ts +2 -11
  100. package/dist/dashboard-editor/ui/settings/content/data-preview/data-table-with-pagination.d.ts +1 -1
  101. package/dist/dashboard-editor/ui/settings/content/data-preview/index.d.ts +1 -1
  102. package/dist/dashboard-editor/ui/settings/content/db-explorer-modal/db-explorer/structure/loading-skeleton.d.ts +4 -4
  103. package/dist/dashboard-editor/ui/settings/content/edit-panel/pick-query/index.d.ts +0 -1
  104. package/dist/dashboard-editor/ui/settings/content/edit-query/merico-metric-query-editor-form/preview-data/data-table-with-pagination.d.ts +1 -1
  105. package/dist/dashboard-editor/ui/settings/content/edit-query/merico-metric-query-editor-form/query-tabs/edit-metric-query/dimension-selector/dimension-icon/dimension-icon.d.ts +1 -1
  106. package/dist/dashboard-editor/ui/settings/content/edit-query/merico-metric-query-editor-form/query-tabs/edit-metric-query/sql-var-selector/index.d.ts +0 -1
  107. package/dist/dashboard-editor/ui/settings/content/edit-view/edit-view-form/index.d.ts +2 -1160
  108. package/dist/dashboard-editor/ui/settings/content/utils.d.ts +9 -9
  109. package/dist/dashboard-editor/ui/settings/content/view-query-vars/query-variables-guide.d.ts +0 -1
  110. package/dist/dashboard.es.js +7978 -7739
  111. package/dist/dashboard.umd.js +67 -67
  112. package/dist/i18n/en.d.ts +9 -0
  113. package/dist/i18n/zh.d.ts +9 -0
  114. package/dist/interactions/interactions-viewer/node-with-interactions/index.d.ts +2 -3
  115. package/dist/model/meta-model/context/context.d.ts +2 -2
  116. package/dist/model/meta-model/dashboard/content/filter/filter.d.ts +2 -2
  117. package/dist/model/meta-model/dashboard/content/filter/widgets/date-range.d.ts +5 -5
  118. package/dist/model/meta-model/dashboard/content/filter/widgets/merico-date-range.d.ts +5 -5
  119. package/dist/model/meta-model/dashboard/content/filter/widgets/multi-select.d.ts +6 -6
  120. package/dist/model/meta-model/dashboard/content/filter/widgets/select.d.ts +6 -6
  121. package/dist/model/meta-model/dashboard/content/filter/widgets/tree-select-base.d.ts +2 -2
  122. package/dist/model/meta-model/dashboard/content/filter/widgets/tree-select.d.ts +6 -6
  123. package/dist/model/meta-model/dashboard/content/filter/widgets/tree-single-select.d.ts +6 -6
  124. package/dist/model/meta-model/dashboard/content/layout/layout-item.d.ts +1 -1
  125. package/dist/model/render-model/dashboard/content/filters/filters.d.ts +25 -25
  126. package/dist/model/render-model/dashboard/content/layouts/layouts.d.ts +3 -452
  127. package/dist/model/render-model/dashboard/content/panels/panel.d.ts +7 -1462
  128. package/dist/model/render-model/dashboard/content/panels/panels.d.ts +12432 -0
  129. package/dist/model/render-model/dashboard/content/queries/queries.d.ts +72 -72
  130. package/dist/model/render-model/dashboard/content/queries/query.d.ts +8 -8
  131. package/dist/model/render-model/dashboard/content/views/view.d.ts +1 -1
  132. package/dist/model/render-model/dashboard/content/views/views.d.ts +9 -9
  133. package/dist/shared/api-client/default-api-client.d.ts +3 -3
  134. package/dist/stats.html +1 -1
  135. package/dist/utils/http-query.d.ts +1 -1
  136. package/dist/utils/template/render/render-string.d.ts +0 -1
  137. package/dist/version.json +2 -2
  138. package/package.json +6 -6
@@ -1,11 +1,11 @@
1
1
  import { ValidEditorPathType } from '../../../../dashboard-editor/model/editor';
2
- export declare function isQueryVars(path: ValidEditorPathType): boolean;
3
- export declare function isMockContext(path: ValidEditorPathType): boolean;
4
- export declare function isFilters(path: ValidEditorPathType): boolean;
5
- export declare function isFilter(path: ValidEditorPathType): boolean;
6
- export declare function isSQLSnippets(path: ValidEditorPathType): boolean;
7
- export declare function isSQLSnippet(path: ValidEditorPathType): boolean;
8
- export declare function isQuery(path: ValidEditorPathType): boolean;
9
- export declare function isQueries(path: ValidEditorPathType): boolean;
10
- export declare function isView(path: ValidEditorPathType): boolean;
2
+ export declare function isQueryVars(path: ValidEditorPathType): path is ["_QUERY_VARS_"];
3
+ export declare function isMockContext(path: ValidEditorPathType): path is ["_MOCK_CONTEXT_"];
4
+ export declare function isFilters(path: ValidEditorPathType): path is ["_FILTERS_"];
5
+ export declare function isFilter(path: ValidEditorPathType): path is ["_FILTERS_", string];
6
+ export declare function isSQLSnippets(path: ValidEditorPathType): path is ["_SQL_SNIPPETS_"];
7
+ export declare function isSQLSnippet(path: ValidEditorPathType): path is ["_SQL_SNIPPETS_", string];
8
+ export declare function isQuery(path: ValidEditorPathType): path is ["_QUERIES_", string];
9
+ export declare function isQueries(path: ValidEditorPathType): path is ["_QUERIES_"];
10
+ export declare function isView(path: ValidEditorPathType): path is ["_VIEWS_", string];
11
11
  export declare function isPanel(path: ValidEditorPathType): boolean;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { EmotionSx } from '@mantine/emotion';
3
2
  interface IQueryVariablesGuide {
4
3
  showSQLSnippets?: boolean;