@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.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
|
|
|
@@ -2560,9 +2560,11 @@
|
|
|
2560
2560
|
});
|
|
2561
2561
|
return this;
|
|
2562
2562
|
};
|
|
2563
|
-
EShapeConnectorContainerImpl.prototype.detach = function () {
|
|
2563
|
+
EShapeConnectorContainerImpl.prototype.detach = function (exceptions) {
|
|
2564
2564
|
this._edges.forEach(function (edge) {
|
|
2565
|
-
edge.
|
|
2565
|
+
if (exceptions == null || !exceptions.has(edge.parent)) {
|
|
2566
|
+
edge.set(null);
|
|
2567
|
+
}
|
|
2566
2568
|
});
|
|
2567
2569
|
return this;
|
|
2568
2570
|
};
|
|
@@ -4472,7 +4474,7 @@
|
|
|
4472
4474
|
var GROUP = PRIMITIVE | UNGROUPING;
|
|
4473
4475
|
var EMBEDDED = ID | COORDINATE | REPLACING | GROUPING | TEXT$2 | DATA | ACTION | LAYER | DATA_MAPPING;
|
|
4474
4476
|
var EMBEDDED_ACCEPTOR_EDGE = ID | COORDINATE | REPLACING | FILL$1 | STROKE$1 | TEXT$2 | TEXTURE | DATA | ACTION | CURSOR$1 | LAYER;
|
|
4475
|
-
var CONNECTOR = ID |
|
|
4477
|
+
var CONNECTOR = ID | SHAPE | TEXT$2 | TEXTURE | DATA | ACTION | CURSOR$1 | LAYER | CHILDREN$1;
|
|
4476
4478
|
var ALL = PRIMITIVE | STROKE_SIDE | BORDER_RADIUS | DATA_MAPPING | UNGROUPING;
|
|
4477
4479
|
var EShapeCapability = {
|
|
4478
4480
|
NONE: NONE,
|
|
@@ -4638,6 +4640,44 @@
|
|
|
4638
4640
|
return EShapeCapabilityContainerImpl;
|
|
4639
4641
|
}());
|
|
4640
4642
|
|
|
4643
|
+
var EShapeLock = /** @class */ (function () {
|
|
4644
|
+
function EShapeLock() {
|
|
4645
|
+
this._count = 0;
|
|
4646
|
+
this._flag = 0;
|
|
4647
|
+
}
|
|
4648
|
+
EShapeLock.prototype.lock = function () {
|
|
4649
|
+
this._count += 1;
|
|
4650
|
+
if (this._count === 1) {
|
|
4651
|
+
this._flag = 0;
|
|
4652
|
+
return true;
|
|
4653
|
+
}
|
|
4654
|
+
return false;
|
|
4655
|
+
};
|
|
4656
|
+
EShapeLock.prototype.unlock = function () {
|
|
4657
|
+
this._count -= 1;
|
|
4658
|
+
return this._count <= 0 && this._flag !== 0;
|
|
4659
|
+
};
|
|
4660
|
+
EShapeLock.prototype.isLocked = function (high) {
|
|
4661
|
+
if (0 < this._count) {
|
|
4662
|
+
this._flag |= high ? 3 : 1;
|
|
4663
|
+
return true;
|
|
4664
|
+
}
|
|
4665
|
+
return false;
|
|
4666
|
+
};
|
|
4667
|
+
EShapeLock.prototype.isHigh = function () {
|
|
4668
|
+
return 1 < this._flag;
|
|
4669
|
+
};
|
|
4670
|
+
return EShapeLock;
|
|
4671
|
+
}());
|
|
4672
|
+
|
|
4673
|
+
var EShapeLockPart = {
|
|
4674
|
+
TRANSFORM: 1,
|
|
4675
|
+
TRANSFORM_PARENT: 2,
|
|
4676
|
+
UPLOADED: 4,
|
|
4677
|
+
TRANSFORM_AND_UPLOADED: 7,
|
|
4678
|
+
CONNECTOR: 8
|
|
4679
|
+
};
|
|
4680
|
+
|
|
4641
4681
|
/*
|
|
4642
4682
|
* Copyright (C) 2019 Toshiba Corporation
|
|
4643
4683
|
* SPDX-License-Identifier: Apache-2.0
|
|
@@ -4650,13 +4690,11 @@
|
|
|
4650
4690
|
_this.uuid = 0;
|
|
4651
4691
|
_this.type = type;
|
|
4652
4692
|
_this.transform = _this.newTransform();
|
|
4653
|
-
_this._onTransformChangeLock = 0;
|
|
4654
|
-
_this._isOnTransformChanged = false;
|
|
4655
4693
|
_this.action = new EShapeAction();
|
|
4656
4694
|
_this._visible = true;
|
|
4657
|
-
_this.
|
|
4658
|
-
_this.
|
|
4659
|
-
_this.
|
|
4695
|
+
_this._lockTransform = new EShapeLock();
|
|
4696
|
+
_this._lockTransformParent = new EShapeLock();
|
|
4697
|
+
_this._lockUploaded = new EShapeLock();
|
|
4660
4698
|
_this._boundsTransformId = NaN;
|
|
4661
4699
|
_this._boundsInternalTransformId = NaN;
|
|
4662
4700
|
_this._boundsLocalTransformId = NaN;
|
|
@@ -4697,6 +4735,9 @@
|
|
|
4697
4735
|
this.onParentTransformChange();
|
|
4698
4736
|
};
|
|
4699
4737
|
EShapeBase.prototype.onParentTransformChange = function () {
|
|
4738
|
+
if (this._lockTransformParent.isLocked()) {
|
|
4739
|
+
return;
|
|
4740
|
+
}
|
|
4700
4741
|
this.updateUploaded();
|
|
4701
4742
|
var connector = this._connector;
|
|
4702
4743
|
if (connector != null) {
|
|
@@ -4708,79 +4749,62 @@
|
|
|
4708
4749
|
}
|
|
4709
4750
|
};
|
|
4710
4751
|
EShapeBase.prototype.onTransformChange_ = function () {
|
|
4711
|
-
if (this.
|
|
4712
|
-
|
|
4713
|
-
if (parent_1 != null) {
|
|
4714
|
-
parent_1.onChildTransformChange();
|
|
4715
|
-
}
|
|
4752
|
+
if (this._lockTransform.isLocked()) {
|
|
4753
|
+
return;
|
|
4716
4754
|
}
|
|
4717
|
-
|
|
4718
|
-
|
|
4755
|
+
var parent = this.parent;
|
|
4756
|
+
if (parent != null) {
|
|
4757
|
+
parent.onChildTransformChange();
|
|
4719
4758
|
}
|
|
4720
4759
|
};
|
|
4721
|
-
EShapeBase.prototype.
|
|
4722
|
-
|
|
4723
|
-
|
|
4724
|
-
|
|
4760
|
+
EShapeBase.prototype.lock = function (part) {
|
|
4761
|
+
if (part & EShapeLockPart.TRANSFORM) {
|
|
4762
|
+
this._lockTransform.lock();
|
|
4763
|
+
}
|
|
4764
|
+
if (part & EShapeLockPart.TRANSFORM_PARENT) {
|
|
4765
|
+
this._lockTransformParent.lock();
|
|
4725
4766
|
}
|
|
4767
|
+
if (part & EShapeLockPart.UPLOADED) {
|
|
4768
|
+
this._lockUploaded.lock();
|
|
4769
|
+
}
|
|
4770
|
+
return this;
|
|
4726
4771
|
};
|
|
4727
|
-
EShapeBase.prototype.
|
|
4728
|
-
|
|
4729
|
-
|
|
4730
|
-
if (
|
|
4731
|
-
this.
|
|
4732
|
-
|
|
4733
|
-
|
|
4734
|
-
|
|
4772
|
+
EShapeBase.prototype.unlock = function (part, invoke) {
|
|
4773
|
+
if (part & EShapeLockPart.UPLOADED) {
|
|
4774
|
+
var lockUploaded = this._lockUploaded;
|
|
4775
|
+
if (lockUploaded.unlock() && invoke) {
|
|
4776
|
+
this.updateUploaded(lockUploaded.isHigh());
|
|
4777
|
+
}
|
|
4778
|
+
}
|
|
4779
|
+
if (part & EShapeLockPart.TRANSFORM_PARENT) {
|
|
4780
|
+
if (this._lockTransformParent.unlock() && invoke) {
|
|
4781
|
+
this.onParentTransformChange();
|
|
4782
|
+
}
|
|
4783
|
+
}
|
|
4784
|
+
if (part & EShapeLockPart.TRANSFORM) {
|
|
4785
|
+
if (this._lockTransform.unlock() && invoke) {
|
|
4786
|
+
this.onTransformChange();
|
|
4735
4787
|
}
|
|
4736
4788
|
}
|
|
4789
|
+
return this;
|
|
4737
4790
|
};
|
|
4738
4791
|
EShapeBase.prototype.onChildTransformChange = function () {
|
|
4739
4792
|
//
|
|
4740
4793
|
};
|
|
4741
|
-
EShapeBase.prototype.
|
|
4742
|
-
this.
|
|
4743
|
-
|
|
4744
|
-
this._isUploadedUpdated = false;
|
|
4745
|
-
this._isUploadedUpdatedRecursively = false;
|
|
4794
|
+
EShapeBase.prototype.updateUploaded = function (recursively) {
|
|
4795
|
+
if (this._lockUploaded.isLocked()) {
|
|
4796
|
+
return;
|
|
4746
4797
|
}
|
|
4747
|
-
|
|
4748
|
-
|
|
4749
|
-
|
|
4750
|
-
if (this._uploadedUpdateLock === 0) {
|
|
4751
|
-
if (this._isUploadedUpdatedRecursively) {
|
|
4752
|
-
this._isUploadedUpdatedRecursively = false;
|
|
4753
|
-
this._isUploadedUpdated = false;
|
|
4754
|
-
this.updateUploadedRecursively();
|
|
4755
|
-
}
|
|
4756
|
-
else if (this._isUploadedUpdated) {
|
|
4757
|
-
this._isUploadedUpdated = false;
|
|
4758
|
-
this.updateUploaded();
|
|
4759
|
-
}
|
|
4798
|
+
var uploaded = this.uploaded;
|
|
4799
|
+
if (uploaded != null) {
|
|
4800
|
+
uploaded.update(this);
|
|
4760
4801
|
}
|
|
4761
|
-
|
|
4762
|
-
EShapeBase.prototype.updateUploadedRecursively = function () {
|
|
4763
|
-
if (this._uploadedUpdateLock === 0) {
|
|
4764
|
-
this.updateUploaded();
|
|
4802
|
+
if (recursively === true) {
|
|
4765
4803
|
var children = this.children;
|
|
4766
4804
|
for (var i = 0, imax = children.length; i < imax; ++i) {
|
|
4767
|
-
children[i].
|
|
4805
|
+
children[i].updateUploaded(true);
|
|
4768
4806
|
}
|
|
4769
4807
|
}
|
|
4770
|
-
else {
|
|
4771
|
-
this._isUploadedUpdatedRecursively = true;
|
|
4772
|
-
}
|
|
4773
|
-
};
|
|
4774
|
-
EShapeBase.prototype.updateUploaded = function () {
|
|
4775
|
-
if (this._uploadedUpdateLock === 0) {
|
|
4776
|
-
var uploaded = this.uploaded;
|
|
4777
|
-
if (uploaded != null) {
|
|
4778
|
-
uploaded.update(this);
|
|
4779
|
-
}
|
|
4780
|
-
}
|
|
4781
|
-
else {
|
|
4782
|
-
this._isUploadedUpdated = true;
|
|
4783
|
-
}
|
|
4784
4808
|
};
|
|
4785
4809
|
Object.defineProperty(EShapeBase.prototype, "image", {
|
|
4786
4810
|
get: function () {
|
|
@@ -4825,9 +4849,9 @@
|
|
|
4825
4849
|
Object.defineProperty(EShapeBase.prototype, "visible", {
|
|
4826
4850
|
get: function () {
|
|
4827
4851
|
if (this._visible) {
|
|
4828
|
-
var
|
|
4829
|
-
if (
|
|
4830
|
-
return
|
|
4852
|
+
var parent_1 = this.parent;
|
|
4853
|
+
if (parent_1 instanceof EShapeBase) {
|
|
4854
|
+
return parent_1.visible;
|
|
4831
4855
|
}
|
|
4832
4856
|
return true;
|
|
4833
4857
|
}
|
|
@@ -4836,7 +4860,7 @@
|
|
|
4836
4860
|
set: function (visible) {
|
|
4837
4861
|
if (this._visible !== visible) {
|
|
4838
4862
|
this._visible = visible;
|
|
4839
|
-
this.
|
|
4863
|
+
this.updateUploaded(true);
|
|
4840
4864
|
}
|
|
4841
4865
|
},
|
|
4842
4866
|
enumerable: false,
|
|
@@ -4845,9 +4869,9 @@
|
|
|
4845
4869
|
Object.defineProperty(EShapeBase.prototype, "worldVisible", {
|
|
4846
4870
|
get: function () {
|
|
4847
4871
|
if (this._visible) {
|
|
4848
|
-
var
|
|
4849
|
-
if (
|
|
4850
|
-
return
|
|
4872
|
+
var parent_2 = this.parent;
|
|
4873
|
+
if (parent_2) {
|
|
4874
|
+
return parent_2.worldVisible;
|
|
4851
4875
|
}
|
|
4852
4876
|
return true;
|
|
4853
4877
|
}
|
|
@@ -4891,7 +4915,7 @@
|
|
|
4891
4915
|
children[i].onAttach();
|
|
4892
4916
|
}
|
|
4893
4917
|
};
|
|
4894
|
-
EShapeBase.prototype.detach = function () {
|
|
4918
|
+
EShapeBase.prototype.detach = function (exceptions) {
|
|
4895
4919
|
var parent = this.parent;
|
|
4896
4920
|
if (parent) {
|
|
4897
4921
|
this.parent = null;
|
|
@@ -4901,20 +4925,20 @@
|
|
|
4901
4925
|
children.splice(index, 1);
|
|
4902
4926
|
parent.onChildTransformChange();
|
|
4903
4927
|
parent.toDirty();
|
|
4904
|
-
this.onDetach();
|
|
4928
|
+
this.onDetach(exceptions);
|
|
4905
4929
|
}
|
|
4906
4930
|
}
|
|
4907
4931
|
return this;
|
|
4908
4932
|
};
|
|
4909
|
-
EShapeBase.prototype.onDetach = function () {
|
|
4933
|
+
EShapeBase.prototype.onDetach = function (exceptions) {
|
|
4910
4934
|
this.uploaded = undefined;
|
|
4911
4935
|
var connector = this._connector;
|
|
4912
4936
|
if (connector) {
|
|
4913
|
-
connector.detach();
|
|
4937
|
+
connector.detach(exceptions);
|
|
4914
4938
|
}
|
|
4915
4939
|
var children = this.children;
|
|
4916
4940
|
for (var i = 0, imax = children.length; i < imax; ++i) {
|
|
4917
|
-
children[i].onDetach();
|
|
4941
|
+
children[i].onDetach(exceptions);
|
|
4918
4942
|
}
|
|
4919
4943
|
};
|
|
4920
4944
|
// Transform
|
|
@@ -13771,9 +13795,8 @@
|
|
|
13771
13795
|
var DBase = /** @class */ (function (_super) {
|
|
13772
13796
|
__extends(DBase, _super);
|
|
13773
13797
|
function DBase(options) {
|
|
13774
|
-
var _this = this;
|
|
13775
13798
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
13776
|
-
_this = _super.call(this) || this;
|
|
13799
|
+
var _this = _super.call(this) || this;
|
|
13777
13800
|
// Transform
|
|
13778
13801
|
var transform = _this.transform;
|
|
13779
13802
|
_this._position = new DBasePoint(transform.position, function (newX, newY, oldX, oldY) {
|
|
@@ -15291,9 +15314,8 @@
|
|
|
15291
15314
|
var DAnimationBase = /** @class */ (function (_super) {
|
|
15292
15315
|
__extends(DAnimationBase, _super);
|
|
15293
15316
|
function DAnimationBase(options) {
|
|
15294
|
-
var _this = this;
|
|
15295
15317
|
var _a, _b, _c;
|
|
15296
|
-
_this = _super.call(this) || this;
|
|
15318
|
+
var _this = _super.call(this) || this;
|
|
15297
15319
|
_this._id = null;
|
|
15298
15320
|
_this._target = (_a = options === null || options === void 0 ? void 0 : options.target) !== null && _a !== void 0 ? _a : null;
|
|
15299
15321
|
_this._startTime = 0;
|
|
@@ -16084,9 +16106,8 @@
|
|
|
16084
16106
|
var DViewImpl = /** @class */ (function (_super) {
|
|
16085
16107
|
__extends(DViewImpl, _super);
|
|
16086
16108
|
function DViewImpl(parent, toTarget, options) {
|
|
16087
|
-
var _this = this;
|
|
16088
16109
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s;
|
|
16089
|
-
_this = _super.call(this) || this;
|
|
16110
|
+
var _this = _super.call(this) || this;
|
|
16090
16111
|
_this._parent = parent;
|
|
16091
16112
|
_this._toTarget = toTarget;
|
|
16092
16113
|
_this._constraint = (options && options.constraint) || DViewImpl.CONSTRAINT;
|
|
@@ -16929,10 +16950,10 @@
|
|
|
16929
16950
|
// Size
|
|
16930
16951
|
editor.size.copyFrom(shape.size);
|
|
16931
16952
|
//
|
|
16932
|
-
shape.
|
|
16953
|
+
shape.lock(EShapeLockPart.TRANSFORM);
|
|
16933
16954
|
};
|
|
16934
16955
|
EShapeTransforms.finalize = function (shape) {
|
|
16935
|
-
shape.
|
|
16956
|
+
shape.unlock(EShapeLockPart.TRANSFORM, true);
|
|
16936
16957
|
};
|
|
16937
16958
|
EShapeTransforms.apply = function (shape, transform, capability) {
|
|
16938
16959
|
var editor = shape.editor;
|
|
@@ -16946,7 +16967,7 @@
|
|
|
16946
16967
|
}
|
|
16947
16968
|
};
|
|
16948
16969
|
EShapeTransforms.applyLocal = function (shape, localTransform, capability, size) {
|
|
16949
|
-
shape.
|
|
16970
|
+
shape.lock(EShapeLockPart.UPLOADED);
|
|
16950
16971
|
// Reconstruct the position, the rotation and the size
|
|
16951
16972
|
var a = localTransform.a;
|
|
16952
16973
|
var b = localTransform.b;
|
|
@@ -17006,7 +17027,7 @@
|
|
|
17006
17027
|
}
|
|
17007
17028
|
}
|
|
17008
17029
|
//
|
|
17009
|
-
shape.
|
|
17030
|
+
shape.unlock(EShapeLockPart.UPLOADED, true);
|
|
17010
17031
|
};
|
|
17011
17032
|
return EShapeTransforms;
|
|
17012
17033
|
}());
|
|
@@ -17060,9 +17081,9 @@
|
|
|
17060
17081
|
.translate(-pivotX, -pivotY)
|
|
17061
17082
|
.scale(sx, sy)
|
|
17062
17083
|
.translate(+pivotX, +pivotY);
|
|
17063
|
-
shape.
|
|
17084
|
+
shape.lock(EShapeLockPart.TRANSFORM);
|
|
17064
17085
|
EShapeTransforms.applyLocal(shape, transform, EShapeCapability.ALL, childBase);
|
|
17065
|
-
shape.
|
|
17086
|
+
shape.unlock(EShapeLockPart.TRANSFORM, false);
|
|
17066
17087
|
};
|
|
17067
17088
|
EShapeGroupSizeLayout.WORK_TRANSFORM = new pixi_js.Matrix();
|
|
17068
17089
|
return EShapeGroupSizeLayout;
|
|
@@ -17166,41 +17187,43 @@
|
|
|
17166
17187
|
};
|
|
17167
17188
|
EShapeGroupSizeEditor.prototype.doFit = function () {
|
|
17168
17189
|
var parent = this._parent;
|
|
17169
|
-
parent.
|
|
17190
|
+
parent.lock(EShapeLockPart.TRANSFORM | EShapeLockPart.TRANSFORM_PARENT);
|
|
17170
17191
|
// Calculate the rect
|
|
17171
17192
|
var rect = this.calcRect(this._workRectForFit);
|
|
17172
17193
|
// Set size
|
|
17173
17194
|
var size = this._size;
|
|
17174
17195
|
size.set(rect.width, rect.height);
|
|
17175
|
-
//
|
|
17176
|
-
//
|
|
17177
|
-
//
|
|
17196
|
+
// Calculating new position & pivot
|
|
17197
|
+
//
|
|
17198
|
+
// cx := rect.x + rect.width * 0.5
|
|
17199
|
+
// cy := rect.y + rect.height * 0.5
|
|
17200
|
+
//
|
|
17201
|
+
// Since the local transform need to be unchanged:
|
|
17202
|
+
//
|
|
17203
|
+
// | a c tx | | a c px' - (a * pvx' + c * pvy') |
|
|
17204
|
+
// | b d ty | = | b d py' - (b * pvx' + d * pvy') |
|
|
17205
|
+
// | 0 0 1 | | 0 0 1 |
|
|
17178
17206
|
//
|
|
17179
|
-
//
|
|
17180
|
-
//
|
|
17181
|
-
// | 0 0 1 | | 0 0 1 | | 0 0 1 | | 0 0 1 | | 0 0 1 |
|
|
17207
|
+
// Here, (px', py') and (pvx', pvy') are the new position
|
|
17208
|
+
// and the new pivot, respectively.
|
|
17182
17209
|
//
|
|
17183
|
-
//
|
|
17184
|
-
// ty -> ty + (b * rx + d * ry) = poxition.y - (b * pivot.x + d * pivot.y)
|
|
17185
|
-
// position.x -> position.x + (a * rx + c * ry) - (a * pivot.x + c * pivot.y)
|
|
17186
|
-
// position.y -> position.y + (b * rx + d * ry) - (b * pivot.x + d * pivot.y)
|
|
17187
|
-
// pivot.x -> 0
|
|
17188
|
-
// pivot.y -> 0
|
|
17210
|
+
// Setting the new pivot (pvx', pvy') to (cx, cy) leads to
|
|
17189
17211
|
//
|
|
17190
|
-
// a
|
|
17212
|
+
// | a c tx | | a c px' - (a * cx + c * cy) |
|
|
17213
|
+
// | b d ty | = | b d py' - (b * cx + d * cy) |
|
|
17214
|
+
// | 0 0 1 | | 0 0 1 |
|
|
17191
17215
|
//
|
|
17192
|
-
//
|
|
17193
|
-
//
|
|
17194
|
-
// | 0 0 1 | | 0 0 1 | | 0 0 1 |
|
|
17216
|
+
// tx = px - (a * pvx + c * pvy) = px' - (a * cx + c * cy)
|
|
17217
|
+
// ty = py - (b * pvx + d * pvy) = py' - (b * cx + d * cy)
|
|
17195
17218
|
//
|
|
17196
|
-
//
|
|
17197
|
-
//
|
|
17198
|
-
//
|
|
17199
|
-
//
|
|
17219
|
+
// Thus, the new position (px', py') is
|
|
17220
|
+
//
|
|
17221
|
+
// px' = px + (a * (cx - pvx) + c * (cy - pvy))
|
|
17222
|
+
// py' = py + (b * (cy - pvx) + d * (cy - pvy))
|
|
17200
17223
|
parent.updateTransform();
|
|
17201
17224
|
var transform = parent.transform;
|
|
17202
|
-
var
|
|
17203
|
-
var
|
|
17225
|
+
var cx = rect.x + rect.width * 0.5;
|
|
17226
|
+
var cy = rect.y + rect.height * 0.5;
|
|
17204
17227
|
var position = transform.position;
|
|
17205
17228
|
var localTransform = transform.localTransform;
|
|
17206
17229
|
var a = localTransform.a;
|
|
@@ -17208,12 +17231,16 @@
|
|
|
17208
17231
|
var c = localTransform.c;
|
|
17209
17232
|
var d = localTransform.d;
|
|
17210
17233
|
var pivot = transform.pivot;
|
|
17211
|
-
|
|
17212
|
-
pivot.
|
|
17234
|
+
var pvx = pivot.x;
|
|
17235
|
+
var pvy = pivot.y;
|
|
17236
|
+
var dpvx = cx - pvx;
|
|
17237
|
+
var dpvy = cy - pvy;
|
|
17238
|
+
position.set(position.x + (a * dpvx + c * dpvy), position.y + (b * dpvx + d * dpvy));
|
|
17239
|
+
pivot.set(cx, cy);
|
|
17213
17240
|
// Reset the data
|
|
17214
17241
|
this.reset(parent.children, this._layouts, size);
|
|
17215
17242
|
//
|
|
17216
|
-
parent.
|
|
17243
|
+
parent.unlock(EShapeLockPart.TRANSFORM | EShapeLockPart.TRANSFORM_PARENT, true);
|
|
17217
17244
|
};
|
|
17218
17245
|
EShapeGroupSizeEditor.prototype.reset = function (children, layouts, size) {
|
|
17219
17246
|
for (var i = 0, imax = Math.min(layouts.length, children.length); i < imax; ++i) {
|
|
@@ -18608,9 +18635,9 @@
|
|
|
18608
18635
|
}
|
|
18609
18636
|
return this;
|
|
18610
18637
|
};
|
|
18611
|
-
EShapeConnectorEdgeImpl.prototype.detach = function () {
|
|
18638
|
+
EShapeConnectorEdgeImpl.prototype.detach = function (exceptions) {
|
|
18612
18639
|
var shape = this._acceptor.shape;
|
|
18613
|
-
if (shape) {
|
|
18640
|
+
if (shape != null && (exceptions == null || !exceptions.has(shape))) {
|
|
18614
18641
|
if (shape.connector.remove(this)) {
|
|
18615
18642
|
this.onAcceptorChange();
|
|
18616
18643
|
}
|
|
@@ -18722,10 +18749,10 @@
|
|
|
18722
18749
|
this.unlock();
|
|
18723
18750
|
return this;
|
|
18724
18751
|
};
|
|
18725
|
-
EShapeConnectorEdgeContainerImpl.prototype.detach = function () {
|
|
18752
|
+
EShapeConnectorEdgeContainerImpl.prototype.detach = function (exceptions) {
|
|
18726
18753
|
this.lock();
|
|
18727
|
-
this._tail.detach();
|
|
18728
|
-
this._head.detach();
|
|
18754
|
+
this._tail.detach(exceptions);
|
|
18755
|
+
this._head.detach(exceptions);
|
|
18729
18756
|
this.unlock();
|
|
18730
18757
|
return this;
|
|
18731
18758
|
};
|
|
@@ -20094,8 +20121,7 @@
|
|
|
20094
20121
|
_this._headNormalId = 0;
|
|
20095
20122
|
_this._headMargin = 0;
|
|
20096
20123
|
_this._bodyId = 0;
|
|
20097
|
-
_this.
|
|
20098
|
-
_this._isChanged = false;
|
|
20124
|
+
_this._lockChange = new EShapeLock();
|
|
20099
20125
|
var sx = EShapeDefaults.SIZE_X;
|
|
20100
20126
|
var sy = EShapeDefaults.SIZE_Y;
|
|
20101
20127
|
var hx = sx * 0.5;
|
|
@@ -20108,20 +20134,20 @@
|
|
|
20108
20134
|
_this._body = new EShapeConnectorBodyImpl(_this, onChangeBound);
|
|
20109
20135
|
return _this;
|
|
20110
20136
|
}
|
|
20111
|
-
EShapeConnectorLine.prototype.lock = function () {
|
|
20112
|
-
this
|
|
20113
|
-
if (
|
|
20114
|
-
this.
|
|
20137
|
+
EShapeConnectorLine.prototype.lock = function (part) {
|
|
20138
|
+
_super.prototype.lock.call(this, part);
|
|
20139
|
+
if (part & EShapeLockPart.CONNECTOR) {
|
|
20140
|
+
this._lockChange.lock();
|
|
20115
20141
|
}
|
|
20142
|
+
return this;
|
|
20116
20143
|
};
|
|
20117
|
-
EShapeConnectorLine.prototype.unlock = function () {
|
|
20118
|
-
|
|
20119
|
-
|
|
20120
|
-
if (this._isChanged) {
|
|
20144
|
+
EShapeConnectorLine.prototype.unlock = function (part, invoke) {
|
|
20145
|
+
if (part & EShapeLockPart.CONNECTOR) {
|
|
20146
|
+
if (this._lockChange.unlock() && invoke) {
|
|
20121
20147
|
this.onChange();
|
|
20122
20148
|
}
|
|
20123
|
-
this._isChanged = false;
|
|
20124
20149
|
}
|
|
20150
|
+
return _super.prototype.unlock.call(this, part, invoke);
|
|
20125
20151
|
};
|
|
20126
20152
|
Object.defineProperty(EShapeConnectorLine.prototype, "points", {
|
|
20127
20153
|
get: function () {
|
|
@@ -20148,14 +20174,13 @@
|
|
|
20148
20174
|
_super.prototype.onAttach.call(this);
|
|
20149
20175
|
this._edge.attach();
|
|
20150
20176
|
};
|
|
20151
|
-
EShapeConnectorLine.prototype.onDetach = function () {
|
|
20152
|
-
this._edge.detach();
|
|
20153
|
-
_super.prototype.onDetach.call(this);
|
|
20177
|
+
EShapeConnectorLine.prototype.onDetach = function (exceptions) {
|
|
20178
|
+
this._edge.detach(exceptions);
|
|
20179
|
+
_super.prototype.onDetach.call(this, exceptions);
|
|
20154
20180
|
};
|
|
20155
20181
|
EShapeConnectorLine.prototype.onChange = function () {
|
|
20156
20182
|
var _a;
|
|
20157
|
-
if (
|
|
20158
|
-
this._isChanged = true;
|
|
20183
|
+
if (this._lockChange.isLocked()) {
|
|
20159
20184
|
return;
|
|
20160
20185
|
}
|
|
20161
20186
|
var edge = this._edge;
|
|
@@ -20203,7 +20228,7 @@
|
|
|
20203
20228
|
values[i + 0] -= cx;
|
|
20204
20229
|
values[i + 1] -= cy;
|
|
20205
20230
|
}
|
|
20206
|
-
this.
|
|
20231
|
+
this.lock(EShapeLockPart.TRANSFORM_AND_UPLOADED);
|
|
20207
20232
|
transformPosition.set(px + cx, py + cy);
|
|
20208
20233
|
transform.scale.set(1, 1);
|
|
20209
20234
|
transform.rotation = 0;
|
|
@@ -20211,7 +20236,7 @@
|
|
|
20211
20236
|
points.toFitted(sx, sy);
|
|
20212
20237
|
this.size.set(sx, sy);
|
|
20213
20238
|
points.set(values);
|
|
20214
|
-
this.
|
|
20239
|
+
this.unlock(EShapeLockPart.TRANSFORM_AND_UPLOADED, true);
|
|
20215
20240
|
}
|
|
20216
20241
|
};
|
|
20217
20242
|
EShapeConnectorLine.prototype.fillPoints = function (tail, tailMargin, head, headMargin, body, px, py, values) {
|
|
@@ -24260,12 +24285,12 @@
|
|
|
24260
24285
|
this.interactive = false;
|
|
24261
24286
|
}
|
|
24262
24287
|
EShapeRuntimeImpl.prototype.initialize = function (shape) {
|
|
24263
|
-
shape.
|
|
24288
|
+
shape.lock(EShapeLockPart.UPLOADED);
|
|
24264
24289
|
var actions = this.actions;
|
|
24265
24290
|
for (var i = 0, imax = actions.length; i < imax; ++i) {
|
|
24266
24291
|
actions[i].initialize(shape, this);
|
|
24267
24292
|
}
|
|
24268
|
-
shape.
|
|
24293
|
+
shape.unlock(EShapeLockPart.UPLOADED, true);
|
|
24269
24294
|
};
|
|
24270
24295
|
EShapeRuntimeImpl.prototype.isActionable = function () {
|
|
24271
24296
|
return 0 < this.actions.length;
|
|
@@ -24592,9 +24617,9 @@
|
|
|
24592
24617
|
if (isEffectTimeUp) {
|
|
24593
24618
|
this.effect = NaN;
|
|
24594
24619
|
}
|
|
24595
|
-
shape.
|
|
24620
|
+
shape.lock(EShapeLockPart.UPLOADED);
|
|
24596
24621
|
this.onUpdate(shape, time);
|
|
24597
|
-
shape.
|
|
24622
|
+
shape.unlock(EShapeLockPart.UPLOADED, true);
|
|
24598
24623
|
var wasStateChanged = this.isStateChanged;
|
|
24599
24624
|
shape.state.removeAll(EShapeRuntimeImpl.TRANSIENT_STATES);
|
|
24600
24625
|
this.isStateChanged = wasStateChanged;
|
|
@@ -25156,9 +25181,8 @@
|
|
|
25156
25181
|
var UtilInput = /** @class */ (function (_super) {
|
|
25157
25182
|
__extends(UtilInput, _super);
|
|
25158
25183
|
function UtilInput(target, operation, theme, options) {
|
|
25159
|
-
var _this = this;
|
|
25160
25184
|
var _a, _b, _c, _d, _e, _f;
|
|
25161
|
-
_this = _super.call(this, target, operation, theme, options) || this;
|
|
25185
|
+
var _this = _super.call(this, target, operation, theme, options) || this;
|
|
25162
25186
|
_this._operation = operation;
|
|
25163
25187
|
_this._onInputKeyDownBound = function (e) {
|
|
25164
25188
|
_this.onInputKeyDown(e);
|
|
@@ -25291,9 +25315,8 @@
|
|
|
25291
25315
|
var UtilInputNumber = /** @class */ (function (_super) {
|
|
25292
25316
|
__extends(UtilInputNumber, _super);
|
|
25293
25317
|
function UtilInputNumber(target, operation, theme, options) {
|
|
25294
|
-
var _this = this;
|
|
25295
25318
|
var _a, _b, _c;
|
|
25296
|
-
_this = _super.call(this, target, operation, theme, options) || this;
|
|
25319
|
+
var _this = _super.call(this, target, operation, theme, options) || this;
|
|
25297
25320
|
_this._step = (_a = options === null || options === void 0 ? void 0 : options.step) !== null && _a !== void 0 ? _a : theme.getStep();
|
|
25298
25321
|
_this._min = (_b = options === null || options === void 0 ? void 0 : options.min) !== null && _b !== void 0 ? _b : theme.getMin();
|
|
25299
25322
|
_this._max = (_c = options === null || options === void 0 ? void 0 : options.max) !== null && _c !== void 0 ? _c : theme.getMax();
|
|
@@ -38650,7 +38673,7 @@
|
|
|
38650
38673
|
manager.setExtension(resourceId, parsed);
|
|
38651
38674
|
}
|
|
38652
38675
|
// Lock
|
|
38653
|
-
shape.lock();
|
|
38676
|
+
shape.lock(EShapeLockPart.CONNECTOR);
|
|
38654
38677
|
// Points
|
|
38655
38678
|
var points = shape.points;
|
|
38656
38679
|
points.deserialize(parsed[1], manager);
|
|
@@ -38668,7 +38691,7 @@
|
|
|
38668
38691
|
body.set(EShapeConnectorBodies.from(points.values, edge.tail.margin, edge.head.margin));
|
|
38669
38692
|
}
|
|
38670
38693
|
// Unlock
|
|
38671
|
-
shape.unlock();
|
|
38694
|
+
shape.unlock(EShapeLockPart.CONNECTOR, true);
|
|
38672
38695
|
}
|
|
38673
38696
|
}
|
|
38674
38697
|
};
|
|
@@ -39608,6 +39631,7 @@
|
|
|
39608
39631
|
clone.parent = result;
|
|
39609
39632
|
result.children.push(clone);
|
|
39610
39633
|
}
|
|
39634
|
+
EShapeConnectors.moveAll(children, result.children, children, result.children);
|
|
39611
39635
|
result.onChildTransformChange();
|
|
39612
39636
|
result.toDirty();
|
|
39613
39637
|
return result;
|
|
@@ -43475,9 +43499,8 @@
|
|
|
43475
43499
|
var DMenuItemBase = /** @class */ (function (_super) {
|
|
43476
43500
|
__extends(DMenuItemBase, _super);
|
|
43477
43501
|
function DMenuItemBase(options) {
|
|
43478
|
-
var _this = this;
|
|
43479
43502
|
var _a;
|
|
43480
|
-
_this = _super.call(this, options) || this;
|
|
43503
|
+
var _this = _super.call(this, options) || this;
|
|
43481
43504
|
_this._value = (_a = options === null || options === void 0 ? void 0 : options.value) !== null && _a !== void 0 ? _a : null;
|
|
43482
43505
|
return _this;
|
|
43483
43506
|
}
|
|
@@ -45495,7 +45518,7 @@
|
|
|
45495
45518
|
var cposition = EShapeCapabilities.contains(shape, EShapeCapability.POSITION);
|
|
45496
45519
|
var cwidth = EShapeCapabilities.contains(shape, EShapeCapability.WIDTH);
|
|
45497
45520
|
var cheight = EShapeCapabilities.contains(shape, EShapeCapability.HEIGHT);
|
|
45498
|
-
shape.
|
|
45521
|
+
shape.lock(EShapeLockPart.UPLOADED);
|
|
45499
45522
|
var position = shape.transform.position;
|
|
45500
45523
|
if (centerMode) {
|
|
45501
45524
|
var dx = Math.abs(to.x - from.x);
|
|
@@ -45592,7 +45615,7 @@
|
|
|
45592
45615
|
}
|
|
45593
45616
|
}
|
|
45594
45617
|
}
|
|
45595
|
-
shape.
|
|
45618
|
+
shape.unlock(EShapeLockPart.UPLOADED, true);
|
|
45596
45619
|
};
|
|
45597
45620
|
|
|
45598
45621
|
/*
|
|
@@ -45848,14 +45871,26 @@
|
|
|
45848
45871
|
var EShapeDeleter = /** @class */ (function () {
|
|
45849
45872
|
function EShapeDeleter() {
|
|
45850
45873
|
}
|
|
45874
|
+
EShapeDeleter.addAll = function (shapes, result) {
|
|
45875
|
+
for (var i = 0, imax = shapes.length; i < imax; ++i) {
|
|
45876
|
+
var shape = shapes[i];
|
|
45877
|
+
result.add(shape);
|
|
45878
|
+
this.addAll(shape.children, result);
|
|
45879
|
+
}
|
|
45880
|
+
return result;
|
|
45881
|
+
};
|
|
45851
45882
|
EShapeDeleter.delete = function (parent, shapes, generateListOfDetachedShapes) {
|
|
45883
|
+
var _a;
|
|
45852
45884
|
var children = parent.children;
|
|
45853
45885
|
var length = children.length;
|
|
45854
45886
|
// Update indices
|
|
45887
|
+
var exceptions = ((_a = EShapeDeleter.EXCEPTIONS) !== null && _a !== void 0 ? _a : (EShapeDeleter.EXCEPTIONS = new Set()));
|
|
45855
45888
|
for (var i = 0; i < length; ++i) {
|
|
45856
45889
|
var child = children[i];
|
|
45857
45890
|
if (child.selected) {
|
|
45858
45891
|
child.index = length + i;
|
|
45892
|
+
exceptions.add(child);
|
|
45893
|
+
this.addAll(child.children, exceptions);
|
|
45859
45894
|
}
|
|
45860
45895
|
else {
|
|
45861
45896
|
child.index = i;
|
|
@@ -45872,9 +45907,10 @@
|
|
|
45872
45907
|
child.parent = null;
|
|
45873
45908
|
child.selected = false;
|
|
45874
45909
|
child.uploaded = undefined;
|
|
45875
|
-
child.onDetach();
|
|
45910
|
+
child.onDetach(exceptions);
|
|
45876
45911
|
}
|
|
45877
45912
|
else {
|
|
45913
|
+
exceptions.clear();
|
|
45878
45914
|
var size = children.length - (i + 1);
|
|
45879
45915
|
if (0 < size) {
|
|
45880
45916
|
var result = children.splice(i + 1, size);
|
|
@@ -45893,6 +45929,7 @@
|
|
|
45893
45929
|
}
|
|
45894
45930
|
}
|
|
45895
45931
|
}
|
|
45932
|
+
exceptions.clear();
|
|
45896
45933
|
if (0 < children.length) {
|
|
45897
45934
|
var result = children.splice(0, children.length);
|
|
45898
45935
|
if (shapes != null) {
|
|
@@ -45916,9 +45953,10 @@
|
|
|
45916
45953
|
child.parent = null;
|
|
45917
45954
|
child.selected = false;
|
|
45918
45955
|
child.uploaded = undefined;
|
|
45919
|
-
child.onDetach();
|
|
45956
|
+
child.onDetach(exceptions);
|
|
45920
45957
|
}
|
|
45921
45958
|
else {
|
|
45959
|
+
exceptions.clear();
|
|
45922
45960
|
children.length = i + 1;
|
|
45923
45961
|
if (shapes != null) {
|
|
45924
45962
|
shapes.length = 0;
|
|
@@ -45928,6 +45966,7 @@
|
|
|
45928
45966
|
return null;
|
|
45929
45967
|
}
|
|
45930
45968
|
}
|
|
45969
|
+
exceptions.clear();
|
|
45931
45970
|
if (0 < children.length) {
|
|
45932
45971
|
children.length = 0;
|
|
45933
45972
|
if (shapes != null) {
|
|
@@ -46050,9 +46089,8 @@
|
|
|
46050
46089
|
var ESnapperGrid = /** @class */ (function (_super) {
|
|
46051
46090
|
__extends(ESnapperGrid, _super);
|
|
46052
46091
|
function ESnapperGrid(theme, options) {
|
|
46053
|
-
var _this = this;
|
|
46054
46092
|
var _a, _b, _c;
|
|
46055
|
-
_this = _super.call(this) || this;
|
|
46093
|
+
var _this = _super.call(this) || this;
|
|
46056
46094
|
_this._isVisibleDefault = (_a = options === null || options === void 0 ? void 0 : options.visible) !== null && _a !== void 0 ? _a : theme.isSnapGridVisible();
|
|
46057
46095
|
_this._isVisible = _this._isVisibleDefault;
|
|
46058
46096
|
_this._isEnabledDefault = (_b = options === null || options === void 0 ? void 0 : options.enable) !== null && _b !== void 0 ? _b : theme.isSnapGridEnabled();
|
|
@@ -46195,9 +46233,8 @@
|
|
|
46195
46233
|
var ESnapperTarget = /** @class */ (function (_super) {
|
|
46196
46234
|
__extends(ESnapperTarget, _super);
|
|
46197
46235
|
function ESnapperTarget(theme, options) {
|
|
46198
|
-
var _this = this;
|
|
46199
46236
|
var _a, _b;
|
|
46200
|
-
_this = _super.call(this) || this;
|
|
46237
|
+
var _this = _super.call(this) || this;
|
|
46201
46238
|
_this.values = [];
|
|
46202
46239
|
_this._isVisibleDefault = (_a = options === null || options === void 0 ? void 0 : options.visible) !== null && _a !== void 0 ? _a : theme.isSnapTargetVisible();
|
|
46203
46240
|
_this._isVisible = _this._isVisibleDefault;
|
|
@@ -46339,9 +46376,8 @@
|
|
|
46339
46376
|
var ESnapper = /** @class */ (function (_super) {
|
|
46340
46377
|
__extends(ESnapper, _super);
|
|
46341
46378
|
function ESnapper(parent, theme, options) {
|
|
46342
|
-
var _this = this;
|
|
46343
46379
|
var _a;
|
|
46344
|
-
_this = _super.call(this) || this;
|
|
46380
|
+
var _this = _super.call(this) || this;
|
|
46345
46381
|
_this._points = [
|
|
46346
46382
|
new pixi_js.Point(),
|
|
46347
46383
|
new pixi_js.Point(),
|
|
@@ -48214,9 +48250,8 @@
|
|
|
48214
48250
|
var DAnimationEmpty = /** @class */ (function (_super) {
|
|
48215
48251
|
__extends(DAnimationEmpty, _super);
|
|
48216
48252
|
function DAnimationEmpty(options) {
|
|
48217
|
-
var _this = this;
|
|
48218
48253
|
var _a;
|
|
48219
|
-
_this = _super.call(this) || this;
|
|
48254
|
+
var _this = _super.call(this) || this;
|
|
48220
48255
|
_this._target = (_a = options === null || options === void 0 ? void 0 : options.target) !== null && _a !== void 0 ? _a : null;
|
|
48221
48256
|
_this._reverse = false;
|
|
48222
48257
|
_this._isStarted = false;
|
|
@@ -48319,9 +48354,8 @@
|
|
|
48319
48354
|
var DAnimationFadeIn = /** @class */ (function (_super) {
|
|
48320
48355
|
__extends(DAnimationFadeIn, _super);
|
|
48321
48356
|
function DAnimationFadeIn(options) {
|
|
48322
|
-
var _this = this;
|
|
48323
48357
|
var _a, _b;
|
|
48324
|
-
_this = _super.call(this, options) || this;
|
|
48358
|
+
var _this = _super.call(this, options) || this;
|
|
48325
48359
|
_this._storedX = 0;
|
|
48326
48360
|
_this._storedY = 0;
|
|
48327
48361
|
_this._storedAlpha = 0;
|
|
@@ -54512,9 +54546,8 @@
|
|
|
54512
54546
|
var DScrollBar = /** @class */ (function (_super) {
|
|
54513
54547
|
__extends(DScrollBar, _super);
|
|
54514
54548
|
function DScrollBar(options) {
|
|
54515
|
-
var _this = this;
|
|
54516
54549
|
var _a, _b;
|
|
54517
|
-
_this = _super.call(this, options) || this;
|
|
54550
|
+
var _this = _super.call(this, options) || this;
|
|
54518
54551
|
_this._start = 0;
|
|
54519
54552
|
_this._end = 1;
|
|
54520
54553
|
_this.visible = false;
|
|
@@ -54985,9 +55018,8 @@
|
|
|
54985
55018
|
var DPane = /** @class */ (function (_super) {
|
|
54986
55019
|
__extends(DPane, _super);
|
|
54987
55020
|
function DPane(options) {
|
|
54988
|
-
var _this = this;
|
|
54989
55021
|
var _a;
|
|
54990
|
-
_this = _super.call(this, options) || this;
|
|
55022
|
+
var _this = _super.call(this, options) || this;
|
|
54991
55023
|
// Mask
|
|
54992
55024
|
var theme = _this.theme;
|
|
54993
55025
|
if ((_a = options === null || options === void 0 ? void 0 : options.mask) !== null && _a !== void 0 ? _a : theme.isOverflowMaskEnabled()) {
|
|
@@ -55615,9 +55647,8 @@
|
|
|
55615
55647
|
var DDialogSelect = /** @class */ (function (_super) {
|
|
55616
55648
|
__extends(DDialogSelect, _super);
|
|
55617
55649
|
function DDialogSelect(options) {
|
|
55618
|
-
var _this = this;
|
|
55619
55650
|
var _a, _b;
|
|
55620
|
-
_this = _super.call(this, options) || this;
|
|
55651
|
+
var _this = _super.call(this, options) || this;
|
|
55621
55652
|
// Value
|
|
55622
55653
|
_this._value = null;
|
|
55623
55654
|
// Categories
|
|
@@ -56053,9 +56084,8 @@
|
|
|
56053
56084
|
var DButtonSelect = /** @class */ (function (_super) {
|
|
56054
56085
|
__extends(DButtonSelect, _super);
|
|
56055
56086
|
function DButtonSelect(options) {
|
|
56056
|
-
var _this = this;
|
|
56057
56087
|
var _a, _b;
|
|
56058
|
-
_this = _super.call(this, options) || this;
|
|
56088
|
+
var _this = _super.call(this, options) || this;
|
|
56059
56089
|
_this._dialogGetter = (_a = options === null || options === void 0 ? void 0 : options.getter) !== null && _a !== void 0 ? _a : defaultGetter$1;
|
|
56060
56090
|
_this._dialogSetter = (_b = options === null || options === void 0 ? void 0 : options.setter) !== null && _b !== void 0 ? _b : defaultSetter$1;
|
|
56061
56091
|
return _this;
|
|
@@ -56306,7 +56336,7 @@
|
|
|
56306
56336
|
var plotAreaWidth = plotArea.width;
|
|
56307
56337
|
var plotAreaHeight = plotArea.height;
|
|
56308
56338
|
var offset = this._parser.padding * index;
|
|
56309
|
-
shape.
|
|
56339
|
+
shape.lock(EShapeLockPart.UPLOADED);
|
|
56310
56340
|
var position = shape.transform.position;
|
|
56311
56341
|
var size = shape.size;
|
|
56312
56342
|
switch (this._parser.position) {
|
|
@@ -56327,7 +56357,7 @@
|
|
|
56327
56357
|
size.set(0, plotAreaHeight);
|
|
56328
56358
|
break;
|
|
56329
56359
|
}
|
|
56330
|
-
shape.
|
|
56360
|
+
shape.unlock(EShapeLockPart.UPLOADED, true);
|
|
56331
56361
|
return true;
|
|
56332
56362
|
}
|
|
56333
56363
|
return false;
|
|
@@ -57384,18 +57414,18 @@
|
|
|
57384
57414
|
return true;
|
|
57385
57415
|
};
|
|
57386
57416
|
DChartAxisBaseTickContainer.prototype.showMajor = function (shape, x, y, text) {
|
|
57387
|
-
shape.
|
|
57417
|
+
shape.lock(EShapeLockPart.UPLOADED);
|
|
57388
57418
|
shape.visible = true;
|
|
57389
57419
|
shape.transform.position.set(x, y);
|
|
57390
57420
|
shape.text.value = text != null ? text : "";
|
|
57391
|
-
shape.
|
|
57421
|
+
shape.unlock(EShapeLockPart.UPLOADED, true);
|
|
57392
57422
|
};
|
|
57393
57423
|
DChartAxisBaseTickContainer.prototype.showMajorGridline = function (shape, value, x, y, sx, sy) {
|
|
57394
|
-
shape.
|
|
57424
|
+
shape.lock(EShapeLockPart.UPLOADED);
|
|
57395
57425
|
shape.visible = true;
|
|
57396
57426
|
shape.transform.position.set(x, y);
|
|
57397
57427
|
shape.size.set(sx, sy);
|
|
57398
|
-
shape.
|
|
57428
|
+
shape.unlock(EShapeLockPart.UPLOADED, true);
|
|
57399
57429
|
};
|
|
57400
57430
|
DChartAxisBaseTickContainer.prototype.hideMajor = function (shape) {
|
|
57401
57431
|
shape.visible = false;
|
|
@@ -57404,11 +57434,11 @@
|
|
|
57404
57434
|
shape.visible = false;
|
|
57405
57435
|
};
|
|
57406
57436
|
DChartAxisBaseTickContainer.prototype.showMinor = function (shape, x, y, text) {
|
|
57407
|
-
shape.
|
|
57437
|
+
shape.lock(EShapeLockPart.UPLOADED);
|
|
57408
57438
|
shape.visible = true;
|
|
57409
57439
|
shape.transform.position.set(x, y);
|
|
57410
57440
|
shape.text.value = text != null ? text : "";
|
|
57411
|
-
shape.
|
|
57441
|
+
shape.unlock(EShapeLockPart.UPLOADED, true);
|
|
57412
57442
|
};
|
|
57413
57443
|
DChartAxisBaseTickContainer.prototype.hideMinor = function (shape) {
|
|
57414
57444
|
shape.visible = false;
|
|
@@ -57871,7 +57901,7 @@
|
|
|
57871
57901
|
DChartAxisGuideSimpleShapeImpl.prototype.update = function (position, x, y, visible, width, height, offset) {
|
|
57872
57902
|
var bar = this._bar;
|
|
57873
57903
|
if (bar != null) {
|
|
57874
|
-
bar.
|
|
57904
|
+
bar.lock(EShapeLockPart.UPLOADED);
|
|
57875
57905
|
switch (position) {
|
|
57876
57906
|
case DChartAxisPosition.TOP:
|
|
57877
57907
|
bar.transform.position.set(x, y);
|
|
@@ -57894,7 +57924,7 @@
|
|
|
57894
57924
|
bar.visible = visible;
|
|
57895
57925
|
break;
|
|
57896
57926
|
}
|
|
57897
|
-
bar.
|
|
57927
|
+
bar.unlock(EShapeLockPart.UPLOADED, true);
|
|
57898
57928
|
}
|
|
57899
57929
|
var label = this._label;
|
|
57900
57930
|
if (label != null) {
|
|
@@ -57902,7 +57932,7 @@
|
|
|
57902
57932
|
var s = label.size;
|
|
57903
57933
|
var ox = offset + s.x * 0.5 + m;
|
|
57904
57934
|
var oy = offset + s.y * 0.5 + m;
|
|
57905
|
-
label.
|
|
57935
|
+
label.lock(EShapeLockPart.UPLOADED);
|
|
57906
57936
|
switch (position) {
|
|
57907
57937
|
case DChartAxisPosition.TOP:
|
|
57908
57938
|
label.transform.position.set(x, -oy);
|
|
@@ -57921,7 +57951,7 @@
|
|
|
57921
57951
|
label.visible = visible;
|
|
57922
57952
|
break;
|
|
57923
57953
|
}
|
|
57924
|
-
label.
|
|
57954
|
+
label.unlock(EShapeLockPart.UPLOADED, true);
|
|
57925
57955
|
}
|
|
57926
57956
|
var tick = this._tick;
|
|
57927
57957
|
if (tick != null) {
|
|
@@ -57929,7 +57959,7 @@
|
|
|
57929
57959
|
var s = tick.size;
|
|
57930
57960
|
var ox = offset + s.x * 0.5 + m;
|
|
57931
57961
|
var oy = offset + s.y * 0.5 + m;
|
|
57932
|
-
tick.
|
|
57962
|
+
tick.lock(EShapeLockPart.UPLOADED);
|
|
57933
57963
|
switch (position) {
|
|
57934
57964
|
case DChartAxisPosition.TOP:
|
|
57935
57965
|
tick.transform.position.set(x, -oy);
|
|
@@ -57948,7 +57978,7 @@
|
|
|
57948
57978
|
tick.visible = visible;
|
|
57949
57979
|
break;
|
|
57950
57980
|
}
|
|
57951
|
-
tick.
|
|
57981
|
+
tick.unlock(EShapeLockPart.UPLOADED, true);
|
|
57952
57982
|
}
|
|
57953
57983
|
return true;
|
|
57954
57984
|
};
|
|
@@ -60011,9 +60041,8 @@
|
|
|
60011
60041
|
var DChartSelectionSubImpl = /** @class */ (function (_super) {
|
|
60012
60042
|
__extends(DChartSelectionSubImpl, _super);
|
|
60013
60043
|
function DChartSelectionSubImpl(options) {
|
|
60014
|
-
var _this = this;
|
|
60015
60044
|
var _a, _b, _c, _d, _e;
|
|
60016
|
-
_this = _super.call(this) || this;
|
|
60045
|
+
var _this = _super.call(this) || this;
|
|
60017
60046
|
_this._container = null;
|
|
60018
60047
|
_this._series = null;
|
|
60019
60048
|
_this._isEnabled = (_a = options.enable) !== null && _a !== void 0 ? _a : true;
|
|
@@ -60170,9 +60199,8 @@
|
|
|
60170
60199
|
var DChartSelectionSimple = /** @class */ (function (_super) {
|
|
60171
60200
|
__extends(DChartSelectionSimple, _super);
|
|
60172
60201
|
function DChartSelectionSimple(options) {
|
|
60173
|
-
var _this = this;
|
|
60174
60202
|
var _a;
|
|
60175
|
-
_this = _super.call(this) || this;
|
|
60203
|
+
var _this = _super.call(this) || this;
|
|
60176
60204
|
_this._container = null;
|
|
60177
60205
|
var point = toEnum((_a = options === null || options === void 0 ? void 0 : options.point) !== null && _a !== void 0 ? _a : DChartSelectionPoint.CLOSER, DChartSelectionPoint);
|
|
60178
60206
|
_this._selected = _this.newSelected(point, options === null || options === void 0 ? void 0 : options.selected);
|
|
@@ -60585,9 +60613,8 @@
|
|
|
60585
60613
|
var DChartSeriesLineOfAny = /** @class */ (function (_super) {
|
|
60586
60614
|
__extends(DChartSeriesLineOfAny, _super);
|
|
60587
60615
|
function DChartSeriesLineOfAny(options) {
|
|
60588
|
-
var _this = this;
|
|
60589
60616
|
var _a;
|
|
60590
|
-
_this = _super.call(this, options) || this;
|
|
60617
|
+
var _this = _super.call(this, options) || this;
|
|
60591
60618
|
_this._line = null;
|
|
60592
60619
|
_this._options = options;
|
|
60593
60620
|
_this._points = (_a = options === null || options === void 0 ? void 0 : options.points) !== null && _a !== void 0 ? _a : [];
|
|
@@ -60759,9 +60786,9 @@
|
|
|
60759
60786
|
values[i + 0] -= cx;
|
|
60760
60787
|
values[i + 1] -= cy;
|
|
60761
60788
|
}
|
|
60762
|
-
line.
|
|
60789
|
+
line.lock(EShapeLockPart.UPLOADED);
|
|
60763
60790
|
this.applyLine(line, xcoordinate, ycoordinate, sx, sy, cx, cy, values);
|
|
60764
|
-
line.
|
|
60791
|
+
line.unlock(EShapeLockPart.UPLOADED, true);
|
|
60765
60792
|
};
|
|
60766
60793
|
DChartSeriesLineOfAny.prototype.adjustLineRegion = function (xmin, xmax, ymin, ymax, result) {
|
|
60767
60794
|
result.xmin = xmin;
|
|
@@ -61161,9 +61188,8 @@
|
|
|
61161
61188
|
var DChartSeriesLine = /** @class */ (function (_super) {
|
|
61162
61189
|
__extends(DChartSeriesLine, _super);
|
|
61163
61190
|
function DChartSeriesLine(options) {
|
|
61164
|
-
var _this = this;
|
|
61165
61191
|
var _a;
|
|
61166
|
-
_this = _super.call(this, options) || this;
|
|
61192
|
+
var _this = _super.call(this, options) || this;
|
|
61167
61193
|
_this._line = null;
|
|
61168
61194
|
_this._options = options;
|
|
61169
61195
|
_this._points = (_a = options === null || options === void 0 ? void 0 : options.points) !== null && _a !== void 0 ? _a : [];
|
|
@@ -61251,7 +61277,7 @@
|
|
|
61251
61277
|
return false;
|
|
61252
61278
|
};
|
|
61253
61279
|
DChartSeriesLine.prototype.doUpdateLine = function (line, xcoordinate, ycoordinate, isPointsDirty) {
|
|
61254
|
-
line.
|
|
61280
|
+
line.lock(EShapeLockPart.UPLOADED);
|
|
61255
61281
|
if (isPointsDirty) {
|
|
61256
61282
|
var values = line.points.values;
|
|
61257
61283
|
var segments = line.points.segments;
|
|
@@ -61334,7 +61360,7 @@
|
|
|
61334
61360
|
}
|
|
61335
61361
|
line.transform.position.set(xcoordinate.transform.map(this._centerX), ycoordinate.transform.map(this._centerY));
|
|
61336
61362
|
line.transform.scale.set(xcoordinate.transform.scale, ycoordinate.transform.scale);
|
|
61337
|
-
line.
|
|
61363
|
+
line.unlock(EShapeLockPart.UPLOADED, true);
|
|
61338
61364
|
};
|
|
61339
61365
|
DChartSeriesLine.prototype.updateRegion = function () {
|
|
61340
61366
|
var pointId = this._pointId;
|
|
@@ -61693,12 +61719,12 @@
|
|
|
61693
61719
|
if (0 < segments.length) {
|
|
61694
61720
|
segments.length = 0;
|
|
61695
61721
|
}
|
|
61696
|
-
line.
|
|
61722
|
+
line.lock(EShapeLockPart.UPLOADED);
|
|
61697
61723
|
line.points.set(values, segments);
|
|
61698
61724
|
line.points.toFitted(sx, sy);
|
|
61699
61725
|
line.size.set(sx, sy);
|
|
61700
61726
|
line.transform.position.set(cx, cy);
|
|
61701
|
-
line.
|
|
61727
|
+
line.unlock(EShapeLockPart.UPLOADED, true);
|
|
61702
61728
|
};
|
|
61703
61729
|
DChartSeriesLinear.prototype.updateRegion = function () {
|
|
61704
61730
|
// DO NOTHING
|
|
@@ -62067,9 +62093,8 @@
|
|
|
62067
62093
|
var DDiagramBase = /** @class */ (function (_super) {
|
|
62068
62094
|
__extends(DDiagramBase, _super);
|
|
62069
62095
|
function DDiagramBase(options) {
|
|
62070
|
-
var _this = this;
|
|
62071
62096
|
var _a;
|
|
62072
|
-
_this = _super.call(this, options) || this;
|
|
62097
|
+
var _this = _super.call(this, options) || this;
|
|
62073
62098
|
_this._serialized = null;
|
|
62074
62099
|
_this._tileFactory = options === null || options === void 0 ? void 0 : options.tile;
|
|
62075
62100
|
_this._controller = options === null || options === void 0 ? void 0 : options.controller;
|
|
@@ -62626,9 +62651,8 @@
|
|
|
62626
62651
|
var DDiagramCanvasBase = /** @class */ (function (_super) {
|
|
62627
62652
|
__extends(DDiagramCanvasBase, _super);
|
|
62628
62653
|
function DDiagramCanvasBase(options) {
|
|
62629
|
-
var _this = this;
|
|
62630
62654
|
var _a, _b, _c, _d;
|
|
62631
|
-
_this = _super.call(this, options) || this;
|
|
62655
|
+
var _this = _super.call(this, options) || this;
|
|
62632
62656
|
// Background
|
|
62633
62657
|
var theme = _this.theme;
|
|
62634
62658
|
if (!_this.isAmbient(theme, options)) {
|
|
@@ -63289,23 +63313,23 @@
|
|
|
63289
63313
|
var shape = null;
|
|
63290
63314
|
if (index < shapes.length) {
|
|
63291
63315
|
shape = shapes[index];
|
|
63292
|
-
shape.
|
|
63316
|
+
shape.lock(EShapeLockPart.UPLOADED);
|
|
63293
63317
|
shape.points.position = position;
|
|
63294
63318
|
shape.transform.position.set(x, y);
|
|
63295
63319
|
shape.stroke.set(true, style.color, style.alpha, style.width, undefined, undefined, style.style);
|
|
63296
63320
|
shape.size.set(w, h);
|
|
63297
63321
|
shape.visible = true;
|
|
63298
|
-
shape.
|
|
63322
|
+
shape.unlock(EShapeLockPart.UPLOADED, true);
|
|
63299
63323
|
}
|
|
63300
63324
|
else {
|
|
63301
63325
|
shape = new EShapeBar();
|
|
63302
|
-
shape.
|
|
63326
|
+
shape.lock(EShapeLockPart.UPLOADED);
|
|
63303
63327
|
shape.points.position = position;
|
|
63304
63328
|
shape.transform.position.set(x, y);
|
|
63305
63329
|
shape.stroke.set(true, style.color, style.alpha, style.width, undefined, undefined, style.style);
|
|
63306
63330
|
shape.size.set(w, h);
|
|
63307
63331
|
shape.visible = true;
|
|
63308
|
-
shape.
|
|
63332
|
+
shape.unlock(EShapeLockPart.UPLOADED, true);
|
|
63309
63333
|
shape.attach(container);
|
|
63310
63334
|
}
|
|
63311
63335
|
};
|
|
@@ -65266,9 +65290,8 @@
|
|
|
65266
65290
|
var DDialogProcessing = /** @class */ (function (_super) {
|
|
65267
65291
|
__extends(DDialogProcessing, _super);
|
|
65268
65292
|
function DDialogProcessing(options) {
|
|
65269
|
-
var _this = this;
|
|
65270
65293
|
var _a;
|
|
65271
|
-
_this = _super.call(this, options) || this;
|
|
65294
|
+
var _this = _super.call(this, options) || this;
|
|
65272
65295
|
_this._isDone = true;
|
|
65273
65296
|
_this._startTime = 0;
|
|
65274
65297
|
var delay = options === null || options === void 0 ? void 0 : options.delay;
|
|
@@ -66576,9 +66599,8 @@
|
|
|
66576
66599
|
var DMenuSidedSelection = /** @class */ (function (_super) {
|
|
66577
66600
|
__extends(DMenuSidedSelection, _super);
|
|
66578
66601
|
function DMenuSidedSelection(content, options) {
|
|
66579
|
-
var _this = this;
|
|
66580
66602
|
var _a, _b, _c;
|
|
66581
|
-
_this = _super.call(this) || this;
|
|
66603
|
+
var _this = _super.call(this) || this;
|
|
66582
66604
|
_this._content = content;
|
|
66583
66605
|
_this._item = null;
|
|
66584
66606
|
_this._isDirty = true;
|
|
@@ -66699,9 +66721,8 @@
|
|
|
66699
66721
|
var DMenuSided = /** @class */ (function (_super) {
|
|
66700
66722
|
__extends(DMenuSided, _super);
|
|
66701
66723
|
function DMenuSided(options) {
|
|
66702
|
-
var _this = this;
|
|
66703
66724
|
var _a;
|
|
66704
|
-
_this = _super.call(this, options) || this;
|
|
66725
|
+
var _this = _super.call(this, options) || this;
|
|
66705
66726
|
var context = new DMenuContext(_this);
|
|
66706
66727
|
_this._context = context;
|
|
66707
66728
|
context.add(_this);
|
|
@@ -66929,9 +66950,8 @@
|
|
|
66929
66950
|
var DPagination = /** @class */ (function (_super) {
|
|
66930
66951
|
__extends(DPagination, _super);
|
|
66931
66952
|
function DPagination(options) {
|
|
66932
|
-
var _this = this;
|
|
66933
66953
|
var _a, _b, _c, _d;
|
|
66934
|
-
_this = _super.call(this, options) || this;
|
|
66954
|
+
var _this = _super.call(this, options) || this;
|
|
66935
66955
|
if (options != null) {
|
|
66936
66956
|
_this._size = (_b = (_a = options.size) !== null && _a !== void 0 ? _a : options.total) !== null && _b !== void 0 ? _b : 10;
|
|
66937
66957
|
_this._value = (_d = (_c = options.value) !== null && _c !== void 0 ? _c : options.selected) !== null && _d !== void 0 ? _d : 0;
|
|
@@ -67943,9 +67963,8 @@
|
|
|
67943
67963
|
var DSliderValue = /** @class */ (function (_super) {
|
|
67944
67964
|
__extends(DSliderValue, _super);
|
|
67945
67965
|
function DSliderValue(options) {
|
|
67946
|
-
var _this = this;
|
|
67947
67966
|
var _a, _b;
|
|
67948
|
-
_this = _super.call(this, options) || this;
|
|
67967
|
+
var _this = _super.call(this, options) || this;
|
|
67949
67968
|
_this._value = (_a = options === null || options === void 0 ? void 0 : options.value) !== null && _a !== void 0 ? _a : 0;
|
|
67950
67969
|
_this._rounder = _this.toRounder(options);
|
|
67951
67970
|
_this._delta = (_b = options === null || options === void 0 ? void 0 : options.delta) !== null && _b !== void 0 ? _b : 1;
|
|
@@ -68550,9 +68569,8 @@
|
|
|
68550
68569
|
var DTableBodyCellSelectDialog = /** @class */ (function (_super) {
|
|
68551
68570
|
__extends(DTableBodyCellSelectDialog, _super);
|
|
68552
68571
|
function DTableBodyCellSelectDialog(columnIndex, column, onChange, options) {
|
|
68553
|
-
var _this = this;
|
|
68554
68572
|
var _a;
|
|
68555
|
-
_this = _super.call(this, options) || this;
|
|
68573
|
+
var _this = _super.call(this, options) || this;
|
|
68556
68574
|
_this._rowIndex = -1;
|
|
68557
68575
|
_this._columnIndex = columnIndex;
|
|
68558
68576
|
_this._column = column;
|
|
@@ -68754,9 +68772,8 @@
|
|
|
68754
68772
|
var DTableBodyCellSelectPromise = /** @class */ (function (_super) {
|
|
68755
68773
|
__extends(DTableBodyCellSelectPromise, _super);
|
|
68756
68774
|
function DTableBodyCellSelectPromise(columnIndex, column, onChange, options) {
|
|
68757
|
-
var _this = this;
|
|
68758
68775
|
var _a;
|
|
68759
|
-
_this = _super.call(this, options) || this;
|
|
68776
|
+
var _this = _super.call(this, options) || this;
|
|
68760
68777
|
_this._rowIndex = -1;
|
|
68761
68778
|
_this._columnIndex = columnIndex;
|
|
68762
68779
|
_this._column = column;
|
|
@@ -68942,9 +68959,8 @@
|
|
|
68942
68959
|
var DTableBodyCellButton = /** @class */ (function (_super) {
|
|
68943
68960
|
__extends(DTableBodyCellButton, _super);
|
|
68944
68961
|
function DTableBodyCellButton(columnIndex, column, onChange, options) {
|
|
68945
|
-
var _this = this;
|
|
68946
68962
|
var _a;
|
|
68947
|
-
_this = _super.call(this, columnIndex, column, onChange, options) || this;
|
|
68963
|
+
var _this = _super.call(this, columnIndex, column, onChange, options) || this;
|
|
68948
68964
|
_this._when = toEnum((_a = options === null || options === void 0 ? void 0 : options.when) !== null && _a !== void 0 ? _a : DButtonBaseWhen.CLICKED, DButtonBaseWhen);
|
|
68949
68965
|
_this.on(UtilPointerEvent.tap, function (e) {
|
|
68950
68966
|
_this.onClick(e);
|
|
@@ -70509,9 +70525,8 @@
|
|
|
70509
70525
|
var DTableRow = /** @class */ (function (_super) {
|
|
70510
70526
|
__extends(DTableRow, _super);
|
|
70511
70527
|
function DTableRow(options) {
|
|
70512
|
-
var _this = this;
|
|
70513
70528
|
var _a, _b;
|
|
70514
|
-
_this = _super.call(this, options) || this;
|
|
70529
|
+
var _this = _super.call(this, options) || this;
|
|
70515
70530
|
_this._reverse = true;
|
|
70516
70531
|
_this._frozen = (_a = options.frozen) !== null && _a !== void 0 ? _a : 0;
|
|
70517
70532
|
_this._columns = (_b = options.columns) !== null && _b !== void 0 ? _b : [];
|
|
@@ -71152,9 +71167,8 @@
|
|
|
71152
71167
|
var DTableDataListSelection = /** @class */ (function (_super) {
|
|
71153
71168
|
__extends(DTableDataListSelection, _super);
|
|
71154
71169
|
function DTableDataListSelection(parent, options) {
|
|
71155
|
-
var _this = this;
|
|
71156
71170
|
var _a;
|
|
71157
|
-
_this = _super.call(this) || this;
|
|
71171
|
+
var _this = _super.call(this) || this;
|
|
71158
71172
|
_this._parent = parent;
|
|
71159
71173
|
_this._type = toEnum((_a = options === null || options === void 0 ? void 0 : options.type) !== null && _a !== void 0 ? _a : DTableDataSelectionType.NONE, DTableDataSelectionType);
|
|
71160
71174
|
_this._indices = new Set();
|
|
@@ -71868,9 +71882,8 @@
|
|
|
71868
71882
|
var DTableBody = /** @class */ (function (_super) {
|
|
71869
71883
|
__extends(DTableBody, _super);
|
|
71870
71884
|
function DTableBody(options) {
|
|
71871
|
-
var _this = this;
|
|
71872
71885
|
var _a;
|
|
71873
|
-
_this = _super.call(this, options) || this;
|
|
71886
|
+
var _this = _super.call(this, options) || this;
|
|
71874
71887
|
_this.transform.position.y = (_a = options.offset) !== null && _a !== void 0 ? _a : 0;
|
|
71875
71888
|
var data = _this.toData(options.data);
|
|
71876
71889
|
_this._data = data;
|
|
@@ -72330,9 +72343,8 @@
|
|
|
72330
72343
|
var DTableCategory = /** @class */ (function (_super) {
|
|
72331
72344
|
__extends(DTableCategory, _super);
|
|
72332
72345
|
function DTableCategory(options) {
|
|
72333
|
-
var _this = this;
|
|
72334
72346
|
var _a;
|
|
72335
|
-
_this = _super.call(this, options) || this;
|
|
72347
|
+
var _this = _super.call(this, options) || this;
|
|
72336
72348
|
var offset = (_a = options.offset) !== null && _a !== void 0 ? _a : 0;
|
|
72337
72349
|
_this._offset = offset;
|
|
72338
72350
|
_this.transform.position.y = offset;
|
|
@@ -72604,9 +72616,8 @@
|
|
|
72604
72616
|
var DTableDataTreeSelectionImpl = /** @class */ (function (_super) {
|
|
72605
72617
|
__extends(DTableDataTreeSelectionImpl, _super);
|
|
72606
72618
|
function DTableDataTreeSelectionImpl(parent, options) {
|
|
72607
|
-
var _this = this;
|
|
72608
72619
|
var _a;
|
|
72609
|
-
_this = _super.call(this) || this;
|
|
72620
|
+
var _this = _super.call(this) || this;
|
|
72610
72621
|
_this._parent = parent;
|
|
72611
72622
|
_this._type = toEnum((_a = options === null || options === void 0 ? void 0 : options.type) !== null && _a !== void 0 ? _a : DTableDataSelectionType.NONE, DTableDataSelectionType);
|
|
72612
72623
|
_this._rows = new Set();
|
|
@@ -73642,9 +73653,8 @@
|
|
|
73642
73653
|
var DTableHeader = /** @class */ (function (_super) {
|
|
73643
73654
|
__extends(DTableHeader, _super);
|
|
73644
73655
|
function DTableHeader(options) {
|
|
73645
|
-
var _this = this;
|
|
73646
73656
|
var _a, _b;
|
|
73647
|
-
_this = _super.call(this, options) || this;
|
|
73657
|
+
var _this = _super.call(this, options) || this;
|
|
73648
73658
|
_this._table = (_a = options.table) !== null && _a !== void 0 ? _a : null;
|
|
73649
73659
|
var offset = (_b = options.offset) !== null && _b !== void 0 ? _b : 0;
|
|
73650
73660
|
_this._offset = offset;
|
|
@@ -75708,9 +75718,8 @@
|
|
|
75708
75718
|
var DTreeItemButton = /** @class */ (function (_super) {
|
|
75709
75719
|
__extends(DTreeItemButton, _super);
|
|
75710
75720
|
function DTreeItemButton(data, options) {
|
|
75711
|
-
var _this = this;
|
|
75712
75721
|
var _a;
|
|
75713
|
-
_this = _super.call(this, data, options) || this;
|
|
75722
|
+
var _this = _super.call(this, data, options) || this;
|
|
75714
75723
|
_this._when = toEnum((_a = options === null || options === void 0 ? void 0 : options.when) !== null && _a !== void 0 ? _a : DButtonBaseWhen.CLICKED, DButtonBaseWhen);
|
|
75715
75724
|
_this.on(UtilPointerEvent.tap, function (e) {
|
|
75716
75725
|
_this.onClick(e);
|
|
@@ -76350,6 +76359,8 @@
|
|
|
76350
76359
|
EShapeLineOfTriangles: EShapeLineOfTriangles,
|
|
76351
76360
|
EShapeLinePoints: EShapeLinePoints,
|
|
76352
76361
|
EShapeLine: EShapeLine,
|
|
76362
|
+
EShapeLockPart: EShapeLockPart,
|
|
76363
|
+
EShapeLock: EShapeLock,
|
|
76353
76364
|
EShapeNull: EShapeNull,
|
|
76354
76365
|
EShapePrimitive: EShapePrimitive,
|
|
76355
76366
|
EShapeRectanglePivoted: EShapeRectanglePivoted,
|