@wcardinal/wcardinal-ui 0.372.0 → 0.374.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/types/wcardinal/ui/d-align-horizontal.d.ts +1 -1
- package/dist/types/wcardinal/ui/d-align-vertical.d.ts +1 -1
- package/dist/types/wcardinal/ui/d-align-with.d.ts +1 -1
- package/dist/types/wcardinal/ui/d-animation.d.ts +5 -5
- package/dist/types/wcardinal/ui/d-base-interactive.d.ts +1 -1
- package/dist/types/wcardinal/ui/d-base-point.d.ts +1 -1
- package/dist/types/wcardinal/ui/d-base-state-matcher.d.ts +1 -1
- package/dist/types/wcardinal/ui/d-base-state-set-impl-observable.d.ts +1 -1
- package/dist/types/wcardinal/ui/d-base.d.ts +1 -1
- package/dist/types/wcardinal/ui/d-border-mask.d.ts +1 -1
- package/dist/types/wcardinal/ui/d-button-base-when.d.ts +1 -1
- package/dist/types/wcardinal/ui/d-button-file.d.ts +1 -1
- package/dist/types/wcardinal/ui/d-button-select.d.ts +2 -2
- package/dist/types/wcardinal/ui/d-chart-axis-base-options.d.ts +4 -4
- package/dist/types/wcardinal/ui/d-chart-axis-position.d.ts +1 -1
- package/dist/types/wcardinal/ui/d-chart-axis-tick-position.d.ts +1 -1
- package/dist/types/wcardinal/ui/d-chart-coordinate-direction.d.ts +1 -1
- package/dist/types/wcardinal/ui/d-chart-coordinate-tick-major-step-function.d.ts +1 -1
- package/dist/types/wcardinal/ui/d-chart-coordinate-tick-minor-step-function.d.ts +1 -1
- package/dist/types/wcardinal/ui/d-chart-selection-shape.d.ts +1 -1
- package/dist/types/wcardinal/ui/d-chart-selection.d.ts +2 -2
- package/dist/types/wcardinal/ui/d-chart-series-scalar.d.ts +1 -1
- package/dist/types/wcardinal/ui/d-color-type.d.ts +1 -1
- package/dist/types/wcardinal/ui/d-coordinate.d.ts +3 -3
- package/dist/types/wcardinal/ui/d-corner-mask.d.ts +1 -1
- package/dist/types/wcardinal/ui/d-diagram-base-controller.d.ts +1 -1
- package/dist/types/wcardinal/ui/d-diagram-canvas-editor-snap.d.ts +1 -1
- package/dist/types/wcardinal/ui/d-diagram-canvas-tile.d.ts +1 -1
- package/dist/types/wcardinal/ui/d-diagram-data-mapper.d.ts +1 -1
- package/dist/types/wcardinal/ui/d-diagram-layers.d.ts +1 -1
- package/dist/types/wcardinal/ui/d-diagram-serialized.d.ts +6 -6
- package/dist/types/wcardinal/ui/d-dialog-close-on.d.ts +1 -1
- package/dist/types/wcardinal/ui/d-dialog-gesture-mode.d.ts +1 -1
- package/dist/types/wcardinal/ui/d-dialog-gesture.d.ts +1 -1
- package/dist/types/wcardinal/ui/d-dialog-mode.d.ts +1 -1
- package/dist/types/wcardinal/ui/d-dialog-select-search-dismissable.d.ts +1 -1
- package/dist/types/wcardinal/ui/d-dialog-select-search-function.d.ts +1 -1
- package/dist/types/wcardinal/ui/d-dialog-select.d.ts +2 -2
- package/dist/types/wcardinal/ui/d-dynamic-text-style-word-wrap.d.ts +1 -1
- package/dist/types/wcardinal/ui/d-dynamic-text-style.d.ts +1 -1
- package/dist/types/wcardinal/ui/d-font.d.ts +3 -3
- package/dist/types/wcardinal/ui/d-item-updater.d.ts +2 -2
- package/dist/types/wcardinal/ui/d-layout-clear-type.d.ts +1 -1
- package/dist/types/wcardinal/ui/d-layout-direction.d.ts +1 -1
- package/dist/types/wcardinal/ui/d-link-menu-item-id.d.ts +1 -1
- package/dist/types/wcardinal/ui/d-link-menu.d.ts +1 -1
- package/dist/types/wcardinal/ui/d-link-target.d.ts +1 -1
- package/dist/types/wcardinal/ui/d-link.d.ts +4 -4
- package/dist/types/wcardinal/ui/d-list-data-selection.d.ts +1 -1
- package/dist/types/wcardinal/ui/d-list-data.d.ts +1 -1
- package/dist/types/wcardinal/ui/d-list-item-accessor.d.ts +6 -6
- package/dist/types/wcardinal/ui/d-map-tile-url-builder.d.ts +1 -1
- package/dist/types/wcardinal/ui/d-menu-item-link.d.ts +2 -2
- package/dist/types/wcardinal/ui/d-menu-item-options-union.d.ts +1 -1
- package/dist/types/wcardinal/ui/d-menu-sided-selection.d.ts +1 -1
- package/dist/types/wcardinal/ui/d-menus.d.ts +2 -2
- package/dist/types/wcardinal/ui/d-on-options.d.ts +2 -2
- package/dist/types/wcardinal/ui/d-picker-datetime-mask.d.ts +1 -1
- package/dist/types/wcardinal/ui/d-picker-datetime.d.ts +3 -3
- package/dist/types/wcardinal/ui/d-scalar-expression.d.ts +7 -7
- package/dist/types/wcardinal/ui/d-scalar-function.d.ts +1 -1
- package/dist/types/wcardinal/ui/d-state-aware.d.ts +3 -3
- package/dist/types/wcardinal/ui/d-table-body-cell-link.d.ts +2 -2
- package/dist/types/wcardinal/ui/d-table-body-cell-options.d.ts +1 -1
- package/dist/types/wcardinal/ui/d-table-body-cell.d.ts +1 -1
- package/dist/types/wcardinal/ui/d-table-body-row.d.ts +1 -1
- package/dist/types/wcardinal/ui/d-table-column-editing.d.ts +4 -4
- package/dist/types/wcardinal/ui/d-table-column-formatter.d.ts +1 -1
- package/dist/types/wcardinal/ui/d-table-column-getter.d.ts +1 -1
- package/dist/types/wcardinal/ui/d-table-column-renderable.d.ts +1 -1
- package/dist/types/wcardinal/ui/d-table-column-selecting.d.ts +2 -2
- package/dist/types/wcardinal/ui/d-table-column-setter.d.ts +1 -1
- package/dist/types/wcardinal/ui/d-table-column-state.d.ts +1 -1
- package/dist/types/wcardinal/ui/d-table-column-type.d.ts +1 -1
- package/dist/types/wcardinal/ui/d-table-column-update.d.ts +1 -1
- package/dist/types/wcardinal/ui/d-table-data-filter.d.ts +2 -2
- package/dist/types/wcardinal/ui/d-table-data-selection.d.ts +3 -3
- package/dist/types/wcardinal/ui/d-table-data-sorter.d.ts +3 -3
- package/dist/types/wcardinal/ui/d-table-data-tree-item-accessor.d.ts +3 -3
- package/dist/types/wcardinal/ui/d-table-data-tree-selection.d.ts +1 -1
- package/dist/types/wcardinal/ui/d-table-data.d.ts +3 -3
- package/dist/types/wcardinal/ui/d-tree-data-mapped-impl.d.ts +3 -2
- package/dist/types/wcardinal/ui/d-tree-data-selection.d.ts +1 -1
- package/dist/types/wcardinal/ui/d-tree-node-iteratee.d.ts +1 -1
- package/dist/types/wcardinal/ui/d-view-constraint.d.ts +1 -1
- package/dist/types/wcardinal/ui/d-view-to-target.d.ts +1 -1
- package/dist/types/wcardinal/ui/d-view.d.ts +1 -1
- package/dist/types/wcardinal/ui/shape/action/e-shape-action-expression-with-parameter.d.ts +1 -1
- package/dist/types/wcardinal/ui/shape/action/e-shape-action-expression.d.ts +1 -1
- package/dist/types/wcardinal/ui/shape/action/e-shape-action-open-dialog-opener.d.ts +1 -1
- package/dist/types/wcardinal/ui/shape/action/e-shape-action-open-opener.d.ts +1 -1
- package/dist/types/wcardinal/ui/shape/action/e-shape-action-value-blink-type.d.ts +1 -1
- package/dist/types/wcardinal/ui/shape/action/e-shape-action-value-blink.d.ts +1 -1
- package/dist/types/wcardinal/ui/shape/action/e-shape-action-value-change-color-brightness.d.ts +2 -2
- package/dist/types/wcardinal/ui/shape/action/e-shape-action-value-change-color-code.d.ts +2 -2
- package/dist/types/wcardinal/ui/shape/action/e-shape-action-value-change-color-target.d.ts +1 -1
- package/dist/types/wcardinal/ui/shape/action/e-shape-action-value-change-color-type-legacy.d.ts +1 -1
- package/dist/types/wcardinal/ui/shape/action/e-shape-action-value-change-color-type.d.ts +1 -1
- package/dist/types/wcardinal/ui/shape/action/e-shape-action-value-change-color.d.ts +3 -3
- package/dist/types/wcardinal/ui/shape/action/e-shape-action-value-change-cursor.d.ts +1 -1
- package/dist/types/wcardinal/ui/shape/action/e-shape-action-value-change-text-type.d.ts +1 -1
- package/dist/types/wcardinal/ui/shape/action/e-shape-action-value-change-text.d.ts +1 -1
- package/dist/types/wcardinal/ui/shape/action/e-shape-action-value-deserializers.d.ts +1 -1
- package/dist/types/wcardinal/ui/shape/action/e-shape-action-value-emit-event.d.ts +1 -1
- package/dist/types/wcardinal/ui/shape/action/e-shape-action-value-gesture-operation-type.d.ts +1 -1
- package/dist/types/wcardinal/ui/shape/action/e-shape-action-value-gesture-type.d.ts +1 -1
- package/dist/types/wcardinal/ui/shape/action/e-shape-action-value-gesture.d.ts +3 -3
- package/dist/types/wcardinal/ui/shape/action/e-shape-action-value-misc-execute.d.ts +1 -1
- package/dist/types/wcardinal/ui/shape/action/e-shape-action-value-misc-type.d.ts +1 -1
- package/dist/types/wcardinal/ui/shape/action/e-shape-action-value-misc.d.ts +2 -2
- package/dist/types/wcardinal/ui/shape/action/e-shape-action-value-on-input-action.d.ts +1 -1
- package/dist/types/wcardinal/ui/shape/action/e-shape-action-value-open-dialog-extension.d.ts +3 -3
- package/dist/types/wcardinal/ui/shape/action/e-shape-action-value-open-dialog-type.d.ts +1 -1
- package/dist/types/wcardinal/ui/shape/action/e-shape-action-value-open-dialog.d.ts +5 -5
- package/dist/types/wcardinal/ui/shape/action/e-shape-action-value-open-type.d.ts +1 -1
- package/dist/types/wcardinal/ui/shape/action/e-shape-action-value-open.d.ts +3 -3
- package/dist/types/wcardinal/ui/shape/action/e-shape-action-value-show-hide-layer.d.ts +1 -1
- package/dist/types/wcardinal/ui/shape/action/e-shape-action-value-show-hide-shape.d.ts +1 -1
- package/dist/types/wcardinal/ui/shape/action/e-shape-action-value-show-hide-type.d.ts +1 -1
- package/dist/types/wcardinal/ui/shape/action/e-shape-action-value-show-hide.d.ts +1 -1
- package/dist/types/wcardinal/ui/shape/action/e-shape-action-value-transform-move-type.d.ts +1 -1
- package/dist/types/wcardinal/ui/shape/action/e-shape-action-value-transform-move.d.ts +1 -1
- package/dist/types/wcardinal/ui/shape/action/e-shape-action-value-transform-resize-type.d.ts +1 -1
- package/dist/types/wcardinal/ui/shape/action/e-shape-action-value-transform-resize.d.ts +1 -1
- package/dist/types/wcardinal/ui/shape/action/e-shape-action-value-transform-rotate-type.d.ts +1 -1
- package/dist/types/wcardinal/ui/shape/action/e-shape-action-value-transform-rotate.d.ts +1 -1
- package/dist/types/wcardinal/ui/shape/action/e-shape-action-value-transform-type.d.ts +1 -1
- package/dist/types/wcardinal/ui/shape/action/e-shape-action-value-type.d.ts +1 -1
- package/dist/types/wcardinal/ui/shape/e-shape-acceptor-edge-side.d.ts +1 -1
- package/dist/types/wcardinal/ui/shape/e-shape-acceptor-edge-type.d.ts +1 -1
- package/dist/types/wcardinal/ui/shape/e-shape-acceptor-type.d.ts +1 -1
- package/dist/types/wcardinal/ui/shape/e-shape-capability.d.ts +1 -1
- package/dist/types/wcardinal/ui/shape/e-shape-connector-body.d.ts +1 -1
- package/dist/types/wcardinal/ui/shape/e-shape-connector-container-impl.d.ts +1 -1
- package/dist/types/wcardinal/ui/shape/e-shape-connector-container.d.ts +2 -1
- package/dist/types/wcardinal/ui/shape/e-shape-connector-edge-container-impl.d.ts +2 -1
- package/dist/types/wcardinal/ui/shape/e-shape-connector-edge-container.d.ts +3 -2
- package/dist/types/wcardinal/ui/shape/e-shape-connector-edge-impl.d.ts +1 -1
- package/dist/types/wcardinal/ui/shape/e-shape-connector-edge.d.ts +2 -2
- package/dist/types/wcardinal/ui/shape/e-shape-copy-part.d.ts +1 -1
- package/dist/types/wcardinal/ui/shape/e-shape-corner.d.ts +1 -1
- package/dist/types/wcardinal/ui/shape/e-shape-data-mapping.d.ts +1 -1
- package/dist/types/wcardinal/ui/shape/e-shape-data-value-formatter.d.ts +1 -1
- package/dist/types/wcardinal/ui/shape/e-shape-data-value-order.d.ts +1 -1
- package/dist/types/wcardinal/ui/shape/e-shape-data-value-range.d.ts +1 -1
- package/dist/types/wcardinal/ui/shape/e-shape-data-value-scope.d.ts +1 -1
- package/dist/types/wcardinal/ui/shape/e-shape-data-value-state.d.ts +1 -1
- package/dist/types/wcardinal/ui/shape/e-shape-data-value-type.d.ts +1 -1
- package/dist/types/wcardinal/ui/shape/e-shape-deleter.d.ts +2 -0
- package/dist/types/wcardinal/ui/shape/e-shape-deserializers.d.ts +2 -2
- package/dist/types/wcardinal/ui/shape/e-shape-points-formatted.d.ts +2 -2
- package/dist/types/wcardinal/ui/shape/e-shape-points-formatter.d.ts +1 -1
- package/dist/types/wcardinal/ui/shape/e-shape-points-marker-container.d.ts +1 -1
- package/dist/types/wcardinal/ui/shape/e-shape-points-marker-type.d.ts +1 -1
- package/dist/types/wcardinal/ui/shape/e-shape-points-marker.d.ts +1 -1
- package/dist/types/wcardinal/ui/shape/e-shape-points-style.d.ts +1 -1
- package/dist/types/wcardinal/ui/shape/e-shape-points-styles.d.ts +1 -1
- package/dist/types/wcardinal/ui/shape/e-shape-resource-manager-deserialization-mode.d.ts +1 -1
- package/dist/types/wcardinal/ui/shape/e-shape-runtime-reset.d.ts +1 -1
- package/dist/types/wcardinal/ui/shape/e-shape-runtimes.d.ts +1 -1
- package/dist/types/wcardinal/ui/shape/e-shape-stroke-side.d.ts +1 -1
- package/dist/types/wcardinal/ui/shape/e-shape-stroke-style.d.ts +1 -1
- package/dist/types/wcardinal/ui/shape/e-shape-text-align-horizontal.d.ts +1 -1
- package/dist/types/wcardinal/ui/shape/e-shape-text-align-vertical.d.ts +1 -1
- package/dist/types/wcardinal/ui/shape/e-shape-text-direction.d.ts +1 -1
- package/dist/types/wcardinal/ui/shape/e-shape-text.d.ts +3 -3
- package/dist/types/wcardinal/ui/shape/e-shape-type.d.ts +1 -1
- package/dist/types/wcardinal/ui/shape/e-shape-uploaded-constructor.d.ts +1 -1
- package/dist/types/wcardinal/ui/shape/e-shape-uploadeds.d.ts +1 -1
- package/dist/types/wcardinal/ui/shape/e-shape.d.ts +6 -8
- package/dist/types/wcardinal/ui/shape/variant/build-line.d.ts +2 -2
- package/dist/types/wcardinal/ui/shape/variant/create-line-of-any-uploaded.d.ts +1 -1
- package/dist/types/wcardinal/ui/shape/variant/deserialize-bar.d.ts +1 -1
- package/dist/types/wcardinal/ui/shape/variant/deserialize-button.d.ts +1 -1
- package/dist/types/wcardinal/ui/shape/variant/deserialize-circle.d.ts +1 -1
- package/dist/types/wcardinal/ui/shape/variant/deserialize-connector-elbow.d.ts +1 -1
- package/dist/types/wcardinal/ui/shape/variant/deserialize-connector-line.d.ts +1 -1
- package/dist/types/wcardinal/ui/shape/variant/deserialize-embedded-acceptor-edge.d.ts +1 -1
- package/dist/types/wcardinal/ui/shape/variant/deserialize-group-shadowed.d.ts +1 -1
- package/dist/types/wcardinal/ui/shape/variant/deserialize-group.d.ts +1 -1
- package/dist/types/wcardinal/ui/shape/variant/deserialize-image-sdf.d.ts +1 -1
- package/dist/types/wcardinal/ui/shape/variant/deserialize-image.d.ts +1 -1
- package/dist/types/wcardinal/ui/shape/variant/deserialize-label.d.ts +1 -1
- package/dist/types/wcardinal/ui/shape/variant/deserialize-line-of-circles.d.ts +1 -1
- package/dist/types/wcardinal/ui/shape/variant/deserialize-line-of-rectangle-roundeds.d.ts +1 -1
- package/dist/types/wcardinal/ui/shape/variant/deserialize-line-of-rectangles.d.ts +1 -1
- package/dist/types/wcardinal/ui/shape/variant/deserialize-line-of-triangle-roundeds.d.ts +1 -1
- package/dist/types/wcardinal/ui/shape/variant/deserialize-line-of-triangles.d.ts +1 -1
- package/dist/types/wcardinal/ui/shape/variant/deserialize-line.d.ts +1 -1
- package/dist/types/wcardinal/ui/shape/variant/deserialize-null.d.ts +1 -1
- package/dist/types/wcardinal/ui/shape/variant/deserialize-rectangle-pivoted.d.ts +1 -1
- package/dist/types/wcardinal/ui/shape/variant/deserialize-rectangle-rounded.d.ts +1 -1
- package/dist/types/wcardinal/ui/shape/variant/deserialize-rectangle.d.ts +1 -1
- package/dist/types/wcardinal/ui/shape/variant/deserialize-semicircle.d.ts +1 -1
- package/dist/types/wcardinal/ui/shape/variant/deserialize-triangle-rounded.d.ts +1 -1
- package/dist/types/wcardinal/ui/shape/variant/deserialize-triangle.d.ts +1 -1
- package/dist/types/wcardinal/ui/shape/variant/e-shape-bar-position.d.ts +1 -1
- package/dist/types/wcardinal/ui/shape/variant/e-shape-base.d.ts +10 -13
- package/dist/types/wcardinal/ui/shape/variant/e-shape-connector-line.d.ts +6 -5
- package/dist/types/wcardinal/ui/shape/variant/e-shape-group-size-parent.d.ts +4 -3
- package/dist/types/wcardinal/ui/shape/variant/e-shape-line-base-hit-part.d.ts +1 -1
- package/dist/types/wcardinal/ui/shape/variant/e-shape-line-base-points-hit-tester-to-range.d.ts +1 -1
- package/dist/types/wcardinal/ui/shape/variant/e-shape-line-base-points-hit-tester-to-threshold.d.ts +1 -1
- package/dist/types/wcardinal/ui/shape/variant/e-shape-line-base-points-hit-tester.d.ts +1 -1
- package/dist/types/wcardinal/ui/shape/variant/e-shape-line-of-any-points-hit-tester-to-range.d.ts +1 -1
- package/dist/types/wcardinal/ui/shape/variant/e-shape-line-of-any-points-hit-tester-to-threshold.d.ts +1 -1
- package/dist/types/wcardinal/ui/shape/variant/e-shape-line-of-any-points-hit-tester.d.ts +1 -1
- package/dist/types/wcardinal/ui/shape/variant/e-shape-line-of-any-value.d.ts +1 -1
- package/dist/types/wcardinal/ui/shape/variant/e-shape-line-points.d.ts +1 -1
- package/dist/types/wcardinal/ui/shape/variant/e-shape-lock-part.d.ts +8 -0
- package/dist/types/wcardinal/ui/shape/variant/e-shape-lock.d.ts +9 -0
- package/dist/types/wcardinal/ui/shape/variant/index.d.ts +2 -0
- package/dist/types/wcardinal/ui/snapper/e-snapper-target-value.d.ts +1 -1
- package/dist/types/wcardinal/ui/snapper/e-snapper.d.ts +1 -1
- package/dist/types/wcardinal/ui/util/deep-partial.d.ts +1 -1
- package/dist/types/wcardinal/ui/util/dynamic-font-atlas-character-type.d.ts +1 -1
- package/dist/types/wcardinal/ui/util/dynamic-font-atlas-characters.d.ts +1 -1
- package/dist/types/wcardinal/ui/util/dynamic-sdf-font-generator.d.ts +1 -1
- package/dist/types/wcardinal/ui/util/number-formatter-function.d.ts +1 -1
- package/dist/types/wcardinal/ui/util/util-attach.d.ts +1 -1
- package/dist/types/wcardinal/ui/util/util-click-outside.d.ts +1 -1
- package/dist/types/wcardinal/ui/util/util-curve.d.ts +2 -2
- package/dist/types/wcardinal/ui/util/util-file-opener.d.ts +2 -2
- package/dist/types/wcardinal/ui/util/util-gesture-easing.d.ts +2 -2
- package/dist/types/wcardinal/ui/util/util-gesture-mode.d.ts +1 -1
- package/dist/types/wcardinal/ui/util/util-gesture-modifier.d.ts +1 -1
- package/dist/types/wcardinal/ui/util/util-gesture-modifiers.d.ts +1 -1
- package/dist/types/wcardinal/ui/util/util-gesture.d.ts +7 -7
- package/dist/types/wcardinal/ui/util/util-html-element-when.d.ts +1 -1
- package/dist/types/wcardinal/ui/util/util-html-element.d.ts +7 -7
- package/dist/types/wcardinal/ui/util/util-pointer-event.d.ts +2 -2
- package/dist/types/wcardinal/ui/util/util-wheel-event.d.ts +2 -2
- package/dist/wcardinal/ui/d-animation-base.js +1 -2
- package/dist/wcardinal/ui/d-animation-base.js.map +1 -1
- package/dist/wcardinal/ui/d-animation-empty.js +1 -2
- package/dist/wcardinal/ui/d-animation-empty.js.map +1 -1
- package/dist/wcardinal/ui/d-animation-fade-in.js +1 -2
- package/dist/wcardinal/ui/d-animation-fade-in.js.map +1 -1
- package/dist/wcardinal/ui/d-base.js +1 -2
- package/dist/wcardinal/ui/d-base.js.map +1 -1
- package/dist/wcardinal/ui/d-button-select.js +1 -2
- package/dist/wcardinal/ui/d-button-select.js.map +1 -1
- package/dist/wcardinal/ui/d-chart-axis-base-bar.js +3 -2
- package/dist/wcardinal/ui/d-chart-axis-base-bar.js.map +1 -1
- package/dist/wcardinal/ui/d-chart-axis-base-tick-container.js +7 -6
- package/dist/wcardinal/ui/d-chart-axis-base-tick-container.js.map +1 -1
- package/dist/wcardinal/ui/d-chart-axis-guide-simple-shape-impl.js +7 -6
- package/dist/wcardinal/ui/d-chart-axis-guide-simple-shape-impl.js.map +1 -1
- package/dist/wcardinal/ui/d-chart-selection-simple.js +1 -2
- package/dist/wcardinal/ui/d-chart-selection-simple.js.map +1 -1
- package/dist/wcardinal/ui/d-chart-selection-sub-impl.js +1 -2
- package/dist/wcardinal/ui/d-chart-selection-sub-impl.js.map +1 -1
- package/dist/wcardinal/ui/d-chart-series-line-of-any.js +4 -4
- package/dist/wcardinal/ui/d-chart-series-line-of-any.js.map +1 -1
- package/dist/wcardinal/ui/d-chart-series-line.js +4 -4
- package/dist/wcardinal/ui/d-chart-series-line.js.map +1 -1
- package/dist/wcardinal/ui/d-chart-series-linear.js +3 -2
- package/dist/wcardinal/ui/d-chart-series-linear.js.map +1 -1
- package/dist/wcardinal/ui/d-diagram-base.js +1 -2
- package/dist/wcardinal/ui/d-diagram-base.js.map +1 -1
- package/dist/wcardinal/ui/d-diagram-canvas-base.js +1 -2
- package/dist/wcardinal/ui/d-diagram-canvas-base.js.map +1 -1
- package/dist/wcardinal/ui/d-diagram-canvas-editor-snap.js +5 -4
- package/dist/wcardinal/ui/d-diagram-canvas-editor-snap.js.map +1 -1
- package/dist/wcardinal/ui/d-dialog-processing.js +1 -2
- package/dist/wcardinal/ui/d-dialog-processing.js.map +1 -1
- package/dist/wcardinal/ui/d-dialog-select.js +1 -2
- package/dist/wcardinal/ui/d-dialog-select.js.map +1 -1
- package/dist/wcardinal/ui/d-menu-item-base.js +1 -2
- package/dist/wcardinal/ui/d-menu-item-base.js.map +1 -1
- package/dist/wcardinal/ui/d-menu-sided-selection.js +1 -2
- package/dist/wcardinal/ui/d-menu-sided-selection.js.map +1 -1
- package/dist/wcardinal/ui/d-menu-sided.js +1 -2
- package/dist/wcardinal/ui/d-menu-sided.js.map +1 -1
- package/dist/wcardinal/ui/d-pagination.js +1 -2
- package/dist/wcardinal/ui/d-pagination.js.map +1 -1
- package/dist/wcardinal/ui/d-pane.js +1 -2
- package/dist/wcardinal/ui/d-pane.js.map +1 -1
- package/dist/wcardinal/ui/d-scroll-bar.js +1 -2
- package/dist/wcardinal/ui/d-scroll-bar.js.map +1 -1
- package/dist/wcardinal/ui/d-slider-value.js +1 -2
- package/dist/wcardinal/ui/d-slider-value.js.map +1 -1
- package/dist/wcardinal/ui/d-table-body-cell-button.js +1 -2
- package/dist/wcardinal/ui/d-table-body-cell-button.js.map +1 -1
- package/dist/wcardinal/ui/d-table-body-cell-select-dialog.js +1 -2
- 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 +1 -2
- package/dist/wcardinal/ui/d-table-body-cell-select-promise.js.map +1 -1
- package/dist/wcardinal/ui/d-table-body.js +1 -2
- package/dist/wcardinal/ui/d-table-body.js.map +1 -1
- package/dist/wcardinal/ui/d-table-category.js +1 -2
- package/dist/wcardinal/ui/d-table-category.js.map +1 -1
- package/dist/wcardinal/ui/d-table-data-list-selection.js +1 -2
- package/dist/wcardinal/ui/d-table-data-list-selection.js.map +1 -1
- package/dist/wcardinal/ui/d-table-data-tree-selection-impl.js +1 -2
- package/dist/wcardinal/ui/d-table-data-tree-selection-impl.js.map +1 -1
- package/dist/wcardinal/ui/d-table-header.js +1 -2
- package/dist/wcardinal/ui/d-table-header.js.map +1 -1
- package/dist/wcardinal/ui/d-table-row.js +1 -2
- package/dist/wcardinal/ui/d-table-row.js.map +1 -1
- package/dist/wcardinal/ui/d-tree-data-mapped-impl.js.map +1 -1
- package/dist/wcardinal/ui/d-tree-item-button.js +1 -2
- package/dist/wcardinal/ui/d-tree-item-button.js.map +1 -1
- package/dist/wcardinal/ui/d-view-impl.js +1 -2
- package/dist/wcardinal/ui/d-view-impl.js.map +1 -1
- package/dist/wcardinal/ui/shape/e-shape-capability.js +1 -1
- package/dist/wcardinal/ui/shape/e-shape-capability.js.map +1 -1
- package/dist/wcardinal/ui/shape/e-shape-connector-container-impl.js +4 -2
- package/dist/wcardinal/ui/shape/e-shape-connector-container-impl.js.map +1 -1
- package/dist/wcardinal/ui/shape/e-shape-connector-container.js.map +1 -1
- package/dist/wcardinal/ui/shape/e-shape-connector-edge-container-impl.js +3 -3
- package/dist/wcardinal/ui/shape/e-shape-connector-edge-container-impl.js.map +1 -1
- package/dist/wcardinal/ui/shape/e-shape-connector-edge-container.js.map +1 -1
- package/dist/wcardinal/ui/shape/e-shape-connector-edge-impl.js +2 -2
- package/dist/wcardinal/ui/shape/e-shape-connector-edge-impl.js.map +1 -1
- package/dist/wcardinal/ui/shape/e-shape-connector-edge.js.map +1 -1
- package/dist/wcardinal/ui/shape/e-shape-deleter.js +18 -2
- package/dist/wcardinal/ui/shape/e-shape-deleter.js.map +1 -1
- package/dist/wcardinal/ui/shape/e-shape-runtime-impl.js +5 -4
- package/dist/wcardinal/ui/shape/e-shape-runtime-impl.js.map +1 -1
- package/dist/wcardinal/ui/shape/e-shape-transforms.js +5 -4
- package/dist/wcardinal/ui/shape/e-shape-transforms.js.map +1 -1
- package/dist/wcardinal/ui/shape/e-shape.js.map +1 -1
- package/dist/wcardinal/ui/shape/variant/deserialize-connector-line.js +3 -2
- package/dist/wcardinal/ui/shape/variant/deserialize-connector-line.js.map +1 -1
- package/dist/wcardinal/ui/shape/variant/e-shape-base.js +59 -73
- package/dist/wcardinal/ui/shape/variant/e-shape-base.js.map +1 -1
- package/dist/wcardinal/ui/shape/variant/e-shape-connector-line.js +18 -18
- package/dist/wcardinal/ui/shape/variant/e-shape-connector-line.js.map +1 -1
- package/dist/wcardinal/ui/shape/variant/e-shape-group-size-editor.js +33 -26
- package/dist/wcardinal/ui/shape/variant/e-shape-group-size-editor.js.map +1 -1
- package/dist/wcardinal/ui/shape/variant/e-shape-group-size-layout.js +3 -2
- package/dist/wcardinal/ui/shape/variant/e-shape-group-size-layout.js.map +1 -1
- package/dist/wcardinal/ui/shape/variant/e-shape-group-size-parent.js.map +1 -1
- package/dist/wcardinal/ui/shape/variant/e-shape-group.js +2 -0
- package/dist/wcardinal/ui/shape/variant/e-shape-group.js.map +1 -1
- package/dist/wcardinal/ui/shape/variant/e-shape-lock-part.js +8 -0
- package/dist/wcardinal/ui/shape/variant/e-shape-lock-part.js.map +1 -0
- package/dist/wcardinal/ui/shape/variant/e-shape-lock.js +31 -0
- package/dist/wcardinal/ui/shape/variant/e-shape-lock.js.map +1 -0
- package/dist/wcardinal/ui/shape/variant/index.js +2 -0
- package/dist/wcardinal/ui/shape/variant/index.js.map +1 -1
- package/dist/wcardinal/ui/shape/variant/to-resized.js +3 -2
- package/dist/wcardinal/ui/shape/variant/to-resized.js.map +1 -1
- package/dist/wcardinal/ui/snapper/e-snapper-grid.js +1 -2
- package/dist/wcardinal/ui/snapper/e-snapper-grid.js.map +1 -1
- package/dist/wcardinal/ui/snapper/e-snapper-target.js +1 -2
- package/dist/wcardinal/ui/snapper/e-snapper-target.js.map +1 -1
- package/dist/wcardinal/ui/snapper/e-snapper.js +1 -2
- package/dist/wcardinal/ui/snapper/e-snapper.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-atlas.js +1 -1
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-atlas.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-table-body-cells.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/d-theme-white-atlas.js +1 -1
- package/dist/wcardinal/ui/theme/white/d-theme-white-atlas.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/d-theme-white-table-body-cells.js.map +1 -1
- package/dist/wcardinal/ui/util/dynamic-sdf-font-generator.js.map +1 -1
- package/dist/wcardinal/ui/util/util-input-number.js +1 -2
- package/dist/wcardinal/ui/util/util-input-number.js.map +1 -1
- package/dist/wcardinal/ui/util/util-input.js +1 -2
- package/dist/wcardinal/ui/util/util-input.js.map +1 -1
- package/dist/wcardinal-ui-theme-dark.js +2 -2
- 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 +2 -2
- 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 +251 -240
- package/dist/wcardinal-ui.js +249 -238
- package/dist/wcardinal-ui.min.js +2 -2
- package/dist/wcardinal-ui.min.js.map +1 -1
- package/package.json +2 -2
package/dist/wcardinal-ui.cjs.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
Winter Cardinal UI v0.
|
|
2
|
+
Winter Cardinal UI v0.374.0
|
|
3
3
|
Copyright (C) 2019 Toshiba Corporation
|
|
4
4
|
SPDX-License-Identifier: Apache-2.0
|
|
5
5
|
|
|
@@ -2563,9 +2563,11 @@ var EShapeConnectorContainerImpl = /** @class */ (function () {
|
|
|
2563
2563
|
});
|
|
2564
2564
|
return this;
|
|
2565
2565
|
};
|
|
2566
|
-
EShapeConnectorContainerImpl.prototype.detach = function () {
|
|
2566
|
+
EShapeConnectorContainerImpl.prototype.detach = function (exceptions) {
|
|
2567
2567
|
this._edges.forEach(function (edge) {
|
|
2568
|
-
edge.
|
|
2568
|
+
if (exceptions == null || !exceptions.has(edge.parent)) {
|
|
2569
|
+
edge.set(null);
|
|
2570
|
+
}
|
|
2569
2571
|
});
|
|
2570
2572
|
return this;
|
|
2571
2573
|
};
|
|
@@ -4475,7 +4477,7 @@ var PRIMITIVE = ID | COORDINATE | SHAPE | TEXT$2 | TEXTURE | DATA | ACTION | CUR
|
|
|
4475
4477
|
var GROUP = PRIMITIVE | UNGROUPING;
|
|
4476
4478
|
var EMBEDDED = ID | COORDINATE | REPLACING | GROUPING | TEXT$2 | DATA | ACTION | LAYER | DATA_MAPPING;
|
|
4477
4479
|
var EMBEDDED_ACCEPTOR_EDGE = ID | COORDINATE | REPLACING | FILL$1 | STROKE$1 | TEXT$2 | TEXTURE | DATA | ACTION | CURSOR$1 | LAYER;
|
|
4478
|
-
var CONNECTOR = ID |
|
|
4480
|
+
var CONNECTOR = ID | SHAPE | TEXT$2 | TEXTURE | DATA | ACTION | CURSOR$1 | LAYER | CHILDREN$1;
|
|
4479
4481
|
var ALL = PRIMITIVE | STROKE_SIDE | BORDER_RADIUS | DATA_MAPPING | UNGROUPING;
|
|
4480
4482
|
var EShapeCapability = {
|
|
4481
4483
|
NONE: NONE,
|
|
@@ -4641,6 +4643,44 @@ var EShapeCapabilityContainerImpl = /** @class */ (function () {
|
|
|
4641
4643
|
return EShapeCapabilityContainerImpl;
|
|
4642
4644
|
}());
|
|
4643
4645
|
|
|
4646
|
+
var EShapeLock = /** @class */ (function () {
|
|
4647
|
+
function EShapeLock() {
|
|
4648
|
+
this._count = 0;
|
|
4649
|
+
this._flag = 0;
|
|
4650
|
+
}
|
|
4651
|
+
EShapeLock.prototype.lock = function () {
|
|
4652
|
+
this._count += 1;
|
|
4653
|
+
if (this._count === 1) {
|
|
4654
|
+
this._flag = 0;
|
|
4655
|
+
return true;
|
|
4656
|
+
}
|
|
4657
|
+
return false;
|
|
4658
|
+
};
|
|
4659
|
+
EShapeLock.prototype.unlock = function () {
|
|
4660
|
+
this._count -= 1;
|
|
4661
|
+
return this._count <= 0 && this._flag !== 0;
|
|
4662
|
+
};
|
|
4663
|
+
EShapeLock.prototype.isLocked = function (high) {
|
|
4664
|
+
if (0 < this._count) {
|
|
4665
|
+
this._flag |= high ? 3 : 1;
|
|
4666
|
+
return true;
|
|
4667
|
+
}
|
|
4668
|
+
return false;
|
|
4669
|
+
};
|
|
4670
|
+
EShapeLock.prototype.isHigh = function () {
|
|
4671
|
+
return 1 < this._flag;
|
|
4672
|
+
};
|
|
4673
|
+
return EShapeLock;
|
|
4674
|
+
}());
|
|
4675
|
+
|
|
4676
|
+
var EShapeLockPart = {
|
|
4677
|
+
TRANSFORM: 1,
|
|
4678
|
+
TRANSFORM_PARENT: 2,
|
|
4679
|
+
UPLOADED: 4,
|
|
4680
|
+
TRANSFORM_AND_UPLOADED: 7,
|
|
4681
|
+
CONNECTOR: 8
|
|
4682
|
+
};
|
|
4683
|
+
|
|
4644
4684
|
/*
|
|
4645
4685
|
* Copyright (C) 2019 Toshiba Corporation
|
|
4646
4686
|
* SPDX-License-Identifier: Apache-2.0
|
|
@@ -4653,13 +4693,11 @@ var EShapeBase = /** @class */ (function (_super) {
|
|
|
4653
4693
|
_this.uuid = 0;
|
|
4654
4694
|
_this.type = type;
|
|
4655
4695
|
_this.transform = _this.newTransform();
|
|
4656
|
-
_this._onTransformChangeLock = 0;
|
|
4657
|
-
_this._isOnTransformChanged = false;
|
|
4658
4696
|
_this.action = new EShapeAction();
|
|
4659
4697
|
_this._visible = true;
|
|
4660
|
-
_this.
|
|
4661
|
-
_this.
|
|
4662
|
-
_this.
|
|
4698
|
+
_this._lockTransform = new EShapeLock();
|
|
4699
|
+
_this._lockTransformParent = new EShapeLock();
|
|
4700
|
+
_this._lockUploaded = new EShapeLock();
|
|
4663
4701
|
_this._boundsTransformId = NaN;
|
|
4664
4702
|
_this._boundsInternalTransformId = NaN;
|
|
4665
4703
|
_this._boundsLocalTransformId = NaN;
|
|
@@ -4700,6 +4738,9 @@ var EShapeBase = /** @class */ (function (_super) {
|
|
|
4700
4738
|
this.onParentTransformChange();
|
|
4701
4739
|
};
|
|
4702
4740
|
EShapeBase.prototype.onParentTransformChange = function () {
|
|
4741
|
+
if (this._lockTransformParent.isLocked()) {
|
|
4742
|
+
return;
|
|
4743
|
+
}
|
|
4703
4744
|
this.updateUploaded();
|
|
4704
4745
|
var connector = this._connector;
|
|
4705
4746
|
if (connector != null) {
|
|
@@ -4711,79 +4752,62 @@ var EShapeBase = /** @class */ (function (_super) {
|
|
|
4711
4752
|
}
|
|
4712
4753
|
};
|
|
4713
4754
|
EShapeBase.prototype.onTransformChange_ = function () {
|
|
4714
|
-
if (this.
|
|
4715
|
-
|
|
4716
|
-
if (parent_1 != null) {
|
|
4717
|
-
parent_1.onChildTransformChange();
|
|
4718
|
-
}
|
|
4755
|
+
if (this._lockTransform.isLocked()) {
|
|
4756
|
+
return;
|
|
4719
4757
|
}
|
|
4720
|
-
|
|
4721
|
-
|
|
4758
|
+
var parent = this.parent;
|
|
4759
|
+
if (parent != null) {
|
|
4760
|
+
parent.onChildTransformChange();
|
|
4722
4761
|
}
|
|
4723
4762
|
};
|
|
4724
|
-
EShapeBase.prototype.
|
|
4725
|
-
|
|
4726
|
-
|
|
4727
|
-
|
|
4763
|
+
EShapeBase.prototype.lock = function (part) {
|
|
4764
|
+
if (part & EShapeLockPart.TRANSFORM) {
|
|
4765
|
+
this._lockTransform.lock();
|
|
4766
|
+
}
|
|
4767
|
+
if (part & EShapeLockPart.TRANSFORM_PARENT) {
|
|
4768
|
+
this._lockTransformParent.lock();
|
|
4728
4769
|
}
|
|
4770
|
+
if (part & EShapeLockPart.UPLOADED) {
|
|
4771
|
+
this._lockUploaded.lock();
|
|
4772
|
+
}
|
|
4773
|
+
return this;
|
|
4729
4774
|
};
|
|
4730
|
-
EShapeBase.prototype.
|
|
4731
|
-
|
|
4732
|
-
|
|
4733
|
-
if (
|
|
4734
|
-
this.
|
|
4735
|
-
|
|
4736
|
-
|
|
4737
|
-
|
|
4775
|
+
EShapeBase.prototype.unlock = function (part, invoke) {
|
|
4776
|
+
if (part & EShapeLockPart.UPLOADED) {
|
|
4777
|
+
var lockUploaded = this._lockUploaded;
|
|
4778
|
+
if (lockUploaded.unlock() && invoke) {
|
|
4779
|
+
this.updateUploaded(lockUploaded.isHigh());
|
|
4780
|
+
}
|
|
4781
|
+
}
|
|
4782
|
+
if (part & EShapeLockPart.TRANSFORM_PARENT) {
|
|
4783
|
+
if (this._lockTransformParent.unlock() && invoke) {
|
|
4784
|
+
this.onParentTransformChange();
|
|
4785
|
+
}
|
|
4786
|
+
}
|
|
4787
|
+
if (part & EShapeLockPart.TRANSFORM) {
|
|
4788
|
+
if (this._lockTransform.unlock() && invoke) {
|
|
4789
|
+
this.onTransformChange();
|
|
4738
4790
|
}
|
|
4739
4791
|
}
|
|
4792
|
+
return this;
|
|
4740
4793
|
};
|
|
4741
4794
|
EShapeBase.prototype.onChildTransformChange = function () {
|
|
4742
4795
|
//
|
|
4743
4796
|
};
|
|
4744
|
-
EShapeBase.prototype.
|
|
4745
|
-
this.
|
|
4746
|
-
|
|
4747
|
-
this._isUploadedUpdated = false;
|
|
4748
|
-
this._isUploadedUpdatedRecursively = false;
|
|
4797
|
+
EShapeBase.prototype.updateUploaded = function (recursively) {
|
|
4798
|
+
if (this._lockUploaded.isLocked()) {
|
|
4799
|
+
return;
|
|
4749
4800
|
}
|
|
4750
|
-
|
|
4751
|
-
|
|
4752
|
-
|
|
4753
|
-
if (this._uploadedUpdateLock === 0) {
|
|
4754
|
-
if (this._isUploadedUpdatedRecursively) {
|
|
4755
|
-
this._isUploadedUpdatedRecursively = false;
|
|
4756
|
-
this._isUploadedUpdated = false;
|
|
4757
|
-
this.updateUploadedRecursively();
|
|
4758
|
-
}
|
|
4759
|
-
else if (this._isUploadedUpdated) {
|
|
4760
|
-
this._isUploadedUpdated = false;
|
|
4761
|
-
this.updateUploaded();
|
|
4762
|
-
}
|
|
4801
|
+
var uploaded = this.uploaded;
|
|
4802
|
+
if (uploaded != null) {
|
|
4803
|
+
uploaded.update(this);
|
|
4763
4804
|
}
|
|
4764
|
-
|
|
4765
|
-
EShapeBase.prototype.updateUploadedRecursively = function () {
|
|
4766
|
-
if (this._uploadedUpdateLock === 0) {
|
|
4767
|
-
this.updateUploaded();
|
|
4805
|
+
if (recursively === true) {
|
|
4768
4806
|
var children = this.children;
|
|
4769
4807
|
for (var i = 0, imax = children.length; i < imax; ++i) {
|
|
4770
|
-
children[i].
|
|
4808
|
+
children[i].updateUploaded(true);
|
|
4771
4809
|
}
|
|
4772
4810
|
}
|
|
4773
|
-
else {
|
|
4774
|
-
this._isUploadedUpdatedRecursively = true;
|
|
4775
|
-
}
|
|
4776
|
-
};
|
|
4777
|
-
EShapeBase.prototype.updateUploaded = function () {
|
|
4778
|
-
if (this._uploadedUpdateLock === 0) {
|
|
4779
|
-
var uploaded = this.uploaded;
|
|
4780
|
-
if (uploaded != null) {
|
|
4781
|
-
uploaded.update(this);
|
|
4782
|
-
}
|
|
4783
|
-
}
|
|
4784
|
-
else {
|
|
4785
|
-
this._isUploadedUpdated = true;
|
|
4786
|
-
}
|
|
4787
4811
|
};
|
|
4788
4812
|
Object.defineProperty(EShapeBase.prototype, "image", {
|
|
4789
4813
|
get: function () {
|
|
@@ -4828,9 +4852,9 @@ var EShapeBase = /** @class */ (function (_super) {
|
|
|
4828
4852
|
Object.defineProperty(EShapeBase.prototype, "visible", {
|
|
4829
4853
|
get: function () {
|
|
4830
4854
|
if (this._visible) {
|
|
4831
|
-
var
|
|
4832
|
-
if (
|
|
4833
|
-
return
|
|
4855
|
+
var parent_1 = this.parent;
|
|
4856
|
+
if (parent_1 instanceof EShapeBase) {
|
|
4857
|
+
return parent_1.visible;
|
|
4834
4858
|
}
|
|
4835
4859
|
return true;
|
|
4836
4860
|
}
|
|
@@ -4839,7 +4863,7 @@ var EShapeBase = /** @class */ (function (_super) {
|
|
|
4839
4863
|
set: function (visible) {
|
|
4840
4864
|
if (this._visible !== visible) {
|
|
4841
4865
|
this._visible = visible;
|
|
4842
|
-
this.
|
|
4866
|
+
this.updateUploaded(true);
|
|
4843
4867
|
}
|
|
4844
4868
|
},
|
|
4845
4869
|
enumerable: false,
|
|
@@ -4848,9 +4872,9 @@ var EShapeBase = /** @class */ (function (_super) {
|
|
|
4848
4872
|
Object.defineProperty(EShapeBase.prototype, "worldVisible", {
|
|
4849
4873
|
get: function () {
|
|
4850
4874
|
if (this._visible) {
|
|
4851
|
-
var
|
|
4852
|
-
if (
|
|
4853
|
-
return
|
|
4875
|
+
var parent_2 = this.parent;
|
|
4876
|
+
if (parent_2) {
|
|
4877
|
+
return parent_2.worldVisible;
|
|
4854
4878
|
}
|
|
4855
4879
|
return true;
|
|
4856
4880
|
}
|
|
@@ -4894,7 +4918,7 @@ var EShapeBase = /** @class */ (function (_super) {
|
|
|
4894
4918
|
children[i].onAttach();
|
|
4895
4919
|
}
|
|
4896
4920
|
};
|
|
4897
|
-
EShapeBase.prototype.detach = function () {
|
|
4921
|
+
EShapeBase.prototype.detach = function (exceptions) {
|
|
4898
4922
|
var parent = this.parent;
|
|
4899
4923
|
if (parent) {
|
|
4900
4924
|
this.parent = null;
|
|
@@ -4904,20 +4928,20 @@ var EShapeBase = /** @class */ (function (_super) {
|
|
|
4904
4928
|
children.splice(index, 1);
|
|
4905
4929
|
parent.onChildTransformChange();
|
|
4906
4930
|
parent.toDirty();
|
|
4907
|
-
this.onDetach();
|
|
4931
|
+
this.onDetach(exceptions);
|
|
4908
4932
|
}
|
|
4909
4933
|
}
|
|
4910
4934
|
return this;
|
|
4911
4935
|
};
|
|
4912
|
-
EShapeBase.prototype.onDetach = function () {
|
|
4936
|
+
EShapeBase.prototype.onDetach = function (exceptions) {
|
|
4913
4937
|
this.uploaded = undefined;
|
|
4914
4938
|
var connector = this._connector;
|
|
4915
4939
|
if (connector) {
|
|
4916
|
-
connector.detach();
|
|
4940
|
+
connector.detach(exceptions);
|
|
4917
4941
|
}
|
|
4918
4942
|
var children = this.children;
|
|
4919
4943
|
for (var i = 0, imax = children.length; i < imax; ++i) {
|
|
4920
|
-
children[i].onDetach();
|
|
4944
|
+
children[i].onDetach(exceptions);
|
|
4921
4945
|
}
|
|
4922
4946
|
};
|
|
4923
4947
|
// Transform
|
|
@@ -13774,9 +13798,8 @@ var toShortcuts = function (options) {
|
|
|
13774
13798
|
var DBase = /** @class */ (function (_super) {
|
|
13775
13799
|
__extends(DBase, _super);
|
|
13776
13800
|
function DBase(options) {
|
|
13777
|
-
var _this = this;
|
|
13778
13801
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
13779
|
-
_this = _super.call(this) || this;
|
|
13802
|
+
var _this = _super.call(this) || this;
|
|
13780
13803
|
// Transform
|
|
13781
13804
|
var transform = _this.transform;
|
|
13782
13805
|
_this._position = new DBasePoint(transform.position, function (newX, newY, oldX, oldY) {
|
|
@@ -15294,9 +15317,8 @@ var DAnimationTimings = /** @class */ (function () {
|
|
|
15294
15317
|
var DAnimationBase = /** @class */ (function (_super) {
|
|
15295
15318
|
__extends(DAnimationBase, _super);
|
|
15296
15319
|
function DAnimationBase(options) {
|
|
15297
|
-
var _this = this;
|
|
15298
15320
|
var _a, _b, _c;
|
|
15299
|
-
_this = _super.call(this) || this;
|
|
15321
|
+
var _this = _super.call(this) || this;
|
|
15300
15322
|
_this._id = null;
|
|
15301
15323
|
_this._target = (_a = options === null || options === void 0 ? void 0 : options.target) !== null && _a !== void 0 ? _a : null;
|
|
15302
15324
|
_this._startTime = 0;
|
|
@@ -16087,9 +16109,8 @@ var DViewTransformImpl = /** @class */ (function () {
|
|
|
16087
16109
|
var DViewImpl = /** @class */ (function (_super) {
|
|
16088
16110
|
__extends(DViewImpl, _super);
|
|
16089
16111
|
function DViewImpl(parent, toTarget, options) {
|
|
16090
|
-
var _this = this;
|
|
16091
16112
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s;
|
|
16092
|
-
_this = _super.call(this) || this;
|
|
16113
|
+
var _this = _super.call(this) || this;
|
|
16093
16114
|
_this._parent = parent;
|
|
16094
16115
|
_this._toTarget = toTarget;
|
|
16095
16116
|
_this._constraint = (options && options.constraint) || DViewImpl.CONSTRAINT;
|
|
@@ -16932,10 +16953,10 @@ var EShapeTransforms = /** @class */ (function () {
|
|
|
16932
16953
|
// Size
|
|
16933
16954
|
editor.size.copyFrom(shape.size);
|
|
16934
16955
|
//
|
|
16935
|
-
shape.
|
|
16956
|
+
shape.lock(EShapeLockPart.TRANSFORM);
|
|
16936
16957
|
};
|
|
16937
16958
|
EShapeTransforms.finalize = function (shape) {
|
|
16938
|
-
shape.
|
|
16959
|
+
shape.unlock(EShapeLockPart.TRANSFORM, true);
|
|
16939
16960
|
};
|
|
16940
16961
|
EShapeTransforms.apply = function (shape, transform, capability) {
|
|
16941
16962
|
var editor = shape.editor;
|
|
@@ -16949,7 +16970,7 @@ var EShapeTransforms = /** @class */ (function () {
|
|
|
16949
16970
|
}
|
|
16950
16971
|
};
|
|
16951
16972
|
EShapeTransforms.applyLocal = function (shape, localTransform, capability, size) {
|
|
16952
|
-
shape.
|
|
16973
|
+
shape.lock(EShapeLockPart.UPLOADED);
|
|
16953
16974
|
// Reconstruct the position, the rotation and the size
|
|
16954
16975
|
var a = localTransform.a;
|
|
16955
16976
|
var b = localTransform.b;
|
|
@@ -17009,7 +17030,7 @@ var EShapeTransforms = /** @class */ (function () {
|
|
|
17009
17030
|
}
|
|
17010
17031
|
}
|
|
17011
17032
|
//
|
|
17012
|
-
shape.
|
|
17033
|
+
shape.unlock(EShapeLockPart.UPLOADED, true);
|
|
17013
17034
|
};
|
|
17014
17035
|
return EShapeTransforms;
|
|
17015
17036
|
}());
|
|
@@ -17063,9 +17084,9 @@ var EShapeGroupSizeLayout = /** @class */ (function () {
|
|
|
17063
17084
|
.translate(-pivotX, -pivotY)
|
|
17064
17085
|
.scale(sx, sy)
|
|
17065
17086
|
.translate(+pivotX, +pivotY);
|
|
17066
|
-
shape.
|
|
17087
|
+
shape.lock(EShapeLockPart.TRANSFORM);
|
|
17067
17088
|
EShapeTransforms.applyLocal(shape, transform, EShapeCapability.ALL, childBase);
|
|
17068
|
-
shape.
|
|
17089
|
+
shape.unlock(EShapeLockPart.TRANSFORM, false);
|
|
17069
17090
|
};
|
|
17070
17091
|
EShapeGroupSizeLayout.WORK_TRANSFORM = new pixi_js.Matrix();
|
|
17071
17092
|
return EShapeGroupSizeLayout;
|
|
@@ -17169,41 +17190,43 @@ var EShapeGroupSizeEditor = /** @class */ (function () {
|
|
|
17169
17190
|
};
|
|
17170
17191
|
EShapeGroupSizeEditor.prototype.doFit = function () {
|
|
17171
17192
|
var parent = this._parent;
|
|
17172
|
-
parent.
|
|
17193
|
+
parent.lock(EShapeLockPart.TRANSFORM | EShapeLockPart.TRANSFORM_PARENT);
|
|
17173
17194
|
// Calculate the rect
|
|
17174
17195
|
var rect = this.calcRect(this._workRectForFit);
|
|
17175
17196
|
// Set size
|
|
17176
17197
|
var size = this._size;
|
|
17177
17198
|
size.set(rect.width, rect.height);
|
|
17178
|
-
//
|
|
17179
|
-
//
|
|
17180
|
-
//
|
|
17199
|
+
// Calculating new position & pivot
|
|
17200
|
+
//
|
|
17201
|
+
// cx := rect.x + rect.width * 0.5
|
|
17202
|
+
// cy := rect.y + rect.height * 0.5
|
|
17203
|
+
//
|
|
17204
|
+
// Since the local transform need to be unchanged:
|
|
17205
|
+
//
|
|
17206
|
+
// | a c tx | | a c px' - (a * pvx' + c * pvy') |
|
|
17207
|
+
// | b d ty | = | b d py' - (b * pvx' + d * pvy') |
|
|
17208
|
+
// | 0 0 1 | | 0 0 1 |
|
|
17181
17209
|
//
|
|
17182
|
-
//
|
|
17183
|
-
//
|
|
17184
|
-
// | 0 0 1 | | 0 0 1 | | 0 0 1 | | 0 0 1 | | 0 0 1 |
|
|
17210
|
+
// Here, (px', py') and (pvx', pvy') are the new position
|
|
17211
|
+
// and the new pivot, respectively.
|
|
17185
17212
|
//
|
|
17186
|
-
//
|
|
17187
|
-
// ty -> ty + (b * rx + d * ry) = poxition.y - (b * pivot.x + d * pivot.y)
|
|
17188
|
-
// position.x -> position.x + (a * rx + c * ry) - (a * pivot.x + c * pivot.y)
|
|
17189
|
-
// position.y -> position.y + (b * rx + d * ry) - (b * pivot.x + d * pivot.y)
|
|
17190
|
-
// pivot.x -> 0
|
|
17191
|
-
// pivot.y -> 0
|
|
17213
|
+
// Setting the new pivot (pvx', pvy') to (cx, cy) leads to
|
|
17192
17214
|
//
|
|
17193
|
-
// a
|
|
17215
|
+
// | a c tx | | a c px' - (a * cx + c * cy) |
|
|
17216
|
+
// | b d ty | = | b d py' - (b * cx + d * cy) |
|
|
17217
|
+
// | 0 0 1 | | 0 0 1 |
|
|
17194
17218
|
//
|
|
17195
|
-
//
|
|
17196
|
-
//
|
|
17197
|
-
// | 0 0 1 | | 0 0 1 | | 0 0 1 |
|
|
17219
|
+
// tx = px - (a * pvx + c * pvy) = px' - (a * cx + c * cy)
|
|
17220
|
+
// ty = py - (b * pvx + d * pvy) = py' - (b * cx + d * cy)
|
|
17198
17221
|
//
|
|
17199
|
-
//
|
|
17200
|
-
//
|
|
17201
|
-
//
|
|
17202
|
-
//
|
|
17222
|
+
// Thus, the new position (px', py') is
|
|
17223
|
+
//
|
|
17224
|
+
// px' = px + (a * (cx - pvx) + c * (cy - pvy))
|
|
17225
|
+
// py' = py + (b * (cy - pvx) + d * (cy - pvy))
|
|
17203
17226
|
parent.updateTransform();
|
|
17204
17227
|
var transform = parent.transform;
|
|
17205
|
-
var
|
|
17206
|
-
var
|
|
17228
|
+
var cx = rect.x + rect.width * 0.5;
|
|
17229
|
+
var cy = rect.y + rect.height * 0.5;
|
|
17207
17230
|
var position = transform.position;
|
|
17208
17231
|
var localTransform = transform.localTransform;
|
|
17209
17232
|
var a = localTransform.a;
|
|
@@ -17211,12 +17234,16 @@ var EShapeGroupSizeEditor = /** @class */ (function () {
|
|
|
17211
17234
|
var c = localTransform.c;
|
|
17212
17235
|
var d = localTransform.d;
|
|
17213
17236
|
var pivot = transform.pivot;
|
|
17214
|
-
|
|
17215
|
-
pivot.
|
|
17237
|
+
var pvx = pivot.x;
|
|
17238
|
+
var pvy = pivot.y;
|
|
17239
|
+
var dpvx = cx - pvx;
|
|
17240
|
+
var dpvy = cy - pvy;
|
|
17241
|
+
position.set(position.x + (a * dpvx + c * dpvy), position.y + (b * dpvx + d * dpvy));
|
|
17242
|
+
pivot.set(cx, cy);
|
|
17216
17243
|
// Reset the data
|
|
17217
17244
|
this.reset(parent.children, this._layouts, size);
|
|
17218
17245
|
//
|
|
17219
|
-
parent.
|
|
17246
|
+
parent.unlock(EShapeLockPart.TRANSFORM | EShapeLockPart.TRANSFORM_PARENT, true);
|
|
17220
17247
|
};
|
|
17221
17248
|
EShapeGroupSizeEditor.prototype.reset = function (children, layouts, size) {
|
|
17222
17249
|
for (var i = 0, imax = Math.min(layouts.length, children.length); i < imax; ++i) {
|
|
@@ -18611,9 +18638,9 @@ var EShapeConnectorEdgeImpl = /** @class */ (function () {
|
|
|
18611
18638
|
}
|
|
18612
18639
|
return this;
|
|
18613
18640
|
};
|
|
18614
|
-
EShapeConnectorEdgeImpl.prototype.detach = function () {
|
|
18641
|
+
EShapeConnectorEdgeImpl.prototype.detach = function (exceptions) {
|
|
18615
18642
|
var shape = this._acceptor.shape;
|
|
18616
|
-
if (shape) {
|
|
18643
|
+
if (shape != null && (exceptions == null || !exceptions.has(shape))) {
|
|
18617
18644
|
if (shape.connector.remove(this)) {
|
|
18618
18645
|
this.onAcceptorChange();
|
|
18619
18646
|
}
|
|
@@ -18725,10 +18752,10 @@ var EShapeConnectorEdgeContainerImpl = /** @class */ (function () {
|
|
|
18725
18752
|
this.unlock();
|
|
18726
18753
|
return this;
|
|
18727
18754
|
};
|
|
18728
|
-
EShapeConnectorEdgeContainerImpl.prototype.detach = function () {
|
|
18755
|
+
EShapeConnectorEdgeContainerImpl.prototype.detach = function (exceptions) {
|
|
18729
18756
|
this.lock();
|
|
18730
|
-
this._tail.detach();
|
|
18731
|
-
this._head.detach();
|
|
18757
|
+
this._tail.detach(exceptions);
|
|
18758
|
+
this._head.detach(exceptions);
|
|
18732
18759
|
this.unlock();
|
|
18733
18760
|
return this;
|
|
18734
18761
|
};
|
|
@@ -20097,8 +20124,7 @@ var EShapeConnectorLine = /** @class */ (function (_super) {
|
|
|
20097
20124
|
_this._headNormalId = 0;
|
|
20098
20125
|
_this._headMargin = 0;
|
|
20099
20126
|
_this._bodyId = 0;
|
|
20100
|
-
_this.
|
|
20101
|
-
_this._isChanged = false;
|
|
20127
|
+
_this._lockChange = new EShapeLock();
|
|
20102
20128
|
var sx = EShapeDefaults.SIZE_X;
|
|
20103
20129
|
var sy = EShapeDefaults.SIZE_Y;
|
|
20104
20130
|
var hx = sx * 0.5;
|
|
@@ -20111,20 +20137,20 @@ var EShapeConnectorLine = /** @class */ (function (_super) {
|
|
|
20111
20137
|
_this._body = new EShapeConnectorBodyImpl(_this, onChangeBound);
|
|
20112
20138
|
return _this;
|
|
20113
20139
|
}
|
|
20114
|
-
EShapeConnectorLine.prototype.lock = function () {
|
|
20115
|
-
this
|
|
20116
|
-
if (
|
|
20117
|
-
this.
|
|
20140
|
+
EShapeConnectorLine.prototype.lock = function (part) {
|
|
20141
|
+
_super.prototype.lock.call(this, part);
|
|
20142
|
+
if (part & EShapeLockPart.CONNECTOR) {
|
|
20143
|
+
this._lockChange.lock();
|
|
20118
20144
|
}
|
|
20145
|
+
return this;
|
|
20119
20146
|
};
|
|
20120
|
-
EShapeConnectorLine.prototype.unlock = function () {
|
|
20121
|
-
|
|
20122
|
-
|
|
20123
|
-
if (this._isChanged) {
|
|
20147
|
+
EShapeConnectorLine.prototype.unlock = function (part, invoke) {
|
|
20148
|
+
if (part & EShapeLockPart.CONNECTOR) {
|
|
20149
|
+
if (this._lockChange.unlock() && invoke) {
|
|
20124
20150
|
this.onChange();
|
|
20125
20151
|
}
|
|
20126
|
-
this._isChanged = false;
|
|
20127
20152
|
}
|
|
20153
|
+
return _super.prototype.unlock.call(this, part, invoke);
|
|
20128
20154
|
};
|
|
20129
20155
|
Object.defineProperty(EShapeConnectorLine.prototype, "points", {
|
|
20130
20156
|
get: function () {
|
|
@@ -20151,14 +20177,13 @@ var EShapeConnectorLine = /** @class */ (function (_super) {
|
|
|
20151
20177
|
_super.prototype.onAttach.call(this);
|
|
20152
20178
|
this._edge.attach();
|
|
20153
20179
|
};
|
|
20154
|
-
EShapeConnectorLine.prototype.onDetach = function () {
|
|
20155
|
-
this._edge.detach();
|
|
20156
|
-
_super.prototype.onDetach.call(this);
|
|
20180
|
+
EShapeConnectorLine.prototype.onDetach = function (exceptions) {
|
|
20181
|
+
this._edge.detach(exceptions);
|
|
20182
|
+
_super.prototype.onDetach.call(this, exceptions);
|
|
20157
20183
|
};
|
|
20158
20184
|
EShapeConnectorLine.prototype.onChange = function () {
|
|
20159
20185
|
var _a;
|
|
20160
|
-
if (
|
|
20161
|
-
this._isChanged = true;
|
|
20186
|
+
if (this._lockChange.isLocked()) {
|
|
20162
20187
|
return;
|
|
20163
20188
|
}
|
|
20164
20189
|
var edge = this._edge;
|
|
@@ -20206,7 +20231,7 @@ var EShapeConnectorLine = /** @class */ (function (_super) {
|
|
|
20206
20231
|
values[i + 0] -= cx;
|
|
20207
20232
|
values[i + 1] -= cy;
|
|
20208
20233
|
}
|
|
20209
|
-
this.
|
|
20234
|
+
this.lock(EShapeLockPart.TRANSFORM_AND_UPLOADED);
|
|
20210
20235
|
transformPosition.set(px + cx, py + cy);
|
|
20211
20236
|
transform.scale.set(1, 1);
|
|
20212
20237
|
transform.rotation = 0;
|
|
@@ -20214,7 +20239,7 @@ var EShapeConnectorLine = /** @class */ (function (_super) {
|
|
|
20214
20239
|
points.toFitted(sx, sy);
|
|
20215
20240
|
this.size.set(sx, sy);
|
|
20216
20241
|
points.set(values);
|
|
20217
|
-
this.
|
|
20242
|
+
this.unlock(EShapeLockPart.TRANSFORM_AND_UPLOADED, true);
|
|
20218
20243
|
}
|
|
20219
20244
|
};
|
|
20220
20245
|
EShapeConnectorLine.prototype.fillPoints = function (tail, tailMargin, head, headMargin, body, px, py, values) {
|
|
@@ -24263,12 +24288,12 @@ var EShapeRuntimeImpl = /** @class */ (function () {
|
|
|
24263
24288
|
this.interactive = false;
|
|
24264
24289
|
}
|
|
24265
24290
|
EShapeRuntimeImpl.prototype.initialize = function (shape) {
|
|
24266
|
-
shape.
|
|
24291
|
+
shape.lock(EShapeLockPart.UPLOADED);
|
|
24267
24292
|
var actions = this.actions;
|
|
24268
24293
|
for (var i = 0, imax = actions.length; i < imax; ++i) {
|
|
24269
24294
|
actions[i].initialize(shape, this);
|
|
24270
24295
|
}
|
|
24271
|
-
shape.
|
|
24296
|
+
shape.unlock(EShapeLockPart.UPLOADED, true);
|
|
24272
24297
|
};
|
|
24273
24298
|
EShapeRuntimeImpl.prototype.isActionable = function () {
|
|
24274
24299
|
return 0 < this.actions.length;
|
|
@@ -24595,9 +24620,9 @@ var EShapeRuntimeImpl = /** @class */ (function () {
|
|
|
24595
24620
|
if (isEffectTimeUp) {
|
|
24596
24621
|
this.effect = NaN;
|
|
24597
24622
|
}
|
|
24598
|
-
shape.
|
|
24623
|
+
shape.lock(EShapeLockPart.UPLOADED);
|
|
24599
24624
|
this.onUpdate(shape, time);
|
|
24600
|
-
shape.
|
|
24625
|
+
shape.unlock(EShapeLockPart.UPLOADED, true);
|
|
24601
24626
|
var wasStateChanged = this.isStateChanged;
|
|
24602
24627
|
shape.state.removeAll(EShapeRuntimeImpl.TRANSIENT_STATES);
|
|
24603
24628
|
this.isStateChanged = wasStateChanged;
|
|
@@ -25159,9 +25184,8 @@ var EShapeActionRuntimeMiscHtmlElement = /** @class */ (function (_super) {
|
|
|
25159
25184
|
var UtilInput = /** @class */ (function (_super) {
|
|
25160
25185
|
__extends(UtilInput, _super);
|
|
25161
25186
|
function UtilInput(target, operation, theme, options) {
|
|
25162
|
-
var _this = this;
|
|
25163
25187
|
var _a, _b, _c, _d, _e, _f;
|
|
25164
|
-
_this = _super.call(this, target, operation, theme, options) || this;
|
|
25188
|
+
var _this = _super.call(this, target, operation, theme, options) || this;
|
|
25165
25189
|
_this._operation = operation;
|
|
25166
25190
|
_this._onInputKeyDownBound = function (e) {
|
|
25167
25191
|
_this.onInputKeyDown(e);
|
|
@@ -25294,9 +25318,8 @@ var UtilInputInput = /** @class */ (function (_super) {
|
|
|
25294
25318
|
var UtilInputNumber = /** @class */ (function (_super) {
|
|
25295
25319
|
__extends(UtilInputNumber, _super);
|
|
25296
25320
|
function UtilInputNumber(target, operation, theme, options) {
|
|
25297
|
-
var _this = this;
|
|
25298
25321
|
var _a, _b, _c;
|
|
25299
|
-
_this = _super.call(this, target, operation, theme, options) || this;
|
|
25322
|
+
var _this = _super.call(this, target, operation, theme, options) || this;
|
|
25300
25323
|
_this._step = (_a = options === null || options === void 0 ? void 0 : options.step) !== null && _a !== void 0 ? _a : theme.getStep();
|
|
25301
25324
|
_this._min = (_b = options === null || options === void 0 ? void 0 : options.min) !== null && _b !== void 0 ? _b : theme.getMin();
|
|
25302
25325
|
_this._max = (_c = options === null || options === void 0 ? void 0 : options.max) !== null && _c !== void 0 ? _c : theme.getMax();
|
|
@@ -38653,7 +38676,7 @@ var onDeserializedConnectorLine = function (item, shape, mapping, manager) {
|
|
|
38653
38676
|
manager.setExtension(resourceId, parsed);
|
|
38654
38677
|
}
|
|
38655
38678
|
// Lock
|
|
38656
|
-
shape.lock();
|
|
38679
|
+
shape.lock(EShapeLockPart.CONNECTOR);
|
|
38657
38680
|
// Points
|
|
38658
38681
|
var points = shape.points;
|
|
38659
38682
|
points.deserialize(parsed[1], manager);
|
|
@@ -38671,7 +38694,7 @@ var onDeserializedConnectorLine = function (item, shape, mapping, manager) {
|
|
|
38671
38694
|
body.set(EShapeConnectorBodies.from(points.values, edge.tail.margin, edge.head.margin));
|
|
38672
38695
|
}
|
|
38673
38696
|
// Unlock
|
|
38674
|
-
shape.unlock();
|
|
38697
|
+
shape.unlock(EShapeLockPart.CONNECTOR, true);
|
|
38675
38698
|
}
|
|
38676
38699
|
}
|
|
38677
38700
|
};
|
|
@@ -39611,6 +39634,7 @@ var EShapeGroup = /** @class */ (function (_super) {
|
|
|
39611
39634
|
clone.parent = result;
|
|
39612
39635
|
result.children.push(clone);
|
|
39613
39636
|
}
|
|
39637
|
+
EShapeConnectors.moveAll(children, result.children, children, result.children);
|
|
39614
39638
|
result.onChildTransformChange();
|
|
39615
39639
|
result.toDirty();
|
|
39616
39640
|
return result;
|
|
@@ -43478,9 +43502,8 @@ var DImage = /** @class */ (function (_super) {
|
|
|
43478
43502
|
var DMenuItemBase = /** @class */ (function (_super) {
|
|
43479
43503
|
__extends(DMenuItemBase, _super);
|
|
43480
43504
|
function DMenuItemBase(options) {
|
|
43481
|
-
var _this = this;
|
|
43482
43505
|
var _a;
|
|
43483
|
-
_this = _super.call(this, options) || this;
|
|
43506
|
+
var _this = _super.call(this, options) || this;
|
|
43484
43507
|
_this._value = (_a = options === null || options === void 0 ? void 0 : options.value) !== null && _a !== void 0 ? _a : null;
|
|
43485
43508
|
return _this;
|
|
43486
43509
|
}
|
|
@@ -45498,7 +45521,7 @@ var toResized = function (shape, from, to, centerMode, isPerfect) {
|
|
|
45498
45521
|
var cposition = EShapeCapabilities.contains(shape, EShapeCapability.POSITION);
|
|
45499
45522
|
var cwidth = EShapeCapabilities.contains(shape, EShapeCapability.WIDTH);
|
|
45500
45523
|
var cheight = EShapeCapabilities.contains(shape, EShapeCapability.HEIGHT);
|
|
45501
|
-
shape.
|
|
45524
|
+
shape.lock(EShapeLockPart.UPLOADED);
|
|
45502
45525
|
var position = shape.transform.position;
|
|
45503
45526
|
if (centerMode) {
|
|
45504
45527
|
var dx = Math.abs(to.x - from.x);
|
|
@@ -45595,7 +45618,7 @@ var toResized = function (shape, from, to, centerMode, isPerfect) {
|
|
|
45595
45618
|
}
|
|
45596
45619
|
}
|
|
45597
45620
|
}
|
|
45598
|
-
shape.
|
|
45621
|
+
shape.unlock(EShapeLockPart.UPLOADED, true);
|
|
45599
45622
|
};
|
|
45600
45623
|
|
|
45601
45624
|
/*
|
|
@@ -45851,14 +45874,26 @@ var EShapeSearch = /** @class */ (function () {
|
|
|
45851
45874
|
var EShapeDeleter = /** @class */ (function () {
|
|
45852
45875
|
function EShapeDeleter() {
|
|
45853
45876
|
}
|
|
45877
|
+
EShapeDeleter.addAll = function (shapes, result) {
|
|
45878
|
+
for (var i = 0, imax = shapes.length; i < imax; ++i) {
|
|
45879
|
+
var shape = shapes[i];
|
|
45880
|
+
result.add(shape);
|
|
45881
|
+
this.addAll(shape.children, result);
|
|
45882
|
+
}
|
|
45883
|
+
return result;
|
|
45884
|
+
};
|
|
45854
45885
|
EShapeDeleter.delete = function (parent, shapes, generateListOfDetachedShapes) {
|
|
45886
|
+
var _a;
|
|
45855
45887
|
var children = parent.children;
|
|
45856
45888
|
var length = children.length;
|
|
45857
45889
|
// Update indices
|
|
45890
|
+
var exceptions = ((_a = EShapeDeleter.EXCEPTIONS) !== null && _a !== void 0 ? _a : (EShapeDeleter.EXCEPTIONS = new Set()));
|
|
45858
45891
|
for (var i = 0; i < length; ++i) {
|
|
45859
45892
|
var child = children[i];
|
|
45860
45893
|
if (child.selected) {
|
|
45861
45894
|
child.index = length + i;
|
|
45895
|
+
exceptions.add(child);
|
|
45896
|
+
this.addAll(child.children, exceptions);
|
|
45862
45897
|
}
|
|
45863
45898
|
else {
|
|
45864
45899
|
child.index = i;
|
|
@@ -45875,9 +45910,10 @@ var EShapeDeleter = /** @class */ (function () {
|
|
|
45875
45910
|
child.parent = null;
|
|
45876
45911
|
child.selected = false;
|
|
45877
45912
|
child.uploaded = undefined;
|
|
45878
|
-
child.onDetach();
|
|
45913
|
+
child.onDetach(exceptions);
|
|
45879
45914
|
}
|
|
45880
45915
|
else {
|
|
45916
|
+
exceptions.clear();
|
|
45881
45917
|
var size = children.length - (i + 1);
|
|
45882
45918
|
if (0 < size) {
|
|
45883
45919
|
var result = children.splice(i + 1, size);
|
|
@@ -45896,6 +45932,7 @@ var EShapeDeleter = /** @class */ (function () {
|
|
|
45896
45932
|
}
|
|
45897
45933
|
}
|
|
45898
45934
|
}
|
|
45935
|
+
exceptions.clear();
|
|
45899
45936
|
if (0 < children.length) {
|
|
45900
45937
|
var result = children.splice(0, children.length);
|
|
45901
45938
|
if (shapes != null) {
|
|
@@ -45919,9 +45956,10 @@ var EShapeDeleter = /** @class */ (function () {
|
|
|
45919
45956
|
child.parent = null;
|
|
45920
45957
|
child.selected = false;
|
|
45921
45958
|
child.uploaded = undefined;
|
|
45922
|
-
child.onDetach();
|
|
45959
|
+
child.onDetach(exceptions);
|
|
45923
45960
|
}
|
|
45924
45961
|
else {
|
|
45962
|
+
exceptions.clear();
|
|
45925
45963
|
children.length = i + 1;
|
|
45926
45964
|
if (shapes != null) {
|
|
45927
45965
|
shapes.length = 0;
|
|
@@ -45931,6 +45969,7 @@ var EShapeDeleter = /** @class */ (function () {
|
|
|
45931
45969
|
return null;
|
|
45932
45970
|
}
|
|
45933
45971
|
}
|
|
45972
|
+
exceptions.clear();
|
|
45934
45973
|
if (0 < children.length) {
|
|
45935
45974
|
children.length = 0;
|
|
45936
45975
|
if (shapes != null) {
|
|
@@ -46053,9 +46092,8 @@ var EShapeResourceManagerSerialization = /** @class */ (function () {
|
|
|
46053
46092
|
var ESnapperGrid = /** @class */ (function (_super) {
|
|
46054
46093
|
__extends(ESnapperGrid, _super);
|
|
46055
46094
|
function ESnapperGrid(theme, options) {
|
|
46056
|
-
var _this = this;
|
|
46057
46095
|
var _a, _b, _c;
|
|
46058
|
-
_this = _super.call(this) || this;
|
|
46096
|
+
var _this = _super.call(this) || this;
|
|
46059
46097
|
_this._isVisibleDefault = (_a = options === null || options === void 0 ? void 0 : options.visible) !== null && _a !== void 0 ? _a : theme.isSnapGridVisible();
|
|
46060
46098
|
_this._isVisible = _this._isVisibleDefault;
|
|
46061
46099
|
_this._isEnabledDefault = (_b = options === null || options === void 0 ? void 0 : options.enable) !== null && _b !== void 0 ? _b : theme.isSnapGridEnabled();
|
|
@@ -46198,9 +46236,8 @@ var ESnapperTargetValue = /** @class */ (function () {
|
|
|
46198
46236
|
var ESnapperTarget = /** @class */ (function (_super) {
|
|
46199
46237
|
__extends(ESnapperTarget, _super);
|
|
46200
46238
|
function ESnapperTarget(theme, options) {
|
|
46201
|
-
var _this = this;
|
|
46202
46239
|
var _a, _b;
|
|
46203
|
-
_this = _super.call(this) || this;
|
|
46240
|
+
var _this = _super.call(this) || this;
|
|
46204
46241
|
_this.values = [];
|
|
46205
46242
|
_this._isVisibleDefault = (_a = options === null || options === void 0 ? void 0 : options.visible) !== null && _a !== void 0 ? _a : theme.isSnapTargetVisible();
|
|
46206
46243
|
_this._isVisible = _this._isVisibleDefault;
|
|
@@ -46342,9 +46379,8 @@ var ESnapperModifierAnchor = {
|
|
|
46342
46379
|
var ESnapper = /** @class */ (function (_super) {
|
|
46343
46380
|
__extends(ESnapper, _super);
|
|
46344
46381
|
function ESnapper(parent, theme, options) {
|
|
46345
|
-
var _this = this;
|
|
46346
46382
|
var _a;
|
|
46347
|
-
_this = _super.call(this) || this;
|
|
46383
|
+
var _this = _super.call(this) || this;
|
|
46348
46384
|
_this._points = [
|
|
46349
46385
|
new pixi_js.Point(),
|
|
46350
46386
|
new pixi_js.Point(),
|
|
@@ -46866,7 +46902,7 @@ var UtilSvgAtlasBuilder = /** @class */ (function () {
|
|
|
46866
46902
|
* Copyright (C) 2019 Toshiba Corporation
|
|
46867
46903
|
* SPDX-License-Identifier: Apache-2.0
|
|
46868
46904
|
*/
|
|
46869
|
-
var DThemeWhiteAtlas = new UtilSvgAtlasBuilder(
|
|
46905
|
+
var DThemeWhiteAtlas = new UtilSvgAtlasBuilder(512, 1, 3);
|
|
46870
46906
|
|
|
46871
46907
|
/*
|
|
46872
46908
|
* Copyright (C) 2019 Toshiba Corporation
|
|
@@ -47703,9 +47739,8 @@ var DThemeWhiteButtonColor = /** @class */ (function (_super) {
|
|
|
47703
47739
|
var DAnimationFadeIn = /** @class */ (function (_super) {
|
|
47704
47740
|
__extends(DAnimationFadeIn, _super);
|
|
47705
47741
|
function DAnimationFadeIn(options) {
|
|
47706
|
-
var _this = this;
|
|
47707
47742
|
var _a, _b;
|
|
47708
|
-
_this = _super.call(this, options) || this;
|
|
47743
|
+
var _this = _super.call(this, options) || this;
|
|
47709
47744
|
_this._storedX = 0;
|
|
47710
47745
|
_this._storedY = 0;
|
|
47711
47746
|
_this._storedAlpha = 0;
|
|
@@ -56802,7 +56837,7 @@ var loadThemeWhiteAll = function () {
|
|
|
56802
56837
|
* Copyright (C) 2019 Toshiba Corporation
|
|
56803
56838
|
* SPDX-License-Identifier: Apache-2.0
|
|
56804
56839
|
*/
|
|
56805
|
-
var DThemeDarkAtlas = new UtilSvgAtlasBuilder(
|
|
56840
|
+
var DThemeDarkAtlas = new UtilSvgAtlasBuilder(512, 1, 3);
|
|
56806
56841
|
|
|
56807
56842
|
/*
|
|
56808
56843
|
* Copyright (C) 2019 Toshiba Corporation
|
|
@@ -67408,9 +67443,8 @@ var UtilWheelEvent = /** @class */ (function () {
|
|
|
67408
67443
|
var DAnimationEmpty = /** @class */ (function (_super) {
|
|
67409
67444
|
__extends(DAnimationEmpty, _super);
|
|
67410
67445
|
function DAnimationEmpty(options) {
|
|
67411
|
-
var _this = this;
|
|
67412
67446
|
var _a;
|
|
67413
|
-
_this = _super.call(this) || this;
|
|
67447
|
+
var _this = _super.call(this) || this;
|
|
67414
67448
|
_this._target = (_a = options === null || options === void 0 ? void 0 : options.target) !== null && _a !== void 0 ? _a : null;
|
|
67415
67449
|
_this._reverse = false;
|
|
67416
67450
|
_this._isStarted = false;
|
|
@@ -73202,9 +73236,8 @@ var DContent = /** @class */ (function (_super) {
|
|
|
73202
73236
|
var DScrollBar = /** @class */ (function (_super) {
|
|
73203
73237
|
__extends(DScrollBar, _super);
|
|
73204
73238
|
function DScrollBar(options) {
|
|
73205
|
-
var _this = this;
|
|
73206
73239
|
var _a, _b;
|
|
73207
|
-
_this = _super.call(this, options) || this;
|
|
73240
|
+
var _this = _super.call(this, options) || this;
|
|
73208
73241
|
_this._start = 0;
|
|
73209
73242
|
_this._end = 1;
|
|
73210
73243
|
_this.visible = false;
|
|
@@ -73675,9 +73708,8 @@ var DPaneScrollBar = /** @class */ (function () {
|
|
|
73675
73708
|
var DPane = /** @class */ (function (_super) {
|
|
73676
73709
|
__extends(DPane, _super);
|
|
73677
73710
|
function DPane(options) {
|
|
73678
|
-
var _this = this;
|
|
73679
73711
|
var _a;
|
|
73680
|
-
_this = _super.call(this, options) || this;
|
|
73712
|
+
var _this = _super.call(this, options) || this;
|
|
73681
73713
|
// Mask
|
|
73682
73714
|
var theme = _this.theme;
|
|
73683
73715
|
if ((_a = options === null || options === void 0 ? void 0 : options.mask) !== null && _a !== void 0 ? _a : theme.isOverflowMaskEnabled()) {
|
|
@@ -74305,9 +74337,8 @@ var DDialogSelectSearhDismissableImpl = /** @class */ (function (_super) {
|
|
|
74305
74337
|
var DDialogSelect = /** @class */ (function (_super) {
|
|
74306
74338
|
__extends(DDialogSelect, _super);
|
|
74307
74339
|
function DDialogSelect(options) {
|
|
74308
|
-
var _this = this;
|
|
74309
74340
|
var _a, _b;
|
|
74310
|
-
_this = _super.call(this, options) || this;
|
|
74341
|
+
var _this = _super.call(this, options) || this;
|
|
74311
74342
|
// Value
|
|
74312
74343
|
_this._value = null;
|
|
74313
74344
|
// Categories
|
|
@@ -74743,9 +74774,8 @@ var defaultSetter$1 = function () {
|
|
|
74743
74774
|
var DButtonSelect = /** @class */ (function (_super) {
|
|
74744
74775
|
__extends(DButtonSelect, _super);
|
|
74745
74776
|
function DButtonSelect(options) {
|
|
74746
|
-
var _this = this;
|
|
74747
74777
|
var _a, _b;
|
|
74748
|
-
_this = _super.call(this, options) || this;
|
|
74778
|
+
var _this = _super.call(this, options) || this;
|
|
74749
74779
|
_this._dialogGetter = (_a = options === null || options === void 0 ? void 0 : options.getter) !== null && _a !== void 0 ? _a : defaultGetter$1;
|
|
74750
74780
|
_this._dialogSetter = (_b = options === null || options === void 0 ? void 0 : options.setter) !== null && _b !== void 0 ? _b : defaultSetter$1;
|
|
74751
74781
|
return _this;
|
|
@@ -74985,7 +75015,7 @@ var DChartAxisBaseBar = /** @class */ (function () {
|
|
|
74985
75015
|
var plotAreaWidth = plotArea.width;
|
|
74986
75016
|
var plotAreaHeight = plotArea.height;
|
|
74987
75017
|
var offset = this._parser.padding * index;
|
|
74988
|
-
shape.
|
|
75018
|
+
shape.lock(EShapeLockPart.UPLOADED);
|
|
74989
75019
|
var position = shape.transform.position;
|
|
74990
75020
|
var size = shape.size;
|
|
74991
75021
|
switch (this._parser.position) {
|
|
@@ -75006,7 +75036,7 @@ var DChartAxisBaseBar = /** @class */ (function () {
|
|
|
75006
75036
|
size.set(0, plotAreaHeight);
|
|
75007
75037
|
break;
|
|
75008
75038
|
}
|
|
75009
|
-
shape.
|
|
75039
|
+
shape.unlock(EShapeLockPart.UPLOADED, true);
|
|
75010
75040
|
return true;
|
|
75011
75041
|
}
|
|
75012
75042
|
return false;
|
|
@@ -76054,18 +76084,18 @@ var DChartAxisBaseTickContainer = /** @class */ (function () {
|
|
|
76054
76084
|
return true;
|
|
76055
76085
|
};
|
|
76056
76086
|
DChartAxisBaseTickContainer.prototype.showMajor = function (shape, x, y, text) {
|
|
76057
|
-
shape.
|
|
76087
|
+
shape.lock(EShapeLockPart.UPLOADED);
|
|
76058
76088
|
shape.visible = true;
|
|
76059
76089
|
shape.transform.position.set(x, y);
|
|
76060
76090
|
shape.text.value = text != null ? text : "";
|
|
76061
|
-
shape.
|
|
76091
|
+
shape.unlock(EShapeLockPart.UPLOADED, true);
|
|
76062
76092
|
};
|
|
76063
76093
|
DChartAxisBaseTickContainer.prototype.showMajorGridline = function (shape, value, x, y, sx, sy) {
|
|
76064
|
-
shape.
|
|
76094
|
+
shape.lock(EShapeLockPart.UPLOADED);
|
|
76065
76095
|
shape.visible = true;
|
|
76066
76096
|
shape.transform.position.set(x, y);
|
|
76067
76097
|
shape.size.set(sx, sy);
|
|
76068
|
-
shape.
|
|
76098
|
+
shape.unlock(EShapeLockPart.UPLOADED, true);
|
|
76069
76099
|
};
|
|
76070
76100
|
DChartAxisBaseTickContainer.prototype.hideMajor = function (shape) {
|
|
76071
76101
|
shape.visible = false;
|
|
@@ -76074,11 +76104,11 @@ var DChartAxisBaseTickContainer = /** @class */ (function () {
|
|
|
76074
76104
|
shape.visible = false;
|
|
76075
76105
|
};
|
|
76076
76106
|
DChartAxisBaseTickContainer.prototype.showMinor = function (shape, x, y, text) {
|
|
76077
|
-
shape.
|
|
76107
|
+
shape.lock(EShapeLockPart.UPLOADED);
|
|
76078
76108
|
shape.visible = true;
|
|
76079
76109
|
shape.transform.position.set(x, y);
|
|
76080
76110
|
shape.text.value = text != null ? text : "";
|
|
76081
|
-
shape.
|
|
76111
|
+
shape.unlock(EShapeLockPart.UPLOADED, true);
|
|
76082
76112
|
};
|
|
76083
76113
|
DChartAxisBaseTickContainer.prototype.hideMinor = function (shape) {
|
|
76084
76114
|
shape.visible = false;
|
|
@@ -76541,7 +76571,7 @@ var DChartAxisGuideSimpleShapeImpl = /** @class */ (function () {
|
|
|
76541
76571
|
DChartAxisGuideSimpleShapeImpl.prototype.update = function (position, x, y, visible, width, height, offset) {
|
|
76542
76572
|
var bar = this._bar;
|
|
76543
76573
|
if (bar != null) {
|
|
76544
|
-
bar.
|
|
76574
|
+
bar.lock(EShapeLockPart.UPLOADED);
|
|
76545
76575
|
switch (position) {
|
|
76546
76576
|
case DChartAxisPosition.TOP:
|
|
76547
76577
|
bar.transform.position.set(x, y);
|
|
@@ -76564,7 +76594,7 @@ var DChartAxisGuideSimpleShapeImpl = /** @class */ (function () {
|
|
|
76564
76594
|
bar.visible = visible;
|
|
76565
76595
|
break;
|
|
76566
76596
|
}
|
|
76567
|
-
bar.
|
|
76597
|
+
bar.unlock(EShapeLockPart.UPLOADED, true);
|
|
76568
76598
|
}
|
|
76569
76599
|
var label = this._label;
|
|
76570
76600
|
if (label != null) {
|
|
@@ -76572,7 +76602,7 @@ var DChartAxisGuideSimpleShapeImpl = /** @class */ (function () {
|
|
|
76572
76602
|
var s = label.size;
|
|
76573
76603
|
var ox = offset + s.x * 0.5 + m;
|
|
76574
76604
|
var oy = offset + s.y * 0.5 + m;
|
|
76575
|
-
label.
|
|
76605
|
+
label.lock(EShapeLockPart.UPLOADED);
|
|
76576
76606
|
switch (position) {
|
|
76577
76607
|
case DChartAxisPosition.TOP:
|
|
76578
76608
|
label.transform.position.set(x, -oy);
|
|
@@ -76591,7 +76621,7 @@ var DChartAxisGuideSimpleShapeImpl = /** @class */ (function () {
|
|
|
76591
76621
|
label.visible = visible;
|
|
76592
76622
|
break;
|
|
76593
76623
|
}
|
|
76594
|
-
label.
|
|
76624
|
+
label.unlock(EShapeLockPart.UPLOADED, true);
|
|
76595
76625
|
}
|
|
76596
76626
|
var tick = this._tick;
|
|
76597
76627
|
if (tick != null) {
|
|
@@ -76599,7 +76629,7 @@ var DChartAxisGuideSimpleShapeImpl = /** @class */ (function () {
|
|
|
76599
76629
|
var s = tick.size;
|
|
76600
76630
|
var ox = offset + s.x * 0.5 + m;
|
|
76601
76631
|
var oy = offset + s.y * 0.5 + m;
|
|
76602
|
-
tick.
|
|
76632
|
+
tick.lock(EShapeLockPart.UPLOADED);
|
|
76603
76633
|
switch (position) {
|
|
76604
76634
|
case DChartAxisPosition.TOP:
|
|
76605
76635
|
tick.transform.position.set(x, -oy);
|
|
@@ -76618,7 +76648,7 @@ var DChartAxisGuideSimpleShapeImpl = /** @class */ (function () {
|
|
|
76618
76648
|
tick.visible = visible;
|
|
76619
76649
|
break;
|
|
76620
76650
|
}
|
|
76621
|
-
tick.
|
|
76651
|
+
tick.unlock(EShapeLockPart.UPLOADED, true);
|
|
76622
76652
|
}
|
|
76623
76653
|
return true;
|
|
76624
76654
|
};
|
|
@@ -78681,9 +78711,8 @@ var DChartSelectionPoint = {
|
|
|
78681
78711
|
var DChartSelectionSubImpl = /** @class */ (function (_super) {
|
|
78682
78712
|
__extends(DChartSelectionSubImpl, _super);
|
|
78683
78713
|
function DChartSelectionSubImpl(options) {
|
|
78684
|
-
var _this = this;
|
|
78685
78714
|
var _a, _b, _c, _d, _e;
|
|
78686
|
-
_this = _super.call(this) || this;
|
|
78715
|
+
var _this = _super.call(this) || this;
|
|
78687
78716
|
_this._container = null;
|
|
78688
78717
|
_this._series = null;
|
|
78689
78718
|
_this._isEnabled = (_a = options.enable) !== null && _a !== void 0 ? _a : true;
|
|
@@ -78840,9 +78869,8 @@ var DChartSelectionSubImpl = /** @class */ (function (_super) {
|
|
|
78840
78869
|
var DChartSelectionSimple = /** @class */ (function (_super) {
|
|
78841
78870
|
__extends(DChartSelectionSimple, _super);
|
|
78842
78871
|
function DChartSelectionSimple(options) {
|
|
78843
|
-
var _this = this;
|
|
78844
78872
|
var _a;
|
|
78845
|
-
_this = _super.call(this) || this;
|
|
78873
|
+
var _this = _super.call(this) || this;
|
|
78846
78874
|
_this._container = null;
|
|
78847
78875
|
var point = toEnum((_a = options === null || options === void 0 ? void 0 : options.point) !== null && _a !== void 0 ? _a : DChartSelectionPoint.CLOSER, DChartSelectionPoint);
|
|
78848
78876
|
_this._selected = _this.newSelected(point, options === null || options === void 0 ? void 0 : options.selected);
|
|
@@ -79255,9 +79283,8 @@ var DChartSeriesBase = /** @class */ (function (_super) {
|
|
|
79255
79283
|
var DChartSeriesLineOfAny = /** @class */ (function (_super) {
|
|
79256
79284
|
__extends(DChartSeriesLineOfAny, _super);
|
|
79257
79285
|
function DChartSeriesLineOfAny(options) {
|
|
79258
|
-
var _this = this;
|
|
79259
79286
|
var _a;
|
|
79260
|
-
_this = _super.call(this, options) || this;
|
|
79287
|
+
var _this = _super.call(this, options) || this;
|
|
79261
79288
|
_this._line = null;
|
|
79262
79289
|
_this._options = options;
|
|
79263
79290
|
_this._points = (_a = options === null || options === void 0 ? void 0 : options.points) !== null && _a !== void 0 ? _a : [];
|
|
@@ -79429,9 +79456,9 @@ var DChartSeriesLineOfAny = /** @class */ (function (_super) {
|
|
|
79429
79456
|
values[i + 0] -= cx;
|
|
79430
79457
|
values[i + 1] -= cy;
|
|
79431
79458
|
}
|
|
79432
|
-
line.
|
|
79459
|
+
line.lock(EShapeLockPart.UPLOADED);
|
|
79433
79460
|
this.applyLine(line, xcoordinate, ycoordinate, sx, sy, cx, cy, values);
|
|
79434
|
-
line.
|
|
79461
|
+
line.unlock(EShapeLockPart.UPLOADED, true);
|
|
79435
79462
|
};
|
|
79436
79463
|
DChartSeriesLineOfAny.prototype.adjustLineRegion = function (xmin, xmax, ymin, ymax, result) {
|
|
79437
79464
|
result.xmin = xmin;
|
|
@@ -79831,9 +79858,8 @@ var DChartSeriesLineOfTriangleRoundeds = /** @class */ (function (_super) {
|
|
|
79831
79858
|
var DChartSeriesLine = /** @class */ (function (_super) {
|
|
79832
79859
|
__extends(DChartSeriesLine, _super);
|
|
79833
79860
|
function DChartSeriesLine(options) {
|
|
79834
|
-
var _this = this;
|
|
79835
79861
|
var _a;
|
|
79836
|
-
_this = _super.call(this, options) || this;
|
|
79862
|
+
var _this = _super.call(this, options) || this;
|
|
79837
79863
|
_this._line = null;
|
|
79838
79864
|
_this._options = options;
|
|
79839
79865
|
_this._points = (_a = options === null || options === void 0 ? void 0 : options.points) !== null && _a !== void 0 ? _a : [];
|
|
@@ -79921,7 +79947,7 @@ var DChartSeriesLine = /** @class */ (function (_super) {
|
|
|
79921
79947
|
return false;
|
|
79922
79948
|
};
|
|
79923
79949
|
DChartSeriesLine.prototype.doUpdateLine = function (line, xcoordinate, ycoordinate, isPointsDirty) {
|
|
79924
|
-
line.
|
|
79950
|
+
line.lock(EShapeLockPart.UPLOADED);
|
|
79925
79951
|
if (isPointsDirty) {
|
|
79926
79952
|
var values = line.points.values;
|
|
79927
79953
|
var segments = line.points.segments;
|
|
@@ -80004,7 +80030,7 @@ var DChartSeriesLine = /** @class */ (function (_super) {
|
|
|
80004
80030
|
}
|
|
80005
80031
|
line.transform.position.set(xcoordinate.transform.map(this._centerX), ycoordinate.transform.map(this._centerY));
|
|
80006
80032
|
line.transform.scale.set(xcoordinate.transform.scale, ycoordinate.transform.scale);
|
|
80007
|
-
line.
|
|
80033
|
+
line.unlock(EShapeLockPart.UPLOADED, true);
|
|
80008
80034
|
};
|
|
80009
80035
|
DChartSeriesLine.prototype.updateRegion = function () {
|
|
80010
80036
|
var pointId = this._pointId;
|
|
@@ -80363,12 +80389,12 @@ var DChartSeriesLinear = /** @class */ (function (_super) {
|
|
|
80363
80389
|
if (0 < segments.length) {
|
|
80364
80390
|
segments.length = 0;
|
|
80365
80391
|
}
|
|
80366
|
-
line.
|
|
80392
|
+
line.lock(EShapeLockPart.UPLOADED);
|
|
80367
80393
|
line.points.set(values, segments);
|
|
80368
80394
|
line.points.toFitted(sx, sy);
|
|
80369
80395
|
line.size.set(sx, sy);
|
|
80370
80396
|
line.transform.position.set(cx, cy);
|
|
80371
|
-
line.
|
|
80397
|
+
line.unlock(EShapeLockPart.UPLOADED, true);
|
|
80372
80398
|
};
|
|
80373
80399
|
DChartSeriesLinear.prototype.updateRegion = function () {
|
|
80374
80400
|
// DO NOTHING
|
|
@@ -80737,9 +80763,8 @@ var DDiagramSnapshot = /** @class */ (function (_super) {
|
|
|
80737
80763
|
var DDiagramBase = /** @class */ (function (_super) {
|
|
80738
80764
|
__extends(DDiagramBase, _super);
|
|
80739
80765
|
function DDiagramBase(options) {
|
|
80740
|
-
var _this = this;
|
|
80741
80766
|
var _a;
|
|
80742
|
-
_this = _super.call(this, options) || this;
|
|
80767
|
+
var _this = _super.call(this, options) || this;
|
|
80743
80768
|
_this._serialized = null;
|
|
80744
80769
|
_this._tileFactory = options === null || options === void 0 ? void 0 : options.tile;
|
|
80745
80770
|
_this._controller = options === null || options === void 0 ? void 0 : options.controller;
|
|
@@ -81296,9 +81321,8 @@ var DDiagramLayerContainer = /** @class */ (function (_super) {
|
|
|
81296
81321
|
var DDiagramCanvasBase = /** @class */ (function (_super) {
|
|
81297
81322
|
__extends(DDiagramCanvasBase, _super);
|
|
81298
81323
|
function DDiagramCanvasBase(options) {
|
|
81299
|
-
var _this = this;
|
|
81300
81324
|
var _a, _b, _c, _d;
|
|
81301
|
-
_this = _super.call(this, options) || this;
|
|
81325
|
+
var _this = _super.call(this, options) || this;
|
|
81302
81326
|
// Background
|
|
81303
81327
|
var theme = _this.theme;
|
|
81304
81328
|
if (!_this.isAmbient(theme, options)) {
|
|
@@ -81959,23 +81983,23 @@ var DDiagramCanvasEditorSnap = /** @class */ (function () {
|
|
|
81959
81983
|
var shape = null;
|
|
81960
81984
|
if (index < shapes.length) {
|
|
81961
81985
|
shape = shapes[index];
|
|
81962
|
-
shape.
|
|
81986
|
+
shape.lock(EShapeLockPart.UPLOADED);
|
|
81963
81987
|
shape.points.position = position;
|
|
81964
81988
|
shape.transform.position.set(x, y);
|
|
81965
81989
|
shape.stroke.set(true, style.color, style.alpha, style.width, undefined, undefined, style.style);
|
|
81966
81990
|
shape.size.set(w, h);
|
|
81967
81991
|
shape.visible = true;
|
|
81968
|
-
shape.
|
|
81992
|
+
shape.unlock(EShapeLockPart.UPLOADED, true);
|
|
81969
81993
|
}
|
|
81970
81994
|
else {
|
|
81971
81995
|
shape = new EShapeBar();
|
|
81972
|
-
shape.
|
|
81996
|
+
shape.lock(EShapeLockPart.UPLOADED);
|
|
81973
81997
|
shape.points.position = position;
|
|
81974
81998
|
shape.transform.position.set(x, y);
|
|
81975
81999
|
shape.stroke.set(true, style.color, style.alpha, style.width, undefined, undefined, style.style);
|
|
81976
82000
|
shape.size.set(w, h);
|
|
81977
82001
|
shape.visible = true;
|
|
81978
|
-
shape.
|
|
82002
|
+
shape.unlock(EShapeLockPart.UPLOADED, true);
|
|
81979
82003
|
shape.attach(container);
|
|
81980
82004
|
}
|
|
81981
82005
|
};
|
|
@@ -83936,9 +83960,8 @@ var DDialogProcessingMessage = /** @class */ (function (_super) {
|
|
|
83936
83960
|
var DDialogProcessing = /** @class */ (function (_super) {
|
|
83937
83961
|
__extends(DDialogProcessing, _super);
|
|
83938
83962
|
function DDialogProcessing(options) {
|
|
83939
|
-
var _this = this;
|
|
83940
83963
|
var _a;
|
|
83941
|
-
_this = _super.call(this, options) || this;
|
|
83964
|
+
var _this = _super.call(this, options) || this;
|
|
83942
83965
|
_this._isDone = true;
|
|
83943
83966
|
_this._startTime = 0;
|
|
83944
83967
|
var delay = options === null || options === void 0 ? void 0 : options.delay;
|
|
@@ -85246,9 +85269,8 @@ var defaultFilter = function () { return true; };
|
|
|
85246
85269
|
var DMenuSidedSelection = /** @class */ (function (_super) {
|
|
85247
85270
|
__extends(DMenuSidedSelection, _super);
|
|
85248
85271
|
function DMenuSidedSelection(content, options) {
|
|
85249
|
-
var _this = this;
|
|
85250
85272
|
var _a, _b, _c;
|
|
85251
|
-
_this = _super.call(this) || this;
|
|
85273
|
+
var _this = _super.call(this) || this;
|
|
85252
85274
|
_this._content = content;
|
|
85253
85275
|
_this._item = null;
|
|
85254
85276
|
_this._isDirty = true;
|
|
@@ -85369,9 +85391,8 @@ var DMenuSidedSelection = /** @class */ (function (_super) {
|
|
|
85369
85391
|
var DMenuSided = /** @class */ (function (_super) {
|
|
85370
85392
|
__extends(DMenuSided, _super);
|
|
85371
85393
|
function DMenuSided(options) {
|
|
85372
|
-
var _this = this;
|
|
85373
85394
|
var _a;
|
|
85374
|
-
_this = _super.call(this, options) || this;
|
|
85395
|
+
var _this = _super.call(this, options) || this;
|
|
85375
85396
|
var context = new DMenuContext(_this);
|
|
85376
85397
|
_this._context = context;
|
|
85377
85398
|
context.add(_this);
|
|
@@ -85599,9 +85620,8 @@ var DPaginationPage = /** @class */ (function (_super) {
|
|
|
85599
85620
|
var DPagination = /** @class */ (function (_super) {
|
|
85600
85621
|
__extends(DPagination, _super);
|
|
85601
85622
|
function DPagination(options) {
|
|
85602
|
-
var _this = this;
|
|
85603
85623
|
var _a, _b, _c, _d;
|
|
85604
|
-
_this = _super.call(this, options) || this;
|
|
85624
|
+
var _this = _super.call(this, options) || this;
|
|
85605
85625
|
if (options != null) {
|
|
85606
85626
|
_this._size = (_b = (_a = options.size) !== null && _a !== void 0 ? _a : options.total) !== null && _b !== void 0 ? _b : 10;
|
|
85607
85627
|
_this._value = (_d = (_c = options.value) !== null && _c !== void 0 ? _c : options.selected) !== null && _d !== void 0 ? _d : 0;
|
|
@@ -86572,9 +86592,8 @@ var DSliderThumb = /** @class */ (function (_super) {
|
|
|
86572
86592
|
var DSliderValue = /** @class */ (function (_super) {
|
|
86573
86593
|
__extends(DSliderValue, _super);
|
|
86574
86594
|
function DSliderValue(options) {
|
|
86575
|
-
var _this = this;
|
|
86576
86595
|
var _a, _b;
|
|
86577
|
-
_this = _super.call(this, options) || this;
|
|
86596
|
+
var _this = _super.call(this, options) || this;
|
|
86578
86597
|
_this._value = (_a = options === null || options === void 0 ? void 0 : options.value) !== null && _a !== void 0 ? _a : 0;
|
|
86579
86598
|
_this._rounder = _this.toRounder(options);
|
|
86580
86599
|
_this._delta = (_b = options === null || options === void 0 ? void 0 : options.delta) !== null && _b !== void 0 ? _b : 1;
|
|
@@ -87179,9 +87198,8 @@ var DTableBodyCells = /** @class */ (function () {
|
|
|
87179
87198
|
var DTableBodyCellSelectDialog = /** @class */ (function (_super) {
|
|
87180
87199
|
__extends(DTableBodyCellSelectDialog, _super);
|
|
87181
87200
|
function DTableBodyCellSelectDialog(columnIndex, column, onChange, options) {
|
|
87182
|
-
var _this = this;
|
|
87183
87201
|
var _a;
|
|
87184
|
-
_this = _super.call(this, options) || this;
|
|
87202
|
+
var _this = _super.call(this, options) || this;
|
|
87185
87203
|
_this._rowIndex = -1;
|
|
87186
87204
|
_this._columnIndex = columnIndex;
|
|
87187
87205
|
_this._column = column;
|
|
@@ -87383,9 +87401,8 @@ var DTableBodyCellActionMenu = /** @class */ (function (_super) {
|
|
|
87383
87401
|
var DTableBodyCellSelectPromise = /** @class */ (function (_super) {
|
|
87384
87402
|
__extends(DTableBodyCellSelectPromise, _super);
|
|
87385
87403
|
function DTableBodyCellSelectPromise(columnIndex, column, onChange, options) {
|
|
87386
|
-
var _this = this;
|
|
87387
87404
|
var _a;
|
|
87388
|
-
_this = _super.call(this, options) || this;
|
|
87405
|
+
var _this = _super.call(this, options) || this;
|
|
87389
87406
|
_this._rowIndex = -1;
|
|
87390
87407
|
_this._columnIndex = columnIndex;
|
|
87391
87408
|
_this._column = column;
|
|
@@ -87571,9 +87588,8 @@ var DTableBodyCellText = /** @class */ (function (_super) {
|
|
|
87571
87588
|
var DTableBodyCellButton = /** @class */ (function (_super) {
|
|
87572
87589
|
__extends(DTableBodyCellButton, _super);
|
|
87573
87590
|
function DTableBodyCellButton(columnIndex, column, onChange, options) {
|
|
87574
|
-
var _this = this;
|
|
87575
87591
|
var _a;
|
|
87576
|
-
_this = _super.call(this, columnIndex, column, onChange, options) || this;
|
|
87592
|
+
var _this = _super.call(this, columnIndex, column, onChange, options) || this;
|
|
87577
87593
|
_this._when = toEnum((_a = options === null || options === void 0 ? void 0 : options.when) !== null && _a !== void 0 ? _a : DButtonBaseWhen.CLICKED, DButtonBaseWhen);
|
|
87578
87594
|
_this.on(UtilPointerEvent.tap, function (e) {
|
|
87579
87595
|
_this.onClick(e);
|
|
@@ -89084,9 +89100,8 @@ var DTableDataSelectionType = {
|
|
|
89084
89100
|
var DTableRow = /** @class */ (function (_super) {
|
|
89085
89101
|
__extends(DTableRow, _super);
|
|
89086
89102
|
function DTableRow(options) {
|
|
89087
|
-
var _this = this;
|
|
89088
89103
|
var _a, _b;
|
|
89089
|
-
_this = _super.call(this, options) || this;
|
|
89104
|
+
var _this = _super.call(this, options) || this;
|
|
89090
89105
|
_this._reverse = true;
|
|
89091
89106
|
_this._frozen = (_a = options.frozen) !== null && _a !== void 0 ? _a : 0;
|
|
89092
89107
|
_this._columns = (_b = options.columns) !== null && _b !== void 0 ? _b : [];
|
|
@@ -89727,9 +89742,8 @@ var COMPARATOR$1 = function (a, b) {
|
|
|
89727
89742
|
var DTableDataListSelection = /** @class */ (function (_super) {
|
|
89728
89743
|
__extends(DTableDataListSelection, _super);
|
|
89729
89744
|
function DTableDataListSelection(parent, options) {
|
|
89730
|
-
var _this = this;
|
|
89731
89745
|
var _a;
|
|
89732
|
-
_this = _super.call(this) || this;
|
|
89746
|
+
var _this = _super.call(this) || this;
|
|
89733
89747
|
_this._parent = parent;
|
|
89734
89748
|
_this._type = toEnum((_a = options === null || options === void 0 ? void 0 : options.type) !== null && _a !== void 0 ? _a : DTableDataSelectionType.NONE, DTableDataSelectionType);
|
|
89735
89749
|
_this._indices = new Set();
|
|
@@ -90443,9 +90457,8 @@ var toRowOptions = function (theme, options, selectionType) {
|
|
|
90443
90457
|
var DTableBody = /** @class */ (function (_super) {
|
|
90444
90458
|
__extends(DTableBody, _super);
|
|
90445
90459
|
function DTableBody(options) {
|
|
90446
|
-
var _this = this;
|
|
90447
90460
|
var _a;
|
|
90448
|
-
_this = _super.call(this, options) || this;
|
|
90461
|
+
var _this = _super.call(this, options) || this;
|
|
90449
90462
|
_this.transform.position.y = (_a = options.offset) !== null && _a !== void 0 ? _a : 0;
|
|
90450
90463
|
var data = _this.toData(options.data);
|
|
90451
90464
|
_this._data = data;
|
|
@@ -90905,9 +90918,8 @@ var DTableCategoryCell = /** @class */ (function (_super) {
|
|
|
90905
90918
|
var DTableCategory = /** @class */ (function (_super) {
|
|
90906
90919
|
__extends(DTableCategory, _super);
|
|
90907
90920
|
function DTableCategory(options) {
|
|
90908
|
-
var _this = this;
|
|
90909
90921
|
var _a;
|
|
90910
|
-
_this = _super.call(this, options) || this;
|
|
90922
|
+
var _this = _super.call(this, options) || this;
|
|
90911
90923
|
var offset = (_a = options.offset) !== null && _a !== void 0 ? _a : 0;
|
|
90912
90924
|
_this._offset = offset;
|
|
90913
90925
|
_this.transform.position.y = offset;
|
|
@@ -91179,9 +91191,8 @@ var COMPARATOR = function (a, b) {
|
|
|
91179
91191
|
var DTableDataTreeSelectionImpl = /** @class */ (function (_super) {
|
|
91180
91192
|
__extends(DTableDataTreeSelectionImpl, _super);
|
|
91181
91193
|
function DTableDataTreeSelectionImpl(parent, options) {
|
|
91182
|
-
var _this = this;
|
|
91183
91194
|
var _a;
|
|
91184
|
-
_this = _super.call(this) || this;
|
|
91195
|
+
var _this = _super.call(this) || this;
|
|
91185
91196
|
_this._parent = parent;
|
|
91186
91197
|
_this._type = toEnum((_a = options === null || options === void 0 ? void 0 : options.type) !== null && _a !== void 0 ? _a : DTableDataSelectionType.NONE, DTableDataSelectionType);
|
|
91187
91198
|
_this._rows = new Set();
|
|
@@ -92217,9 +92228,8 @@ var DTableHeaderCell = /** @class */ (function (_super) {
|
|
|
92217
92228
|
var DTableHeader = /** @class */ (function (_super) {
|
|
92218
92229
|
__extends(DTableHeader, _super);
|
|
92219
92230
|
function DTableHeader(options) {
|
|
92220
|
-
var _this = this;
|
|
92221
92231
|
var _a, _b;
|
|
92222
|
-
_this = _super.call(this, options) || this;
|
|
92232
|
+
var _this = _super.call(this, options) || this;
|
|
92223
92233
|
_this._table = (_a = options.table) !== null && _a !== void 0 ? _a : null;
|
|
92224
92234
|
var offset = (_b = options.offset) !== null && _b !== void 0 ? _b : 0;
|
|
92225
92235
|
_this._offset = offset;
|
|
@@ -94283,9 +94293,8 @@ var DTreeItemText = /** @class */ (function (_super) {
|
|
|
94283
94293
|
var DTreeItemButton = /** @class */ (function (_super) {
|
|
94284
94294
|
__extends(DTreeItemButton, _super);
|
|
94285
94295
|
function DTreeItemButton(data, options) {
|
|
94286
|
-
var _this = this;
|
|
94287
94296
|
var _a;
|
|
94288
|
-
_this = _super.call(this, data, options) || this;
|
|
94297
|
+
var _this = _super.call(this, data, options) || this;
|
|
94289
94298
|
_this._when = toEnum((_a = options === null || options === void 0 ? void 0 : options.when) !== null && _a !== void 0 ? _a : DButtonBaseWhen.CLICKED, DButtonBaseWhen);
|
|
94290
94299
|
_this.on(UtilPointerEvent.tap, function (e) {
|
|
94291
94300
|
_this.onClick(e);
|
|
@@ -95722,6 +95731,8 @@ exports.EShapeLineOfRectangles = EShapeLineOfRectangles;
|
|
|
95722
95731
|
exports.EShapeLineOfTriangleRoundeds = EShapeLineOfTriangleRoundeds;
|
|
95723
95732
|
exports.EShapeLineOfTriangles = EShapeLineOfTriangles;
|
|
95724
95733
|
exports.EShapeLinePoints = EShapeLinePoints;
|
|
95734
|
+
exports.EShapeLock = EShapeLock;
|
|
95735
|
+
exports.EShapeLockPart = EShapeLockPart;
|
|
95725
95736
|
exports.EShapeNull = EShapeNull;
|
|
95726
95737
|
exports.EShapeOnDeserializeds = EShapeOnDeserializeds;
|
|
95727
95738
|
exports.EShapePointsFormatters = EShapePointsFormatters;
|