@devtable/dashboard 8.51.0 → 8.51.2
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/api-caller/index.d.ts +43 -0
- package/dist/api-caller/request.d.ts +13 -0
- package/dist/api-caller/types.d.ts +21 -0
- package/dist/components/about-function-utils/index.d.ts +2 -0
- package/dist/components/function-editor.tsx/index.d.ts +7 -0
- package/dist/components/inline-function-input/index.d.ts +9 -0
- package/dist/components/minimal-monaco-editor.d.ts +9 -0
- package/dist/contexts/dashboard-action-context.d.ts +6 -0
- package/dist/contexts/full-screen-panel-context.d.ts +7 -0
- package/dist/contexts/index.d.ts +4 -0
- package/dist/contexts/layout-state-context.d.ts +7 -0
- package/dist/contexts/panel-context.d.ts +14 -0
- package/dist/dashboard.es.js +3 -3
- package/dist/dashboard.umd.js +1 -1
- package/dist/filter/filter-checkbox/editor.d.ts +8 -0
- package/dist/filter/filter-checkbox/render.d.ts +12 -0
- package/dist/filter/filter-date-range/editor.d.ts +7 -0
- package/dist/filter/filter-date-range/render.d.ts +12 -0
- package/dist/filter/filter-multi-select/editor.d.ts +7 -0
- package/dist/filter/filter-multi-select/render.d.ts +12 -0
- package/dist/filter/filter-select/editor.d.ts +7 -0
- package/dist/filter/filter-select/render.d.ts +12 -0
- package/dist/filter/filter-settings/filter-setting.d.ts +7 -0
- package/dist/filter/filter-settings/preview-filter.d.ts +7 -0
- package/dist/filter/filter-text-input/editor.d.ts +7 -0
- package/dist/filter/filter-text-input/render.d.ts +10 -0
- package/dist/filter/filter-tree-select/editor.d.ts +7 -0
- package/dist/filter/filter-tree-select/expected-structure.d.ts +2 -0
- package/dist/filter/filter-tree-select/render/index.d.ts +12 -0
- package/dist/filter/filter-tree-select/render/query-data-to-tree.d.ts +2 -0
- package/dist/filter/filter-tree-select/render/switcher-icon.d.ts +3 -0
- package/dist/filter/filter-tree-select/render/tree-icon.d.ts +3 -0
- package/dist/filter/filter-tree-select/render/widget.d.ts +15 -0
- package/dist/filter/filter-tree-select/render/widget.styles.d.ts +14 -0
- package/dist/filter/filter-tree-select/types.d.ts +14 -0
- package/dist/filter/filter.d.ts +9 -0
- package/dist/filter/index.d.ts +5 -0
- package/dist/filter/pick-query-for-filter/expected-structure-for-select.d.ts +2 -0
- package/dist/filter/pick-query-for-filter/index.d.ts +7 -0
- package/dist/filter/select-item.d.ts +7 -0
- package/dist/global.d.ts +14 -0
- package/dist/index.d.ts +14 -0
- package/dist/interactions/attachment-instance-manager.d.ts +14 -0
- package/dist/interactions/components/index.d.ts +2 -0
- package/dist/interactions/components/interaction-settings.d.ts +13 -0
- package/dist/interactions/components/operation-select.d.ts +11 -0
- package/dist/interactions/components/trigger-config-model.d.ts +18 -0
- package/dist/interactions/components/trigger-select.d.ts +8 -0
- package/dist/interactions/components/variable-list.d.ts +7 -0
- package/dist/interactions/hooks/index.d.ts +2 -0
- package/dist/interactions/hooks/use-current-interaction-manager.d.ts +6 -0
- package/dist/interactions/hooks/use-watch-triggers.d.ts +2 -0
- package/dist/interactions/index.d.ts +5 -0
- package/dist/interactions/interaction-manager.d.ts +14 -0
- package/dist/interactions/interactions-viewer/data/edges.d.ts +8 -0
- package/dist/interactions/interactions-viewer/data/index.d.ts +5 -0
- package/dist/interactions/interactions-viewer/data/metrics.d.ts +22 -0
- package/dist/interactions/interactions-viewer/data/nodes.d.ts +3 -0
- package/dist/interactions/interactions-viewer/data/position.d.ts +12 -0
- package/dist/interactions/interactions-viewer/data/types.d.ts +15 -0
- package/dist/interactions/interactions-viewer/index.d.ts +9 -0
- package/dist/interactions/interactions-viewer/node-with-interactions/index.d.ts +8 -0
- package/dist/interactions/interactions-viewer/node-with-interactions/lines.d.ts +4 -0
- package/dist/interactions/interactions-viewer/node-with-interactions/types.d.ts +23 -0
- package/dist/interactions/interactions-viewer/viewer.d.ts +4 -0
- package/dist/interactions/operation/index.d.ts +2 -0
- package/dist/interactions/operation/operation-manager-impl.d.ts +16 -0
- package/dist/interactions/operation/operations/clear-filter-values.d.ts +5 -0
- package/dist/interactions/operation/operations/console-log.d.ts +5 -0
- package/dist/interactions/operation/operations/index.d.ts +2 -0
- package/dist/interactions/operation/operations/open-link.d.ts +6 -0
- package/dist/interactions/operation/operations/open-view.d.ts +5 -0
- package/dist/interactions/operation/operations/set-filter-values.d.ts +5 -0
- package/dist/interactions/temp-hack.d.ts +2 -0
- package/dist/interactions/trigger/index.d.ts +1 -0
- package/dist/interactions/trigger/trigger-manager-impl.d.ts +21 -0
- package/dist/main/dashboard-editor/header/index.d.ts +9 -0
- package/dist/main/dashboard-editor/index.d.ts +18 -0
- package/dist/main/dashboard-editor/navbar/index.d.ts +4 -0
- package/dist/main/dashboard-editor/navbar/view-links.d.ts +4 -0
- package/dist/main/dashboard-editor/settings/content/data-preview/data-table.d.ts +5 -0
- package/dist/main/dashboard-editor/settings/content/data-preview/data-table.style.d.ts +2 -0
- package/dist/main/dashboard-editor/settings/content/data-preview/index.d.ts +4 -0
- package/dist/main/dashboard-editor/settings/content/data-preview/query-state-message.d.ts +6 -0
- package/dist/main/dashboard-editor/settings/content/db-explorer-modal/db-explorer/full-space-loading.d.ts +4 -0
- package/dist/main/dashboard-editor/settings/content/db-explorer-modal/db-explorer/index.d.ts +7 -0
- package/dist/main/dashboard-editor/settings/content/db-explorer-modal/db-explorer/structure/columns-table.d.ts +7 -0
- package/dist/main/dashboard-editor/settings/content/db-explorer-modal/db-explorer/structure/index.d.ts +7 -0
- package/dist/main/dashboard-editor/settings/content/db-explorer-modal/db-explorer/structure/indexes-table.d.ts +17 -0
- package/dist/main/dashboard-editor/settings/content/db-explorer-modal/db-explorer/structure/loading-skeleton.d.ts +9 -0
- package/dist/main/dashboard-editor/settings/content/db-explorer-modal/db-explorer/structure/tooltip-value.d.ts +4 -0
- package/dist/main/dashboard-editor/settings/content/db-explorer-modal/db-explorer/table-data/index.d.ts +7 -0
- package/dist/main/dashboard-editor/settings/content/db-explorer-modal/db-explorer/table-data/pagination-control.d.ts +7 -0
- package/dist/main/dashboard-editor/settings/content/db-explorer-modal/db-explorer/table-nav-links.d.ts +7 -0
- package/dist/main/dashboard-editor/settings/content/db-explorer-modal/index.d.ts +11 -0
- package/dist/main/dashboard-editor/settings/content/edit-filter/index.d.ts +6 -0
- package/dist/main/dashboard-editor/settings/content/edit-mock-context/index.d.ts +4 -0
- package/dist/main/dashboard-editor/settings/content/edit-panel/change-view-of-panel.d.ts +10 -0
- package/dist/main/dashboard-editor/settings/content/edit-panel/index.d.ts +7 -0
- package/dist/main/dashboard-editor/settings/content/edit-panel/panel-config/description.d.ts +4 -0
- package/dist/main/dashboard-editor/settings/content/edit-panel/panel-config/edit-style.d.ts +4 -0
- package/dist/main/dashboard-editor/settings/content/edit-panel/panel-config/index.d.ts +2 -0
- package/dist/main/dashboard-editor/settings/content/edit-panel/panel-config/title.d.ts +4 -0
- package/dist/main/dashboard-editor/settings/content/edit-panel/panel-editor.d.ts +7 -0
- package/dist/main/dashboard-editor/settings/content/edit-panel/pick-query/index.d.ts +2 -0
- package/dist/main/dashboard-editor/settings/content/edit-panel/preview-panel.d.ts +4 -0
- package/dist/main/dashboard-editor/settings/content/edit-panel/preview-viz.d.ts +6 -0
- package/dist/main/dashboard-editor/settings/content/edit-panel/select-viz-type.d.ts +9 -0
- package/dist/main/dashboard-editor/settings/content/edit-panel/variable-config/model.d.ts +542 -0
- package/dist/main/dashboard-editor/settings/content/edit-panel/variable-config/styles.d.ts +8 -0
- package/dist/main/dashboard-editor/settings/content/edit-panel/variable-config/variable-config-panel.d.ts +11 -0
- package/dist/main/dashboard-editor/settings/content/edit-panel/variable-config/variable-field.d.ts +10 -0
- package/dist/main/dashboard-editor/settings/content/edit-panel/viz-conf.d.ts +4 -0
- package/dist/main/dashboard-editor/settings/content/edit-query/index.d.ts +6 -0
- package/dist/main/dashboard-editor/settings/content/edit-query/query-editor-form/configurations.d.ts +9 -0
- package/dist/main/dashboard-editor/settings/content/edit-query/query-editor-form/delete-query.d.ts +8 -0
- package/dist/main/dashboard-editor/settings/content/edit-query/query-editor-form/index.d.ts +9 -0
- package/dist/main/dashboard-editor/settings/content/edit-query/query-editor-form/query-usage.d.ts +10 -0
- package/dist/main/dashboard-editor/settings/content/edit-query/query-editor-form/select-data-source.d.ts +16 -0
- package/dist/main/dashboard-editor/settings/content/edit-query/query-editor-form/tabs/http/index.d.ts +11 -0
- package/dist/main/dashboard-editor/settings/content/edit-query/query-editor-form/tabs/sql/index.d.ts +11 -0
- package/dist/main/dashboard-editor/settings/content/edit-query/query-editor-form/tabs/sql/preview-sql-in-monaco-editor.d.ts +8 -0
- package/dist/main/dashboard-editor/settings/content/edit-query/query-editor-form/tabs/sql/preview-sql.d.ts +8 -0
- package/dist/main/dashboard-editor/settings/content/edit-sql-snippet/index.d.ts +6 -0
- package/dist/main/dashboard-editor/settings/content/edit-sql-snippet/item-editor.d.ts +11 -0
- package/dist/main/dashboard-editor/settings/content/edit-sql-snippet/preview-snippet.d.ts +8 -0
- package/dist/main/dashboard-editor/settings/content/edit-view/edit-view-form/config-fields/config.division.d.ts +7 -0
- package/dist/main/dashboard-editor/settings/content/edit-view/edit-view-form/config-fields/config.tabs.d.ts +7 -0
- package/dist/main/dashboard-editor/settings/content/edit-view/edit-view-form/config-fields/index.d.ts +7 -0
- package/dist/main/dashboard-editor/settings/content/edit-view/edit-view-form/config-fields/modal/index.d.ts +7 -0
- package/dist/main/dashboard-editor/settings/content/edit-view/edit-view-form/config-fields/modal/modal-title-editor/function-editor.d.ts +8 -0
- package/dist/main/dashboard-editor/settings/content/edit-view/edit-view-form/config-fields/modal/modal-title-editor/index.d.ts +8 -0
- package/dist/main/dashboard-editor/settings/content/edit-view/edit-view-form/config-fields/modal/modal-title-editor/types.d.ts +8 -0
- package/dist/main/dashboard-editor/settings/content/edit-view/edit-view-form/index.d.ts +915 -0
- package/dist/main/dashboard-editor/settings/content/edit-view/index.d.ts +6 -0
- package/dist/main/dashboard-editor/settings/content/index.d.ts +4 -0
- package/dist/main/dashboard-editor/settings/content/utils.d.ts +8 -0
- package/dist/main/dashboard-editor/settings/content/view-global-vars/global-variables-guide.d.ts +8 -0
- package/dist/main/dashboard-editor/settings/content/view-global-vars/global-variables-modal.d.ts +4 -0
- package/dist/main/dashboard-editor/settings/content/view-global-vars/index.d.ts +4 -0
- package/dist/main/dashboard-editor/settings/index.d.ts +4 -0
- package/dist/main/dashboard-editor/settings/navbar/add-item-button/add-a-filter.d.ts +4 -0
- package/dist/main/dashboard-editor/settings/navbar/add-item-button/add-a-panel.d.ts +8 -0
- package/dist/main/dashboard-editor/settings/navbar/add-item-button/add-a-query.d.ts +4 -0
- package/dist/main/dashboard-editor/settings/navbar/add-item-button/add-a-sql-snippet.d.ts +4 -0
- package/dist/main/dashboard-editor/settings/navbar/add-item-button/add-a-view.d.ts +4 -0
- package/dist/main/dashboard-editor/settings/navbar/add-item-button/index.d.ts +10 -0
- package/dist/main/dashboard-editor/settings/navbar/index.d.ts +4 -0
- package/dist/main/dashboard-editor/settings/navbar/nav-links.d.ts +4 -0
- package/dist/main/dashboard-editor/utils/load-monaco-editor.d.ts +1 -0
- package/dist/main/dashboard-render/index.d.ts +15 -0
- package/dist/main/full-screen-panel.d.ts +8 -0
- package/dist/main/index.d.ts +3 -0
- package/dist/main/use-panel-full-screen.d.ts +2774 -0
- package/dist/main/use-top-level-services.d.ts +3 -0
- package/dist/model/context.d.ts +11 -0
- package/dist/model/datasources/columns.d.ts +19 -0
- package/dist/model/datasources/datasource.d.ts +86 -0
- package/dist/model/datasources/index.d.ts +309 -0
- package/dist/model/datasources/indexes.d.ts +25 -0
- package/dist/model/datasources/table-data.d.ts +27 -0
- package/dist/model/datasources/tables.d.ts +15 -0
- package/dist/model/editor/index.d.ts +37 -0
- package/dist/model/filters/filter/checkbox.d.ts +46 -0
- package/dist/model/filters/filter/common.d.ts +16 -0
- package/dist/model/filters/filter/date-range.d.ts +114 -0
- package/dist/model/filters/filter/index.d.ts +97 -0
- package/dist/model/filters/filter/multi-select.d.ts +171 -0
- package/dist/model/filters/filter/select-base.d.ts +33 -0
- package/dist/model/filters/filter/select.d.ts +171 -0
- package/dist/model/filters/filter/text-input.d.ts +46 -0
- package/dist/model/filters/filter/tree-select.d.ts +159 -0
- package/dist/model/filters/index.d.ts +588 -0
- package/dist/model/index.d.ts +7 -0
- package/dist/model/mock-context.d.ts +11 -0
- package/dist/model/panels/index.d.ts +9765 -0
- package/dist/model/panels/layout.d.ts +22 -0
- package/dist/model/panels/panel.d.ts +617 -0
- package/dist/model/panels/style/border.d.ts +11 -0
- package/dist/model/panels/style/index.d.ts +19 -0
- package/dist/model/panels/viz.d.ts +15 -0
- package/dist/model/queries/index.d.ts +220 -0
- package/dist/model/queries/mute-query.d.ts +45 -0
- package/dist/model/queries/query.d.ts +84 -0
- package/dist/model/queries/types.d.ts +5 -0
- package/dist/model/sql-snippets/index.d.ts +62 -0
- package/dist/model/sql-snippets/sql-snippet.d.ts +16 -0
- package/dist/model/sql-snippets/types.d.ts +3 -0
- package/dist/model/variables/index.d.ts +243 -0
- package/dist/model/views/index.d.ts +4824 -0
- package/dist/model/views/view/division.d.ts +24 -0
- package/dist/model/views/view/index.d.ts +221 -0
- package/dist/model/views/view/modal.d.ts +124 -0
- package/dist/model/views/view/tabs.d.ts +170 -0
- package/dist/panel/index.d.ts +9 -0
- package/dist/panel/panel-description.d.ts +4 -0
- package/dist/panel/panel-dropdown-menu.d.ts +7 -0
- package/dist/panel/plugin-adaptor.d.ts +9 -0
- package/dist/panel/settings/common/aggregation-selector.d.ts +11 -0
- package/dist/panel/settings/common/color-array-input.d.ts +8 -0
- package/dist/panel/settings/common/custom-rich-text-editor.d.ts +11 -0
- package/dist/panel/settings/common/data-field-selector.d.ts +13 -0
- package/dist/panel/settings/common/mantine-color-swatches.d.ts +8 -0
- package/dist/panel/settings/common/mantine-color.d.ts +7 -0
- package/dist/panel/settings/common/mantine-font-weight.d.ts +8 -0
- package/dist/panel/settings/common/mantine-size-selector.d.ts +9 -0
- package/dist/panel/settings/common/numbro-format-selector.d.ts +14 -0
- package/dist/panel/settings/common/readonly-rich-text-editor.d.ts +8 -0
- package/dist/panel/settings/common/text-array-input.d.ts +12 -0
- package/dist/panel/title-bar.d.ts +2 -0
- package/dist/panel/use-config-viz-instance-service.d.ts +3 -0
- package/dist/panel/viz/index.d.ts +13 -0
- package/dist/plugins/color-manager/color-manager.d.ts +9 -0
- package/dist/plugins/color-manager/impl.d.ts +13 -0
- package/dist/plugins/color-manager/index.d.ts +2 -0
- package/dist/plugins/color-manager/multi-step-value-mapper.d.ts +9 -0
- package/dist/plugins/color-manager/type.d.ts +7 -0
- package/dist/plugins/colors/diverging-color.d.ts +2 -0
- package/dist/plugins/colors/index.d.ts +9 -0
- package/dist/plugins/colors/sequential-color.d.ts +2 -0
- package/dist/plugins/common-echarts-fields/axis-label-overflow/axis-label-overflow-field.d.ts +8 -0
- package/dist/plugins/common-echarts-fields/axis-label-overflow/index.d.ts +4 -0
- package/dist/plugins/common-echarts-fields/axis-label-overflow/overflow-field.d.ts +9 -0
- package/dist/plugins/common-echarts-fields/axis-label-overflow/overflow-option.d.ts +7 -0
- package/dist/plugins/common-echarts-fields/axis-label-overflow/types.d.ts +10 -0
- package/dist/plugins/common-echarts-fields/label-position/index.d.ts +2 -0
- package/dist/plugins/common-echarts-fields/label-position/label-position-selector.d.ts +10 -0
- package/dist/plugins/common-echarts-fields/label-position/types.d.ts +6 -0
- package/dist/plugins/common-echarts-fields/reference-area/field.d.ts +16 -0
- package/dist/plugins/common-echarts-fields/reference-area/option.d.ts +34 -0
- package/dist/plugins/common-echarts-fields/reference-area/types.d.ts +25 -0
- package/dist/plugins/common-echarts-fields/regression-line/index.d.ts +2 -0
- package/dist/plugins/common-echarts-fields/regression-line/option.d.ts +2 -0
- package/dist/plugins/common-echarts-fields/regression-line/types.d.ts +27 -0
- package/dist/plugins/common-echarts-fields/tooltip-metric/index.d.ts +1 -0
- package/dist/plugins/common-echarts-fields/tooltip-metric/types.d.ts +5 -0
- package/dist/plugins/controls/color-interpolation-select/index.d.ts +9 -0
- package/dist/plugins/controls/color-mapping-editor/index.d.ts +8 -0
- package/dist/plugins/controls/color-mapping-editor/style.d.ts +9 -0
- package/dist/plugins/hooks/index.d.ts +2 -0
- package/dist/plugins/hooks/use-channel-event.d.ts +2 -0
- package/dist/plugins/hooks/use-storage-data.d.ts +6 -0
- package/dist/plugins/hooks/use-tab-state.d.ts +5 -0
- package/dist/plugins/index.d.ts +5 -0
- package/dist/plugins/instance-migrator/index.d.ts +31 -0
- package/dist/plugins/json-plugin-storage.d.ts +12 -0
- package/dist/plugins/message-channels.d.ts +7 -0
- package/dist/plugins/plugin-context.d.ts +2798 -0
- package/dist/plugins/plugin-data-migrator/index.d.ts +2 -0
- package/dist/plugins/plugin-data-migrator/plugin-data-migrator.d.ts +28 -0
- package/dist/plugins/plugin-data-migrator/version-based-migrator.d.ts +18 -0
- package/dist/plugins/plugin-manager.d.ts +17 -0
- package/dist/plugins/sub-tree-json-plugin-storage.d.ts +10 -0
- package/dist/plugins/viz-components/bar-3d-chart/index.d.ts +2 -0
- package/dist/plugins/viz-components/bar-3d-chart/type.d.ts +13 -0
- package/dist/plugins/viz-components/bar-3d-chart/viz-bar-3d-chart-panel.d.ts +3 -0
- package/dist/plugins/viz-components/bar-3d-chart/viz-bar-3d-chart.d.ts +3 -0
- package/dist/plugins/viz-components/boxplot-chart/editors/reference-lines/index.d.ts +11 -0
- package/dist/plugins/viz-components/boxplot-chart/editors/reference-lines/reference-line.d.ts +14 -0
- package/dist/plugins/viz-components/boxplot-chart/editors/x-axis.d.ts +11 -0
- package/dist/plugins/viz-components/boxplot-chart/editors/y-axis.d.ts +11 -0
- package/dist/plugins/viz-components/boxplot-chart/index.d.ts +7 -0
- package/dist/plugins/viz-components/boxplot-chart/option/common.d.ts +2 -0
- package/dist/plugins/viz-components/boxplot-chart/option/index.d.ts +100 -0
- package/dist/plugins/viz-components/boxplot-chart/option/legend.d.ts +4 -0
- package/dist/plugins/viz-components/boxplot-chart/option/tooltip.d.ts +9 -0
- package/dist/plugins/viz-components/boxplot-chart/triggers/click-boxplot.d.ts +7 -0
- package/dist/plugins/viz-components/boxplot-chart/triggers/index.d.ts +1 -0
- package/dist/plugins/viz-components/boxplot-chart/type.d.ts +36 -0
- package/dist/plugins/viz-components/boxplot-chart/viz-boxplot-chart-panel.d.ts +3 -0
- package/dist/plugins/viz-components/boxplot-chart/viz-boxplot-chart.d.ts +3 -0
- package/dist/plugins/viz-components/button/index.d.ts +2 -0
- package/dist/plugins/viz-components/button/triggers/click-button.d.ts +7 -0
- package/dist/plugins/viz-components/button/triggers/index.d.ts +1 -0
- package/dist/plugins/viz-components/button/type.d.ts +11 -0
- package/dist/plugins/viz-components/button/viz-button-panel.d.ts +3 -0
- package/dist/plugins/viz-components/button/viz-button.d.ts +5 -0
- package/dist/plugins/viz-components/calendar-heatmap/editors/calendar/index.d.ts +10 -0
- package/dist/plugins/viz-components/calendar-heatmap/editors/heat_block/index.d.ts +10 -0
- package/dist/plugins/viz-components/calendar-heatmap/editors/tooltip/index.d.ts +10 -0
- package/dist/plugins/viz-components/calendar-heatmap/editors/tooltip/metric.d.ts +11 -0
- package/dist/plugins/viz-components/calendar-heatmap/editors/tooltip/metrics.d.ts +10 -0
- package/dist/plugins/viz-components/calendar-heatmap/index.d.ts +2 -0
- package/dist/plugins/viz-components/calendar-heatmap/option/calendar.d.ts +22 -0
- package/dist/plugins/viz-components/calendar-heatmap/option/formatters.d.ts +6 -0
- package/dist/plugins/viz-components/calendar-heatmap/option/index.d.ts +4 -0
- package/dist/plugins/viz-components/calendar-heatmap/option/legend.d.ts +10 -0
- package/dist/plugins/viz-components/calendar-heatmap/option/series.d.ts +15 -0
- package/dist/plugins/viz-components/calendar-heatmap/option/tooltip.d.ts +8 -0
- package/dist/plugins/viz-components/calendar-heatmap/option/visual-map.d.ts +10 -0
- package/dist/plugins/viz-components/calendar-heatmap/triggers/click-calendar-date.d.ts +7 -0
- package/dist/plugins/viz-components/calendar-heatmap/triggers/index.d.ts +1 -0
- package/dist/plugins/viz-components/calendar-heatmap/type.d.ts +19 -0
- package/dist/plugins/viz-components/calendar-heatmap/viz-calendar-heatmap-editor.d.ts +3 -0
- package/dist/plugins/viz-components/calendar-heatmap/viz-calendar-heatmap.d.ts +3 -0
- package/dist/plugins/viz-components/cartesian/editors/echarts-zooming-field/get-echarts-data-zoom-option.d.ts +35 -0
- package/dist/plugins/viz-components/cartesian/editors/echarts-zooming-field/index.d.ts +8 -0
- package/dist/plugins/viz-components/cartesian/editors/echarts-zooming-field/types.d.ts +12 -0
- package/dist/plugins/viz-components/cartesian/editors/reference-areas/index.d.ts +11 -0
- package/dist/plugins/viz-components/cartesian/editors/reference-areas/reference-area.d.ts +14 -0
- package/dist/plugins/viz-components/cartesian/editors/reference-lines/index.d.ts +11 -0
- package/dist/plugins/viz-components/cartesian/editors/reference-lines/reference-line.d.ts +19 -0
- package/dist/plugins/viz-components/cartesian/editors/regressions/index.d.ts +10 -0
- package/dist/plugins/viz-components/cartesian/editors/regressions/regression-item.d.ts +16 -0
- package/dist/plugins/viz-components/cartesian/editors/scatter-size-select/dynamic-size-function-editor.d.ts +8 -0
- package/dist/plugins/viz-components/cartesian/editors/scatter-size-select/dynamic.d.ts +9 -0
- package/dist/plugins/viz-components/cartesian/editors/scatter-size-select/get-echarts-symbol-size.d.ts +3 -0
- package/dist/plugins/viz-components/cartesian/editors/scatter-size-select/index.d.ts +11 -0
- package/dist/plugins/viz-components/cartesian/editors/scatter-size-select/static.d.ts +8 -0
- package/dist/plugins/viz-components/cartesian/editors/scatter-size-select/types.d.ts +13 -0
- package/dist/plugins/viz-components/cartesian/editors/series/fields.bar.d.ts +10 -0
- package/dist/plugins/viz-components/cartesian/editors/series/fields.line.d.ts +12 -0
- package/dist/plugins/viz-components/cartesian/editors/series/fields.scatter.d.ts +11 -0
- package/dist/plugins/viz-components/cartesian/editors/series/index.d.ts +10 -0
- package/dist/plugins/viz-components/cartesian/editors/series/series-item.d.ts +16 -0
- package/dist/plugins/viz-components/cartesian/editors/stats/index.d.ts +10 -0
- package/dist/plugins/viz-components/cartesian/editors/x-axis/index.d.ts +10 -0
- package/dist/plugins/viz-components/cartesian/editors/x-axis/x-axis-label-formatter/function-editor.d.ts +8 -0
- package/dist/plugins/viz-components/cartesian/editors/x-axis/x-axis-label-formatter/get-echarts-x-axis-tick-label.d.ts +2 -0
- package/dist/plugins/viz-components/cartesian/editors/x-axis/x-axis-label-formatter/index.d.ts +10 -0
- package/dist/plugins/viz-components/cartesian/editors/x-axis/x-axis-label-formatter/types.d.ts +8 -0
- package/dist/plugins/viz-components/cartesian/editors/y-axes.d.ts +9 -0
- package/dist/plugins/viz-components/cartesian/index.d.ts +7 -0
- package/dist/plugins/viz-components/cartesian/migrators/index.d.ts +19 -0
- package/dist/plugins/viz-components/cartesian/option/events.d.ts +2 -0
- package/dist/plugins/viz-components/cartesian/option/grid.d.ts +5 -0
- package/dist/plugins/viz-components/cartesian/option/index.d.ts +3 -0
- package/dist/plugins/viz-components/cartesian/option/legend.d.ts +2 -0
- package/dist/plugins/viz-components/cartesian/option/regression.d.ts +5 -0
- package/dist/plugins/viz-components/cartesian/option/series/data.d.ts +21 -0
- package/dist/plugins/viz-components/cartesian/option/series/index.d.ts +4 -0
- package/dist/plugins/viz-components/cartesian/option/series/reference_areas.d.ts +16 -0
- package/dist/plugins/viz-components/cartesian/option/series/reference_lines.d.ts +32 -0
- package/dist/plugins/viz-components/cartesian/option/series/series_items.d.ts +4 -0
- package/dist/plugins/viz-components/cartesian/option/series/types.d.ts +1 -0
- package/dist/plugins/viz-components/cartesian/option/tooltip.d.ts +6 -0
- package/dist/plugins/viz-components/cartesian/option/utils/label-formatter.d.ts +2 -0
- package/dist/plugins/viz-components/cartesian/option/utils/types.d.ts +8 -0
- package/dist/plugins/viz-components/cartesian/option/utils/variables.d.ts +3 -0
- package/dist/plugins/viz-components/cartesian/option/x-axis.d.ts +18 -0
- package/dist/plugins/viz-components/cartesian/option/y-axis.d.ts +25 -0
- package/dist/plugins/viz-components/cartesian/triggers/click-echart.d.ts +7 -0
- package/dist/plugins/viz-components/cartesian/triggers/index.d.ts +1 -0
- package/dist/plugins/viz-components/cartesian/type.d.ts +95 -0
- package/dist/plugins/viz-components/cartesian/viz-cartesian-chart.d.ts +3 -0
- package/dist/plugins/viz-components/cartesian/viz-cartesian-editor.d.ts +3 -0
- package/dist/plugins/viz-components/funnel/editors/series/index.d.ts +10 -0
- package/dist/plugins/viz-components/funnel/editors/series/series-item.d.ts +13 -0
- package/dist/plugins/viz-components/funnel/index.d.ts +2 -0
- package/dist/plugins/viz-components/funnel/option/index.d.ts +42 -0
- package/dist/plugins/viz-components/funnel/option/series.d.ts +32 -0
- package/dist/plugins/viz-components/funnel/option/tooltip.d.ts +7 -0
- package/dist/plugins/viz-components/funnel/type.d.ts +32 -0
- package/dist/plugins/viz-components/funnel/viz-funnel-chart.d.ts +3 -0
- package/dist/plugins/viz-components/funnel/viz-funnel-editor.d.ts +3 -0
- package/dist/plugins/viz-components/heatmap/editors/heat_block/index.d.ts +10 -0
- package/dist/plugins/viz-components/heatmap/editors/tooltip/index.d.ts +10 -0
- package/dist/plugins/viz-components/heatmap/editors/tooltip/metric.d.ts +11 -0
- package/dist/plugins/viz-components/heatmap/editors/tooltip/metrics.d.ts +10 -0
- package/dist/plugins/viz-components/heatmap/editors/x-axis/index.d.ts +10 -0
- package/dist/plugins/viz-components/heatmap/editors/x-axis/x-axis-label-formatter/function-editor.d.ts +8 -0
- package/dist/plugins/viz-components/heatmap/editors/x-axis/x-axis-label-formatter/get-echarts-x-axis-tick-label.d.ts +3 -0
- package/dist/plugins/viz-components/heatmap/editors/x-axis/x-axis-label-formatter/index.d.ts +10 -0
- package/dist/plugins/viz-components/heatmap/editors/x-axis/x-axis-label-formatter/types.d.ts +8 -0
- package/dist/plugins/viz-components/heatmap/editors/y-axis/index.d.ts +11 -0
- package/dist/plugins/viz-components/heatmap/index.d.ts +2 -0
- package/dist/plugins/viz-components/heatmap/option/formatters.d.ts +11 -0
- package/dist/plugins/viz-components/heatmap/option/grid.d.ts +7 -0
- package/dist/plugins/viz-components/heatmap/option/index.d.ts +3 -0
- package/dist/plugins/viz-components/heatmap/option/series.d.ts +14 -0
- package/dist/plugins/viz-components/heatmap/option/tooltip.d.ts +8 -0
- package/dist/plugins/viz-components/heatmap/option/visual-map.d.ts +10 -0
- package/dist/plugins/viz-components/heatmap/option/x-axis.d.ts +31 -0
- package/dist/plugins/viz-components/heatmap/option/y-axis.d.ts +33 -0
- package/dist/plugins/viz-components/heatmap/triggers/click-heat-block.d.ts +7 -0
- package/dist/plugins/viz-components/heatmap/triggers/index.d.ts +1 -0
- package/dist/plugins/viz-components/heatmap/type.d.ts +36 -0
- package/dist/plugins/viz-components/heatmap/viz-heatmap-editor.d.ts +3 -0
- package/dist/plugins/viz-components/heatmap/viz-heatmap.d.ts +3 -0
- package/dist/plugins/viz-components/horizontal-bar-chart/editors/reference-lines/index.d.ts +11 -0
- package/dist/plugins/viz-components/horizontal-bar-chart/editors/reference-lines/reference-line.d.ts +19 -0
- package/dist/plugins/viz-components/horizontal-bar-chart/editors/series/fields.bar.d.ts +10 -0
- package/dist/plugins/viz-components/horizontal-bar-chart/editors/series/index.d.ts +10 -0
- package/dist/plugins/viz-components/horizontal-bar-chart/editors/series/series-item.d.ts +17 -0
- package/dist/plugins/viz-components/horizontal-bar-chart/editors/x-axes/index.d.ts +9 -0
- package/dist/plugins/viz-components/horizontal-bar-chart/editors/x-axes/x-axis.d.ts +10 -0
- package/dist/plugins/viz-components/horizontal-bar-chart/editors/y-axis/index.d.ts +11 -0
- package/dist/plugins/viz-components/horizontal-bar-chart/index.d.ts +2 -0
- package/dist/plugins/viz-components/horizontal-bar-chart/option/grid.d.ts +8 -0
- package/dist/plugins/viz-components/horizontal-bar-chart/option/index.d.ts +72 -0
- package/dist/plugins/viz-components/horizontal-bar-chart/option/legend.d.ts +2 -0
- package/dist/plugins/viz-components/horizontal-bar-chart/option/series/data.d.ts +21 -0
- package/dist/plugins/viz-components/horizontal-bar-chart/option/series/index.d.ts +4 -0
- package/dist/plugins/viz-components/horizontal-bar-chart/option/series/reference_lines.d.ts +32 -0
- package/dist/plugins/viz-components/horizontal-bar-chart/option/series/series_items.d.ts +4 -0
- package/dist/plugins/viz-components/horizontal-bar-chart/option/series/types.d.ts +1 -0
- package/dist/plugins/viz-components/horizontal-bar-chart/option/tooltip.d.ts +10 -0
- package/dist/plugins/viz-components/horizontal-bar-chart/option/utils/label-formatter.d.ts +2 -0
- package/dist/plugins/viz-components/horizontal-bar-chart/option/utils/types.d.ts +9 -0
- package/dist/plugins/viz-components/horizontal-bar-chart/option/utils/variables.d.ts +3 -0
- package/dist/plugins/viz-components/horizontal-bar-chart/option/x-axis.d.ts +31 -0
- package/dist/plugins/viz-components/horizontal-bar-chart/option/y-axis.d.ts +23 -0
- package/dist/plugins/viz-components/horizontal-bar-chart/type.d.ts +68 -0
- package/dist/plugins/viz-components/horizontal-bar-chart/viz-horizontal-bar-chart-editor.d.ts +3 -0
- package/dist/plugins/viz-components/horizontal-bar-chart/viz-horizontal-bar-chart.d.ts +3 -0
- package/dist/plugins/viz-components/pareto-chart/editors/bar.d.ts +11 -0
- package/dist/plugins/viz-components/pareto-chart/editors/line.d.ts +11 -0
- package/dist/plugins/viz-components/pareto-chart/editors/mark-line.d.ts +12 -0
- package/dist/plugins/viz-components/pareto-chart/editors/x-axis.d.ts +11 -0
- package/dist/plugins/viz-components/pareto-chart/editors/y-axis.d.ts +11 -0
- package/dist/plugins/viz-components/pareto-chart/index.d.ts +2 -0
- package/dist/plugins/viz-components/pareto-chart/option/index.d.ts +171 -0
- package/dist/plugins/viz-components/pareto-chart/option/mark-line.d.ts +27 -0
- package/dist/plugins/viz-components/pareto-chart/option/series.d.ts +65 -0
- package/dist/plugins/viz-components/pareto-chart/option/tooltip.d.ts +7 -0
- package/dist/plugins/viz-components/pareto-chart/option/types.d.ts +1 -0
- package/dist/plugins/viz-components/pareto-chart/option/utils.d.ts +8 -0
- package/dist/plugins/viz-components/pareto-chart/option/x-axis.d.ts +25 -0
- package/dist/plugins/viz-components/pareto-chart/option/y-axes.d.ts +39 -0
- package/dist/plugins/viz-components/pareto-chart/triggers/click-pareto.d.ts +7 -0
- package/dist/plugins/viz-components/pareto-chart/triggers/index.d.ts +1 -0
- package/dist/plugins/viz-components/pareto-chart/type.d.ts +37 -0
- package/dist/plugins/viz-components/pareto-chart/viz-pareto-chart-panel.d.ts +3 -0
- package/dist/plugins/viz-components/pareto-chart/viz-pareto-chart.d.ts +3 -0
- package/dist/plugins/viz-components/pie-chart/index.d.ts +2 -0
- package/dist/plugins/viz-components/pie-chart/type.d.ts +5 -0
- package/dist/plugins/viz-components/pie-chart/viz-pie-chart-panel.d.ts +3 -0
- package/dist/plugins/viz-components/pie-chart/viz-pie-chart.d.ts +3 -0
- package/dist/plugins/viz-components/radar-chart/editors/dimensions/dimension.d.ts +11 -0
- package/dist/plugins/viz-components/radar-chart/editors/dimensions/index.d.ts +10 -0
- package/dist/plugins/viz-components/radar-chart/index.d.ts +2 -0
- package/dist/plugins/viz-components/radar-chart/option/formatter.d.ts +2 -0
- package/dist/plugins/viz-components/radar-chart/option/index.d.ts +63 -0
- package/dist/plugins/viz-components/radar-chart/option/series.label.d.ts +8 -0
- package/dist/plugins/viz-components/radar-chart/option/tooltip.d.ts +6 -0
- package/dist/plugins/viz-components/radar-chart/triggers/click-radar-chart.d.ts +7 -0
- package/dist/plugins/viz-components/radar-chart/type.d.ts +19 -0
- package/dist/plugins/viz-components/radar-chart/viz-radar-chart-editor.d.ts +3 -0
- package/dist/plugins/viz-components/radar-chart/viz-radar-chart.d.ts +3 -0
- package/dist/plugins/viz-components/regression-chart/index.d.ts +2 -0
- package/dist/plugins/viz-components/regression-chart/option/index.d.ts +2 -0
- package/dist/plugins/viz-components/regression-chart/option/regression-expression.d.ts +15 -0
- package/dist/plugins/viz-components/regression-chart/option/regression-series.d.ts +6 -0
- package/dist/plugins/viz-components/regression-chart/regression-item.d.ts +14 -0
- package/dist/plugins/viz-components/regression-chart/type.d.ts +12 -0
- package/dist/plugins/viz-components/regression-chart/viz-regression-chart-panel.d.ts +3 -0
- package/dist/plugins/viz-components/regression-chart/viz-regression-chart.d.ts +3 -0
- package/dist/plugins/viz-components/rich-text/index.d.ts +2 -0
- package/dist/plugins/viz-components/rich-text/type.d.ts +4 -0
- package/dist/plugins/viz-components/rich-text/viz-rich-text-panel.d.ts +3 -0
- package/dist/plugins/viz-components/rich-text/viz-rich-text.d.ts +3 -0
- package/dist/plugins/viz-components/scatter-chart/editors/reference-areas/index.d.ts +11 -0
- package/dist/plugins/viz-components/scatter-chart/editors/reference-lines/index.d.ts +11 -0
- package/dist/plugins/viz-components/scatter-chart/editors/reference-lines/reference-line.d.ts +19 -0
- package/dist/plugins/viz-components/scatter-chart/editors/scatter/index.d.ts +10 -0
- package/dist/plugins/viz-components/scatter-chart/editors/scatter/label-overflow.d.ts +8 -0
- package/dist/plugins/viz-components/scatter-chart/editors/scatter/scatter-size-select/dynamic-size-function-editor.d.ts +8 -0
- package/dist/plugins/viz-components/scatter-chart/editors/scatter/scatter-size-select/dynamic.d.ts +9 -0
- package/dist/plugins/viz-components/scatter-chart/editors/scatter/scatter-size-select/get-echarts-symbol-size.d.ts +3 -0
- package/dist/plugins/viz-components/scatter-chart/editors/scatter/scatter-size-select/index.d.ts +11 -0
- package/dist/plugins/viz-components/scatter-chart/editors/scatter/scatter-size-select/static.d.ts +8 -0
- package/dist/plugins/viz-components/scatter-chart/editors/scatter/scatter-size-select/types.d.ts +13 -0
- package/dist/plugins/viz-components/scatter-chart/editors/scatter/series-color-select/dynamic-color-function-editor.d.ts +8 -0
- package/dist/plugins/viz-components/scatter-chart/editors/scatter/series-color-select/dynamic.d.ts +9 -0
- package/dist/plugins/viz-components/scatter-chart/editors/scatter/series-color-select/get-series-color.d.ts +3 -0
- package/dist/plugins/viz-components/scatter-chart/editors/scatter/series-color-select/index.d.ts +11 -0
- package/dist/plugins/viz-components/scatter-chart/editors/scatter/series-color-select/static.d.ts +8 -0
- package/dist/plugins/viz-components/scatter-chart/editors/scatter/series-color-select/types.d.ts +13 -0
- package/dist/plugins/viz-components/scatter-chart/editors/stats/index.d.ts +10 -0
- package/dist/plugins/viz-components/scatter-chart/editors/tooltip/index.d.ts +10 -0
- package/dist/plugins/viz-components/scatter-chart/editors/tooltip/metric.d.ts +11 -0
- package/dist/plugins/viz-components/scatter-chart/editors/tooltip/metrics.d.ts +10 -0
- package/dist/plugins/viz-components/scatter-chart/editors/x-axis/index.d.ts +10 -0
- package/dist/plugins/viz-components/scatter-chart/editors/x-axis/x-axis-label-formatter/function-editor.d.ts +8 -0
- package/dist/plugins/viz-components/scatter-chart/editors/x-axis/x-axis-label-formatter/get-echarts-x-axis-tick-label.d.ts +2 -0
- package/dist/plugins/viz-components/scatter-chart/editors/x-axis/x-axis-label-formatter/index.d.ts +10 -0
- package/dist/plugins/viz-components/scatter-chart/editors/x-axis/x-axis-label-formatter/types.d.ts +8 -0
- package/dist/plugins/viz-components/scatter-chart/editors/y-axes/index.d.ts +9 -0
- package/dist/plugins/viz-components/scatter-chart/editors/y-axes/y-axis.d.ts +10 -0
- package/dist/plugins/viz-components/scatter-chart/index.d.ts +2 -0
- package/dist/plugins/viz-components/scatter-chart/option/grid.d.ts +5 -0
- package/dist/plugins/viz-components/scatter-chart/option/index.d.ts +3 -0
- package/dist/plugins/viz-components/scatter-chart/option/legend.d.ts +1 -0
- package/dist/plugins/viz-components/scatter-chart/option/series.d.ts +4 -0
- package/dist/plugins/viz-components/scatter-chart/option/tooltip.d.ts +6 -0
- package/dist/plugins/viz-components/scatter-chart/option/x-axis.d.ts +15 -0
- package/dist/plugins/viz-components/scatter-chart/option/y-axis.d.ts +25 -0
- package/dist/plugins/viz-components/scatter-chart/triggers/click-scatter-chart.d.ts +7 -0
- package/dist/plugins/viz-components/scatter-chart/triggers/index.d.ts +1 -0
- package/dist/plugins/viz-components/scatter-chart/type.d.ts +48 -0
- package/dist/plugins/viz-components/scatter-chart/viz-scatter-chart-panel.d.ts +3 -0
- package/dist/plugins/viz-components/scatter-chart/viz-scatter-chart.d.ts +3 -0
- package/dist/plugins/viz-components/stats/index.d.ts +2 -0
- package/dist/plugins/viz-components/stats/type.d.ts +5 -0
- package/dist/plugins/viz-components/stats/update/index.d.ts +5 -0
- package/dist/plugins/viz-components/stats/viz-stats-panel.d.ts +3 -0
- package/dist/plugins/viz-components/stats/viz-stats.d.ts +5 -0
- package/dist/plugins/viz-components/sunburst/editors/data-field.d.ts +10 -0
- package/dist/plugins/viz-components/sunburst/editors/levels/index.d.ts +10 -0
- package/dist/plugins/viz-components/sunburst/editors/levels/level.d.ts +11 -0
- package/dist/plugins/viz-components/sunburst/index.d.ts +2 -0
- package/dist/plugins/viz-components/sunburst/option/array-to-tree.d.ts +2 -0
- package/dist/plugins/viz-components/sunburst/option/data.d.ts +4 -0
- package/dist/plugins/viz-components/sunburst/option/index.d.ts +3 -0
- package/dist/plugins/viz-components/sunburst/option/levels.d.ts +14 -0
- package/dist/plugins/viz-components/sunburst/option/tooltip.d.ts +7 -0
- package/dist/plugins/viz-components/sunburst/option/types.d.ts +19 -0
- package/dist/plugins/viz-components/sunburst/type.d.ts +24 -0
- package/dist/plugins/viz-components/sunburst/viz-sunburst-editor.d.ts +3 -0
- package/dist/plugins/viz-components/sunburst/viz-sunburst.d.ts +3 -0
- package/dist/plugins/viz-components/table/components/background-color-select.d.ts +7 -0
- package/dist/plugins/viz-components/table/components/head-cell.d.ts +7 -0
- package/dist/plugins/viz-components/table/editors/columns/column.d.ts +14 -0
- package/dist/plugins/viz-components/table/editors/columns/func_content-editor.d.ts +7 -0
- package/dist/plugins/viz-components/table/editors/columns/index.d.ts +11 -0
- package/dist/plugins/viz-components/table/editors/styling.d.ts +10 -0
- package/dist/plugins/viz-components/table/index.d.ts +2 -0
- package/dist/plugins/viz-components/table/table-cell-context.d.ts +18 -0
- package/dist/plugins/viz-components/table/triggers/click-cell-content.d.ts +11 -0
- package/dist/plugins/viz-components/table/triggers/index.d.ts +1 -0
- package/dist/plugins/viz-components/table/type.d.ts +41 -0
- package/dist/plugins/viz-components/table/utils.d.ts +4 -0
- package/dist/plugins/viz-components/table/value-type-selector.d.ts +10 -0
- package/dist/plugins/viz-components/table/value.d.ts +11 -0
- package/dist/plugins/viz-components/table/viz-table-panel.d.ts +3 -0
- package/dist/plugins/viz-components/table/viz-table.d.ts +3 -0
- package/dist/plugins/viz-components/table/viz-table.styles.d.ts +11 -0
- package/dist/plugins/viz-components/text/editors/func-content/func-content-editor.d.ts +7 -0
- package/dist/plugins/viz-components/text/editors/func-content/index.d.ts +7 -0
- package/dist/plugins/viz-components/text/index.d.ts +2 -0
- package/dist/plugins/viz-components/text/type.d.ts +8 -0
- package/dist/plugins/viz-components/text/viz-text-panel.d.ts +3 -0
- package/dist/plugins/viz-components/text/viz-text.d.ts +5 -0
- package/dist/plugins/viz-components/viz-merico-gqm/error-figure.d.ts +2 -0
- package/dist/plugins/viz-components/viz-merico-gqm/index.d.ts +2 -0
- package/dist/plugins/viz-components/viz-merico-gqm/request/call-expert-system.d.ts +27 -0
- package/dist/plugins/viz-components/viz-merico-gqm/type.d.ts +7 -0
- package/dist/plugins/viz-components/viz-merico-gqm/viz-merico-gqm-panel.d.ts +3 -0
- package/dist/plugins/viz-components/viz-merico-gqm/viz-merico-gqm.d.ts +3 -0
- package/dist/plugins/viz-manager/components.d.ts +25 -0
- package/dist/plugins/viz-manager/impl.d.ts +10 -0
- package/dist/plugins/viz-manager/index.d.ts +4 -0
- package/dist/plugins/viz-manager/types.d.ts +8 -0
- package/dist/service-locator/index.d.ts +27 -0
- package/dist/service-locator/use-service-locator.d.ts +8 -0
- package/dist/styles/action-icon-group-style.d.ts +22 -0
- package/dist/styles/common-html-content-style.d.ts +2 -0
- package/dist/styles/register-themes.d.ts +1 -0
- package/dist/types/dashboard.d.ts +78 -0
- package/dist/types/filter.d.ts +8 -0
- package/dist/types/index.d.ts +3 -0
- package/dist/types/plugin/index.d.ts +221 -0
- package/dist/types/utils.d.ts +4 -0
- package/dist/utils/aggregation.d.ts +12 -0
- package/dist/utils/color-mapping.d.ts +9 -0
- package/dist/utils/download.d.ts +7 -0
- package/dist/utils/error-boundary.d.ts +13 -0
- package/dist/utils/function-utils.d.ts +15 -0
- package/dist/utils/http-query.d.ts +17 -0
- package/dist/utils/shallow-to-js.d.ts +1 -0
- package/dist/utils/sql.d.ts +18 -0
- package/dist/utils/template/editor/index.d.ts +3 -0
- package/dist/utils/template/editor/template-input.d.ts +8 -0
- package/dist/utils/template/editor/utils.d.ts +2 -0
- package/dist/utils/template/editor/variable-field.d.ts +10 -0
- package/dist/utils/template/editor/variable-style.d.ts +8 -0
- package/dist/utils/template/index.d.ts +4 -0
- package/dist/utils/template/render/index.d.ts +2 -0
- package/dist/utils/template/render/render-jsx.d.ts +4 -0
- package/dist/utils/template/render/render-string.d.ts +2 -0
- package/dist/utils/template/types.d.ts +21 -0
- package/dist/utils/template/utils.d.ts +4 -0
- package/dist/view/index.d.ts +2 -0
- package/dist/view/layout/index.d.ts +2 -0
- package/dist/view/layout/main-layout.d.ts +11 -0
- package/dist/view/layout/read-only-layout.d.ts +9 -0
- package/dist/view/view-component/preview/division.d.ts +6 -0
- package/dist/view/view-component/preview/index.d.ts +8 -0
- package/dist/view/view-component/preview/modal.d.ts +8 -0
- package/dist/view/view-component/preview/tabs.d.ts +8 -0
- package/dist/view/view-component/render/division.d.ts +6 -0
- package/dist/view/view-component/render/index.d.ts +8 -0
- package/dist/view/view-component/render/modal.d.ts +8 -0
- package/dist/view/view-component/render/tabs.d.ts +8 -0
- package/dist/view/view-editor.d.ts +7 -0
- package/dist/view/view-render.d.ts +7 -0
- package/dist/vite-env.d.ts +1 -0
- package/package.json +3 -3
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { ITemplateVariable } from '~/utils/template';
|
|
2
|
+
import { IHorizontalBarChartConf } from '../type';
|
|
3
|
+
export declare function getOption(conf: IHorizontalBarChartConf, data: TVizData, variables: ITemplateVariable[]): {
|
|
4
|
+
xAxis: {
|
|
5
|
+
type: string;
|
|
6
|
+
min: string | undefined;
|
|
7
|
+
max: string | undefined;
|
|
8
|
+
position: "bottom" | "top";
|
|
9
|
+
axisLabel: {
|
|
10
|
+
show: boolean;
|
|
11
|
+
margin: number;
|
|
12
|
+
formatter: (p: any) => string;
|
|
13
|
+
};
|
|
14
|
+
axisLine: {
|
|
15
|
+
show: boolean;
|
|
16
|
+
};
|
|
17
|
+
axisTick: {
|
|
18
|
+
show: boolean;
|
|
19
|
+
};
|
|
20
|
+
splitLine: {
|
|
21
|
+
show: boolean;
|
|
22
|
+
};
|
|
23
|
+
nameTextStyle: {
|
|
24
|
+
fontWeight: string;
|
|
25
|
+
};
|
|
26
|
+
nameLocation: string;
|
|
27
|
+
nameGap: number;
|
|
28
|
+
id: string;
|
|
29
|
+
name: string;
|
|
30
|
+
data_key: string;
|
|
31
|
+
label_formatter: import("../../../../panel/settings/common/numbro-format-selector").TNumbroFormat;
|
|
32
|
+
show: boolean;
|
|
33
|
+
}[];
|
|
34
|
+
yAxis: {
|
|
35
|
+
data: any[];
|
|
36
|
+
name: string;
|
|
37
|
+
nameLocation: string;
|
|
38
|
+
nameTextStyle: {
|
|
39
|
+
align: string;
|
|
40
|
+
fontWeight: string;
|
|
41
|
+
};
|
|
42
|
+
id: string;
|
|
43
|
+
axisTick: {
|
|
44
|
+
show: boolean;
|
|
45
|
+
alignWithLabel: boolean;
|
|
46
|
+
};
|
|
47
|
+
type: string;
|
|
48
|
+
axisLabel: {
|
|
49
|
+
formatter: (value: string | number, index: number) => any;
|
|
50
|
+
width: number;
|
|
51
|
+
overflow: "truncate" | "break" | "breakAll";
|
|
52
|
+
ellipsis: "...";
|
|
53
|
+
};
|
|
54
|
+
z: number;
|
|
55
|
+
}[];
|
|
56
|
+
series: any[];
|
|
57
|
+
tooltip: {
|
|
58
|
+
trigger: string;
|
|
59
|
+
axisPointer: {
|
|
60
|
+
type: string;
|
|
61
|
+
};
|
|
62
|
+
formatter: (params: import("echarts/types/dist/shared").CallbackDataParams[]) => string;
|
|
63
|
+
};
|
|
64
|
+
grid: {
|
|
65
|
+
top: number;
|
|
66
|
+
right: number;
|
|
67
|
+
bottom: number;
|
|
68
|
+
left: number;
|
|
69
|
+
containLabel: boolean;
|
|
70
|
+
};
|
|
71
|
+
legend: Record<string, any>;
|
|
72
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import _ from 'lodash';
|
|
2
|
+
import { AnyObject } from '~/types';
|
|
3
|
+
import { AggregationType } from '~/utils/aggregation';
|
|
4
|
+
import { DataTemplateType } from './types';
|
|
5
|
+
interface IMakeOneSeriesData {
|
|
6
|
+
dataTemplate: DataTemplateType[];
|
|
7
|
+
data: AnyObject[];
|
|
8
|
+
aggregation_on_value?: AggregationType;
|
|
9
|
+
name_data_key: string;
|
|
10
|
+
value_data_key: string;
|
|
11
|
+
valueTypedXAxis: boolean;
|
|
12
|
+
}
|
|
13
|
+
export declare function makeOneSeriesData({ dataTemplate, data, aggregation_on_value, name_data_key, value_data_key, valueTypedXAxis, }: IMakeOneSeriesData): any[][];
|
|
14
|
+
interface IMakeGroupedSeriesData {
|
|
15
|
+
group_by_key: string;
|
|
16
|
+
data: AnyObject[];
|
|
17
|
+
name_data_key: string;
|
|
18
|
+
value_data_key: string;
|
|
19
|
+
}
|
|
20
|
+
export declare function makeGroupedSeriesData({ group_by_key, data, value_data_key, name_data_key }: IMakeGroupedSeriesData): _.Dictionary<AnyObject[]>;
|
|
21
|
+
export {};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { AnyObject } from '~/types';
|
|
2
|
+
import { ITemplateVariable } from '~/utils/template';
|
|
3
|
+
import { IHorizontalBarChartConf } from '../../type';
|
|
4
|
+
export declare function getSeries(conf: IHorizontalBarChartConf, xAxisData: string[], valueTypedXAxis: boolean, data: AnyObject[], labelFormatters: Record<string, $TSFixMe>, variables: ITemplateVariable[], variableValueMap: Record<string, string | number>): any[];
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { AnyObject } from '~/types';
|
|
2
|
+
import { ITemplateVariable } from '~/utils/template';
|
|
3
|
+
import { IHorizontalBarChartReferenceLine } from '../../type';
|
|
4
|
+
export declare function getReferenceLines(reference_lines: IHorizontalBarChartReferenceLine[], variables: ITemplateVariable[], variableValueMap: Record<string, string | number>, data: AnyObject[]): {
|
|
5
|
+
name: string;
|
|
6
|
+
type: string;
|
|
7
|
+
hide_in_legend: boolean;
|
|
8
|
+
xAxisIndex: string;
|
|
9
|
+
data: never[];
|
|
10
|
+
lineStyle: {
|
|
11
|
+
type: "dashed" | "dotted" | "solid";
|
|
12
|
+
width: number;
|
|
13
|
+
color: string;
|
|
14
|
+
};
|
|
15
|
+
markLine: {
|
|
16
|
+
data: {
|
|
17
|
+
[x: string]: string | number;
|
|
18
|
+
name: string;
|
|
19
|
+
}[];
|
|
20
|
+
silent: boolean;
|
|
21
|
+
symbol: string[];
|
|
22
|
+
lineStyle: {
|
|
23
|
+
type: "dashed" | "dotted" | "solid";
|
|
24
|
+
width: number;
|
|
25
|
+
color: string;
|
|
26
|
+
};
|
|
27
|
+
label: {
|
|
28
|
+
formatter: () => string;
|
|
29
|
+
position: string;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
}[];
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { AnyObject } from '~/types';
|
|
2
|
+
import { IHorizontalBarChartConf, IHorizontalBarChartSeriesItem } from '../../type';
|
|
3
|
+
import { DataTemplateType } from './types';
|
|
4
|
+
export declare function getSeriesItemOrItems({ y_axis }: IHorizontalBarChartConf, { data_key, xAxisIndex, label_position, name, group_by_key, aggregation_on_value, stack, color, hide_in_legend, invisible, id, ...rest }: IHorizontalBarChartSeriesItem, dataTemplate: DataTemplateType[], valueTypedXAxis: boolean, data: AnyObject[], variableValueMap: Record<string, string | number>, labelFormatters: Record<string, $TSFixMe>): any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare type DataTemplateType = [string, 0];
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { CallbackDataParams } from 'echarts/types/dist/shared';
|
|
2
|
+
import { IHorizontalBarChartConf } from '../type';
|
|
3
|
+
import { IEchartsSeriesItem } from './utils/types';
|
|
4
|
+
export declare function getTooltip(conf: IHorizontalBarChartConf, series: IEchartsSeriesItem[], labelFormatters: Record<string, (p: $TSFixMe) => string>): {
|
|
5
|
+
trigger: string;
|
|
6
|
+
axisPointer: {
|
|
7
|
+
type: string;
|
|
8
|
+
};
|
|
9
|
+
formatter: (params: CallbackDataParams[]) => string;
|
|
10
|
+
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { IHorizontalBarChartConf } from '../type';
|
|
2
|
+
export declare function getXAxes(conf: IHorizontalBarChartConf, labelFormatters: Record<string, (p: $TSFixMe) => string>): {
|
|
3
|
+
type: string;
|
|
4
|
+
min: string | undefined;
|
|
5
|
+
max: string | undefined;
|
|
6
|
+
position: "bottom" | "top";
|
|
7
|
+
axisLabel: {
|
|
8
|
+
show: boolean;
|
|
9
|
+
margin: number;
|
|
10
|
+
formatter: (p: $TSFixMe) => string;
|
|
11
|
+
};
|
|
12
|
+
axisLine: {
|
|
13
|
+
show: boolean;
|
|
14
|
+
};
|
|
15
|
+
axisTick: {
|
|
16
|
+
show: boolean;
|
|
17
|
+
};
|
|
18
|
+
splitLine: {
|
|
19
|
+
show: boolean;
|
|
20
|
+
};
|
|
21
|
+
nameTextStyle: {
|
|
22
|
+
fontWeight: string;
|
|
23
|
+
};
|
|
24
|
+
nameLocation: string;
|
|
25
|
+
nameGap: number;
|
|
26
|
+
id: string;
|
|
27
|
+
name: string;
|
|
28
|
+
data_key: string;
|
|
29
|
+
label_formatter: import("../../../../panel/settings/common/numbro-format-selector").TNumbroFormat;
|
|
30
|
+
show: boolean;
|
|
31
|
+
}[];
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { IHorizontalBarChartConf } from '../type';
|
|
2
|
+
export declare function getYAxes(conf: IHorizontalBarChartConf, yAxisData: $TSFixMe[]): {
|
|
3
|
+
data: any[];
|
|
4
|
+
name: string;
|
|
5
|
+
nameLocation: string;
|
|
6
|
+
nameTextStyle: {
|
|
7
|
+
align: string;
|
|
8
|
+
fontWeight: string;
|
|
9
|
+
};
|
|
10
|
+
id: string;
|
|
11
|
+
axisTick: {
|
|
12
|
+
show: boolean;
|
|
13
|
+
alignWithLabel: boolean;
|
|
14
|
+
};
|
|
15
|
+
type: string;
|
|
16
|
+
axisLabel: {
|
|
17
|
+
formatter: (value: string | number, index: number) => any;
|
|
18
|
+
width: number;
|
|
19
|
+
overflow: "truncate" | "break" | "breakAll";
|
|
20
|
+
ellipsis: "...";
|
|
21
|
+
};
|
|
22
|
+
z: number;
|
|
23
|
+
}[];
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { TNumbroFormat } from '~/panel/settings/common/numbro-format-selector';
|
|
2
|
+
import { IAxisLabelOverflow } from '~/plugins/common-echarts-fields/axis-label-overflow';
|
|
3
|
+
import { IEchartsTooltipMetric } from '~/plugins/common-echarts-fields/tooltip-metric';
|
|
4
|
+
import { AggregationType } from '~/utils/aggregation';
|
|
5
|
+
import { IXAxisLabelFormatter } from '../cartesian/editors/x-axis/x-axis-label-formatter/types';
|
|
6
|
+
export interface IHorizontalBarChartReferenceLine {
|
|
7
|
+
id: string;
|
|
8
|
+
name: string;
|
|
9
|
+
template: string;
|
|
10
|
+
lineStyle: {
|
|
11
|
+
type: 'solid' | 'dashed' | 'dotted';
|
|
12
|
+
width: number;
|
|
13
|
+
color: string;
|
|
14
|
+
};
|
|
15
|
+
xAxisIndex: string;
|
|
16
|
+
orientation: 'horizontal' | 'vertical';
|
|
17
|
+
variable_key: string;
|
|
18
|
+
show_in_legend: boolean;
|
|
19
|
+
}
|
|
20
|
+
export interface IHorizontalBarChartSeriesItem {
|
|
21
|
+
id: string;
|
|
22
|
+
type: 'bar';
|
|
23
|
+
name: string;
|
|
24
|
+
stack: string;
|
|
25
|
+
color?: string;
|
|
26
|
+
barGap?: '0%' | '-100%';
|
|
27
|
+
data_key: string;
|
|
28
|
+
barWidth: string;
|
|
29
|
+
xAxisIndex: string;
|
|
30
|
+
barMinWidth: string;
|
|
31
|
+
barMaxWidth: string;
|
|
32
|
+
group_by_key: string;
|
|
33
|
+
hide_in_legend: boolean;
|
|
34
|
+
invisible: boolean;
|
|
35
|
+
label_position?: string;
|
|
36
|
+
aggregation_on_value?: AggregationType;
|
|
37
|
+
}
|
|
38
|
+
export interface IHorizontalBarChartXAxis {
|
|
39
|
+
id: string;
|
|
40
|
+
min: string;
|
|
41
|
+
max: string;
|
|
42
|
+
name: string;
|
|
43
|
+
data_key: string;
|
|
44
|
+
position: 'top' | 'bottom';
|
|
45
|
+
label_formatter: TNumbroFormat;
|
|
46
|
+
show: boolean;
|
|
47
|
+
}
|
|
48
|
+
export interface IHorizontalBarChartConf {
|
|
49
|
+
x_axes: IHorizontalBarChartXAxis[];
|
|
50
|
+
y_axis: {
|
|
51
|
+
name: string;
|
|
52
|
+
data_key: string;
|
|
53
|
+
axisLabel: {
|
|
54
|
+
overflow: IAxisLabelOverflow;
|
|
55
|
+
formatter: IXAxisLabelFormatter;
|
|
56
|
+
};
|
|
57
|
+
nameAlignment: 'left' | 'center' | 'right';
|
|
58
|
+
};
|
|
59
|
+
series: IHorizontalBarChartSeriesItem[];
|
|
60
|
+
tooltip: {
|
|
61
|
+
metrics: IEchartsTooltipMetric[];
|
|
62
|
+
};
|
|
63
|
+
reference_lines: IHorizontalBarChartReferenceLine[];
|
|
64
|
+
}
|
|
65
|
+
export declare const DEFAULT_CONFIG: IHorizontalBarChartConf;
|
|
66
|
+
export declare function getNewXAxis(): IHorizontalBarChartXAxis;
|
|
67
|
+
export declare function getNewSeriesItem(): IHorizontalBarChartSeriesItem;
|
|
68
|
+
export declare function getNewReferenceLine(): IHorizontalBarChartReferenceLine;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { Control, UseFormWatch } from 'react-hook-form';
|
|
3
|
+
import { AnyObject } from '~/types';
|
|
4
|
+
import { IParetoChartConf } from '../type';
|
|
5
|
+
interface IBarField {
|
|
6
|
+
control: Control<IParetoChartConf, $TSFixMe>;
|
|
7
|
+
watch: UseFormWatch<IParetoChartConf>;
|
|
8
|
+
data: AnyObject[];
|
|
9
|
+
}
|
|
10
|
+
export declare function BarField({ data, control, watch }: IBarField): JSX.Element;
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { Control, UseFormWatch } from 'react-hook-form';
|
|
3
|
+
import { AnyObject } from '~/types';
|
|
4
|
+
import { IParetoChartConf } from '../type';
|
|
5
|
+
interface ILineField {
|
|
6
|
+
control: Control<IParetoChartConf, $TSFixMe>;
|
|
7
|
+
watch: UseFormWatch<IParetoChartConf>;
|
|
8
|
+
data: AnyObject[];
|
|
9
|
+
}
|
|
10
|
+
export declare function LineField({ data, control, watch }: ILineField): JSX.Element;
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { Control, UseFormWatch } from 'react-hook-form';
|
|
3
|
+
import { AnyObject } from '~/types';
|
|
4
|
+
import { IParetoChartConf } from '../type';
|
|
5
|
+
export declare const DescribeParetoParams: () => JSX.Element;
|
|
6
|
+
interface IMarkLineField {
|
|
7
|
+
control: Control<IParetoChartConf, $TSFixMe>;
|
|
8
|
+
watch: UseFormWatch<IParetoChartConf>;
|
|
9
|
+
data: AnyObject[];
|
|
10
|
+
}
|
|
11
|
+
export declare function MarkLineField({ data, control, watch }: IMarkLineField): JSX.Element;
|
|
12
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { Control, UseFormWatch } from 'react-hook-form';
|
|
3
|
+
import { AnyObject } from '~/types';
|
|
4
|
+
import { IParetoChartConf } from '../type';
|
|
5
|
+
interface IXAxisField {
|
|
6
|
+
control: Control<IParetoChartConf, $TSFixMe>;
|
|
7
|
+
watch: UseFormWatch<IParetoChartConf>;
|
|
8
|
+
data: AnyObject[];
|
|
9
|
+
}
|
|
10
|
+
export declare function XAxisField({ data, control, watch }: IXAxisField): JSX.Element;
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { Control, UseFormWatch } from 'react-hook-form';
|
|
3
|
+
import { AnyObject } from '~/types';
|
|
4
|
+
import { IParetoChartConf } from '../type';
|
|
5
|
+
interface IYAxisField {
|
|
6
|
+
control: Control<IParetoChartConf, $TSFixMe>;
|
|
7
|
+
watch: UseFormWatch<IParetoChartConf>;
|
|
8
|
+
data: AnyObject[];
|
|
9
|
+
}
|
|
10
|
+
export declare function YAxisField({ data, control, watch }: IYAxisField): JSX.Element;
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
import { ITemplateVariable } from '~/utils/template';
|
|
2
|
+
import { IParetoChartConf } from '../type';
|
|
3
|
+
export declare function getOption(conf: IParetoChartConf, data: TVizData, _variables: ITemplateVariable[]): {
|
|
4
|
+
dataZoom: ({
|
|
5
|
+
type: string;
|
|
6
|
+
xAxisIndex: number[];
|
|
7
|
+
filterMode: string;
|
|
8
|
+
minSpan: number;
|
|
9
|
+
yAxisIndex?: undefined;
|
|
10
|
+
bottom?: undefined;
|
|
11
|
+
top?: undefined;
|
|
12
|
+
height?: undefined;
|
|
13
|
+
moveHandleSize?: undefined;
|
|
14
|
+
showDataShadow?: undefined;
|
|
15
|
+
} | {
|
|
16
|
+
type: string;
|
|
17
|
+
yAxisIndex: number[];
|
|
18
|
+
filterMode: string;
|
|
19
|
+
minSpan: number;
|
|
20
|
+
xAxisIndex?: undefined;
|
|
21
|
+
bottom?: undefined;
|
|
22
|
+
top?: undefined;
|
|
23
|
+
height?: undefined;
|
|
24
|
+
moveHandleSize?: undefined;
|
|
25
|
+
showDataShadow?: undefined;
|
|
26
|
+
} | {
|
|
27
|
+
type: string;
|
|
28
|
+
xAxisIndex: number[];
|
|
29
|
+
filterMode: string;
|
|
30
|
+
bottom: string;
|
|
31
|
+
top: number;
|
|
32
|
+
height: number;
|
|
33
|
+
moveHandleSize: number;
|
|
34
|
+
showDataShadow: boolean;
|
|
35
|
+
minSpan: number;
|
|
36
|
+
yAxisIndex?: undefined;
|
|
37
|
+
})[];
|
|
38
|
+
tooltip: {
|
|
39
|
+
trigger: string;
|
|
40
|
+
formatter: (params: import("echarts/types/dist/shared").CallbackDataParams) => string;
|
|
41
|
+
};
|
|
42
|
+
xAxis: {
|
|
43
|
+
type: string;
|
|
44
|
+
name: string;
|
|
45
|
+
nameLocation: string;
|
|
46
|
+
nameGap: number;
|
|
47
|
+
nameTextStyle: {
|
|
48
|
+
fontWeight: string;
|
|
49
|
+
align: string;
|
|
50
|
+
};
|
|
51
|
+
splitLine: {
|
|
52
|
+
show: boolean;
|
|
53
|
+
};
|
|
54
|
+
axisTick: {
|
|
55
|
+
show: boolean;
|
|
56
|
+
alignWithLabel: boolean;
|
|
57
|
+
};
|
|
58
|
+
axisLabel: {
|
|
59
|
+
formatter: (value: string | number, index: number) => any;
|
|
60
|
+
width: number;
|
|
61
|
+
overflow: "truncate" | "break" | "breakAll";
|
|
62
|
+
ellipsis: "...";
|
|
63
|
+
rotate: number;
|
|
64
|
+
};
|
|
65
|
+
}[];
|
|
66
|
+
yAxis: ({
|
|
67
|
+
name: string;
|
|
68
|
+
nameGap: number;
|
|
69
|
+
nameTextStyle: {
|
|
70
|
+
fontWeight: string;
|
|
71
|
+
align: "right" | "center" | "left";
|
|
72
|
+
};
|
|
73
|
+
position: string;
|
|
74
|
+
axisLine: {
|
|
75
|
+
show: boolean;
|
|
76
|
+
};
|
|
77
|
+
axisLabel: {
|
|
78
|
+
show: boolean;
|
|
79
|
+
formatter: (payload: any) => void;
|
|
80
|
+
};
|
|
81
|
+
splitLine: {
|
|
82
|
+
show: boolean;
|
|
83
|
+
};
|
|
84
|
+
} | {
|
|
85
|
+
name: string;
|
|
86
|
+
nameGap: number;
|
|
87
|
+
nameTextStyle: {
|
|
88
|
+
fontWeight: string;
|
|
89
|
+
align: "right" | "center" | "left";
|
|
90
|
+
};
|
|
91
|
+
position: string;
|
|
92
|
+
axisLine: {
|
|
93
|
+
show: boolean;
|
|
94
|
+
};
|
|
95
|
+
axisLabel: {
|
|
96
|
+
show: boolean;
|
|
97
|
+
formatter: typeof import("./utils").formatPercentage;
|
|
98
|
+
};
|
|
99
|
+
splitLine: {
|
|
100
|
+
show: boolean;
|
|
101
|
+
};
|
|
102
|
+
})[];
|
|
103
|
+
series: ({
|
|
104
|
+
name: string;
|
|
105
|
+
type: string;
|
|
106
|
+
barMaxWidth: number;
|
|
107
|
+
itemStyle: {
|
|
108
|
+
color: string;
|
|
109
|
+
};
|
|
110
|
+
label: {
|
|
111
|
+
show: boolean;
|
|
112
|
+
position: string;
|
|
113
|
+
formatter: (payload: any) => void;
|
|
114
|
+
};
|
|
115
|
+
yAxisIndex: number;
|
|
116
|
+
data: any[][];
|
|
117
|
+
symbolSize?: undefined;
|
|
118
|
+
lineStyle?: undefined;
|
|
119
|
+
markLine?: undefined;
|
|
120
|
+
} | {
|
|
121
|
+
name: string;
|
|
122
|
+
type: string;
|
|
123
|
+
itemStyle: {
|
|
124
|
+
color: string;
|
|
125
|
+
};
|
|
126
|
+
symbolSize: number;
|
|
127
|
+
lineStyle: {
|
|
128
|
+
width: number;
|
|
129
|
+
};
|
|
130
|
+
label: {
|
|
131
|
+
show: boolean;
|
|
132
|
+
position: string;
|
|
133
|
+
formatter: (payload: any) => void;
|
|
134
|
+
};
|
|
135
|
+
yAxisIndex: number;
|
|
136
|
+
data: import("./types").TLineDataItem[];
|
|
137
|
+
markLine: {
|
|
138
|
+
name?: undefined;
|
|
139
|
+
silent?: undefined;
|
|
140
|
+
symbol?: undefined;
|
|
141
|
+
symbolRotate?: undefined;
|
|
142
|
+
symbolSize?: undefined;
|
|
143
|
+
data?: undefined;
|
|
144
|
+
} | {
|
|
145
|
+
name: string;
|
|
146
|
+
silent: boolean;
|
|
147
|
+
symbol: string;
|
|
148
|
+
symbolRotate: number;
|
|
149
|
+
symbolSize: number[];
|
|
150
|
+
data: {
|
|
151
|
+
name: string;
|
|
152
|
+
symbol: string;
|
|
153
|
+
xAxis: string | number;
|
|
154
|
+
lineStyle: {
|
|
155
|
+
color: string;
|
|
156
|
+
};
|
|
157
|
+
label: {
|
|
158
|
+
formatter: any;
|
|
159
|
+
};
|
|
160
|
+
}[];
|
|
161
|
+
};
|
|
162
|
+
barMaxWidth?: undefined;
|
|
163
|
+
})[];
|
|
164
|
+
grid: {
|
|
165
|
+
top: number;
|
|
166
|
+
left: number;
|
|
167
|
+
right: number;
|
|
168
|
+
bottom: number;
|
|
169
|
+
containLabel: boolean;
|
|
170
|
+
};
|
|
171
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { IParetoChartConf } from '../type';
|
|
2
|
+
import { TLineDataItem } from './types';
|
|
3
|
+
export declare function getMarkLine(conf: IParetoChartConf, lineData: TLineDataItem[]): {
|
|
4
|
+
name?: undefined;
|
|
5
|
+
silent?: undefined;
|
|
6
|
+
symbol?: undefined;
|
|
7
|
+
symbolRotate?: undefined;
|
|
8
|
+
symbolSize?: undefined;
|
|
9
|
+
data?: undefined;
|
|
10
|
+
} | {
|
|
11
|
+
name: string;
|
|
12
|
+
silent: boolean;
|
|
13
|
+
symbol: string;
|
|
14
|
+
symbolRotate: number;
|
|
15
|
+
symbolSize: number[];
|
|
16
|
+
data: {
|
|
17
|
+
name: string;
|
|
18
|
+
symbol: string;
|
|
19
|
+
xAxis: string | number;
|
|
20
|
+
lineStyle: {
|
|
21
|
+
color: string;
|
|
22
|
+
};
|
|
23
|
+
label: {
|
|
24
|
+
formatter: any;
|
|
25
|
+
};
|
|
26
|
+
}[];
|
|
27
|
+
};
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { AnyObject } from '~/types';
|
|
2
|
+
import { IParetoChartConf } from '../type';
|
|
3
|
+
import { TLineDataItem } from './types';
|
|
4
|
+
import { TParetoFormatters } from './utils';
|
|
5
|
+
export declare function getSeries(conf: IParetoChartConf, data: AnyObject[], formatters: TParetoFormatters): ({
|
|
6
|
+
name: string;
|
|
7
|
+
type: string;
|
|
8
|
+
barMaxWidth: number;
|
|
9
|
+
itemStyle: {
|
|
10
|
+
color: string;
|
|
11
|
+
};
|
|
12
|
+
label: {
|
|
13
|
+
show: boolean;
|
|
14
|
+
position: string;
|
|
15
|
+
formatter: (payload: any) => void;
|
|
16
|
+
};
|
|
17
|
+
yAxisIndex: number;
|
|
18
|
+
data: any[][];
|
|
19
|
+
symbolSize?: undefined;
|
|
20
|
+
lineStyle?: undefined;
|
|
21
|
+
markLine?: undefined;
|
|
22
|
+
} | {
|
|
23
|
+
name: string;
|
|
24
|
+
type: string;
|
|
25
|
+
itemStyle: {
|
|
26
|
+
color: string;
|
|
27
|
+
};
|
|
28
|
+
symbolSize: number;
|
|
29
|
+
lineStyle: {
|
|
30
|
+
width: number;
|
|
31
|
+
};
|
|
32
|
+
label: {
|
|
33
|
+
show: boolean;
|
|
34
|
+
position: string;
|
|
35
|
+
formatter: (payload: any) => void;
|
|
36
|
+
};
|
|
37
|
+
yAxisIndex: number;
|
|
38
|
+
data: TLineDataItem[];
|
|
39
|
+
markLine: {
|
|
40
|
+
name?: undefined;
|
|
41
|
+
silent?: undefined;
|
|
42
|
+
symbol?: undefined;
|
|
43
|
+
symbolRotate?: undefined;
|
|
44
|
+
symbolSize?: undefined;
|
|
45
|
+
data?: undefined;
|
|
46
|
+
} | {
|
|
47
|
+
name: string;
|
|
48
|
+
silent: boolean;
|
|
49
|
+
symbol: string;
|
|
50
|
+
symbolRotate: number;
|
|
51
|
+
symbolSize: number[];
|
|
52
|
+
data: {
|
|
53
|
+
name: string;
|
|
54
|
+
symbol: string;
|
|
55
|
+
xAxis: string | number;
|
|
56
|
+
lineStyle: {
|
|
57
|
+
color: string;
|
|
58
|
+
};
|
|
59
|
+
label: {
|
|
60
|
+
formatter: any;
|
|
61
|
+
};
|
|
62
|
+
}[];
|
|
63
|
+
};
|
|
64
|
+
barMaxWidth?: undefined;
|
|
65
|
+
})[];
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { CallbackDataParams } from 'echarts/types/dist/shared';
|
|
2
|
+
import { IParetoChartConf } from '../type';
|
|
3
|
+
import { TParetoFormatters } from './utils';
|
|
4
|
+
export declare function getTooltip(conf: IParetoChartConf, formatters: TParetoFormatters): {
|
|
5
|
+
trigger: string;
|
|
6
|
+
formatter: (params: CallbackDataParams) => string;
|
|
7
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare type TLineDataItem = [string | number, number];
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { IParetoChartConf } from '../type';
|
|
2
|
+
export declare function formatPercentage(value: number): string;
|
|
3
|
+
export declare type TParetoFormatters = {
|
|
4
|
+
bar: (payload: $TSFixMe) => void;
|
|
5
|
+
line: (payload: $TSFixMe) => void;
|
|
6
|
+
lineValue: typeof formatPercentage;
|
|
7
|
+
};
|
|
8
|
+
export declare function getFormatters(conf: IParetoChartConf): TParetoFormatters;
|