@wcardinal/wcardinal-ui 0.329.0 → 0.331.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-animation-base.d.ts +3 -1
- package/dist/types/wcardinal/ui/d-animation.d.ts +21 -3
- package/dist/types/wcardinal/ui/d-diagram-canvas-base.d.ts +12 -0
- package/dist/types/wcardinal/ui/d-diagram-serialized.d.ts +6 -0
- package/dist/types/wcardinal/ui/d-view-gesture-impl.d.ts +7 -4
- package/dist/types/wcardinal/ui/d-view-impl.d.ts +2 -2
- package/dist/types/wcardinal/ui/d-view-parent.d.ts +5 -0
- package/dist/types/wcardinal/ui/d-view-transform-impl.d.ts +8 -4
- package/dist/types/wcardinal/ui/d-view.d.ts +35 -0
- package/dist/types/wcardinal/ui/index.d.ts +1 -1
- package/dist/types/wcardinal/ui/util/util-gesture.d.ts +12 -0
- package/dist/wcardinal/ui/d-animation-base.js +10 -0
- package/dist/wcardinal/ui/d-animation-base.js.map +1 -1
- package/dist/wcardinal/ui/d-animation.js.map +1 -1
- package/dist/wcardinal/ui/d-diagram-base.js +3 -0
- package/dist/wcardinal/ui/d-diagram-base.js.map +1 -1
- package/dist/wcardinal/ui/d-diagram-canvas-base.js +39 -1
- package/dist/wcardinal/ui/d-diagram-canvas-base.js.map +1 -1
- package/dist/wcardinal/ui/d-diagram-canvas-editor.js +3 -0
- package/dist/wcardinal/ui/d-diagram-canvas-editor.js.map +1 -1
- package/dist/wcardinal/ui/d-diagram-serialized.js.map +1 -1
- package/dist/wcardinal/ui/d-diagrams.js +6 -0
- package/dist/wcardinal/ui/d-diagrams.js.map +1 -1
- package/dist/wcardinal/ui/d-view-gesture-impl.js +30 -9
- package/dist/wcardinal/ui/d-view-gesture-impl.js.map +1 -1
- package/dist/wcardinal/ui/d-view-impl.js +44 -27
- package/dist/wcardinal/ui/d-view-impl.js.map +1 -1
- package/dist/wcardinal/ui/{d-view-stopper.js → d-view-parent.js} +1 -1
- package/dist/wcardinal/ui/d-view-parent.js.map +1 -0
- package/dist/wcardinal/ui/d-view-transform-impl.js +30 -5
- package/dist/wcardinal/ui/d-view-transform-impl.js.map +1 -1
- package/dist/wcardinal/ui/d-view.js.map +1 -1
- package/dist/wcardinal/ui/index.js +1 -1
- package/dist/wcardinal/ui/index.js.map +1 -1
- package/dist/wcardinal/ui/util/util-gesture.js +22 -0
- package/dist/wcardinal/ui/util/util-gesture.js.map +1 -1
- package/dist/wcardinal-ui-theme-dark.js +1 -1
- package/dist/wcardinal-ui-theme-dark.min.js +1 -1
- package/dist/wcardinal-ui-theme-white.js +1 -1
- package/dist/wcardinal-ui-theme-white.min.js +1 -1
- package/dist/wcardinal-ui.cjs.js +186 -42
- package/dist/wcardinal-ui.js +186 -42
- 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-view-stopper.d.ts +0 -4
- package/dist/wcardinal/ui/d-view-stopper.js.map +0 -1
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import { DAnimationBase } from "./d-animation-base";
|
|
6
6
|
var DViewTransformImpl = /** @class */ (function () {
|
|
7
|
-
function DViewTransformImpl(
|
|
7
|
+
function DViewTransformImpl(owner, toTarget, parent, constraint, duration) {
|
|
8
8
|
var _this = this;
|
|
9
|
-
this.
|
|
9
|
+
this._owner = owner;
|
|
10
10
|
this._toTarget = toTarget;
|
|
11
11
|
this._constraint = constraint;
|
|
12
12
|
this._newScaleX = 1;
|
|
@@ -17,15 +17,29 @@ var DViewTransformImpl = /** @class */ (function () {
|
|
|
17
17
|
this._oldScaleY = 1;
|
|
18
18
|
this._oldX = 0;
|
|
19
19
|
this._oldY = 0;
|
|
20
|
+
this._isStarted = false;
|
|
20
21
|
this._animation = new DAnimationBase({
|
|
22
|
+
onStart: function () {
|
|
23
|
+
_this.onStart();
|
|
24
|
+
},
|
|
21
25
|
onTime: function (time) {
|
|
22
26
|
_this.onTime(time);
|
|
23
27
|
},
|
|
28
|
+
onEnd: function () {
|
|
29
|
+
_this.onEnd();
|
|
30
|
+
},
|
|
31
|
+
onStop: function () {
|
|
32
|
+
_this.onStop();
|
|
33
|
+
},
|
|
24
34
|
duration: duration
|
|
25
35
|
});
|
|
26
|
-
this.
|
|
36
|
+
this._parent = parent;
|
|
27
37
|
this._duration = duration;
|
|
28
38
|
}
|
|
39
|
+
DViewTransformImpl.prototype.onStart = function () {
|
|
40
|
+
var parent = this._parent;
|
|
41
|
+
parent.emit("start", this, parent);
|
|
42
|
+
};
|
|
29
43
|
DViewTransformImpl.prototype.onTime = function (time) {
|
|
30
44
|
var w0 = 1 - time;
|
|
31
45
|
var w1 = time;
|
|
@@ -33,20 +47,31 @@ var DViewTransformImpl = /** @class */ (function () {
|
|
|
33
47
|
var scaleY = this._oldScaleY * w0 + this._newScaleY * w1;
|
|
34
48
|
var x = this._oldX * w0 + this._newX * w1;
|
|
35
49
|
var y = this._oldY * w0 + this._newY * w1;
|
|
36
|
-
var target = this._toTarget(this.
|
|
50
|
+
var target = this._toTarget(this._owner);
|
|
37
51
|
if (target != null) {
|
|
38
52
|
this._constraint(target, x, y, scaleX, scaleY);
|
|
39
53
|
}
|
|
40
54
|
};
|
|
55
|
+
DViewTransformImpl.prototype.onEnd = function () {
|
|
56
|
+
var parent = this._parent;
|
|
57
|
+
parent.emit("end", this, parent);
|
|
58
|
+
};
|
|
59
|
+
DViewTransformImpl.prototype.onStop = function () {
|
|
60
|
+
var parent = this._parent;
|
|
61
|
+
parent.emit("stop", this, parent);
|
|
62
|
+
};
|
|
41
63
|
DViewTransformImpl.prototype.start = function (target, x, y, scaleX, scaleY, duration, stop) {
|
|
64
|
+
var parent = this._parent;
|
|
42
65
|
if (stop !== false) {
|
|
43
|
-
|
|
66
|
+
parent.stop();
|
|
44
67
|
}
|
|
45
68
|
if (duration == null) {
|
|
46
69
|
duration = this._duration;
|
|
47
70
|
}
|
|
48
71
|
if (duration <= 0) {
|
|
72
|
+
this.onStart();
|
|
49
73
|
this._constraint(target, x, y, scaleX, scaleY);
|
|
74
|
+
this.onEnd();
|
|
50
75
|
}
|
|
51
76
|
else {
|
|
52
77
|
var position = target.position;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"d-view-transform-impl.js","sourceRoot":"","sources":["../../../src/main/typescript/wcardinal/ui/d-view-transform-impl.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAOpD;
|
|
1
|
+
{"version":3,"file":"d-view-transform-impl.js","sourceRoot":"","sources":["../../../src/main/typescript/wcardinal/ui/d-view-transform-impl.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAOpD;IAiBC,4BACC,KAAY,EACZ,QAAuB,EACvB,MAAmB,EACnB,UAA2B,EAC3B,QAAgB;QALjB,iBAoCC;QA7BA,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC;QACpB,IAAI,CAAC,SAAS,GAAG,QAAQ,CAAC;QAC1B,IAAI,CAAC,WAAW,GAAG,UAAU,CAAC;QAC9B,IAAI,CAAC,UAAU,GAAG,CAAC,CAAC;QACpB,IAAI,CAAC,UAAU,GAAG,CAAC,CAAC;QACpB,IAAI,CAAC,KAAK,GAAG,CAAC,CAAC;QACf,IAAI,CAAC,KAAK,GAAG,CAAC,CAAC;QACf,IAAI,CAAC,UAAU,GAAG,CAAC,CAAC;QACpB,IAAI,CAAC,UAAU,GAAG,CAAC,CAAC;QACpB,IAAI,CAAC,KAAK,GAAG,CAAC,CAAC;QACf,IAAI,CAAC,KAAK,GAAG,CAAC,CAAC;QACf,IAAI,CAAC,UAAU,GAAG,KAAK,CAAC;QACxB,IAAI,CAAC,UAAU,GAAG,IAAI,cAAc,CAAC;YACpC,OAAO,EAAE;gBACR,KAAI,CAAC,OAAO,EAAE,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C,KAAK,GAAG,CAAC,CAAC;YACf,IAAI,CAAC,UAAU,GAAG,MAAM,CAAC;YACzB,IAAI,CAAC,UAAU,GAAG,MAAM,CAAC;YAEzB,IAAI,CAAC,UAAU,CAAC,QAAQ,GAAG,QAAQ,CAAC;YACpC,IAAI,CAAC,UAAU,CAAC,KAAK,EAAE,CAAC;SACxB;IACF,CAAC;IAED,iCAAI,GAAJ;QACC,IAAI,CAAC,UAAU,CAAC,IAAI,EAAE,CAAC;IACxB,CAAC;IACF,yBAAC;AAAD,CAAC,AA9HD,IA8HC","sourcesContent":["/*\n * Copyright (C) 2019 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport { DAnimation } from \"./d-animation\";\nimport { DAnimationBase } from \"./d-animation-base\";\nimport { DBase } from \"./d-base\";\nimport { DViewConstraint } from \"./d-view-constraint\";\nimport { DViewParent } from \"./d-view-parent\";\nimport { DViewTarget, DViewToTarget } from \"./d-view-to-target\";\nimport { DViewTransform } from \"./d-view-transform\";\n\nexport class DViewTransformImpl implements DViewTransform {\n\tprotected _owner: DBase;\n\tprotected _toTarget: DViewToTarget;\n\tprotected _constraint: DViewConstraint;\n\tprotected _newX: number;\n\tprotected _newY: number;\n\tprotected _newScaleX: number;\n\tprotected _newScaleY: number;\n\tprotected _oldX: number;\n\tprotected _oldY: number;\n\tprotected _oldScaleX: number;\n\tprotected _oldScaleY: number;\n\tprotected _animation: DAnimation;\n\tprotected _parent: DViewParent;\n\tprotected _duration: number;\n\tprotected _isStarted: boolean;\n\n\tconstructor(\n\t\towner: DBase,\n\t\ttoTarget: DViewToTarget,\n\t\tparent: DViewParent,\n\t\tconstraint: DViewConstraint,\n\t\tduration: number\n\t) {\n\t\tthis._owner = owner;\n\t\tthis._toTarget = toTarget;\n\t\tthis._constraint = constraint;\n\t\tthis._newScaleX = 1;\n\t\tthis._newScaleY = 1;\n\t\tthis._newX = 0;\n\t\tthis._newY = 0;\n\t\tthis._oldScaleX = 1;\n\t\tthis._oldScaleY = 1;\n\t\tthis._oldX = 0;\n\t\tthis._oldY = 0;\n\t\tthis._isStarted = false;\n\t\tthis._animation = new DAnimationBase({\n\t\t\tonStart: () => {\n\t\t\t\tthis.onStart();\n\t\t\t},\n\t\t\tonTime: (time: number): void => {\n\t\t\t\tthis.onTime(time);\n\t\t\t},\n\t\t\tonEnd: () => {\n\t\t\t\tthis.onEnd();\n\t\t\t},\n\t\t\tonStop: () => {\n\t\t\t\tthis.onStop();\n\t\t\t},\n\t\t\tduration\n\t\t});\n\t\tthis._parent = parent;\n\t\tthis._duration = duration;\n\t}\n\n\tprotected onStart(): void {\n\t\tconst parent = this._parent;\n\t\tparent.emit(\"start\", this, parent);\n\t}\n\n\tprotected onTime(time: number): void {\n\t\tconst w0 = 1 - time;\n\t\tconst w1 = time;\n\n\t\tconst scaleX = this._oldScaleX * w0 + this._newScaleX * w1;\n\t\tconst scaleY = this._oldScaleY * w0 + this._newScaleY * w1;\n\t\tconst x = this._oldX * w0 + this._newX * w1;\n\t\tconst y = this._oldY * w0 + this._newY * w1;\n\n\t\tconst target = this._toTarget(this._owner);\n\t\tif (target != null) {\n\t\t\tthis._constraint(target, x, y, scaleX, scaleY);\n\t\t}\n\t}\n\n\tprotected onEnd(): void {\n\t\tconst parent = this._parent;\n\t\tparent.emit(\"end\", this, parent);\n\t}\n\n\tprotected onStop(): void {\n\t\tconst parent = this._parent;\n\t\tparent.emit(\"stop\", this, parent);\n\t}\n\n\tstart(\n\t\ttarget: DViewTarget,\n\t\tx: number,\n\t\ty: number,\n\t\tscaleX: number,\n\t\tscaleY: number,\n\t\tduration?: number,\n\t\tstop?: boolean\n\t): void {\n\t\tconst parent = this._parent;\n\t\tif (stop !== false) {\n\t\t\tparent.stop();\n\t\t}\n\t\tif (duration == null) {\n\t\t\tduration = this._duration;\n\t\t}\n\t\tif (duration <= 0) {\n\t\t\tthis.onStart();\n\t\t\tthis._constraint(target, x, y, scaleX, scaleY);\n\t\t\tthis.onEnd();\n\t\t} else {\n\t\t\tconst position = target.position;\n\t\t\tconst scale = target.scale;\n\t\t\tthis._oldX = position.x;\n\t\t\tthis._oldY = position.y;\n\t\t\tthis._oldScaleX = scale.x;\n\t\t\tthis._oldScaleY = scale.y;\n\n\t\t\tthis._newX = x;\n\t\t\tthis._newY = y;\n\t\t\tthis._newScaleX = scaleX;\n\t\t\tthis._newScaleY = scaleY;\n\n\t\t\tthis._animation.duration = duration;\n\t\t\tthis._animation.start();\n\t\t}\n\t}\n\n\tstop(): void {\n\t\tthis._animation.stop();\n\t}\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"d-view.js","sourceRoot":"","sources":["../../../src/main/typescript/wcardinal/ui/d-view.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 { UtilGestureModifier } from \"./util/util-gesture-modifier\";\nimport { DThemeViewGesture, DViewGesture, DViewGestureOptions } from \"./d-view-gesture\";\nimport { DViewTargetPoint } from \"./d-view-to-target\";\nimport { DViewConstraint } from \"./d-view-constraint\";\n\nexport type DViewChecker = (\n\te: WheelEvent | MouseEvent | TouchEvent,\n\tmodifier: UtilGestureModifier,\n\ttarget: DBase\n) => boolean;\n\n/**\n * {@link DView} wheel zoom options.\n */\nexport interface DViewZoomWheelOptions {\n\t/** True to enable wheel zoom */\n\tenable?: boolean;\n\n\t/** Zoom speed */\n\tspeed?: number;\n\n\t/** Mouse modifiers */\n\tmodifier?: keyof typeof UtilGestureModifier | UtilGestureModifier;\n\n\t/**\n\t * Wheel zoom checker.\n\t * If a checker returns false, wheel zooms will be canceled.\n\t */\n\tchecker?: DViewChecker;\n}\n\n/**\n * {@link DView} double-click zoom options.\n */\nexport interface DViewZoomDblClickOptions {\n\t/** True to enable double click zoom */\n\tenable?: boolean;\n\n\t/** Zoom amount */\n\tamount?: number;\n\n\t/** Mouse modifiers */\n\tmodifier?: keyof typeof UtilGestureModifier | UtilGestureModifier;\n\n\t/**\n\t * Double click zoom checker.\n\t * If a checker returns false, double click zooms will be canceled.\n\t */\n\tchecker?: DViewChecker;\n\n\t/** Zoom duration */\n\tduration?: number;\n}\n\n/**\n * {@link DView} zoom options.\n */\nexport interface DViewZoomOptions {\n\t/** Minimum scale */\n\tmin?: number;\n\n\t/** Maximum scale */\n\tmax?: number;\n\n\t/** True to keep size ratio */\n\tkeepRatio?: boolean;\n\n\t/** Wheel zoom options */\n\twheel?: DViewZoomWheelOptions;\n\n\t/** Double click zoom options */\n\tdblclick?: DViewZoomDblClickOptions;\n}\n\n/**\n * {@link DView} wheel translation options.\n */\nexport interface DViewTranslationWheelOptions {\n\t/** True to enable wheel translation */\n\tenable?: boolean;\n\n\t/** Translation speed */\n\tspeed?: number;\n\n\t/** Mouse modifiers */\n\tmodifier?: keyof typeof UtilGestureModifier | UtilGestureModifier;\n\n\t/**\n\t * Wheel translation checker.\n\t * If a checker returns false, wheel translations will be canceled.\n\t */\n\tchecker?: DViewChecker;\n}\n\n/**\n * {@link DView} translation options.\n */\nexport interface DViewTranslationOptions {\n\t/** Wheel translation options */\n\twheel?: DViewTranslationWheelOptions;\n}\n\n/**\n * {@link DView} options.\n */\nexport interface DViewOptions {\n\t/** Gesture options */\n\tgesture?: DViewGestureOptions;\n\n\t/** Zoom options */\n\tzoom?: DViewZoomOptions;\n\n\t/** Translation options */\n\ttranslation?: DViewTranslationOptions;\n\n\t/** Constraint options */\n\tconstraint?: DViewConstraint;\n\n\t/** Theme */\n\ttheme?: DThemeView | string;\n}\n\n/**\n * {@link DView} theme.\n */\nexport interface DThemeView extends DThemeViewGesture {\n\tisWheelZoomEnabled(): boolean;\n\tisDblClickZoomEnabled(): boolean;\n\tisWheelTranslationEnabled(): boolean;\n\tgetWheelZoomSpeed(): number;\n\tgetWheelZoomModifier(): UtilGestureModifier;\n\tgetDblClickZoomSpeed(): number;\n\tgetDblClickZoomModifier(): UtilGestureModifier;\n\tgetDblClickZoomDuration(): number;\n\tgetWheelTranslationSpeed(): number;\n\tgetWheelTranslationModifier(): UtilGestureModifier;\n\tgetZoomMin(): number;\n\tgetZoomMax(): number;\n\tgetZoomKeepRatio(): boolean;\n}\n\nexport interface DView {\n\treadonly gesture: DViewGesture;\n\tscale: DViewTargetPoint;\n\tposition: DViewTargetPoint;\n\n\t/**\n\t * Stops an animation if exits.\n\t */\n\tstop(): void;\n\n\t/**\n\t * Resets a position and a scale.\n\t *\n\t * @param duration an animation duration\n\t * @param stop false to keep a previous animation\n\t */\n\treset(duration?: number, stop?: boolean): void;\n\n\t/**\n\t * Fits into a screen.\n\t *\n\t * @param duration an animation duration\n\t * @param stop false to keep a previous animation\n\t */\n\tfit(duration?: number, stop?: boolean): void;\n\n\t/**\n\t * Zooms in at the current position.\n\t *\n\t * @param duration an animation duration\n\t * @param stop false to keep a previous animation\n\t */\n\tzoomIn(duration?: number, stop?: boolean): void;\n\n\t/**\n\t * Zooms out at the current position.\n\t *\n\t * @param duration an animation duration\n\t * @param stop false to keep a previous animation\n\t */\n\tzoomOut(duration?: number, stop?: boolean): void;\n\n\t/**\n\t * Zooms into the given position.\n\t *\n\t * @param x a local X coordinate position\n\t * @param y a local Y coordinate position\n\t * @param scaleX a X coordinate scale\n\t * @param scaleY a Y coordinate scale\n\t * @param duration an duration\n\t * @param stop false to keep a previous animation\n\t */\n\tzoomAt(\n\t\tx: number,\n\t\ty: number,\n\t\tscaleX: number,\n\t\tscaleY: number,\n\t\tduration?: number,\n\t\tstop?: boolean\n\t): void;\n\n\t/**\n\t * Zooms into the specified global position.\n\t *\n\t * @param x a global X coordinate position\n\t * @param y a global Y coordinate position\n\t * @param scaleX a X coordinate scale\n\t * @param scaleY a Y coordinate scale\n\t * @param duration an animation duration\n\t * @param stop false to keep a previous animation\n\t */\n\tzoomAtGlobal(\n\t\tx: number,\n\t\ty: number,\n\t\tscaleX: number,\n\t\tscaleY: number,\n\t\tduration?: number,\n\t\tstop?: boolean\n\t): void;\n\n\t/**\n\t * Zooms in / out at the current position.\n\t *\n\t * @param scaleX a X coordinate scale\n\t * @param scaleY a Y coordinate scale\n\t * @param duration an animation duration\n\t * @param stop false to keep a previous animation\n\t */\n\tzoom(scaleX: number, scaleY: number, duration?: number, stop?: boolean): void;\n\n\t/**\n\t * Moves to the given position.\n\t *\n\t * @param x a local X coordinate position\n\t * @param y a local Y coordinate position\n\t * @param duration an animation duration\n\t * @param stop false to keep a previous animation\n\t */\n\tmoveTo(x: number, y: number, duration?: number, stop?: boolean): void;\n\n\t/**\n\t * Sets to the specified position and scale.\n\t *\n\t * @param x a local X coordinate position\n\t * @param y a local Y coordinate position\n\t * @param scaleX a X coordinate scale\n\t * @param scaleY a Y coordinate scale\n\t * @param duration an animation duration\n\t * @param stop false to keep a previous animation\n\t */\n\ttransform(\n\t\tx: number,\n\t\ty: number,\n\t\tscaleX: number,\n\t\tscaleY: number,\n\t\tduration?: number,\n\t\tstop?: boolean\n\t): void;\n\n\ttoLocal(global: IPoint, local: IPoint, skipUpdate?: boolean): IPoint;\n\ttoGlobal(local: IPoint, global: IPoint, skipUpdate?: boolean): IPoint;\n}\n"]}
|
|
1
|
+
{"version":3,"file":"d-view.js","sourceRoot":"","sources":["../../../src/main/typescript/wcardinal/ui/d-view.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 { UtilGestureModifier } from \"./util/util-gesture-modifier\";\nimport { DThemeViewGesture, DViewGesture, DViewGestureOptions } from \"./d-view-gesture\";\nimport { DViewTargetPoint } from \"./d-view-to-target\";\nimport { DViewConstraint } from \"./d-view-constraint\";\nimport { DOnOptions } from \"./d-on-options\";\nimport { DViewTransform } from \"./d-view-transform\";\n\nexport type DViewChecker = (\n\te: WheelEvent | MouseEvent | TouchEvent,\n\tmodifier: UtilGestureModifier,\n\ttarget: DBase\n) => boolean;\n\n/**\n * {@link DView} wheel zoom options.\n */\nexport interface DViewZoomWheelOptions {\n\t/** True to enable wheel zoom */\n\tenable?: boolean;\n\n\t/** Zoom speed */\n\tspeed?: number;\n\n\t/** Mouse modifiers */\n\tmodifier?: keyof typeof UtilGestureModifier | UtilGestureModifier;\n\n\t/**\n\t * Wheel zoom checker.\n\t * If a checker returns false, wheel zooms will be canceled.\n\t */\n\tchecker?: DViewChecker;\n}\n\n/**\n * {@link DView} double-click zoom options.\n */\nexport interface DViewZoomDblClickOptions {\n\t/** True to enable double click zoom */\n\tenable?: boolean;\n\n\t/** Zoom amount */\n\tamount?: number;\n\n\t/** Mouse modifiers */\n\tmodifier?: keyof typeof UtilGestureModifier | UtilGestureModifier;\n\n\t/**\n\t * Double click zoom checker.\n\t * If a checker returns false, double click zooms will be canceled.\n\t */\n\tchecker?: DViewChecker;\n\n\t/** Zoom duration */\n\tduration?: number;\n}\n\n/**\n * {@link DView} zoom options.\n */\nexport interface DViewZoomOptions {\n\t/** Minimum scale */\n\tmin?: number;\n\n\t/** Maximum scale */\n\tmax?: number;\n\n\t/** True to keep size ratio */\n\tkeepRatio?: boolean;\n\n\t/** Wheel zoom options */\n\twheel?: DViewZoomWheelOptions;\n\n\t/** Double click zoom options */\n\tdblclick?: DViewZoomDblClickOptions;\n}\n\n/**\n * {@link DView} wheel translation options.\n */\nexport interface DViewTranslationWheelOptions {\n\t/** True to enable wheel translation */\n\tenable?: boolean;\n\n\t/** Translation speed */\n\tspeed?: number;\n\n\t/** Mouse modifiers */\n\tmodifier?: keyof typeof UtilGestureModifier | UtilGestureModifier;\n\n\t/**\n\t * Wheel translation checker.\n\t * If a checker returns false, wheel translations will be canceled.\n\t */\n\tchecker?: DViewChecker;\n}\n\n/**\n * {@link DView} translation options.\n */\nexport interface DViewTranslationOptions {\n\t/** Wheel translation options */\n\twheel?: DViewTranslationWheelOptions;\n}\n\n/**\n * {@link DView} events.\n */\nexport interface DViewEvents<EMITTER> {\n\t/**\n\t * Triggered when a view operation starts.\n\t *\n\t * @param operation a view operation\n\t * @param emitter an emitter\n\t */\n\tstart(operation: DViewTransform | DViewGesture, emitter: EMITTER): void;\n\n\t/**\n\t * Triggered when a view operation ends.\n\t *\n\t * @param operation a view operation\n\t * @param emitter an emitter\n\t */\n\tend(operation: DViewTransform | DViewGesture, emitter: EMITTER): void;\n\n\t/**\n\t * Triggered when a view operation stops.\n\t *\n\t * @param operation a view operation\n\t * @param emitter an emitter\n\t */\n\tstop(operation: DViewTransform | DViewGesture, emitter: EMITTER): void;\n}\n\n/**\n * {@link DView} \"on\" options.\n */\nexport interface DViewOnOptions<EMITTER> extends Partial<DViewEvents<EMITTER>>, DOnOptions {}\n\n/**\n * {@link DView} options.\n */\nexport interface DViewOptions {\n\t/** Gesture options */\n\tgesture?: DViewGestureOptions;\n\n\t/** Zoom options */\n\tzoom?: DViewZoomOptions;\n\n\t/** Translation options */\n\ttranslation?: DViewTranslationOptions;\n\n\t/** Constraint options */\n\tconstraint?: DViewConstraint;\n\n\t/** Theme */\n\ttheme?: DThemeView | string;\n\n\t/** On options */\n\ton?: DViewOnOptions<DView>;\n}\n\n/**\n * {@link DView} theme.\n */\nexport interface DThemeView extends DThemeViewGesture {\n\tisWheelZoomEnabled(): boolean;\n\tisDblClickZoomEnabled(): boolean;\n\tisWheelTranslationEnabled(): boolean;\n\tgetWheelZoomSpeed(): number;\n\tgetWheelZoomModifier(): UtilGestureModifier;\n\tgetDblClickZoomSpeed(): number;\n\tgetDblClickZoomModifier(): UtilGestureModifier;\n\tgetDblClickZoomDuration(): number;\n\tgetWheelTranslationSpeed(): number;\n\tgetWheelTranslationModifier(): UtilGestureModifier;\n\tgetZoomMin(): number;\n\tgetZoomMax(): number;\n\tgetZoomKeepRatio(): boolean;\n}\n\nexport interface DView {\n\treadonly gesture: DViewGesture;\n\tscale: DViewTargetPoint;\n\tposition: DViewTargetPoint;\n\n\t/**\n\t * Stops an animation if exits.\n\t */\n\tstop(): void;\n\n\t/**\n\t * Resets a position and a scale.\n\t *\n\t * @param duration an animation duration\n\t * @param stop false to keep a previous animation\n\t */\n\treset(duration?: number, stop?: boolean): void;\n\n\t/**\n\t * Fits into a screen.\n\t *\n\t * @param duration an animation duration\n\t * @param stop false to keep a previous animation\n\t */\n\tfit(duration?: number, stop?: boolean): void;\n\n\t/**\n\t * Zooms in at the current position.\n\t *\n\t * @param duration an animation duration\n\t * @param stop false to keep a previous animation\n\t */\n\tzoomIn(duration?: number, stop?: boolean): void;\n\n\t/**\n\t * Zooms out at the current position.\n\t *\n\t * @param duration an animation duration\n\t * @param stop false to keep a previous animation\n\t */\n\tzoomOut(duration?: number, stop?: boolean): void;\n\n\t/**\n\t * Zooms into the given position.\n\t *\n\t * @param x a local X coordinate position\n\t * @param y a local Y coordinate position\n\t * @param scaleX a X coordinate scale\n\t * @param scaleY a Y coordinate scale\n\t * @param duration an duration\n\t * @param stop false to keep a previous animation\n\t */\n\tzoomAt(\n\t\tx: number,\n\t\ty: number,\n\t\tscaleX: number,\n\t\tscaleY: number,\n\t\tduration?: number,\n\t\tstop?: boolean\n\t): void;\n\n\t/**\n\t * Zooms into the specified global position.\n\t *\n\t * @param x a global X coordinate position\n\t * @param y a global Y coordinate position\n\t * @param scaleX a X coordinate scale\n\t * @param scaleY a Y coordinate scale\n\t * @param duration an animation duration\n\t * @param stop false to keep a previous animation\n\t */\n\tzoomAtGlobal(\n\t\tx: number,\n\t\ty: number,\n\t\tscaleX: number,\n\t\tscaleY: number,\n\t\tduration?: number,\n\t\tstop?: boolean\n\t): void;\n\n\t/**\n\t * Zooms in / out at the current position.\n\t *\n\t * @param scaleX a X coordinate scale\n\t * @param scaleY a Y coordinate scale\n\t * @param duration an animation duration\n\t * @param stop false to keep a previous animation\n\t */\n\tzoom(scaleX: number, scaleY: number, duration?: number, stop?: boolean): void;\n\n\t/**\n\t * Moves to the given position.\n\t *\n\t * @param x a local X coordinate position\n\t * @param y a local Y coordinate position\n\t * @param duration an animation duration\n\t * @param stop false to keep a previous animation\n\t */\n\tmoveTo(x: number, y: number, duration?: number, stop?: boolean): void;\n\n\t/**\n\t * Sets to the specified position and scale.\n\t *\n\t * @param x a local X coordinate position\n\t * @param y a local Y coordinate position\n\t * @param scaleX a X coordinate scale\n\t * @param scaleY a Y coordinate scale\n\t * @param duration an animation duration\n\t * @param stop false to keep a previous animation\n\t */\n\ttransform(\n\t\tx: number,\n\t\ty: number,\n\t\tscaleX: number,\n\t\tscaleY: number,\n\t\tduration?: number,\n\t\tstop?: boolean\n\t): void;\n\n\ttoLocal(global: IPoint, local: IPoint, skipUpdate?: boolean): IPoint;\n\ttoGlobal(local: IPoint, global: IPoint, skipUpdate?: boolean): IPoint;\n}\n"]}
|
|
@@ -603,7 +603,7 @@ export * from "./d-view-constraint";
|
|
|
603
603
|
export * from "./d-view-gesture-impl";
|
|
604
604
|
export * from "./d-view-gesture";
|
|
605
605
|
export * from "./d-view-impl";
|
|
606
|
-
export * from "./d-view-
|
|
606
|
+
export * from "./d-view-parent";
|
|
607
607
|
export * from "./d-view-to-target";
|
|
608
608
|
export * from "./d-view-transform-impl";
|
|
609
609
|
export * from "./d-view-transform";
|
|
@@ -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;AAC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AC3C,cAAc,qBAAqB,CAAC;AACpC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,6BAA6B,CAAC;AAC5C,cAAc,uBAAuB,CAAC;AACtC,cAAc,kBAAkB,CAAC;AACjC,cAAc,eAAe,CAAC;AAC9B,cAAc,qBAAqB,CAAC;AACpC,cAAc,iBAAiB,CAAC;AAChC,cAAc,WAAW,CAAC;AAC1B,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC;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-and-value\";\nexport * from \"./d-base-state-matcher\";\nexport * from \"./d-base-state-set-blinker-datum-impl\";\nexport * from \"./d-base-state-set-blinker-impl\";\nexport * from \"./d-base-state-set-blinker\";\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-sub-datum-impl\";\nexport * from \"./d-base-state-set-sub-datum\";\nexport * from \"./d-base-state-set-sub-impl\";\nexport * from \"./d-base-state-set-sub\";\nexport * from \"./d-base-state-set-ticker-datum-impl\";\nexport * from \"./d-base-state-set-ticker-impl\";\nexport * from \"./d-base-state-set-ticker\";\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-guide-container\";\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-guide-container\";\nexport * from \"./d-chart-axis-guide-simple-shape-impl\";\nexport * from \"./d-chart-axis-guide-simple-shape\";\nexport * from \"./d-chart-axis-guide-simple\";\nexport * from \"./d-chart-axis-guide\";\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-color-recent\";\nexport * from \"./d-color-recents\";\nexport * from \"./d-color-standard\";\nexport * from \"./d-color-standards\";\nexport * from \"./d-color-type\";\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-impl\";\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\";\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;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,gBAAgB,CAAC;AAC/B,cAAc,mBAAmB,CAAC;AAClC,cAAc,eAAe,CAAC;AAC9B,cAAc,mCAAmC,CAAC;AAClD,cAAc,0BAA0B,CAAC;AACzC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,qBAAqB,CAAC;AACpC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,sBAAsB,CAAC;AACrC,cAAc,yBAAyB,CAAC;AACxC,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,sBAAsB,CAAC;AACrC,cAAc,wBAAwB,CAAC;AACvC,cAAc,0BAA0B,CAAC;AACzC,cAAc,kBAAkB,CAAC;AACjC,cAAc,+BAA+B,C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AC;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,iBAAiB,CAAC;AAChC,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-and-value\";\nexport * from \"./d-base-state-matcher\";\nexport * from \"./d-base-state-set-blinker-datum-impl\";\nexport * from \"./d-base-state-set-blinker-impl\";\nexport * from \"./d-base-state-set-blinker\";\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-sub-datum-impl\";\nexport * from \"./d-base-state-set-sub-datum\";\nexport * from \"./d-base-state-set-sub-impl\";\nexport * from \"./d-base-state-set-sub\";\nexport * from \"./d-base-state-set-ticker-datum-impl\";\nexport * from \"./d-base-state-set-ticker-impl\";\nexport * from \"./d-base-state-set-ticker\";\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-guide-container\";\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-guide-container\";\nexport * from \"./d-chart-axis-guide-simple-shape-impl\";\nexport * from \"./d-chart-axis-guide-simple-shape\";\nexport * from \"./d-chart-axis-guide-simple\";\nexport * from \"./d-chart-axis-guide\";\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-color-recent\";\nexport * from \"./d-color-recents\";\nexport * from \"./d-color-standard\";\nexport * from \"./d-color-standards\";\nexport * from \"./d-color-type\";\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-impl\";\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\";\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-parent\";\nexport * from \"./d-view-to-target\";\nexport * from \"./d-view-transform-impl\";\nexport * from \"./d-view-transform\";\nexport * from \"./d-view\";\n"]}
|
|
@@ -16,6 +16,12 @@ var UtilGesture = /** @class */ (function () {
|
|
|
16
16
|
this._onStart = on.start;
|
|
17
17
|
this._onMove = on.move;
|
|
18
18
|
this._onEnd = on.end;
|
|
19
|
+
this._onStop = on.stop;
|
|
20
|
+
var easing = on.easing;
|
|
21
|
+
if (easing != null) {
|
|
22
|
+
this._onEasingStart = easing.start;
|
|
23
|
+
this._onEasingEnd = easing.end;
|
|
24
|
+
}
|
|
19
25
|
}
|
|
20
26
|
this._modifier = (_a = options === null || options === void 0 ? void 0 : options.modifier) !== null && _a !== void 0 ? _a : UtilGestureModifier.NONE;
|
|
21
27
|
var checker = options.checker;
|
|
@@ -214,12 +220,20 @@ var UtilGesture = /** @class */ (function () {
|
|
|
214
220
|
onEnd(target);
|
|
215
221
|
}
|
|
216
222
|
// Start the Easing
|
|
223
|
+
var onEasingStart = this._onEasingStart;
|
|
224
|
+
if (onEasingStart) {
|
|
225
|
+
onEasingStart(data.target);
|
|
226
|
+
}
|
|
217
227
|
var easing = data.easing;
|
|
218
228
|
if (easing) {
|
|
219
229
|
easing.onEnd(e.data.originalEvent.timeStamp - data.time);
|
|
220
230
|
}
|
|
221
231
|
else {
|
|
222
232
|
this.deleteData(data);
|
|
233
|
+
var onEasingEnd = this._onEasingEnd;
|
|
234
|
+
if (onEasingEnd) {
|
|
235
|
+
onEasingEnd(data.target);
|
|
236
|
+
}
|
|
223
237
|
}
|
|
224
238
|
};
|
|
225
239
|
UtilGesture.prototype.onEasingMove = function (dx, dy, ds, time, data) {
|
|
@@ -242,6 +256,10 @@ var UtilGesture = /** @class */ (function () {
|
|
|
242
256
|
};
|
|
243
257
|
UtilGesture.prototype.onEasingEnd = function (data) {
|
|
244
258
|
this.deleteData(data);
|
|
259
|
+
var onEasingEnd = this._onEasingEnd;
|
|
260
|
+
if (onEasingEnd) {
|
|
261
|
+
onEasingEnd(data.target);
|
|
262
|
+
}
|
|
245
263
|
};
|
|
246
264
|
UtilGesture.prototype.stop = function (target) {
|
|
247
265
|
var _a;
|
|
@@ -251,6 +269,10 @@ var UtilGesture = /** @class */ (function () {
|
|
|
251
269
|
}
|
|
252
270
|
(_a = data.easing) === null || _a === void 0 ? void 0 : _a.stop();
|
|
253
271
|
this.deleteData(data);
|
|
272
|
+
var onStop = this._onStop;
|
|
273
|
+
if (onStop) {
|
|
274
|
+
onStop(target);
|
|
275
|
+
}
|
|
254
276
|
};
|
|
255
277
|
return UtilGesture;
|
|
256
278
|
}());
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"util-gesture.js","sourceRoot":"","sources":["../../../../src/main/typescript/wcardinal/ui/util/util-gesture.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAIH,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAElD,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CA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AI,CAAC,MAAM,CAAC;QAC3B,IAAM,CAAC,GAAG,MAAM,CAAC,CAAC,GAAG,EAAE,CAAC;QACxB,IAAM,CAAC,GAAG,MAAM,CAAC,CAAC,GAAG,EAAE,CAAC;QACxB,MAAM,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;QACjB,MAAM,CAAC,IAAI,CAAC,MAAO,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;IACxC,CAAC;IAES,iCAAW,GAArB,UAAsB,IAA6B;QAClD,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;IACvB,CAAC;IAED,0BAAI,GAAJ,UAAK,MAAc;;QAClB,IAAM,IAAI,GAAG,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;QACpC,IAAI,IAAI,IAAI,IAAI,EAAE;YACjB,OAAO;SACP;QACD,MAAA,IAAI,CAAC,MAAM,0CAAE,IAAI,EAAE,CAAC;QACpB,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;IACvB,CAAC;IACF,kBAAC;AAAD,CAAC,AA/RD,IA+RC","sourcesContent":["/*\n * Copyright (C) 2019 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport { interaction, utils } from \"pixi.js\";\nimport { DApplicationTarget } from \"../d-application-like\";\nimport { DApplications } from \"../d-applications\";\nimport { DBaseStateSet } from \"../d-base-state-set\";\nimport { UtilGestureModifier } from \"./util-gesture-modifier\";\nimport { UtilGestureModifiers } from \"./util-gesture-modifiers\";\nimport { UtilGestureData } from \"./util-gesture-data\";\nimport { UtilGestureEasing, UtilGestureEasingOptions } from \"./util-gesture-easing\";\nimport { UtilPointerEvent } from \"./util-pointer-event\";\nimport InteractionEvent = interaction.InteractionEvent;\n\nexport interface UtilGestureTarget extends DApplicationTarget {\n\tstate: DBaseStateSet;\n}\nexport type UtilGestureOnMove<TARGET> = (\n\ttarget: TARGET,\n\tdx: number,\n\tdy: number,\n\tx: number,\n\ty: number,\n\tds: number\n) => void;\nexport type UtilGestureOnStart<TARGET> = (target: TARGET) => void;\nexport type UtilGestureOnEnd<TARGET> = (target: TARGET) => void;\nexport type UtilGestureChecker<TARGET> = (\n\te: InteractionEvent,\n\tmodifier: UtilGestureModifier,\n\ttarget: TARGET\n) => boolean;\n\nexport interface UtilGestureCheckerOptions<TARGET> {\n\tstart?: UtilGestureChecker<TARGET>;\n\tmove?: UtilGestureChecker<TARGET>;\n}\n\nexport interface UtilGestureOnOptions<TARGET> {\n\tstart?: UtilGestureOnStart<TARGET>;\n\tmove?: UtilGestureOnMove<TARGET>;\n\tend?: UtilGestureOnEnd<TARGET>;\n}\n\nexport interface UtilGestureOptions<TARGET> {\n\t/**\n\t * True to restrict to touch gestures only.\n\t */\n\ttouch?: boolean;\n\n\t/**\n\t * Expected mouse modifiers\n\t */\n\tmodifier?: UtilGestureModifier;\n\n\t/**\n\t * Checker options\n\t */\n\tchecker?: UtilGestureCheckerOptions<TARGET>;\n\n\t/**\n\t * Easing options\n\t */\n\teasing?: boolean | UtilGestureEasingOptions;\n\n\t/** Binds the pointerdown event of the given target. */\n\tbind?: TARGET & utils.EventEmitter;\n\n\t/** Event options */\n\ton?: UtilGestureOnOptions<TARGET>;\n}\n\nexport class UtilGesture<TARGET extends UtilGestureTarget> {\n\tprotected _onStart?: UtilGestureOnStart<TARGET>;\n\tprotected _onMove?: UtilGestureOnMove<TARGET>;\n\tprotected _onEnd?: UtilGestureOnEnd<TARGET>;\n\tprotected _modifier: UtilGestureModifier;\n\tprotected _checkerStart: UtilGestureChecker<TARGET>;\n\tprotected _checkerMove: UtilGestureChecker<TARGET>;\n\tprotected _easing?: boolean | UtilGestureEasingOptions;\n\tprotected _touch: boolean;\n\n\tprotected _unused: Array<UtilGestureData<TARGET>>;\n\tprotected _used: Map<TARGET, UtilGestureData<TARGET>>;\n\n\tconstructor(options: UtilGestureOptions<TARGET>) {\n\t\tconst on = options.on;\n\t\tif (on) {\n\t\t\tthis._onStart = on.start;\n\t\t\tthis._onMove = on.move;\n\t\t\tthis._onEnd = on.end;\n\t\t}\n\t\tthis._modifier = options?.modifier ?? UtilGestureModifier.NONE;\n\t\tconst checker = options.checker;\n\t\tconst defaultChecker = UtilGestureModifiers.match;\n\t\tthis._checkerStart = checker?.start ?? defaultChecker;\n\t\tthis._checkerMove = checker?.move ?? defaultChecker;\n\t\tthis._easing = options.easing;\n\t\tthis._touch = !!options.touch;\n\n\t\tthis._unused = [];\n\t\tthis._used = new Map<TARGET, UtilGestureData<TARGET>>();\n\n\t\tconst bind = options.bind;\n\t\tif (bind != null) {\n\t\t\tthis.bind(bind);\n\t\t}\n\t}\n\n\tprotected newData(target: TARGET): UtilGestureData<TARGET> {\n\t\tconst used = this._used;\n\t\tconst result = used.get(target);\n\t\tif (result != null) {\n\t\t\treturn result;\n\t\t}\n\t\tconst poped = this._unused.pop();\n\t\tif (poped != null) {\n\t\t\tused.set(target, poped);\n\t\t\treturn poped;\n\t\t}\n\t\tconst created = new UtilGestureData<TARGET>();\n\t\tcreated.easing = this.newEasing(created);\n\t\tcreated.onMove = this.newOnMove(created);\n\t\tcreated.onEnd = this.newOnEnd(created);\n\t\tused.set(target, created);\n\t\treturn created;\n\t}\n\n\tprotected newEasing(data: UtilGestureData<TARGET>): UtilGestureEasing | undefined {\n\t\tconst easing = this._easing;\n\t\tif (easing == null || easing !== false) {\n\t\t\tconst onEasingMoveBound = (dx: number, dy: number, ds: number, time: number): void => {\n\t\t\t\tthis.onEasingMove(dx, dy, ds, time, data);\n\t\t\t};\n\t\t\tconst onEasingEndBound = (): void => {\n\t\t\t\tthis.onEasingEnd(data);\n\t\t\t};\n\t\t\treturn new UtilGestureEasing(\n\t\t\t\tonEasingMoveBound,\n\t\t\t\tonEasingEndBound,\n\t\t\t\tthis.toEasingOptions(easing)\n\t\t\t);\n\t\t}\n\t\treturn undefined;\n\t}\n\n\tprotected toEasingOptions(\n\t\toptions?: true | UtilGestureEasingOptions\n\t): UtilGestureEasingOptions | undefined {\n\t\treturn options == null || options === true ? undefined : options;\n\t}\n\n\tprotected deleteData(data: UtilGestureData<TARGET>): void {\n\t\tconst target = data.target;\n\t\tif (target) {\n\t\t\tif (this._used.delete(target)) {\n\t\t\t\tdata.target = undefined;\n\t\t\t\tdata.pointers.clear();\n\t\t\t\tthis._unused.push(data);\n\t\t\t}\n\t\t}\n\t}\n\n\tbind(target: TARGET & utils.EventEmitter): this {\n\t\ttarget.on(UtilPointerEvent.down, (e: InteractionEvent): void => {\n\t\t\tthis.onDown(target, e);\n\t\t});\n\t\treturn this;\n\t}\n\n\tprotected isTouch(e: InteractionEvent): boolean {\n\t\tconst oe = e.data.originalEvent;\n\t\tif (\"touches\" in oe) {\n\t\t\treturn true;\n\t\t} else if (\"pointerId\" in oe) {\n\t\t\treturn oe.pointerType !== \"mouse\";\n\t\t} else {\n\t\t\treturn false;\n\t\t}\n\t}\n\n\tonDown(target: TARGET, e: InteractionEvent): void {\n\t\tif (this._touch && !this.isTouch(e)) {\n\t\t\treturn;\n\t\t}\n\t\tif (!this._checkerStart(e, this._modifier, target)) {\n\t\t\treturn;\n\t\t}\n\t\tconst layer = DApplications.getLayer(target);\n\t\tif (layer == null) {\n\t\t\treturn;\n\t\t}\n\n\t\te.stopPropagation();\n\t\tif (target.state.isGesturing) {\n\t\t\tthis._used.get(target)?.start(e);\n\t\t} else {\n\t\t\t// User-defined handler\n\t\t\tconst onStart = this._onStart;\n\t\t\tif (onStart != null) {\n\t\t\t\tonStart(target);\n\t\t\t}\n\n\t\t\tconst data = this.newData(target);\n\t\t\tdata.target = target;\n\t\t\ttarget.state.isGesturing = true;\n\n\t\t\t// Interaction manager\n\t\t\tconst interactionManager = layer.renderer.plugins.interaction;\n\t\t\tdata.interactionManager = interactionManager;\n\n\t\t\t// Update the center\n\t\t\tdata.start(e);\n\n\t\t\t// Easing util\n\t\t\tconst easing = data.easing;\n\t\t\tif (easing) {\n\t\t\t\teasing.onStart();\n\t\t\t}\n\n\t\t\t// Event handler\n\t\t\tdata.bind(e);\n\t\t}\n\t}\n\n\tprotected newOnMove(data: UtilGestureData<TARGET>): (e: InteractionEvent) => void {\n\t\treturn (e: InteractionEvent): void => {\n\t\t\tthis.onMove(e, data);\n\t\t};\n\t}\n\n\tprotected newOnEnd(data: UtilGestureData<TARGET>): (e: InteractionEvent) => void {\n\t\treturn (e: InteractionEvent): void => {\n\t\t\tthis.onEnd(e, data);\n\t\t};\n\t}\n\n\tprotected onMove(e: InteractionEvent, data: UtilGestureData<TARGET>): void {\n\t\tconst target = data.target;\n\t\tif (target == null || !target.state.isGesturing) {\n\t\t\treturn;\n\t\t}\n\t\tif (!data.isUpdatable(e) || !this._checkerMove(e, this._modifier, target)) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Update the center\n\t\tconst center = data.center;\n\t\tconst oldCenterX = center.x;\n\t\tconst oldCenterY = center.y;\n\t\tconst oldScale = data.scale;\n\t\tconst oldTime = data.time;\n\t\tdata.update(e);\n\t\tconst newCenterX = center.x;\n\t\tconst newCenterY = center.y;\n\t\tconst newScale = data.scale;\n\t\tconst newTime = data.time;\n\n\t\t// Calculate the position\n\t\tconst dx = newCenterX - oldCenterX;\n\t\tconst dy = newCenterY - oldCenterY;\n\t\tconst dt = newTime - oldTime;\n\t\tconst epsilon = 0.00001;\n\t\tconst ds = epsilon < oldScale && epsilon < newScale ? newScale / oldScale : 1;\n\n\t\t// Easing\n\t\tconst easing = data.easing;\n\t\tif (easing) {\n\t\t\teasing.onMove(dx, dy, ds, dt);\n\t\t}\n\n\t\t// Call the user-defined handler\n\t\tconst onMove = this._onMove;\n\t\tif (onMove != null) {\n\t\t\tif (dx !== 0 || dy !== 0 || ds !== 1) {\n\t\t\t\tonMove(target, dx, dy, newCenterX, newCenterY, ds);\n\t\t\t}\n\t\t}\n\t}\n\n\tprotected onEnd(e: InteractionEvent, data: UtilGestureData<TARGET>): void {\n\t\tconst target = data.target;\n\t\tif (target == null || !target.state.isGesturing) {\n\t\t\treturn;\n\t\t}\n\t\tif (!data.end(e)) {\n\t\t\treturn;\n\t\t}\n\n\t\t// State\n\t\ttarget.state.isGesturing = false;\n\n\t\t// Remove event handlers\n\t\tconst interactionManager = data.interactionManager;\n\t\tdata.interactionManager = undefined;\n\t\tif (interactionManager) {\n\t\t\tconst onMoveBound = data.onMove;\n\t\t\tif (onMoveBound) {\n\t\t\t\tinteractionManager.off(UtilPointerEvent.move, onMoveBound);\n\t\t\t}\n\t\t\tconst onEndBound = data.onEnd;\n\t\t\tif (onEndBound) {\n\t\t\t\tinteractionManager.off(UtilPointerEvent.up, onEndBound);\n\t\t\t\tinteractionManager.off(UtilPointerEvent.cancel, onEndBound);\n\t\t\t}\n\t\t}\n\n\t\t// Call the user-defined handler\n\t\tconst onEnd = this._onEnd;\n\t\tif (onEnd != null) {\n\t\t\tonEnd(target);\n\t\t}\n\n\t\t// Start the Easing\n\t\tconst easing = data.easing;\n\t\tif (easing) {\n\t\t\teasing.onEnd(e.data.originalEvent.timeStamp - data.time);\n\t\t} else {\n\t\t\tthis.deleteData(data);\n\t\t}\n\t}\n\n\tprotected onEasingMove(\n\t\tdx: number,\n\t\tdy: number,\n\t\tds: number,\n\t\ttime: number,\n\t\tdata: UtilGestureData<TARGET>\n\t): void {\n\t\tconst target = data.target;\n\t\tif (target == null) {\n\t\t\treturn;\n\t\t}\n\t\tconst onMove = this._onMove;\n\t\tif (onMove == null) {\n\t\t\treturn;\n\t\t}\n\t\tif (dx === 0 && dy === 0 && ds === 1) {\n\t\t\treturn;\n\t\t}\n\t\tconst center = data.center;\n\t\tconst x = center.x + dx;\n\t\tconst y = center.y + dy;\n\t\tcenter.set(x, y);\n\t\tonMove(data.target!, dx, dy, x, y, ds);\n\t}\n\n\tprotected onEasingEnd(data: UtilGestureData<TARGET>): void {\n\t\tthis.deleteData(data);\n\t}\n\n\tstop(target: TARGET): void {\n\t\tconst data = this._used.get(target);\n\t\tif (data == null) {\n\t\t\treturn;\n\t\t}\n\t\tdata.easing?.stop();\n\t\tthis.deleteData(data);\n\t}\n}\n"]}
|
|
1
|
+
{"version":3,"file":"util-gesture.js","sourceRoot":"","sources":["../../../../src/main/typescript/wcardinal/ui/util/util-gesture.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAIH,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAElD,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAChE,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,EAAE,iBAAiB,EAA4B,MAAM,uBAAuB,CAAC;AACpF,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAuExD;IAgBC,qBAAY,OAAmC;;QAC9C,IAAM,EAAE,GAAG,OAAO,CAAC,EAAE,CAAC;QACtB,IAAI,EAAE,EAAE;YACP,IAAI,CAAC,QAAQ,GAAG,EAAE,CAAC,KAAK,CAAC;YACzB,IAAI,CAAC,OAAO,GAAG,EAAE,CAAC,IAAI,CAAC;YACvB,IAAI,CAAC,MAAM,GAAG,EAAE,CAAC,GAAG,CAAC;YACrB,IAAI,CAAC,OAAO,GAAG,EAAE,CAAC,IAAI,CAAC;YACvB,IAAM,MAAM,GAAG,EAAE,CAAC,MAAM,CAAC;YACzB,IAAI,MAAM,IAAI,IAAI,EAAE;gBACnB,IAAI,CAAC,cAAc,GAAG,MAAM,CAAC,KAAK,CAAC;gBACnC,IAAI,CAAC,YAAY,GAAG,MAAM,CAAC,GAAG,CAAC;aAC/B;SACD;QACD,IAAI,CAAC,SAAS,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,QAAQ,mCAAI,mBAAmB,CAAC,IAAI,CAAC;QAC/D,IAAM,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC;QAChC,IAAM,cAAc,GAAG,oBAAoB,CAAC,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,CAAC,YAAY,CAAC;QACtC,IAAI,WAAW,EAAE;YAChB,WAAW,CAAC,IAAI,CAAC,MAAO,CAAC,CAAC;SAC1B;IACF,CAAC;IAED,0BAAI,GAAJ,UAAK,MAAc;;QAClB,IAAM,IAAI,GAAG,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;QACpC,IAAI,IAAI,IAAI,IAAI,EAAE;YACjB,OAAO;SACP;QACD,MAAA,IAAI,CAAC,MAAM,0CAAE,IAAI,EAAE,CAAC;QACpB,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;QACtB,IAAM,MAAM,GAAG,IAAI,CAAC,OAAO,CAAC;QAC5B,IAAI,MAAM,EAAE;YACX,MAAM,CAAC,MAAM,CAAC,CAAC;SACf;IACF,CAAC;IACF,kBAAC;AAAD,CAAC,AAxTD,IAwTC","sourcesContent":["/*\n * Copyright (C) 2019 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport { interaction, utils } from \"pixi.js\";\nimport { DApplicationTarget } from \"../d-application-like\";\nimport { DApplications } from \"../d-applications\";\nimport { DBaseStateSet } from \"../d-base-state-set\";\nimport { UtilGestureModifier } from \"./util-gesture-modifier\";\nimport { UtilGestureModifiers } from \"./util-gesture-modifiers\";\nimport { UtilGestureData } from \"./util-gesture-data\";\nimport { UtilGestureEasing, UtilGestureEasingOptions } from \"./util-gesture-easing\";\nimport { UtilPointerEvent } from \"./util-pointer-event\";\nimport InteractionEvent = interaction.InteractionEvent;\n\nexport interface UtilGestureTarget extends DApplicationTarget {\n\tstate: DBaseStateSet;\n}\nexport type UtilGestureOnMove<TARGET> = (\n\ttarget: TARGET,\n\tdx: number,\n\tdy: number,\n\tx: number,\n\ty: number,\n\tds: number\n) => void;\nexport type UtilGestureOnStart<TARGET> = (target: TARGET) => void;\nexport type UtilGestureOnEnd<TARGET> = (target: TARGET) => void;\nexport type UtilGestureOnStop<TARGET> = (target: TARGET) => void;\nexport type UtilGestureOnEasingStart<TARGET> = (target: TARGET) => void;\nexport type UtilGestureOnEasingEnd<TARGET> = (target: TARGET) => void;\nexport type UtilGestureChecker<TARGET> = (\n\te: InteractionEvent,\n\tmodifier: UtilGestureModifier,\n\ttarget: TARGET\n) => boolean;\n\nexport interface UtilGestureCheckerOptions<TARGET> {\n\tstart?: UtilGestureChecker<TARGET>;\n\tmove?: UtilGestureChecker<TARGET>;\n}\n\nexport interface UtilGestureOnEasingOptions<TARGET> {\n\tstart?: UtilGestureOnEasingStart<TARGET>;\n\tend?: UtilGestureOnEasingEnd<TARGET>;\n}\n\nexport interface UtilGestureOnOptions<TARGET> {\n\tstart?: UtilGestureOnStart<TARGET>;\n\tmove?: UtilGestureOnMove<TARGET>;\n\tend?: UtilGestureOnEnd<TARGET>;\n\tstop?: UtilGestureOnStop<TARGET>;\n\teasing?: UtilGestureOnEasingOptions<TARGET>;\n}\n\nexport interface UtilGestureOptions<TARGET> {\n\t/**\n\t * True to restrict to touch gestures only.\n\t */\n\ttouch?: boolean;\n\n\t/**\n\t * Expected mouse modifiers\n\t */\n\tmodifier?: UtilGestureModifier;\n\n\t/**\n\t * Checker options\n\t */\n\tchecker?: UtilGestureCheckerOptions<TARGET>;\n\n\t/**\n\t * Easing options\n\t */\n\teasing?: boolean | UtilGestureEasingOptions;\n\n\t/** Binds the pointerdown event of the given target. */\n\tbind?: TARGET & utils.EventEmitter;\n\n\t/** Event options */\n\ton?: UtilGestureOnOptions<TARGET>;\n}\n\nexport class UtilGesture<TARGET extends UtilGestureTarget> {\n\tprotected _onStart?: UtilGestureOnStart<TARGET>;\n\tprotected _onMove?: UtilGestureOnMove<TARGET>;\n\tprotected _onEnd?: UtilGestureOnEnd<TARGET>;\n\tprotected _onStop?: UtilGestureOnStop<TARGET>;\n\tprotected _onEasingStart?: UtilGestureOnEasingStart<TARGET>;\n\tprotected _onEasingEnd?: UtilGestureOnEasingEnd<TARGET>;\n\tprotected _modifier: UtilGestureModifier;\n\tprotected _checkerStart: UtilGestureChecker<TARGET>;\n\tprotected _checkerMove: UtilGestureChecker<TARGET>;\n\tprotected _easing?: boolean | UtilGestureEasingOptions;\n\tprotected _touch: boolean;\n\n\tprotected _unused: Array<UtilGestureData<TARGET>>;\n\tprotected _used: Map<TARGET, UtilGestureData<TARGET>>;\n\n\tconstructor(options: UtilGestureOptions<TARGET>) {\n\t\tconst on = options.on;\n\t\tif (on) {\n\t\t\tthis._onStart = on.start;\n\t\t\tthis._onMove = on.move;\n\t\t\tthis._onEnd = on.end;\n\t\t\tthis._onStop = on.stop;\n\t\t\tconst easing = on.easing;\n\t\t\tif (easing != null) {\n\t\t\t\tthis._onEasingStart = easing.start;\n\t\t\t\tthis._onEasingEnd = easing.end;\n\t\t\t}\n\t\t}\n\t\tthis._modifier = options?.modifier ?? UtilGestureModifier.NONE;\n\t\tconst checker = options.checker;\n\t\tconst defaultChecker = UtilGestureModifiers.match;\n\t\tthis._checkerStart = checker?.start ?? defaultChecker;\n\t\tthis._checkerMove = checker?.move ?? defaultChecker;\n\t\tthis._easing = options.easing;\n\t\tthis._touch = !!options.touch;\n\n\t\tthis._unused = [];\n\t\tthis._used = new Map<TARGET, UtilGestureData<TARGET>>();\n\n\t\tconst bind = options.bind;\n\t\tif (bind != null) {\n\t\t\tthis.bind(bind);\n\t\t}\n\t}\n\n\tprotected newData(target: TARGET): UtilGestureData<TARGET> {\n\t\tconst used = this._used;\n\t\tconst result = used.get(target);\n\t\tif (result != null) {\n\t\t\treturn result;\n\t\t}\n\t\tconst poped = this._unused.pop();\n\t\tif (poped != null) {\n\t\t\tused.set(target, poped);\n\t\t\treturn poped;\n\t\t}\n\t\tconst created = new UtilGestureData<TARGET>();\n\t\tcreated.easing = this.newEasing(created);\n\t\tcreated.onMove = this.newOnMove(created);\n\t\tcreated.onEnd = this.newOnEnd(created);\n\t\tused.set(target, created);\n\t\treturn created;\n\t}\n\n\tprotected newEasing(data: UtilGestureData<TARGET>): UtilGestureEasing | undefined {\n\t\tconst easing = this._easing;\n\t\tif (easing == null || easing !== false) {\n\t\t\tconst onEasingMoveBound = (dx: number, dy: number, ds: number, time: number): void => {\n\t\t\t\tthis.onEasingMove(dx, dy, ds, time, data);\n\t\t\t};\n\t\t\tconst onEasingEndBound = (): void => {\n\t\t\t\tthis.onEasingEnd(data);\n\t\t\t};\n\t\t\treturn new UtilGestureEasing(\n\t\t\t\tonEasingMoveBound,\n\t\t\t\tonEasingEndBound,\n\t\t\t\tthis.toEasingOptions(easing)\n\t\t\t);\n\t\t}\n\t\treturn undefined;\n\t}\n\n\tprotected toEasingOptions(\n\t\toptions?: true | UtilGestureEasingOptions\n\t): UtilGestureEasingOptions | undefined {\n\t\treturn options == null || options === true ? undefined : options;\n\t}\n\n\tprotected deleteData(data: UtilGestureData<TARGET>): void {\n\t\tconst target = data.target;\n\t\tif (target) {\n\t\t\tif (this._used.delete(target)) {\n\t\t\t\tdata.target = undefined;\n\t\t\t\tdata.pointers.clear();\n\t\t\t\tthis._unused.push(data);\n\t\t\t}\n\t\t}\n\t}\n\n\tbind(target: TARGET & utils.EventEmitter): this {\n\t\ttarget.on(UtilPointerEvent.down, (e: InteractionEvent): void => {\n\t\t\tthis.onDown(target, e);\n\t\t});\n\t\treturn this;\n\t}\n\n\tprotected isTouch(e: InteractionEvent): boolean {\n\t\tconst oe = e.data.originalEvent;\n\t\tif (\"touches\" in oe) {\n\t\t\treturn true;\n\t\t} else if (\"pointerId\" in oe) {\n\t\t\treturn oe.pointerType !== \"mouse\";\n\t\t} else {\n\t\t\treturn false;\n\t\t}\n\t}\n\n\tonDown(target: TARGET, e: InteractionEvent): void {\n\t\tif (this._touch && !this.isTouch(e)) {\n\t\t\treturn;\n\t\t}\n\t\tif (!this._checkerStart(e, this._modifier, target)) {\n\t\t\treturn;\n\t\t}\n\t\tconst layer = DApplications.getLayer(target);\n\t\tif (layer == null) {\n\t\t\treturn;\n\t\t}\n\n\t\te.stopPropagation();\n\t\tif (target.state.isGesturing) {\n\t\t\tthis._used.get(target)?.start(e);\n\t\t} else {\n\t\t\t// User-defined handler\n\t\t\tconst onStart = this._onStart;\n\t\t\tif (onStart != null) {\n\t\t\t\tonStart(target);\n\t\t\t}\n\n\t\t\tconst data = this.newData(target);\n\t\t\tdata.target = target;\n\t\t\ttarget.state.isGesturing = true;\n\n\t\t\t// Interaction manager\n\t\t\tconst interactionManager = layer.renderer.plugins.interaction;\n\t\t\tdata.interactionManager = interactionManager;\n\n\t\t\t// Update the center\n\t\t\tdata.start(e);\n\n\t\t\t// Easing util\n\t\t\tconst easing = data.easing;\n\t\t\tif (easing) {\n\t\t\t\teasing.onStart();\n\t\t\t}\n\n\t\t\t// Event handler\n\t\t\tdata.bind(e);\n\t\t}\n\t}\n\n\tprotected newOnMove(data: UtilGestureData<TARGET>): (e: InteractionEvent) => void {\n\t\treturn (e: InteractionEvent): void => {\n\t\t\tthis.onMove(e, data);\n\t\t};\n\t}\n\n\tprotected newOnEnd(data: UtilGestureData<TARGET>): (e: InteractionEvent) => void {\n\t\treturn (e: InteractionEvent): void => {\n\t\t\tthis.onEnd(e, data);\n\t\t};\n\t}\n\n\tprotected onMove(e: InteractionEvent, data: UtilGestureData<TARGET>): void {\n\t\tconst target = data.target;\n\t\tif (target == null || !target.state.isGesturing) {\n\t\t\treturn;\n\t\t}\n\t\tif (!data.isUpdatable(e) || !this._checkerMove(e, this._modifier, target)) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Update the center\n\t\tconst center = data.center;\n\t\tconst oldCenterX = center.x;\n\t\tconst oldCenterY = center.y;\n\t\tconst oldScale = data.scale;\n\t\tconst oldTime = data.time;\n\t\tdata.update(e);\n\t\tconst newCenterX = center.x;\n\t\tconst newCenterY = center.y;\n\t\tconst newScale = data.scale;\n\t\tconst newTime = data.time;\n\n\t\t// Calculate the position\n\t\tconst dx = newCenterX - oldCenterX;\n\t\tconst dy = newCenterY - oldCenterY;\n\t\tconst dt = newTime - oldTime;\n\t\tconst epsilon = 0.00001;\n\t\tconst ds = epsilon < oldScale && epsilon < newScale ? newScale / oldScale : 1;\n\n\t\t// Easing\n\t\tconst easing = data.easing;\n\t\tif (easing) {\n\t\t\teasing.onMove(dx, dy, ds, dt);\n\t\t}\n\n\t\t// Call the user-defined handler\n\t\tconst onMove = this._onMove;\n\t\tif (onMove != null) {\n\t\t\tif (dx !== 0 || dy !== 0 || ds !== 1) {\n\t\t\t\tonMove(target, dx, dy, newCenterX, newCenterY, ds);\n\t\t\t}\n\t\t}\n\t}\n\n\tprotected onEnd(e: InteractionEvent, data: UtilGestureData<TARGET>): void {\n\t\tconst target = data.target;\n\t\tif (target == null || !target.state.isGesturing) {\n\t\t\treturn;\n\t\t}\n\t\tif (!data.end(e)) {\n\t\t\treturn;\n\t\t}\n\n\t\t// State\n\t\ttarget.state.isGesturing = false;\n\n\t\t// Remove event handlers\n\t\tconst interactionManager = data.interactionManager;\n\t\tdata.interactionManager = undefined;\n\t\tif (interactionManager) {\n\t\t\tconst onMoveBound = data.onMove;\n\t\t\tif (onMoveBound) {\n\t\t\t\tinteractionManager.off(UtilPointerEvent.move, onMoveBound);\n\t\t\t}\n\t\t\tconst onEndBound = data.onEnd;\n\t\t\tif (onEndBound) {\n\t\t\t\tinteractionManager.off(UtilPointerEvent.up, onEndBound);\n\t\t\t\tinteractionManager.off(UtilPointerEvent.cancel, onEndBound);\n\t\t\t}\n\t\t}\n\n\t\t// Call the user-defined handler\n\t\tconst onEnd = this._onEnd;\n\t\tif (onEnd != null) {\n\t\t\tonEnd(target);\n\t\t}\n\n\t\t// Start the Easing\n\t\tconst onEasingStart = this._onEasingStart;\n\t\tif (onEasingStart) {\n\t\t\tonEasingStart(data.target!);\n\t\t}\n\t\tconst easing = data.easing;\n\t\tif (easing) {\n\t\t\teasing.onEnd(e.data.originalEvent.timeStamp - data.time);\n\t\t} else {\n\t\t\tthis.deleteData(data);\n\t\t\tconst onEasingEnd = this._onEasingEnd;\n\t\t\tif (onEasingEnd) {\n\t\t\t\tonEasingEnd(data.target!);\n\t\t\t}\n\t\t}\n\t}\n\n\tprotected onEasingMove(\n\t\tdx: number,\n\t\tdy: number,\n\t\tds: number,\n\t\ttime: number,\n\t\tdata: UtilGestureData<TARGET>\n\t): void {\n\t\tconst target = data.target;\n\t\tif (target == null) {\n\t\t\treturn;\n\t\t}\n\t\tconst onMove = this._onMove;\n\t\tif (onMove == null) {\n\t\t\treturn;\n\t\t}\n\t\tif (dx === 0 && dy === 0 && ds === 1) {\n\t\t\treturn;\n\t\t}\n\t\tconst center = data.center;\n\t\tconst x = center.x + dx;\n\t\tconst y = center.y + dy;\n\t\tcenter.set(x, y);\n\t\tonMove(data.target!, dx, dy, x, y, ds);\n\t}\n\n\tprotected onEasingEnd(data: UtilGestureData<TARGET>): void {\n\t\tthis.deleteData(data);\n\t\tconst onEasingEnd = this._onEasingEnd;\n\t\tif (onEasingEnd) {\n\t\t\tonEasingEnd(data.target!);\n\t\t}\n\t}\n\n\tstop(target: TARGET): void {\n\t\tconst data = this._used.get(target);\n\t\tif (data == null) {\n\t\t\treturn;\n\t\t}\n\t\tdata.easing?.stop();\n\t\tthis.deleteData(data);\n\t\tconst onStop = this._onStop;\n\t\tif (onStop) {\n\t\t\tonStop(target);\n\t\t}\n\t}\n}\n"]}
|