@wcardinal/wcardinal-ui 0.297.0 → 0.298.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/dist/types/wcardinal/ui/d-chart-selection-container-impl.d.ts +18 -0
- package/dist/types/wcardinal/ui/{d-chart-selection-gridline-container.d.ts → d-chart-selection-container.d.ts} +4 -4
- package/dist/types/wcardinal/ui/d-chart-selection-gridline-x.d.ts +2 -2
- package/dist/types/wcardinal/ui/d-chart-selection-gridline-y.d.ts +2 -2
- package/dist/types/wcardinal/ui/d-chart-selection-marker.d.ts +2 -2
- package/dist/types/wcardinal/ui/d-chart-selection-shape-base.d.ts +5 -3
- package/dist/types/wcardinal/ui/d-chart-selection-shape.d.ts +4 -3
- package/dist/types/wcardinal/ui/d-chart-selection-simple.d.ts +2 -0
- package/dist/types/wcardinal/ui/d-chart-selection-sub-impl.d.ts +3 -5
- package/dist/types/wcardinal/ui/d-chart-selection-sub.d.ts +3 -2
- package/dist/types/wcardinal/ui/index.d.ts +2 -2
- package/dist/types/wcardinal/ui/theme/dark/d-theme-dark-chart-selection-gridline-x.d.ts +6 -2
- package/dist/types/wcardinal/ui/theme/dark/d-theme-dark-chart-selection-gridline-y.d.ts +3 -2
- package/dist/types/wcardinal/ui/theme/dark/d-theme-dark-chart-selection-marker.d.ts +2 -2
- package/dist/types/wcardinal/ui/theme/dark/d-theme-dark-chart-selection-shape.d.ts +7 -0
- package/dist/types/wcardinal/ui/theme/dark/index.d.ts +4 -0
- package/dist/types/wcardinal/ui/theme/white/d-theme-white-chart-selection-gridline-x.d.ts +6 -2
- package/dist/types/wcardinal/ui/theme/white/d-theme-white-chart-selection-gridline-y.d.ts +3 -2
- package/dist/types/wcardinal/ui/theme/white/d-theme-white-chart-selection-marker.d.ts +2 -2
- package/dist/types/wcardinal/ui/theme/white/d-theme-white-chart-selection-shape.d.ts +7 -0
- package/dist/types/wcardinal/ui/theme/white/index.d.ts +4 -0
- package/dist/wcardinal/ui/d-chart-selection-container-impl.js +48 -0
- package/dist/wcardinal/ui/d-chart-selection-container-impl.js.map +1 -0
- package/dist/wcardinal/ui/{d-chart-selection-gridline-container.js → d-chart-selection-container.js} +1 -1
- package/dist/wcardinal/ui/d-chart-selection-container.js.map +1 -0
- package/dist/wcardinal/ui/d-chart-selection-gridline-x.js +5 -4
- package/dist/wcardinal/ui/d-chart-selection-gridline-x.js.map +1 -1
- package/dist/wcardinal/ui/d-chart-selection-gridline-y.js +5 -4
- package/dist/wcardinal/ui/d-chart-selection-gridline-y.js.map +1 -1
- package/dist/wcardinal/ui/d-chart-selection-marker.js +3 -3
- package/dist/wcardinal/ui/d-chart-selection-marker.js.map +1 -1
- package/dist/wcardinal/ui/d-chart-selection-shape-base.js +28 -10
- package/dist/wcardinal/ui/d-chart-selection-shape-base.js.map +1 -1
- package/dist/wcardinal/ui/d-chart-selection-shape.js.map +1 -1
- package/dist/wcardinal/ui/d-chart-selection-simple.js +22 -6
- package/dist/wcardinal/ui/d-chart-selection-simple.js.map +1 -1
- package/dist/wcardinal/ui/d-chart-selection-sub-impl.js +11 -15
- package/dist/wcardinal/ui/d-chart-selection-sub-impl.js.map +1 -1
- package/dist/wcardinal/ui/d-chart-selection-sub.js.map +1 -1
- package/dist/wcardinal/ui/index.js +2 -2
- package/dist/wcardinal/ui/index.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-chart-axis-x-datetime.js +5 -5
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-chart-axis-x-datetime.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-chart-coordinate-transform.js +1 -1
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-chart-coordinate-transform.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-chart-coordinate.js +1 -1
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-chart-coordinate.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-chart-selection-gridline-x.js +14 -2
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-chart-selection-gridline-x.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-chart-selection-gridline-y.js +7 -3
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-chart-selection-gridline-y.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-chart-selection-marker.js +8 -9
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-chart-selection-marker.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-chart-selection-shape.js +11 -0
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-chart-selection-shape.js.map +1 -0
- package/dist/wcardinal/ui/theme/dark/index.js +4 -0
- package/dist/wcardinal/ui/theme/dark/index.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/d-theme-white-chart-axis-x-datetime.js +5 -5
- package/dist/wcardinal/ui/theme/white/d-theme-white-chart-axis-x-datetime.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/d-theme-white-chart-coordinate-transform.js +1 -1
- package/dist/wcardinal/ui/theme/white/d-theme-white-chart-coordinate-transform.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/d-theme-white-chart-coordinate.js +1 -1
- package/dist/wcardinal/ui/theme/white/d-theme-white-chart-coordinate.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/d-theme-white-chart-selection-gridline-x.js +15 -2
- package/dist/wcardinal/ui/theme/white/d-theme-white-chart-selection-gridline-x.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/d-theme-white-chart-selection-gridline-y.js +8 -3
- package/dist/wcardinal/ui/theme/white/d-theme-white-chart-selection-gridline-y.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/d-theme-white-chart-selection-marker.js +8 -9
- package/dist/wcardinal/ui/theme/white/d-theme-white-chart-selection-marker.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/d-theme-white-chart-selection-shape.js +11 -0
- package/dist/wcardinal/ui/theme/white/d-theme-white-chart-selection-shape.js.map +1 -0
- package/dist/wcardinal/ui/theme/white/index.js +4 -0
- package/dist/wcardinal/ui/theme/white/index.js.map +1 -1
- package/dist/wcardinal-ui-theme-dark.js +38 -34
- package/dist/wcardinal-ui-theme-dark.min.js +2 -2
- package/dist/wcardinal-ui-theme-dark.min.js.map +1 -1
- package/dist/wcardinal-ui-theme-white.js +40 -34
- package/dist/wcardinal-ui-theme-white.min.js +2 -2
- package/dist/wcardinal-ui-theme-white.min.js.map +1 -1
- package/dist/wcardinal-ui.cjs.js +191 -152
- package/dist/wcardinal-ui.js +119 -90
- package/dist/wcardinal-ui.min.js +2 -2
- package/dist/wcardinal-ui.min.js.map +1 -1
- package/package.json +1 -1
- package/dist/types/wcardinal/ui/d-chart-selection-gridline-container-impl.d.ts +0 -18
- package/dist/types/wcardinal/ui/theme/dark/d-theme-dark-chart-selection-gridline.d.ts +0 -7
- package/dist/types/wcardinal/ui/theme/white/d-theme-white-chart-selection-gridline.d.ts +0 -7
- package/dist/wcardinal/ui/d-chart-selection-gridline-container-impl.js +0 -50
- package/dist/wcardinal/ui/d-chart-selection-gridline-container-impl.js.map +0 -1
- package/dist/wcardinal/ui/d-chart-selection-gridline-container.js.map +0 -1
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-chart-selection-gridline.js +0 -22
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-chart-selection-gridline.js.map +0 -1
- package/dist/wcardinal/ui/theme/white/d-theme-white-chart-selection-gridline.js +0 -22
- package/dist/wcardinal/ui/theme/white/d-theme-white-chart-selection-gridline.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"d-chart-selection-shape.js","sourceRoot":"","sources":["../../../src/main/typescript/wcardinal/ui/d-chart-selection-shape.ts"],"names":[],"mappings":"AAAA;;;GAGG","sourcesContent":["/*\n * Copyright (C) 2019 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport { IPoint } from \"pixi.js\";\nimport { DBase } from \"./d-base\";\nimport { DBaseStateSet } from \"./d-base-state-set\";\nimport { DChartSelectionStyle } from \"./d-chart-selection\";\nimport { DChartSeries } from \"./d-chart-series\";\nimport { DChartSeriesContainer } from \"./d-chart-series-container\";\nimport { EShape } from \"./shape/e-shape\";\n\nexport interface DChartSelectionShapeOptions<CHART extends DBase = DBase> {\n\tenable?: boolean;\n\tshape?: EShape;\n\tstyle?: DChartSelectionStyle<CHART>;\n\tstate?: string;\n\ttheme?: string | DThemeChartSelectionShape;\n}\n\nexport interface DThemeChartSelectionShape {\n\tisEnabled(state: DBaseStateSet): boolean;\n\tnewShape(state: DBaseStateSet): EShape;\n}\n\nexport interface DChartSelectionShape<CHART extends DBase = DBase> {\n\tbind(container: DChartSeriesContainer<CHART>): void;\n\tunbind(): void;\n\tset(\n\t\tcontainer: DChartSeriesContainer<CHART>,\n\t\tmappedPosition: IPoint,\n\t\tseries: DChartSeries<CHART>\n\t): void;\n\tunset(): void;\n\tupdate(
|
|
1
|
+
{"version":3,"file":"d-chart-selection-shape.js","sourceRoot":"","sources":["../../../src/main/typescript/wcardinal/ui/d-chart-selection-shape.ts"],"names":[],"mappings":"AAAA;;;GAGG","sourcesContent":["/*\n * Copyright (C) 2019 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport { IPoint } from \"pixi.js\";\nimport { DBase } from \"./d-base\";\nimport { DBaseStateSet } from \"./d-base-state-set\";\nimport { DChartSelectionStyle } from \"./d-chart-selection\";\nimport { DChartSeries } from \"./d-chart-series\";\nimport { DChartSeriesContainer } from \"./d-chart-series-container\";\nimport { EShape } from \"./shape/e-shape\";\n\nexport type DChartSelectionShapeNewShape = (state: DBaseStateSet) => EShape;\n\nexport interface DChartSelectionShapeOptions<CHART extends DBase = DBase> {\n\tenable?: boolean;\n\tshape?: EShape | DChartSelectionShapeNewShape;\n\tstyle?: DChartSelectionStyle<CHART>;\n\tstate?: string;\n\ttheme?: string | DThemeChartSelectionShape;\n}\n\nexport interface DThemeChartSelectionShape {\n\tisEnabled(state: DBaseStateSet): boolean;\n\tnewShape(state: DBaseStateSet): EShape;\n}\n\nexport interface DChartSelectionShape<CHART extends DBase = DBase> {\n\tbind(container: DChartSeriesContainer<CHART>): void;\n\tunbind(): void;\n\tset(\n\t\tcontainer: DChartSeriesContainer<CHART>,\n\t\tposition: IPoint,\n\t\tmappedPosition: IPoint,\n\t\tseries: DChartSeries<CHART>\n\t): void;\n\tunset(): void;\n\tupdate(\n\t\tcontainer: DChartSeriesContainer<CHART>,\n\t\tposition: IPoint,\n\t\tmappedPosition: IPoint\n\t): boolean;\n}\n"]}
|
|
@@ -41,12 +41,19 @@ var DChartSelectionSimple = /** @class */ (function (_super) {
|
|
|
41
41
|
return _this;
|
|
42
42
|
}
|
|
43
43
|
DChartSelectionSimple.prototype.newSelected = function (point, options) {
|
|
44
|
-
return new DChartSelectionSubImpl(this.
|
|
44
|
+
return new DChartSelectionSubImpl(this.toSelectedOptions(point, options));
|
|
45
45
|
};
|
|
46
46
|
DChartSelectionSimple.prototype.newHovered = function (point, options) {
|
|
47
|
-
return new DChartSelectionSubImpl(this.
|
|
47
|
+
return new DChartSelectionSubImpl(this.toHoveredOptions(point, options));
|
|
48
|
+
};
|
|
49
|
+
DChartSelectionSimple.prototype.toSelectedOptions = function (point, options) {
|
|
50
|
+
return this.toSubOptions(point, options, DBaseState.ACTIVE);
|
|
51
|
+
};
|
|
52
|
+
DChartSelectionSimple.prototype.toHoveredOptions = function (point, options) {
|
|
53
|
+
return this.toSubOptions(point, options, DBaseState.HOVERED);
|
|
48
54
|
};
|
|
49
55
|
DChartSelectionSimple.prototype.toSubOptions = function (point, options, state) {
|
|
56
|
+
var _a, _b, _c, _d, _e, _f, _g;
|
|
50
57
|
options = options || {};
|
|
51
58
|
if (options.point == null) {
|
|
52
59
|
options.point = point;
|
|
@@ -54,19 +61,28 @@ var DChartSelectionSimple = /** @class */ (function (_super) {
|
|
|
54
61
|
if (options.state == null) {
|
|
55
62
|
options.state = state;
|
|
56
63
|
}
|
|
57
|
-
var gridline = options.gridline
|
|
58
|
-
var gridlineX = gridline.x
|
|
64
|
+
var gridline = ((_a = options.gridline) !== null && _a !== void 0 ? _a : (options.gridline = {}));
|
|
65
|
+
var gridlineX = ((_b = gridline.x) !== null && _b !== void 0 ? _b : (gridline.x = {}));
|
|
59
66
|
if (gridlineX.state == null) {
|
|
60
67
|
gridlineX.state = state;
|
|
61
68
|
}
|
|
62
|
-
var gridlineY = gridline.y
|
|
69
|
+
var gridlineY = ((_c = gridline.y) !== null && _c !== void 0 ? _c : (gridline.y = {}));
|
|
63
70
|
if (gridlineY.state == null) {
|
|
64
71
|
gridlineY.state = state;
|
|
65
72
|
}
|
|
66
|
-
var marker = options.marker
|
|
73
|
+
var marker = ((_d = options.marker) !== null && _d !== void 0 ? _d : (options.marker = {}));
|
|
67
74
|
if (marker.state == null) {
|
|
68
75
|
marker.state = state;
|
|
69
76
|
}
|
|
77
|
+
var label = ((_e = options.label) !== null && _e !== void 0 ? _e : (options.label = {}));
|
|
78
|
+
var labelX = ((_f = label.x) !== null && _f !== void 0 ? _f : (label.x = {}));
|
|
79
|
+
if (labelX.state == null) {
|
|
80
|
+
labelX.state = state;
|
|
81
|
+
}
|
|
82
|
+
var labelY = ((_g = label.y) !== null && _g !== void 0 ? _g : (label.y = {}));
|
|
83
|
+
if (labelY.state == null) {
|
|
84
|
+
labelY.state = state;
|
|
85
|
+
}
|
|
70
86
|
return options;
|
|
71
87
|
};
|
|
72
88
|
DChartSelectionSimple.prototype.onClick = function (e) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"d-chart-selection-simple.js","sourceRoot":"","sources":["../../../src/main/typescript/wcardinal/ui/d-chart-selection-simple.ts"],"names":[],"mappings":"AAAA;;;GAGG;;AAEH,OAAO,EAAe,KAAK,EAAE,MAAM,SAAS,CAAC;AAC7C,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEjD,OAAO,EAAE,UAAU,EAAE,MAAM,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CAAC,MAAM,EAAE,CAAC;QAChD,IAAI,iBAAiB,IAAI,gBAAgB,EAAE;YAC1C,IAAM,SAAS,GAAG,IAAI,CAAC,UAAU,CAAC;YAClC,IAAI,SAAS,IAAI,IAAI,EAAE;gBACtB,aAAa,CAAC,MAAM,CAAC,SAAS,CAAC,QAAQ,CAAC,CAAC;aACzC;SACD;IACF,CAAC;IAED,wCAAQ,GAAR;QACC,IAAI,CAAC,SAAS,CAAC,MAAM,EAAE,CAAC;QACxB,IAAI,CAAC,QAAQ,CAAC,MAAM,EAAE,CAAC;IACxB,CAAC;IAnKgB,iCAAW,GAA0B,IAAI,qBAAqB,EAAE,CAAC;IAoKnF,4BAAC;CAAA,AAxKD,CACS,KAAK,CAAC,YAAY,GAuK1B;SAxKY,qBAAqB","sourcesContent":["/*\n * Copyright (C) 2019 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport { interaction, utils } from \"pixi.js\";\nimport { DApplications } from \"./d-applications\";\nimport { DBase, DBaseOnOptions } from \"./d-base\";\nimport { DBaseState } from \"./d-base-state\";\nimport { DChartSelection, DChartSelectionPoint } from \"./d-chart-selection\";\nimport { DChartSelectionSub, DChartSelectionSubOptions } from \"./d-chart-selection-sub\";\nimport { DChartSelectionSubImpl } from \"./d-chart-selection-sub-impl\";\nimport { DChartSeriesHitResult } from \"./d-chart-series\";\nimport { DChartSeriesContainer } from \"./d-chart-series-container\";\nimport { toEnum } from \"./util/to-enum\";\nimport { UtilPointerEvent } from \"./util/util-pointer-event\";\n\nexport interface DChartSelectionSimpleOptions<CHART extends DBase = DBase, EMITTER = any> {\n\tselected?: DChartSelectionSubOptions<CHART>;\n\thovered?: DChartSelectionSubOptions<CHART>;\n\tpoint?: DChartSelectionPoint | keyof typeof DChartSelectionPoint;\n\ton?: DBaseOnOptions<EMITTER>;\n}\n\nexport class DChartSelectionSimple<CHART extends DBase = DBase>\n\textends utils.EventEmitter\n\timplements DChartSelection<CHART>\n{\n\tprotected static WORK_SELECT: DChartSeriesHitResult = new DChartSeriesHitResult();\n\n\tprotected _container: DChartSeriesContainer<CHART> | null;\n\tprotected _selected: DChartSelectionSub<CHART>;\n\tprotected _hovered: DChartSelectionSub<CHART>;\n\n\tprotected _onClickBound!: (e: interaction.InteractionEvent) => void;\n\tprotected _onMoveBound!: (e: interaction.InteractionEvent) => void;\n\n\tconstructor(options?: DChartSelectionSimpleOptions<CHART>) {\n\t\tsuper();\n\n\t\tthis._container = null;\n\t\tconst point = toEnum(options?.point ?? DChartSelectionPoint.CLOSER, DChartSelectionPoint);\n\t\tthis._selected = this.newSelected(point, options?.selected);\n\t\tthis._hovered = this.newHovered(point, options?.hovered);\n\n\t\t// Events\n\t\tconst on = options?.on;\n\t\tif (on != null) {\n\t\t\tfor (const name in on) {\n\t\t\t\tconst handler = on[name];\n\t\t\t\tif (handler) {\n\t\t\t\t\tthis.on(name, handler);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t//\n\t\tthis._onMoveBound = (e: interaction.InteractionEvent): void => {\n\t\t\tthis.onMove(e);\n\t\t};\n\n\t\tthis._onClickBound = (e: interaction.InteractionEvent): void => {\n\t\t\tthis.onClick(e);\n\t\t};\n\t}\n\n\tprotected newSelected(\n\t\tpoint: DChartSelectionPoint,\n\t\toptions?: DChartSelectionSubOptions<CHART>\n\t): DChartSelectionSub<CHART> {\n\t\treturn new DChartSelectionSubImpl(this.toSubOptions(point, options, DBaseState.ACTIVE));\n\t}\n\n\tprotected newHovered(\n\t\tpoint: DChartSelectionPoint,\n\t\toptions?: DChartSelectionSubOptions<CHART>\n\t): DChartSelectionSub<CHART> {\n\t\treturn new DChartSelectionSubImpl(this.toSubOptions(point, options, DBaseState.HOVERED));\n\t}\n\n\tprotected toSubOptions(\n\t\tpoint: DChartSelectionPoint,\n\t\toptions: DChartSelectionSubOptions<CHART> | undefined,\n\t\tstate: string\n\t): DChartSelectionSubOptions<CHART> {\n\t\toptions = options || {};\n\n\t\tif (options.point == null) {\n\t\t\toptions.point = point;\n\t\t}\n\n\t\tif (options.state == null) {\n\t\t\toptions.state = state;\n\t\t}\n\n\t\tconst gridline = options.gridline || {};\n\t\tconst gridlineX = gridline.x || {};\n\t\tif (gridlineX.state == null) {\n\t\t\tgridlineX.state = state;\n\t\t}\n\n\t\tconst gridlineY = gridline.y || {};\n\t\tif (gridlineY.state == null) {\n\t\t\tgridlineY.state = state;\n\t\t}\n\n\t\tconst marker = options.marker || {};\n\t\tif (marker.state == null) {\n\t\t\tmarker.state = state;\n\t\t}\n\n\t\treturn options;\n\t}\n\n\tprotected onClick(e: interaction.InteractionEvent): void {\n\t\tconst container = this._container;\n\t\tif (container && e.target === container.plotArea) {\n\t\t\tconst result = DChartSelectionSimple.WORK_SELECT;\n\t\t\tconst global = e.data.global;\n\t\t\tconst series = container.calcHitPoint(global.x, global.y, result);\n\t\t\tconst selected = this._selected;\n\t\t\tif (series) {\n\t\t\t\tselected.set(series, result);\n\t\t\t} else {\n\t\t\t\tselected.unset();\n\t\t\t}\n\t\t}\n\t}\n\n\tprotected onMove(e: interaction.InteractionEvent): void {\n\t\tconst container = this._container;\n\t\tif (container) {\n\t\t\tconst hovered = this._hovered;\n\t\t\tif (e.target === container.plotArea) {\n\t\t\t\tconst result = DChartSelectionSimple.WORK_SELECT;\n\t\t\t\tconst global = e.data.global;\n\t\t\t\tconst series = container.calcHitPoint(global.x, global.y, result);\n\t\t\t\tif (series) {\n\t\t\t\t\thovered.set(series, result);\n\t\t\t\t} else {\n\t\t\t\t\thovered.unset();\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\thovered.unset();\n\t\t\t}\n\t\t}\n\t}\n\n\tbind(container: DChartSeriesContainer<CHART>): void {\n\t\tthis._container = container;\n\t\tthis._selected.bind(container);\n\t\tthis._hovered.bind(container);\n\t\tconst plotArea = container.plotArea;\n\t\tplotArea.on(UtilPointerEvent.move, this._onMoveBound);\n\t\tplotArea.on(UtilPointerEvent.tap, this._onClickBound);\n\t}\n\n\tunbind(): void {\n\t\tconst container = this._container;\n\t\tthis._container = null;\n\t\tif (container) {\n\t\t\tconst plotArea = container.plotArea;\n\t\t\tplotArea.off(UtilPointerEvent.move, this._onMoveBound);\n\t\t}\n\n\t\tthis._selected.unbind();\n\t\tthis._hovered.unbind();\n\t}\n\n\tget selected(): DChartSelectionSub<CHART> {\n\t\treturn this._selected;\n\t}\n\n\tget hovered(): DChartSelectionSub<CHART> {\n\t\treturn this._hovered;\n\t}\n\n\tupdate(): void {\n\t\tconst isSelectedUpdated = this._selected.update();\n\t\tconst isHoveredUpdated = this._hovered.update();\n\t\tif (isSelectedUpdated || isHoveredUpdated) {\n\t\t\tconst container = this._container;\n\t\t\tif (container != null) {\n\t\t\t\tDApplications.update(container.plotArea);\n\t\t\t}\n\t\t}\n\t}\n\n\tonRender(): void {\n\t\tthis._selected.update();\n\t\tthis._hovered.update();\n\t}\n}\n"]}
|
|
1
|
+
{"version":3,"file":"d-chart-selection-simple.js","sourceRoot":"","sources":["../../../src/main/typescript/wcardinal/ui/d-chart-selection-simple.ts"],"names":[],"mappings":"AAAA;;;GAGG;;AAEH,OAAO,EAAe,KAAK,EAAE,MAAM,SAAS,CAAC;AAC7C,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEjD,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAC5C,OAAO,EAAmB,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAE5E,OAAO,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAC;AACtE,OAAO,EAAE,qBAAqB,EAAE,MAAM,kBAAkB,CAAC;AAEzD,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AACxC,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAS7D;IACS,yCAAkB;IAY1B,+BAAY,OAA6C;QAAzD,iBA2BC;;gBA1BA,iBAAO;QAEP,KAAI,CAAC,UAAU,GAAG,IAAI,CAAC;QACvB,IAAM,KAAK,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AAC,GAAG,CAAC,gBAAgB,CAAC,IAAI,EAAE,IAAI,CAAC,YAAY,CAAC,CAAC;SACvD;QAED,IAAI,CAAC,SAAS,CAAC,MAAM,EAAE,CAAC;QACxB,IAAI,CAAC,QAAQ,CAAC,MAAM,EAAE,CAAC;IACxB,CAAC;IAED,sBAAI,2CAAQ;aAAZ;YACC,OAAO,IAAI,CAAC,SAAS,CAAC;QACvB,CAAC;;;OAAA;IAED,sBAAI,0CAAO;aAAX;YACC,OAAO,IAAI,CAAC,QAAQ,CAAC;QACtB,CAAC;;;OAAA;IAED,sCAAM,GAAN;QACC,IAAM,iBAAiB,GAAG,IAAI,CAAC,SAAS,CAAC,MAAM,EAAE,CAAC;QAClD,IAAM,gBAAgB,GAAG,IAAI,CAAC,QAAQ,CAAC,MAAM,EAAE,CAAC;QAChD,IAAI,iBAAiB,IAAI,gBAAgB,EAAE;YAC1C,IAAM,SAAS,GAAG,IAAI,CAAC,UAAU,CAAC;YAClC,IAAI,SAAS,IAAI,IAAI,EAAE;gBACtB,aAAa,CAAC,MAAM,CAAC,SAAS,CAAC,QAAQ,CAAC,CAAC;aACzC;SACD;IACF,CAAC;IAED,wCAAQ,GAAR;QACC,IAAI,CAAC,SAAS,CAAC,MAAM,EAAE,CAAC;QACxB,IAAI,CAAC,QAAQ,CAAC,MAAM,EAAE,CAAC;IACxB,CAAC;IA5LgB,iCAAW,GAA0B,IAAI,qBAAqB,EAAE,CAAC;IA6LnF,4BAAC;CAAA,AAjMD,CACS,KAAK,CAAC,YAAY,GAgM1B;SAjMY,qBAAqB","sourcesContent":["/*\n * Copyright (C) 2019 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport { interaction, utils } from \"pixi.js\";\nimport { DApplications } from \"./d-applications\";\nimport { DBase, DBaseOnOptions } from \"./d-base\";\nimport { DBaseState } from \"./d-base-state\";\nimport { DChartSelection, DChartSelectionPoint } from \"./d-chart-selection\";\nimport { DChartSelectionSub, DChartSelectionSubOptions } from \"./d-chart-selection-sub\";\nimport { DChartSelectionSubImpl } from \"./d-chart-selection-sub-impl\";\nimport { DChartSeriesHitResult } from \"./d-chart-series\";\nimport { DChartSeriesContainer } from \"./d-chart-series-container\";\nimport { toEnum } from \"./util/to-enum\";\nimport { UtilPointerEvent } from \"./util/util-pointer-event\";\n\nexport interface DChartSelectionSimpleOptions<CHART extends DBase = DBase, EMITTER = any> {\n\tselected?: DChartSelectionSubOptions<CHART>;\n\thovered?: DChartSelectionSubOptions<CHART>;\n\tpoint?: DChartSelectionPoint | keyof typeof DChartSelectionPoint;\n\ton?: DBaseOnOptions<EMITTER>;\n}\n\nexport class DChartSelectionSimple<CHART extends DBase = DBase>\n\textends utils.EventEmitter\n\timplements DChartSelection<CHART>\n{\n\tprotected static WORK_SELECT: DChartSeriesHitResult = new DChartSeriesHitResult();\n\n\tprotected _container: DChartSeriesContainer<CHART> | null;\n\tprotected _selected: DChartSelectionSub<CHART>;\n\tprotected _hovered: DChartSelectionSub<CHART>;\n\n\tprotected _onClickBound!: (e: interaction.InteractionEvent) => void;\n\tprotected _onMoveBound!: (e: interaction.InteractionEvent) => void;\n\n\tconstructor(options?: DChartSelectionSimpleOptions<CHART>) {\n\t\tsuper();\n\n\t\tthis._container = null;\n\t\tconst point = toEnum(options?.point ?? DChartSelectionPoint.CLOSER, DChartSelectionPoint);\n\t\tthis._selected = this.newSelected(point, options?.selected);\n\t\tthis._hovered = this.newHovered(point, options?.hovered);\n\n\t\t// Events\n\t\tconst on = options?.on;\n\t\tif (on != null) {\n\t\t\tfor (const name in on) {\n\t\t\t\tconst handler = on[name];\n\t\t\t\tif (handler) {\n\t\t\t\t\tthis.on(name, handler);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t//\n\t\tthis._onMoveBound = (e: interaction.InteractionEvent): void => {\n\t\t\tthis.onMove(e);\n\t\t};\n\n\t\tthis._onClickBound = (e: interaction.InteractionEvent): void => {\n\t\t\tthis.onClick(e);\n\t\t};\n\t}\n\n\tprotected newSelected(\n\t\tpoint: DChartSelectionPoint,\n\t\toptions?: DChartSelectionSubOptions<CHART>\n\t): DChartSelectionSub<CHART> {\n\t\treturn new DChartSelectionSubImpl(this.toSelectedOptions(point, options));\n\t}\n\n\tprotected newHovered(\n\t\tpoint: DChartSelectionPoint,\n\t\toptions?: DChartSelectionSubOptions<CHART>\n\t): DChartSelectionSub<CHART> {\n\t\treturn new DChartSelectionSubImpl(this.toHoveredOptions(point, options));\n\t}\n\n\tprotected toSelectedOptions(\n\t\tpoint: DChartSelectionPoint,\n\t\toptions?: DChartSelectionSubOptions<CHART>\n\t): DChartSelectionSubOptions<CHART> {\n\t\treturn this.toSubOptions(point, options, DBaseState.ACTIVE);\n\t}\n\n\tprotected toHoveredOptions(\n\t\tpoint: DChartSelectionPoint,\n\t\toptions?: DChartSelectionSubOptions<CHART>\n\t): DChartSelectionSubOptions<CHART> {\n\t\treturn this.toSubOptions(point, options, DBaseState.HOVERED);\n\t}\n\n\tprotected toSubOptions(\n\t\tpoint: DChartSelectionPoint,\n\t\toptions: DChartSelectionSubOptions<CHART> | undefined,\n\t\tstate: string\n\t): DChartSelectionSubOptions<CHART> {\n\t\toptions = options || {};\n\n\t\tif (options.point == null) {\n\t\t\toptions.point = point;\n\t\t}\n\n\t\tif (options.state == null) {\n\t\t\toptions.state = state;\n\t\t}\n\n\t\tconst gridline = (options.gridline ??= {});\n\t\tconst gridlineX = (gridline.x ??= {});\n\t\tif (gridlineX.state == null) {\n\t\t\tgridlineX.state = state;\n\t\t}\n\n\t\tconst gridlineY = (gridline.y ??= {});\n\t\tif (gridlineY.state == null) {\n\t\t\tgridlineY.state = state;\n\t\t}\n\n\t\tconst marker = (options.marker ??= {});\n\t\tif (marker.state == null) {\n\t\t\tmarker.state = state;\n\t\t}\n\n\t\tconst label = (options.label ??= {});\n\t\tconst labelX = (label.x ??= {});\n\t\tif (labelX.state == null) {\n\t\t\tlabelX.state = state;\n\t\t}\n\n\t\tconst labelY = (label.y ??= {});\n\t\tif (labelY.state == null) {\n\t\t\tlabelY.state = state;\n\t\t}\n\n\t\treturn options;\n\t}\n\n\tprotected onClick(e: interaction.InteractionEvent): void {\n\t\tconst container = this._container;\n\t\tif (container && e.target === container.plotArea) {\n\t\t\tconst result = DChartSelectionSimple.WORK_SELECT;\n\t\t\tconst global = e.data.global;\n\t\t\tconst series = container.calcHitPoint(global.x, global.y, result);\n\t\t\tconst selected = this._selected;\n\t\t\tif (series) {\n\t\t\t\tselected.set(series, result);\n\t\t\t} else {\n\t\t\t\tselected.unset();\n\t\t\t}\n\t\t}\n\t}\n\n\tprotected onMove(e: interaction.InteractionEvent): void {\n\t\tconst container = this._container;\n\t\tif (container) {\n\t\t\tconst hovered = this._hovered;\n\t\t\tif (e.target === container.plotArea) {\n\t\t\t\tconst result = DChartSelectionSimple.WORK_SELECT;\n\t\t\t\tconst global = e.data.global;\n\t\t\t\tconst series = container.calcHitPoint(global.x, global.y, result);\n\t\t\t\tif (series) {\n\t\t\t\t\thovered.set(series, result);\n\t\t\t\t} else {\n\t\t\t\t\thovered.unset();\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\thovered.unset();\n\t\t\t}\n\t\t}\n\t}\n\n\tbind(container: DChartSeriesContainer<CHART>): void {\n\t\tthis._container = container;\n\t\tthis._selected.bind(container);\n\t\tthis._hovered.bind(container);\n\t\tconst plotArea = container.plotArea;\n\t\tplotArea.on(UtilPointerEvent.move, this._onMoveBound);\n\t\tplotArea.on(UtilPointerEvent.tap, this._onClickBound);\n\t}\n\n\tunbind(): void {\n\t\tconst container = this._container;\n\t\tthis._container = null;\n\t\tif (container) {\n\t\t\tconst plotArea = container.plotArea;\n\t\t\tplotArea.off(UtilPointerEvent.move, this._onMoveBound);\n\t\t}\n\n\t\tthis._selected.unbind();\n\t\tthis._hovered.unbind();\n\t}\n\n\tget selected(): DChartSelectionSub<CHART> {\n\t\treturn this._selected;\n\t}\n\n\tget hovered(): DChartSelectionSub<CHART> {\n\t\treturn this._hovered;\n\t}\n\n\tupdate(): void {\n\t\tconst isSelectedUpdated = this._selected.update();\n\t\tconst isHoveredUpdated = this._hovered.update();\n\t\tif (isSelectedUpdated || isHoveredUpdated) {\n\t\t\tconst container = this._container;\n\t\t\tif (container != null) {\n\t\t\t\tDApplications.update(container.plotArea);\n\t\t\t}\n\t\t}\n\t}\n\n\tonRender(): void {\n\t\tthis._selected.update();\n\t\tthis._hovered.update();\n\t}\n}\n"]}
|
|
@@ -7,25 +7,27 @@ import { Point, utils } from "pixi.js";
|
|
|
7
7
|
import { DApplications } from "./d-applications";
|
|
8
8
|
import { DBaseState } from "./d-base-state";
|
|
9
9
|
import { DChartSelectionPoint } from "./d-chart-selection";
|
|
10
|
-
import {
|
|
10
|
+
import { DChartSelectionContainerImpl } from "./d-chart-selection-container-impl";
|
|
11
11
|
import { DChartSelectionMarker } from "./d-chart-selection-marker";
|
|
12
12
|
import { DChartSeriesHitResult } from "./d-chart-series";
|
|
13
|
+
import { DChartSelectionGridlineX } from "./d-chart-selection-gridline-x";
|
|
14
|
+
import { DChartSelectionGridlineY } from "./d-chart-selection-gridline-y";
|
|
13
15
|
var DChartSelectionSubImpl = /** @class */ (function (_super) {
|
|
14
16
|
__extends(DChartSelectionSubImpl, _super);
|
|
15
17
|
function DChartSelectionSubImpl(options) {
|
|
16
18
|
var _this = this;
|
|
17
|
-
var _a, _b, _c;
|
|
19
|
+
var _a, _b, _c, _d, _e;
|
|
18
20
|
_this = _super.call(this) || this;
|
|
19
21
|
_this._container = null;
|
|
20
22
|
_this._series = null;
|
|
21
23
|
_this._isEnabled = (_a = options.enable) !== null && _a !== void 0 ? _a : true;
|
|
22
|
-
_this._gridline = new
|
|
24
|
+
_this._gridline = new DChartSelectionContainerImpl(new DChartSelectionGridlineX((_b = options.gridline) === null || _b === void 0 ? void 0 : _b.x), new DChartSelectionGridlineY((_c = options.gridline) === null || _c === void 0 ? void 0 : _c.y));
|
|
23
25
|
_this._marker = new DChartSelectionMarker(options.marker);
|
|
24
|
-
_this._state = (
|
|
26
|
+
_this._state = (_d = options.state) !== null && _d !== void 0 ? _d : DBaseState.HOVERED;
|
|
25
27
|
_this._coordinateX = null;
|
|
26
28
|
_this._coordinateY = null;
|
|
27
29
|
_this._position = new Point();
|
|
28
|
-
_this._point = (
|
|
30
|
+
_this._point = (_e = options.point) !== null && _e !== void 0 ? _e : DChartSelectionPoint.CLOSER;
|
|
29
31
|
_this._work = new Point();
|
|
30
32
|
// Events
|
|
31
33
|
var on = options.on;
|
|
@@ -120,8 +122,8 @@ var DChartSelectionSubImpl = /** @class */ (function (_super) {
|
|
|
120
122
|
work.set(coordinateX.transform.map(coordinateX.map(position.x)), coordinateY.transform.map(coordinateY.map(position.y)));
|
|
121
123
|
transform.apply(work, work);
|
|
122
124
|
}
|
|
123
|
-
this._gridline.set(container, work, series);
|
|
124
|
-
this._marker.set(container, work, series);
|
|
125
|
+
this._gridline.set(container, position, work, series);
|
|
126
|
+
this._marker.set(container, position, work, series);
|
|
125
127
|
DApplications.update(container.plotArea);
|
|
126
128
|
}
|
|
127
129
|
var oldSeries = this._series;
|
|
@@ -135,12 +137,6 @@ var DChartSelectionSubImpl = /** @class */ (function (_super) {
|
|
|
135
137
|
}
|
|
136
138
|
this.emit("change", this);
|
|
137
139
|
};
|
|
138
|
-
DChartSelectionSubImpl.prototype.setStyle = function (shape, series) {
|
|
139
|
-
var seriesShape = series.shape;
|
|
140
|
-
if (seriesShape) {
|
|
141
|
-
shape.stroke.color = seriesShape.stroke.color;
|
|
142
|
-
}
|
|
143
|
-
};
|
|
144
140
|
DChartSelectionSubImpl.prototype.unset = function () {
|
|
145
141
|
var series = this._series;
|
|
146
142
|
if (series) {
|
|
@@ -162,8 +158,8 @@ var DChartSelectionSubImpl = /** @class */ (function (_super) {
|
|
|
162
158
|
var work = this._work;
|
|
163
159
|
work.set(coordinateX.transform.map(coordinateX.map(position.x)), coordinateY.transform.map(coordinateY.map(position.y)));
|
|
164
160
|
container.plotArea.container.localTransform.apply(work, work);
|
|
165
|
-
var isGridlineUpdated = this._gridline.update(container, work);
|
|
166
|
-
var isMarkerUpdated = this._marker.update(container, work);
|
|
161
|
+
var isGridlineUpdated = this._gridline.update(container, position, work);
|
|
162
|
+
var isMarkerUpdated = this._marker.update(container, position, work);
|
|
167
163
|
return isGridlineUpdated || isMarkerUpdated;
|
|
168
164
|
}
|
|
169
165
|
return false;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"d-chart-selection-sub-impl.js","sourceRoot":"","sources":["../../../src/main/typescript/wcardinal/ui/d-chart-selection-sub-impl.ts"],"names":[],"mappings":"AAAA;;;GAGG;;AAEH,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AACvC,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEjD,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAE5C,OAAO,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAE3D,OAAO,EAAE,oCAAoC,EAAE,MAAM,6CAA6C,CAAC;AACnG,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AAEnE,OAAO,EAAgB,qBAAqB,EAAE,MAAM,kBAAkB,CAAC;AAIvE;IACS,0CAAkB;IAe1B,gCAAY,OAAyC;QAArD,iBAyBC;;gBAxBA,iBAAO;QAEP,KAAI,CAAC,UAAU,GAAG,IAAI,CAAC;QACvB,KAAI,CAAC,OAAO,GAAG,IAAI,CAAC;QACpB,KAAI,CAAC,UAAU,GAAG,MAAA,OAAO,CAAC,MAAM,mCAAI,IAAI,CAAC;QACzC,KAAI,CAAC,SAAS,GAAG,IAAI,oCAAoC,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC;QAC5E,KAAI,CAAC,OAAO,GAAG,IAAI,qBAAqB,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC;QACzD,KAAI,CAAC,MAAM,GAAG,MAAA,OAAO,CAAC,KAAK,mCAAI,U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IAAM,WAAW,GAAG,IAAI,CAAC,YAAY,CAAC;QACtC,IAAI,SAAS,IAAI,WAAW,IAAI,WAAW,EAAE;YAC5C,IAAM,QAAQ,GAAG,IAAI,CAAC,SAAS,CAAC;YAChC,IAAM,IAAI,GAAG,IAAI,CAAC,KAAK,CAAC;YACxB,IAAI,CAAC,GAAG,CACP,WAAW,CAAC,SAAS,CAAC,GAAG,CAAC,WAAW,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,EACtD,WAAW,CAAC,SAAS,CAAC,GAAG,CAAC,WAAW,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CACtD,CAAC;YACF,SAAS,CAAC,QAAQ,CAAC,SAAS,CAAC,cAAc,CAAC,KAAK,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;YAE9D,IAAM,iBAAiB,GAAG,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;YACjE,IAAM,eAAe,GAAG,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;YAC7D,OAAO,iBAAiB,IAAI,eAAe,CAAC;SAC5C;QACD,OAAO,KAAK,CAAC;IACd,CAAC;IACF,6BAAC;AAAD,CAAC,AAzLD,CACS,KAAK,CAAC,YAAY,GAwL1B","sourcesContent":["/*\n * Copyright (C) 2019 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport { Point, utils } from \"pixi.js\";\nimport { DApplications } from \"./d-applications\";\nimport { DBase } from \"./d-base\";\nimport { DBaseState } from \"./d-base-state\";\nimport { DChartCoordinate } from \"./d-chart-coordinate\";\nimport { DChartSelectionPoint } from \"./d-chart-selection\";\nimport { DChartSelectionGridlineContainer } from \"./d-chart-selection-gridline-container\";\nimport { DChartSelectionGridlineContainerImpl } from \"./d-chart-selection-gridline-container-impl\";\nimport { DChartSelectionMarker } from \"./d-chart-selection-marker\";\nimport { DChartSelectionSub, DChartSelectionSubOptions } from \"./d-chart-selection-sub\";\nimport { DChartSeries, DChartSeriesHitResult } from \"./d-chart-series\";\nimport { DChartSeriesContainer } from \"./d-chart-series-container\";\nimport { EShape } from \"./shape/e-shape\";\n\nexport class DChartSelectionSubImpl<CHART extends DBase = DBase>\n\textends utils.EventEmitter\n\timplements DChartSelectionSub<CHART>\n{\n\tprotected _container: DChartSeriesContainer<CHART> | null;\n\tprotected _isEnabled: boolean;\n\tprotected _series: DChartSeries<CHART> | null;\n\tprotected _coordinateX: DChartCoordinate<CHART> | null;\n\tprotected _coordinateY: DChartCoordinate<CHART> | null;\n\tprotected _position: Point;\n\tprotected _point: DChartSelectionPoint;\n\tprotected _work: Point;\n\tprotected _gridline: DChartSelectionGridlineContainer<CHART>;\n\tprotected _marker: DChartSelectionMarker<CHART>;\n\tprotected _state: string;\n\n\tconstructor(options: DChartSelectionSubOptions<CHART>) {\n\t\tsuper();\n\n\t\tthis._container = null;\n\t\tthis._series = null;\n\t\tthis._isEnabled = options.enable ?? true;\n\t\tthis._gridline = new DChartSelectionGridlineContainerImpl(options.gridline);\n\t\tthis._marker = new DChartSelectionMarker(options.marker);\n\t\tthis._state = options.state ?? DBaseState.HOVERED;\n\t\tthis._coordinateX = null;\n\t\tthis._coordinateY = null;\n\t\tthis._position = new Point();\n\t\tthis._point = options.point ?? DChartSelectionPoint.CLOSER;\n\t\tthis._work = new Point();\n\n\t\t// Events\n\t\tconst on = options.on;\n\t\tif (on) {\n\t\t\tfor (const name in on) {\n\t\t\t\tconst handler = on[name];\n\t\t\t\tif (handler) {\n\t\t\t\t\tthis.on(name, handler);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\tbind(container: DChartSeriesContainer<CHART>): void {\n\t\tif (this._isEnabled) {\n\t\t\tthis._container = container;\n\t\t\tthis._gridline.bind(container);\n\t\t\tthis._marker.bind(container);\n\t\t}\n\t}\n\n\tunbind(): void {\n\t\tthis._marker.unbind();\n\t\tthis._gridline.unbind();\n\t\tthis._container = null;\n\t\tthis._coordinateX = null;\n\t\tthis._coordinateY = null;\n\t}\n\n\tget series(): DChartSeries<CHART> | null {\n\t\treturn this._series;\n\t}\n\n\tget position(): Point {\n\t\treturn this._position;\n\t}\n\n\tget gridline(): DChartSelectionGridlineContainer<CHART> {\n\t\treturn this._gridline;\n\t}\n\n\tget marker(): DChartSelectionMarker<CHART> {\n\t\treturn this._marker;\n\t}\n\n\tset(\n\t\tseries: DChartSeries<CHART>,\n\t\tresult: DChartSeriesHitResult | DChartSelectionSub<CHART>\n\t): void {\n\t\tconst container = this._container;\n\t\tconst coordinateX = (this._coordinateX = series.coordinate.x);\n\t\tconst coordinateY = (this._coordinateY = series.coordinate.y);\n\t\tif (container && coordinateX && coordinateY) {\n\t\t\tconst transform = container.plotArea.container.localTransform;\n\t\t\tconst position = this._position;\n\t\t\tconst work = this._work;\n\t\t\tif (result instanceof DChartSeriesHitResult) {\n\t\t\t\tlet x = result.x;\n\t\t\t\tlet y = result.y;\n\t\t\t\tswitch (this._point) {\n\t\t\t\t\tcase DChartSelectionPoint.PREVIOUS:\n\t\t\t\t\t\tx = result.p0x;\n\t\t\t\t\t\ty = result.p0y;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase DChartSelectionPoint.NEXT:\n\t\t\t\t\t\tx = result.p1x;\n\t\t\t\t\t\ty = result.p1y;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase DChartSelectionPoint.CLOSER:\n\t\t\t\t\t\tif (Math.abs(result.p0x - result.x) < Math.abs(result.p1x - result.x)) {\n\t\t\t\t\t\t\tx = result.p0x;\n\t\t\t\t\t\t\ty = result.p0y;\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tx = result.p1x;\n\t\t\t\t\t\t\ty = result.p1y;\n\t\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\twork.set(x, y);\n\t\t\t\ttransform.apply(work, work);\n\t\t\t\tposition.set(\n\t\t\t\t\tcoordinateX.unmap(coordinateX.transform.unmap(x)),\n\t\t\t\t\tcoordinateY.unmap(coordinateY.transform.unmap(y))\n\t\t\t\t);\n\t\t\t} else {\n\t\t\t\tposition.copyFrom(result.position);\n\t\t\t\twork.set(\n\t\t\t\t\tcoordinateX.transform.map(coordinateX.map(position.x)),\n\t\t\t\t\tcoordinateY.transform.map(coordinateY.map(position.y))\n\t\t\t\t);\n\t\t\t\ttransform.apply(work, work);\n\t\t\t}\n\n\t\t\tthis._gridline.set(container, work, series);\n\t\t\tthis._marker.set(container, work, series);\n\n\t\t\tDApplications.update(container.plotArea);\n\t\t}\n\n\t\tconst oldSeries = this._series;\n\t\tif (oldSeries !== series) {\n\t\t\tconst state = this._state;\n\t\t\tif (oldSeries) {\n\t\t\t\toldSeries.state.remove(state);\n\t\t\t}\n\n\t\t\tthis._series = series;\n\t\t\tseries.state.add(state);\n\t\t}\n\n\t\tthis.emit(\"change\", this);\n\t}\n\n\tprotected setStyle(this: unknown, shape: EShape, series: DChartSeries<CHART>): void {\n\t\tconst seriesShape = series.shape;\n\t\tif (seriesShape) {\n\t\t\tshape.stroke.color = seriesShape.stroke.color;\n\t\t}\n\t}\n\n\tunset(): void {\n\t\tconst series = this._series;\n\t\tif (series) {\n\t\t\tthis._series = null;\n\t\t\tthis._coordinateX = null;\n\t\t\tthis._coordinateY = null;\n\n\t\t\tseries.state.remove(this._state);\n\n\t\t\tthis._gridline.unset();\n\t\t\tthis._marker.unset();\n\n\t\t\tthis.emit(\"change\", this);\n\t\t}\n\t}\n\n\tupdate(): boolean {\n\t\tconst container = this._container;\n\t\tconst coordinateX = this._coordinateX;\n\t\tconst coordinateY = this._coordinateY;\n\t\tif (container && coordinateX && coordinateY) {\n\t\t\tconst position = this._position;\n\t\t\tconst work = this._work;\n\t\t\twork.set(\n\t\t\t\tcoordinateX.transform.map(coordinateX.map(position.x)),\n\t\t\t\tcoordinateY.transform.map(coordinateY.map(position.y))\n\t\t\t);\n\t\t\tcontainer.plotArea.container.localTransform.apply(work, work);\n\n\t\t\tconst isGridlineUpdated = this._gridline.update(container, work);\n\t\t\tconst isMarkerUpdated = this._marker.update(container, work);\n\t\t\treturn isGridlineUpdated || isMarkerUpdated;\n\t\t}\n\t\treturn false;\n\t}\n}\n"]}
|
|
1
|
+
{"version":3,"file":"d-chart-selection-sub-impl.js","sourceRoot":"","sources":["../../../src/main/typescript/wcardinal/ui/d-chart-selection-sub-impl.ts"],"names":[],"mappings":"AAAA;;;GAGG;;AAEH,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AACvC,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEjD,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAE5C,OAAO,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAE3D,OAAO,EAAE,4BAA4B,EAAE,MAAM,oCAAoC,CAAC;AAClF,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AAEnE,OAAO,EAAgB,qBAAqB,EAAE,MAAM,kBAAkB,CAAC;AAEvE,OAAO,EAAE,wBAAwB,EAAE,MAAM,gCAAgC,CAAC;AAC1E,OAAO,EAAE,wBAAwB,EAAE,MAAM,gCAAgC,CAAC;AAE1E;IACS,0CAAkB;IAe1B,gCAAY,OAAyC;QAArD,iBA4BC;;gBA3BA,iBAAO;QAEP,KAAI,CAAC,UAAU,GAAG,IAAI,CAAC;QACvB,KAAI,CAAC,OAAO,GAAG,IAAI,CAAC;QACpB,KAAI,CAAC,UAAU,GAAG,MAAA,OAAO,CAAC,MAAM,mCAAI,IAAI,CAAC;QACzC,KAAI,CAAC,SAAS,GAAG,IAAI,4BAA4B,CAChD,IAAI,wBAAwB,CAAC,MAAA,OAAO,CAAC,QAAQ,0CAAE,CAAC,CAAC,EACjD,IAAI,wBAAwB,CAAC,MAAA,OAAO,CAAC,QAAQ,0CAAE,CAAC,CAAC,CACjD,CAAC;QACF,KAAI,CAAC,OAAO,GAA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I,WAAW,EAAE;YAC5C,IAAM,QAAQ,GAAG,IAAI,CAAC,SAAS,CAAC;YAChC,IAAM,IAAI,GAAG,IAAI,CAAC,KAAK,CAAC;YACxB,IAAI,CAAC,GAAG,CACP,WAAW,CAAC,SAAS,CAAC,GAAG,CAAC,WAAW,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,EACtD,WAAW,CAAC,SAAS,CAAC,GAAG,CAAC,WAAW,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CACtD,CAAC;YACF,SAAS,CAAC,QAAQ,CAAC,SAAS,CAAC,cAAc,CAAC,KAAK,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;YAE9D,IAAM,iBAAiB,GAAG,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,SAAS,EAAE,QAAQ,EAAE,IAAI,CAAC,CAAC;YAC3E,IAAM,eAAe,GAAG,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,SAAS,EAAE,QAAQ,EAAE,IAAI,CAAC,CAAC;YACvE,OAAO,iBAAiB,IAAI,eAAe,CAAC;SAC5C;QACD,OAAO,KAAK,CAAC;IACd,CAAC;IACF,6BAAC;AAAD,CAAC,AArLD,CACS,KAAK,CAAC,YAAY,GAoL1B","sourcesContent":["/*\n * Copyright (C) 2019 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport { Point, utils } from \"pixi.js\";\nimport { DApplications } from \"./d-applications\";\nimport { DBase } from \"./d-base\";\nimport { DBaseState } from \"./d-base-state\";\nimport { DChartCoordinate } from \"./d-chart-coordinate\";\nimport { DChartSelectionPoint } from \"./d-chart-selection\";\nimport { DChartSelectionContainer } from \"./d-chart-selection-container\";\nimport { DChartSelectionContainerImpl } from \"./d-chart-selection-container-impl\";\nimport { DChartSelectionMarker } from \"./d-chart-selection-marker\";\nimport { DChartSelectionSub, DChartSelectionSubOptions } from \"./d-chart-selection-sub\";\nimport { DChartSeries, DChartSeriesHitResult } from \"./d-chart-series\";\nimport { DChartSeriesContainer } from \"./d-chart-series-container\";\nimport { DChartSelectionGridlineX } from \"./d-chart-selection-gridline-x\";\nimport { DChartSelectionGridlineY } from \"./d-chart-selection-gridline-y\";\n\nexport class DChartSelectionSubImpl<CHART extends DBase = DBase>\n\textends utils.EventEmitter\n\timplements DChartSelectionSub<CHART>\n{\n\tprotected _container: DChartSeriesContainer<CHART> | null;\n\tprotected _isEnabled: boolean;\n\tprotected _series: DChartSeries<CHART> | null;\n\tprotected _coordinateX: DChartCoordinate<CHART> | null;\n\tprotected _coordinateY: DChartCoordinate<CHART> | null;\n\tprotected _position: Point;\n\tprotected _point: DChartSelectionPoint;\n\tprotected _work: Point;\n\tprotected _gridline: DChartSelectionContainer<CHART>;\n\tprotected _marker: DChartSelectionMarker<CHART>;\n\tprotected _state: string;\n\n\tconstructor(options: DChartSelectionSubOptions<CHART>) {\n\t\tsuper();\n\n\t\tthis._container = null;\n\t\tthis._series = null;\n\t\tthis._isEnabled = options.enable ?? true;\n\t\tthis._gridline = new DChartSelectionContainerImpl(\n\t\t\tnew DChartSelectionGridlineX(options.gridline?.x),\n\t\t\tnew DChartSelectionGridlineY(options.gridline?.y)\n\t\t);\n\t\tthis._marker = new DChartSelectionMarker(options.marker);\n\t\tthis._state = options.state ?? DBaseState.HOVERED;\n\t\tthis._coordinateX = null;\n\t\tthis._coordinateY = null;\n\t\tthis._position = new Point();\n\t\tthis._point = options.point ?? DChartSelectionPoint.CLOSER;\n\t\tthis._work = new Point();\n\n\t\t// Events\n\t\tconst on = options.on;\n\t\tif (on) {\n\t\t\tfor (const name in on) {\n\t\t\t\tconst handler = on[name];\n\t\t\t\tif (handler) {\n\t\t\t\t\tthis.on(name, handler);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\tbind(container: DChartSeriesContainer<CHART>): void {\n\t\tif (this._isEnabled) {\n\t\t\tthis._container = container;\n\t\t\tthis._gridline.bind(container);\n\t\t\tthis._marker.bind(container);\n\t\t}\n\t}\n\n\tunbind(): void {\n\t\tthis._marker.unbind();\n\t\tthis._gridline.unbind();\n\t\tthis._container = null;\n\t\tthis._coordinateX = null;\n\t\tthis._coordinateY = null;\n\t}\n\n\tget series(): DChartSeries<CHART> | null {\n\t\treturn this._series;\n\t}\n\n\tget position(): Point {\n\t\treturn this._position;\n\t}\n\n\tget gridline(): DChartSelectionContainer<CHART> {\n\t\treturn this._gridline;\n\t}\n\n\tget marker(): DChartSelectionMarker<CHART> {\n\t\treturn this._marker;\n\t}\n\n\tset(\n\t\tseries: DChartSeries<CHART>,\n\t\tresult: DChartSeriesHitResult | DChartSelectionSub<CHART>\n\t): void {\n\t\tconst container = this._container;\n\t\tconst coordinateX = (this._coordinateX = series.coordinate.x);\n\t\tconst coordinateY = (this._coordinateY = series.coordinate.y);\n\t\tif (container && coordinateX && coordinateY) {\n\t\t\tconst transform = container.plotArea.container.localTransform;\n\t\t\tconst position = this._position;\n\t\t\tconst work = this._work;\n\t\t\tif (result instanceof DChartSeriesHitResult) {\n\t\t\t\tlet x = result.x;\n\t\t\t\tlet y = result.y;\n\t\t\t\tswitch (this._point) {\n\t\t\t\t\tcase DChartSelectionPoint.PREVIOUS:\n\t\t\t\t\t\tx = result.p0x;\n\t\t\t\t\t\ty = result.p0y;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase DChartSelectionPoint.NEXT:\n\t\t\t\t\t\tx = result.p1x;\n\t\t\t\t\t\ty = result.p1y;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase DChartSelectionPoint.CLOSER:\n\t\t\t\t\t\tif (Math.abs(result.p0x - result.x) < Math.abs(result.p1x - result.x)) {\n\t\t\t\t\t\t\tx = result.p0x;\n\t\t\t\t\t\t\ty = result.p0y;\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tx = result.p1x;\n\t\t\t\t\t\t\ty = result.p1y;\n\t\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\twork.set(x, y);\n\t\t\t\ttransform.apply(work, work);\n\t\t\t\tposition.set(\n\t\t\t\t\tcoordinateX.unmap(coordinateX.transform.unmap(x)),\n\t\t\t\t\tcoordinateY.unmap(coordinateY.transform.unmap(y))\n\t\t\t\t);\n\t\t\t} else {\n\t\t\t\tposition.copyFrom(result.position);\n\t\t\t\twork.set(\n\t\t\t\t\tcoordinateX.transform.map(coordinateX.map(position.x)),\n\t\t\t\t\tcoordinateY.transform.map(coordinateY.map(position.y))\n\t\t\t\t);\n\t\t\t\ttransform.apply(work, work);\n\t\t\t}\n\n\t\t\tthis._gridline.set(container, position, work, series);\n\t\t\tthis._marker.set(container, position, work, series);\n\n\t\t\tDApplications.update(container.plotArea);\n\t\t}\n\n\t\tconst oldSeries = this._series;\n\t\tif (oldSeries !== series) {\n\t\t\tconst state = this._state;\n\t\t\tif (oldSeries) {\n\t\t\t\toldSeries.state.remove(state);\n\t\t\t}\n\n\t\t\tthis._series = series;\n\t\t\tseries.state.add(state);\n\t\t}\n\n\t\tthis.emit(\"change\", this);\n\t}\n\n\tunset(): void {\n\t\tconst series = this._series;\n\t\tif (series) {\n\t\t\tthis._series = null;\n\t\t\tthis._coordinateX = null;\n\t\t\tthis._coordinateY = null;\n\n\t\t\tseries.state.remove(this._state);\n\n\t\t\tthis._gridline.unset();\n\t\t\tthis._marker.unset();\n\n\t\t\tthis.emit(\"change\", this);\n\t\t}\n\t}\n\n\tupdate(): boolean {\n\t\tconst container = this._container;\n\t\tconst coordinateX = this._coordinateX;\n\t\tconst coordinateY = this._coordinateY;\n\t\tif (container && coordinateX && coordinateY) {\n\t\t\tconst position = this._position;\n\t\t\tconst work = this._work;\n\t\t\twork.set(\n\t\t\t\tcoordinateX.transform.map(coordinateX.map(position.x)),\n\t\t\t\tcoordinateY.transform.map(coordinateY.map(position.y))\n\t\t\t);\n\t\t\tcontainer.plotArea.container.localTransform.apply(work, work);\n\n\t\t\tconst isGridlineUpdated = this._gridline.update(container, position, work);\n\t\t\tconst isMarkerUpdated = this._marker.update(container, position, work);\n\t\t\treturn isGridlineUpdated || isMarkerUpdated;\n\t\t}\n\t\treturn false;\n\t}\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"d-chart-selection-sub.js","sourceRoot":"","sources":["../../../src/main/typescript/wcardinal/ui/d-chart-selection-sub.ts"],"names":[],"mappings":"AAAA;;;GAGG","sourcesContent":["/*\n * Copyright (C) 2019 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport { Point, utils } from \"pixi.js\";\nimport { DBase, DBaseOnOptions } from \"./d-base\";\nimport { DChartSelectionPoint } from \"./d-chart-selection\";\nimport {
|
|
1
|
+
{"version":3,"file":"d-chart-selection-sub.js","sourceRoot":"","sources":["../../../src/main/typescript/wcardinal/ui/d-chart-selection-sub.ts"],"names":[],"mappings":"AAAA;;;GAGG","sourcesContent":["/*\n * Copyright (C) 2019 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport { Point, utils } from \"pixi.js\";\nimport { DBase, DBaseOnOptions } from \"./d-base\";\nimport { DChartSelectionPoint } from \"./d-chart-selection\";\nimport { DChartSelectionContainerOptions } from \"./d-chart-selection-container\";\nimport { DChartSelectionShapeOptions } from \"./d-chart-selection-shape\";\nimport { DChartSeries, DChartSeriesHitResult } from \"./d-chart-series\";\nimport { DChartSeriesContainer } from \"./d-chart-series-container\";\n\nexport interface DChartSelectionSubOptions<CHART extends DBase = DBase, EMITTER = any> {\n\tenable?: boolean;\n\tgridline?: DChartSelectionContainerOptions<CHART>;\n\tmarker?: DChartSelectionShapeOptions<CHART>;\n\tlabel?: DChartSelectionContainerOptions<CHART>;\n\tstate?: string;\n\ton?: DBaseOnOptions<EMITTER>;\n\tpoint?: DChartSelectionPoint;\n}\n\nexport interface DThemeChartSelectionSub {\n\tisEnabled(): boolean;\n}\n\nexport interface DChartSelectionSub<CHART extends DBase = DBase> extends utils.EventEmitter {\n\treadonly series: DChartSeries<CHART> | null;\n\treadonly position: Point;\n\n\tbind(container: DChartSeriesContainer<CHART>): void;\n\tunbind(): void;\n\tset(\n\t\tseries: DChartSeries<CHART>,\n\t\tresult: DChartSeriesHitResult | DChartSelectionSub<CHART>\n\t): void;\n\tunset(): void;\n\tupdate(): boolean;\n}\n"]}
|
|
@@ -130,8 +130,8 @@ export * from "./d-chart-plot-area-impl";
|
|
|
130
130
|
export * from "./d-chart-region-impl-observable";
|
|
131
131
|
export * from "./d-chart-region-impl";
|
|
132
132
|
export * from "./d-chart-region";
|
|
133
|
-
export * from "./d-chart-selection-
|
|
134
|
-
export * from "./d-chart-selection-
|
|
133
|
+
export * from "./d-chart-selection-container-impl";
|
|
134
|
+
export * from "./d-chart-selection-container";
|
|
135
135
|
export * from "./d-chart-selection-gridline-x";
|
|
136
136
|
export * from "./d-chart-selection-gridline-y";
|
|
137
137
|
export * from "./d-chart-selection-marker";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/main/typescript/wcardinal/ui/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,eAAe,CAAC;AAC9B,cAAc,4BAA4B,CAAC;AAC3C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,kCAAkC,CAAC;AACjD,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,yBAAyB,CAAC;AACxC,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAg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,cAAc,uBAAuB,CAAC;AACtC,cAAc,kBAAkB,CAAC;AACjC,cAAc,eAAe,CAAC;AAC9B,cAAc,kBAAkB,CAAC;AACjC,cAAc,oBAAoB,CAAC;AACnC,cAAc,yBAAyB,CAAC;AACxC,cAAc,oBAAoB,CAAC;AACnC,cAAc,UAAU,CAAC","sourcesContent":["/*\n * Copyright (C) 2019 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nexport * from \"./load\";\nexport * from \"./shape\";\nexport * from \"./snapper\";\nexport * from \"./theme\";\nexport * from \"./util\";\nexport * from \"./d-align-horizontal\";\nexport * from \"./d-align-vertical\";\nexport * from \"./d-align-with\";\nexport * from \"./d-animation-base\";\nexport * from \"./d-animation-empty\";\nexport * from \"./d-animation-fade-in\";\nexport * from \"./d-animation-timings\";\nexport * from \"./d-animation\";\nexport * from \"./d-application-layer-like\";\nexport * from \"./d-application-layer-options\";\nexport * from \"./d-application-layer-stage-like\";\nexport * from \"./d-application-layer\";\nexport * from \"./d-application-like\";\nexport * from \"./d-application-padding\";\nexport * from \"./d-application\";\nexport * from \"./d-applications\";\nexport * from \"./d-background\";\nexport * from \"./d-base-auto-set\";\nexport * from \"./d-base-auto\";\nexport * from \"./d-base-background-mesh-geometry\";\nexport * from \"./d-base-background-mesh\";\nexport * from \"./d-base-background-snippet\";\nexport * from \"./d-base-background\";\nexport * from \"./d-base-border-mesh-geometry\";\nexport * from \"./d-base-border-mesh\";\nexport * from \"./d-base-border-snippet\";\nexport * from \"./d-base-border\";\nexport * from \"./d-base-corner\";\nexport * from \"./d-base-interactive\";\nexport * from \"./d-base-mesh-geometry\";\nexport * from \"./d-base-outline-snippet\";\nexport * from \"./d-base-outline\";\nexport * from \"./d-base-overflow-mask-simple\";\nexport * from \"./d-base-overflow-mask\";\nexport * from \"./d-base-padding-adjustable\";\nexport * from \"./d-base-padding\";\nexport * from \"./d-base-point\";\nexport * from \"./d-base-reflowable-container\";\nexport * from \"./d-base-reflowable-impl\";\nexport * from \"./d-base-reflowable\";\nexport * from \"./d-base-snippet-container\";\nexport * from \"./d-base-snippet\";\nexport * from \"./d-base-state-set-impl-observable\";\nexport * from \"./d-base-state-set-impl\";\nexport * from \"./d-base-state-set-like\";\nexport * from \"./d-base-state-set\";\nexport * from \"./d-base-state\";\nexport * from \"./d-base\";\nexport * from \"./d-board\";\nexport * from \"./d-border-mask\";\nexport * from \"./d-border\";\nexport * from \"./d-button-ambient\";\nexport * from \"./d-button-base-when\";\nexport * from \"./d-button-base\";\nexport * from \"./d-button-check-right\";\nexport * from \"./d-button-check\";\nexport * from \"./d-button-color-gradient\";\nexport * from \"./d-button-color\";\nexport * from \"./d-button-danger\";\nexport * from \"./d-button-date\";\nexport * from \"./d-button-datetime\";\nexport * from \"./d-button-file\";\nexport * from \"./d-button-group\";\nexport * from \"./d-button-link\";\nexport * from \"./d-button-primary\";\nexport * from \"./d-button-radio-right\";\nexport * from \"./d-button-radio\";\nexport * from \"./d-button-redo\";\nexport * from \"./d-button-secondary\";\nexport * from \"./d-button-select\";\nexport * from \"./d-button-time\";\nexport * from \"./d-button-undo\";\nexport * from \"./d-button\";\nexport * from \"./d-canvas-container\";\nexport * from \"./d-canvas\";\nexport * from \"./d-chart-axis-bar\";\nexport * from \"./d-chart-axis-base-bar\";\nexport * from \"./d-chart-axis-base-options-parser\";\nexport * from \"./d-chart-axis-base-options\";\nexport * from \"./d-chart-axis-base-tick-container\";\nexport * from \"./d-chart-axis-base-tick-major-gridline\";\nexport * from \"./d-chart-axis-base-tick-major\";\nexport * from \"./d-chart-axis-base-tick-minor\";\nexport * from \"./d-chart-axis-base\";\nexport * from \"./d-chart-axis-container-impl\";\nexport * from \"./d-chart-axis-container\";\nexport * from \"./d-chart-axis-position\";\nexport * from \"./d-chart-axis-tick-container\";\nexport * from \"./d-chart-axis-tick-major-gridline\";\nexport * from \"./d-chart-axis-tick-major\";\nexport * from \"./d-chart-axis-tick-minor\";\nexport * from \"./d-chart-axis-tick-position\";\nexport * from \"./d-chart-axis-x-datetime\";\nexport * from \"./d-chart-axis-x\";\nexport * from \"./d-chart-axis-y\";\nexport * from \"./d-chart-axis\";\nexport * from \"./d-chart-color-set\";\nexport * from \"./d-chart-coordinate-base\";\nexport * from \"./d-chart-coordinate-container-impl\";\nexport * from \"./d-chart-coordinate-container-sub-impl\";\nexport * from \"./d-chart-coordinate-container-sub\";\nexport * from \"./d-chart-coordinate-container\";\nexport * from \"./d-chart-coordinate-direction\";\nexport * from \"./d-chart-coordinate-linear-tick\";\nexport * from \"./d-chart-coordinate-linear\";\nexport * from \"./d-chart-coordinate-log-tick\";\nexport * from \"./d-chart-coordinate-log\";\nexport * from \"./d-chart-coordinate-tick-major-step-function\";\nexport * from \"./d-chart-coordinate-tick-minor-step-function\";\nexport * from \"./d-chart-coordinate-tick\";\nexport * from \"./d-chart-coordinate-transform-impl\";\nexport * from \"./d-chart-coordinate-transform-mark\";\nexport * from \"./d-chart-coordinate-transform\";\nexport * from \"./d-chart-coordinate\";\nexport * from \"./d-chart-legend-item\";\nexport * from \"./d-chart-legend\";\nexport * from \"./d-chart-overview\";\nexport * from \"./d-chart-plot-area-container\";\nexport * from \"./d-chart-plot-area\";\nexport * from \"./d-chart-plot-area-impl\";\nexport * from \"./d-chart-region-impl-observable\";\nexport * from \"./d-chart-region-impl\";\nexport * from \"./d-chart-region\";\nexport * from \"./d-chart-selection-gridline-container-impl\";\nexport * from \"./d-chart-selection-gridline-container\";\nexport * from \"./d-chart-selection-gridline-x\";\nexport * from \"./d-chart-selection-gridline-y\";\nexport * from \"./d-chart-selection-marker\";\nexport * from \"./d-chart-selection-shape-base\";\nexport * from \"./d-chart-selection-shape\";\nexport * from \"./d-chart-selection-simple\";\nexport * from \"./d-chart-selection-sub-impl\";\nexport * from \"./d-chart-selection-sub\";\nexport * from \"./d-chart-selection\";\nexport * from \"./d-chart-series-bar\";\nexport * from \"./d-chart-series-base-coordinate-container\";\nexport * from \"./d-chart-series-base\";\nexport * from \"./d-chart-series-container-impl\";\nexport * from \"./d-chart-series-container\";\nexport * from \"./d-chart-series-coordinate-container\";\nexport * from \"./d-chart-series-fill-computed-impl\";\nexport * from \"./d-chart-series-fill-computed\";\nexport * from \"./d-chart-series-fill-impl\";\nexport * from \"./d-chart-series-fill\";\nexport * from \"./d-chart-series-line-of-any\";\nexport * from \"./d-chart-series-line-of-circles\";\nexport * from \"./d-chart-series-line-of-rectangle-roundeds\";\nexport * from \"./d-chart-series-line-of-rectangles\";\nexport * from \"./d-chart-series-line-of-triangle-roundeds\";\nexport * from \"./d-chart-series-line-of-triangles\";\nexport * from \"./d-chart-series-line\";\nexport * from \"./d-chart-series-linear-parameters-impl\";\nexport * from \"./d-chart-series-linear-parameters\";\nexport * from \"./d-chart-series-linear\";\nexport * from \"./d-chart-series-padding-computed-impl\";\nexport * from \"./d-chart-series-padding-computed\";\nexport * from \"./d-chart-series-padding-impl\";\nexport * from \"./d-chart-series-padding\";\nexport * from \"./d-chart-series-point-computed-impl\";\nexport * from \"./d-chart-series-point-computed\";\nexport * from \"./d-chart-series-point-impl\";\nexport * from \"./d-chart-series-point\";\nexport * from \"./d-chart-series-scalar\";\nexport * from \"./d-chart-series-stroke-computed-impl\";\nexport * from \"./d-chart-series-stroke-computed\";\nexport * from \"./d-chart-series-stroke-impl\";\nexport * from \"./d-chart-series-stroke\";\nexport * from \"./d-chart-series\";\nexport * from \"./d-chart\";\nexport * from \"./d-color-and-alpha\";\nexport * from \"./d-color-gradient-observable\";\nexport * from \"./d-color-gradient-point-observable\";\nexport * from \"./d-color-gradient\";\nexport * from \"./d-command-base\";\nexport * from \"./d-command-clear\";\nexport * from \"./d-command-create\";\nexport * from \"./d-command-save-as\";\nexport * from \"./d-command-save\";\nexport * from \"./d-command\";\nexport * from \"./d-content\";\nexport * from \"./d-controller-command-impl\";\nexport * from \"./d-controller-command\";\nexport * from \"./d-controller-document\";\nexport * from \"./d-controller-focus-impl\";\nexport * from \"./d-controller-focus\";\nexport * from \"./d-controller-keyboard\";\nexport * from \"./d-controllers\";\nexport * from \"./d-coordinate\";\nexport * from \"./d-corner-mask\";\nexport * from \"./d-corner\";\nexport * from \"./d-diagram-base-controller\";\nexport * from \"./d-diagram-base\";\nexport * from \"./d-diagram-canvas-base\";\nexport * from \"./d-diagram-canvas-base-shape-impl\";\nexport * from \"./d-diagram-canvas-base-shape\";\nexport * from \"./d-diagram-canvas-data-impl\";\nexport * from \"./d-diagram-canvas-data\";\nexport * from \"./d-diagram-canvas-editor-background\";\nexport * from \"./d-diagram-canvas-editor-shape-impl\";\nexport * from \"./d-diagram-canvas-editor-shape\";\nexport * from \"./d-diagram-canvas-editor-snap\";\nexport * from \"./d-diagram-canvas-editor\";\nexport * from \"./d-diagram-canvas-mapping-impl\";\nexport * from \"./d-diagram-canvas-mapping-point-impl\";\nexport * from \"./d-diagram-canvas-mapping\";\nexport * from \"./d-diagram-canvas-shape-impl\";\nexport * from \"./d-diagram-canvas-shape\";\nexport * from \"./d-diagram-canvas-ticker-impl\";\nexport * from \"./d-diagram-canvas-ticker\";\nexport * from \"./d-diagram-canvas-tile\";\nexport * from \"./d-diagram-canvas\";\nexport * from \"./d-diagram-controller\";\nexport * from \"./d-diagram-data-impl\";\nexport * from \"./d-diagram-data-mapper\";\nexport * from \"./d-diagram-data-private-impl\";\nexport * from \"./d-diagram-data-scoped\";\nexport * from \"./d-diagram-data-remote-impl\";\nexport * from \"./d-diagram-data-remote\";\nexport * from \"./d-diagram-data\";\nexport * from \"./d-diagram-editor-controller\";\nexport * from \"./d-diagram-editor-thumbnail\";\nexport * from \"./d-diagram-editor\";\nexport * from \"./d-diagram-layer-background\";\nexport * from \"./d-diagram-layer-container\";\nexport * from \"./d-diagram-layer\";\nexport * from \"./d-diagram-layers\";\nexport * from \"./d-diagram-serialized\";\nexport * from \"./d-diagram-shape\";\nexport * from \"./d-diagram-snapshot\";\nexport * from \"./d-diagram-ticker\";\nexport * from \"./d-diagram\";\nexport * from \"./d-diagrams\";\nexport * from \"./d-dialog-align\";\nexport * from \"./d-dialog-close-on\";\nexport * from \"./d-dialog-color-gradient\";\nexport * from \"./d-dialog-color\";\nexport * from \"./d-dialog-confirm-delete\";\nexport * from \"./d-dialog-confirm-discard\";\nexport * from \"./d-dialog-confirm-message\";\nexport * from \"./d-dialog-confirm\";\nexport * from \"./d-dialog-date\";\nexport * from \"./d-dialog-datetime\";\nexport * from \"./d-dialog-fitted-content\";\nexport * from \"./d-dialog-fitted\";\nexport * from \"./d-dialog-gesture-impl\";\nexport * from \"./d-dialog-gesture-mode\";\nexport * from \"./d-dialog-gesture\";\nexport * from \"./d-dialog-input-boolean\";\nexport * from \"./d-dialog-input-integer\";\nexport * from \"./d-dialog-input-real\";\nexport * from \"./d-dialog-input-text\";\nexport * from \"./d-dialog-input\";\nexport * from \"./d-dialog-layered-content\";\nexport * from \"./d-dialog-layered-footer\";\nexport * from \"./d-dialog-layered-header-button-close\";\nexport * from \"./d-dialog-layered-header-separator\";\nexport * from \"./d-dialog-layered-header\";\nexport * from \"./d-dialog-layered\";\nexport * from \"./d-dialog-message\";\nexport * from \"./d-dialog-mode\";\nexport * from \"./d-dialog-processing-message\";\nexport * from \"./d-dialog-processing\";\nexport * from \"./d-dialog-save-as\";\nexport * from \"./d-dialog-select-list-item-updater\";\nexport * from \"./d-dialog-select-list-item\";\nexport * from \"./d-dialog-select-list\";\nexport * from \"./d-dialog-select-search-dismissable-impl\";\nexport * from \"./d-dialog-select-search-dismissable\";\nexport * from \"./d-dialog-select-search-impl\";\nexport * from \"./d-dialog-select-search\";\nexport * from \"./d-dialog-select\";\nexport * from \"./d-dialog-state\";\nexport * from \"./d-dialog-time\";\nexport * from \"./d-dialog\";\nexport * from \"./d-document\";\nexport * from \"./d-dropdown-base\";\nexport * from \"./d-dropdown\";\nexport * from \"./d-dynamic-text-geometry\";\nexport * from \"./d-dynamic-text-measure-result-character\";\nexport * from \"./d-dynamic-text-measure-result\";\nexport * from \"./d-dynamic-text-measure\";\nexport * from \"./d-dynamic-text-style-word-wrap\";\nexport * from \"./d-dynamic-text-style\";\nexport * from \"./d-dynamic-text\";\nexport * from \"./d-expandable-header\";\nexport * from \"./d-expandable\";\nexport * from \"./d-font\";\nexport * from \"./d-html-element-state\";\nexport * from \"./d-html-element\";\nexport * from \"./d-image-base-theme-wrapper-secondary\";\nexport * from \"./d-image-base-theme-wrapper-tertiary\";\nexport * from \"./d-image-base\";\nexport * from \"./d-image-piece-layouter-part-bottom\";\nexport * from \"./d-image-piece-layouter-part-center\";\nexport * from \"./d-image-piece-layouter-part-container\";\nexport * from \"./d-image-piece-layouter-part-left\";\nexport * from \"./d-image-piece-layouter-part-middle\";\nexport * from \"./d-image-piece-layouter-part-right\";\nexport * from \"./d-image-piece-layouter-part-top\";\nexport * from \"./d-image-piece-layouter-part\";\nexport * from \"./d-image-piece-layouter\";\nexport * from \"./d-image-piece\";\nexport * from \"./d-image\";\nexport * from \"./d-input-and-label\";\nexport * from \"./d-input-boolean-button-off\";\nexport * from \"./d-input-boolean-button-on\";\nexport * from \"./d-input-boolean\";\nexport * from \"./d-input-input\";\nexport * from \"./d-input-integer-and-label\";\nexport * from \"./d-input-integer\";\nexport * from \"./d-input-label\";\nexport * from \"./d-input-number\";\nexport * from \"./d-input-real-and-label\";\nexport * from \"./d-input-real\";\nexport * from \"./d-input-search\";\nexport * from \"./d-input-text-and-label\";\nexport * from \"./d-input-text-area\";\nexport * from \"./d-input-text\";\nexport * from \"./d-input\";\nexport * from \"./d-item-updater\";\nexport * from \"./d-layout-clear-type\";\nexport * from \"./d-layout-direction\";\nexport * from \"./d-layout-horizontal\";\nexport * from \"./d-layout-space\";\nexport * from \"./d-layout-vertical\";\nexport * from \"./d-layout\";\nexport * from \"./d-link-menu-item-id\";\nexport * from \"./d-link-menu\";\nexport * from \"./d-link-target\";\nexport * from \"./d-link\";\nexport * from \"./d-links\";\nexport * from \"./d-list-data-impl\";\nexport * from \"./d-list-data-mapped-impl\";\nexport * from \"./d-list-data-mapped\";\nexport * from \"./d-list-data-selection-multiple\";\nexport * from \"./d-list-data-selection-none\";\nexport * from \"./d-list-data-selection-parent\";\nexport * from \"./d-list-data-selection-single\";\nexport * from \"./d-list-data-selection\";\nexport * from \"./d-list-data\";\nexport * from \"./d-list-item-accessor-impl\";\nexport * from \"./d-list-item-accessor\";\nexport * from \"./d-list-item-ambient\";\nexport * from \"./d-list-item-updater\";\nexport * from \"./d-list-item\";\nexport * from \"./d-list\";\nexport * from \"./d-map-coordinate-epsg3857\";\nexport * from \"./d-map-coordinate\";\nexport * from \"./d-map-coordinates\";\nexport * from \"./d-map-tile-mapping-internal\";\nexport * from \"./d-map-tile-mapping\";\nexport * from \"./d-map-tile-plane\";\nexport * from \"./d-map-tile-pyramid-impl\";\nexport * from \"./d-map-tile-pyramid\";\nexport * from \"./d-map-tile-pyramids\";\nexport * from \"./d-map-tile-url-builder\";\nexport * from \"./d-map-tile\";\nexport * from \"./d-menu-align\";\nexport * from \"./d-menu-bar-item\";\nexport * from \"./d-menu-bar\";\nexport * from \"./d-menu-context\";\nexport * from \"./d-menu-item-base-selection\";\nexport * from \"./d-menu-item-base\";\nexport * from \"./d-menu-item-check-is-compatible\";\nexport * from \"./d-menu-item-check\";\nexport * from \"./d-menu-item-expandable-body\";\nexport * from \"./d-menu-item-expandable-header\";\nexport * from \"./d-menu-item-expandable-is-compatible\";\nexport * from \"./d-menu-item-expandable-item-check\";\nexport * from \"./d-menu-item-expandable-item-link\";\nexport * from \"./d-menu-item-expandable-item-menu\";\nexport * from \"./d-menu-item-expandable-item-separator\";\nexport * from \"./d-menu-item-expandable-item-space\";\nexport * from \"./d-menu-item-expandable-item-text\";\nexport * from \"./d-menu-item-expandable\";\nexport * from \"./d-menu-item-expandables\";\nexport * from \"./d-menu-item-link-is-compatible\";\nexport * from \"./d-menu-item-link\";\nexport * from \"./d-menu-item-menu-is-compatible\";\nexport * from \"./d-menu-item-menu-to-sub-menu-options\";\nexport * from \"./d-menu-item-menu\";\nexport * from \"./d-menu-item-options-union\";\nexport * from \"./d-menu-item-separator-reflowable\";\nexport * from \"./d-menu-item-separator\";\nexport * from \"./d-menu-item-space-is-compatible\";\nexport * from \"./d-menu-item-space\";\nexport * from \"./d-menu-item-text\";\nexport * from \"./d-menu-item\";\nexport * from \"./d-menu-sided-content\";\nexport * from \"./d-menu-sided-item-check\";\nexport * from \"./d-menu-sided-item-expandable-item-check\";\nexport * from \"./d-menu-sided-item-expandable-item-link\";\nexport * from \"./d-menu-sided-item-expandable-item-menu\";\nexport * from \"./d-menu-sided-item-expandable-item-separator\";\nexport * from \"./d-menu-sided-item-expandable-item-space\";\nexport * from \"./d-menu-sided-item-expandable-item-text\";\nexport * from \"./d-menu-sided-item-expandable\";\nexport * from \"./d-menu-sided-item-expandables\";\nexport * from \"./d-menu-sided-item-link\";\nexport * from \"./d-menu-sided-item-menu\";\nexport * from \"./d-menu-sided-item-separator\";\nexport * from \"./d-menu-sided-item-space\";\nexport * from \"./d-menu-sided-item-text\";\nexport * from \"./d-menu-sided-selection\";\nexport * from \"./d-menu-sided\";\nexport * from \"./d-menu-sideds\";\nexport * from \"./d-menu\";\nexport * from \"./d-menus\";\nexport * from \"./d-note-error\";\nexport * from \"./d-note-no-items-found\";\nexport * from \"./d-note-searching\";\nexport * from \"./d-note-small-error\";\nexport * from \"./d-note-small-no-items-found\";\nexport * from \"./d-note-small-searching\";\nexport * from \"./d-note-small\";\nexport * from \"./d-note\";\nexport * from \"./d-notification\";\nexport * from \"./d-outline\";\nexport * from \"./d-padding\";\nexport * from \"./d-pagination-button-last\";\nexport * from \"./d-pagination-button-next\";\nexport * from \"./d-pagination-button-page\";\nexport * from \"./d-pagination-button-previous\";\nexport * from \"./d-pagination-button-top\";\nexport * from \"./d-pagination-dots\";\nexport * from \"./d-pagination-page\";\nexport * from \"./d-pagination\";\nexport * from \"./d-pane-scrollbar\";\nexport * from \"./d-pane\";\nexport * from \"./d-picker-color-and-alpha\";\nexport * from \"./d-picker-color-gradient-recent\";\nexport * from \"./d-picker-color-gradient-view\";\nexport * from \"./d-picker-color-gradient\";\nexport * from \"./d-picker-color-recent\";\nexport * from \"./d-picker-color\";\nexport * from \"./d-picker-date\";\nexport * from \"./d-picker-dates\";\nexport * from \"./d-picker-datetime-button-back\";\nexport * from \"./d-picker-datetime-button-date\";\nexport * from \"./d-picker-datetime-button-next\";\nexport * from \"./d-picker-datetime-label-date\";\nexport * from \"./d-picker-datetime-label\";\nexport * from \"./d-picker-datetime-mask\";\nexport * from \"./d-picker-datetime-masks\";\nexport * from \"./d-picker-datetime-range\";\nexport * from \"./d-picker-datetime-space\";\nexport * from \"./d-picker-datetime\";\nexport * from \"./d-picker-datetimes\";\nexport * from \"./d-picker-time-bound-constant\";\nexport * from \"./d-picker-time-bound-hours\";\nexport * from \"./d-picker-time-bound-minutes\";\nexport * from \"./d-picker-time-bound-seconds\";\nexport * from \"./d-picker-time-bound\";\nexport * from \"./d-picker-time-bounds\";\nexport * from \"./d-picker-time-range\";\nexport * from \"./d-picker-time\";\nexport * from \"./d-picker-times\";\nexport * from \"./d-scalar-expression\";\nexport * from \"./d-scalar-function\";\nexport * from \"./d-scalar-functions\";\nexport * from \"./d-scalar-set\";\nexport * from \"./d-scalar\";\nexport * from \"./d-scroll-bar-horizontal\";\nexport * from \"./d-scroll-bar-thumb-horizontal\";\nexport * from \"./d-scroll-bar-thumb-reflowable-horizontal\";\nexport * from \"./d-scroll-bar-thumb-reflowable-vertical\";\nexport * from \"./d-scroll-bar-thumb-vertical\";\nexport * from \"./d-scroll-bar-thumb\";\nexport * from \"./d-scroll-bar-vertical\";\nexport * from \"./d-scroll-bar\";\nexport * from \"./d-select-multiple\";\nexport * from \"./d-select\";\nexport * from \"./d-shadow-impl\";\nexport * from \"./d-shadow\";\nexport * from \"./d-slider-horizontal\";\nexport * from \"./d-slider-label\";\nexport * from \"./d-slider-thumb\";\nexport * from \"./d-slider-track-horizontal\";\nexport * from \"./d-slider-track-vertical\";\nexport * from \"./d-slider-track\";\nexport * from \"./d-slider-value\";\nexport * from \"./d-slider-vertical\";\nexport * from \"./d-slider\";\nexport * from \"./d-state-aware\";\nexport * from \"./d-table-body-cell-action-dialog\";\nexport * from \"./d-table-body-cell-action-menu\";\nexport * from \"./d-table-body-cell-action-promise\";\nexport * from \"./d-table-body-cell-button\";\nexport * from \"./d-table-body-cell-check\";\nexport * from \"./d-table-body-cell-color\";\nexport * from \"./d-table-body-cell-date\";\nexport * from \"./d-table-body-cell-datetime\";\nexport * from \"./d-table-body-cell-index\";\nexport * from \"./d-table-body-cell-input-integer\";\nexport * from \"./d-table-body-cell-input-real\";\nexport * from \"./d-table-body-cell-input-text\";\nexport * from \"./d-table-body-cell-input-tree-input\";\nexport * from \"./d-table-body-cell-input-tree-marker\";\nexport * from \"./d-table-body-cell-input-tree\";\nexport * from \"./d-table-body-cell-options\";\nexport * from \"./d-table-body-cell-link\";\nexport * from \"./d-table-body-cell-select-dialog\";\nexport * from \"./d-table-body-cell-select-menu\";\nexport * from \"./d-table-body-cell-select-multiple\";\nexport * from \"./d-table-body-cell-select-promise\";\nexport * from \"./d-table-body-cell-text\";\nexport * from \"./d-table-body-cell-time\";\nexport * from \"./d-table-body-cell-tree\";\nexport * from \"./d-table-body-cell\";\nexport * from \"./d-table-body-cells\";\nexport * from \"./d-table-body-row\";\nexport * from \"./d-table-body\";\nexport * from \"./d-table-category-cell\";\nexport * from \"./d-table-category\";\nexport * from \"./d-table-column-editing\";\nexport * from \"./d-table-column-formatter\";\nexport * from \"./d-table-column-getter\";\nexport * from \"./d-table-column-renderable\";\nexport * from \"./d-table-column-selecting\";\nexport * from \"./d-table-column-setter\";\nexport * from \"./d-table-column-sorting\";\nexport * from \"./d-table-column-state\";\nexport * from \"./d-table-column-type\";\nexport * from \"./d-table-column\";\nexport * from \"./d-table-data-filter\";\nexport * from \"./d-table-data-list-filter\";\nexport * from \"./d-table-data-list-mapped\";\nexport * from \"./d-table-data-list-selection\";\nexport * from \"./d-table-data-list-sorter\";\nexport * from \"./d-table-data-list\";\nexport * from \"./d-table-data-selection\";\nexport * from \"./d-table-data-sorter\";\nexport * from \"./d-table-data-tree-filter\";\nexport * from \"./d-table-data-tree-item-accessor\";\nexport * from \"./d-table-data-tree-item\";\nexport * from \"./d-table-data-tree-selection-impl\";\nexport * from \"./d-table-data-tree-selection\";\nexport * from \"./d-table-data-tree-sorter\";\nexport * from \"./d-table-data-tree\";\nexport * from \"./d-table-data\";\nexport * from \"./d-table-header-cell-check\";\nexport * from \"./d-table-header-cell\";\nexport * from \"./d-table-header\";\nexport * from \"./d-table-row\";\nexport * from \"./d-table-scrollbar\";\nexport * from \"./d-table-state\";\nexport * from \"./d-table\";\nexport * from \"./d-text-base\";\nexport * from \"./d-text\";\nexport * from \"./d-tree-data-impl\";\nexport * from \"./d-tree-data-mapped-impl\";\nexport * from \"./d-tree-data-mapped\";\nexport * from \"./d-tree-data-selection-multiple\";\nexport * from \"./d-tree-data-selection-none\";\nexport * from \"./d-tree-data-selection-parent\";\nexport * from \"./d-tree-data-selection-single\";\nexport * from \"./d-tree-data-selection\";\nexport * from \"./d-tree-data\";\nexport * from \"./d-tree-item-button\";\nexport * from \"./d-tree-item-non-editable\";\nexport * from \"./d-tree-item-state\";\nexport * from \"./d-tree-item-text\";\nexport * from \"./d-tree-item-updater\";\nexport * from \"./d-tree-item\";\nexport * from \"./d-tree-node-accessor-impl\";\nexport * from \"./d-tree-node-accessor\";\nexport * from \"./d-tree-node-iteratee\";\nexport * from \"./d-tree-node\";\nexport * from \"./d-tree\";\nexport * from \"./d-view-constraint\";\nexport * from \"./d-view-gesture-impl\";\nexport * from \"./d-view-gesture\";\nexport * from \"./d-view-impl\";\nexport * from \"./d-view-stopper\";\nexport * from \"./d-view-to-target\";\nexport * from \"./d-view-transform-impl\";\nexport * from \"./d-view-transform\";\nexport * from \"./d-view\";\n"]}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/main/typescript/wcardinal/ui/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AA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AC;AACzB,cAAc,oBAAoB,CAAC;AACnC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,sBAAsB,CAAC;AACrC,cAAc,kCAAkC,CAAC;AACjD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,yBAAyB,CAAC;AACxC,cAAc,eAAe,CAAC;AAC9B,cAAc,sBAAsB,CAAC;AACrC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,uBAAuB,CAAC;AACtC,cAAc,eAAe,CAAC;AAC9B,cAAc,6BAA6B,CAAC;AAC5C,cAAc,wBAAwB,CAAC;AACvC,cAAc,wBAAwB,CAAC;AACvC,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC;AACzB,cAAc,qBAAqB,CAAC;AACpC,cAAc,uBAAuB,CAAC;AACtC,cAAc,kBAAkB,CAAC;AACjC,cAAc,eAAe,CAAC;AAC9B,cAAc,kBAAkB,CAAC;AACjC,cAAc,oBAAoB,CAAC;AACnC,cAAc,yBAAyB,CAAC;AACxC,cAAc,oBAAoB,CAAC;AACnC,cAAc,UAAU,CAAC","sourcesContent":["/*\n * Copyright (C) 2019 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nexport * from \"./load\";\nexport * from \"./shape\";\nexport * from \"./snapper\";\nexport * from \"./theme\";\nexport * from \"./util\";\nexport * from \"./d-align-horizontal\";\nexport * from \"./d-align-vertical\";\nexport * from \"./d-align-with\";\nexport * from \"./d-animation-base\";\nexport * from \"./d-animation-empty\";\nexport * from \"./d-animation-fade-in\";\nexport * from \"./d-animation-timings\";\nexport * from \"./d-animation\";\nexport * from \"./d-application-layer-like\";\nexport * from \"./d-application-layer-options\";\nexport * from \"./d-application-layer-stage-like\";\nexport * from \"./d-application-layer\";\nexport * from \"./d-application-like\";\nexport * from \"./d-application-padding\";\nexport * from \"./d-application\";\nexport * from \"./d-applications\";\nexport * from \"./d-background\";\nexport * from \"./d-base-auto-set\";\nexport * from \"./d-base-auto\";\nexport * from \"./d-base-background-mesh-geometry\";\nexport * from \"./d-base-background-mesh\";\nexport * from \"./d-base-background-snippet\";\nexport * from \"./d-base-background\";\nexport * from \"./d-base-border-mesh-geometry\";\nexport * from \"./d-base-border-mesh\";\nexport * from \"./d-base-border-snippet\";\nexport * from \"./d-base-border\";\nexport * from \"./d-base-corner\";\nexport * from \"./d-base-interactive\";\nexport * from \"./d-base-mesh-geometry\";\nexport * from \"./d-base-outline-snippet\";\nexport * from \"./d-base-outline\";\nexport * from \"./d-base-overflow-mask-simple\";\nexport * from \"./d-base-overflow-mask\";\nexport * from \"./d-base-padding-adjustable\";\nexport * from \"./d-base-padding\";\nexport * from \"./d-base-point\";\nexport * from \"./d-base-reflowable-container\";\nexport * from \"./d-base-reflowable-impl\";\nexport * from \"./d-base-reflowable\";\nexport * from \"./d-base-snippet-container\";\nexport * from \"./d-base-snippet\";\nexport * from \"./d-base-state-set-impl-observable\";\nexport * from \"./d-base-state-set-impl\";\nexport * from \"./d-base-state-set-like\";\nexport * from \"./d-base-state-set\";\nexport * from \"./d-base-state\";\nexport * from \"./d-base\";\nexport * from \"./d-board\";\nexport * from \"./d-border-mask\";\nexport * from \"./d-border\";\nexport * from \"./d-button-ambient\";\nexport * from \"./d-button-base-when\";\nexport * from \"./d-button-base\";\nexport * from \"./d-button-check-right\";\nexport * from \"./d-button-check\";\nexport * from \"./d-button-color-gradient\";\nexport * from \"./d-button-color\";\nexport * from \"./d-button-danger\";\nexport * from \"./d-button-date\";\nexport * from \"./d-button-datetime\";\nexport * from \"./d-button-file\";\nexport * from \"./d-button-group\";\nexport * from \"./d-button-link\";\nexport * from \"./d-button-primary\";\nexport * from \"./d-button-radio-right\";\nexport * from \"./d-button-radio\";\nexport * from \"./d-button-redo\";\nexport * from \"./d-button-secondary\";\nexport * from \"./d-button-select\";\nexport * from \"./d-button-time\";\nexport * from \"./d-button-undo\";\nexport * from \"./d-button\";\nexport * from \"./d-canvas-container\";\nexport * from \"./d-canvas\";\nexport * from \"./d-chart-axis-bar\";\nexport * from \"./d-chart-axis-base-bar\";\nexport * from \"./d-chart-axis-base-options-parser\";\nexport * from \"./d-chart-axis-base-options\";\nexport * from \"./d-chart-axis-base-tick-container\";\nexport * from \"./d-chart-axis-base-tick-major-gridline\";\nexport * from \"./d-chart-axis-base-tick-major\";\nexport * from \"./d-chart-axis-base-tick-minor\";\nexport * from \"./d-chart-axis-base\";\nexport * from \"./d-chart-axis-container-impl\";\nexport * from \"./d-chart-axis-container\";\nexport * from \"./d-chart-axis-position\";\nexport * from \"./d-chart-axis-tick-container\";\nexport * from \"./d-chart-axis-tick-major-gridline\";\nexport * from \"./d-chart-axis-tick-major\";\nexport * from \"./d-chart-axis-tick-minor\";\nexport * from \"./d-chart-axis-tick-position\";\nexport * from \"./d-chart-axis-x-datetime\";\nexport * from \"./d-chart-axis-x\";\nexport * from \"./d-chart-axis-y\";\nexport * from \"./d-chart-axis\";\nexport * from \"./d-chart-color-set\";\nexport * from \"./d-chart-coordinate-base\";\nexport * from \"./d-chart-coordinate-container-impl\";\nexport * from \"./d-chart-coordinate-container-sub-impl\";\nexport * from \"./d-chart-coordinate-container-sub\";\nexport * from \"./d-chart-coordinate-container\";\nexport * from \"./d-chart-coordinate-direction\";\nexport * from \"./d-chart-coordinate-linear-tick\";\nexport * from \"./d-chart-coordinate-linear\";\nexport * from \"./d-chart-coordinate-log-tick\";\nexport * from \"./d-chart-coordinate-log\";\nexport * from \"./d-chart-coordinate-tick-major-step-function\";\nexport * from \"./d-chart-coordinate-tick-minor-step-function\";\nexport * from \"./d-chart-coordinate-tick\";\nexport * from \"./d-chart-coordinate-transform-impl\";\nexport * from \"./d-chart-coordinate-transform-mark\";\nexport * from \"./d-chart-coordinate-transform\";\nexport * from \"./d-chart-coordinate\";\nexport * from \"./d-chart-legend-item\";\nexport * from \"./d-chart-legend\";\nexport * from \"./d-chart-overview\";\nexport * from \"./d-chart-plot-area-container\";\nexport * from \"./d-chart-plot-area\";\nexport * from \"./d-chart-plot-area-impl\";\nexport * from \"./d-chart-region-impl-observable\";\nexport * from \"./d-chart-region-impl\";\nexport * from \"./d-chart-region\";\nexport * from \"./d-chart-selection-container-impl\";\nexport * from \"./d-chart-selection-container\";\nexport * from \"./d-chart-selection-gridline-x\";\nexport * from \"./d-chart-selection-gridline-y\";\nexport * from \"./d-chart-selection-marker\";\nexport * from \"./d-chart-selection-shape-base\";\nexport * from \"./d-chart-selection-shape\";\nexport * from \"./d-chart-selection-simple\";\nexport * from \"./d-chart-selection-sub-impl\";\nexport * from \"./d-chart-selection-sub\";\nexport * from \"./d-chart-selection\";\nexport * from \"./d-chart-series-bar\";\nexport * from \"./d-chart-series-base-coordinate-container\";\nexport * from \"./d-chart-series-base\";\nexport * from \"./d-chart-series-container-impl\";\nexport * from \"./d-chart-series-container\";\nexport * from \"./d-chart-series-coordinate-container\";\nexport * from \"./d-chart-series-fill-computed-impl\";\nexport * from \"./d-chart-series-fill-computed\";\nexport * from \"./d-chart-series-fill-impl\";\nexport * from \"./d-chart-series-fill\";\nexport * from \"./d-chart-series-line-of-any\";\nexport * from \"./d-chart-series-line-of-circles\";\nexport * from \"./d-chart-series-line-of-rectangle-roundeds\";\nexport * from \"./d-chart-series-line-of-rectangles\";\nexport * from \"./d-chart-series-line-of-triangle-roundeds\";\nexport * from \"./d-chart-series-line-of-triangles\";\nexport * from \"./d-chart-series-line\";\nexport * from \"./d-chart-series-linear-parameters-impl\";\nexport * from \"./d-chart-series-linear-parameters\";\nexport * from \"./d-chart-series-linear\";\nexport * from \"./d-chart-series-padding-computed-impl\";\nexport * from \"./d-chart-series-padding-computed\";\nexport * from \"./d-chart-series-padding-impl\";\nexport * from \"./d-chart-series-padding\";\nexport * from \"./d-chart-series-point-computed-impl\";\nexport * from \"./d-chart-series-point-computed\";\nexport * from \"./d-chart-series-point-impl\";\nexport * from \"./d-chart-series-point\";\nexport * from \"./d-chart-series-scalar\";\nexport * from \"./d-chart-series-stroke-computed-impl\";\nexport * from \"./d-chart-series-stroke-computed\";\nexport * from \"./d-chart-series-stroke-impl\";\nexport * from \"./d-chart-series-stroke\";\nexport * from \"./d-chart-series\";\nexport * from \"./d-chart\";\nexport * from \"./d-color-and-alpha\";\nexport * from \"./d-color-gradient-observable\";\nexport * from \"./d-color-gradient-point-observable\";\nexport * from \"./d-color-gradient\";\nexport * from \"./d-command-base\";\nexport * from \"./d-command-clear\";\nexport * from \"./d-command-create\";\nexport * from \"./d-command-save-as\";\nexport * from \"./d-command-save\";\nexport * from \"./d-command\";\nexport * from \"./d-content\";\nexport * from \"./d-controller-command-impl\";\nexport * from \"./d-controller-command\";\nexport * from \"./d-controller-document\";\nexport * from \"./d-controller-focus-impl\";\nexport * from \"./d-controller-focus\";\nexport * from \"./d-controller-keyboard\";\nexport * from \"./d-controllers\";\nexport * from \"./d-coordinate\";\nexport * from \"./d-corner-mask\";\nexport * from \"./d-corner\";\nexport * from \"./d-diagram-base-controller\";\nexport * from \"./d-diagram-base\";\nexport * from \"./d-diagram-canvas-base\";\nexport * from \"./d-diagram-canvas-base-shape-impl\";\nexport * from \"./d-diagram-canvas-base-shape\";\nexport * from \"./d-diagram-canvas-data-impl\";\nexport * from \"./d-diagram-canvas-data\";\nexport * from \"./d-diagram-canvas-editor-background\";\nexport * from \"./d-diagram-canvas-editor-shape-impl\";\nexport * from \"./d-diagram-canvas-editor-shape\";\nexport * from \"./d-diagram-canvas-editor-snap\";\nexport * from \"./d-diagram-canvas-editor\";\nexport * from \"./d-diagram-canvas-mapping-impl\";\nexport * from \"./d-diagram-canvas-mapping-point-impl\";\nexport * from \"./d-diagram-canvas-mapping\";\nexport * from \"./d-diagram-canvas-shape-impl\";\nexport * from \"./d-diagram-canvas-shape\";\nexport * from \"./d-diagram-canvas-ticker-impl\";\nexport * from \"./d-diagram-canvas-ticker\";\nexport * from \"./d-diagram-canvas-tile\";\nexport * from \"./d-diagram-canvas\";\nexport * from \"./d-diagram-controller\";\nexport * from \"./d-diagram-data-impl\";\nexport * from \"./d-diagram-data-mapper\";\nexport * from \"./d-diagram-data-private-impl\";\nexport * from \"./d-diagram-data-scoped\";\nexport * from \"./d-diagram-data-remote-impl\";\nexport * from \"./d-diagram-data-remote\";\nexport * from \"./d-diagram-data\";\nexport * from \"./d-diagram-editor-controller\";\nexport * from \"./d-diagram-editor-thumbnail\";\nexport * from \"./d-diagram-editor\";\nexport * from \"./d-diagram-layer-background\";\nexport * from \"./d-diagram-layer-container\";\nexport * from \"./d-diagram-layer\";\nexport * from \"./d-diagram-layers\";\nexport * from \"./d-diagram-serialized\";\nexport * from \"./d-diagram-shape\";\nexport * from \"./d-diagram-snapshot\";\nexport * from \"./d-diagram-ticker\";\nexport * from \"./d-diagram\";\nexport * from \"./d-diagrams\";\nexport * from \"./d-dialog-align\";\nexport * from \"./d-dialog-close-on\";\nexport * from \"./d-dialog-color-gradient\";\nexport * from \"./d-dialog-color\";\nexport * from \"./d-dialog-confirm-delete\";\nexport * from \"./d-dialog-confirm-discard\";\nexport * from \"./d-dialog-confirm-message\";\nexport * from \"./d-dialog-confirm\";\nexport * from \"./d-dialog-date\";\nexport * from \"./d-dialog-datetime\";\nexport * from \"./d-dialog-fitted-content\";\nexport * from \"./d-dialog-fitted\";\nexport * from \"./d-dialog-gesture-impl\";\nexport * from \"./d-dialog-gesture-mode\";\nexport * from \"./d-dialog-gesture\";\nexport * from \"./d-dialog-input-boolean\";\nexport * from \"./d-dialog-input-integer\";\nexport * from \"./d-dialog-input-real\";\nexport * from \"./d-dialog-input-text\";\nexport * from \"./d-dialog-input\";\nexport * from \"./d-dialog-layered-content\";\nexport * from \"./d-dialog-layered-footer\";\nexport * from \"./d-dialog-layered-header-button-close\";\nexport * from \"./d-dialog-layered-header-separator\";\nexport * from \"./d-dialog-layered-header\";\nexport * from \"./d-dialog-layered\";\nexport * from \"./d-dialog-message\";\nexport * from \"./d-dialog-mode\";\nexport * from \"./d-dialog-processing-message\";\nexport * from \"./d-dialog-processing\";\nexport * from \"./d-dialog-save-as\";\nexport * from \"./d-dialog-select-list-item-updater\";\nexport * from \"./d-dialog-select-list-item\";\nexport * from \"./d-dialog-select-list\";\nexport * from \"./d-dialog-select-search-dismissable-impl\";\nexport * from \"./d-dialog-select-search-dismissable\";\nexport * from \"./d-dialog-select-search-impl\";\nexport * from \"./d-dialog-select-search\";\nexport * from \"./d-dialog-select\";\nexport * from \"./d-dialog-state\";\nexport * from \"./d-dialog-time\";\nexport * from \"./d-dialog\";\nexport * from \"./d-document\";\nexport * from \"./d-dropdown-base\";\nexport * from \"./d-dropdown\";\nexport * from \"./d-dynamic-text-geometry\";\nexport * from \"./d-dynamic-text-measure-result-character\";\nexport * from \"./d-dynamic-text-measure-result\";\nexport * from \"./d-dynamic-text-measure\";\nexport * from \"./d-dynamic-text-style-word-wrap\";\nexport * from \"./d-dynamic-text-style\";\nexport * from \"./d-dynamic-text\";\nexport * from \"./d-expandable-header\";\nexport * from \"./d-expandable\";\nexport * from \"./d-font\";\nexport * from \"./d-html-element-state\";\nexport * from \"./d-html-element\";\nexport * from \"./d-image-base-theme-wrapper-secondary\";\nexport * from \"./d-image-base-theme-wrapper-tertiary\";\nexport * from \"./d-image-base\";\nexport * from \"./d-image-piece-layouter-part-bottom\";\nexport * from \"./d-image-piece-layouter-part-center\";\nexport * from \"./d-image-piece-layouter-part-container\";\nexport * from \"./d-image-piece-layouter-part-left\";\nexport * from \"./d-image-piece-layouter-part-middle\";\nexport * from \"./d-image-piece-layouter-part-right\";\nexport * from \"./d-image-piece-layouter-part-top\";\nexport * from \"./d-image-piece-layouter-part\";\nexport * from \"./d-image-piece-layouter\";\nexport * from \"./d-image-piece\";\nexport * from \"./d-image\";\nexport * from \"./d-input-and-label\";\nexport * from \"./d-input-boolean-button-off\";\nexport * from \"./d-input-boolean-button-on\";\nexport * from \"./d-input-boolean\";\nexport * from \"./d-input-input\";\nexport * from \"./d-input-integer-and-label\";\nexport * from \"./d-input-integer\";\nexport * from \"./d-input-label\";\nexport * from \"./d-input-number\";\nexport * from \"./d-input-real-and-label\";\nexport * from \"./d-input-real\";\nexport * from \"./d-input-search\";\nexport * from \"./d-input-text-and-label\";\nexport * from \"./d-input-text-area\";\nexport * from \"./d-input-text\";\nexport * from \"./d-input\";\nexport * from \"./d-item-updater\";\nexport * from \"./d-layout-clear-type\";\nexport * from \"./d-layout-direction\";\nexport * from \"./d-layout-horizontal\";\nexport * from \"./d-layout-space\";\nexport * from \"./d-layout-vertical\";\nexport * from \"./d-layout\";\nexport * from \"./d-link-menu-item-id\";\nexport * from \"./d-link-menu\";\nexport * from \"./d-link-target\";\nexport * from \"./d-link\";\nexport * from \"./d-links\";\nexport * from \"./d-list-data-impl\";\nexport * from \"./d-list-data-mapped-impl\";\nexport * from \"./d-list-data-mapped\";\nexport * from \"./d-list-data-selection-multiple\";\nexport * from \"./d-list-data-selection-none\";\nexport * from \"./d-list-data-selection-parent\";\nexport * from \"./d-list-data-selection-single\";\nexport * from \"./d-list-data-selection\";\nexport * from \"./d-list-data\";\nexport * from \"./d-list-item-accessor-impl\";\nexport * from \"./d-list-item-accessor\";\nexport * from \"./d-list-item-ambient\";\nexport * from \"./d-list-item-updater\";\nexport * from \"./d-list-item\";\nexport * from \"./d-list\";\nexport * from \"./d-map-coordinate-epsg3857\";\nexport * from \"./d-map-coordinate\";\nexport * from \"./d-map-coordinates\";\nexport * from \"./d-map-tile-mapping-internal\";\nexport * from \"./d-map-tile-mapping\";\nexport * from \"./d-map-tile-plane\";\nexport * from \"./d-map-tile-pyramid-impl\";\nexport * from \"./d-map-tile-pyramid\";\nexport * from \"./d-map-tile-pyramids\";\nexport * from \"./d-map-tile-url-builder\";\nexport * from \"./d-map-tile\";\nexport * from \"./d-menu-align\";\nexport * from \"./d-menu-bar-item\";\nexport * from \"./d-menu-bar\";\nexport * from \"./d-menu-context\";\nexport * from \"./d-menu-item-base-selection\";\nexport * from \"./d-menu-item-base\";\nexport * from \"./d-menu-item-check-is-compatible\";\nexport * from \"./d-menu-item-check\";\nexport * from \"./d-menu-item-expandable-body\";\nexport * from \"./d-menu-item-expandable-header\";\nexport * from \"./d-menu-item-expandable-is-compatible\";\nexport * from \"./d-menu-item-expandable-item-check\";\nexport * from \"./d-menu-item-expandable-item-link\";\nexport * from \"./d-menu-item-expandable-item-menu\";\nexport * from \"./d-menu-item-expandable-item-separator\";\nexport * from \"./d-menu-item-expandable-item-space\";\nexport * from \"./d-menu-item-expandable-item-text\";\nexport * from \"./d-menu-item-expandable\";\nexport * from \"./d-menu-item-expandables\";\nexport * from \"./d-menu-item-link-is-compatible\";\nexport * from \"./d-menu-item-link\";\nexport * from \"./d-menu-item-menu-is-compatible\";\nexport * from \"./d-menu-item-menu-to-sub-menu-options\";\nexport * from \"./d-menu-item-menu\";\nexport * from \"./d-menu-item-options-union\";\nexport * from \"./d-menu-item-separator-reflowable\";\nexport * from \"./d-menu-item-separator\";\nexport * from \"./d-menu-item-space-is-compatible\";\nexport * from \"./d-menu-item-space\";\nexport * from \"./d-menu-item-text\";\nexport * from \"./d-menu-item\";\nexport * from \"./d-menu-sided-content\";\nexport * from \"./d-menu-sided-item-check\";\nexport * from \"./d-menu-sided-item-expandable-item-check\";\nexport * from \"./d-menu-sided-item-expandable-item-link\";\nexport * from \"./d-menu-sided-item-expandable-item-menu\";\nexport * from \"./d-menu-sided-item-expandable-item-separator\";\nexport * from \"./d-menu-sided-item-expandable-item-space\";\nexport * from \"./d-menu-sided-item-expandable-item-text\";\nexport * from \"./d-menu-sided-item-expandable\";\nexport * from \"./d-menu-sided-item-expandables\";\nexport * from \"./d-menu-sided-item-link\";\nexport * from \"./d-menu-sided-item-menu\";\nexport * from \"./d-menu-sided-item-separator\";\nexport * from \"./d-menu-sided-item-space\";\nexport * from \"./d-menu-sided-item-text\";\nexport * from \"./d-menu-sided-selection\";\nexport * from \"./d-menu-sided\";\nexport * from \"./d-menu-sideds\";\nexport * from \"./d-menu\";\nexport * from \"./d-menus\";\nexport * from \"./d-note-error\";\nexport * from \"./d-note-no-items-found\";\nexport * from \"./d-note-searching\";\nexport * from \"./d-note-small-error\";\nexport * from \"./d-note-small-no-items-found\";\nexport * from \"./d-note-small-searching\";\nexport * from \"./d-note-small\";\nexport * from \"./d-note\";\nexport * from \"./d-notification\";\nexport * from \"./d-outline\";\nexport * from \"./d-padding\";\nexport * from \"./d-pagination-button-last\";\nexport * from \"./d-pagination-button-next\";\nexport * from \"./d-pagination-button-page\";\nexport * from \"./d-pagination-button-previous\";\nexport * from \"./d-pagination-button-top\";\nexport * from \"./d-pagination-dots\";\nexport * from \"./d-pagination-page\";\nexport * from \"./d-pagination\";\nexport * from \"./d-pane-scrollbar\";\nexport * from \"./d-pane\";\nexport * from \"./d-picker-color-and-alpha\";\nexport * from \"./d-picker-color-gradient-recent\";\nexport * from \"./d-picker-color-gradient-view\";\nexport * from \"./d-picker-color-gradient\";\nexport * from \"./d-picker-color-recent\";\nexport * from \"./d-picker-color\";\nexport * from \"./d-picker-date\";\nexport * from \"./d-picker-dates\";\nexport * from \"./d-picker-datetime-button-back\";\nexport * from \"./d-picker-datetime-button-date\";\nexport * from \"./d-picker-datetime-button-next\";\nexport * from \"./d-picker-datetime-label-date\";\nexport * from \"./d-picker-datetime-label\";\nexport * from \"./d-picker-datetime-mask\";\nexport * from \"./d-picker-datetime-masks\";\nexport * from \"./d-picker-datetime-range\";\nexport * from \"./d-picker-datetime-space\";\nexport * from \"./d-picker-datetime\";\nexport * from \"./d-picker-datetimes\";\nexport * from \"./d-picker-time-bound-constant\";\nexport * from \"./d-picker-time-bound-hours\";\nexport * from \"./d-picker-time-bound-minutes\";\nexport * from \"./d-picker-time-bound-seconds\";\nexport * from \"./d-picker-time-bound\";\nexport * from \"./d-picker-time-bounds\";\nexport * from \"./d-picker-time-range\";\nexport * from \"./d-picker-time\";\nexport * from \"./d-picker-times\";\nexport * from \"./d-scalar-expression\";\nexport * from \"./d-scalar-function\";\nexport * from \"./d-scalar-functions\";\nexport * from \"./d-scalar-set\";\nexport * from \"./d-scalar\";\nexport * from \"./d-scroll-bar-horizontal\";\nexport * from \"./d-scroll-bar-thumb-horizontal\";\nexport * from \"./d-scroll-bar-thumb-reflowable-horizontal\";\nexport * from \"./d-scroll-bar-thumb-reflowable-vertical\";\nexport * from \"./d-scroll-bar-thumb-vertical\";\nexport * from \"./d-scroll-bar-thumb\";\nexport * from \"./d-scroll-bar-vertical\";\nexport * from \"./d-scroll-bar\";\nexport * from \"./d-select-multiple\";\nexport * from \"./d-select\";\nexport * from \"./d-shadow-impl\";\nexport * from \"./d-shadow\";\nexport * from \"./d-slider-horizontal\";\nexport * from \"./d-slider-label\";\nexport * from \"./d-slider-thumb\";\nexport * from \"./d-slider-track-horizontal\";\nexport * from \"./d-slider-track-vertical\";\nexport * from \"./d-slider-track\";\nexport * from \"./d-slider-value\";\nexport * from \"./d-slider-vertical\";\nexport * from \"./d-slider\";\nexport * from \"./d-state-aware\";\nexport * from \"./d-table-body-cell-action-dialog\";\nexport * from \"./d-table-body-cell-action-menu\";\nexport * from \"./d-table-body-cell-action-promise\";\nexport * from \"./d-table-body-cell-button\";\nexport * from \"./d-table-body-cell-check\";\nexport * from \"./d-table-body-cell-color\";\nexport * from \"./d-table-body-cell-date\";\nexport * from \"./d-table-body-cell-datetime\";\nexport * from \"./d-table-body-cell-index\";\nexport * from \"./d-table-body-cell-input-integer\";\nexport * from \"./d-table-body-cell-input-real\";\nexport * from \"./d-table-body-cell-input-text\";\nexport * from \"./d-table-body-cell-input-tree-input\";\nexport * from \"./d-table-body-cell-input-tree-marker\";\nexport * from \"./d-table-body-cell-input-tree\";\nexport * from \"./d-table-body-cell-options\";\nexport * from \"./d-table-body-cell-link\";\nexport * from \"./d-table-body-cell-select-dialog\";\nexport * from \"./d-table-body-cell-select-menu\";\nexport * from \"./d-table-body-cell-select-multiple\";\nexport * from \"./d-table-body-cell-select-promise\";\nexport * from \"./d-table-body-cell-text\";\nexport * from \"./d-table-body-cell-time\";\nexport * from \"./d-table-body-cell-tree\";\nexport * from \"./d-table-body-cell\";\nexport * from \"./d-table-body-cells\";\nexport * from \"./d-table-body-row\";\nexport * from \"./d-table-body\";\nexport * from \"./d-table-category-cell\";\nexport * from \"./d-table-category\";\nexport * from \"./d-table-column-editing\";\nexport * from \"./d-table-column-formatter\";\nexport * from \"./d-table-column-getter\";\nexport * from \"./d-table-column-renderable\";\nexport * from \"./d-table-column-selecting\";\nexport * from \"./d-table-column-setter\";\nexport * from \"./d-table-column-sorting\";\nexport * from \"./d-table-column-state\";\nexport * from \"./d-table-column-type\";\nexport * from \"./d-table-column\";\nexport * from \"./d-table-data-filter\";\nexport * from \"./d-table-data-list-filter\";\nexport * from \"./d-table-data-list-mapped\";\nexport * from \"./d-table-data-list-selection\";\nexport * from \"./d-table-data-list-sorter\";\nexport * from \"./d-table-data-list\";\nexport * from \"./d-table-data-selection\";\nexport * from \"./d-table-data-sorter\";\nexport * from \"./d-table-data-tree-filter\";\nexport * from \"./d-table-data-tree-item-accessor\";\nexport * from \"./d-table-data-tree-item\";\nexport * from \"./d-table-data-tree-selection-impl\";\nexport * from \"./d-table-data-tree-selection\";\nexport * from \"./d-table-data-tree-sorter\";\nexport * from \"./d-table-data-tree\";\nexport * from \"./d-table-data\";\nexport * from \"./d-table-header-cell-check\";\nexport * from \"./d-table-header-cell\";\nexport * from \"./d-table-header\";\nexport * from \"./d-table-row\";\nexport * from \"./d-table-scrollbar\";\nexport * from \"./d-table-state\";\nexport * from \"./d-table\";\nexport * from \"./d-text-base\";\nexport * from \"./d-text\";\nexport * from \"./d-tree-data-impl\";\nexport * from \"./d-tree-data-mapped-impl\";\nexport * from \"./d-tree-data-mapped\";\nexport * from \"./d-tree-data-selection-multiple\";\nexport * from \"./d-tree-data-selection-none\";\nexport * from \"./d-tree-data-selection-parent\";\nexport * from \"./d-tree-data-selection-single\";\nexport * from \"./d-tree-data-selection\";\nexport * from \"./d-tree-data\";\nexport * from \"./d-tree-item-button\";\nexport * from \"./d-tree-item-non-editable\";\nexport * from \"./d-tree-item-state\";\nexport * from \"./d-tree-item-text\";\nexport * from \"./d-tree-item-updater\";\nexport * from \"./d-tree-item\";\nexport * from \"./d-tree-node-accessor-impl\";\nexport * from \"./d-tree-node-accessor\";\nexport * from \"./d-tree-node-iteratee\";\nexport * from \"./d-tree-node\";\nexport * from \"./d-tree\";\nexport * from \"./d-view-constraint\";\nexport * from \"./d-view-gesture-impl\";\nexport * from \"./d-view-gesture\";\nexport * from \"./d-view-impl\";\nexport * from \"./d-view-stopper\";\nexport * from \"./d-view-to-target\";\nexport * from \"./d-view-transform-impl\";\nexport * from \"./d-view-transform\";\nexport * from \"./d-view\";\n"]}
|
|
@@ -139,17 +139,17 @@ var STEP_FUNCTION = function (domainMin, domainMax, majorCount) {
|
|
|
139
139
|
else {
|
|
140
140
|
var days = hours / 24;
|
|
141
141
|
var base = Math.pow(10, Math.floor(Math.log(days) / Math.LN10));
|
|
142
|
-
var scale =
|
|
142
|
+
var scale = days / base;
|
|
143
143
|
if (scale <= 1.33) {
|
|
144
|
-
return base;
|
|
144
|
+
return base * 86400000;
|
|
145
145
|
}
|
|
146
146
|
else if (scale <= 2.86) {
|
|
147
|
-
return
|
|
147
|
+
return base * 172800000;
|
|
148
148
|
}
|
|
149
149
|
else if (scale <= 6.67) {
|
|
150
|
-
return
|
|
150
|
+
return base * 432000000;
|
|
151
151
|
}
|
|
152
|
-
return
|
|
152
|
+
return base * 864000000;
|
|
153
153
|
}
|
|
154
154
|
}
|
|
155
155
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"d-theme-dark-chart-axis-x-datetime.js","sourceRoot":"","sources":["../../../../../src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-chart-axis-x-datetime.ts"],"names":[],"mappings":"AAAA;;;GAGG;;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AAEnE,IAAM,aAAa,GAAG,UAAC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AAO,OAAO,CAAC;aACf;iBAAM,IAAI,KAAK,IAAI,GAAG,EAAE;gBACxB,OAAO,CAAC,GAAG,OAAO,CAAC;aACnB;iBAAM,IAAI,KAAK,IAAI,IAAI,EAAE;gBACzB,OAAO,CAAC,GAAG,OAAO,CAAC;aACnB;iBAAM,IAAI,KAAK,IAAI,GAAG,EAAE;gBACxB,OAAO,CAAC,GAAG,OAAO,CAAC;aACnB;iBAAM,IAAI,KAAK,IAAI,IAAI,EAAE;gBACzB,OAAO,CAAC,GAAG,OAAO,CAAC;aACnB;iBAAM,IAAI,KAAK,IAAI,GAAG,EAAE;gBACxB,OAAO,CAAC,GAAG,OAAO,CAAC;aACnB;iBAAM,IAAI,KAAK,IAAI,IAAI,EAAE;gBACzB,OAAO,EAAE,GAAG,OAAO,CAAC;aACpB;iBAAM,IAAI,KAAK,IAAI,KAAK,EAAE;gBAC1B,OAAO,EAAE,GAAG,OAAO,CAAC;aACpB;YACD,OAAO,EAAE,GAAG,OAAO,CAAC;SACpB;aAAM;YACN,IAAM,IAAI,GAAG,KAAK,GAAG,EAAE,CAAC;YACxB,IAAM,IAAI,GAAG,IAAI,CAAC,GAAG,CAAC,EAAE,EAAE,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;YAClE,IAAM,KAAK,GAAG,IAAI,GAAG,IAAI,CAAC;YAC1B,IAAI,KAAK,IAAI,IAAI,EAAE;gBAClB,OAAO,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"d-theme-dark-chart-axis-x-datetime.js","sourceRoot":"","sources":["../../../../../src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-chart-axis-x-datetime.ts"],"names":[],"mappings":"AAAA;;;GAGG;;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AAEnE,IAAM,aAAa,GAAG,UAAC,SAAiB,EAAE,SAAiB,EAAE,UAAkB;I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OAAO,YAAY,CAAC;IACrB,CAAC;IAED,uDAAgB,GAAhB;QACC,OAAO,aAAa,CAAC;IACtB,CAAC;IACF,mCAAC;AAAD,CAAC,AARD,CAAkD,oBAAoB,GAQrE","sourcesContent":["/*\n * Copyright (C) 2019 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport { DChartCoordinateTickMajorStepFunction } from \"../../d-chart-coordinate-tick-major-step-function\";\nimport { DThemeDarkChartAxisX } from \"./d-theme-dark-chart-axis-x\";\n\nconst STEP_FUNCTION = (domainMin: number, domainMax: number, majorCount: number): number => {\n\tconst span = Math.abs(domainMax - domainMin) / majorCount;\n\tif (span <= 10) {\n\t\t// The threshold x is calculated as follows:\n\t\t// (1 - x/a)^2 = (1 - x/b)^2\n\t\t// 1 - x/a = x/b - 1\n\t\t// x = 2ab/(a + b)\n\t\tif (span <= 1.33) {\n\t\t\treturn 1;\n\t\t} else if (span <= 2.86) {\n\t\t\treturn 2;\n\t\t} else if (span <= 6.67) {\n\t\t\treturn 5;\n\t\t}\n\t\treturn 10;\n\t} else if (span <= 100) {\n\t\tif (span <= 13.33) {\n\t\t\treturn 10;\n\t\t} else if (span <= 28.57) {\n\t\t\treturn 20;\n\t\t} else if (span <= 66.67) {\n\t\t\treturn 50;\n\t\t}\n\t\treturn 100;\n\t} else if (span <= 1_000) {\n\t\tif (span <= 133.33) {\n\t\t\treturn 100;\n\t\t} else if (span <= 285.71) {\n\t\t\treturn 200;\n\t\t} else if (span <= 666.67) {\n\t\t\treturn 500;\n\t\t}\n\t\treturn 1_000;\n\t} else if (span <= 10_000) {\n\t\tif (span <= 1_333.33) {\n\t\t\treturn 1_000;\n\t\t} else if (span <= 2_857.14) {\n\t\t\treturn 2_000;\n\t\t} else if (span <= 6_666.66) {\n\t\t\treturn 5000;\n\t\t}\n\t\treturn 10_000;\n\t} else if (span <= 120_000) {\n\t\tif (span <= 13_333.33) {\n\t\t\treturn 10_000;\n\t\t} else if (span <= 24_000) {\n\t\t\treturn 20_000;\n\t\t} else if (span <= 40_000) {\n\t\t\treturn 30_000;\n\t\t} else if (span <= 72_000) {\n\t\t\treturn 60_000;\n\t\t} else if (span <= 102_857.14) {\n\t\t\treturn 90_000;\n\t\t}\n\t\treturn 120_000;\n\t} else if (span <= 10_800_000) {\n\t\tif (span <= 171_428.57) {\n\t\t\treturn 120_000;\n\t\t} else if (span <= 400_000) {\n\t\t\treturn 300_000;\n\t\t} else if (span <= 800_000) {\n\t\t\treturn 600_000;\n\t\t} else if (span <= 1_440_000) {\n\t\t\treturn 1_200_000;\n\t\t} else if (span <= 2_400_000) {\n\t\t\treturn 1_800_000;\n\t\t} else if (span <= 4_320_000) {\n\t\t\treturn 3_600_000;\n\t\t} else if (span <= 6_171_428.57) {\n\t\t\treturn 5_400_000;\n\t\t} else if (span <= 8_000_000) {\n\t\t\treturn 7_200_000;\n\t\t} else if (span <= 9_818_181.82) {\n\t\t\treturn 9_000_000;\n\t\t}\n\t\treturn 10_800_000;\n\t} else {\n\t\tconst minutes = 3_600_000;\n\t\tconst hours = span / minutes;\n\t\tif (hours <= 24) {\n\t\t\tif (hours <= 1.33) {\n\t\t\t\treturn minutes;\n\t\t\t} else if (hours <= 2.4) {\n\t\t\t\treturn 2 * minutes;\n\t\t\t} else if (hours <= 3.43) {\n\t\t\t\treturn 3 * minutes;\n\t\t\t} else if (hours <= 4.8) {\n\t\t\t\treturn 4 * minutes;\n\t\t\t} else if (hours <= 6.86) {\n\t\t\t\treturn 6 * minutes;\n\t\t\t} else if (hours <= 9.6) {\n\t\t\t\treturn 8 * minutes;\n\t\t\t} else if (hours <= 14.4) {\n\t\t\t\treturn 12 * minutes;\n\t\t\t} else if (hours <= 20.57) {\n\t\t\t\treturn 18 * minutes;\n\t\t\t}\n\t\t\treturn 24 * minutes;\n\t\t} else {\n\t\t\tconst days = hours / 24;\n\t\t\tconst base = Math.pow(10, Math.floor(Math.log(days) / Math.LN10));\n\t\t\tconst scale = days / base;\n\t\t\tif (scale <= 1.33) {\n\t\t\t\treturn base * 86_400_000;\n\t\t\t} else if (scale <= 2.86) {\n\t\t\t\treturn base * 172_800_000;\n\t\t\t} else if (scale <= 6.67) {\n\t\t\t\treturn base * 432_000_000;\n\t\t\t}\n\t\t\treturn base * 864_000_000;\n\t\t}\n\t}\n};\n\nexport class DThemeDarkChartAxisXDatetime extends DThemeDarkChartAxisX {\n\tgetMajorTickTextFormat(): string {\n\t\treturn \"%YMD\\n%Hms\";\n\t}\n\n\tgetMajorTickStep(): number | DChartCoordinateTickMajorStepFunction | undefined {\n\t\treturn STEP_FUNCTION;\n\t}\n}\n"]}
|
|
@@ -6,7 +6,7 @@ var DThemeDarkChartCoordinateTransform = /** @class */ (function () {
|
|
|
6
6
|
function DThemeDarkChartCoordinateTransform() {
|
|
7
7
|
}
|
|
8
8
|
DThemeDarkChartCoordinateTransform.prototype.isZero = function (value) {
|
|
9
|
-
return Math.abs(value) <
|
|
9
|
+
return Math.abs(value) < Number.EPSILON;
|
|
10
10
|
};
|
|
11
11
|
return DThemeDarkChartCoordinateTransform;
|
|
12
12
|
}());
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"d-theme-dark-chart-coordinate-transform.js","sourceRoot":"","sources":["../../../../../src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-chart-coordinate-transform.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAIH;IAAA;IAIA,CAAC;IAHA,mDAAM,GAAN,UAAO,KAAa;QACnB,OAAO,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"d-theme-dark-chart-coordinate-transform.js","sourceRoot":"","sources":["../../../../../src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-chart-coordinate-transform.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAIH;IAAA;IAIA,CAAC;IAHA,mDAAM,GAAN,UAAO,KAAa;QACnB,OAAO,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,MAAM,CAAC,OAAO,CAAC;IACzC,CAAC;IACF,yCAAC;AAAD,CAAC,AAJD,IAIC","sourcesContent":["/*\n * Copyright (C) 2019 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport { DThemeChartCoordinateTransform } from \"../../d-chart-coordinate-transform\";\n\nexport class DThemeDarkChartCoordinateTransform implements DThemeChartCoordinateTransform {\n\tisZero(value: number): boolean {\n\t\treturn Math.abs(value) < Number.EPSILON;\n\t}\n}\n"]}
|
|
@@ -6,7 +6,7 @@ var DThemeDarkChartCoordinate = /** @class */ (function () {
|
|
|
6
6
|
function DThemeDarkChartCoordinate() {
|
|
7
7
|
}
|
|
8
8
|
DThemeDarkChartCoordinate.prototype.isZero = function (value) {
|
|
9
|
-
return Math.abs(value) <
|
|
9
|
+
return Math.abs(value) < Number.EPSILON;
|
|
10
10
|
};
|
|
11
11
|
return DThemeDarkChartCoordinate;
|
|
12
12
|
}());
|