k-vtable 1.0.0
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/README.md +151 -0
- package/cjs/ListTable-all.d.ts +3 -0
- package/cjs/ListTable-all.js +20 -0
- package/cjs/ListTable-all.js.map +1 -0
- package/cjs/ListTable-simple.d.ts +3 -0
- package/cjs/ListTable-simple.js +14 -0
- package/cjs/ListTable-simple.js.map +1 -0
- package/cjs/ListTable.d.ts +101 -0
- package/cjs/ListTable.js +682 -0
- package/cjs/ListTable.js.map +1 -0
- package/cjs/PivotChart.d.ts +100 -0
- package/cjs/PivotChart.js +755 -0
- package/cjs/PivotChart.js.map +1 -0
- package/cjs/PivotTable-all.d.ts +3 -0
- package/cjs/PivotTable-all.js +19 -0
- package/cjs/PivotTable-all.js.map +1 -0
- package/cjs/PivotTable-simple.d.ts +3 -0
- package/cjs/PivotTable-simple.js +14 -0
- package/cjs/PivotTable-simple.js.map +1 -0
- package/cjs/PivotTable.d.ts +112 -0
- package/cjs/PivotTable.js +992 -0
- package/cjs/PivotTable.js.map +1 -0
- package/cjs/body-helper/body-helper.d.ts +20 -0
- package/cjs/body-helper/body-helper.js +121 -0
- package/cjs/body-helper/body-helper.js.map +1 -0
- package/cjs/body-helper/style/ButtonStyle.d.ts +45 -0
- package/cjs/body-helper/style/ButtonStyle.js +110 -0
- package/cjs/body-helper/style/ButtonStyle.js.map +1 -0
- package/cjs/body-helper/style/CheckboxStyle.d.ts +42 -0
- package/cjs/body-helper/style/CheckboxStyle.js +104 -0
- package/cjs/body-helper/style/CheckboxStyle.js.map +1 -0
- package/cjs/body-helper/style/ImageStyle.d.ts +7 -0
- package/cjs/body-helper/style/ImageStyle.js +24 -0
- package/cjs/body-helper/style/ImageStyle.js.map +1 -0
- package/cjs/body-helper/style/MultilineTextStyle.d.ts +13 -0
- package/cjs/body-helper/style/MultilineTextStyle.js +38 -0
- package/cjs/body-helper/style/MultilineTextStyle.js.map +1 -0
- package/cjs/body-helper/style/NumberStyle.d.ts +7 -0
- package/cjs/body-helper/style/NumberStyle.js +24 -0
- package/cjs/body-helper/style/NumberStyle.js.map +1 -0
- package/cjs/body-helper/style/ProgressBarStyle.d.ts +55 -0
- package/cjs/body-helper/style/ProgressBarStyle.js +139 -0
- package/cjs/body-helper/style/ProgressBarStyle.js.map +1 -0
- package/cjs/body-helper/style/RadioStyle.d.ts +45 -0
- package/cjs/body-helper/style/RadioStyle.js +111 -0
- package/cjs/body-helper/style/RadioStyle.js.map +1 -0
- package/cjs/body-helper/style/Style.d.ts +95 -0
- package/cjs/body-helper/style/Style.js +225 -0
- package/cjs/body-helper/style/Style.js.map +1 -0
- package/cjs/body-helper/style/SwitchStyle.d.ts +36 -0
- package/cjs/body-helper/style/SwitchStyle.js +90 -0
- package/cjs/body-helper/style/SwitchStyle.js.map +1 -0
- package/cjs/body-helper/style.d.ts +11 -0
- package/cjs/body-helper/style.js +52 -0
- package/cjs/body-helper/style.js.map +1 -0
- package/cjs/chartModule.d.ts +3 -0
- package/cjs/chartModule.js +14 -0
- package/cjs/chartModule.js.map +1 -0
- package/cjs/components/axis/axis.d.ts +52 -0
- package/cjs/components/axis/axis.js +190 -0
- package/cjs/components/axis/axis.js.map +1 -0
- package/cjs/components/axis/band-scale.d.ts +18 -0
- package/cjs/components/axis/band-scale.js +54 -0
- package/cjs/components/axis/band-scale.js.map +1 -0
- package/cjs/components/axis/get-axis-attributes.d.ts +146 -0
- package/cjs/components/axis/get-axis-attributes.js +199 -0
- package/cjs/components/axis/get-axis-attributes.js.map +1 -0
- package/cjs/components/axis/get-axis-component-size.d.ts +6 -0
- package/cjs/components/axis/get-axis-component-size.js +138 -0
- package/cjs/components/axis/get-axis-component-size.js.map +1 -0
- package/cjs/components/axis/label-overlap.d.ts +3 -0
- package/cjs/components/axis/label-overlap.js +64 -0
- package/cjs/components/axis/label-overlap.js.map +1 -0
- package/cjs/components/axis/linear-scale.d.ts +48 -0
- package/cjs/components/axis/linear-scale.js +136 -0
- package/cjs/components/axis/linear-scale.js.map +1 -0
- package/cjs/components/empty-tip/empty-tip.d.ts +25 -0
- package/cjs/components/empty-tip/empty-tip.js +102 -0
- package/cjs/components/empty-tip/empty-tip.js.map +1 -0
- package/cjs/components/index.d.ts +6 -0
- package/cjs/components/index.js +44 -0
- package/cjs/components/index.js.map +1 -0
- package/cjs/components/legend/continue-legend/continue-legend.d.ts +24 -0
- package/cjs/components/legend/continue-legend/continue-legend.js +98 -0
- package/cjs/components/legend/continue-legend/continue-legend.js.map +1 -0
- package/cjs/components/legend/continue-legend/get-continue-legend-attributes.d.ts +5 -0
- package/cjs/components/legend/continue-legend/get-continue-legend-attributes.js +139 -0
- package/cjs/components/legend/continue-legend/get-continue-legend-attributes.js.map +1 -0
- package/cjs/components/legend/create-legend.d.ts +6 -0
- package/cjs/components/legend/create-legend.js +14 -0
- package/cjs/components/legend/create-legend.js.map +1 -0
- package/cjs/components/legend/discrete-legend/discrete-legend.d.ts +25 -0
- package/cjs/components/legend/discrete-legend/discrete-legend.js +115 -0
- package/cjs/components/legend/discrete-legend/discrete-legend.js.map +1 -0
- package/cjs/components/legend/discrete-legend/get-discrete-legend-attributes.d.ts +5 -0
- package/cjs/components/legend/discrete-legend/get-discrete-legend-attributes.js +90 -0
- package/cjs/components/legend/discrete-legend/get-discrete-legend-attributes.js.map +1 -0
- package/cjs/components/menu/dom/BaseMenu.d.ts +16 -0
- package/cjs/components/menu/dom/BaseMenu.js +33 -0
- package/cjs/components/menu/dom/BaseMenu.js.map +1 -0
- package/cjs/components/menu/dom/Menu.d.ts +9 -0
- package/cjs/components/menu/dom/Menu.js +24 -0
- package/cjs/components/menu/dom/Menu.js.map +1 -0
- package/cjs/components/menu/dom/MenuHandler.d.ts +24 -0
- package/cjs/components/menu/dom/MenuHandler.js +148 -0
- package/cjs/components/menu/dom/MenuHandler.js.map +1 -0
- package/cjs/components/menu/dom/logic/MenuContainer.d.ts +21 -0
- package/cjs/components/menu/dom/logic/MenuContainer.js +105 -0
- package/cjs/components/menu/dom/logic/MenuContainer.js.map +1 -0
- package/cjs/components/menu/dom/logic/MenuElement.d.ts +26 -0
- package/cjs/components/menu/dom/logic/MenuElement.js +287 -0
- package/cjs/components/menu/dom/logic/MenuElement.js.map +1 -0
- package/cjs/components/menu/dom/logic/MenuElementStyle.d.ts +1 -0
- package/cjs/components/menu/dom/logic/MenuElementStyle.js +17 -0
- package/cjs/components/menu/dom/logic/MenuElementStyle.js.map +1 -0
- package/cjs/components/react/react-custom-layout.d.ts +27 -0
- package/cjs/components/react/react-custom-layout.js +179 -0
- package/cjs/components/react/react-custom-layout.js.map +1 -0
- package/cjs/components/title/title.d.ts +21 -0
- package/cjs/components/title/title.js +89 -0
- package/cjs/components/title/title.js.map +1 -0
- package/cjs/components/tooltip/BaseTooltip.d.ts +22 -0
- package/cjs/components/tooltip/BaseTooltip.js +35 -0
- package/cjs/components/tooltip/BaseTooltip.js.map +1 -0
- package/cjs/components/tooltip/Tooltip.d.ts +5 -0
- package/cjs/components/tooltip/Tooltip.js +16 -0
- package/cjs/components/tooltip/Tooltip.js.map +1 -0
- package/cjs/components/tooltip/TooltipHandler.d.ts +31 -0
- package/cjs/components/tooltip/TooltipHandler.js +132 -0
- package/cjs/components/tooltip/TooltipHandler.js.map +1 -0
- package/cjs/components/tooltip/logic/BubbleTooltipElement.d.ts +34 -0
- package/cjs/components/tooltip/logic/BubbleTooltipElement.js +163 -0
- package/cjs/components/tooltip/logic/BubbleTooltipElement.js.map +1 -0
- package/cjs/components/tooltip/logic/BubbleTooltipElementStyle.d.ts +1 -0
- package/cjs/components/tooltip/logic/BubbleTooltipElementStyle.js +17 -0
- package/cjs/components/tooltip/logic/BubbleTooltipElementStyle.js.map +1 -0
- package/cjs/components/util/orient.d.ts +3 -0
- package/cjs/components/util/orient.js +14 -0
- package/cjs/components/util/orient.js.map +1 -0
- package/cjs/components/util/register.d.ts +3 -0
- package/cjs/components/util/register.js +15 -0
- package/cjs/components/util/register.js.map +1 -0
- package/cjs/components/util/transform.d.ts +5 -0
- package/cjs/components/util/transform.js +45 -0
- package/cjs/components/util/transform.js.map +1 -0
- package/cjs/core/BaseTable.d.ts +436 -0
- package/cjs/core/BaseTable.js +1866 -0
- package/cjs/core/BaseTable.js.map +1 -0
- package/cjs/core/FouseInput.d.ts +12 -0
- package/cjs/core/FouseInput.js +41 -0
- package/cjs/core/FouseInput.js.map +1 -0
- package/cjs/core/TABLE_EVENT_TYPE.d.ts +61 -0
- package/cjs/core/TABLE_EVENT_TYPE.js +65 -0
- package/cjs/core/TABLE_EVENT_TYPE.js.map +1 -0
- package/cjs/core/animation.d.ts +17 -0
- package/cjs/core/animation.js +61 -0
- package/cjs/core/animation.js.map +1 -0
- package/cjs/core/factory.d.ts +11 -0
- package/cjs/core/factory.js +29 -0
- package/cjs/core/factory.js.map +1 -0
- package/cjs/core/group-helper.d.ts +6 -0
- package/cjs/core/group-helper.js +22 -0
- package/cjs/core/group-helper.js.map +1 -0
- package/cjs/core/record-helper.d.ts +8 -0
- package/cjs/core/record-helper.js +428 -0
- package/cjs/core/record-helper.js.map +1 -0
- package/cjs/core/row-series-number-helper.d.ts +8 -0
- package/cjs/core/row-series-number-helper.js +46 -0
- package/cjs/core/row-series-number-helper.js.map +1 -0
- package/cjs/core/style-helper.d.ts +3 -0
- package/cjs/core/style-helper.js +110 -0
- package/cjs/core/style-helper.js.map +1 -0
- package/cjs/core/style.d.ts +1 -0
- package/cjs/core/style.js +17 -0
- package/cjs/core/style.js.map +1 -0
- package/cjs/core/tableHelper.d.ts +45 -0
- package/cjs/core/tableHelper.js +287 -0
- package/cjs/core/tableHelper.js.map +1 -0
- package/cjs/core/utils/get-cell-position.d.ts +12 -0
- package/cjs/core/utils/get-cell-position.js +214 -0
- package/cjs/core/utils/get-cell-position.js.map +1 -0
- package/cjs/core/utils/get-custom-merge-cell-func.d.ts +2 -0
- package/cjs/core/utils/get-custom-merge-cell-func.js +14 -0
- package/cjs/core/utils/get-custom-merge-cell-func.js.map +1 -0
- package/cjs/core.d.ts +3 -0
- package/cjs/core.js +15 -0
- package/cjs/core.js.map +1 -0
- package/cjs/data/CachedDataSource.d.ts +36 -0
- package/cjs/data/CachedDataSource.js +259 -0
- package/cjs/data/CachedDataSource.js.map +1 -0
- package/cjs/data/DataSource.d.ts +129 -0
- package/cjs/data/DataSource.js +758 -0
- package/cjs/data/DataSource.js.map +1 -0
- package/cjs/data.d.ts +4 -0
- package/cjs/data.js +24 -0
- package/cjs/data.js.map +1 -0
- package/cjs/dataset/DataStatistics.d.ts +10 -0
- package/cjs/dataset/DataStatistics.js +81 -0
- package/cjs/dataset/DataStatistics.js.map +1 -0
- package/cjs/dataset/dataset-pivot-table.d.ts +60 -0
- package/cjs/dataset/dataset-pivot-table.js +349 -0
- package/cjs/dataset/dataset-pivot-table.js.map +1 -0
- package/cjs/dataset/dataset.d.ts +108 -0
- package/cjs/dataset/dataset.js +810 -0
- package/cjs/dataset/dataset.js.map +1 -0
- package/cjs/dataset/flatDataToObject.d.ts +46 -0
- package/cjs/dataset/flatDataToObject.js +133 -0
- package/cjs/dataset/flatDataToObject.js.map +1 -0
- package/cjs/edit/edit-manager.d.ts +19 -0
- package/cjs/edit/edit-manager.js +124 -0
- package/cjs/edit/edit-manager.js.map +1 -0
- package/cjs/edit/editors.d.ts +5 -0
- package/cjs/edit/editors.js +10 -0
- package/cjs/edit/editors.js.map +1 -0
- package/cjs/event/EventHandler.d.ts +47 -0
- package/cjs/event/EventHandler.js +128 -0
- package/cjs/event/EventHandler.js.map +1 -0
- package/cjs/event/EventTarget.d.ts +12 -0
- package/cjs/event/EventTarget.js +67 -0
- package/cjs/event/EventTarget.js.map +1 -0
- package/cjs/event/component/button.d.ts +2 -0
- package/cjs/event/component/button.js +21 -0
- package/cjs/event/component/button.js.map +1 -0
- package/cjs/event/drill.d.ts +5 -0
- package/cjs/event/drill.js +38 -0
- package/cjs/event/drill.js.map +1 -0
- package/cjs/event/event.d.ts +63 -0
- package/cjs/event/event.js +208 -0
- package/cjs/event/event.js.map +1 -0
- package/cjs/event/helper.d.ts +2 -0
- package/cjs/event/helper.js +35 -0
- package/cjs/event/helper.js.map +1 -0
- package/cjs/event/listener/container-dom.d.ts +2 -0
- package/cjs/event/listener/container-dom.js +343 -0
- package/cjs/event/listener/container-dom.js.map +1 -0
- package/cjs/event/listener/scroll-bar.d.ts +2 -0
- package/cjs/event/listener/scroll-bar.js +80 -0
- package/cjs/event/listener/scroll-bar.js.map +1 -0
- package/cjs/event/listener/table-group.d.ts +6 -0
- package/cjs/event/listener/table-group.js +519 -0
- package/cjs/event/listener/table-group.js.map +1 -0
- package/cjs/event/listener/touch.d.ts +2 -0
- package/cjs/event/listener/touch.js +84 -0
- package/cjs/event/listener/touch.js.map +1 -0
- package/cjs/event/media-click.d.ts +2 -0
- package/cjs/event/media-click.js +85 -0
- package/cjs/event/media-click.js.map +1 -0
- package/cjs/event/scroll.d.ts +20 -0
- package/cjs/event/scroll.js +92 -0
- package/cjs/event/scroll.js.map +1 -0
- package/cjs/event/self-event-listener/base-table/dbclick-auto-column-width.d.ts +2 -0
- package/cjs/event/self-event-listener/base-table/dbclick-auto-column-width.js +31 -0
- package/cjs/event/self-event-listener/base-table/dbclick-auto-column-width.js.map +1 -0
- package/cjs/event/self-event-listener/base-table/dropdown-menu.d.ts +2 -0
- package/cjs/event/self-event-listener/base-table/dropdown-menu.js +16 -0
- package/cjs/event/self-event-listener/base-table/dropdown-menu.js.map +1 -0
- package/cjs/event/self-event-listener/base-table/icon.d.ts +2 -0
- package/cjs/event/self-event-listener/base-table/icon.js +23 -0
- package/cjs/event/self-event-listener/base-table/icon.js.map +1 -0
- package/cjs/event/self-event-listener/base-table/right-button-click.d.ts +2 -0
- package/cjs/event/self-event-listener/base-table/right-button-click.js +25 -0
- package/cjs/event/self-event-listener/base-table/right-button-click.js.map +1 -0
- package/cjs/event/self-event-listener/list-table/checkbox.d.ts +3 -0
- package/cjs/event/self-event-listener/list-table/checkbox.js +124 -0
- package/cjs/event/self-event-listener/list-table/checkbox.js.map +1 -0
- package/cjs/event/self-event-listener/pivot-chart/axis-click.d.ts +2 -0
- package/cjs/event/self-event-listener/pivot-chart/axis-click.js +43 -0
- package/cjs/event/self-event-listener/pivot-chart/axis-click.js.map +1 -0
- package/cjs/event/self-event-listener/pivot-chart/axis-hover.d.ts +2 -0
- package/cjs/event/self-event-listener/pivot-chart/axis-hover.js +41 -0
- package/cjs/event/self-event-listener/pivot-chart/axis-hover.js.map +1 -0
- package/cjs/event/self-event-listener/pivot-table/drill.d.ts +1 -0
- package/cjs/event/self-event-listener/pivot-table/drill.js +3 -0
- package/cjs/event/self-event-listener/pivot-table/drill.js.map +1 -0
- package/cjs/event/sparkline-event.d.ts +2 -0
- package/cjs/event/sparkline-event.js +27 -0
- package/cjs/event/sparkline-event.js.map +1 -0
- package/cjs/event/util.d.ts +20 -0
- package/cjs/event/util.js +46 -0
- package/cjs/event/util.js.map +1 -0
- package/cjs/header-helper/header-helper.d.ts +29 -0
- package/cjs/header-helper/header-helper.js +272 -0
- package/cjs/header-helper/header-helper.js.map +1 -0
- package/cjs/header-helper/style/CheckboxStyle.d.ts +42 -0
- package/cjs/header-helper/style/CheckboxStyle.js +104 -0
- package/cjs/header-helper/style/CheckboxStyle.js.map +1 -0
- package/cjs/header-helper/style/ImageStyle.d.ts +7 -0
- package/cjs/header-helper/style/ImageStyle.js +25 -0
- package/cjs/header-helper/style/ImageStyle.js.map +1 -0
- package/cjs/header-helper/style/MultilineTextHeaderStyle.d.ts +13 -0
- package/cjs/header-helper/style/MultilineTextHeaderStyle.js +38 -0
- package/cjs/header-helper/style/MultilineTextHeaderStyle.js.map +1 -0
- package/cjs/header-helper/style/SortHeaderStyle.d.ts +1 -0
- package/cjs/header-helper/style/SortHeaderStyle.js +3 -0
- package/cjs/header-helper/style/SortHeaderStyle.js.map +1 -0
- package/cjs/header-helper/style/Style.d.ts +95 -0
- package/cjs/header-helper/style/Style.js +226 -0
- package/cjs/header-helper/style/Style.js.map +1 -0
- package/cjs/header-helper/style.d.ts +6 -0
- package/cjs/header-helper/style.js +35 -0
- package/cjs/header-helper/style.js.map +1 -0
- package/cjs/icons.d.ts +5 -0
- package/cjs/icons.js +299 -0
- package/cjs/icons.js.map +1 -0
- package/cjs/index.d.ts +33 -0
- package/cjs/index.js +215 -0
- package/cjs/index.js.map +1 -0
- package/cjs/layout/cell-range/simple-cell-range.d.ts +4 -0
- package/cjs/layout/cell-range/simple-cell-range.js +148 -0
- package/cjs/layout/cell-range/simple-cell-range.js.map +1 -0
- package/cjs/layout/chart-helper/get-axis-config.d.ts +39 -0
- package/cjs/layout/chart-helper/get-axis-config.js +398 -0
- package/cjs/layout/chart-helper/get-axis-config.js.map +1 -0
- package/cjs/layout/chart-helper/get-axis-domain.d.ts +11 -0
- package/cjs/layout/chart-helper/get-axis-domain.js +49 -0
- package/cjs/layout/chart-helper/get-axis-domain.js.map +1 -0
- package/cjs/layout/chart-helper/get-chart-spec.d.ts +13 -0
- package/cjs/layout/chart-helper/get-chart-spec.js +287 -0
- package/cjs/layout/chart-helper/get-chart-spec.js.map +1 -0
- package/cjs/layout/chart-helper/tick-align.d.ts +12 -0
- package/cjs/layout/chart-helper/tick-align.js +23 -0
- package/cjs/layout/chart-helper/tick-align.js.map +1 -0
- package/cjs/layout/chart-helper/zero-align.d.ts +10 -0
- package/cjs/layout/chart-helper/zero-align.js +119 -0
- package/cjs/layout/chart-helper/zero-align.js.map +1 -0
- package/cjs/layout/index.d.ts +1 -0
- package/cjs/layout/index.js +14 -0
- package/cjs/layout/index.js.map +1 -0
- package/cjs/layout/layout-helper.d.ts +20 -0
- package/cjs/layout/layout-helper.js +154 -0
- package/cjs/layout/layout-helper.js.map +1 -0
- package/cjs/layout/pivot-header-layout.d.ts +279 -0
- package/cjs/layout/pivot-header-layout.js +1845 -0
- package/cjs/layout/pivot-header-layout.js.map +1 -0
- package/cjs/layout/pivot-layout.d.ts +1 -0
- package/cjs/layout/pivot-layout.js +1 -0
- package/cjs/layout/pivot-layout.js.map +1 -0
- package/cjs/layout/row-height-map.d.ts +34 -0
- package/cjs/layout/row-height-map.js +176 -0
- package/cjs/layout/row-height-map.js.map +1 -0
- package/cjs/layout/simple-header-layout.d.ts +153 -0
- package/cjs/layout/simple-header-layout.js +779 -0
- package/cjs/layout/simple-header-layout.js.map +1 -0
- package/cjs/layout/tree-helper.d.ts +71 -0
- package/cjs/layout/tree-helper.js +405 -0
- package/cjs/layout/tree-helper.js.map +1 -0
- package/cjs/plugins/chartModules.d.ts +3 -0
- package/cjs/plugins/chartModules.js +6 -0
- package/cjs/plugins/chartModules.js.map +1 -0
- package/cjs/plugins/custom-cell-style.d.ts +26 -0
- package/cjs/plugins/custom-cell-style.js +113 -0
- package/cjs/plugins/custom-cell-style.js.map +1 -0
- package/cjs/plugins/icons.d.ts +12 -0
- package/cjs/plugins/icons.js +26 -0
- package/cjs/plugins/icons.js.map +1 -0
- package/cjs/plugins/invert-highlight.d.ts +1 -0
- package/cjs/plugins/invert-highlight.js +23 -0
- package/cjs/plugins/invert-highlight.js.map +1 -0
- package/cjs/plugins/list-tree-stick-cell.d.ts +18 -0
- package/cjs/plugins/list-tree-stick-cell.js +180 -0
- package/cjs/plugins/list-tree-stick-cell.js.map +1 -0
- package/cjs/plugins/themes.d.ts +4 -0
- package/cjs/plugins/themes.js +6 -0
- package/cjs/plugins/themes.js.map +1 -0
- package/cjs/register.d.ts +15 -0
- package/cjs/register.js +45 -0
- package/cjs/register.js.map +1 -0
- package/cjs/render/jsx/index.d.ts +8 -0
- package/cjs/render/jsx/index.js +91 -0
- package/cjs/render/jsx/index.js.map +1 -0
- package/cjs/render/layout/arc.d.ts +12 -0
- package/cjs/render/layout/arc.js +18 -0
- package/cjs/render/layout/arc.js.map +1 -0
- package/cjs/render/layout/circle.d.ts +12 -0
- package/cjs/render/layout/circle.js +18 -0
- package/cjs/render/layout/circle.js.map +1 -0
- package/cjs/render/layout/container.d.ts +14 -0
- package/cjs/render/layout/container.js +27 -0
- package/cjs/render/layout/container.js.map +1 -0
- package/cjs/render/layout/direction.d.ts +22 -0
- package/cjs/render/layout/direction.js +35 -0
- package/cjs/render/layout/direction.js.map +1 -0
- package/cjs/render/layout/element.d.ts +43 -0
- package/cjs/render/layout/element.js +27 -0
- package/cjs/render/layout/element.js.map +1 -0
- package/cjs/render/layout/group-element.d.ts +5 -0
- package/cjs/render/layout/group-element.js +16 -0
- package/cjs/render/layout/group-element.js.map +1 -0
- package/cjs/render/layout/group.d.ts +12 -0
- package/cjs/render/layout/group.js +18 -0
- package/cjs/render/layout/group.js.map +1 -0
- package/cjs/render/layout/icon.d.ts +21 -0
- package/cjs/render/layout/icon.js +50 -0
- package/cjs/render/layout/icon.js.map +1 -0
- package/cjs/render/layout/image.d.ts +14 -0
- package/cjs/render/layout/image.js +19 -0
- package/cjs/render/layout/image.js.map +1 -0
- package/cjs/render/layout/index.d.ts +13 -0
- package/cjs/render/layout/index.js +41 -0
- package/cjs/render/layout/index.js.map +1 -0
- package/cjs/render/layout/line.d.ts +1 -0
- package/cjs/render/layout/line.js +15 -0
- package/cjs/render/layout/line.js.map +1 -0
- package/cjs/render/layout/percent-calc.d.ts +5 -0
- package/cjs/render/layout/percent-calc.js +13 -0
- package/cjs/render/layout/percent-calc.js.map +1 -0
- package/cjs/render/layout/rect.d.ts +12 -0
- package/cjs/render/layout/rect.js +18 -0
- package/cjs/render/layout/rect.js.map +1 -0
- package/cjs/render/layout/tag.d.ts +14 -0
- package/cjs/render/layout/tag.js +21 -0
- package/cjs/render/layout/tag.js.map +1 -0
- package/cjs/render/layout/text.d.ts +13 -0
- package/cjs/render/layout/text.js +23 -0
- package/cjs/render/layout/text.js.map +1 -0
- package/cjs/scenegraph/animation/appear.d.ts +2 -0
- package/cjs/scenegraph/animation/appear.js +26 -0
- package/cjs/scenegraph/animation/appear.js.map +1 -0
- package/cjs/scenegraph/component/cell-content.d.ts +36 -0
- package/cjs/scenegraph/component/cell-content.js +109 -0
- package/cjs/scenegraph/component/cell-content.js.map +1 -0
- package/cjs/scenegraph/component/cell-mover.d.ts +21 -0
- package/cjs/scenegraph/component/cell-mover.js +119 -0
- package/cjs/scenegraph/component/cell-mover.js.map +1 -0
- package/cjs/scenegraph/component/custom.d.ts +16 -0
- package/cjs/scenegraph/component/custom.js +309 -0
- package/cjs/scenegraph/component/custom.js.map +1 -0
- package/cjs/scenegraph/component/drill-icon.d.ts +9 -0
- package/cjs/scenegraph/component/drill-icon.js +70 -0
- package/cjs/scenegraph/component/drill-icon.js.map +1 -0
- package/cjs/scenegraph/component/menu.d.ts +41 -0
- package/cjs/scenegraph/component/menu.js +217 -0
- package/cjs/scenegraph/component/menu.js.map +1 -0
- package/cjs/scenegraph/component/table-component.d.ts +52 -0
- package/cjs/scenegraph/component/table-component.js +560 -0
- package/cjs/scenegraph/component/table-component.js.map +1 -0
- package/cjs/scenegraph/component/util.d.ts +3 -0
- package/cjs/scenegraph/component/util.js +18 -0
- package/cjs/scenegraph/component/util.js.map +1 -0
- package/cjs/scenegraph/debug-tool/debug-tool.d.ts +34 -0
- package/cjs/scenegraph/debug-tool/debug-tool.js +125 -0
- package/cjs/scenegraph/debug-tool/debug-tool.js.map +1 -0
- package/cjs/scenegraph/debug-tool/index.d.ts +4 -0
- package/cjs/scenegraph/debug-tool/index.js +14 -0
- package/cjs/scenegraph/debug-tool/index.js.map +1 -0
- package/cjs/scenegraph/graphic/chart.d.ts +47 -0
- package/cjs/scenegraph/graphic/chart.js +129 -0
- package/cjs/scenegraph/graphic/chart.js.map +1 -0
- package/cjs/scenegraph/graphic/contributions/chart-render-helper.d.ts +11 -0
- package/cjs/scenegraph/graphic/contributions/chart-render-helper.js +166 -0
- package/cjs/scenegraph/graphic/contributions/chart-render-helper.js.map +1 -0
- package/cjs/scenegraph/graphic/contributions/chart-render.d.ts +11 -0
- package/cjs/scenegraph/graphic/contributions/chart-render.js +74 -0
- package/cjs/scenegraph/graphic/contributions/chart-render.js.map +1 -0
- package/cjs/scenegraph/graphic/contributions/draw-interceptor.d.ts +13 -0
- package/cjs/scenegraph/graphic/contributions/draw-interceptor.js +92 -0
- package/cjs/scenegraph/graphic/contributions/draw-interceptor.js.map +1 -0
- package/cjs/scenegraph/graphic/contributions/group-contribution-render.d.ts +79 -0
- package/cjs/scenegraph/graphic/contributions/group-contribution-render.js +341 -0
- package/cjs/scenegraph/graphic/contributions/group-contribution-render.js.map +1 -0
- package/cjs/scenegraph/graphic/contributions/image-contribution-render.d.ts +38 -0
- package/cjs/scenegraph/graphic/contributions/image-contribution-render.js +75 -0
- package/cjs/scenegraph/graphic/contributions/image-contribution-render.js.map +1 -0
- package/cjs/scenegraph/graphic/contributions/index.d.ts +3 -0
- package/cjs/scenegraph/graphic/contributions/index.js +46 -0
- package/cjs/scenegraph/graphic/contributions/index.js.map +1 -0
- package/cjs/scenegraph/graphic/contributions/rect-contribution-render.d.ts +18 -0
- package/cjs/scenegraph/graphic/contributions/rect-contribution-render.js +91 -0
- package/cjs/scenegraph/graphic/contributions/rect-contribution-render.js.map +1 -0
- package/cjs/scenegraph/graphic/contributions/text-contribution-render.d.ts +12 -0
- package/cjs/scenegraph/graphic/contributions/text-contribution-render.js +72 -0
- package/cjs/scenegraph/graphic/contributions/text-contribution-render.js.map +1 -0
- package/cjs/scenegraph/graphic/group.d.ts +37 -0
- package/cjs/scenegraph/graphic/group.js +135 -0
- package/cjs/scenegraph/graphic/group.js.map +1 -0
- package/cjs/scenegraph/graphic/icon.d.ts +47 -0
- package/cjs/scenegraph/graphic/icon.js +78 -0
- package/cjs/scenegraph/graphic/icon.js.map +1 -0
- package/cjs/scenegraph/graphic/mark.d.ts +4 -0
- package/cjs/scenegraph/graphic/mark.js +74 -0
- package/cjs/scenegraph/graphic/mark.js.map +1 -0
- package/cjs/scenegraph/graphic/text.d.ts +2 -0
- package/cjs/scenegraph/graphic/text.js +15 -0
- package/cjs/scenegraph/graphic/text.js.map +1 -0
- package/cjs/scenegraph/group-creater/cell-helper.d.ts +16 -0
- package/cjs/scenegraph/group-creater/cell-helper.js +325 -0
- package/cjs/scenegraph/group-creater/cell-helper.js.map +1 -0
- package/cjs/scenegraph/group-creater/cell-type/button-cell.d.ts +6 -0
- package/cjs/scenegraph/group-creater/cell-type/button-cell.js +146 -0
- package/cjs/scenegraph/group-creater/cell-type/button-cell.js.map +1 -0
- package/cjs/scenegraph/group-creater/cell-type/chart-cell.d.ts +5 -0
- package/cjs/scenegraph/group-creater/cell-type/chart-cell.js +100 -0
- package/cjs/scenegraph/group-creater/cell-type/chart-cell.js.map +1 -0
- package/cjs/scenegraph/group-creater/cell-type/checkbox-cell.d.ts +6 -0
- package/cjs/scenegraph/group-creater/cell-type/checkbox-cell.js +143 -0
- package/cjs/scenegraph/group-creater/cell-type/checkbox-cell.js.map +1 -0
- package/cjs/scenegraph/group-creater/cell-type/image-cell.d.ts +15 -0
- package/cjs/scenegraph/group-creater/cell-type/image-cell.js +234 -0
- package/cjs/scenegraph/group-creater/cell-type/image-cell.js.map +1 -0
- package/cjs/scenegraph/group-creater/cell-type/index.d.ts +10 -0
- package/cjs/scenegraph/group-creater/cell-type/index.js +67 -0
- package/cjs/scenegraph/group-creater/cell-type/index.js.map +1 -0
- package/cjs/scenegraph/group-creater/cell-type/progress-bar-cell.d.ts +11 -0
- package/cjs/scenegraph/group-creater/cell-type/progress-bar-cell.js +390 -0
- package/cjs/scenegraph/group-creater/cell-type/progress-bar-cell.js.map +1 -0
- package/cjs/scenegraph/group-creater/cell-type/radio-cell.d.ts +6 -0
- package/cjs/scenegraph/group-creater/cell-type/radio-cell.js +150 -0
- package/cjs/scenegraph/group-creater/cell-type/radio-cell.js.map +1 -0
- package/cjs/scenegraph/group-creater/cell-type/spark-line-cell.d.ts +5 -0
- package/cjs/scenegraph/group-creater/cell-type/spark-line-cell.js +201 -0
- package/cjs/scenegraph/group-creater/cell-type/spark-line-cell.js.map +1 -0
- package/cjs/scenegraph/group-creater/cell-type/switch-cell.d.ts +6 -0
- package/cjs/scenegraph/group-creater/cell-type/switch-cell.js +152 -0
- package/cjs/scenegraph/group-creater/cell-type/switch-cell.js.map +1 -0
- package/cjs/scenegraph/group-creater/cell-type/text-cell.d.ts +6 -0
- package/cjs/scenegraph/group-creater/cell-type/text-cell.js +66 -0
- package/cjs/scenegraph/group-creater/cell-type/text-cell.js.map +1 -0
- package/cjs/scenegraph/group-creater/cell-type/video-cell.d.ts +6 -0
- package/cjs/scenegraph/group-creater/cell-type/video-cell.js +139 -0
- package/cjs/scenegraph/group-creater/cell-type/video-cell.js.map +1 -0
- package/cjs/scenegraph/group-creater/column-helper.d.ts +14 -0
- package/cjs/scenegraph/group-creater/column-helper.js +142 -0
- package/cjs/scenegraph/group-creater/column-helper.js.map +1 -0
- package/cjs/scenegraph/group-creater/column.d.ts +4 -0
- package/cjs/scenegraph/group-creater/column.js +31 -0
- package/cjs/scenegraph/group-creater/column.js.map +1 -0
- package/cjs/scenegraph/group-creater/init-scenegraph.d.ts +2 -0
- package/cjs/scenegraph/group-creater/init-scenegraph.js +58 -0
- package/cjs/scenegraph/group-creater/init-scenegraph.js.map +1 -0
- package/cjs/scenegraph/group-creater/progress/create-group-for-first-screen.d.ts +3 -0
- package/cjs/scenegraph/group-creater/progress/create-group-for-first-screen.js +53 -0
- package/cjs/scenegraph/group-creater/progress/create-group-for-first-screen.js.map +1 -0
- package/cjs/scenegraph/group-creater/progress/default-width-height.d.ts +3 -0
- package/cjs/scenegraph/group-creater/progress/default-width-height.js +24 -0
- package/cjs/scenegraph/group-creater/progress/default-width-height.js.map +1 -0
- package/cjs/scenegraph/group-creater/progress/proxy.d.ts +79 -0
- package/cjs/scenegraph/group-creater/progress/proxy.js +341 -0
- package/cjs/scenegraph/group-creater/progress/proxy.js.map +1 -0
- package/cjs/scenegraph/group-creater/progress/update-position/dynamic-set-x.d.ts +4 -0
- package/cjs/scenegraph/group-creater/progress/update-position/dynamic-set-x.js +173 -0
- package/cjs/scenegraph/group-creater/progress/update-position/dynamic-set-x.js.map +1 -0
- package/cjs/scenegraph/group-creater/progress/update-position/dynamic-set-y.d.ts +4 -0
- package/cjs/scenegraph/group-creater/progress/update-position/dynamic-set-y.js +190 -0
- package/cjs/scenegraph/group-creater/progress/update-position/dynamic-set-y.js.map +1 -0
- package/cjs/scenegraph/group-creater/progress/update-position/sort-horizontal.d.ts +2 -0
- package/cjs/scenegraph/group-creater/progress/update-position/sort-horizontal.js +62 -0
- package/cjs/scenegraph/group-creater/progress/update-position/sort-horizontal.js.map +1 -0
- package/cjs/scenegraph/group-creater/progress/update-position/sort-vertical.d.ts +2 -0
- package/cjs/scenegraph/group-creater/progress/update-position/sort-vertical.js +75 -0
- package/cjs/scenegraph/group-creater/progress/update-position/sort-vertical.js.map +1 -0
- package/cjs/scenegraph/group-creater/progress/update-position/update-auto-column.d.ts +2 -0
- package/cjs/scenegraph/group-creater/progress/update-position/update-auto-column.js +37 -0
- package/cjs/scenegraph/group-creater/progress/update-position/update-auto-column.js.map +1 -0
- package/cjs/scenegraph/group-creater/progress/update-position/update-auto-row.d.ts +2 -0
- package/cjs/scenegraph/group-creater/progress/update-position/update-auto-row.js +47 -0
- package/cjs/scenegraph/group-creater/progress/update-position/update-auto-row.js.map +1 -0
- package/cjs/scenegraph/group-creater/progress/update-position/util.d.ts +8 -0
- package/cjs/scenegraph/group-creater/progress/update-position/util.js +98 -0
- package/cjs/scenegraph/group-creater/progress/update-position/util.js.map +1 -0
- package/cjs/scenegraph/icon/icon-update.d.ts +28 -0
- package/cjs/scenegraph/icon/icon-update.js +188 -0
- package/cjs/scenegraph/icon/icon-update.js.map +1 -0
- package/cjs/scenegraph/layout/compute-col-width.d.ts +4 -0
- package/cjs/scenegraph/layout/compute-col-width.js +344 -0
- package/cjs/scenegraph/layout/compute-col-width.js.map +1 -0
- package/cjs/scenegraph/layout/compute-row-height.d.ts +3 -0
- package/cjs/scenegraph/layout/compute-row-height.js +335 -0
- package/cjs/scenegraph/layout/compute-row-height.js.map +1 -0
- package/cjs/scenegraph/layout/frozen-react.d.ts +5 -0
- package/cjs/scenegraph/layout/frozen-react.js +91 -0
- package/cjs/scenegraph/layout/frozen-react.js.map +1 -0
- package/cjs/scenegraph/layout/frozen.d.ts +6 -0
- package/cjs/scenegraph/layout/frozen.js +330 -0
- package/cjs/scenegraph/layout/frozen.js.map +1 -0
- package/cjs/scenegraph/layout/height-util.d.ts +7 -0
- package/cjs/scenegraph/layout/height-util.js +127 -0
- package/cjs/scenegraph/layout/height-util.js.map +1 -0
- package/cjs/scenegraph/layout/move-cell.d.ts +2 -0
- package/cjs/scenegraph/layout/move-cell.js +50 -0
- package/cjs/scenegraph/layout/move-cell.js.map +1 -0
- package/cjs/scenegraph/layout/update-col.d.ts +3 -0
- package/cjs/scenegraph/layout/update-col.js +207 -0
- package/cjs/scenegraph/layout/update-col.js.map +1 -0
- package/cjs/scenegraph/layout/update-height.d.ts +6 -0
- package/cjs/scenegraph/layout/update-height.js +146 -0
- package/cjs/scenegraph/layout/update-height.js.map +1 -0
- package/cjs/scenegraph/layout/update-row.d.ts +3 -0
- package/cjs/scenegraph/layout/update-row.js +284 -0
- package/cjs/scenegraph/layout/update-row.js.map +1 -0
- package/cjs/scenegraph/layout/update-width.d.ts +2 -0
- package/cjs/scenegraph/layout/update-width.js +238 -0
- package/cjs/scenegraph/layout/update-width.js.map +1 -0
- package/cjs/scenegraph/refresh-node/update-chart.d.ts +7 -0
- package/cjs/scenegraph/refresh-node/update-chart.js +201 -0
- package/cjs/scenegraph/refresh-node/update-chart.js.map +1 -0
- package/cjs/scenegraph/scenegraph.d.ts +182 -0
- package/cjs/scenegraph/scenegraph.js +898 -0
- package/cjs/scenegraph/scenegraph.js.map +1 -0
- package/cjs/scenegraph/select/create-select-border.d.ts +3 -0
- package/cjs/scenegraph/select/create-select-border.js +60 -0
- package/cjs/scenegraph/select/create-select-border.js.map +1 -0
- package/cjs/scenegraph/select/delete-select-border.d.ts +5 -0
- package/cjs/scenegraph/select/delete-select-border.js +37 -0
- package/cjs/scenegraph/select/delete-select-border.js.map +1 -0
- package/cjs/scenegraph/select/move-select-border.d.ts +2 -0
- package/cjs/scenegraph/select/move-select-border.js +15 -0
- package/cjs/scenegraph/select/move-select-border.js.map +1 -0
- package/cjs/scenegraph/select/update-select-border.d.ts +8 -0
- package/cjs/scenegraph/select/update-select-border.js +272 -0
- package/cjs/scenegraph/select/update-select-border.js.map +1 -0
- package/cjs/scenegraph/select/update-select-style.d.ts +3 -0
- package/cjs/scenegraph/select/update-select-style.js +13 -0
- package/cjs/scenegraph/select/update-select-style.js.map +1 -0
- package/cjs/scenegraph/stick-text/index.d.ts +3 -0
- package/cjs/scenegraph/stick-text/index.js +189 -0
- package/cjs/scenegraph/stick-text/index.js.map +1 -0
- package/cjs/scenegraph/style/corner-cell.d.ts +3 -0
- package/cjs/scenegraph/style/corner-cell.js +28 -0
- package/cjs/scenegraph/style/corner-cell.js.map +1 -0
- package/cjs/scenegraph/style/frame-border.d.ts +8 -0
- package/cjs/scenegraph/style/frame-border.js +144 -0
- package/cjs/scenegraph/style/frame-border.js.map +1 -0
- package/cjs/scenegraph/utils/border-line.d.ts +8 -0
- package/cjs/scenegraph/utils/border-line.js +51 -0
- package/cjs/scenegraph/utils/border-line.js.map +1 -0
- package/cjs/scenegraph/utils/break-string.d.ts +5 -0
- package/cjs/scenegraph/utils/break-string.js +24 -0
- package/cjs/scenegraph/utils/break-string.js.map +1 -0
- package/cjs/scenegraph/utils/cell-border-stroke-width.d.ts +3 -0
- package/cjs/scenegraph/utils/cell-border-stroke-width.js +21 -0
- package/cjs/scenegraph/utils/cell-border-stroke-width.js.map +1 -0
- package/cjs/scenegraph/utils/cell-pos.d.ts +4 -0
- package/cjs/scenegraph/utils/cell-pos.js +18 -0
- package/cjs/scenegraph/utils/cell-pos.js.map +1 -0
- package/cjs/scenegraph/utils/deal-promise-data.d.ts +2 -0
- package/cjs/scenegraph/utils/deal-promise-data.js +12 -0
- package/cjs/scenegraph/utils/deal-promise-data.js.map +1 -0
- package/cjs/scenegraph/utils/empty-group.d.ts +2 -0
- package/cjs/scenegraph/utils/empty-group.js +10 -0
- package/cjs/scenegraph/utils/empty-group.js.map +1 -0
- package/cjs/scenegraph/utils/font.d.ts +1 -0
- package/cjs/scenegraph/utils/font.js +20 -0
- package/cjs/scenegraph/utils/font.js.map +1 -0
- package/cjs/scenegraph/utils/get-cell-merge.d.ts +3 -0
- package/cjs/scenegraph/utils/get-cell-merge.js +17 -0
- package/cjs/scenegraph/utils/get-cell-merge.js.map +1 -0
- package/cjs/scenegraph/utils/get-hierarchy-offset.d.ts +2 -0
- package/cjs/scenegraph/utils/get-hierarchy-offset.js +27 -0
- package/cjs/scenegraph/utils/get-hierarchy-offset.js.map +1 -0
- package/cjs/scenegraph/utils/get-prop.d.ts +4 -0
- package/cjs/scenegraph/utils/get-prop.js +44 -0
- package/cjs/scenegraph/utils/get-prop.js.map +1 -0
- package/cjs/scenegraph/utils/icon.d.ts +12 -0
- package/cjs/scenegraph/utils/icon.js +35 -0
- package/cjs/scenegraph/utils/icon.js.map +1 -0
- package/cjs/scenegraph/utils/is-merge-cell-group.d.ts +2 -0
- package/cjs/scenegraph/utils/is-merge-cell-group.js +16 -0
- package/cjs/scenegraph/utils/is-merge-cell-group.js.map +1 -0
- package/cjs/scenegraph/utils/keep-aspect-ratio.d.ts +4 -0
- package/cjs/scenegraph/utils/keep-aspect-ratio.js +17 -0
- package/cjs/scenegraph/utils/keep-aspect-ratio.js.map +1 -0
- package/cjs/scenegraph/utils/padding.d.ts +6 -0
- package/cjs/scenegraph/utils/padding.js +21 -0
- package/cjs/scenegraph/utils/padding.js.map +1 -0
- package/cjs/scenegraph/utils/render-service.d.ts +7 -0
- package/cjs/scenegraph/utils/render-service.js +27 -0
- package/cjs/scenegraph/utils/render-service.js.map +1 -0
- package/cjs/scenegraph/utils/text-icon-layout.d.ts +29 -0
- package/cjs/scenegraph/utils/text-icon-layout.js +335 -0
- package/cjs/scenegraph/utils/text-icon-layout.js.map +1 -0
- package/cjs/scenegraph/utils/text-measure.d.ts +38 -0
- package/cjs/scenegraph/utils/text-measure.js +166 -0
- package/cjs/scenegraph/utils/text-measure.js.map +1 -0
- package/cjs/scenegraph/utils/text-pos.d.ts +8 -0
- package/cjs/scenegraph/utils/text-pos.js +27 -0
- package/cjs/scenegraph/utils/text-pos.js.map +1 -0
- package/cjs/scenegraph/utils/update-container.d.ts +2 -0
- package/cjs/scenegraph/utils/update-container.js +12 -0
- package/cjs/scenegraph/utils/update-container.js.map +1 -0
- package/cjs/state/cell-move/adjust-header.d.ts +3 -0
- package/cjs/state/cell-move/adjust-header.js +26 -0
- package/cjs/state/cell-move/adjust-header.js.map +1 -0
- package/cjs/state/cell-move/index.d.ts +4 -0
- package/cjs/state/cell-move/index.js +112 -0
- package/cjs/state/cell-move/index.js.map +1 -0
- package/cjs/state/checkbox/checkbox.d.ts +12 -0
- package/cjs/state/checkbox/checkbox.js +210 -0
- package/cjs/state/checkbox/checkbox.js.map +1 -0
- package/cjs/state/common/check-in-select.d.ts +7 -0
- package/cjs/state/common/check-in-select.js +63 -0
- package/cjs/state/common/check-in-select.js.map +1 -0
- package/cjs/state/drill/index.d.ts +2 -0
- package/cjs/state/drill/index.js +15 -0
- package/cjs/state/drill/index.js.map +1 -0
- package/cjs/state/frozen/index.d.ts +2 -0
- package/cjs/state/frozen/index.js +10 -0
- package/cjs/state/frozen/index.js.map +1 -0
- package/cjs/state/hover/col.d.ts +4 -0
- package/cjs/state/hover/col.js +24 -0
- package/cjs/state/hover/col.js.map +1 -0
- package/cjs/state/hover/is-cell-hover.d.ts +5 -0
- package/cjs/state/hover/is-cell-hover.js +49 -0
- package/cjs/state/hover/is-cell-hover.js.map +1 -0
- package/cjs/state/hover/row.d.ts +4 -0
- package/cjs/state/hover/row.js +22 -0
- package/cjs/state/hover/row.js.map +1 -0
- package/cjs/state/hover/single.d.ts +4 -0
- package/cjs/state/hover/single.js +18 -0
- package/cjs/state/hover/single.js.map +1 -0
- package/cjs/state/hover/update-cell.d.ts +2 -0
- package/cjs/state/hover/update-cell.js +24 -0
- package/cjs/state/hover/update-cell.js.map +1 -0
- package/cjs/state/hover/update-position.d.ts +2 -0
- package/cjs/state/hover/update-position.js +44 -0
- package/cjs/state/hover/update-position.js.map +1 -0
- package/cjs/state/radio/radio.d.ts +7 -0
- package/cjs/state/radio/radio.js +96 -0
- package/cjs/state/radio/radio.js.map +1 -0
- package/cjs/state/resize/update-resize-column.d.ts +2 -0
- package/cjs/state/resize/update-resize-column.js +85 -0
- package/cjs/state/resize/update-resize-column.js.map +1 -0
- package/cjs/state/resize/update-resize-row.d.ts +2 -0
- package/cjs/state/resize/update-resize-row.js +64 -0
- package/cjs/state/resize/update-resize-row.js.map +1 -0
- package/cjs/state/select/custom-select.d.ts +7 -0
- package/cjs/state/select/custom-select.js +36 -0
- package/cjs/state/select/custom-select.js.map +1 -0
- package/cjs/state/select/is-cell-select-highlight.d.ts +6 -0
- package/cjs/state/select/is-cell-select-highlight.js +88 -0
- package/cjs/state/select/is-cell-select-highlight.js.map +1 -0
- package/cjs/state/select/update-position.d.ts +4 -0
- package/cjs/state/select/update-position.js +308 -0
- package/cjs/state/select/update-position.js.map +1 -0
- package/cjs/state/sort/index.d.ts +2 -0
- package/cjs/state/sort/index.js +56 -0
- package/cjs/state/sort/index.js.map +1 -0
- package/cjs/state/spark-line/index.d.ts +3 -0
- package/cjs/state/spark-line/index.js +102 -0
- package/cjs/state/spark-line/index.js.map +1 -0
- package/cjs/state/state.d.ts +206 -0
- package/cjs/state/state.js +796 -0
- package/cjs/state/state.js.map +1 -0
- package/cjs/themes/ARCO.d.ts +3 -0
- package/cjs/themes/ARCO.js +113 -0
- package/cjs/themes/ARCO.js.map +1 -0
- package/cjs/themes/BRIGHT.d.ts +3 -0
- package/cjs/themes/BRIGHT.js +70 -0
- package/cjs/themes/BRIGHT.js.map +1 -0
- package/cjs/themes/DARK.d.ts +3 -0
- package/cjs/themes/DARK.js +103 -0
- package/cjs/themes/DARK.js.map +1 -0
- package/cjs/themes/DEFAULT.d.ts +3 -0
- package/cjs/themes/DEFAULT.js +86 -0
- package/cjs/themes/DEFAULT.js.map +1 -0
- package/cjs/themes/SIMPLIFY.d.ts +3 -0
- package/cjs/themes/SIMPLIFY.js +53 -0
- package/cjs/themes/SIMPLIFY.js.map +1 -0
- package/cjs/themes/component.d.ts +35 -0
- package/cjs/themes/component.js +47 -0
- package/cjs/themes/component.js.map +1 -0
- package/cjs/themes/theme.d.ts +67 -0
- package/cjs/themes/theme.js +777 -0
- package/cjs/themes/theme.js.map +1 -0
- package/cjs/themes.d.ts +28 -0
- package/cjs/themes.js +57 -0
- package/cjs/themes.js.map +1 -0
- package/cjs/tools/LimitPromiseQueue.d.ts +8 -0
- package/cjs/tools/LimitPromiseQueue.js +29 -0
- package/cjs/tools/LimitPromiseQueue.js.map +1 -0
- package/cjs/tools/NumberMap.d.ts +23 -0
- package/cjs/tools/NumberMap.js +123 -0
- package/cjs/tools/NumberMap.js.map +1 -0
- package/cjs/tools/Rect.d.ts +24 -0
- package/cjs/tools/Rect.js +70 -0
- package/cjs/tools/Rect.js.map +1 -0
- package/cjs/tools/calc.d.ts +8 -0
- package/cjs/tools/calc.js +205 -0
- package/cjs/tools/calc.js.map +1 -0
- package/cjs/tools/cell-range.d.ts +2 -0
- package/cjs/tools/cell-range.js +10 -0
- package/cjs/tools/cell-range.js.map +1 -0
- package/cjs/tools/debounce.d.ts +1 -0
- package/cjs/tools/debounce.js +51 -0
- package/cjs/tools/debounce.js.map +1 -0
- package/cjs/tools/diff-cell.d.ts +72 -0
- package/cjs/tools/diff-cell.js +170 -0
- package/cjs/tools/diff-cell.js.map +1 -0
- package/cjs/tools/dom.d.ts +1 -0
- package/cjs/tools/dom.js +11 -0
- package/cjs/tools/dom.js.map +1 -0
- package/cjs/tools/env.d.ts +19 -0
- package/cjs/tools/env.js +48 -0
- package/cjs/tools/env.js.map +1 -0
- package/cjs/tools/get-data-path/create-dataset.d.ts +11 -0
- package/cjs/tools/get-data-path/create-dataset.js +149 -0
- package/cjs/tools/get-data-path/create-dataset.js.map +1 -0
- package/cjs/tools/get-data-path/index.d.ts +2 -0
- package/cjs/tools/get-data-path/index.js +51 -0
- package/cjs/tools/get-data-path/index.js.map +1 -0
- package/cjs/tools/global.d.ts +15 -0
- package/cjs/tools/global.js +15 -0
- package/cjs/tools/global.js.map +1 -0
- package/cjs/tools/helper.d.ts +72 -0
- package/cjs/tools/helper.js +228 -0
- package/cjs/tools/helper.js.map +1 -0
- package/cjs/tools/icons.d.ts +4 -0
- package/cjs/tools/icons.js +10 -0
- package/cjs/tools/icons.js.map +1 -0
- package/cjs/tools/isx.d.ts +16 -0
- package/cjs/tools/isx.js +117 -0
- package/cjs/tools/isx.js.map +1 -0
- package/cjs/tools/join.d.ts +1 -0
- package/cjs/tools/join.js +12 -0
- package/cjs/tools/join.js.map +1 -0
- package/cjs/tools/merge-range.d.ts +11 -0
- package/cjs/tools/merge-range.js +35 -0
- package/cjs/tools/merge-range.js.map +1 -0
- package/cjs/tools/pixel-ratio.d.ts +2 -0
- package/cjs/tools/pixel-ratio.js +16 -0
- package/cjs/tools/pixel-ratio.js.map +1 -0
- package/cjs/tools/sort.d.ts +2 -0
- package/cjs/tools/sort.js +18 -0
- package/cjs/tools/sort.js.map +1 -0
- package/cjs/tools/style.d.ts +5 -0
- package/cjs/tools/style.js +30 -0
- package/cjs/tools/style.js.map +1 -0
- package/cjs/tools/update-row.d.ts +19 -0
- package/cjs/tools/update-row.js +38 -0
- package/cjs/tools/update-row.js.map +1 -0
- package/cjs/tools/util.d.ts +46 -0
- package/cjs/tools/util.js +279 -0
- package/cjs/tools/util.js.map +1 -0
- package/cjs/ts-types/animation/appear.d.ts +11 -0
- package/cjs/ts-types/animation/appear.js +6 -0
- package/cjs/ts-types/animation/appear.js.map +1 -0
- package/cjs/ts-types/animation/index.d.ts +1 -0
- package/cjs/ts-types/animation/index.js +21 -0
- package/cjs/ts-types/animation/index.js.map +1 -0
- package/cjs/ts-types/base-table.d.ts +641 -0
- package/cjs/ts-types/base-table.js +6 -0
- package/cjs/ts-types/base-table.js.map +1 -0
- package/cjs/ts-types/column/index.d.ts +2 -0
- package/cjs/ts-types/column/index.js +21 -0
- package/cjs/ts-types/column/index.js.map +1 -0
- package/cjs/ts-types/column/style.d.ts +151 -0
- package/cjs/ts-types/column/style.js +6 -0
- package/cjs/ts-types/column/style.js.map +1 -0
- package/cjs/ts-types/column/type.d.ts +2 -0
- package/cjs/ts-types/column/type.js +6 -0
- package/cjs/ts-types/column/type.js.map +1 -0
- package/cjs/ts-types/common.d.ts +114 -0
- package/cjs/ts-types/common.js +14 -0
- package/cjs/ts-types/common.js.map +1 -0
- package/cjs/ts-types/component/axis.d.ts +2 -0
- package/cjs/ts-types/component/axis.js +6 -0
- package/cjs/ts-types/component/axis.js.map +1 -0
- package/cjs/ts-types/component/empty-tip.d.ts +20 -0
- package/cjs/ts-types/component/empty-tip.js +6 -0
- package/cjs/ts-types/component/empty-tip.js.map +1 -0
- package/cjs/ts-types/component/index.d.ts +1 -0
- package/cjs/ts-types/component/index.js +21 -0
- package/cjs/ts-types/component/index.js.map +1 -0
- package/cjs/ts-types/component/legend.d.ts +18 -0
- package/cjs/ts-types/component/legend.js +6 -0
- package/cjs/ts-types/component/legend.js.map +1 -0
- package/cjs/ts-types/component/title.d.ts +49 -0
- package/cjs/ts-types/component/title.js +6 -0
- package/cjs/ts-types/component/title.js.map +1 -0
- package/cjs/ts-types/component/util.d.ts +1 -0
- package/cjs/ts-types/component/util.js +6 -0
- package/cjs/ts-types/component/util.js.map +1 -0
- package/cjs/ts-types/customElement.d.ts +128 -0
- package/cjs/ts-types/customElement.js +6 -0
- package/cjs/ts-types/customElement.js.map +1 -0
- package/cjs/ts-types/customLayout.d.ts +9 -0
- package/cjs/ts-types/customLayout.js +6 -0
- package/cjs/ts-types/customLayout.js.map +1 -0
- package/cjs/ts-types/dataset/aggregation.d.ts +192 -0
- package/cjs/ts-types/dataset/aggregation.js +423 -0
- package/cjs/ts-types/dataset/aggregation.js.map +1 -0
- package/cjs/ts-types/dataset/index.d.ts +1 -0
- package/cjs/ts-types/dataset/index.js +21 -0
- package/cjs/ts-types/dataset/index.js.map +1 -0
- package/cjs/ts-types/events.d.ts +363 -0
- package/cjs/ts-types/events.js +6 -0
- package/cjs/ts-types/events.js.map +1 -0
- package/cjs/ts-types/icon.d.ts +93 -0
- package/cjs/ts-types/icon.js +28 -0
- package/cjs/ts-types/icon.js.map +1 -0
- package/cjs/ts-types/index.d.ts +17 -0
- package/cjs/ts-types/index.js +29 -0
- package/cjs/ts-types/index.js.map +1 -0
- package/cjs/ts-types/list-table/define/basic-define.d.ts +50 -0
- package/cjs/ts-types/list-table/define/basic-define.js +6 -0
- package/cjs/ts-types/list-table/define/basic-define.js.map +1 -0
- package/cjs/ts-types/list-table/define/button-define.d.ts +9 -0
- package/cjs/ts-types/list-table/define/button-define.js +6 -0
- package/cjs/ts-types/list-table/define/button-define.js.map +1 -0
- package/cjs/ts-types/list-table/define/chart-define.d.ts +11 -0
- package/cjs/ts-types/list-table/define/chart-define.js +6 -0
- package/cjs/ts-types/list-table/define/chart-define.js.map +1 -0
- package/cjs/ts-types/list-table/define/checkbox-define.d.ts +15 -0
- package/cjs/ts-types/list-table/define/checkbox-define.js +6 -0
- package/cjs/ts-types/list-table/define/checkbox-define.js.map +1 -0
- package/cjs/ts-types/list-table/define/composite-define.d.ts +26 -0
- package/cjs/ts-types/list-table/define/composite-define.js +6 -0
- package/cjs/ts-types/list-table/define/composite-define.js.map +1 -0
- package/cjs/ts-types/list-table/define/image-define.d.ts +17 -0
- package/cjs/ts-types/list-table/define/image-define.js +6 -0
- package/cjs/ts-types/list-table/define/image-define.js.map +1 -0
- package/cjs/ts-types/list-table/define/index.d.ts +31 -0
- package/cjs/ts-types/list-table/define/index.js +6 -0
- package/cjs/ts-types/list-table/define/index.js.map +1 -0
- package/cjs/ts-types/list-table/define/link-define.d.ts +22 -0
- package/cjs/ts-types/list-table/define/link-define.js +6 -0
- package/cjs/ts-types/list-table/define/link-define.js.map +1 -0
- package/cjs/ts-types/list-table/define/multilinetext-define.d.ts +11 -0
- package/cjs/ts-types/list-table/define/multilinetext-define.js +6 -0
- package/cjs/ts-types/list-table/define/multilinetext-define.js.map +1 -0
- package/cjs/ts-types/list-table/define/progressbar-define.d.ts +11 -0
- package/cjs/ts-types/list-table/define/progressbar-define.js +6 -0
- package/cjs/ts-types/list-table/define/progressbar-define.js.map +1 -0
- package/cjs/ts-types/list-table/define/radio-define.d.ts +11 -0
- package/cjs/ts-types/list-table/define/radio-define.js +6 -0
- package/cjs/ts-types/list-table/define/radio-define.js.map +1 -0
- package/cjs/ts-types/list-table/define/sparkline-define.d.ts +10 -0
- package/cjs/ts-types/list-table/define/sparkline-define.js +6 -0
- package/cjs/ts-types/list-table/define/sparkline-define.js.map +1 -0
- package/cjs/ts-types/list-table/define/switch-define.d.ts +11 -0
- package/cjs/ts-types/list-table/define/switch-define.js +6 -0
- package/cjs/ts-types/list-table/define/switch-define.js.map +1 -0
- package/cjs/ts-types/list-table/index.d.ts +2 -0
- package/cjs/ts-types/list-table/index.js +21 -0
- package/cjs/ts-types/list-table/index.js.map +1 -0
- package/cjs/ts-types/list-table/layout-map/api.d.ts +126 -0
- package/cjs/ts-types/list-table/layout-map/api.js +6 -0
- package/cjs/ts-types/list-table/layout-map/api.js.map +1 -0
- package/cjs/ts-types/list-table/layout-map/index.d.ts +1 -0
- package/cjs/ts-types/list-table/layout-map/index.js +6 -0
- package/cjs/ts-types/list-table/layout-map/index.js.map +1 -0
- package/cjs/ts-types/menu.d.ts +74 -0
- package/cjs/ts-types/menu.js +6 -0
- package/cjs/ts-types/menu.js.map +1 -0
- package/cjs/ts-types/new-data-set.d.ts +158 -0
- package/cjs/ts-types/new-data-set.js +16 -0
- package/cjs/ts-types/new-data-set.js.map +1 -0
- package/cjs/ts-types/pivot-table/PIVOT_TABLE_EVENT_TYPE.d.ts +10 -0
- package/cjs/ts-types/pivot-table/PIVOT_TABLE_EVENT_TYPE.js +15 -0
- package/cjs/ts-types/pivot-table/PIVOT_TABLE_EVENT_TYPE.js.map +1 -0
- package/cjs/ts-types/pivot-table/corner.d.ts +37 -0
- package/cjs/ts-types/pivot-table/corner.js +6 -0
- package/cjs/ts-types/pivot-table/corner.js.map +1 -0
- package/cjs/ts-types/pivot-table/dimension/basic-dimension.d.ts +43 -0
- package/cjs/ts-types/pivot-table/dimension/basic-dimension.js +6 -0
- package/cjs/ts-types/pivot-table/dimension/basic-dimension.js.map +1 -0
- package/cjs/ts-types/pivot-table/dimension/image-dimension.d.ts +10 -0
- package/cjs/ts-types/pivot-table/dimension/image-dimension.js +6 -0
- package/cjs/ts-types/pivot-table/dimension/image-dimension.js.map +1 -0
- package/cjs/ts-types/pivot-table/dimension/index.d.ts +6 -0
- package/cjs/ts-types/pivot-table/dimension/index.js +6 -0
- package/cjs/ts-types/pivot-table/dimension/index.js.map +1 -0
- package/cjs/ts-types/pivot-table/dimension/link-dimension.d.ts +13 -0
- package/cjs/ts-types/pivot-table/dimension/link-dimension.js +6 -0
- package/cjs/ts-types/pivot-table/dimension/link-dimension.js.map +1 -0
- package/cjs/ts-types/pivot-table/dimension/multilinetext-dimension.d.ts +7 -0
- package/cjs/ts-types/pivot-table/dimension/multilinetext-dimension.js +6 -0
- package/cjs/ts-types/pivot-table/dimension/multilinetext-dimension.js.map +1 -0
- package/cjs/ts-types/pivot-table/index.d.ts +4 -0
- package/cjs/ts-types/pivot-table/index.js +22 -0
- package/cjs/ts-types/pivot-table/index.js.map +1 -0
- package/cjs/ts-types/pivot-table/indicator/basic-indicator.d.ts +51 -0
- package/cjs/ts-types/pivot-table/indicator/basic-indicator.js +6 -0
- package/cjs/ts-types/pivot-table/indicator/basic-indicator.js.map +1 -0
- package/cjs/ts-types/pivot-table/indicator/chart-indicator.d.ts +11 -0
- package/cjs/ts-types/pivot-table/indicator/chart-indicator.js +6 -0
- package/cjs/ts-types/pivot-table/indicator/chart-indicator.js.map +1 -0
- package/cjs/ts-types/pivot-table/indicator/checkbox-indicator.d.ts +9 -0
- package/cjs/ts-types/pivot-table/indicator/checkbox-indicator.js +6 -0
- package/cjs/ts-types/pivot-table/indicator/checkbox-indicator.js.map +1 -0
- package/cjs/ts-types/pivot-table/indicator/composite-indicator.d.ts +24 -0
- package/cjs/ts-types/pivot-table/indicator/composite-indicator.js +6 -0
- package/cjs/ts-types/pivot-table/indicator/composite-indicator.js.map +1 -0
- package/cjs/ts-types/pivot-table/indicator/image-indicator.d.ts +17 -0
- package/cjs/ts-types/pivot-table/indicator/image-indicator.js +6 -0
- package/cjs/ts-types/pivot-table/indicator/image-indicator.js.map +1 -0
- package/cjs/ts-types/pivot-table/indicator/index.d.ts +12 -0
- package/cjs/ts-types/pivot-table/indicator/index.js +6 -0
- package/cjs/ts-types/pivot-table/indicator/index.js.map +1 -0
- package/cjs/ts-types/pivot-table/indicator/link-indicator.d.ts +22 -0
- package/cjs/ts-types/pivot-table/indicator/link-indicator.js +6 -0
- package/cjs/ts-types/pivot-table/indicator/link-indicator.js.map +1 -0
- package/cjs/ts-types/pivot-table/indicator/multilinetext-indicator.d.ts +11 -0
- package/cjs/ts-types/pivot-table/indicator/multilinetext-indicator.js +6 -0
- package/cjs/ts-types/pivot-table/indicator/multilinetext-indicator.js.map +1 -0
- package/cjs/ts-types/pivot-table/indicator/progress-indicator.d.ts +11 -0
- package/cjs/ts-types/pivot-table/indicator/progress-indicator.js +6 -0
- package/cjs/ts-types/pivot-table/indicator/progress-indicator.js.map +1 -0
- package/cjs/ts-types/pivot-table/indicator/sparkline-indicator.d.ts +10 -0
- package/cjs/ts-types/pivot-table/indicator/sparkline-indicator.js +6 -0
- package/cjs/ts-types/pivot-table/indicator/sparkline-indicator.js.map +1 -0
- package/cjs/ts-types/pivot-table/title.d.ts +20 -0
- package/cjs/ts-types/pivot-table/title.js +6 -0
- package/cjs/ts-types/pivot-table/title.js.map +1 -0
- package/cjs/ts-types/sparkline.d.ts +37 -0
- package/cjs/ts-types/sparkline.js +6 -0
- package/cjs/ts-types/sparkline.js.map +1 -0
- package/cjs/ts-types/style-define.d.ts +72 -0
- package/cjs/ts-types/style-define.js +6 -0
- package/cjs/ts-types/style-define.js.map +1 -0
- package/cjs/ts-types/table-engine.d.ts +405 -0
- package/cjs/ts-types/table-engine.js +13 -0
- package/cjs/ts-types/table-engine.js.map +1 -0
- package/cjs/ts-types/theme.d.ts +164 -0
- package/cjs/ts-types/theme.js +6 -0
- package/cjs/ts-types/theme.js.map +1 -0
- package/cjs/ts-types/tooltip.d.ts +26 -0
- package/cjs/ts-types/tooltip.js +6 -0
- package/cjs/ts-types/tooltip.js.map +1 -0
- package/cjs/vrender.d.ts +8 -0
- package/cjs/vrender.js +61 -0
- package/cjs/vrender.js.map +1 -0
- package/dist/vtable.js +83482 -0
- package/dist/vtable.min.js +15 -0
- package/es/ListTable-all.d.ts +3 -0
- package/es/ListTable-all.js +17 -0
- package/es/ListTable-all.js.map +1 -0
- package/es/ListTable-simple.d.ts +3 -0
- package/es/ListTable-simple.js +8 -0
- package/es/ListTable-simple.js.map +1 -0
- package/es/ListTable.d.ts +101 -0
- package/es/ListTable.js +675 -0
- package/es/ListTable.js.map +1 -0
- package/es/PivotChart.d.ts +100 -0
- package/es/PivotChart.js +773 -0
- package/es/PivotChart.js.map +1 -0
- package/es/PivotTable-all.d.ts +3 -0
- package/es/PivotTable-all.js +13 -0
- package/es/PivotTable-all.js.map +1 -0
- package/es/PivotTable-simple.d.ts +3 -0
- package/es/PivotTable-simple.js +8 -0
- package/es/PivotTable-simple.js.map +1 -0
- package/es/PivotTable.d.ts +112 -0
- package/es/PivotTable.js +985 -0
- package/es/PivotTable.js.map +1 -0
- package/es/body-helper/body-helper.d.ts +20 -0
- package/es/body-helper/body-helper.js +112 -0
- package/es/body-helper/body-helper.js.map +1 -0
- package/es/body-helper/style/ButtonStyle.d.ts +45 -0
- package/es/body-helper/style/ButtonStyle.js +102 -0
- package/es/body-helper/style/ButtonStyle.js.map +1 -0
- package/es/body-helper/style/CheckboxStyle.d.ts +42 -0
- package/es/body-helper/style/CheckboxStyle.js +96 -0
- package/es/body-helper/style/CheckboxStyle.js.map +1 -0
- package/es/body-helper/style/ImageStyle.d.ts +7 -0
- package/es/body-helper/style/ImageStyle.js +16 -0
- package/es/body-helper/style/ImageStyle.js.map +1 -0
- package/es/body-helper/style/MultilineTextStyle.d.ts +13 -0
- package/es/body-helper/style/MultilineTextStyle.js +30 -0
- package/es/body-helper/style/MultilineTextStyle.js.map +1 -0
- package/es/body-helper/style/NumberStyle.d.ts +7 -0
- package/es/body-helper/style/NumberStyle.js +16 -0
- package/es/body-helper/style/NumberStyle.js.map +1 -0
- package/es/body-helper/style/ProgressBarStyle.d.ts +55 -0
- package/es/body-helper/style/ProgressBarStyle.js +131 -0
- package/es/body-helper/style/ProgressBarStyle.js.map +1 -0
- package/es/body-helper/style/RadioStyle.d.ts +45 -0
- package/es/body-helper/style/RadioStyle.js +103 -0
- package/es/body-helper/style/RadioStyle.js.map +1 -0
- package/es/body-helper/style/Style.d.ts +95 -0
- package/es/body-helper/style/Style.js +219 -0
- package/es/body-helper/style/Style.js.map +1 -0
- package/es/body-helper/style/SwitchStyle.d.ts +36 -0
- package/es/body-helper/style/SwitchStyle.js +82 -0
- package/es/body-helper/style/SwitchStyle.js.map +1 -0
- package/es/body-helper/style.d.ts +11 -0
- package/es/body-helper/style.js +28 -0
- package/es/body-helper/style.js.map +1 -0
- package/es/chartModule.d.ts +3 -0
- package/es/chartModule.js +10 -0
- package/es/chartModule.js.map +1 -0
- package/es/components/axis/axis.d.ts +52 -0
- package/es/components/axis/axis.js +198 -0
- package/es/components/axis/axis.js.map +1 -0
- package/es/components/axis/band-scale.d.ts +18 -0
- package/es/components/axis/band-scale.js +46 -0
- package/es/components/axis/band-scale.js.map +1 -0
- package/es/components/axis/get-axis-attributes.d.ts +146 -0
- package/es/components/axis/get-axis-attributes.js +200 -0
- package/es/components/axis/get-axis-attributes.js.map +1 -0
- package/es/components/axis/get-axis-component-size.d.ts +6 -0
- package/es/components/axis/get-axis-component-size.js +128 -0
- package/es/components/axis/get-axis-component-size.js.map +1 -0
- package/es/components/axis/label-overlap.d.ts +3 -0
- package/es/components/axis/label-overlap.js +57 -0
- package/es/components/axis/label-overlap.js.map +1 -0
- package/es/components/axis/linear-scale.d.ts +48 -0
- package/es/components/axis/linear-scale.js +115 -0
- package/es/components/axis/linear-scale.js.map +1 -0
- package/es/components/empty-tip/empty-tip.d.ts +25 -0
- package/es/components/empty-tip/empty-tip.js +98 -0
- package/es/components/empty-tip/empty-tip.js.map +1 -0
- package/es/components/index.d.ts +6 -0
- package/es/components/index.js +44 -0
- package/es/components/index.js.map +1 -0
- package/es/components/legend/continue-legend/continue-legend.d.ts +24 -0
- package/es/components/legend/continue-legend/continue-legend.js +96 -0
- package/es/components/legend/continue-legend/continue-legend.js.map +1 -0
- package/es/components/legend/continue-legend/get-continue-legend-attributes.d.ts +5 -0
- package/es/components/legend/continue-legend/get-continue-legend-attributes.js +132 -0
- package/es/components/legend/continue-legend/get-continue-legend-attributes.js.map +1 -0
- package/es/components/legend/create-legend.d.ts +6 -0
- package/es/components/legend/create-legend.js +8 -0
- package/es/components/legend/create-legend.js.map +1 -0
- package/es/components/legend/discrete-legend/discrete-legend.d.ts +25 -0
- package/es/components/legend/discrete-legend/discrete-legend.js +112 -0
- package/es/components/legend/discrete-legend/discrete-legend.js.map +1 -0
- package/es/components/legend/discrete-legend/get-discrete-legend-attributes.d.ts +5 -0
- package/es/components/legend/discrete-legend/get-discrete-legend-attributes.js +84 -0
- package/es/components/legend/discrete-legend/get-discrete-legend-attributes.js.map +1 -0
- package/es/components/menu/dom/BaseMenu.d.ts +16 -0
- package/es/components/menu/dom/BaseMenu.js +25 -0
- package/es/components/menu/dom/BaseMenu.js.map +1 -0
- package/es/components/menu/dom/Menu.d.ts +9 -0
- package/es/components/menu/dom/Menu.js +18 -0
- package/es/components/menu/dom/Menu.js.map +1 -0
- package/es/components/menu/dom/MenuHandler.d.ts +24 -0
- package/es/components/menu/dom/MenuHandler.js +146 -0
- package/es/components/menu/dom/MenuHandler.js.map +1 -0
- package/es/components/menu/dom/logic/MenuContainer.d.ts +21 -0
- package/es/components/menu/dom/logic/MenuContainer.js +102 -0
- package/es/components/menu/dom/logic/MenuContainer.js.map +1 -0
- package/es/components/menu/dom/logic/MenuElement.d.ts +26 -0
- package/es/components/menu/dom/logic/MenuElement.js +288 -0
- package/es/components/menu/dom/logic/MenuElement.js.map +1 -0
- package/es/components/menu/dom/logic/MenuElementStyle.d.ts +1 -0
- package/es/components/menu/dom/logic/MenuElementStyle.js +9 -0
- package/es/components/menu/dom/logic/MenuElementStyle.js.map +1 -0
- package/es/components/react/react-custom-layout.d.ts +27 -0
- package/es/components/react/react-custom-layout.js +169 -0
- package/es/components/react/react-custom-layout.js.map +1 -0
- package/es/components/title/title.d.ts +21 -0
- package/es/components/title/title.js +84 -0
- package/es/components/title/title.js.map +1 -0
- package/es/components/tooltip/BaseTooltip.d.ts +22 -0
- package/es/components/tooltip/BaseTooltip.js +27 -0
- package/es/components/tooltip/BaseTooltip.js.map +1 -0
- package/es/components/tooltip/Tooltip.d.ts +5 -0
- package/es/components/tooltip/Tooltip.js +10 -0
- package/es/components/tooltip/Tooltip.js.map +1 -0
- package/es/components/tooltip/TooltipHandler.d.ts +31 -0
- package/es/components/tooltip/TooltipHandler.js +134 -0
- package/es/components/tooltip/TooltipHandler.js.map +1 -0
- package/es/components/tooltip/logic/BubbleTooltipElement.d.ts +34 -0
- package/es/components/tooltip/logic/BubbleTooltipElement.js +162 -0
- package/es/components/tooltip/logic/BubbleTooltipElement.js.map +1 -0
- package/es/components/tooltip/logic/BubbleTooltipElementStyle.d.ts +1 -0
- package/es/components/tooltip/logic/BubbleTooltipElementStyle.js +9 -0
- package/es/components/tooltip/logic/BubbleTooltipElementStyle.js.map +1 -0
- package/es/components/util/orient.d.ts +3 -0
- package/es/components/util/orient.js +8 -0
- package/es/components/util/orient.js.map +1 -0
- package/es/components/util/register.d.ts +3 -0
- package/es/components/util/register.js +8 -0
- package/es/components/util/register.js.map +1 -0
- package/es/components/util/transform.d.ts +5 -0
- package/es/components/util/transform.js +34 -0
- package/es/components/util/transform.js.map +1 -0
- package/es/core/BaseTable.d.ts +436 -0
- package/es/core/BaseTable.js +1900 -0
- package/es/core/BaseTable.js.map +1 -0
- package/es/core/FouseInput.d.ts +12 -0
- package/es/core/FouseInput.js +33 -0
- package/es/core/FouseInput.js.map +1 -0
- package/es/core/TABLE_EVENT_TYPE.d.ts +61 -0
- package/es/core/TABLE_EVENT_TYPE.js +61 -0
- package/es/core/TABLE_EVENT_TYPE.js.map +1 -0
- package/es/core/animation.d.ts +17 -0
- package/es/core/animation.js +54 -0
- package/es/core/animation.js.map +1 -0
- package/es/core/factory.d.ts +11 -0
- package/es/core/factory.js +23 -0
- package/es/core/factory.js.map +1 -0
- package/es/core/group-helper.d.ts +6 -0
- package/es/core/group-helper.js +14 -0
- package/es/core/group-helper.js.map +1 -0
- package/es/core/record-helper.d.ts +8 -0
- package/es/core/record-helper.js +425 -0
- package/es/core/record-helper.js.map +1 -0
- package/es/core/row-series-number-helper.d.ts +8 -0
- package/es/core/row-series-number-helper.js +15 -0
- package/es/core/row-series-number-helper.js.map +1 -0
- package/es/core/style-helper.d.ts +3 -0
- package/es/core/style-helper.js +86 -0
- package/es/core/style-helper.js.map +1 -0
- package/es/core/style.d.ts +1 -0
- package/es/core/style.js +9 -0
- package/es/core/style.js.map +1 -0
- package/es/core/tableHelper.d.ts +45 -0
- package/es/core/tableHelper.js +253 -0
- package/es/core/tableHelper.js.map +1 -0
- package/es/core/utils/get-cell-position.d.ts +12 -0
- package/es/core/utils/get-cell-position.js +202 -0
- package/es/core/utils/get-cell-position.js.map +1 -0
- package/es/core/utils/get-custom-merge-cell-func.d.ts +2 -0
- package/es/core/utils/get-custom-merge-cell-func.js +6 -0
- package/es/core/utils/get-custom-merge-cell-func.js.map +1 -0
- package/es/core.d.ts +3 -0
- package/es/core.js +4 -0
- package/es/core.js.map +1 -0
- package/es/data/CachedDataSource.d.ts +36 -0
- package/es/data/CachedDataSource.js +249 -0
- package/es/data/CachedDataSource.js.map +1 -0
- package/es/data/DataSource.d.ts +129 -0
- package/es/data/DataSource.js +732 -0
- package/es/data/DataSource.js.map +1 -0
- package/es/data.d.ts +4 -0
- package/es/data.js +6 -0
- package/es/data.js.map +1 -0
- package/es/dataset/DataStatistics.d.ts +10 -0
- package/es/dataset/DataStatistics.js +74 -0
- package/es/dataset/DataStatistics.js.map +1 -0
- package/es/dataset/dataset-pivot-table.d.ts +60 -0
- package/es/dataset/dataset-pivot-table.js +340 -0
- package/es/dataset/dataset-pivot-table.js.map +1 -0
- package/es/dataset/dataset.d.ts +108 -0
- package/es/dataset/dataset.js +803 -0
- package/es/dataset/dataset.js.map +1 -0
- package/es/dataset/flatDataToObject.d.ts +46 -0
- package/es/dataset/flatDataToObject.js +124 -0
- package/es/dataset/flatDataToObject.js.map +1 -0
- package/es/edit/edit-manager.d.ts +19 -0
- package/es/edit/edit-manager.js +121 -0
- package/es/edit/edit-manager.js.map +1 -0
- package/es/edit/editors.d.ts +5 -0
- package/es/edit/editors.js +6 -0
- package/es/edit/editors.js.map +1 -0
- package/es/event/EventHandler.d.ts +47 -0
- package/es/event/EventHandler.js +119 -0
- package/es/event/EventHandler.js.map +1 -0
- package/es/event/EventTarget.d.ts +12 -0
- package/es/event/EventTarget.js +58 -0
- package/es/event/EventTarget.js.map +1 -0
- package/es/event/component/button.d.ts +2 -0
- package/es/event/component/button.js +13 -0
- package/es/event/component/button.js.map +1 -0
- package/es/event/drill.d.ts +5 -0
- package/es/event/drill.js +32 -0
- package/es/event/drill.js.map +1 -0
- package/es/event/event.d.ts +63 -0
- package/es/event/event.js +240 -0
- package/es/event/event.js.map +1 -0
- package/es/event/helper.d.ts +2 -0
- package/es/event/helper.js +27 -0
- package/es/event/helper.js.map +1 -0
- package/es/event/listener/container-dom.d.ts +2 -0
- package/es/event/listener/container-dom.js +348 -0
- package/es/event/listener/container-dom.js.map +1 -0
- package/es/event/listener/scroll-bar.d.ts +2 -0
- package/es/event/listener/scroll-bar.js +75 -0
- package/es/event/listener/scroll-bar.js.map +1 -0
- package/es/event/listener/table-group.d.ts +6 -0
- package/es/event/listener/table-group.js +522 -0
- package/es/event/listener/table-group.js.map +1 -0
- package/es/event/listener/touch.d.ts +2 -0
- package/es/event/listener/touch.js +76 -0
- package/es/event/listener/touch.js.map +1 -0
- package/es/event/media-click.d.ts +2 -0
- package/es/event/media-click.js +85 -0
- package/es/event/media-click.js.map +1 -0
- package/es/event/scroll.d.ts +20 -0
- package/es/event/scroll.js +81 -0
- package/es/event/scroll.js.map +1 -0
- package/es/event/self-event-listener/base-table/dbclick-auto-column-width.d.ts +2 -0
- package/es/event/self-event-listener/base-table/dbclick-auto-column-width.js +25 -0
- package/es/event/self-event-listener/base-table/dbclick-auto-column-width.js.map +1 -0
- package/es/event/self-event-listener/base-table/dropdown-menu.d.ts +2 -0
- package/es/event/self-event-listener/base-table/dropdown-menu.js +8 -0
- package/es/event/self-event-listener/base-table/dropdown-menu.js.map +1 -0
- package/es/event/self-event-listener/base-table/icon.d.ts +2 -0
- package/es/event/self-event-listener/base-table/icon.js +18 -0
- package/es/event/self-event-listener/base-table/icon.js.map +1 -0
- package/es/event/self-event-listener/base-table/right-button-click.d.ts +2 -0
- package/es/event/self-event-listener/base-table/right-button-click.js +17 -0
- package/es/event/self-event-listener/base-table/right-button-click.js.map +1 -0
- package/es/event/self-event-listener/list-table/checkbox.d.ts +3 -0
- package/es/event/self-event-listener/list-table/checkbox.js +117 -0
- package/es/event/self-event-listener/list-table/checkbox.js.map +1 -0
- package/es/event/self-event-listener/pivot-chart/axis-click.d.ts +2 -0
- package/es/event/self-event-listener/pivot-chart/axis-click.js +37 -0
- package/es/event/self-event-listener/pivot-chart/axis-click.js.map +1 -0
- package/es/event/self-event-listener/pivot-chart/axis-hover.d.ts +2 -0
- package/es/event/self-event-listener/pivot-chart/axis-hover.js +33 -0
- package/es/event/self-event-listener/pivot-chart/axis-hover.js.map +1 -0
- package/es/event/self-event-listener/pivot-table/drill.d.ts +1 -0
- package/es/event/self-event-listener/pivot-table/drill.js +3 -0
- package/es/event/self-event-listener/pivot-table/drill.js.map +1 -0
- package/es/event/sparkline-event.d.ts +2 -0
- package/es/event/sparkline-event.js +19 -0
- package/es/event/sparkline-event.js.map +1 -0
- package/es/event/util.d.ts +20 -0
- package/es/event/util.js +38 -0
- package/es/event/util.js.map +1 -0
- package/es/header-helper/header-helper.d.ts +29 -0
- package/es/header-helper/header-helper.js +252 -0
- package/es/header-helper/header-helper.js.map +1 -0
- package/es/header-helper/style/CheckboxStyle.d.ts +42 -0
- package/es/header-helper/style/CheckboxStyle.js +96 -0
- package/es/header-helper/style/CheckboxStyle.js.map +1 -0
- package/es/header-helper/style/ImageStyle.d.ts +7 -0
- package/es/header-helper/style/ImageStyle.js +17 -0
- package/es/header-helper/style/ImageStyle.js.map +1 -0
- package/es/header-helper/style/MultilineTextHeaderStyle.d.ts +13 -0
- package/es/header-helper/style/MultilineTextHeaderStyle.js +30 -0
- package/es/header-helper/style/MultilineTextHeaderStyle.js.map +1 -0
- package/es/header-helper/style/SortHeaderStyle.d.ts +1 -0
- package/es/header-helper/style/SortHeaderStyle.js +3 -0
- package/es/header-helper/style/SortHeaderStyle.js.map +1 -0
- package/es/header-helper/style/Style.d.ts +95 -0
- package/es/header-helper/style/Style.js +220 -0
- package/es/header-helper/style/Style.js.map +1 -0
- package/es/header-helper/style.d.ts +6 -0
- package/es/header-helper/style.js +17 -0
- package/es/header-helper/style.js.map +1 -0
- package/es/icons.d.ts +5 -0
- package/es/icons.js +295 -0
- package/es/icons.js.map +1 -0
- package/es/index.d.ts +33 -0
- package/es/index.js +68 -0
- package/es/index.js.map +1 -0
- package/es/layout/cell-range/simple-cell-range.d.ts +4 -0
- package/es/layout/cell-range/simple-cell-range.js +141 -0
- package/es/layout/cell-range/simple-cell-range.js.map +1 -0
- package/es/layout/chart-helper/get-axis-config.d.ts +39 -0
- package/es/layout/chart-helper/get-axis-config.js +391 -0
- package/es/layout/chart-helper/get-axis-config.js.map +1 -0
- package/es/layout/chart-helper/get-axis-domain.d.ts +11 -0
- package/es/layout/chart-helper/get-axis-domain.js +44 -0
- package/es/layout/chart-helper/get-axis-domain.js.map +1 -0
- package/es/layout/chart-helper/get-chart-spec.d.ts +13 -0
- package/es/layout/chart-helper/get-chart-spec.js +281 -0
- package/es/layout/chart-helper/get-chart-spec.js.map +1 -0
- package/es/layout/chart-helper/tick-align.d.ts +12 -0
- package/es/layout/chart-helper/tick-align.js +16 -0
- package/es/layout/chart-helper/tick-align.js.map +1 -0
- package/es/layout/chart-helper/zero-align.d.ts +10 -0
- package/es/layout/chart-helper/zero-align.js +111 -0
- package/es/layout/chart-helper/zero-align.js.map +1 -0
- package/es/layout/index.d.ts +1 -0
- package/es/layout/index.js +1 -0
- package/es/layout/index.js.map +1 -0
- package/es/layout/layout-helper.d.ts +20 -0
- package/es/layout/layout-helper.js +146 -0
- package/es/layout/layout-helper.js.map +1 -0
- package/es/layout/pivot-header-layout.d.ts +279 -0
- package/es/layout/pivot-header-layout.js +1832 -0
- package/es/layout/pivot-header-layout.js.map +1 -0
- package/es/layout/pivot-layout.d.ts +1 -0
- package/es/layout/pivot-layout.js +1 -0
- package/es/layout/pivot-layout.js.map +1 -0
- package/es/layout/row-height-map.d.ts +34 -0
- package/es/layout/row-height-map.js +168 -0
- package/es/layout/row-height-map.js.map +1 -0
- package/es/layout/simple-header-layout.d.ts +153 -0
- package/es/layout/simple-header-layout.js +780 -0
- package/es/layout/simple-header-layout.js.map +1 -0
- package/es/layout/tree-helper.d.ts +71 -0
- package/es/layout/tree-helper.js +401 -0
- package/es/layout/tree-helper.js.map +1 -0
- package/es/plugins/chartModules.d.ts +3 -0
- package/es/plugins/chartModules.js +2 -0
- package/es/plugins/chartModules.js.map +1 -0
- package/es/plugins/custom-cell-style.d.ts +26 -0
- package/es/plugins/custom-cell-style.js +107 -0
- package/es/plugins/custom-cell-style.js.map +1 -0
- package/es/plugins/icons.d.ts +12 -0
- package/es/plugins/icons.js +22 -0
- package/es/plugins/icons.js.map +1 -0
- package/es/plugins/invert-highlight.d.ts +1 -0
- package/es/plugins/invert-highlight.js +14 -0
- package/es/plugins/invert-highlight.js.map +1 -0
- package/es/plugins/list-tree-stick-cell.d.ts +18 -0
- package/es/plugins/list-tree-stick-cell.js +178 -0
- package/es/plugins/list-tree-stick-cell.js.map +1 -0
- package/es/plugins/themes.d.ts +4 -0
- package/es/plugins/themes.js +2 -0
- package/es/plugins/themes.js.map +1 -0
- package/es/register.d.ts +15 -0
- package/es/register.js +44 -0
- package/es/register.js.map +1 -0
- package/es/render/jsx/index.d.ts +8 -0
- package/es/render/jsx/index.js +16 -0
- package/es/render/jsx/index.js.map +1 -0
- package/es/render/layout/arc.d.ts +12 -0
- package/es/render/layout/arc.js +12 -0
- package/es/render/layout/arc.js.map +1 -0
- package/es/render/layout/circle.d.ts +12 -0
- package/es/render/layout/circle.js +12 -0
- package/es/render/layout/circle.js.map +1 -0
- package/es/render/layout/container.d.ts +14 -0
- package/es/render/layout/container.js +21 -0
- package/es/render/layout/container.js.map +1 -0
- package/es/render/layout/direction.d.ts +22 -0
- package/es/render/layout/direction.js +31 -0
- package/es/render/layout/direction.js.map +1 -0
- package/es/render/layout/element.d.ts +43 -0
- package/es/render/layout/element.js +19 -0
- package/es/render/layout/element.js.map +1 -0
- package/es/render/layout/group-element.d.ts +5 -0
- package/es/render/layout/group-element.js +8 -0
- package/es/render/layout/group-element.js.map +1 -0
- package/es/render/layout/group.d.ts +12 -0
- package/es/render/layout/group.js +12 -0
- package/es/render/layout/group.js.map +1 -0
- package/es/render/layout/icon.d.ts +21 -0
- package/es/render/layout/icon.js +21 -0
- package/es/render/layout/icon.js.map +1 -0
- package/es/render/layout/image.d.ts +14 -0
- package/es/render/layout/image.js +13 -0
- package/es/render/layout/image.js.map +1 -0
- package/es/render/layout/index.d.ts +13 -0
- package/es/render/layout/index.js +26 -0
- package/es/render/layout/index.js.map +1 -0
- package/es/render/layout/line.d.ts +1 -0
- package/es/render/layout/line.js +2 -0
- package/es/render/layout/line.js.map +1 -0
- package/es/render/layout/percent-calc.d.ts +5 -0
- package/es/render/layout/percent-calc.js +7 -0
- package/es/render/layout/percent-calc.js.map +1 -0
- package/es/render/layout/rect.d.ts +12 -0
- package/es/render/layout/rect.js +12 -0
- package/es/render/layout/rect.js.map +1 -0
- package/es/render/layout/tag.d.ts +14 -0
- package/es/render/layout/tag.js +15 -0
- package/es/render/layout/tag.js.map +1 -0
- package/es/render/layout/text.d.ts +13 -0
- package/es/render/layout/text.js +17 -0
- package/es/render/layout/text.js.map +1 -0
- package/es/scenegraph/animation/appear.d.ts +2 -0
- package/es/scenegraph/animation/appear.js +20 -0
- package/es/scenegraph/animation/appear.js.map +1 -0
- package/es/scenegraph/component/cell-content.d.ts +36 -0
- package/es/scenegraph/component/cell-content.js +105 -0
- package/es/scenegraph/component/cell-content.js.map +1 -0
- package/es/scenegraph/component/cell-mover.d.ts +21 -0
- package/es/scenegraph/component/cell-mover.js +113 -0
- package/es/scenegraph/component/cell-mover.js.map +1 -0
- package/es/scenegraph/component/custom.d.ts +16 -0
- package/es/scenegraph/component/custom.js +311 -0
- package/es/scenegraph/component/custom.js.map +1 -0
- package/es/scenegraph/component/drill-icon.d.ts +9 -0
- package/es/scenegraph/component/drill-icon.js +41 -0
- package/es/scenegraph/component/drill-icon.js.map +1 -0
- package/es/scenegraph/component/menu.d.ts +41 -0
- package/es/scenegraph/component/menu.js +215 -0
- package/es/scenegraph/component/menu.js.map +1 -0
- package/es/scenegraph/component/table-component.d.ts +52 -0
- package/es/scenegraph/component/table-component.js +564 -0
- package/es/scenegraph/component/table-component.js.map +1 -0
- package/es/scenegraph/component/util.d.ts +3 -0
- package/es/scenegraph/component/util.js +12 -0
- package/es/scenegraph/component/util.js.map +1 -0
- package/es/scenegraph/debug-tool/debug-tool.d.ts +34 -0
- package/es/scenegraph/debug-tool/debug-tool.js +113 -0
- package/es/scenegraph/debug-tool/debug-tool.js.map +1 -0
- package/es/scenegraph/debug-tool/index.d.ts +4 -0
- package/es/scenegraph/debug-tool/index.js +6 -0
- package/es/scenegraph/debug-tool/index.js.map +1 -0
- package/es/scenegraph/graphic/chart.d.ts +47 -0
- package/es/scenegraph/graphic/chart.js +123 -0
- package/es/scenegraph/graphic/chart.js.map +1 -0
- package/es/scenegraph/graphic/contributions/chart-render-helper.d.ts +11 -0
- package/es/scenegraph/graphic/contributions/chart-render-helper.js +159 -0
- package/es/scenegraph/graphic/contributions/chart-render-helper.js.map +1 -0
- package/es/scenegraph/graphic/contributions/chart-render.d.ts +11 -0
- package/es/scenegraph/graphic/contributions/chart-render.js +76 -0
- package/es/scenegraph/graphic/contributions/chart-render.js.map +1 -0
- package/es/scenegraph/graphic/contributions/draw-interceptor.d.ts +13 -0
- package/es/scenegraph/graphic/contributions/draw-interceptor.js +66 -0
- package/es/scenegraph/graphic/contributions/draw-interceptor.js.map +1 -0
- package/es/scenegraph/graphic/contributions/group-contribution-render.d.ts +79 -0
- package/es/scenegraph/graphic/contributions/group-contribution-render.js +346 -0
- package/es/scenegraph/graphic/contributions/group-contribution-render.js.map +1 -0
- package/es/scenegraph/graphic/contributions/image-contribution-render.d.ts +38 -0
- package/es/scenegraph/graphic/contributions/image-contribution-render.js +69 -0
- package/es/scenegraph/graphic/contributions/image-contribution-render.js.map +1 -0
- package/es/scenegraph/graphic/contributions/index.d.ts +3 -0
- package/es/scenegraph/graphic/contributions/index.js +38 -0
- package/es/scenegraph/graphic/contributions/index.js.map +1 -0
- package/es/scenegraph/graphic/contributions/rect-contribution-render.d.ts +18 -0
- package/es/scenegraph/graphic/contributions/rect-contribution-render.js +90 -0
- package/es/scenegraph/graphic/contributions/rect-contribution-render.js.map +1 -0
- package/es/scenegraph/graphic/contributions/text-contribution-render.d.ts +12 -0
- package/es/scenegraph/graphic/contributions/text-contribution-render.js +69 -0
- package/es/scenegraph/graphic/contributions/text-contribution-render.js.map +1 -0
- package/es/scenegraph/graphic/group.d.ts +37 -0
- package/es/scenegraph/graphic/group.js +127 -0
- package/es/scenegraph/graphic/group.js.map +1 -0
- package/es/scenegraph/graphic/icon.d.ts +47 -0
- package/es/scenegraph/graphic/icon.js +70 -0
- package/es/scenegraph/graphic/icon.js.map +1 -0
- package/es/scenegraph/graphic/mark.d.ts +4 -0
- package/es/scenegraph/graphic/mark.js +66 -0
- package/es/scenegraph/graphic/mark.js.map +1 -0
- package/es/scenegraph/graphic/text.d.ts +2 -0
- package/es/scenegraph/graphic/text.js +2 -0
- package/es/scenegraph/graphic/text.js.map +1 -0
- package/es/scenegraph/group-creater/cell-helper.d.ts +16 -0
- package/es/scenegraph/group-creater/cell-helper.js +325 -0
- package/es/scenegraph/group-creater/cell-helper.js.map +1 -0
- package/es/scenegraph/group-creater/cell-type/button-cell.d.ts +6 -0
- package/es/scenegraph/group-creater/cell-type/button-cell.js +137 -0
- package/es/scenegraph/group-creater/cell-type/button-cell.js.map +1 -0
- package/es/scenegraph/group-creater/cell-type/chart-cell.d.ts +5 -0
- package/es/scenegraph/group-creater/cell-type/chart-cell.js +76 -0
- package/es/scenegraph/group-creater/cell-type/chart-cell.js.map +1 -0
- package/es/scenegraph/group-creater/cell-type/checkbox-cell.d.ts +6 -0
- package/es/scenegraph/group-creater/cell-type/checkbox-cell.js +138 -0
- package/es/scenegraph/group-creater/cell-type/checkbox-cell.js.map +1 -0
- package/es/scenegraph/group-creater/cell-type/image-cell.d.ts +15 -0
- package/es/scenegraph/group-creater/cell-type/image-cell.js +206 -0
- package/es/scenegraph/group-creater/cell-type/image-cell.js.map +1 -0
- package/es/scenegraph/group-creater/cell-type/index.d.ts +10 -0
- package/es/scenegraph/group-creater/cell-type/index.js +64 -0
- package/es/scenegraph/group-creater/cell-type/index.js.map +1 -0
- package/es/scenegraph/group-creater/cell-type/progress-bar-cell.d.ts +11 -0
- package/es/scenegraph/group-creater/cell-type/progress-bar-cell.js +389 -0
- package/es/scenegraph/group-creater/cell-type/progress-bar-cell.js.map +1 -0
- package/es/scenegraph/group-creater/cell-type/radio-cell.d.ts +6 -0
- package/es/scenegraph/group-creater/cell-type/radio-cell.js +143 -0
- package/es/scenegraph/group-creater/cell-type/radio-cell.js.map +1 -0
- package/es/scenegraph/group-creater/cell-type/spark-line-cell.d.ts +5 -0
- package/es/scenegraph/group-creater/cell-type/spark-line-cell.js +202 -0
- package/es/scenegraph/group-creater/cell-type/spark-line-cell.js.map +1 -0
- package/es/scenegraph/group-creater/cell-type/switch-cell.d.ts +6 -0
- package/es/scenegraph/group-creater/cell-type/switch-cell.js +150 -0
- package/es/scenegraph/group-creater/cell-type/switch-cell.js.map +1 -0
- package/es/scenegraph/group-creater/cell-type/text-cell.d.ts +6 -0
- package/es/scenegraph/group-creater/cell-type/text-cell.js +66 -0
- package/es/scenegraph/group-creater/cell-type/text-cell.js.map +1 -0
- package/es/scenegraph/group-creater/cell-type/video-cell.d.ts +6 -0
- package/es/scenegraph/group-creater/cell-type/video-cell.js +127 -0
- package/es/scenegraph/group-creater/cell-type/video-cell.js.map +1 -0
- package/es/scenegraph/group-creater/column-helper.d.ts +14 -0
- package/es/scenegraph/group-creater/column-helper.js +141 -0
- package/es/scenegraph/group-creater/column-helper.js.map +1 -0
- package/es/scenegraph/group-creater/column.d.ts +4 -0
- package/es/scenegraph/group-creater/column.js +26 -0
- package/es/scenegraph/group-creater/column.js.map +1 -0
- package/es/scenegraph/group-creater/init-scenegraph.d.ts +2 -0
- package/es/scenegraph/group-creater/init-scenegraph.js +50 -0
- package/es/scenegraph/group-creater/init-scenegraph.js.map +1 -0
- package/es/scenegraph/group-creater/progress/create-group-for-first-screen.d.ts +3 -0
- package/es/scenegraph/group-creater/progress/create-group-for-first-screen.js +46 -0
- package/es/scenegraph/group-creater/progress/create-group-for-first-screen.js.map +1 -0
- package/es/scenegraph/group-creater/progress/default-width-height.d.ts +3 -0
- package/es/scenegraph/group-creater/progress/default-width-height.js +18 -0
- package/es/scenegraph/group-creater/progress/default-width-height.js.map +1 -0
- package/es/scenegraph/group-creater/progress/proxy.d.ts +79 -0
- package/es/scenegraph/group-creater/progress/proxy.js +357 -0
- package/es/scenegraph/group-creater/progress/proxy.js.map +1 -0
- package/es/scenegraph/group-creater/progress/update-position/dynamic-set-x.d.ts +4 -0
- package/es/scenegraph/group-creater/progress/update-position/dynamic-set-x.js +168 -0
- package/es/scenegraph/group-creater/progress/update-position/dynamic-set-x.js.map +1 -0
- package/es/scenegraph/group-creater/progress/update-position/dynamic-set-y.d.ts +4 -0
- package/es/scenegraph/group-creater/progress/update-position/dynamic-set-y.js +185 -0
- package/es/scenegraph/group-creater/progress/update-position/dynamic-set-y.js.map +1 -0
- package/es/scenegraph/group-creater/progress/update-position/sort-horizontal.d.ts +2 -0
- package/es/scenegraph/group-creater/progress/update-position/sort-horizontal.js +56 -0
- package/es/scenegraph/group-creater/progress/update-position/sort-horizontal.js.map +1 -0
- package/es/scenegraph/group-creater/progress/update-position/sort-vertical.d.ts +2 -0
- package/es/scenegraph/group-creater/progress/update-position/sort-vertical.js +70 -0
- package/es/scenegraph/group-creater/progress/update-position/sort-vertical.js.map +1 -0
- package/es/scenegraph/group-creater/progress/update-position/update-auto-column.d.ts +2 -0
- package/es/scenegraph/group-creater/progress/update-position/update-auto-column.js +29 -0
- package/es/scenegraph/group-creater/progress/update-position/update-auto-column.js.map +1 -0
- package/es/scenegraph/group-creater/progress/update-position/update-auto-row.d.ts +2 -0
- package/es/scenegraph/group-creater/progress/update-position/update-auto-row.js +39 -0
- package/es/scenegraph/group-creater/progress/update-position/update-auto-row.js.map +1 -0
- package/es/scenegraph/group-creater/progress/update-position/util.d.ts +8 -0
- package/es/scenegraph/group-creater/progress/update-position/util.js +88 -0
- package/es/scenegraph/group-creater/progress/update-position/util.js.map +1 -0
- package/es/scenegraph/icon/icon-update.d.ts +28 -0
- package/es/scenegraph/icon/icon-update.js +178 -0
- package/es/scenegraph/icon/icon-update.js.map +1 -0
- package/es/scenegraph/layout/compute-col-width.d.ts +4 -0
- package/es/scenegraph/layout/compute-col-width.js +320 -0
- package/es/scenegraph/layout/compute-col-width.js.map +1 -0
- package/es/scenegraph/layout/compute-row-height.d.ts +3 -0
- package/es/scenegraph/layout/compute-row-height.js +340 -0
- package/es/scenegraph/layout/compute-row-height.js.map +1 -0
- package/es/scenegraph/layout/frozen-react.d.ts +5 -0
- package/es/scenegraph/layout/frozen-react.js +82 -0
- package/es/scenegraph/layout/frozen-react.js.map +1 -0
- package/es/scenegraph/layout/frozen.d.ts +6 -0
- package/es/scenegraph/layout/frozen.js +328 -0
- package/es/scenegraph/layout/frozen.js.map +1 -0
- package/es/scenegraph/layout/height-util.d.ts +7 -0
- package/es/scenegraph/layout/height-util.js +118 -0
- package/es/scenegraph/layout/height-util.js.map +1 -0
- package/es/scenegraph/layout/move-cell.d.ts +2 -0
- package/es/scenegraph/layout/move-cell.js +44 -0
- package/es/scenegraph/layout/move-cell.js.map +1 -0
- package/es/scenegraph/layout/update-col.d.ts +3 -0
- package/es/scenegraph/layout/update-col.js +204 -0
- package/es/scenegraph/layout/update-col.js.map +1 -0
- package/es/scenegraph/layout/update-height.d.ts +6 -0
- package/es/scenegraph/layout/update-height.js +149 -0
- package/es/scenegraph/layout/update-height.js.map +1 -0
- package/es/scenegraph/layout/update-row.d.ts +3 -0
- package/es/scenegraph/layout/update-row.js +278 -0
- package/es/scenegraph/layout/update-row.js.map +1 -0
- package/es/scenegraph/layout/update-width.d.ts +2 -0
- package/es/scenegraph/layout/update-width.js +247 -0
- package/es/scenegraph/layout/update-width.js.map +1 -0
- package/es/scenegraph/refresh-node/update-chart.d.ts +7 -0
- package/es/scenegraph/refresh-node/update-chart.js +196 -0
- package/es/scenegraph/refresh-node/update-chart.js.map +1 -0
- package/es/scenegraph/scenegraph.d.ts +182 -0
- package/es/scenegraph/scenegraph.js +908 -0
- package/es/scenegraph/scenegraph.js.map +1 -0
- package/es/scenegraph/select/create-select-border.d.ts +3 -0
- package/es/scenegraph/select/create-select-border.js +51 -0
- package/es/scenegraph/select/create-select-border.js.map +1 -0
- package/es/scenegraph/select/delete-select-border.d.ts +5 -0
- package/es/scenegraph/select/delete-select-border.js +29 -0
- package/es/scenegraph/select/delete-select-border.js.map +1 -0
- package/es/scenegraph/select/move-select-border.d.ts +2 -0
- package/es/scenegraph/select/move-select-border.js +9 -0
- package/es/scenegraph/select/move-select-border.js.map +1 -0
- package/es/scenegraph/select/update-select-border.d.ts +8 -0
- package/es/scenegraph/select/update-select-border.js +263 -0
- package/es/scenegraph/select/update-select-border.js.map +1 -0
- package/es/scenegraph/select/update-select-style.d.ts +3 -0
- package/es/scenegraph/select/update-select-style.js +7 -0
- package/es/scenegraph/select/update-select-style.js.map +1 -0
- package/es/scenegraph/stick-text/index.d.ts +3 -0
- package/es/scenegraph/stick-text/index.js +179 -0
- package/es/scenegraph/stick-text/index.js.map +1 -0
- package/es/scenegraph/style/corner-cell.d.ts +3 -0
- package/es/scenegraph/style/corner-cell.js +22 -0
- package/es/scenegraph/style/corner-cell.js.map +1 -0
- package/es/scenegraph/style/frame-border.d.ts +8 -0
- package/es/scenegraph/style/frame-border.js +138 -0
- package/es/scenegraph/style/frame-border.js.map +1 -0
- package/es/scenegraph/utils/border-line.d.ts +8 -0
- package/es/scenegraph/utils/border-line.js +45 -0
- package/es/scenegraph/utils/border-line.js.map +1 -0
- package/es/scenegraph/utils/break-string.d.ts +5 -0
- package/es/scenegraph/utils/break-string.js +16 -0
- package/es/scenegraph/utils/break-string.js.map +1 -0
- package/es/scenegraph/utils/cell-border-stroke-width.d.ts +3 -0
- package/es/scenegraph/utils/cell-border-stroke-width.js +12 -0
- package/es/scenegraph/utils/cell-border-stroke-width.js.map +1 -0
- package/es/scenegraph/utils/cell-pos.d.ts +4 -0
- package/es/scenegraph/utils/cell-pos.js +12 -0
- package/es/scenegraph/utils/cell-pos.js.map +1 -0
- package/es/scenegraph/utils/deal-promise-data.d.ts +2 -0
- package/es/scenegraph/utils/deal-promise-data.js +6 -0
- package/es/scenegraph/utils/deal-promise-data.js.map +1 -0
- package/es/scenegraph/utils/empty-group.d.ts +2 -0
- package/es/scenegraph/utils/empty-group.js +6 -0
- package/es/scenegraph/utils/empty-group.js.map +1 -0
- package/es/scenegraph/utils/font.d.ts +1 -0
- package/es/scenegraph/utils/font.js +6 -0
- package/es/scenegraph/utils/font.js.map +1 -0
- package/es/scenegraph/utils/get-cell-merge.d.ts +3 -0
- package/es/scenegraph/utils/get-cell-merge.js +11 -0
- package/es/scenegraph/utils/get-cell-merge.js.map +1 -0
- package/es/scenegraph/utils/get-hierarchy-offset.d.ts +2 -0
- package/es/scenegraph/utils/get-hierarchy-offset.js +21 -0
- package/es/scenegraph/utils/get-hierarchy-offset.js.map +1 -0
- package/es/scenegraph/utils/get-prop.d.ts +4 -0
- package/es/scenegraph/utils/get-prop.js +36 -0
- package/es/scenegraph/utils/get-prop.js.map +1 -0
- package/es/scenegraph/utils/icon.d.ts +12 -0
- package/es/scenegraph/utils/icon.js +29 -0
- package/es/scenegraph/utils/icon.js.map +1 -0
- package/es/scenegraph/utils/is-merge-cell-group.d.ts +2 -0
- package/es/scenegraph/utils/is-merge-cell-group.js +6 -0
- package/es/scenegraph/utils/is-merge-cell-group.js.map +1 -0
- package/es/scenegraph/utils/keep-aspect-ratio.d.ts +4 -0
- package/es/scenegraph/utils/keep-aspect-ratio.js +11 -0
- package/es/scenegraph/utils/keep-aspect-ratio.js.map +1 -0
- package/es/scenegraph/utils/padding.d.ts +6 -0
- package/es/scenegraph/utils/padding.js +14 -0
- package/es/scenegraph/utils/padding.js.map +1 -0
- package/es/scenegraph/utils/render-service.d.ts +7 -0
- package/es/scenegraph/utils/render-service.js +19 -0
- package/es/scenegraph/utils/render-service.js.map +1 -0
- package/es/scenegraph/utils/text-icon-layout.d.ts +29 -0
- package/es/scenegraph/utils/text-icon-layout.js +334 -0
- package/es/scenegraph/utils/text-icon-layout.js.map +1 -0
- package/es/scenegraph/utils/text-measure.d.ts +38 -0
- package/es/scenegraph/utils/text-measure.js +163 -0
- package/es/scenegraph/utils/text-measure.js.map +1 -0
- package/es/scenegraph/utils/text-pos.d.ts +8 -0
- package/es/scenegraph/utils/text-pos.js +20 -0
- package/es/scenegraph/utils/text-pos.js.map +1 -0
- package/es/scenegraph/utils/update-container.d.ts +2 -0
- package/es/scenegraph/utils/update-container.js +6 -0
- package/es/scenegraph/utils/update-container.js.map +1 -0
- package/es/state/cell-move/adjust-header.d.ts +3 -0
- package/es/state/cell-move/adjust-header.js +20 -0
- package/es/state/cell-move/adjust-header.js.map +1 -0
- package/es/state/cell-move/index.d.ts +4 -0
- package/es/state/cell-move/index.js +106 -0
- package/es/state/cell-move/index.js.map +1 -0
- package/es/state/checkbox/checkbox.d.ts +12 -0
- package/es/state/checkbox/checkbox.js +199 -0
- package/es/state/checkbox/checkbox.js.map +1 -0
- package/es/state/common/check-in-select.d.ts +7 -0
- package/es/state/common/check-in-select.js +53 -0
- package/es/state/common/check-in-select.js.map +1 -0
- package/es/state/drill/index.d.ts +2 -0
- package/es/state/drill/index.js +9 -0
- package/es/state/drill/index.js.map +1 -0
- package/es/state/frozen/index.d.ts +2 -0
- package/es/state/frozen/index.js +4 -0
- package/es/state/frozen/index.js.map +1 -0
- package/es/state/hover/col.d.ts +4 -0
- package/es/state/hover/col.js +16 -0
- package/es/state/hover/col.js.map +1 -0
- package/es/state/hover/is-cell-hover.d.ts +5 -0
- package/es/state/hover/is-cell-hover.js +44 -0
- package/es/state/hover/is-cell-hover.js.map +1 -0
- package/es/state/hover/row.d.ts +4 -0
- package/es/state/hover/row.js +14 -0
- package/es/state/hover/row.js.map +1 -0
- package/es/state/hover/single.d.ts +4 -0
- package/es/state/hover/single.js +10 -0
- package/es/state/hover/single.js.map +1 -0
- package/es/state/hover/update-cell.d.ts +2 -0
- package/es/state/hover/update-cell.js +15 -0
- package/es/state/hover/update-cell.js.map +1 -0
- package/es/state/hover/update-position.d.ts +2 -0
- package/es/state/hover/update-position.js +36 -0
- package/es/state/hover/update-position.js.map +1 -0
- package/es/state/radio/radio.d.ts +7 -0
- package/es/state/radio/radio.js +80 -0
- package/es/state/radio/radio.js.map +1 -0
- package/es/state/resize/update-resize-column.d.ts +2 -0
- package/es/state/resize/update-resize-column.js +79 -0
- package/es/state/resize/update-resize-column.js.map +1 -0
- package/es/state/resize/update-resize-row.d.ts +2 -0
- package/es/state/resize/update-resize-row.js +58 -0
- package/es/state/resize/update-resize-row.js.map +1 -0
- package/es/state/select/custom-select.d.ts +7 -0
- package/es/state/select/custom-select.js +30 -0
- package/es/state/select/custom-select.js.map +1 -0
- package/es/state/select/is-cell-select-highlight.d.ts +6 -0
- package/es/state/select/is-cell-select-highlight.js +81 -0
- package/es/state/select/is-cell-select-highlight.js.map +1 -0
- package/es/state/select/update-position.d.ts +4 -0
- package/es/state/select/update-position.js +300 -0
- package/es/state/select/update-position.js.map +1 -0
- package/es/state/sort/index.d.ts +2 -0
- package/es/state/sort/index.js +50 -0
- package/es/state/sort/index.js.map +1 -0
- package/es/state/spark-line/index.d.ts +3 -0
- package/es/state/spark-line/index.js +96 -0
- package/es/state/spark-line/index.js.map +1 -0
- package/es/state/state.d.ts +206 -0
- package/es/state/state.js +834 -0
- package/es/state/state.js.map +1 -0
- package/es/themes/ARCO.d.ts +3 -0
- package/es/themes/ARCO.js +109 -0
- package/es/themes/ARCO.js.map +1 -0
- package/es/themes/BRIGHT.d.ts +3 -0
- package/es/themes/BRIGHT.js +66 -0
- package/es/themes/BRIGHT.js.map +1 -0
- package/es/themes/DARK.d.ts +3 -0
- package/es/themes/DARK.js +99 -0
- package/es/themes/DARK.js.map +1 -0
- package/es/themes/DEFAULT.d.ts +3 -0
- package/es/themes/DEFAULT.js +82 -0
- package/es/themes/DEFAULT.js.map +1 -0
- package/es/themes/SIMPLIFY.d.ts +3 -0
- package/es/themes/SIMPLIFY.js +49 -0
- package/es/themes/SIMPLIFY.js.map +1 -0
- package/es/themes/component.d.ts +35 -0
- package/es/themes/component.js +42 -0
- package/es/themes/component.js.map +1 -0
- package/es/themes/theme.d.ts +67 -0
- package/es/themes/theme.js +752 -0
- package/es/themes/theme.js.map +1 -0
- package/es/themes.d.ts +28 -0
- package/es/themes.js +64 -0
- package/es/themes.js.map +1 -0
- package/es/tools/LimitPromiseQueue.d.ts +8 -0
- package/es/tools/LimitPromiseQueue.js +21 -0
- package/es/tools/LimitPromiseQueue.js.map +1 -0
- package/es/tools/NumberMap.d.ts +23 -0
- package/es/tools/NumberMap.js +117 -0
- package/es/tools/NumberMap.js.map +1 -0
- package/es/tools/Rect.d.ts +24 -0
- package/es/tools/Rect.js +62 -0
- package/es/tools/Rect.js.map +1 -0
- package/es/tools/calc.d.ts +8 -0
- package/es/tools/calc.js +201 -0
- package/es/tools/calc.js.map +1 -0
- package/es/tools/cell-range.d.ts +2 -0
- package/es/tools/cell-range.js +4 -0
- package/es/tools/cell-range.js.map +1 -0
- package/es/tools/debounce.d.ts +1 -0
- package/es/tools/debounce.js +43 -0
- package/es/tools/debounce.js.map +1 -0
- package/es/tools/diff-cell.d.ts +72 -0
- package/es/tools/diff-cell.js +160 -0
- package/es/tools/diff-cell.js.map +1 -0
- package/es/tools/dom.d.ts +1 -0
- package/es/tools/dom.js +5 -0
- package/es/tools/dom.js.map +1 -0
- package/es/tools/env.d.ts +19 -0
- package/es/tools/env.js +42 -0
- package/es/tools/env.js.map +1 -0
- package/es/tools/get-data-path/create-dataset.d.ts +11 -0
- package/es/tools/get-data-path/create-dataset.js +147 -0
- package/es/tools/get-data-path/create-dataset.js.map +1 -0
- package/es/tools/get-data-path/index.d.ts +2 -0
- package/es/tools/get-data-path/index.js +51 -0
- package/es/tools/get-data-path/index.js.map +1 -0
- package/es/tools/global.d.ts +15 -0
- package/es/tools/global.js +30 -0
- package/es/tools/global.js.map +1 -0
- package/es/tools/helper.d.ts +72 -0
- package/es/tools/helper.js +226 -0
- package/es/tools/helper.js.map +1 -0
- package/es/tools/icons.d.ts +4 -0
- package/es/tools/icons.js +4 -0
- package/es/tools/icons.js.map +1 -0
- package/es/tools/isx.d.ts +16 -0
- package/es/tools/isx.js +79 -0
- package/es/tools/isx.js.map +1 -0
- package/es/tools/join.d.ts +1 -0
- package/es/tools/join.js +6 -0
- package/es/tools/join.js.map +1 -0
- package/es/tools/merge-range.d.ts +11 -0
- package/es/tools/merge-range.js +28 -0
- package/es/tools/merge-range.js.map +1 -0
- package/es/tools/pixel-ratio.d.ts +2 -0
- package/es/tools/pixel-ratio.js +12 -0
- package/es/tools/pixel-ratio.js.map +1 -0
- package/es/tools/sort.d.ts +2 -0
- package/es/tools/sort.js +12 -0
- package/es/tools/sort.js.map +1 -0
- package/es/tools/style.d.ts +5 -0
- package/es/tools/style.js +20 -0
- package/es/tools/style.js.map +1 -0
- package/es/tools/update-row.d.ts +19 -0
- package/es/tools/update-row.js +32 -0
- package/es/tools/update-row.js.map +1 -0
- package/es/tools/util.d.ts +46 -0
- package/es/tools/util.js +231 -0
- package/es/tools/util.js.map +1 -0
- package/es/ts-types/animation/appear.d.ts +11 -0
- package/es/ts-types/animation/appear.js +2 -0
- package/es/ts-types/animation/appear.js.map +1 -0
- package/es/ts-types/animation/index.d.ts +1 -0
- package/es/ts-types/animation/index.js +2 -0
- package/es/ts-types/animation/index.js.map +1 -0
- package/es/ts-types/base-table.d.ts +641 -0
- package/es/ts-types/base-table.js +2 -0
- package/es/ts-types/base-table.js.map +1 -0
- package/es/ts-types/column/index.d.ts +2 -0
- package/es/ts-types/column/index.js +4 -0
- package/es/ts-types/column/index.js.map +1 -0
- package/es/ts-types/column/style.d.ts +151 -0
- package/es/ts-types/column/style.js +2 -0
- package/es/ts-types/column/style.js.map +1 -0
- package/es/ts-types/column/type.d.ts +2 -0
- package/es/ts-types/column/type.js +2 -0
- package/es/ts-types/column/type.js.map +1 -0
- package/es/ts-types/common.d.ts +114 -0
- package/es/ts-types/common.js +13 -0
- package/es/ts-types/common.js.map +1 -0
- package/es/ts-types/component/axis.d.ts +2 -0
- package/es/ts-types/component/axis.js +2 -0
- package/es/ts-types/component/axis.js.map +1 -0
- package/es/ts-types/component/empty-tip.d.ts +20 -0
- package/es/ts-types/component/empty-tip.js +2 -0
- package/es/ts-types/component/empty-tip.js.map +1 -0
- package/es/ts-types/component/index.d.ts +1 -0
- package/es/ts-types/component/index.js +2 -0
- package/es/ts-types/component/index.js.map +1 -0
- package/es/ts-types/component/legend.d.ts +18 -0
- package/es/ts-types/component/legend.js +2 -0
- package/es/ts-types/component/legend.js.map +1 -0
- package/es/ts-types/component/title.d.ts +49 -0
- package/es/ts-types/component/title.js +2 -0
- package/es/ts-types/component/title.js.map +1 -0
- package/es/ts-types/component/util.d.ts +1 -0
- package/es/ts-types/component/util.js +2 -0
- package/es/ts-types/component/util.js.map +1 -0
- package/es/ts-types/customElement.d.ts +128 -0
- package/es/ts-types/customElement.js +2 -0
- package/es/ts-types/customElement.js.map +1 -0
- package/es/ts-types/customLayout.d.ts +9 -0
- package/es/ts-types/customLayout.js +2 -0
- package/es/ts-types/customLayout.js.map +1 -0
- package/es/ts-types/dataset/aggregation.d.ts +192 -0
- package/es/ts-types/dataset/aggregation.js +397 -0
- package/es/ts-types/dataset/aggregation.js.map +1 -0
- package/es/ts-types/dataset/index.d.ts +1 -0
- package/es/ts-types/dataset/index.js +2 -0
- package/es/ts-types/dataset/index.js.map +1 -0
- package/es/ts-types/events.d.ts +363 -0
- package/es/ts-types/events.js +2 -0
- package/es/ts-types/events.js.map +1 -0
- package/es/ts-types/icon.d.ts +93 -0
- package/es/ts-types/icon.js +30 -0
- package/es/ts-types/icon.js.map +1 -0
- package/es/ts-types/index.d.ts +17 -0
- package/es/ts-types/index.js +34 -0
- package/es/ts-types/index.js.map +1 -0
- package/es/ts-types/list-table/define/basic-define.d.ts +50 -0
- package/es/ts-types/list-table/define/basic-define.js +2 -0
- package/es/ts-types/list-table/define/basic-define.js.map +1 -0
- package/es/ts-types/list-table/define/button-define.d.ts +9 -0
- package/es/ts-types/list-table/define/button-define.js +2 -0
- package/es/ts-types/list-table/define/button-define.js.map +1 -0
- package/es/ts-types/list-table/define/chart-define.d.ts +11 -0
- package/es/ts-types/list-table/define/chart-define.js +2 -0
- package/es/ts-types/list-table/define/chart-define.js.map +1 -0
- package/es/ts-types/list-table/define/checkbox-define.d.ts +15 -0
- package/es/ts-types/list-table/define/checkbox-define.js +2 -0
- package/es/ts-types/list-table/define/checkbox-define.js.map +1 -0
- package/es/ts-types/list-table/define/composite-define.d.ts +26 -0
- package/es/ts-types/list-table/define/composite-define.js +2 -0
- package/es/ts-types/list-table/define/composite-define.js.map +1 -0
- package/es/ts-types/list-table/define/image-define.d.ts +17 -0
- package/es/ts-types/list-table/define/image-define.js +2 -0
- package/es/ts-types/list-table/define/image-define.js.map +1 -0
- package/es/ts-types/list-table/define/index.d.ts +31 -0
- package/es/ts-types/list-table/define/index.js +2 -0
- package/es/ts-types/list-table/define/index.js.map +1 -0
- package/es/ts-types/list-table/define/link-define.d.ts +22 -0
- package/es/ts-types/list-table/define/link-define.js +2 -0
- package/es/ts-types/list-table/define/link-define.js.map +1 -0
- package/es/ts-types/list-table/define/multilinetext-define.d.ts +11 -0
- package/es/ts-types/list-table/define/multilinetext-define.js +2 -0
- package/es/ts-types/list-table/define/multilinetext-define.js.map +1 -0
- package/es/ts-types/list-table/define/progressbar-define.d.ts +11 -0
- package/es/ts-types/list-table/define/progressbar-define.js +2 -0
- package/es/ts-types/list-table/define/progressbar-define.js.map +1 -0
- package/es/ts-types/list-table/define/radio-define.d.ts +11 -0
- package/es/ts-types/list-table/define/radio-define.js +2 -0
- package/es/ts-types/list-table/define/radio-define.js.map +1 -0
- package/es/ts-types/list-table/define/sparkline-define.d.ts +10 -0
- package/es/ts-types/list-table/define/sparkline-define.js +2 -0
- package/es/ts-types/list-table/define/sparkline-define.js.map +1 -0
- package/es/ts-types/list-table/define/switch-define.d.ts +11 -0
- package/es/ts-types/list-table/define/switch-define.js +2 -0
- package/es/ts-types/list-table/define/switch-define.js.map +1 -0
- package/es/ts-types/list-table/index.d.ts +2 -0
- package/es/ts-types/list-table/index.js +4 -0
- package/es/ts-types/list-table/index.js.map +1 -0
- package/es/ts-types/list-table/layout-map/api.d.ts +126 -0
- package/es/ts-types/list-table/layout-map/api.js +2 -0
- package/es/ts-types/list-table/layout-map/api.js.map +1 -0
- package/es/ts-types/list-table/layout-map/index.d.ts +1 -0
- package/es/ts-types/list-table/layout-map/index.js +2 -0
- package/es/ts-types/list-table/layout-map/index.js.map +1 -0
- package/es/ts-types/menu.d.ts +74 -0
- package/es/ts-types/menu.js +2 -0
- package/es/ts-types/menu.js.map +1 -0
- package/es/ts-types/new-data-set.d.ts +158 -0
- package/es/ts-types/new-data-set.js +15 -0
- package/es/ts-types/new-data-set.js.map +1 -0
- package/es/ts-types/pivot-table/PIVOT_TABLE_EVENT_TYPE.d.ts +10 -0
- package/es/ts-types/pivot-table/PIVOT_TABLE_EVENT_TYPE.js +13 -0
- package/es/ts-types/pivot-table/PIVOT_TABLE_EVENT_TYPE.js.map +1 -0
- package/es/ts-types/pivot-table/corner.d.ts +37 -0
- package/es/ts-types/pivot-table/corner.js +2 -0
- package/es/ts-types/pivot-table/corner.js.map +1 -0
- package/es/ts-types/pivot-table/dimension/basic-dimension.d.ts +43 -0
- package/es/ts-types/pivot-table/dimension/basic-dimension.js +2 -0
- package/es/ts-types/pivot-table/dimension/basic-dimension.js.map +1 -0
- package/es/ts-types/pivot-table/dimension/image-dimension.d.ts +10 -0
- package/es/ts-types/pivot-table/dimension/image-dimension.js +2 -0
- package/es/ts-types/pivot-table/dimension/image-dimension.js.map +1 -0
- package/es/ts-types/pivot-table/dimension/index.d.ts +6 -0
- package/es/ts-types/pivot-table/dimension/index.js +2 -0
- package/es/ts-types/pivot-table/dimension/index.js.map +1 -0
- package/es/ts-types/pivot-table/dimension/link-dimension.d.ts +13 -0
- package/es/ts-types/pivot-table/dimension/link-dimension.js +2 -0
- package/es/ts-types/pivot-table/dimension/link-dimension.js.map +1 -0
- package/es/ts-types/pivot-table/dimension/multilinetext-dimension.d.ts +7 -0
- package/es/ts-types/pivot-table/dimension/multilinetext-dimension.js +2 -0
- package/es/ts-types/pivot-table/dimension/multilinetext-dimension.js.map +1 -0
- package/es/ts-types/pivot-table/index.d.ts +4 -0
- package/es/ts-types/pivot-table/index.js +8 -0
- package/es/ts-types/pivot-table/index.js.map +1 -0
- package/es/ts-types/pivot-table/indicator/basic-indicator.d.ts +51 -0
- package/es/ts-types/pivot-table/indicator/basic-indicator.js +2 -0
- package/es/ts-types/pivot-table/indicator/basic-indicator.js.map +1 -0
- package/es/ts-types/pivot-table/indicator/chart-indicator.d.ts +11 -0
- package/es/ts-types/pivot-table/indicator/chart-indicator.js +2 -0
- package/es/ts-types/pivot-table/indicator/chart-indicator.js.map +1 -0
- package/es/ts-types/pivot-table/indicator/checkbox-indicator.d.ts +9 -0
- package/es/ts-types/pivot-table/indicator/checkbox-indicator.js +2 -0
- package/es/ts-types/pivot-table/indicator/checkbox-indicator.js.map +1 -0
- package/es/ts-types/pivot-table/indicator/composite-indicator.d.ts +24 -0
- package/es/ts-types/pivot-table/indicator/composite-indicator.js +2 -0
- package/es/ts-types/pivot-table/indicator/composite-indicator.js.map +1 -0
- package/es/ts-types/pivot-table/indicator/image-indicator.d.ts +17 -0
- package/es/ts-types/pivot-table/indicator/image-indicator.js +2 -0
- package/es/ts-types/pivot-table/indicator/image-indicator.js.map +1 -0
- package/es/ts-types/pivot-table/indicator/index.d.ts +12 -0
- package/es/ts-types/pivot-table/indicator/index.js +2 -0
- package/es/ts-types/pivot-table/indicator/index.js.map +1 -0
- package/es/ts-types/pivot-table/indicator/link-indicator.d.ts +22 -0
- package/es/ts-types/pivot-table/indicator/link-indicator.js +2 -0
- package/es/ts-types/pivot-table/indicator/link-indicator.js.map +1 -0
- package/es/ts-types/pivot-table/indicator/multilinetext-indicator.d.ts +11 -0
- package/es/ts-types/pivot-table/indicator/multilinetext-indicator.js +2 -0
- package/es/ts-types/pivot-table/indicator/multilinetext-indicator.js.map +1 -0
- package/es/ts-types/pivot-table/indicator/progress-indicator.d.ts +11 -0
- package/es/ts-types/pivot-table/indicator/progress-indicator.js +2 -0
- package/es/ts-types/pivot-table/indicator/progress-indicator.js.map +1 -0
- package/es/ts-types/pivot-table/indicator/sparkline-indicator.d.ts +10 -0
- package/es/ts-types/pivot-table/indicator/sparkline-indicator.js +2 -0
- package/es/ts-types/pivot-table/indicator/sparkline-indicator.js.map +1 -0
- package/es/ts-types/pivot-table/title.d.ts +20 -0
- package/es/ts-types/pivot-table/title.js +2 -0
- package/es/ts-types/pivot-table/title.js.map +1 -0
- package/es/ts-types/sparkline.d.ts +37 -0
- package/es/ts-types/sparkline.js +2 -0
- package/es/ts-types/sparkline.js.map +1 -0
- package/es/ts-types/style-define.d.ts +72 -0
- package/es/ts-types/style-define.js +2 -0
- package/es/ts-types/style-define.js.map +1 -0
- package/es/ts-types/table-engine.d.ts +405 -0
- package/es/ts-types/table-engine.js +13 -0
- package/es/ts-types/table-engine.js.map +1 -0
- package/es/ts-types/theme.d.ts +164 -0
- package/es/ts-types/theme.js +2 -0
- package/es/ts-types/theme.js.map +1 -0
- package/es/ts-types/tooltip.d.ts +26 -0
- package/es/ts-types/tooltip.js +2 -0
- package/es/ts-types/tooltip.js.map +1 -0
- package/es/vrender.d.ts +8 -0
- package/es/vrender.js +27 -0
- package/es/vrender.js.map +1 -0
- package/package.json +132 -0
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: !0
|
|
5
|
+
}), exports.VRadio = exports.VCheckBox = exports.VTag = exports.jsx = exports.VText = exports.VPolygon = exports.VPath = exports.VLine = exports.VImage = exports.VGlyph = exports.VCircle = exports.VArea = exports.VArc = exports.VRect = exports.VSymbol = exports.VGroup = void 0;
|
|
6
|
+
|
|
7
|
+
var vrender_1 = require("./../../vrender");
|
|
8
|
+
|
|
9
|
+
Object.defineProperty(exports, "VGroup", {
|
|
10
|
+
enumerable: !0,
|
|
11
|
+
get: function() {
|
|
12
|
+
return vrender_1.VGroup;
|
|
13
|
+
}
|
|
14
|
+
}), Object.defineProperty(exports, "VSymbol", {
|
|
15
|
+
enumerable: !0,
|
|
16
|
+
get: function() {
|
|
17
|
+
return vrender_1.VSymbol;
|
|
18
|
+
}
|
|
19
|
+
}), Object.defineProperty(exports, "VRect", {
|
|
20
|
+
enumerable: !0,
|
|
21
|
+
get: function() {
|
|
22
|
+
return vrender_1.VRect;
|
|
23
|
+
}
|
|
24
|
+
}), Object.defineProperty(exports, "VArc", {
|
|
25
|
+
enumerable: !0,
|
|
26
|
+
get: function() {
|
|
27
|
+
return vrender_1.VArc;
|
|
28
|
+
}
|
|
29
|
+
}), Object.defineProperty(exports, "VArea", {
|
|
30
|
+
enumerable: !0,
|
|
31
|
+
get: function() {
|
|
32
|
+
return vrender_1.VArea;
|
|
33
|
+
}
|
|
34
|
+
}), Object.defineProperty(exports, "VCircle", {
|
|
35
|
+
enumerable: !0,
|
|
36
|
+
get: function() {
|
|
37
|
+
return vrender_1.VCircle;
|
|
38
|
+
}
|
|
39
|
+
}), Object.defineProperty(exports, "VGlyph", {
|
|
40
|
+
enumerable: !0,
|
|
41
|
+
get: function() {
|
|
42
|
+
return vrender_1.VGlyph;
|
|
43
|
+
}
|
|
44
|
+
}), Object.defineProperty(exports, "VImage", {
|
|
45
|
+
enumerable: !0,
|
|
46
|
+
get: function() {
|
|
47
|
+
return vrender_1.VImage;
|
|
48
|
+
}
|
|
49
|
+
}), Object.defineProperty(exports, "VLine", {
|
|
50
|
+
enumerable: !0,
|
|
51
|
+
get: function() {
|
|
52
|
+
return vrender_1.VLine;
|
|
53
|
+
}
|
|
54
|
+
}), Object.defineProperty(exports, "VPath", {
|
|
55
|
+
enumerable: !0,
|
|
56
|
+
get: function() {
|
|
57
|
+
return vrender_1.VPath;
|
|
58
|
+
}
|
|
59
|
+
}), Object.defineProperty(exports, "VPolygon", {
|
|
60
|
+
enumerable: !0,
|
|
61
|
+
get: function() {
|
|
62
|
+
return vrender_1.VPolygon;
|
|
63
|
+
}
|
|
64
|
+
}), Object.defineProperty(exports, "VText", {
|
|
65
|
+
enumerable: !0,
|
|
66
|
+
get: function() {
|
|
67
|
+
return vrender_1.VText;
|
|
68
|
+
}
|
|
69
|
+
}), Object.defineProperty(exports, "jsx", {
|
|
70
|
+
enumerable: !0,
|
|
71
|
+
get: function() {
|
|
72
|
+
return vrender_1.jsx;
|
|
73
|
+
}
|
|
74
|
+
});
|
|
75
|
+
|
|
76
|
+
const vrender_2 = require("./../../vrender");
|
|
77
|
+
|
|
78
|
+
function VTag(params) {
|
|
79
|
+
return new vrender_2.Tag(params ? params.attribute : {});
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
function VCheckBox(params) {
|
|
83
|
+
return new vrender_2.CheckBox(params ? params.attribute : {});
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
function VRadio(params) {
|
|
87
|
+
return new vrender_2.Radio(params ? params.attribute : {});
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
exports.VTag = VTag, exports.VCheckBox = VCheckBox, exports.VRadio = VRadio;
|
|
91
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/render/jsx/index.ts"],"names":[],"mappings":";;;AAAA,2CAcyB;AAbvB,iGAAA,MAAM,OAAA;AACN,kGAAA,OAAO,OAAA;AACP,gGAAA,KAAK,OAAA;AACL,+FAAA,IAAI,OAAA;AACJ,gGAAA,KAAK,OAAA;AACL,kGAAA,OAAO,OAAA;AACP,iGAAA,MAAM,OAAA;AACN,iGAAA,MAAM,OAAA;AACN,gGAAA,KAAK,OAAA;AACL,gGAAA,KAAK,OAAA;AACL,mGAAA,QAAQ,OAAA;AACR,gGAAA,KAAK,OAAA;AACL,8FAAA,GAAG,OAAA;AAGL,6CAAuD;AAMvD,SAAgB,IAAI,CAAC,MAAgD;IACnE,OAAO,IAAI,aAAG,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CAAQ,CAAC;AACxD,CAAC;AAFD,oBAEC;AAED,SAAgB,SAAS,CAAC,MAAqD;IAC7E,OAAO,IAAI,kBAAQ,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CAAQ,CAAC;AAC7D,CAAC;AAFD,8BAEC;AAED,SAAgB,MAAM,CAAC,MAAkD;IACvE,OAAO,IAAI,eAAK,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CAAQ,CAAC;AAC1D,CAAC;AAFD,wBAEC","file":"index.js","sourcesContent":["export {\n VGroup,\n VSymbol,\n VRect,\n VArc,\n VArea,\n VCircle,\n VGlyph,\n VImage,\n VLine,\n VPath,\n VPolygon,\n VText,\n jsx\n} from './../../vrender';\nimport type { CheckboxAttributes, RadioAttributes, TagAttributes } from './../../vrender';\nimport { Tag, CheckBox, Radio } from './../../vrender';\n\ntype IDefaultGraphicParamsType<T> = {\n attribute?: T;\n};\n\nexport function VTag(params: IDefaultGraphicParamsType<TagAttributes>) {\n return new Tag(params ? params.attribute : {}) as any;\n}\n\nexport function VCheckBox(params: IDefaultGraphicParamsType<CheckboxAttributes>) {\n return new CheckBox(params ? params.attribute : {}) as any;\n}\n\nexport function VRadio(params: IDefaultGraphicParamsType<RadioAttributes>) {\n return new Radio(params ? params.attribute : {}) as any;\n}\n"]}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { IArcGraphicAttribute } from './../../vrender';
|
|
2
|
+
import { Arc as VArc } from './../../vrender';
|
|
3
|
+
type IArcOption = {
|
|
4
|
+
marginTop?: number;
|
|
5
|
+
marginRight?: number;
|
|
6
|
+
marginBottom?: number;
|
|
7
|
+
marginLeft?: number;
|
|
8
|
+
} & IArcGraphicAttribute;
|
|
9
|
+
export declare class Arc extends VArc {
|
|
10
|
+
constructor(options: IArcOption);
|
|
11
|
+
}
|
|
12
|
+
export {};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: !0
|
|
5
|
+
}), exports.Arc = void 0;
|
|
6
|
+
|
|
7
|
+
const vrender_1 = require("./../../vrender"), vutils_1 = require("@visactor/vutils");
|
|
8
|
+
|
|
9
|
+
class Arc extends vrender_1.Arc {
|
|
10
|
+
constructor(options) {
|
|
11
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
12
|
+
const isPaddingNumber = (0, vutils_1.isArray)(options.boundsPadding), padding = [ null !== (_b = null !== (_a = options.marginTop) && void 0 !== _a ? _a : isPaddingNumber ? options.boundsPadding[0] : options.boundsPadding) && void 0 !== _b ? _b : 0, null !== (_d = null !== (_c = options.marginRight) && void 0 !== _c ? _c : isPaddingNumber ? options.boundsPadding[1] : options.boundsPadding) && void 0 !== _d ? _d : 0, null !== (_g = null !== (_e = options.marginBottom) && void 0 !== _e ? _e : isPaddingNumber ? null !== (_f = options.boundsPadding[2]) && void 0 !== _f ? _f : options.boundsPadding[0] : options.boundsPadding) && void 0 !== _g ? _g : 0, null !== (_k = null !== (_h = options.marginLeft) && void 0 !== _h ? _h : isPaddingNumber ? null !== (_j = options.boundsPadding[3]) && void 0 !== _j ? _j : options.boundsPadding[1] : options.boundsPadding) && void 0 !== _k ? _k : 0 ];
|
|
13
|
+
options.boundsPadding = padding, super(options);
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
exports.Arc = Arc;
|
|
18
|
+
//# sourceMappingURL=arc.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/render/layout/arc.ts"],"names":[],"mappings":";;;AACA,6CAA8C;AAC9C,6CAA2C;AAS3C,MAAa,GAAI,SAAQ,aAAI;IAC3B,YAAY,OAAmB;;QAC7B,MAAM,eAAe,GAAG,IAAA,gBAAO,EAAC,OAAO,CAAC,aAAa,CAAC,CAAC;QACvD,MAAM,OAAO,GAAG;YACd,MAAA,MAAA,OAAO,CAAC,SAAS,mCAAI,CAAC,eAAe,CAAC,CAAC,CAAC,OAAO,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,aAAa,CAAC,mCAAI,CAAC;YAC9F,MAAA,MAAA,OAAO,CAAC,WAAW,mCAAI,CAAC,eAAe,CAAC,CAAC,CAAC,OAAO,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,aAAa,CAAC,mCAAI,CAAC;YAChG,MAAA,MAAA,OAAO,CAAC,YAAY,mCAClB,CAAC,eAAe,CAAC,CAAC,CAAC,MAAA,OAAO,CAAC,aAAa,CAAC,CAAC,CAAC,mCAAI,OAAO,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,aAAa,CAAC,mCAChG,CAAC;YACH,MAAA,MAAA,OAAO,CAAC,UAAU,mCAChB,CAAC,eAAe,CAAC,CAAC,CAAC,MAAA,OAAO,CAAC,aAAa,CAAC,CAAC,CAAC,mCAAI,OAAO,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,aAAa,CAAC,mCAChG,CAAC;SACJ,CAAC;QACF,OAAO,CAAC,aAAa,GAAG,OAAO,CAAC;QAEhC,KAAK,CAAC,OAAO,CAAC,CAAC;IACjB,CAAC;CACF;AAjBD,kBAiBC","file":"arc.js","sourcesContent":["import type { IArcGraphicAttribute } from './../../vrender';\nimport { Arc as VArc } from './../../vrender';\nimport { isArray } from '@visactor/vutils';\n\ntype IArcOption = {\n marginTop?: number;\n marginRight?: number;\n marginBottom?: number;\n marginLeft?: number;\n} & IArcGraphicAttribute;\n\nexport class Arc extends VArc {\n constructor(options: IArcOption) {\n const isPaddingNumber = isArray(options.boundsPadding);\n const padding = [\n options.marginTop ?? (isPaddingNumber ? options.boundsPadding[0] : options.boundsPadding) ?? 0,\n options.marginRight ?? (isPaddingNumber ? options.boundsPadding[1] : options.boundsPadding) ?? 0,\n options.marginBottom ??\n (isPaddingNumber ? options.boundsPadding[2] ?? options.boundsPadding[0] : options.boundsPadding) ??\n 0,\n options.marginLeft ??\n (isPaddingNumber ? options.boundsPadding[3] ?? options.boundsPadding[1] : options.boundsPadding) ??\n 0\n ];\n options.boundsPadding = padding;\n\n super(options);\n }\n}\n"]}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { ICircleGraphicAttribute } from './../../vrender';
|
|
2
|
+
import { Circle as VCircle } from './../../vrender';
|
|
3
|
+
type ICircleOption = {
|
|
4
|
+
marginTop?: number;
|
|
5
|
+
marginRight?: number;
|
|
6
|
+
marginBottom?: number;
|
|
7
|
+
marginLeft?: number;
|
|
8
|
+
} & ICircleGraphicAttribute;
|
|
9
|
+
export declare class Circle extends VCircle {
|
|
10
|
+
constructor(options: ICircleOption);
|
|
11
|
+
}
|
|
12
|
+
export {};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: !0
|
|
5
|
+
}), exports.Circle = void 0;
|
|
6
|
+
|
|
7
|
+
const vrender_1 = require("./../../vrender"), vutils_1 = require("@visactor/vutils");
|
|
8
|
+
|
|
9
|
+
class Circle extends vrender_1.Circle {
|
|
10
|
+
constructor(options) {
|
|
11
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
12
|
+
const isPaddingNumber = (0, vutils_1.isArray)(options.boundsPadding), padding = [ null !== (_b = null !== (_a = options.marginTop) && void 0 !== _a ? _a : isPaddingNumber ? options.boundsPadding[0] : options.boundsPadding) && void 0 !== _b ? _b : 0, null !== (_d = null !== (_c = options.marginRight) && void 0 !== _c ? _c : isPaddingNumber ? options.boundsPadding[1] : options.boundsPadding) && void 0 !== _d ? _d : 0, null !== (_g = null !== (_e = options.marginBottom) && void 0 !== _e ? _e : isPaddingNumber ? null !== (_f = options.boundsPadding[2]) && void 0 !== _f ? _f : options.boundsPadding[0] : options.boundsPadding) && void 0 !== _g ? _g : 0, null !== (_k = null !== (_h = options.marginLeft) && void 0 !== _h ? _h : isPaddingNumber ? null !== (_j = options.boundsPadding[3]) && void 0 !== _j ? _j : options.boundsPadding[1] : options.boundsPadding) && void 0 !== _k ? _k : 0 ];
|
|
13
|
+
options.boundsPadding = padding, super(options);
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
exports.Circle = Circle;
|
|
18
|
+
//# sourceMappingURL=circle.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/render/layout/circle.ts"],"names":[],"mappings":";;;AACA,6CAAoD;AACpD,6CAA2C;AAS3C,MAAa,MAAO,SAAQ,gBAAO;IACjC,YAAY,OAAsB;;QAChC,MAAM,eAAe,GAAG,IAAA,gBAAO,EAAC,OAAO,CAAC,aAAa,CAAC,CAAC;QACvD,MAAM,OAAO,GAAG;YACd,MAAA,MAAA,OAAO,CAAC,SAAS,mCAAI,CAAC,eAAe,CAAC,CAAC,CAAC,OAAO,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,aAAa,CAAC,mCAAI,CAAC;YAC9F,MAAA,MAAA,OAAO,CAAC,WAAW,mCAAI,CAAC,eAAe,CAAC,CAAC,CAAC,OAAO,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,aAAa,CAAC,mCAAI,CAAC;YAChG,MAAA,MAAA,OAAO,CAAC,YAAY,mCAClB,CAAC,eAAe,CAAC,CAAC,CAAC,MAAA,OAAO,CAAC,aAAa,CAAC,CAAC,CAAC,mCAAI,OAAO,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,aAAa,CAAC,mCAChG,CAAC;YACH,MAAA,MAAA,OAAO,CAAC,UAAU,mCAChB,CAAC,eAAe,CAAC,CAAC,CAAC,MAAA,OAAO,CAAC,aAAa,CAAC,CAAC,CAAC,mCAAI,OAAO,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,aAAa,CAAC,mCAChG,CAAC;SACJ,CAAC;QACF,OAAO,CAAC,aAAa,GAAG,OAAO,CAAC;QAEhC,KAAK,CAAC,OAAO,CAAC,CAAC;IACjB,CAAC;CACF;AAjBD,wBAiBC","file":"circle.js","sourcesContent":["import type { ICircleGraphicAttribute } from './../../vrender';\nimport { Circle as VCircle } from './../../vrender';\nimport { isArray } from '@visactor/vutils';\n\ntype ICircleOption = {\n marginTop?: number;\n marginRight?: number;\n marginBottom?: number;\n marginLeft?: number;\n} & ICircleGraphicAttribute;\n\nexport class Circle extends VCircle {\n constructor(options: ICircleOption) {\n const isPaddingNumber = isArray(options.boundsPadding);\n const padding = [\n options.marginTop ?? (isPaddingNumber ? options.boundsPadding[0] : options.boundsPadding) ?? 0,\n options.marginRight ?? (isPaddingNumber ? options.boundsPadding[1] : options.boundsPadding) ?? 0,\n options.marginBottom ??\n (isPaddingNumber ? options.boundsPadding[2] ?? options.boundsPadding[0] : options.boundsPadding) ??\n 0,\n options.marginLeft ??\n (isPaddingNumber ? options.boundsPadding[3] ?? options.boundsPadding[1] : options.boundsPadding) ??\n 0\n ];\n options.boundsPadding = padding;\n\n super(options);\n }\n}\n"]}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { IGroupGraphicAttribute } from './../../vrender';
|
|
2
|
+
import { Group } from './../../vrender';
|
|
3
|
+
import type { percentCalcObj } from './percent-calc';
|
|
4
|
+
export type IContainerOptions = {
|
|
5
|
+
width?: number | percentCalcObj;
|
|
6
|
+
height?: number | percentCalcObj;
|
|
7
|
+
marginTop?: number;
|
|
8
|
+
marginRight?: number;
|
|
9
|
+
marginBottom?: number;
|
|
10
|
+
marginLeft?: number;
|
|
11
|
+
} & IGroupGraphicAttribute;
|
|
12
|
+
export declare class Container extends Group {
|
|
13
|
+
constructor(containerOptions: IContainerOptions);
|
|
14
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: !0
|
|
5
|
+
}), exports.Container = void 0;
|
|
6
|
+
|
|
7
|
+
const vutils_1 = require("@visactor/vutils"), vrender_1 = require("./../../vrender");
|
|
8
|
+
|
|
9
|
+
class Container extends vrender_1.Group {
|
|
10
|
+
constructor(containerOptions) {
|
|
11
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p;
|
|
12
|
+
containerOptions.direction && (containerOptions.flexDirection = containerOptions.direction),
|
|
13
|
+
!containerOptions.justifyContent || "start" !== containerOptions.justifyContent && "end" !== containerOptions.justifyContent || (containerOptions.justifyContent = "flex-" + containerOptions.justifyContent),
|
|
14
|
+
!containerOptions.alignItems || "start" !== containerOptions.alignItems && "end" !== containerOptions.alignItems || (containerOptions.alignItems = "flex-" + containerOptions.alignItems),
|
|
15
|
+
!containerOptions.alignContent || "start" !== containerOptions.alignContent && "end" !== containerOptions.alignContent || (containerOptions.alignContent = "flex-" + containerOptions.alignContent),
|
|
16
|
+
containerOptions.display = "flex", containerOptions.flexDirection || (containerOptions.flexDirection = "row"),
|
|
17
|
+
containerOptions.clip = !0, containerOptions.fill = null === (_a = null == containerOptions ? void 0 : containerOptions.background) || void 0 === _a ? void 0 : _a.fill,
|
|
18
|
+
containerOptions.stroke = null === (_b = null == containerOptions ? void 0 : containerOptions.background) || void 0 === _b ? void 0 : _b.stroke,
|
|
19
|
+
containerOptions.lineWidth = null === (_c = null == containerOptions ? void 0 : containerOptions.background) || void 0 === _c ? void 0 : _c.lineWidth,
|
|
20
|
+
containerOptions.cornerRadius = null === (_d = null == containerOptions ? void 0 : containerOptions.background) || void 0 === _d ? void 0 : _d.cornerRadius;
|
|
21
|
+
const isPaddingNumber = (0, vutils_1.isArray)(containerOptions.boundsPadding), padding = [ null !== (_f = null !== (_e = containerOptions.marginTop) && void 0 !== _e ? _e : isPaddingNumber ? containerOptions.boundsPadding[0] : containerOptions.boundsPadding) && void 0 !== _f ? _f : 0, null !== (_h = null !== (_g = containerOptions.marginRight) && void 0 !== _g ? _g : isPaddingNumber ? containerOptions.boundsPadding[1] : containerOptions.boundsPadding) && void 0 !== _h ? _h : 0, null !== (_l = null !== (_j = containerOptions.marginBottom) && void 0 !== _j ? _j : isPaddingNumber ? null !== (_k = containerOptions.boundsPadding[2]) && void 0 !== _k ? _k : containerOptions.boundsPadding[0] : containerOptions.boundsPadding) && void 0 !== _l ? _l : 0, null !== (_p = null !== (_m = containerOptions.marginLeft) && void 0 !== _m ? _m : isPaddingNumber ? null !== (_o = containerOptions.boundsPadding[3]) && void 0 !== _o ? _o : containerOptions.boundsPadding[1] : containerOptions.boundsPadding) && void 0 !== _p ? _p : 0 ];
|
|
22
|
+
containerOptions.boundsPadding = padding, super(containerOptions);
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
exports.Container = Container;
|
|
27
|
+
//# sourceMappingURL=container.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/render/layout/container.ts"],"names":[],"mappings":";;;AAAA,6CAA2C;AAE3C,6CAAwC;AAYxC,MAAa,SAAU,SAAQ,eAAK;IAClC,YAAY,gBAAmC;;QAC7C,IAAK,gBAAwB,CAAC,SAAS,EAAE;YACvC,gBAAgB,CAAC,aAAa,GAAI,gBAAwB,CAAC,SAAS,CAAC;SACtE;QACD,IACE,gBAAgB,CAAC,cAAc;YAC/B,CAAE,gBAAgB,CAAC,cAAsB,KAAK,OAAO,IAAK,gBAAgB,CAAC,cAAsB,KAAK,KAAK,CAAC,EAC5G;YACA,gBAAgB,CAAC,cAAc,GAAG,CAAC,OAAO,GAAG,gBAAgB,CAAC,cAAc,CAAQ,CAAC;SACtF;QAED,IACE,gBAAgB,CAAC,UAAU;YAC3B,CAAE,gBAAgB,CAAC,UAAkB,KAAK,OAAO,IAAK,gBAAgB,CAAC,UAAkB,KAAK,KAAK,CAAC,EACpG;YACA,gBAAgB,CAAC,UAAU,GAAG,CAAC,OAAO,GAAG,gBAAgB,CAAC,UAAU,CAAQ,CAAC;SAC9E;QAED,IACE,gBAAgB,CAAC,YAAY;YAC7B,CAAE,gBAAgB,CAAC,YAAoB,KAAK,OAAO,IAAK,gBAAgB,CAAC,YAAoB,KAAK,KAAK,CAAC,EACxG;YACA,gBAAgB,CAAC,YAAY,GAAG,CAAC,OAAO,GAAG,gBAAgB,CAAC,YAAY,CAAQ,CAAC;SAClF;QACD,gBAAgB,CAAC,OAAO,GAAG,MAAM,CAAC;QAClC,IAAI,CAAC,gBAAgB,CAAC,aAAa,EAAE;YACnC,gBAAgB,CAAC,aAAa,GAAG,KAAK,CAAC;SACxC;QAED,gBAAgB,CAAC,IAAI,GAAG,IAAI,CAAC;QAC7B,gBAAgB,CAAC,IAAI,GAAG,MAAC,gBAAgB,aAAhB,gBAAgB,uBAAhB,gBAAgB,CAAE,UAAkB,0CAAE,IAAI,CAAC;QACpE,gBAAgB,CAAC,MAAM,GAAG,MAAC,gBAAgB,aAAhB,gBAAgB,uBAAhB,gBAAgB,CAAE,UAAkB,0CAAE,MAAM,CAAC;QACxE,gBAAgB,CAAC,SAAS,GAAG,MAAC,gBAAgB,aAAhB,gBAAgB,uBAAhB,gBAAgB,CAAE,UAAkB,0CAAE,SAAS,CAAC;QAC9E,gBAAgB,CAAC,YAAY,GAAG,MAAC,gBAAgB,aAAhB,gBAAgB,uBAAhB,gBAAgB,CAAE,UAAkB,0CAAE,YAAY,CAAC;QAGpF,MAAM,eAAe,GAAG,IAAA,gBAAO,EAAC,gBAAgB,CAAC,aAAa,CAAC,CAAC;QAChE,MAAM,OAAO,GAAG;YACd,MAAA,MAAA,gBAAgB,CAAC,SAAS,mCACxB,CAAC,eAAe,CAAC,CAAC,CAAC,gBAAgB,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,gBAAgB,CAAC,aAAa,CAAC,mCACtF,CAAC;YACH,MAAA,MAAA,gBAAgB,CAAC,WAAW,mCAC1B,CAAC,eAAe,CAAC,CAAC,CAAC,gBAAgB,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,gBAAgB,CAAC,aAAa,CAAC,mCACtF,CAAC;YACH,MAAA,MAAA,gBAAgB,CAAC,YAAY,mCAC3B,CAAC,eAAe;gBACd,CAAC,CAAC,MAAA,gBAAgB,CAAC,aAAa,CAAC,CAAC,CAAC,mCAAI,gBAAgB,CAAC,aAAa,CAAC,CAAC,CAAC;gBACxE,CAAC,CAAC,gBAAgB,CAAC,aAAa,CAAC,mCACnC,CAAC;YACH,MAAA,MAAA,gBAAgB,CAAC,UAAU,mCACzB,CAAC,eAAe;gBACd,CAAC,CAAC,MAAA,gBAAgB,CAAC,aAAa,CAAC,CAAC,CAAC,mCAAI,gBAAgB,CAAC,aAAa,CAAC,CAAC,CAAC;gBACxE,CAAC,CAAC,gBAAgB,CAAC,aAAa,CAAC,mCACnC,CAAC;SACJ,CAAC;QACF,gBAAgB,CAAC,aAAa,GAAG,OAAO,CAAC;QAEzC,KAAK,CAAC,gBAAgB,CAAC,CAAC;IAC1B,CAAC;CACF;AA5DD,8BA4DC","file":"container.js","sourcesContent":["import { isArray } from '@visactor/vutils';\nimport type { IGroupGraphicAttribute } from './../../vrender';\nimport { Group } from './../../vrender';\nimport type { percentCalcObj } from './percent-calc';\n\nexport type IContainerOptions = {\n width?: number | percentCalcObj;\n height?: number | percentCalcObj;\n marginTop?: number;\n marginRight?: number;\n marginBottom?: number;\n marginLeft?: number;\n} & IGroupGraphicAttribute;\n\nexport class Container extends Group {\n constructor(containerOptions: IContainerOptions) {\n if ((containerOptions as any).direction) {\n containerOptions.flexDirection = (containerOptions as any).direction;\n }\n if (\n containerOptions.justifyContent &&\n ((containerOptions.justifyContent as any) === 'start' || (containerOptions.justifyContent as any) === 'end')\n ) {\n containerOptions.justifyContent = ('flex-' + containerOptions.justifyContent) as any;\n }\n\n if (\n containerOptions.alignItems &&\n ((containerOptions.alignItems as any) === 'start' || (containerOptions.alignItems as any) === 'end')\n ) {\n containerOptions.alignItems = ('flex-' + containerOptions.alignItems) as any;\n }\n\n if (\n containerOptions.alignContent &&\n ((containerOptions.alignContent as any) === 'start' || (containerOptions.alignContent as any) === 'end')\n ) {\n containerOptions.alignContent = ('flex-' + containerOptions.alignContent) as any;\n }\n containerOptions.display = 'flex';\n if (!containerOptions.flexDirection) {\n containerOptions.flexDirection = 'row';\n }\n\n containerOptions.clip = true;\n containerOptions.fill = (containerOptions?.background as any)?.fill;\n containerOptions.stroke = (containerOptions?.background as any)?.stroke;\n containerOptions.lineWidth = (containerOptions?.background as any)?.lineWidth;\n containerOptions.cornerRadius = (containerOptions?.background as any)?.cornerRadius;\n // containerOptions.flexWrap = 'nowrap';\n\n const isPaddingNumber = isArray(containerOptions.boundsPadding);\n const padding = [\n containerOptions.marginTop ??\n (isPaddingNumber ? containerOptions.boundsPadding[0] : containerOptions.boundsPadding) ??\n 0,\n containerOptions.marginRight ??\n (isPaddingNumber ? containerOptions.boundsPadding[1] : containerOptions.boundsPadding) ??\n 0,\n containerOptions.marginBottom ??\n (isPaddingNumber\n ? containerOptions.boundsPadding[2] ?? containerOptions.boundsPadding[0]\n : containerOptions.boundsPadding) ??\n 0,\n containerOptions.marginLeft ??\n (isPaddingNumber\n ? containerOptions.boundsPadding[3] ?? containerOptions.boundsPadding[1]\n : containerOptions.boundsPadding) ??\n 0\n ];\n containerOptions.boundsPadding = padding;\n\n super(containerOptions);\n }\n}\n"]}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export type DirectionKey = {
|
|
2
|
+
x: 'x' | 'y';
|
|
3
|
+
y: 'y' | 'x';
|
|
4
|
+
width: 'width' | 'height';
|
|
5
|
+
height: 'height' | 'width';
|
|
6
|
+
layoutWidth: 'layoutWidth' | 'layoutHeight';
|
|
7
|
+
layoutHeight: 'layoutHeight' | 'layoutWidth';
|
|
8
|
+
widthLimit: 'widthLimit' | 'heightLimit';
|
|
9
|
+
heightLimit: 'heightLimit' | 'widthLimit';
|
|
10
|
+
parentX: 'parentY' | 'parentX';
|
|
11
|
+
parentY: 'parentX' | 'parentY';
|
|
12
|
+
dx: 'dx' | 'dy';
|
|
13
|
+
dy: 'dx' | 'dy';
|
|
14
|
+
};
|
|
15
|
+
export type Direction = 'row' | 'column';
|
|
16
|
+
export type JustifyContent = 'start' | 'end' | 'center';
|
|
17
|
+
export type AlignItems = 'start' | 'end' | 'center';
|
|
18
|
+
type DirectionKeys = {
|
|
19
|
+
[key in Direction]: DirectionKey;
|
|
20
|
+
};
|
|
21
|
+
export declare const DIRECTION_KEY: DirectionKeys;
|
|
22
|
+
export {};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: !0
|
|
5
|
+
}), exports.DIRECTION_KEY = void 0, exports.DIRECTION_KEY = {
|
|
6
|
+
row: {
|
|
7
|
+
x: "x",
|
|
8
|
+
y: "y",
|
|
9
|
+
width: "width",
|
|
10
|
+
height: "height",
|
|
11
|
+
layoutWidth: "layoutWidth",
|
|
12
|
+
layoutHeight: "layoutHeight",
|
|
13
|
+
widthLimit: "widthLimit",
|
|
14
|
+
heightLimit: "heightLimit",
|
|
15
|
+
parentX: "parentX",
|
|
16
|
+
parentY: "parentY",
|
|
17
|
+
dx: "dx",
|
|
18
|
+
dy: "dy"
|
|
19
|
+
},
|
|
20
|
+
column: {
|
|
21
|
+
x: "y",
|
|
22
|
+
y: "x",
|
|
23
|
+
width: "height",
|
|
24
|
+
height: "width",
|
|
25
|
+
layoutWidth: "layoutHeight",
|
|
26
|
+
layoutHeight: "layoutWidth",
|
|
27
|
+
widthLimit: "heightLimit",
|
|
28
|
+
heightLimit: "widthLimit",
|
|
29
|
+
parentX: "parentY",
|
|
30
|
+
parentY: "parentX",
|
|
31
|
+
dx: "dy",
|
|
32
|
+
dy: "dx"
|
|
33
|
+
}
|
|
34
|
+
};
|
|
35
|
+
//# sourceMappingURL=direction.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/render/layout/direction.ts"],"names":[],"mappings":";;;AAoBa,QAAA,aAAa,GAAkB;IAC1C,GAAG,EAAE;QACH,CAAC,EAAE,GAAG;QACN,CAAC,EAAE,GAAG;QACN,KAAK,EAAE,OAAO;QACd,MAAM,EAAE,QAAQ;QAChB,WAAW,EAAE,aAAa;QAC1B,YAAY,EAAE,cAAc;QAC5B,UAAU,EAAE,YAAY;QACxB,WAAW,EAAE,aAAa;QAC1B,OAAO,EAAE,SAAS;QAClB,OAAO,EAAE,SAAS;QAClB,EAAE,EAAE,IAAI;QACR,EAAE,EAAE,IAAI;KACT;IACD,MAAM,EAAE;QACN,CAAC,EAAE,GAAG;QACN,CAAC,EAAE,GAAG;QACN,KAAK,EAAE,QAAQ;QACf,MAAM,EAAE,OAAO;QACf,WAAW,EAAE,cAAc;QAC3B,YAAY,EAAE,aAAa;QAC3B,UAAU,EAAE,aAAa;QACzB,WAAW,EAAE,YAAY;QACzB,OAAO,EAAE,SAAS;QAClB,OAAO,EAAE,SAAS;QAClB,EAAE,EAAE,IAAI;QACR,EAAE,EAAE,IAAI;KACT;CACF,CAAC","file":"direction.js","sourcesContent":["export type DirectionKey = {\n x: 'x' | 'y';\n y: 'y' | 'x';\n width: 'width' | 'height';\n height: 'height' | 'width';\n layoutWidth: 'layoutWidth' | 'layoutHeight';\n layoutHeight: 'layoutHeight' | 'layoutWidth';\n widthLimit: 'widthLimit' | 'heightLimit';\n heightLimit: 'heightLimit' | 'widthLimit';\n parentX: 'parentY' | 'parentX';\n parentY: 'parentX' | 'parentY';\n dx: 'dx' | 'dy';\n dy: 'dx' | 'dy';\n};\n\nexport type Direction = 'row' | 'column';\nexport type JustifyContent = 'start' | 'end' | 'center'; // 布局方向上的对齐方式\nexport type AlignItems = 'start' | 'end' | 'center'; // 布局交叉方向上的对齐方式\ntype DirectionKeys = { [key in Direction]: DirectionKey };\n\nexport const DIRECTION_KEY: DirectionKeys = {\n row: {\n x: 'x',\n y: 'y',\n width: 'width',\n height: 'height',\n layoutWidth: 'layoutWidth',\n layoutHeight: 'layoutHeight',\n widthLimit: 'widthLimit',\n heightLimit: 'heightLimit',\n parentX: 'parentX',\n parentY: 'parentY',\n dx: 'dx',\n dy: 'dy'\n },\n column: {\n x: 'y',\n y: 'x',\n width: 'height',\n height: 'width',\n layoutWidth: 'layoutHeight',\n layoutHeight: 'layoutWidth',\n widthLimit: 'heightLimit',\n heightLimit: 'widthLimit',\n parentX: 'parentY',\n parentY: 'parentX',\n dx: 'dy',\n dy: 'dx'\n }\n};\n"]}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import type { BaseTableAPI } from '../../ts-types/base-table';
|
|
2
|
+
export type ElementOptions = {
|
|
3
|
+
id?: string;
|
|
4
|
+
marginLeft?: number;
|
|
5
|
+
marginRight?: number;
|
|
6
|
+
marginTop?: number;
|
|
7
|
+
marginBottom?: number;
|
|
8
|
+
background?: {
|
|
9
|
+
stroke?: string | boolean;
|
|
10
|
+
fill?: string | boolean;
|
|
11
|
+
lineWidth?: number;
|
|
12
|
+
cornerRadius?: number;
|
|
13
|
+
expandX?: number;
|
|
14
|
+
expandY?: number;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
export declare class BaseElement {
|
|
18
|
+
type: string;
|
|
19
|
+
id?: string;
|
|
20
|
+
x: number;
|
|
21
|
+
y: number;
|
|
22
|
+
width: number;
|
|
23
|
+
height: number;
|
|
24
|
+
marginLeft: number;
|
|
25
|
+
marginRight: number;
|
|
26
|
+
marginTop: number;
|
|
27
|
+
marginBottom: number;
|
|
28
|
+
layoutWidth: number;
|
|
29
|
+
layoutHeight: number;
|
|
30
|
+
dx: number;
|
|
31
|
+
dy: number;
|
|
32
|
+
background?: {
|
|
33
|
+
stroke?: string | boolean;
|
|
34
|
+
fill?: string | boolean;
|
|
35
|
+
lineWidth?: number;
|
|
36
|
+
cornerRadius?: number;
|
|
37
|
+
expandX?: number;
|
|
38
|
+
expandY?: number;
|
|
39
|
+
};
|
|
40
|
+
constructor(options: ElementOptions);
|
|
41
|
+
getSize(table: BaseTableAPI): void;
|
|
42
|
+
initLayoutSize(): void;
|
|
43
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: !0
|
|
5
|
+
}), exports.BaseElement = void 0;
|
|
6
|
+
|
|
7
|
+
class BaseElement {
|
|
8
|
+
constructor(options) {
|
|
9
|
+
var _a, _b, _c, _d;
|
|
10
|
+
this.x = 0, this.y = 0, this.width = 0, this.height = 0, this.dx = 0, this.dy = 0,
|
|
11
|
+
this.id = options.id, this.marginLeft = null !== (_a = options.marginLeft) && void 0 !== _a ? _a : 0,
|
|
12
|
+
this.marginRight = null !== (_b = options.marginRight) && void 0 !== _b ? _b : 0,
|
|
13
|
+
this.marginTop = null !== (_c = options.marginTop) && void 0 !== _c ? _c : 0, this.marginBottom = null !== (_d = options.marginBottom) && void 0 !== _d ? _d : 0,
|
|
14
|
+
this.background = options.background || void 0;
|
|
15
|
+
}
|
|
16
|
+
getSize(table) {
|
|
17
|
+
this.initLayoutSize();
|
|
18
|
+
}
|
|
19
|
+
initLayoutSize() {
|
|
20
|
+
this.layoutWidth = this.width + this.marginLeft + this.marginRight, this.layoutHeight = this.height + this.marginTop + this.marginBottom,
|
|
21
|
+
this.background && (this.layoutWidth += 2 * (this.background.expandX || 0), this.layoutHeight += 2 * (this.background.expandY || 0)),
|
|
22
|
+
this.dx = this.marginLeft, this.dy = this.marginTop;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
exports.BaseElement = BaseElement;
|
|
27
|
+
//# sourceMappingURL=element.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/render/layout/element.ts"],"names":[],"mappings":";;;AAqBA,MAAa,WAAW;IA0BtB,YAAY,OAAuB;;QAvBnC,MAAC,GAAG,CAAC,CAAC;QACN,MAAC,GAAG,CAAC,CAAC;QACN,UAAK,GAAG,CAAC,CAAC;QACV,WAAM,GAAG,CAAC,CAAC;QAOX,OAAE,GAAG,CAAC,CAAC;QACP,OAAE,GAAG,CAAC,CAAC;QAaL,IAAI,CAAC,EAAE,GAAG,OAAO,CAAC,EAAE,CAAC;QACrB,IAAI,CAAC,UAAU,GAAG,MAAA,OAAO,CAAC,UAAU,mCAAI,CAAC,CAAC;QAC1C,IAAI,CAAC,WAAW,GAAG,MAAA,OAAO,CAAC,WAAW,mCAAI,CAAC,CAAC;QAC5C,IAAI,CAAC,SAAS,GAAG,MAAA,OAAO,CAAC,SAAS,mCAAI,CAAC,CAAC;QACxC,IAAI,CAAC,YAAY,GAAG,MAAA,OAAO,CAAC,YAAY,mCAAI,CAAC,CAAC;QAC9C,IAAI,CAAC,UAAU,GAAG,OAAO,CAAC,UAAU,IAAI,SAAS,CAAC;IACpD,CAAC;IAED,OAAO,CAAC,KAAmB;QACzB,IAAI,CAAC,cAAc,EAAE,CAAC;IACxB,CAAC;IAED,cAAc;QACZ,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC,WAAW,CAAC;QACnE,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC,YAAY,CAAC;QAErE,IAAI,IAAI,CAAC,UAAU,EAAE;YACnB,IAAI,CAAC,WAAW,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,OAAO,IAAI,CAAC,CAAC,GAAG,CAAC,CAAC;YACvD,IAAI,CAAC,YAAY,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,OAAO,IAAI,CAAC,CAAC,GAAG,CAAC,CAAC;SACzD;QAED,IAAI,CAAC,EAAE,GAAG,IAAI,CAAC,UAAU,CAAC;QAC1B,IAAI,CAAC,EAAE,GAAG,IAAI,CAAC,SAAS,CAAC;IAC3B,CAAC;CACF;AAnDD,kCAmDC","file":"element.js","sourcesContent":["import type { BaseTableAPI } from '../../ts-types/base-table';\n\nexport type ElementOptions = {\n id?: string;\n marginLeft?: number;\n marginRight?: number;\n marginTop?: number;\n marginBottom?: number;\n background?: {\n // fill?: boolean;\n // stroke?: boolean;\n stroke?: string | boolean;\n fill?: string | boolean;\n lineWidth?: number;\n cornerRadius?: number;\n expandX?: number;\n expandY?: number;\n };\n};\n\n// Element用作基础布局,图元继承Element\nexport class BaseElement {\n type: string;\n id?: string;\n x = 0;\n y = 0;\n width = 0;\n height = 0;\n marginLeft: number;\n marginRight: number;\n marginTop: number;\n marginBottom: number;\n layoutWidth: number;\n layoutHeight: number;\n dx = 0;\n dy = 0;\n background?: {\n // fill?: boolean;\n // stroke?: boolean;\n stroke?: string | boolean;\n fill?: string | boolean;\n lineWidth?: number;\n cornerRadius?: number;\n expandX?: number;\n expandY?: number;\n };\n\n constructor(options: ElementOptions) {\n this.id = options.id;\n this.marginLeft = options.marginLeft ?? 0;\n this.marginRight = options.marginRight ?? 0;\n this.marginTop = options.marginTop ?? 0;\n this.marginBottom = options.marginBottom ?? 0;\n this.background = options.background || undefined;\n }\n\n getSize(table: BaseTableAPI) {\n this.initLayoutSize();\n }\n\n initLayoutSize() {\n this.layoutWidth = this.width + this.marginLeft + this.marginRight;\n this.layoutHeight = this.height + this.marginTop + this.marginBottom;\n\n if (this.background) {\n this.layoutWidth += (this.background.expandX || 0) * 2;\n this.layoutHeight += (this.background.expandY || 0) * 2;\n }\n\n this.dx = this.marginLeft;\n this.dy = this.marginTop;\n }\n}\n"]}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: !0
|
|
5
|
+
}), exports.GroupElement = void 0;
|
|
6
|
+
|
|
7
|
+
const container_1 = require("./container");
|
|
8
|
+
|
|
9
|
+
class GroupElement extends container_1.Container {
|
|
10
|
+
constructor(option) {
|
|
11
|
+
option.flexWrap = "nowrap", super(option);
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
exports.GroupElement = GroupElement;
|
|
16
|
+
//# sourceMappingURL=group-element.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/render/layout/group-element.ts"],"names":[],"mappings":";;;AACA,2CAAwC;AAExC,MAAa,YAAa,SAAQ,qBAAS;IACzC,YAAY,MAAyB;QACnC,MAAM,CAAC,QAAQ,GAAG,QAAQ,CAAC;QAC3B,KAAK,CAAC,MAAM,CAAC,CAAC;IAChB,CAAC;CACF;AALD,oCAKC","file":"group-element.js","sourcesContent":["import type { IContainerOptions } from './container';\nimport { Container } from './container';\n\nexport class GroupElement extends Container {\n constructor(option: IContainerOptions) {\n option.flexWrap = 'nowrap';\n super(option);\n }\n}\n"]}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { IGroupGraphicAttribute } from './../../vrender';
|
|
2
|
+
import { Group as VGroup } from './../../vrender';
|
|
3
|
+
type IGroupOption = {
|
|
4
|
+
marginTop?: number;
|
|
5
|
+
marginRight?: number;
|
|
6
|
+
marginBottom?: number;
|
|
7
|
+
marginLeft?: number;
|
|
8
|
+
} & IGroupGraphicAttribute;
|
|
9
|
+
export declare class Group extends VGroup {
|
|
10
|
+
constructor(options: IGroupOption);
|
|
11
|
+
}
|
|
12
|
+
export {};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: !0
|
|
5
|
+
}), exports.Group = void 0;
|
|
6
|
+
|
|
7
|
+
const vrender_1 = require("./../../vrender"), vutils_1 = require("@visactor/vutils");
|
|
8
|
+
|
|
9
|
+
class Group extends vrender_1.Group {
|
|
10
|
+
constructor(options) {
|
|
11
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
12
|
+
const isPaddingNumber = (0, vutils_1.isArray)(options.boundsPadding), padding = [ null !== (_b = null !== (_a = options.marginTop) && void 0 !== _a ? _a : isPaddingNumber ? options.boundsPadding[0] : options.boundsPadding) && void 0 !== _b ? _b : 0, null !== (_d = null !== (_c = options.marginRight) && void 0 !== _c ? _c : isPaddingNumber ? options.boundsPadding[1] : options.boundsPadding) && void 0 !== _d ? _d : 0, null !== (_g = null !== (_e = options.marginBottom) && void 0 !== _e ? _e : isPaddingNumber ? null !== (_f = options.boundsPadding[2]) && void 0 !== _f ? _f : options.boundsPadding[0] : options.boundsPadding) && void 0 !== _g ? _g : 0, null !== (_k = null !== (_h = options.marginLeft) && void 0 !== _h ? _h : isPaddingNumber ? null !== (_j = options.boundsPadding[3]) && void 0 !== _j ? _j : options.boundsPadding[1] : options.boundsPadding) && void 0 !== _k ? _k : 0 ];
|
|
13
|
+
options.boundsPadding = padding, super(options);
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
exports.Group = Group;
|
|
18
|
+
//# sourceMappingURL=group.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/render/layout/group.ts"],"names":[],"mappings":";;;AACA,6CAAkD;AAClD,6CAA2C;AAS3C,MAAa,KAAM,SAAQ,eAAM;IAC/B,YAAY,OAAqB;;QAC/B,MAAM,eAAe,GAAG,IAAA,gBAAO,EAAC,OAAO,CAAC,aAAa,CAAC,CAAC;QACvD,MAAM,OAAO,GAAG;YACd,MAAA,MAAA,OAAO,CAAC,SAAS,mCAAI,CAAC,eAAe,CAAC,CAAC,CAAC,OAAO,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,aAAa,CAAC,mCAAI,CAAC;YAC9F,MAAA,MAAA,OAAO,CAAC,WAAW,mCAAI,CAAC,eAAe,CAAC,CAAC,CAAC,OAAO,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,aAAa,CAAC,mCAAI,CAAC;YAChG,MAAA,MAAA,OAAO,CAAC,YAAY,mCAClB,CAAC,eAAe,CAAC,CAAC,CAAC,MAAA,OAAO,CAAC,aAAa,CAAC,CAAC,CAAC,mCAAI,OAAO,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,aAAa,CAAC,mCAChG,CAAC;YACH,MAAA,MAAA,OAAO,CAAC,UAAU,mCAChB,CAAC,eAAe,CAAC,CAAC,CAAC,MAAA,OAAO,CAAC,aAAa,CAAC,CAAC,CAAC,mCAAI,OAAO,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,aAAa,CAAC,mCAChG,CAAC;SACJ,CAAC;QACF,OAAO,CAAC,aAAa,GAAG,OAAO,CAAC;QAEhC,KAAK,CAAC,OAAO,CAAC,CAAC;IACjB,CAAC;CACF;AAjBD,sBAiBC","file":"group.js","sourcesContent":["import type { IGroupGraphicAttribute } from './../../vrender';\nimport { Group as VGroup } from './../../vrender';\nimport { isArray } from '@visactor/vutils';\n\ntype IGroupOption = {\n marginTop?: number;\n marginRight?: number;\n marginBottom?: number;\n marginLeft?: number;\n} & IGroupGraphicAttribute;\n\nexport class Group extends VGroup {\n constructor(options: IGroupOption) {\n const isPaddingNumber = isArray(options.boundsPadding);\n const padding = [\n options.marginTop ?? (isPaddingNumber ? options.boundsPadding[0] : options.boundsPadding) ?? 0,\n options.marginRight ?? (isPaddingNumber ? options.boundsPadding[1] : options.boundsPadding) ?? 0,\n options.marginBottom ??\n (isPaddingNumber ? options.boundsPadding[2] ?? options.boundsPadding[0] : options.boundsPadding) ??\n 0,\n options.marginLeft ??\n (isPaddingNumber ? options.boundsPadding[3] ?? options.boundsPadding[1] : options.boundsPadding) ??\n 0\n ];\n options.boundsPadding = padding;\n\n super(options);\n }\n}\n"]}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { IImageGraphicAttribute } from './../../vrender';
|
|
2
|
+
import { Image } from './../../vrender';
|
|
3
|
+
import type { ColumnIconOption } from '../../ts-types';
|
|
4
|
+
type IIconOptions = {
|
|
5
|
+
width: number;
|
|
6
|
+
height: number;
|
|
7
|
+
svg?: string;
|
|
8
|
+
iconName?: string;
|
|
9
|
+
marginTop?: number;
|
|
10
|
+
marginRight?: number;
|
|
11
|
+
marginBottom?: number;
|
|
12
|
+
marginLeft?: number;
|
|
13
|
+
} & IImageGraphicAttribute;
|
|
14
|
+
export declare class Icon extends Image {
|
|
15
|
+
id: string;
|
|
16
|
+
svg: string;
|
|
17
|
+
iconName: string;
|
|
18
|
+
cache?: ColumnIconOption;
|
|
19
|
+
constructor(options: IIconOptions);
|
|
20
|
+
}
|
|
21
|
+
export {};
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var __createBinding = this && this.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
4
|
+
void 0 === k2 && (k2 = k);
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
desc && !("get" in desc ? !m.__esModule : desc.writable || desc.configurable) || (desc = {
|
|
7
|
+
enumerable: !0,
|
|
8
|
+
get: function() {
|
|
9
|
+
return m[k];
|
|
10
|
+
}
|
|
11
|
+
}), Object.defineProperty(o, k2, desc);
|
|
12
|
+
} : function(o, m, k, k2) {
|
|
13
|
+
void 0 === k2 && (k2 = k), o[k2] = m[k];
|
|
14
|
+
}), __setModuleDefault = this && this.__setModuleDefault || (Object.create ? function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", {
|
|
16
|
+
enumerable: !0,
|
|
17
|
+
value: v
|
|
18
|
+
});
|
|
19
|
+
} : function(o, v) {
|
|
20
|
+
o.default = v;
|
|
21
|
+
}), __importStar = this && this.__importStar || function(mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (null != mod) for (var k in mod) "default" !== k && Object.prototype.hasOwnProperty.call(mod, k) && __createBinding(result, mod, k);
|
|
25
|
+
return __setModuleDefault(result, mod), result;
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
Object.defineProperty(exports, "__esModule", {
|
|
29
|
+
value: !0
|
|
30
|
+
}), exports.Icon = void 0;
|
|
31
|
+
|
|
32
|
+
const vrender_1 = require("./../../vrender"), vutils_1 = require("@visactor/vutils"), registerIcons = __importStar(require("../../icons"));
|
|
33
|
+
|
|
34
|
+
class Icon extends vrender_1.Image {
|
|
35
|
+
constructor(options) {
|
|
36
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
37
|
+
let cache;
|
|
38
|
+
if ((0, vutils_1.isString)(options.iconName)) {
|
|
39
|
+
cache = registerIcons.get()[options.iconName], cache && (options.width = null !== (_a = options.width) && void 0 !== _a ? _a : cache.width,
|
|
40
|
+
options.height = null !== (_b = options.height) && void 0 !== _b ? _b : cache.height,
|
|
41
|
+
options.svg = cache.svg, options.cursor = cache.cursor);
|
|
42
|
+
}
|
|
43
|
+
options.svg && (options.image = options.svg);
|
|
44
|
+
const isPaddingNumber = (0, vutils_1.isArray)(options.boundsPadding), padding = [ null !== (_d = null !== (_c = options.marginTop) && void 0 !== _c ? _c : isPaddingNumber ? options.boundsPadding[0] : options.boundsPadding) && void 0 !== _d ? _d : 0, null !== (_f = null !== (_e = options.marginRight) && void 0 !== _e ? _e : isPaddingNumber ? options.boundsPadding[1] : options.boundsPadding) && void 0 !== _f ? _f : 0, null !== (_j = null !== (_g = options.marginBottom) && void 0 !== _g ? _g : isPaddingNumber ? null !== (_h = options.boundsPadding[2]) && void 0 !== _h ? _h : options.boundsPadding[0] : options.boundsPadding) && void 0 !== _j ? _j : 0, null !== (_m = null !== (_k = options.marginLeft) && void 0 !== _k ? _k : isPaddingNumber ? null !== (_l = options.boundsPadding[3]) && void 0 !== _l ? _l : options.boundsPadding[1] : options.boundsPadding) && void 0 !== _m ? _m : 0 ];
|
|
45
|
+
options.boundsPadding = padding, super(options), this.cache = cache;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
exports.Icon = Icon;
|
|
50
|
+
//# sourceMappingURL=icon.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/render/layout/icon.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AACA,6CAAwC;AACxC,6CAAqD;AACrD,2DAA6C;AAc7C,MAAa,IAAK,SAAQ,eAAK;IAM7B,YAAY,OAAqB;;QAC/B,IAAI,KAAK,CAAC;QACV,IAAI,IAAA,iBAAQ,EAAC,OAAO,CAAC,QAAQ,CAAC,EAAE;YAC9B,MAAM,UAAU,GAAG,aAAa,CAAC,GAAG,EAAE,CAAC;YACvC,KAAK,GAAG,UAAU,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC;YACrC,IAAI,KAAK,EAAE;gBACT,OAAO,CAAC,KAAK,GAAG,MAAA,OAAO,CAAC,KAAK,mCAAI,KAAK,CAAC,KAAK,CAAC;gBAC7C,OAAO,CAAC,MAAM,GAAG,MAAA,OAAO,CAAC,MAAM,mCAAI,KAAK,CAAC,MAAM,CAAC;gBAChD,OAAO,CAAC,GAAG,GAAI,KAAa,CAAC,GAAG,CAAC;gBACjC,OAAO,CAAC,MAAM,GAAI,KAAa,CAAC,MAAM,CAAC;aACxC;SACF;QACD,IAAI,OAAO,CAAC,GAAG,EAAE;YACf,OAAO,CAAC,KAAK,GAAG,OAAO,CAAC,GAAG,CAAC;SAC7B;QAED,MAAM,eAAe,GAAG,IAAA,gBAAO,EAAC,OAAO,CAAC,aAAa,CAAC,CAAC;QACvD,MAAM,OAAO,GAAG;YACd,MAAA,MAAA,OAAO,CAAC,SAAS,mCAAI,CAAC,eAAe,CAAC,CAAC,CAAC,OAAO,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,aAAa,CAAC,mCAAI,CAAC;YAC9F,MAAA,MAAA,OAAO,CAAC,WAAW,mCAAI,CAAC,eAAe,CAAC,CAAC,CAAC,OAAO,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,aAAa,CAAC,mCAAI,CAAC;YAChG,MAAA,MAAA,OAAO,CAAC,YAAY,mCAClB,CAAC,eAAe,CAAC,CAAC,CAAC,MAAA,OAAO,CAAC,aAAa,CAAC,CAAC,CAAC,mCAAI,OAAO,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,aAAa,CAAC,mCAChG,CAAC;YACH,MAAA,MAAA,OAAO,CAAC,UAAU,mCAChB,CAAC,eAAe,CAAC,CAAC,CAAC,MAAA,OAAO,CAAC,aAAa,CAAC,CAAC,CAAC,mCAAI,OAAO,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,aAAa,CAAC,mCAChG,CAAC;SACJ,CAAC;QACF,OAAO,CAAC,aAAa,GAAG,OAAO,CAAC;QAEhC,KAAK,CAAC,OAAO,CAAC,CAAC;QACf,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;IACrB,CAAC;CACF;AAtCD,oBAsCC","file":"icon.js","sourcesContent":["import type { IImageGraphicAttribute } from './../../vrender';\nimport { Image } from './../../vrender';\nimport { isArray, isString } from '@visactor/vutils';\nimport * as registerIcons from '../../icons';\nimport type { ColumnIconOption } from '../../ts-types';\n\ntype IIconOptions = {\n width: number;\n height: number;\n svg?: string;\n iconName?: string;\n marginTop?: number;\n marginRight?: number;\n marginBottom?: number;\n marginLeft?: number;\n} & IImageGraphicAttribute;\n\nexport class Icon extends Image {\n declare id: string;\n svg: string;\n iconName: string;\n cache?: ColumnIconOption;\n\n constructor(options: IIconOptions) {\n let cache;\n if (isString(options.iconName)) {\n const regedIcons = registerIcons.get();\n cache = regedIcons[options.iconName];\n if (cache) {\n options.width = options.width ?? cache.width;\n options.height = options.height ?? cache.height;\n options.svg = (cache as any).svg;\n options.cursor = (cache as any).cursor;\n }\n }\n if (options.svg) {\n options.image = options.svg;\n }\n\n const isPaddingNumber = isArray(options.boundsPadding);\n const padding = [\n options.marginTop ?? (isPaddingNumber ? options.boundsPadding[0] : options.boundsPadding) ?? 0,\n options.marginRight ?? (isPaddingNumber ? options.boundsPadding[1] : options.boundsPadding) ?? 0,\n options.marginBottom ??\n (isPaddingNumber ? options.boundsPadding[2] ?? options.boundsPadding[0] : options.boundsPadding) ??\n 0,\n options.marginLeft ??\n (isPaddingNumber ? options.boundsPadding[3] ?? options.boundsPadding[1] : options.boundsPadding) ??\n 0\n ];\n options.boundsPadding = padding;\n\n super(options);\n this.cache = cache;\n }\n}\n"]}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { IImageGraphicAttribute } from './../../vrender';
|
|
2
|
+
import { Image as VImage } from './../../vrender';
|
|
3
|
+
type IImageOptions = {
|
|
4
|
+
src?: string;
|
|
5
|
+
shape?: 'circle' | 'square';
|
|
6
|
+
marginTop?: number;
|
|
7
|
+
marginRight?: number;
|
|
8
|
+
marginBottom?: number;
|
|
9
|
+
marginLeft?: number;
|
|
10
|
+
} & IImageGraphicAttribute;
|
|
11
|
+
export declare class Image extends VImage {
|
|
12
|
+
constructor(options: IImageOptions);
|
|
13
|
+
}
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: !0
|
|
5
|
+
}), exports.Image = void 0;
|
|
6
|
+
|
|
7
|
+
const vrender_1 = require("./../../vrender"), vutils_1 = require("@visactor/vutils");
|
|
8
|
+
|
|
9
|
+
class Image extends vrender_1.Image {
|
|
10
|
+
constructor(options) {
|
|
11
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
12
|
+
options.src && (options.image = options.src), "circle" === options.shape && (options.cornerRadius = options.width / 2);
|
|
13
|
+
const isPaddingNumber = (0, vutils_1.isArray)(options.boundsPadding), padding = [ null !== (_b = null !== (_a = options.marginTop) && void 0 !== _a ? _a : isPaddingNumber ? options.boundsPadding[0] : options.boundsPadding) && void 0 !== _b ? _b : 0, null !== (_d = null !== (_c = options.marginRight) && void 0 !== _c ? _c : isPaddingNumber ? options.boundsPadding[1] : options.boundsPadding) && void 0 !== _d ? _d : 0, null !== (_g = null !== (_e = options.marginBottom) && void 0 !== _e ? _e : isPaddingNumber ? null !== (_f = options.boundsPadding[2]) && void 0 !== _f ? _f : options.boundsPadding[0] : options.boundsPadding) && void 0 !== _g ? _g : 0, null !== (_k = null !== (_h = options.marginLeft) && void 0 !== _h ? _h : isPaddingNumber ? null !== (_j = options.boundsPadding[3]) && void 0 !== _j ? _j : options.boundsPadding[1] : options.boundsPadding) && void 0 !== _k ? _k : 0 ];
|
|
14
|
+
options.boundsPadding = padding, super(options);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
exports.Image = Image;
|
|
19
|
+
//# sourceMappingURL=image.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/render/layout/image.ts"],"names":[],"mappings":";;;AACA,6CAAkD;AAClD,6CAA2C;AAU3C,MAAa,KAAM,SAAQ,eAAM;IAC/B,YAAY,OAAsB;;QAChC,IAAI,OAAO,CAAC,GAAG,EAAE;YACf,OAAO,CAAC,KAAK,GAAG,OAAO,CAAC,GAAG,CAAC;SAC7B;QACD,IAAI,OAAO,CAAC,KAAK,KAAK,QAAQ,EAAE;YAC9B,OAAO,CAAC,YAAY,GAAG,OAAO,CAAC,KAAK,GAAG,CAAC,CAAC;SAC1C;QAED,MAAM,eAAe,GAAG,IAAA,gBAAO,EAAC,OAAO,CAAC,aAAa,CAAC,CAAC;QACvD,MAAM,OAAO,GAAG;YACd,MAAA,MAAA,OAAO,CAAC,SAAS,mCAAI,CAAC,eAAe,CAAC,CAAC,CAAC,OAAO,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,aAAa,CAAC,mCAAI,CAAC;YAC9F,MAAA,MAAA,OAAO,CAAC,WAAW,mCAAI,CAAC,eAAe,CAAC,CAAC,CAAC,OAAO,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,aAAa,CAAC,mCAAI,CAAC;YAChG,MAAA,MAAA,OAAO,CAAC,YAAY,mCAClB,CAAC,eAAe,CAAC,CAAC,CAAC,MAAA,OAAO,CAAC,aAAa,CAAC,CAAC,CAAC,mCAAI,OAAO,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,aAAa,CAAC,mCAChG,CAAC;YACH,MAAA,MAAA,OAAO,CAAC,UAAU,mCAChB,CAAC,eAAe,CAAC,CAAC,CAAC,MAAA,OAAO,CAAC,aAAa,CAAC,CAAC,CAAC,mCAAI,OAAO,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,aAAa,CAAC,mCAChG,CAAC;SACJ,CAAC;QACF,OAAO,CAAC,aAAa,GAAG,OAAO,CAAC;QAEhC,KAAK,CAAC,OAAO,CAAC,CAAC;IACjB,CAAC;CACF;AAxBD,sBAwBC","file":"image.js","sourcesContent":["import type { IImageGraphicAttribute } from './../../vrender';\nimport { Image as VImage } from './../../vrender';\nimport { isArray } from '@visactor/vutils';\n\ntype IImageOptions = {\n src?: string;\n shape?: 'circle' | 'square';\n marginTop?: number;\n marginRight?: number;\n marginBottom?: number;\n marginLeft?: number;\n} & IImageGraphicAttribute;\nexport class Image extends VImage {\n constructor(options: IImageOptions) {\n if (options.src) {\n options.image = options.src;\n }\n if (options.shape === 'circle') {\n options.cornerRadius = options.width / 2;\n }\n\n const isPaddingNumber = isArray(options.boundsPadding);\n const padding = [\n options.marginTop ?? (isPaddingNumber ? options.boundsPadding[0] : options.boundsPadding) ?? 0,\n options.marginRight ?? (isPaddingNumber ? options.boundsPadding[1] : options.boundsPadding) ?? 0,\n options.marginBottom ??\n (isPaddingNumber ? options.boundsPadding[2] ?? options.boundsPadding[0] : options.boundsPadding) ??\n 0,\n options.marginLeft ??\n (isPaddingNumber ? options.boundsPadding[3] ?? options.boundsPadding[1] : options.boundsPadding) ??\n 0\n ];\n options.boundsPadding = padding;\n\n super(options);\n }\n}\n"]}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export * from './circle';
|
|
2
|
+
export * from './container';
|
|
3
|
+
export * from './group-element';
|
|
4
|
+
export * from './icon';
|
|
5
|
+
export * from './image';
|
|
6
|
+
export * from './rect';
|
|
7
|
+
export * from './text';
|
|
8
|
+
export * from './percent-calc';
|
|
9
|
+
export * from './arc';
|
|
10
|
+
export * from './tag';
|
|
11
|
+
export * from './group';
|
|
12
|
+
export * from './line';
|
|
13
|
+
export { CheckBox, Radio } from './../../vrender';
|