@visactor/vtable 0.9.2 → 0.9.3-alpha.1
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 +15 -15
- package/cjs/ListTable.d.ts +2 -1
- package/cjs/ListTable.js +17 -13
- package/cjs/ListTable.js.map +1 -1
- package/cjs/PivotChart.d.ts +69 -0
- package/cjs/PivotChart.js +445 -0
- package/cjs/PivotChart.js.map +1 -0
- package/cjs/PivotTable.d.ts +2 -1
- package/cjs/PivotTable.js +18 -13
- package/cjs/PivotTable.js.map +1 -1
- package/cjs/body-helper/style/MultilineTextStyle.js +2 -2
- package/cjs/body-helper/style/MultilineTextStyle.js.map +1 -1
- package/cjs/body-helper/style/ProgressBarStyle.js +15 -15
- package/cjs/body-helper/style/ProgressBarStyle.js.map +1 -1
- package/cjs/body-helper/style/Style.d.ts +0 -1
- package/cjs/body-helper/style/Style.js +25 -28
- package/cjs/body-helper/style/Style.js.map +1 -1
- package/cjs/chartModule.js +14 -0
- package/cjs/chartModule.js.map +1 -0
- package/cjs/components/axis/axis.d.ts +45 -0
- package/cjs/components/axis/axis.js +146 -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 +136 -0
- package/cjs/components/axis/get-axis-attributes.js +169 -0
- package/cjs/components/axis/get-axis-attributes.js.map +1 -0
- package/cjs/components/axis/label-overlap.d.ts +3 -0
- package/cjs/components/axis/label-overlap.js +46 -0
- package/cjs/components/axis/label-overlap.js.map +1 -0
- package/cjs/components/axis/linear-scale.d.ts +45 -0
- package/cjs/components/axis/linear-scale.js +120 -0
- package/cjs/components/axis/linear-scale.js.map +1 -0
- package/cjs/components/legend/get-legend-attributes.d.ts +5 -0
- package/cjs/components/legend/get-legend-attributes.js +90 -0
- package/cjs/components/legend/get-legend-attributes.js.map +1 -0
- package/cjs/components/legend/legend.d.ts +23 -0
- package/cjs/components/legend/legend.js +94 -0
- package/cjs/components/legend/legend.js.map +1 -0
- package/{es → cjs/components}/menu/dom/BaseMenu.d.ts +2 -2
- package/cjs/components/menu/dom/BaseMenu.js.map +1 -0
- package/cjs/components/menu/dom/Menu.js.map +1 -0
- package/cjs/{menu → components/menu}/dom/MenuHandler.d.ts +2 -2
- package/cjs/{menu → components/menu}/dom/MenuHandler.js +1 -1
- package/cjs/components/menu/dom/MenuHandler.js.map +1 -0
- package/cjs/{menu → components/menu}/dom/logic/MenuContainer.d.ts +2 -2
- package/cjs/{menu → components/menu}/dom/logic/MenuContainer.js +2 -2
- package/cjs/components/menu/dom/logic/MenuContainer.js.map +1 -0
- package/cjs/{menu → components/menu}/dom/logic/MenuElement.d.ts +2 -2
- package/cjs/{menu → components/menu}/dom/logic/MenuElement.js +4 -4
- package/cjs/components/menu/dom/logic/MenuElement.js.map +1 -0
- package/cjs/components/menu/dom/logic/MenuElementStyle.js.map +1 -0
- package/cjs/components/title/title.d.ts +12 -0
- package/cjs/components/title/title.js +66 -0
- package/cjs/components/title/title.js.map +1 -0
- package/{es → cjs/components}/tooltip/BaseTooltip.d.ts +3 -3
- package/cjs/components/tooltip/BaseTooltip.js.map +1 -0
- package/cjs/components/tooltip/Tooltip.js.map +1 -0
- package/cjs/{tooltip → components/tooltip}/TooltipHandler.d.ts +4 -4
- package/cjs/{tooltip → components/tooltip}/TooltipHandler.js +1 -1
- package/cjs/components/tooltip/TooltipHandler.js.map +1 -0
- package/{es → cjs/components}/tooltip/logic/BubbleTooltipElement.d.ts +4 -4
- package/cjs/{tooltip → components/tooltip}/logic/BubbleTooltipElement.js +1 -1
- package/cjs/components/tooltip/logic/BubbleTooltipElement.js.map +1 -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/tick-data/config.d.ts +1 -0
- package/cjs/components/util/tick-data/config.js +6 -0
- package/cjs/components/util/tick-data/config.js.map +1 -0
- package/cjs/components/util/tick-data/continuous.d.ts +2 -0
- package/cjs/components/util/tick-data/continuous.js +39 -0
- package/cjs/components/util/tick-data/continuous.js.map +1 -0
- package/cjs/components/util/tick-data/discrete/linear.d.ts +2 -0
- package/cjs/components/util/tick-data/discrete/linear.js +66 -0
- package/cjs/components/util/tick-data/discrete/linear.js.map +1 -0
- package/cjs/components/util/tick-data/discrete/polar-angle.d.ts +2 -0
- package/cjs/components/util/tick-data/discrete/polar-angle.js +46 -0
- package/cjs/components/util/tick-data/discrete/polar-angle.js.map +1 -0
- package/cjs/components/util/tick-data/index.d.ts +2 -0
- package/cjs/components/util/tick-data/index.js +17 -0
- package/cjs/components/util/tick-data/index.js.map +1 -0
- package/cjs/components/util/tick-data/util.d.ts +21 -0
- package/cjs/components/util/tick-data/util.js +115 -0
- package/cjs/components/util/tick-data/util.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 +18 -5
- package/cjs/core/BaseTable.js +115 -41
- package/cjs/core/BaseTable.js.map +1 -1
- package/cjs/core/TABLE_EVENT_TYPE.d.ts +5 -0
- package/cjs/core/TABLE_EVENT_TYPE.js +6 -1
- package/cjs/core/TABLE_EVENT_TYPE.js.map +1 -1
- package/cjs/core/style.js +1 -1
- package/cjs/core/style.js.map +1 -1
- package/cjs/core/tableHelper.js +1 -2
- package/cjs/data/CachedDataSource.js +2 -1
- package/cjs/data/DataSource.js +2 -2
- package/cjs/data/DataSource.js.map +1 -1
- package/cjs/dataset/dataset-pivot-table.d.ts +60 -0
- package/cjs/dataset/dataset-pivot-table.js +387 -0
- package/cjs/dataset/dataset-pivot-table.js.map +1 -0
- package/cjs/dataset/dataset.d.ts +15 -19
- package/cjs/dataset/dataset.js +191 -200
- package/cjs/dataset/dataset.js.map +1 -1
- package/cjs/dataset/statistics-helper.d.ts +67 -0
- package/cjs/dataset/statistics-helper.js +173 -0
- package/cjs/dataset/statistics-helper.js.map +1 -0
- package/cjs/dataset/util/zero-align.d.ts +10 -0
- package/cjs/dataset/util/zero-align.js +119 -0
- package/cjs/dataset/util/zero-align.js.map +1 -0
- package/cjs/event/EventHandler.js.map +1 -1
- package/cjs/event/EventTarget.d.ts +5 -5
- package/cjs/event/EventTarget.js +2 -2
- package/cjs/event/EventTarget.js.map +1 -1
- package/cjs/event/VChartEventProxy.d.ts +1 -0
- package/cjs/event/VChartEventProxy.js +1 -0
- package/cjs/event/VChartEventProxy.js.map +1 -0
- package/cjs/event/event.js +7 -4
- package/cjs/event/event.js.map +1 -1
- package/cjs/event/listener/table-group.js +8 -6
- package/cjs/event/listener/table-group.js.map +1 -1
- package/cjs/event/pivot-chart/axis-click.d.ts +2 -0
- package/cjs/event/pivot-chart/axis-click.js +42 -0
- package/cjs/event/pivot-chart/axis-click.js.map +1 -0
- package/cjs/event/pivot-chart/axis-hover.d.ts +2 -0
- package/cjs/event/pivot-chart/axis-hover.js +41 -0
- package/cjs/event/pivot-chart/axis-hover.js.map +1 -0
- package/cjs/event/scroll.js +4 -3
- package/cjs/event/scroll.js.map +1 -1
- package/cjs/event/sparkline-event.js +1 -2
- package/cjs/event/sparkline-event.js.map +1 -1
- package/cjs/header-helper/header-helper.js +1 -1
- package/cjs/header-helper/header-helper.js.map +1 -1
- package/cjs/header-helper/style/MultilineTextHeaderStyle.js +2 -2
- package/cjs/header-helper/style/MultilineTextHeaderStyle.js.map +1 -1
- package/cjs/header-helper/style/Style.d.ts +0 -1
- package/cjs/header-helper/style/Style.js +25 -28
- package/cjs/header-helper/style/Style.js.map +1 -1
- package/cjs/index.d.ts +4 -3
- package/cjs/index.js +11 -2
- package/cjs/index.js.map +1 -1
- package/cjs/layout/chart-helper/get-axis-config.d.ts +2 -0
- package/cjs/layout/chart-helper/get-axis-config.js +128 -0
- package/cjs/layout/chart-helper/get-axis-config.js.map +1 -0
- package/cjs/layout/chart-helper/get-chart-spec.d.ts +7 -0
- package/cjs/layout/chart-helper/get-chart-spec.js +141 -0
- package/cjs/layout/chart-helper/get-chart-spec.js.map +1 -0
- package/cjs/layout/index.js +2 -1
- package/cjs/layout/pivot-header-layout.d.ts +13 -5
- package/cjs/layout/pivot-header-layout.js +50 -14
- package/cjs/layout/pivot-header-layout.js.map +1 -1
- package/cjs/layout/pivot-layout.d.ts +55 -8
- package/cjs/layout/pivot-layout.js +406 -92
- package/cjs/layout/pivot-layout.js.map +1 -1
- package/cjs/layout/simple-header-layout.d.ts +10 -0
- package/cjs/layout/simple-header-layout.js +43 -2
- package/cjs/layout/simple-header-layout.js.map +1 -1
- package/cjs/plugins/{chartTypes.js → chartModules.js} +1 -1
- package/cjs/plugins/chartModules.js.map +1 -0
- package/cjs/register.d.ts +1 -1
- package/cjs/register.js +6 -6
- package/cjs/register.js.map +1 -1
- package/cjs/render/layout/text.d.ts +33 -4
- package/cjs/render/layout/text.js +9 -3
- package/cjs/render/layout/text.js.map +1 -1
- package/cjs/scenegraph/component/custom.js +17 -16
- package/cjs/scenegraph/component/custom.js.map +1 -1
- package/cjs/scenegraph/component/menu.d.ts +41 -0
- package/cjs/scenegraph/component/table-component.js +3 -3
- package/cjs/scenegraph/component/table-component.js.map +1 -1
- package/cjs/scenegraph/graphic/chart.d.ts +4 -1
- package/cjs/scenegraph/graphic/chart.js +29 -17
- package/cjs/scenegraph/graphic/chart.js.map +1 -1
- package/cjs/scenegraph/graphic/contributions/chart-render.js +22 -3
- package/cjs/scenegraph/graphic/contributions/chart-render.js.map +1 -1
- package/cjs/scenegraph/graphic/contributions/group-contribution-render.d.ts +9 -9
- package/cjs/scenegraph/graphic/contributions/group-contribution-render.js +48 -29
- package/cjs/scenegraph/graphic/contributions/group-contribution-render.js.map +1 -1
- package/cjs/scenegraph/graphic/contributions/image-contribution-render.d.ts +3 -3
- package/cjs/scenegraph/graphic/contributions/image-contribution-render.js +2 -2
- package/cjs/scenegraph/graphic/contributions/image-contribution-render.js.map +1 -1
- package/cjs/scenegraph/graphic/contributions/rect-contribution-render.d.ts +3 -3
- package/cjs/scenegraph/graphic/contributions/rect-contribution-render.js +2 -2
- package/cjs/scenegraph/graphic/contributions/rect-contribution-render.js.map +1 -1
- package/cjs/scenegraph/graphic/text.d.ts +15 -0
- package/cjs/scenegraph/group-creater/cell-helper.js +9 -3
- package/cjs/scenegraph/group-creater/cell-helper.js.map +1 -1
- package/cjs/scenegraph/group-creater/cell-type/chart-cell.d.ts +1 -1
- package/cjs/scenegraph/group-creater/cell-type/chart-cell.js +6 -5
- package/cjs/scenegraph/group-creater/cell-type/chart-cell.js.map +1 -1
- package/cjs/scenegraph/group-creater/column-helper.js +1 -1
- package/cjs/scenegraph/group-creater/column-helper.js.map +1 -1
- package/cjs/scenegraph/group-creater/column.js.map +1 -1
- 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 +71 -0
- package/cjs/scenegraph/group-creater/progress/create-group-for-first-screen.js.map +1 -0
- package/cjs/scenegraph/group-creater/progress/proxy.d.ts +2 -2
- package/cjs/scenegraph/group-creater/progress/proxy.js +45 -55
- package/cjs/scenegraph/group-creater/progress/proxy.js.map +1 -1
- package/cjs/scenegraph/group-creater/progress/update-position/dynamic-set-x.d.ts +1 -0
- package/cjs/scenegraph/group-creater/progress/update-position/dynamic-set-x.js +60 -26
- package/cjs/scenegraph/group-creater/progress/update-position/dynamic-set-x.js.map +1 -1
- package/cjs/scenegraph/group-creater/progress/update-position/dynamic-set-y.d.ts +1 -0
- package/cjs/scenegraph/group-creater/progress/update-position/dynamic-set-y.js +94 -40
- package/cjs/scenegraph/group-creater/progress/update-position/dynamic-set-y.js.map +1 -1
- package/cjs/scenegraph/layout/compute-col-width.js +23 -15
- package/cjs/scenegraph/layout/compute-col-width.js.map +1 -1
- package/cjs/scenegraph/layout/compute-row-height.js +20 -9
- package/cjs/scenegraph/layout/compute-row-height.js.map +1 -1
- package/cjs/scenegraph/layout/move-cell.js +1 -1
- package/cjs/scenegraph/layout/move-cell.js.map +1 -1
- package/cjs/scenegraph/layout/update-cell.js +3 -2
- package/cjs/scenegraph/layout/update-cell.js.map +1 -1
- package/cjs/scenegraph/layout/update-height.js +1 -1
- package/cjs/scenegraph/layout/update-height.js.map +1 -1
- package/cjs/scenegraph/layout/update-row.js +1 -1
- package/cjs/scenegraph/layout/update-row.js.map +1 -1
- package/cjs/scenegraph/layout/update-width.js +34 -3
- package/cjs/scenegraph/layout/update-width.js.map +1 -1
- package/cjs/scenegraph/refresh-node/update-chart.d.ts +3 -0
- package/cjs/scenegraph/refresh-node/update-chart.js +76 -7
- package/cjs/scenegraph/refresh-node/update-chart.js.map +1 -1
- package/cjs/scenegraph/scenegraph.d.ts +8 -0
- package/cjs/scenegraph/scenegraph.js +118 -21
- package/cjs/scenegraph/scenegraph.js.map +1 -1
- package/cjs/scenegraph/stick-text/index.js +10 -8
- package/cjs/scenegraph/stick-text/index.js.map +1 -1
- package/cjs/scenegraph/style/corner-cell.d.ts +3 -0
- package/cjs/scenegraph/style/corner-cell.js +29 -0
- package/cjs/scenegraph/style/corner-cell.js.map +1 -0
- package/cjs/scenegraph/style/frame-border.d.ts +1 -0
- package/cjs/scenegraph/style/frame-border.js +3 -7
- package/cjs/scenegraph/style/frame-border.js.map +1 -1
- package/cjs/scenegraph/utils/get-cell-merge.js +2 -1
- package/cjs/scenegraph/utils/get-cell-merge.js.map +1 -1
- package/cjs/scenegraph/utils/text-icon-layout.js +1 -1
- package/cjs/scenegraph/utils/text-icon-layout.js.map +1 -1
- package/cjs/state/state.js +1 -1
- package/cjs/state/state.js.map +1 -1
- package/cjs/themes/DARK.js +1 -2
- package/cjs/themes/theme.d.ts +10 -0
- package/cjs/themes/theme.js +50 -4
- package/cjs/themes/theme.js.map +1 -1
- package/cjs/tools/LimitPromiseQueue.js +2 -1
- package/cjs/tools/calc.d.ts +3 -0
- package/cjs/tools/calc.js +11 -3
- package/cjs/tools/calc.js.map +1 -1
- package/cjs/tools/debounce.js +1 -1
- package/cjs/tools/diff-cell.js +2 -2
- package/cjs/tools/dom.js +1 -1
- package/cjs/tools/env.js +1 -1
- package/cjs/ts-types/base-table.d.ts +29 -12
- package/cjs/ts-types/base-table.js.map +1 -1
- package/cjs/ts-types/column/style.d.ts +0 -1
- package/cjs/ts-types/column/style.js.map +1 -1
- package/cjs/ts-types/component/axis.d.ts +12 -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/legend.d.ts +5 -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 +47 -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 +2 -0
- package/cjs/ts-types/customElement.js.map +1 -1
- package/cjs/ts-types/events.d.ts +108 -83
- package/cjs/ts-types/events.js.map +1 -1
- package/cjs/ts-types/list-table/define/basic-define.js.map +1 -1
- package/cjs/ts-types/list-table/define/chart-define.d.ts +1 -1
- package/cjs/ts-types/list-table/define/chart-define.js.map +1 -1
- package/cjs/ts-types/list-table/layout-map/api.d.ts +4 -2
- package/cjs/ts-types/list-table/layout-map/api.js.map +1 -1
- package/cjs/ts-types/new-data-set.d.ts +21 -7
- package/cjs/ts-types/new-data-set.js +2 -2
- package/cjs/ts-types/new-data-set.js.map +1 -1
- package/cjs/ts-types/pivot-table/PIVOT_TABLE_EVENT_TYPE.d.ts +4 -0
- package/cjs/ts-types/pivot-table/PIVOT_TABLE_EVENT_TYPE.js +3 -1
- package/cjs/ts-types/pivot-table/PIVOT_TABLE_EVENT_TYPE.js.map +1 -1
- package/cjs/ts-types/pivot-table/corner.d.ts +3 -3
- package/cjs/ts-types/pivot-table/corner.js.map +1 -1
- package/cjs/ts-types/pivot-table/indicator/basic-indicator.js.map +1 -1
- package/cjs/ts-types/pivot-table/indicator/chart-indicator.d.ts +1 -1
- package/cjs/ts-types/pivot-table/indicator/chart-indicator.js.map +1 -1
- package/cjs/ts-types/pivot-table/indicator/index.d.ts +1 -0
- package/cjs/ts-types/pivot-table/indicator/index.js.map +1 -1
- package/cjs/ts-types/pivot-table/title.d.ts +1 -1
- package/cjs/ts-types/pivot-table/title.js.map +1 -1
- package/cjs/ts-types/table-engine.d.ts +27 -3
- package/cjs/ts-types/table-engine.js.map +1 -1
- package/cjs/ts-types/theme.d.ts +5 -0
- package/cjs/ts-types/theme.js.map +1 -1
- package/dist/vtable.js +37485 -24091
- package/dist/vtable.min.js +4 -2
- package/es/ListTable.d.ts +2 -1
- package/es/ListTable.js +17 -13
- package/es/ListTable.js.map +1 -1
- package/es/PivotChart.d.ts +69 -0
- package/es/PivotChart.js +455 -0
- package/es/PivotChart.js.map +1 -0
- package/es/PivotTable.d.ts +2 -1
- package/es/PivotTable.js +19 -14
- package/es/PivotTable.js.map +1 -1
- package/es/body-helper/style/MultilineTextStyle.js +2 -2
- package/es/body-helper/style/MultilineTextStyle.js.map +1 -1
- package/es/body-helper/style/ProgressBarStyle.js +15 -15
- package/es/body-helper/style/ProgressBarStyle.js.map +1 -1
- package/es/body-helper/style/Style.d.ts +0 -1
- package/es/body-helper/style/Style.js +25 -28
- package/es/body-helper/style/Style.js.map +1 -1
- package/es/{chartType.js → chartModule.js} +2 -2
- package/es/chartModule.js.map +1 -0
- package/es/components/axis/axis.d.ts +45 -0
- package/es/components/axis/axis.js +155 -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 +136 -0
- package/es/components/axis/get-axis-attributes.js +166 -0
- package/es/components/axis/get-axis-attributes.js.map +1 -0
- package/es/components/axis/label-overlap.d.ts +3 -0
- package/es/components/axis/label-overlap.js +39 -0
- package/es/components/axis/label-overlap.js.map +1 -0
- package/es/components/axis/linear-scale.d.ts +45 -0
- package/es/components/axis/linear-scale.js +104 -0
- package/es/components/axis/linear-scale.js.map +1 -0
- package/es/components/legend/get-legend-attributes.d.ts +5 -0
- package/es/components/legend/get-legend-attributes.js +84 -0
- package/es/components/legend/get-legend-attributes.js.map +1 -0
- package/es/components/legend/legend.d.ts +23 -0
- package/es/components/legend/legend.js +93 -0
- package/es/components/legend/legend.js.map +1 -0
- package/{cjs → es/components}/menu/dom/BaseMenu.d.ts +2 -2
- package/es/components/menu/dom/BaseMenu.js.map +1 -0
- package/es/components/menu/dom/Menu.js.map +1 -0
- package/es/{menu → components/menu}/dom/MenuHandler.d.ts +2 -2
- package/es/{menu → components/menu}/dom/MenuHandler.js +2 -2
- package/es/components/menu/dom/MenuHandler.js.map +1 -0
- package/es/{menu → components/menu}/dom/logic/MenuContainer.d.ts +2 -2
- package/es/{menu → components/menu}/dom/logic/MenuContainer.js +4 -4
- package/es/components/menu/dom/logic/MenuContainer.js.map +1 -0
- package/es/{menu → components/menu}/dom/logic/MenuElement.d.ts +2 -2
- package/es/{menu → components/menu}/dom/logic/MenuElement.js +9 -9
- package/es/components/menu/dom/logic/MenuElement.js.map +1 -0
- package/es/components/menu/dom/logic/MenuElementStyle.js.map +1 -0
- package/es/components/title/title.d.ts +12 -0
- package/es/components/title/title.js +61 -0
- package/es/components/title/title.js.map +1 -0
- package/{cjs → es/components}/tooltip/BaseTooltip.d.ts +3 -3
- package/es/components/tooltip/BaseTooltip.js.map +1 -0
- package/es/components/tooltip/Tooltip.js.map +1 -0
- package/es/{tooltip → components/tooltip}/TooltipHandler.d.ts +4 -4
- package/es/{tooltip → components/tooltip}/TooltipHandler.js +4 -4
- package/es/components/tooltip/TooltipHandler.js.map +1 -0
- package/{cjs → es/components}/tooltip/logic/BubbleTooltipElement.d.ts +4 -4
- package/es/{tooltip → components/tooltip}/logic/BubbleTooltipElement.js +4 -4
- package/es/components/tooltip/logic/BubbleTooltipElement.js.map +1 -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/tick-data/config.d.ts +1 -0
- package/es/components/util/tick-data/config.js +2 -0
- package/es/components/util/tick-data/config.js.map +1 -0
- package/es/components/util/tick-data/continuous.d.ts +2 -0
- package/es/components/util/tick-data/continuous.js +38 -0
- package/es/components/util/tick-data/continuous.js.map +1 -0
- package/es/components/util/tick-data/discrete/linear.d.ts +2 -0
- package/es/components/util/tick-data/discrete/linear.js +59 -0
- package/es/components/util/tick-data/discrete/linear.js.map +1 -0
- package/es/components/util/tick-data/discrete/polar-angle.d.ts +2 -0
- package/es/components/util/tick-data/discrete/polar-angle.js +39 -0
- package/es/components/util/tick-data/discrete/polar-angle.js.map +1 -0
- package/es/components/util/tick-data/index.d.ts +2 -0
- package/es/components/util/tick-data/index.js +19 -0
- package/es/components/util/tick-data/index.js.map +1 -0
- package/es/components/util/tick-data/util.d.ts +21 -0
- package/es/components/util/tick-data/util.js +104 -0
- package/es/components/util/tick-data/util.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 +18 -5
- package/es/core/BaseTable.js +119 -43
- package/es/core/BaseTable.js.map +1 -1
- package/es/core/TABLE_EVENT_TYPE.d.ts +5 -0
- package/es/core/TABLE_EVENT_TYPE.js +6 -1
- package/es/core/TABLE_EVENT_TYPE.js.map +1 -1
- package/es/core/style.js +1 -1
- package/es/core/style.js.map +1 -1
- package/es/core/tableHelper.js +1 -2
- package/es/data/CachedDataSource.js +2 -1
- package/es/data/DataSource.js +2 -2
- package/es/data/DataSource.js.map +1 -1
- package/es/dataset/dataset-pivot-table.d.ts +60 -0
- package/es/dataset/dataset-pivot-table.js +378 -0
- package/es/dataset/dataset-pivot-table.js.map +1 -0
- package/es/dataset/dataset.d.ts +15 -19
- package/es/dataset/dataset.js +183 -190
- package/es/dataset/dataset.js.map +1 -1
- package/es/dataset/statistics-helper.d.ts +67 -0
- package/es/dataset/statistics-helper.js +152 -0
- package/es/dataset/statistics-helper.js.map +1 -0
- package/es/dataset/util/zero-align.d.ts +10 -0
- package/es/dataset/util/zero-align.js +111 -0
- package/es/dataset/util/zero-align.js.map +1 -0
- package/es/event/EventHandler.js.map +1 -1
- package/es/event/EventTarget.d.ts +5 -5
- package/es/event/EventTarget.js +2 -2
- package/es/event/EventTarget.js.map +1 -1
- package/es/event/VChartEventProxy.d.ts +1 -0
- package/es/event/VChartEventProxy.js +1 -0
- package/es/event/VChartEventProxy.js.map +1 -0
- package/es/event/event.js +10 -3
- package/es/event/event.js.map +1 -1
- package/es/event/listener/table-group.js +8 -6
- package/es/event/listener/table-group.js.map +1 -1
- package/es/event/pivot-chart/axis-click.d.ts +2 -0
- package/es/event/pivot-chart/axis-click.js +36 -0
- package/es/event/pivot-chart/axis-click.js.map +1 -0
- package/es/event/pivot-chart/axis-hover.d.ts +2 -0
- package/es/event/pivot-chart/axis-hover.js +33 -0
- package/es/event/pivot-chart/axis-hover.js.map +1 -0
- package/es/event/scroll.js +4 -3
- package/es/event/scroll.js.map +1 -1
- package/es/event/sparkline-event.js +1 -2
- package/es/event/sparkline-event.js.map +1 -1
- package/es/header-helper/header-helper.js +1 -1
- package/es/header-helper/header-helper.js.map +1 -1
- package/es/header-helper/style/MultilineTextHeaderStyle.js +2 -2
- package/es/header-helper/style/MultilineTextHeaderStyle.js.map +1 -1
- package/es/header-helper/style/Style.d.ts +0 -1
- package/es/header-helper/style/Style.js +25 -28
- package/es/header-helper/style/Style.js.map +1 -1
- package/es/index.d.ts +4 -3
- package/es/index.js +4 -2
- package/es/index.js.map +1 -1
- package/es/layout/chart-helper/get-axis-config.d.ts +2 -0
- package/es/layout/chart-helper/get-axis-config.js +120 -0
- package/es/layout/chart-helper/get-axis-config.js.map +1 -0
- package/es/layout/chart-helper/get-chart-spec.d.ts +7 -0
- package/es/layout/chart-helper/get-chart-spec.js +132 -0
- package/es/layout/chart-helper/get-chart-spec.js.map +1 -0
- package/es/layout/index.js +2 -1
- package/es/layout/pivot-header-layout.d.ts +13 -5
- package/es/layout/pivot-header-layout.js +50 -12
- package/es/layout/pivot-header-layout.js.map +1 -1
- package/es/layout/pivot-layout.d.ts +55 -8
- package/es/layout/pivot-layout.js +409 -90
- package/es/layout/pivot-layout.js.map +1 -1
- package/es/layout/simple-header-layout.d.ts +10 -0
- package/es/layout/simple-header-layout.js +44 -1
- package/es/layout/simple-header-layout.js.map +1 -1
- package/es/plugins/chartModules.js +2 -0
- package/es/plugins/chartModules.js.map +1 -0
- package/es/register.d.ts +1 -1
- package/es/register.js +3 -3
- package/es/register.js.map +1 -1
- package/es/render/layout/text.d.ts +33 -4
- package/es/render/layout/text.js +9 -3
- package/es/render/layout/text.js.map +1 -1
- package/es/scenegraph/component/custom.js +17 -16
- package/es/scenegraph/component/custom.js.map +1 -1
- package/es/scenegraph/component/menu.d.ts +41 -0
- package/es/scenegraph/component/table-component.js +3 -3
- package/es/scenegraph/component/table-component.js.map +1 -1
- package/es/scenegraph/graphic/chart.d.ts +4 -1
- package/es/scenegraph/graphic/chart.js +29 -15
- package/es/scenegraph/graphic/chart.js.map +1 -1
- package/es/scenegraph/graphic/contributions/chart-render.js +22 -3
- package/es/scenegraph/graphic/contributions/chart-render.js.map +1 -1
- package/es/scenegraph/graphic/contributions/group-contribution-render.d.ts +9 -9
- package/es/scenegraph/graphic/contributions/group-contribution-render.js +48 -29
- package/es/scenegraph/graphic/contributions/group-contribution-render.js.map +1 -1
- package/es/scenegraph/graphic/contributions/image-contribution-render.d.ts +3 -3
- package/es/scenegraph/graphic/contributions/image-contribution-render.js +2 -2
- package/es/scenegraph/graphic/contributions/image-contribution-render.js.map +1 -1
- package/es/scenegraph/graphic/contributions/rect-contribution-render.d.ts +3 -3
- package/es/scenegraph/graphic/contributions/rect-contribution-render.js +2 -2
- package/es/scenegraph/graphic/contributions/rect-contribution-render.js.map +1 -1
- package/es/scenegraph/graphic/text.d.ts +15 -0
- package/es/scenegraph/group-creater/cell-helper.js +10 -2
- package/es/scenegraph/group-creater/cell-helper.js.map +1 -1
- package/es/scenegraph/group-creater/cell-type/chart-cell.d.ts +1 -1
- package/es/scenegraph/group-creater/cell-type/chart-cell.js +6 -5
- package/es/scenegraph/group-creater/cell-type/chart-cell.js.map +1 -1
- package/es/scenegraph/group-creater/column-helper.js +1 -1
- package/es/scenegraph/group-creater/column-helper.js.map +1 -1
- package/es/scenegraph/group-creater/column.js.map +1 -1
- 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 +65 -0
- package/es/scenegraph/group-creater/progress/create-group-for-first-screen.js.map +1 -0
- package/es/scenegraph/group-creater/progress/proxy.d.ts +2 -2
- package/es/scenegraph/group-creater/progress/proxy.js +42 -55
- package/es/scenegraph/group-creater/progress/proxy.js.map +1 -1
- package/es/scenegraph/group-creater/progress/update-position/dynamic-set-x.d.ts +1 -0
- package/es/scenegraph/group-creater/progress/update-position/dynamic-set-x.js +59 -23
- package/es/scenegraph/group-creater/progress/update-position/dynamic-set-x.js.map +1 -1
- package/es/scenegraph/group-creater/progress/update-position/dynamic-set-y.d.ts +1 -0
- package/es/scenegraph/group-creater/progress/update-position/dynamic-set-y.js +94 -37
- package/es/scenegraph/group-creater/progress/update-position/dynamic-set-y.js.map +1 -1
- package/es/scenegraph/layout/compute-col-width.js +23 -15
- package/es/scenegraph/layout/compute-col-width.js.map +1 -1
- package/es/scenegraph/layout/compute-row-height.js +20 -9
- package/es/scenegraph/layout/compute-row-height.js.map +1 -1
- package/es/scenegraph/layout/move-cell.js +1 -1
- package/es/scenegraph/layout/move-cell.js.map +1 -1
- package/es/scenegraph/layout/update-cell.js +3 -1
- package/es/scenegraph/layout/update-cell.js.map +1 -1
- package/es/scenegraph/layout/update-height.js +1 -1
- package/es/scenegraph/layout/update-height.js.map +1 -1
- package/es/scenegraph/layout/update-row.js +1 -1
- package/es/scenegraph/layout/update-row.js.map +1 -1
- package/es/scenegraph/layout/update-width.js +35 -2
- package/es/scenegraph/layout/update-width.js.map +1 -1
- package/es/scenegraph/refresh-node/update-chart.d.ts +3 -0
- package/es/scenegraph/refresh-node/update-chart.js +70 -4
- package/es/scenegraph/refresh-node/update-chart.js.map +1 -1
- package/es/scenegraph/scenegraph.d.ts +8 -0
- package/es/scenegraph/scenegraph.js +120 -21
- package/es/scenegraph/scenegraph.js.map +1 -1
- package/es/scenegraph/stick-text/index.js +10 -8
- package/es/scenegraph/stick-text/index.js.map +1 -1
- package/es/scenegraph/style/corner-cell.d.ts +3 -0
- package/es/scenegraph/style/corner-cell.js +25 -0
- package/es/scenegraph/style/corner-cell.js.map +1 -0
- package/es/scenegraph/style/frame-border.d.ts +1 -0
- package/es/scenegraph/style/frame-border.js +2 -6
- package/es/scenegraph/style/frame-border.js.map +1 -1
- package/es/scenegraph/utils/get-cell-merge.js +2 -1
- package/es/scenegraph/utils/get-cell-merge.js.map +1 -1
- package/es/scenegraph/utils/text-icon-layout.js +1 -1
- package/es/scenegraph/utils/text-icon-layout.js.map +1 -1
- package/es/state/state.js +1 -1
- package/es/state/state.js.map +1 -1
- package/es/themes/DARK.js +1 -2
- package/es/themes/theme.d.ts +10 -0
- package/es/themes/theme.js +50 -4
- package/es/themes/theme.js.map +1 -1
- package/es/tools/LimitPromiseQueue.js +2 -1
- package/es/tools/calc.d.ts +3 -0
- package/es/tools/calc.js +10 -0
- package/es/tools/calc.js.map +1 -1
- package/es/tools/debounce.js +1 -1
- package/es/tools/diff-cell.js +1 -1
- package/es/tools/dom.js +1 -1
- package/es/tools/env.js +1 -1
- package/es/ts-types/base-table.d.ts +29 -12
- package/es/ts-types/base-table.js.map +1 -1
- package/es/ts-types/column/style.d.ts +0 -1
- package/es/ts-types/column/style.js.map +1 -1
- package/es/ts-types/component/axis.d.ts +12 -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/legend.d.ts +5 -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 +47 -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 +2 -0
- package/es/ts-types/customElement.js.map +1 -1
- package/es/ts-types/events.d.ts +108 -83
- package/es/ts-types/events.js.map +1 -1
- package/es/ts-types/list-table/define/basic-define.js.map +1 -1
- package/es/ts-types/list-table/define/chart-define.d.ts +1 -1
- package/es/ts-types/list-table/define/chart-define.js.map +1 -1
- package/es/ts-types/list-table/layout-map/api.d.ts +4 -2
- package/es/ts-types/list-table/layout-map/api.js.map +1 -1
- package/es/ts-types/new-data-set.d.ts +21 -7
- package/es/ts-types/new-data-set.js +2 -2
- package/es/ts-types/new-data-set.js.map +1 -1
- package/es/ts-types/pivot-table/PIVOT_TABLE_EVENT_TYPE.d.ts +4 -0
- package/es/ts-types/pivot-table/PIVOT_TABLE_EVENT_TYPE.js +4 -0
- package/es/ts-types/pivot-table/PIVOT_TABLE_EVENT_TYPE.js.map +1 -1
- package/es/ts-types/pivot-table/corner.d.ts +3 -3
- package/es/ts-types/pivot-table/corner.js.map +1 -1
- package/es/ts-types/pivot-table/indicator/basic-indicator.js.map +1 -1
- package/es/ts-types/pivot-table/indicator/chart-indicator.d.ts +1 -1
- package/es/ts-types/pivot-table/indicator/chart-indicator.js.map +1 -1
- package/es/ts-types/pivot-table/indicator/index.d.ts +1 -0
- package/es/ts-types/pivot-table/indicator/index.js.map +1 -1
- package/es/ts-types/pivot-table/title.d.ts +1 -1
- package/es/ts-types/pivot-table/title.js.map +1 -1
- package/es/ts-types/table-engine.d.ts +27 -3
- package/es/ts-types/table-engine.js.map +1 -1
- package/es/ts-types/theme.d.ts +5 -0
- package/es/ts-types/theme.js.map +1 -1
- package/package.json +14 -8
- package/cjs/chartType.js +0 -14
- package/cjs/chartType.js.map +0 -1
- package/cjs/menu/dom/BaseMenu.js.map +0 -1
- package/cjs/menu/dom/Menu.js.map +0 -1
- package/cjs/menu/dom/MenuHandler.js.map +0 -1
- package/cjs/menu/dom/logic/MenuContainer.js.map +0 -1
- package/cjs/menu/dom/logic/MenuElement.js.map +0 -1
- package/cjs/menu/dom/logic/MenuElementStyle.js.map +0 -1
- package/cjs/plugins/chartTypes.js.map +0 -1
- package/cjs/scenegraph/layout/auto-width.d.ts +0 -2
- package/cjs/scenegraph/layout/auto-width.js +0 -85
- package/cjs/scenegraph/layout/auto-width.js.map +0 -1
- package/cjs/tooltip/BaseTooltip.js.map +0 -1
- package/cjs/tooltip/Tooltip.js.map +0 -1
- package/cjs/tooltip/TooltipHandler.js.map +0 -1
- package/cjs/tooltip/logic/BubbleTooltipElement.js.map +0 -1
- package/cjs/tooltip/logic/BubbleTooltipElementStyle.js.map +0 -1
- package/es/chartType.js.map +0 -1
- package/es/menu/dom/BaseMenu.js.map +0 -1
- package/es/menu/dom/Menu.js.map +0 -1
- package/es/menu/dom/MenuHandler.js.map +0 -1
- package/es/menu/dom/logic/MenuContainer.js.map +0 -1
- package/es/menu/dom/logic/MenuElement.js.map +0 -1
- package/es/menu/dom/logic/MenuElementStyle.js.map +0 -1
- package/es/plugins/chartTypes.js +0 -2
- package/es/plugins/chartTypes.js.map +0 -1
- package/es/scenegraph/layout/auto-width.d.ts +0 -2
- package/es/scenegraph/layout/auto-width.js +0 -82
- package/es/scenegraph/layout/auto-width.js.map +0 -1
- package/es/tooltip/BaseTooltip.js.map +0 -1
- package/es/tooltip/Tooltip.js.map +0 -1
- package/es/tooltip/TooltipHandler.js.map +0 -1
- package/es/tooltip/logic/BubbleTooltipElement.js.map +0 -1
- package/es/tooltip/logic/BubbleTooltipElementStyle.js.map +0 -1
- /package/cjs/{chartType.d.ts → chartModule.d.ts} +0 -0
- /package/cjs/{menu → components/menu}/dom/BaseMenu.js +0 -0
- /package/cjs/{menu → components/menu}/dom/Menu.d.ts +0 -0
- /package/cjs/{menu → components/menu}/dom/Menu.js +0 -0
- /package/cjs/{menu → components/menu}/dom/logic/MenuElementStyle.d.ts +0 -0
- /package/cjs/{menu → components/menu}/dom/logic/MenuElementStyle.js +0 -0
- /package/cjs/{tooltip → components/tooltip}/BaseTooltip.js +0 -0
- /package/cjs/{tooltip → components/tooltip}/Tooltip.d.ts +0 -0
- /package/cjs/{tooltip → components/tooltip}/Tooltip.js +0 -0
- /package/cjs/{tooltip → components/tooltip}/logic/BubbleTooltipElementStyle.d.ts +0 -0
- /package/cjs/{tooltip → components/tooltip}/logic/BubbleTooltipElementStyle.js +0 -0
- /package/cjs/plugins/{chartTypes.d.ts → chartModules.d.ts} +0 -0
- /package/es/{chartType.d.ts → chartModule.d.ts} +0 -0
- /package/es/{menu → components/menu}/dom/BaseMenu.js +0 -0
- /package/es/{menu → components/menu}/dom/Menu.d.ts +0 -0
- /package/es/{menu → components/menu}/dom/Menu.js +0 -0
- /package/es/{menu → components/menu}/dom/logic/MenuElementStyle.d.ts +0 -0
- /package/es/{menu → components/menu}/dom/logic/MenuElementStyle.js +0 -0
- /package/es/{tooltip → components/tooltip}/BaseTooltip.js +0 -0
- /package/es/{tooltip → components/tooltip}/Tooltip.d.ts +0 -0
- /package/es/{tooltip → components/tooltip}/Tooltip.js +0 -0
- /package/es/{tooltip → components/tooltip}/logic/BubbleTooltipElementStyle.d.ts +0 -0
- /package/es/{tooltip → components/tooltip}/logic/BubbleTooltipElementStyle.js +0 -0
- /package/es/plugins/{chartTypes.d.ts → chartModules.d.ts} +0 -0
|
@@ -1,32 +1,151 @@
|
|
|
1
|
-
import { transpose } from "../tools/util";
|
|
1
|
+
import { isValid, transpose } from "../tools/util";
|
|
2
2
|
|
|
3
3
|
import { IndicatorDimensionKeyPlaceholder } from "../tools/global";
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
import { getAxisConfigInPivotChart } from "./chart-helper/get-axis-config";
|
|
6
|
+
|
|
7
|
+
import { getChartAxes, getChartDataId, getChartSpec, getRawChartSpec } from "./chart-helper/get-chart-spec";
|
|
8
|
+
|
|
9
|
+
const EMPTY_HEADER = {
|
|
10
|
+
isEmpty: !0,
|
|
11
|
+
id: void 0,
|
|
12
|
+
field: void 0,
|
|
13
|
+
headerType: void 0,
|
|
14
|
+
define: void 0
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
export class PivotLayoutMap {
|
|
6
18
|
constructor(table, dataset) {
|
|
7
|
-
var _a, _b, _c, _d, _e, _f;
|
|
19
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
8
20
|
this._headerObjects = [], this._headerObjectMap = {}, this._indicatorObjects = [],
|
|
9
|
-
this.
|
|
10
|
-
this.
|
|
21
|
+
this._columnWidths = [], this._showRowHeader = !0, this._showColumnHeader = !0,
|
|
22
|
+
this._indicatorShowType = "column", this.indicatorsAsCol = !0, this.hideIndicatorName = !1,
|
|
23
|
+
this.indicatorDimensionKey = IndicatorDimensionKeyPlaceholder, this._table = table,
|
|
24
|
+
this._chartItemSpanSize = 0, this.rowTree = table.options.rowTree, this.columnTree = table.options.columnTree,
|
|
25
|
+
this.rowsDefine = null !== (_a = table.options.rows) && void 0 !== _a ? _a : [],
|
|
11
26
|
this.columnsDefine = null !== (_b = table.options.columns) && void 0 !== _b ? _b : [],
|
|
12
27
|
this.indicatorsDefine = null !== (_c = table.options.indicators) && void 0 !== _c ? _c : [],
|
|
13
28
|
this.indicatorTitle = table.options.indicatorTitle, this.dataset = dataset, this.dataConfig = dataset.dataConfig,
|
|
14
|
-
this.
|
|
29
|
+
this.indicatorKeys = dataset.indicatorKeys, this.indicatorsAsCol = null === (_d = table.options.indicatorsAsCol) || void 0 === _d || _d,
|
|
15
30
|
this.hideIndicatorName = null !== (_e = table.options.hideIndicatorName) && void 0 !== _e && _e,
|
|
16
|
-
this.
|
|
31
|
+
this.showRowHeader = null === (_f = table.options.showRowHeader) || void 0 === _f || _f,
|
|
32
|
+
this.showColumnHeader = null === (_g = table.options.showColumnHeader) || void 0 === _g || _g,
|
|
33
|
+
this.rowHeaderTitle = table.options.rowHeaderTitle, this.columnHeaderTitle = table.options.columnHeaderTitle,
|
|
34
|
+
this.cornerSetting = null !== (_h = table.options.corner) && void 0 !== _h ? _h : {
|
|
17
35
|
titleOnDimension: "column"
|
|
18
36
|
}, this.columns = dataset.columns, this.rows = dataset.rows, this.rowKeysPath = dataset.rowKeysPath,
|
|
19
|
-
this.colKeysPath = dataset.colKeysPath, this.
|
|
20
|
-
this.
|
|
37
|
+
this.colKeysPath = dataset.colKeysPath, this.tree = dataset.tree, this.initState(),
|
|
38
|
+
this.convertColKeys = transpose(this.colKeysPath);
|
|
21
39
|
}
|
|
22
40
|
initState() {
|
|
23
|
-
|
|
24
|
-
this.
|
|
25
|
-
this.
|
|
26
|
-
this.
|
|
27
|
-
this.
|
|
28
|
-
this.
|
|
29
|
-
|
|
41
|
+
var _a, _b, _c, _d, _e;
|
|
42
|
+
if (this.indicatorsAsCol && !this.hideIndicatorName ? this._indicatorShowType = "column" : this.indicatorsAsCol || this.hideIndicatorName ? this._indicatorShowType = "none" : this._indicatorShowType = "row",
|
|
43
|
+
this.colShowAttrs = "column" === this._indicatorShowType ? this.columns.concat(this.indicatorDimensionKey) : Array.from(this.columns),
|
|
44
|
+
this.rowShowAttrs = "row" === this._indicatorShowType ? this.rows.concat(this.indicatorDimensionKey) : Array.from(this.rows),
|
|
45
|
+
this._bodyRowCount = this.rowKeysPath.length * (this.indicatorsAsCol ? 1 : this.indicatorKeys.length),
|
|
46
|
+
this.initHeaderObjects(), this.initIndicatorObjects(), this.rowHeaderTitle) {
|
|
47
|
+
const cell_id = "rowHeaderTitle", caption = "string" == typeof this.rowHeaderTitle.title ? this.rowHeaderTitle.title : this.rowsDefine.reduce(((title, value) => "string" == typeof value ? title : title + (title ? `/${value.dimensionTitle}` : `${value.dimensionTitle}`)), "");
|
|
48
|
+
this._headerObjectMap[caption] = {
|
|
49
|
+
id: caption,
|
|
50
|
+
caption: caption,
|
|
51
|
+
field: cell_id,
|
|
52
|
+
headerType: null !== (_a = this.rowHeaderTitle.headerType) && void 0 !== _a ? _a : "text",
|
|
53
|
+
style: this.rowHeaderTitle.headerStyle,
|
|
54
|
+
define: {}
|
|
55
|
+
}, this._headerObjectMap[cell_id] = {
|
|
56
|
+
id: cell_id,
|
|
57
|
+
caption: "",
|
|
58
|
+
field: cell_id,
|
|
59
|
+
headerType: null !== (_b = this.cornerSetting.headerType) && void 0 !== _b ? _b : "text",
|
|
60
|
+
style: this.cornerSetting.headerStyle,
|
|
61
|
+
define: {}
|
|
62
|
+
}, this._headerObjects.push(this._headerObjectMap[caption]), this._headerObjects.push(this._headerObjectMap[cell_id]),
|
|
63
|
+
this.rowShowAttrs.unshift(cell_id), this.rowKeysPath.forEach(((rowKey, index) => {
|
|
64
|
+
rowKey.unshift(caption);
|
|
65
|
+
}));
|
|
66
|
+
}
|
|
67
|
+
if (this.columnHeaderTitle) {
|
|
68
|
+
const cell_id = "columnHeaderTitleCell", caption = "string" == typeof this.columnHeaderTitle.title ? this.columnHeaderTitle.title : this.columnsDefine.reduce(((title, value) => "string" == typeof value ? title : title + (title ? `/${value.dimensionTitle}` : `${value.dimensionTitle}`)), "");
|
|
69
|
+
this._headerObjectMap[caption] = {
|
|
70
|
+
id: caption,
|
|
71
|
+
caption: caption,
|
|
72
|
+
field: cell_id,
|
|
73
|
+
headerType: null !== (_c = this.columnHeaderTitle.headerType) && void 0 !== _c ? _c : "text",
|
|
74
|
+
style: this.columnHeaderTitle.headerStyle,
|
|
75
|
+
define: {}
|
|
76
|
+
}, this._headerObjectMap[cell_id] = {
|
|
77
|
+
id: cell_id,
|
|
78
|
+
caption: "",
|
|
79
|
+
field: cell_id,
|
|
80
|
+
headerType: null !== (_d = this.cornerSetting.headerType) && void 0 !== _d ? _d : "text",
|
|
81
|
+
style: this.cornerSetting.headerStyle,
|
|
82
|
+
define: {}
|
|
83
|
+
}, this._headerObjects.push(this._headerObjectMap[caption]), this._headerObjects.push(this._headerObjectMap[cell_id]),
|
|
84
|
+
this.colShowAttrs.unshift(cell_id), this.colKeysPath.forEach(((columnKey, index) => {
|
|
85
|
+
columnKey.unshift(caption);
|
|
86
|
+
}));
|
|
87
|
+
}
|
|
88
|
+
if (this._table.isPivotChart()) if (this.hasTwoIndicatorAxes = this._indicatorObjects.some((indicatorObject => !!(indicatorObject.chartSpec && indicatorObject.chartSpec.series && indicatorObject.chartSpec.series.length > 1))),
|
|
89
|
+
this._chartItemSpanSize = 0, this._indicatorObjects.find((indicatorObject => {
|
|
90
|
+
var _a, _b, _c;
|
|
91
|
+
return (null === (_a = indicatorObject.chartSpec) || void 0 === _a ? void 0 : _a.barWidth) && (this._chartItemSpanSize = null === (_b = indicatorObject.chartSpec) || void 0 === _b ? void 0 : _b.barWidth),
|
|
92
|
+
this._chartItemSpanSize > 0 || (null === (_c = indicatorObject.chartSpec.series) || void 0 === _c || _c.find((seriesObject => (seriesObject.barWidth && (this._chartItemSpanSize = seriesObject.barWidth),
|
|
93
|
+
this._chartItemSpanSize > 0))), this._chartItemSpanSize > 0);
|
|
94
|
+
})), this.indicatorsAsCol) {
|
|
95
|
+
const cell_id = "rowHeaderEmpty";
|
|
96
|
+
this._headerObjectMap[cell_id] = {
|
|
97
|
+
id: cell_id,
|
|
98
|
+
caption: "",
|
|
99
|
+
field: cell_id,
|
|
100
|
+
headerType: null !== (_e = this.cornerSetting.headerType) && void 0 !== _e ? _e : "text",
|
|
101
|
+
style: this.cornerSetting.headerStyle,
|
|
102
|
+
define: {}
|
|
103
|
+
}, this._headerObjects.push(this._headerObjectMap[cell_id]), this.rowShowAttrs.push(cell_id),
|
|
104
|
+
this.hasTwoIndicatorAxes || this.colShowAttrs.pop();
|
|
105
|
+
} else {
|
|
106
|
+
const axisOption = this._table.pivotChartAxes.find((axisOption => "left" === axisOption.orient));
|
|
107
|
+
!1 === (null == axisOption ? void 0 : axisOption.visible) && this.rowShowAttrs.pop();
|
|
108
|
+
}
|
|
109
|
+
this._colCount = (0 === this.colKeysPath.length ? 1 : this.colKeysPath.length) * (this.indicatorsAsCol ? this.indicatorKeys.length : 1) + this.rowHeaderLevelCount + this.rightFrozenColCount,
|
|
110
|
+
this._rowCount = (0 === this.rowKeysPath.length ? 1 : this.rowKeysPath.length) * (this.indicatorsAsCol ? 1 : this.indicatorKeys.length) + this.columnHeaderLevelCount + this.bottomFrozenRowCount,
|
|
111
|
+
this.setColumnWidths();
|
|
112
|
+
}
|
|
113
|
+
setColumnWidths() {
|
|
114
|
+
const returnWidths = new Array(this.colCount).fill(void 0);
|
|
115
|
+
if (this.showRowHeader && (this.rowHeaderTitle && (returnWidths[0] = {}), this.rowShowAttrs.forEach(((objKey, index) => {
|
|
116
|
+
var _a;
|
|
117
|
+
const dimension = null === (_a = this.rowsDefine) || void 0 === _a ? void 0 : _a.find((dimension => "string" != typeof dimension && dimension.dimensionKey === objKey));
|
|
118
|
+
dimension && (returnWidths[index + (this.rowHeaderTitle ? 1 : 0)] = {
|
|
119
|
+
width: dimension.width,
|
|
120
|
+
minWidth: dimension.minWidth,
|
|
121
|
+
maxWidth: dimension.maxWidth
|
|
122
|
+
});
|
|
123
|
+
}))), this.indicatorsAsCol) for (let i = this.rowHeaderLevelCount; i < this.colCount; i++) {
|
|
124
|
+
const cellDefine = this.getBody(i, this.columnHeaderLevelCount);
|
|
125
|
+
returnWidths[i] = {
|
|
126
|
+
width: null == cellDefine ? void 0 : cellDefine.width,
|
|
127
|
+
minWidth: null == cellDefine ? void 0 : cellDefine.minWidth,
|
|
128
|
+
maxWidth: null == cellDefine ? void 0 : cellDefine.maxWidth
|
|
129
|
+
};
|
|
130
|
+
} else {
|
|
131
|
+
let maxWidth, minWidth, isAuto, width = 0;
|
|
132
|
+
this._indicatorObjects.forEach(((obj, index) => {
|
|
133
|
+
"number" == typeof obj.width ? width = Math.max(obj.width, width) : "auto" === obj.width && (isAuto = !0),
|
|
134
|
+
"number" == typeof obj.minWidth && (minWidth = Math.max(obj.minWidth, minWidth)),
|
|
135
|
+
"number" == typeof obj.maxWidth && (maxWidth = Math.max(obj.maxWidth, maxWidth));
|
|
136
|
+
})), width = width > 0 ? width : isAuto ? "auto" : void 0, returnWidths.fill({
|
|
137
|
+
width: width,
|
|
138
|
+
minWidth: minWidth,
|
|
139
|
+
maxWidth: maxWidth
|
|
140
|
+
}, this.rowHeaderLevelCount, this.colCount - this.rightFrozenColCount);
|
|
141
|
+
}
|
|
142
|
+
this._columnWidths = returnWidths;
|
|
143
|
+
}
|
|
144
|
+
get columnWidths() {
|
|
145
|
+
return this._columnWidths;
|
|
146
|
+
}
|
|
147
|
+
getColumnWidthDefined(col) {
|
|
148
|
+
return this._columnWidths[col];
|
|
30
149
|
}
|
|
31
150
|
getDimensionInfo(dimensionKey) {
|
|
32
151
|
var _a, _b, _c;
|
|
@@ -36,6 +155,12 @@ export class PivoLayoutMap {
|
|
|
36
155
|
var _a;
|
|
37
156
|
return null === (_a = this.indicatorsDefine) || void 0 === _a ? void 0 : _a.find((indicator => "string" != typeof indicator && (indicatorKey ? indicator.indicatorKey === indicatorKey : !!indicatorValue && indicator.caption === indicatorValue)));
|
|
38
157
|
}
|
|
158
|
+
getColKeysPath() {
|
|
159
|
+
return this.colKeysPath;
|
|
160
|
+
}
|
|
161
|
+
getRowKeysPath() {
|
|
162
|
+
return this.rowKeysPath;
|
|
163
|
+
}
|
|
39
164
|
initHeaderObjects() {
|
|
40
165
|
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
41
166
|
for (let i = 0, len = this.rowKeysPath.length; i <= len - 1; i++) {
|
|
@@ -82,24 +207,24 @@ export class PivoLayoutMap {
|
|
|
82
207
|
}
|
|
83
208
|
let cornerAttrs;
|
|
84
209
|
this.indicatorsDefine.forEach((indicator => {
|
|
85
|
-
var _a, _b;
|
|
210
|
+
var _a, _b, _c;
|
|
86
211
|
const indicatorKey = "string" == typeof indicator ? indicator : indicator.indicatorKey, indicatorInfo = "string" == typeof indicator ? void 0 : indicator;
|
|
87
212
|
this._headerObjectMap[indicatorKey] || (this._headerObjectMap[indicatorKey] = {
|
|
88
213
|
id: indicatorKey,
|
|
89
214
|
field: this.indicatorDimensionKey,
|
|
90
|
-
caption: indicatorKey,
|
|
215
|
+
caption: null !== (_a = indicatorInfo.caption) && void 0 !== _a ? _a : indicatorKey,
|
|
91
216
|
style: null == indicatorInfo ? void 0 : indicatorInfo.headerStyle,
|
|
92
217
|
define: {
|
|
93
218
|
field: this.indicatorDimensionKey,
|
|
94
|
-
headerType: null !== (
|
|
219
|
+
headerType: null !== (_b = null == indicatorInfo ? void 0 : indicatorInfo.headerType) && void 0 !== _b ? _b : "text",
|
|
95
220
|
columnType: "text"
|
|
96
221
|
},
|
|
97
222
|
dropDownMenu: null == indicatorInfo ? void 0 : indicatorInfo.dropDownMenu,
|
|
98
|
-
headerType: null !== (
|
|
223
|
+
headerType: null !== (_c = null == indicatorInfo ? void 0 : indicatorInfo.headerType) && void 0 !== _c ? _c : "text",
|
|
99
224
|
width: null == indicatorInfo ? void 0 : indicatorInfo.width
|
|
100
225
|
}, this._headerObjects.push(this._headerObjectMap[indicatorKey]));
|
|
101
226
|
})), "column" === this.cornerSetting.titleOnDimension ? cornerAttrs = this.colShowAttrs : "row" === this.cornerSetting.titleOnDimension && (cornerAttrs = this.rowShowAttrs),
|
|
102
|
-
cornerAttrs.forEach((cornerAttrStr => {
|
|
227
|
+
null == cornerAttrs || cornerAttrs.forEach((cornerAttrStr => {
|
|
103
228
|
var _a, _b, _c, _d, _e, _f;
|
|
104
229
|
if (!this._headerObjectMap[cornerAttrStr]) {
|
|
105
230
|
const dimensionInfo = this.getDimensionInfo(cornerAttrStr);
|
|
@@ -121,41 +246,32 @@ export class PivoLayoutMap {
|
|
|
121
246
|
}));
|
|
122
247
|
}
|
|
123
248
|
initIndicatorObjects() {
|
|
124
|
-
this.
|
|
249
|
+
this.indicatorKeys.forEach((indicatorKey => {
|
|
125
250
|
var _a, _b, _c;
|
|
126
|
-
const indicatorInfo = null === (_a = this.indicatorsDefine) || void 0 === _a ? void 0 : _a.find((indicator => "string" != typeof indicator && indicator.
|
|
251
|
+
const indicatorInfo = null === (_a = this.indicatorsDefine) || void 0 === _a ? void 0 : _a.find((indicator => "string" != typeof indicator && indicator.indicatorKey === indicatorKey));
|
|
127
252
|
this._indicatorObjects.push({
|
|
128
|
-
id:
|
|
129
|
-
indicatorKey:
|
|
130
|
-
field:
|
|
131
|
-
define: {
|
|
132
|
-
field:
|
|
253
|
+
id: indicatorKey,
|
|
254
|
+
indicatorKey: indicatorKey,
|
|
255
|
+
field: indicatorKey,
|
|
256
|
+
define: Object.assign({
|
|
257
|
+
field: indicatorKey,
|
|
133
258
|
headerType: "text",
|
|
134
259
|
columnType: null !== (_b = null == indicatorInfo ? void 0 : indicatorInfo.columnType) && void 0 !== _b ? _b : "text"
|
|
135
|
-
},
|
|
260
|
+
}, indicatorInfo),
|
|
136
261
|
fieldFormat: null == indicatorInfo ? void 0 : indicatorInfo.format,
|
|
137
262
|
columnType: null !== (_c = null == indicatorInfo ? void 0 : indicatorInfo.columnType) && void 0 !== _c ? _c : "text",
|
|
138
|
-
|
|
263
|
+
chartModule: indicatorInfo && ("chartModule" in indicatorInfo ? indicatorInfo.chartModule : null),
|
|
264
|
+
chartSpec: indicatorInfo && ("chartSpec" in indicatorInfo ? indicatorInfo.chartSpec : null),
|
|
265
|
+
sparklineSpec: "sparklineSpec" in indicatorInfo ? indicatorInfo.sparklineSpec : null,
|
|
266
|
+
style: null == indicatorInfo ? void 0 : indicatorInfo.style,
|
|
267
|
+
icon: null == indicatorInfo ? void 0 : indicatorInfo.icon,
|
|
268
|
+
width: null == indicatorInfo ? void 0 : indicatorInfo.width,
|
|
269
|
+
minWidth: null == indicatorInfo ? void 0 : indicatorInfo.minWidth,
|
|
270
|
+
maxWidth: null == indicatorInfo ? void 0 : indicatorInfo.maxWidth,
|
|
271
|
+
disableColumnResize: null == indicatorInfo ? void 0 : indicatorInfo.disableColumnResize
|
|
139
272
|
});
|
|
140
273
|
}));
|
|
141
274
|
}
|
|
142
|
-
get columnWidths() {
|
|
143
|
-
var _a;
|
|
144
|
-
const returnWidths = [];
|
|
145
|
-
for (let i = 0; i < this.rowHeaderLevelCount; i++) {
|
|
146
|
-
const dimension = null !== (_a = this.getDimensionInfo(this.rowShowAttrs[i])) && void 0 !== _a ? _a : this.getIndicatorInfo(this.rowShowAttrs[i]);
|
|
147
|
-
returnWidths.push({
|
|
148
|
-
width: null == dimension ? void 0 : dimension.width
|
|
149
|
-
});
|
|
150
|
-
}
|
|
151
|
-
for (let j = 0; j < this.colCount - this.rowHeaderLevelCount; j++) {
|
|
152
|
-
const indicator = this._indicatorObjects[j % this._indicatorObjects.length];
|
|
153
|
-
returnWidths.push({
|
|
154
|
-
width: null == indicator ? void 0 : indicator.width
|
|
155
|
-
});
|
|
156
|
-
}
|
|
157
|
-
return returnWidths;
|
|
158
|
-
}
|
|
159
275
|
get showColumnHeader() {
|
|
160
276
|
return this._showColumnHeader;
|
|
161
277
|
}
|
|
@@ -168,11 +284,23 @@ export class PivoLayoutMap {
|
|
|
168
284
|
set showRowHeader(_showRowHeader) {
|
|
169
285
|
this._showRowHeader = _showRowHeader;
|
|
170
286
|
}
|
|
287
|
+
get columnHeaderTitle() {
|
|
288
|
+
return this._columnHeaderTitle;
|
|
289
|
+
}
|
|
290
|
+
set columnHeaderTitle(_columnHeaderTitle) {
|
|
291
|
+
this._columnHeaderTitle = _columnHeaderTitle;
|
|
292
|
+
}
|
|
293
|
+
get rowHeaderTitle() {
|
|
294
|
+
return this._rowHeaderTitle;
|
|
295
|
+
}
|
|
296
|
+
set rowHeaderTitle(_rowHeaderTitle) {
|
|
297
|
+
this._rowHeaderTitle = _rowHeaderTitle;
|
|
298
|
+
}
|
|
171
299
|
getCellType(col, row) {
|
|
172
300
|
return this.isCornerHeader(col, row) ? "cornerHeader" : this.isColumnHeader(col, row) ? "columnHeader" : this.isRowHeader(col, row) ? "rowHeader" : "body";
|
|
173
301
|
}
|
|
174
302
|
isHeader(col, row) {
|
|
175
|
-
return col < this.rowHeaderLevelCount || row < this.columnHeaderLevelCount;
|
|
303
|
+
return col < this.rowHeaderLevelCount || (row < this.columnHeaderLevelCount || (col >= this.colCount - this.rightFrozenColCount || row >= this.rowCount - this.bottomFrozenRowCount));
|
|
176
304
|
}
|
|
177
305
|
isCornerHeader(col, row) {
|
|
178
306
|
return col < this.rowHeaderLevelCount && row < this.columnHeaderLevelCount;
|
|
@@ -180,6 +308,12 @@ export class PivoLayoutMap {
|
|
|
180
308
|
isColumnHeader(col, row) {
|
|
181
309
|
return col >= this.rowHeaderLevelCount && row < this.columnHeaderLevelCount;
|
|
182
310
|
}
|
|
311
|
+
isRightFrozenColumn(col, row) {
|
|
312
|
+
return col >= this.colCount - this.rightFrozenColCount && row >= this.columnHeaderLevelCount && row < this.rowCount - this.bottomFrozenRowCount;
|
|
313
|
+
}
|
|
314
|
+
isBottomFrozenRow(col, row) {
|
|
315
|
+
return col >= this.rowHeaderLevelCount && row >= this.rowCount - this.bottomFrozenRowCount && col < this.colCount - this.rightFrozenColCount;
|
|
316
|
+
}
|
|
183
317
|
isRowHeader(col, row) {
|
|
184
318
|
return col < this.rowHeaderLevelCount && row >= this.columnHeaderLevelCount;
|
|
185
319
|
}
|
|
@@ -246,11 +380,17 @@ export class PivoLayoutMap {
|
|
|
246
380
|
}
|
|
247
381
|
get columnHeaderLevelCount() {
|
|
248
382
|
const colLevelCount = this.colShowAttrs.length;
|
|
249
|
-
|
|
383
|
+
if (this.showColumnHeader) {
|
|
384
|
+
return this.indicatorsAsCol && this.hideIndicatorName && this.colShowAttrs[this.colShowAttrs.length - 1] === this.indicatorDimensionKey ? colLevelCount - 1 : colLevelCount;
|
|
385
|
+
}
|
|
386
|
+
return this.indicatorsAsCol ? this.hideIndicatorName ? 0 : 1 : 0;
|
|
250
387
|
}
|
|
251
388
|
get rowHeaderLevelCount() {
|
|
252
389
|
const rowLevelCount = this.rowShowAttrs.length;
|
|
253
|
-
|
|
390
|
+
if (this.showRowHeader) {
|
|
391
|
+
return this.indicatorsAsCol ? rowLevelCount : this.hideIndicatorName && this.rowShowAttrs[this.rowShowAttrs.length - 1] === this.indicatorDimensionKey ? rowLevelCount - 1 : rowLevelCount;
|
|
392
|
+
}
|
|
393
|
+
return this.indicatorsAsCol || this.hideIndicatorName ? 0 : 1;
|
|
254
394
|
}
|
|
255
395
|
get colCount() {
|
|
256
396
|
return this._colCount;
|
|
@@ -261,6 +401,34 @@ export class PivoLayoutMap {
|
|
|
261
401
|
get bodyRowCount() {
|
|
262
402
|
return this._bodyRowCount;
|
|
263
403
|
}
|
|
404
|
+
get bottomFrozenRowCount() {
|
|
405
|
+
if (!this._table.isPivotChart()) return 0;
|
|
406
|
+
const axisOption = this._table.pivotChartAxes.find((axisOption => "bottom" === axisOption.orient));
|
|
407
|
+
return !1 === (null == axisOption ? void 0 : axisOption.visible) ? 0 : (this.indicatorsAsCol,
|
|
408
|
+
1);
|
|
409
|
+
}
|
|
410
|
+
get rightFrozenColCount() {
|
|
411
|
+
if (!this._table.isPivotChart()) return 0;
|
|
412
|
+
const axisOption = this._table.pivotChartAxes.find((axisOption => "right" === axisOption.orient));
|
|
413
|
+
return !1 === (null == axisOption ? void 0 : axisOption.visible) || this.indicatorsAsCol ? 0 : this.hasTwoIndicatorAxes ? 1 : 0;
|
|
414
|
+
}
|
|
415
|
+
get leftAxesCount() {
|
|
416
|
+
if (!this._table.isPivotChart()) return 0;
|
|
417
|
+
const axisOption = this._table.pivotChartAxes.find((axisOption => "left" === axisOption.orient));
|
|
418
|
+
return !1 === (null == axisOption ? void 0 : axisOption.visible) ? 0 : (this.indicatorsAsCol,
|
|
419
|
+
1);
|
|
420
|
+
}
|
|
421
|
+
get topAxesCount() {
|
|
422
|
+
if (!this._table.isPivotChart()) return 0;
|
|
423
|
+
const axisOption = this._table.pivotChartAxes.find((axisOption => "top" === axisOption.orient));
|
|
424
|
+
return !1 === (null == axisOption ? void 0 : axisOption.visible) ? 0 : this.indicatorsAsCol && this.hasTwoIndicatorAxes ? 1 : 0;
|
|
425
|
+
}
|
|
426
|
+
get rightAxesCount() {
|
|
427
|
+
return this.rightFrozenColCount;
|
|
428
|
+
}
|
|
429
|
+
get bottomAxesCount() {
|
|
430
|
+
return this.bottomFrozenRowCount;
|
|
431
|
+
}
|
|
264
432
|
get headerObjects() {
|
|
265
433
|
return this._headerObjects;
|
|
266
434
|
}
|
|
@@ -268,27 +436,31 @@ export class PivoLayoutMap {
|
|
|
268
436
|
return this._indicatorObjects;
|
|
269
437
|
}
|
|
270
438
|
getCellId(col, row) {
|
|
439
|
+
if (col < this.rowHeaderLevelCount && row >= this.rowCount - this.bottomFrozenRowCount || row < this.columnHeaderLevelCount && col >= this.colCount - this.rightFrozenColCount) return 0;
|
|
271
440
|
if (row >= 0 && col >= 0) if (this.isCornerHeader(col, row)) {
|
|
272
441
|
if ("column" === this.cornerSetting.titleOnDimension) return this.colShowAttrs[row];
|
|
273
442
|
if ("row" === this.cornerSetting.titleOnDimension) return this.rowShowAttrs[col];
|
|
274
443
|
} else {
|
|
275
|
-
if (this.isColumnHeader(col, row)) return row < this.columns.length ? this.convertColKeys[row][this.indicatorsAsCol ? Math.floor((col - this.rowHeaderLevelCount) / this.
|
|
276
|
-
if (this.isRowHeader(col, row)) return col < this.rows.length ? this.rowKeysPath[this.indicatorsAsCol ? row - this.columnHeaderLevelCount : Math.floor((row - this.columnHeaderLevelCount) / this.
|
|
444
|
+
if (this.isColumnHeader(col, row)) return row < this.columns.length + (this.columnHeaderTitle ? 1 : 0) ? this.convertColKeys[row][this.indicatorsAsCol ? Math.floor((col - this.rowHeaderLevelCount) / this.indicatorKeys.length) : col - this.rowHeaderLevelCount] : this.indicatorKeys[(col - this.rowHeaderLevelCount) % this.indicatorKeys.length];
|
|
445
|
+
if (this.isRowHeader(col, row)) return col < this.rows.length + (this.rowHeaderTitle ? 1 : 0) ? this.rowKeysPath[this.indicatorsAsCol ? row - this.columnHeaderLevelCount : Math.floor((row - this.columnHeaderLevelCount) / this.indicatorKeys.length)][col] : this.indicatorKeys[(row - this.columnHeaderLevelCount) % this.indicatorKeys.length];
|
|
446
|
+
if (this.isRightFrozenColumn(col, row)) return this.indicatorsAsCol ? this.rowKeysPath[row - this.columnHeaderLevelCount][this.rowHeaderLevelCount - 1] : this.indicatorKeys[(row - this.columnHeaderLevelCount) % this.indicatorKeys.length];
|
|
447
|
+
if (this.isBottomFrozenRow(col, row)) return this.indicatorsAsCol ? this.indicatorKeys[(col - this.rowHeaderLevelCount) % this.indicatorKeys.length] : this.convertColKeys[this.convertColKeys.length - 1][Math.floor((col - this.rowHeaderLevelCount) / this.indicatorKeys.length)];
|
|
277
448
|
}
|
|
278
449
|
return 0;
|
|
279
450
|
}
|
|
280
|
-
|
|
451
|
+
getIndicatorKey(col, row) {
|
|
281
452
|
if (this.isHeader(col, row)) return "";
|
|
282
453
|
if (this.indicatorsAsCol) {
|
|
283
454
|
const bodyCol = col - this.rowHeaderLevelCount;
|
|
284
|
-
return this.
|
|
455
|
+
return this.indicatorKeys[bodyCol % this.indicatorKeys.length];
|
|
285
456
|
}
|
|
286
457
|
const bodyRow = row - this.columnHeaderLevelCount;
|
|
287
|
-
return this.
|
|
458
|
+
return this.indicatorKeys[bodyRow % this.indicatorKeys.length];
|
|
288
459
|
}
|
|
289
460
|
getHeader(col, row) {
|
|
461
|
+
var _a;
|
|
290
462
|
const id = this.getCellId(col, row);
|
|
291
|
-
return this._headerObjectMap[id];
|
|
463
|
+
return null !== (_a = this._headerObjectMap[id]) && void 0 !== _a ? _a : EMPTY_HEADER;
|
|
292
464
|
}
|
|
293
465
|
getHeaderField(col, row) {
|
|
294
466
|
var _a, _b;
|
|
@@ -301,20 +473,25 @@ export class PivoLayoutMap {
|
|
|
301
473
|
throw new Error(`Method not implemented.${field}`);
|
|
302
474
|
}
|
|
303
475
|
getBody(_col, _row) {
|
|
304
|
-
var _a, _b, _c, _d, _e, _f
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
476
|
+
var _a, _b, _c, _d, _e, _f;
|
|
477
|
+
const paths = this.getCellHeaderPaths(_col, _row);
|
|
478
|
+
if (this.indicatorsAsCol) {
|
|
479
|
+
const indicatorKey = null === (_a = paths.colHeaderPaths.find((colPath => colPath.indicatorKey))) || void 0 === _a ? void 0 : _a.indicatorKey;
|
|
480
|
+
return null !== (_c = null !== (_b = this._indicatorObjects.find((indicator => indicator.indicatorKey === indicatorKey))) && void 0 !== _b ? _b : this._indicatorObjects[0]) && void 0 !== _c ? _c : {
|
|
481
|
+
id: "",
|
|
482
|
+
field: void 0,
|
|
483
|
+
indicatorKey: void 0,
|
|
484
|
+
columnType: void 0,
|
|
485
|
+
define: void 0
|
|
486
|
+
};
|
|
487
|
+
}
|
|
488
|
+
const indicatorKey = null === (_d = paths.rowHeaderPaths.find((rowPath => rowPath.indicatorKey))) || void 0 === _d ? void 0 : _d.indicatorKey;
|
|
489
|
+
return null !== (_f = null !== (_e = this._indicatorObjects.find((indicator => indicator.indicatorKey === indicatorKey))) && void 0 !== _e ? _e : this._indicatorObjects[0]) && void 0 !== _f ? _f : {
|
|
490
|
+
id: "",
|
|
491
|
+
field: void 0,
|
|
492
|
+
indicatorKey: void 0,
|
|
493
|
+
columnType: void 0,
|
|
494
|
+
define: void 0
|
|
318
495
|
};
|
|
319
496
|
}
|
|
320
497
|
getBodyLayoutRangeById(id) {
|
|
@@ -344,6 +521,7 @@ export class PivoLayoutMap {
|
|
|
344
521
|
}
|
|
345
522
|
};
|
|
346
523
|
if (!this.isHeader(col, row) || -1 === col || -1 === row || this.isIndicatorHeader(col, row)) return result;
|
|
524
|
+
if (this.isRightFrozenColumn(col, row) || this.isBottomFrozenRow(col, row)) return result;
|
|
347
525
|
const id = this.getCellId(col, row);
|
|
348
526
|
for (let c = col - 1; c >= 0 && id === this.getCellId(c, row); c--) result.start.col = c;
|
|
349
527
|
for (let c = col + 1; c < (null !== (_a = this.colCount) && void 0 !== _a ? _a : 0) && id === this.getCellId(c, row); c++) result.end.col = c;
|
|
@@ -356,10 +534,10 @@ export class PivoLayoutMap {
|
|
|
356
534
|
return range1.start.col === range2.start.col && range1.end.col === range2.end.col && range1.start.row === range2.start.row && range1.end.row === range2.end.row;
|
|
357
535
|
}
|
|
358
536
|
getRecordIndexByRow(row) {
|
|
359
|
-
return row < this.columnHeaderLevelCount ? -1 : this.indicatorsAsCol ? row - this.columnHeaderLevelCount : Math.floor((row - this.columnHeaderLevelCount) / this.
|
|
537
|
+
return row < this.columnHeaderLevelCount ? -1 : this.indicatorsAsCol ? row - this.columnHeaderLevelCount : Math.floor((row - this.columnHeaderLevelCount) / this.indicatorKeys.length);
|
|
360
538
|
}
|
|
361
539
|
getRecordIndexByCol(col) {
|
|
362
|
-
return col < this.rowHeaderLevelCount ? -1 : this.indicatorsAsCol ? Math.floor((col - this.rowHeaderLevelCount) / this.
|
|
540
|
+
return col < this.rowHeaderLevelCount ? -1 : this.indicatorsAsCol ? Math.floor((col - this.rowHeaderLevelCount) / this.indicatorKeys.length) : col - this.rowHeaderLevelCount;
|
|
363
541
|
}
|
|
364
542
|
getRecordStartRowByRecordIndex(index) {
|
|
365
543
|
return this.columnHeaderLevelCount + index;
|
|
@@ -369,32 +547,85 @@ export class PivoLayoutMap {
|
|
|
369
547
|
const recordCol = this.getRecordIndexByCol(col), recordRow = this.getRecordIndexByRow(row);
|
|
370
548
|
let colPath, rowPath, colHeaderPaths, rowHeaderPaths;
|
|
371
549
|
return recordCol >= 0 && (colPath = this.colKeysPath[recordCol], colHeaderPaths = null === (_a = null == colPath ? void 0 : colPath[colPath.length - 1]) || void 0 === _a ? void 0 : _a.split(this.dataset.stringJoinChar),
|
|
372
|
-
row < this.columns.length - 1 && (colHeaderPaths = colHeaderPaths.slice(0, row + 1))),
|
|
550
|
+
colHeaderPaths && this.showColumnHeader && row < this.columns.length - 1 && (colHeaderPaths = colHeaderPaths.slice(0, row + 1))),
|
|
373
551
|
recordRow >= 0 && (rowPath = this.rowKeysPath[recordRow], rowHeaderPaths = null === (_b = null == rowPath ? void 0 : rowPath[rowPath.length - 1]) || void 0 === _b ? void 0 : _b.split(this.dataset.stringJoinChar),
|
|
374
|
-
col < this.rows.length - 1 && (rowHeaderPaths = rowHeaderPaths.slice(0, col + 1))),
|
|
552
|
+
rowHeaderPaths && this.showRowHeader && col < this.rows.length - 1 && (rowHeaderPaths = rowHeaderPaths.slice(0, col + 1))),
|
|
553
|
+
colHeaderPaths && this.indicatorsAsCol && col >= this.rowHeaderLevelCount ? colHeaderPaths.push(this.indicatorKeys[(col - this.rowHeaderLevelCount) % this.indicatorKeys.length]) : rowHeaderPaths && row >= this.columnHeaderLevelCount && rowHeaderPaths.push(this.indicatorKeys[(row - this.columnHeaderLevelCount) % this.indicatorKeys.length]),
|
|
375
554
|
{
|
|
376
|
-
colHeaderPaths: null !== (_c = colHeaderPaths.map((key => {
|
|
377
|
-
const
|
|
378
|
-
indicator.indicatorKey;
|
|
379
|
-
}));
|
|
555
|
+
colHeaderPaths: null !== (_c = null == colHeaderPaths ? void 0 : colHeaderPaths.map(((key, index) => {
|
|
556
|
+
const indicatorObject = this._indicatorObjects.find((indicator => indicator.indicatorKey === key));
|
|
380
557
|
return {
|
|
381
|
-
dimensionKey:
|
|
382
|
-
indicatorKey:
|
|
383
|
-
value: key
|
|
558
|
+
dimensionKey: indicatorObject ? void 0 : this.colShowAttrs[index],
|
|
559
|
+
indicatorKey: indicatorObject ? key : void 0,
|
|
560
|
+
value: indicatorObject ? indicatorObject.define.caption : key
|
|
384
561
|
};
|
|
385
562
|
}))) && void 0 !== _c ? _c : [],
|
|
386
|
-
rowHeaderPaths: null !== (_d = rowHeaderPaths.map((key => {
|
|
387
|
-
const
|
|
388
|
-
indicator.indicatorKey;
|
|
389
|
-
}));
|
|
563
|
+
rowHeaderPaths: null !== (_d = null == rowHeaderPaths ? void 0 : rowHeaderPaths.map(((key, index) => {
|
|
564
|
+
const indicatorObject = this._indicatorObjects.find((indicator => indicator.indicatorKey === key));
|
|
390
565
|
return {
|
|
391
|
-
dimensionKey:
|
|
392
|
-
indicatorKey:
|
|
393
|
-
value: key
|
|
566
|
+
dimensionKey: indicatorObject ? void 0 : this.rowShowAttrs[index],
|
|
567
|
+
indicatorKey: indicatorObject ? key : void 0,
|
|
568
|
+
value: indicatorObject ? indicatorObject.define.caption : key
|
|
394
569
|
};
|
|
395
570
|
}))) && void 0 !== _d ? _d : []
|
|
396
571
|
};
|
|
397
572
|
}
|
|
573
|
+
getCellAdressByHeaderPath(dimensionPaths) {
|
|
574
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
575
|
+
let colHeaderPaths, rowHeaderPaths;
|
|
576
|
+
if (Array.isArray(dimensionPaths)) {
|
|
577
|
+
if (dimensionPaths.length > this.rowShowAttrs.length + this.colShowAttrs.length) return;
|
|
578
|
+
colHeaderPaths = dimensionPaths.filter((path => this.colShowAttrs.indexOf(path.dimensionKey) >= 0)),
|
|
579
|
+
rowHeaderPaths = dimensionPaths.filter((path => this.rowShowAttrs.indexOf(path.dimensionKey) >= 0));
|
|
580
|
+
} else colHeaderPaths = dimensionPaths.colHeaderPaths, rowHeaderPaths = dimensionPaths.rowHeaderPaths;
|
|
581
|
+
if (!Array.isArray(colHeaderPaths) && !Array.isArray(rowHeaderPaths)) return;
|
|
582
|
+
null == colHeaderPaths || colHeaderPaths.sort(((a, b) => {
|
|
583
|
+
var _a, _b;
|
|
584
|
+
return this.colShowAttrs.indexOf(null !== (_a = a.dimensionKey) && void 0 !== _a ? _a : this.indicatorDimensionKey) - this.colShowAttrs.indexOf(null !== (_b = b.dimensionKey) && void 0 !== _b ? _b : this.indicatorDimensionKey);
|
|
585
|
+
})), null == rowHeaderPaths || rowHeaderPaths.sort(((a, b) => {
|
|
586
|
+
var _a, _b;
|
|
587
|
+
return this.rowShowAttrs.indexOf(null !== (_a = a.dimensionKey) && void 0 !== _a ? _a : this.indicatorDimensionKey) - this.rowShowAttrs.indexOf(null !== (_b = b.dimensionKey) && void 0 !== _b ? _b : this.indicatorDimensionKey);
|
|
588
|
+
}));
|
|
589
|
+
let needLowestLevel = !1;
|
|
590
|
+
(null == colHeaderPaths ? void 0 : colHeaderPaths.length) >= 1 && (null == rowHeaderPaths ? void 0 : rowHeaderPaths.length) >= 1 && (needLowestLevel = !0);
|
|
591
|
+
let toFindIndicator, col = 0, row = 0, rowTree = this.rowTree, columnTree = this.columnTree;
|
|
592
|
+
if (colHeaderPaths) for (let i = 0; i < colHeaderPaths.length; i++) {
|
|
593
|
+
const colDimension = colHeaderPaths[i];
|
|
594
|
+
if (colDimension.indicatorKey) {
|
|
595
|
+
toFindIndicator = colDimension.indicatorKey;
|
|
596
|
+
break;
|
|
597
|
+
}
|
|
598
|
+
for (let j = 0; j < columnTree.length; j++) {
|
|
599
|
+
const dimension = columnTree[j];
|
|
600
|
+
if (!isValid(colDimension.indicatorKey) && dimension.dimensionKey === colDimension.dimensionKey && dimension.value === colDimension.value) {
|
|
601
|
+
columnTree = dimension.children, columnTree && 0 !== columnTree.length && !(null === (_a = null == columnTree ? void 0 : columnTree[0]) || void 0 === _a ? void 0 : _a.indicatorKey) || (col += j);
|
|
602
|
+
break;
|
|
603
|
+
}
|
|
604
|
+
col += (null === (_c = null === (_b = dimension.children) || void 0 === _b ? void 0 : _b[0]) || void 0 === _c ? void 0 : _c.indicatorKey) ? 0 : null !== (_e = null === (_d = dimension.children) || void 0 === _d ? void 0 : _d.length) && void 0 !== _e ? _e : 0;
|
|
605
|
+
}
|
|
606
|
+
}
|
|
607
|
+
if (rowHeaderPaths) for (let i = 0; i < rowHeaderPaths.length; i++) {
|
|
608
|
+
const rowDimension = rowHeaderPaths[i];
|
|
609
|
+
if (rowDimension.indicatorKey) {
|
|
610
|
+
toFindIndicator = rowDimension.indicatorKey;
|
|
611
|
+
break;
|
|
612
|
+
}
|
|
613
|
+
for (let j = 0; j < rowTree.length; j++) {
|
|
614
|
+
const dimension = rowTree[j];
|
|
615
|
+
if (!isValid(rowDimension.indicatorKey) && dimension.dimensionKey === rowDimension.dimensionKey && dimension.value === rowDimension.value) {
|
|
616
|
+
rowTree = dimension.children, rowTree && 0 !== rowTree.length && !(null === (_f = null == rowTree ? void 0 : rowTree[0]) || void 0 === _f ? void 0 : _f.indicatorKey) || (row += j);
|
|
617
|
+
break;
|
|
618
|
+
}
|
|
619
|
+
row += (null === (_h = null === (_g = dimension.children) || void 0 === _g ? void 0 : _g[0]) || void 0 === _h ? void 0 : _h.indicatorKey) ? 0 : null !== (_k = null === (_j = dimension.children) || void 0 === _j ? void 0 : _j.length) && void 0 !== _k ? _k : 0;
|
|
620
|
+
}
|
|
621
|
+
}
|
|
622
|
+
return col = (this.indicatorsAsCol ? col * this.indicatorKeys.length + this.indicatorKeys.indexOf(toFindIndicator) : col) + this.rowHeaderLevelCount,
|
|
623
|
+
row = (this.indicatorsAsCol ? row : row * this.indicatorKeys.length + this.indicatorKeys.indexOf(toFindIndicator)) + this.columnHeaderLevelCount,
|
|
624
|
+
isValid(col) || isValid(row) ? {
|
|
625
|
+
col: null != col ? col : undefined,
|
|
626
|
+
row: null != row ? row : undefined
|
|
627
|
+
} : void 0;
|
|
628
|
+
}
|
|
398
629
|
getHeaderDimension(col, row) {
|
|
399
630
|
var _a, _b, _c;
|
|
400
631
|
if (this.isHeader(col, row)) {
|
|
@@ -404,8 +635,8 @@ export class PivoLayoutMap {
|
|
|
404
635
|
}
|
|
405
636
|
updateDataset(dataset) {
|
|
406
637
|
this.dataset = dataset, this.dataConfig = dataset.dataConfig, this.rowKeysPath = dataset.rowKeysPath,
|
|
407
|
-
this.colKeysPath = dataset.colKeysPath, this.
|
|
408
|
-
this.
|
|
638
|
+
this.colKeysPath = dataset.colKeysPath, this.tree = dataset.tree, this._indicatorObjects = [],
|
|
639
|
+
this._headerObjects = [], this._headerObjectMap = {}, this.initState(), this.convertColKeys = transpose(this.colKeysPath);
|
|
409
640
|
}
|
|
410
641
|
isHeaderForColWidth(col, row) {
|
|
411
642
|
return this.isHeader(col, row);
|
|
@@ -439,5 +670,93 @@ export class PivoLayoutMap {
|
|
|
439
670
|
}
|
|
440
671
|
return null == indicatorObj ? void 0 : indicatorObj.chartInstance;
|
|
441
672
|
}
|
|
673
|
+
_generateChartState() {
|
|
674
|
+
return {
|
|
675
|
+
vtable_selected: {
|
|
676
|
+
filter: datum => {
|
|
677
|
+
if (this._table._selectedDataItemsInChart.length >= 1) {
|
|
678
|
+
return !!this._table._selectedDataItemsInChart.find((item => {
|
|
679
|
+
for (const itemKey in item) if (item[itemKey] !== datum[itemKey]) return !1;
|
|
680
|
+
return !0;
|
|
681
|
+
}));
|
|
682
|
+
}
|
|
683
|
+
if (this._table._selectedDimensionInChart.length) {
|
|
684
|
+
return !!this._table._selectedDimensionInChart.every((item => datum[item.key] === item.value));
|
|
685
|
+
}
|
|
686
|
+
return !1;
|
|
687
|
+
}
|
|
688
|
+
},
|
|
689
|
+
vtable_selected_reverse: {
|
|
690
|
+
filter: datum => {
|
|
691
|
+
if (this._table._selectedDataItemsInChart.length >= 1) {
|
|
692
|
+
return !this._table._selectedDataItemsInChart.find((item => {
|
|
693
|
+
for (const itemKey in item) if (item[itemKey] !== datum[itemKey]) return !1;
|
|
694
|
+
return !0;
|
|
695
|
+
}));
|
|
696
|
+
}
|
|
697
|
+
if (this._table._selectedDimensionInChart.length) {
|
|
698
|
+
return !this._table._selectedDimensionInChart.every((item => datum[item.key] === item.value));
|
|
699
|
+
}
|
|
700
|
+
return !1;
|
|
701
|
+
}
|
|
702
|
+
}
|
|
703
|
+
};
|
|
704
|
+
}
|
|
705
|
+
updateDataStateToChartInstance(activeChartInstance) {
|
|
706
|
+
activeChartInstance || (activeChartInstance = this._table._getActiveChartInstance());
|
|
707
|
+
const state = this._generateChartState();
|
|
708
|
+
this._indicatorObjects.forEach((_indicatorObject => {
|
|
709
|
+
_indicatorObject.chartInstance.updateState(state);
|
|
710
|
+
})), null == activeChartInstance || activeChartInstance.updateState(state);
|
|
711
|
+
}
|
|
712
|
+
updateDataStateToActiveChartInstance(activeChartInstance) {
|
|
713
|
+
activeChartInstance || (activeChartInstance = this._table._getActiveChartInstance());
|
|
714
|
+
const state = this._generateChartState();
|
|
715
|
+
null == activeChartInstance || activeChartInstance.updateState(state);
|
|
716
|
+
}
|
|
717
|
+
getOptimunWidthForChart(col) {
|
|
718
|
+
var _a;
|
|
719
|
+
const path = this.getCellHeaderPaths(col, this.columnHeaderLevelCount).colHeaderPaths;
|
|
720
|
+
let collectedValues;
|
|
721
|
+
for (const key in this.dataset.collectValuesBy) if ("xField" === this.dataset.collectValuesBy[key].type && !this.dataset.collectValuesBy[key].range) {
|
|
722
|
+
collectedValues = this.dataset.collectedValues[key][path.map((pathObj => pathObj.value)).join(this.dataset.stringJoinChar)];
|
|
723
|
+
break;
|
|
724
|
+
}
|
|
725
|
+
const barWidth = this._chartItemSpanSize || 25;
|
|
726
|
+
return (null !== (_a = null == collectedValues ? void 0 : collectedValues.length) && void 0 !== _a ? _a : 0) * (barWidth + barWidth / 3);
|
|
727
|
+
}
|
|
728
|
+
getIndicatorKeyInChartSpec(_col, _row) {
|
|
729
|
+
const chartSpec = this.getRawChartSpec(_col, _row), indicatorKeys = [];
|
|
730
|
+
return chartSpec ? (!1 === this.indicatorsAsCol ? chartSpec.series ? chartSpec.series.forEach((chartSeries => {
|
|
731
|
+
const yField = chartSeries.yField;
|
|
732
|
+
indicatorKeys.push(yField);
|
|
733
|
+
})) : indicatorKeys.push(chartSpec.yField) : chartSpec.series ? chartSpec.series.forEach((chartSeries => {
|
|
734
|
+
const xField = chartSeries.xField;
|
|
735
|
+
indicatorKeys.push(xField);
|
|
736
|
+
})) : indicatorKeys.push(chartSpec.xField), indicatorKeys) : null;
|
|
737
|
+
}
|
|
738
|
+
getDimensionKeyInChartSpec(_col, _row) {
|
|
739
|
+
const chartSpec = this.getRawChartSpec(_col, _row), dimensionKeys = [];
|
|
740
|
+
return chartSpec ? (!1 === this.indicatorsAsCol ? dimensionKeys.push(chartSpec.xField) : dimensionKeys.push(chartSpec.yField),
|
|
741
|
+
dimensionKeys) : null;
|
|
742
|
+
}
|
|
743
|
+
getAxisConfigInPivotChart(col, row) {
|
|
744
|
+
return getAxisConfigInPivotChart(col, row, this);
|
|
745
|
+
}
|
|
746
|
+
getRawChartSpec(col, row) {
|
|
747
|
+
return getRawChartSpec(col, row, this);
|
|
748
|
+
}
|
|
749
|
+
getChartSpec(col, row) {
|
|
750
|
+
return getChartSpec(col, row, this);
|
|
751
|
+
}
|
|
752
|
+
getChartAxes(col, row) {
|
|
753
|
+
return getChartAxes(col, row, this);
|
|
754
|
+
}
|
|
755
|
+
getChartDataId(col, row) {
|
|
756
|
+
return getChartDataId(col, row, this);
|
|
757
|
+
}
|
|
758
|
+
isEmpty(col, row) {
|
|
759
|
+
return !!this._table.isPivotChart() && (col > this.colCount - this.rightFrozenColCount - 1 || row > this.rowCount - this.bottomFrozenRowCount - 1 || !(!this.hasTwoIndicatorAxes || !this.indicatorsAsCol || row !== this.columnHeaderLevelCount - 1));
|
|
760
|
+
}
|
|
442
761
|
}
|
|
443
762
|
//# sourceMappingURL=pivot-layout.js.map
|