@wcardinal/wcardinal-ui 0.158.0 → 0.159.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/wcardinal/ui/d-animation-base.js +2 -1
- package/dist/wcardinal/ui/d-animation-base.js.map +1 -1
- package/dist/wcardinal/ui/d-animation-empty.js +2 -1
- package/dist/wcardinal/ui/d-animation-empty.js.map +1 -1
- package/dist/wcardinal/ui/d-animation-fade-in.js +2 -1
- package/dist/wcardinal/ui/d-animation-fade-in.js.map +1 -1
- package/dist/wcardinal/ui/d-base.js +2 -1
- package/dist/wcardinal/ui/d-base.js.map +1 -1
- package/dist/wcardinal/ui/d-button-select.js +2 -1
- package/dist/wcardinal/ui/d-button-select.js.map +1 -1
- package/dist/wcardinal/ui/d-chart-selection-simple.js +2 -1
- package/dist/wcardinal/ui/d-chart-selection-simple.js.map +1 -1
- package/dist/wcardinal/ui/d-chart-selection-sub-impl.js +2 -1
- package/dist/wcardinal/ui/d-chart-selection-sub-impl.js.map +1 -1
- package/dist/wcardinal/ui/d-chart-series-line.js +2 -1
- package/dist/wcardinal/ui/d-chart-series-line.js.map +1 -1
- package/dist/wcardinal/ui/d-diagram-base.js +2 -1
- package/dist/wcardinal/ui/d-diagram-base.js.map +1 -1
- package/dist/wcardinal/ui/d-diagram.js +3 -3
- package/dist/wcardinal/ui/d-diagram.js.map +1 -1
- package/dist/wcardinal/ui/d-dialog-processing.js +2 -1
- package/dist/wcardinal/ui/d-dialog-processing.js.map +1 -1
- package/dist/wcardinal/ui/d-dynamic-text-style.js +1 -1
- package/dist/wcardinal/ui/d-dynamic-text-style.js.map +1 -1
- package/dist/wcardinal/ui/d-map-tile-pyramids.js +5 -5
- package/dist/wcardinal/ui/d-map-tile-pyramids.js.map +1 -1
- package/dist/wcardinal/ui/d-menu-item-base.js +2 -1
- package/dist/wcardinal/ui/d-menu-item-base.js.map +1 -1
- package/dist/wcardinal/ui/d-menu-sided-selection.js +2 -1
- package/dist/wcardinal/ui/d-menu-sided-selection.js.map +1 -1
- package/dist/wcardinal/ui/d-menu-sided.js +2 -1
- package/dist/wcardinal/ui/d-menu-sided.js.map +1 -1
- package/dist/wcardinal/ui/d-menus.js +1 -1
- package/dist/wcardinal/ui/d-menus.js.map +1 -1
- package/dist/wcardinal/ui/d-pagination.js +2 -1
- package/dist/wcardinal/ui/d-pagination.js.map +1 -1
- package/dist/wcardinal/ui/d-pane.js +2 -1
- package/dist/wcardinal/ui/d-pane.js.map +1 -1
- package/dist/wcardinal/ui/d-picker-dates.js +1 -1
- package/dist/wcardinal/ui/d-picker-dates.js.map +1 -1
- package/dist/wcardinal/ui/d-picker-datetimes.js +2 -2
- package/dist/wcardinal/ui/d-picker-datetimes.js.map +1 -1
- package/dist/wcardinal/ui/d-scalar-expression.js +3 -3
- package/dist/wcardinal/ui/d-scalar-expression.js.map +1 -1
- package/dist/wcardinal/ui/d-scroll-bar.js +2 -1
- package/dist/wcardinal/ui/d-scroll-bar.js.map +1 -1
- package/dist/wcardinal/ui/d-slider.js +2 -2
- package/dist/wcardinal/ui/d-slider.js.map +1 -1
- package/dist/wcardinal/ui/d-table-body-cell-button.js +2 -1
- package/dist/wcardinal/ui/d-table-body-cell-button.js.map +1 -1
- package/dist/wcardinal/ui/d-table-body-cell-select-dialog.js +2 -1
- package/dist/wcardinal/ui/d-table-body-cell-select-dialog.js.map +1 -1
- package/dist/wcardinal/ui/d-table-body-cell-select-promise.js +2 -1
- package/dist/wcardinal/ui/d-table-body-cell-select-promise.js.map +1 -1
- package/dist/wcardinal/ui/d-table-body-cell-tree.js +2 -1
- package/dist/wcardinal/ui/d-table-body-cell-tree.js.map +1 -1
- package/dist/wcardinal/ui/d-table-body.js +2 -1
- package/dist/wcardinal/ui/d-table-body.js.map +1 -1
- package/dist/wcardinal/ui/d-table-category.js +2 -1
- package/dist/wcardinal/ui/d-table-category.js.map +1 -1
- package/dist/wcardinal/ui/d-table-data-list-selection.js +2 -1
- package/dist/wcardinal/ui/d-table-data-list-selection.js.map +1 -1
- package/dist/wcardinal/ui/d-table-data-tree-selection-impl.js +2 -1
- package/dist/wcardinal/ui/d-table-data-tree-selection-impl.js.map +1 -1
- package/dist/wcardinal/ui/d-table-header.js +2 -1
- package/dist/wcardinal/ui/d-table-header.js.map +1 -1
- package/dist/wcardinal/ui/d-table-row.js +2 -1
- package/dist/wcardinal/ui/d-table-row.js.map +1 -1
- package/dist/wcardinal/ui/d-tree-item-button.js +2 -1
- package/dist/wcardinal/ui/d-tree-item-button.js.map +1 -1
- package/dist/wcardinal/ui/shape/action/e-shape-action-expressions.js +4 -4
- package/dist/wcardinal/ui/shape/action/e-shape-action-expressions.js.map +1 -1
- package/dist/wcardinal/ui/shape/action/e-shape-action-runtime-transform-rotate.js +1 -1
- package/dist/wcardinal/ui/shape/action/e-shape-action-runtime-transform-rotate.js.map +1 -1
- package/dist/wcardinal/ui/shape/action/e-shape-action-value-blink.js +1 -1
- package/dist/wcardinal/ui/shape/action/e-shape-action-value-blink.js.map +1 -1
- package/dist/wcardinal/ui/shape/action/e-shape-action-value-change-color-brightness.js +1 -1
- package/dist/wcardinal/ui/shape/action/e-shape-action-value-change-color-brightness.js.map +1 -1
- package/dist/wcardinal/ui/shape/action/e-shape-action-value-change-color-code.js +1 -1
- package/dist/wcardinal/ui/shape/action/e-shape-action-value-change-color-code.js.map +1 -1
- package/dist/wcardinal/ui/shape/action/e-shape-action-value-change-color.js +1 -1
- package/dist/wcardinal/ui/shape/action/e-shape-action-value-change-color.js.map +1 -1
- package/dist/wcardinal/ui/shape/action/e-shape-action-value-change-cursor.js +1 -1
- package/dist/wcardinal/ui/shape/action/e-shape-action-value-change-cursor.js.map +1 -1
- package/dist/wcardinal/ui/shape/action/e-shape-action-value-change-text.js +1 -1
- package/dist/wcardinal/ui/shape/action/e-shape-action-value-change-text.js.map +1 -1
- package/dist/wcardinal/ui/shape/action/e-shape-action-value-emit-event.js +1 -1
- package/dist/wcardinal/ui/shape/action/e-shape-action-value-emit-event.js.map +1 -1
- package/dist/wcardinal/ui/shape/action/e-shape-action-value-misc-gesture.js +1 -1
- package/dist/wcardinal/ui/shape/action/e-shape-action-value-misc-gesture.js.map +1 -1
- package/dist/wcardinal/ui/shape/action/e-shape-action-value-misc-layer-gesture.js +1 -1
- package/dist/wcardinal/ui/shape/action/e-shape-action-value-misc-layer-gesture.js.map +1 -1
- package/dist/wcardinal/ui/shape/action/e-shape-action-value-misc-layer-show-hide.js +1 -1
- package/dist/wcardinal/ui/shape/action/e-shape-action-value-misc-layer-show-hide.js.map +1 -1
- package/dist/wcardinal/ui/shape/action/e-shape-action-value-misc.js +1 -1
- package/dist/wcardinal/ui/shape/action/e-shape-action-value-misc.js.map +1 -1
- package/dist/wcardinal/ui/shape/action/e-shape-action-value-open.js +1 -1
- package/dist/wcardinal/ui/shape/action/e-shape-action-value-open.js.map +1 -1
- package/dist/wcardinal/ui/shape/action/e-shape-action-value-show-hide.js +1 -1
- package/dist/wcardinal/ui/shape/action/e-shape-action-value-show-hide.js.map +1 -1
- package/dist/wcardinal/ui/shape/action/e-shape-action-value-transform-move.js +1 -1
- package/dist/wcardinal/ui/shape/action/e-shape-action-value-transform-move.js.map +1 -1
- package/dist/wcardinal/ui/shape/action/e-shape-action-value-transform-resize.js +1 -1
- package/dist/wcardinal/ui/shape/action/e-shape-action-value-transform-resize.js.map +1 -1
- package/dist/wcardinal/ui/shape/action/e-shape-action-value-transform-rotate.js +1 -1
- package/dist/wcardinal/ui/shape/action/e-shape-action-value-transform-rotate.js.map +1 -1
- package/dist/wcardinal/ui/shape/e-shape-connector-edge-container-impl.js +1 -1
- package/dist/wcardinal/ui/shape/e-shape-connector-edge-container-impl.js.map +1 -1
- package/dist/wcardinal/ui/shape/e-shape-connector-edge-impl.js +1 -1
- package/dist/wcardinal/ui/shape/e-shape-connector-edge-impl.js.map +1 -1
- package/dist/wcardinal/ui/shape/e-shape-points-marker-base.js +1 -1
- package/dist/wcardinal/ui/shape/e-shape-points-marker-base.js.map +1 -1
- package/dist/wcardinal/ui/shape/e-shape-points-marker-container-impl.js +1 -1
- package/dist/wcardinal/ui/shape/e-shape-points-marker-container-impl.js.map +1 -1
- package/dist/wcardinal/ui/shape/variant/e-shape-bar-points.js +1 -1
- package/dist/wcardinal/ui/shape/variant/e-shape-bar-points.js.map +1 -1
- package/dist/wcardinal/ui/shape/variant/e-shape-button.js +1 -1
- package/dist/wcardinal/ui/shape/variant/e-shape-button.js.map +1 -1
- package/dist/wcardinal/ui/shape/variant/e-shape-connector-line.js +1 -1
- package/dist/wcardinal/ui/shape/variant/e-shape-connector-line.js.map +1 -1
- package/dist/wcardinal/ui/shape/variant/e-shape-data-impl.js +2 -2
- package/dist/wcardinal/ui/shape/variant/e-shape-data-impl.js.map +1 -1
- package/dist/wcardinal/ui/shape/variant/e-shape-data-value-impl.js +1 -1
- package/dist/wcardinal/ui/shape/variant/e-shape-data-value-impl.js.map +1 -1
- package/dist/wcardinal/ui/shape/variant/e-shape-data-value-range-impl.js +1 -1
- package/dist/wcardinal/ui/shape/variant/e-shape-data-value-range-impl.js.map +1 -1
- package/dist/wcardinal/ui/shape/variant/e-shape-fill-impl.js +1 -1
- package/dist/wcardinal/ui/shape/variant/e-shape-fill-impl.js.map +1 -1
- package/dist/wcardinal/ui/shape/variant/e-shape-line-points.js +1 -1
- package/dist/wcardinal/ui/shape/variant/e-shape-line-points.js.map +1 -1
- package/dist/wcardinal/ui/shape/variant/e-shape-stroke-impl.js +1 -1
- package/dist/wcardinal/ui/shape/variant/e-shape-stroke-impl.js.map +1 -1
- package/dist/wcardinal/ui/shape/variant/e-shape-text-align-impl.js +1 -1
- package/dist/wcardinal/ui/shape/variant/e-shape-text-align-impl.js.map +1 -1
- package/dist/wcardinal/ui/shape/variant/e-shape-text-impl.js +3 -3
- package/dist/wcardinal/ui/shape/variant/e-shape-text-impl.js.map +1 -1
- package/dist/wcardinal/ui/shape/variant/e-shape-text-offset-impl.js +1 -1
- package/dist/wcardinal/ui/shape/variant/e-shape-text-offset-impl.js.map +1 -1
- package/dist/wcardinal/ui/shape/variant/e-shape-text-outline-impl.js +1 -1
- package/dist/wcardinal/ui/shape/variant/e-shape-text-outline-impl.js.map +1 -1
- package/dist/wcardinal/ui/shape/variant/to-gradient-image-url.js +2 -2
- package/dist/wcardinal/ui/shape/variant/to-gradient-image-url.js.map +1 -1
- package/dist/wcardinal/ui/shape/variant/to-gradient-serialized.js +2 -2
- package/dist/wcardinal/ui/shape/variant/to-gradient-serialized.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-base.js +3 -3
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-base.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-button-color.js +1 -1
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-button-color.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-html-element.js +14 -14
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-html-element.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-input-input.js +4 -4
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-input-input.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-input-text-area.js +4 -4
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-input-text-area.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-picker-color.js +1 -1
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-picker-color.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-picker-datetime.js +1 -1
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-picker-datetime.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/d-theme-dark.js +1 -1
- package/dist/wcardinal/ui/theme/dark/d-theme-dark.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/e-theme-dark-shape-action-value.js +8 -8
- package/dist/wcardinal/ui/theme/dark/e-theme-dark-shape-action-value.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/d-theme-white-base.js +3 -3
- package/dist/wcardinal/ui/theme/white/d-theme-white-base.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/d-theme-white-button-color.js +1 -1
- package/dist/wcardinal/ui/theme/white/d-theme-white-button-color.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/d-theme-white-html-element.js +14 -14
- package/dist/wcardinal/ui/theme/white/d-theme-white-html-element.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/d-theme-white-input-input.js +4 -4
- package/dist/wcardinal/ui/theme/white/d-theme-white-input-input.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/d-theme-white-input-text-area.js +4 -4
- package/dist/wcardinal/ui/theme/white/d-theme-white-input-text-area.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/d-theme-white-picker-color.js +1 -1
- package/dist/wcardinal/ui/theme/white/d-theme-white-picker-color.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/d-theme-white-picker-datetime.js +1 -1
- package/dist/wcardinal/ui/theme/white/d-theme-white-picker-datetime.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/d-theme-white.js +1 -1
- package/dist/wcardinal/ui/theme/white/d-theme-white.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/e-theme-white-shape-action-value.js +8 -8
- package/dist/wcardinal/ui/theme/white/e-theme-white-shape-action-value.js.map +1 -1
- package/dist/wcardinal/ui/util/dynamic-sdf-font-atlas.js +1 -1
- package/dist/wcardinal/ui/util/dynamic-sdf-font-atlas.js.map +1 -1
- package/dist/wcardinal/ui/util/dynamic-sdf-font-generator.js +2 -2
- package/dist/wcardinal/ui/util/dynamic-sdf-font-generator.js.map +1 -1
- package/dist/wcardinal/ui/util/format-node/format-node-d-small.js +1 -1
- package/dist/wcardinal/ui/util/format-node/format-node-d-small.js.map +1 -1
- package/dist/wcardinal/ui/util/format-node/format-node-fsi.js +1 -1
- package/dist/wcardinal/ui/util/format-node/format-node-fsi.js.map +1 -1
- package/dist/wcardinal/ui/util/format-node/format-node-p-large.js +1 -1
- package/dist/wcardinal/ui/util/format-node/format-node-p-large.js.map +1 -1
- package/dist/wcardinal/ui/util/format-node/format-node-p-small.js +1 -1
- package/dist/wcardinal/ui/util/format-node/format-node-p-small.js.map +1 -1
- package/dist/wcardinal/ui/util/format-node/format-node-parenthesis.js +1 -1
- package/dist/wcardinal/ui/util/format-node/format-node-parenthesis.js.map +1 -1
- package/dist/wcardinal/ui/util/format-node/format-node-plus.js +1 -1
- package/dist/wcardinal/ui/util/format-node/format-node-plus.js.map +1 -1
- package/dist/wcardinal/ui/util/format-node/format-node-rd.js +1 -1
- package/dist/wcardinal/ui/util/format-node/format-node-rd.js.map +1 -1
- package/dist/wcardinal/ui/util/format-node/format-node-rp-large.js +1 -1
- package/dist/wcardinal/ui/util/format-node/format-node-rp-large.js.map +1 -1
- package/dist/wcardinal/ui/util/format-node/format-node-rp-small.js +1 -1
- package/dist/wcardinal/ui/util/format-node/format-node-rp-small.js.map +1 -1
- package/dist/wcardinal/ui/util/format-node/format-node-sdt.js +6 -6
- package/dist/wcardinal/ui/util/format-node/format-node-sdt.js.map +1 -1
- package/dist/wcardinal/ui/util/format-node/format-node-space.js +1 -1
- package/dist/wcardinal/ui/util/format-node/format-node-space.js.map +1 -1
- package/dist/wcardinal/ui/util/format-node/format-node-z.js +1 -1
- package/dist/wcardinal/ui/util/format-node/format-node-z.js.map +1 -1
- package/dist/wcardinal/ui/util/to-svg-url.js +1 -1
- package/dist/wcardinal/ui/util/to-svg-url.js.map +1 -1
- package/dist/wcardinal/ui/util/util-input-number.js +5 -4
- package/dist/wcardinal/ui/util/util-input-number.js.map +1 -1
- package/dist/wcardinal/ui/util/util-input.js +6 -5
- package/dist/wcardinal/ui/util/util-input.js.map +1 -1
- package/dist/wcardinal/ui/util/util-name.js +2 -2
- package/dist/wcardinal/ui/util/util-name.js.map +1 -1
- package/dist/wcardinal/ui/util/util-rgb.js +1 -1
- package/dist/wcardinal/ui/util/util-rgb.js.map +1 -1
- package/dist/wcardinal/ui/util/util-rgba.js +1 -1
- package/dist/wcardinal/ui/util/util-rgba.js.map +1 -1
- package/dist/wcardinal/ui/util/util-svg-atlas-builder.js +5 -5
- package/dist/wcardinal/ui/util/util-svg-atlas-builder.js.map +1 -1
- package/dist/wcardinal-ui-theme-dark.js +38 -38
- package/dist/wcardinal-ui-theme-dark.min.js +2 -2
- package/dist/wcardinal-ui-theme-dark.min.js.map +1 -1
- package/dist/wcardinal-ui-theme-white.js +38 -38
- package/dist/wcardinal-ui-theme-white.min.js +2 -2
- package/dist/wcardinal-ui-theme-white.min.js.map +1 -1
- package/dist/wcardinal-ui.cjs.js +233 -204
- package/dist/wcardinal-ui.js +159 -130
- package/dist/wcardinal-ui.min.js +2 -2
- package/dist/wcardinal-ui.min.js.map +1 -1
- package/package.json +14 -14
package/dist/wcardinal-ui.cjs.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
Winter Cardinal UI v0.
|
|
2
|
+
Winter Cardinal UI v0.159.0
|
|
3
3
|
Copyright (C) 2019 Toshiba Corporation
|
|
4
4
|
SPDX-License-Identifier: Apache-2.0
|
|
5
5
|
|
|
@@ -1698,7 +1698,7 @@ var EShapeFillImpl = /** @class */ (function () {
|
|
|
1698
1698
|
};
|
|
1699
1699
|
};
|
|
1700
1700
|
EShapeFillImpl.prototype.serialize = function (manager) {
|
|
1701
|
-
var stringified = "["
|
|
1701
|
+
var stringified = "[".concat(this._enable ? 1 : 0, ",").concat(this._color, ",").concat(this._alpha, "]");
|
|
1702
1702
|
return manager.addResource(stringified);
|
|
1703
1703
|
};
|
|
1704
1704
|
EShapeFillImpl.prototype.deserialize = function (target, manager) {
|
|
@@ -2090,7 +2090,7 @@ var EShapeBarPoints = /** @class */ (function () {
|
|
|
2090
2090
|
return result;
|
|
2091
2091
|
};
|
|
2092
2092
|
EShapeBarPoints.prototype.serialize = function (manager) {
|
|
2093
|
-
return manager.addResource("["
|
|
2093
|
+
return manager.addResource("[".concat(this._position, ",").concat(this._size, ",").concat(this._style, "]"));
|
|
2094
2094
|
};
|
|
2095
2095
|
EShapeBarPoints.prototype.deserialize = function (resourceId, manager) {
|
|
2096
2096
|
if (0 <= resourceId && resourceId < manager.resources.length) {
|
|
@@ -3710,10 +3710,10 @@ var hitTestBBox = function (x, y, ax, ay) {
|
|
|
3710
3710
|
*/
|
|
3711
3711
|
var toGradientSerialized = function (gradient) {
|
|
3712
3712
|
var points = gradient.points;
|
|
3713
|
-
var result = "["
|
|
3713
|
+
var result = "[".concat(gradient.direction);
|
|
3714
3714
|
for (var i = 0, imax = points.length, j = 1; i < imax; i += 1, j += 3) {
|
|
3715
3715
|
var point = points[i];
|
|
3716
|
-
result += ","
|
|
3716
|
+
result += ",".concat(point.color, ",").concat(point.alpha, ",").concat(point.position);
|
|
3717
3717
|
}
|
|
3718
3718
|
result += "]";
|
|
3719
3719
|
return result;
|
|
@@ -4605,7 +4605,7 @@ var EShapeStrokeImpl = /** @class */ (function () {
|
|
|
4605
4605
|
};
|
|
4606
4606
|
EShapeStrokeImpl.prototype.serialize = function (manager) {
|
|
4607
4607
|
var enable = this._enable ? 1 : 0;
|
|
4608
|
-
var serialized = "["
|
|
4608
|
+
var serialized = "[".concat(enable, ",").concat(this._color, ",").concat(this._alpha, ",").concat(this._width, ",").concat(this._align, ",").concat(this._side, ",").concat(this._style, "]");
|
|
4609
4609
|
return manager.addResource(serialized);
|
|
4610
4610
|
};
|
|
4611
4611
|
EShapeStrokeImpl.prototype.deserialize = function (target, manager) {
|
|
@@ -4835,7 +4835,7 @@ var EShapeDataValueRangeImpl = /** @class */ (function () {
|
|
|
4835
4835
|
};
|
|
4836
4836
|
};
|
|
4837
4837
|
EShapeDataValueRangeImpl.prototype.serialize = function (manager) {
|
|
4838
|
-
var serialized = "["
|
|
4838
|
+
var serialized = "[".concat(this._type, ",").concat(this._from, ",").concat(this._to, "]");
|
|
4839
4839
|
return manager.addResource(serialized);
|
|
4840
4840
|
};
|
|
4841
4841
|
EShapeDataValueRangeImpl.prototype.deserialize = function (target, manager) {
|
|
@@ -5345,7 +5345,7 @@ var EShapeDataValueImpl = /** @class */ (function () {
|
|
|
5345
5345
|
var initialSerialized = manager.addResource(this.initial);
|
|
5346
5346
|
var formatSerialized = manager.addResource(this.format.trim());
|
|
5347
5347
|
var rangeSerialized = this.range.serialize(manager);
|
|
5348
|
-
return manager.addResource("["
|
|
5348
|
+
return manager.addResource("[".concat(idSerialized, ",").concat(initialSerialized, ",").concat(formatSerialized, ",").concat(rangeSerialized, ",").concat(this._capacity, ",").concat(this._order, "]"));
|
|
5349
5349
|
};
|
|
5350
5350
|
EShapeDataValueImpl.prototype.deserialize = function (target, manager) {
|
|
5351
5351
|
var resources = manager.resources;
|
|
@@ -5585,9 +5585,9 @@ var EShapeDataImpl = /** @class */ (function () {
|
|
|
5585
5585
|
return manager.addResource("[]");
|
|
5586
5586
|
}
|
|
5587
5587
|
else {
|
|
5588
|
-
var serialized = "["
|
|
5588
|
+
var serialized = "[".concat(values[0].serialize(manager));
|
|
5589
5589
|
for (var i = 1, imax = values.length; i < imax; ++i) {
|
|
5590
|
-
serialized += ","
|
|
5590
|
+
serialized += ",".concat(values[i].serialize(manager));
|
|
5591
5591
|
}
|
|
5592
5592
|
serialized += "]";
|
|
5593
5593
|
return manager.addResource(serialized);
|
|
@@ -5677,7 +5677,7 @@ var EShapeTextAlignImpl = /** @class */ (function () {
|
|
|
5677
5677
|
};
|
|
5678
5678
|
};
|
|
5679
5679
|
EShapeTextAlignImpl.prototype.serialize = function (manager) {
|
|
5680
|
-
return manager.addResource("["
|
|
5680
|
+
return manager.addResource("[".concat(this._horizontal, ",").concat(this._vertical, "]"));
|
|
5681
5681
|
};
|
|
5682
5682
|
EShapeTextAlignImpl.prototype.deserialize = function (target, manager) {
|
|
5683
5683
|
var resources = manager.resources;
|
|
@@ -5758,7 +5758,7 @@ var EShapeTextOffsetImpl = /** @class */ (function () {
|
|
|
5758
5758
|
};
|
|
5759
5759
|
};
|
|
5760
5760
|
EShapeTextOffsetImpl.prototype.serialize = function (manager) {
|
|
5761
|
-
return manager.addResource("["
|
|
5761
|
+
return manager.addResource("[".concat(this._horizontal, ",").concat(this._vertical, "]"));
|
|
5762
5762
|
};
|
|
5763
5763
|
EShapeTextOffsetImpl.prototype.deserialize = function (target, manager) {
|
|
5764
5764
|
var resources = manager.resources;
|
|
@@ -5880,7 +5880,7 @@ var EShapeTextOutlineImpl = /** @class */ (function () {
|
|
|
5880
5880
|
};
|
|
5881
5881
|
};
|
|
5882
5882
|
EShapeTextOutlineImpl.prototype.serialize = function (manager) {
|
|
5883
|
-
var serialized = "["
|
|
5883
|
+
var serialized = "[".concat(this._enable ? 1 : 0, ",").concat(this._color, ",").concat(this._alpha, ",").concat(this._width, "]");
|
|
5884
5884
|
return manager.addResource(serialized);
|
|
5885
5885
|
};
|
|
5886
5886
|
EShapeTextOutlineImpl.prototype.deserialize = function (target, manager) {
|
|
@@ -6164,9 +6164,9 @@ var EShapeTextImpl = /** @class */ (function () {
|
|
|
6164
6164
|
var outlineId = this.outline.serialize(manager);
|
|
6165
6165
|
var spacingId = this.spacing.serialize(manager);
|
|
6166
6166
|
var paddingId = this.padding.serialize(manager);
|
|
6167
|
-
var serialized = "["
|
|
6168
|
-
(this._weight
|
|
6169
|
-
(spacingId
|
|
6167
|
+
var serialized = "[".concat(valueId, ",").concat(this._color, ",").concat(this._alpha, ",").concat(familyId, ",").concat(this._size, ",") +
|
|
6168
|
+
"".concat(this._weight, ",").concat(alignId, ",").concat(offsetId, ",").concat(this._style, ",").concat(outlineId, ",") +
|
|
6169
|
+
"".concat(spacingId, ",").concat(this._direction, ",").concat(paddingId, ",").concat(this._clipping ? 1 : 0, "]");
|
|
6170
6170
|
return manager.addResource(serialized);
|
|
6171
6171
|
};
|
|
6172
6172
|
EShapeTextImpl.prototype.deserialize = function (target, manager) {
|
|
@@ -6978,7 +6978,7 @@ var UtilRgb = /** @class */ (function () {
|
|
|
6978
6978
|
UtilRgb.fromCode = function (code) {
|
|
6979
6979
|
var trimmed = code.trim().toLowerCase();
|
|
6980
6980
|
if (trimmed.length === 6) {
|
|
6981
|
-
var color = Number("0x"
|
|
6981
|
+
var color = Number("0x".concat(trimmed));
|
|
6982
6982
|
if (color === color) {
|
|
6983
6983
|
return color;
|
|
6984
6984
|
}
|
|
@@ -7603,13 +7603,13 @@ var EShapeActionExpressions = /** @class */ (function () {
|
|
|
7603
7603
|
"with( shape ) {" +
|
|
7604
7604
|
"with( state ) {" +
|
|
7605
7605
|
(nullable ?
|
|
7606
|
-
("var result = ("
|
|
7607
|
-
|
|
7608
|
-
"return "
|
|
7606
|
+
("var result = (".concat(expression, ");") +
|
|
7607
|
+
"return (result != null ? ".concat(caster, "(result) : null);")) :
|
|
7608
|
+
"return ".concat(caster, "(").concat(expression, ");")) +
|
|
7609
7609
|
"}" +
|
|
7610
7610
|
"}" +
|
|
7611
7611
|
"} catch( e ) {" +
|
|
7612
|
-
|
|
7612
|
+
"return ".concat(defLiteral, ";") +
|
|
7613
7613
|
"}";
|
|
7614
7614
|
/* eslint-enable prettier/prettier */
|
|
7615
7615
|
if (parameter == null) {
|
|
@@ -8006,7 +8006,7 @@ var EShapeActionValueBlink = /** @class */ (function (_super) {
|
|
|
8006
8006
|
};
|
|
8007
8007
|
EShapeActionValueBlink.prototype.serialize = function (manager) {
|
|
8008
8008
|
var conditionId = manager.addResource(this.condition);
|
|
8009
|
-
return manager.addResource("["
|
|
8009
|
+
return manager.addResource("[".concat(this.type, ",").concat(conditionId, ",").concat(this.subtype, ",").concat(this.interval, ",").concat(this.color, ",").concat(this.alpha, "]"));
|
|
8010
8010
|
};
|
|
8011
8011
|
EShapeActionValueBlink.deserialize = function (serialized, manager) {
|
|
8012
8012
|
var condition = EShapeActionValues.toResource(1, serialized, manager.resources);
|
|
@@ -8320,7 +8320,7 @@ var EShapeActionValueChangeColor = /** @class */ (function (_super) {
|
|
|
8320
8320
|
EShapeActionValueChangeColor.prototype.serialize = function (manager) {
|
|
8321
8321
|
var conditionId = manager.addResource(this.condition);
|
|
8322
8322
|
var blendId = manager.addResource(this.blend);
|
|
8323
|
-
return manager.addResource("["
|
|
8323
|
+
return manager.addResource("[".concat(this.type, ",").concat(conditionId, ",").concat(this.subtype, ",").concat(this.target, ",").concat(this.color, ",").concat(this.alpha, ",").concat(blendId, "]"));
|
|
8324
8324
|
};
|
|
8325
8325
|
EShapeActionValueChangeColor.deserialize = function (serialized, manager) {
|
|
8326
8326
|
var subtype = EShapeActionValueChangeColorTypes.from(serialized);
|
|
@@ -8405,7 +8405,7 @@ var EShapeActionValueChangeColorBrightness = /** @class */ (function (_super) {
|
|
|
8405
8405
|
var conditionId = manager.addResource(this.condition);
|
|
8406
8406
|
var target = EShapeActionValueChangeColorTarget.BRIGHTNESS;
|
|
8407
8407
|
var brightnessId = manager.addResource(this.brightness);
|
|
8408
|
-
return manager.addResource("["
|
|
8408
|
+
return manager.addResource("[".concat(this.type, ",").concat(conditionId, ",").concat(this.subtype, ",").concat(target, ",").concat(brightnessId, "]"));
|
|
8409
8409
|
};
|
|
8410
8410
|
EShapeActionValueChangeColorBrightness.deserialize = function (serialized, manager) {
|
|
8411
8411
|
var subtype = EShapeActionValueChangeColorTypes.from(serialized);
|
|
@@ -8469,7 +8469,7 @@ var EShapeActionValueChangeColorCode = /** @class */ (function (_super) {
|
|
|
8469
8469
|
var colorId = manager.addResource(this.color);
|
|
8470
8470
|
var alphaId = manager.addResource(this.alpha);
|
|
8471
8471
|
var blendId = manager.addResource(this.blend);
|
|
8472
|
-
return manager.addResource("["
|
|
8472
|
+
return manager.addResource("[".concat(this.type, ",").concat(conditionId, ",").concat(this.subtype, ",").concat(target, ",").concat(colorId, ",").concat(alphaId, ",").concat(blendId, "]"));
|
|
8473
8473
|
};
|
|
8474
8474
|
EShapeActionValueChangeColorCode.deserialize = function (serialized, manager) {
|
|
8475
8475
|
var subtype = EShapeActionValueChangeColorTypes.from(serialized);
|
|
@@ -8527,7 +8527,7 @@ var EShapeActionValueChangeCursor = /** @class */ (function (_super) {
|
|
|
8527
8527
|
EShapeActionValueChangeCursor.prototype.serialize = function (manager) {
|
|
8528
8528
|
var conditionId = manager.addResource(this.condition);
|
|
8529
8529
|
var nameId = manager.addResource(this.name);
|
|
8530
|
-
return manager.addResource("["
|
|
8530
|
+
return manager.addResource("[".concat(this.type, ",").concat(conditionId, ",").concat(nameId, "]"));
|
|
8531
8531
|
};
|
|
8532
8532
|
EShapeActionValueChangeCursor.deserialize = function (serialized, manager) {
|
|
8533
8533
|
var condition = EShapeActionValues.toResource(1, serialized, manager.resources);
|
|
@@ -8584,7 +8584,7 @@ var FormatNoded = /** @class */ (function () {
|
|
|
8584
8584
|
function FormatNoded() {
|
|
8585
8585
|
}
|
|
8586
8586
|
FormatNoded.prototype.format = function (target, step, date) {
|
|
8587
|
-
return ""
|
|
8587
|
+
return "".concat(target | 0);
|
|
8588
8588
|
};
|
|
8589
8589
|
return FormatNoded;
|
|
8590
8590
|
}());
|
|
@@ -8706,7 +8706,7 @@ var FormatNodefsi = /** @class */ (function (_super) {
|
|
|
8706
8706
|
};
|
|
8707
8707
|
FormatNodefsi.prototype.format_ = function (target, unitInverse, postfix) {
|
|
8708
8708
|
var value = target * unitInverse;
|
|
8709
|
-
return ""
|
|
8709
|
+
return "".concat(value.toFixed(this.precision)).concat(postfix);
|
|
8710
8710
|
};
|
|
8711
8711
|
return FormatNodefsi;
|
|
8712
8712
|
}(FormatNodePrecision));
|
|
@@ -8799,7 +8799,7 @@ var FormatNodeP = /** @class */ (function () {
|
|
|
8799
8799
|
function FormatNodeP() {
|
|
8800
8800
|
}
|
|
8801
8801
|
FormatNodeP.prototype.format = function (target, step, date) {
|
|
8802
|
-
return ((target * 100) | 0
|
|
8802
|
+
return "".concat((target * 100) | 0, "%");
|
|
8803
8803
|
};
|
|
8804
8804
|
return FormatNodeP;
|
|
8805
8805
|
}());
|
|
@@ -8812,7 +8812,7 @@ var FormatNodep = /** @class */ (function () {
|
|
|
8812
8812
|
function FormatNodep() {
|
|
8813
8813
|
}
|
|
8814
8814
|
FormatNodep.prototype.format = function (target, step, date) {
|
|
8815
|
-
return (target | 0
|
|
8815
|
+
return "".concat(target | 0, "%");
|
|
8816
8816
|
};
|
|
8817
8817
|
return FormatNodep;
|
|
8818
8818
|
}());
|
|
@@ -8844,7 +8844,7 @@ var FormatNodeParenthesis = /** @class */ (function () {
|
|
|
8844
8844
|
FormatNodeParenthesis.prototype.format = function (target, step, date) {
|
|
8845
8845
|
var result = this.node.format(target, step, date);
|
|
8846
8846
|
if (0 < result.length && result[0] === "-") {
|
|
8847
|
-
return "("
|
|
8847
|
+
return "(".concat(result.substring(1, result.length), ")");
|
|
8848
8848
|
}
|
|
8849
8849
|
return result;
|
|
8850
8850
|
};
|
|
@@ -8862,7 +8862,7 @@ var FormatNodePlus = /** @class */ (function () {
|
|
|
8862
8862
|
FormatNodePlus.prototype.format = function (target, step, date) {
|
|
8863
8863
|
var result = this.node.format(target, step, date);
|
|
8864
8864
|
if (0 < result.length && result[0] !== "-") {
|
|
8865
|
-
return "+"
|
|
8865
|
+
return "+".concat(result);
|
|
8866
8866
|
}
|
|
8867
8867
|
return result;
|
|
8868
8868
|
};
|
|
@@ -8877,7 +8877,7 @@ var FormatNodeRP = /** @class */ (function () {
|
|
|
8877
8877
|
function FormatNodeRP() {
|
|
8878
8878
|
}
|
|
8879
8879
|
FormatNodeRP.prototype.format = function (target, step, date) {
|
|
8880
|
-
return Math.round(target * 100)
|
|
8880
|
+
return "".concat(Math.round(target * 100), "%");
|
|
8881
8881
|
};
|
|
8882
8882
|
return FormatNodeRP;
|
|
8883
8883
|
}());
|
|
@@ -8890,7 +8890,7 @@ var FormatNoderp = /** @class */ (function () {
|
|
|
8890
8890
|
function FormatNoderp() {
|
|
8891
8891
|
}
|
|
8892
8892
|
FormatNoderp.prototype.format = function (target, step, date) {
|
|
8893
|
-
return Math.round(target)
|
|
8893
|
+
return "".concat(Math.round(target), "%");
|
|
8894
8894
|
};
|
|
8895
8895
|
return FormatNoderp;
|
|
8896
8896
|
}());
|
|
@@ -8911,24 +8911,24 @@ var FormatNodesdt = /** @class */ (function () {
|
|
|
8911
8911
|
}
|
|
8912
8912
|
FormatNodesdt.prototype.format = function (target, step, date) {
|
|
8913
8913
|
if (step < 1000) {
|
|
8914
|
-
return this.s.format(target, step, date)
|
|
8914
|
+
return "".concat(this.s.format(target, step, date), ".").concat(this.mi.format(target, step, date));
|
|
8915
8915
|
}
|
|
8916
8916
|
else if (step < 60000) {
|
|
8917
|
-
return this.m.format(target, step, date)
|
|
8917
|
+
return "".concat(this.m.format(target, step, date), ":").concat(this.s.format(target, step, date));
|
|
8918
8918
|
}
|
|
8919
8919
|
else if (step < 3600000) {
|
|
8920
|
-
return this.H.format(target, step, date)
|
|
8920
|
+
return "".concat(this.H.format(target, step, date), ":").concat(this.m.format(target, step, date));
|
|
8921
8921
|
}
|
|
8922
8922
|
else if (step < 86400000) {
|
|
8923
8923
|
var M = this.M.format(target, step, date);
|
|
8924
8924
|
var D = this.D.format(target, step, date);
|
|
8925
|
-
return M
|
|
8925
|
+
return "".concat(M, "/").concat(D, " ").concat(this.H.format(target, step, date));
|
|
8926
8926
|
}
|
|
8927
8927
|
else if (step < 2592000000) {
|
|
8928
|
-
return this.M.format(target, step, date)
|
|
8928
|
+
return "".concat(this.M.format(target, step, date), "/").concat(this.D.format(target, step, date));
|
|
8929
8929
|
}
|
|
8930
8930
|
else {
|
|
8931
|
-
return this.Y.format(target, step, date)
|
|
8931
|
+
return "".concat(this.Y.format(target, step, date), "/").concat(this.M.format(target, step, date));
|
|
8932
8932
|
}
|
|
8933
8933
|
};
|
|
8934
8934
|
return FormatNodesdt;
|
|
@@ -8945,7 +8945,7 @@ var FormatNodeSpace = /** @class */ (function () {
|
|
|
8945
8945
|
FormatNodeSpace.prototype.format = function (target, step, date) {
|
|
8946
8946
|
var result = this.node.format(target, step, date);
|
|
8947
8947
|
if (0 < result.length && result[0] !== "-") {
|
|
8948
|
-
return " "
|
|
8948
|
+
return " ".concat(result);
|
|
8949
8949
|
}
|
|
8950
8950
|
return result;
|
|
8951
8951
|
};
|
|
@@ -9019,7 +9019,7 @@ var FormatNodez = /** @class */ (function () {
|
|
|
9019
9019
|
var tzs = z <= 0 ? "+" : "-";
|
|
9020
9020
|
var tzh = toPadded(String(Math.floor(Math.abs(z) / 60)), 2, "0");
|
|
9021
9021
|
var tzm = toPadded(String(Math.floor(Math.abs(z) % 60)), 2, "0");
|
|
9022
|
-
return ""
|
|
9022
|
+
return "".concat(tzs).concat(tzh, ":").concat(tzm);
|
|
9023
9023
|
};
|
|
9024
9024
|
return FormatNodez;
|
|
9025
9025
|
}());
|
|
@@ -9032,7 +9032,7 @@ var FormatNoderd = /** @class */ (function () {
|
|
|
9032
9032
|
function FormatNoderd() {
|
|
9033
9033
|
}
|
|
9034
9034
|
FormatNoderd.prototype.format = function (target, step, date) {
|
|
9035
|
-
return ""
|
|
9035
|
+
return "".concat(Math.round(target));
|
|
9036
9036
|
};
|
|
9037
9037
|
return FormatNoderd;
|
|
9038
9038
|
}());
|
|
@@ -9397,7 +9397,7 @@ var EShapeActionValueChangeText = /** @class */ (function (_super) {
|
|
|
9397
9397
|
EShapeActionValueChangeText.prototype.serialize = function (manager) {
|
|
9398
9398
|
var conditionId = manager.addResource(this.condition);
|
|
9399
9399
|
var valueId = manager.addResource(this.value);
|
|
9400
|
-
return manager.addResource("["
|
|
9400
|
+
return manager.addResource("[".concat(this.type, ",").concat(conditionId, ",").concat(this.subtype, ",").concat(valueId, "]"));
|
|
9401
9401
|
};
|
|
9402
9402
|
EShapeActionValueChangeText.deserialize = function (serialized, manager) {
|
|
9403
9403
|
var condition = EShapeActionValues.toResource(1, serialized, manager.resources);
|
|
@@ -11334,7 +11334,7 @@ var DScalarExpression = /** @class */ (function () {
|
|
|
11334
11334
|
return;
|
|
11335
11335
|
}
|
|
11336
11336
|
}
|
|
11337
|
-
throw new Error("Failed to parse '"
|
|
11337
|
+
throw new Error("Failed to parse '".concat(expression, "'"));
|
|
11338
11338
|
}
|
|
11339
11339
|
DScalarExpression.prototype.toParensesis = function (nodes, ifrom) {
|
|
11340
11340
|
var ito = nodes.length;
|
|
@@ -11487,7 +11487,7 @@ var DScalarExpression = /** @class */ (function () {
|
|
|
11487
11487
|
continue;
|
|
11488
11488
|
}
|
|
11489
11489
|
}
|
|
11490
|
-
throw new Error("Malformed operands for the operator "
|
|
11490
|
+
throw new Error("Malformed operands for the operator ".concat(node));
|
|
11491
11491
|
}
|
|
11492
11492
|
else {
|
|
11493
11493
|
this.toArithmeticNode(node, operatorA, operatorB);
|
|
@@ -11508,7 +11508,7 @@ var DScalarExpression = /** @class */ (function () {
|
|
|
11508
11508
|
else {
|
|
11509
11509
|
var parsedToken = parseFloat(token);
|
|
11510
11510
|
if (parsedToken !== parsedToken) {
|
|
11511
|
-
throw new Error("Unexpected token '"
|
|
11511
|
+
throw new Error("Unexpected token '".concat(token, "' at ").concat(matched.index, " in '").concat(expression, "'"));
|
|
11512
11512
|
}
|
|
11513
11513
|
var tokenTypeLiteral = this.toTokenLiteral(token);
|
|
11514
11514
|
if (tokenTypeLiteral != null) {
|
|
@@ -12143,8 +12143,9 @@ var toShortcuts = function (options) {
|
|
|
12143
12143
|
var DBase = /** @class */ (function (_super) {
|
|
12144
12144
|
__extends(DBase, _super);
|
|
12145
12145
|
function DBase(options) {
|
|
12146
|
+
var _this = this;
|
|
12146
12147
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
12147
|
-
|
|
12148
|
+
_this = _super.call(this) || this;
|
|
12148
12149
|
// Transform
|
|
12149
12150
|
var transform = _this.transform;
|
|
12150
12151
|
_this._position = new DBasePoint(transform.position, function (newX, newY, oldX, oldY) {
|
|
@@ -13591,8 +13592,9 @@ var DAnimationTimings = /** @class */ (function () {
|
|
|
13591
13592
|
var DAnimationBase = /** @class */ (function (_super) {
|
|
13592
13593
|
__extends(DAnimationBase, _super);
|
|
13593
13594
|
function DAnimationBase(options) {
|
|
13595
|
+
var _this = this;
|
|
13594
13596
|
var _a, _b, _c;
|
|
13595
|
-
|
|
13597
|
+
_this = _super.call(this) || this;
|
|
13596
13598
|
_this._id = null;
|
|
13597
13599
|
_this._target = (_a = options === null || options === void 0 ? void 0 : options.target) !== null && _a !== void 0 ? _a : null;
|
|
13598
13600
|
_this._startTime = 0;
|
|
@@ -14787,7 +14789,7 @@ var EShapeActionValueEmitEvent = /** @class */ (function (_super) {
|
|
|
14787
14789
|
EShapeActionValueEmitEvent.prototype.serialize = function (manager) {
|
|
14788
14790
|
var conditionId = manager.addResource(this.condition);
|
|
14789
14791
|
var nameId = manager.addResource(this.name);
|
|
14790
|
-
return manager.addResource("["
|
|
14792
|
+
return manager.addResource("[".concat(this.type, ",").concat(conditionId, ",").concat(nameId, "]"));
|
|
14791
14793
|
};
|
|
14792
14794
|
EShapeActionValueEmitEvent.deserialize = function (serialized, manager) {
|
|
14793
14795
|
var condition = EShapeActionValues.toResource(1, serialized, manager.resources);
|
|
@@ -15553,8 +15555,9 @@ var EShapeActionRuntimeMiscHtmlElement = /** @class */ (function (_super) {
|
|
|
15553
15555
|
var UtilInput = /** @class */ (function (_super) {
|
|
15554
15556
|
__extends(UtilInput, _super);
|
|
15555
15557
|
function UtilInput(target, operation, theme, options) {
|
|
15556
|
-
var
|
|
15557
|
-
var
|
|
15558
|
+
var _this = this;
|
|
15559
|
+
var _a, _b, _c, _d, _e, _f;
|
|
15560
|
+
_this = _super.call(this, target, operation, theme, options) || this;
|
|
15558
15561
|
_this._operation = operation;
|
|
15559
15562
|
_this._onInputKeyDownBound = function (e) {
|
|
15560
15563
|
_this.onInputKeyDown(e);
|
|
@@ -15568,9 +15571,9 @@ var UtilInput = /** @class */ (function (_super) {
|
|
|
15568
15571
|
_this._description = (_a = options === null || options === void 0 ? void 0 : options.description) !== null && _a !== void 0 ? _a : "";
|
|
15569
15572
|
var editing = options === null || options === void 0 ? void 0 : options.editing;
|
|
15570
15573
|
_this._editingFormatter =
|
|
15571
|
-
(
|
|
15572
|
-
_this._editingUnformatter = (
|
|
15573
|
-
_this._editingValidator = (
|
|
15574
|
+
(_d = (_b = editing === null || editing === void 0 ? void 0 : editing.formatter) !== null && _b !== void 0 ? _b : (_c = options === null || options === void 0 ? void 0 : options.text) === null || _c === void 0 ? void 0 : _c.formatter) !== null && _d !== void 0 ? _d : theme.getEditingFormatter();
|
|
15575
|
+
_this._editingUnformatter = (_e = editing === null || editing === void 0 ? void 0 : editing.unformatter) !== null && _e !== void 0 ? _e : theme.getEditingUnformatter();
|
|
15576
|
+
_this._editingValidator = (_f = editing === null || editing === void 0 ? void 0 : editing.validator) !== null && _f !== void 0 ? _f : theme.getEditingValidator();
|
|
15574
15577
|
return _this;
|
|
15575
15578
|
}
|
|
15576
15579
|
UtilInput.prototype.onEnd = function () {
|
|
@@ -15687,8 +15690,9 @@ var UtilInputInput = /** @class */ (function (_super) {
|
|
|
15687
15690
|
var UtilInputNumber = /** @class */ (function (_super) {
|
|
15688
15691
|
__extends(UtilInputNumber, _super);
|
|
15689
15692
|
function UtilInputNumber(target, operation, theme, options) {
|
|
15693
|
+
var _this = this;
|
|
15690
15694
|
var _a, _b, _c;
|
|
15691
|
-
|
|
15695
|
+
_this = _super.call(this, target, operation, theme, options) || this;
|
|
15692
15696
|
_this._step = (_a = options === null || options === void 0 ? void 0 : options.step) !== null && _a !== void 0 ? _a : theme.getStep();
|
|
15693
15697
|
_this._min = (_b = options === null || options === void 0 ? void 0 : options.min) !== null && _b !== void 0 ? _b : theme.getMin();
|
|
15694
15698
|
_this._max = (_c = options === null || options === void 0 ? void 0 : options.max) !== null && _c !== void 0 ? _c : theme.getMax();
|
|
@@ -15781,7 +15785,7 @@ var UtilInputNumber = /** @class */ (function (_super) {
|
|
|
15781
15785
|
UtilInputNumber.prototype.updateStep = function (input) {
|
|
15782
15786
|
var step = this.step;
|
|
15783
15787
|
if (step != null) {
|
|
15784
|
-
input.step = ""
|
|
15788
|
+
input.step = "".concat(step);
|
|
15785
15789
|
}
|
|
15786
15790
|
else {
|
|
15787
15791
|
input.step = "any";
|
|
@@ -15790,7 +15794,7 @@ var UtilInputNumber = /** @class */ (function (_super) {
|
|
|
15790
15794
|
UtilInputNumber.prototype.updateMin = function (input) {
|
|
15791
15795
|
var min = this.min;
|
|
15792
15796
|
if (min != null) {
|
|
15793
|
-
input.min = ""
|
|
15797
|
+
input.min = "".concat(min);
|
|
15794
15798
|
}
|
|
15795
15799
|
else {
|
|
15796
15800
|
input.removeAttribute("min");
|
|
@@ -15799,7 +15803,7 @@ var UtilInputNumber = /** @class */ (function (_super) {
|
|
|
15799
15803
|
UtilInputNumber.prototype.updateMax = function (input) {
|
|
15800
15804
|
var max = this.max;
|
|
15801
15805
|
if (max != null) {
|
|
15802
|
-
input.max = ""
|
|
15806
|
+
input.max = "".concat(max);
|
|
15803
15807
|
}
|
|
15804
15808
|
else {
|
|
15805
15809
|
input.removeAttribute("max");
|
|
@@ -16119,7 +16123,7 @@ var EShapeActionValueMisc = /** @class */ (function (_super) {
|
|
|
16119
16123
|
var conditionId = manager.addResource(this.condition);
|
|
16120
16124
|
var targetId = manager.addResource(this.target);
|
|
16121
16125
|
var valueId = manager.addResource(this.value);
|
|
16122
|
-
return manager.addResource("["
|
|
16126
|
+
return manager.addResource("[".concat(this.type, ",").concat(conditionId, ",").concat(this.subtype, ",").concat(targetId, ",").concat(this.onInputAction, ",").concat(valueId, "]"));
|
|
16123
16127
|
};
|
|
16124
16128
|
EShapeActionValueMisc.deserialize = function (serialized, manager) {
|
|
16125
16129
|
var resources = manager.resources;
|
|
@@ -16240,7 +16244,7 @@ var EShapeActionValueMiscGesture = /** @class */ (function (_super) {
|
|
|
16240
16244
|
};
|
|
16241
16245
|
EShapeActionValueMiscGesture.prototype.serialize = function (manager) {
|
|
16242
16246
|
var conditionId = manager.addResource(this.condition);
|
|
16243
|
-
return manager.addResource("["
|
|
16247
|
+
return manager.addResource("[".concat(this.type, ",").concat(conditionId, ",").concat(this.subtype, ",").concat(this.gestureType, ",").concat(this.scaleMin, ",").concat(this.scaleMax, "]"));
|
|
16244
16248
|
};
|
|
16245
16249
|
EShapeActionValueMiscGesture.deserialize = function (serialized, manager) {
|
|
16246
16250
|
var condition = EShapeActionValues.toResource(1, serialized, manager.resources);
|
|
@@ -16667,7 +16671,7 @@ var DynamicSDFFontGenerator = /** @class */ (function () {
|
|
|
16667
16671
|
gl.compileShader(shader);
|
|
16668
16672
|
if (!gl.getShaderParameter(shader, gl.COMPILE_STATUS)) {
|
|
16669
16673
|
console &&
|
|
16670
|
-
console.error("Failed to compile the shader: "
|
|
16674
|
+
console.error("Failed to compile the shader: ".concat(gl.getShaderInfoLog(shader)));
|
|
16671
16675
|
return null;
|
|
16672
16676
|
}
|
|
16673
16677
|
}
|
|
@@ -16687,7 +16691,7 @@ var DynamicSDFFontGenerator = /** @class */ (function () {
|
|
|
16687
16691
|
gl.linkProgram(shaderProgram);
|
|
16688
16692
|
if (!gl.getProgramParameter(shaderProgram, gl.LINK_STATUS)) {
|
|
16689
16693
|
console &&
|
|
16690
|
-
console.error("Failed to link the program: "
|
|
16694
|
+
console.error("Failed to link the program: ".concat(gl.getError()));
|
|
16691
16695
|
gl.deleteShader(vertexShader);
|
|
16692
16696
|
gl.deleteShader(fragmentShader);
|
|
16693
16697
|
return null;
|
|
@@ -16891,7 +16895,7 @@ var DynamicSDFFontGenerator = /** @class */ (function () {
|
|
|
16891
16895
|
*/
|
|
16892
16896
|
var DynamicSDFFontAtlas = /** @class */ (function () {
|
|
16893
16897
|
function DynamicSDFFontAtlas(fontFamily) {
|
|
16894
|
-
this._id = "font-atlas:"
|
|
16898
|
+
this._id = "font-atlas:".concat(fontFamily);
|
|
16895
16899
|
this._generator = DynamicSDFFontGenerator.getInstance().init();
|
|
16896
16900
|
this._canvas = document.createElement("canvas");
|
|
16897
16901
|
this._font = {
|
|
@@ -18201,7 +18205,7 @@ var EShapeActionValueMiscLayerGesture = /** @class */ (function (_super) {
|
|
|
18201
18205
|
};
|
|
18202
18206
|
EShapeActionValueMiscLayerGesture.prototype.serialize = function (manager) {
|
|
18203
18207
|
var conditionId = manager.addResource(this.condition);
|
|
18204
|
-
return manager.addResource("["
|
|
18208
|
+
return manager.addResource("[".concat(this.type, ",").concat(conditionId, ",").concat(this.subtype, ",").concat(this.gestureType, ",").concat(this.scaleMin, ",").concat(this.scaleMax, "]"));
|
|
18205
18209
|
};
|
|
18206
18210
|
EShapeActionValueMiscLayerGesture.deserialize = function (serialized, manager) {
|
|
18207
18211
|
var condition = EShapeActionValues.toResource(1, serialized, manager.resources);
|
|
@@ -18290,7 +18294,7 @@ var EShapeActionValueMiscLayerShowHide = /** @class */ (function (_super) {
|
|
|
18290
18294
|
var conditionId = manager.addResource(this.condition);
|
|
18291
18295
|
var layersId = this.serializeLayers(manager);
|
|
18292
18296
|
var bringToFrontId = this.bringToFront ? 1 : 0;
|
|
18293
|
-
return manager.addResource("["
|
|
18297
|
+
return manager.addResource("[".concat(this.type, ",").concat(conditionId, ",").concat(this.subtype, ",").concat(layersId, ",").concat(bringToFrontId, "]"));
|
|
18294
18298
|
};
|
|
18295
18299
|
EShapeActionValueMiscLayerShowHide.prototype.serializeLayers = function (manager) {
|
|
18296
18300
|
var layers = this.layers;
|
|
@@ -19908,7 +19912,7 @@ var DDynamicTextStyle = /** @class */ (function () {
|
|
|
19908
19912
|
}
|
|
19909
19913
|
};
|
|
19910
19914
|
DDynamicTextStyle.prototype.newFontId = function () {
|
|
19911
|
-
return this._fontStyle
|
|
19915
|
+
return "".concat(this._fontStyle, " ").concat(this._fontVariant, " ").concat(this._fontWeight, " ").concat(this._fontSize, "px ").concat(this._fontFamily);
|
|
19912
19916
|
};
|
|
19913
19917
|
Object.defineProperty(DDynamicTextStyle.prototype, "clipping", {
|
|
19914
19918
|
get: function () {
|
|
@@ -20761,8 +20765,9 @@ var DButtonPrimary = /** @class */ (function (_super) {
|
|
|
20761
20765
|
var DAnimationFadeIn = /** @class */ (function (_super) {
|
|
20762
20766
|
__extends(DAnimationFadeIn, _super);
|
|
20763
20767
|
function DAnimationFadeIn(options) {
|
|
20768
|
+
var _this = this;
|
|
20764
20769
|
var _a, _b;
|
|
20765
|
-
|
|
20770
|
+
_this = _super.call(this, options) || this;
|
|
20766
20771
|
_this._storedX = 0;
|
|
20767
20772
|
_this._storedY = 0;
|
|
20768
20773
|
_this._storedAlpha = 0;
|
|
@@ -24927,7 +24932,7 @@ var EShapeActionValueOpen = /** @class */ (function (_super) {
|
|
|
24927
24932
|
var conditionId = manager.addResource(this.condition);
|
|
24928
24933
|
var targetId = manager.addResource(this.target);
|
|
24929
24934
|
var initialId = manager.addResource(this.initial);
|
|
24930
|
-
return manager.addResource("["
|
|
24935
|
+
return manager.addResource("[".concat(this.type, ",").concat(conditionId, ",").concat(this.subtype, ",").concat(targetId, ",").concat(this.onInputAction, ",").concat(initialId, "]"));
|
|
24931
24936
|
};
|
|
24932
24937
|
EShapeActionValueOpen.deserialize = function (serialized, manager) {
|
|
24933
24938
|
var condition = EShapeActionValues.toResource(1, serialized, manager.resources);
|
|
@@ -24981,7 +24986,7 @@ var EShapeActionValueShowHide = /** @class */ (function (_super) {
|
|
|
24981
24986
|
};
|
|
24982
24987
|
EShapeActionValueShowHide.prototype.serialize = function (manager) {
|
|
24983
24988
|
var conditionId = manager.addResource(this.condition);
|
|
24984
|
-
return manager.addResource("["
|
|
24989
|
+
return manager.addResource("[".concat(this.type, ",").concat(conditionId, ",").concat(this.subtype, "]"));
|
|
24985
24990
|
};
|
|
24986
24991
|
EShapeActionValueShowHide.deserialize = function (serialized, manager) {
|
|
24987
24992
|
var condition = EShapeActionValues.toResource(1, serialized, manager.resources);
|
|
@@ -25217,7 +25222,7 @@ var EShapeActionValueTransformMove = /** @class */ (function (_super) {
|
|
|
25217
25222
|
EShapeActionValueTransformMove.prototype.serialize = function (manager) {
|
|
25218
25223
|
var conditionId = manager.addResource(this.condition);
|
|
25219
25224
|
var amountId = manager.addResource(this.amount);
|
|
25220
|
-
return manager.addResource("["
|
|
25225
|
+
return manager.addResource("[".concat(this.type, ",").concat(conditionId, ",").concat(this.subtype, ",").concat(this.opetype, ",").concat(amountId, "]"));
|
|
25221
25226
|
};
|
|
25222
25227
|
EShapeActionValueTransformMove.deserialize = function (serialized, manager) {
|
|
25223
25228
|
var condition = EShapeActionValues.toResource(1, serialized, manager.resources);
|
|
@@ -25502,7 +25507,7 @@ var EShapeActionValueTransformResize = /** @class */ (function (_super) {
|
|
|
25502
25507
|
EShapeActionValueTransformResize.prototype.serialize = function (manager) {
|
|
25503
25508
|
var conditionId = manager.addResource(this.condition);
|
|
25504
25509
|
var amountId = manager.addResource(this.amount);
|
|
25505
|
-
return manager.addResource("["
|
|
25510
|
+
return manager.addResource("[".concat(this.type, ",").concat(conditionId, ",").concat(this.subtype, ",").concat(this.opetype, ",").concat(this.originX, ",").concat(this.originY, ",").concat(amountId, "]"));
|
|
25506
25511
|
};
|
|
25507
25512
|
EShapeActionValueTransformResize.deserialize = function (serialized, manager) {
|
|
25508
25513
|
var condition = EShapeActionValues.toResource(1, serialized, manager.resources);
|
|
@@ -25522,7 +25527,7 @@ var EShapeActionRuntimeTransformRotate = /** @class */ (function (_super) {
|
|
|
25522
25527
|
var _this = _super.call(this, value, reset) || this;
|
|
25523
25528
|
_this.originX = value.originX;
|
|
25524
25529
|
_this.originY = value.originY;
|
|
25525
|
-
_this.amount = EShapeActionExpressions.ofNumber("("
|
|
25530
|
+
_this.amount = EShapeActionExpressions.ofNumber("(".concat(value.amount, ") * (Math.PI / 180)"));
|
|
25526
25531
|
return _this;
|
|
25527
25532
|
}
|
|
25528
25533
|
EShapeActionRuntimeTransformRotate.prototype.adjustPosition = function (shape, runtime, oldRotation, newRotation, originX, originY) {
|
|
@@ -25633,7 +25638,7 @@ var EShapeActionValueTransformRotate = /** @class */ (function (_super) {
|
|
|
25633
25638
|
EShapeActionValueTransformRotate.prototype.serialize = function (manager) {
|
|
25634
25639
|
var conditionId = manager.addResource(this.condition);
|
|
25635
25640
|
var amountId = manager.addResource(this.amount);
|
|
25636
|
-
return manager.addResource("["
|
|
25641
|
+
return manager.addResource("[".concat(this.type, ",").concat(conditionId, ",").concat(this.subtype, ",").concat(this.opetype, ",").concat(this.originX, ",").concat(this.originY, ",").concat(amountId, "]"));
|
|
25637
25642
|
};
|
|
25638
25643
|
EShapeActionValueTransformRotate.deserialize = function (serialized, manager) {
|
|
25639
25644
|
var condition = EShapeActionValues.toResource(1, serialized, manager.resources);
|
|
@@ -27349,7 +27354,7 @@ var EShapeButton = /** @class */ (function (_super) {
|
|
|
27349
27354
|
var result = _super.prototype.serialize.call(this, manager);
|
|
27350
27355
|
var isToggle = this._isToggle ? 1 : 0;
|
|
27351
27356
|
var isGrouped = this._isGrouped ? 2 : 0;
|
|
27352
|
-
result[15] = manager.addResource("["
|
|
27357
|
+
result[15] = manager.addResource("[".concat(isToggle | isGrouped, "]"));
|
|
27353
27358
|
return result;
|
|
27354
27359
|
};
|
|
27355
27360
|
return EShapeButton;
|
|
@@ -29642,7 +29647,7 @@ var EShapePointsMarkerBase = /** @class */ (function () {
|
|
|
29642
29647
|
EShapePointsMarkerBase.prototype.serialize = function (manager) {
|
|
29643
29648
|
var size = this._size;
|
|
29644
29649
|
var fillId = this._fill.serialize(manager);
|
|
29645
|
-
return manager.addResource("["
|
|
29650
|
+
return manager.addResource("[".concat(this._type, ",").concat(size.x, ",").concat(size.y, ",").concat(fillId, "]"));
|
|
29646
29651
|
};
|
|
29647
29652
|
EShapePointsMarkerBase.prototype.deserialize = function (resourceId, manager) {
|
|
29648
29653
|
var resources = manager.resources;
|
|
@@ -29791,7 +29796,7 @@ var EShapePointsMarkerContainerImpl = /** @class */ (function () {
|
|
|
29791
29796
|
EShapePointsMarkerContainerImpl.prototype.serialize = function (manager) {
|
|
29792
29797
|
var headId = this._head.serialize(manager);
|
|
29793
29798
|
var tailId = this._tail.serialize(manager);
|
|
29794
|
-
return manager.addResource("["
|
|
29799
|
+
return manager.addResource("[".concat(headId, ",").concat(tailId, "]"));
|
|
29795
29800
|
};
|
|
29796
29801
|
EShapePointsMarkerContainerImpl.prototype.deserialize = function (resourceId, manager) {
|
|
29797
29802
|
var resources = manager.resources;
|
|
@@ -30253,7 +30258,7 @@ var EShapeLinePoints = /** @class */ (function () {
|
|
|
30253
30258
|
if (marker) {
|
|
30254
30259
|
markerId = marker.serialize(manager);
|
|
30255
30260
|
}
|
|
30256
|
-
return manager.addResource("["
|
|
30261
|
+
return manager.addResource("[".concat(values, ",").concat(segments, ",").concat(style, ",").concat(markerId, "]"));
|
|
30257
30262
|
};
|
|
30258
30263
|
EShapeLinePoints.prototype.deserialize = function (resourceId, manager) {
|
|
30259
30264
|
var resources = manager.resources;
|
|
@@ -31260,7 +31265,7 @@ var EShapeConnectorEdgeImpl = /** @class */ (function () {
|
|
|
31260
31265
|
var edge = acceptor.edge;
|
|
31261
31266
|
var edgeId = edge != null ? manager.addResource(edge) : -1;
|
|
31262
31267
|
var local = this._local;
|
|
31263
|
-
return manager.addResource("["
|
|
31268
|
+
return manager.addResource("[".concat(shapeUuid, ",").concat(edgeId, ",").concat(local.x, ",").concat(local.y, ",").concat(this._margin, "]"));
|
|
31264
31269
|
};
|
|
31265
31270
|
EShapeConnectorEdgeImpl.prototype.deserialize = function (resourceId, mapping, manager) {
|
|
31266
31271
|
var resources = manager.resources;
|
|
@@ -31430,7 +31435,7 @@ var EShapeConnectorEdgeContainerImpl = /** @class */ (function () {
|
|
|
31430
31435
|
EShapeConnectorEdgeContainerImpl.prototype.serialize = function (manager) {
|
|
31431
31436
|
var tailId = this._tail.serialize(manager);
|
|
31432
31437
|
var headId = this._head.serialize(manager);
|
|
31433
|
-
return manager.addResource("["
|
|
31438
|
+
return manager.addResource("[".concat(tailId, ",").concat(headId, "]"));
|
|
31434
31439
|
};
|
|
31435
31440
|
EShapeConnectorEdgeContainerImpl.prototype.deserialize = function (resourceId, mapping, manager) {
|
|
31436
31441
|
var resources = manager.resources;
|
|
@@ -31763,7 +31768,7 @@ var EShapeConnectorLine = /** @class */ (function (_super) {
|
|
|
31763
31768
|
var edgeId = this._edge.serialize(manager);
|
|
31764
31769
|
var bodyId = this._body.serialize(manager);
|
|
31765
31770
|
var pointsId = this._points.serialize(manager);
|
|
31766
|
-
result[15] = manager.addResource("["
|
|
31771
|
+
result[15] = manager.addResource("[".concat(edgeId, ",").concat(pointsId, ",").concat(bodyId, "]"));
|
|
31767
31772
|
return result;
|
|
31768
31773
|
};
|
|
31769
31774
|
return EShapeConnectorLine;
|
|
@@ -38713,7 +38718,7 @@ var EShapeRectanglePivoted = /** @class */ (function (_super) {
|
|
|
38713
38718
|
* SPDX-License-Identifier: Apache-2.0
|
|
38714
38719
|
*/
|
|
38715
38720
|
var toSvgUrl = function (svg) {
|
|
38716
|
-
return "data:image/svg+xml;base64,"
|
|
38721
|
+
return "data:image/svg+xml;base64,".concat(btoa(svg));
|
|
38717
38722
|
};
|
|
38718
38723
|
|
|
38719
38724
|
/*
|
|
@@ -38729,7 +38734,7 @@ var toGradientImageUrl = function (gradient) {
|
|
|
38729
38734
|
var color = UtilRgb.toCode(point.color);
|
|
38730
38735
|
var alpha = point.alpha;
|
|
38731
38736
|
var offset = point.position * 100;
|
|
38732
|
-
stops += "<stop offset=\""
|
|
38737
|
+
stops += "<stop offset=\"".concat(offset, "%\" stop-color=\"#").concat(color, "\" stop-opacity=\"").concat(alpha, "\" />");
|
|
38733
38738
|
}
|
|
38734
38739
|
var radian = (direction * Math.PI) / 180;
|
|
38735
38740
|
var dx = 0.5 * Math.cos(radian);
|
|
@@ -38738,7 +38743,7 @@ var toGradientImageUrl = function (gradient) {
|
|
|
38738
38743
|
/* eslint-disable prettier/prettier */
|
|
38739
38744
|
"<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"32\" height=\"32\" viewBox=\"0 0 32 32\">" +
|
|
38740
38745
|
"<defs>" +
|
|
38741
|
-
|
|
38746
|
+
"<linearGradient id=\"o2glkm3aeu2oio\" x1=\"".concat(0.5 - dx, "\" x2=\"").concat(0.5 + dx, "\" y1=\"").concat(0.5 - dy, "\" y2=\"").concat(0.5 + dy, "\">") +
|
|
38742
38747
|
stops +
|
|
38743
38748
|
"</linearGradient>" +
|
|
38744
38749
|
"</defs>" +
|
|
@@ -38905,8 +38910,9 @@ var DImage = /** @class */ (function (_super) {
|
|
|
38905
38910
|
var DMenuItemBase = /** @class */ (function (_super) {
|
|
38906
38911
|
__extends(DMenuItemBase, _super);
|
|
38907
38912
|
function DMenuItemBase(options) {
|
|
38913
|
+
var _this = this;
|
|
38908
38914
|
var _a;
|
|
38909
|
-
|
|
38915
|
+
_this = _super.call(this, options) || this;
|
|
38910
38916
|
_this._value = (_a = options === null || options === void 0 ? void 0 : options.value) !== null && _a !== void 0 ? _a : null;
|
|
38911
38917
|
return _this;
|
|
38912
38918
|
}
|
|
@@ -39186,7 +39192,7 @@ var DMenus = /** @class */ (function () {
|
|
|
39186
39192
|
parent.addChild(created);
|
|
39187
39193
|
}
|
|
39188
39194
|
else {
|
|
39189
|
-
throw new Error("No matching menu item creator found: "
|
|
39195
|
+
throw new Error("No matching menu item creator found: ".concat(JSON.stringify(item)));
|
|
39190
39196
|
}
|
|
39191
39197
|
}
|
|
39192
39198
|
}
|
|
@@ -41847,7 +41853,7 @@ var UtilSvgAtlasBuilder = /** @class */ (function () {
|
|
|
41847
41853
|
frames[name] = new pixi_js.Rectangle(x, y, width, height);
|
|
41848
41854
|
// Svg
|
|
41849
41855
|
var ratio = this._ratio;
|
|
41850
|
-
this._svg += "<g transform=\"translate("
|
|
41856
|
+
this._svg += "<g transform=\"translate(".concat(x * ratio, ",").concat(y * ratio, ")\">").concat(path, "</g>");
|
|
41851
41857
|
return true;
|
|
41852
41858
|
}
|
|
41853
41859
|
return false;
|
|
@@ -41872,11 +41878,11 @@ var UtilSvgAtlasBuilder = /** @class */ (function () {
|
|
|
41872
41878
|
var realWidth = width * resolution;
|
|
41873
41879
|
var realHeight = height * resolution;
|
|
41874
41880
|
var ratio = this._ratio;
|
|
41875
|
-
var attrWidth = "width=\""
|
|
41876
|
-
var attrHeight = "height=\""
|
|
41877
|
-
var attrViewBox = "viewBox=\"0 0 "
|
|
41881
|
+
var attrWidth = "width=\"".concat(realWidth, "\"");
|
|
41882
|
+
var attrHeight = "height=\"".concat(realHeight, "\"");
|
|
41883
|
+
var attrViewBox = "viewBox=\"0 0 ".concat(width * ratio, " ").concat(height * ratio, "\"");
|
|
41878
41884
|
var attrXmlns = "xmlns=\"http://www.w3.org/2000/svg\"";
|
|
41879
|
-
var url = toSvgUrl("<svg "
|
|
41885
|
+
var url = toSvgUrl("<svg ".concat(attrWidth, " ").concat(attrHeight, " ").concat(attrViewBox, " ").concat(attrXmlns, ">").concat(this._svg, "</svg>"));
|
|
41880
41886
|
var scaleMode = (_c = options === null || options === void 0 ? void 0 : options.scaling) !== null && _c !== void 0 ? _c : pixi_js.SCALE_MODES.NEAREST;
|
|
41881
41887
|
var baseTexture = pixi_js.BaseTexture.from(url, {
|
|
41882
41888
|
resolution: resolution,
|
|
@@ -41919,7 +41925,7 @@ var DThemeWhite = /** @class */ (function () {
|
|
|
41919
41925
|
return instance;
|
|
41920
41926
|
}
|
|
41921
41927
|
else {
|
|
41922
|
-
throw new Error("No theme for the type '"
|
|
41928
|
+
throw new Error("No theme for the type '".concat(type, "'"));
|
|
41923
41929
|
}
|
|
41924
41930
|
}
|
|
41925
41931
|
};
|
|
@@ -42047,12 +42053,12 @@ var newShadow$1 = function (id, radius, opacity) {
|
|
|
42047
42053
|
/* eslint-disable prettier/prettier */
|
|
42048
42054
|
DThemeWhiteAtlas.add(id, d, d, "<g>" +
|
|
42049
42055
|
"<defs>" +
|
|
42050
|
-
|
|
42051
|
-
|
|
42056
|
+
"<radialGradient id=\"".concat(id, "_filter\">") +
|
|
42057
|
+
"<stop offset=\"0%\" stop-color=\"black\" stop-opacity=\"".concat(opacity, "\" />") +
|
|
42052
42058
|
"<stop offset=\"100%\" stop-color=\"black\" stop-opacity=\"0\" />" +
|
|
42053
42059
|
"</radialGradient>" +
|
|
42054
42060
|
"</defs>" +
|
|
42055
|
-
|
|
42061
|
+
"<rect x=\"0\" y=\"0\" width=\"".concat(d, "\" height=\"").concat(d, "\" fill=\"url(#").concat(id, "_filter)\"/>") +
|
|
42056
42062
|
"</g>");
|
|
42057
42063
|
/* eslint-enable prettier/prettier */
|
|
42058
42064
|
};
|
|
@@ -42664,7 +42670,7 @@ DThemeWhiteAtlas.add("button_color_sample", 21, 21, "<g transform=\"scale(0.875,
|
|
|
42664
42670
|
"</g>");
|
|
42665
42671
|
/* eslint-enable prettier/prettier */
|
|
42666
42672
|
var formatter$l = function (colorAndAlpha) {
|
|
42667
|
-
return "#"
|
|
42673
|
+
return "#".concat(UtilRgb.toCode(colorAndAlpha.color), " A").concat(colorAndAlpha.alpha.toFixed(2));
|
|
42668
42674
|
};
|
|
42669
42675
|
var DThemeWhiteButtonColor = /** @class */ (function (_super) {
|
|
42670
42676
|
__extends(DThemeWhiteButtonColor, _super);
|
|
@@ -42820,7 +42826,7 @@ var makeCheckerboard$1 = function (width, height) {
|
|
|
42820
42826
|
for (var ih = 0; ih < height; ++ih) {
|
|
42821
42827
|
for (var iw = 0; iw < width; ++iw) {
|
|
42822
42828
|
var color = (iw + ih) % 2 === 0 ? LIGHT : DARK;
|
|
42823
|
-
result += "<rect x=\""
|
|
42829
|
+
result += "<rect x=\"".concat(9 * iw, "\" y=\"").concat(9 * ih, "\" width=\"9\" height=\"9\" fill=\"").concat(color, "\" />");
|
|
42824
42830
|
}
|
|
42825
42831
|
}
|
|
42826
42832
|
result += "</g>";
|
|
@@ -43557,7 +43563,7 @@ var DPickerDates = /** @class */ (function () {
|
|
|
43557
43563
|
var y = toPadded(String(date.getFullYear()), 4, "0");
|
|
43558
43564
|
var M = toPadded(String(date.getMonth() + 1), 2, "0");
|
|
43559
43565
|
var S = toPadded(String(date.getDate()), 2, "0");
|
|
43560
|
-
return y
|
|
43566
|
+
return "".concat(y, "/").concat(M, "/").concat(S);
|
|
43561
43567
|
};
|
|
43562
43568
|
return DPickerDates;
|
|
43563
43569
|
}());
|
|
@@ -43688,7 +43694,7 @@ var MONTH_LABELS$1 = [
|
|
|
43688
43694
|
];
|
|
43689
43695
|
var DAY_LABELS$1 = ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"];
|
|
43690
43696
|
var defaultLabelFormatter$1 = function (date) {
|
|
43691
|
-
return MONTH_LABELS$1[date.getMonth()]
|
|
43697
|
+
return "".concat(MONTH_LABELS$1[date.getMonth()], " ").concat(date.getFullYear());
|
|
43692
43698
|
};
|
|
43693
43699
|
var defaultDateDecorator$1 = function () {
|
|
43694
43700
|
/* DO NOTHING*/
|
|
@@ -44043,10 +44049,10 @@ var DPickerDatetimes = /** @class */ (function () {
|
|
|
44043
44049
|
DPickerDatetimes.format = function (date, mask) {
|
|
44044
44050
|
var hms = DPickerTimes.format(date, mask);
|
|
44045
44051
|
if (0 < hms.length) {
|
|
44046
|
-
return DPickerDates.format(date)
|
|
44052
|
+
return "".concat(DPickerDates.format(date), " ").concat(hms);
|
|
44047
44053
|
}
|
|
44048
44054
|
else {
|
|
44049
|
-
return ""
|
|
44055
|
+
return "".concat(DPickerDates.format(date));
|
|
44050
44056
|
}
|
|
44051
44057
|
};
|
|
44052
44058
|
DPickerDatetimes.toMask = function (options) {
|
|
@@ -45724,20 +45730,20 @@ var EThemeWhiteShapeActionValue = /** @class */ (function () {
|
|
|
45724
45730
|
return this.toTypedLabel(type, value);
|
|
45725
45731
|
};
|
|
45726
45732
|
EThemeWhiteShapeActionValue.prototype.toTypedLabel = function (type, value) {
|
|
45727
|
-
return this.toTypeLabel(type)
|
|
45733
|
+
return "".concat(this.toTypeLabel(type), ": ").concat(this.toConditionLabel(value.condition));
|
|
45728
45734
|
};
|
|
45729
45735
|
EThemeWhiteShapeActionValue.prototype.toSubtypedLabel = function (type, subtype, value) {
|
|
45730
45736
|
var typeLabel = this.toTypeLabel(type);
|
|
45731
45737
|
switch (type) {
|
|
45732
45738
|
case EShapeActionValueType.SHOW_HIDE:
|
|
45733
|
-
return ""
|
|
45739
|
+
return "".concat(this.toShowHideTypeLabel(subtype));
|
|
45734
45740
|
case EShapeActionValueType.BLINK:
|
|
45735
|
-
return typeLabel
|
|
45741
|
+
return "".concat(typeLabel, ": ").concat(this.toBlinkTypeLabel(subtype));
|
|
45736
45742
|
case EShapeActionValueType.CHANGE_COLOR:
|
|
45737
45743
|
case EShapeActionValueType.CHANGE_COLOR_LEGACY:
|
|
45738
|
-
return typeLabel
|
|
45744
|
+
return "".concat(typeLabel, ": ").concat(this.toChangeColorTypeLabel(subtype));
|
|
45739
45745
|
case EShapeActionValueType.MISC:
|
|
45740
|
-
return typeLabel
|
|
45746
|
+
return "".concat(typeLabel, ": ").concat(this.toMiscTypeLabel(subtype));
|
|
45741
45747
|
}
|
|
45742
45748
|
return null;
|
|
45743
45749
|
};
|
|
@@ -45747,11 +45753,11 @@ var EThemeWhiteShapeActionValue = /** @class */ (function () {
|
|
|
45747
45753
|
var subtypeLabel = this.toTransformTypeLabel(subtype);
|
|
45748
45754
|
switch (subtype) {
|
|
45749
45755
|
case EShapeActionValueTransformType.ROTATE:
|
|
45750
|
-
return subtypeLabel
|
|
45756
|
+
return "".concat(subtypeLabel, ": ").concat(this.toTransformRotateTypeLabel(opetype));
|
|
45751
45757
|
case EShapeActionValueTransformType.MOVE:
|
|
45752
|
-
return subtypeLabel
|
|
45758
|
+
return "".concat(subtypeLabel, ": ").concat(this.toTransformMoveTypeLabel(opetype));
|
|
45753
45759
|
case EShapeActionValueTransformType.RESIZE:
|
|
45754
|
-
return subtypeLabel
|
|
45760
|
+
return "".concat(subtypeLabel, ": ").concat(this.toTransformResizeTypeLabel(opetype));
|
|
45755
45761
|
}
|
|
45756
45762
|
}
|
|
45757
45763
|
return null;
|
|
@@ -46602,11 +46608,11 @@ var DThemeWhiteHtmlElement = /** @class */ (function (_super) {
|
|
|
46602
46608
|
DThemeWhiteHtmlElement.prototype.getElementStylePadding = function (state, padding) {
|
|
46603
46609
|
if (padding) {
|
|
46604
46610
|
if ("getLeft" in padding) {
|
|
46605
|
-
return ("padding: "
|
|
46606
|
-
(padding.getBottom()
|
|
46611
|
+
return ("padding: ".concat(padding.getTop(), "px ").concat(padding.getRight(), "px ") +
|
|
46612
|
+
"".concat(padding.getBottom(), "px ").concat(padding.getLeft(), "px;"));
|
|
46607
46613
|
}
|
|
46608
46614
|
else {
|
|
46609
|
-
return "padding: "
|
|
46615
|
+
return "padding: ".concat(padding.vertical, "px ").concat(padding.horizontal, "px;");
|
|
46610
46616
|
}
|
|
46611
46617
|
}
|
|
46612
46618
|
return "padding: 0px;";
|
|
@@ -46619,21 +46625,21 @@ var DThemeWhiteHtmlElement = /** @class */ (function (_super) {
|
|
|
46619
46625
|
if (clipperRect) {
|
|
46620
46626
|
var left = elementRect.x - clipperRect.x;
|
|
46621
46627
|
var top_1 = elementRect.y - clipperRect.y;
|
|
46622
|
-
return "left:"
|
|
46628
|
+
return "left:".concat(left, "px; top:").concat(top_1, "px;");
|
|
46623
46629
|
}
|
|
46624
|
-
return "left:"
|
|
46630
|
+
return "left:".concat(elementRect.x, "px; top: ").concat(elementRect.y, "px;");
|
|
46625
46631
|
}
|
|
46626
46632
|
return "left: 0px; top: 0px;";
|
|
46627
46633
|
};
|
|
46628
46634
|
DThemeWhiteHtmlElement.prototype.getElementStylePositionSize = function (rect) {
|
|
46629
46635
|
if (rect) {
|
|
46630
|
-
return "width: "
|
|
46636
|
+
return "width: ".concat(rect.width, "px; height: ").concat(rect.height, "px;");
|
|
46631
46637
|
}
|
|
46632
46638
|
return "width: 0px; height: 0px;";
|
|
46633
46639
|
};
|
|
46634
46640
|
DThemeWhiteHtmlElement.prototype.getElementStylePositionTransform = function (matrix) {
|
|
46635
46641
|
if (matrix) {
|
|
46636
|
-
return "transform: matrix("
|
|
46642
|
+
return "transform: matrix(".concat(matrix.a, ",").concat(matrix.b, ",").concat(matrix.c, ",").concat(matrix.d, ",").concat(matrix.tx, ",").concat(matrix.ty, ");");
|
|
46637
46643
|
}
|
|
46638
46644
|
return "";
|
|
46639
46645
|
};
|
|
@@ -46644,10 +46650,10 @@ var DThemeWhiteHtmlElement = /** @class */ (function (_super) {
|
|
|
46644
46650
|
this.getElementStylePositionTransform(elementMatrix));
|
|
46645
46651
|
};
|
|
46646
46652
|
DThemeWhiteHtmlElement.prototype.getElementStyleText = function (state) {
|
|
46647
|
-
return ("font-family: "
|
|
46648
|
-
|
|
46649
|
-
|
|
46650
|
-
|
|
46653
|
+
return ("font-family: ".concat(this.getFontFamilly(), ";") +
|
|
46654
|
+
"font-size: ".concat(this.getFontSize(), "px;") +
|
|
46655
|
+
"color: #".concat(this.getColor(state).toString(16), ";") +
|
|
46656
|
+
"line-height: ".concat(this.getLineHeight(), "px;") +
|
|
46651
46657
|
"-moz-tab-size: 4; -o-tab-size: 4; tab-size: 4;");
|
|
46652
46658
|
};
|
|
46653
46659
|
DThemeWhiteHtmlElement.prototype.getElementStyleMargin = function (state) {
|
|
@@ -46671,14 +46677,14 @@ var DThemeWhiteHtmlElement = /** @class */ (function (_super) {
|
|
|
46671
46677
|
};
|
|
46672
46678
|
DThemeWhiteHtmlElement.prototype.getClipperStylePositionPosition = function (rect) {
|
|
46673
46679
|
if (rect) {
|
|
46674
|
-
return "left: "
|
|
46680
|
+
return "left: ".concat(rect.x, "px; top: ").concat(rect.y, "px;");
|
|
46675
46681
|
}
|
|
46676
46682
|
return "left: 0px; top: 0px;";
|
|
46677
46683
|
};
|
|
46678
46684
|
DThemeWhiteHtmlElement.prototype.getClipperStylePositionSize = function (rect) {
|
|
46679
46685
|
if (rect) {
|
|
46680
|
-
return ("width: "
|
|
46681
|
-
|
|
46686
|
+
return ("width: ".concat(rect.width, "px; height: ").concat(rect.height, "px;") +
|
|
46687
|
+
"line-height: ".concat(rect.height, "px;"));
|
|
46682
46688
|
}
|
|
46683
46689
|
return "width: 0px; height: 0px;";
|
|
46684
46690
|
};
|
|
@@ -46918,7 +46924,7 @@ var DThemeWhiteInput = /** @class */ (function (_super) {
|
|
|
46918
46924
|
* SPDX-License-Identifier: Apache-2.0
|
|
46919
46925
|
*/
|
|
46920
46926
|
var CREATOR_CLASSNAME$3 = "d-theme-white-input-input";
|
|
46921
|
-
var CREATOR_CLASSNAME_ELEMENT$3 = CREATOR_CLASSNAME$3
|
|
46927
|
+
var CREATOR_CLASSNAME_ELEMENT$3 = "".concat(CREATOR_CLASSNAME$3, "-element");
|
|
46922
46928
|
var elementCreator$3 = function (container) {
|
|
46923
46929
|
var found = container.getElementsByClassName(CREATOR_CLASSNAME_ELEMENT$3);
|
|
46924
46930
|
if (0 < found.length) {
|
|
@@ -46940,15 +46946,15 @@ var divCreator$4 = function (container, classname) {
|
|
|
46940
46946
|
container.appendChild(result);
|
|
46941
46947
|
return result;
|
|
46942
46948
|
};
|
|
46943
|
-
var CREATOR_CLASSNAME_CLIPPER$3 = CREATOR_CLASSNAME$3
|
|
46949
|
+
var CREATOR_CLASSNAME_CLIPPER$3 = "".concat(CREATOR_CLASSNAME$3, "-clipper");
|
|
46944
46950
|
var clipperCreator$3 = function (container) {
|
|
46945
46951
|
return divCreator$4(container, CREATOR_CLASSNAME_CLIPPER$3);
|
|
46946
46952
|
};
|
|
46947
|
-
var CREATOR_CLASSNAME_BEFORE$3 = CREATOR_CLASSNAME$3
|
|
46953
|
+
var CREATOR_CLASSNAME_BEFORE$3 = "".concat(CREATOR_CLASSNAME$3, "-before");
|
|
46948
46954
|
var beforeCreator$3 = function (container) {
|
|
46949
46955
|
return divCreator$4(container, CREATOR_CLASSNAME_BEFORE$3);
|
|
46950
46956
|
};
|
|
46951
|
-
var CREATOR_CLASSNAME_AFTER$3 = CREATOR_CLASSNAME$3
|
|
46957
|
+
var CREATOR_CLASSNAME_AFTER$3 = "".concat(CREATOR_CLASSNAME$3, "-after");
|
|
46952
46958
|
var afterCreator$3 = function (container) {
|
|
46953
46959
|
return divCreator$4(container, CREATOR_CLASSNAME_AFTER$3);
|
|
46954
46960
|
};
|
|
@@ -47160,7 +47166,7 @@ var loadThemeWhiteInputText = function () {
|
|
|
47160
47166
|
* SPDX-License-Identifier: Apache-2.0
|
|
47161
47167
|
*/
|
|
47162
47168
|
var CREATOR_CLASSNAME$2 = "d-theme-white-input-text-area";
|
|
47163
|
-
var CREATOR_CLASSNAME_ELEMENT$2 = CREATOR_CLASSNAME$2
|
|
47169
|
+
var CREATOR_CLASSNAME_ELEMENT$2 = "".concat(CREATOR_CLASSNAME$2, "-element");
|
|
47164
47170
|
var elementCreator$2 = function (container) {
|
|
47165
47171
|
var found = container.getElementsByClassName(CREATOR_CLASSNAME_ELEMENT$2);
|
|
47166
47172
|
if (0 < found.length) {
|
|
@@ -47182,15 +47188,15 @@ var divCreator$3 = function (container, classname) {
|
|
|
47182
47188
|
container.appendChild(result);
|
|
47183
47189
|
return result;
|
|
47184
47190
|
};
|
|
47185
|
-
var CREATOR_CLASSNAME_CLIPPER$2 = CREATOR_CLASSNAME$2
|
|
47191
|
+
var CREATOR_CLASSNAME_CLIPPER$2 = "".concat(CREATOR_CLASSNAME$2, "-clipper");
|
|
47186
47192
|
var clipperCreator$2 = function (container) {
|
|
47187
47193
|
return divCreator$3(container, CREATOR_CLASSNAME_CLIPPER$2);
|
|
47188
47194
|
};
|
|
47189
|
-
var CREATOR_CLASSNAME_BEFORE$2 = CREATOR_CLASSNAME$2
|
|
47195
|
+
var CREATOR_CLASSNAME_BEFORE$2 = "".concat(CREATOR_CLASSNAME$2, "-before");
|
|
47190
47196
|
var beforeCreator$2 = function (container) {
|
|
47191
47197
|
return divCreator$3(container, CREATOR_CLASSNAME_BEFORE$2);
|
|
47192
47198
|
};
|
|
47193
|
-
var CREATOR_CLASSNAME_AFTER$2 = CREATOR_CLASSNAME$2
|
|
47199
|
+
var CREATOR_CLASSNAME_AFTER$2 = "".concat(CREATOR_CLASSNAME$2, "-after");
|
|
47194
47200
|
var afterCreator$2 = function (container) {
|
|
47195
47201
|
return divCreator$3(container, CREATOR_CLASSNAME_AFTER$2);
|
|
47196
47202
|
};
|
|
@@ -50999,7 +51005,7 @@ var DThemeDark = /** @class */ (function () {
|
|
|
50999
51005
|
return instance;
|
|
51000
51006
|
}
|
|
51001
51007
|
else {
|
|
51002
|
-
throw new Error("No theme for the type '"
|
|
51008
|
+
throw new Error("No theme for the type '".concat(type, "'"));
|
|
51003
51009
|
}
|
|
51004
51010
|
}
|
|
51005
51011
|
};
|
|
@@ -51094,12 +51100,12 @@ var newShadow = function (id, radius, opacity) {
|
|
|
51094
51100
|
/* eslint-disable prettier/prettier */
|
|
51095
51101
|
DThemeDarkAtlas.add(id, d, d, "<g>" +
|
|
51096
51102
|
"<defs>" +
|
|
51097
|
-
|
|
51098
|
-
|
|
51103
|
+
"<radialGradient id=\"".concat(id, "_filter\">") +
|
|
51104
|
+
"<stop offset=\"0%\" stop-color=\"black\" stop-opacity=\"".concat(opacity, "\" />") +
|
|
51099
51105
|
"<stop offset=\"100%\" stop-color=\"black\" stop-opacity=\"0\" />" +
|
|
51100
51106
|
"</radialGradient>" +
|
|
51101
51107
|
"</defs>" +
|
|
51102
|
-
|
|
51108
|
+
"<rect x=\"0\" y=\"0\" width=\"".concat(d, "\" height=\"").concat(d, "\" fill=\"url(#").concat(id, "_filter)\"/>") +
|
|
51103
51109
|
"</g>");
|
|
51104
51110
|
/* eslint-enable prettier/prettier */
|
|
51105
51111
|
};
|
|
@@ -51693,7 +51699,7 @@ DThemeDarkAtlas.add("button_color_sample", 21, 21, "<g transform=\"scale(0.875,0
|
|
|
51693
51699
|
"</g>");
|
|
51694
51700
|
/* eslint-enable prettier/prettier */
|
|
51695
51701
|
var formatter$a = function (colorAndAlpha) {
|
|
51696
|
-
return "#"
|
|
51702
|
+
return "#".concat(UtilRgb.toCode(colorAndAlpha.color), " A").concat(colorAndAlpha.alpha.toFixed(2));
|
|
51697
51703
|
};
|
|
51698
51704
|
var DThemeDarkButtonColor = /** @class */ (function (_super) {
|
|
51699
51705
|
__extends(DThemeDarkButtonColor, _super);
|
|
@@ -51849,7 +51855,7 @@ var makeCheckerboard = function (width, height) {
|
|
|
51849
51855
|
for (var ih = 0; ih < height; ++ih) {
|
|
51850
51856
|
for (var iw = 0; iw < width; ++iw) {
|
|
51851
51857
|
var color = (iw + ih) % 2 === 0 ? LIGHT : DARK;
|
|
51852
|
-
result += "<rect x=\""
|
|
51858
|
+
result += "<rect x=\"".concat(9 * iw, "\" y=\"").concat(9 * ih, "\" width=\"9\" height=\"9\" fill=\"").concat(color, "\" />");
|
|
51853
51859
|
}
|
|
51854
51860
|
}
|
|
51855
51861
|
result += "</g>";
|
|
@@ -52374,7 +52380,7 @@ var MONTH_LABELS = [
|
|
|
52374
52380
|
];
|
|
52375
52381
|
var DAY_LABELS = ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"];
|
|
52376
52382
|
var defaultLabelFormatter = function (date) {
|
|
52377
|
-
return MONTH_LABELS[date.getMonth()]
|
|
52383
|
+
return "".concat(MONTH_LABELS[date.getMonth()], " ").concat(date.getFullYear());
|
|
52378
52384
|
};
|
|
52379
52385
|
var defaultDateDecorator = function () {
|
|
52380
52386
|
/* DO NOTHING*/
|
|
@@ -54332,20 +54338,20 @@ var EThemeDarkShapeActionValue = /** @class */ (function () {
|
|
|
54332
54338
|
return this.toTypedLabel(type, value);
|
|
54333
54339
|
};
|
|
54334
54340
|
EThemeDarkShapeActionValue.prototype.toTypedLabel = function (type, value) {
|
|
54335
|
-
return this.toTypeLabel(type)
|
|
54341
|
+
return "".concat(this.toTypeLabel(type), ": ").concat(this.toConditionLabel(value.condition));
|
|
54336
54342
|
};
|
|
54337
54343
|
EThemeDarkShapeActionValue.prototype.toSubtypedLabel = function (type, subtype, value) {
|
|
54338
54344
|
var typeLabel = this.toTypeLabel(type);
|
|
54339
54345
|
switch (type) {
|
|
54340
54346
|
case EShapeActionValueType.SHOW_HIDE:
|
|
54341
|
-
return ""
|
|
54347
|
+
return "".concat(this.toShowHideTypeLabel(subtype));
|
|
54342
54348
|
case EShapeActionValueType.BLINK:
|
|
54343
|
-
return typeLabel
|
|
54349
|
+
return "".concat(typeLabel, ": ").concat(this.toBlinkTypeLabel(subtype));
|
|
54344
54350
|
case EShapeActionValueType.CHANGE_COLOR:
|
|
54345
54351
|
case EShapeActionValueType.CHANGE_COLOR_LEGACY:
|
|
54346
|
-
return typeLabel
|
|
54352
|
+
return "".concat(typeLabel, ": ").concat(this.toChangeColorTypeLabel(subtype));
|
|
54347
54353
|
case EShapeActionValueType.MISC:
|
|
54348
|
-
return typeLabel
|
|
54354
|
+
return "".concat(typeLabel, ": ").concat(this.toMiscTypeLabel(subtype));
|
|
54349
54355
|
}
|
|
54350
54356
|
return null;
|
|
54351
54357
|
};
|
|
@@ -54355,11 +54361,11 @@ var EThemeDarkShapeActionValue = /** @class */ (function () {
|
|
|
54355
54361
|
var subtypeLabel = this.toTransformTypeLabel(subtype);
|
|
54356
54362
|
switch (subtype) {
|
|
54357
54363
|
case EShapeActionValueTransformType.ROTATE:
|
|
54358
|
-
return subtypeLabel
|
|
54364
|
+
return "".concat(subtypeLabel, ": ").concat(this.toTransformRotateTypeLabel(opetype));
|
|
54359
54365
|
case EShapeActionValueTransformType.MOVE:
|
|
54360
|
-
return subtypeLabel
|
|
54366
|
+
return "".concat(subtypeLabel, ": ").concat(this.toTransformMoveTypeLabel(opetype));
|
|
54361
54367
|
case EShapeActionValueTransformType.RESIZE:
|
|
54362
|
-
return subtypeLabel
|
|
54368
|
+
return "".concat(subtypeLabel, ": ").concat(this.toTransformResizeTypeLabel(opetype));
|
|
54363
54369
|
}
|
|
54364
54370
|
}
|
|
54365
54371
|
return null;
|
|
@@ -55210,11 +55216,11 @@ var DThemeDarkHtmlElement = /** @class */ (function (_super) {
|
|
|
55210
55216
|
DThemeDarkHtmlElement.prototype.getElementStylePadding = function (state, padding) {
|
|
55211
55217
|
if (padding) {
|
|
55212
55218
|
if ("getLeft" in padding) {
|
|
55213
|
-
return ("padding: "
|
|
55214
|
-
(padding.getBottom()
|
|
55219
|
+
return ("padding: ".concat(padding.getTop(), "px ").concat(padding.getRight(), "px ") +
|
|
55220
|
+
"".concat(padding.getBottom(), "px ").concat(padding.getLeft(), "px;"));
|
|
55215
55221
|
}
|
|
55216
55222
|
else {
|
|
55217
|
-
return "padding: "
|
|
55223
|
+
return "padding: ".concat(padding.vertical, "px ").concat(padding.horizontal, "px;");
|
|
55218
55224
|
}
|
|
55219
55225
|
}
|
|
55220
55226
|
return "padding: 0px;";
|
|
@@ -55227,21 +55233,21 @@ var DThemeDarkHtmlElement = /** @class */ (function (_super) {
|
|
|
55227
55233
|
if (clipperRect) {
|
|
55228
55234
|
var left = elementRect.x - clipperRect.x;
|
|
55229
55235
|
var top_1 = elementRect.y - clipperRect.y;
|
|
55230
|
-
return "left:"
|
|
55236
|
+
return "left:".concat(left, "px; top:").concat(top_1, "px;");
|
|
55231
55237
|
}
|
|
55232
|
-
return "left:"
|
|
55238
|
+
return "left:".concat(elementRect.x, "px; top: ").concat(elementRect.y, "px;");
|
|
55233
55239
|
}
|
|
55234
55240
|
return "left: 0px; top: 0px;";
|
|
55235
55241
|
};
|
|
55236
55242
|
DThemeDarkHtmlElement.prototype.getElementStylePositionSize = function (rect) {
|
|
55237
55243
|
if (rect) {
|
|
55238
|
-
return "width: "
|
|
55244
|
+
return "width: ".concat(rect.width, "px; height: ").concat(rect.height, "px;");
|
|
55239
55245
|
}
|
|
55240
55246
|
return "width: 0px; height: 0px;";
|
|
55241
55247
|
};
|
|
55242
55248
|
DThemeDarkHtmlElement.prototype.getElementStylePositionTransform = function (matrix) {
|
|
55243
55249
|
if (matrix) {
|
|
55244
|
-
return "transform: matrix("
|
|
55250
|
+
return "transform: matrix(".concat(matrix.a, ",").concat(matrix.b, ",").concat(matrix.c, ",").concat(matrix.d, ",").concat(matrix.tx, ",").concat(matrix.ty, ");");
|
|
55245
55251
|
}
|
|
55246
55252
|
return "";
|
|
55247
55253
|
};
|
|
@@ -55252,10 +55258,10 @@ var DThemeDarkHtmlElement = /** @class */ (function (_super) {
|
|
|
55252
55258
|
this.getElementStylePositionTransform(elementMatrix));
|
|
55253
55259
|
};
|
|
55254
55260
|
DThemeDarkHtmlElement.prototype.getElementStyleText = function (state) {
|
|
55255
|
-
return ("font-family: "
|
|
55256
|
-
|
|
55257
|
-
|
|
55258
|
-
|
|
55261
|
+
return ("font-family: ".concat(this.getFontFamilly(), ";") +
|
|
55262
|
+
"font-size: ".concat(this.getFontSize(), "px;") +
|
|
55263
|
+
"color: #".concat(this.getColor(state).toString(16), ";") +
|
|
55264
|
+
"line-height: ".concat(this.getLineHeight(), "px;") +
|
|
55259
55265
|
"-moz-tab-size: 4; -o-tab-size: 4; tab-size: 4;");
|
|
55260
55266
|
};
|
|
55261
55267
|
DThemeDarkHtmlElement.prototype.getElementStyleMargin = function (state) {
|
|
@@ -55279,14 +55285,14 @@ var DThemeDarkHtmlElement = /** @class */ (function (_super) {
|
|
|
55279
55285
|
};
|
|
55280
55286
|
DThemeDarkHtmlElement.prototype.getClipperStylePositionPosition = function (rect) {
|
|
55281
55287
|
if (rect) {
|
|
55282
|
-
return "left: "
|
|
55288
|
+
return "left: ".concat(rect.x, "px; top: ").concat(rect.y, "px;");
|
|
55283
55289
|
}
|
|
55284
55290
|
return "left: 0px; top: 0px;";
|
|
55285
55291
|
};
|
|
55286
55292
|
DThemeDarkHtmlElement.prototype.getClipperStylePositionSize = function (rect) {
|
|
55287
55293
|
if (rect) {
|
|
55288
|
-
return ("width: "
|
|
55289
|
-
|
|
55294
|
+
return ("width: ".concat(rect.width, "px; height: ").concat(rect.height, "px;") +
|
|
55295
|
+
"line-height: ".concat(rect.height, "px;"));
|
|
55290
55296
|
}
|
|
55291
55297
|
return "width: 0px; height: 0px;";
|
|
55292
55298
|
};
|
|
@@ -55526,7 +55532,7 @@ var DThemeDarkInput = /** @class */ (function (_super) {
|
|
|
55526
55532
|
* SPDX-License-Identifier: Apache-2.0
|
|
55527
55533
|
*/
|
|
55528
55534
|
var CREATOR_CLASSNAME$1 = "d-theme-dark-input";
|
|
55529
|
-
var CREATOR_CLASSNAME_ELEMENT$1 = CREATOR_CLASSNAME$1
|
|
55535
|
+
var CREATOR_CLASSNAME_ELEMENT$1 = "".concat(CREATOR_CLASSNAME$1, "-element");
|
|
55530
55536
|
var elementCreator$1 = function (container) {
|
|
55531
55537
|
var found = container.getElementsByClassName(CREATOR_CLASSNAME_ELEMENT$1);
|
|
55532
55538
|
if (0 < found.length) {
|
|
@@ -55548,15 +55554,15 @@ var divCreator$1 = function (container, classname) {
|
|
|
55548
55554
|
container.appendChild(result);
|
|
55549
55555
|
return result;
|
|
55550
55556
|
};
|
|
55551
|
-
var CREATOR_CLASSNAME_CLIPPER$1 = CREATOR_CLASSNAME$1
|
|
55557
|
+
var CREATOR_CLASSNAME_CLIPPER$1 = "".concat(CREATOR_CLASSNAME$1, "-clipper");
|
|
55552
55558
|
var clipperCreator$1 = function (container) {
|
|
55553
55559
|
return divCreator$1(container, CREATOR_CLASSNAME_CLIPPER$1);
|
|
55554
55560
|
};
|
|
55555
|
-
var CREATOR_CLASSNAME_BEFORE$1 = CREATOR_CLASSNAME$1
|
|
55561
|
+
var CREATOR_CLASSNAME_BEFORE$1 = "".concat(CREATOR_CLASSNAME$1, "-before");
|
|
55556
55562
|
var beforeCreator$1 = function (container) {
|
|
55557
55563
|
return divCreator$1(container, CREATOR_CLASSNAME_BEFORE$1);
|
|
55558
55564
|
};
|
|
55559
|
-
var CREATOR_CLASSNAME_AFTER$1 = CREATOR_CLASSNAME$1
|
|
55565
|
+
var CREATOR_CLASSNAME_AFTER$1 = "".concat(CREATOR_CLASSNAME$1, "-after");
|
|
55560
55566
|
var afterCreator$1 = function (container) {
|
|
55561
55567
|
return divCreator$1(container, CREATOR_CLASSNAME_AFTER$1);
|
|
55562
55568
|
};
|
|
@@ -55768,7 +55774,7 @@ var loadThemeDarkInputText = function () {
|
|
|
55768
55774
|
* SPDX-License-Identifier: Apache-2.0
|
|
55769
55775
|
*/
|
|
55770
55776
|
var CREATOR_CLASSNAME = "d-theme-dark-input-text-area";
|
|
55771
|
-
var CREATOR_CLASSNAME_ELEMENT = CREATOR_CLASSNAME
|
|
55777
|
+
var CREATOR_CLASSNAME_ELEMENT = "".concat(CREATOR_CLASSNAME, "-element");
|
|
55772
55778
|
var elementCreator = function (container) {
|
|
55773
55779
|
var found = container.getElementsByClassName(CREATOR_CLASSNAME_ELEMENT);
|
|
55774
55780
|
if (0 < found.length) {
|
|
@@ -55790,15 +55796,15 @@ var divCreator = function (container, classname) {
|
|
|
55790
55796
|
container.appendChild(result);
|
|
55791
55797
|
return result;
|
|
55792
55798
|
};
|
|
55793
|
-
var CREATOR_CLASSNAME_CLIPPER = CREATOR_CLASSNAME
|
|
55799
|
+
var CREATOR_CLASSNAME_CLIPPER = "".concat(CREATOR_CLASSNAME, "-clipper");
|
|
55794
55800
|
var clipperCreator = function (container) {
|
|
55795
55801
|
return divCreator(container, CREATOR_CLASSNAME_CLIPPER);
|
|
55796
55802
|
};
|
|
55797
|
-
var CREATOR_CLASSNAME_BEFORE = CREATOR_CLASSNAME
|
|
55803
|
+
var CREATOR_CLASSNAME_BEFORE = "".concat(CREATOR_CLASSNAME, "-before");
|
|
55798
55804
|
var beforeCreator = function (container) {
|
|
55799
55805
|
return divCreator(container, CREATOR_CLASSNAME_BEFORE);
|
|
55800
55806
|
};
|
|
55801
|
-
var CREATOR_CLASSNAME_AFTER = CREATOR_CLASSNAME
|
|
55807
|
+
var CREATOR_CLASSNAME_AFTER = "".concat(CREATOR_CLASSNAME, "-after");
|
|
55802
55808
|
var afterCreator = function (container) {
|
|
55803
55809
|
return divCreator(container, CREATOR_CLASSNAME_AFTER);
|
|
55804
55810
|
};
|
|
@@ -60443,11 +60449,11 @@ var UtilName = /** @class */ (function () {
|
|
|
60443
60449
|
UtilName.create = function (type) {
|
|
60444
60450
|
var mapping = this._mapping;
|
|
60445
60451
|
if (type in mapping) {
|
|
60446
|
-
return type
|
|
60452
|
+
return "".concat(type, " ").concat(++mapping[type]);
|
|
60447
60453
|
}
|
|
60448
60454
|
else {
|
|
60449
60455
|
mapping[type] = 1;
|
|
60450
|
-
return type
|
|
60456
|
+
return "".concat(type, " 1");
|
|
60451
60457
|
}
|
|
60452
60458
|
};
|
|
60453
60459
|
UtilName._mapping = {};
|
|
@@ -60465,7 +60471,7 @@ var UtilRgba = /** @class */ (function () {
|
|
|
60465
60471
|
var r = (color >> 16) & 0xff;
|
|
60466
60472
|
var g = (color >> 8) & 0xff;
|
|
60467
60473
|
var b = color & 0xff;
|
|
60468
|
-
return "rgba("
|
|
60474
|
+
return "rgba(".concat(r, ",").concat(g, ",").concat(b, ",").concat(alpha, ")");
|
|
60469
60475
|
};
|
|
60470
60476
|
return UtilRgba;
|
|
60471
60477
|
}());
|
|
@@ -60751,8 +60757,9 @@ var UtilWheelEvent = /** @class */ (function () {
|
|
|
60751
60757
|
var DAnimationEmpty = /** @class */ (function (_super) {
|
|
60752
60758
|
__extends(DAnimationEmpty, _super);
|
|
60753
60759
|
function DAnimationEmpty(options) {
|
|
60760
|
+
var _this = this;
|
|
60754
60761
|
var _a;
|
|
60755
|
-
|
|
60762
|
+
_this = _super.call(this) || this;
|
|
60756
60763
|
_this._target = (_a = options === null || options === void 0 ? void 0 : options.target) !== null && _a !== void 0 ? _a : null;
|
|
60757
60764
|
_this._reverse = false;
|
|
60758
60765
|
_this._isStarted = false;
|
|
@@ -65870,8 +65877,9 @@ var DContent = /** @class */ (function (_super) {
|
|
|
65870
65877
|
var DScrollBar = /** @class */ (function (_super) {
|
|
65871
65878
|
__extends(DScrollBar, _super);
|
|
65872
65879
|
function DScrollBar(options) {
|
|
65880
|
+
var _this = this;
|
|
65873
65881
|
var _a, _b;
|
|
65874
|
-
|
|
65882
|
+
_this = _super.call(this, options) || this;
|
|
65875
65883
|
_this._start = 0;
|
|
65876
65884
|
_this._end = 1;
|
|
65877
65885
|
_this.visible = false;
|
|
@@ -66335,8 +66343,9 @@ var DPaneScrollBar = /** @class */ (function () {
|
|
|
66335
66343
|
var DPane = /** @class */ (function (_super) {
|
|
66336
66344
|
__extends(DPane, _super);
|
|
66337
66345
|
function DPane(options) {
|
|
66346
|
+
var _this = this;
|
|
66338
66347
|
var _a;
|
|
66339
|
-
|
|
66348
|
+
_this = _super.call(this, options) || this;
|
|
66340
66349
|
// Mask
|
|
66341
66350
|
var theme = _this.theme;
|
|
66342
66351
|
if ((_a = options === null || options === void 0 ? void 0 : options.mask) !== null && _a !== void 0 ? _a : theme.isOverflowMaskEnabled()) {
|
|
@@ -67192,8 +67201,9 @@ var toOptions = function (options) {
|
|
|
67192
67201
|
var DButtonSelect = /** @class */ (function (_super) {
|
|
67193
67202
|
__extends(DButtonSelect, _super);
|
|
67194
67203
|
function DButtonSelect(options) {
|
|
67204
|
+
var _this = this;
|
|
67195
67205
|
var _a, _b;
|
|
67196
|
-
|
|
67206
|
+
_this = _super.call(this, toOptions(options)) || this;
|
|
67197
67207
|
_this._dialogGetter = (_a = options === null || options === void 0 ? void 0 : options.getter) !== null && _a !== void 0 ? _a : defaultGetter$1;
|
|
67198
67208
|
_this._dialogSetter = (_b = options === null || options === void 0 ? void 0 : options.setter) !== null && _b !== void 0 ? _b : defaultSetter$1;
|
|
67199
67209
|
return _this;
|
|
@@ -70278,8 +70288,9 @@ var DChartSelectionPoint = {
|
|
|
70278
70288
|
var DChartSelectionSubImpl = /** @class */ (function (_super) {
|
|
70279
70289
|
__extends(DChartSelectionSubImpl, _super);
|
|
70280
70290
|
function DChartSelectionSubImpl(options) {
|
|
70291
|
+
var _this = this;
|
|
70281
70292
|
var _a, _b, _c;
|
|
70282
|
-
|
|
70293
|
+
_this = _super.call(this) || this;
|
|
70283
70294
|
_this._container = null;
|
|
70284
70295
|
_this._series = null;
|
|
70285
70296
|
_this._isEnabled = (_a = options.enable) !== null && _a !== void 0 ? _a : true;
|
|
@@ -70440,8 +70451,9 @@ var DChartSelectionSubImpl = /** @class */ (function (_super) {
|
|
|
70440
70451
|
var DChartSelectionSimple = /** @class */ (function (_super) {
|
|
70441
70452
|
__extends(DChartSelectionSimple, _super);
|
|
70442
70453
|
function DChartSelectionSimple(options) {
|
|
70454
|
+
var _this = this;
|
|
70443
70455
|
var _a;
|
|
70444
|
-
|
|
70456
|
+
_this = _super.call(this) || this;
|
|
70445
70457
|
_this._container = null;
|
|
70446
70458
|
var point = toEnum((_a = options === null || options === void 0 ? void 0 : options.point) !== null && _a !== void 0 ? _a : DChartSelectionPoint.CLOSER, DChartSelectionPoint);
|
|
70447
70459
|
_this._selected = _this.newSelected(point, options === null || options === void 0 ? void 0 : options.selected);
|
|
@@ -71306,8 +71318,9 @@ var DChartSeriesLineOfTriangleRoundeds = /** @class */ (function (_super) {
|
|
|
71306
71318
|
var DChartSeriesLine = /** @class */ (function (_super) {
|
|
71307
71319
|
__extends(DChartSeriesLine, _super);
|
|
71308
71320
|
function DChartSeriesLine(options) {
|
|
71321
|
+
var _this = this;
|
|
71309
71322
|
var _a;
|
|
71310
|
-
|
|
71323
|
+
_this = _super.call(this, options) || this;
|
|
71311
71324
|
_this._line = null;
|
|
71312
71325
|
_this._options = options;
|
|
71313
71326
|
_this._points = (_a = options === null || options === void 0 ? void 0 : options.points) !== null && _a !== void 0 ? _a : [];
|
|
@@ -72230,8 +72243,9 @@ var DDiagramSnapshot = /** @class */ (function (_super) {
|
|
|
72230
72243
|
var DDiagramBase = /** @class */ (function (_super) {
|
|
72231
72244
|
__extends(DDiagramBase, _super);
|
|
72232
72245
|
function DDiagramBase(options) {
|
|
72246
|
+
var _this = this;
|
|
72233
72247
|
var _a;
|
|
72234
|
-
|
|
72248
|
+
_this = _super.call(this, options) || this;
|
|
72235
72249
|
_this._serialized = null;
|
|
72236
72250
|
_this._tileFactory = options === null || options === void 0 ? void 0 : options.tile;
|
|
72237
72251
|
_this._controller = options === null || options === void 0 ? void 0 : options.controller;
|
|
@@ -74284,10 +74298,10 @@ var DDiagram = /** @class */ (function (_super) {
|
|
|
74284
74298
|
var formatter = Function("value",
|
|
74285
74299
|
/* eslint-disable prettier/prettier */
|
|
74286
74300
|
"try {" +
|
|
74287
|
-
|
|
74301
|
+
"return (".concat(datumFormat, ");") +
|
|
74288
74302
|
"} catch( e1 ) {" +
|
|
74289
74303
|
"try {" +
|
|
74290
|
-
|
|
74304
|
+
"return (".concat(0 < datumInitial.length ? datumInitial : 0, ");") +
|
|
74291
74305
|
"} catch( e2 ) {" +
|
|
74292
74306
|
"return 0;" +
|
|
74293
74307
|
"}" +
|
|
@@ -74310,7 +74324,7 @@ var DDiagram = /** @class */ (function (_super) {
|
|
|
74310
74324
|
shapeDatum.value = initialMap[datumInitial] = Function(
|
|
74311
74325
|
/* eslint-disable prettier/prettier */
|
|
74312
74326
|
"try {" +
|
|
74313
|
-
|
|
74327
|
+
"return (".concat(datumInitial, ");") +
|
|
74314
74328
|
"} catch( e ) {" +
|
|
74315
74329
|
"return 0;" +
|
|
74316
74330
|
"}"
|
|
@@ -74542,8 +74556,9 @@ var DDialogProcessingMessage = /** @class */ (function (_super) {
|
|
|
74542
74556
|
var DDialogProcessing = /** @class */ (function (_super) {
|
|
74543
74557
|
__extends(DDialogProcessing, _super);
|
|
74544
74558
|
function DDialogProcessing(options) {
|
|
74559
|
+
var _this = this;
|
|
74545
74560
|
var _a;
|
|
74546
|
-
|
|
74561
|
+
_this = _super.call(this, options) || this;
|
|
74547
74562
|
_this._isDone = true;
|
|
74548
74563
|
_this._startTime = 0;
|
|
74549
74564
|
var delay = options === null || options === void 0 ? void 0 : options.delay;
|
|
@@ -75989,20 +76004,20 @@ var DMapTilePyramidImpl = /** @class */ (function (_super) {
|
|
|
75989
76004
|
*/
|
|
75990
76005
|
var DMapTileUrlBuilderKokudo = function (tz, tx, ty) {
|
|
75991
76006
|
if (5 <= tz) {
|
|
75992
|
-
return "https://cyberjapandata.gsi.go.jp/xyz/pale/"
|
|
76007
|
+
return "https://cyberjapandata.gsi.go.jp/xyz/pale/".concat(tz, "/").concat(tx, "/").concat(ty, ".png");
|
|
75993
76008
|
}
|
|
75994
76009
|
else if (2 <= tz) {
|
|
75995
|
-
return "https://cyberjapandata.gsi.go.jp/xyz/std/"
|
|
76010
|
+
return "https://cyberjapandata.gsi.go.jp/xyz/std/".concat(tz, "/").concat(tx, "/").concat(ty, ".png");
|
|
75996
76011
|
}
|
|
75997
76012
|
else {
|
|
75998
|
-
return "https://cyberjapandata.gsi.go.jp/xyz/earthhillshade/"
|
|
76013
|
+
return "https://cyberjapandata.gsi.go.jp/xyz/earthhillshade/".concat(tz, "/").concat(tx, "/").concat(ty, ".png");
|
|
75999
76014
|
}
|
|
76000
76015
|
};
|
|
76001
76016
|
var DMapTileUrlBuilderOsm = function (tz, tx, ty) {
|
|
76002
|
-
return "https://"
|
|
76017
|
+
return "https://".concat("abc"[(tx + ty) % 3], ".tile.openstreetmap.org/").concat(tz, "/").concat(tx, "/").concat(ty, ".png");
|
|
76003
76018
|
};
|
|
76004
76019
|
var DMapTileUrlBuilderOsmfj = function (tz, tx, ty) {
|
|
76005
|
-
return "https://j.tile.openstreetmap.jp/"
|
|
76020
|
+
return "https://j.tile.openstreetmap.jp/".concat(tz, "/").concat(tx, "/").concat(ty, ".png");
|
|
76006
76021
|
};
|
|
76007
76022
|
var DMapTilePyramids = /** @class */ (function () {
|
|
76008
76023
|
function DMapTilePyramids() {
|
|
@@ -76189,8 +76204,9 @@ var defaultFilter = function () { return true; };
|
|
|
76189
76204
|
var DMenuSidedSelection = /** @class */ (function (_super) {
|
|
76190
76205
|
__extends(DMenuSidedSelection, _super);
|
|
76191
76206
|
function DMenuSidedSelection(content, options) {
|
|
76207
|
+
var _this = this;
|
|
76192
76208
|
var _a, _b, _c;
|
|
76193
|
-
|
|
76209
|
+
_this = _super.call(this) || this;
|
|
76194
76210
|
_this._content = content;
|
|
76195
76211
|
_this._item = null;
|
|
76196
76212
|
_this._isDirty = true;
|
|
@@ -76311,8 +76327,9 @@ var DMenuSidedSelection = /** @class */ (function (_super) {
|
|
|
76311
76327
|
var DMenuSided = /** @class */ (function (_super) {
|
|
76312
76328
|
__extends(DMenuSided, _super);
|
|
76313
76329
|
function DMenuSided(options) {
|
|
76330
|
+
var _this = this;
|
|
76314
76331
|
var _a;
|
|
76315
|
-
|
|
76332
|
+
_this = _super.call(this, options) || this;
|
|
76316
76333
|
var context = new DMenuContext(_this);
|
|
76317
76334
|
_this._context = context;
|
|
76318
76335
|
context.add(_this);
|
|
@@ -76540,8 +76557,9 @@ var DPaginationPage = /** @class */ (function (_super) {
|
|
|
76540
76557
|
var DPagination = /** @class */ (function (_super) {
|
|
76541
76558
|
__extends(DPagination, _super);
|
|
76542
76559
|
function DPagination(options) {
|
|
76560
|
+
var _this = this;
|
|
76543
76561
|
var _a, _b, _c, _d;
|
|
76544
|
-
|
|
76562
|
+
_this = _super.call(this, options) || this;
|
|
76545
76563
|
if (options != null) {
|
|
76546
76564
|
_this._size = (_b = (_a = options.size) !== null && _a !== void 0 ? _a : options.total) !== null && _b !== void 0 ? _b : 10;
|
|
76547
76565
|
_this._value = (_d = (_c = options.value) !== null && _c !== void 0 ? _c : options.selected) !== null && _d !== void 0 ? _d : 0;
|
|
@@ -77473,7 +77491,7 @@ var DSlider = /** @class */ (function (_super) {
|
|
|
77473
77491
|
var text = options.text || {};
|
|
77474
77492
|
options.text = text;
|
|
77475
77493
|
if (text.value == null) {
|
|
77476
|
-
text.value = ""
|
|
77494
|
+
text.value = "".concat(options.value);
|
|
77477
77495
|
}
|
|
77478
77496
|
return options;
|
|
77479
77497
|
};
|
|
@@ -77488,7 +77506,7 @@ var DSlider = /** @class */ (function (_super) {
|
|
|
77488
77506
|
var text = options.text || {};
|
|
77489
77507
|
options.text = text;
|
|
77490
77508
|
if (text.value == null) {
|
|
77491
|
-
text.value = ""
|
|
77509
|
+
text.value = "".concat(options.value);
|
|
77492
77510
|
}
|
|
77493
77511
|
return options;
|
|
77494
77512
|
};
|
|
@@ -77915,8 +77933,9 @@ var DTableBodyCells = /** @class */ (function () {
|
|
|
77915
77933
|
var DTableBodyCellSelectDialog = /** @class */ (function (_super) {
|
|
77916
77934
|
__extends(DTableBodyCellSelectDialog, _super);
|
|
77917
77935
|
function DTableBodyCellSelectDialog(columnIndex, column, onChange, options) {
|
|
77936
|
+
var _this = this;
|
|
77918
77937
|
var _a;
|
|
77919
|
-
|
|
77938
|
+
_this = _super.call(this, options) || this;
|
|
77920
77939
|
_this._rowIndex = -1;
|
|
77921
77940
|
_this._columnIndex = columnIndex;
|
|
77922
77941
|
_this._column = column;
|
|
@@ -78120,8 +78139,9 @@ var DTableBodyCellActionMenu = /** @class */ (function (_super) {
|
|
|
78120
78139
|
var DTableBodyCellSelectPromise = /** @class */ (function (_super) {
|
|
78121
78140
|
__extends(DTableBodyCellSelectPromise, _super);
|
|
78122
78141
|
function DTableBodyCellSelectPromise(columnIndex, column, onChange, options) {
|
|
78142
|
+
var _this = this;
|
|
78123
78143
|
var _a;
|
|
78124
|
-
|
|
78144
|
+
_this = _super.call(this, options) || this;
|
|
78125
78145
|
_this._rowIndex = -1;
|
|
78126
78146
|
_this._columnIndex = columnIndex;
|
|
78127
78147
|
_this._column = column;
|
|
@@ -78310,8 +78330,9 @@ var DTableBodyCellText = /** @class */ (function (_super) {
|
|
|
78310
78330
|
var DTableBodyCellButton = /** @class */ (function (_super) {
|
|
78311
78331
|
__extends(DTableBodyCellButton, _super);
|
|
78312
78332
|
function DTableBodyCellButton(columnIndex, column, onChange, options) {
|
|
78333
|
+
var _this = this;
|
|
78313
78334
|
var _a;
|
|
78314
|
-
|
|
78335
|
+
_this = _super.call(this, columnIndex, column, onChange, options) || this;
|
|
78315
78336
|
var when = toEnum((_a = options === null || options === void 0 ? void 0 : options.when) !== null && _a !== void 0 ? _a : DButtonBaseWhen.CLICKED, DButtonBaseWhen);
|
|
78316
78337
|
_this._when = when;
|
|
78317
78338
|
_this.initOnClick(when, _this.theme, options);
|
|
@@ -79692,8 +79713,9 @@ var DTableBodyCellTime = /** @class */ (function (_super) {
|
|
|
79692
79713
|
var DTableBodyCellTree = /** @class */ (function (_super) {
|
|
79693
79714
|
__extends(DTableBodyCellTree, _super);
|
|
79694
79715
|
function DTableBodyCellTree(columnIndex, column, onChange, options) {
|
|
79716
|
+
var _this = this;
|
|
79695
79717
|
var _a;
|
|
79696
|
-
|
|
79718
|
+
_this = _super.call(this, columnIndex, column, onChange, DLinks.toStateOptions((_a = options === null || options === void 0 ? void 0 : options.link) === null || _a === void 0 ? void 0 : _a.target, options)) || this;
|
|
79697
79719
|
_this._padding = new DBasePaddingAdjustable(_this._padding);
|
|
79698
79720
|
return _this;
|
|
79699
79721
|
}
|
|
@@ -79819,8 +79841,9 @@ var DTableDataSelectionType = {
|
|
|
79819
79841
|
var DTableRow = /** @class */ (function (_super) {
|
|
79820
79842
|
__extends(DTableRow, _super);
|
|
79821
79843
|
function DTableRow(options) {
|
|
79844
|
+
var _this = this;
|
|
79822
79845
|
var _a, _b;
|
|
79823
|
-
|
|
79846
|
+
_this = _super.call(this, options) || this;
|
|
79824
79847
|
_this._reverse = true;
|
|
79825
79848
|
_this._frozen = (_a = options.frozen) !== null && _a !== void 0 ? _a : 0;
|
|
79826
79849
|
_this._columns = (_b = options.columns) !== null && _b !== void 0 ? _b : [];
|
|
@@ -80427,8 +80450,9 @@ var COMPARATOR$1 = function (a, b) {
|
|
|
80427
80450
|
var DTableDataListSelection = /** @class */ (function (_super) {
|
|
80428
80451
|
__extends(DTableDataListSelection, _super);
|
|
80429
80452
|
function DTableDataListSelection(parent, options) {
|
|
80453
|
+
var _this = this;
|
|
80430
80454
|
var _a;
|
|
80431
|
-
|
|
80455
|
+
_this = _super.call(this) || this;
|
|
80432
80456
|
_this._parent = parent;
|
|
80433
80457
|
_this._type = toEnum((_a = options === null || options === void 0 ? void 0 : options.type) !== null && _a !== void 0 ? _a : DTableDataSelectionType.NONE, DTableDataSelectionType);
|
|
80434
80458
|
_this._indices = new Set();
|
|
@@ -81107,8 +81131,9 @@ var toRowOptions = function (theme, options, selectionType) {
|
|
|
81107
81131
|
var DTableBody = /** @class */ (function (_super) {
|
|
81108
81132
|
__extends(DTableBody, _super);
|
|
81109
81133
|
function DTableBody(options) {
|
|
81134
|
+
var _this = this;
|
|
81110
81135
|
var _a;
|
|
81111
|
-
|
|
81136
|
+
_this = _super.call(this, options) || this;
|
|
81112
81137
|
_this.transform.position.y = (_a = options.offset) !== null && _a !== void 0 ? _a : 0;
|
|
81113
81138
|
var data = _this.toData(options.data);
|
|
81114
81139
|
_this._data = data;
|
|
@@ -81495,8 +81520,9 @@ var DTableCategoryCell = /** @class */ (function (_super) {
|
|
|
81495
81520
|
var DTableCategory = /** @class */ (function (_super) {
|
|
81496
81521
|
__extends(DTableCategory, _super);
|
|
81497
81522
|
function DTableCategory(options) {
|
|
81523
|
+
var _this = this;
|
|
81498
81524
|
var _a;
|
|
81499
|
-
|
|
81525
|
+
_this = _super.call(this, options) || this;
|
|
81500
81526
|
var offset = (_a = options.offset) !== null && _a !== void 0 ? _a : 0;
|
|
81501
81527
|
_this._offset = offset;
|
|
81502
81528
|
_this.transform.position.y = offset;
|
|
@@ -81754,8 +81780,9 @@ var COMPARATOR = function (a, b) {
|
|
|
81754
81780
|
var DTableDataTreeSelectionImpl = /** @class */ (function (_super) {
|
|
81755
81781
|
__extends(DTableDataTreeSelectionImpl, _super);
|
|
81756
81782
|
function DTableDataTreeSelectionImpl(parent, options) {
|
|
81783
|
+
var _this = this;
|
|
81757
81784
|
var _a;
|
|
81758
|
-
|
|
81785
|
+
_this = _super.call(this) || this;
|
|
81759
81786
|
_this._parent = parent;
|
|
81760
81787
|
_this._type = toEnum((_a = options === null || options === void 0 ? void 0 : options.type) !== null && _a !== void 0 ? _a : DTableDataSelectionType.NONE, DTableDataSelectionType);
|
|
81761
81788
|
_this._rows = new Set();
|
|
@@ -82729,8 +82756,9 @@ var DTableHeaderCell = /** @class */ (function (_super) {
|
|
|
82729
82756
|
var DTableHeader = /** @class */ (function (_super) {
|
|
82730
82757
|
__extends(DTableHeader, _super);
|
|
82731
82758
|
function DTableHeader(options) {
|
|
82759
|
+
var _this = this;
|
|
82732
82760
|
var _a, _b;
|
|
82733
|
-
|
|
82761
|
+
_this = _super.call(this, options) || this;
|
|
82734
82762
|
_this._table = (_a = options.table) !== null && _a !== void 0 ? _a : null;
|
|
82735
82763
|
var offset = (_b = options.offset) !== null && _b !== void 0 ? _b : 0;
|
|
82736
82764
|
_this._offset = offset;
|
|
@@ -84764,8 +84792,9 @@ var DTreeItemText = /** @class */ (function (_super) {
|
|
|
84764
84792
|
var DTreeItemButton = /** @class */ (function (_super) {
|
|
84765
84793
|
__extends(DTreeItemButton, _super);
|
|
84766
84794
|
function DTreeItemButton(data, options) {
|
|
84795
|
+
var _this = this;
|
|
84767
84796
|
var _a;
|
|
84768
|
-
|
|
84797
|
+
_this = _super.call(this, data, options) || this;
|
|
84769
84798
|
var when = toEnum((_a = options === null || options === void 0 ? void 0 : options.when) !== null && _a !== void 0 ? _a : DButtonBaseWhen.CLICKED, DButtonBaseWhen);
|
|
84770
84799
|
_this._when = when;
|
|
84771
84800
|
_this.initOnClick(when, _this.theme, options);
|