@wcardinal/wcardinal-ui 0.383.0 → 0.384.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-button-base-when.d.ts +1 -1
- 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-selection.d.ts +1 -1
- package/dist/types/wcardinal/ui/d-color-type.d.ts +1 -1
- package/dist/types/wcardinal/ui/d-dialog-gesture-mode.d.ts +1 -1
- package/dist/types/wcardinal/ui/d-dialog-mode.d.ts +1 -1
- package/dist/types/wcardinal/ui/d-dynamic-text-style-word-wrap.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-target.d.ts +1 -1
- package/dist/types/wcardinal/ui/d-list-data-selection.d.ts +1 -1
- package/dist/types/wcardinal/ui/d-menu-sided-selection.d.ts +1 -1
- package/dist/types/wcardinal/ui/d-picker-color.d.ts +1 -0
- package/dist/types/wcardinal/ui/d-scalar-expression.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-selection.d.ts +1 -1
- package/dist/types/wcardinal/ui/d-table-data-sorter.d.ts +1 -1
- package/dist/types/wcardinal/ui/d-tree-data-selection.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-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-text-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-misc-type.d.ts +1 -1
- 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-show-hide-type.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-resize-type.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-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-data-value-order.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-points-marker-type.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-stroke-side.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 +2 -2
- package/dist/types/wcardinal/ui/shape/variant/e-shape-bar-position.d.ts +1 -1
- package/dist/types/wcardinal/ui/shape/variant/e-shape-line-base-hit-part.d.ts +1 -1
- 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/theme/dark/d-theme-dark-en-us-picker-color.d.ts +5 -0
- package/dist/types/wcardinal/ui/theme/dark/d-theme-dark-ja-jp-picker-color.d.ts +5 -0
- package/dist/types/wcardinal/ui/theme/dark/d-theme-dark-picker-color.d.ts +3 -1
- package/dist/types/wcardinal/ui/theme/dark/index-en-us.d.ts +1 -0
- package/dist/types/wcardinal/ui/theme/dark/index-ja-jp.d.ts +1 -0
- package/dist/types/wcardinal/ui/theme/dark/load/index-en-us.d.ts +6 -0
- package/dist/types/wcardinal/ui/theme/dark/load/index-ja-jp.d.ts +6 -0
- package/dist/types/wcardinal/ui/theme/dark/load/index-zz-zz.d.ts +0 -6
- package/dist/types/wcardinal/ui/theme/dark/load/load-theme-dark-en-us-button-color-gradient.d.ts +1 -0
- package/dist/types/wcardinal/ui/theme/dark/load/load-theme-dark-en-us-button-color.d.ts +1 -0
- package/dist/types/wcardinal/ui/theme/dark/load/load-theme-dark-en-us-dialog-color-gradient.d.ts +1 -0
- package/dist/types/wcardinal/ui/theme/dark/load/load-theme-dark-en-us-dialog-color.d.ts +1 -0
- package/dist/types/wcardinal/ui/theme/dark/load/load-theme-dark-en-us-picker-color-gradient.d.ts +1 -0
- package/dist/types/wcardinal/ui/theme/dark/load/load-theme-dark-en-us-picker-color.d.ts +1 -0
- package/dist/types/wcardinal/ui/theme/dark/load/load-theme-dark-ja-jp-button-color-gradient.d.ts +1 -0
- package/dist/types/wcardinal/ui/theme/dark/load/load-theme-dark-ja-jp-button-color.d.ts +1 -0
- package/dist/types/wcardinal/ui/theme/dark/load/load-theme-dark-ja-jp-dialog-color-gradient.d.ts +1 -0
- package/dist/types/wcardinal/ui/theme/dark/load/load-theme-dark-ja-jp-dialog-color.d.ts +1 -0
- package/dist/types/wcardinal/ui/theme/dark/load/load-theme-dark-ja-jp-picker-color-gradient.d.ts +1 -0
- package/dist/types/wcardinal/ui/theme/dark/load/load-theme-dark-ja-jp-picker-color.d.ts +1 -0
- package/dist/types/wcardinal/ui/theme/white/d-theme-white-en-us-picker-color.d.ts +5 -0
- package/dist/types/wcardinal/ui/theme/white/d-theme-white-ja-jp-picker-color.d.ts +5 -0
- package/dist/types/wcardinal/ui/theme/white/d-theme-white-picker-color.d.ts +3 -1
- package/dist/types/wcardinal/ui/theme/white/index-en-us.d.ts +1 -0
- package/dist/types/wcardinal/ui/theme/white/index-ja-jp.d.ts +1 -0
- package/dist/types/wcardinal/ui/theme/white/load/index-en-us.d.ts +6 -0
- package/dist/types/wcardinal/ui/theme/white/load/index-ja-jp.d.ts +6 -0
- package/dist/types/wcardinal/ui/theme/white/load/index-zz-zz.d.ts +0 -6
- package/dist/types/wcardinal/ui/theme/white/load/load-theme-white-en-us-button-color-gradient.d.ts +1 -0
- package/dist/types/wcardinal/ui/theme/white/load/load-theme-white-en-us-button-color.d.ts +1 -0
- package/dist/types/wcardinal/ui/theme/white/load/load-theme-white-en-us-dialog-color-gradient.d.ts +1 -0
- package/dist/types/wcardinal/ui/theme/white/load/load-theme-white-en-us-dialog-color.d.ts +1 -0
- package/dist/types/wcardinal/ui/theme/white/load/load-theme-white-en-us-picker-color-gradient.d.ts +1 -0
- package/dist/types/wcardinal/ui/theme/white/load/load-theme-white-en-us-picker-color.d.ts +1 -0
- package/dist/types/wcardinal/ui/theme/white/load/load-theme-white-ja-jp-button-color-gradient.d.ts +1 -0
- package/dist/types/wcardinal/ui/theme/white/load/load-theme-white-ja-jp-button-color.d.ts +1 -0
- package/dist/types/wcardinal/ui/theme/white/load/load-theme-white-ja-jp-dialog-color-gradient.d.ts +1 -0
- package/dist/types/wcardinal/ui/theme/white/load/load-theme-white-ja-jp-dialog-color.d.ts +1 -0
- package/dist/types/wcardinal/ui/theme/white/load/load-theme-white-ja-jp-picker-color-gradient.d.ts +1 -0
- package/dist/types/wcardinal/ui/theme/white/load/load-theme-white-ja-jp-picker-color.d.ts +1 -0
- package/dist/types/wcardinal/ui/util/util-attach.d.ts +1 -1
- package/dist/types/wcardinal/ui/util/util-file-opener.d.ts +1 -1
- package/dist/types/wcardinal/ui/util/util-gesture-mode.d.ts +1 -1
- package/dist/types/wcardinal/ui/util/util-html-element-when.d.ts +1 -1
- package/dist/wcardinal/ui/d-align-horizontal.js.map +1 -1
- package/dist/wcardinal/ui/d-align-vertical.js.map +1 -1
- package/dist/wcardinal/ui/d-align-with.js.map +1 -1
- package/dist/wcardinal/ui/d-button-base-when.js.map +1 -1
- package/dist/wcardinal/ui/d-chart-axis-position.js.map +1 -1
- package/dist/wcardinal/ui/d-chart-axis-tick-position.js.map +1 -1
- package/dist/wcardinal/ui/d-chart-coordinate-direction.js.map +1 -1
- package/dist/wcardinal/ui/d-chart-selection.js.map +1 -1
- package/dist/wcardinal/ui/d-color-type.js.map +1 -1
- package/dist/wcardinal/ui/d-diagram-canvas-tile.js.map +1 -1
- package/dist/wcardinal/ui/d-dialog-gesture-mode.js.map +1 -1
- package/dist/wcardinal/ui/d-dialog-layered-header-button-close.js.map +1 -1
- package/dist/wcardinal/ui/d-dialog-layered-header-separator.js.map +1 -1
- package/dist/wcardinal/ui/d-dialog-mode.js.map +1 -1
- package/dist/wcardinal/ui/d-dynamic-text-style-word-wrap.js.map +1 -1
- package/dist/wcardinal/ui/d-layout-direction.js.map +1 -1
- package/dist/wcardinal/ui/d-link-menu-item-id.js.map +1 -1
- package/dist/wcardinal/ui/d-link-target.js.map +1 -1
- package/dist/wcardinal/ui/d-list-data-selection.js.map +1 -1
- package/dist/wcardinal/ui/d-menu-sided-selection.js.map +1 -1
- package/dist/wcardinal/ui/d-pagination-button-previous.js.map +1 -1
- package/dist/wcardinal/ui/d-picker-color.js +2 -2
- package/dist/wcardinal/ui/d-picker-color.js.map +1 -1
- package/dist/wcardinal/ui/d-scalar-expression.js.map +1 -1
- package/dist/wcardinal/ui/d-table-body-cell-input-tree-input.js.map +1 -1
- package/dist/wcardinal/ui/d-table-body-cell-input-tree-marker.js.map +1 -1
- package/dist/wcardinal/ui/d-table-body-cell-select-dialog.js.map +1 -1
- package/dist/wcardinal/ui/d-table-body-cell-select-multiple.js.map +1 -1
- package/dist/wcardinal/ui/d-table-body-cell-select-promise.js.map +1 -1
- package/dist/wcardinal/ui/d-table-column-type.js.map +1 -1
- package/dist/wcardinal/ui/d-table-column-update.js.map +1 -1
- package/dist/wcardinal/ui/d-table-column.js.map +1 -1
- package/dist/wcardinal/ui/d-table-data-selection.js.map +1 -1
- package/dist/wcardinal/ui/d-table-data-sorter.js.map +1 -1
- package/dist/wcardinal/ui/d-tree-data-selection.js.map +1 -1
- package/dist/wcardinal/ui/shape/action/e-shape-action-value-blink-type.js.map +1 -1
- package/dist/wcardinal/ui/shape/action/e-shape-action-value-change-color-target.js.map +1 -1
- package/dist/wcardinal/ui/shape/action/e-shape-action-value-change-color-type-legacy.js.map +1 -1
- package/dist/wcardinal/ui/shape/action/e-shape-action-value-change-text-type.js.map +1 -1
- package/dist/wcardinal/ui/shape/action/e-shape-action-value-gesture-type.js.map +1 -1
- package/dist/wcardinal/ui/shape/action/e-shape-action-value-misc-type.js.map +1 -1
- package/dist/wcardinal/ui/shape/action/e-shape-action-value-on-input-action.js.map +1 -1
- package/dist/wcardinal/ui/shape/action/e-shape-action-value-show-hide-type.js.map +1 -1
- package/dist/wcardinal/ui/shape/action/e-shape-action-value-transform-move-type.js.map +1 -1
- package/dist/wcardinal/ui/shape/action/e-shape-action-value-transform-resize-type.js.map +1 -1
- package/dist/wcardinal/ui/shape/action/e-shape-action-value-transform-rotate-type.js.map +1 -1
- package/dist/wcardinal/ui/shape/action/e-shape-action-value-transform-type.js.map +1 -1
- package/dist/wcardinal/ui/shape/e-shape-acceptor-edge-side.js.map +1 -1
- package/dist/wcardinal/ui/shape/e-shape-acceptor-edge-type.js.map +1 -1
- package/dist/wcardinal/ui/shape/e-shape-acceptor-type.js.map +1 -1
- package/dist/wcardinal/ui/shape/e-shape-data-value-order.js.map +1 -1
- package/dist/wcardinal/ui/shape/e-shape-data-value-scope.js.map +1 -1
- package/dist/wcardinal/ui/shape/e-shape-points-marker-type.js.map +1 -1
- package/dist/wcardinal/ui/shape/e-shape-resource-manager-deserialization-mode.js.map +1 -1
- package/dist/wcardinal/ui/shape/e-shape-runtime-reset.js.map +1 -1
- package/dist/wcardinal/ui/shape/e-shape-stroke-side.js.map +1 -1
- package/dist/wcardinal/ui/shape/e-shape-text-align-horizontal.js.map +1 -1
- package/dist/wcardinal/ui/shape/e-shape-text-align-vertical.js.map +1 -1
- package/dist/wcardinal/ui/shape/e-shape-text-direction.js.map +1 -1
- package/dist/wcardinal/ui/shape/e-shape-text.js.map +1 -1
- package/dist/wcardinal/ui/shape/variant/e-shape-bar-position.js.map +1 -1
- package/dist/wcardinal/ui/shape/variant/e-shape-line-base-hit-part.js.map +1 -1
- package/dist/wcardinal/ui/snapper/e-snapper-target-value.js.map +1 -1
- package/dist/wcardinal/ui/snapper/e-snapper.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-en-us-picker-color.js +24 -0
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-en-us-picker-color.js.map +1 -0
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-ja-jp-picker-color.js +24 -0
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-ja-jp-picker-color.js.map +1 -0
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-picker-color.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/index-en-us.js +1 -0
- package/dist/wcardinal/ui/theme/dark/index-en-us.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/index-ja-jp.js +1 -0
- package/dist/wcardinal/ui/theme/dark/index-ja-jp.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/load/index-en-us.js +6 -0
- package/dist/wcardinal/ui/theme/dark/load/index-en-us.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/load/index-ja-jp.js +6 -0
- package/dist/wcardinal/ui/theme/dark/load/index-ja-jp.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/load/index-zz-zz.js +0 -6
- package/dist/wcardinal/ui/theme/dark/load/index-zz-zz.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/load/load-theme-dark-en-us-all.js +4 -4
- package/dist/wcardinal/ui/theme/dark/load/load-theme-dark-en-us-all.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/load/load-theme-dark-en-us-button-all.js +4 -4
- package/dist/wcardinal/ui/theme/dark/load/load-theme-dark-en-us-button-all.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/load/{load-theme-dark-button-color-gradient.js → load-theme-dark-en-us-button-color-gradient.js} +4 -4
- package/dist/wcardinal/ui/theme/dark/load/load-theme-dark-en-us-button-color-gradient.js.map +1 -0
- package/dist/wcardinal/ui/theme/dark/load/{load-theme-dark-button-color.js → load-theme-dark-en-us-button-color.js} +4 -4
- package/dist/wcardinal/ui/theme/dark/load/load-theme-dark-en-us-button-color.js.map +1 -0
- package/dist/wcardinal/ui/theme/dark/load/load-theme-dark-en-us-dialog-all.js +4 -4
- package/dist/wcardinal/ui/theme/dark/load/load-theme-dark-en-us-dialog-all.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/load/{load-theme-dark-dialog-color-gradient.js → load-theme-dark-en-us-dialog-color-gradient.js} +4 -4
- package/dist/wcardinal/ui/theme/dark/load/load-theme-dark-en-us-dialog-color-gradient.js.map +1 -0
- package/dist/wcardinal/ui/theme/dark/load/{load-theme-dark-dialog-color.js → load-theme-dark-en-us-dialog-color.js} +4 -4
- package/dist/wcardinal/ui/theme/dark/load/load-theme-dark-en-us-dialog-color.js.map +1 -0
- package/dist/wcardinal/ui/theme/dark/load/{load-theme-dark-picker-color-gradient.js → load-theme-dark-en-us-picker-color-gradient.js} +4 -4
- package/dist/wcardinal/ui/theme/dark/load/load-theme-dark-en-us-picker-color-gradient.js.map +1 -0
- package/dist/wcardinal/ui/theme/dark/load/load-theme-dark-en-us-picker-color.js +10 -0
- package/dist/wcardinal/ui/theme/dark/load/load-theme-dark-en-us-picker-color.js.map +1 -0
- package/dist/wcardinal/ui/theme/dark/load/load-theme-dark-en-us-table.js +2 -2
- package/dist/wcardinal/ui/theme/dark/load/load-theme-dark-en-us-table.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/load/load-theme-dark-ja-jp-all.js +4 -4
- package/dist/wcardinal/ui/theme/dark/load/load-theme-dark-ja-jp-all.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/load/load-theme-dark-ja-jp-button-all.js +4 -4
- package/dist/wcardinal/ui/theme/dark/load/load-theme-dark-ja-jp-button-all.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/load/load-theme-dark-ja-jp-button-color-gradient.js +12 -0
- package/dist/wcardinal/ui/theme/dark/load/load-theme-dark-ja-jp-button-color-gradient.js.map +1 -0
- package/dist/wcardinal/ui/theme/dark/load/load-theme-dark-ja-jp-button-color.js +12 -0
- package/dist/wcardinal/ui/theme/dark/load/load-theme-dark-ja-jp-button-color.js.map +1 -0
- package/dist/wcardinal/ui/theme/dark/load/load-theme-dark-ja-jp-dialog-all.js +4 -4
- package/dist/wcardinal/ui/theme/dark/load/load-theme-dark-ja-jp-dialog-all.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/load/load-theme-dark-ja-jp-dialog-color-gradient.js +12 -0
- package/dist/wcardinal/ui/theme/dark/load/load-theme-dark-ja-jp-dialog-color-gradient.js.map +1 -0
- package/dist/wcardinal/ui/theme/dark/load/load-theme-dark-ja-jp-dialog-color.js +12 -0
- package/dist/wcardinal/ui/theme/dark/load/load-theme-dark-ja-jp-dialog-color.js.map +1 -0
- package/dist/wcardinal/ui/theme/dark/load/load-theme-dark-ja-jp-picker-color-gradient.js +12 -0
- package/dist/wcardinal/ui/theme/dark/load/load-theme-dark-ja-jp-picker-color-gradient.js.map +1 -0
- package/dist/wcardinal/ui/theme/dark/load/load-theme-dark-ja-jp-picker-color.js +10 -0
- package/dist/wcardinal/ui/theme/dark/load/load-theme-dark-ja-jp-picker-color.js.map +1 -0
- package/dist/wcardinal/ui/theme/dark/load/load-theme-dark-ja-jp-table.js +2 -2
- package/dist/wcardinal/ui/theme/dark/load/load-theme-dark-ja-jp-table.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/d-theme-white-en-us-picker-color.js +24 -0
- package/dist/wcardinal/ui/theme/white/d-theme-white-en-us-picker-color.js.map +1 -0
- package/dist/wcardinal/ui/theme/white/d-theme-white-ja-jp-picker-color.js +24 -0
- package/dist/wcardinal/ui/theme/white/d-theme-white-ja-jp-picker-color.js.map +1 -0
- package/dist/wcardinal/ui/theme/white/d-theme-white-picker-color.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/index-en-us.js +1 -0
- package/dist/wcardinal/ui/theme/white/index-en-us.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/index-ja-jp.js +1 -0
- package/dist/wcardinal/ui/theme/white/index-ja-jp.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/load/index-en-us.js +6 -0
- package/dist/wcardinal/ui/theme/white/load/index-en-us.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/load/index-ja-jp.js +6 -0
- package/dist/wcardinal/ui/theme/white/load/index-ja-jp.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/load/index-zz-zz.js +0 -6
- package/dist/wcardinal/ui/theme/white/load/index-zz-zz.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/load/load-theme-white-en-us-all.js +4 -4
- package/dist/wcardinal/ui/theme/white/load/load-theme-white-en-us-all.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/load/load-theme-white-en-us-button-all.js +4 -4
- package/dist/wcardinal/ui/theme/white/load/load-theme-white-en-us-button-all.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/load/{load-theme-white-button-color-gradient.js → load-theme-white-en-us-button-color-gradient.js} +4 -4
- package/dist/wcardinal/ui/theme/white/load/load-theme-white-en-us-button-color-gradient.js.map +1 -0
- package/dist/wcardinal/ui/theme/white/load/{load-theme-white-button-color.js → load-theme-white-en-us-button-color.js} +4 -4
- package/dist/wcardinal/ui/theme/white/load/load-theme-white-en-us-button-color.js.map +1 -0
- package/dist/wcardinal/ui/theme/white/load/load-theme-white-en-us-dialog-all.js +4 -4
- package/dist/wcardinal/ui/theme/white/load/load-theme-white-en-us-dialog-all.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/load/{load-theme-white-dialog-color-gradient.js → load-theme-white-en-us-dialog-color-gradient.js} +4 -4
- package/dist/wcardinal/ui/theme/white/load/load-theme-white-en-us-dialog-color-gradient.js.map +1 -0
- package/dist/wcardinal/ui/theme/white/load/{load-theme-white-dialog-color.js → load-theme-white-en-us-dialog-color.js} +4 -4
- package/dist/wcardinal/ui/theme/white/load/load-theme-white-en-us-dialog-color.js.map +1 -0
- package/dist/wcardinal/ui/theme/white/load/{load-theme-white-picker-color-gradient.js → load-theme-white-en-us-picker-color-gradient.js} +4 -4
- package/dist/wcardinal/ui/theme/white/load/load-theme-white-en-us-picker-color-gradient.js.map +1 -0
- package/dist/wcardinal/ui/theme/white/load/load-theme-white-en-us-picker-color.js +10 -0
- package/dist/wcardinal/ui/theme/white/load/load-theme-white-en-us-picker-color.js.map +1 -0
- package/dist/wcardinal/ui/theme/white/load/load-theme-white-en-us-table.js +2 -2
- package/dist/wcardinal/ui/theme/white/load/load-theme-white-en-us-table.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/load/load-theme-white-ja-jp-all.js +4 -4
- package/dist/wcardinal/ui/theme/white/load/load-theme-white-ja-jp-all.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/load/load-theme-white-ja-jp-button-all.js +4 -4
- package/dist/wcardinal/ui/theme/white/load/load-theme-white-ja-jp-button-all.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/load/load-theme-white-ja-jp-button-color-gradient.js +12 -0
- package/dist/wcardinal/ui/theme/white/load/load-theme-white-ja-jp-button-color-gradient.js.map +1 -0
- package/dist/wcardinal/ui/theme/white/load/load-theme-white-ja-jp-button-color.js +12 -0
- package/dist/wcardinal/ui/theme/white/load/load-theme-white-ja-jp-button-color.js.map +1 -0
- package/dist/wcardinal/ui/theme/white/load/load-theme-white-ja-jp-dialog-all.js +4 -4
- package/dist/wcardinal/ui/theme/white/load/load-theme-white-ja-jp-dialog-all.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/load/load-theme-white-ja-jp-dialog-color-gradient.js +12 -0
- package/dist/wcardinal/ui/theme/white/load/load-theme-white-ja-jp-dialog-color-gradient.js.map +1 -0
- package/dist/wcardinal/ui/theme/white/load/load-theme-white-ja-jp-dialog-color.js +12 -0
- package/dist/wcardinal/ui/theme/white/load/load-theme-white-ja-jp-dialog-color.js.map +1 -0
- package/dist/wcardinal/ui/theme/white/load/load-theme-white-ja-jp-picker-color-gradient.js +12 -0
- package/dist/wcardinal/ui/theme/white/load/load-theme-white-ja-jp-picker-color-gradient.js.map +1 -0
- package/dist/wcardinal/ui/theme/white/load/load-theme-white-ja-jp-picker-color.js +10 -0
- package/dist/wcardinal/ui/theme/white/load/load-theme-white-ja-jp-picker-color.js.map +1 -0
- package/dist/wcardinal/ui/theme/white/load/load-theme-white-ja-jp-table.js +2 -2
- package/dist/wcardinal/ui/theme/white/load/load-theme-white-ja-jp-table.js.map +1 -1
- package/dist/wcardinal/ui/util/util-attach.js.map +1 -1
- package/dist/wcardinal/ui/util/util-file-opener.js.map +1 -1
- package/dist/wcardinal/ui/util/util-gesture-mode.js.map +1 -1
- package/dist/wcardinal/ui/util/util-html-element-when.js.map +1 -1
- package/dist/wcardinal-ui-theme-dark-en-us.js +1464 -1441
- package/dist/wcardinal-ui-theme-dark-en-us.min.js +2 -2
- package/dist/wcardinal-ui-theme-dark-en-us.min.js.map +1 -1
- package/dist/wcardinal-ui-theme-dark-ja-jp.js +1464 -1441
- package/dist/wcardinal-ui-theme-dark-ja-jp.min.js +2 -2
- package/dist/wcardinal-ui-theme-dark-ja-jp.min.js.map +1 -1
- package/dist/wcardinal-ui-theme-dark.js +1464 -1441
- package/dist/wcardinal-ui-theme-dark.min.js +2 -2
- package/dist/wcardinal-ui-theme-white-en-us.js +1361 -1338
- package/dist/wcardinal-ui-theme-white-en-us.min.js +2 -2
- package/dist/wcardinal-ui-theme-white-en-us.min.js.map +1 -1
- package/dist/wcardinal-ui-theme-white-ja-jp.js +1361 -1338
- package/dist/wcardinal-ui-theme-white-ja-jp.min.js +2 -2
- package/dist/wcardinal-ui-theme-white-ja-jp.min.js.map +1 -1
- package/dist/wcardinal-ui-theme-white.js +1361 -1338
- package/dist/wcardinal-ui-theme-white.min.js +2 -2
- package/dist/wcardinal-ui.cjs.js +2863 -2661
- package/dist/wcardinal-ui.js +3 -3
- package/dist/wcardinal-ui.min.js +2 -2
- package/dist/wcardinal-ui.min.js.map +1 -1
- package/package.json +1 -1
- package/dist/types/wcardinal/ui/theme/dark/load/load-theme-dark-button-color-gradient.d.ts +0 -1
- package/dist/types/wcardinal/ui/theme/dark/load/load-theme-dark-button-color.d.ts +0 -1
- package/dist/types/wcardinal/ui/theme/dark/load/load-theme-dark-dialog-color-gradient.d.ts +0 -1
- package/dist/types/wcardinal/ui/theme/dark/load/load-theme-dark-dialog-color.d.ts +0 -1
- package/dist/types/wcardinal/ui/theme/dark/load/load-theme-dark-picker-color-gradient.d.ts +0 -1
- package/dist/types/wcardinal/ui/theme/dark/load/load-theme-dark-picker-color.d.ts +0 -1
- package/dist/types/wcardinal/ui/theme/white/load/load-theme-white-button-color-gradient.d.ts +0 -1
- package/dist/types/wcardinal/ui/theme/white/load/load-theme-white-button-color.d.ts +0 -1
- package/dist/types/wcardinal/ui/theme/white/load/load-theme-white-dialog-color-gradient.d.ts +0 -1
- package/dist/types/wcardinal/ui/theme/white/load/load-theme-white-dialog-color.d.ts +0 -1
- package/dist/types/wcardinal/ui/theme/white/load/load-theme-white-picker-color-gradient.d.ts +0 -1
- package/dist/types/wcardinal/ui/theme/white/load/load-theme-white-picker-color.d.ts +0 -1
- package/dist/wcardinal/ui/theme/dark/load/load-theme-dark-button-color-gradient.js.map +0 -1
- package/dist/wcardinal/ui/theme/dark/load/load-theme-dark-button-color.js.map +0 -1
- package/dist/wcardinal/ui/theme/dark/load/load-theme-dark-dialog-color-gradient.js.map +0 -1
- package/dist/wcardinal/ui/theme/dark/load/load-theme-dark-dialog-color.js.map +0 -1
- package/dist/wcardinal/ui/theme/dark/load/load-theme-dark-picker-color-gradient.js.map +0 -1
- package/dist/wcardinal/ui/theme/dark/load/load-theme-dark-picker-color.js +0 -10
- package/dist/wcardinal/ui/theme/dark/load/load-theme-dark-picker-color.js.map +0 -1
- package/dist/wcardinal/ui/theme/white/load/load-theme-white-button-color-gradient.js.map +0 -1
- package/dist/wcardinal/ui/theme/white/load/load-theme-white-button-color.js.map +0 -1
- package/dist/wcardinal/ui/theme/white/load/load-theme-white-dialog-color-gradient.js.map +0 -1
- package/dist/wcardinal/ui/theme/white/load/load-theme-white-dialog-color.js.map +0 -1
- package/dist/wcardinal/ui/theme/white/load/load-theme-white-picker-color-gradient.js.map +0 -1
- package/dist/wcardinal/ui/theme/white/load/load-theme-white-picker-color.js +0 -10
- package/dist/wcardinal/ui/theme/white/load/load-theme-white-picker-color.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"d-table-data-selection.js","sourceRoot":"","sources":["../../../src/main/typescript/wcardinal/ui/d-table-data-selection.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAMH;;GAEG;AACH,MAAM,CAAC,IAAM,uBAAuB,GAAG;IACtC,IAAI,EAAE,CAAC;IACP,MAAM,EAAE,CAAC;IACT,QAAQ,EAAE,CAAC;CACF,CAAC","sourcesContent":["/*\n * Copyright (C) 2019 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport { utils } from \"pixi.js\";\nimport { DOnOptions } from \"./d-on-options\";\nimport { DTableData } from \"./d-table-data\";\n\n/**\n * {@link DTableDataSelection} type.\n */\nexport const DTableDataSelectionType = {\n\tNONE: 0,\n\tSINGLE: 1,\n\tMULTIPLE: 2\n} as const;\n\nexport type DTableDataSelectionType =\n\
|
|
1
|
+
{"version":3,"file":"d-table-data-selection.js","sourceRoot":"","sources":["../../../src/main/typescript/wcardinal/ui/d-table-data-selection.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAMH;;GAEG;AACH,MAAM,CAAC,IAAM,uBAAuB,GAAG;IACtC,IAAI,EAAE,CAAC;IACP,MAAM,EAAE,CAAC;IACT,QAAQ,EAAE,CAAC;CACF,CAAC","sourcesContent":["/*\n * Copyright (C) 2019 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport { utils } from \"pixi.js\";\nimport { DOnOptions } from \"./d-on-options\";\nimport { DTableData } from \"./d-table-data\";\n\n/**\n * {@link DTableDataSelection} type.\n */\nexport const DTableDataSelectionType = {\n\tNONE: 0,\n\tSINGLE: 1,\n\tMULTIPLE: 2\n} as const;\n\nexport type DTableDataSelectionType =\n\t(typeof DTableDataSelectionType)[keyof typeof DTableDataSelectionType];\n\n/**\n * {@link DTableDataSelection} events.\n */\nexport interface DTableDataSelectionEvents<EMITTER> {\n\t/**\n\t * Triggered when s selection is changed.\n\t *\n\t * @param emitter an emitter\n\t */\n\tchange(emitter: EMITTER): void;\n}\n\n/**\n * {@link DTableDataSelection} \"on\" options.\n */\nexport interface DTableDataSelectionOnOptions<EMITTER>\n\textends Partial<DTableDataSelectionEvents<EMITTER>>,\n\t\tDOnOptions {}\n\nexport interface DTableDataSelectionOptions<EMITTER = any> {\n\ttype?: keyof typeof DTableDataSelectionType | DTableDataSelectionType;\n\ton?: DTableDataSelectionOnOptions<EMITTER>;\n}\n\nexport type DTableDataSelectionEachIteratee = (index: number) => void | boolean;\n\nexport interface DTableDataSelection<ROW> extends utils.EventEmitter {\n\treadonly parent: DTableData<ROW>;\n\n\t/**\n\t * Returns a copy of an index array of selected rows.\n\t * The order of indices is an insertion order.\n\t */\n\treadonly indices: number[];\n\n\t/**\n\t * Returns a copy of an array of selected row value.\n\t * The order is an insertion order.\n\t */\n\treadonly rows: ROW[];\n\n\treadonly type: DTableDataSelectionType;\n\n\treadonly first: number | null;\n\treadonly last: number | null;\n\n\ttoggle(rowIndex: number): void;\n\tadd(rowIndex: number): void;\n\taddTo(rowIndex: number): void;\n\taddRange(from: number, includeFrom: boolean, to: number, includeTo: boolean): void;\n\taddAll(rowIndices: number[]): void;\n\tcontains(rowIndex: number): boolean;\n\tremove(rowIndex: number): void;\n\tclear(): void;\n\tclearAndAdd(rowIndex: number): void;\n\tclearAndAddAll(rowIndices: number[]): void;\n\tshift(rowIndex: number, amount: number): void;\n\tsize(): number;\n\tisEmpty(): boolean;\n\n\t/**\n\t * Calls the specified iteratee on each indices.\n\t * If called iteratee explicitly returns false, stops an iteration.\n\t *\n\t * @param iteratee an function called on each indices\n\t */\n\teach(iteratee: DTableDataSelectionEachIteratee): void;\n\n\t/**\n\t * Returns an array of the (index, row value) pairs of selected rows.\n\t * The order of pairs is an insertion order.\n\t */\n\ttoArray(): Array<[number, ROW]>;\n\n\t/**\n\t * Returns an sorted array of the (index, row value) pairs of selected rows.\n\t */\n\ttoSortedArray(): Array<[number, ROW]>;\n\n\ttoObject(): Record<number, ROW>;\n\n\ttoMap(): Map<number, ROW>;\n}\n\nexport interface DTableDataSelectionParent<ROW> extends DTableData<ROW> {\n\tupdate(): void;\n}\n\nexport type DTableDataSelectionCreator<NODE> = (\n\tparent: DTableDataSelectionParent<NODE>\n) => DTableDataSelection<NODE>;\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"d-table-data-sorter.js","sourceRoot":"","sources":["../../../src/main/typescript/wcardinal/ui/d-table-data-sorter.ts"],"names":[],"mappings":"AAAA;;;GAGG;AA4BH;;GAEG;AACH,MAAM,CAAC,IAAM,eAAe,GAAG;IAC9B,SAAS,EAAE,CAAC;IACZ,UAAU,EAAE,CAAC;CACJ,CAAC","sourcesContent":["/*\n * Copyright (C) 2019 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport { utils } from \"pixi.js\";\n\n/**\n * A row comparator function.\n */\nexport type DTableDataComparatorFunction<ROW> = (\n\trowA: ROW,\n\trowB: ROW,\n\tindexA: number,\n\tindexB: number\n) => number;\n\n/**\n * A row comparator object.\n */\nexport interface DTableDataComparatorObject<ROW> {\n\tcompare(rowA: ROW, rowB: ROW, indexA: number, indexB: number): number;\n}\n\n/**\n * A row comparator.\n */\nexport type DTableDataComparator<ROW> =\n\t| DTableDataComparatorFunction<ROW>\n\t| DTableDataComparatorObject<ROW>;\n\n/**\n * A sort order.\n */\nexport const DTableDataOrder = {\n\tASCENDING: 0,\n\tDESCENDING: 1\n} as const;\n\nexport type DTableDataOrder = typeof DTableDataOrder[keyof typeof DTableDataOrder];\n\n/**\n * Table data sorter.\n */\nexport interface DTableDataSorter<ROW> extends utils.EventEmitter {\n\treadonly id: number;\n\n\t/**\n\t * An indices of sorted rows.\n\t * Must not change this indices directly.\n\t */\n\treadonly indices: number[] | null;\n\n\t/**\n\t * A sort order.\n\t */\n\torder: DTableDataOrder;\n\n\t/**\n\t * Applys a sorting.\n\t */\n\tapply(): void;\n\n\t/**\n\t * Unapplys a sorting.\n\t */\n\tunapply(): void;\n\n\t/**\n\t * Returns true if a sorting is applied.\n\t */\n\tisApplied(): boolean;\n\n\t/**\n\t * Returns a current comparator.\n\t */\n\tget(): DTableDataComparator<ROW> | null;\n\n\t/**\n\t * Sets to the given comparator.\n\t *\n\t * @param comparator A comparator\n\t */\n\tset(comparator: DTableDataComparator<ROW> | null): void;\n\n\t/**\n\t * Returns a sorted index of the specified unmapped index.\n\t *\n\t * @param unmappedIndex an unmapped index\n\t */\n\tmap(unmappedIndex: number): number | null;\n\n\t/**\n\t * Returns an unmapped index of the specified sorted index.\n\t *\n\t * @param index a mapped index\n\t */\n\tunmap(index: number): number;\n}\n"]}
|
|
1
|
+
{"version":3,"file":"d-table-data-sorter.js","sourceRoot":"","sources":["../../../src/main/typescript/wcardinal/ui/d-table-data-sorter.ts"],"names":[],"mappings":"AAAA;;;GAGG;AA4BH;;GAEG;AACH,MAAM,CAAC,IAAM,eAAe,GAAG;IAC9B,SAAS,EAAE,CAAC;IACZ,UAAU,EAAE,CAAC;CACJ,CAAC","sourcesContent":["/*\n * Copyright (C) 2019 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport { utils } from \"pixi.js\";\n\n/**\n * A row comparator function.\n */\nexport type DTableDataComparatorFunction<ROW> = (\n\trowA: ROW,\n\trowB: ROW,\n\tindexA: number,\n\tindexB: number\n) => number;\n\n/**\n * A row comparator object.\n */\nexport interface DTableDataComparatorObject<ROW> {\n\tcompare(rowA: ROW, rowB: ROW, indexA: number, indexB: number): number;\n}\n\n/**\n * A row comparator.\n */\nexport type DTableDataComparator<ROW> =\n\t| DTableDataComparatorFunction<ROW>\n\t| DTableDataComparatorObject<ROW>;\n\n/**\n * A sort order.\n */\nexport const DTableDataOrder = {\n\tASCENDING: 0,\n\tDESCENDING: 1\n} as const;\n\nexport type DTableDataOrder = (typeof DTableDataOrder)[keyof typeof DTableDataOrder];\n\n/**\n * Table data sorter.\n */\nexport interface DTableDataSorter<ROW> extends utils.EventEmitter {\n\treadonly id: number;\n\n\t/**\n\t * An indices of sorted rows.\n\t * Must not change this indices directly.\n\t */\n\treadonly indices: number[] | null;\n\n\t/**\n\t * A sort order.\n\t */\n\torder: DTableDataOrder;\n\n\t/**\n\t * Applys a sorting.\n\t */\n\tapply(): void;\n\n\t/**\n\t * Unapplys a sorting.\n\t */\n\tunapply(): void;\n\n\t/**\n\t * Returns true if a sorting is applied.\n\t */\n\tisApplied(): boolean;\n\n\t/**\n\t * Returns a current comparator.\n\t */\n\tget(): DTableDataComparator<ROW> | null;\n\n\t/**\n\t * Sets to the given comparator.\n\t *\n\t * @param comparator A comparator\n\t */\n\tset(comparator: DTableDataComparator<ROW> | null): void;\n\n\t/**\n\t * Returns a sorted index of the specified unmapped index.\n\t *\n\t * @param unmappedIndex an unmapped index\n\t */\n\tmap(unmappedIndex: number): number | null;\n\n\t/**\n\t * Returns an unmapped index of the specified sorted index.\n\t *\n\t * @param index a mapped index\n\t */\n\tunmap(index: number): number;\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"d-tree-data-selection.js","sourceRoot":"","sources":["../../../src/main/typescript/wcardinal/ui/d-tree-data-selection.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAMH;;GAEG;AACH,MAAM,CAAC,IAAM,sBAAsB,GAAG;IACrC,IAAI,EAAE,CAAC;IACP,MAAM,EAAE,CAAC;IACT,QAAQ,EAAE,CAAC;CACF,CAAC","sourcesContent":["/*\n * Copyright (C) 2019 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport { utils } from \"pixi.js\";\nimport { DOnOptions } from \"./d-on-options\";\nimport { DTreeNode } from \"./d-tree-node\";\n\n/**\n * {@link DTreeDataSelection} type.\n */\nexport const DTreeDataSelectionType = {\n\tNONE: 0,\n\tSINGLE: 1,\n\tMULTIPLE: 2\n} as const;\n\nexport type DTreeDataSelectionType =\n\
|
|
1
|
+
{"version":3,"file":"d-tree-data-selection.js","sourceRoot":"","sources":["../../../src/main/typescript/wcardinal/ui/d-tree-data-selection.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAMH;;GAEG;AACH,MAAM,CAAC,IAAM,sBAAsB,GAAG;IACrC,IAAI,EAAE,CAAC;IACP,MAAM,EAAE,CAAC;IACT,QAAQ,EAAE,CAAC;CACF,CAAC","sourcesContent":["/*\n * Copyright (C) 2019 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport { utils } from \"pixi.js\";\nimport { DOnOptions } from \"./d-on-options\";\nimport { DTreeNode } from \"./d-tree-node\";\n\n/**\n * {@link DTreeDataSelection} type.\n */\nexport const DTreeDataSelectionType = {\n\tNONE: 0,\n\tSINGLE: 1,\n\tMULTIPLE: 2\n} as const;\n\nexport type DTreeDataSelectionType =\n\t(typeof DTreeDataSelectionType)[keyof typeof DTreeDataSelectionType];\n\n/**\n * {@link DTreeDataSelection} events.\n */\nexport interface DTreeDataSelectionEvents<EMITTER> {\n\t/**\n\t * Triggered when a selection is changed.\n\t *\n\t * @param emitter an emitter\n\t */\n\tchange(emitter: EMITTER): void;\n}\n\n/**\n * {@link DTreeDataSelection} \"on\" options.\n */\nexport interface DTreeDataSelectionOnOptions<EMITTER>\n\textends Partial<DTreeDataSelectionEvents<EMITTER>>,\n\t\tDOnOptions {}\n\n/**\n * {@link DTreeDataSelection} options.\n */\nexport interface DTreeDataSelectionOptions<ITEM, EMITTER = any> {\n\t/**\n\t * A type.\n\t */\n\ttype?: DTreeDataSelectionType | keyof typeof DTreeDataSelectionType;\n\n\t/**\n\t * Mappings of event names and handlers.\n\t */\n\ton?: DTreeDataSelectionOnOptions<EMITTER>;\n}\n\nexport interface DTreeDataSelection<NODE extends DTreeNode> extends utils.EventEmitter {\n\t/**\n\t * A type.\n\t */\n\treadonly type: DTreeDataSelectionType;\n\n\t/**\n\t * A first selected node or null.\n\t */\n\treadonly first: NODE | null;\n\n\t/**\n\t * A last selected node or null.\n\t */\n\treadonly last: NODE | null;\n\n\t/**\n\t * Returns a node at the given index or null.\n\t *\n\t * @param index an index\n\t * @returns a node at the given index or null\n\t */\n\tget(index: number): NODE | null;\n\n\t/**\n\t * Adds the given node\n\t *\n\t * @param target a node\n\t * @return true if succeeded.\n\t */\n\tadd(target: NODE): boolean;\n\n\t/**\n\t * Removes the given node.\n\t *\n\t * @param target a node\n\t * @return true if succeeded\n\t */\n\tremove(target: NODE): boolean;\n\n\t/**\n\t * Toggles the given node.\n\t *\n\t * @param target a node\n\t * @return true if succeeded.\n\t */\n\ttoggle(target: NODE): boolean;\n\n\t/**\n\t * Clears all the nodes.\n\t */\n\tclear(): boolean;\n\n\t/**\n\t * Clears all the exisint nodes and adds the given node.\n\t *\n\t * @param target a node to be added\n\t * @returns true if the selection is changed\n\t */\n\tclearAndAdd(target: NODE): boolean;\n\n\t/**\n\t * Clears the exising nodes and add all the given nodes.\n\t *\n\t * @param targets nodes to be added\n\t * @returns true if the selection is changed\n\t */\n\tclearAndAddAll(targets: NODE[]): boolean;\n\n\t/**\n\t * Returns true if the given node is selected.\n\t *\n\t * @param target a node to be checked\n\t * @returns true if the given node is selected\n\t */\n\tcontains(target: NODE): boolean;\n\n\t/**\n\t * Returns the number of selected nodes.\n\t *\n\t * @returns the number of selected nodes\n\t */\n\tsize(): number;\n\n\t/**\n\t * Returns true if the selection is empty.\n\t *\n\t * @returns true if the selection is empty\n\t */\n\tisEmpty(): boolean;\n\n\t/**\n\t * Iterates over selected nodes.\n\t *\n\t * @param iteratee an iteratee\n\t */\n\teach(iteratee: (node: NODE) => boolean | void): void;\n\n\t/**\n\t * Returns an array of selected nodes.\n\t *\n\t * @return an array of selected nodes.\n\t */\n\ttoArray(): NODE[];\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"e-shape-action-value-blink-type.js","sourceRoot":"","sources":["../../../../../src/main/typescript/wcardinal/ui/shape/action/e-shape-action-value-blink-type.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,MAAM,CAAC,IAAM,0BAA0B,GAAG;IACzC,UAAU,EAAE,CAAC;IACb,QAAQ,EAAE,CAAC;IACX,MAAM,EAAE,CAAC;IACT,OAAO,EAAE,CAAC;IACV,UAAU,EAAE,CAAC;IACb,YAAY,EAAE,CAAC;CACN,CAAC","sourcesContent":["/*\n * Copyright (C) 2019 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nexport const EShapeActionValueBlinkType = {\n\tVISIBILITY: 0,\n\tBRIGHTEN: 1,\n\tDARKEN: 2,\n\tOPACITY: 3,\n\tCOLOR_FILL: 4,\n\tCOLOR_STROKE: 5\n} as const;\n\nexport type EShapeActionValueBlinkType =\n\
|
|
1
|
+
{"version":3,"file":"e-shape-action-value-blink-type.js","sourceRoot":"","sources":["../../../../../src/main/typescript/wcardinal/ui/shape/action/e-shape-action-value-blink-type.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,MAAM,CAAC,IAAM,0BAA0B,GAAG;IACzC,UAAU,EAAE,CAAC;IACb,QAAQ,EAAE,CAAC;IACX,MAAM,EAAE,CAAC;IACT,OAAO,EAAE,CAAC;IACV,UAAU,EAAE,CAAC;IACb,YAAY,EAAE,CAAC;CACN,CAAC","sourcesContent":["/*\n * Copyright (C) 2019 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nexport const EShapeActionValueBlinkType = {\n\tVISIBILITY: 0,\n\tBRIGHTEN: 1,\n\tDARKEN: 2,\n\tOPACITY: 3,\n\tCOLOR_FILL: 4,\n\tCOLOR_STROKE: 5\n} as const;\n\nexport type EShapeActionValueBlinkType =\n\t(typeof EShapeActionValueBlinkType)[keyof typeof EShapeActionValueBlinkType];\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"e-shape-action-value-change-color-target.js","sourceRoot":"","sources":["../../../../../src/main/typescript/wcardinal/ui/shape/action/e-shape-action-value-change-color-target.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,MAAM,CAAC,IAAM,kCAAkC,GAAG;IACjD,eAAe,EAAE,CAAC;IAClB,KAAK,EAAE,CAAC;IACR,KAAK,EAAE,CAAC;IACR,IAAI,EAAE,CAAC;IACP,UAAU,EAAE,CAAC;CACJ,CAAC","sourcesContent":["/*\n * Copyright (C) 2019 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nexport const EShapeActionValueChangeColorTarget = {\n\tCOLOR_AND_ALPHA: 0,\n\tCOLOR: 1,\n\tALPHA: 2,\n\tCODE: 3,\n\tBRIGHTNESS: 4\n} as const;\n\nexport type EShapeActionValueChangeColorTarget =\n\
|
|
1
|
+
{"version":3,"file":"e-shape-action-value-change-color-target.js","sourceRoot":"","sources":["../../../../../src/main/typescript/wcardinal/ui/shape/action/e-shape-action-value-change-color-target.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,MAAM,CAAC,IAAM,kCAAkC,GAAG;IACjD,eAAe,EAAE,CAAC;IAClB,KAAK,EAAE,CAAC;IACR,KAAK,EAAE,CAAC;IACR,IAAI,EAAE,CAAC;IACP,UAAU,EAAE,CAAC;CACJ,CAAC","sourcesContent":["/*\n * Copyright (C) 2019 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nexport const EShapeActionValueChangeColorTarget = {\n\tCOLOR_AND_ALPHA: 0,\n\tCOLOR: 1,\n\tALPHA: 2,\n\tCODE: 3,\n\tBRIGHTNESS: 4\n} as const;\n\nexport type EShapeActionValueChangeColorTarget =\n\t(typeof EShapeActionValueChangeColorTarget)[keyof typeof EShapeActionValueChangeColorTarget];\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"e-shape-action-value-change-color-type-legacy.js","sourceRoot":"","sources":["../../../../../src/main/typescript/wcardinal/ui/shape/action/e-shape-action-value-change-color-type-legacy.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,MAAM,CAAC,IAAM,sCAAsC,GAAG;IACrD,IAAI,EAAE,CAAC;IACP,MAAM,EAAE,CAAC;IACT,eAAe,EAAE,CAAC;IAClB,IAAI,EAAE,CAAC;IACP,YAAY,EAAE,CAAC;IACf,GAAG,EAAE,CAAC;CACG,CAAC","sourcesContent":["/*\n * Copyright (C) 2019 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nexport const EShapeActionValueChangeColorTypeLegacy = {\n\tFILL: 0,\n\tSTROKE: 1,\n\tFILL_AND_STROKE: 2,\n\tTEXT: 3,\n\tTEXT_OUTLINE: 4,\n\tALL: 5\n} as const;\n\nexport type EShapeActionValueChangeColorTypeLegacy =\n\
|
|
1
|
+
{"version":3,"file":"e-shape-action-value-change-color-type-legacy.js","sourceRoot":"","sources":["../../../../../src/main/typescript/wcardinal/ui/shape/action/e-shape-action-value-change-color-type-legacy.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,MAAM,CAAC,IAAM,sCAAsC,GAAG;IACrD,IAAI,EAAE,CAAC;IACP,MAAM,EAAE,CAAC;IACT,eAAe,EAAE,CAAC;IAClB,IAAI,EAAE,CAAC;IACP,YAAY,EAAE,CAAC;IACf,GAAG,EAAE,CAAC;CACG,CAAC","sourcesContent":["/*\n * Copyright (C) 2019 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nexport const EShapeActionValueChangeColorTypeLegacy = {\n\tFILL: 0,\n\tSTROKE: 1,\n\tFILL_AND_STROKE: 2,\n\tTEXT: 3,\n\tTEXT_OUTLINE: 4,\n\tALL: 5\n} as const;\n\nexport type EShapeActionValueChangeColorTypeLegacy =\n\t(typeof EShapeActionValueChangeColorTypeLegacy)[keyof typeof EShapeActionValueChangeColorTypeLegacy];\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"e-shape-action-value-change-text-type.js","sourceRoot":"","sources":["../../../../../src/main/typescript/wcardinal/ui/shape/action/e-shape-action-value-change-text-type.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,MAAM,CAAC,IAAM,+BAA+B,GAAG;IAC9C,IAAI,EAAE,CAAC;IACP,MAAM,EAAE,CAAC;CACA,CAAC","sourcesContent":["/*\n * Copyright (C) 2019 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nexport const EShapeActionValueChangeTextType = {\n\tTEXT: 0,\n\tNUMBER: 1\n} as const;\n\nexport type EShapeActionValueChangeTextType =\n\
|
|
1
|
+
{"version":3,"file":"e-shape-action-value-change-text-type.js","sourceRoot":"","sources":["../../../../../src/main/typescript/wcardinal/ui/shape/action/e-shape-action-value-change-text-type.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,MAAM,CAAC,IAAM,+BAA+B,GAAG;IAC9C,IAAI,EAAE,CAAC;IACP,MAAM,EAAE,CAAC;CACA,CAAC","sourcesContent":["/*\n * Copyright (C) 2019 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nexport const EShapeActionValueChangeTextType = {\n\tTEXT: 0,\n\tNUMBER: 1\n} as const;\n\nexport type EShapeActionValueChangeTextType =\n\t(typeof EShapeActionValueChangeTextType)[keyof typeof EShapeActionValueChangeTextType];\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"e-shape-action-value-gesture-type.js","sourceRoot":"","sources":["../../../../../src/main/typescript/wcardinal/ui/shape/action/e-shape-action-value-gesture-type.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,MAAM,CAAC,IAAM,4BAA4B,GAAG;IAC3C,KAAK,EAAE,CAAC;IACR,KAAK,EAAE,CAAC;CACC,CAAC","sourcesContent":["/*\n * Copyright (C) 2019 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nexport const EShapeActionValueGestureType = {\n\tSHAPE: 0,\n\tLAYER: 1\n} as const;\n\nexport type EShapeActionValueGestureType =\n\
|
|
1
|
+
{"version":3,"file":"e-shape-action-value-gesture-type.js","sourceRoot":"","sources":["../../../../../src/main/typescript/wcardinal/ui/shape/action/e-shape-action-value-gesture-type.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,MAAM,CAAC,IAAM,4BAA4B,GAAG;IAC3C,KAAK,EAAE,CAAC;IACR,KAAK,EAAE,CAAC;CACC,CAAC","sourcesContent":["/*\n * Copyright (C) 2019 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nexport const EShapeActionValueGestureType = {\n\tSHAPE: 0,\n\tLAYER: 1\n} as const;\n\nexport type EShapeActionValueGestureType =\n\t(typeof EShapeActionValueGestureType)[keyof typeof EShapeActionValueGestureType];\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"e-shape-action-value-misc-type.js","sourceRoot":"","sources":["../../../../../src/main/typescript/wcardinal/ui/shape/action/e-shape-action-value-misc-type.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,MAAM,CAAC,IAAM,yBAAyB,GAAG;IACxC,UAAU,EAAE,CAAC;IACb,aAAa,EAAE,CAAC;IAChB,UAAU,EAAE,CAAC;IACb,UAAU,EAAE,CAAC;IACb,UAAU,EAAE,CAAC;IACb,WAAW,EAAE,CAAC;IACd,YAAY,EAAE,CAAC;IACf,YAAY,EAAE,CAAC;IACf,mCAAmC,EAAE,CAAC;IACtC,4EAA4E;IAC5E,eAAe,EAAE,CAAC;IAClB,sEAAsE;IACtE,aAAa,EAAE,EAAE;IACjB,sEAAsE;IACtE,OAAO,EAAE,EAAE;IACX,OAAO,EAAE,EAAE;CACF,CAAC","sourcesContent":["/*\n * Copyright (C) 2019 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nexport const EShapeActionValueMiscType = {\n\tINPUT_TEXT: 0,\n\tINPUT_INTEGER: 1,\n\tINPUT_REAL: 2,\n\tEMIT_EVENT: 3,\n\tWRITE_BOTH: 4,\n\tWRITE_LOCAL: 5,\n\tWRITE_REMOTE: 6,\n\tHTML_ELEMENT: 7,\n\tHTML_ELEMENT_WITHOUT_POINTER_EVENTS: 8,\n\t/** @deprecated in favor of {@link EShapeActionValueShowHideType}'s LAYER */\n\tSHOW_HIDE_LAYER: 9,\n\t/** @deprecated in favor of {@link EShapeActionValueType}'s GESTURE */\n\tGESTURE_LAYER: 10,\n\t/** @deprecated in favor of {@link EShapeActionValueType}'s GESTURE */\n\tGESTURE: 11,\n\tEXECUTE: 12\n} as const;\n\nexport type EShapeActionValueMiscType =\n\
|
|
1
|
+
{"version":3,"file":"e-shape-action-value-misc-type.js","sourceRoot":"","sources":["../../../../../src/main/typescript/wcardinal/ui/shape/action/e-shape-action-value-misc-type.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,MAAM,CAAC,IAAM,yBAAyB,GAAG;IACxC,UAAU,EAAE,CAAC;IACb,aAAa,EAAE,CAAC;IAChB,UAAU,EAAE,CAAC;IACb,UAAU,EAAE,CAAC;IACb,UAAU,EAAE,CAAC;IACb,WAAW,EAAE,CAAC;IACd,YAAY,EAAE,CAAC;IACf,YAAY,EAAE,CAAC;IACf,mCAAmC,EAAE,CAAC;IACtC,4EAA4E;IAC5E,eAAe,EAAE,CAAC;IAClB,sEAAsE;IACtE,aAAa,EAAE,EAAE;IACjB,sEAAsE;IACtE,OAAO,EAAE,EAAE;IACX,OAAO,EAAE,EAAE;CACF,CAAC","sourcesContent":["/*\n * Copyright (C) 2019 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nexport const EShapeActionValueMiscType = {\n\tINPUT_TEXT: 0,\n\tINPUT_INTEGER: 1,\n\tINPUT_REAL: 2,\n\tEMIT_EVENT: 3,\n\tWRITE_BOTH: 4,\n\tWRITE_LOCAL: 5,\n\tWRITE_REMOTE: 6,\n\tHTML_ELEMENT: 7,\n\tHTML_ELEMENT_WITHOUT_POINTER_EVENTS: 8,\n\t/** @deprecated in favor of {@link EShapeActionValueShowHideType}'s LAYER */\n\tSHOW_HIDE_LAYER: 9,\n\t/** @deprecated in favor of {@link EShapeActionValueType}'s GESTURE */\n\tGESTURE_LAYER: 10,\n\t/** @deprecated in favor of {@link EShapeActionValueType}'s GESTURE */\n\tGESTURE: 11,\n\tEXECUTE: 12\n} as const;\n\nexport type EShapeActionValueMiscType =\n\t(typeof EShapeActionValueMiscType)[keyof typeof EShapeActionValueMiscType];\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"e-shape-action-value-on-input-action.js","sourceRoot":"","sources":["../../../../../src/main/typescript/wcardinal/ui/shape/action/e-shape-action-value-on-input-action.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,MAAM,CAAC,IAAM,8BAA8B,GAAG;IAC7C,UAAU,EAAE,CAAC;IACb,UAAU,EAAE,CAAC;IACb,WAAW,EAAE,CAAC;IACd,YAAY,EAAE,CAAC;CACN,CAAC","sourcesContent":["/*\n * Copyright (C) 2019 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nexport const EShapeActionValueOnInputAction = {\n\tEMIT_EVENT: 0,\n\tWRITE_BOTH: 1,\n\tWRITE_LOCAL: 2,\n\tWRITE_REMOTE: 3\n} as const;\n\nexport type EShapeActionValueOnInputAction =\n\
|
|
1
|
+
{"version":3,"file":"e-shape-action-value-on-input-action.js","sourceRoot":"","sources":["../../../../../src/main/typescript/wcardinal/ui/shape/action/e-shape-action-value-on-input-action.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,MAAM,CAAC,IAAM,8BAA8B,GAAG;IAC7C,UAAU,EAAE,CAAC;IACb,UAAU,EAAE,CAAC;IACb,WAAW,EAAE,CAAC;IACd,YAAY,EAAE,CAAC;CACN,CAAC","sourcesContent":["/*\n * Copyright (C) 2019 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nexport const EShapeActionValueOnInputAction = {\n\tEMIT_EVENT: 0,\n\tWRITE_BOTH: 1,\n\tWRITE_LOCAL: 2,\n\tWRITE_REMOTE: 3\n} as const;\n\nexport type EShapeActionValueOnInputAction =\n\t(typeof EShapeActionValueOnInputAction)[keyof typeof EShapeActionValueOnInputAction];\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"e-shape-action-value-show-hide-type.js","sourceRoot":"","sources":["../../../../../src/main/typescript/wcardinal/ui/shape/action/e-shape-action-value-show-hide-type.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,MAAM,CAAC,IAAM,6BAA6B,GAAG;IAC5C,4CAA4C;IAC5C,UAAU,EAAE,CAAC;IACb,4CAA4C;IAC5C,UAAU,EAAE,CAAC;IACb,KAAK,EAAE,CAAC;IACR,KAAK,EAAE,CAAC;CACC,CAAC","sourcesContent":["/*\n * Copyright (C) 2019 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nexport const EShapeActionValueShowHideType = {\n\t/** @deprecated in favor of {@link SHAPE} */\n\tSHAPE_SHOW: 0,\n\t/** @deprecated in favor of {@link SHAPE} */\n\tSHAPE_HIDE: 1,\n\tSHAPE: 2,\n\tLAYER: 3\n} as const;\n\nexport type EShapeActionValueShowHideType =\n\
|
|
1
|
+
{"version":3,"file":"e-shape-action-value-show-hide-type.js","sourceRoot":"","sources":["../../../../../src/main/typescript/wcardinal/ui/shape/action/e-shape-action-value-show-hide-type.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,MAAM,CAAC,IAAM,6BAA6B,GAAG;IAC5C,4CAA4C;IAC5C,UAAU,EAAE,CAAC;IACb,4CAA4C;IAC5C,UAAU,EAAE,CAAC;IACb,KAAK,EAAE,CAAC;IACR,KAAK,EAAE,CAAC;CACC,CAAC","sourcesContent":["/*\n * Copyright (C) 2019 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nexport const EShapeActionValueShowHideType = {\n\t/** @deprecated in favor of {@link SHAPE} */\n\tSHAPE_SHOW: 0,\n\t/** @deprecated in favor of {@link SHAPE} */\n\tSHAPE_HIDE: 1,\n\tSHAPE: 2,\n\tLAYER: 3\n} as const;\n\nexport type EShapeActionValueShowHideType =\n\t(typeof EShapeActionValueShowHideType)[keyof typeof EShapeActionValueShowHideType];\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"e-shape-action-value-transform-move-type.js","sourceRoot":"","sources":["../../../../../src/main/typescript/wcardinal/ui/shape/action/e-shape-action-value-transform-move-type.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,MAAM,CAAC,IAAM,kCAAkC,GAAG;IACjD,UAAU,EAAE,CAAC;IACb,UAAU,EAAE,CAAC;IACb,UAAU,EAAE,CAAC;IACb,UAAU,EAAE,CAAC;IACb,mBAAmB,EAAE,CAAC;IACtB,aAAa,EAAE,CAAC;CACP,CAAC","sourcesContent":["/*\n * Copyright (C) 2019 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nexport const EShapeActionValueTransformMoveType = {\n\tRELATIVE_X: 0,\n\tRELATIVE_Y: 1,\n\tABSOLUTE_X: 2,\n\tABSOLUTE_Y: 3,\n\tFORWARD_OR_BACKWARD: 4,\n\tLEFT_OR_RIGHT: 5\n} as const;\n\nexport type EShapeActionValueTransformMoveType =\n\
|
|
1
|
+
{"version":3,"file":"e-shape-action-value-transform-move-type.js","sourceRoot":"","sources":["../../../../../src/main/typescript/wcardinal/ui/shape/action/e-shape-action-value-transform-move-type.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,MAAM,CAAC,IAAM,kCAAkC,GAAG;IACjD,UAAU,EAAE,CAAC;IACb,UAAU,EAAE,CAAC;IACb,UAAU,EAAE,CAAC;IACb,UAAU,EAAE,CAAC;IACb,mBAAmB,EAAE,CAAC;IACtB,aAAa,EAAE,CAAC;CACP,CAAC","sourcesContent":["/*\n * Copyright (C) 2019 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nexport const EShapeActionValueTransformMoveType = {\n\tRELATIVE_X: 0,\n\tRELATIVE_Y: 1,\n\tABSOLUTE_X: 2,\n\tABSOLUTE_Y: 3,\n\tFORWARD_OR_BACKWARD: 4,\n\tLEFT_OR_RIGHT: 5\n} as const;\n\nexport type EShapeActionValueTransformMoveType =\n\t(typeof EShapeActionValueTransformMoveType)[keyof typeof EShapeActionValueTransformMoveType];\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"e-shape-action-value-transform-resize-type.js","sourceRoot":"","sources":["../../../../../src/main/typescript/wcardinal/ui/shape/action/e-shape-action-value-transform-resize-type.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,MAAM,CAAC,IAAM,oCAAoC,GAAG;IACnD,aAAa,EAAE,CAAC;IAChB,eAAe,EAAE,CAAC;IAClB,cAAc,EAAE,CAAC;IACjB,aAAa,EAAE,CAAC;IAChB,eAAe,EAAE,CAAC;IAClB,cAAc,EAAE,CAAC;CACR,CAAC","sourcesContent":["/*\n * Copyright (C) 2019 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nexport const EShapeActionValueTransformResizeType = {\n\tRELATIVE_SIZE: 0,\n\tRELATIVE_HEIGHT: 1,\n\tRELATIVE_WIDTH: 2,\n\tABSOLUTE_SIZE: 3,\n\tABSOLUTE_HEIGHT: 4,\n\tABSOLUTE_WIDTH: 5\n} as const;\n\nexport type EShapeActionValueTransformResizeType =\n\
|
|
1
|
+
{"version":3,"file":"e-shape-action-value-transform-resize-type.js","sourceRoot":"","sources":["../../../../../src/main/typescript/wcardinal/ui/shape/action/e-shape-action-value-transform-resize-type.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,MAAM,CAAC,IAAM,oCAAoC,GAAG;IACnD,aAAa,EAAE,CAAC;IAChB,eAAe,EAAE,CAAC;IAClB,cAAc,EAAE,CAAC;IACjB,aAAa,EAAE,CAAC;IAChB,eAAe,EAAE,CAAC;IAClB,cAAc,EAAE,CAAC;CACR,CAAC","sourcesContent":["/*\n * Copyright (C) 2019 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nexport const EShapeActionValueTransformResizeType = {\n\tRELATIVE_SIZE: 0,\n\tRELATIVE_HEIGHT: 1,\n\tRELATIVE_WIDTH: 2,\n\tABSOLUTE_SIZE: 3,\n\tABSOLUTE_HEIGHT: 4,\n\tABSOLUTE_WIDTH: 5\n} as const;\n\nexport type EShapeActionValueTransformResizeType =\n\t(typeof EShapeActionValueTransformResizeType)[keyof typeof EShapeActionValueTransformResizeType];\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"e-shape-action-value-transform-rotate-type.js","sourceRoot":"","sources":["../../../../../src/main/typescript/wcardinal/ui/shape/action/e-shape-action-value-transform-rotate-type.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,MAAM,CAAC,IAAM,oCAAoC,GAAG;IACnD,QAAQ,EAAE,CAAC;IACX,QAAQ,EAAE,CAAC;CACF,CAAC","sourcesContent":["/*\n * Copyright (C) 2019 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nexport const EShapeActionValueTransformRotateType = {\n\tRELATIVE: 0,\n\tABSOLUTE: 1\n} as const;\n\nexport type EShapeActionValueTransformRotateType =\n\
|
|
1
|
+
{"version":3,"file":"e-shape-action-value-transform-rotate-type.js","sourceRoot":"","sources":["../../../../../src/main/typescript/wcardinal/ui/shape/action/e-shape-action-value-transform-rotate-type.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,MAAM,CAAC,IAAM,oCAAoC,GAAG;IACnD,QAAQ,EAAE,CAAC;IACX,QAAQ,EAAE,CAAC;CACF,CAAC","sourcesContent":["/*\n * Copyright (C) 2019 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nexport const EShapeActionValueTransformRotateType = {\n\tRELATIVE: 0,\n\tABSOLUTE: 1\n} as const;\n\nexport type EShapeActionValueTransformRotateType =\n\t(typeof EShapeActionValueTransformRotateType)[keyof typeof EShapeActionValueTransformRotateType];\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"e-shape-action-value-transform-type.js","sourceRoot":"","sources":["../../../../../src/main/typescript/wcardinal/ui/shape/action/e-shape-action-value-transform-type.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,MAAM,CAAC,IAAM,8BAA8B,GAAG;IAC7C,MAAM,EAAE,CAAC;IACT,IAAI,EAAE,CAAC;IACP,MAAM,EAAE,CAAC;CACA,CAAC","sourcesContent":["/*\n * Copyright (C) 2019 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nexport const EShapeActionValueTransformType = {\n\tRESIZE: 0,\n\tMOVE: 1,\n\tROTATE: 2\n} as const;\n\nexport type EShapeActionValueTransformType =\n\
|
|
1
|
+
{"version":3,"file":"e-shape-action-value-transform-type.js","sourceRoot":"","sources":["../../../../../src/main/typescript/wcardinal/ui/shape/action/e-shape-action-value-transform-type.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,MAAM,CAAC,IAAM,8BAA8B,GAAG;IAC7C,MAAM,EAAE,CAAC;IACT,IAAI,EAAE,CAAC;IACP,MAAM,EAAE,CAAC;CACA,CAAC","sourcesContent":["/*\n * Copyright (C) 2019 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nexport const EShapeActionValueTransformType = {\n\tRESIZE: 0,\n\tMOVE: 1,\n\tROTATE: 2\n} as const;\n\nexport type EShapeActionValueTransformType =\n\t(typeof EShapeActionValueTransformType)[keyof typeof EShapeActionValueTransformType];\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"e-shape-acceptor-edge-side.js","sourceRoot":"","sources":["../../../../src/main/typescript/wcardinal/ui/shape/e-shape-acceptor-edge-side.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,MAAM,CAAC,IAAM,sBAAsB,GAAG;IACrC,IAAI,EAAE,CAAC;IACP,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;IACR,MAAM,EAAE,CAAC;IACT,IAAI,EAAE,CAAC;IACP,GAAG,EAAE,EAAE;CACP,CAAC","sourcesContent":["/*\n * Copyright (C) 2019 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nexport const EShapeAcceptorEdgeSide = {\n\tNONE: 0,\n\tTOP: 1,\n\tRIGHT: 2,\n\tBOTTOM: 4,\n\tLEFT: 8,\n\tALL: 15\n};\n\nexport type EShapeAcceptorEdgeSide =\n\
|
|
1
|
+
{"version":3,"file":"e-shape-acceptor-edge-side.js","sourceRoot":"","sources":["../../../../src/main/typescript/wcardinal/ui/shape/e-shape-acceptor-edge-side.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,MAAM,CAAC,IAAM,sBAAsB,GAAG;IACrC,IAAI,EAAE,CAAC;IACP,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;IACR,MAAM,EAAE,CAAC;IACT,IAAI,EAAE,CAAC;IACP,GAAG,EAAE,EAAE;CACP,CAAC","sourcesContent":["/*\n * Copyright (C) 2019 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nexport const EShapeAcceptorEdgeSide = {\n\tNONE: 0,\n\tTOP: 1,\n\tRIGHT: 2,\n\tBOTTOM: 4,\n\tLEFT: 8,\n\tALL: 15\n};\n\nexport type EShapeAcceptorEdgeSide =\n\t(typeof EShapeAcceptorEdgeSide)[keyof typeof EShapeAcceptorEdgeSide];\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"e-shape-acceptor-edge-type.js","sourceRoot":"","sources":["../../../../src/main/typescript/wcardinal/ui/shape/e-shape-acceptor-edge-type.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,MAAM,CAAC,IAAM,sBAAsB,GAAG;IACrC,IAAI,EAAE,CAAC;IACP,IAAI,EAAE,CAAC;IACP,GAAG,EAAE,CAAC;CACG,CAAC","sourcesContent":["/*\n * Copyright (C) 2019 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nexport const EShapeAcceptorEdgeType = {\n\tTAIL: 1,\n\tHEAD: 2,\n\tALL: 3\n} as const;\n\nexport type EShapeAcceptorEdgeType =\n\
|
|
1
|
+
{"version":3,"file":"e-shape-acceptor-edge-type.js","sourceRoot":"","sources":["../../../../src/main/typescript/wcardinal/ui/shape/e-shape-acceptor-edge-type.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,MAAM,CAAC,IAAM,sBAAsB,GAAG;IACrC,IAAI,EAAE,CAAC;IACP,IAAI,EAAE,CAAC;IACP,GAAG,EAAE,CAAC;CACG,CAAC","sourcesContent":["/*\n * Copyright (C) 2019 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nexport const EShapeAcceptorEdgeType = {\n\tTAIL: 1,\n\tHEAD: 2,\n\tALL: 3\n} as const;\n\nexport type EShapeAcceptorEdgeType =\n\t(typeof EShapeAcceptorEdgeType)[keyof typeof EShapeAcceptorEdgeType];\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"e-shape-acceptor-type.js","sourceRoot":"","sources":["../../../../src/main/typescript/wcardinal/ui/shape/e-shape-acceptor-type.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAC;AAEtE;;GAEG;AACH,MAAM,CAAC,IAAM,kBAAkB,GAAG,sBAAsB,CAAC","sourcesContent":["/*\n * Copyright (C) 2019 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport { EShapeAcceptorEdgeType } from \"./e-shape-acceptor-edge-type\";\n\n/**\n * @deprecated in favor of {@link EShapeAcceptorEdgeType}.\n */\nexport const EShapeAcceptorType = EShapeAcceptorEdgeType;\n\n/**\n * @deprecated in favor of {@link EShapeAcceptorEdgeType}.\n */\nexport type EShapeAcceptorType = typeof EShapeAcceptorType[keyof typeof EShapeAcceptorType];\n"]}
|
|
1
|
+
{"version":3,"file":"e-shape-acceptor-type.js","sourceRoot":"","sources":["../../../../src/main/typescript/wcardinal/ui/shape/e-shape-acceptor-type.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAC;AAEtE;;GAEG;AACH,MAAM,CAAC,IAAM,kBAAkB,GAAG,sBAAsB,CAAC","sourcesContent":["/*\n * Copyright (C) 2019 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport { EShapeAcceptorEdgeType } from \"./e-shape-acceptor-edge-type\";\n\n/**\n * @deprecated in favor of {@link EShapeAcceptorEdgeType}.\n */\nexport const EShapeAcceptorType = EShapeAcceptorEdgeType;\n\n/**\n * @deprecated in favor of {@link EShapeAcceptorEdgeType}.\n */\nexport type EShapeAcceptorType = (typeof EShapeAcceptorType)[keyof typeof EShapeAcceptorType];\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"e-shape-data-value-order.js","sourceRoot":"","sources":["../../../../src/main/typescript/wcardinal/ui/shape/e-shape-data-value-order.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,MAAM,CAAC,IAAM,oBAAoB,GAAG;IACnC,SAAS,EAAE,CAAC;IACZ,UAAU,EAAE,CAAC;CACJ,CAAC","sourcesContent":["/*\n * Copyright (C) 2019 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nexport const EShapeDataValueOrder = {\n\tASCENDING: 0,\n\tDESCENDING: 1\n} as const;\n\nexport type EShapeDataValueOrder = typeof EShapeDataValueOrder[keyof typeof EShapeDataValueOrder];\n"]}
|
|
1
|
+
{"version":3,"file":"e-shape-data-value-order.js","sourceRoot":"","sources":["../../../../src/main/typescript/wcardinal/ui/shape/e-shape-data-value-order.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,MAAM,CAAC,IAAM,oBAAoB,GAAG;IACnC,SAAS,EAAE,CAAC;IACZ,UAAU,EAAE,CAAC;CACJ,CAAC","sourcesContent":["/*\n * Copyright (C) 2019 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nexport const EShapeDataValueOrder = {\n\tASCENDING: 0,\n\tDESCENDING: 1\n} as const;\n\nexport type EShapeDataValueOrder = (typeof EShapeDataValueOrder)[keyof typeof EShapeDataValueOrder];\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"e-shape-data-value-scope.js","sourceRoot":"","sources":["../../../../src/main/typescript/wcardinal/ui/shape/e-shape-data-value-scope.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,MAAM,CAAC,IAAM,oBAAoB,GAAG;IACnC;;;OAGG;IACH,OAAO,EAAE,CAAC;IAEV;;OAEG;IACH,MAAM,EAAE,CAAC;IAET;;;;OAIG;IACH,SAAS,EAAE,CAAC;CACH,CAAC","sourcesContent":["/*\n * Copyright (C) 2019 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nexport const EShapeDataValueScope = {\n\t/**\n\t * A private data is accessible only from inside the graphic that this data belongs to.\n\t * The data is not accessible from anywhere outside the graphic.\n\t */\n\tPRIVATE: 0,\n\n\t/**\n\t * A public data is accessible from anywhere outside graphics.\n\t */\n\tPUBLIC: 1,\n\n\t/**\n\t * A protected data is accessible only from inside graphics.\n\t * Unlike the private data, the protected data is also accessible from parent graphics\n\t * containing the graphic that this data belongs to.\n\t */\n\tPROTECTED: 2\n} as const;\n\nexport type EShapeDataValueScope = typeof EShapeDataValueScope[keyof typeof EShapeDataValueScope];\n"]}
|
|
1
|
+
{"version":3,"file":"e-shape-data-value-scope.js","sourceRoot":"","sources":["../../../../src/main/typescript/wcardinal/ui/shape/e-shape-data-value-scope.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,MAAM,CAAC,IAAM,oBAAoB,GAAG;IACnC;;;OAGG;IACH,OAAO,EAAE,CAAC;IAEV;;OAEG;IACH,MAAM,EAAE,CAAC;IAET;;;;OAIG;IACH,SAAS,EAAE,CAAC;CACH,CAAC","sourcesContent":["/*\n * Copyright (C) 2019 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nexport const EShapeDataValueScope = {\n\t/**\n\t * A private data is accessible only from inside the graphic that this data belongs to.\n\t * The data is not accessible from anywhere outside the graphic.\n\t */\n\tPRIVATE: 0,\n\n\t/**\n\t * A public data is accessible from anywhere outside graphics.\n\t */\n\tPUBLIC: 1,\n\n\t/**\n\t * A protected data is accessible only from inside graphics.\n\t * Unlike the private data, the protected data is also accessible from parent graphics\n\t * containing the graphic that this data belongs to.\n\t */\n\tPROTECTED: 2\n} as const;\n\nexport type EShapeDataValueScope = (typeof EShapeDataValueScope)[keyof typeof EShapeDataValueScope];\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"e-shape-points-marker-type.js","sourceRoot":"","sources":["../../../../src/main/typescript/wcardinal/ui/shape/e-shape-points-marker-type.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,MAAM,CAAC,IAAM,sBAAsB,GAAG;IACrC,IAAI,EAAE,CAAC;IACP,MAAM,EAAE,CAAC;IACT,QAAQ,EAAE,CAAC;IACX,SAAS,EAAE,CAAC;CACH,CAAC","sourcesContent":["/*\n * Copyright (C) 2019 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nexport const EShapePointsMarkerType = {\n\tNONE: 0,\n\tCIRCLE: 1,\n\tTRIANGLE: 2,\n\tRECTANGLE: 3\n} as const;\n\nexport type EShapePointsMarkerType =\n\
|
|
1
|
+
{"version":3,"file":"e-shape-points-marker-type.js","sourceRoot":"","sources":["../../../../src/main/typescript/wcardinal/ui/shape/e-shape-points-marker-type.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,MAAM,CAAC,IAAM,sBAAsB,GAAG;IACrC,IAAI,EAAE,CAAC;IACP,MAAM,EAAE,CAAC;IACT,QAAQ,EAAE,CAAC;IACX,SAAS,EAAE,CAAC;CACH,CAAC","sourcesContent":["/*\n * Copyright (C) 2019 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nexport const EShapePointsMarkerType = {\n\tNONE: 0,\n\tCIRCLE: 1,\n\tTRIANGLE: 2,\n\tRECTANGLE: 3\n} as const;\n\nexport type EShapePointsMarkerType =\n\t(typeof EShapePointsMarkerType)[keyof typeof EShapePointsMarkerType];\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"e-shape-resource-manager-deserialization-mode.js","sourceRoot":"","sources":["../../../../src/main/typescript/wcardinal/ui/shape/e-shape-resource-manager-deserialization-mode.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,MAAM,CAAC,IAAM,wCAAwC,GAAG;IACvD,MAAM,EAAE,CAAC;IACT,kBAAkB,EAAE,CAAC;IACrB,MAAM,EAAE,CAAC;CACA,CAAC","sourcesContent":["/*\n * Copyright (C) 2019 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nexport const EShapeResourceManagerDeserializationMode = {\n\tVIEWER: 0,\n\tEDITOR_DATA_MAPPED: 1,\n\tEDITOR: 2\n} as const;\n\nexport type EShapeResourceManagerDeserializationMode =\n\
|
|
1
|
+
{"version":3,"file":"e-shape-resource-manager-deserialization-mode.js","sourceRoot":"","sources":["../../../../src/main/typescript/wcardinal/ui/shape/e-shape-resource-manager-deserialization-mode.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,MAAM,CAAC,IAAM,wCAAwC,GAAG;IACvD,MAAM,EAAE,CAAC;IACT,kBAAkB,EAAE,CAAC;IACrB,MAAM,EAAE,CAAC;CACA,CAAC","sourcesContent":["/*\n * Copyright (C) 2019 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nexport const EShapeResourceManagerDeserializationMode = {\n\tVIEWER: 0,\n\tEDITOR_DATA_MAPPED: 1,\n\tEDITOR: 2\n} as const;\n\nexport type EShapeResourceManagerDeserializationMode =\n\t(typeof EShapeResourceManagerDeserializationMode)[keyof typeof EShapeResourceManagerDeserializationMode];\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"e-shape-runtime-reset.js","sourceRoot":"","sources":["../../../../src/main/typescript/wcardinal/ui/shape/e-shape-runtime-reset.ts"],"names":[],"mappings":"AAAA,IAAM,UAAU,GAAG,CAAC,CAAC;AACrB,IAAM,UAAU,GAAG,CAAC,CAAC;AACrB,IAAM,QAAQ,GAAG,CAAC,CAAC;AACnB,IAAM,UAAU,GAAG,CAAC,CAAC;AACrB,IAAM,YAAY,GAAG,EAAE,CAAC;AACxB,IAAM,UAAU,GAAG,EAAE,CAAC;AACtB,IAAM,kBAAkB,GAAG,EAAE,CAAC;AAC9B,IAAM,UAAU,GAAG,GAAG,CAAC;AACvB,IAAM,MAAM,GAAG,GAAG,CAAC;AACnB,IAAM,KAAK,GAAG,GAAG,CAAC;AAClB,IAAM,IAAI,GAAG,IAAI,CAAC;AAClB,IAAM,MAAM,GAAG,IAAI,CAAC;AAEpB,MAAM,CAAC,IAAM,kBAAkB,GAAG;IACjC,IAAI,EAAE,CAAC;IACP,UAAU,YAAA;IACV,UAAU,YAAA;IACV,QAAQ,EAAE,UAAU,GAAG,UAAU;IACjC,QAAQ,UAAA;IACR,UAAU,YAAA;IACV,YAAY,cAAA;IACZ,qBAAqB,EAAE,UAAU,GAAG,YAAY;IAChD,UAAU,YAAA;IACV,kBAAkB,oBAAA;IAClB,KAAK,EAAE,UAAU,GAAG,YAAY,GAAG,UAAU,GAAG,kBAAkB;IAClE,UAAU,YAAA;IACV,MAAM,QAAA;IACN,KAAK,OAAA;IACL,IAAI,EAAE,MAAM,GAAG,KAAK;IACpB,IAAI,MAAA;IACJ,MAAM,QAAA;CACG,CAAC","sourcesContent":["const POSITION_X = 1;\nconst POSITION_Y = 2;\nconst ROTATION = 4;\nconst COLOR_FILL = 8;\nconst COLOR_STROKE = 16;\nconst COLOR_TEXT = 32;\nconst COLOR_TEXT_OUTLINE = 64;\nconst VISIBILITY = 128;\nconst HEIGHT = 256;\nconst WIDTH = 512;\nconst TEXT = 1024;\nconst CURSOR = 2048;\n\nexport const EShapeRuntimeReset = {\n\tNONE: 0,\n\tPOSITION_X,\n\tPOSITION_Y,\n\tPOSITION: POSITION_X | POSITION_Y,\n\tROTATION,\n\tCOLOR_FILL,\n\tCOLOR_STROKE,\n\tCOLOR_FILL_AND_STROKE: COLOR_FILL | COLOR_STROKE,\n\tCOLOR_TEXT,\n\tCOLOR_TEXT_OUTLINE,\n\tCOLOR: COLOR_FILL | COLOR_STROKE | COLOR_TEXT | COLOR_TEXT_OUTLINE,\n\tVISIBILITY,\n\tHEIGHT,\n\tWIDTH,\n\tSIZE: HEIGHT | WIDTH,\n\tTEXT,\n\tCURSOR\n} as const;\n\nexport type EShapeRuntimeReset = typeof EShapeRuntimeReset[keyof typeof EShapeRuntimeReset];\n"]}
|
|
1
|
+
{"version":3,"file":"e-shape-runtime-reset.js","sourceRoot":"","sources":["../../../../src/main/typescript/wcardinal/ui/shape/e-shape-runtime-reset.ts"],"names":[],"mappings":"AAAA,IAAM,UAAU,GAAG,CAAC,CAAC;AACrB,IAAM,UAAU,GAAG,CAAC,CAAC;AACrB,IAAM,QAAQ,GAAG,CAAC,CAAC;AACnB,IAAM,UAAU,GAAG,CAAC,CAAC;AACrB,IAAM,YAAY,GAAG,EAAE,CAAC;AACxB,IAAM,UAAU,GAAG,EAAE,CAAC;AACtB,IAAM,kBAAkB,GAAG,EAAE,CAAC;AAC9B,IAAM,UAAU,GAAG,GAAG,CAAC;AACvB,IAAM,MAAM,GAAG,GAAG,CAAC;AACnB,IAAM,KAAK,GAAG,GAAG,CAAC;AAClB,IAAM,IAAI,GAAG,IAAI,CAAC;AAClB,IAAM,MAAM,GAAG,IAAI,CAAC;AAEpB,MAAM,CAAC,IAAM,kBAAkB,GAAG;IACjC,IAAI,EAAE,CAAC;IACP,UAAU,YAAA;IACV,UAAU,YAAA;IACV,QAAQ,EAAE,UAAU,GAAG,UAAU;IACjC,QAAQ,UAAA;IACR,UAAU,YAAA;IACV,YAAY,cAAA;IACZ,qBAAqB,EAAE,UAAU,GAAG,YAAY;IAChD,UAAU,YAAA;IACV,kBAAkB,oBAAA;IAClB,KAAK,EAAE,UAAU,GAAG,YAAY,GAAG,UAAU,GAAG,kBAAkB;IAClE,UAAU,YAAA;IACV,MAAM,QAAA;IACN,KAAK,OAAA;IACL,IAAI,EAAE,MAAM,GAAG,KAAK;IACpB,IAAI,MAAA;IACJ,MAAM,QAAA;CACG,CAAC","sourcesContent":["const POSITION_X = 1;\nconst POSITION_Y = 2;\nconst ROTATION = 4;\nconst COLOR_FILL = 8;\nconst COLOR_STROKE = 16;\nconst COLOR_TEXT = 32;\nconst COLOR_TEXT_OUTLINE = 64;\nconst VISIBILITY = 128;\nconst HEIGHT = 256;\nconst WIDTH = 512;\nconst TEXT = 1024;\nconst CURSOR = 2048;\n\nexport const EShapeRuntimeReset = {\n\tNONE: 0,\n\tPOSITION_X,\n\tPOSITION_Y,\n\tPOSITION: POSITION_X | POSITION_Y,\n\tROTATION,\n\tCOLOR_FILL,\n\tCOLOR_STROKE,\n\tCOLOR_FILL_AND_STROKE: COLOR_FILL | COLOR_STROKE,\n\tCOLOR_TEXT,\n\tCOLOR_TEXT_OUTLINE,\n\tCOLOR: COLOR_FILL | COLOR_STROKE | COLOR_TEXT | COLOR_TEXT_OUTLINE,\n\tVISIBILITY,\n\tHEIGHT,\n\tWIDTH,\n\tSIZE: HEIGHT | WIDTH,\n\tTEXT,\n\tCURSOR\n} as const;\n\nexport type EShapeRuntimeReset = (typeof EShapeRuntimeReset)[keyof typeof EShapeRuntimeReset];\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"e-shape-stroke-side.js","sourceRoot":"","sources":["../../../../src/main/typescript/wcardinal/ui/shape/e-shape-stroke-side.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,IAAM,GAAG,GAAG,CAAC,CAAC;AACd,IAAM,KAAK,GAAG,CAAC,CAAC;AAChB,IAAM,MAAM,GAAG,CAAC,CAAC;AACjB,IAAM,IAAI,GAAG,CAAC,CAAC;AAEf,MAAM,CAAC,IAAM,gBAAgB,GAAG;IAC/B,IAAI,EAAE,CAAC;IACP,GAAG,KAAA;IACH,KAAK,OAAA;IACL,MAAM,QAAA;IACN,IAAI,MAAA;IACJ,WAAW,EAAE,GAAG,GAAG,IAAI;IACvB,YAAY,EAAE,GAAG,GAAG,KAAK;IACzB,cAAc,EAAE,MAAM,GAAG,IAAI;IAC7B,eAAe,EAAE,MAAM,GAAG,KAAK;IAC/B,GAAG,EAAE,GAAG,GAAG,KAAK,GAAG,MAAM,GAAG,IAAI;CACvB,CAAC","sourcesContent":["/*\n * Copyright (C) 2019 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nconst TOP = 1;\nconst RIGHT = 2;\nconst BOTTOM = 4;\nconst LEFT = 8;\n\nexport const EShapeStrokeSide = {\n\tNONE: 0,\n\tTOP,\n\tRIGHT,\n\tBOTTOM,\n\tLEFT,\n\tTOP_OR_LEFT: TOP | LEFT,\n\tTOP_OR_RIGHT: TOP | RIGHT,\n\tBOTTOM_OR_LEFT: BOTTOM | LEFT,\n\tBOTTOM_OR_RIGHT: BOTTOM | RIGHT,\n\tALL: TOP | RIGHT | BOTTOM | LEFT\n} as const;\n\nexport type EShapeStrokeSide = typeof EShapeStrokeSide[keyof typeof EShapeStrokeSide];\n"]}
|
|
1
|
+
{"version":3,"file":"e-shape-stroke-side.js","sourceRoot":"","sources":["../../../../src/main/typescript/wcardinal/ui/shape/e-shape-stroke-side.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,IAAM,GAAG,GAAG,CAAC,CAAC;AACd,IAAM,KAAK,GAAG,CAAC,CAAC;AAChB,IAAM,MAAM,GAAG,CAAC,CAAC;AACjB,IAAM,IAAI,GAAG,CAAC,CAAC;AAEf,MAAM,CAAC,IAAM,gBAAgB,GAAG;IAC/B,IAAI,EAAE,CAAC;IACP,GAAG,KAAA;IACH,KAAK,OAAA;IACL,MAAM,QAAA;IACN,IAAI,MAAA;IACJ,WAAW,EAAE,GAAG,GAAG,IAAI;IACvB,YAAY,EAAE,GAAG,GAAG,KAAK;IACzB,cAAc,EAAE,MAAM,GAAG,IAAI;IAC7B,eAAe,EAAE,MAAM,GAAG,KAAK;IAC/B,GAAG,EAAE,GAAG,GAAG,KAAK,GAAG,MAAM,GAAG,IAAI;CACvB,CAAC","sourcesContent":["/*\n * Copyright (C) 2019 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nconst TOP = 1;\nconst RIGHT = 2;\nconst BOTTOM = 4;\nconst LEFT = 8;\n\nexport const EShapeStrokeSide = {\n\tNONE: 0,\n\tTOP,\n\tRIGHT,\n\tBOTTOM,\n\tLEFT,\n\tTOP_OR_LEFT: TOP | LEFT,\n\tTOP_OR_RIGHT: TOP | RIGHT,\n\tBOTTOM_OR_LEFT: BOTTOM | LEFT,\n\tBOTTOM_OR_RIGHT: BOTTOM | RIGHT,\n\tALL: TOP | RIGHT | BOTTOM | LEFT\n} as const;\n\nexport type EShapeStrokeSide = (typeof EShapeStrokeSide)[keyof typeof EShapeStrokeSide];\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"e-shape-text-align-horizontal.js","sourceRoot":"","sources":["../../../../src/main/typescript/wcardinal/ui/shape/e-shape-text-align-horizontal.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,MAAM,CAAC,IAAM,yBAAyB,GAAG;IACxC,IAAI,EAAE,CAAC;IACP,MAAM,EAAE,CAAC;IACT,KAAK,EAAE,CAAC;IACR,YAAY,EAAE,CAAC;IACf,aAAa,EAAE,CAAC;CACP,CAAC","sourcesContent":["/*\n * Copyright (C) 2019 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nexport const EShapeTextAlignHorizontal = {\n\tLEFT: 0,\n\tCENTER: 1,\n\tRIGHT: 2,\n\tOUTSIDE_LEFT: 3,\n\tOUTSIDE_RIGHT: 4\n} as const;\n\nexport type EShapeTextAlignHorizontal =\n\
|
|
1
|
+
{"version":3,"file":"e-shape-text-align-horizontal.js","sourceRoot":"","sources":["../../../../src/main/typescript/wcardinal/ui/shape/e-shape-text-align-horizontal.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,MAAM,CAAC,IAAM,yBAAyB,GAAG;IACxC,IAAI,EAAE,CAAC;IACP,MAAM,EAAE,CAAC;IACT,KAAK,EAAE,CAAC;IACR,YAAY,EAAE,CAAC;IACf,aAAa,EAAE,CAAC;CACP,CAAC","sourcesContent":["/*\n * Copyright (C) 2019 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nexport const EShapeTextAlignHorizontal = {\n\tLEFT: 0,\n\tCENTER: 1,\n\tRIGHT: 2,\n\tOUTSIDE_LEFT: 3,\n\tOUTSIDE_RIGHT: 4\n} as const;\n\nexport type EShapeTextAlignHorizontal =\n\t(typeof EShapeTextAlignHorizontal)[keyof typeof EShapeTextAlignHorizontal];\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"e-shape-text-align-vertical.js","sourceRoot":"","sources":["../../../../src/main/typescript/wcardinal/ui/shape/e-shape-text-align-vertical.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,MAAM,CAAC,IAAM,uBAAuB,GAAG;IACtC,GAAG,EAAE,CAAC;IACN,MAAM,EAAE,CAAC;IACT,MAAM,EAAE,CAAC;IACT,WAAW,EAAE,CAAC;IACd,cAAc,EAAE,CAAC;CACR,CAAC","sourcesContent":["/*\n * Copyright (C) 2019 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nexport const EShapeTextAlignVertical = {\n\tTOP: 0,\n\tMIDDLE: 1,\n\tBOTTOM: 2,\n\tOUTSIDE_TOP: 3,\n\tOUTSIDE_BOTTOM: 4\n} as const;\n\nexport type EShapeTextAlignVertical =\n\
|
|
1
|
+
{"version":3,"file":"e-shape-text-align-vertical.js","sourceRoot":"","sources":["../../../../src/main/typescript/wcardinal/ui/shape/e-shape-text-align-vertical.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,MAAM,CAAC,IAAM,uBAAuB,GAAG;IACtC,GAAG,EAAE,CAAC;IACN,MAAM,EAAE,CAAC;IACT,MAAM,EAAE,CAAC;IACT,WAAW,EAAE,CAAC;IACd,cAAc,EAAE,CAAC;CACR,CAAC","sourcesContent":["/*\n * Copyright (C) 2019 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nexport const EShapeTextAlignVertical = {\n\tTOP: 0,\n\tMIDDLE: 1,\n\tBOTTOM: 2,\n\tOUTSIDE_TOP: 3,\n\tOUTSIDE_BOTTOM: 4\n} as const;\n\nexport type EShapeTextAlignVertical =\n\t(typeof EShapeTextAlignVertical)[keyof typeof EShapeTextAlignVertical];\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"e-shape-text-direction.js","sourceRoot":"","sources":["../../../../src/main/typescript/wcardinal/ui/shape/e-shape-text-direction.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,MAAM,CAAC,IAAM,mBAAmB,GAAG;IAClC,aAAa,EAAE,CAAC;IAChB,aAAa,EAAE,CAAC;IAChB,aAAa,EAAE,CAAC;IAChB,aAAa,EAAE,CAAC;CACP,CAAC","sourcesContent":["/*\n * Copyright (C) 2019 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nexport const EShapeTextDirection = {\n\tLEFT_TO_RIGHT: 0,\n\tTOP_TO_BOTTOM: 1,\n\tBOTTOM_TO_TOP: 2,\n\tRIGHT_TO_LEFT: 3\n} as const;\n\nexport type EShapeTextDirection = typeof EShapeTextDirection[keyof typeof EShapeTextDirection];\n"]}
|
|
1
|
+
{"version":3,"file":"e-shape-text-direction.js","sourceRoot":"","sources":["../../../../src/main/typescript/wcardinal/ui/shape/e-shape-text-direction.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,MAAM,CAAC,IAAM,mBAAmB,GAAG;IAClC,aAAa,EAAE,CAAC;IAChB,aAAa,EAAE,CAAC;IAChB,aAAa,EAAE,CAAC;IAChB,aAAa,EAAE,CAAC;CACP,CAAC","sourcesContent":["/*\n * Copyright (C) 2019 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nexport const EShapeTextDirection = {\n\tLEFT_TO_RIGHT: 0,\n\tTOP_TO_BOTTOM: 1,\n\tBOTTOM_TO_TOP: 2,\n\tRIGHT_TO_LEFT: 3\n} as const;\n\nexport type EShapeTextDirection = (typeof EShapeTextDirection)[keyof typeof EShapeTextDirection];\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"e-shape-text.js","sourceRoot":"","sources":["../../../../src/main/typescript/wcardinal/ui/shape/e-shape-text.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAWH,MAAM,CAAC,IAAM,gBAAgB,GAAG;IAC/B,MAAM,EAAE,CAAC;IACT,IAAI,EAAE,CAAC;CACE,CAAC;AAIX,MAAM,CAAC,IAAM,eAAe,GAAG;IAC9B,MAAM,EAAE,CAAC;IACT,MAAM,EAAE,CAAC;CACA,CAAC","sourcesContent":["/*\n * Copyright (C) 2019 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport { Texture } from \"pixi.js\";\nimport { DeepPartial } from \"../util/deep-partial\";\nimport { EShapeResourceManagerDeserialization } from \"./e-shape-resource-manager-deserialization\";\nimport { EShapeResourceManagerSerialization } from \"./e-shape-resource-manager-serialization\";\nimport { EShapeTextAlign, EShapeTextAlignLike } from \"./e-shape-text-align\";\nimport { EShapeTextDirection } from \"./e-shape-text-direction\";\nimport { EShapeTextOffset, EShapeTextOffsetLike } from \"./e-shape-text-offset\";\nimport { EShapeTextOutline, EShapeTextOutlineLike } from \"./e-shape-text-outline\";\n\nexport const EShapeTextWeight = {\n\tNORMAL: 0,\n\tBOLD: 1\n} as const;\n\nexport type EShapeTextWeight = typeof EShapeTextWeight[keyof typeof EShapeTextWeight];\n\nexport const EShapeTextStyle = {\n\tNORMAL: 0,\n\tITALIC: 1\n} as const;\n\nexport type EShapeTextStyle = typeof EShapeTextStyle[keyof typeof EShapeTextStyle];\n\nexport interface EShapeTextLike {\n\tvalue: string;\n\tcolor: number;\n\talpha: number;\n\tfamily: string;\n\tsize: number;\n\tweight: EShapeTextWeight;\n\talign: EShapeTextAlignLike;\n\toffset: EShapeTextOffsetLike;\n\tstyle: EShapeTextStyle;\n\toutline: EShapeTextOutlineLike;\n\tspacing: EShapeTextOffsetLike;\n\tdirection: EShapeTextDirection;\n\tpadding: EShapeTextOffsetLike;\n\tclipping: boolean;\n\tfitting: boolean;\n}\n\nexport interface EShapeTextAtlasCharacter {\n\tx: number;\n\ty: number;\n\twidth: number;\n\theight: number;\n\tadvance: number;\n\torigin: {\n\t\tx: number;\n\t\ty: number;\n\t};\n}\n\nexport type EShapeTextAtlasCharacters = Record<string, EShapeTextAtlasCharacter>;\n\nexport interface EShapeTextAtlas {\n\twidth: number;\n\theight: number;\n\tfont: {\n\t\tsize: number;\n\t};\n\tcharacters: EShapeTextAtlasCharacters;\n}\n\nexport interface EShapeText extends EShapeTextLike {\n\tenable: boolean;\n\n\talign: EShapeTextAlign;\n\toffset: EShapeTextOffset;\n\toutline: EShapeTextOutline;\n\tspacing: EShapeTextOffset;\n\tpadding: EShapeTextOffset;\n\n\ttexture?: Texture; // Used for rendering and updated when rendered\n\tatlas?: EShapeTextAtlas; // Used for rendering and updated when rendered\n\tworld?: number[]; // Updated when rendered\n\n\tcopy(target?: DeepPartial<EShapeTextLike>): this;\n\tset(\n\t\tvalue?: string,\n\t\tcolor?: number,\n\t\talpha?: number,\n\t\tfamily?: string,\n\t\tsize?: number,\n\t\tweight?: EShapeTextWeight,\n\t\tstyle?: EShapeTextStyle,\n\t\tdirection?: EShapeTextDirection,\n\t\tclipping?: boolean,\n\t\tfitting?: boolean\n\t): this;\n\ttoObject(): EShapeTextLike;\n\tserialize(manager: EShapeResourceManagerSerialization): number;\n\tdeserialize(target: number, manager: EShapeResourceManagerDeserialization): void;\n}\n"]}
|
|
1
|
+
{"version":3,"file":"e-shape-text.js","sourceRoot":"","sources":["../../../../src/main/typescript/wcardinal/ui/shape/e-shape-text.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAWH,MAAM,CAAC,IAAM,gBAAgB,GAAG;IAC/B,MAAM,EAAE,CAAC;IACT,IAAI,EAAE,CAAC;CACE,CAAC;AAIX,MAAM,CAAC,IAAM,eAAe,GAAG;IAC9B,MAAM,EAAE,CAAC;IACT,MAAM,EAAE,CAAC;CACA,CAAC","sourcesContent":["/*\n * Copyright (C) 2019 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport { Texture } from \"pixi.js\";\nimport { DeepPartial } from \"../util/deep-partial\";\nimport { EShapeResourceManagerDeserialization } from \"./e-shape-resource-manager-deserialization\";\nimport { EShapeResourceManagerSerialization } from \"./e-shape-resource-manager-serialization\";\nimport { EShapeTextAlign, EShapeTextAlignLike } from \"./e-shape-text-align\";\nimport { EShapeTextDirection } from \"./e-shape-text-direction\";\nimport { EShapeTextOffset, EShapeTextOffsetLike } from \"./e-shape-text-offset\";\nimport { EShapeTextOutline, EShapeTextOutlineLike } from \"./e-shape-text-outline\";\n\nexport const EShapeTextWeight = {\n\tNORMAL: 0,\n\tBOLD: 1\n} as const;\n\nexport type EShapeTextWeight = (typeof EShapeTextWeight)[keyof typeof EShapeTextWeight];\n\nexport const EShapeTextStyle = {\n\tNORMAL: 0,\n\tITALIC: 1\n} as const;\n\nexport type EShapeTextStyle = (typeof EShapeTextStyle)[keyof typeof EShapeTextStyle];\n\nexport interface EShapeTextLike {\n\tvalue: string;\n\tcolor: number;\n\talpha: number;\n\tfamily: string;\n\tsize: number;\n\tweight: EShapeTextWeight;\n\talign: EShapeTextAlignLike;\n\toffset: EShapeTextOffsetLike;\n\tstyle: EShapeTextStyle;\n\toutline: EShapeTextOutlineLike;\n\tspacing: EShapeTextOffsetLike;\n\tdirection: EShapeTextDirection;\n\tpadding: EShapeTextOffsetLike;\n\tclipping: boolean;\n\tfitting: boolean;\n}\n\nexport interface EShapeTextAtlasCharacter {\n\tx: number;\n\ty: number;\n\twidth: number;\n\theight: number;\n\tadvance: number;\n\torigin: {\n\t\tx: number;\n\t\ty: number;\n\t};\n}\n\nexport type EShapeTextAtlasCharacters = Record<string, EShapeTextAtlasCharacter>;\n\nexport interface EShapeTextAtlas {\n\twidth: number;\n\theight: number;\n\tfont: {\n\t\tsize: number;\n\t};\n\tcharacters: EShapeTextAtlasCharacters;\n}\n\nexport interface EShapeText extends EShapeTextLike {\n\tenable: boolean;\n\n\talign: EShapeTextAlign;\n\toffset: EShapeTextOffset;\n\toutline: EShapeTextOutline;\n\tspacing: EShapeTextOffset;\n\tpadding: EShapeTextOffset;\n\n\ttexture?: Texture; // Used for rendering and updated when rendered\n\tatlas?: EShapeTextAtlas; // Used for rendering and updated when rendered\n\tworld?: number[]; // Updated when rendered\n\n\tcopy(target?: DeepPartial<EShapeTextLike>): this;\n\tset(\n\t\tvalue?: string,\n\t\tcolor?: number,\n\t\talpha?: number,\n\t\tfamily?: string,\n\t\tsize?: number,\n\t\tweight?: EShapeTextWeight,\n\t\tstyle?: EShapeTextStyle,\n\t\tdirection?: EShapeTextDirection,\n\t\tclipping?: boolean,\n\t\tfitting?: boolean\n\t): this;\n\ttoObject(): EShapeTextLike;\n\tserialize(manager: EShapeResourceManagerSerialization): number;\n\tdeserialize(target: number, manager: EShapeResourceManagerDeserialization): void;\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"e-shape-bar-position.js","sourceRoot":"","sources":["../../../../../src/main/typescript/wcardinal/ui/shape/variant/e-shape-bar-position.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,MAAM,CAAC,IAAM,iBAAiB,GAAG;IAChC,GAAG,EAAE,CAAC;IACN,IAAI,EAAE,CAAC;IACP,KAAK,EAAE,CAAC;IACR,MAAM,EAAE,CAAC;CACA,CAAC","sourcesContent":["/*\n * Copyright (C) 2019 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nexport const EShapeBarPosition = {\n\tTOP: 0,\n\tLEFT: 1,\n\tRIGHT: 2,\n\tBOTTOM: 3\n} as const;\n\nexport type EShapeBarPosition = typeof EShapeBarPosition[keyof typeof EShapeBarPosition];\n"]}
|
|
1
|
+
{"version":3,"file":"e-shape-bar-position.js","sourceRoot":"","sources":["../../../../../src/main/typescript/wcardinal/ui/shape/variant/e-shape-bar-position.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,MAAM,CAAC,IAAM,iBAAiB,GAAG;IAChC,GAAG,EAAE,CAAC;IACN,IAAI,EAAE,CAAC;IACP,KAAK,EAAE,CAAC;IACR,MAAM,EAAE,CAAC;CACA,CAAC","sourcesContent":["/*\n * Copyright (C) 2019 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nexport const EShapeBarPosition = {\n\tTOP: 0,\n\tLEFT: 1,\n\tRIGHT: 2,\n\tBOTTOM: 3\n} as const;\n\nexport type EShapeBarPosition = (typeof EShapeBarPosition)[keyof typeof EShapeBarPosition];\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"e-shape-line-base-hit-part.js","sourceRoot":"","sources":["../../../../../src/main/typescript/wcardinal/ui/shape/variant/e-shape-line-base-hit-part.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,MAAM,CAAC,IAAM,qBAAqB,GAAG;IACpC,IAAI,EAAE,CAAC;IACP,IAAI,EAAE,CAAC;IACP,WAAW,EAAE,CAAC;IACd,WAAW,EAAE,CAAC;IACd,IAAI,EAAE,CAAC;IACP,QAAQ,EAAE,CAAC;CACF,CAAC","sourcesContent":["/*\n * Copyright (C) 2019 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nexport const EShapeLineBaseHitPart = {\n\tNONE: 0,\n\tLINE: 1,\n\tMARKER_TAIL: 2,\n\tMARKER_HEAD: 3,\n\tTEXT: 4,\n\tCHILDREN: 5\n} as const;\n\nexport type EShapeLineBaseHitPart =\n\
|
|
1
|
+
{"version":3,"file":"e-shape-line-base-hit-part.js","sourceRoot":"","sources":["../../../../../src/main/typescript/wcardinal/ui/shape/variant/e-shape-line-base-hit-part.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,MAAM,CAAC,IAAM,qBAAqB,GAAG;IACpC,IAAI,EAAE,CAAC;IACP,IAAI,EAAE,CAAC;IACP,WAAW,EAAE,CAAC;IACd,WAAW,EAAE,CAAC;IACd,IAAI,EAAE,CAAC;IACP,QAAQ,EAAE,CAAC;CACF,CAAC","sourcesContent":["/*\n * Copyright (C) 2019 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nexport const EShapeLineBaseHitPart = {\n\tNONE: 0,\n\tLINE: 1,\n\tMARKER_TAIL: 2,\n\tMARKER_HEAD: 3,\n\tTEXT: 4,\n\tCHILDREN: 5\n} as const;\n\nexport type EShapeLineBaseHitPart =\n\t(typeof EShapeLineBaseHitPart)[keyof typeof EShapeLineBaseHitPart];\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"e-snapper-target-value.js","sourceRoot":"","sources":["../../../../src/main/typescript/wcardinal/ui/snapper/e-snapper-target-value.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAIH,MAAM,CAAC,IAAM,uBAAuB,GAAG;IACtC,UAAU,EAAE,CAAC;IACb,QAAQ,EAAE,CAAC;CACF,CAAC;AAKX;IAIC,6BAAY,IAA6B,EAAE,QAAgB;QAC1D,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;IAC1B,CAAC;IAED,uCAAS,GAAT;QACC,OAAO,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC;IACnC,CAAC;IACF,0BAAC;AAAD,CAAC,AAZD,IAYC","sourcesContent":["/*\n * Copyright (C) 2019 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport { DDiagramSerializedSnapTargetValue } from \"../d-diagram-serialized\";\n\nexport const ESnapperTargetValueType = {\n\tHORIZONTAL: 0,\n\tVERTICAL: 1\n} as const;\n\nexport type ESnapperTargetValueType =\n\
|
|
1
|
+
{"version":3,"file":"e-snapper-target-value.js","sourceRoot":"","sources":["../../../../src/main/typescript/wcardinal/ui/snapper/e-snapper-target-value.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAIH,MAAM,CAAC,IAAM,uBAAuB,GAAG;IACtC,UAAU,EAAE,CAAC;IACb,QAAQ,EAAE,CAAC;CACF,CAAC;AAKX;IAIC,6BAAY,IAA6B,EAAE,QAAgB;QAC1D,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;IAC1B,CAAC;IAED,uCAAS,GAAT;QACC,OAAO,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC;IACnC,CAAC;IACF,0BAAC;AAAD,CAAC,AAZD,IAYC","sourcesContent":["/*\n * Copyright (C) 2019 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport { DDiagramSerializedSnapTargetValue } from \"../d-diagram-serialized\";\n\nexport const ESnapperTargetValueType = {\n\tHORIZONTAL: 0,\n\tVERTICAL: 1\n} as const;\n\nexport type ESnapperTargetValueType =\n\t(typeof ESnapperTargetValueType)[keyof typeof ESnapperTargetValueType];\n\nexport class ESnapperTargetValue {\n\ttype: ESnapperTargetValueType;\n\tposition: number;\n\n\tconstructor(type: ESnapperTargetValueType, position: number) {\n\t\tthis.type = type;\n\t\tthis.position = position;\n\t}\n\n\tserialize(): DDiagramSerializedSnapTargetValue {\n\t\treturn [this.type, this.position];\n\t}\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"e-snapper.js","sourceRoot":"","sources":["../../../../src/main/typescript/wcardinal/ui/snapper/e-snapper.ts"],"names":[],"mappings":"AAAA;;;GAGG;;AAEH,OAAO,EAAiC,KAAK,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAEjF,OAAO,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AACvC,OAAO,EAAE,YAAY,EAA0C,MAAM,kBAAkB,CAAC;AACxF,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAEpD,OAAO,EAAE,cAAc,EAA8C,MAAM,oBAAoB,CAAC;AAEhG,IAAM,OAAO,GAAG,OAAO,CAAC;AAOxB,MAAM,CAAC,IAAM,sBAAsB,GAAG;IACrC,IAAI,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I,CAAC,IAAI,CAAC,WAAW,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC;IACtC,CAAC;IACF,eAAC;AAAD,CAAC,AAtiBD,CAA8B,KAAK,CAAC,YAAY,GAsiB/C","sourcesContent":["/*\n * Copyright (C) 2019 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport { DisplayObject, IPoint, Matrix, Point, Rectangle, utils } from \"pixi.js\";\nimport { DDiagramSerializedSnap } from \"../d-diagram-serialized\";\nimport { isNaN } from \"../util/is-nan\";\nimport { ESnapperGrid, ESnapperGridOptions, EThemeSnapperGrid } from \"./e-snapper-grid\";\nimport { ESnapperResult } from \"./e-snapper-result\";\nimport { ESnapperResultScale } from \"./e-snapper-result-scale\";\nimport { ESnapperTarget, ESnapperTargetOptions, EThemeSnapperTarget } from \"./e-snapper-target\";\n\nconst EPSILON = 0.00001;\n\nexport interface ESnapperModifier extends DisplayObject {\n\twidth: number;\n\theight: number;\n}\n\nexport const ESnapperModifierAnchor = {\n\tNONE: 0,\n\tTOP_LEFT: 1,\n\tTOP_CENTER: 2,\n\tTOP_RIGHT: 3,\n\tMIDDLE_LEFT: 4,\n\tMIDDLE_RIGHT: 5,\n\tBOTTOM_LEFT: 6,\n\tBOTTOM_CENTER: 7,\n\tBOTTOM_RIGHT: 8,\n\tROTATION: 9\n} as const;\n\nexport type ESnapperModifierAnchor =\n\ttypeof ESnapperModifierAnchor[keyof typeof ESnapperModifierAnchor];\n\nexport interface ESnapperParentCanvas {\n\tscale: {\n\t\tx: number;\n\t\ty: number;\n\t};\n\twidth: number;\n\theight: number;\n}\n\nexport interface ESnapperParent {\n\tcanvas: ESnapperParentCanvas | null;\n}\n\nexport interface ESnapperOptions {\n\tenable?: boolean;\n\tgrid?: ESnapperGridOptions;\n\ttarget?: ESnapperTargetOptions;\n}\n\nexport interface EThemeSnapper extends EThemeSnapperGrid, EThemeSnapperTarget {\n\tisSnapEnabled(): boolean;\n}\n\nexport class ESnapper extends utils.EventEmitter {\n\tprotected _points: Point[];\n\tprotected _normals: Point[];\n\tprotected _lengths: number[];\n\n\tprotected _workScale: Point;\n\tprotected _workScaleResult: ESnapperResultScale;\n\n\tprotected _workTranslate: Point;\n\n\tprotected _workSnap: Point;\n\tprotected _workSnapRectangle: Rectangle;\n\tprotected _workSnapResultX: ESnapperResult;\n\tprotected _workSnapResultY: ESnapperResult;\n\n\tprotected _parent: ESnapperParent;\n\n\tprotected _isEnabled: boolean;\n\tprotected _isEnabledDefault: boolean;\n\n\tgrid: ESnapperGrid;\n\n\ttarget: ESnapperTarget;\n\n\tconstructor(parent: ESnapperParent, theme: EThemeSnapper, options?: ESnapperOptions) {\n\t\tsuper();\n\n\t\tthis._points = [\n\t\t\tnew Point(), // Top left\n\t\t\tnew Point(), // Top right\n\t\t\tnew Point(), // Bottom left\n\t\t\tnew Point(), // Bottom right\n\t\t\tnew Point() // Center\n\t\t];\n\n\t\tthis._normals = [new Point(), new Point()];\n\n\t\tthis._lengths = [1, 1];\n\n\t\tthis._workScale = new Point();\n\t\tthis._workSnapResultX = new ESnapperResult();\n\t\tthis._workSnapResultY = new ESnapperResult();\n\t\tthis._workScaleResult = {\n\t\t\tdistance: 0,\n\t\t\tscale: new Point()\n\t\t};\n\n\t\tthis._workTranslate = new Point();\n\n\t\tthis._workSnapRectangle = new Rectangle();\n\t\tthis._workSnap = new Point();\n\n\t\tthis.grid = new ESnapperGrid(theme, options?.grid);\n\n\t\tthis.target = new ESnapperTarget(theme, options?.target);\n\n\t\tthis._parent = parent;\n\t\tthis._isEnabledDefault = options?.enable ?? theme.isSnapEnabled();\n\t\tthis._isEnabled = this._isEnabledDefault;\n\t}\n\n\tget enable(): boolean {\n\t\treturn this._isEnabled;\n\t}\n\n\tset enable(enable: boolean) {\n\t\tif (this._isEnabled !== enable) {\n\t\t\tthis._isEnabled = enable;\n\t\t\tthis.emit(\"change\", this);\n\t\t}\n\t}\n\n\tprotected prepare(modifier: ESnapperModifier): void {\n\t\tmodifier.updateTransform();\n\t\tconst localTransform = modifier.transform.localTransform;\n\t\tconst sx = modifier.width;\n\t\tconst sy = modifier.height;\n\n\t\tconst points = this._points;\n\t\tpoints[0].set(0, 0);\n\t\tpoints[1].set(sx, 0);\n\t\tpoints[2].set(sx, sy);\n\t\tpoints[3].set(0, sy);\n\t\tpoints[4].set(sx * 0.5, sy * 0.5);\n\n\t\tlocalTransform.apply(points[0], points[0]);\n\t\tlocalTransform.apply(points[1], points[1]);\n\t\tlocalTransform.apply(points[2], points[2]);\n\t\tlocalTransform.apply(points[3], points[3]);\n\t\tlocalTransform.apply(points[4], points[4]);\n\t}\n\n\tprepareForTranslate(modifier: ESnapperModifier): void {\n\t\tif (this._isEnabled) {\n\t\t\tthis.prepare(modifier);\n\t\t}\n\t}\n\n\tprotected snap(point: IPoint, result: IPoint): IPoint {\n\t\tconst px = point.x;\n\t\tconst py = point.y;\n\t\tconst canvas = this._parent.canvas;\n\t\tconst x = this._workSnapResultX;\n\t\tconst y = this._workSnapResultY;\n\n\t\t// Canvas\n\t\tif (canvas != null) {\n\t\t\tconst scale = Math.max(canvas.scale.x, canvas.scale.y);\n\t\t\tx.reset(px, scale);\n\t\t\ty.reset(py, scale);\n\t\t\tx.set(px, 0);\n\t\t\tx.set(px, canvas.width);\n\t\t\ty.set(py, 0);\n\t\t\ty.set(py, canvas.height);\n\t\t} else {\n\t\t\tx.reset(px, 1);\n\t\t\ty.reset(py, 1);\n\t\t}\n\n\t\t// Target\n\t\tthis.target.snap(px, py, x, y);\n\n\t\t// Grid\n\t\tthis.grid.snap(px, x);\n\t\tthis.grid.snap(py, y);\n\n\t\t//\n\t\tresult.x = isNaN(x.distance) ? NaN : x.result;\n\t\tresult.y = isNaN(y.distance) ? NaN : y.result;\n\t\treturn result;\n\t}\n\n\ttoSnapped(point: IPoint, result: IPoint): IPoint {\n\t\tconst px = point.x;\n\t\tconst py = point.y;\n\t\tif (this._isEnabled) {\n\t\t\tthis.snap(point, result);\n\t\t\tconst x = result.x;\n\t\t\tconst y = result.y;\n\t\t\tresult.set(isNaN(x) ? px : x, isNaN(y) ? py : y);\n\t\t} else {\n\t\t\tresult.set(px, py);\n\t\t}\n\t\treturn result;\n\t}\n\n\ttoTranslationSnapped(delta: IPoint, result: IPoint): IPoint {\n\t\tconst dx = delta.x;\n\t\tconst dy = delta.y;\n\t\tlet x = NaN;\n\t\tlet y = NaN;\n\t\tif (this._isEnabled) {\n\t\t\tconst workTranslate = this._workTranslate;\n\t\t\tconst points = this._points;\n\t\t\tfor (let i = 0, imax = points.length; i < imax; ++i) {\n\t\t\t\tconst point = points[i];\n\t\t\t\tworkTranslate.set(point.x + dx, point.y + dy);\n\t\t\t\tthis.snap(workTranslate, workTranslate);\n\n\t\t\t\t// X\n\t\t\t\tif (!isNaN(workTranslate.x)) {\n\t\t\t\t\tconst newDx = workTranslate.x - point.x;\n\t\t\t\t\tif (isNaN(x) || Math.abs(newDx - dx) < Math.abs(x - dx)) {\n\t\t\t\t\t\tx = newDx;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t// Y\n\t\t\t\tif (!isNaN(workTranslate.y)) {\n\t\t\t\t\tconst newDy = workTranslate.y - point.y;\n\t\t\t\t\tif (isNaN(y) || Math.abs(newDy - dy) < Math.abs(y - dy)) {\n\t\t\t\t\t\ty = newDy;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tresult.x = isNaN(x) ? dx : x;\n\t\tresult.y = isNaN(y) ? dy : y;\n\t\treturn result;\n\t}\n\n\tprepareForRotate(modifier: ESnapperModifier): void {\n\t\t//\n\t}\n\n\tprotected getGridSizeRotation(): number {\n\t\treturn 5;\n\t}\n\n\tprotected toRadian(value: number): number {\n\t\treturn (value / 180) * Math.PI;\n\t}\n\n\tprotected toDegree(value: number): number {\n\t\treturn (value / Math.PI) * 180;\n\t}\n\n\ttoRotationSnapped(baseRotation: number, deltaRotation: number): number {\n\t\tif (this._isEnabled) {\n\t\t\tconst gridSize = this.getGridSizeRotation();\n\t\t\tconst newRotation = baseRotation + deltaRotation;\n\t\t\tconst newRotationDegree = Math.round(this.toDegree(newRotation));\n\t\t\tconst newRotationDegreeResidual = newRotationDegree % 90;\n\t\t\tif (Math.abs(newRotationDegreeResidual) <= gridSize) {\n\t\t\t\treturn this.toRadian(newRotationDegree - newRotationDegreeResidual) - baseRotation;\n\t\t\t} else {\n\t\t\t\tif (90 - gridSize <= newRotationDegreeResidual) {\n\t\t\t\t\treturn (\n\t\t\t\t\t\tthis.toRadian(newRotationDegree + (90 - newRotationDegreeResidual)) -\n\t\t\t\t\t\tbaseRotation\n\t\t\t\t\t);\n\t\t\t\t} else if (newRotationDegreeResidual <= -90 + gridSize) {\n\t\t\t\t\treturn (\n\t\t\t\t\t\tthis.toRadian(newRotationDegree - (90 + newRotationDegreeResidual)) -\n\t\t\t\t\t\tbaseRotation\n\t\t\t\t\t);\n\t\t\t\t} else {\n\t\t\t\t\treturn deltaRotation;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn deltaRotation;\n\t}\n\n\tprotected calcNormalizedVector(p0: IPoint, p1: IPoint, result: Point): number {\n\t\tconst dx = p1.x - p0.x;\n\t\tconst dy = p1.y - p0.y;\n\t\tconst l = Math.sqrt(dx * dx + dy * dy);\n\t\tif (EPSILON < l) {\n\t\t\tconst d = 1 / l;\n\t\t\tresult.x = dx * d;\n\t\t\tresult.y = dy * d;\n\t\t} else {\n\t\t\tresult.x = 1;\n\t\t\tresult.y = 0;\n\t\t}\n\t\treturn l;\n\t}\n\n\tprepareForScale(modifier: ESnapperModifier, anchor: ESnapperModifierAnchor): void {\n\t\tif (this._isEnabled) {\n\t\t\tthis.prepare(modifier);\n\n\t\t\tconst points = this._points;\n\t\t\tconst normals = this._normals;\n\t\t\tconst lengths = this._lengths;\n\t\t\tswitch (anchor) {\n\t\t\t\tcase ESnapperModifierAnchor.TOP_LEFT:\n\t\t\t\t\tlengths[0] = this.calcNormalizedVector(points[1], points[0], normals[0]);\n\t\t\t\t\tlengths[1] = this.calcNormalizedVector(points[3], points[0], normals[1]);\n\t\t\t\t\tbreak;\n\t\t\t\tcase ESnapperModifierAnchor.TOP_CENTER:\n\t\t\t\t\tlengths[0] = this.calcNormalizedVector(points[3], points[0], normals[0]);\n\t\t\t\t\tbreak;\n\t\t\t\tcase ESnapperModifierAnchor.TOP_RIGHT:\n\t\t\t\t\tlengths[0] = this.calcNormalizedVector(points[0], points[1], normals[0]);\n\t\t\t\t\tlengths[1] = this.calcNormalizedVector(points[2], points[1], normals[1]);\n\t\t\t\t\tbreak;\n\t\t\t\tcase ESnapperModifierAnchor.MIDDLE_LEFT:\n\t\t\t\t\tlengths[0] = this.calcNormalizedVector(points[1], points[0], normals[0]);\n\t\t\t\t\tbreak;\n\t\t\t\tcase ESnapperModifierAnchor.NONE:\n\t\t\t\t\tbreak;\n\t\t\t\tcase ESnapperModifierAnchor.MIDDLE_RIGHT:\n\t\t\t\t\tlengths[0] = this.calcNormalizedVector(points[0], points[1], normals[0]);\n\t\t\t\t\tbreak;\n\t\t\t\tcase ESnapperModifierAnchor.BOTTOM_LEFT:\n\t\t\t\t\tlengths[0] = this.calcNormalizedVector(points[2], points[3], normals[0]);\n\t\t\t\t\tlengths[1] = this.calcNormalizedVector(points[0], points[3], normals[1]);\n\t\t\t\t\tbreak;\n\t\t\t\tcase ESnapperModifierAnchor.BOTTOM_CENTER:\n\t\t\t\t\tlengths[0] = this.calcNormalizedVector(points[0], points[3], normals[0]);\n\t\t\t\t\tbreak;\n\t\t\t\tcase ESnapperModifierAnchor.BOTTOM_RIGHT:\n\t\t\t\t\tlengths[0] = this.calcNormalizedVector(points[3], points[2], normals[0]);\n\t\t\t\t\tlengths[1] = this.calcNormalizedVector(points[1], points[2], normals[1]);\n\t\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}\n\n\tprotected setScaleSnappedResult(\n\t\tdistance: number,\n\t\tlength: number,\n\t\tmove: number,\n\t\taxis: boolean, // true => x axis, false y axis\n\t\tresult: ESnapperResultScale\n\t): void {\n\t\tif (EPSILON < length) {\n\t\t\tif (isNaN(result.distance) || distance < result.distance) {\n\t\t\t\tresult.distance = distance;\n\t\t\t\tconst newScale = 1 + move / length;\n\t\t\t\tif (axis) {\n\t\t\t\t\tresult.scale.x = newScale;\n\t\t\t\t} else {\n\t\t\t\t\tresult.scale.y = newScale;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\tprotected calcScaleSnapped1D(\n\t\ttransform: Matrix,\n\t\tpoint: Point,\n\t\tnormal: IPoint,\n\t\tlength: number,\n\t\taxis: boolean,\n\t\tresult: ESnapperResultScale\n\t): void {\n\t\tconst work = this._workScale;\n\t\ttransform.apply(point, work);\n\t\tconst tx = work.x;\n\t\tconst ty = work.y;\n\t\tthis.snap(work, work);\n\t\tconst x = work.x;\n\t\tconst y = work.y;\n\n\t\t// X coordinate\n\t\tif (!isNaN(x)) {\n\t\t\tconst nx = Math.abs(normal.x);\n\t\t\tif (EPSILON < nx) {\n\t\t\t\tconst dx = (x - tx) / normal.x;\n\t\t\t\tconst distance = Math.abs(dx);\n\t\t\t\tconst mx = (x - point.x) / normal.x;\n\t\t\t\tthis.setScaleSnappedResult(distance, length, mx, axis, result);\n\t\t\t}\n\t\t}\n\n\t\t// Y coordinate\n\t\tif (!isNaN(y)) {\n\t\t\tconst ny = Math.abs(normal.y);\n\t\t\tif (EPSILON < ny) {\n\t\t\t\tconst dy = (y - ty) / normal.y;\n\t\t\t\tconst distance = Math.abs(dy);\n\t\t\t\tconst my = (y - point.y) / normal.y;\n\t\t\t\tthis.setScaleSnappedResult(distance, length, my, axis, result);\n\t\t\t}\n\t\t}\n\t}\n\n\tprotected calcScaleSnappedX(\n\t\ttransform: Matrix,\n\t\tpoint: Point,\n\t\tnormal: IPoint,\n\t\tlength: number,\n\t\tresult: ESnapperResultScale\n\t): void {\n\t\tthis.calcScaleSnapped1D(transform, point, normal, length, true, result);\n\t}\n\n\tprotected calcScaleSnappedY(\n\t\ttransform: Matrix,\n\t\tpoint: Point,\n\t\tnormal: IPoint,\n\t\tlength: number,\n\t\tresult: ESnapperResultScale\n\t): void {\n\t\tthis.calcScaleSnapped1D(transform, point, normal, length, false, result);\n\t}\n\n\tcalcScaleSnapped2D(\n\t\ttransform: Matrix,\n\t\tpoint: Point,\n\t\tnormals: IPoint[],\n\t\tlengths: number[],\n\t\tresult: ESnapperResultScale\n\t): void {\n\t\tconst work = this._workScale;\n\t\ttransform.apply(point, work);\n\t\tconst tx = work.x;\n\t\tconst ty = work.y;\n\n\t\tthis.snap(work, work);\n\t\tlet x = work.x;\n\t\tlet y = work.y;\n\t\tif (isNaN(x)) {\n\t\t\tif (isNaN(y)) {\n\t\t\t\treturn;\n\t\t\t} else {\n\t\t\t\tx = tx;\n\t\t\t}\n\t\t} else {\n\t\t\tif (isNaN(y)) {\n\t\t\t\ty = ty;\n\t\t\t}\n\t\t}\n\n\t\t// (x, y) = (tx, ty) + normalA * a + normalB * b\n\t\t// dx = x - tx\n\t\t// dy = y - ty\n\t\t// V = ( a, b )^T\n\t\t// D = ( dx, dy )^T\n\t\t// A = | normalA.x normalB.x |\n\t\t// | normalA.y normalB.y |\n\t\t// A V = D\n\t\t// det A = normalA.x * normalB.y - normalB.x * normalA.y\n\t\t// A^-1 = | normalB.y -normalB.x | / det A\n\t\t// | -normalA.y normalA.x |\n\t\tconst detA = normals[0].x * normals[1].y - normals[1].x * normals[0].y;\n\t\tif (EPSILON < Math.abs(detA)) {\n\t\t\tconst dx = x - tx;\n\t\t\tconst dy = y - ty;\n\t\t\tconst distance = Math.abs(dx * dx + dy * dy);\n\t\t\tif (isNaN(result.distance) || distance < result.distance) {\n\t\t\t\tresult.distance = distance;\n\t\t\t\tconst mdx = x - point.x;\n\t\t\t\tconst mdy = y - point.y;\n\t\t\t\tconst mx = (+normals[1].y * mdx - normals[1].x * mdy) / detA;\n\t\t\t\tconst my = (-normals[0].y * mdx + normals[0].x * mdy) / detA;\n\t\t\t\tresult.scale.set(1 + mx / lengths[0], 1 + my / lengths[1]);\n\t\t\t}\n\t\t}\n\t}\n\n\tprotected calcScaleSnappedXY(\n\t\ttransform: Matrix,\n\t\tpointO: Point,\n\t\tpointX: Point,\n\t\tpointY: Point,\n\t\tnormals: IPoint[],\n\t\tlengths: number[],\n\t\tresult: ESnapperResultScale\n\t): void {\n\t\tthis.calcScaleSnapped2D(transform, pointO, normals, lengths, result);\n\t\tthis.calcScaleSnappedX(transform, pointY, normals[0], lengths[0], result);\n\t\tthis.calcScaleSnappedY(transform, pointX, normals[1], lengths[1], result);\n\t}\n\n\ttoScaleSnapped(\n\t\ttransform: Matrix,\n\t\tanchor: ESnapperModifierAnchor,\n\t\tkeepRatio: boolean,\n\t\tscale: IPoint\n\t): boolean {\n\t\tif (this._isEnabled) {\n\t\t\tconst points = this._points;\n\t\t\tconst normals = this._normals;\n\t\t\tconst lengths = this._lengths;\n\t\t\tconst work = this._workScaleResult;\n\t\t\twork.distance = NaN;\n\t\t\twork.scale.set(scale.x, scale.y);\n\n\t\t\tswitch (anchor) {\n\t\t\t\tcase ESnapperModifierAnchor.TOP_LEFT:\n\t\t\t\t\tthis.calcScaleSnappedXY(\n\t\t\t\t\t\ttransform,\n\t\t\t\t\t\tpoints[0],\n\t\t\t\t\t\tpoints[1],\n\t\t\t\t\t\tpoints[3],\n\t\t\t\t\t\tnormals,\n\t\t\t\t\t\tlengths,\n\t\t\t\t\t\twork\n\t\t\t\t\t);\n\t\t\t\t\tbreak;\n\t\t\t\tcase ESnapperModifierAnchor.TOP_CENTER:\n\t\t\t\t\tthis.calcScaleSnappedY(transform, points[0], normals[0], lengths[0], work);\n\t\t\t\t\tthis.calcScaleSnappedY(transform, points[1], normals[0], lengths[0], work);\n\t\t\t\t\tbreak;\n\t\t\t\tcase ESnapperModifierAnchor.TOP_RIGHT:\n\t\t\t\t\tthis.calcScaleSnappedXY(\n\t\t\t\t\t\ttransform,\n\t\t\t\t\t\tpoints[1],\n\t\t\t\t\t\tpoints[0],\n\t\t\t\t\t\tpoints[2],\n\t\t\t\t\t\tnormals,\n\t\t\t\t\t\tlengths,\n\t\t\t\t\t\twork\n\t\t\t\t\t);\n\t\t\t\t\tbreak;\n\t\t\t\tcase ESnapperModifierAnchor.MIDDLE_LEFT:\n\t\t\t\t\tthis.calcScaleSnappedX(transform, points[0], normals[0], lengths[0], work);\n\t\t\t\t\tthis.calcScaleSnappedX(transform, points[3], normals[0], lengths[0], work);\n\t\t\t\t\tbreak;\n\t\t\t\tcase ESnapperModifierAnchor.NONE:\n\t\t\t\t\tbreak;\n\t\t\t\tcase ESnapperModifierAnchor.MIDDLE_RIGHT:\n\t\t\t\t\tthis.calcScaleSnappedX(transform, points[1], normals[0], lengths[0], work);\n\t\t\t\t\tthis.calcScaleSnappedX(transform, points[2], normals[0], lengths[0], work);\n\t\t\t\t\tbreak;\n\t\t\t\tcase ESnapperModifierAnchor.BOTTOM_LEFT:\n\t\t\t\t\tthis.calcScaleSnappedXY(\n\t\t\t\t\t\ttransform,\n\t\t\t\t\t\tpoints[3],\n\t\t\t\t\t\tpoints[2],\n\t\t\t\t\t\tpoints[0],\n\t\t\t\t\t\tnormals,\n\t\t\t\t\t\tlengths,\n\t\t\t\t\t\twork\n\t\t\t\t\t);\n\t\t\t\t\tbreak;\n\t\t\t\tcase ESnapperModifierAnchor.BOTTOM_CENTER:\n\t\t\t\t\tthis.calcScaleSnappedY(transform, points[2], normals[0], lengths[0], work);\n\t\t\t\t\tthis.calcScaleSnappedY(transform, points[3], normals[0], lengths[0], work);\n\t\t\t\t\tbreak;\n\t\t\t\tcase ESnapperModifierAnchor.BOTTOM_RIGHT:\n\t\t\t\t\tthis.calcScaleSnappedXY(\n\t\t\t\t\t\ttransform,\n\t\t\t\t\t\tpoints[2],\n\t\t\t\t\t\tpoints[3],\n\t\t\t\t\t\tpoints[1],\n\t\t\t\t\t\tnormals,\n\t\t\t\t\t\tlengths,\n\t\t\t\t\t\twork\n\t\t\t\t\t);\n\t\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tif (!isNaN(work.distance)) {\n\t\t\t\tscale.copyFrom(work.scale);\n\t\t\t\tif (keepRatio) {\n\t\t\t\t\tswitch (anchor) {\n\t\t\t\t\t\tcase ESnapperModifierAnchor.TOP_LEFT:\n\t\t\t\t\t\tcase ESnapperModifierAnchor.TOP_RIGHT:\n\t\t\t\t\t\tcase ESnapperModifierAnchor.BOTTOM_LEFT:\n\t\t\t\t\t\tcase ESnapperModifierAnchor.BOTTOM_RIGHT:\n\t\t\t\t\t\t\tscale.x = scale.y = Math.max(scale.x, scale.y);\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase ESnapperModifierAnchor.TOP_CENTER:\n\t\t\t\t\t\tcase ESnapperModifierAnchor.BOTTOM_CENTER:\n\t\t\t\t\t\t\tscale.x = scale.y;\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase ESnapperModifierAnchor.MIDDLE_LEFT:\n\t\t\t\t\t\tcase ESnapperModifierAnchor.MIDDLE_RIGHT:\n\t\t\t\t\t\t\tscale.y = scale.x;\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase ESnapperModifierAnchor.NONE:\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\t\treturn false;\n\t}\n\n\treset(): void {\n\t\tthis.enable = this._isEnabledDefault;\n\t\tthis.target.reset();\n\t\tthis.grid.reset();\n\t}\n\n\tserialize(): DDiagramSerializedSnap {\n\t\treturn [this._isEnabled ? 1 : 0, this.target.serialize(), this.grid.serialize()];\n\t}\n\n\tdeserialize(serialized: DDiagramSerializedSnap): void {\n\t\tthis.enable = !!serialized[0];\n\t\tthis.target.deserialize(serialized[1]);\n\t\tthis.grid.deserialize(serialized[2]);\n\t}\n}\n"]}
|
|
1
|
+
{"version":3,"file":"e-snapper.js","sourceRoot":"","sources":["../../../../src/main/typescript/wcardinal/ui/snapper/e-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AAC;IAED,4BAAS,GAAT;QACC,OAAO,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,IAAI,CAAC,MAAM,CAAC,SAAS,EAAE,EAAE,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,CAAC,CAAC;IAClF,CAAC;IAED,8BAAW,GAAX,UAAY,UAAkC;QAC7C,IAAI,CAAC,MAAM,GAAG,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC;QAC9B,IAAI,CAAC,MAAM,CAAC,WAAW,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC;QACvC,IAAI,CAAC,IAAI,CAAC,WAAW,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC;IACtC,CAAC;IACF,eAAC;AAAD,CAAC,AAtiBD,CAA8B,KAAK,CAAC,YAAY,GAsiB/C","sourcesContent":["/*\n * Copyright (C) 2019 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport { DisplayObject, IPoint, Matrix, Point, Rectangle, utils } from \"pixi.js\";\nimport { DDiagramSerializedSnap } from \"../d-diagram-serialized\";\nimport { isNaN } from \"../util/is-nan\";\nimport { ESnapperGrid, ESnapperGridOptions, EThemeSnapperGrid } from \"./e-snapper-grid\";\nimport { ESnapperResult } from \"./e-snapper-result\";\nimport { ESnapperResultScale } from \"./e-snapper-result-scale\";\nimport { ESnapperTarget, ESnapperTargetOptions, EThemeSnapperTarget } from \"./e-snapper-target\";\n\nconst EPSILON = 0.00001;\n\nexport interface ESnapperModifier extends DisplayObject {\n\twidth: number;\n\theight: number;\n}\n\nexport const ESnapperModifierAnchor = {\n\tNONE: 0,\n\tTOP_LEFT: 1,\n\tTOP_CENTER: 2,\n\tTOP_RIGHT: 3,\n\tMIDDLE_LEFT: 4,\n\tMIDDLE_RIGHT: 5,\n\tBOTTOM_LEFT: 6,\n\tBOTTOM_CENTER: 7,\n\tBOTTOM_RIGHT: 8,\n\tROTATION: 9\n} as const;\n\nexport type ESnapperModifierAnchor =\n\t(typeof ESnapperModifierAnchor)[keyof typeof ESnapperModifierAnchor];\n\nexport interface ESnapperParentCanvas {\n\tscale: {\n\t\tx: number;\n\t\ty: number;\n\t};\n\twidth: number;\n\theight: number;\n}\n\nexport interface ESnapperParent {\n\tcanvas: ESnapperParentCanvas | null;\n}\n\nexport interface ESnapperOptions {\n\tenable?: boolean;\n\tgrid?: ESnapperGridOptions;\n\ttarget?: ESnapperTargetOptions;\n}\n\nexport interface EThemeSnapper extends EThemeSnapperGrid, EThemeSnapperTarget {\n\tisSnapEnabled(): boolean;\n}\n\nexport class ESnapper extends utils.EventEmitter {\n\tprotected _points: Point[];\n\tprotected _normals: Point[];\n\tprotected _lengths: number[];\n\n\tprotected _workScale: Point;\n\tprotected _workScaleResult: ESnapperResultScale;\n\n\tprotected _workTranslate: Point;\n\n\tprotected _workSnap: Point;\n\tprotected _workSnapRectangle: Rectangle;\n\tprotected _workSnapResultX: ESnapperResult;\n\tprotected _workSnapResultY: ESnapperResult;\n\n\tprotected _parent: ESnapperParent;\n\n\tprotected _isEnabled: boolean;\n\tprotected _isEnabledDefault: boolean;\n\n\tgrid: ESnapperGrid;\n\n\ttarget: ESnapperTarget;\n\n\tconstructor(parent: ESnapperParent, theme: EThemeSnapper, options?: ESnapperOptions) {\n\t\tsuper();\n\n\t\tthis._points = [\n\t\t\tnew Point(), // Top left\n\t\t\tnew Point(), // Top right\n\t\t\tnew Point(), // Bottom left\n\t\t\tnew Point(), // Bottom right\n\t\t\tnew Point() // Center\n\t\t];\n\n\t\tthis._normals = [new Point(), new Point()];\n\n\t\tthis._lengths = [1, 1];\n\n\t\tthis._workScale = new Point();\n\t\tthis._workSnapResultX = new ESnapperResult();\n\t\tthis._workSnapResultY = new ESnapperResult();\n\t\tthis._workScaleResult = {\n\t\t\tdistance: 0,\n\t\t\tscale: new Point()\n\t\t};\n\n\t\tthis._workTranslate = new Point();\n\n\t\tthis._workSnapRectangle = new Rectangle();\n\t\tthis._workSnap = new Point();\n\n\t\tthis.grid = new ESnapperGrid(theme, options?.grid);\n\n\t\tthis.target = new ESnapperTarget(theme, options?.target);\n\n\t\tthis._parent = parent;\n\t\tthis._isEnabledDefault = options?.enable ?? theme.isSnapEnabled();\n\t\tthis._isEnabled = this._isEnabledDefault;\n\t}\n\n\tget enable(): boolean {\n\t\treturn this._isEnabled;\n\t}\n\n\tset enable(enable: boolean) {\n\t\tif (this._isEnabled !== enable) {\n\t\t\tthis._isEnabled = enable;\n\t\t\tthis.emit(\"change\", this);\n\t\t}\n\t}\n\n\tprotected prepare(modifier: ESnapperModifier): void {\n\t\tmodifier.updateTransform();\n\t\tconst localTransform = modifier.transform.localTransform;\n\t\tconst sx = modifier.width;\n\t\tconst sy = modifier.height;\n\n\t\tconst points = this._points;\n\t\tpoints[0].set(0, 0);\n\t\tpoints[1].set(sx, 0);\n\t\tpoints[2].set(sx, sy);\n\t\tpoints[3].set(0, sy);\n\t\tpoints[4].set(sx * 0.5, sy * 0.5);\n\n\t\tlocalTransform.apply(points[0], points[0]);\n\t\tlocalTransform.apply(points[1], points[1]);\n\t\tlocalTransform.apply(points[2], points[2]);\n\t\tlocalTransform.apply(points[3], points[3]);\n\t\tlocalTransform.apply(points[4], points[4]);\n\t}\n\n\tprepareForTranslate(modifier: ESnapperModifier): void {\n\t\tif (this._isEnabled) {\n\t\t\tthis.prepare(modifier);\n\t\t}\n\t}\n\n\tprotected snap(point: IPoint, result: IPoint): IPoint {\n\t\tconst px = point.x;\n\t\tconst py = point.y;\n\t\tconst canvas = this._parent.canvas;\n\t\tconst x = this._workSnapResultX;\n\t\tconst y = this._workSnapResultY;\n\n\t\t// Canvas\n\t\tif (canvas != null) {\n\t\t\tconst scale = Math.max(canvas.scale.x, canvas.scale.y);\n\t\t\tx.reset(px, scale);\n\t\t\ty.reset(py, scale);\n\t\t\tx.set(px, 0);\n\t\t\tx.set(px, canvas.width);\n\t\t\ty.set(py, 0);\n\t\t\ty.set(py, canvas.height);\n\t\t} else {\n\t\t\tx.reset(px, 1);\n\t\t\ty.reset(py, 1);\n\t\t}\n\n\t\t// Target\n\t\tthis.target.snap(px, py, x, y);\n\n\t\t// Grid\n\t\tthis.grid.snap(px, x);\n\t\tthis.grid.snap(py, y);\n\n\t\t//\n\t\tresult.x = isNaN(x.distance) ? NaN : x.result;\n\t\tresult.y = isNaN(y.distance) ? NaN : y.result;\n\t\treturn result;\n\t}\n\n\ttoSnapped(point: IPoint, result: IPoint): IPoint {\n\t\tconst px = point.x;\n\t\tconst py = point.y;\n\t\tif (this._isEnabled) {\n\t\t\tthis.snap(point, result);\n\t\t\tconst x = result.x;\n\t\t\tconst y = result.y;\n\t\t\tresult.set(isNaN(x) ? px : x, isNaN(y) ? py : y);\n\t\t} else {\n\t\t\tresult.set(px, py);\n\t\t}\n\t\treturn result;\n\t}\n\n\ttoTranslationSnapped(delta: IPoint, result: IPoint): IPoint {\n\t\tconst dx = delta.x;\n\t\tconst dy = delta.y;\n\t\tlet x = NaN;\n\t\tlet y = NaN;\n\t\tif (this._isEnabled) {\n\t\t\tconst workTranslate = this._workTranslate;\n\t\t\tconst points = this._points;\n\t\t\tfor (let i = 0, imax = points.length; i < imax; ++i) {\n\t\t\t\tconst point = points[i];\n\t\t\t\tworkTranslate.set(point.x + dx, point.y + dy);\n\t\t\t\tthis.snap(workTranslate, workTranslate);\n\n\t\t\t\t// X\n\t\t\t\tif (!isNaN(workTranslate.x)) {\n\t\t\t\t\tconst newDx = workTranslate.x - point.x;\n\t\t\t\t\tif (isNaN(x) || Math.abs(newDx - dx) < Math.abs(x - dx)) {\n\t\t\t\t\t\tx = newDx;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t// Y\n\t\t\t\tif (!isNaN(workTranslate.y)) {\n\t\t\t\t\tconst newDy = workTranslate.y - point.y;\n\t\t\t\t\tif (isNaN(y) || Math.abs(newDy - dy) < Math.abs(y - dy)) {\n\t\t\t\t\t\ty = newDy;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tresult.x = isNaN(x) ? dx : x;\n\t\tresult.y = isNaN(y) ? dy : y;\n\t\treturn result;\n\t}\n\n\tprepareForRotate(modifier: ESnapperModifier): void {\n\t\t//\n\t}\n\n\tprotected getGridSizeRotation(): number {\n\t\treturn 5;\n\t}\n\n\tprotected toRadian(value: number): number {\n\t\treturn (value / 180) * Math.PI;\n\t}\n\n\tprotected toDegree(value: number): number {\n\t\treturn (value / Math.PI) * 180;\n\t}\n\n\ttoRotationSnapped(baseRotation: number, deltaRotation: number): number {\n\t\tif (this._isEnabled) {\n\t\t\tconst gridSize = this.getGridSizeRotation();\n\t\t\tconst newRotation = baseRotation + deltaRotation;\n\t\t\tconst newRotationDegree = Math.round(this.toDegree(newRotation));\n\t\t\tconst newRotationDegreeResidual = newRotationDegree % 90;\n\t\t\tif (Math.abs(newRotationDegreeResidual) <= gridSize) {\n\t\t\t\treturn this.toRadian(newRotationDegree - newRotationDegreeResidual) - baseRotation;\n\t\t\t} else {\n\t\t\t\tif (90 - gridSize <= newRotationDegreeResidual) {\n\t\t\t\t\treturn (\n\t\t\t\t\t\tthis.toRadian(newRotationDegree + (90 - newRotationDegreeResidual)) -\n\t\t\t\t\t\tbaseRotation\n\t\t\t\t\t);\n\t\t\t\t} else if (newRotationDegreeResidual <= -90 + gridSize) {\n\t\t\t\t\treturn (\n\t\t\t\t\t\tthis.toRadian(newRotationDegree - (90 + newRotationDegreeResidual)) -\n\t\t\t\t\t\tbaseRotation\n\t\t\t\t\t);\n\t\t\t\t} else {\n\t\t\t\t\treturn deltaRotation;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn deltaRotation;\n\t}\n\n\tprotected calcNormalizedVector(p0: IPoint, p1: IPoint, result: Point): number {\n\t\tconst dx = p1.x - p0.x;\n\t\tconst dy = p1.y - p0.y;\n\t\tconst l = Math.sqrt(dx * dx + dy * dy);\n\t\tif (EPSILON < l) {\n\t\t\tconst d = 1 / l;\n\t\t\tresult.x = dx * d;\n\t\t\tresult.y = dy * d;\n\t\t} else {\n\t\t\tresult.x = 1;\n\t\t\tresult.y = 0;\n\t\t}\n\t\treturn l;\n\t}\n\n\tprepareForScale(modifier: ESnapperModifier, anchor: ESnapperModifierAnchor): void {\n\t\tif (this._isEnabled) {\n\t\t\tthis.prepare(modifier);\n\n\t\t\tconst points = this._points;\n\t\t\tconst normals = this._normals;\n\t\t\tconst lengths = this._lengths;\n\t\t\tswitch (anchor) {\n\t\t\t\tcase ESnapperModifierAnchor.TOP_LEFT:\n\t\t\t\t\tlengths[0] = this.calcNormalizedVector(points[1], points[0], normals[0]);\n\t\t\t\t\tlengths[1] = this.calcNormalizedVector(points[3], points[0], normals[1]);\n\t\t\t\t\tbreak;\n\t\t\t\tcase ESnapperModifierAnchor.TOP_CENTER:\n\t\t\t\t\tlengths[0] = this.calcNormalizedVector(points[3], points[0], normals[0]);\n\t\t\t\t\tbreak;\n\t\t\t\tcase ESnapperModifierAnchor.TOP_RIGHT:\n\t\t\t\t\tlengths[0] = this.calcNormalizedVector(points[0], points[1], normals[0]);\n\t\t\t\t\tlengths[1] = this.calcNormalizedVector(points[2], points[1], normals[1]);\n\t\t\t\t\tbreak;\n\t\t\t\tcase ESnapperModifierAnchor.MIDDLE_LEFT:\n\t\t\t\t\tlengths[0] = this.calcNormalizedVector(points[1], points[0], normals[0]);\n\t\t\t\t\tbreak;\n\t\t\t\tcase ESnapperModifierAnchor.NONE:\n\t\t\t\t\tbreak;\n\t\t\t\tcase ESnapperModifierAnchor.MIDDLE_RIGHT:\n\t\t\t\t\tlengths[0] = this.calcNormalizedVector(points[0], points[1], normals[0]);\n\t\t\t\t\tbreak;\n\t\t\t\tcase ESnapperModifierAnchor.BOTTOM_LEFT:\n\t\t\t\t\tlengths[0] = this.calcNormalizedVector(points[2], points[3], normals[0]);\n\t\t\t\t\tlengths[1] = this.calcNormalizedVector(points[0], points[3], normals[1]);\n\t\t\t\t\tbreak;\n\t\t\t\tcase ESnapperModifierAnchor.BOTTOM_CENTER:\n\t\t\t\t\tlengths[0] = this.calcNormalizedVector(points[0], points[3], normals[0]);\n\t\t\t\t\tbreak;\n\t\t\t\tcase ESnapperModifierAnchor.BOTTOM_RIGHT:\n\t\t\t\t\tlengths[0] = this.calcNormalizedVector(points[3], points[2], normals[0]);\n\t\t\t\t\tlengths[1] = this.calcNormalizedVector(points[1], points[2], normals[1]);\n\t\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}\n\n\tprotected setScaleSnappedResult(\n\t\tdistance: number,\n\t\tlength: number,\n\t\tmove: number,\n\t\taxis: boolean, // true => x axis, false y axis\n\t\tresult: ESnapperResultScale\n\t): void {\n\t\tif (EPSILON < length) {\n\t\t\tif (isNaN(result.distance) || distance < result.distance) {\n\t\t\t\tresult.distance = distance;\n\t\t\t\tconst newScale = 1 + move / length;\n\t\t\t\tif (axis) {\n\t\t\t\t\tresult.scale.x = newScale;\n\t\t\t\t} else {\n\t\t\t\t\tresult.scale.y = newScale;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\tprotected calcScaleSnapped1D(\n\t\ttransform: Matrix,\n\t\tpoint: Point,\n\t\tnormal: IPoint,\n\t\tlength: number,\n\t\taxis: boolean,\n\t\tresult: ESnapperResultScale\n\t): void {\n\t\tconst work = this._workScale;\n\t\ttransform.apply(point, work);\n\t\tconst tx = work.x;\n\t\tconst ty = work.y;\n\t\tthis.snap(work, work);\n\t\tconst x = work.x;\n\t\tconst y = work.y;\n\n\t\t// X coordinate\n\t\tif (!isNaN(x)) {\n\t\t\tconst nx = Math.abs(normal.x);\n\t\t\tif (EPSILON < nx) {\n\t\t\t\tconst dx = (x - tx) / normal.x;\n\t\t\t\tconst distance = Math.abs(dx);\n\t\t\t\tconst mx = (x - point.x) / normal.x;\n\t\t\t\tthis.setScaleSnappedResult(distance, length, mx, axis, result);\n\t\t\t}\n\t\t}\n\n\t\t// Y coordinate\n\t\tif (!isNaN(y)) {\n\t\t\tconst ny = Math.abs(normal.y);\n\t\t\tif (EPSILON < ny) {\n\t\t\t\tconst dy = (y - ty) / normal.y;\n\t\t\t\tconst distance = Math.abs(dy);\n\t\t\t\tconst my = (y - point.y) / normal.y;\n\t\t\t\tthis.setScaleSnappedResult(distance, length, my, axis, result);\n\t\t\t}\n\t\t}\n\t}\n\n\tprotected calcScaleSnappedX(\n\t\ttransform: Matrix,\n\t\tpoint: Point,\n\t\tnormal: IPoint,\n\t\tlength: number,\n\t\tresult: ESnapperResultScale\n\t): void {\n\t\tthis.calcScaleSnapped1D(transform, point, normal, length, true, result);\n\t}\n\n\tprotected calcScaleSnappedY(\n\t\ttransform: Matrix,\n\t\tpoint: Point,\n\t\tnormal: IPoint,\n\t\tlength: number,\n\t\tresult: ESnapperResultScale\n\t): void {\n\t\tthis.calcScaleSnapped1D(transform, point, normal, length, false, result);\n\t}\n\n\tcalcScaleSnapped2D(\n\t\ttransform: Matrix,\n\t\tpoint: Point,\n\t\tnormals: IPoint[],\n\t\tlengths: number[],\n\t\tresult: ESnapperResultScale\n\t): void {\n\t\tconst work = this._workScale;\n\t\ttransform.apply(point, work);\n\t\tconst tx = work.x;\n\t\tconst ty = work.y;\n\n\t\tthis.snap(work, work);\n\t\tlet x = work.x;\n\t\tlet y = work.y;\n\t\tif (isNaN(x)) {\n\t\t\tif (isNaN(y)) {\n\t\t\t\treturn;\n\t\t\t} else {\n\t\t\t\tx = tx;\n\t\t\t}\n\t\t} else {\n\t\t\tif (isNaN(y)) {\n\t\t\t\ty = ty;\n\t\t\t}\n\t\t}\n\n\t\t// (x, y) = (tx, ty) + normalA * a + normalB * b\n\t\t// dx = x - tx\n\t\t// dy = y - ty\n\t\t// V = ( a, b )^T\n\t\t// D = ( dx, dy )^T\n\t\t// A = | normalA.x normalB.x |\n\t\t// | normalA.y normalB.y |\n\t\t// A V = D\n\t\t// det A = normalA.x * normalB.y - normalB.x * normalA.y\n\t\t// A^-1 = | normalB.y -normalB.x | / det A\n\t\t// | -normalA.y normalA.x |\n\t\tconst detA = normals[0].x * normals[1].y - normals[1].x * normals[0].y;\n\t\tif (EPSILON < Math.abs(detA)) {\n\t\t\tconst dx = x - tx;\n\t\t\tconst dy = y - ty;\n\t\t\tconst distance = Math.abs(dx * dx + dy * dy);\n\t\t\tif (isNaN(result.distance) || distance < result.distance) {\n\t\t\t\tresult.distance = distance;\n\t\t\t\tconst mdx = x - point.x;\n\t\t\t\tconst mdy = y - point.y;\n\t\t\t\tconst mx = (+normals[1].y * mdx - normals[1].x * mdy) / detA;\n\t\t\t\tconst my = (-normals[0].y * mdx + normals[0].x * mdy) / detA;\n\t\t\t\tresult.scale.set(1 + mx / lengths[0], 1 + my / lengths[1]);\n\t\t\t}\n\t\t}\n\t}\n\n\tprotected calcScaleSnappedXY(\n\t\ttransform: Matrix,\n\t\tpointO: Point,\n\t\tpointX: Point,\n\t\tpointY: Point,\n\t\tnormals: IPoint[],\n\t\tlengths: number[],\n\t\tresult: ESnapperResultScale\n\t): void {\n\t\tthis.calcScaleSnapped2D(transform, pointO, normals, lengths, result);\n\t\tthis.calcScaleSnappedX(transform, pointY, normals[0], lengths[0], result);\n\t\tthis.calcScaleSnappedY(transform, pointX, normals[1], lengths[1], result);\n\t}\n\n\ttoScaleSnapped(\n\t\ttransform: Matrix,\n\t\tanchor: ESnapperModifierAnchor,\n\t\tkeepRatio: boolean,\n\t\tscale: IPoint\n\t): boolean {\n\t\tif (this._isEnabled) {\n\t\t\tconst points = this._points;\n\t\t\tconst normals = this._normals;\n\t\t\tconst lengths = this._lengths;\n\t\t\tconst work = this._workScaleResult;\n\t\t\twork.distance = NaN;\n\t\t\twork.scale.set(scale.x, scale.y);\n\n\t\t\tswitch (anchor) {\n\t\t\t\tcase ESnapperModifierAnchor.TOP_LEFT:\n\t\t\t\t\tthis.calcScaleSnappedXY(\n\t\t\t\t\t\ttransform,\n\t\t\t\t\t\tpoints[0],\n\t\t\t\t\t\tpoints[1],\n\t\t\t\t\t\tpoints[3],\n\t\t\t\t\t\tnormals,\n\t\t\t\t\t\tlengths,\n\t\t\t\t\t\twork\n\t\t\t\t\t);\n\t\t\t\t\tbreak;\n\t\t\t\tcase ESnapperModifierAnchor.TOP_CENTER:\n\t\t\t\t\tthis.calcScaleSnappedY(transform, points[0], normals[0], lengths[0], work);\n\t\t\t\t\tthis.calcScaleSnappedY(transform, points[1], normals[0], lengths[0], work);\n\t\t\t\t\tbreak;\n\t\t\t\tcase ESnapperModifierAnchor.TOP_RIGHT:\n\t\t\t\t\tthis.calcScaleSnappedXY(\n\t\t\t\t\t\ttransform,\n\t\t\t\t\t\tpoints[1],\n\t\t\t\t\t\tpoints[0],\n\t\t\t\t\t\tpoints[2],\n\t\t\t\t\t\tnormals,\n\t\t\t\t\t\tlengths,\n\t\t\t\t\t\twork\n\t\t\t\t\t);\n\t\t\t\t\tbreak;\n\t\t\t\tcase ESnapperModifierAnchor.MIDDLE_LEFT:\n\t\t\t\t\tthis.calcScaleSnappedX(transform, points[0], normals[0], lengths[0], work);\n\t\t\t\t\tthis.calcScaleSnappedX(transform, points[3], normals[0], lengths[0], work);\n\t\t\t\t\tbreak;\n\t\t\t\tcase ESnapperModifierAnchor.NONE:\n\t\t\t\t\tbreak;\n\t\t\t\tcase ESnapperModifierAnchor.MIDDLE_RIGHT:\n\t\t\t\t\tthis.calcScaleSnappedX(transform, points[1], normals[0], lengths[0], work);\n\t\t\t\t\tthis.calcScaleSnappedX(transform, points[2], normals[0], lengths[0], work);\n\t\t\t\t\tbreak;\n\t\t\t\tcase ESnapperModifierAnchor.BOTTOM_LEFT:\n\t\t\t\t\tthis.calcScaleSnappedXY(\n\t\t\t\t\t\ttransform,\n\t\t\t\t\t\tpoints[3],\n\t\t\t\t\t\tpoints[2],\n\t\t\t\t\t\tpoints[0],\n\t\t\t\t\t\tnormals,\n\t\t\t\t\t\tlengths,\n\t\t\t\t\t\twork\n\t\t\t\t\t);\n\t\t\t\t\tbreak;\n\t\t\t\tcase ESnapperModifierAnchor.BOTTOM_CENTER:\n\t\t\t\t\tthis.calcScaleSnappedY(transform, points[2], normals[0], lengths[0], work);\n\t\t\t\t\tthis.calcScaleSnappedY(transform, points[3], normals[0], lengths[0], work);\n\t\t\t\t\tbreak;\n\t\t\t\tcase ESnapperModifierAnchor.BOTTOM_RIGHT:\n\t\t\t\t\tthis.calcScaleSnappedXY(\n\t\t\t\t\t\ttransform,\n\t\t\t\t\t\tpoints[2],\n\t\t\t\t\t\tpoints[3],\n\t\t\t\t\t\tpoints[1],\n\t\t\t\t\t\tnormals,\n\t\t\t\t\t\tlengths,\n\t\t\t\t\t\twork\n\t\t\t\t\t);\n\t\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tif (!isNaN(work.distance)) {\n\t\t\t\tscale.copyFrom(work.scale);\n\t\t\t\tif (keepRatio) {\n\t\t\t\t\tswitch (anchor) {\n\t\t\t\t\t\tcase ESnapperModifierAnchor.TOP_LEFT:\n\t\t\t\t\t\tcase ESnapperModifierAnchor.TOP_RIGHT:\n\t\t\t\t\t\tcase ESnapperModifierAnchor.BOTTOM_LEFT:\n\t\t\t\t\t\tcase ESnapperModifierAnchor.BOTTOM_RIGHT:\n\t\t\t\t\t\t\tscale.x = scale.y = Math.max(scale.x, scale.y);\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase ESnapperModifierAnchor.TOP_CENTER:\n\t\t\t\t\t\tcase ESnapperModifierAnchor.BOTTOM_CENTER:\n\t\t\t\t\t\t\tscale.x = scale.y;\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase ESnapperModifierAnchor.MIDDLE_LEFT:\n\t\t\t\t\t\tcase ESnapperModifierAnchor.MIDDLE_RIGHT:\n\t\t\t\t\t\t\tscale.y = scale.x;\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase ESnapperModifierAnchor.NONE:\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\t\treturn false;\n\t}\n\n\treset(): void {\n\t\tthis.enable = this._isEnabledDefault;\n\t\tthis.target.reset();\n\t\tthis.grid.reset();\n\t}\n\n\tserialize(): DDiagramSerializedSnap {\n\t\treturn [this._isEnabled ? 1 : 0, this.target.serialize(), this.grid.serialize()];\n\t}\n\n\tdeserialize(serialized: DDiagramSerializedSnap): void {\n\t\tthis.enable = !!serialized[0];\n\t\tthis.target.deserialize(serialized[1]);\n\t\tthis.grid.deserialize(serialized[2]);\n\t}\n}\n"]}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (C) 2019 Toshiba Corporation
|
|
3
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
4
|
+
*/
|
|
5
|
+
import { __extends } from "tslib";
|
|
6
|
+
import { DColorType } from "../../d-color-type";
|
|
7
|
+
import { DThemeDarkPickerColor } from "./d-theme-dark-picker-color";
|
|
8
|
+
var DThemeDarkEnUsPickerColor = /** @class */ (function (_super) {
|
|
9
|
+
__extends(DThemeDarkEnUsPickerColor, _super);
|
|
10
|
+
function DThemeDarkEnUsPickerColor() {
|
|
11
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
12
|
+
}
|
|
13
|
+
DThemeDarkEnUsPickerColor.prototype.toColorTypeLabel = function (type) {
|
|
14
|
+
switch (type) {
|
|
15
|
+
case DColorType.STANDARD:
|
|
16
|
+
return "Standard";
|
|
17
|
+
case DColorType.CUSTOM:
|
|
18
|
+
return "Custom";
|
|
19
|
+
}
|
|
20
|
+
};
|
|
21
|
+
return DThemeDarkEnUsPickerColor;
|
|
22
|
+
}(DThemeDarkPickerColor));
|
|
23
|
+
export { DThemeDarkEnUsPickerColor };
|
|
24
|
+
//# sourceMappingURL=d-theme-dark-en-us-picker-color.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"d-theme-dark-en-us-picker-color.js","sourceRoot":"","sources":["../../../../../src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-en-us-picker-color.ts"],"names":[],"mappings":"AAAA;;;GAGG;;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAChD,OAAO,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AAEpE;IAA+C,6CAAqB;IAApE;;IASA,CAAC;IARS,oDAAgB,GAAzB,UAA0B,IAAgB;QACzC,QAAQ,IAAI,EAAE;YACb,KAAK,UAAU,CAAC,QAAQ;gBACvB,OAAO,UAAU,CAAC;YACnB,KAAK,UAAU,CAAC,MAAM;gBACrB,OAAO,QAAQ,CAAC;SACjB;IACF,CAAC;IACF,gCAAC;AAAD,CAAC,AATD,CAA+C,qBAAqB,GASnE","sourcesContent":["/*\n * Copyright (C) 2019 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport { DColorType } from \"../../d-color-type\";\nimport { DThemeDarkPickerColor } from \"./d-theme-dark-picker-color\";\n\nexport class DThemeDarkEnUsPickerColor extends DThemeDarkPickerColor {\n\toverride toColorTypeLabel(type: DColorType): string {\n\t\tswitch (type) {\n\t\t\tcase DColorType.STANDARD:\n\t\t\t\treturn \"Standard\";\n\t\t\tcase DColorType.CUSTOM:\n\t\t\t\treturn \"Custom\";\n\t\t}\n\t}\n}\n"]}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (C) 2019 Toshiba Corporation
|
|
3
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
4
|
+
*/
|
|
5
|
+
import { __extends } from "tslib";
|
|
6
|
+
import { DColorType } from "../../d-color-type";
|
|
7
|
+
import { DThemeDarkPickerColor } from "./d-theme-dark-picker-color";
|
|
8
|
+
var DThemeDarkJaJpPickerColor = /** @class */ (function (_super) {
|
|
9
|
+
__extends(DThemeDarkJaJpPickerColor, _super);
|
|
10
|
+
function DThemeDarkJaJpPickerColor() {
|
|
11
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
12
|
+
}
|
|
13
|
+
DThemeDarkJaJpPickerColor.prototype.toColorTypeLabel = function (type) {
|
|
14
|
+
switch (type) {
|
|
15
|
+
case DColorType.STANDARD:
|
|
16
|
+
return "標準";
|
|
17
|
+
case DColorType.CUSTOM:
|
|
18
|
+
return "カスタム";
|
|
19
|
+
}
|
|
20
|
+
};
|
|
21
|
+
return DThemeDarkJaJpPickerColor;
|
|
22
|
+
}(DThemeDarkPickerColor));
|
|
23
|
+
export { DThemeDarkJaJpPickerColor };
|
|
24
|
+
//# sourceMappingURL=d-theme-dark-ja-jp-picker-color.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"d-theme-dark-ja-jp-picker-color.js","sourceRoot":"","sources":["../../../../../src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-ja-jp-picker-color.ts"],"names":[],"mappings":"AAAA;;;GAGG;;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAChD,OAAO,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AAEpE;IAA+C,6CAAqB;IAApE;;IASA,CAAC;IARS,oDAAgB,GAAzB,UAA0B,IAAgB;QACzC,QAAQ,IAAI,EAAE;YACb,KAAK,UAAU,CAAC,QAAQ;gBACvB,OAAO,IAAI,CAAC;YACb,KAAK,UAAU,CAAC,MAAM;gBACrB,OAAO,MAAM,CAAC;SACf;IACF,CAAC;IACF,gCAAC;AAAD,CAAC,AATD,CAA+C,qBAAqB,GASnE","sourcesContent":["/*\n * Copyright (C) 2019 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport { DColorType } from \"../../d-color-type\";\nimport { DThemeDarkPickerColor } from \"./d-theme-dark-picker-color\";\n\nexport class DThemeDarkJaJpPickerColor extends DThemeDarkPickerColor {\n\toverride toColorTypeLabel(type: DColorType): string {\n\t\tswitch (type) {\n\t\t\tcase DColorType.STANDARD:\n\t\t\t\treturn \"標準\";\n\t\t\tcase DColorType.CUSTOM:\n\t\t\t\treturn \"カスタム\";\n\t\t}\n\t}\n}\n"]}
|