@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
@@ -418,7 +418,7 @@ export declare const QueriesRenderModel: import("mobx-state-tree").IModelType<{
418
418
  readonly conditionOptions: import('../../../../../model/meta-model').DashboardStateVariableOptions;
419
419
  getConditionOptionsWithInvalidValue(value: string | null): import('../../../../../model/meta-model').DashboardStateVariableOptions;
420
420
  readonly conditionOptionsWithInvalidRunbys: {
421
- optionGroups: import("@mantine/core").ComboboxItemGroup<import("@mantine/core").ComboboxItem>[];
421
+ optionGroups: Array<import("@mantine/core").ComboboxItemGroup<import("@mantine/core").ComboboxItem>>;
422
422
  validValues: Set<string>;
423
423
  };
424
424
  readonly unmetRunByConditions: string[];
@@ -446,12 +446,12 @@ export declare const QueriesRenderModel: import("mobx-state-tree").IModelType<{
446
446
  filters: Record<string, {
447
447
  eq: string;
448
448
  } | {
449
- in: string[];
449
+ in: Array<string>;
450
450
  } | {
451
- between: any[] | [number, number];
451
+ between: [number, number] | any[];
452
452
  }>;
453
453
  groupBys: string[];
454
- variables?: Record<string, unknown> | undefined;
454
+ variables?: Record<string, unknown>;
455
455
  timeQuery?: {
456
456
  start: string;
457
457
  end: string;
@@ -459,10 +459,10 @@ export declare const QueriesRenderModel: import("mobx-state-tree").IModelType<{
459
459
  unitNumber: 1;
460
460
  timezone: string;
461
461
  stepKeyFormat: "YYYY-MM-DD";
462
- } | undefined;
463
- useDefaultValues?: boolean | undefined;
464
- extraCalculations?: string[] | undefined;
465
- semanticKey?: string | undefined;
462
+ };
463
+ useDefaultValues?: boolean;
464
+ extraCalculations?: string[];
465
+ semanticKey?: string;
466
466
  } | null;
467
467
  readonly metricQueryPayloadString: string;
468
468
  readonly metricQueryPayloadError: string[];
@@ -2090,7 +2090,7 @@ export declare const QueriesRenderModel: import("mobx-state-tree").IModelType<{
2090
2090
  readonly conditionOptions: import('../../../../../model/meta-model').DashboardStateVariableOptions;
2091
2091
  getConditionOptionsWithInvalidValue(value: string | null): import('../../../../../model/meta-model').DashboardStateVariableOptions;
2092
2092
  readonly conditionOptionsWithInvalidRunbys: {
2093
- optionGroups: import("@mantine/core").ComboboxItemGroup<import("@mantine/core").ComboboxItem>[];
2093
+ optionGroups: Array<import("@mantine/core").ComboboxItemGroup<import("@mantine/core").ComboboxItem>>;
2094
2094
  validValues: Set<string>;
2095
2095
  };
2096
2096
  readonly unmetRunByConditions: string[];
@@ -2118,12 +2118,12 @@ export declare const QueriesRenderModel: import("mobx-state-tree").IModelType<{
2118
2118
  filters: Record<string, {
2119
2119
  eq: string;
2120
2120
  } | {
2121
- in: string[];
2121
+ in: Array<string>;
2122
2122
  } | {
2123
- between: any[] | [number, number];
2123
+ between: [number, number] | any[];
2124
2124
  }>;
2125
2125
  groupBys: string[];
2126
- variables?: Record<string, unknown> | undefined;
2126
+ variables?: Record<string, unknown>;
2127
2127
  timeQuery?: {
2128
2128
  start: string;
2129
2129
  end: string;
@@ -2131,10 +2131,10 @@ export declare const QueriesRenderModel: import("mobx-state-tree").IModelType<{
2131
2131
  unitNumber: 1;
2132
2132
  timezone: string;
2133
2133
  stepKeyFormat: "YYYY-MM-DD";
2134
- } | undefined;
2135
- useDefaultValues?: boolean | undefined;
2136
- extraCalculations?: string[] | undefined;
2137
- semanticKey?: string | undefined;
2134
+ };
2135
+ useDefaultValues?: boolean;
2136
+ extraCalculations?: string[];
2137
+ semanticKey?: string;
2138
2138
  } | null;
2139
2139
  readonly metricQueryPayloadString: string;
2140
2140
  readonly metricQueryPayloadError: string[];
@@ -2577,7 +2577,7 @@ export declare const QueriesRenderModel: import("mobx-state-tree").IModelType<{
2577
2577
  readonly conditionOptions: import('../../../../../model/meta-model').DashboardStateVariableOptions;
2578
2578
  getConditionOptionsWithInvalidValue(value: string | null): import('../../../../../model/meta-model').DashboardStateVariableOptions;
2579
2579
  readonly conditionOptionsWithInvalidRunbys: {
2580
- optionGroups: import("@mantine/core").ComboboxItemGroup<import("@mantine/core").ComboboxItem>[];
2580
+ optionGroups: Array<import("@mantine/core").ComboboxItemGroup<import("@mantine/core").ComboboxItem>>;
2581
2581
  validValues: Set<string>;
2582
2582
  };
2583
2583
  readonly unmetRunByConditions: string[];
@@ -2605,12 +2605,12 @@ export declare const QueriesRenderModel: import("mobx-state-tree").IModelType<{
2605
2605
  filters: Record<string, {
2606
2606
  eq: string;
2607
2607
  } | {
2608
- in: string[];
2608
+ in: Array<string>;
2609
2609
  } | {
2610
- between: any[] | [number, number];
2610
+ between: [number, number] | any[];
2611
2611
  }>;
2612
2612
  groupBys: string[];
2613
- variables?: Record<string, unknown> | undefined;
2613
+ variables?: Record<string, unknown>;
2614
2614
  timeQuery?: {
2615
2615
  start: string;
2616
2616
  end: string;
@@ -2618,10 +2618,10 @@ export declare const QueriesRenderModel: import("mobx-state-tree").IModelType<{
2618
2618
  unitNumber: 1;
2619
2619
  timezone: string;
2620
2620
  stepKeyFormat: "YYYY-MM-DD";
2621
- } | undefined;
2622
- useDefaultValues?: boolean | undefined;
2623
- extraCalculations?: string[] | undefined;
2624
- semanticKey?: string | undefined;
2621
+ };
2622
+ useDefaultValues?: boolean;
2623
+ extraCalculations?: string[];
2624
+ semanticKey?: string;
2625
2625
  } | null;
2626
2626
  readonly metricQueryPayloadString: string;
2627
2627
  readonly metricQueryPayloadError: string[];
@@ -4246,7 +4246,7 @@ export declare const QueriesRenderModel: import("mobx-state-tree").IModelType<{
4246
4246
  readonly conditionOptions: import('../../../../../model/meta-model').DashboardStateVariableOptions;
4247
4247
  getConditionOptionsWithInvalidValue(value: string | null): import('../../../../../model/meta-model').DashboardStateVariableOptions;
4248
4248
  readonly conditionOptionsWithInvalidRunbys: {
4249
- optionGroups: import("@mantine/core").ComboboxItemGroup<import("@mantine/core").ComboboxItem>[];
4249
+ optionGroups: Array<import("@mantine/core").ComboboxItemGroup<import("@mantine/core").ComboboxItem>>;
4250
4250
  validValues: Set<string>;
4251
4251
  };
4252
4252
  readonly unmetRunByConditions: string[];
@@ -4274,12 +4274,12 @@ export declare const QueriesRenderModel: import("mobx-state-tree").IModelType<{
4274
4274
  filters: Record<string, {
4275
4275
  eq: string;
4276
4276
  } | {
4277
- in: string[];
4277
+ in: Array<string>;
4278
4278
  } | {
4279
- between: any[] | [number, number];
4279
+ between: [number, number] | any[];
4280
4280
  }>;
4281
4281
  groupBys: string[];
4282
- variables?: Record<string, unknown> | undefined;
4282
+ variables?: Record<string, unknown>;
4283
4283
  timeQuery?: {
4284
4284
  start: string;
4285
4285
  end: string;
@@ -4287,10 +4287,10 @@ export declare const QueriesRenderModel: import("mobx-state-tree").IModelType<{
4287
4287
  unitNumber: 1;
4288
4288
  timezone: string;
4289
4289
  stepKeyFormat: "YYYY-MM-DD";
4290
- } | undefined;
4291
- useDefaultValues?: boolean | undefined;
4292
- extraCalculations?: string[] | undefined;
4293
- semanticKey?: string | undefined;
4290
+ };
4291
+ useDefaultValues?: boolean;
4292
+ extraCalculations?: string[];
4293
+ semanticKey?: string;
4294
4294
  } | null;
4295
4295
  readonly metricQueryPayloadString: string;
4296
4296
  readonly metricQueryPayloadError: string[];
@@ -4733,7 +4733,7 @@ export declare const QueriesRenderModel: import("mobx-state-tree").IModelType<{
4733
4733
  readonly conditionOptions: import('../../../../../model/meta-model').DashboardStateVariableOptions;
4734
4734
  getConditionOptionsWithInvalidValue(value: string | null): import('../../../../../model/meta-model').DashboardStateVariableOptions;
4735
4735
  readonly conditionOptionsWithInvalidRunbys: {
4736
- optionGroups: import("@mantine/core").ComboboxItemGroup<import("@mantine/core").ComboboxItem>[];
4736
+ optionGroups: Array<import("@mantine/core").ComboboxItemGroup<import("@mantine/core").ComboboxItem>>;
4737
4737
  validValues: Set<string>;
4738
4738
  };
4739
4739
  readonly unmetRunByConditions: string[];
@@ -4761,12 +4761,12 @@ export declare const QueriesRenderModel: import("mobx-state-tree").IModelType<{
4761
4761
  filters: Record<string, {
4762
4762
  eq: string;
4763
4763
  } | {
4764
- in: string[];
4764
+ in: Array<string>;
4765
4765
  } | {
4766
- between: any[] | [number, number];
4766
+ between: [number, number] | any[];
4767
4767
  }>;
4768
4768
  groupBys: string[];
4769
- variables?: Record<string, unknown> | undefined;
4769
+ variables?: Record<string, unknown>;
4770
4770
  timeQuery?: {
4771
4771
  start: string;
4772
4772
  end: string;
@@ -4774,10 +4774,10 @@ export declare const QueriesRenderModel: import("mobx-state-tree").IModelType<{
4774
4774
  unitNumber: 1;
4775
4775
  timezone: string;
4776
4776
  stepKeyFormat: "YYYY-MM-DD";
4777
- } | undefined;
4778
- useDefaultValues?: boolean | undefined;
4779
- extraCalculations?: string[] | undefined;
4780
- semanticKey?: string | undefined;
4777
+ };
4778
+ useDefaultValues?: boolean;
4779
+ extraCalculations?: string[];
4780
+ semanticKey?: string;
4781
4781
  } | null;
4782
4782
  readonly metricQueryPayloadString: string;
4783
4783
  readonly metricQueryPayloadError: string[];
@@ -6481,7 +6481,7 @@ export declare const QueriesRenderModel: import("mobx-state-tree").IModelType<{
6481
6481
  readonly conditionOptions: import('../../../../../model/meta-model').DashboardStateVariableOptions;
6482
6482
  getConditionOptionsWithInvalidValue(value: string | null): import('../../../../../model/meta-model').DashboardStateVariableOptions;
6483
6483
  readonly conditionOptionsWithInvalidRunbys: {
6484
- optionGroups: import("@mantine/core").ComboboxItemGroup<import("@mantine/core").ComboboxItem>[];
6484
+ optionGroups: Array<import("@mantine/core").ComboboxItemGroup<import("@mantine/core").ComboboxItem>>;
6485
6485
  validValues: Set<string>;
6486
6486
  };
6487
6487
  readonly unmetRunByConditions: string[];
@@ -6509,12 +6509,12 @@ export declare const QueriesRenderModel: import("mobx-state-tree").IModelType<{
6509
6509
  filters: Record<string, {
6510
6510
  eq: string;
6511
6511
  } | {
6512
- in: string[];
6512
+ in: Array<string>;
6513
6513
  } | {
6514
- between: any[] | [number, number];
6514
+ between: [number, number] | any[];
6515
6515
  }>;
6516
6516
  groupBys: string[];
6517
- variables?: Record<string, unknown> | undefined;
6517
+ variables?: Record<string, unknown>;
6518
6518
  timeQuery?: {
6519
6519
  start: string;
6520
6520
  end: string;
@@ -6522,10 +6522,10 @@ export declare const QueriesRenderModel: import("mobx-state-tree").IModelType<{
6522
6522
  unitNumber: 1;
6523
6523
  timezone: string;
6524
6524
  stepKeyFormat: "YYYY-MM-DD";
6525
- } | undefined;
6526
- useDefaultValues?: boolean | undefined;
6527
- extraCalculations?: string[] | undefined;
6528
- semanticKey?: string | undefined;
6525
+ };
6526
+ useDefaultValues?: boolean;
6527
+ extraCalculations?: string[];
6528
+ semanticKey?: string;
6529
6529
  } | null;
6530
6530
  readonly metricQueryPayloadString: string;
6531
6531
  readonly metricQueryPayloadError: string[];
@@ -6968,7 +6968,7 @@ export declare const QueriesRenderModel: import("mobx-state-tree").IModelType<{
6968
6968
  readonly conditionOptions: import('../../../../../model/meta-model').DashboardStateVariableOptions;
6969
6969
  getConditionOptionsWithInvalidValue(value: string | null): import('../../../../../model/meta-model').DashboardStateVariableOptions;
6970
6970
  readonly conditionOptionsWithInvalidRunbys: {
6971
- optionGroups: import("@mantine/core").ComboboxItemGroup<import("@mantine/core").ComboboxItem>[];
6971
+ optionGroups: Array<import("@mantine/core").ComboboxItemGroup<import("@mantine/core").ComboboxItem>>;
6972
6972
  validValues: Set<string>;
6973
6973
  };
6974
6974
  readonly unmetRunByConditions: string[];
@@ -6996,12 +6996,12 @@ export declare const QueriesRenderModel: import("mobx-state-tree").IModelType<{
6996
6996
  filters: Record<string, {
6997
6997
  eq: string;
6998
6998
  } | {
6999
- in: string[];
6999
+ in: Array<string>;
7000
7000
  } | {
7001
- between: any[] | [number, number];
7001
+ between: [number, number] | any[];
7002
7002
  }>;
7003
7003
  groupBys: string[];
7004
- variables?: Record<string, unknown> | undefined;
7004
+ variables?: Record<string, unknown>;
7005
7005
  timeQuery?: {
7006
7006
  start: string;
7007
7007
  end: string;
@@ -7009,10 +7009,10 @@ export declare const QueriesRenderModel: import("mobx-state-tree").IModelType<{
7009
7009
  unitNumber: 1;
7010
7010
  timezone: string;
7011
7011
  stepKeyFormat: "YYYY-MM-DD";
7012
- } | undefined;
7013
- useDefaultValues?: boolean | undefined;
7014
- extraCalculations?: string[] | undefined;
7015
- semanticKey?: string | undefined;
7012
+ };
7013
+ useDefaultValues?: boolean;
7014
+ extraCalculations?: string[];
7015
+ semanticKey?: string;
7016
7016
  } | null;
7017
7017
  readonly metricQueryPayloadString: string;
7018
7018
  readonly metricQueryPayloadError: string[];
@@ -8637,7 +8637,7 @@ export declare const QueriesRenderModel: import("mobx-state-tree").IModelType<{
8637
8637
  readonly conditionOptions: import('../../../../../model/meta-model').DashboardStateVariableOptions;
8638
8638
  getConditionOptionsWithInvalidValue(value: string | null): import('../../../../../model/meta-model').DashboardStateVariableOptions;
8639
8639
  readonly conditionOptionsWithInvalidRunbys: {
8640
- optionGroups: import("@mantine/core").ComboboxItemGroup<import("@mantine/core").ComboboxItem>[];
8640
+ optionGroups: Array<import("@mantine/core").ComboboxItemGroup<import("@mantine/core").ComboboxItem>>;
8641
8641
  validValues: Set<string>;
8642
8642
  };
8643
8643
  readonly unmetRunByConditions: string[];
@@ -8665,12 +8665,12 @@ export declare const QueriesRenderModel: import("mobx-state-tree").IModelType<{
8665
8665
  filters: Record<string, {
8666
8666
  eq: string;
8667
8667
  } | {
8668
- in: string[];
8668
+ in: Array<string>;
8669
8669
  } | {
8670
- between: any[] | [number, number];
8670
+ between: [number, number] | any[];
8671
8671
  }>;
8672
8672
  groupBys: string[];
8673
- variables?: Record<string, unknown> | undefined;
8673
+ variables?: Record<string, unknown>;
8674
8674
  timeQuery?: {
8675
8675
  start: string;
8676
8676
  end: string;
@@ -8678,10 +8678,10 @@ export declare const QueriesRenderModel: import("mobx-state-tree").IModelType<{
8678
8678
  unitNumber: 1;
8679
8679
  timezone: string;
8680
8680
  stepKeyFormat: "YYYY-MM-DD";
8681
- } | undefined;
8682
- useDefaultValues?: boolean | undefined;
8683
- extraCalculations?: string[] | undefined;
8684
- semanticKey?: string | undefined;
8681
+ };
8682
+ useDefaultValues?: boolean;
8683
+ extraCalculations?: string[];
8684
+ semanticKey?: string;
8685
8685
  } | null;
8686
8686
  readonly metricQueryPayloadString: string;
8687
8687
  readonly metricQueryPayloadError: string[];
@@ -9124,7 +9124,7 @@ export declare const QueriesRenderModel: import("mobx-state-tree").IModelType<{
9124
9124
  readonly conditionOptions: import('../../../../../model/meta-model').DashboardStateVariableOptions;
9125
9125
  getConditionOptionsWithInvalidValue(value: string | null): import('../../../../../model/meta-model').DashboardStateVariableOptions;
9126
9126
  readonly conditionOptionsWithInvalidRunbys: {
9127
- optionGroups: import("@mantine/core").ComboboxItemGroup<import("@mantine/core").ComboboxItem>[];
9127
+ optionGroups: Array<import("@mantine/core").ComboboxItemGroup<import("@mantine/core").ComboboxItem>>;
9128
9128
  validValues: Set<string>;
9129
9129
  };
9130
9130
  readonly unmetRunByConditions: string[];
@@ -9152,12 +9152,12 @@ export declare const QueriesRenderModel: import("mobx-state-tree").IModelType<{
9152
9152
  filters: Record<string, {
9153
9153
  eq: string;
9154
9154
  } | {
9155
- in: string[];
9155
+ in: Array<string>;
9156
9156
  } | {
9157
- between: any[] | [number, number];
9157
+ between: [number, number] | any[];
9158
9158
  }>;
9159
9159
  groupBys: string[];
9160
- variables?: Record<string, unknown> | undefined;
9160
+ variables?: Record<string, unknown>;
9161
9161
  timeQuery?: {
9162
9162
  start: string;
9163
9163
  end: string;
@@ -9165,10 +9165,10 @@ export declare const QueriesRenderModel: import("mobx-state-tree").IModelType<{
9165
9165
  unitNumber: 1;
9166
9166
  timezone: string;
9167
9167
  stepKeyFormat: "YYYY-MM-DD";
9168
- } | undefined;
9169
- useDefaultValues?: boolean | undefined;
9170
- extraCalculations?: string[] | undefined;
9171
- semanticKey?: string | undefined;
9168
+ };
9169
+ useDefaultValues?: boolean;
9170
+ extraCalculations?: string[];
9171
+ semanticKey?: string;
9172
9172
  } | null;
9173
9173
  readonly metricQueryPayloadString: string;
9174
9174
  readonly metricQueryPayloadError: string[];
@@ -419,7 +419,7 @@ export declare const QueryRenderModel: import("mobx-state-tree").IModelType<{
419
419
  readonly conditionOptions: import('../../../../../model/meta-model').DashboardStateVariableOptions;
420
420
  getConditionOptionsWithInvalidValue(value: string | null): import('../../../../../model/meta-model').DashboardStateVariableOptions;
421
421
  readonly conditionOptionsWithInvalidRunbys: {
422
- optionGroups: import("@mantine/core").ComboboxItemGroup<import("@mantine/core").ComboboxItem>[];
422
+ optionGroups: Array<import("@mantine/core").ComboboxItemGroup<import("@mantine/core").ComboboxItem>>;
423
423
  validValues: Set<string>;
424
424
  };
425
425
  readonly unmetRunByConditions: string[];
@@ -447,12 +447,12 @@ export declare const QueryRenderModel: import("mobx-state-tree").IModelType<{
447
447
  filters: Record<string, {
448
448
  eq: string;
449
449
  } | {
450
- in: string[];
450
+ in: Array<string>;
451
451
  } | {
452
- between: any[] | [number, number];
452
+ between: [number, number] | any[];
453
453
  }>;
454
454
  groupBys: string[];
455
- variables?: Record<string, unknown> | undefined;
455
+ variables?: Record<string, unknown>;
456
456
  timeQuery?: {
457
457
  start: string;
458
458
  end: string;
@@ -460,10 +460,10 @@ export declare const QueryRenderModel: import("mobx-state-tree").IModelType<{
460
460
  unitNumber: 1;
461
461
  timezone: string;
462
462
  stepKeyFormat: "YYYY-MM-DD";
463
- } | undefined;
464
- useDefaultValues?: boolean | undefined;
465
- extraCalculations?: string[] | undefined;
466
- semanticKey?: string | undefined;
463
+ };
464
+ useDefaultValues?: boolean;
465
+ extraCalculations?: string[];
466
+ semanticKey?: string;
467
467
  } | null;
468
468
  readonly metricQueryPayloadString: string;
469
469
  readonly metricQueryPayloadError: string[];
@@ -361,7 +361,7 @@ export declare const ViewRenderModel: import("mobx-state-tree").IModelType<{
361
361
  readonly contentModel: IContentRenderModel;
362
362
  readonly panels: IPanelRenderModel[];
363
363
  readonly renderViewIDs: string[];
364
- downloadScreenshot(dom: HTMLElement, onScreenshot?: ((canvas: HTMLCanvasElement) => void) | undefined): Promise<void>;
364
+ downloadScreenshot(dom: HTMLElement, onScreenshot?: (canvas: HTMLCanvasElement) => void): Promise<void>;
365
365
  } & {
366
366
  setTab(tab: string | null): void;
367
367
  setTabByTabInfo(tabInfo: TabInfo): void;
@@ -363,7 +363,7 @@ export declare const ViewsRenderModel: import("mobx-state-tree").IModelType<{
363
363
  readonly contentModel: import("../../../../..").IContentRenderModel;
364
364
  readonly panels: import('../../../../../model').IPanelRenderModel[];
365
365
  readonly renderViewIDs: string[];
366
- downloadScreenshot(dom: HTMLElement, onScreenshot?: ((canvas: HTMLCanvasElement) => void) | undefined): Promise<void>;
366
+ downloadScreenshot(dom: HTMLElement, onScreenshot?: (canvas: HTMLCanvasElement) => void): Promise<void>;
367
367
  } & {
368
368
  setTab(tab: string | null): void;
369
369
  setTabByTabInfo(tabInfo: TabInfo): void;
@@ -2535,7 +2535,7 @@ export declare const ViewsRenderModel: import("mobx-state-tree").IModelType<{
2535
2535
  readonly contentModel: import("../../../../..").IContentRenderModel;
2536
2536
  readonly panels: import('../../../../../model').IPanelRenderModel[];
2537
2537
  readonly renderViewIDs: string[];
2538
- downloadScreenshot(dom: HTMLElement, onScreenshot?: ((canvas: HTMLCanvasElement) => void) | undefined): Promise<void>;
2538
+ downloadScreenshot(dom: HTMLElement, onScreenshot?: (canvas: HTMLCanvasElement) => void): Promise<void>;
2539
2539
  } & {
2540
2540
  setTab(tab: string | null): void;
2541
2541
  setTabByTabInfo(tabInfo: TabInfo): void;
@@ -2897,7 +2897,7 @@ export declare const ViewsRenderModel: import("mobx-state-tree").IModelType<{
2897
2897
  readonly contentModel: import("../../../../..").IContentRenderModel;
2898
2898
  readonly panels: import('../../../../../model').IPanelRenderModel[];
2899
2899
  readonly renderViewIDs: string[];
2900
- downloadScreenshot(dom: HTMLElement, onScreenshot?: ((canvas: HTMLCanvasElement) => void) | undefined): Promise<void>;
2900
+ downloadScreenshot(dom: HTMLElement, onScreenshot?: (canvas: HTMLCanvasElement) => void): Promise<void>;
2901
2901
  } & {
2902
2902
  setTab(tab: string | null): void;
2903
2903
  setTabByTabInfo(tabInfo: TabInfo): void;
@@ -3879,7 +3879,7 @@ export declare const ViewsRenderModel: import("mobx-state-tree").IModelType<{
3879
3879
  readonly contentModel: import("../../../../..").IContentRenderModel;
3880
3880
  readonly panels: import('../../../../../model').IPanelRenderModel[];
3881
3881
  readonly renderViewIDs: string[];
3882
- downloadScreenshot(dom: HTMLElement, onScreenshot?: ((canvas: HTMLCanvasElement) => void) | undefined): Promise<void>;
3882
+ downloadScreenshot(dom: HTMLElement, onScreenshot?: (canvas: HTMLCanvasElement) => void): Promise<void>;
3883
3883
  } & {
3884
3884
  setTab(tab: string | null): void;
3885
3885
  setTabByTabInfo(tabInfo: TabInfo): void;
@@ -4241,7 +4241,7 @@ export declare const ViewsRenderModel: import("mobx-state-tree").IModelType<{
4241
4241
  readonly contentModel: import("../../../../..").IContentRenderModel;
4242
4242
  readonly panels: import('../../../../../model').IPanelRenderModel[];
4243
4243
  readonly renderViewIDs: string[];
4244
- downloadScreenshot(dom: HTMLElement, onScreenshot?: ((canvas: HTMLCanvasElement) => void) | undefined): Promise<void>;
4244
+ downloadScreenshot(dom: HTMLElement, onScreenshot?: (canvas: HTMLCanvasElement) => void): Promise<void>;
4245
4245
  } & {
4246
4246
  setTab(tab: string | null): void;
4247
4247
  setTabByTabInfo(tabInfo: TabInfo): void;
@@ -5223,7 +5223,7 @@ export declare const ViewsRenderModel: import("mobx-state-tree").IModelType<{
5223
5223
  readonly contentModel: import("../../../../..").IContentRenderModel;
5224
5224
  readonly panels: import('../../../../../model').IPanelRenderModel[];
5225
5225
  readonly renderViewIDs: string[];
5226
- downloadScreenshot(dom: HTMLElement, onScreenshot?: ((canvas: HTMLCanvasElement) => void) | undefined): Promise<void>;
5226
+ downloadScreenshot(dom: HTMLElement, onScreenshot?: (canvas: HTMLCanvasElement) => void): Promise<void>;
5227
5227
  } & {
5228
5228
  setTab(tab: string | null): void;
5229
5229
  setTabByTabInfo(tabInfo: TabInfo): void;
@@ -5585,7 +5585,7 @@ export declare const ViewsRenderModel: import("mobx-state-tree").IModelType<{
5585
5585
  readonly contentModel: import("../../../../..").IContentRenderModel;
5586
5586
  readonly panels: import('../../../../../model').IPanelRenderModel[];
5587
5587
  readonly renderViewIDs: string[];
5588
- downloadScreenshot(dom: HTMLElement, onScreenshot?: ((canvas: HTMLCanvasElement) => void) | undefined): Promise<void>;
5588
+ downloadScreenshot(dom: HTMLElement, onScreenshot?: (canvas: HTMLCanvasElement) => void): Promise<void>;
5589
5589
  } & {
5590
5590
  setTab(tab: string | null): void;
5591
5591
  setTabByTabInfo(tabInfo: TabInfo): void;
@@ -6567,7 +6567,7 @@ export declare const ViewsRenderModel: import("mobx-state-tree").IModelType<{
6567
6567
  readonly contentModel: import("../../../../..").IContentRenderModel;
6568
6568
  readonly panels: import('../../../../../model').IPanelRenderModel[];
6569
6569
  readonly renderViewIDs: string[];
6570
- downloadScreenshot(dom: HTMLElement, onScreenshot?: ((canvas: HTMLCanvasElement) => void) | undefined): Promise<void>;
6570
+ downloadScreenshot(dom: HTMLElement, onScreenshot?: (canvas: HTMLCanvasElement) => void): Promise<void>;
6571
6571
  } & {
6572
6572
  setTab(tab: string | null): void;
6573
6573
  setTabByTabInfo(tabInfo: TabInfo): void;
@@ -6929,7 +6929,7 @@ export declare const ViewsRenderModel: import("mobx-state-tree").IModelType<{
6929
6929
  readonly contentModel: import("../../../../..").IContentRenderModel;
6930
6930
  readonly panels: import('../../../../../model').IPanelRenderModel[];
6931
6931
  readonly renderViewIDs: string[];
6932
- downloadScreenshot(dom: HTMLElement, onScreenshot?: ((canvas: HTMLCanvasElement) => void) | undefined): Promise<void>;
6932
+ downloadScreenshot(dom: HTMLElement, onScreenshot?: (canvas: HTMLCanvasElement) => void): Promise<void>;
6933
6933
  } & {
6934
6934
  setTab(tab: string | null): void;
6935
6935
  setTabByTabInfo(tabInfo: TabInfo): void;
@@ -12,9 +12,9 @@ export declare class DefaultApiClient implements IAPIClient {
12
12
  sign: string;
13
13
  } | undefined;
14
14
  getRequest<T>(method: Method, signal?: AbortSignal): (url: string, data: AnyObject, options: IAPIClientRequestOptions, forResponse?: boolean) => Promise<T>;
15
- get<T>(signal?: AbortSignal): (url: string, data: AnyObject, options: IAPIClientRequestOptions, forResponse?: boolean | undefined) => Promise<T>;
16
- post<T>(signal?: AbortSignal): (url: string, data: AnyObject, options: IAPIClientRequestOptions, forResponse?: boolean | undefined) => Promise<T>;
17
- put<T>(signal?: AbortSignal): (url: string, data: AnyObject, options: IAPIClientRequestOptions, forResponse?: boolean | undefined) => Promise<T>;
15
+ get<T>(signal?: AbortSignal): (url: string, data: AnyObject, options: IAPIClientRequestOptions, forResponse?: boolean) => Promise<T>;
16
+ post<T>(signal?: AbortSignal): (url: string, data: AnyObject, options: IAPIClientRequestOptions, forResponse?: boolean) => Promise<T>;
17
+ put<T>(signal?: AbortSignal): (url: string, data: AnyObject, options: IAPIClientRequestOptions, forResponse?: boolean) => Promise<T>;
18
18
  buildAxiosConfig(method: Method, url: string, data: AnyObject, options: IAPIClientRequestOptions, headers: AnyObject, signal: AbortSignal | undefined): AxiosRequestConfig<any>;
19
19
  buildHeader(options: IAPIClientRequestOptions): AnyObject;
20
20
  }