@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.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
|
|
|
@@ -1695,7 +1695,7 @@
|
|
|
1695
1695
|
};
|
|
1696
1696
|
};
|
|
1697
1697
|
EShapeFillImpl.prototype.serialize = function (manager) {
|
|
1698
|
-
var stringified = "["
|
|
1698
|
+
var stringified = "[".concat(this._enable ? 1 : 0, ",").concat(this._color, ",").concat(this._alpha, "]");
|
|
1699
1699
|
return manager.addResource(stringified);
|
|
1700
1700
|
};
|
|
1701
1701
|
EShapeFillImpl.prototype.deserialize = function (target, manager) {
|
|
@@ -2087,7 +2087,7 @@
|
|
|
2087
2087
|
return result;
|
|
2088
2088
|
};
|
|
2089
2089
|
EShapeBarPoints.prototype.serialize = function (manager) {
|
|
2090
|
-
return manager.addResource("["
|
|
2090
|
+
return manager.addResource("[".concat(this._position, ",").concat(this._size, ",").concat(this._style, "]"));
|
|
2091
2091
|
};
|
|
2092
2092
|
EShapeBarPoints.prototype.deserialize = function (resourceId, manager) {
|
|
2093
2093
|
if (0 <= resourceId && resourceId < manager.resources.length) {
|
|
@@ -3707,10 +3707,10 @@
|
|
|
3707
3707
|
*/
|
|
3708
3708
|
var toGradientSerialized = function (gradient) {
|
|
3709
3709
|
var points = gradient.points;
|
|
3710
|
-
var result = "["
|
|
3710
|
+
var result = "[".concat(gradient.direction);
|
|
3711
3711
|
for (var i = 0, imax = points.length, j = 1; i < imax; i += 1, j += 3) {
|
|
3712
3712
|
var point = points[i];
|
|
3713
|
-
result += ","
|
|
3713
|
+
result += ",".concat(point.color, ",").concat(point.alpha, ",").concat(point.position);
|
|
3714
3714
|
}
|
|
3715
3715
|
result += "]";
|
|
3716
3716
|
return result;
|
|
@@ -4602,7 +4602,7 @@
|
|
|
4602
4602
|
};
|
|
4603
4603
|
EShapeStrokeImpl.prototype.serialize = function (manager) {
|
|
4604
4604
|
var enable = this._enable ? 1 : 0;
|
|
4605
|
-
var serialized = "["
|
|
4605
|
+
var serialized = "[".concat(enable, ",").concat(this._color, ",").concat(this._alpha, ",").concat(this._width, ",").concat(this._align, ",").concat(this._side, ",").concat(this._style, "]");
|
|
4606
4606
|
return manager.addResource(serialized);
|
|
4607
4607
|
};
|
|
4608
4608
|
EShapeStrokeImpl.prototype.deserialize = function (target, manager) {
|
|
@@ -4832,7 +4832,7 @@
|
|
|
4832
4832
|
};
|
|
4833
4833
|
};
|
|
4834
4834
|
EShapeDataValueRangeImpl.prototype.serialize = function (manager) {
|
|
4835
|
-
var serialized = "["
|
|
4835
|
+
var serialized = "[".concat(this._type, ",").concat(this._from, ",").concat(this._to, "]");
|
|
4836
4836
|
return manager.addResource(serialized);
|
|
4837
4837
|
};
|
|
4838
4838
|
EShapeDataValueRangeImpl.prototype.deserialize = function (target, manager) {
|
|
@@ -5342,7 +5342,7 @@
|
|
|
5342
5342
|
var initialSerialized = manager.addResource(this.initial);
|
|
5343
5343
|
var formatSerialized = manager.addResource(this.format.trim());
|
|
5344
5344
|
var rangeSerialized = this.range.serialize(manager);
|
|
5345
|
-
return manager.addResource("["
|
|
5345
|
+
return manager.addResource("[".concat(idSerialized, ",").concat(initialSerialized, ",").concat(formatSerialized, ",").concat(rangeSerialized, ",").concat(this._capacity, ",").concat(this._order, "]"));
|
|
5346
5346
|
};
|
|
5347
5347
|
EShapeDataValueImpl.prototype.deserialize = function (target, manager) {
|
|
5348
5348
|
var resources = manager.resources;
|
|
@@ -5582,9 +5582,9 @@
|
|
|
5582
5582
|
return manager.addResource("[]");
|
|
5583
5583
|
}
|
|
5584
5584
|
else {
|
|
5585
|
-
var serialized = "["
|
|
5585
|
+
var serialized = "[".concat(values[0].serialize(manager));
|
|
5586
5586
|
for (var i = 1, imax = values.length; i < imax; ++i) {
|
|
5587
|
-
serialized += ","
|
|
5587
|
+
serialized += ",".concat(values[i].serialize(manager));
|
|
5588
5588
|
}
|
|
5589
5589
|
serialized += "]";
|
|
5590
5590
|
return manager.addResource(serialized);
|
|
@@ -5674,7 +5674,7 @@
|
|
|
5674
5674
|
};
|
|
5675
5675
|
};
|
|
5676
5676
|
EShapeTextAlignImpl.prototype.serialize = function (manager) {
|
|
5677
|
-
return manager.addResource("["
|
|
5677
|
+
return manager.addResource("[".concat(this._horizontal, ",").concat(this._vertical, "]"));
|
|
5678
5678
|
};
|
|
5679
5679
|
EShapeTextAlignImpl.prototype.deserialize = function (target, manager) {
|
|
5680
5680
|
var resources = manager.resources;
|
|
@@ -5755,7 +5755,7 @@
|
|
|
5755
5755
|
};
|
|
5756
5756
|
};
|
|
5757
5757
|
EShapeTextOffsetImpl.prototype.serialize = function (manager) {
|
|
5758
|
-
return manager.addResource("["
|
|
5758
|
+
return manager.addResource("[".concat(this._horizontal, ",").concat(this._vertical, "]"));
|
|
5759
5759
|
};
|
|
5760
5760
|
EShapeTextOffsetImpl.prototype.deserialize = function (target, manager) {
|
|
5761
5761
|
var resources = manager.resources;
|
|
@@ -5877,7 +5877,7 @@
|
|
|
5877
5877
|
};
|
|
5878
5878
|
};
|
|
5879
5879
|
EShapeTextOutlineImpl.prototype.serialize = function (manager) {
|
|
5880
|
-
var serialized = "["
|
|
5880
|
+
var serialized = "[".concat(this._enable ? 1 : 0, ",").concat(this._color, ",").concat(this._alpha, ",").concat(this._width, "]");
|
|
5881
5881
|
return manager.addResource(serialized);
|
|
5882
5882
|
};
|
|
5883
5883
|
EShapeTextOutlineImpl.prototype.deserialize = function (target, manager) {
|
|
@@ -6161,9 +6161,9 @@
|
|
|
6161
6161
|
var outlineId = this.outline.serialize(manager);
|
|
6162
6162
|
var spacingId = this.spacing.serialize(manager);
|
|
6163
6163
|
var paddingId = this.padding.serialize(manager);
|
|
6164
|
-
var serialized = "["
|
|
6165
|
-
(this._weight
|
|
6166
|
-
(spacingId
|
|
6164
|
+
var serialized = "[".concat(valueId, ",").concat(this._color, ",").concat(this._alpha, ",").concat(familyId, ",").concat(this._size, ",") +
|
|
6165
|
+
"".concat(this._weight, ",").concat(alignId, ",").concat(offsetId, ",").concat(this._style, ",").concat(outlineId, ",") +
|
|
6166
|
+
"".concat(spacingId, ",").concat(this._direction, ",").concat(paddingId, ",").concat(this._clipping ? 1 : 0, "]");
|
|
6167
6167
|
return manager.addResource(serialized);
|
|
6168
6168
|
};
|
|
6169
6169
|
EShapeTextImpl.prototype.deserialize = function (target, manager) {
|
|
@@ -6975,7 +6975,7 @@
|
|
|
6975
6975
|
UtilRgb.fromCode = function (code) {
|
|
6976
6976
|
var trimmed = code.trim().toLowerCase();
|
|
6977
6977
|
if (trimmed.length === 6) {
|
|
6978
|
-
var color = Number("0x"
|
|
6978
|
+
var color = Number("0x".concat(trimmed));
|
|
6979
6979
|
if (color === color) {
|
|
6980
6980
|
return color;
|
|
6981
6981
|
}
|
|
@@ -7600,13 +7600,13 @@
|
|
|
7600
7600
|
"with( shape ) {" +
|
|
7601
7601
|
"with( state ) {" +
|
|
7602
7602
|
(nullable ?
|
|
7603
|
-
("var result = ("
|
|
7604
|
-
|
|
7605
|
-
"return "
|
|
7603
|
+
("var result = (".concat(expression, ");") +
|
|
7604
|
+
"return (result != null ? ".concat(caster, "(result) : null);")) :
|
|
7605
|
+
"return ".concat(caster, "(").concat(expression, ");")) +
|
|
7606
7606
|
"}" +
|
|
7607
7607
|
"}" +
|
|
7608
7608
|
"} catch( e ) {" +
|
|
7609
|
-
|
|
7609
|
+
"return ".concat(defLiteral, ";") +
|
|
7610
7610
|
"}";
|
|
7611
7611
|
/* eslint-enable prettier/prettier */
|
|
7612
7612
|
if (parameter == null) {
|
|
@@ -8003,7 +8003,7 @@
|
|
|
8003
8003
|
};
|
|
8004
8004
|
EShapeActionValueBlink.prototype.serialize = function (manager) {
|
|
8005
8005
|
var conditionId = manager.addResource(this.condition);
|
|
8006
|
-
return manager.addResource("["
|
|
8006
|
+
return manager.addResource("[".concat(this.type, ",").concat(conditionId, ",").concat(this.subtype, ",").concat(this.interval, ",").concat(this.color, ",").concat(this.alpha, "]"));
|
|
8007
8007
|
};
|
|
8008
8008
|
EShapeActionValueBlink.deserialize = function (serialized, manager) {
|
|
8009
8009
|
var condition = EShapeActionValues.toResource(1, serialized, manager.resources);
|
|
@@ -8317,7 +8317,7 @@
|
|
|
8317
8317
|
EShapeActionValueChangeColor.prototype.serialize = function (manager) {
|
|
8318
8318
|
var conditionId = manager.addResource(this.condition);
|
|
8319
8319
|
var blendId = manager.addResource(this.blend);
|
|
8320
|
-
return manager.addResource("["
|
|
8320
|
+
return manager.addResource("[".concat(this.type, ",").concat(conditionId, ",").concat(this.subtype, ",").concat(this.target, ",").concat(this.color, ",").concat(this.alpha, ",").concat(blendId, "]"));
|
|
8321
8321
|
};
|
|
8322
8322
|
EShapeActionValueChangeColor.deserialize = function (serialized, manager) {
|
|
8323
8323
|
var subtype = EShapeActionValueChangeColorTypes.from(serialized);
|
|
@@ -8402,7 +8402,7 @@
|
|
|
8402
8402
|
var conditionId = manager.addResource(this.condition);
|
|
8403
8403
|
var target = EShapeActionValueChangeColorTarget.BRIGHTNESS;
|
|
8404
8404
|
var brightnessId = manager.addResource(this.brightness);
|
|
8405
|
-
return manager.addResource("["
|
|
8405
|
+
return manager.addResource("[".concat(this.type, ",").concat(conditionId, ",").concat(this.subtype, ",").concat(target, ",").concat(brightnessId, "]"));
|
|
8406
8406
|
};
|
|
8407
8407
|
EShapeActionValueChangeColorBrightness.deserialize = function (serialized, manager) {
|
|
8408
8408
|
var subtype = EShapeActionValueChangeColorTypes.from(serialized);
|
|
@@ -8466,7 +8466,7 @@
|
|
|
8466
8466
|
var colorId = manager.addResource(this.color);
|
|
8467
8467
|
var alphaId = manager.addResource(this.alpha);
|
|
8468
8468
|
var blendId = manager.addResource(this.blend);
|
|
8469
|
-
return manager.addResource("["
|
|
8469
|
+
return manager.addResource("[".concat(this.type, ",").concat(conditionId, ",").concat(this.subtype, ",").concat(target, ",").concat(colorId, ",").concat(alphaId, ",").concat(blendId, "]"));
|
|
8470
8470
|
};
|
|
8471
8471
|
EShapeActionValueChangeColorCode.deserialize = function (serialized, manager) {
|
|
8472
8472
|
var subtype = EShapeActionValueChangeColorTypes.from(serialized);
|
|
@@ -8524,7 +8524,7 @@
|
|
|
8524
8524
|
EShapeActionValueChangeCursor.prototype.serialize = function (manager) {
|
|
8525
8525
|
var conditionId = manager.addResource(this.condition);
|
|
8526
8526
|
var nameId = manager.addResource(this.name);
|
|
8527
|
-
return manager.addResource("["
|
|
8527
|
+
return manager.addResource("[".concat(this.type, ",").concat(conditionId, ",").concat(nameId, "]"));
|
|
8528
8528
|
};
|
|
8529
8529
|
EShapeActionValueChangeCursor.deserialize = function (serialized, manager) {
|
|
8530
8530
|
var condition = EShapeActionValues.toResource(1, serialized, manager.resources);
|
|
@@ -8581,7 +8581,7 @@
|
|
|
8581
8581
|
function FormatNoded() {
|
|
8582
8582
|
}
|
|
8583
8583
|
FormatNoded.prototype.format = function (target, step, date) {
|
|
8584
|
-
return ""
|
|
8584
|
+
return "".concat(target | 0);
|
|
8585
8585
|
};
|
|
8586
8586
|
return FormatNoded;
|
|
8587
8587
|
}());
|
|
@@ -8703,7 +8703,7 @@
|
|
|
8703
8703
|
};
|
|
8704
8704
|
FormatNodefsi.prototype.format_ = function (target, unitInverse, postfix) {
|
|
8705
8705
|
var value = target * unitInverse;
|
|
8706
|
-
return ""
|
|
8706
|
+
return "".concat(value.toFixed(this.precision)).concat(postfix);
|
|
8707
8707
|
};
|
|
8708
8708
|
return FormatNodefsi;
|
|
8709
8709
|
}(FormatNodePrecision));
|
|
@@ -8796,7 +8796,7 @@
|
|
|
8796
8796
|
function FormatNodeP() {
|
|
8797
8797
|
}
|
|
8798
8798
|
FormatNodeP.prototype.format = function (target, step, date) {
|
|
8799
|
-
return ((target * 100) | 0
|
|
8799
|
+
return "".concat((target * 100) | 0, "%");
|
|
8800
8800
|
};
|
|
8801
8801
|
return FormatNodeP;
|
|
8802
8802
|
}());
|
|
@@ -8809,7 +8809,7 @@
|
|
|
8809
8809
|
function FormatNodep() {
|
|
8810
8810
|
}
|
|
8811
8811
|
FormatNodep.prototype.format = function (target, step, date) {
|
|
8812
|
-
return (target | 0
|
|
8812
|
+
return "".concat(target | 0, "%");
|
|
8813
8813
|
};
|
|
8814
8814
|
return FormatNodep;
|
|
8815
8815
|
}());
|
|
@@ -8841,7 +8841,7 @@
|
|
|
8841
8841
|
FormatNodeParenthesis.prototype.format = function (target, step, date) {
|
|
8842
8842
|
var result = this.node.format(target, step, date);
|
|
8843
8843
|
if (0 < result.length && result[0] === "-") {
|
|
8844
|
-
return "("
|
|
8844
|
+
return "(".concat(result.substring(1, result.length), ")");
|
|
8845
8845
|
}
|
|
8846
8846
|
return result;
|
|
8847
8847
|
};
|
|
@@ -8859,7 +8859,7 @@
|
|
|
8859
8859
|
FormatNodePlus.prototype.format = function (target, step, date) {
|
|
8860
8860
|
var result = this.node.format(target, step, date);
|
|
8861
8861
|
if (0 < result.length && result[0] !== "-") {
|
|
8862
|
-
return "+"
|
|
8862
|
+
return "+".concat(result);
|
|
8863
8863
|
}
|
|
8864
8864
|
return result;
|
|
8865
8865
|
};
|
|
@@ -8874,7 +8874,7 @@
|
|
|
8874
8874
|
function FormatNodeRP() {
|
|
8875
8875
|
}
|
|
8876
8876
|
FormatNodeRP.prototype.format = function (target, step, date) {
|
|
8877
|
-
return Math.round(target * 100)
|
|
8877
|
+
return "".concat(Math.round(target * 100), "%");
|
|
8878
8878
|
};
|
|
8879
8879
|
return FormatNodeRP;
|
|
8880
8880
|
}());
|
|
@@ -8887,7 +8887,7 @@
|
|
|
8887
8887
|
function FormatNoderp() {
|
|
8888
8888
|
}
|
|
8889
8889
|
FormatNoderp.prototype.format = function (target, step, date) {
|
|
8890
|
-
return Math.round(target)
|
|
8890
|
+
return "".concat(Math.round(target), "%");
|
|
8891
8891
|
};
|
|
8892
8892
|
return FormatNoderp;
|
|
8893
8893
|
}());
|
|
@@ -8908,24 +8908,24 @@
|
|
|
8908
8908
|
}
|
|
8909
8909
|
FormatNodesdt.prototype.format = function (target, step, date) {
|
|
8910
8910
|
if (step < 1000) {
|
|
8911
|
-
return this.s.format(target, step, date)
|
|
8911
|
+
return "".concat(this.s.format(target, step, date), ".").concat(this.mi.format(target, step, date));
|
|
8912
8912
|
}
|
|
8913
8913
|
else if (step < 60000) {
|
|
8914
|
-
return this.m.format(target, step, date)
|
|
8914
|
+
return "".concat(this.m.format(target, step, date), ":").concat(this.s.format(target, step, date));
|
|
8915
8915
|
}
|
|
8916
8916
|
else if (step < 3600000) {
|
|
8917
|
-
return this.H.format(target, step, date)
|
|
8917
|
+
return "".concat(this.H.format(target, step, date), ":").concat(this.m.format(target, step, date));
|
|
8918
8918
|
}
|
|
8919
8919
|
else if (step < 86400000) {
|
|
8920
8920
|
var M = this.M.format(target, step, date);
|
|
8921
8921
|
var D = this.D.format(target, step, date);
|
|
8922
|
-
return M
|
|
8922
|
+
return "".concat(M, "/").concat(D, " ").concat(this.H.format(target, step, date));
|
|
8923
8923
|
}
|
|
8924
8924
|
else if (step < 2592000000) {
|
|
8925
|
-
return this.M.format(target, step, date)
|
|
8925
|
+
return "".concat(this.M.format(target, step, date), "/").concat(this.D.format(target, step, date));
|
|
8926
8926
|
}
|
|
8927
8927
|
else {
|
|
8928
|
-
return this.Y.format(target, step, date)
|
|
8928
|
+
return "".concat(this.Y.format(target, step, date), "/").concat(this.M.format(target, step, date));
|
|
8929
8929
|
}
|
|
8930
8930
|
};
|
|
8931
8931
|
return FormatNodesdt;
|
|
@@ -8942,7 +8942,7 @@
|
|
|
8942
8942
|
FormatNodeSpace.prototype.format = function (target, step, date) {
|
|
8943
8943
|
var result = this.node.format(target, step, date);
|
|
8944
8944
|
if (0 < result.length && result[0] !== "-") {
|
|
8945
|
-
return " "
|
|
8945
|
+
return " ".concat(result);
|
|
8946
8946
|
}
|
|
8947
8947
|
return result;
|
|
8948
8948
|
};
|
|
@@ -9016,7 +9016,7 @@
|
|
|
9016
9016
|
var tzs = z <= 0 ? "+" : "-";
|
|
9017
9017
|
var tzh = toPadded(String(Math.floor(Math.abs(z) / 60)), 2, "0");
|
|
9018
9018
|
var tzm = toPadded(String(Math.floor(Math.abs(z) % 60)), 2, "0");
|
|
9019
|
-
return ""
|
|
9019
|
+
return "".concat(tzs).concat(tzh, ":").concat(tzm);
|
|
9020
9020
|
};
|
|
9021
9021
|
return FormatNodez;
|
|
9022
9022
|
}());
|
|
@@ -9029,7 +9029,7 @@
|
|
|
9029
9029
|
function FormatNoderd() {
|
|
9030
9030
|
}
|
|
9031
9031
|
FormatNoderd.prototype.format = function (target, step, date) {
|
|
9032
|
-
return ""
|
|
9032
|
+
return "".concat(Math.round(target));
|
|
9033
9033
|
};
|
|
9034
9034
|
return FormatNoderd;
|
|
9035
9035
|
}());
|
|
@@ -9394,7 +9394,7 @@
|
|
|
9394
9394
|
EShapeActionValueChangeText.prototype.serialize = function (manager) {
|
|
9395
9395
|
var conditionId = manager.addResource(this.condition);
|
|
9396
9396
|
var valueId = manager.addResource(this.value);
|
|
9397
|
-
return manager.addResource("["
|
|
9397
|
+
return manager.addResource("[".concat(this.type, ",").concat(conditionId, ",").concat(this.subtype, ",").concat(valueId, "]"));
|
|
9398
9398
|
};
|
|
9399
9399
|
EShapeActionValueChangeText.deserialize = function (serialized, manager) {
|
|
9400
9400
|
var condition = EShapeActionValues.toResource(1, serialized, manager.resources);
|
|
@@ -11331,7 +11331,7 @@
|
|
|
11331
11331
|
return;
|
|
11332
11332
|
}
|
|
11333
11333
|
}
|
|
11334
|
-
throw new Error("Failed to parse '"
|
|
11334
|
+
throw new Error("Failed to parse '".concat(expression, "'"));
|
|
11335
11335
|
}
|
|
11336
11336
|
DScalarExpression.prototype.toParensesis = function (nodes, ifrom) {
|
|
11337
11337
|
var ito = nodes.length;
|
|
@@ -11484,7 +11484,7 @@
|
|
|
11484
11484
|
continue;
|
|
11485
11485
|
}
|
|
11486
11486
|
}
|
|
11487
|
-
throw new Error("Malformed operands for the operator "
|
|
11487
|
+
throw new Error("Malformed operands for the operator ".concat(node));
|
|
11488
11488
|
}
|
|
11489
11489
|
else {
|
|
11490
11490
|
this.toArithmeticNode(node, operatorA, operatorB);
|
|
@@ -11505,7 +11505,7 @@
|
|
|
11505
11505
|
else {
|
|
11506
11506
|
var parsedToken = parseFloat(token);
|
|
11507
11507
|
if (parsedToken !== parsedToken) {
|
|
11508
|
-
throw new Error("Unexpected token '"
|
|
11508
|
+
throw new Error("Unexpected token '".concat(token, "' at ").concat(matched.index, " in '").concat(expression, "'"));
|
|
11509
11509
|
}
|
|
11510
11510
|
var tokenTypeLiteral = this.toTokenLiteral(token);
|
|
11511
11511
|
if (tokenTypeLiteral != null) {
|
|
@@ -12140,8 +12140,9 @@
|
|
|
12140
12140
|
var DBase = /** @class */ (function (_super) {
|
|
12141
12141
|
__extends(DBase, _super);
|
|
12142
12142
|
function DBase(options) {
|
|
12143
|
+
var _this = this;
|
|
12143
12144
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
12144
|
-
|
|
12145
|
+
_this = _super.call(this) || this;
|
|
12145
12146
|
// Transform
|
|
12146
12147
|
var transform = _this.transform;
|
|
12147
12148
|
_this._position = new DBasePoint(transform.position, function (newX, newY, oldX, oldY) {
|
|
@@ -13588,8 +13589,9 @@
|
|
|
13588
13589
|
var DAnimationBase = /** @class */ (function (_super) {
|
|
13589
13590
|
__extends(DAnimationBase, _super);
|
|
13590
13591
|
function DAnimationBase(options) {
|
|
13592
|
+
var _this = this;
|
|
13591
13593
|
var _a, _b, _c;
|
|
13592
|
-
|
|
13594
|
+
_this = _super.call(this) || this;
|
|
13593
13595
|
_this._id = null;
|
|
13594
13596
|
_this._target = (_a = options === null || options === void 0 ? void 0 : options.target) !== null && _a !== void 0 ? _a : null;
|
|
13595
13597
|
_this._startTime = 0;
|
|
@@ -14784,7 +14786,7 @@
|
|
|
14784
14786
|
EShapeActionValueEmitEvent.prototype.serialize = function (manager) {
|
|
14785
14787
|
var conditionId = manager.addResource(this.condition);
|
|
14786
14788
|
var nameId = manager.addResource(this.name);
|
|
14787
|
-
return manager.addResource("["
|
|
14789
|
+
return manager.addResource("[".concat(this.type, ",").concat(conditionId, ",").concat(nameId, "]"));
|
|
14788
14790
|
};
|
|
14789
14791
|
EShapeActionValueEmitEvent.deserialize = function (serialized, manager) {
|
|
14790
14792
|
var condition = EShapeActionValues.toResource(1, serialized, manager.resources);
|
|
@@ -15550,8 +15552,9 @@
|
|
|
15550
15552
|
var UtilInput = /** @class */ (function (_super) {
|
|
15551
15553
|
__extends(UtilInput, _super);
|
|
15552
15554
|
function UtilInput(target, operation, theme, options) {
|
|
15553
|
-
var
|
|
15554
|
-
var
|
|
15555
|
+
var _this = this;
|
|
15556
|
+
var _a, _b, _c, _d, _e, _f;
|
|
15557
|
+
_this = _super.call(this, target, operation, theme, options) || this;
|
|
15555
15558
|
_this._operation = operation;
|
|
15556
15559
|
_this._onInputKeyDownBound = function (e) {
|
|
15557
15560
|
_this.onInputKeyDown(e);
|
|
@@ -15565,9 +15568,9 @@
|
|
|
15565
15568
|
_this._description = (_a = options === null || options === void 0 ? void 0 : options.description) !== null && _a !== void 0 ? _a : "";
|
|
15566
15569
|
var editing = options === null || options === void 0 ? void 0 : options.editing;
|
|
15567
15570
|
_this._editingFormatter =
|
|
15568
|
-
(
|
|
15569
|
-
_this._editingUnformatter = (
|
|
15570
|
-
_this._editingValidator = (
|
|
15571
|
+
(_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();
|
|
15572
|
+
_this._editingUnformatter = (_e = editing === null || editing === void 0 ? void 0 : editing.unformatter) !== null && _e !== void 0 ? _e : theme.getEditingUnformatter();
|
|
15573
|
+
_this._editingValidator = (_f = editing === null || editing === void 0 ? void 0 : editing.validator) !== null && _f !== void 0 ? _f : theme.getEditingValidator();
|
|
15571
15574
|
return _this;
|
|
15572
15575
|
}
|
|
15573
15576
|
UtilInput.prototype.onEnd = function () {
|
|
@@ -15684,8 +15687,9 @@
|
|
|
15684
15687
|
var UtilInputNumber = /** @class */ (function (_super) {
|
|
15685
15688
|
__extends(UtilInputNumber, _super);
|
|
15686
15689
|
function UtilInputNumber(target, operation, theme, options) {
|
|
15690
|
+
var _this = this;
|
|
15687
15691
|
var _a, _b, _c;
|
|
15688
|
-
|
|
15692
|
+
_this = _super.call(this, target, operation, theme, options) || this;
|
|
15689
15693
|
_this._step = (_a = options === null || options === void 0 ? void 0 : options.step) !== null && _a !== void 0 ? _a : theme.getStep();
|
|
15690
15694
|
_this._min = (_b = options === null || options === void 0 ? void 0 : options.min) !== null && _b !== void 0 ? _b : theme.getMin();
|
|
15691
15695
|
_this._max = (_c = options === null || options === void 0 ? void 0 : options.max) !== null && _c !== void 0 ? _c : theme.getMax();
|
|
@@ -15778,7 +15782,7 @@
|
|
|
15778
15782
|
UtilInputNumber.prototype.updateStep = function (input) {
|
|
15779
15783
|
var step = this.step;
|
|
15780
15784
|
if (step != null) {
|
|
15781
|
-
input.step = ""
|
|
15785
|
+
input.step = "".concat(step);
|
|
15782
15786
|
}
|
|
15783
15787
|
else {
|
|
15784
15788
|
input.step = "any";
|
|
@@ -15787,7 +15791,7 @@
|
|
|
15787
15791
|
UtilInputNumber.prototype.updateMin = function (input) {
|
|
15788
15792
|
var min = this.min;
|
|
15789
15793
|
if (min != null) {
|
|
15790
|
-
input.min = ""
|
|
15794
|
+
input.min = "".concat(min);
|
|
15791
15795
|
}
|
|
15792
15796
|
else {
|
|
15793
15797
|
input.removeAttribute("min");
|
|
@@ -15796,7 +15800,7 @@
|
|
|
15796
15800
|
UtilInputNumber.prototype.updateMax = function (input) {
|
|
15797
15801
|
var max = this.max;
|
|
15798
15802
|
if (max != null) {
|
|
15799
|
-
input.max = ""
|
|
15803
|
+
input.max = "".concat(max);
|
|
15800
15804
|
}
|
|
15801
15805
|
else {
|
|
15802
15806
|
input.removeAttribute("max");
|
|
@@ -16116,7 +16120,7 @@
|
|
|
16116
16120
|
var conditionId = manager.addResource(this.condition);
|
|
16117
16121
|
var targetId = manager.addResource(this.target);
|
|
16118
16122
|
var valueId = manager.addResource(this.value);
|
|
16119
|
-
return manager.addResource("["
|
|
16123
|
+
return manager.addResource("[".concat(this.type, ",").concat(conditionId, ",").concat(this.subtype, ",").concat(targetId, ",").concat(this.onInputAction, ",").concat(valueId, "]"));
|
|
16120
16124
|
};
|
|
16121
16125
|
EShapeActionValueMisc.deserialize = function (serialized, manager) {
|
|
16122
16126
|
var resources = manager.resources;
|
|
@@ -16237,7 +16241,7 @@
|
|
|
16237
16241
|
};
|
|
16238
16242
|
EShapeActionValueMiscGesture.prototype.serialize = function (manager) {
|
|
16239
16243
|
var conditionId = manager.addResource(this.condition);
|
|
16240
|
-
return manager.addResource("["
|
|
16244
|
+
return manager.addResource("[".concat(this.type, ",").concat(conditionId, ",").concat(this.subtype, ",").concat(this.gestureType, ",").concat(this.scaleMin, ",").concat(this.scaleMax, "]"));
|
|
16241
16245
|
};
|
|
16242
16246
|
EShapeActionValueMiscGesture.deserialize = function (serialized, manager) {
|
|
16243
16247
|
var condition = EShapeActionValues.toResource(1, serialized, manager.resources);
|
|
@@ -16664,7 +16668,7 @@
|
|
|
16664
16668
|
gl.compileShader(shader);
|
|
16665
16669
|
if (!gl.getShaderParameter(shader, gl.COMPILE_STATUS)) {
|
|
16666
16670
|
console &&
|
|
16667
|
-
console.error("Failed to compile the shader: "
|
|
16671
|
+
console.error("Failed to compile the shader: ".concat(gl.getShaderInfoLog(shader)));
|
|
16668
16672
|
return null;
|
|
16669
16673
|
}
|
|
16670
16674
|
}
|
|
@@ -16684,7 +16688,7 @@
|
|
|
16684
16688
|
gl.linkProgram(shaderProgram);
|
|
16685
16689
|
if (!gl.getProgramParameter(shaderProgram, gl.LINK_STATUS)) {
|
|
16686
16690
|
console &&
|
|
16687
|
-
console.error("Failed to link the program: "
|
|
16691
|
+
console.error("Failed to link the program: ".concat(gl.getError()));
|
|
16688
16692
|
gl.deleteShader(vertexShader);
|
|
16689
16693
|
gl.deleteShader(fragmentShader);
|
|
16690
16694
|
return null;
|
|
@@ -16888,7 +16892,7 @@
|
|
|
16888
16892
|
*/
|
|
16889
16893
|
var DynamicSDFFontAtlas = /** @class */ (function () {
|
|
16890
16894
|
function DynamicSDFFontAtlas(fontFamily) {
|
|
16891
|
-
this._id = "font-atlas:"
|
|
16895
|
+
this._id = "font-atlas:".concat(fontFamily);
|
|
16892
16896
|
this._generator = DynamicSDFFontGenerator.getInstance().init();
|
|
16893
16897
|
this._canvas = document.createElement("canvas");
|
|
16894
16898
|
this._font = {
|
|
@@ -18198,7 +18202,7 @@
|
|
|
18198
18202
|
};
|
|
18199
18203
|
EShapeActionValueMiscLayerGesture.prototype.serialize = function (manager) {
|
|
18200
18204
|
var conditionId = manager.addResource(this.condition);
|
|
18201
|
-
return manager.addResource("["
|
|
18205
|
+
return manager.addResource("[".concat(this.type, ",").concat(conditionId, ",").concat(this.subtype, ",").concat(this.gestureType, ",").concat(this.scaleMin, ",").concat(this.scaleMax, "]"));
|
|
18202
18206
|
};
|
|
18203
18207
|
EShapeActionValueMiscLayerGesture.deserialize = function (serialized, manager) {
|
|
18204
18208
|
var condition = EShapeActionValues.toResource(1, serialized, manager.resources);
|
|
@@ -18287,7 +18291,7 @@
|
|
|
18287
18291
|
var conditionId = manager.addResource(this.condition);
|
|
18288
18292
|
var layersId = this.serializeLayers(manager);
|
|
18289
18293
|
var bringToFrontId = this.bringToFront ? 1 : 0;
|
|
18290
|
-
return manager.addResource("["
|
|
18294
|
+
return manager.addResource("[".concat(this.type, ",").concat(conditionId, ",").concat(this.subtype, ",").concat(layersId, ",").concat(bringToFrontId, "]"));
|
|
18291
18295
|
};
|
|
18292
18296
|
EShapeActionValueMiscLayerShowHide.prototype.serializeLayers = function (manager) {
|
|
18293
18297
|
var layers = this.layers;
|
|
@@ -19905,7 +19909,7 @@
|
|
|
19905
19909
|
}
|
|
19906
19910
|
};
|
|
19907
19911
|
DDynamicTextStyle.prototype.newFontId = function () {
|
|
19908
|
-
return this._fontStyle
|
|
19912
|
+
return "".concat(this._fontStyle, " ").concat(this._fontVariant, " ").concat(this._fontWeight, " ").concat(this._fontSize, "px ").concat(this._fontFamily);
|
|
19909
19913
|
};
|
|
19910
19914
|
Object.defineProperty(DDynamicTextStyle.prototype, "clipping", {
|
|
19911
19915
|
get: function () {
|
|
@@ -20758,8 +20762,9 @@
|
|
|
20758
20762
|
var DAnimationFadeIn = /** @class */ (function (_super) {
|
|
20759
20763
|
__extends(DAnimationFadeIn, _super);
|
|
20760
20764
|
function DAnimationFadeIn(options) {
|
|
20765
|
+
var _this = this;
|
|
20761
20766
|
var _a, _b;
|
|
20762
|
-
|
|
20767
|
+
_this = _super.call(this, options) || this;
|
|
20763
20768
|
_this._storedX = 0;
|
|
20764
20769
|
_this._storedY = 0;
|
|
20765
20770
|
_this._storedAlpha = 0;
|
|
@@ -24924,7 +24929,7 @@
|
|
|
24924
24929
|
var conditionId = manager.addResource(this.condition);
|
|
24925
24930
|
var targetId = manager.addResource(this.target);
|
|
24926
24931
|
var initialId = manager.addResource(this.initial);
|
|
24927
|
-
return manager.addResource("["
|
|
24932
|
+
return manager.addResource("[".concat(this.type, ",").concat(conditionId, ",").concat(this.subtype, ",").concat(targetId, ",").concat(this.onInputAction, ",").concat(initialId, "]"));
|
|
24928
24933
|
};
|
|
24929
24934
|
EShapeActionValueOpen.deserialize = function (serialized, manager) {
|
|
24930
24935
|
var condition = EShapeActionValues.toResource(1, serialized, manager.resources);
|
|
@@ -24978,7 +24983,7 @@
|
|
|
24978
24983
|
};
|
|
24979
24984
|
EShapeActionValueShowHide.prototype.serialize = function (manager) {
|
|
24980
24985
|
var conditionId = manager.addResource(this.condition);
|
|
24981
|
-
return manager.addResource("["
|
|
24986
|
+
return manager.addResource("[".concat(this.type, ",").concat(conditionId, ",").concat(this.subtype, "]"));
|
|
24982
24987
|
};
|
|
24983
24988
|
EShapeActionValueShowHide.deserialize = function (serialized, manager) {
|
|
24984
24989
|
var condition = EShapeActionValues.toResource(1, serialized, manager.resources);
|
|
@@ -25214,7 +25219,7 @@
|
|
|
25214
25219
|
EShapeActionValueTransformMove.prototype.serialize = function (manager) {
|
|
25215
25220
|
var conditionId = manager.addResource(this.condition);
|
|
25216
25221
|
var amountId = manager.addResource(this.amount);
|
|
25217
|
-
return manager.addResource("["
|
|
25222
|
+
return manager.addResource("[".concat(this.type, ",").concat(conditionId, ",").concat(this.subtype, ",").concat(this.opetype, ",").concat(amountId, "]"));
|
|
25218
25223
|
};
|
|
25219
25224
|
EShapeActionValueTransformMove.deserialize = function (serialized, manager) {
|
|
25220
25225
|
var condition = EShapeActionValues.toResource(1, serialized, manager.resources);
|
|
@@ -25499,7 +25504,7 @@
|
|
|
25499
25504
|
EShapeActionValueTransformResize.prototype.serialize = function (manager) {
|
|
25500
25505
|
var conditionId = manager.addResource(this.condition);
|
|
25501
25506
|
var amountId = manager.addResource(this.amount);
|
|
25502
|
-
return manager.addResource("["
|
|
25507
|
+
return manager.addResource("[".concat(this.type, ",").concat(conditionId, ",").concat(this.subtype, ",").concat(this.opetype, ",").concat(this.originX, ",").concat(this.originY, ",").concat(amountId, "]"));
|
|
25503
25508
|
};
|
|
25504
25509
|
EShapeActionValueTransformResize.deserialize = function (serialized, manager) {
|
|
25505
25510
|
var condition = EShapeActionValues.toResource(1, serialized, manager.resources);
|
|
@@ -25519,7 +25524,7 @@
|
|
|
25519
25524
|
var _this = _super.call(this, value, reset) || this;
|
|
25520
25525
|
_this.originX = value.originX;
|
|
25521
25526
|
_this.originY = value.originY;
|
|
25522
|
-
_this.amount = EShapeActionExpressions.ofNumber("("
|
|
25527
|
+
_this.amount = EShapeActionExpressions.ofNumber("(".concat(value.amount, ") * (Math.PI / 180)"));
|
|
25523
25528
|
return _this;
|
|
25524
25529
|
}
|
|
25525
25530
|
EShapeActionRuntimeTransformRotate.prototype.adjustPosition = function (shape, runtime, oldRotation, newRotation, originX, originY) {
|
|
@@ -25630,7 +25635,7 @@
|
|
|
25630
25635
|
EShapeActionValueTransformRotate.prototype.serialize = function (manager) {
|
|
25631
25636
|
var conditionId = manager.addResource(this.condition);
|
|
25632
25637
|
var amountId = manager.addResource(this.amount);
|
|
25633
|
-
return manager.addResource("["
|
|
25638
|
+
return manager.addResource("[".concat(this.type, ",").concat(conditionId, ",").concat(this.subtype, ",").concat(this.opetype, ",").concat(this.originX, ",").concat(this.originY, ",").concat(amountId, "]"));
|
|
25634
25639
|
};
|
|
25635
25640
|
EShapeActionValueTransformRotate.deserialize = function (serialized, manager) {
|
|
25636
25641
|
var condition = EShapeActionValues.toResource(1, serialized, manager.resources);
|
|
@@ -27346,7 +27351,7 @@
|
|
|
27346
27351
|
var result = _super.prototype.serialize.call(this, manager);
|
|
27347
27352
|
var isToggle = this._isToggle ? 1 : 0;
|
|
27348
27353
|
var isGrouped = this._isGrouped ? 2 : 0;
|
|
27349
|
-
result[15] = manager.addResource("["
|
|
27354
|
+
result[15] = manager.addResource("[".concat(isToggle | isGrouped, "]"));
|
|
27350
27355
|
return result;
|
|
27351
27356
|
};
|
|
27352
27357
|
return EShapeButton;
|
|
@@ -29639,7 +29644,7 @@
|
|
|
29639
29644
|
EShapePointsMarkerBase.prototype.serialize = function (manager) {
|
|
29640
29645
|
var size = this._size;
|
|
29641
29646
|
var fillId = this._fill.serialize(manager);
|
|
29642
|
-
return manager.addResource("["
|
|
29647
|
+
return manager.addResource("[".concat(this._type, ",").concat(size.x, ",").concat(size.y, ",").concat(fillId, "]"));
|
|
29643
29648
|
};
|
|
29644
29649
|
EShapePointsMarkerBase.prototype.deserialize = function (resourceId, manager) {
|
|
29645
29650
|
var resources = manager.resources;
|
|
@@ -29788,7 +29793,7 @@
|
|
|
29788
29793
|
EShapePointsMarkerContainerImpl.prototype.serialize = function (manager) {
|
|
29789
29794
|
var headId = this._head.serialize(manager);
|
|
29790
29795
|
var tailId = this._tail.serialize(manager);
|
|
29791
|
-
return manager.addResource("["
|
|
29796
|
+
return manager.addResource("[".concat(headId, ",").concat(tailId, "]"));
|
|
29792
29797
|
};
|
|
29793
29798
|
EShapePointsMarkerContainerImpl.prototype.deserialize = function (resourceId, manager) {
|
|
29794
29799
|
var resources = manager.resources;
|
|
@@ -30250,7 +30255,7 @@
|
|
|
30250
30255
|
if (marker) {
|
|
30251
30256
|
markerId = marker.serialize(manager);
|
|
30252
30257
|
}
|
|
30253
|
-
return manager.addResource("["
|
|
30258
|
+
return manager.addResource("[".concat(values, ",").concat(segments, ",").concat(style, ",").concat(markerId, "]"));
|
|
30254
30259
|
};
|
|
30255
30260
|
EShapeLinePoints.prototype.deserialize = function (resourceId, manager) {
|
|
30256
30261
|
var resources = manager.resources;
|
|
@@ -31257,7 +31262,7 @@
|
|
|
31257
31262
|
var edge = acceptor.edge;
|
|
31258
31263
|
var edgeId = edge != null ? manager.addResource(edge) : -1;
|
|
31259
31264
|
var local = this._local;
|
|
31260
|
-
return manager.addResource("["
|
|
31265
|
+
return manager.addResource("[".concat(shapeUuid, ",").concat(edgeId, ",").concat(local.x, ",").concat(local.y, ",").concat(this._margin, "]"));
|
|
31261
31266
|
};
|
|
31262
31267
|
EShapeConnectorEdgeImpl.prototype.deserialize = function (resourceId, mapping, manager) {
|
|
31263
31268
|
var resources = manager.resources;
|
|
@@ -31427,7 +31432,7 @@
|
|
|
31427
31432
|
EShapeConnectorEdgeContainerImpl.prototype.serialize = function (manager) {
|
|
31428
31433
|
var tailId = this._tail.serialize(manager);
|
|
31429
31434
|
var headId = this._head.serialize(manager);
|
|
31430
|
-
return manager.addResource("["
|
|
31435
|
+
return manager.addResource("[".concat(tailId, ",").concat(headId, "]"));
|
|
31431
31436
|
};
|
|
31432
31437
|
EShapeConnectorEdgeContainerImpl.prototype.deserialize = function (resourceId, mapping, manager) {
|
|
31433
31438
|
var resources = manager.resources;
|
|
@@ -31760,7 +31765,7 @@
|
|
|
31760
31765
|
var edgeId = this._edge.serialize(manager);
|
|
31761
31766
|
var bodyId = this._body.serialize(manager);
|
|
31762
31767
|
var pointsId = this._points.serialize(manager);
|
|
31763
|
-
result[15] = manager.addResource("["
|
|
31768
|
+
result[15] = manager.addResource("[".concat(edgeId, ",").concat(pointsId, ",").concat(bodyId, "]"));
|
|
31764
31769
|
return result;
|
|
31765
31770
|
};
|
|
31766
31771
|
return EShapeConnectorLine;
|
|
@@ -38710,7 +38715,7 @@
|
|
|
38710
38715
|
* SPDX-License-Identifier: Apache-2.0
|
|
38711
38716
|
*/
|
|
38712
38717
|
var toSvgUrl = function (svg) {
|
|
38713
|
-
return "data:image/svg+xml;base64,"
|
|
38718
|
+
return "data:image/svg+xml;base64,".concat(btoa(svg));
|
|
38714
38719
|
};
|
|
38715
38720
|
|
|
38716
38721
|
/*
|
|
@@ -38726,7 +38731,7 @@
|
|
|
38726
38731
|
var color = UtilRgb.toCode(point.color);
|
|
38727
38732
|
var alpha = point.alpha;
|
|
38728
38733
|
var offset = point.position * 100;
|
|
38729
|
-
stops += "<stop offset=\""
|
|
38734
|
+
stops += "<stop offset=\"".concat(offset, "%\" stop-color=\"#").concat(color, "\" stop-opacity=\"").concat(alpha, "\" />");
|
|
38730
38735
|
}
|
|
38731
38736
|
var radian = (direction * Math.PI) / 180;
|
|
38732
38737
|
var dx = 0.5 * Math.cos(radian);
|
|
@@ -38735,7 +38740,7 @@
|
|
|
38735
38740
|
/* eslint-disable prettier/prettier */
|
|
38736
38741
|
"<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"32\" height=\"32\" viewBox=\"0 0 32 32\">" +
|
|
38737
38742
|
"<defs>" +
|
|
38738
|
-
|
|
38743
|
+
"<linearGradient id=\"o2glkm3aeu2oio\" x1=\"".concat(0.5 - dx, "\" x2=\"").concat(0.5 + dx, "\" y1=\"").concat(0.5 - dy, "\" y2=\"").concat(0.5 + dy, "\">") +
|
|
38739
38744
|
stops +
|
|
38740
38745
|
"</linearGradient>" +
|
|
38741
38746
|
"</defs>" +
|
|
@@ -38902,8 +38907,9 @@
|
|
|
38902
38907
|
var DMenuItemBase = /** @class */ (function (_super) {
|
|
38903
38908
|
__extends(DMenuItemBase, _super);
|
|
38904
38909
|
function DMenuItemBase(options) {
|
|
38910
|
+
var _this = this;
|
|
38905
38911
|
var _a;
|
|
38906
|
-
|
|
38912
|
+
_this = _super.call(this, options) || this;
|
|
38907
38913
|
_this._value = (_a = options === null || options === void 0 ? void 0 : options.value) !== null && _a !== void 0 ? _a : null;
|
|
38908
38914
|
return _this;
|
|
38909
38915
|
}
|
|
@@ -39183,7 +39189,7 @@
|
|
|
39183
39189
|
parent.addChild(created);
|
|
39184
39190
|
}
|
|
39185
39191
|
else {
|
|
39186
|
-
throw new Error("No matching menu item creator found: "
|
|
39192
|
+
throw new Error("No matching menu item creator found: ".concat(JSON.stringify(item)));
|
|
39187
39193
|
}
|
|
39188
39194
|
}
|
|
39189
39195
|
}
|
|
@@ -42345,7 +42351,7 @@
|
|
|
42345
42351
|
frames[name] = new pixi_js.Rectangle(x, y, width, height);
|
|
42346
42352
|
// Svg
|
|
42347
42353
|
var ratio = this._ratio;
|
|
42348
|
-
this._svg += "<g transform=\"translate("
|
|
42354
|
+
this._svg += "<g transform=\"translate(".concat(x * ratio, ",").concat(y * ratio, ")\">").concat(path, "</g>");
|
|
42349
42355
|
return true;
|
|
42350
42356
|
}
|
|
42351
42357
|
return false;
|
|
@@ -42370,11 +42376,11 @@
|
|
|
42370
42376
|
var realWidth = width * resolution;
|
|
42371
42377
|
var realHeight = height * resolution;
|
|
42372
42378
|
var ratio = this._ratio;
|
|
42373
|
-
var attrWidth = "width=\""
|
|
42374
|
-
var attrHeight = "height=\""
|
|
42375
|
-
var attrViewBox = "viewBox=\"0 0 "
|
|
42379
|
+
var attrWidth = "width=\"".concat(realWidth, "\"");
|
|
42380
|
+
var attrHeight = "height=\"".concat(realHeight, "\"");
|
|
42381
|
+
var attrViewBox = "viewBox=\"0 0 ".concat(width * ratio, " ").concat(height * ratio, "\"");
|
|
42376
42382
|
var attrXmlns = "xmlns=\"http://www.w3.org/2000/svg\"";
|
|
42377
|
-
var url = toSvgUrl("<svg "
|
|
42383
|
+
var url = toSvgUrl("<svg ".concat(attrWidth, " ").concat(attrHeight, " ").concat(attrViewBox, " ").concat(attrXmlns, ">").concat(this._svg, "</svg>"));
|
|
42378
42384
|
var scaleMode = (_c = options === null || options === void 0 ? void 0 : options.scaling) !== null && _c !== void 0 ? _c : pixi_js.SCALE_MODES.NEAREST;
|
|
42379
42385
|
var baseTexture = pixi_js.BaseTexture.from(url, {
|
|
42380
42386
|
resolution: resolution,
|
|
@@ -42838,11 +42844,11 @@
|
|
|
42838
42844
|
UtilName.create = function (type) {
|
|
42839
42845
|
var mapping = this._mapping;
|
|
42840
42846
|
if (type in mapping) {
|
|
42841
|
-
return type
|
|
42847
|
+
return "".concat(type, " ").concat(++mapping[type]);
|
|
42842
42848
|
}
|
|
42843
42849
|
else {
|
|
42844
42850
|
mapping[type] = 1;
|
|
42845
|
-
return type
|
|
42851
|
+
return "".concat(type, " 1");
|
|
42846
42852
|
}
|
|
42847
42853
|
};
|
|
42848
42854
|
UtilName._mapping = {};
|
|
@@ -42860,7 +42866,7 @@
|
|
|
42860
42866
|
var r = (color >> 16) & 0xff;
|
|
42861
42867
|
var g = (color >> 8) & 0xff;
|
|
42862
42868
|
var b = color & 0xff;
|
|
42863
|
-
return "rgba("
|
|
42869
|
+
return "rgba(".concat(r, ",").concat(g, ",").concat(b, ",").concat(alpha, ")");
|
|
42864
42870
|
};
|
|
42865
42871
|
return UtilRgba;
|
|
42866
42872
|
}());
|
|
@@ -43146,8 +43152,9 @@
|
|
|
43146
43152
|
var DAnimationEmpty = /** @class */ (function (_super) {
|
|
43147
43153
|
__extends(DAnimationEmpty, _super);
|
|
43148
43154
|
function DAnimationEmpty(options) {
|
|
43155
|
+
var _this = this;
|
|
43149
43156
|
var _a;
|
|
43150
|
-
|
|
43157
|
+
_this = _super.call(this) || this;
|
|
43151
43158
|
_this._target = (_a = options === null || options === void 0 ? void 0 : options.target) !== null && _a !== void 0 ? _a : null;
|
|
43152
43159
|
_this._reverse = false;
|
|
43153
43160
|
_this._isStarted = false;
|
|
@@ -46933,7 +46940,7 @@
|
|
|
46933
46940
|
var y = toPadded(String(date.getFullYear()), 4, "0");
|
|
46934
46941
|
var M = toPadded(String(date.getMonth() + 1), 2, "0");
|
|
46935
46942
|
var S = toPadded(String(date.getDate()), 2, "0");
|
|
46936
|
-
return y
|
|
46943
|
+
return "".concat(y, "/").concat(M, "/").concat(S);
|
|
46937
46944
|
};
|
|
46938
46945
|
return DPickerDates;
|
|
46939
46946
|
}());
|
|
@@ -46980,10 +46987,10 @@
|
|
|
46980
46987
|
DPickerDatetimes.format = function (date, mask) {
|
|
46981
46988
|
var hms = DPickerTimes.format(date, mask);
|
|
46982
46989
|
if (0 < hms.length) {
|
|
46983
|
-
return DPickerDates.format(date)
|
|
46990
|
+
return "".concat(DPickerDates.format(date), " ").concat(hms);
|
|
46984
46991
|
}
|
|
46985
46992
|
else {
|
|
46986
|
-
return ""
|
|
46993
|
+
return "".concat(DPickerDates.format(date));
|
|
46987
46994
|
}
|
|
46988
46995
|
};
|
|
46989
46996
|
DPickerDatetimes.toMask = function (options) {
|
|
@@ -48654,8 +48661,9 @@
|
|
|
48654
48661
|
var DScrollBar = /** @class */ (function (_super) {
|
|
48655
48662
|
__extends(DScrollBar, _super);
|
|
48656
48663
|
function DScrollBar(options) {
|
|
48664
|
+
var _this = this;
|
|
48657
48665
|
var _a, _b;
|
|
48658
|
-
|
|
48666
|
+
_this = _super.call(this, options) || this;
|
|
48659
48667
|
_this._start = 0;
|
|
48660
48668
|
_this._end = 1;
|
|
48661
48669
|
_this.visible = false;
|
|
@@ -49119,8 +49127,9 @@
|
|
|
49119
49127
|
var DPane = /** @class */ (function (_super) {
|
|
49120
49128
|
__extends(DPane, _super);
|
|
49121
49129
|
function DPane(options) {
|
|
49130
|
+
var _this = this;
|
|
49122
49131
|
var _a;
|
|
49123
|
-
|
|
49132
|
+
_this = _super.call(this, options) || this;
|
|
49124
49133
|
// Mask
|
|
49125
49134
|
var theme = _this.theme;
|
|
49126
49135
|
if ((_a = options === null || options === void 0 ? void 0 : options.mask) !== null && _a !== void 0 ? _a : theme.isOverflowMaskEnabled()) {
|
|
@@ -49976,8 +49985,9 @@
|
|
|
49976
49985
|
var DButtonSelect = /** @class */ (function (_super) {
|
|
49977
49986
|
__extends(DButtonSelect, _super);
|
|
49978
49987
|
function DButtonSelect(options) {
|
|
49988
|
+
var _this = this;
|
|
49979
49989
|
var _a, _b;
|
|
49980
|
-
|
|
49990
|
+
_this = _super.call(this, toOptions(options)) || this;
|
|
49981
49991
|
_this._dialogGetter = (_a = options === null || options === void 0 ? void 0 : options.getter) !== null && _a !== void 0 ? _a : defaultGetter$1;
|
|
49982
49992
|
_this._dialogSetter = (_b = options === null || options === void 0 ? void 0 : options.setter) !== null && _b !== void 0 ? _b : defaultSetter$1;
|
|
49983
49993
|
return _this;
|
|
@@ -53082,8 +53092,9 @@
|
|
|
53082
53092
|
var DChartSelectionSubImpl = /** @class */ (function (_super) {
|
|
53083
53093
|
__extends(DChartSelectionSubImpl, _super);
|
|
53084
53094
|
function DChartSelectionSubImpl(options) {
|
|
53095
|
+
var _this = this;
|
|
53085
53096
|
var _a, _b, _c;
|
|
53086
|
-
|
|
53097
|
+
_this = _super.call(this) || this;
|
|
53087
53098
|
_this._container = null;
|
|
53088
53099
|
_this._series = null;
|
|
53089
53100
|
_this._isEnabled = (_a = options.enable) !== null && _a !== void 0 ? _a : true;
|
|
@@ -53244,8 +53255,9 @@
|
|
|
53244
53255
|
var DChartSelectionSimple = /** @class */ (function (_super) {
|
|
53245
53256
|
__extends(DChartSelectionSimple, _super);
|
|
53246
53257
|
function DChartSelectionSimple(options) {
|
|
53258
|
+
var _this = this;
|
|
53247
53259
|
var _a;
|
|
53248
|
-
|
|
53260
|
+
_this = _super.call(this) || this;
|
|
53249
53261
|
_this._container = null;
|
|
53250
53262
|
var point = toEnum((_a = options === null || options === void 0 ? void 0 : options.point) !== null && _a !== void 0 ? _a : DChartSelectionPoint.CLOSER, DChartSelectionPoint);
|
|
53251
53263
|
_this._selected = _this.newSelected(point, options === null || options === void 0 ? void 0 : options.selected);
|
|
@@ -54110,8 +54122,9 @@
|
|
|
54110
54122
|
var DChartSeriesLine = /** @class */ (function (_super) {
|
|
54111
54123
|
__extends(DChartSeriesLine, _super);
|
|
54112
54124
|
function DChartSeriesLine(options) {
|
|
54125
|
+
var _this = this;
|
|
54113
54126
|
var _a;
|
|
54114
|
-
|
|
54127
|
+
_this = _super.call(this, options) || this;
|
|
54115
54128
|
_this._line = null;
|
|
54116
54129
|
_this._options = options;
|
|
54117
54130
|
_this._points = (_a = options === null || options === void 0 ? void 0 : options.points) !== null && _a !== void 0 ? _a : [];
|
|
@@ -55034,8 +55047,9 @@
|
|
|
55034
55047
|
var DDiagramBase = /** @class */ (function (_super) {
|
|
55035
55048
|
__extends(DDiagramBase, _super);
|
|
55036
55049
|
function DDiagramBase(options) {
|
|
55050
|
+
var _this = this;
|
|
55037
55051
|
var _a;
|
|
55038
|
-
|
|
55052
|
+
_this = _super.call(this, options) || this;
|
|
55039
55053
|
_this._serialized = null;
|
|
55040
55054
|
_this._tileFactory = options === null || options === void 0 ? void 0 : options.tile;
|
|
55041
55055
|
_this._controller = options === null || options === void 0 ? void 0 : options.controller;
|
|
@@ -57088,10 +57102,10 @@
|
|
|
57088
57102
|
var formatter = Function("value",
|
|
57089
57103
|
/* eslint-disable prettier/prettier */
|
|
57090
57104
|
"try {" +
|
|
57091
|
-
|
|
57105
|
+
"return (".concat(datumFormat, ");") +
|
|
57092
57106
|
"} catch( e1 ) {" +
|
|
57093
57107
|
"try {" +
|
|
57094
|
-
|
|
57108
|
+
"return (".concat(0 < datumInitial.length ? datumInitial : 0, ");") +
|
|
57095
57109
|
"} catch( e2 ) {" +
|
|
57096
57110
|
"return 0;" +
|
|
57097
57111
|
"}" +
|
|
@@ -57114,7 +57128,7 @@
|
|
|
57114
57128
|
shapeDatum.value = initialMap[datumInitial] = Function(
|
|
57115
57129
|
/* eslint-disable prettier/prettier */
|
|
57116
57130
|
"try {" +
|
|
57117
|
-
|
|
57131
|
+
"return (".concat(datumInitial, ");") +
|
|
57118
57132
|
"} catch( e ) {" +
|
|
57119
57133
|
"return 0;" +
|
|
57120
57134
|
"}"
|
|
@@ -57346,8 +57360,9 @@
|
|
|
57346
57360
|
var DDialogProcessing = /** @class */ (function (_super) {
|
|
57347
57361
|
__extends(DDialogProcessing, _super);
|
|
57348
57362
|
function DDialogProcessing(options) {
|
|
57363
|
+
var _this = this;
|
|
57349
57364
|
var _a;
|
|
57350
|
-
|
|
57365
|
+
_this = _super.call(this, options) || this;
|
|
57351
57366
|
_this._isDone = true;
|
|
57352
57367
|
_this._startTime = 0;
|
|
57353
57368
|
var delay = options === null || options === void 0 ? void 0 : options.delay;
|
|
@@ -58793,20 +58808,20 @@
|
|
|
58793
58808
|
*/
|
|
58794
58809
|
var DMapTileUrlBuilderKokudo = function (tz, tx, ty) {
|
|
58795
58810
|
if (5 <= tz) {
|
|
58796
|
-
return "https://cyberjapandata.gsi.go.jp/xyz/pale/"
|
|
58811
|
+
return "https://cyberjapandata.gsi.go.jp/xyz/pale/".concat(tz, "/").concat(tx, "/").concat(ty, ".png");
|
|
58797
58812
|
}
|
|
58798
58813
|
else if (2 <= tz) {
|
|
58799
|
-
return "https://cyberjapandata.gsi.go.jp/xyz/std/"
|
|
58814
|
+
return "https://cyberjapandata.gsi.go.jp/xyz/std/".concat(tz, "/").concat(tx, "/").concat(ty, ".png");
|
|
58800
58815
|
}
|
|
58801
58816
|
else {
|
|
58802
|
-
return "https://cyberjapandata.gsi.go.jp/xyz/earthhillshade/"
|
|
58817
|
+
return "https://cyberjapandata.gsi.go.jp/xyz/earthhillshade/".concat(tz, "/").concat(tx, "/").concat(ty, ".png");
|
|
58803
58818
|
}
|
|
58804
58819
|
};
|
|
58805
58820
|
var DMapTileUrlBuilderOsm = function (tz, tx, ty) {
|
|
58806
|
-
return "https://"
|
|
58821
|
+
return "https://".concat("abc"[(tx + ty) % 3], ".tile.openstreetmap.org/").concat(tz, "/").concat(tx, "/").concat(ty, ".png");
|
|
58807
58822
|
};
|
|
58808
58823
|
var DMapTileUrlBuilderOsmfj = function (tz, tx, ty) {
|
|
58809
|
-
return "https://j.tile.openstreetmap.jp/"
|
|
58824
|
+
return "https://j.tile.openstreetmap.jp/".concat(tz, "/").concat(tx, "/").concat(ty, ".png");
|
|
58810
58825
|
};
|
|
58811
58826
|
var DMapTilePyramids = /** @class */ (function () {
|
|
58812
58827
|
function DMapTilePyramids() {
|
|
@@ -58993,8 +59008,9 @@
|
|
|
58993
59008
|
var DMenuSidedSelection = /** @class */ (function (_super) {
|
|
58994
59009
|
__extends(DMenuSidedSelection, _super);
|
|
58995
59010
|
function DMenuSidedSelection(content, options) {
|
|
59011
|
+
var _this = this;
|
|
58996
59012
|
var _a, _b, _c;
|
|
58997
|
-
|
|
59013
|
+
_this = _super.call(this) || this;
|
|
58998
59014
|
_this._content = content;
|
|
58999
59015
|
_this._item = null;
|
|
59000
59016
|
_this._isDirty = true;
|
|
@@ -59115,8 +59131,9 @@
|
|
|
59115
59131
|
var DMenuSided = /** @class */ (function (_super) {
|
|
59116
59132
|
__extends(DMenuSided, _super);
|
|
59117
59133
|
function DMenuSided(options) {
|
|
59134
|
+
var _this = this;
|
|
59118
59135
|
var _a;
|
|
59119
|
-
|
|
59136
|
+
_this = _super.call(this, options) || this;
|
|
59120
59137
|
var context = new DMenuContext(_this);
|
|
59121
59138
|
_this._context = context;
|
|
59122
59139
|
context.add(_this);
|
|
@@ -59344,8 +59361,9 @@
|
|
|
59344
59361
|
var DPagination = /** @class */ (function (_super) {
|
|
59345
59362
|
__extends(DPagination, _super);
|
|
59346
59363
|
function DPagination(options) {
|
|
59364
|
+
var _this = this;
|
|
59347
59365
|
var _a, _b, _c, _d;
|
|
59348
|
-
|
|
59366
|
+
_this = _super.call(this, options) || this;
|
|
59349
59367
|
if (options != null) {
|
|
59350
59368
|
_this._size = (_b = (_a = options.size) !== null && _a !== void 0 ? _a : options.total) !== null && _b !== void 0 ? _b : 10;
|
|
59351
59369
|
_this._value = (_d = (_c = options.value) !== null && _c !== void 0 ? _c : options.selected) !== null && _d !== void 0 ? _d : 0;
|
|
@@ -60310,7 +60328,7 @@
|
|
|
60310
60328
|
var text = options.text || {};
|
|
60311
60329
|
options.text = text;
|
|
60312
60330
|
if (text.value == null) {
|
|
60313
|
-
text.value = ""
|
|
60331
|
+
text.value = "".concat(options.value);
|
|
60314
60332
|
}
|
|
60315
60333
|
return options;
|
|
60316
60334
|
};
|
|
@@ -60325,7 +60343,7 @@
|
|
|
60325
60343
|
var text = options.text || {};
|
|
60326
60344
|
options.text = text;
|
|
60327
60345
|
if (text.value == null) {
|
|
60328
|
-
text.value = ""
|
|
60346
|
+
text.value = "".concat(options.value);
|
|
60329
60347
|
}
|
|
60330
60348
|
return options;
|
|
60331
60349
|
};
|
|
@@ -60752,8 +60770,9 @@
|
|
|
60752
60770
|
var DTableBodyCellSelectDialog = /** @class */ (function (_super) {
|
|
60753
60771
|
__extends(DTableBodyCellSelectDialog, _super);
|
|
60754
60772
|
function DTableBodyCellSelectDialog(columnIndex, column, onChange, options) {
|
|
60773
|
+
var _this = this;
|
|
60755
60774
|
var _a;
|
|
60756
|
-
|
|
60775
|
+
_this = _super.call(this, options) || this;
|
|
60757
60776
|
_this._rowIndex = -1;
|
|
60758
60777
|
_this._columnIndex = columnIndex;
|
|
60759
60778
|
_this._column = column;
|
|
@@ -60957,8 +60976,9 @@
|
|
|
60957
60976
|
var DTableBodyCellSelectPromise = /** @class */ (function (_super) {
|
|
60958
60977
|
__extends(DTableBodyCellSelectPromise, _super);
|
|
60959
60978
|
function DTableBodyCellSelectPromise(columnIndex, column, onChange, options) {
|
|
60979
|
+
var _this = this;
|
|
60960
60980
|
var _a;
|
|
60961
|
-
|
|
60981
|
+
_this = _super.call(this, options) || this;
|
|
60962
60982
|
_this._rowIndex = -1;
|
|
60963
60983
|
_this._columnIndex = columnIndex;
|
|
60964
60984
|
_this._column = column;
|
|
@@ -61147,8 +61167,9 @@
|
|
|
61147
61167
|
var DTableBodyCellButton = /** @class */ (function (_super) {
|
|
61148
61168
|
__extends(DTableBodyCellButton, _super);
|
|
61149
61169
|
function DTableBodyCellButton(columnIndex, column, onChange, options) {
|
|
61170
|
+
var _this = this;
|
|
61150
61171
|
var _a;
|
|
61151
|
-
|
|
61172
|
+
_this = _super.call(this, columnIndex, column, onChange, options) || this;
|
|
61152
61173
|
var when = toEnum((_a = options === null || options === void 0 ? void 0 : options.when) !== null && _a !== void 0 ? _a : DButtonBaseWhen.CLICKED, DButtonBaseWhen);
|
|
61153
61174
|
_this._when = when;
|
|
61154
61175
|
_this.initOnClick(when, _this.theme, options);
|
|
@@ -62583,8 +62604,9 @@
|
|
|
62583
62604
|
var DTableBodyCellTree = /** @class */ (function (_super) {
|
|
62584
62605
|
__extends(DTableBodyCellTree, _super);
|
|
62585
62606
|
function DTableBodyCellTree(columnIndex, column, onChange, options) {
|
|
62607
|
+
var _this = this;
|
|
62586
62608
|
var _a;
|
|
62587
|
-
|
|
62609
|
+
_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;
|
|
62588
62610
|
_this._padding = new DBasePaddingAdjustable(_this._padding);
|
|
62589
62611
|
return _this;
|
|
62590
62612
|
}
|
|
@@ -62710,8 +62732,9 @@
|
|
|
62710
62732
|
var DTableRow = /** @class */ (function (_super) {
|
|
62711
62733
|
__extends(DTableRow, _super);
|
|
62712
62734
|
function DTableRow(options) {
|
|
62735
|
+
var _this = this;
|
|
62713
62736
|
var _a, _b;
|
|
62714
|
-
|
|
62737
|
+
_this = _super.call(this, options) || this;
|
|
62715
62738
|
_this._reverse = true;
|
|
62716
62739
|
_this._frozen = (_a = options.frozen) !== null && _a !== void 0 ? _a : 0;
|
|
62717
62740
|
_this._columns = (_b = options.columns) !== null && _b !== void 0 ? _b : [];
|
|
@@ -63318,8 +63341,9 @@
|
|
|
63318
63341
|
var DTableDataListSelection = /** @class */ (function (_super) {
|
|
63319
63342
|
__extends(DTableDataListSelection, _super);
|
|
63320
63343
|
function DTableDataListSelection(parent, options) {
|
|
63344
|
+
var _this = this;
|
|
63321
63345
|
var _a;
|
|
63322
|
-
|
|
63346
|
+
_this = _super.call(this) || this;
|
|
63323
63347
|
_this._parent = parent;
|
|
63324
63348
|
_this._type = toEnum((_a = options === null || options === void 0 ? void 0 : options.type) !== null && _a !== void 0 ? _a : DTableDataSelectionType.NONE, DTableDataSelectionType);
|
|
63325
63349
|
_this._indices = new Set();
|
|
@@ -63998,8 +64022,9 @@
|
|
|
63998
64022
|
var DTableBody = /** @class */ (function (_super) {
|
|
63999
64023
|
__extends(DTableBody, _super);
|
|
64000
64024
|
function DTableBody(options) {
|
|
64025
|
+
var _this = this;
|
|
64001
64026
|
var _a;
|
|
64002
|
-
|
|
64027
|
+
_this = _super.call(this, options) || this;
|
|
64003
64028
|
_this.transform.position.y = (_a = options.offset) !== null && _a !== void 0 ? _a : 0;
|
|
64004
64029
|
var data = _this.toData(options.data);
|
|
64005
64030
|
_this._data = data;
|
|
@@ -64386,8 +64411,9 @@
|
|
|
64386
64411
|
var DTableCategory = /** @class */ (function (_super) {
|
|
64387
64412
|
__extends(DTableCategory, _super);
|
|
64388
64413
|
function DTableCategory(options) {
|
|
64414
|
+
var _this = this;
|
|
64389
64415
|
var _a;
|
|
64390
|
-
|
|
64416
|
+
_this = _super.call(this, options) || this;
|
|
64391
64417
|
var offset = (_a = options.offset) !== null && _a !== void 0 ? _a : 0;
|
|
64392
64418
|
_this._offset = offset;
|
|
64393
64419
|
_this.transform.position.y = offset;
|
|
@@ -64645,8 +64671,9 @@
|
|
|
64645
64671
|
var DTableDataTreeSelectionImpl = /** @class */ (function (_super) {
|
|
64646
64672
|
__extends(DTableDataTreeSelectionImpl, _super);
|
|
64647
64673
|
function DTableDataTreeSelectionImpl(parent, options) {
|
|
64674
|
+
var _this = this;
|
|
64648
64675
|
var _a;
|
|
64649
|
-
|
|
64676
|
+
_this = _super.call(this) || this;
|
|
64650
64677
|
_this._parent = parent;
|
|
64651
64678
|
_this._type = toEnum((_a = options === null || options === void 0 ? void 0 : options.type) !== null && _a !== void 0 ? _a : DTableDataSelectionType.NONE, DTableDataSelectionType);
|
|
64652
64679
|
_this._rows = new Set();
|
|
@@ -65620,8 +65647,9 @@
|
|
|
65620
65647
|
var DTableHeader = /** @class */ (function (_super) {
|
|
65621
65648
|
__extends(DTableHeader, _super);
|
|
65622
65649
|
function DTableHeader(options) {
|
|
65650
|
+
var _this = this;
|
|
65623
65651
|
var _a, _b;
|
|
65624
|
-
|
|
65652
|
+
_this = _super.call(this, options) || this;
|
|
65625
65653
|
_this._table = (_a = options.table) !== null && _a !== void 0 ? _a : null;
|
|
65626
65654
|
var offset = (_b = options.offset) !== null && _b !== void 0 ? _b : 0;
|
|
65627
65655
|
_this._offset = offset;
|
|
@@ -67655,8 +67683,9 @@
|
|
|
67655
67683
|
var DTreeItemButton = /** @class */ (function (_super) {
|
|
67656
67684
|
__extends(DTreeItemButton, _super);
|
|
67657
67685
|
function DTreeItemButton(data, options) {
|
|
67686
|
+
var _this = this;
|
|
67658
67687
|
var _a;
|
|
67659
|
-
|
|
67688
|
+
_this = _super.call(this, data, options) || this;
|
|
67660
67689
|
var when = toEnum((_a = options === null || options === void 0 ? void 0 : options.when) !== null && _a !== void 0 ? _a : DButtonBaseWhen.CLICKED, DButtonBaseWhen);
|
|
67661
67690
|
_this._when = when;
|
|
67662
67691
|
_this.initOnClick(when, _this.theme, options);
|