@wcardinal/wcardinal-ui 0.436.0 → 0.438.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-diagram-serialized.d.ts +2 -2
- package/dist/types/wcardinal/ui/shape/action/e-shape-action-expression-with-parameter.d.ts +1 -1
- package/dist/types/wcardinal/ui/shape/action/e-shape-action-expression.d.ts +1 -1
- package/dist/types/wcardinal/ui/shape/action/e-shape-action-misc-extension.d.ts +13 -0
- package/dist/types/wcardinal/ui/shape/action/e-shape-action-misc-extensions.d.ts +8 -0
- package/dist/types/wcardinal/ui/shape/action/e-shape-action-open-dialog-extension.d.ts +6 -1
- package/dist/types/wcardinal/ui/shape/action/e-shape-action-open-dialog-opener.d.ts +2 -1
- package/dist/types/wcardinal/ui/shape/action/e-shape-action-open-extension.d.ts +6 -1
- package/dist/types/wcardinal/ui/shape/action/e-shape-action-open-opener.d.ts +2 -1
- package/dist/types/wcardinal/ui/shape/action/e-shape-action-runtime-misc-extension.d.ts +12 -0
- package/dist/types/wcardinal/ui/shape/action/e-shape-action-value-misc-extension.d.ts +19 -0
- package/dist/types/wcardinal/ui/shape/action/e-shape-action-value-misc-type.d.ts +2 -1
- package/dist/types/wcardinal/ui/shape/action/e-shape-actions.d.ts +4 -13
- package/dist/types/wcardinal/ui/shape/action/index.d.ts +4 -0
- package/dist/wcardinal/ui/d-diagram-serialized.js.map +1 -1
- package/dist/wcardinal/ui/shape/action/deserialize-action-value.js +7 -1
- package/dist/wcardinal/ui/shape/action/deserialize-action-value.js.map +1 -1
- package/dist/wcardinal/ui/shape/action/e-shape-action-expression-with-parameter.js.map +1 -1
- package/dist/wcardinal/ui/shape/action/e-shape-action-expression.js.map +1 -1
- package/dist/wcardinal/ui/shape/action/e-shape-action-misc-extension.js +6 -0
- package/dist/wcardinal/ui/shape/action/e-shape-action-misc-extension.js.map +1 -0
- package/dist/wcardinal/ui/shape/action/e-shape-action-misc-extensions.js +30 -0
- package/dist/wcardinal/ui/shape/action/e-shape-action-misc-extensions.js.map +1 -0
- package/dist/wcardinal/ui/shape/action/e-shape-action-open-dialog-extension.js.map +1 -1
- package/dist/wcardinal/ui/shape/action/e-shape-action-open-dialog-opener.js.map +1 -1
- package/dist/wcardinal/ui/shape/action/e-shape-action-open-extension.js.map +1 -1
- package/dist/wcardinal/ui/shape/action/e-shape-action-open-opener.js.map +1 -1
- package/dist/wcardinal/ui/shape/action/e-shape-action-runtime-misc-extension.js +32 -0
- package/dist/wcardinal/ui/shape/action/e-shape-action-runtime-misc-extension.js.map +1 -0
- package/dist/wcardinal/ui/shape/action/e-shape-action-runtime-misc-html-element-base.js +2 -2
- package/dist/wcardinal/ui/shape/action/e-shape-action-runtime-misc-html-element-base.js.map +1 -1
- package/dist/wcardinal/ui/shape/action/e-shape-action-runtime-open-dialog-extension.js +8 -4
- package/dist/wcardinal/ui/shape/action/e-shape-action-runtime-open-dialog-extension.js.map +1 -1
- package/dist/wcardinal/ui/shape/action/e-shape-action-value-misc-extension.js +34 -0
- package/dist/wcardinal/ui/shape/action/e-shape-action-value-misc-extension.js.map +1 -0
- package/dist/wcardinal/ui/shape/action/e-shape-action-value-misc-type.js +2 -1
- package/dist/wcardinal/ui/shape/action/e-shape-action-value-misc-type.js.map +1 -1
- package/dist/wcardinal/ui/shape/action/e-shape-actions.js +22 -19
- package/dist/wcardinal/ui/shape/action/e-shape-actions.js.map +1 -1
- package/dist/wcardinal/ui/shape/action/index.js +4 -0
- package/dist/wcardinal/ui/shape/action/index.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/e-theme-dark-shape-action-value.js +12 -0
- package/dist/wcardinal/ui/theme/dark/e-theme-dark-shape-action-value.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/e-theme-white-shape-action-value.js +12 -0
- package/dist/wcardinal/ui/theme/white/e-theme-white-shape-action-value.js.map +1 -1
- package/dist/wcardinal-ui-theme-dark-en-us.js +14 -1
- package/dist/wcardinal-ui-theme-dark-en-us.min.js +2 -2
- package/dist/wcardinal-ui-theme-dark-en-us.min.js.map +1 -1
- package/dist/wcardinal-ui-theme-dark-ja-jp.js +14 -1
- package/dist/wcardinal-ui-theme-dark-ja-jp.min.js +2 -2
- package/dist/wcardinal-ui-theme-dark-ja-jp.min.js.map +1 -1
- package/dist/wcardinal-ui-theme-dark.js +14 -1
- package/dist/wcardinal-ui-theme-dark.min.js +2 -2
- package/dist/wcardinal-ui-theme-white-en-us.js +14 -1
- package/dist/wcardinal-ui-theme-white-en-us.min.js +2 -2
- package/dist/wcardinal-ui-theme-white-en-us.min.js.map +1 -1
- package/dist/wcardinal-ui-theme-white-ja-jp.js +14 -1
- package/dist/wcardinal-ui-theme-white-ja-jp.min.js +2 -2
- package/dist/wcardinal-ui-theme-white-ja-jp.min.js.map +1 -1
- package/dist/wcardinal-ui-theme-white.js +14 -1
- package/dist/wcardinal-ui-theme-white.min.js +2 -2
- package/dist/wcardinal-ui.cjs.js +64012 -63894
- package/dist/wcardinal-ui.js +48370 -48274
- package/dist/wcardinal-ui.min.js +2 -2
- package/dist/wcardinal-ui.min.js.map +1 -1
- package/package.json +1 -1
|
@@ -8,6 +8,7 @@ import { EShapeActionEnvironment } from "./e-shape-action-environment";
|
|
|
8
8
|
import { EShapeActionExpressions } from "./e-shape-action-expressions";
|
|
9
9
|
import { EShapeActionOpenDialogExtensions } from "./e-shape-action-open-dialog-extensions";
|
|
10
10
|
import { EShapeActionRuntimeConditional } from "./e-shape-action-runtime-conditional";
|
|
11
|
+
import { EShapeActions } from "./e-shape-actions";
|
|
11
12
|
var EShapeActionRuntimeOpenDialogExtension = /** @class */ (function (_super) {
|
|
12
13
|
__extends(EShapeActionRuntimeOpenDialogExtension, _super);
|
|
13
14
|
function EShapeActionRuntimeOpenDialogExtension(value) {
|
|
@@ -26,10 +27,13 @@ var EShapeActionRuntimeOpenDialogExtension = /** @class */ (function (_super) {
|
|
|
26
27
|
if (this.condition(shape, time, EShapeActionEnvironment)) {
|
|
27
28
|
var target_1 = this.target(shape, time, EShapeActionEnvironment);
|
|
28
29
|
if (target_1 != null) {
|
|
29
|
-
var
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
30
|
+
var diagram_1 = EShapeActions.toDiagram(shape);
|
|
31
|
+
if (diagram_1 != null) {
|
|
32
|
+
var argument_1 = this.argument(shape, time, EShapeActionEnvironment);
|
|
33
|
+
setTimeout(function () {
|
|
34
|
+
opener(target_1, argument_1, shape, diagram_1);
|
|
35
|
+
}, 0);
|
|
36
|
+
}
|
|
33
37
|
}
|
|
34
38
|
}
|
|
35
39
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"e-shape-action-runtime-open-dialog-extension.js","sourceRoot":"","sources":["../../../../../src/main/typescript/wcardinal/ui/shape/action/e-shape-action-runtime-open-dialog-extension.ts"],"names":[],"mappings":"AAAA;;;GAGG;;AAIH,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAC9D,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AAEvE,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AACvE,OAAO,EAAE,gCAAgC,EAAE,MAAM,yCAAyC,CAAC;AAE3F,OAAO,EAAE,8BAA8B,EAAE,MAAM,sCAAsC,CAAC;
|
|
1
|
+
{"version":3,"file":"e-shape-action-runtime-open-dialog-extension.js","sourceRoot":"","sources":["../../../../../src/main/typescript/wcardinal/ui/shape/action/e-shape-action-runtime-open-dialog-extension.ts"],"names":[],"mappings":"AAAA;;;GAGG;;AAIH,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAC9D,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AAEvE,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AACvE,OAAO,EAAE,gCAAgC,EAAE,MAAM,yCAAyC,CAAC;AAE3F,OAAO,EAAE,8BAA8B,EAAE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F,CAAC;IACF,6CAAC;AAAD,CAAC,AAhCD,CAA4D,8BAA8B,GAgCzF","sourcesContent":["/*\n * Copyright (C) 2019 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport { EShape } from \"../e-shape\";\nimport { EShapeRuntime } from \"../e-shape-runtime\";\nimport { EShapeRuntimeReset } from \"../e-shape-runtime-reset\";\nimport { EShapeActionEnvironment } from \"./e-shape-action-environment\";\nimport { EShapeActionExpression } from \"./e-shape-action-expression\";\nimport { EShapeActionExpressions } from \"./e-shape-action-expressions\";\nimport { EShapeActionOpenDialogExtensions } from \"./e-shape-action-open-dialog-extensions\";\nimport { EShapeActionOpenDialogOpener } from \"./e-shape-action-open-dialog-opener\";\nimport { EShapeActionRuntimeConditional } from \"./e-shape-action-runtime-conditional\";\nimport { EShapeActionValueOpenDialogExtension } from \"./e-shape-action-value-open-dialog-extension\";\nimport { EShapeActions } from \"./e-shape-actions\";\n\nexport class EShapeActionRuntimeOpenDialogExtension extends EShapeActionRuntimeConditional {\n\tprotected readonly target: EShapeActionExpression<string | null>;\n\tprotected readonly argument: EShapeActionExpression<unknown>;\n\tprotected readonly opener?: EShapeActionOpenDialogOpener;\n\n\tconstructor(value: EShapeActionValueOpenDialogExtension) {\n\t\tsuper(value, EShapeRuntimeReset.NONE);\n\t\tthis.target = EShapeActionExpressions.ofStringOrNull(value.target);\n\t\tthis.argument = EShapeActionExpressions.ofUnknown(value.argument);\n\t\tconst extension = EShapeActionOpenDialogExtensions.get(value.dialogType);\n\t\tif (extension) {\n\t\t\tthis.opener = extension.opener;\n\t\t}\n\t}\n\n\texecute(shape: EShape, runtime: EShapeRuntime, time: number): void {\n\t\tconst opener = this.opener;\n\t\tif (opener) {\n\t\t\tif (this.condition(shape, time, EShapeActionEnvironment)) {\n\t\t\t\tconst target = this.target(shape, time, EShapeActionEnvironment);\n\t\t\t\tif (target != null) {\n\t\t\t\t\tconst diagram = EShapeActions.toDiagram(shape);\n\t\t\t\t\tif (diagram != null) {\n\t\t\t\t\t\tconst argument = this.argument(shape, time, EShapeActionEnvironment);\n\t\t\t\t\t\tsetTimeout(() => {\n\t\t\t\t\t\t\topener(target, argument, shape, diagram);\n\t\t\t\t\t\t}, 0);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}\n"]}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (C) 2019 Toshiba Corporation
|
|
3
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
4
|
+
*/
|
|
5
|
+
import { __extends } from "tslib";
|
|
6
|
+
import { EShapeActionRuntimeMiscExtension } from "./e-shape-action-runtime-misc-extension";
|
|
7
|
+
import { EShapeActionValueSubtyped } from "./e-shape-action-value-subtyped";
|
|
8
|
+
import { EShapeActionValueType } from "./e-shape-action-value-type";
|
|
9
|
+
import { EShapeActionValues } from "./e-shape-action-values";
|
|
10
|
+
var EShapeActionValueMiscExtension = /** @class */ (function (_super) {
|
|
11
|
+
__extends(EShapeActionValueMiscExtension, _super);
|
|
12
|
+
function EShapeActionValueMiscExtension(subtype, condition, argument) {
|
|
13
|
+
var _this = _super.call(this, EShapeActionValueType.MISC, condition, subtype) || this;
|
|
14
|
+
_this.argument = argument;
|
|
15
|
+
return _this;
|
|
16
|
+
}
|
|
17
|
+
EShapeActionValueMiscExtension.prototype.toRuntime = function () {
|
|
18
|
+
return new EShapeActionRuntimeMiscExtension(this);
|
|
19
|
+
};
|
|
20
|
+
EShapeActionValueMiscExtension.prototype.serialize = function (manager) {
|
|
21
|
+
var conditionId = manager.addResource(this.condition);
|
|
22
|
+
var argumentId = manager.addResource(this.argument);
|
|
23
|
+
return manager.addResource("[".concat(this.type, ",").concat(conditionId, ",").concat(this.subtype, ",").concat(argumentId, "]"));
|
|
24
|
+
};
|
|
25
|
+
EShapeActionValueMiscExtension.deserialize = function (serialized, manager) {
|
|
26
|
+
var resources = manager.resources;
|
|
27
|
+
var condition = EShapeActionValues.toResource(1, serialized, resources);
|
|
28
|
+
var argument = EShapeActionValues.toResource(3, serialized, resources);
|
|
29
|
+
return new EShapeActionValueMiscExtension(serialized[2], condition, argument);
|
|
30
|
+
};
|
|
31
|
+
return EShapeActionValueMiscExtension;
|
|
32
|
+
}(EShapeActionValueSubtyped));
|
|
33
|
+
export { EShapeActionValueMiscExtension };
|
|
34
|
+
//# sourceMappingURL=e-shape-action-value-misc-extension.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"e-shape-action-value-misc-extension.js","sourceRoot":"","sources":["../../../../../src/main/typescript/wcardinal/ui/shape/action/e-shape-action-value-misc-extension.ts"],"names":[],"mappings":"AAAA;;;GAGG;;AAKH,OAAO,EAAE,gCAAgC,EAAE,MAAM,yCAAyC,CAAC;AAC3F,OAAO,EAAE,yBAAyB,EAAE,MAAM,iCAAiC,CAAC;AAC5E,OAAO,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AACpE,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAW7D;IAAoD,kDAAgE;IAGnH,wCACC,OAA8C,EAC9C,SAAiB,EACjB,QAAgB;QAHjB,YAKC,kBAAM,qBAAqB,CAAC,IAAI,EAAE,SAAS,EAAE,OAAO,CAAC,SAErD;QADA,KAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;;IAC1B,CAAC;IAED,kDAAS,GAAT;QACC,OAAO,IAAI,gCAAgC,CAAC,IAAI,CAAC,CAAC;IACnD,CAAC;IAED,kDAAS,GAAT,UAAU,OAA2C;QACpD,IAAM,WAAW,GAAG,OAAO,CAAC,WAAW,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;QACxD,IAAM,UAAU,GAAG,OAAO,CAAC,WAAW,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;QACtD,OAAO,OAAO,CAAC,WAAW,CAAC,WAAI,IAAI,CAAC,IAAI,cAAI,WAAW,cAAI,IAAI,CAAC,OAAO,cAAI,UAAU,MAAG,CAAC,CAAC;IAC3F,CAAC;IAEM,0CAAW,GAAlB,UACC,UAAoD,EACpD,OAA6C;QAE7C,IAAM,SAAS,GAAG,OAAO,CAAC,SAAS,CAAC;QACpC,IAAM,SAAS,GAAG,kBAAkB,CAAC,UAAU,CAAC,CAAC,EAAE,UAAU,EAAE,SAAS,CAAC,CAAC;QAC1E,IAAM,QAAQ,GAAG,kBAAkB,CAAC,UAAU,CAAC,CAAC,EAAE,UAAU,EAAE,SAAS,CAAC,CAAC;QACzE,OAAO,IAAI,8BAA8B,CAAC,UAAU,CAAC,CAAC,CAAC,EAAE,SAAS,EAAE,QAAQ,CAAC,CAAC;IAC/E,CAAC;IACF,qCAAC;AAAD,CAAC,AA/BD,CAAoD,yBAAyB,GA+B5E","sourcesContent":["/*\n * Copyright (C) 2019 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport { EShapeResourceManagerDeserialization } from \"../e-shape-resource-manager-deserialization\";\nimport { EShapeResourceManagerSerialization } from \"../e-shape-resource-manager-serialization\";\nimport { EShapeActionRuntime } from \"./e-shape-action-runtime\";\nimport { EShapeActionRuntimeMiscExtension } from \"./e-shape-action-runtime-misc-extension\";\nimport { EShapeActionValueSubtyped } from \"./e-shape-action-value-subtyped\";\nimport { EShapeActionValueType } from \"./e-shape-action-value-type\";\nimport { EShapeActionValues } from \"./e-shape-action-values\";\n\nexport type EShapeActionValueMiscExtensionSubtype = number;\n\nexport type EShapeActionValueMiscExtensionSerialized = [\n\ttypeof EShapeActionValueType.MISC,\n\tnumber,\n\tEShapeActionValueMiscExtensionSubtype,\n\tnumber\n];\n\nexport class EShapeActionValueMiscExtension extends EShapeActionValueSubtyped<EShapeActionValueMiscExtensionSubtype> {\n\treadonly argument: string;\n\n\tconstructor(\n\t\tsubtype: EShapeActionValueMiscExtensionSubtype,\n\t\tcondition: string,\n\t\targument: string\n\t) {\n\t\tsuper(EShapeActionValueType.MISC, condition, subtype);\n\t\tthis.argument = argument;\n\t}\n\n\ttoRuntime(): EShapeActionRuntime {\n\t\treturn new EShapeActionRuntimeMiscExtension(this);\n\t}\n\n\tserialize(manager: EShapeResourceManagerSerialization): number {\n\t\tconst conditionId = manager.addResource(this.condition);\n\t\tconst argumentId = manager.addResource(this.argument);\n\t\treturn manager.addResource(`[${this.type},${conditionId},${this.subtype},${argumentId}]`);\n\t}\n\n\tstatic deserialize(\n\t\tserialized: EShapeActionValueMiscExtensionSerialized,\n\t\tmanager: EShapeResourceManagerDeserialization\n\t): EShapeActionValueMiscExtension {\n\t\tconst resources = manager.resources;\n\t\tconst condition = EShapeActionValues.toResource(1, serialized, resources);\n\t\tconst argument = EShapeActionValues.toResource(3, serialized, resources);\n\t\treturn new EShapeActionValueMiscExtension(serialized[2], condition, argument);\n\t}\n}\n"]}
|
|
@@ -18,6 +18,7 @@ export var EShapeActionValueMiscType = {
|
|
|
18
18
|
GESTURE_LAYER: 10,
|
|
19
19
|
/** @deprecated in favor of {@link EShapeActionValueType}'s GESTURE */
|
|
20
20
|
GESTURE: 11,
|
|
21
|
-
EXECUTE: 12
|
|
21
|
+
EXECUTE: 12,
|
|
22
|
+
EXTENSION: 1000
|
|
22
23
|
};
|
|
23
24
|
//# sourceMappingURL=e-shape-action-value-misc-type.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"e-shape-action-value-misc-type.js","sourceRoot":"","sources":["../../../../../src/main/typescript/wcardinal/ui/shape/action/e-shape-action-value-misc-type.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,MAAM,CAAC,IAAM,yBAAyB,GAAG;IACxC,UAAU,EAAE,CAAC;IACb,aAAa,EAAE,CAAC;IAChB,UAAU,EAAE,CAAC;IACb,UAAU,EAAE,CAAC;IACb,UAAU,EAAE,CAAC;IACb,WAAW,EAAE,CAAC;IACd,YAAY,EAAE,CAAC;IACf,YAAY,EAAE,CAAC;IACf,mCAAmC,EAAE,CAAC;IACtC,4EAA4E;IAC5E,eAAe,EAAE,CAAC;IAClB,sEAAsE;IACtE,aAAa,EAAE,EAAE;IACjB,sEAAsE;IACtE,OAAO,EAAE,EAAE;IACX,OAAO,EAAE,EAAE;
|
|
1
|
+
{"version":3,"file":"e-shape-action-value-misc-type.js","sourceRoot":"","sources":["../../../../../src/main/typescript/wcardinal/ui/shape/action/e-shape-action-value-misc-type.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,MAAM,CAAC,IAAM,yBAAyB,GAAG;IACxC,UAAU,EAAE,CAAC;IACb,aAAa,EAAE,CAAC;IAChB,UAAU,EAAE,CAAC;IACb,UAAU,EAAE,CAAC;IACb,UAAU,EAAE,CAAC;IACb,WAAW,EAAE,CAAC;IACd,YAAY,EAAE,CAAC;IACf,YAAY,EAAE,CAAC;IACf,mCAAmC,EAAE,CAAC;IACtC,4EAA4E;IAC5E,eAAe,EAAE,CAAC;IAClB,sEAAsE;IACtE,aAAa,EAAE,EAAE;IACjB,sEAAsE;IACtE,OAAO,EAAE,EAAE;IACX,OAAO,EAAE,EAAE;IACX,SAAS,EAAE,IAAI;CACN,CAAC","sourcesContent":["/*\n * Copyright (C) 2019 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nexport const EShapeActionValueMiscType = {\n\tINPUT_TEXT: 0,\n\tINPUT_INTEGER: 1,\n\tINPUT_REAL: 2,\n\tEMIT_EVENT: 3,\n\tWRITE_BOTH: 4,\n\tWRITE_LOCAL: 5,\n\tWRITE_REMOTE: 6,\n\tHTML_ELEMENT: 7,\n\tHTML_ELEMENT_WITHOUT_POINTER_EVENTS: 8,\n\t/** @deprecated in favor of {@link EShapeActionValueShowHideType}'s LAYER */\n\tSHOW_HIDE_LAYER: 9,\n\t/** @deprecated in favor of {@link EShapeActionValueType}'s GESTURE */\n\tGESTURE_LAYER: 10,\n\t/** @deprecated in favor of {@link EShapeActionValueType}'s GESTURE */\n\tGESTURE: 11,\n\tEXECUTE: 12,\n\tEXTENSION: 1000\n} as const;\n\nexport type EShapeActionValueMiscType = number;\n"]}
|
|
@@ -3,26 +3,26 @@
|
|
|
3
3
|
* SPDX-License-Identifier: Apache-2.0
|
|
4
4
|
*/
|
|
5
5
|
import { DApplications } from "../../d-applications";
|
|
6
|
-
import { DCanvasContainer } from "../../d-canvas-container";
|
|
7
6
|
import { DDiagramBaseControllerOpenType } from "../../d-diagram-base-controller";
|
|
8
7
|
import { DDiagrams } from "../../d-diagrams";
|
|
9
8
|
import { EShapeDataValueState } from "../e-shape-data-value-state";
|
|
10
9
|
import { EShapeEmbedded } from "../variant/e-shape-embedded";
|
|
11
10
|
import { EShapeActionOpenOpeners } from "./e-shape-action-open-openers";
|
|
12
11
|
import { isString } from "../../util/is-string";
|
|
12
|
+
import { DDiagram } from "../../d-diagram";
|
|
13
13
|
var EShapeActions = /** @class */ (function () {
|
|
14
14
|
function EShapeActions() {
|
|
15
15
|
}
|
|
16
|
-
EShapeActions.
|
|
17
|
-
return target instanceof
|
|
16
|
+
EShapeActions.isDiagram = function (target) {
|
|
17
|
+
return target instanceof DDiagram;
|
|
18
18
|
};
|
|
19
19
|
EShapeActions.isEmbedded = function (target) {
|
|
20
20
|
return target instanceof EShapeEmbedded;
|
|
21
21
|
};
|
|
22
|
-
EShapeActions.
|
|
22
|
+
EShapeActions.toDiagram = function (shape) {
|
|
23
23
|
var current = shape;
|
|
24
24
|
while (current != null) {
|
|
25
|
-
if (this.
|
|
25
|
+
if (this.isDiagram(current)) {
|
|
26
26
|
return current;
|
|
27
27
|
}
|
|
28
28
|
current = current.parent;
|
|
@@ -32,17 +32,20 @@ var EShapeActions = /** @class */ (function () {
|
|
|
32
32
|
EShapeActions.open = function (shape, type, target, inNewWindow) {
|
|
33
33
|
var opener = EShapeActionOpenOpeners[type];
|
|
34
34
|
if (opener != null) {
|
|
35
|
-
|
|
35
|
+
var diagram = this.toDiagram(shape);
|
|
36
|
+
if (diagram) {
|
|
37
|
+
opener(target, inNewWindow, shape, diagram);
|
|
38
|
+
}
|
|
36
39
|
}
|
|
37
40
|
else if (isString(target)) {
|
|
38
41
|
switch (type) {
|
|
39
42
|
case DDiagramBaseControllerOpenType.DIAGRAM:
|
|
40
|
-
var
|
|
41
|
-
if (
|
|
42
|
-
var controller =
|
|
43
|
+
var diagram_1 = this.toDiagram(shape);
|
|
44
|
+
if (diagram_1) {
|
|
45
|
+
var controller = diagram_1.controller;
|
|
43
46
|
if (controller) {
|
|
44
47
|
controller.getByName(target).then(function (found) {
|
|
45
|
-
|
|
48
|
+
diagram_1.set(DDiagrams.toSerialized(found));
|
|
46
49
|
});
|
|
47
50
|
}
|
|
48
51
|
}
|
|
@@ -63,7 +66,7 @@ var EShapeActions = /** @class */ (function () {
|
|
|
63
66
|
if (state === void 0) { state = EShapeDataValueState.FOUND; }
|
|
64
67
|
var current = shape;
|
|
65
68
|
while (current != null) {
|
|
66
|
-
if (this.
|
|
69
|
+
if (this.isDiagram(current)) {
|
|
67
70
|
if (current.data.private.set(id, value, time, state)) {
|
|
68
71
|
DApplications.update(current);
|
|
69
72
|
return true;
|
|
@@ -91,24 +94,24 @@ var EShapeActions = /** @class */ (function () {
|
|
|
91
94
|
return false;
|
|
92
95
|
};
|
|
93
96
|
EShapeActions.writeRemote = function (shape, id, value) {
|
|
94
|
-
var
|
|
95
|
-
if (
|
|
96
|
-
return
|
|
97
|
+
var diagram = this.toDiagram(shape);
|
|
98
|
+
if (diagram) {
|
|
99
|
+
return diagram.data.remote.set(id, value);
|
|
97
100
|
}
|
|
98
101
|
return false;
|
|
99
102
|
};
|
|
100
103
|
EShapeActions.emit = function (shape, name, value, time) {
|
|
101
|
-
var
|
|
104
|
+
var diagram = EShapeActions.toDiagram(shape);
|
|
102
105
|
if (time === undefined) {
|
|
103
106
|
shape.emit(name, shape);
|
|
104
|
-
if (
|
|
105
|
-
|
|
107
|
+
if (diagram) {
|
|
108
|
+
diagram.shape.emit(name, shape);
|
|
106
109
|
}
|
|
107
110
|
}
|
|
108
111
|
else {
|
|
109
112
|
shape.emit(name, value, time, shape);
|
|
110
|
-
if (
|
|
111
|
-
|
|
113
|
+
if (diagram) {
|
|
114
|
+
diagram.shape.emit(name, value, time, shape);
|
|
112
115
|
}
|
|
113
116
|
}
|
|
114
117
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"e-shape-actions.js","sourceRoot":"","sources":["../../../../../src/main/typescript/wcardinal/ui/shape/action/e-shape-actions.ts"],"names":[],"mappings":"AAAA;;;GAGG;
|
|
1
|
+
{"version":3,"file":"e-shape-actions.js","sourceRoot":"","sources":["../../../../../src/main/typescript/wcardinal/ui/shape/action/e-shape-actions.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,EAAE,8BAA8B,EAAE,MAAM,iCAAiC,CAAC;AACjF,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAE7C,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AACnE,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAC7D,OAAO,EAAE,uBAAuB,EAAE,MAAM,+BAA+B,CAAC;AACxE,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAE3C;IAAA;IAkHA,CAAC;IAjHO,uBAAS,GAAhB,UAAiB,MAAe;QAC/B,OAAO,MAAM,YAAY,QAAQ,CAAC;IACnC,CAAC;IAEM,wBAAU,GAAjB,UAAkB,MAAe;QAChC,OAAO,MAAM,YAAY,cAAc,CAAC;IACzC,CAAC;IAEM,uBAAS,GAAhB,UAAiB,KAAqB;QACrC,IAAI,OAAO,GAAuC,KAAK,CAAC;QACxD,OAAO,OAAO,IAAI,IAAI,EAAE;YACvB,IAAI,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,EAAE;gBAC5B,OAAO,OAAO,CAAC;aACf;YACD,OAAO,GAAG,OAAO,CAAC,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YACZ,OAAO,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,EAAE,EAAE,KAAK,CAAC,CAAC;SAC1C;QACD,OAAO,KAAK,CAAC;IACd,CAAC;IAIM,kBAAI,GAAX,UAAY,KAAa,EAAE,IAAY,EAAE,KAAe,EAAE,IAAa;QACtE,IAAM,OAAO,GAAG,aAAa,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;QAC/C,IAAI,IAAI,KAAK,SAAS,EAAE;YACvB,KAAK,CAAC,IAAI,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;YACxB,IAAI,OAAO,EAAE;gBACZ,OAAO,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;aAChC;SACD;aAAM;YACN,KAAK,CAAC,IAAI,CAAC,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,CAAC,CAAC;YACrC,IAAI,OAAO,EAAE;gBACZ,OAAO,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,CAAC,CAAC;aAC7C;SACD;IACF,CAAC;IACF,oBAAC;AAAD,CAAC,AAlHD,IAkHC","sourcesContent":["/*\n * Copyright (C) 2019 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport { DApplications } from \"../../d-applications\";\nimport { DDiagramBaseControllerOpenType } from \"../../d-diagram-base-controller\";\nimport { DDiagrams } from \"../../d-diagrams\";\nimport { EShape } from \"../e-shape\";\nimport { EShapeDataValueState } from \"../e-shape-data-value-state\";\nimport { EShapeEmbedded } from \"../variant/e-shape-embedded\";\nimport { EShapeActionOpenOpeners } from \"./e-shape-action-open-openers\";\nimport { isString } from \"../../util/is-string\";\nimport { DDiagram } from \"../../d-diagram\";\n\nexport class EShapeActions {\n\tstatic isDiagram(target: unknown): target is DDiagram {\n\t\treturn target instanceof DDiagram;\n\t}\n\n\tstatic isEmbedded(target: unknown): target is EShapeEmbedded {\n\t\treturn target instanceof EShapeEmbedded;\n\t}\n\n\tstatic toDiagram(shape?: EShape | null): DDiagram | null {\n\t\tlet current: { parent: any } | null | undefined = shape;\n\t\twhile (current != null) {\n\t\t\tif (this.isDiagram(current)) {\n\t\t\t\treturn current;\n\t\t\t}\n\t\t\tcurrent = current.parent;\n\t\t}\n\t\treturn null;\n\t}\n\n\tstatic open(\n\t\tshape: EShape,\n\t\ttype: DDiagramBaseControllerOpenType,\n\t\ttarget: unknown,\n\t\tinNewWindow: boolean\n\t): void {\n\t\tconst opener = EShapeActionOpenOpeners[type];\n\t\tif (opener != null) {\n\t\t\tconst diagram = this.toDiagram(shape);\n\t\t\tif (diagram) {\n\t\t\t\topener(target, inNewWindow, shape, diagram);\n\t\t\t}\n\t\t} else if (isString(target)) {\n\t\t\tswitch (type) {\n\t\t\t\tcase DDiagramBaseControllerOpenType.DIAGRAM:\n\t\t\t\t\tconst diagram = this.toDiagram(shape);\n\t\t\t\t\tif (diagram) {\n\t\t\t\t\t\tconst controller = diagram.controller;\n\t\t\t\t\t\tif (controller) {\n\t\t\t\t\t\t\tcontroller.getByName(target).then((found): void => {\n\t\t\t\t\t\t\t\tdiagram.set(DDiagrams.toSerialized(found));\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\tcase DDiagramBaseControllerOpenType.PAGE:\n\t\t\t\t\tif (inNewWindow) {\n\t\t\t\t\t\twindow.open(target);\n\t\t\t\t\t} else {\n\t\t\t\t\t\twindow.location.href = target;\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}\n\n\tstatic writeLocal(\n\t\tshape: EShape,\n\t\tid: string,\n\t\tvalue: unknown,\n\t\ttime: number,\n\t\tstate: EShapeDataValueState = EShapeDataValueState.FOUND\n\t): boolean {\n\t\tlet current: { parent: any } | null | undefined = shape;\n\t\twhile (current != null) {\n\t\t\tif (this.isDiagram(current)) {\n\t\t\t\tif (current.data.private.set(id, value, time, state)) {\n\t\t\t\t\tDApplications.update(current);\n\t\t\t\t\treturn true;\n\t\t\t\t} else if (current.data.protected.set(id, value, time, state)) {\n\t\t\t\t\tDApplications.update(current);\n\t\t\t\t\treturn true;\n\t\t\t\t} else {\n\t\t\t\t\tif (current.data.set(id, value, time, state)) {\n\t\t\t\t\t\tDApplications.update(current);\n\t\t\t\t\t\treturn true;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn false;\n\t\t\t} else if (this.isEmbedded(current)) {\n\t\t\t\tif (current.data.getPrivate()?.set(id, value, time, state)) {\n\t\t\t\t\tDApplications.update(current);\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t}\n\t\t\tcurrent = current.parent;\n\t\t}\n\t\treturn false;\n\t}\n\n\tstatic writeRemote(shape: EShape, id: string, value: unknown): boolean {\n\t\tconst diagram = this.toDiagram(shape);\n\t\tif (diagram) {\n\t\t\treturn diagram.data.remote.set(id, value);\n\t\t}\n\t\treturn false;\n\t}\n\n\tstatic emit(shape: EShape, name: string): void;\n\tstatic emit(shape: EShape, name: string, value: unknown, time: number): void;\n\tstatic emit(shape: EShape, name: string, value?: unknown, time?: number): void {\n\t\tconst diagram = EShapeActions.toDiagram(shape);\n\t\tif (time === undefined) {\n\t\t\tshape.emit(name, shape);\n\t\t\tif (diagram) {\n\t\t\t\tdiagram.shape.emit(name, shape);\n\t\t\t}\n\t\t} else {\n\t\t\tshape.emit(name, value, time, shape);\n\t\t\tif (diagram) {\n\t\t\t\tdiagram.shape.emit(name, value, time, shape);\n\t\t\t}\n\t\t}\n\t}\n}\n"]}
|
|
@@ -8,6 +8,8 @@ export * from "./e-shape-action-environment";
|
|
|
8
8
|
export * from "./e-shape-action-expression-with-parameter";
|
|
9
9
|
export * from "./e-shape-action-expression";
|
|
10
10
|
export * from "./e-shape-action-expressions";
|
|
11
|
+
export * from "./e-shape-action-misc-extension";
|
|
12
|
+
export * from "./e-shape-action-misc-extensions";
|
|
11
13
|
export * from "./e-shape-action-open-dialog-extension";
|
|
12
14
|
export * from "./e-shape-action-open-dialog-extensions";
|
|
13
15
|
export * from "./e-shape-action-open-dialog-opener";
|
|
@@ -35,6 +37,7 @@ export * from "./e-shape-action-runtime-gesture-layer";
|
|
|
35
37
|
export * from "./e-shape-action-runtime-gesture-shape";
|
|
36
38
|
export * from "./e-shape-action-runtime-misc-emit-event";
|
|
37
39
|
export * from "./e-shape-action-runtime-misc-execute";
|
|
40
|
+
export * from "./e-shape-action-runtime-misc-extension";
|
|
38
41
|
export * from "./e-shape-action-runtime-misc-html-element";
|
|
39
42
|
export * from "./e-shape-action-runtime-misc-input-input";
|
|
40
43
|
export * from "./e-shape-action-runtime-misc-input-integer";
|
|
@@ -98,6 +101,7 @@ export * from "./e-shape-action-value-gesture-type";
|
|
|
98
101
|
export * from "./e-shape-action-value-gesture";
|
|
99
102
|
export * from "./e-shape-action-value-misc-emit-event";
|
|
100
103
|
export * from "./e-shape-action-value-misc-execute";
|
|
104
|
+
export * from "./e-shape-action-value-misc-extension";
|
|
101
105
|
export * from "./e-shape-action-value-misc-html-element";
|
|
102
106
|
export * from "./e-shape-action-value-misc-input";
|
|
103
107
|
export * from "./e-shape-action-value-misc-type";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/main/typescript/wcardinal/ui/shape/action/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,cAAc,4BAA4B,CAAC;AAC3C,cAAc,wBAAwB,CAAC;AACvC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,4CAA4C,CAAC;AAC3D,cAAc,6BAA6B,CAAC;AAC5C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,wCAAwC,CAAC;AACvD,cAAc,yCAAyC,CAAC;AACxD,cAAc,qCAAqC,CAAC;AACpD,cAAc,iCAAiC,CAAC;AAChD,cAAc,kCAAkC,CAAC;AACjD,cAAc,8BAA8B,CAAC;AAC7C,c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8C,CAAC;AAC7D,cAAc,yCAAyC,CAAC;AACxD,cAAc,oCAAoC,CAAC;AACnD,cAAc,uCAAuC,CAAC;AACtD,cAAc,kCAAkC,CAAC;AACjD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,iCAAiC,CAAC;AAChD,cAAc,wCAAwC,CAAC;AACvD,cAAc,wCAAwC,CAAC;AACvD,cAAc,uCAAuC,CAAC;AACtD,cAAc,kCAAkC,CAAC;AACjD,cAAc,iCAAiC,CAAC;AAChD,cAAc,4CAA4C,CAAC;AAC3D,cAAc,uCAAuC,CAAC;AACtD,cAAc,8CAA8C,CAAC;AAC7D,cAAc,yCAAyC,CAAC;AACxD,cAAc,8CAA8C,CAAC;AAC7D,cAAc,yCAAyC,CAAC;AACxD,cAAc,uCAAuC,CAAC;AACtD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC;AACxC,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC","sourcesContent":["/*\n * Copyright (C) 2019 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nexport * from \"./deserialize-action-value\";\nexport * from \"./e-shape-action-bases\";\nexport * from \"./e-shape-action-environment\";\nexport * from \"./e-shape-action-expression-with-parameter\";\nexport * from \"./e-shape-action-expression\";\nexport * from \"./e-shape-action-expressions\";\nexport * from \"./e-shape-action-open-dialog-extension\";\nexport * from \"./e-shape-action-open-dialog-extensions\";\nexport * from \"./e-shape-action-open-dialog-opener\";\nexport * from \"./e-shape-action-open-extension\";\nexport * from \"./e-shape-action-open-extensions\";\nexport * from \"./e-shape-action-open-opener\";\nexport * from \"./e-shape-action-open-openers\";\nexport * from \"./e-shape-action-runtime-base\";\nexport * from \"./e-shape-action-runtime-blink-brighten\";\nexport * from \"./e-shape-action-runtime-blink-color-fill\";\nexport * from \"./e-shape-action-runtime-blink-color-stroke\";\nexport * from \"./e-shape-action-runtime-blink-darken\";\nexport * from \"./e-shape-action-runtime-blink-opacity\";\nexport * from \"./e-shape-action-runtime-blink-visibility\";\nexport * from \"./e-shape-action-runtime-blink\";\nexport * from \"./e-shape-action-runtime-change-color-brightness\";\nexport * from \"./e-shape-action-runtime-change-color-code\";\nexport * from \"./e-shape-action-runtime-change-color\";\nexport * from \"./e-shape-action-runtime-change-cursor\";\nexport * from \"./e-shape-action-runtime-change-text-number\";\nexport * from \"./e-shape-action-runtime-change-text-text\";\nexport * from \"./e-shape-action-runtime-conditional\";\nexport * from \"./e-shape-action-runtime-emit-event\";\nexport * from \"./e-shape-action-runtime-gesture-layer\";\nexport * from \"./e-shape-action-runtime-gesture-shape\";\nexport * from \"./e-shape-action-runtime-misc-emit-event\";\nexport * from \"./e-shape-action-runtime-misc-execute\";\nexport * from \"./e-shape-action-runtime-misc-html-element\";\nexport * from \"./e-shape-action-runtime-misc-input-input\";\nexport * from \"./e-shape-action-runtime-misc-input-integer\";\nexport * from \"./e-shape-action-runtime-misc-input-number\";\nexport * from \"./e-shape-action-runtime-misc-input-real\";\nexport * from \"./e-shape-action-runtime-misc-input-text\";\nexport * from \"./e-shape-action-runtime-misc-input\";\nexport * from \"./e-shape-action-runtime-misc-write-both\";\nexport * from \"./e-shape-action-runtime-misc-write-local\";\nexport * from \"./e-shape-action-runtime-misc-write-remote\";\nexport * from \"./e-shape-action-runtime-misc-write\";\nexport * from \"./e-shape-action-runtime-open-dialog-boolean\";\nexport * from \"./e-shape-action-runtime-open-dialog-date\";\nexport * from \"./e-shape-action-runtime-open-dialog-datetime\";\nexport * from \"./e-shape-action-runtime-open-dialog-extension\";\nexport * from \"./e-shape-action-runtime-open-dialog-integer\";\nexport * from \"./e-shape-action-runtime-open-dialog-real\";\nexport * from \"./e-shape-action-runtime-open-dialog-text\";\nexport * from \"./e-shape-action-runtime-open-dialog-time\";\nexport * from \"./e-shape-action-runtime-open-dialog\";\nexport * from \"./e-shape-action-runtime-open\";\nexport * from \"./e-shape-action-runtime-show-hide-layer\";\nexport * from \"./e-shape-action-runtime-show-hide-shape\";\nexport * from \"./e-shape-action-runtime-show-hide\";\nexport * from \"./e-shape-action-runtime-transform-move-absolute-x\";\nexport * from \"./e-shape-action-runtime-transform-move-absolute-y\";\nexport * from \"./e-shape-action-runtime-transform-move-forward-or-backward\";\nexport * from \"./e-shape-action-runtime-transform-move-left-or-right\";\nexport * from \"./e-shape-action-runtime-transform-move-relative-x\";\nexport * from \"./e-shape-action-runtime-transform-move-relative-y\";\nexport * from \"./e-shape-action-runtime-transform-move\";\nexport * from \"./e-shape-action-runtime-transform-resize-height-absolute\";\nexport * from \"./e-shape-action-runtime-transform-resize-height-relative\";\nexport * from \"./e-shape-action-runtime-transform-resize-size-absolute\";\nexport * from \"./e-shape-action-runtime-transform-resize-size-relative\";\nexport * from \"./e-shape-action-runtime-transform-resize-width-absolute\";\nexport * from \"./e-shape-action-runtime-transform-resize-width-relative\";\nexport * from \"./e-shape-action-runtime-transform-resize\";\nexport * from \"./e-shape-action-runtime-transform-rotate-absolute\";\nexport * from \"./e-shape-action-runtime-transform-rotate-relative\";\nexport * from \"./e-shape-action-runtime-transform-rotate\";\nexport * from \"./e-shape-action-runtime\";\nexport * from \"./e-shape-action-runtimes\";\nexport * from \"./e-shape-action-value-base\";\nexport * from \"./e-shape-action-value-blink-type\";\nexport * from \"./e-shape-action-value-blink\";\nexport * from \"./e-shape-action-value-change-color-brightness\";\nexport * from \"./e-shape-action-value-change-color-code\";\nexport * from \"./e-shape-action-value-change-color-target\";\nexport * from \"./e-shape-action-value-change-color-type-legacy\";\nexport * from \"./e-shape-action-value-change-color-type\";\nexport * from \"./e-shape-action-value-change-color-types\";\nexport * from \"./e-shape-action-value-change-color\";\nexport * from \"./e-shape-action-value-change-cursor\";\nexport * from \"./e-shape-action-value-change-text-type\";\nexport * from \"./e-shape-action-value-change-text\";\nexport * from \"./e-shape-action-value-deserializers\";\nexport * from \"./e-shape-action-value-emit-event\";\nexport * from \"./e-shape-action-value-gesture-operation-type\";\nexport * from \"./e-shape-action-value-gesture-type\";\nexport * from \"./e-shape-action-value-gesture\";\nexport * from \"./e-shape-action-value-misc-emit-event\";\nexport * from \"./e-shape-action-value-misc-execute\";\nexport * from \"./e-shape-action-value-misc-html-element\";\nexport * from \"./e-shape-action-value-misc-input\";\nexport * from \"./e-shape-action-value-misc-type\";\nexport * from \"./e-shape-action-value-misc-write\";\nexport * from \"./e-shape-action-value-misc\";\nexport * from \"./e-shape-action-value-on-input-action\";\nexport * from \"./e-shape-action-value-on-input-actions\";\nexport * from \"./e-shape-action-value-open-dialog-extension\";\nexport * from \"./e-shape-action-value-open-dialog-type\";\nexport * from \"./e-shape-action-value-open-dialog\";\nexport * from \"./e-shape-action-value-open-extension\";\nexport * from \"./e-shape-action-value-open-type\";\nexport * from \"./e-shape-action-value-open\";\nexport * from \"./e-shape-action-value-opetyped\";\nexport * from \"./e-shape-action-value-show-hide-layer\";\nexport * from \"./e-shape-action-value-show-hide-shape\";\nexport * from \"./e-shape-action-value-show-hide-type\";\nexport * from \"./e-shape-action-value-show-hide\";\nexport * from \"./e-shape-action-value-subtyped\";\nexport * from \"./e-shape-action-value-transform-move-type\";\nexport * from \"./e-shape-action-value-transform-move\";\nexport * from \"./e-shape-action-value-transform-resize-type\";\nexport * from \"./e-shape-action-value-transform-resize\";\nexport * from \"./e-shape-action-value-transform-rotate-type\";\nexport * from \"./e-shape-action-value-transform-rotate\";\nexport * from \"./e-shape-action-value-transform-type\";\nexport * from \"./e-shape-action-value-type\";\nexport * from \"./e-shape-action-value\";\nexport * from \"./e-shape-action-values\";\nexport * from \"./e-shape-action\";\nexport * from \"./e-shape-actions\";\n"]}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/main/typescript/wcardinal/ui/shape/action/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,cAAc,4BAA4B,CAAC;AAC3C,cAAc,wBAAwB,CAAC;AACvC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,4CAA4C,CAAC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cAAc,qCAAqC,CAAC;AACpD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,wCAAwC,CAAC;AACvD,cAAc,qCAAqC,CAAC;AACpD,cAAc,uCAAuC,CAAC;AACtD,cAAc,0CAA0C,CAAC;AACzD,cAAc,mCAAmC,CAAC;AAClD,cAAc,kCAAkC,CAAC;AACjD,cAAc,mCAAmC,CAAC;AAClD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,wCAAwC,CAAC;AACvD,cAAc,yCAAyC,CAAC;AACxD,cAAc,8CAA8C,CAAC;AAC7D,cAAc,yCAAyC,CAAC;AACxD,cAAc,oCAAoC,CAAC;AACnD,cAAc,uCAAuC,CAAC;AACtD,cAAc,kCAAkC,CAAC;AACjD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,iCAAiC,CAAC;AAChD,cAAc,wCAAwC,CAAC;AACvD,cAAc,wCAAwC,CAAC;AACvD,cAAc,uCAAuC,CAAC;AACtD,cAAc,kCAAkC,CAAC;AACjD,cAAc,iCAAiC,CAAC;AAChD,cAAc,4CAA4C,CAAC;AAC3D,cAAc,uCAAuC,CAAC;AACtD,cAAc,8CAA8C,CAAC;AAC7D,cAAc,yCAAyC,CAAC;AACxD,cAAc,8CAA8C,CAAC;AAC7D,cAAc,yCAAyC,CAAC;AACxD,cAAc,uCAAuC,CAAC;AACtD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC;AACxC,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC","sourcesContent":["/*\n * Copyright (C) 2019 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nexport * from \"./deserialize-action-value\";\nexport * from \"./e-shape-action-bases\";\nexport * from \"./e-shape-action-environment\";\nexport * from \"./e-shape-action-expression-with-parameter\";\nexport * from \"./e-shape-action-expression\";\nexport * from \"./e-shape-action-expressions\";\nexport * from \"./e-shape-action-misc-extension\";\nexport * from \"./e-shape-action-misc-extensions\";\nexport * from \"./e-shape-action-open-dialog-extension\";\nexport * from \"./e-shape-action-open-dialog-extensions\";\nexport * from \"./e-shape-action-open-dialog-opener\";\nexport * from \"./e-shape-action-open-extension\";\nexport * from \"./e-shape-action-open-extensions\";\nexport * from \"./e-shape-action-open-opener\";\nexport * from \"./e-shape-action-open-openers\";\nexport * from \"./e-shape-action-runtime-base\";\nexport * from \"./e-shape-action-runtime-blink-brighten\";\nexport * from \"./e-shape-action-runtime-blink-color-fill\";\nexport * from \"./e-shape-action-runtime-blink-color-stroke\";\nexport * from \"./e-shape-action-runtime-blink-darken\";\nexport * from \"./e-shape-action-runtime-blink-opacity\";\nexport * from \"./e-shape-action-runtime-blink-visibility\";\nexport * from \"./e-shape-action-runtime-blink\";\nexport * from \"./e-shape-action-runtime-change-color-brightness\";\nexport * from \"./e-shape-action-runtime-change-color-code\";\nexport * from \"./e-shape-action-runtime-change-color\";\nexport * from \"./e-shape-action-runtime-change-cursor\";\nexport * from \"./e-shape-action-runtime-change-text-number\";\nexport * from \"./e-shape-action-runtime-change-text-text\";\nexport * from \"./e-shape-action-runtime-conditional\";\nexport * from \"./e-shape-action-runtime-emit-event\";\nexport * from \"./e-shape-action-runtime-gesture-layer\";\nexport * from \"./e-shape-action-runtime-gesture-shape\";\nexport * from \"./e-shape-action-runtime-misc-emit-event\";\nexport * from \"./e-shape-action-runtime-misc-execute\";\nexport * from \"./e-shape-action-runtime-misc-extension\";\nexport * from \"./e-shape-action-runtime-misc-html-element\";\nexport * from \"./e-shape-action-runtime-misc-input-input\";\nexport * from \"./e-shape-action-runtime-misc-input-integer\";\nexport * from \"./e-shape-action-runtime-misc-input-number\";\nexport * from \"./e-shape-action-runtime-misc-input-real\";\nexport * from \"./e-shape-action-runtime-misc-input-text\";\nexport * from \"./e-shape-action-runtime-misc-input\";\nexport * from \"./e-shape-action-runtime-misc-write-both\";\nexport * from \"./e-shape-action-runtime-misc-write-local\";\nexport * from \"./e-shape-action-runtime-misc-write-remote\";\nexport * from \"./e-shape-action-runtime-misc-write\";\nexport * from \"./e-shape-action-runtime-open-dialog-boolean\";\nexport * from \"./e-shape-action-runtime-open-dialog-date\";\nexport * from \"./e-shape-action-runtime-open-dialog-datetime\";\nexport * from \"./e-shape-action-runtime-open-dialog-extension\";\nexport * from \"./e-shape-action-runtime-open-dialog-integer\";\nexport * from \"./e-shape-action-runtime-open-dialog-real\";\nexport * from \"./e-shape-action-runtime-open-dialog-text\";\nexport * from \"./e-shape-action-runtime-open-dialog-time\";\nexport * from \"./e-shape-action-runtime-open-dialog\";\nexport * from \"./e-shape-action-runtime-open\";\nexport * from \"./e-shape-action-runtime-show-hide-layer\";\nexport * from \"./e-shape-action-runtime-show-hide-shape\";\nexport * from \"./e-shape-action-runtime-show-hide\";\nexport * from \"./e-shape-action-runtime-transform-move-absolute-x\";\nexport * from \"./e-shape-action-runtime-transform-move-absolute-y\";\nexport * from \"./e-shape-action-runtime-transform-move-forward-or-backward\";\nexport * from \"./e-shape-action-runtime-transform-move-left-or-right\";\nexport * from \"./e-shape-action-runtime-transform-move-relative-x\";\nexport * from \"./e-shape-action-runtime-transform-move-relative-y\";\nexport * from \"./e-shape-action-runtime-transform-move\";\nexport * from \"./e-shape-action-runtime-transform-resize-height-absolute\";\nexport * from \"./e-shape-action-runtime-transform-resize-height-relative\";\nexport * from \"./e-shape-action-runtime-transform-resize-size-absolute\";\nexport * from \"./e-shape-action-runtime-transform-resize-size-relative\";\nexport * from \"./e-shape-action-runtime-transform-resize-width-absolute\";\nexport * from \"./e-shape-action-runtime-transform-resize-width-relative\";\nexport * from \"./e-shape-action-runtime-transform-resize\";\nexport * from \"./e-shape-action-runtime-transform-rotate-absolute\";\nexport * from \"./e-shape-action-runtime-transform-rotate-relative\";\nexport * from \"./e-shape-action-runtime-transform-rotate\";\nexport * from \"./e-shape-action-runtime\";\nexport * from \"./e-shape-action-runtimes\";\nexport * from \"./e-shape-action-value-base\";\nexport * from \"./e-shape-action-value-blink-type\";\nexport * from \"./e-shape-action-value-blink\";\nexport * from \"./e-shape-action-value-change-color-brightness\";\nexport * from \"./e-shape-action-value-change-color-code\";\nexport * from \"./e-shape-action-value-change-color-target\";\nexport * from \"./e-shape-action-value-change-color-type-legacy\";\nexport * from \"./e-shape-action-value-change-color-type\";\nexport * from \"./e-shape-action-value-change-color-types\";\nexport * from \"./e-shape-action-value-change-color\";\nexport * from \"./e-shape-action-value-change-cursor\";\nexport * from \"./e-shape-action-value-change-text-type\";\nexport * from \"./e-shape-action-value-change-text\";\nexport * from \"./e-shape-action-value-deserializers\";\nexport * from \"./e-shape-action-value-emit-event\";\nexport * from \"./e-shape-action-value-gesture-operation-type\";\nexport * from \"./e-shape-action-value-gesture-type\";\nexport * from \"./e-shape-action-value-gesture\";\nexport * from \"./e-shape-action-value-misc-emit-event\";\nexport * from \"./e-shape-action-value-misc-execute\";\nexport * from \"./e-shape-action-value-misc-extension\";\nexport * from \"./e-shape-action-value-misc-html-element\";\nexport * from \"./e-shape-action-value-misc-input\";\nexport * from \"./e-shape-action-value-misc-type\";\nexport * from \"./e-shape-action-value-misc-write\";\nexport * from \"./e-shape-action-value-misc\";\nexport * from \"./e-shape-action-value-on-input-action\";\nexport * from \"./e-shape-action-value-on-input-actions\";\nexport * from \"./e-shape-action-value-open-dialog-extension\";\nexport * from \"./e-shape-action-value-open-dialog-type\";\nexport * from \"./e-shape-action-value-open-dialog\";\nexport * from \"./e-shape-action-value-open-extension\";\nexport * from \"./e-shape-action-value-open-type\";\nexport * from \"./e-shape-action-value-open\";\nexport * from \"./e-shape-action-value-opetyped\";\nexport * from \"./e-shape-action-value-show-hide-layer\";\nexport * from \"./e-shape-action-value-show-hide-shape\";\nexport * from \"./e-shape-action-value-show-hide-type\";\nexport * from \"./e-shape-action-value-show-hide\";\nexport * from \"./e-shape-action-value-subtyped\";\nexport * from \"./e-shape-action-value-transform-move-type\";\nexport * from \"./e-shape-action-value-transform-move\";\nexport * from \"./e-shape-action-value-transform-resize-type\";\nexport * from \"./e-shape-action-value-transform-resize\";\nexport * from \"./e-shape-action-value-transform-rotate-type\";\nexport * from \"./e-shape-action-value-transform-rotate\";\nexport * from \"./e-shape-action-value-transform-type\";\nexport * from \"./e-shape-action-value-type\";\nexport * from \"./e-shape-action-value\";\nexport * from \"./e-shape-action-values\";\nexport * from \"./e-shape-action\";\nexport * from \"./e-shape-actions\";\n"]}
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
* Copyright (C) 2019 Toshiba Corporation
|
|
3
3
|
* SPDX-License-Identifier: Apache-2.0
|
|
4
4
|
*/
|
|
5
|
+
import { EShapeActionMiscExtensions } from "../../shape/action/e-shape-action-misc-extensions";
|
|
5
6
|
import { EShapeActionOpenDialogExtensions } from "../../shape/action/e-shape-action-open-dialog-extensions";
|
|
6
7
|
import { EShapeActionOpenExtensions } from "../../shape/action/e-shape-action-open-extensions";
|
|
7
8
|
import { EShapeActionValueBlinkType } from "../../shape/action/e-shape-action-value-blink-type";
|
|
@@ -363,6 +364,17 @@ var EThemeDarkShapeActionValue = /** @class */ (function () {
|
|
|
363
364
|
return "Gesture";
|
|
364
365
|
case EShapeActionValueMiscType.EXECUTE:
|
|
365
366
|
return "Execute";
|
|
367
|
+
default:
|
|
368
|
+
if (EShapeActionValueMiscType.EXTENSION <= type) {
|
|
369
|
+
var extension = EShapeActionMiscExtensions.get(type);
|
|
370
|
+
if (extension) {
|
|
371
|
+
return extension.label;
|
|
372
|
+
}
|
|
373
|
+
return "Extension";
|
|
374
|
+
}
|
|
375
|
+
else {
|
|
376
|
+
return "Unknown";
|
|
377
|
+
}
|
|
366
378
|
}
|
|
367
379
|
};
|
|
368
380
|
EThemeDarkShapeActionValue.prototype.toHtmlElementWhenLabel = function (when) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"e-theme-dark-shape-action-value.js","sourceRoot":"","sources":["../../../../../src/main/typescript/wcardinal/ui/theme/dark/e-theme-dark-shape-action-value.ts"],"names":[],"mappings":"AAAA;;;GAGG;A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Ae;gBAC7C,OAAO,oBAAoB,CAAC;YAC7B,KAAK,yBAAyB,CAAC,aAAa;gBAC3C,OAAO,eAAe,CAAC;YACxB,KAAK,yBAAyB,CAAC,OAAO;gBACrC,OAAO,SAAS,CAAC;YAClB,KAAK,yBAAyB,CAAC,OAAO;gBACrC,OAAO,SAAS,CAAC;SAClB;IACF,CAAC;IAED,2DAAsB,GAAtB,UAAuB,IAAyB;QAC/C,QAAQ,IAAI,EAAE;YACb,KAAK,mBAAmB,CAAC,OAAO;gBAC/B,OAAO,SAAS,CAAC;YAClB,KAAK,mBAAmB,CAAC,cAAc;gBACtC,OAAO,gBAAgB,CAAC;YACzB,KAAK,mBAAmB,CAAC,OAAO;gBAC/B,OAAO,SAAS,CAAC;YAClB,KAAK,mBAAmB,CAAC,MAAM;gBAC9B,OAAO,QAAQ,CAAC;SACjB;QACD,OAAO,SAAS,CAAC;IAClB,CAAC;IAED,yDAAoB,GAApB,UAAqB,IAAoC;QACxD,QAAQ,IAAI,EAAE;YACb,KAAK,8BAA8B,CAAC,UAAU;gBAC7C,OAAO,YAAY,CAAC;YACrB,KAAK,8BAA8B,CAAC,UAAU;gBAC7C,OAAO,cAAc,CAAC;YACvB,KAAK,8BAA8B,CAAC,WAAW;gBAC9C,OAAO,eAAe,CAAC;YACxB,KAAK,8BAA8B,CAAC,YAAY;gBAC/C,OAAO,gBAAgB,CAAC;SACzB;QACD,OAAO,SAAS,CAAC;IAClB,CAAC;IACF,iCAAC;AAAD,CAAC,AAvYD,IAuYC","sourcesContent":["/*\n * Copyright (C) 2019 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport { EShapeActionOpenDialogExtensions } from \"../../shape/action/e-shape-action-open-dialog-extensions\";\nimport { EShapeActionOpenExtensions } from \"../../shape/action/e-shape-action-open-extensions\";\nimport { EShapeActionValue, EThemeShapeActionValue } from \"../../shape/action/e-shape-action-value\";\nimport { EShapeActionValueBlinkType } from \"../../shape/action/e-shape-action-value-blink-type\";\nimport { EShapeActionValueChangeColorTarget } from \"../../shape/action/e-shape-action-value-change-color-target\";\nimport { EShapeActionValueChangeColorType } from \"../../shape/action/e-shape-action-value-change-color-type\";\nimport { EShapeActionValueChangeTextType } from \"../../shape/action/e-shape-action-value-change-text-type\";\nimport { EShapeActionValueGestureOperationType } from \"../../shape/action/e-shape-action-value-gesture-operation-type\";\nimport { EShapeActionValueGestureType } from \"../../shape/action/e-shape-action-value-gesture-type\";\nimport { EShapeActionValueMiscType } from \"../../shape/action/e-shape-action-value-misc-type\";\nimport { EShapeActionValueOnInputAction } from \"../../shape/action/e-shape-action-value-on-input-action\";\nimport { EShapeActionValueOpenDialogType } from \"../../shape/action/e-shape-action-value-open-dialog-type\";\nimport { EShapeActionValueOpenType } from \"../../shape/action/e-shape-action-value-open-type\";\nimport { EShapeActionValueOpetyped } from \"../../shape/action/e-shape-action-value-opetyped\";\nimport { EShapeActionValueShowHideType } from \"../../shape/action/e-shape-action-value-show-hide-type\";\nimport { EShapeActionValueSubtyped } from \"../../shape/action/e-shape-action-value-subtyped\";\nimport { EShapeActionValueTransformMoveType } from \"../../shape/action/e-shape-action-value-transform-move-type\";\nimport { EShapeActionValueTransformResizeType } from \"../../shape/action/e-shape-action-value-transform-resize-type\";\nimport { EShapeActionValueTransformRotateType } from \"../../shape/action/e-shape-action-value-transform-rotate-type\";\nimport { EShapeActionValueTransformType } from \"../../shape/action/e-shape-action-value-transform-type\";\nimport { EShapeActionValueType } from \"../../shape/action/e-shape-action-value-type\";\nimport { UtilHtmlElementWhen } from \"../../util/util-html-element-when\";\n\nexport class EThemeDarkShapeActionValue implements EThemeShapeActionValue {\n\ttoLabel(value: EShapeActionValue): string {\n\t\tconst type = value.type;\n\t\tif (value instanceof EShapeActionValueSubtyped) {\n\t\t\tconst subtype = value.subtype;\n\t\t\tif (value instanceof EShapeActionValueOpetyped) {\n\t\t\t\tconst result = this.toOpetypedLabel(type, subtype, value.opetype, value);\n\t\t\t\tif (result != null) {\n\t\t\t\t\treturn result;\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tconst result = this.toSubtypedLabel(type, subtype, value);\n\t\t\t\tif (result != null) {\n\t\t\t\t\treturn result;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn this.toTypedLabel(type, value);\n\t}\n\n\tprotected toTypedLabel(type: EShapeActionValueType, value: EShapeActionValue): string {\n\t\treturn `${this.toTypeLabel(type)}: ${this.toConditionLabel(value.condition)}`;\n\t}\n\n\tprotected toSubtypedLabel(\n\t\ttype: EShapeActionValueType,\n\t\tsubtype: any,\n\t\tvalue: EShapeActionValueSubtyped<any>\n\t): string | null {\n\t\tconst typeLabel = this.toTypeLabel(type);\n\t\tswitch (type) {\n\t\t\tcase EShapeActionValueType.SHOW_HIDE:\n\t\t\t\treturn `${typeLabel}: ${this.toShowHideTypeLabel(subtype)}`;\n\t\t\tcase EShapeActionValueType.BLINK:\n\t\t\t\treturn `${typeLabel}: ${this.toBlinkTypeLabel(subtype)}`;\n\t\t\tcase EShapeActionValueType.CHANGE_COLOR:\n\t\t\tcase EShapeActionValueType.CHANGE_COLOR_LEGACY:\n\t\t\t\treturn `${typeLabel}: ${this.toChangeColorTypeLabel(subtype)}`;\n\t\t\tcase EShapeActionValueType.CHANGE_TEXT:\n\t\t\t\treturn `${typeLabel}: ${this.toChangeTextTypeLabel(subtype)}`;\n\t\t\tcase EShapeActionValueType.OPEN:\n\t\t\t\treturn `${typeLabel}: ${this.toOpenTypeLabel(subtype)}`;\n\t\t\tcase EShapeActionValueType.GESTURE:\n\t\t\t\treturn `${typeLabel}: ${this.toGestureTypeLabel(subtype)}`;\n\t\t\tcase EShapeActionValueType.MISC:\n\t\t\t\treturn `${typeLabel}: ${this.toMiscTypeLabel(subtype)}`;\n\t\t}\n\t\treturn null;\n\t}\n\n\tprotected toOpetypedLabel(\n\t\ttype: EShapeActionValueType,\n\t\tsubtype: EShapeActionValueTransformType,\n\t\topetype: EShapeActionValueTransformRotateType,\n\t\tvalue: EShapeActionValueOpetyped<any, any>\n\t): string | null {\n\t\tswitch (type) {\n\t\t\tcase EShapeActionValueType.TRANSFORM:\n\t\t\t\tconst subtypeLabel = this.toTransformTypeLabel(subtype);\n\t\t\t\tswitch (subtype) {\n\t\t\t\t\tcase EShapeActionValueTransformType.ROTATE:\n\t\t\t\t\t\treturn `${subtypeLabel}: ${this.toTransformRotateTypeLabel(opetype)}`;\n\t\t\t\t\tcase EShapeActionValueTransformType.MOVE:\n\t\t\t\t\t\treturn `${subtypeLabel}: ${this.toTransformMoveTypeLabel(opetype)}`;\n\t\t\t\t\tcase EShapeActionValueTransformType.RESIZE:\n\t\t\t\t\t\treturn `${subtypeLabel}: ${this.toTransformResizeTypeLabel(opetype)}`;\n\t\t\t\t}\n\t\t}\n\t\treturn null;\n\t}\n\n\ttoTypeLabel(type: EShapeActionValueType): string {\n\t\tswitch (type) {\n\t\t\tcase EShapeActionValueType.SHOW_HIDE:\n\t\t\t\treturn \"Show / hide\";\n\t\t\tcase EShapeActionValueType.BLINK:\n\t\t\t\treturn \"Blink\";\n\t\t\tcase EShapeActionValueType.TRANSFORM:\n\t\t\t\treturn \"Transform\";\n\t\t\tcase EShapeActionValueType.OPEN:\n\t\t\t\treturn \"Open\";\n\t\t\tcase EShapeActionValueType.CHANGE_COLOR:\n\t\t\tcase EShapeActionValueType.CHANGE_COLOR_LEGACY:\n\t\t\t\treturn \"Change color\";\n\t\t\tcase EShapeActionValueType.CHANGE_TEXT:\n\t\t\t\treturn \"Change text\";\n\t\t\tcase EShapeActionValueType.CHANGE_CURSOR:\n\t\t\t\treturn \"Change cursor\";\n\t\t\tcase EShapeActionValueType.EMIT_EVENT:\n\t\t\t\treturn \"Emit an event\";\n\t\t\tcase EShapeActionValueType.GESTURE:\n\t\t\t\treturn \"Gesture\";\n\t\t\tcase EShapeActionValueType.MISC:\n\t\t\t\treturn \"Misc.\";\n\t\t\tdefault:\n\t\t\t\tif (EShapeActionValueType.EXTENSION <= type) {\n\t\t\t\t\treturn \"Extension\";\n\t\t\t\t} else {\n\t\t\t\t\treturn \"Unknown\";\n\t\t\t\t}\n\t\t}\n\t}\n\n\ttoConditionLabel(condition: string): string {\n\t\tconst l = 20;\n\t\tif (l < condition.length) {\n\t\t\treturn condition.substring(0, l) + \"...\";\n\t\t} else {\n\t\t\treturn condition;\n\t\t}\n\t}\n\n\ttoBlinkTypeLabel(type: EShapeActionValueBlinkType): string {\n\t\tswitch (type) {\n\t\t\tcase EShapeActionValueBlinkType.VISIBILITY:\n\t\t\t\treturn \"Visibility\";\n\t\t\tcase EShapeActionValueBlinkType.BRIGHTEN:\n\t\t\t\treturn \"Brighten\";\n\t\t\tcase EShapeActionValueBlinkType.DARKEN:\n\t\t\t\treturn \"Darken\";\n\t\t\tcase EShapeActionValueBlinkType.OPACITY:\n\t\t\t\treturn \"Opacity\";\n\t\t\tcase EShapeActionValueBlinkType.COLOR_FILL:\n\t\t\t\treturn \"Fill\";\n\t\t\tcase EShapeActionValueBlinkType.COLOR_STROKE:\n\t\t\t\treturn \"Stroke\";\n\t\t}\n\t}\n\n\ttoShowHideTypeLabel(type: EShapeActionValueShowHideType): string {\n\t\tswitch (type) {\n\t\t\tcase EShapeActionValueShowHideType.SHAPE_SHOW:\n\t\t\t\treturn \"Show\";\n\t\t\tcase EShapeActionValueShowHideType.SHAPE_HIDE:\n\t\t\t\treturn \"Hide\";\n\t\t\tcase EShapeActionValueShowHideType.SHAPE:\n\t\t\t\treturn \"Shape\";\n\t\t\tcase EShapeActionValueShowHideType.LAYER:\n\t\t\t\treturn \"Layer\";\n\t\t}\n\t}\n\n\ttoTransformTypeLabel(type: EShapeActionValueTransformType): string {\n\t\tswitch (type) {\n\t\t\tcase EShapeActionValueTransformType.RESIZE:\n\t\t\t\treturn \"Resize\";\n\t\t\tcase EShapeActionValueTransformType.MOVE:\n\t\t\t\treturn \"Move\";\n\t\t\tcase EShapeActionValueTransformType.ROTATE:\n\t\t\t\treturn \"Rotate\";\n\t\t}\n\t}\n\n\ttoTransformRotateTypeLabel(type: EShapeActionValueTransformRotateType): string {\n\t\tswitch (type) {\n\t\t\tcase EShapeActionValueTransformRotateType.RELATIVE:\n\t\t\t\treturn \"Relative\";\n\t\t\tcase EShapeActionValueTransformRotateType.ABSOLUTE:\n\t\t\t\treturn \"Absolute\";\n\t\t}\n\t}\n\n\ttoTransformMoveTypeLabel(type: EShapeActionValueTransformMoveType): string {\n\t\tswitch (type) {\n\t\t\tcase EShapeActionValueTransformMoveType.RELATIVE_X:\n\t\t\t\treturn \"Relative X\";\n\t\t\tcase EShapeActionValueTransformMoveType.RELATIVE_Y:\n\t\t\t\treturn \"Relative Y\";\n\t\t\tcase EShapeActionValueTransformMoveType.ABSOLUTE_X:\n\t\t\t\treturn \"Absolute X\";\n\t\t\tcase EShapeActionValueTransformMoveType.ABSOLUTE_Y:\n\t\t\t\treturn \"Absolute Y\";\n\t\t\tcase EShapeActionValueTransformMoveType.FORWARD_OR_BACKWARD:\n\t\t\t\treturn \"Forward / backward\";\n\t\t\tcase EShapeActionValueTransformMoveType.LEFT_OR_RIGHT:\n\t\t\t\treturn \"Left / right\";\n\t\t}\n\t}\n\n\ttoTransformResizeTypeLabel(type: EShapeActionValueTransformResizeType): string {\n\t\tswitch (type) {\n\t\t\tcase EShapeActionValueTransformResizeType.ABSOLUTE_SIZE:\n\t\t\t\treturn \"Height & width\";\n\t\t\tcase EShapeActionValueTransformResizeType.RELATIVE_SIZE:\n\t\t\t\treturn \"Height & width (%)\";\n\t\t\tcase EShapeActionValueTransformResizeType.ABSOLUTE_HEIGHT:\n\t\t\t\treturn \"Height\";\n\t\t\tcase EShapeActionValueTransformResizeType.RELATIVE_HEIGHT:\n\t\t\t\treturn \"Height (%)\";\n\t\t\tcase EShapeActionValueTransformResizeType.ABSOLUTE_WIDTH:\n\t\t\t\treturn \"Width\";\n\t\t\tcase EShapeActionValueTransformResizeType.RELATIVE_WIDTH:\n\t\t\t\treturn \"Width (%)\";\n\t\t}\n\t}\n\n\ttoChangeColorTypeLabel(type: EShapeActionValueChangeColorType): string {\n\t\tif (type === EShapeActionValueChangeColorType.NONE) {\n\t\t\treturn \"None\";\n\t\t}\n\t\tlet result = \"\";\n\t\tlet delimiter = \"\";\n\t\tif (type & EShapeActionValueChangeColorType.FILL) {\n\t\t\tresult += delimiter + \"Fill\";\n\t\t\tdelimiter = \", \";\n\t\t}\n\t\tif (type & EShapeActionValueChangeColorType.STROKE) {\n\t\t\tresult += delimiter + \"Stroke\";\n\t\t\tdelimiter = \", \";\n\t\t}\n\t\tif (type & EShapeActionValueChangeColorType.TEXT) {\n\t\t\tresult += delimiter + \"Text\";\n\t\t\tdelimiter = \", \";\n\t\t}\n\t\tif (type & EShapeActionValueChangeColorType.TEXT_OUTLINE) {\n\t\t\tresult += delimiter + \"Text outline\";\n\t\t}\n\t\treturn result;\n\t}\n\n\ttoChangeColorTargetLabel(type: EShapeActionValueChangeColorTarget): string {\n\t\tswitch (type) {\n\t\t\tcase EShapeActionValueChangeColorTarget.COLOR_AND_ALPHA:\n\t\t\t\treturn \"Color\";\n\t\t\tcase EShapeActionValueChangeColorTarget.COLOR:\n\t\t\t\treturn \"RGB\";\n\t\t\tcase EShapeActionValueChangeColorTarget.ALPHA:\n\t\t\t\treturn \"Alpha\";\n\t\t\tcase EShapeActionValueChangeColorTarget.CODE:\n\t\t\t\treturn \"Dynamic color\";\n\t\t\tcase EShapeActionValueChangeColorTarget.BRIGHTNESS:\n\t\t\t\treturn \"Brightness\";\n\t\t}\n\t}\n\n\ttoChangeTextTypeLabel(type: EShapeActionValueChangeTextType): string {\n\t\tswitch (type) {\n\t\t\tcase EShapeActionValueChangeTextType.TEXT:\n\t\t\t\treturn \"Text\";\n\t\t\tcase EShapeActionValueChangeTextType.NUMBER:\n\t\t\t\treturn \"Number\";\n\t\t}\n\t}\n\n\ttoOpenTypeLabel(type: EShapeActionValueOpenType): string {\n\t\tswitch (type) {\n\t\t\tcase EShapeActionValueOpenType.DIAGRAM_LEGACY:\n\t\t\t\treturn \"Diagram\";\n\t\t\tcase EShapeActionValueOpenType.PAGE_LEGACY:\n\t\t\t\treturn \"Page (New window)\";\n\t\t\tcase EShapeActionValueOpenType.PAGE_INPLACE_LEGACY:\n\t\t\t\treturn \"Page (In-place)\";\n\t\t\tcase EShapeActionValueOpenType.DIALOG_TEXT:\n\t\t\t\treturn \"Dialog (Text)\";\n\t\t\tcase EShapeActionValueOpenType.DIALOG_INTEGER:\n\t\t\t\treturn \"Dialog (Integer)\";\n\t\t\tcase EShapeActionValueOpenType.DIALOG_REAL:\n\t\t\t\treturn \"Dialog (Real)\";\n\t\t\tcase EShapeActionValueOpenType.DIALOG_BOOLEAN:\n\t\t\t\treturn \"Dialog (Boolean)\";\n\t\t\tcase EShapeActionValueOpenType.DIALOG_DATE:\n\t\t\t\treturn \"Dialog (Date)\";\n\t\t\tcase EShapeActionValueOpenType.DIALOG_TIME:\n\t\t\t\treturn \"Dialog (Time)\";\n\t\t\tcase EShapeActionValueOpenType.DIALOG_DATETIME:\n\t\t\t\treturn \"Dialog (Datetime)\";\n\t\t\tcase EShapeActionValueOpenType.DIAGRAM:\n\t\t\t\treturn \"Diagram\";\n\t\t\tcase EShapeActionValueOpenType.PAGE:\n\t\t\t\treturn \"Page\";\n\t\t\tcase EShapeActionValueOpenType.DIALOG:\n\t\t\t\treturn \"Dialog\";\n\t\t\tdefault:\n\t\t\t\tif (EShapeActionValueOpenType.EXTENSION <= type) {\n\t\t\t\t\tconst extension = EShapeActionOpenExtensions.get(type);\n\t\t\t\t\tif (extension) {\n\t\t\t\t\t\treturn extension.label;\n\t\t\t\t\t}\n\t\t\t\t\treturn \"Extension\";\n\t\t\t\t} else {\n\t\t\t\t\treturn \"Unknown\";\n\t\t\t\t}\n\t\t}\n\t}\n\n\ttoOpenDialogTypeLabel(type: EShapeActionValueOpenDialogType): string {\n\t\tswitch (type) {\n\t\t\tcase EShapeActionValueOpenDialogType.TEXT:\n\t\t\t\treturn \"Text\";\n\t\t\tcase EShapeActionValueOpenDialogType.INTEGER:\n\t\t\t\treturn \"Integer\";\n\t\t\tcase EShapeActionValueOpenDialogType.REAL:\n\t\t\t\treturn \"Real\";\n\t\t\tcase EShapeActionValueOpenDialogType.BOOLEAN:\n\t\t\t\treturn \"Boolean\";\n\t\t\tcase EShapeActionValueOpenDialogType.DATE:\n\t\t\t\treturn \"Date\";\n\t\t\tcase EShapeActionValueOpenDialogType.TIME:\n\t\t\t\treturn \"Time\";\n\t\t\tcase EShapeActionValueOpenDialogType.DATETIME:\n\t\t\t\treturn \"Datetime\";\n\t\t\tdefault:\n\t\t\t\tif (EShapeActionValueOpenDialogType.EXTENSION <= type) {\n\t\t\t\t\tconst extension = EShapeActionOpenDialogExtensions.get(type);\n\t\t\t\t\tif (extension) {\n\t\t\t\t\t\treturn extension.label;\n\t\t\t\t\t}\n\t\t\t\t\treturn \"Extension\";\n\t\t\t\t} else {\n\t\t\t\t\treturn \"Unknown\";\n\t\t\t\t}\n\t\t}\n\t}\n\n\ttoGestureTypeLabel(type: EShapeActionValueGestureType): string {\n\t\tswitch (type) {\n\t\t\tcase EShapeActionValueGestureType.SHAPE:\n\t\t\t\treturn \"Shape\";\n\t\t\tcase EShapeActionValueGestureType.LAYER:\n\t\t\t\treturn \"Layer\";\n\t\t}\n\t}\n\n\ttoGestureOperationTypeLabel(type: EShapeActionValueGestureOperationType): string {\n\t\tswitch (type) {\n\t\t\tcase EShapeActionValueGestureOperationType.DRAG:\n\t\t\t\treturn \"Drag\";\n\t\t\tcase EShapeActionValueGestureOperationType.PINCH:\n\t\t\t\treturn \"Pinch\";\n\t\t}\n\t\treturn \"Unknown\";\n\t}\n\n\ttoMiscTypeLabel(type: EShapeActionValueMiscType): string {\n\t\tswitch (type) {\n\t\t\tcase EShapeActionValueMiscType.INPUT_TEXT:\n\t\t\t\treturn \"Input (Text)\";\n\t\t\tcase EShapeActionValueMiscType.INPUT_INTEGER:\n\t\t\t\treturn \"Input (Integer)\";\n\t\t\tcase EShapeActionValueMiscType.INPUT_REAL:\n\t\t\t\treturn \"Input (Real)\";\n\t\t\tcase EShapeActionValueMiscType.EMIT_EVENT:\n\t\t\t\treturn this.toOnInputActionLabel(EShapeActionValueOnInputAction.EMIT_EVENT);\n\t\t\tcase EShapeActionValueMiscType.WRITE_BOTH:\n\t\t\t\treturn this.toOnInputActionLabel(EShapeActionValueOnInputAction.WRITE_BOTH);\n\t\t\tcase EShapeActionValueMiscType.WRITE_LOCAL:\n\t\t\t\treturn this.toOnInputActionLabel(EShapeActionValueOnInputAction.WRITE_LOCAL);\n\t\t\tcase EShapeActionValueMiscType.WRITE_REMOTE:\n\t\t\t\treturn this.toOnInputActionLabel(EShapeActionValueOnInputAction.WRITE_REMOTE);\n\t\t\tcase EShapeActionValueMiscType.HTML_ELEMENT:\n\t\t\t\treturn \"HTML element\";\n\t\t\tcase EShapeActionValueMiscType.HTML_ELEMENT_WITHOUT_POINTER_EVENTS:\n\t\t\t\treturn \"HTML element (No pointer events)\";\n\t\t\tcase EShapeActionValueMiscType.SHOW_HIDE_LAYER:\n\t\t\t\treturn \"Show / hide layers\";\n\t\t\tcase EShapeActionValueMiscType.GESTURE_LAYER:\n\t\t\t\treturn \"Layer gesture\";\n\t\t\tcase EShapeActionValueMiscType.GESTURE:\n\t\t\t\treturn \"Gesture\";\n\t\t\tcase EShapeActionValueMiscType.EXECUTE:\n\t\t\t\treturn \"Execute\";\n\t\t}\n\t}\n\n\ttoHtmlElementWhenLabel(when: UtilHtmlElementWhen): string {\n\t\tswitch (when) {\n\t\t\tcase UtilHtmlElementWhen.CLICKED:\n\t\t\t\treturn \"Clicked\";\n\t\t\tcase UtilHtmlElementWhen.DOUBLE_CLICKED:\n\t\t\t\treturn \"Double clicked\";\n\t\t\tcase UtilHtmlElementWhen.FOCUSED:\n\t\t\t\treturn \"Focused\";\n\t\t\tcase UtilHtmlElementWhen.ALWAYS:\n\t\t\t\treturn \"Always\";\n\t\t}\n\t\treturn \"Unknown\";\n\t}\n\n\ttoOnInputActionLabel(type: EShapeActionValueOnInputAction): string {\n\t\tswitch (type) {\n\t\t\tcase EShapeActionValueOnInputAction.EMIT_EVENT:\n\t\t\t\treturn \"Emit event\";\n\t\t\tcase EShapeActionValueOnInputAction.WRITE_BOTH:\n\t\t\t\treturn \"Write (Both)\";\n\t\t\tcase EShapeActionValueOnInputAction.WRITE_LOCAL:\n\t\t\t\treturn \"Write (Local)\";\n\t\t\tcase EShapeActionValueOnInputAction.WRITE_REMOTE:\n\t\t\t\treturn \"Write (Remote)\";\n\t\t}\n\t\treturn \"Unknown\";\n\t}\n}\n"]}
|
|
1
|
+
{"version":3,"file":"e-theme-dark-shape-action-value.js","sourceRoot":"","sources":["../../../../../src/main/typescript/wcardinal/ui/theme/dark/e-theme-dark-shape-action-value.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,0BAA0B,EAAE,MAAM,mDAAmD,CAAC;AAC/F,OAAO,EAAE,gCAAgC,EAAE,MAAM,0DAA0D,CAAC;AAC5G,OAAO,EAAE,0BAA0B,EAAE,MAAM,mDAAmD,CAAC;AAE/F,OAAO,EAAE,0BAA0B,EAAE,MAAM,oDAAoD,CAAC;AAChG,OAAO,EAAE,kCAAkC,EAAE,MAAM,6DAA6D,CAAC;AACjH,OAAO,EAAE,gCAAgC,EAAE,MAAM,2DAA2D,CAAC;AAC7G,OAAO,EAAE,+BAA+B,EAAE,MAAM,0DAA0D,CAAC;AAC3G,OAAO,EAAE,qCAAqC,EAAE,MAAM,gEAAgE,CAAC;AACvH,OAAO,EAAE,4BAA4B,EAAE,MAAM,sDAAsD,CAAC;AACpG,OAAO,EAAE,yBAAyB,EAAE,MAAM,mDAAmD,CAAC;AAC9F,OAAO,EAAE,8BAA8B,EAAE,MAAM,yDAAyD,CAAC;AACzG,OAAO,EAAE,+BAA+B,EAAE,MAAM,0DAA0D,CAAC;AAC3G,OAAO,EAAE,yBAAyB,EAAE,MAAM,mDAAmD,CAAC;AAC9F,OAAO,EAAE,yBAAy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;YACzB,KAAK,mBAAmB,CAAC,OAAO;gBAC/B,OAAO,SAAS,CAAC;YAClB,KAAK,mBAAmB,CAAC,MAAM;gBAC9B,OAAO,QAAQ,CAAC;SACjB;QACD,OAAO,SAAS,CAAC;IAClB,CAAC;IAED,yDAAoB,GAApB,UAAqB,IAAoC;QACxD,QAAQ,IAAI,EAAE;YACb,KAAK,8BAA8B,CAAC,UAAU;gBAC7C,OAAO,YAAY,CAAC;YACrB,KAAK,8BAA8B,CAAC,UAAU;gBAC7C,OAAO,cAAc,CAAC;YACvB,KAAK,8BAA8B,CAAC,WAAW;gBAC9C,OAAO,eAAe,CAAC;YACxB,KAAK,8BAA8B,CAAC,YAAY;gBAC/C,OAAO,gBAAgB,CAAC;SACzB;QACD,OAAO,SAAS,CAAC;IAClB,CAAC;IACF,iCAAC;AAAD,CAAC,AAjZD,IAiZC","sourcesContent":["/*\n * Copyright (C) 2019 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport { EShapeActionMiscExtensions } from \"../../shape/action/e-shape-action-misc-extensions\";\nimport { EShapeActionOpenDialogExtensions } from \"../../shape/action/e-shape-action-open-dialog-extensions\";\nimport { EShapeActionOpenExtensions } from \"../../shape/action/e-shape-action-open-extensions\";\nimport { EShapeActionValue, EThemeShapeActionValue } from \"../../shape/action/e-shape-action-value\";\nimport { EShapeActionValueBlinkType } from \"../../shape/action/e-shape-action-value-blink-type\";\nimport { EShapeActionValueChangeColorTarget } from \"../../shape/action/e-shape-action-value-change-color-target\";\nimport { EShapeActionValueChangeColorType } from \"../../shape/action/e-shape-action-value-change-color-type\";\nimport { EShapeActionValueChangeTextType } from \"../../shape/action/e-shape-action-value-change-text-type\";\nimport { EShapeActionValueGestureOperationType } from \"../../shape/action/e-shape-action-value-gesture-operation-type\";\nimport { EShapeActionValueGestureType } from \"../../shape/action/e-shape-action-value-gesture-type\";\nimport { EShapeActionValueMiscType } from \"../../shape/action/e-shape-action-value-misc-type\";\nimport { EShapeActionValueOnInputAction } from \"../../shape/action/e-shape-action-value-on-input-action\";\nimport { EShapeActionValueOpenDialogType } from \"../../shape/action/e-shape-action-value-open-dialog-type\";\nimport { EShapeActionValueOpenType } from \"../../shape/action/e-shape-action-value-open-type\";\nimport { EShapeActionValueOpetyped } from \"../../shape/action/e-shape-action-value-opetyped\";\nimport { EShapeActionValueShowHideType } from \"../../shape/action/e-shape-action-value-show-hide-type\";\nimport { EShapeActionValueSubtyped } from \"../../shape/action/e-shape-action-value-subtyped\";\nimport { EShapeActionValueTransformMoveType } from \"../../shape/action/e-shape-action-value-transform-move-type\";\nimport { EShapeActionValueTransformResizeType } from \"../../shape/action/e-shape-action-value-transform-resize-type\";\nimport { EShapeActionValueTransformRotateType } from \"../../shape/action/e-shape-action-value-transform-rotate-type\";\nimport { EShapeActionValueTransformType } from \"../../shape/action/e-shape-action-value-transform-type\";\nimport { EShapeActionValueType } from \"../../shape/action/e-shape-action-value-type\";\nimport { UtilHtmlElementWhen } from \"../../util/util-html-element-when\";\n\nexport class EThemeDarkShapeActionValue implements EThemeShapeActionValue {\n\ttoLabel(value: EShapeActionValue): string {\n\t\tconst type = value.type;\n\t\tif (value instanceof EShapeActionValueSubtyped) {\n\t\t\tconst subtype = value.subtype;\n\t\t\tif (value instanceof EShapeActionValueOpetyped) {\n\t\t\t\tconst result = this.toOpetypedLabel(type, subtype, value.opetype, value);\n\t\t\t\tif (result != null) {\n\t\t\t\t\treturn result;\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tconst result = this.toSubtypedLabel(type, subtype, value);\n\t\t\t\tif (result != null) {\n\t\t\t\t\treturn result;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn this.toTypedLabel(type, value);\n\t}\n\n\tprotected toTypedLabel(type: EShapeActionValueType, value: EShapeActionValue): string {\n\t\treturn `${this.toTypeLabel(type)}: ${this.toConditionLabel(value.condition)}`;\n\t}\n\n\tprotected toSubtypedLabel(\n\t\ttype: EShapeActionValueType,\n\t\tsubtype: any,\n\t\tvalue: EShapeActionValueSubtyped<any>\n\t): string | null {\n\t\tconst typeLabel = this.toTypeLabel(type);\n\t\tswitch (type) {\n\t\t\tcase EShapeActionValueType.SHOW_HIDE:\n\t\t\t\treturn `${typeLabel}: ${this.toShowHideTypeLabel(subtype)}`;\n\t\t\tcase EShapeActionValueType.BLINK:\n\t\t\t\treturn `${typeLabel}: ${this.toBlinkTypeLabel(subtype)}`;\n\t\t\tcase EShapeActionValueType.CHANGE_COLOR:\n\t\t\tcase EShapeActionValueType.CHANGE_COLOR_LEGACY:\n\t\t\t\treturn `${typeLabel}: ${this.toChangeColorTypeLabel(subtype)}`;\n\t\t\tcase EShapeActionValueType.CHANGE_TEXT:\n\t\t\t\treturn `${typeLabel}: ${this.toChangeTextTypeLabel(subtype)}`;\n\t\t\tcase EShapeActionValueType.OPEN:\n\t\t\t\treturn `${typeLabel}: ${this.toOpenTypeLabel(subtype)}`;\n\t\t\tcase EShapeActionValueType.GESTURE:\n\t\t\t\treturn `${typeLabel}: ${this.toGestureTypeLabel(subtype)}`;\n\t\t\tcase EShapeActionValueType.MISC:\n\t\t\t\treturn `${typeLabel}: ${this.toMiscTypeLabel(subtype)}`;\n\t\t}\n\t\treturn null;\n\t}\n\n\tprotected toOpetypedLabel(\n\t\ttype: EShapeActionValueType,\n\t\tsubtype: EShapeActionValueTransformType,\n\t\topetype: EShapeActionValueTransformRotateType,\n\t\tvalue: EShapeActionValueOpetyped<any, any>\n\t): string | null {\n\t\tswitch (type) {\n\t\t\tcase EShapeActionValueType.TRANSFORM:\n\t\t\t\tconst subtypeLabel = this.toTransformTypeLabel(subtype);\n\t\t\t\tswitch (subtype) {\n\t\t\t\t\tcase EShapeActionValueTransformType.ROTATE:\n\t\t\t\t\t\treturn `${subtypeLabel}: ${this.toTransformRotateTypeLabel(opetype)}`;\n\t\t\t\t\tcase EShapeActionValueTransformType.MOVE:\n\t\t\t\t\t\treturn `${subtypeLabel}: ${this.toTransformMoveTypeLabel(opetype)}`;\n\t\t\t\t\tcase EShapeActionValueTransformType.RESIZE:\n\t\t\t\t\t\treturn `${subtypeLabel}: ${this.toTransformResizeTypeLabel(opetype)}`;\n\t\t\t\t}\n\t\t}\n\t\treturn null;\n\t}\n\n\ttoTypeLabel(type: EShapeActionValueType): string {\n\t\tswitch (type) {\n\t\t\tcase EShapeActionValueType.SHOW_HIDE:\n\t\t\t\treturn \"Show / hide\";\n\t\t\tcase EShapeActionValueType.BLINK:\n\t\t\t\treturn \"Blink\";\n\t\t\tcase EShapeActionValueType.TRANSFORM:\n\t\t\t\treturn \"Transform\";\n\t\t\tcase EShapeActionValueType.OPEN:\n\t\t\t\treturn \"Open\";\n\t\t\tcase EShapeActionValueType.CHANGE_COLOR:\n\t\t\tcase EShapeActionValueType.CHANGE_COLOR_LEGACY:\n\t\t\t\treturn \"Change color\";\n\t\t\tcase EShapeActionValueType.CHANGE_TEXT:\n\t\t\t\treturn \"Change text\";\n\t\t\tcase EShapeActionValueType.CHANGE_CURSOR:\n\t\t\t\treturn \"Change cursor\";\n\t\t\tcase EShapeActionValueType.EMIT_EVENT:\n\t\t\t\treturn \"Emit an event\";\n\t\t\tcase EShapeActionValueType.GESTURE:\n\t\t\t\treturn \"Gesture\";\n\t\t\tcase EShapeActionValueType.MISC:\n\t\t\t\treturn \"Misc.\";\n\t\t\tdefault:\n\t\t\t\tif (EShapeActionValueType.EXTENSION <= type) {\n\t\t\t\t\treturn \"Extension\";\n\t\t\t\t} else {\n\t\t\t\t\treturn \"Unknown\";\n\t\t\t\t}\n\t\t}\n\t}\n\n\ttoConditionLabel(condition: string): string {\n\t\tconst l = 20;\n\t\tif (l < condition.length) {\n\t\t\treturn condition.substring(0, l) + \"...\";\n\t\t} else {\n\t\t\treturn condition;\n\t\t}\n\t}\n\n\ttoBlinkTypeLabel(type: EShapeActionValueBlinkType): string {\n\t\tswitch (type) {\n\t\t\tcase EShapeActionValueBlinkType.VISIBILITY:\n\t\t\t\treturn \"Visibility\";\n\t\t\tcase EShapeActionValueBlinkType.BRIGHTEN:\n\t\t\t\treturn \"Brighten\";\n\t\t\tcase EShapeActionValueBlinkType.DARKEN:\n\t\t\t\treturn \"Darken\";\n\t\t\tcase EShapeActionValueBlinkType.OPACITY:\n\t\t\t\treturn \"Opacity\";\n\t\t\tcase EShapeActionValueBlinkType.COLOR_FILL:\n\t\t\t\treturn \"Fill\";\n\t\t\tcase EShapeActionValueBlinkType.COLOR_STROKE:\n\t\t\t\treturn \"Stroke\";\n\t\t}\n\t}\n\n\ttoShowHideTypeLabel(type: EShapeActionValueShowHideType): string {\n\t\tswitch (type) {\n\t\t\tcase EShapeActionValueShowHideType.SHAPE_SHOW:\n\t\t\t\treturn \"Show\";\n\t\t\tcase EShapeActionValueShowHideType.SHAPE_HIDE:\n\t\t\t\treturn \"Hide\";\n\t\t\tcase EShapeActionValueShowHideType.SHAPE:\n\t\t\t\treturn \"Shape\";\n\t\t\tcase EShapeActionValueShowHideType.LAYER:\n\t\t\t\treturn \"Layer\";\n\t\t}\n\t}\n\n\ttoTransformTypeLabel(type: EShapeActionValueTransformType): string {\n\t\tswitch (type) {\n\t\t\tcase EShapeActionValueTransformType.RESIZE:\n\t\t\t\treturn \"Resize\";\n\t\t\tcase EShapeActionValueTransformType.MOVE:\n\t\t\t\treturn \"Move\";\n\t\t\tcase EShapeActionValueTransformType.ROTATE:\n\t\t\t\treturn \"Rotate\";\n\t\t}\n\t}\n\n\ttoTransformRotateTypeLabel(type: EShapeActionValueTransformRotateType): string {\n\t\tswitch (type) {\n\t\t\tcase EShapeActionValueTransformRotateType.RELATIVE:\n\t\t\t\treturn \"Relative\";\n\t\t\tcase EShapeActionValueTransformRotateType.ABSOLUTE:\n\t\t\t\treturn \"Absolute\";\n\t\t}\n\t}\n\n\ttoTransformMoveTypeLabel(type: EShapeActionValueTransformMoveType): string {\n\t\tswitch (type) {\n\t\t\tcase EShapeActionValueTransformMoveType.RELATIVE_X:\n\t\t\t\treturn \"Relative X\";\n\t\t\tcase EShapeActionValueTransformMoveType.RELATIVE_Y:\n\t\t\t\treturn \"Relative Y\";\n\t\t\tcase EShapeActionValueTransformMoveType.ABSOLUTE_X:\n\t\t\t\treturn \"Absolute X\";\n\t\t\tcase EShapeActionValueTransformMoveType.ABSOLUTE_Y:\n\t\t\t\treturn \"Absolute Y\";\n\t\t\tcase EShapeActionValueTransformMoveType.FORWARD_OR_BACKWARD:\n\t\t\t\treturn \"Forward / backward\";\n\t\t\tcase EShapeActionValueTransformMoveType.LEFT_OR_RIGHT:\n\t\t\t\treturn \"Left / right\";\n\t\t}\n\t}\n\n\ttoTransformResizeTypeLabel(type: EShapeActionValueTransformResizeType): string {\n\t\tswitch (type) {\n\t\t\tcase EShapeActionValueTransformResizeType.ABSOLUTE_SIZE:\n\t\t\t\treturn \"Height & width\";\n\t\t\tcase EShapeActionValueTransformResizeType.RELATIVE_SIZE:\n\t\t\t\treturn \"Height & width (%)\";\n\t\t\tcase EShapeActionValueTransformResizeType.ABSOLUTE_HEIGHT:\n\t\t\t\treturn \"Height\";\n\t\t\tcase EShapeActionValueTransformResizeType.RELATIVE_HEIGHT:\n\t\t\t\treturn \"Height (%)\";\n\t\t\tcase EShapeActionValueTransformResizeType.ABSOLUTE_WIDTH:\n\t\t\t\treturn \"Width\";\n\t\t\tcase EShapeActionValueTransformResizeType.RELATIVE_WIDTH:\n\t\t\t\treturn \"Width (%)\";\n\t\t}\n\t}\n\n\ttoChangeColorTypeLabel(type: EShapeActionValueChangeColorType): string {\n\t\tif (type === EShapeActionValueChangeColorType.NONE) {\n\t\t\treturn \"None\";\n\t\t}\n\t\tlet result = \"\";\n\t\tlet delimiter = \"\";\n\t\tif (type & EShapeActionValueChangeColorType.FILL) {\n\t\t\tresult += delimiter + \"Fill\";\n\t\t\tdelimiter = \", \";\n\t\t}\n\t\tif (type & EShapeActionValueChangeColorType.STROKE) {\n\t\t\tresult += delimiter + \"Stroke\";\n\t\t\tdelimiter = \", \";\n\t\t}\n\t\tif (type & EShapeActionValueChangeColorType.TEXT) {\n\t\t\tresult += delimiter + \"Text\";\n\t\t\tdelimiter = \", \";\n\t\t}\n\t\tif (type & EShapeActionValueChangeColorType.TEXT_OUTLINE) {\n\t\t\tresult += delimiter + \"Text outline\";\n\t\t}\n\t\treturn result;\n\t}\n\n\ttoChangeColorTargetLabel(type: EShapeActionValueChangeColorTarget): string {\n\t\tswitch (type) {\n\t\t\tcase EShapeActionValueChangeColorTarget.COLOR_AND_ALPHA:\n\t\t\t\treturn \"Color\";\n\t\t\tcase EShapeActionValueChangeColorTarget.COLOR:\n\t\t\t\treturn \"RGB\";\n\t\t\tcase EShapeActionValueChangeColorTarget.ALPHA:\n\t\t\t\treturn \"Alpha\";\n\t\t\tcase EShapeActionValueChangeColorTarget.CODE:\n\t\t\t\treturn \"Dynamic color\";\n\t\t\tcase EShapeActionValueChangeColorTarget.BRIGHTNESS:\n\t\t\t\treturn \"Brightness\";\n\t\t}\n\t}\n\n\ttoChangeTextTypeLabel(type: EShapeActionValueChangeTextType): string {\n\t\tswitch (type) {\n\t\t\tcase EShapeActionValueChangeTextType.TEXT:\n\t\t\t\treturn \"Text\";\n\t\t\tcase EShapeActionValueChangeTextType.NUMBER:\n\t\t\t\treturn \"Number\";\n\t\t}\n\t}\n\n\ttoOpenTypeLabel(type: EShapeActionValueOpenType): string {\n\t\tswitch (type) {\n\t\t\tcase EShapeActionValueOpenType.DIAGRAM_LEGACY:\n\t\t\t\treturn \"Diagram\";\n\t\t\tcase EShapeActionValueOpenType.PAGE_LEGACY:\n\t\t\t\treturn \"Page (New window)\";\n\t\t\tcase EShapeActionValueOpenType.PAGE_INPLACE_LEGACY:\n\t\t\t\treturn \"Page (In-place)\";\n\t\t\tcase EShapeActionValueOpenType.DIALOG_TEXT:\n\t\t\t\treturn \"Dialog (Text)\";\n\t\t\tcase EShapeActionValueOpenType.DIALOG_INTEGER:\n\t\t\t\treturn \"Dialog (Integer)\";\n\t\t\tcase EShapeActionValueOpenType.DIALOG_REAL:\n\t\t\t\treturn \"Dialog (Real)\";\n\t\t\tcase EShapeActionValueOpenType.DIALOG_BOOLEAN:\n\t\t\t\treturn \"Dialog (Boolean)\";\n\t\t\tcase EShapeActionValueOpenType.DIALOG_DATE:\n\t\t\t\treturn \"Dialog (Date)\";\n\t\t\tcase EShapeActionValueOpenType.DIALOG_TIME:\n\t\t\t\treturn \"Dialog (Time)\";\n\t\t\tcase EShapeActionValueOpenType.DIALOG_DATETIME:\n\t\t\t\treturn \"Dialog (Datetime)\";\n\t\t\tcase EShapeActionValueOpenType.DIAGRAM:\n\t\t\t\treturn \"Diagram\";\n\t\t\tcase EShapeActionValueOpenType.PAGE:\n\t\t\t\treturn \"Page\";\n\t\t\tcase EShapeActionValueOpenType.DIALOG:\n\t\t\t\treturn \"Dialog\";\n\t\t\tdefault:\n\t\t\t\tif (EShapeActionValueOpenType.EXTENSION <= type) {\n\t\t\t\t\tconst extension = EShapeActionOpenExtensions.get(type);\n\t\t\t\t\tif (extension) {\n\t\t\t\t\t\treturn extension.label;\n\t\t\t\t\t}\n\t\t\t\t\treturn \"Extension\";\n\t\t\t\t} else {\n\t\t\t\t\treturn \"Unknown\";\n\t\t\t\t}\n\t\t}\n\t}\n\n\ttoOpenDialogTypeLabel(type: EShapeActionValueOpenDialogType): string {\n\t\tswitch (type) {\n\t\t\tcase EShapeActionValueOpenDialogType.TEXT:\n\t\t\t\treturn \"Text\";\n\t\t\tcase EShapeActionValueOpenDialogType.INTEGER:\n\t\t\t\treturn \"Integer\";\n\t\t\tcase EShapeActionValueOpenDialogType.REAL:\n\t\t\t\treturn \"Real\";\n\t\t\tcase EShapeActionValueOpenDialogType.BOOLEAN:\n\t\t\t\treturn \"Boolean\";\n\t\t\tcase EShapeActionValueOpenDialogType.DATE:\n\t\t\t\treturn \"Date\";\n\t\t\tcase EShapeActionValueOpenDialogType.TIME:\n\t\t\t\treturn \"Time\";\n\t\t\tcase EShapeActionValueOpenDialogType.DATETIME:\n\t\t\t\treturn \"Datetime\";\n\t\t\tdefault:\n\t\t\t\tif (EShapeActionValueOpenDialogType.EXTENSION <= type) {\n\t\t\t\t\tconst extension = EShapeActionOpenDialogExtensions.get(type);\n\t\t\t\t\tif (extension) {\n\t\t\t\t\t\treturn extension.label;\n\t\t\t\t\t}\n\t\t\t\t\treturn \"Extension\";\n\t\t\t\t} else {\n\t\t\t\t\treturn \"Unknown\";\n\t\t\t\t}\n\t\t}\n\t}\n\n\ttoGestureTypeLabel(type: EShapeActionValueGestureType): string {\n\t\tswitch (type) {\n\t\t\tcase EShapeActionValueGestureType.SHAPE:\n\t\t\t\treturn \"Shape\";\n\t\t\tcase EShapeActionValueGestureType.LAYER:\n\t\t\t\treturn \"Layer\";\n\t\t}\n\t}\n\n\ttoGestureOperationTypeLabel(type: EShapeActionValueGestureOperationType): string {\n\t\tswitch (type) {\n\t\t\tcase EShapeActionValueGestureOperationType.DRAG:\n\t\t\t\treturn \"Drag\";\n\t\t\tcase EShapeActionValueGestureOperationType.PINCH:\n\t\t\t\treturn \"Pinch\";\n\t\t}\n\t\treturn \"Unknown\";\n\t}\n\n\ttoMiscTypeLabel(type: EShapeActionValueMiscType): string {\n\t\tswitch (type) {\n\t\t\tcase EShapeActionValueMiscType.INPUT_TEXT:\n\t\t\t\treturn \"Input (Text)\";\n\t\t\tcase EShapeActionValueMiscType.INPUT_INTEGER:\n\t\t\t\treturn \"Input (Integer)\";\n\t\t\tcase EShapeActionValueMiscType.INPUT_REAL:\n\t\t\t\treturn \"Input (Real)\";\n\t\t\tcase EShapeActionValueMiscType.EMIT_EVENT:\n\t\t\t\treturn this.toOnInputActionLabel(EShapeActionValueOnInputAction.EMIT_EVENT);\n\t\t\tcase EShapeActionValueMiscType.WRITE_BOTH:\n\t\t\t\treturn this.toOnInputActionLabel(EShapeActionValueOnInputAction.WRITE_BOTH);\n\t\t\tcase EShapeActionValueMiscType.WRITE_LOCAL:\n\t\t\t\treturn this.toOnInputActionLabel(EShapeActionValueOnInputAction.WRITE_LOCAL);\n\t\t\tcase EShapeActionValueMiscType.WRITE_REMOTE:\n\t\t\t\treturn this.toOnInputActionLabel(EShapeActionValueOnInputAction.WRITE_REMOTE);\n\t\t\tcase EShapeActionValueMiscType.HTML_ELEMENT:\n\t\t\t\treturn \"HTML element\";\n\t\t\tcase EShapeActionValueMiscType.HTML_ELEMENT_WITHOUT_POINTER_EVENTS:\n\t\t\t\treturn \"HTML element (No pointer events)\";\n\t\t\tcase EShapeActionValueMiscType.SHOW_HIDE_LAYER:\n\t\t\t\treturn \"Show / hide layers\";\n\t\t\tcase EShapeActionValueMiscType.GESTURE_LAYER:\n\t\t\t\treturn \"Layer gesture\";\n\t\t\tcase EShapeActionValueMiscType.GESTURE:\n\t\t\t\treturn \"Gesture\";\n\t\t\tcase EShapeActionValueMiscType.EXECUTE:\n\t\t\t\treturn \"Execute\";\n\t\t\tdefault:\n\t\t\t\tif (EShapeActionValueMiscType.EXTENSION <= type) {\n\t\t\t\t\tconst extension = EShapeActionMiscExtensions.get(type);\n\t\t\t\t\tif (extension) {\n\t\t\t\t\t\treturn extension.label;\n\t\t\t\t\t}\n\t\t\t\t\treturn \"Extension\";\n\t\t\t\t} else {\n\t\t\t\t\treturn \"Unknown\";\n\t\t\t\t}\n\t\t}\n\t}\n\n\ttoHtmlElementWhenLabel(when: UtilHtmlElementWhen): string {\n\t\tswitch (when) {\n\t\t\tcase UtilHtmlElementWhen.CLICKED:\n\t\t\t\treturn \"Clicked\";\n\t\t\tcase UtilHtmlElementWhen.DOUBLE_CLICKED:\n\t\t\t\treturn \"Double clicked\";\n\t\t\tcase UtilHtmlElementWhen.FOCUSED:\n\t\t\t\treturn \"Focused\";\n\t\t\tcase UtilHtmlElementWhen.ALWAYS:\n\t\t\t\treturn \"Always\";\n\t\t}\n\t\treturn \"Unknown\";\n\t}\n\n\ttoOnInputActionLabel(type: EShapeActionValueOnInputAction): string {\n\t\tswitch (type) {\n\t\t\tcase EShapeActionValueOnInputAction.EMIT_EVENT:\n\t\t\t\treturn \"Emit event\";\n\t\t\tcase EShapeActionValueOnInputAction.WRITE_BOTH:\n\t\t\t\treturn \"Write (Both)\";\n\t\t\tcase EShapeActionValueOnInputAction.WRITE_LOCAL:\n\t\t\t\treturn \"Write (Local)\";\n\t\t\tcase EShapeActionValueOnInputAction.WRITE_REMOTE:\n\t\t\t\treturn \"Write (Remote)\";\n\t\t}\n\t\treturn \"Unknown\";\n\t}\n}\n"]}
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
* Copyright (C) 2019 Toshiba Corporation
|
|
3
3
|
* SPDX-License-Identifier: Apache-2.0
|
|
4
4
|
*/
|
|
5
|
+
import { EShapeActionMiscExtensions } from "../../shape/action/e-shape-action-misc-extensions";
|
|
5
6
|
import { EShapeActionOpenDialogExtensions } from "../../shape/action/e-shape-action-open-dialog-extensions";
|
|
6
7
|
import { EShapeActionOpenExtensions } from "../../shape/action/e-shape-action-open-extensions";
|
|
7
8
|
import { EShapeActionValueBlinkType } from "../../shape/action/e-shape-action-value-blink-type";
|
|
@@ -363,6 +364,17 @@ var EThemeWhiteShapeActionValue = /** @class */ (function () {
|
|
|
363
364
|
return "Gesture";
|
|
364
365
|
case EShapeActionValueMiscType.EXECUTE:
|
|
365
366
|
return "Execute";
|
|
367
|
+
default:
|
|
368
|
+
if (EShapeActionValueMiscType.EXTENSION <= type) {
|
|
369
|
+
var extension = EShapeActionMiscExtensions.get(type);
|
|
370
|
+
if (extension) {
|
|
371
|
+
return extension.label;
|
|
372
|
+
}
|
|
373
|
+
return "Extension";
|
|
374
|
+
}
|
|
375
|
+
else {
|
|
376
|
+
return "Unknown";
|
|
377
|
+
}
|
|
366
378
|
}
|
|
367
379
|
};
|
|
368
380
|
EThemeWhiteShapeActionValue.prototype.toHtmlElementWhenLabel = function (when) {
|