@wcardinal/wcardinal-ui 0.158.0 → 0.161.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-button-color-gradient.d.ts +4 -0
- package/dist/types/wcardinal/ui/d-button-color.d.ts +3 -2
- package/dist/types/wcardinal/ui/d-button-date.d.ts +3 -0
- package/dist/types/wcardinal/ui/d-button-datetime.d.ts +3 -0
- package/dist/types/wcardinal/ui/d-button-time.d.ts +3 -0
- package/dist/types/wcardinal/ui/d-image-piece-layouter-part-container.d.ts +2 -2
- package/dist/types/wcardinal/ui/d-image-piece-layouter.d.ts +1 -1
- package/dist/types/wcardinal/ui/d-table-body-cell-date.d.ts +5 -10
- package/dist/types/wcardinal/ui/d-table-body-cell-datetime.d.ts +5 -13
- package/dist/types/wcardinal/ui/d-table-body-cell-time.d.ts +5 -13
- package/dist/types/wcardinal/ui/index.d.ts +9 -3
- package/dist/types/wcardinal/ui/theme/dark/d-theme-dark-dialog.d.ts +2 -1
- package/dist/types/wcardinal/ui/theme/white/d-theme-white-dialog.d.ts +2 -1
- package/dist/wcardinal/ui/d-animation-base.js +2 -1
- package/dist/wcardinal/ui/d-animation-base.js.map +1 -1
- package/dist/wcardinal/ui/d-animation-empty.js +2 -1
- package/dist/wcardinal/ui/d-animation-empty.js.map +1 -1
- package/dist/wcardinal/ui/d-animation-fade-in.js +2 -1
- package/dist/wcardinal/ui/d-animation-fade-in.js.map +1 -1
- package/dist/wcardinal/ui/d-base.js +2 -1
- package/dist/wcardinal/ui/d-base.js.map +1 -1
- package/dist/wcardinal/ui/d-button-color-gradient.js +34 -15
- package/dist/wcardinal/ui/d-button-color-gradient.js.map +1 -1
- package/dist/wcardinal/ui/d-button-color.js +42 -27
- package/dist/wcardinal/ui/d-button-color.js.map +1 -1
- package/dist/wcardinal/ui/d-button-date.js +17 -8
- package/dist/wcardinal/ui/d-button-date.js.map +1 -1
- package/dist/wcardinal/ui/d-button-datetime.js +17 -8
- package/dist/wcardinal/ui/d-button-datetime.js.map +1 -1
- package/dist/wcardinal/ui/d-button-select.js +2 -1
- package/dist/wcardinal/ui/d-button-select.js.map +1 -1
- package/dist/wcardinal/ui/d-button-time.js +17 -8
- package/dist/wcardinal/ui/d-button-time.js.map +1 -1
- package/dist/wcardinal/ui/d-chart-selection-simple.js +2 -1
- package/dist/wcardinal/ui/d-chart-selection-simple.js.map +1 -1
- package/dist/wcardinal/ui/d-chart-selection-sub-impl.js +2 -1
- package/dist/wcardinal/ui/d-chart-selection-sub-impl.js.map +1 -1
- package/dist/wcardinal/ui/d-chart-series-line.js +2 -1
- package/dist/wcardinal/ui/d-chart-series-line.js.map +1 -1
- package/dist/wcardinal/ui/d-diagram-base.js +2 -1
- package/dist/wcardinal/ui/d-diagram-base.js.map +1 -1
- package/dist/wcardinal/ui/d-diagram.js +3 -3
- package/dist/wcardinal/ui/d-diagram.js.map +1 -1
- package/dist/wcardinal/ui/d-dialog-processing.js +2 -1
- package/dist/wcardinal/ui/d-dialog-processing.js.map +1 -1
- package/dist/wcardinal/ui/d-dialog.js +1 -1
- package/dist/wcardinal/ui/d-dialog.js.map +1 -1
- package/dist/wcardinal/ui/d-dynamic-text-style.js +1 -1
- package/dist/wcardinal/ui/d-dynamic-text-style.js.map +1 -1
- package/dist/wcardinal/ui/d-image-base.js +3 -0
- package/dist/wcardinal/ui/d-image-base.js.map +1 -1
- package/dist/wcardinal/ui/d-image-piece-layouter-part-container.js +11 -5
- package/dist/wcardinal/ui/d-image-piece-layouter-part-container.js.map +1 -1
- package/dist/wcardinal/ui/d-image-piece-layouter.js.map +1 -1
- package/dist/wcardinal/ui/d-map-tile-pyramids.js +5 -5
- package/dist/wcardinal/ui/d-map-tile-pyramids.js.map +1 -1
- package/dist/wcardinal/ui/d-menu-item-base.js +2 -1
- package/dist/wcardinal/ui/d-menu-item-base.js.map +1 -1
- package/dist/wcardinal/ui/d-menu-sided-selection.js +2 -1
- package/dist/wcardinal/ui/d-menu-sided-selection.js.map +1 -1
- package/dist/wcardinal/ui/d-menu-sided.js +2 -1
- package/dist/wcardinal/ui/d-menu-sided.js.map +1 -1
- package/dist/wcardinal/ui/d-menus.js +1 -1
- package/dist/wcardinal/ui/d-menus.js.map +1 -1
- package/dist/wcardinal/ui/d-pagination.js +2 -1
- package/dist/wcardinal/ui/d-pagination.js.map +1 -1
- package/dist/wcardinal/ui/d-pane.js +2 -1
- package/dist/wcardinal/ui/d-pane.js.map +1 -1
- package/dist/wcardinal/ui/d-picker-color-gradient-view.js +3 -0
- package/dist/wcardinal/ui/d-picker-color-gradient-view.js.map +1 -1
- package/dist/wcardinal/ui/d-picker-dates.js +1 -1
- package/dist/wcardinal/ui/d-picker-dates.js.map +1 -1
- package/dist/wcardinal/ui/d-picker-datetimes.js +2 -2
- package/dist/wcardinal/ui/d-picker-datetimes.js.map +1 -1
- package/dist/wcardinal/ui/d-scalar-expression.js +3 -3
- package/dist/wcardinal/ui/d-scalar-expression.js.map +1 -1
- package/dist/wcardinal/ui/d-scroll-bar.js +2 -1
- package/dist/wcardinal/ui/d-scroll-bar.js.map +1 -1
- package/dist/wcardinal/ui/d-slider.js +2 -2
- package/dist/wcardinal/ui/d-slider.js.map +1 -1
- package/dist/wcardinal/ui/d-table-body-cell-button.js +2 -1
- package/dist/wcardinal/ui/d-table-body-cell-button.js.map +1 -1
- package/dist/wcardinal/ui/d-table-body-cell-color.js +4 -1
- package/dist/wcardinal/ui/d-table-body-cell-color.js.map +1 -1
- package/dist/wcardinal/ui/d-table-body-cell-date.js +14 -45
- package/dist/wcardinal/ui/d-table-body-cell-date.js.map +1 -1
- package/dist/wcardinal/ui/d-table-body-cell-datetime.js +13 -54
- package/dist/wcardinal/ui/d-table-body-cell-datetime.js.map +1 -1
- package/dist/wcardinal/ui/d-table-body-cell-select-dialog.js +2 -1
- package/dist/wcardinal/ui/d-table-body-cell-select-dialog.js.map +1 -1
- package/dist/wcardinal/ui/d-table-body-cell-select-promise.js +2 -1
- package/dist/wcardinal/ui/d-table-body-cell-select-promise.js.map +1 -1
- package/dist/wcardinal/ui/d-table-body-cell-time.js +13 -53
- package/dist/wcardinal/ui/d-table-body-cell-time.js.map +1 -1
- package/dist/wcardinal/ui/d-table-body-cell-tree.js +2 -1
- package/dist/wcardinal/ui/d-table-body-cell-tree.js.map +1 -1
- package/dist/wcardinal/ui/d-table-body.js +2 -1
- package/dist/wcardinal/ui/d-table-body.js.map +1 -1
- package/dist/wcardinal/ui/d-table-category.js +2 -1
- package/dist/wcardinal/ui/d-table-category.js.map +1 -1
- package/dist/wcardinal/ui/d-table-data-list-selection.js +2 -1
- package/dist/wcardinal/ui/d-table-data-list-selection.js.map +1 -1
- package/dist/wcardinal/ui/d-table-data-tree-selection-impl.js +2 -1
- package/dist/wcardinal/ui/d-table-data-tree-selection-impl.js.map +1 -1
- package/dist/wcardinal/ui/d-table-header.js +2 -1
- package/dist/wcardinal/ui/d-table-header.js.map +1 -1
- package/dist/wcardinal/ui/d-table-row.js +2 -1
- package/dist/wcardinal/ui/d-table-row.js.map +1 -1
- package/dist/wcardinal/ui/d-tree-item-button.js +2 -1
- package/dist/wcardinal/ui/d-tree-item-button.js.map +1 -1
- package/dist/wcardinal/ui/index.js +9 -3
- package/dist/wcardinal/ui/index.js.map +1 -1
- package/dist/wcardinal/ui/shape/action/e-shape-action-expressions.js +4 -4
- package/dist/wcardinal/ui/shape/action/e-shape-action-expressions.js.map +1 -1
- package/dist/wcardinal/ui/shape/action/e-shape-action-runtime-transform-rotate.js +1 -1
- package/dist/wcardinal/ui/shape/action/e-shape-action-runtime-transform-rotate.js.map +1 -1
- package/dist/wcardinal/ui/shape/action/e-shape-action-value-blink.js +1 -1
- package/dist/wcardinal/ui/shape/action/e-shape-action-value-blink.js.map +1 -1
- package/dist/wcardinal/ui/shape/action/e-shape-action-value-change-color-brightness.js +1 -1
- package/dist/wcardinal/ui/shape/action/e-shape-action-value-change-color-brightness.js.map +1 -1
- package/dist/wcardinal/ui/shape/action/e-shape-action-value-change-color-code.js +1 -1
- package/dist/wcardinal/ui/shape/action/e-shape-action-value-change-color-code.js.map +1 -1
- package/dist/wcardinal/ui/shape/action/e-shape-action-value-change-color.js +1 -1
- package/dist/wcardinal/ui/shape/action/e-shape-action-value-change-color.js.map +1 -1
- package/dist/wcardinal/ui/shape/action/e-shape-action-value-change-cursor.js +1 -1
- package/dist/wcardinal/ui/shape/action/e-shape-action-value-change-cursor.js.map +1 -1
- package/dist/wcardinal/ui/shape/action/e-shape-action-value-change-text.js +1 -1
- package/dist/wcardinal/ui/shape/action/e-shape-action-value-change-text.js.map +1 -1
- package/dist/wcardinal/ui/shape/action/e-shape-action-value-emit-event.js +1 -1
- package/dist/wcardinal/ui/shape/action/e-shape-action-value-emit-event.js.map +1 -1
- package/dist/wcardinal/ui/shape/action/e-shape-action-value-misc-gesture.js +1 -1
- package/dist/wcardinal/ui/shape/action/e-shape-action-value-misc-gesture.js.map +1 -1
- package/dist/wcardinal/ui/shape/action/e-shape-action-value-misc-layer-gesture.js +1 -1
- package/dist/wcardinal/ui/shape/action/e-shape-action-value-misc-layer-gesture.js.map +1 -1
- package/dist/wcardinal/ui/shape/action/e-shape-action-value-misc-layer-show-hide.js +1 -1
- package/dist/wcardinal/ui/shape/action/e-shape-action-value-misc-layer-show-hide.js.map +1 -1
- package/dist/wcardinal/ui/shape/action/e-shape-action-value-misc.js +1 -1
- package/dist/wcardinal/ui/shape/action/e-shape-action-value-misc.js.map +1 -1
- package/dist/wcardinal/ui/shape/action/e-shape-action-value-open.js +1 -1
- package/dist/wcardinal/ui/shape/action/e-shape-action-value-open.js.map +1 -1
- package/dist/wcardinal/ui/shape/action/e-shape-action-value-show-hide.js +1 -1
- package/dist/wcardinal/ui/shape/action/e-shape-action-value-show-hide.js.map +1 -1
- package/dist/wcardinal/ui/shape/action/e-shape-action-value-transform-move.js +1 -1
- package/dist/wcardinal/ui/shape/action/e-shape-action-value-transform-move.js.map +1 -1
- package/dist/wcardinal/ui/shape/action/e-shape-action-value-transform-resize.js +1 -1
- package/dist/wcardinal/ui/shape/action/e-shape-action-value-transform-resize.js.map +1 -1
- package/dist/wcardinal/ui/shape/action/e-shape-action-value-transform-rotate.js +1 -1
- package/dist/wcardinal/ui/shape/action/e-shape-action-value-transform-rotate.js.map +1 -1
- package/dist/wcardinal/ui/shape/e-shape-connector-edge-container-impl.js +1 -1
- package/dist/wcardinal/ui/shape/e-shape-connector-edge-container-impl.js.map +1 -1
- package/dist/wcardinal/ui/shape/e-shape-connector-edge-impl.js +1 -1
- package/dist/wcardinal/ui/shape/e-shape-connector-edge-impl.js.map +1 -1
- package/dist/wcardinal/ui/shape/e-shape-points-marker-base.js +1 -1
- package/dist/wcardinal/ui/shape/e-shape-points-marker-base.js.map +1 -1
- package/dist/wcardinal/ui/shape/e-shape-points-marker-container-impl.js +1 -1
- package/dist/wcardinal/ui/shape/e-shape-points-marker-container-impl.js.map +1 -1
- package/dist/wcardinal/ui/shape/variant/e-shape-bar-points.js +1 -1
- package/dist/wcardinal/ui/shape/variant/e-shape-bar-points.js.map +1 -1
- package/dist/wcardinal/ui/shape/variant/e-shape-button.js +1 -1
- package/dist/wcardinal/ui/shape/variant/e-shape-button.js.map +1 -1
- package/dist/wcardinal/ui/shape/variant/e-shape-connector-line.js +1 -1
- package/dist/wcardinal/ui/shape/variant/e-shape-connector-line.js.map +1 -1
- package/dist/wcardinal/ui/shape/variant/e-shape-data-impl.js +2 -2
- package/dist/wcardinal/ui/shape/variant/e-shape-data-impl.js.map +1 -1
- package/dist/wcardinal/ui/shape/variant/e-shape-data-value-impl.js +1 -1
- package/dist/wcardinal/ui/shape/variant/e-shape-data-value-impl.js.map +1 -1
- package/dist/wcardinal/ui/shape/variant/e-shape-data-value-range-impl.js +1 -1
- package/dist/wcardinal/ui/shape/variant/e-shape-data-value-range-impl.js.map +1 -1
- package/dist/wcardinal/ui/shape/variant/e-shape-fill-impl.js +1 -1
- package/dist/wcardinal/ui/shape/variant/e-shape-fill-impl.js.map +1 -1
- package/dist/wcardinal/ui/shape/variant/e-shape-line-points.js +1 -1
- package/dist/wcardinal/ui/shape/variant/e-shape-line-points.js.map +1 -1
- package/dist/wcardinal/ui/shape/variant/e-shape-stroke-impl.js +1 -1
- package/dist/wcardinal/ui/shape/variant/e-shape-stroke-impl.js.map +1 -1
- package/dist/wcardinal/ui/shape/variant/e-shape-text-align-impl.js +1 -1
- package/dist/wcardinal/ui/shape/variant/e-shape-text-align-impl.js.map +1 -1
- package/dist/wcardinal/ui/shape/variant/e-shape-text-impl.js +3 -3
- package/dist/wcardinal/ui/shape/variant/e-shape-text-impl.js.map +1 -1
- package/dist/wcardinal/ui/shape/variant/e-shape-text-offset-impl.js +1 -1
- package/dist/wcardinal/ui/shape/variant/e-shape-text-offset-impl.js.map +1 -1
- package/dist/wcardinal/ui/shape/variant/e-shape-text-outline-impl.js +1 -1
- package/dist/wcardinal/ui/shape/variant/e-shape-text-outline-impl.js.map +1 -1
- package/dist/wcardinal/ui/shape/variant/to-gradient-image-url.js +2 -2
- package/dist/wcardinal/ui/shape/variant/to-gradient-image-url.js.map +1 -1
- package/dist/wcardinal/ui/shape/variant/to-gradient-serialized.js +2 -2
- package/dist/wcardinal/ui/shape/variant/to-gradient-serialized.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-base.js +3 -3
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-base.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-button-color.js +1 -1
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-button-color.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-dialog.js +17 -3
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-dialog.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-html-element.js +14 -14
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-html-element.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-input-input.js +4 -4
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-input-input.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-input-text-area.js +4 -4
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-input-text-area.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-picker-color.js +1 -1
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-picker-color.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-picker-datetime.js +1 -1
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-picker-datetime.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/d-theme-dark.js +1 -1
- package/dist/wcardinal/ui/theme/dark/d-theme-dark.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/e-theme-dark-shape-action-value.js +8 -8
- package/dist/wcardinal/ui/theme/dark/e-theme-dark-shape-action-value.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/d-theme-white-base.js +3 -3
- package/dist/wcardinal/ui/theme/white/d-theme-white-base.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/d-theme-white-button-color.js +1 -1
- package/dist/wcardinal/ui/theme/white/d-theme-white-button-color.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/d-theme-white-dialog.js +17 -3
- package/dist/wcardinal/ui/theme/white/d-theme-white-dialog.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/d-theme-white-html-element.js +14 -14
- package/dist/wcardinal/ui/theme/white/d-theme-white-html-element.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/d-theme-white-input-input.js +4 -4
- package/dist/wcardinal/ui/theme/white/d-theme-white-input-input.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/d-theme-white-input-text-area.js +4 -4
- package/dist/wcardinal/ui/theme/white/d-theme-white-input-text-area.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/d-theme-white-menu.js +2 -1
- package/dist/wcardinal/ui/theme/white/d-theme-white-menu.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/d-theme-white-picker-color.js +1 -1
- package/dist/wcardinal/ui/theme/white/d-theme-white-picker-color.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/d-theme-white-picker-datetime.js +1 -1
- package/dist/wcardinal/ui/theme/white/d-theme-white-picker-datetime.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/d-theme-white.js +1 -1
- package/dist/wcardinal/ui/theme/white/d-theme-white.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/e-theme-white-shape-action-value.js +8 -8
- package/dist/wcardinal/ui/theme/white/e-theme-white-shape-action-value.js.map +1 -1
- package/dist/wcardinal/ui/util/dynamic-sdf-font-atlas.js +1 -1
- package/dist/wcardinal/ui/util/dynamic-sdf-font-atlas.js.map +1 -1
- package/dist/wcardinal/ui/util/dynamic-sdf-font-generator.js +2 -2
- package/dist/wcardinal/ui/util/dynamic-sdf-font-generator.js.map +1 -1
- package/dist/wcardinal/ui/util/format-node/format-node-d-small.js +1 -1
- package/dist/wcardinal/ui/util/format-node/format-node-d-small.js.map +1 -1
- package/dist/wcardinal/ui/util/format-node/format-node-fsi.js +1 -1
- package/dist/wcardinal/ui/util/format-node/format-node-fsi.js.map +1 -1
- package/dist/wcardinal/ui/util/format-node/format-node-p-large.js +1 -1
- package/dist/wcardinal/ui/util/format-node/format-node-p-large.js.map +1 -1
- package/dist/wcardinal/ui/util/format-node/format-node-p-small.js +1 -1
- package/dist/wcardinal/ui/util/format-node/format-node-p-small.js.map +1 -1
- package/dist/wcardinal/ui/util/format-node/format-node-parenthesis.js +1 -1
- package/dist/wcardinal/ui/util/format-node/format-node-parenthesis.js.map +1 -1
- package/dist/wcardinal/ui/util/format-node/format-node-plus.js +1 -1
- package/dist/wcardinal/ui/util/format-node/format-node-plus.js.map +1 -1
- package/dist/wcardinal/ui/util/format-node/format-node-rd.js +1 -1
- package/dist/wcardinal/ui/util/format-node/format-node-rd.js.map +1 -1
- package/dist/wcardinal/ui/util/format-node/format-node-rp-large.js +1 -1
- package/dist/wcardinal/ui/util/format-node/format-node-rp-large.js.map +1 -1
- package/dist/wcardinal/ui/util/format-node/format-node-rp-small.js +1 -1
- package/dist/wcardinal/ui/util/format-node/format-node-rp-small.js.map +1 -1
- package/dist/wcardinal/ui/util/format-node/format-node-sdt.js +6 -6
- package/dist/wcardinal/ui/util/format-node/format-node-sdt.js.map +1 -1
- package/dist/wcardinal/ui/util/format-node/format-node-space.js +1 -1
- package/dist/wcardinal/ui/util/format-node/format-node-space.js.map +1 -1
- package/dist/wcardinal/ui/util/format-node/format-node-z.js +1 -1
- package/dist/wcardinal/ui/util/format-node/format-node-z.js.map +1 -1
- package/dist/wcardinal/ui/util/to-svg-url.js +1 -1
- package/dist/wcardinal/ui/util/to-svg-url.js.map +1 -1
- package/dist/wcardinal/ui/util/util-input-number.js +5 -4
- package/dist/wcardinal/ui/util/util-input-number.js.map +1 -1
- package/dist/wcardinal/ui/util/util-input.js +6 -5
- package/dist/wcardinal/ui/util/util-input.js.map +1 -1
- package/dist/wcardinal/ui/util/util-name.js +2 -2
- package/dist/wcardinal/ui/util/util-name.js.map +1 -1
- package/dist/wcardinal/ui/util/util-rgb.js +1 -1
- package/dist/wcardinal/ui/util/util-rgb.js.map +1 -1
- package/dist/wcardinal/ui/util/util-rgba.js +1 -1
- package/dist/wcardinal/ui/util/util-rgba.js.map +1 -1
- package/dist/wcardinal/ui/util/util-svg-atlas-builder.js +5 -5
- package/dist/wcardinal/ui/util/util-svg-atlas-builder.js.map +1 -1
- package/dist/wcardinal-ui-theme-dark.js +56 -41
- package/dist/wcardinal-ui-theme-dark.min.js +2 -2
- package/dist/wcardinal-ui-theme-dark.min.js.map +1 -1
- package/dist/wcardinal-ui-theme-white.js +57 -42
- package/dist/wcardinal-ui-theme-white.min.js +2 -2
- package/dist/wcardinal-ui-theme-white.min.js.map +1 -1
- package/dist/wcardinal-ui.cjs.js +461 -473
- package/dist/wcardinal-ui.js +354 -392
- package/dist/wcardinal-ui.min.js +2 -2
- package/dist/wcardinal-ui.min.js.map +1 -1
- package/package.json +14 -14
- package/dist/types/wcardinal/ui/d-dialog-dates.d.ts +0 -5
- package/dist/types/wcardinal/ui/d-dialog-datetimes.d.ts +0 -5
- package/dist/types/wcardinal/ui/d-dialog-times.d.ts +0 -5
- package/dist/wcardinal/ui/d-dialog-dates.js +0 -18
- package/dist/wcardinal/ui/d-dialog-dates.js.map +0 -1
- package/dist/wcardinal/ui/d-dialog-datetimes.js +0 -18
- package/dist/wcardinal/ui/d-dialog-datetimes.js.map +0 -1
- package/dist/wcardinal/ui/d-dialog-times.js +0 -18
- package/dist/wcardinal/ui/d-dialog-times.js.map +0 -1
package/dist/wcardinal-ui.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
Winter Cardinal UI v0.
|
|
2
|
+
Winter Cardinal UI v0.161.0
|
|
3
3
|
Copyright (C) 2019 Toshiba Corporation
|
|
4
4
|
SPDX-License-Identifier: Apache-2.0
|
|
5
5
|
|
|
@@ -1695,7 +1695,7 @@
|
|
|
1695
1695
|
};
|
|
1696
1696
|
};
|
|
1697
1697
|
EShapeFillImpl.prototype.serialize = function (manager) {
|
|
1698
|
-
var stringified = "["
|
|
1698
|
+
var stringified = "[".concat(this._enable ? 1 : 0, ",").concat(this._color, ",").concat(this._alpha, "]");
|
|
1699
1699
|
return manager.addResource(stringified);
|
|
1700
1700
|
};
|
|
1701
1701
|
EShapeFillImpl.prototype.deserialize = function (target, manager) {
|
|
@@ -2087,7 +2087,7 @@
|
|
|
2087
2087
|
return result;
|
|
2088
2088
|
};
|
|
2089
2089
|
EShapeBarPoints.prototype.serialize = function (manager) {
|
|
2090
|
-
return manager.addResource("["
|
|
2090
|
+
return manager.addResource("[".concat(this._position, ",").concat(this._size, ",").concat(this._style, "]"));
|
|
2091
2091
|
};
|
|
2092
2092
|
EShapeBarPoints.prototype.deserialize = function (resourceId, manager) {
|
|
2093
2093
|
if (0 <= resourceId && resourceId < manager.resources.length) {
|
|
@@ -3707,10 +3707,10 @@
|
|
|
3707
3707
|
*/
|
|
3708
3708
|
var toGradientSerialized = function (gradient) {
|
|
3709
3709
|
var points = gradient.points;
|
|
3710
|
-
var result = "["
|
|
3710
|
+
var result = "[".concat(gradient.direction);
|
|
3711
3711
|
for (var i = 0, imax = points.length, j = 1; i < imax; i += 1, j += 3) {
|
|
3712
3712
|
var point = points[i];
|
|
3713
|
-
result += ","
|
|
3713
|
+
result += ",".concat(point.color, ",").concat(point.alpha, ",").concat(point.position);
|
|
3714
3714
|
}
|
|
3715
3715
|
result += "]";
|
|
3716
3716
|
return result;
|
|
@@ -4602,7 +4602,7 @@
|
|
|
4602
4602
|
};
|
|
4603
4603
|
EShapeStrokeImpl.prototype.serialize = function (manager) {
|
|
4604
4604
|
var enable = this._enable ? 1 : 0;
|
|
4605
|
-
var serialized = "["
|
|
4605
|
+
var serialized = "[".concat(enable, ",").concat(this._color, ",").concat(this._alpha, ",").concat(this._width, ",").concat(this._align, ",").concat(this._side, ",").concat(this._style, "]");
|
|
4606
4606
|
return manager.addResource(serialized);
|
|
4607
4607
|
};
|
|
4608
4608
|
EShapeStrokeImpl.prototype.deserialize = function (target, manager) {
|
|
@@ -4832,7 +4832,7 @@
|
|
|
4832
4832
|
};
|
|
4833
4833
|
};
|
|
4834
4834
|
EShapeDataValueRangeImpl.prototype.serialize = function (manager) {
|
|
4835
|
-
var serialized = "["
|
|
4835
|
+
var serialized = "[".concat(this._type, ",").concat(this._from, ",").concat(this._to, "]");
|
|
4836
4836
|
return manager.addResource(serialized);
|
|
4837
4837
|
};
|
|
4838
4838
|
EShapeDataValueRangeImpl.prototype.deserialize = function (target, manager) {
|
|
@@ -5342,7 +5342,7 @@
|
|
|
5342
5342
|
var initialSerialized = manager.addResource(this.initial);
|
|
5343
5343
|
var formatSerialized = manager.addResource(this.format.trim());
|
|
5344
5344
|
var rangeSerialized = this.range.serialize(manager);
|
|
5345
|
-
return manager.addResource("["
|
|
5345
|
+
return manager.addResource("[".concat(idSerialized, ",").concat(initialSerialized, ",").concat(formatSerialized, ",").concat(rangeSerialized, ",").concat(this._capacity, ",").concat(this._order, "]"));
|
|
5346
5346
|
};
|
|
5347
5347
|
EShapeDataValueImpl.prototype.deserialize = function (target, manager) {
|
|
5348
5348
|
var resources = manager.resources;
|
|
@@ -5582,9 +5582,9 @@
|
|
|
5582
5582
|
return manager.addResource("[]");
|
|
5583
5583
|
}
|
|
5584
5584
|
else {
|
|
5585
|
-
var serialized = "["
|
|
5585
|
+
var serialized = "[".concat(values[0].serialize(manager));
|
|
5586
5586
|
for (var i = 1, imax = values.length; i < imax; ++i) {
|
|
5587
|
-
serialized += ","
|
|
5587
|
+
serialized += ",".concat(values[i].serialize(manager));
|
|
5588
5588
|
}
|
|
5589
5589
|
serialized += "]";
|
|
5590
5590
|
return manager.addResource(serialized);
|
|
@@ -5674,7 +5674,7 @@
|
|
|
5674
5674
|
};
|
|
5675
5675
|
};
|
|
5676
5676
|
EShapeTextAlignImpl.prototype.serialize = function (manager) {
|
|
5677
|
-
return manager.addResource("["
|
|
5677
|
+
return manager.addResource("[".concat(this._horizontal, ",").concat(this._vertical, "]"));
|
|
5678
5678
|
};
|
|
5679
5679
|
EShapeTextAlignImpl.prototype.deserialize = function (target, manager) {
|
|
5680
5680
|
var resources = manager.resources;
|
|
@@ -5755,7 +5755,7 @@
|
|
|
5755
5755
|
};
|
|
5756
5756
|
};
|
|
5757
5757
|
EShapeTextOffsetImpl.prototype.serialize = function (manager) {
|
|
5758
|
-
return manager.addResource("["
|
|
5758
|
+
return manager.addResource("[".concat(this._horizontal, ",").concat(this._vertical, "]"));
|
|
5759
5759
|
};
|
|
5760
5760
|
EShapeTextOffsetImpl.prototype.deserialize = function (target, manager) {
|
|
5761
5761
|
var resources = manager.resources;
|
|
@@ -5877,7 +5877,7 @@
|
|
|
5877
5877
|
};
|
|
5878
5878
|
};
|
|
5879
5879
|
EShapeTextOutlineImpl.prototype.serialize = function (manager) {
|
|
5880
|
-
var serialized = "["
|
|
5880
|
+
var serialized = "[".concat(this._enable ? 1 : 0, ",").concat(this._color, ",").concat(this._alpha, ",").concat(this._width, "]");
|
|
5881
5881
|
return manager.addResource(serialized);
|
|
5882
5882
|
};
|
|
5883
5883
|
EShapeTextOutlineImpl.prototype.deserialize = function (target, manager) {
|
|
@@ -6161,9 +6161,9 @@
|
|
|
6161
6161
|
var outlineId = this.outline.serialize(manager);
|
|
6162
6162
|
var spacingId = this.spacing.serialize(manager);
|
|
6163
6163
|
var paddingId = this.padding.serialize(manager);
|
|
6164
|
-
var serialized = "["
|
|
6165
|
-
(this._weight
|
|
6166
|
-
(spacingId
|
|
6164
|
+
var serialized = "[".concat(valueId, ",").concat(this._color, ",").concat(this._alpha, ",").concat(familyId, ",").concat(this._size, ",") +
|
|
6165
|
+
"".concat(this._weight, ",").concat(alignId, ",").concat(offsetId, ",").concat(this._style, ",").concat(outlineId, ",") +
|
|
6166
|
+
"".concat(spacingId, ",").concat(this._direction, ",").concat(paddingId, ",").concat(this._clipping ? 1 : 0, "]");
|
|
6167
6167
|
return manager.addResource(serialized);
|
|
6168
6168
|
};
|
|
6169
6169
|
EShapeTextImpl.prototype.deserialize = function (target, manager) {
|
|
@@ -6975,7 +6975,7 @@
|
|
|
6975
6975
|
UtilRgb.fromCode = function (code) {
|
|
6976
6976
|
var trimmed = code.trim().toLowerCase();
|
|
6977
6977
|
if (trimmed.length === 6) {
|
|
6978
|
-
var color = Number("0x"
|
|
6978
|
+
var color = Number("0x".concat(trimmed));
|
|
6979
6979
|
if (color === color) {
|
|
6980
6980
|
return color;
|
|
6981
6981
|
}
|
|
@@ -7600,13 +7600,13 @@
|
|
|
7600
7600
|
"with( shape ) {" +
|
|
7601
7601
|
"with( state ) {" +
|
|
7602
7602
|
(nullable ?
|
|
7603
|
-
("var result = ("
|
|
7604
|
-
|
|
7605
|
-
"return "
|
|
7603
|
+
("var result = (".concat(expression, ");") +
|
|
7604
|
+
"return (result != null ? ".concat(caster, "(result) : null);")) :
|
|
7605
|
+
"return ".concat(caster, "(").concat(expression, ");")) +
|
|
7606
7606
|
"}" +
|
|
7607
7607
|
"}" +
|
|
7608
7608
|
"} catch( e ) {" +
|
|
7609
|
-
|
|
7609
|
+
"return ".concat(defLiteral, ";") +
|
|
7610
7610
|
"}";
|
|
7611
7611
|
/* eslint-enable prettier/prettier */
|
|
7612
7612
|
if (parameter == null) {
|
|
@@ -8003,7 +8003,7 @@
|
|
|
8003
8003
|
};
|
|
8004
8004
|
EShapeActionValueBlink.prototype.serialize = function (manager) {
|
|
8005
8005
|
var conditionId = manager.addResource(this.condition);
|
|
8006
|
-
return manager.addResource("["
|
|
8006
|
+
return manager.addResource("[".concat(this.type, ",").concat(conditionId, ",").concat(this.subtype, ",").concat(this.interval, ",").concat(this.color, ",").concat(this.alpha, "]"));
|
|
8007
8007
|
};
|
|
8008
8008
|
EShapeActionValueBlink.deserialize = function (serialized, manager) {
|
|
8009
8009
|
var condition = EShapeActionValues.toResource(1, serialized, manager.resources);
|
|
@@ -8317,7 +8317,7 @@
|
|
|
8317
8317
|
EShapeActionValueChangeColor.prototype.serialize = function (manager) {
|
|
8318
8318
|
var conditionId = manager.addResource(this.condition);
|
|
8319
8319
|
var blendId = manager.addResource(this.blend);
|
|
8320
|
-
return manager.addResource("["
|
|
8320
|
+
return manager.addResource("[".concat(this.type, ",").concat(conditionId, ",").concat(this.subtype, ",").concat(this.target, ",").concat(this.color, ",").concat(this.alpha, ",").concat(blendId, "]"));
|
|
8321
8321
|
};
|
|
8322
8322
|
EShapeActionValueChangeColor.deserialize = function (serialized, manager) {
|
|
8323
8323
|
var subtype = EShapeActionValueChangeColorTypes.from(serialized);
|
|
@@ -8402,7 +8402,7 @@
|
|
|
8402
8402
|
var conditionId = manager.addResource(this.condition);
|
|
8403
8403
|
var target = EShapeActionValueChangeColorTarget.BRIGHTNESS;
|
|
8404
8404
|
var brightnessId = manager.addResource(this.brightness);
|
|
8405
|
-
return manager.addResource("["
|
|
8405
|
+
return manager.addResource("[".concat(this.type, ",").concat(conditionId, ",").concat(this.subtype, ",").concat(target, ",").concat(brightnessId, "]"));
|
|
8406
8406
|
};
|
|
8407
8407
|
EShapeActionValueChangeColorBrightness.deserialize = function (serialized, manager) {
|
|
8408
8408
|
var subtype = EShapeActionValueChangeColorTypes.from(serialized);
|
|
@@ -8466,7 +8466,7 @@
|
|
|
8466
8466
|
var colorId = manager.addResource(this.color);
|
|
8467
8467
|
var alphaId = manager.addResource(this.alpha);
|
|
8468
8468
|
var blendId = manager.addResource(this.blend);
|
|
8469
|
-
return manager.addResource("["
|
|
8469
|
+
return manager.addResource("[".concat(this.type, ",").concat(conditionId, ",").concat(this.subtype, ",").concat(target, ",").concat(colorId, ",").concat(alphaId, ",").concat(blendId, "]"));
|
|
8470
8470
|
};
|
|
8471
8471
|
EShapeActionValueChangeColorCode.deserialize = function (serialized, manager) {
|
|
8472
8472
|
var subtype = EShapeActionValueChangeColorTypes.from(serialized);
|
|
@@ -8524,7 +8524,7 @@
|
|
|
8524
8524
|
EShapeActionValueChangeCursor.prototype.serialize = function (manager) {
|
|
8525
8525
|
var conditionId = manager.addResource(this.condition);
|
|
8526
8526
|
var nameId = manager.addResource(this.name);
|
|
8527
|
-
return manager.addResource("["
|
|
8527
|
+
return manager.addResource("[".concat(this.type, ",").concat(conditionId, ",").concat(nameId, "]"));
|
|
8528
8528
|
};
|
|
8529
8529
|
EShapeActionValueChangeCursor.deserialize = function (serialized, manager) {
|
|
8530
8530
|
var condition = EShapeActionValues.toResource(1, serialized, manager.resources);
|
|
@@ -8581,7 +8581,7 @@
|
|
|
8581
8581
|
function FormatNoded() {
|
|
8582
8582
|
}
|
|
8583
8583
|
FormatNoded.prototype.format = function (target, step, date) {
|
|
8584
|
-
return ""
|
|
8584
|
+
return "".concat(target | 0);
|
|
8585
8585
|
};
|
|
8586
8586
|
return FormatNoded;
|
|
8587
8587
|
}());
|
|
@@ -8703,7 +8703,7 @@
|
|
|
8703
8703
|
};
|
|
8704
8704
|
FormatNodefsi.prototype.format_ = function (target, unitInverse, postfix) {
|
|
8705
8705
|
var value = target * unitInverse;
|
|
8706
|
-
return ""
|
|
8706
|
+
return "".concat(value.toFixed(this.precision)).concat(postfix);
|
|
8707
8707
|
};
|
|
8708
8708
|
return FormatNodefsi;
|
|
8709
8709
|
}(FormatNodePrecision));
|
|
@@ -8796,7 +8796,7 @@
|
|
|
8796
8796
|
function FormatNodeP() {
|
|
8797
8797
|
}
|
|
8798
8798
|
FormatNodeP.prototype.format = function (target, step, date) {
|
|
8799
|
-
return ((target * 100) | 0
|
|
8799
|
+
return "".concat((target * 100) | 0, "%");
|
|
8800
8800
|
};
|
|
8801
8801
|
return FormatNodeP;
|
|
8802
8802
|
}());
|
|
@@ -8809,7 +8809,7 @@
|
|
|
8809
8809
|
function FormatNodep() {
|
|
8810
8810
|
}
|
|
8811
8811
|
FormatNodep.prototype.format = function (target, step, date) {
|
|
8812
|
-
return (target | 0
|
|
8812
|
+
return "".concat(target | 0, "%");
|
|
8813
8813
|
};
|
|
8814
8814
|
return FormatNodep;
|
|
8815
8815
|
}());
|
|
@@ -8841,7 +8841,7 @@
|
|
|
8841
8841
|
FormatNodeParenthesis.prototype.format = function (target, step, date) {
|
|
8842
8842
|
var result = this.node.format(target, step, date);
|
|
8843
8843
|
if (0 < result.length && result[0] === "-") {
|
|
8844
|
-
return "("
|
|
8844
|
+
return "(".concat(result.substring(1, result.length), ")");
|
|
8845
8845
|
}
|
|
8846
8846
|
return result;
|
|
8847
8847
|
};
|
|
@@ -8859,7 +8859,7 @@
|
|
|
8859
8859
|
FormatNodePlus.prototype.format = function (target, step, date) {
|
|
8860
8860
|
var result = this.node.format(target, step, date);
|
|
8861
8861
|
if (0 < result.length && result[0] !== "-") {
|
|
8862
|
-
return "+"
|
|
8862
|
+
return "+".concat(result);
|
|
8863
8863
|
}
|
|
8864
8864
|
return result;
|
|
8865
8865
|
};
|
|
@@ -8874,7 +8874,7 @@
|
|
|
8874
8874
|
function FormatNodeRP() {
|
|
8875
8875
|
}
|
|
8876
8876
|
FormatNodeRP.prototype.format = function (target, step, date) {
|
|
8877
|
-
return Math.round(target * 100)
|
|
8877
|
+
return "".concat(Math.round(target * 100), "%");
|
|
8878
8878
|
};
|
|
8879
8879
|
return FormatNodeRP;
|
|
8880
8880
|
}());
|
|
@@ -8887,7 +8887,7 @@
|
|
|
8887
8887
|
function FormatNoderp() {
|
|
8888
8888
|
}
|
|
8889
8889
|
FormatNoderp.prototype.format = function (target, step, date) {
|
|
8890
|
-
return Math.round(target)
|
|
8890
|
+
return "".concat(Math.round(target), "%");
|
|
8891
8891
|
};
|
|
8892
8892
|
return FormatNoderp;
|
|
8893
8893
|
}());
|
|
@@ -8908,24 +8908,24 @@
|
|
|
8908
8908
|
}
|
|
8909
8909
|
FormatNodesdt.prototype.format = function (target, step, date) {
|
|
8910
8910
|
if (step < 1000) {
|
|
8911
|
-
return this.s.format(target, step, date)
|
|
8911
|
+
return "".concat(this.s.format(target, step, date), ".").concat(this.mi.format(target, step, date));
|
|
8912
8912
|
}
|
|
8913
8913
|
else if (step < 60000) {
|
|
8914
|
-
return this.m.format(target, step, date)
|
|
8914
|
+
return "".concat(this.m.format(target, step, date), ":").concat(this.s.format(target, step, date));
|
|
8915
8915
|
}
|
|
8916
8916
|
else if (step < 3600000) {
|
|
8917
|
-
return this.H.format(target, step, date)
|
|
8917
|
+
return "".concat(this.H.format(target, step, date), ":").concat(this.m.format(target, step, date));
|
|
8918
8918
|
}
|
|
8919
8919
|
else if (step < 86400000) {
|
|
8920
8920
|
var M = this.M.format(target, step, date);
|
|
8921
8921
|
var D = this.D.format(target, step, date);
|
|
8922
|
-
return M
|
|
8922
|
+
return "".concat(M, "/").concat(D, " ").concat(this.H.format(target, step, date));
|
|
8923
8923
|
}
|
|
8924
8924
|
else if (step < 2592000000) {
|
|
8925
|
-
return this.M.format(target, step, date)
|
|
8925
|
+
return "".concat(this.M.format(target, step, date), "/").concat(this.D.format(target, step, date));
|
|
8926
8926
|
}
|
|
8927
8927
|
else {
|
|
8928
|
-
return this.Y.format(target, step, date)
|
|
8928
|
+
return "".concat(this.Y.format(target, step, date), "/").concat(this.M.format(target, step, date));
|
|
8929
8929
|
}
|
|
8930
8930
|
};
|
|
8931
8931
|
return FormatNodesdt;
|
|
@@ -8942,7 +8942,7 @@
|
|
|
8942
8942
|
FormatNodeSpace.prototype.format = function (target, step, date) {
|
|
8943
8943
|
var result = this.node.format(target, step, date);
|
|
8944
8944
|
if (0 < result.length && result[0] !== "-") {
|
|
8945
|
-
return " "
|
|
8945
|
+
return " ".concat(result);
|
|
8946
8946
|
}
|
|
8947
8947
|
return result;
|
|
8948
8948
|
};
|
|
@@ -9016,7 +9016,7 @@
|
|
|
9016
9016
|
var tzs = z <= 0 ? "+" : "-";
|
|
9017
9017
|
var tzh = toPadded(String(Math.floor(Math.abs(z) / 60)), 2, "0");
|
|
9018
9018
|
var tzm = toPadded(String(Math.floor(Math.abs(z) % 60)), 2, "0");
|
|
9019
|
-
return ""
|
|
9019
|
+
return "".concat(tzs).concat(tzh, ":").concat(tzm);
|
|
9020
9020
|
};
|
|
9021
9021
|
return FormatNodez;
|
|
9022
9022
|
}());
|
|
@@ -9029,7 +9029,7 @@
|
|
|
9029
9029
|
function FormatNoderd() {
|
|
9030
9030
|
}
|
|
9031
9031
|
FormatNoderd.prototype.format = function (target, step, date) {
|
|
9032
|
-
return ""
|
|
9032
|
+
return "".concat(Math.round(target));
|
|
9033
9033
|
};
|
|
9034
9034
|
return FormatNoderd;
|
|
9035
9035
|
}());
|
|
@@ -9394,7 +9394,7 @@
|
|
|
9394
9394
|
EShapeActionValueChangeText.prototype.serialize = function (manager) {
|
|
9395
9395
|
var conditionId = manager.addResource(this.condition);
|
|
9396
9396
|
var valueId = manager.addResource(this.value);
|
|
9397
|
-
return manager.addResource("["
|
|
9397
|
+
return manager.addResource("[".concat(this.type, ",").concat(conditionId, ",").concat(this.subtype, ",").concat(valueId, "]"));
|
|
9398
9398
|
};
|
|
9399
9399
|
EShapeActionValueChangeText.deserialize = function (serialized, manager) {
|
|
9400
9400
|
var condition = EShapeActionValues.toResource(1, serialized, manager.resources);
|
|
@@ -11331,7 +11331,7 @@
|
|
|
11331
11331
|
return;
|
|
11332
11332
|
}
|
|
11333
11333
|
}
|
|
11334
|
-
throw new Error("Failed to parse '"
|
|
11334
|
+
throw new Error("Failed to parse '".concat(expression, "'"));
|
|
11335
11335
|
}
|
|
11336
11336
|
DScalarExpression.prototype.toParensesis = function (nodes, ifrom) {
|
|
11337
11337
|
var ito = nodes.length;
|
|
@@ -11484,7 +11484,7 @@
|
|
|
11484
11484
|
continue;
|
|
11485
11485
|
}
|
|
11486
11486
|
}
|
|
11487
|
-
throw new Error("Malformed operands for the operator "
|
|
11487
|
+
throw new Error("Malformed operands for the operator ".concat(node));
|
|
11488
11488
|
}
|
|
11489
11489
|
else {
|
|
11490
11490
|
this.toArithmeticNode(node, operatorA, operatorB);
|
|
@@ -11505,7 +11505,7 @@
|
|
|
11505
11505
|
else {
|
|
11506
11506
|
var parsedToken = parseFloat(token);
|
|
11507
11507
|
if (parsedToken !== parsedToken) {
|
|
11508
|
-
throw new Error("Unexpected token '"
|
|
11508
|
+
throw new Error("Unexpected token '".concat(token, "' at ").concat(matched.index, " in '").concat(expression, "'"));
|
|
11509
11509
|
}
|
|
11510
11510
|
var tokenTypeLiteral = this.toTokenLiteral(token);
|
|
11511
11511
|
if (tokenTypeLiteral != null) {
|
|
@@ -12140,8 +12140,9 @@
|
|
|
12140
12140
|
var DBase = /** @class */ (function (_super) {
|
|
12141
12141
|
__extends(DBase, _super);
|
|
12142
12142
|
function DBase(options) {
|
|
12143
|
+
var _this = this;
|
|
12143
12144
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
12144
|
-
|
|
12145
|
+
_this = _super.call(this) || this;
|
|
12145
12146
|
// Transform
|
|
12146
12147
|
var transform = _this.transform;
|
|
12147
12148
|
_this._position = new DBasePoint(transform.position, function (newX, newY, oldX, oldY) {
|
|
@@ -13588,8 +13589,9 @@
|
|
|
13588
13589
|
var DAnimationBase = /** @class */ (function (_super) {
|
|
13589
13590
|
__extends(DAnimationBase, _super);
|
|
13590
13591
|
function DAnimationBase(options) {
|
|
13592
|
+
var _this = this;
|
|
13591
13593
|
var _a, _b, _c;
|
|
13592
|
-
|
|
13594
|
+
_this = _super.call(this) || this;
|
|
13593
13595
|
_this._id = null;
|
|
13594
13596
|
_this._target = (_a = options === null || options === void 0 ? void 0 : options.target) !== null && _a !== void 0 ? _a : null;
|
|
13595
13597
|
_this._startTime = 0;
|
|
@@ -14784,7 +14786,7 @@
|
|
|
14784
14786
|
EShapeActionValueEmitEvent.prototype.serialize = function (manager) {
|
|
14785
14787
|
var conditionId = manager.addResource(this.condition);
|
|
14786
14788
|
var nameId = manager.addResource(this.name);
|
|
14787
|
-
return manager.addResource("["
|
|
14789
|
+
return manager.addResource("[".concat(this.type, ",").concat(conditionId, ",").concat(nameId, "]"));
|
|
14788
14790
|
};
|
|
14789
14791
|
EShapeActionValueEmitEvent.deserialize = function (serialized, manager) {
|
|
14790
14792
|
var condition = EShapeActionValues.toResource(1, serialized, manager.resources);
|
|
@@ -15550,8 +15552,9 @@
|
|
|
15550
15552
|
var UtilInput = /** @class */ (function (_super) {
|
|
15551
15553
|
__extends(UtilInput, _super);
|
|
15552
15554
|
function UtilInput(target, operation, theme, options) {
|
|
15553
|
-
var
|
|
15554
|
-
var
|
|
15555
|
+
var _this = this;
|
|
15556
|
+
var _a, _b, _c, _d, _e, _f;
|
|
15557
|
+
_this = _super.call(this, target, operation, theme, options) || this;
|
|
15555
15558
|
_this._operation = operation;
|
|
15556
15559
|
_this._onInputKeyDownBound = function (e) {
|
|
15557
15560
|
_this.onInputKeyDown(e);
|
|
@@ -15565,9 +15568,9 @@
|
|
|
15565
15568
|
_this._description = (_a = options === null || options === void 0 ? void 0 : options.description) !== null && _a !== void 0 ? _a : "";
|
|
15566
15569
|
var editing = options === null || options === void 0 ? void 0 : options.editing;
|
|
15567
15570
|
_this._editingFormatter =
|
|
15568
|
-
(
|
|
15569
|
-
_this._editingUnformatter = (
|
|
15570
|
-
_this._editingValidator = (
|
|
15571
|
+
(_d = (_b = editing === null || editing === void 0 ? void 0 : editing.formatter) !== null && _b !== void 0 ? _b : (_c = options === null || options === void 0 ? void 0 : options.text) === null || _c === void 0 ? void 0 : _c.formatter) !== null && _d !== void 0 ? _d : theme.getEditingFormatter();
|
|
15572
|
+
_this._editingUnformatter = (_e = editing === null || editing === void 0 ? void 0 : editing.unformatter) !== null && _e !== void 0 ? _e : theme.getEditingUnformatter();
|
|
15573
|
+
_this._editingValidator = (_f = editing === null || editing === void 0 ? void 0 : editing.validator) !== null && _f !== void 0 ? _f : theme.getEditingValidator();
|
|
15571
15574
|
return _this;
|
|
15572
15575
|
}
|
|
15573
15576
|
UtilInput.prototype.onEnd = function () {
|
|
@@ -15684,8 +15687,9 @@
|
|
|
15684
15687
|
var UtilInputNumber = /** @class */ (function (_super) {
|
|
15685
15688
|
__extends(UtilInputNumber, _super);
|
|
15686
15689
|
function UtilInputNumber(target, operation, theme, options) {
|
|
15690
|
+
var _this = this;
|
|
15687
15691
|
var _a, _b, _c;
|
|
15688
|
-
|
|
15692
|
+
_this = _super.call(this, target, operation, theme, options) || this;
|
|
15689
15693
|
_this._step = (_a = options === null || options === void 0 ? void 0 : options.step) !== null && _a !== void 0 ? _a : theme.getStep();
|
|
15690
15694
|
_this._min = (_b = options === null || options === void 0 ? void 0 : options.min) !== null && _b !== void 0 ? _b : theme.getMin();
|
|
15691
15695
|
_this._max = (_c = options === null || options === void 0 ? void 0 : options.max) !== null && _c !== void 0 ? _c : theme.getMax();
|
|
@@ -15778,7 +15782,7 @@
|
|
|
15778
15782
|
UtilInputNumber.prototype.updateStep = function (input) {
|
|
15779
15783
|
var step = this.step;
|
|
15780
15784
|
if (step != null) {
|
|
15781
|
-
input.step = ""
|
|
15785
|
+
input.step = "".concat(step);
|
|
15782
15786
|
}
|
|
15783
15787
|
else {
|
|
15784
15788
|
input.step = "any";
|
|
@@ -15787,7 +15791,7 @@
|
|
|
15787
15791
|
UtilInputNumber.prototype.updateMin = function (input) {
|
|
15788
15792
|
var min = this.min;
|
|
15789
15793
|
if (min != null) {
|
|
15790
|
-
input.min = ""
|
|
15794
|
+
input.min = "".concat(min);
|
|
15791
15795
|
}
|
|
15792
15796
|
else {
|
|
15793
15797
|
input.removeAttribute("min");
|
|
@@ -15796,7 +15800,7 @@
|
|
|
15796
15800
|
UtilInputNumber.prototype.updateMax = function (input) {
|
|
15797
15801
|
var max = this.max;
|
|
15798
15802
|
if (max != null) {
|
|
15799
|
-
input.max = ""
|
|
15803
|
+
input.max = "".concat(max);
|
|
15800
15804
|
}
|
|
15801
15805
|
else {
|
|
15802
15806
|
input.removeAttribute("max");
|
|
@@ -16116,7 +16120,7 @@
|
|
|
16116
16120
|
var conditionId = manager.addResource(this.condition);
|
|
16117
16121
|
var targetId = manager.addResource(this.target);
|
|
16118
16122
|
var valueId = manager.addResource(this.value);
|
|
16119
|
-
return manager.addResource("["
|
|
16123
|
+
return manager.addResource("[".concat(this.type, ",").concat(conditionId, ",").concat(this.subtype, ",").concat(targetId, ",").concat(this.onInputAction, ",").concat(valueId, "]"));
|
|
16120
16124
|
};
|
|
16121
16125
|
EShapeActionValueMisc.deserialize = function (serialized, manager) {
|
|
16122
16126
|
var resources = manager.resources;
|
|
@@ -16237,7 +16241,7 @@
|
|
|
16237
16241
|
};
|
|
16238
16242
|
EShapeActionValueMiscGesture.prototype.serialize = function (manager) {
|
|
16239
16243
|
var conditionId = manager.addResource(this.condition);
|
|
16240
|
-
return manager.addResource("["
|
|
16244
|
+
return manager.addResource("[".concat(this.type, ",").concat(conditionId, ",").concat(this.subtype, ",").concat(this.gestureType, ",").concat(this.scaleMin, ",").concat(this.scaleMax, "]"));
|
|
16241
16245
|
};
|
|
16242
16246
|
EShapeActionValueMiscGesture.deserialize = function (serialized, manager) {
|
|
16243
16247
|
var condition = EShapeActionValues.toResource(1, serialized, manager.resources);
|
|
@@ -16664,7 +16668,7 @@
|
|
|
16664
16668
|
gl.compileShader(shader);
|
|
16665
16669
|
if (!gl.getShaderParameter(shader, gl.COMPILE_STATUS)) {
|
|
16666
16670
|
console &&
|
|
16667
|
-
console.error("Failed to compile the shader: "
|
|
16671
|
+
console.error("Failed to compile the shader: ".concat(gl.getShaderInfoLog(shader)));
|
|
16668
16672
|
return null;
|
|
16669
16673
|
}
|
|
16670
16674
|
}
|
|
@@ -16684,7 +16688,7 @@
|
|
|
16684
16688
|
gl.linkProgram(shaderProgram);
|
|
16685
16689
|
if (!gl.getProgramParameter(shaderProgram, gl.LINK_STATUS)) {
|
|
16686
16690
|
console &&
|
|
16687
|
-
console.error("Failed to link the program: "
|
|
16691
|
+
console.error("Failed to link the program: ".concat(gl.getError()));
|
|
16688
16692
|
gl.deleteShader(vertexShader);
|
|
16689
16693
|
gl.deleteShader(fragmentShader);
|
|
16690
16694
|
return null;
|
|
@@ -16888,7 +16892,7 @@
|
|
|
16888
16892
|
*/
|
|
16889
16893
|
var DynamicSDFFontAtlas = /** @class */ (function () {
|
|
16890
16894
|
function DynamicSDFFontAtlas(fontFamily) {
|
|
16891
|
-
this._id = "font-atlas:"
|
|
16895
|
+
this._id = "font-atlas:".concat(fontFamily);
|
|
16892
16896
|
this._generator = DynamicSDFFontGenerator.getInstance().init();
|
|
16893
16897
|
this._canvas = document.createElement("canvas");
|
|
16894
16898
|
this._font = {
|
|
@@ -18198,7 +18202,7 @@
|
|
|
18198
18202
|
};
|
|
18199
18203
|
EShapeActionValueMiscLayerGesture.prototype.serialize = function (manager) {
|
|
18200
18204
|
var conditionId = manager.addResource(this.condition);
|
|
18201
|
-
return manager.addResource("["
|
|
18205
|
+
return manager.addResource("[".concat(this.type, ",").concat(conditionId, ",").concat(this.subtype, ",").concat(this.gestureType, ",").concat(this.scaleMin, ",").concat(this.scaleMax, "]"));
|
|
18202
18206
|
};
|
|
18203
18207
|
EShapeActionValueMiscLayerGesture.deserialize = function (serialized, manager) {
|
|
18204
18208
|
var condition = EShapeActionValues.toResource(1, serialized, manager.resources);
|
|
@@ -18287,7 +18291,7 @@
|
|
|
18287
18291
|
var conditionId = manager.addResource(this.condition);
|
|
18288
18292
|
var layersId = this.serializeLayers(manager);
|
|
18289
18293
|
var bringToFrontId = this.bringToFront ? 1 : 0;
|
|
18290
|
-
return manager.addResource("["
|
|
18294
|
+
return manager.addResource("[".concat(this.type, ",").concat(conditionId, ",").concat(this.subtype, ",").concat(layersId, ",").concat(bringToFrontId, "]"));
|
|
18291
18295
|
};
|
|
18292
18296
|
EShapeActionValueMiscLayerShowHide.prototype.serializeLayers = function (manager) {
|
|
18293
18297
|
var layers = this.layers;
|
|
@@ -18969,9 +18973,14 @@
|
|
|
18969
18973
|
var middle = this.middle;
|
|
18970
18974
|
var bottom = this.bottom;
|
|
18971
18975
|
var text = this.text;
|
|
18972
|
-
if (text) {
|
|
18976
|
+
if (text !== undefined) {
|
|
18973
18977
|
var textX = 0;
|
|
18974
|
-
var textWidth =
|
|
18978
|
+
var textWidth = 0;
|
|
18979
|
+
var textHeight = 0;
|
|
18980
|
+
if (text != null) {
|
|
18981
|
+
textWidth = text.width;
|
|
18982
|
+
textHeight = text.height;
|
|
18983
|
+
}
|
|
18975
18984
|
switch (textAlign.horizontal) {
|
|
18976
18985
|
case DAlignHorizontal.LEFT:
|
|
18977
18986
|
textX = pleft + left.size;
|
|
@@ -18987,7 +18996,6 @@
|
|
|
18987
18996
|
break;
|
|
18988
18997
|
}
|
|
18989
18998
|
var textY = 0;
|
|
18990
|
-
var textHeight = text.height;
|
|
18991
18999
|
switch (textAlign.vertical) {
|
|
18992
19000
|
case DAlignVertical.TOP:
|
|
18993
19001
|
textY = ptop + top.size;
|
|
@@ -19002,8 +19010,10 @@
|
|
|
19002
19010
|
textY = height - pbottom - bottom.size - textHeight;
|
|
19003
19011
|
break;
|
|
19004
19012
|
}
|
|
19005
|
-
text
|
|
19006
|
-
|
|
19013
|
+
if (text != null) {
|
|
19014
|
+
text.position.set(textX, textY);
|
|
19015
|
+
text.setClippingDelta(left.size + right.size, top.size + bottom.size);
|
|
19016
|
+
}
|
|
19007
19017
|
left.execute(textX - left.size, true);
|
|
19008
19018
|
center.execute(0, 0, textX * 2 + textWidth);
|
|
19009
19019
|
right.execute(0, textX + textWidth + right.size, true);
|
|
@@ -19905,7 +19915,7 @@
|
|
|
19905
19915
|
}
|
|
19906
19916
|
};
|
|
19907
19917
|
DDynamicTextStyle.prototype.newFontId = function () {
|
|
19908
|
-
return this._fontStyle
|
|
19918
|
+
return "".concat(this._fontStyle, " ").concat(this._fontVariant, " ").concat(this._fontWeight, " ").concat(this._fontSize, "px ").concat(this._fontFamily);
|
|
19909
19919
|
};
|
|
19910
19920
|
Object.defineProperty(DDynamicTextStyle.prototype, "clipping", {
|
|
19911
19921
|
get: function () {
|
|
@@ -20530,6 +20540,9 @@
|
|
|
20530
20540
|
this.updateTextColor(text);
|
|
20531
20541
|
layouter.set(text);
|
|
20532
20542
|
}
|
|
20543
|
+
else {
|
|
20544
|
+
layouter.set(null);
|
|
20545
|
+
}
|
|
20533
20546
|
var auto = this._auto;
|
|
20534
20547
|
layouter.execute(this._padding, this._textAlign, auto.width.isOn ? null : this.width, auto.height.isOn ? null : this.height);
|
|
20535
20548
|
layouter.clear();
|
|
@@ -20758,8 +20771,9 @@
|
|
|
20758
20771
|
var DAnimationFadeIn = /** @class */ (function (_super) {
|
|
20759
20772
|
__extends(DAnimationFadeIn, _super);
|
|
20760
20773
|
function DAnimationFadeIn(options) {
|
|
20774
|
+
var _this = this;
|
|
20761
20775
|
var _a, _b;
|
|
20762
|
-
|
|
20776
|
+
_this = _super.call(this, options) || this;
|
|
20763
20777
|
_this._storedX = 0;
|
|
20764
20778
|
_this._storedY = 0;
|
|
20765
20779
|
_this._storedAlpha = 0;
|
|
@@ -21122,7 +21136,7 @@
|
|
|
21122
21136
|
this._onPrerenderBound = function () {
|
|
21123
21137
|
_this.onPrerender();
|
|
21124
21138
|
};
|
|
21125
|
-
//
|
|
21139
|
+
// Mode
|
|
21126
21140
|
var theme = this.theme;
|
|
21127
21141
|
var mode = toEnum((_a = options === null || options === void 0 ? void 0 : options.mode) !== null && _a !== void 0 ? _a : theme.getMode(), DDialogMode);
|
|
21128
21142
|
this._mode = mode;
|
|
@@ -24924,7 +24938,7 @@
|
|
|
24924
24938
|
var conditionId = manager.addResource(this.condition);
|
|
24925
24939
|
var targetId = manager.addResource(this.target);
|
|
24926
24940
|
var initialId = manager.addResource(this.initial);
|
|
24927
|
-
return manager.addResource("["
|
|
24941
|
+
return manager.addResource("[".concat(this.type, ",").concat(conditionId, ",").concat(this.subtype, ",").concat(targetId, ",").concat(this.onInputAction, ",").concat(initialId, "]"));
|
|
24928
24942
|
};
|
|
24929
24943
|
EShapeActionValueOpen.deserialize = function (serialized, manager) {
|
|
24930
24944
|
var condition = EShapeActionValues.toResource(1, serialized, manager.resources);
|
|
@@ -24978,7 +24992,7 @@
|
|
|
24978
24992
|
};
|
|
24979
24993
|
EShapeActionValueShowHide.prototype.serialize = function (manager) {
|
|
24980
24994
|
var conditionId = manager.addResource(this.condition);
|
|
24981
|
-
return manager.addResource("["
|
|
24995
|
+
return manager.addResource("[".concat(this.type, ",").concat(conditionId, ",").concat(this.subtype, "]"));
|
|
24982
24996
|
};
|
|
24983
24997
|
EShapeActionValueShowHide.deserialize = function (serialized, manager) {
|
|
24984
24998
|
var condition = EShapeActionValues.toResource(1, serialized, manager.resources);
|
|
@@ -25214,7 +25228,7 @@
|
|
|
25214
25228
|
EShapeActionValueTransformMove.prototype.serialize = function (manager) {
|
|
25215
25229
|
var conditionId = manager.addResource(this.condition);
|
|
25216
25230
|
var amountId = manager.addResource(this.amount);
|
|
25217
|
-
return manager.addResource("["
|
|
25231
|
+
return manager.addResource("[".concat(this.type, ",").concat(conditionId, ",").concat(this.subtype, ",").concat(this.opetype, ",").concat(amountId, "]"));
|
|
25218
25232
|
};
|
|
25219
25233
|
EShapeActionValueTransformMove.deserialize = function (serialized, manager) {
|
|
25220
25234
|
var condition = EShapeActionValues.toResource(1, serialized, manager.resources);
|
|
@@ -25499,7 +25513,7 @@
|
|
|
25499
25513
|
EShapeActionValueTransformResize.prototype.serialize = function (manager) {
|
|
25500
25514
|
var conditionId = manager.addResource(this.condition);
|
|
25501
25515
|
var amountId = manager.addResource(this.amount);
|
|
25502
|
-
return manager.addResource("["
|
|
25516
|
+
return manager.addResource("[".concat(this.type, ",").concat(conditionId, ",").concat(this.subtype, ",").concat(this.opetype, ",").concat(this.originX, ",").concat(this.originY, ",").concat(amountId, "]"));
|
|
25503
25517
|
};
|
|
25504
25518
|
EShapeActionValueTransformResize.deserialize = function (serialized, manager) {
|
|
25505
25519
|
var condition = EShapeActionValues.toResource(1, serialized, manager.resources);
|
|
@@ -25519,7 +25533,7 @@
|
|
|
25519
25533
|
var _this = _super.call(this, value, reset) || this;
|
|
25520
25534
|
_this.originX = value.originX;
|
|
25521
25535
|
_this.originY = value.originY;
|
|
25522
|
-
_this.amount = EShapeActionExpressions.ofNumber("("
|
|
25536
|
+
_this.amount = EShapeActionExpressions.ofNumber("(".concat(value.amount, ") * (Math.PI / 180)"));
|
|
25523
25537
|
return _this;
|
|
25524
25538
|
}
|
|
25525
25539
|
EShapeActionRuntimeTransformRotate.prototype.adjustPosition = function (shape, runtime, oldRotation, newRotation, originX, originY) {
|
|
@@ -25630,7 +25644,7 @@
|
|
|
25630
25644
|
EShapeActionValueTransformRotate.prototype.serialize = function (manager) {
|
|
25631
25645
|
var conditionId = manager.addResource(this.condition);
|
|
25632
25646
|
var amountId = manager.addResource(this.amount);
|
|
25633
|
-
return manager.addResource("["
|
|
25647
|
+
return manager.addResource("[".concat(this.type, ",").concat(conditionId, ",").concat(this.subtype, ",").concat(this.opetype, ",").concat(this.originX, ",").concat(this.originY, ",").concat(amountId, "]"));
|
|
25634
25648
|
};
|
|
25635
25649
|
EShapeActionValueTransformRotate.deserialize = function (serialized, manager) {
|
|
25636
25650
|
var condition = EShapeActionValues.toResource(1, serialized, manager.resources);
|
|
@@ -27346,7 +27360,7 @@
|
|
|
27346
27360
|
var result = _super.prototype.serialize.call(this, manager);
|
|
27347
27361
|
var isToggle = this._isToggle ? 1 : 0;
|
|
27348
27362
|
var isGrouped = this._isGrouped ? 2 : 0;
|
|
27349
|
-
result[15] = manager.addResource("["
|
|
27363
|
+
result[15] = manager.addResource("[".concat(isToggle | isGrouped, "]"));
|
|
27350
27364
|
return result;
|
|
27351
27365
|
};
|
|
27352
27366
|
return EShapeButton;
|
|
@@ -29639,7 +29653,7 @@
|
|
|
29639
29653
|
EShapePointsMarkerBase.prototype.serialize = function (manager) {
|
|
29640
29654
|
var size = this._size;
|
|
29641
29655
|
var fillId = this._fill.serialize(manager);
|
|
29642
|
-
return manager.addResource("["
|
|
29656
|
+
return manager.addResource("[".concat(this._type, ",").concat(size.x, ",").concat(size.y, ",").concat(fillId, "]"));
|
|
29643
29657
|
};
|
|
29644
29658
|
EShapePointsMarkerBase.prototype.deserialize = function (resourceId, manager) {
|
|
29645
29659
|
var resources = manager.resources;
|
|
@@ -29788,7 +29802,7 @@
|
|
|
29788
29802
|
EShapePointsMarkerContainerImpl.prototype.serialize = function (manager) {
|
|
29789
29803
|
var headId = this._head.serialize(manager);
|
|
29790
29804
|
var tailId = this._tail.serialize(manager);
|
|
29791
|
-
return manager.addResource("["
|
|
29805
|
+
return manager.addResource("[".concat(headId, ",").concat(tailId, "]"));
|
|
29792
29806
|
};
|
|
29793
29807
|
EShapePointsMarkerContainerImpl.prototype.deserialize = function (resourceId, manager) {
|
|
29794
29808
|
var resources = manager.resources;
|
|
@@ -30250,7 +30264,7 @@
|
|
|
30250
30264
|
if (marker) {
|
|
30251
30265
|
markerId = marker.serialize(manager);
|
|
30252
30266
|
}
|
|
30253
|
-
return manager.addResource("["
|
|
30267
|
+
return manager.addResource("[".concat(values, ",").concat(segments, ",").concat(style, ",").concat(markerId, "]"));
|
|
30254
30268
|
};
|
|
30255
30269
|
EShapeLinePoints.prototype.deserialize = function (resourceId, manager) {
|
|
30256
30270
|
var resources = manager.resources;
|
|
@@ -31257,7 +31271,7 @@
|
|
|
31257
31271
|
var edge = acceptor.edge;
|
|
31258
31272
|
var edgeId = edge != null ? manager.addResource(edge) : -1;
|
|
31259
31273
|
var local = this._local;
|
|
31260
|
-
return manager.addResource("["
|
|
31274
|
+
return manager.addResource("[".concat(shapeUuid, ",").concat(edgeId, ",").concat(local.x, ",").concat(local.y, ",").concat(this._margin, "]"));
|
|
31261
31275
|
};
|
|
31262
31276
|
EShapeConnectorEdgeImpl.prototype.deserialize = function (resourceId, mapping, manager) {
|
|
31263
31277
|
var resources = manager.resources;
|
|
@@ -31427,7 +31441,7 @@
|
|
|
31427
31441
|
EShapeConnectorEdgeContainerImpl.prototype.serialize = function (manager) {
|
|
31428
31442
|
var tailId = this._tail.serialize(manager);
|
|
31429
31443
|
var headId = this._head.serialize(manager);
|
|
31430
|
-
return manager.addResource("["
|
|
31444
|
+
return manager.addResource("[".concat(tailId, ",").concat(headId, "]"));
|
|
31431
31445
|
};
|
|
31432
31446
|
EShapeConnectorEdgeContainerImpl.prototype.deserialize = function (resourceId, mapping, manager) {
|
|
31433
31447
|
var resources = manager.resources;
|
|
@@ -31760,7 +31774,7 @@
|
|
|
31760
31774
|
var edgeId = this._edge.serialize(manager);
|
|
31761
31775
|
var bodyId = this._body.serialize(manager);
|
|
31762
31776
|
var pointsId = this._points.serialize(manager);
|
|
31763
|
-
result[15] = manager.addResource("["
|
|
31777
|
+
result[15] = manager.addResource("[".concat(edgeId, ",").concat(pointsId, ",").concat(bodyId, "]"));
|
|
31764
31778
|
return result;
|
|
31765
31779
|
};
|
|
31766
31780
|
return EShapeConnectorLine;
|
|
@@ -38710,7 +38724,7 @@
|
|
|
38710
38724
|
* SPDX-License-Identifier: Apache-2.0
|
|
38711
38725
|
*/
|
|
38712
38726
|
var toSvgUrl = function (svg) {
|
|
38713
|
-
return "data:image/svg+xml;base64,"
|
|
38727
|
+
return "data:image/svg+xml;base64,".concat(btoa(svg));
|
|
38714
38728
|
};
|
|
38715
38729
|
|
|
38716
38730
|
/*
|
|
@@ -38726,7 +38740,7 @@
|
|
|
38726
38740
|
var color = UtilRgb.toCode(point.color);
|
|
38727
38741
|
var alpha = point.alpha;
|
|
38728
38742
|
var offset = point.position * 100;
|
|
38729
|
-
stops += "<stop offset=\""
|
|
38743
|
+
stops += "<stop offset=\"".concat(offset, "%\" stop-color=\"#").concat(color, "\" stop-opacity=\"").concat(alpha, "\" />");
|
|
38730
38744
|
}
|
|
38731
38745
|
var radian = (direction * Math.PI) / 180;
|
|
38732
38746
|
var dx = 0.5 * Math.cos(radian);
|
|
@@ -38735,7 +38749,7 @@
|
|
|
38735
38749
|
/* eslint-disable prettier/prettier */
|
|
38736
38750
|
"<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"32\" height=\"32\" viewBox=\"0 0 32 32\">" +
|
|
38737
38751
|
"<defs>" +
|
|
38738
|
-
|
|
38752
|
+
"<linearGradient id=\"o2glkm3aeu2oio\" x1=\"".concat(0.5 - dx, "\" x2=\"").concat(0.5 + dx, "\" y1=\"").concat(0.5 - dy, "\" y2=\"").concat(0.5 + dy, "\">") +
|
|
38739
38753
|
stops +
|
|
38740
38754
|
"</linearGradient>" +
|
|
38741
38755
|
"</defs>" +
|
|
@@ -38902,8 +38916,9 @@
|
|
|
38902
38916
|
var DMenuItemBase = /** @class */ (function (_super) {
|
|
38903
38917
|
__extends(DMenuItemBase, _super);
|
|
38904
38918
|
function DMenuItemBase(options) {
|
|
38919
|
+
var _this = this;
|
|
38905
38920
|
var _a;
|
|
38906
|
-
|
|
38921
|
+
_this = _super.call(this, options) || this;
|
|
38907
38922
|
_this._value = (_a = options === null || options === void 0 ? void 0 : options.value) !== null && _a !== void 0 ? _a : null;
|
|
38908
38923
|
return _this;
|
|
38909
38924
|
}
|
|
@@ -39183,7 +39198,7 @@
|
|
|
39183
39198
|
parent.addChild(created);
|
|
39184
39199
|
}
|
|
39185
39200
|
else {
|
|
39186
|
-
throw new Error("No matching menu item creator found: "
|
|
39201
|
+
throw new Error("No matching menu item creator found: ".concat(JSON.stringify(item)));
|
|
39187
39202
|
}
|
|
39188
39203
|
}
|
|
39189
39204
|
}
|
|
@@ -42345,7 +42360,7 @@
|
|
|
42345
42360
|
frames[name] = new pixi_js.Rectangle(x, y, width, height);
|
|
42346
42361
|
// Svg
|
|
42347
42362
|
var ratio = this._ratio;
|
|
42348
|
-
this._svg += "<g transform=\"translate("
|
|
42363
|
+
this._svg += "<g transform=\"translate(".concat(x * ratio, ",").concat(y * ratio, ")\">").concat(path, "</g>");
|
|
42349
42364
|
return true;
|
|
42350
42365
|
}
|
|
42351
42366
|
return false;
|
|
@@ -42370,11 +42385,11 @@
|
|
|
42370
42385
|
var realWidth = width * resolution;
|
|
42371
42386
|
var realHeight = height * resolution;
|
|
42372
42387
|
var ratio = this._ratio;
|
|
42373
|
-
var attrWidth = "width=\""
|
|
42374
|
-
var attrHeight = "height=\""
|
|
42375
|
-
var attrViewBox = "viewBox=\"0 0 "
|
|
42388
|
+
var attrWidth = "width=\"".concat(realWidth, "\"");
|
|
42389
|
+
var attrHeight = "height=\"".concat(realHeight, "\"");
|
|
42390
|
+
var attrViewBox = "viewBox=\"0 0 ".concat(width * ratio, " ").concat(height * ratio, "\"");
|
|
42376
42391
|
var attrXmlns = "xmlns=\"http://www.w3.org/2000/svg\"";
|
|
42377
|
-
var url = toSvgUrl("<svg "
|
|
42392
|
+
var url = toSvgUrl("<svg ".concat(attrWidth, " ").concat(attrHeight, " ").concat(attrViewBox, " ").concat(attrXmlns, ">").concat(this._svg, "</svg>"));
|
|
42378
42393
|
var scaleMode = (_c = options === null || options === void 0 ? void 0 : options.scaling) !== null && _c !== void 0 ? _c : pixi_js.SCALE_MODES.NEAREST;
|
|
42379
42394
|
var baseTexture = pixi_js.BaseTexture.from(url, {
|
|
42380
42395
|
resolution: resolution,
|
|
@@ -42838,11 +42853,11 @@
|
|
|
42838
42853
|
UtilName.create = function (type) {
|
|
42839
42854
|
var mapping = this._mapping;
|
|
42840
42855
|
if (type in mapping) {
|
|
42841
|
-
return type
|
|
42856
|
+
return "".concat(type, " ").concat(++mapping[type]);
|
|
42842
42857
|
}
|
|
42843
42858
|
else {
|
|
42844
42859
|
mapping[type] = 1;
|
|
42845
|
-
return type
|
|
42860
|
+
return "".concat(type, " 1");
|
|
42846
42861
|
}
|
|
42847
42862
|
};
|
|
42848
42863
|
UtilName._mapping = {};
|
|
@@ -42860,7 +42875,7 @@
|
|
|
42860
42875
|
var r = (color >> 16) & 0xff;
|
|
42861
42876
|
var g = (color >> 8) & 0xff;
|
|
42862
42877
|
var b = color & 0xff;
|
|
42863
|
-
return "rgba("
|
|
42878
|
+
return "rgba(".concat(r, ",").concat(g, ",").concat(b, ",").concat(alpha, ")");
|
|
42864
42879
|
};
|
|
42865
42880
|
return UtilRgba;
|
|
42866
42881
|
}());
|
|
@@ -43146,8 +43161,9 @@
|
|
|
43146
43161
|
var DAnimationEmpty = /** @class */ (function (_super) {
|
|
43147
43162
|
__extends(DAnimationEmpty, _super);
|
|
43148
43163
|
function DAnimationEmpty(options) {
|
|
43164
|
+
var _this = this;
|
|
43149
43165
|
var _a;
|
|
43150
|
-
|
|
43166
|
+
_this = _super.call(this) || this;
|
|
43151
43167
|
_this._target = (_a = options === null || options === void 0 ? void 0 : options.target) !== null && _a !== void 0 ? _a : null;
|
|
43152
43168
|
_this._reverse = false;
|
|
43153
43169
|
_this._isStarted = false;
|
|
@@ -46068,12 +46084,15 @@
|
|
|
46068
46084
|
return indices;
|
|
46069
46085
|
};
|
|
46070
46086
|
DPickerColorGradientView.prototype._calculateBounds = function () {
|
|
46087
|
+
var worldTransform = this.transform.worldTransform;
|
|
46071
46088
|
var rect = this._parts[0].rect;
|
|
46072
46089
|
var bounds = this._bounds;
|
|
46073
46090
|
var work = this._workPoint;
|
|
46074
46091
|
work.set(rect.x, rect.y);
|
|
46092
|
+
worldTransform.apply(work, work);
|
|
46075
46093
|
bounds.addPoint(work);
|
|
46076
46094
|
work.set(rect.x + rect.width, rect.y + rect.height);
|
|
46095
|
+
worldTransform.apply(work, work);
|
|
46077
46096
|
bounds.addPoint(work);
|
|
46078
46097
|
};
|
|
46079
46098
|
DPickerColorGradientView.prototype.update = function () {
|
|
@@ -46578,21 +46597,34 @@
|
|
|
46578
46597
|
_super.prototype.onActivate.call(this, e);
|
|
46579
46598
|
var value = this._textValueComputed;
|
|
46580
46599
|
var dialog = this.dialog;
|
|
46581
|
-
|
|
46582
|
-
|
|
46583
|
-
|
|
46584
|
-
|
|
46585
|
-
|
|
46586
|
-
var view = _this._view;
|
|
46587
|
-
if (view != null) {
|
|
46588
|
-
view.update();
|
|
46589
|
-
}
|
|
46590
|
-
_this.onTextChange();
|
|
46591
|
-
_this.createOrUpdateText();
|
|
46592
|
-
DApplications.update(_this);
|
|
46593
|
-
_this.emit("change", newValue, oldValue, _this);
|
|
46600
|
+
if (value != null) {
|
|
46601
|
+
dialog.value.fromObject(value);
|
|
46602
|
+
}
|
|
46603
|
+
dialog.open(this).then(function (newValue) {
|
|
46604
|
+
_this.onValueChange(newValue, _this.toClone(value));
|
|
46594
46605
|
});
|
|
46595
46606
|
};
|
|
46607
|
+
DButtonColorGradient.prototype.toClone = function (value) {
|
|
46608
|
+
var result = new DColorGradientObservable();
|
|
46609
|
+
if (value != null) {
|
|
46610
|
+
result.fromObject(value);
|
|
46611
|
+
}
|
|
46612
|
+
return result;
|
|
46613
|
+
};
|
|
46614
|
+
DButtonColorGradient.prototype.onValueChange = function (newValue, oldValue) {
|
|
46615
|
+
var value = this._textValueComputed;
|
|
46616
|
+
if (value != null) {
|
|
46617
|
+
value.fromObject(newValue);
|
|
46618
|
+
}
|
|
46619
|
+
var view = this._view;
|
|
46620
|
+
if (view != null) {
|
|
46621
|
+
view.update();
|
|
46622
|
+
}
|
|
46623
|
+
this.onTextChange();
|
|
46624
|
+
this.createOrUpdateText();
|
|
46625
|
+
DApplications.update(this);
|
|
46626
|
+
this.emit("change", newValue, oldValue, this);
|
|
46627
|
+
};
|
|
46596
46628
|
Object.defineProperty(DButtonColorGradient.prototype, "dialog", {
|
|
46597
46629
|
get: function () {
|
|
46598
46630
|
var _a;
|
|
@@ -46600,11 +46632,14 @@
|
|
|
46600
46632
|
if (dialog == null) {
|
|
46601
46633
|
var options = (_a = this._options) === null || _a === void 0 ? void 0 : _a.dialog;
|
|
46602
46634
|
if (options) {
|
|
46603
|
-
dialog =
|
|
46635
|
+
dialog = this.newDialog(options);
|
|
46604
46636
|
}
|
|
46605
46637
|
else {
|
|
46606
46638
|
if (DButtonColorGradient.DIALOG == null) {
|
|
46607
|
-
DButtonColorGradient.DIALOG =
|
|
46639
|
+
DButtonColorGradient.DIALOG = this.newDialog({
|
|
46640
|
+
mode: "MENU",
|
|
46641
|
+
sticky: true
|
|
46642
|
+
});
|
|
46608
46643
|
}
|
|
46609
46644
|
dialog = DButtonColorGradient.DIALOG;
|
|
46610
46645
|
}
|
|
@@ -46615,6 +46650,9 @@
|
|
|
46615
46650
|
enumerable: false,
|
|
46616
46651
|
configurable: true
|
|
46617
46652
|
});
|
|
46653
|
+
DButtonColorGradient.prototype.newDialog = function (options) {
|
|
46654
|
+
return new DDialogColorGradient(options);
|
|
46655
|
+
};
|
|
46618
46656
|
Object.defineProperty(DButtonColorGradient.prototype, "value", {
|
|
46619
46657
|
get: function () {
|
|
46620
46658
|
return this._textValueComputed;
|
|
@@ -46701,34 +46739,21 @@
|
|
|
46701
46739
|
function DButtonColor() {
|
|
46702
46740
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
46703
46741
|
}
|
|
46704
|
-
DButtonColor.prototype.init = function (options) {
|
|
46705
|
-
var _this = this;
|
|
46706
|
-
_super.prototype.init.call(this, options);
|
|
46707
|
-
var value = this._textValueComputed;
|
|
46708
|
-
this._value = new DPickerColorAndAlpha(value, function (color) {
|
|
46709
|
-
value.color = color;
|
|
46710
|
-
_this.onColorChange();
|
|
46711
|
-
}, function (alpha) {
|
|
46712
|
-
value.alpha = alpha;
|
|
46713
|
-
_this.updateTextForcibly();
|
|
46714
|
-
});
|
|
46715
|
-
};
|
|
46716
46742
|
DButtonColor.prototype.onActivate = function (e) {
|
|
46717
46743
|
var _this = this;
|
|
46718
46744
|
_super.prototype.onActivate.call(this, e);
|
|
46719
|
-
var value = this._textValueComputed;
|
|
46720
46745
|
var dialog = this.dialog;
|
|
46721
|
-
var
|
|
46722
|
-
|
|
46723
|
-
|
|
46724
|
-
|
|
46725
|
-
|
|
46726
|
-
|
|
46727
|
-
|
|
46728
|
-
|
|
46729
|
-
|
|
46730
|
-
|
|
46731
|
-
_this.onValueChange(_this.toClone(
|
|
46746
|
+
var value = this._textValueComputed;
|
|
46747
|
+
if (value != null) {
|
|
46748
|
+
var dialogCurrent = dialog.current;
|
|
46749
|
+
dialogCurrent.color = value.color;
|
|
46750
|
+
dialogCurrent.alpha = value.alpha;
|
|
46751
|
+
var dialogNew = dialog.new;
|
|
46752
|
+
dialogNew.color = value.color;
|
|
46753
|
+
dialogNew.alpha = value.alpha;
|
|
46754
|
+
}
|
|
46755
|
+
dialog.open(this).then(function () {
|
|
46756
|
+
_this.onValueChange(_this.toClone(dialog.new), _this.toClone(dialog.current));
|
|
46732
46757
|
});
|
|
46733
46758
|
};
|
|
46734
46759
|
DButtonColor.prototype.toClone = function (value) {
|
|
@@ -46738,6 +46763,12 @@
|
|
|
46738
46763
|
};
|
|
46739
46764
|
};
|
|
46740
46765
|
DButtonColor.prototype.onValueChange = function (newValue, oldValue) {
|
|
46766
|
+
var value = this._textValueComputed;
|
|
46767
|
+
if (value != null) {
|
|
46768
|
+
value.color = newValue.color;
|
|
46769
|
+
value.alpha = newValue.alpha;
|
|
46770
|
+
}
|
|
46771
|
+
this.onColorChange();
|
|
46741
46772
|
this.emit("change", newValue, oldValue, this);
|
|
46742
46773
|
};
|
|
46743
46774
|
DButtonColor.prototype.toImageTintOptions = function (tint) {
|
|
@@ -46783,11 +46814,14 @@
|
|
|
46783
46814
|
if (dialog == null) {
|
|
46784
46815
|
var options = (_a = this._options) === null || _a === void 0 ? void 0 : _a.dialog;
|
|
46785
46816
|
if (options) {
|
|
46786
|
-
dialog =
|
|
46817
|
+
dialog = this.newDialog(options);
|
|
46787
46818
|
}
|
|
46788
46819
|
else {
|
|
46789
46820
|
if (DButtonColor.DIALOG == null) {
|
|
46790
|
-
DButtonColor.DIALOG =
|
|
46821
|
+
DButtonColor.DIALOG = this.newDialog({
|
|
46822
|
+
mode: "MENU",
|
|
46823
|
+
sticky: true
|
|
46824
|
+
});
|
|
46791
46825
|
}
|
|
46792
46826
|
dialog = DButtonColor.DIALOG;
|
|
46793
46827
|
}
|
|
@@ -46798,13 +46832,32 @@
|
|
|
46798
46832
|
enumerable: false,
|
|
46799
46833
|
configurable: true
|
|
46800
46834
|
});
|
|
46835
|
+
DButtonColor.prototype.newDialog = function (options) {
|
|
46836
|
+
return new DDialogColor(options);
|
|
46837
|
+
};
|
|
46801
46838
|
Object.defineProperty(DButtonColor.prototype, "value", {
|
|
46802
46839
|
get: function () {
|
|
46803
|
-
|
|
46840
|
+
var result = this._value;
|
|
46841
|
+
if (result == null) {
|
|
46842
|
+
result = this.newValue();
|
|
46843
|
+
this._value = result;
|
|
46844
|
+
}
|
|
46845
|
+
return result;
|
|
46804
46846
|
},
|
|
46805
46847
|
enumerable: false,
|
|
46806
46848
|
configurable: true
|
|
46807
46849
|
});
|
|
46850
|
+
DButtonColor.prototype.newValue = function () {
|
|
46851
|
+
var _this = this;
|
|
46852
|
+
var value = this._textValueComputed;
|
|
46853
|
+
return new DPickerColorAndAlpha(value, function (color) {
|
|
46854
|
+
value.color = color;
|
|
46855
|
+
_this.onColorChange();
|
|
46856
|
+
}, function (alpha) {
|
|
46857
|
+
value.alpha = alpha;
|
|
46858
|
+
_this.updateTextForcibly();
|
|
46859
|
+
});
|
|
46860
|
+
};
|
|
46808
46861
|
DButtonColor.prototype.getType = function () {
|
|
46809
46862
|
return "DButtonColor";
|
|
46810
46863
|
};
|
|
@@ -46826,22 +46879,6 @@
|
|
|
46826
46879
|
return DButtonDanger;
|
|
46827
46880
|
}(DButton));
|
|
46828
46881
|
|
|
46829
|
-
/*
|
|
46830
|
-
* Copyright (C) 2019 Toshiba Corporation
|
|
46831
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
46832
|
-
*/
|
|
46833
|
-
var DDialogDates = /** @class */ (function () {
|
|
46834
|
-
function DDialogDates() {
|
|
46835
|
-
}
|
|
46836
|
-
DDialogDates.getInstance = function () {
|
|
46837
|
-
if (DDialogDates.INSTANCE == null) {
|
|
46838
|
-
DDialogDates.INSTANCE = new DDialogDate();
|
|
46839
|
-
}
|
|
46840
|
-
return DDialogDates.INSTANCE;
|
|
46841
|
-
};
|
|
46842
|
-
return DDialogDates;
|
|
46843
|
-
}());
|
|
46844
|
-
|
|
46845
46882
|
/*
|
|
46846
46883
|
* Copyright (C) 2019 Toshiba Corporation
|
|
46847
46884
|
* SPDX-License-Identifier: Apache-2.0
|
|
@@ -46860,13 +46897,14 @@
|
|
|
46860
46897
|
dialog.current = new Date(value);
|
|
46861
46898
|
dialog.new = new Date(value);
|
|
46862
46899
|
dialog.page = new Date(value);
|
|
46863
|
-
dialog.open().then(function () {
|
|
46864
|
-
|
|
46865
|
-
var oldValue = dialog.current;
|
|
46866
|
-
_this.text = new Date(newValue.getTime());
|
|
46867
|
-
_this.emit("change", newValue, oldValue, _this);
|
|
46900
|
+
dialog.open(this).then(function () {
|
|
46901
|
+
_this.onValueChange(dialog.new, dialog.current);
|
|
46868
46902
|
});
|
|
46869
46903
|
};
|
|
46904
|
+
DButtonDate.prototype.onValueChange = function (newValue, oldValue) {
|
|
46905
|
+
this.text = new Date(newValue.getTime());
|
|
46906
|
+
this.emit("change", newValue, oldValue, this);
|
|
46907
|
+
};
|
|
46870
46908
|
Object.defineProperty(DButtonDate.prototype, "dialog", {
|
|
46871
46909
|
get: function () {
|
|
46872
46910
|
var _a;
|
|
@@ -46874,10 +46912,16 @@
|
|
|
46874
46912
|
if (dialog == null) {
|
|
46875
46913
|
var options = (_a = this._options) === null || _a === void 0 ? void 0 : _a.dialog;
|
|
46876
46914
|
if (options) {
|
|
46877
|
-
dialog =
|
|
46915
|
+
dialog = this.newDialog(options);
|
|
46878
46916
|
}
|
|
46879
46917
|
else {
|
|
46880
|
-
|
|
46918
|
+
if (DButtonDate.DIALOG == null) {
|
|
46919
|
+
DButtonDate.DIALOG = this.newDialog({
|
|
46920
|
+
mode: "MENU",
|
|
46921
|
+
sticky: true
|
|
46922
|
+
});
|
|
46923
|
+
}
|
|
46924
|
+
dialog = DButtonDate.DIALOG;
|
|
46881
46925
|
}
|
|
46882
46926
|
this._dialog = dialog;
|
|
46883
46927
|
}
|
|
@@ -46886,6 +46930,9 @@
|
|
|
46886
46930
|
enumerable: false,
|
|
46887
46931
|
configurable: true
|
|
46888
46932
|
});
|
|
46933
|
+
DButtonDate.prototype.newDialog = function (options) {
|
|
46934
|
+
return new DDialogDate(options);
|
|
46935
|
+
};
|
|
46889
46936
|
Object.defineProperty(DButtonDate.prototype, "value", {
|
|
46890
46937
|
get: function () {
|
|
46891
46938
|
var _a;
|
|
@@ -46906,22 +46953,6 @@
|
|
|
46906
46953
|
return DButtonDate;
|
|
46907
46954
|
}(DButton));
|
|
46908
46955
|
|
|
46909
|
-
/*
|
|
46910
|
-
* Copyright (C) 2019 Toshiba Corporation
|
|
46911
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
46912
|
-
*/
|
|
46913
|
-
var DDialogDatetimes = /** @class */ (function () {
|
|
46914
|
-
function DDialogDatetimes() {
|
|
46915
|
-
}
|
|
46916
|
-
DDialogDatetimes.getInstance = function () {
|
|
46917
|
-
if (DDialogDatetimes.INSTANCE == null) {
|
|
46918
|
-
DDialogDatetimes.INSTANCE = new DDialogDatetime();
|
|
46919
|
-
}
|
|
46920
|
-
return DDialogDatetimes.INSTANCE;
|
|
46921
|
-
};
|
|
46922
|
-
return DDialogDatetimes;
|
|
46923
|
-
}());
|
|
46924
|
-
|
|
46925
46956
|
/*
|
|
46926
46957
|
* Copyright (C) 2019 Toshiba Corporation
|
|
46927
46958
|
* SPDX-License-Identifier: Apache-2.0
|
|
@@ -46933,7 +46964,7 @@
|
|
|
46933
46964
|
var y = toPadded(String(date.getFullYear()), 4, "0");
|
|
46934
46965
|
var M = toPadded(String(date.getMonth() + 1), 2, "0");
|
|
46935
46966
|
var S = toPadded(String(date.getDate()), 2, "0");
|
|
46936
|
-
return y
|
|
46967
|
+
return "".concat(y, "/").concat(M, "/").concat(S);
|
|
46937
46968
|
};
|
|
46938
46969
|
return DPickerDates;
|
|
46939
46970
|
}());
|
|
@@ -46980,10 +47011,10 @@
|
|
|
46980
47011
|
DPickerDatetimes.format = function (date, mask) {
|
|
46981
47012
|
var hms = DPickerTimes.format(date, mask);
|
|
46982
47013
|
if (0 < hms.length) {
|
|
46983
|
-
return DPickerDates.format(date)
|
|
47014
|
+
return "".concat(DPickerDates.format(date), " ").concat(hms);
|
|
46984
47015
|
}
|
|
46985
47016
|
else {
|
|
46986
|
-
return ""
|
|
47017
|
+
return "".concat(DPickerDates.format(date));
|
|
46987
47018
|
}
|
|
46988
47019
|
};
|
|
46989
47020
|
DPickerDatetimes.toMask = function (options) {
|
|
@@ -47010,13 +47041,14 @@
|
|
|
47010
47041
|
dialog.current = new Date(value);
|
|
47011
47042
|
dialog.new = new Date(value);
|
|
47012
47043
|
dialog.page = new Date(value);
|
|
47013
|
-
dialog.open().then(function () {
|
|
47014
|
-
|
|
47015
|
-
var oldValue = dialog.current;
|
|
47016
|
-
_this.text = new Date(newValue.getTime());
|
|
47017
|
-
_this.emit("change", newValue, oldValue, _this);
|
|
47044
|
+
dialog.open(this).then(function () {
|
|
47045
|
+
_this.onValueChange(dialog.new, dialog.current);
|
|
47018
47046
|
});
|
|
47019
47047
|
};
|
|
47048
|
+
DButtonDatetime.prototype.onValueChange = function (newValue, oldValue) {
|
|
47049
|
+
this.text = new Date(newValue.getTime());
|
|
47050
|
+
this.emit("change", newValue, oldValue, this);
|
|
47051
|
+
};
|
|
47020
47052
|
DButtonDatetime.prototype.getDatetimeMask = function () {
|
|
47021
47053
|
var _a, _b;
|
|
47022
47054
|
var result = this._datetimeMask;
|
|
@@ -47033,10 +47065,16 @@
|
|
|
47033
47065
|
if (dialog == null) {
|
|
47034
47066
|
var options = (_a = this._options) === null || _a === void 0 ? void 0 : _a.dialog;
|
|
47035
47067
|
if (options) {
|
|
47036
|
-
dialog =
|
|
47068
|
+
dialog = this.newDialog(options);
|
|
47037
47069
|
}
|
|
47038
47070
|
else {
|
|
47039
|
-
|
|
47071
|
+
if (DButtonDatetime.DIALOG == null) {
|
|
47072
|
+
DButtonDatetime.DIALOG = this.newDialog({
|
|
47073
|
+
mode: "MENU",
|
|
47074
|
+
sticky: true
|
|
47075
|
+
});
|
|
47076
|
+
}
|
|
47077
|
+
dialog = DButtonDatetime.DIALOG;
|
|
47040
47078
|
}
|
|
47041
47079
|
this._dialog = dialog;
|
|
47042
47080
|
}
|
|
@@ -47045,6 +47083,9 @@
|
|
|
47045
47083
|
enumerable: false,
|
|
47046
47084
|
configurable: true
|
|
47047
47085
|
});
|
|
47086
|
+
DButtonDatetime.prototype.newDialog = function (options) {
|
|
47087
|
+
return new DDialogDatetime(options);
|
|
47088
|
+
};
|
|
47048
47089
|
Object.defineProperty(DButtonDatetime.prototype, "value", {
|
|
47049
47090
|
get: function () {
|
|
47050
47091
|
var _a;
|
|
@@ -48654,8 +48695,9 @@
|
|
|
48654
48695
|
var DScrollBar = /** @class */ (function (_super) {
|
|
48655
48696
|
__extends(DScrollBar, _super);
|
|
48656
48697
|
function DScrollBar(options) {
|
|
48698
|
+
var _this = this;
|
|
48657
48699
|
var _a, _b;
|
|
48658
|
-
|
|
48700
|
+
_this = _super.call(this, options) || this;
|
|
48659
48701
|
_this._start = 0;
|
|
48660
48702
|
_this._end = 1;
|
|
48661
48703
|
_this.visible = false;
|
|
@@ -49119,8 +49161,9 @@
|
|
|
49119
49161
|
var DPane = /** @class */ (function (_super) {
|
|
49120
49162
|
__extends(DPane, _super);
|
|
49121
49163
|
function DPane(options) {
|
|
49164
|
+
var _this = this;
|
|
49122
49165
|
var _a;
|
|
49123
|
-
|
|
49166
|
+
_this = _super.call(this, options) || this;
|
|
49124
49167
|
// Mask
|
|
49125
49168
|
var theme = _this.theme;
|
|
49126
49169
|
if ((_a = options === null || options === void 0 ? void 0 : options.mask) !== null && _a !== void 0 ? _a : theme.isOverflowMaskEnabled()) {
|
|
@@ -49976,8 +50019,9 @@
|
|
|
49976
50019
|
var DButtonSelect = /** @class */ (function (_super) {
|
|
49977
50020
|
__extends(DButtonSelect, _super);
|
|
49978
50021
|
function DButtonSelect(options) {
|
|
50022
|
+
var _this = this;
|
|
49979
50023
|
var _a, _b;
|
|
49980
|
-
|
|
50024
|
+
_this = _super.call(this, toOptions(options)) || this;
|
|
49981
50025
|
_this._dialogGetter = (_a = options === null || options === void 0 ? void 0 : options.getter) !== null && _a !== void 0 ? _a : defaultGetter$1;
|
|
49982
50026
|
_this._dialogSetter = (_b = options === null || options === void 0 ? void 0 : options.setter) !== null && _b !== void 0 ? _b : defaultSetter$1;
|
|
49983
50027
|
return _this;
|
|
@@ -50034,22 +50078,6 @@
|
|
|
50034
50078
|
return DButtonSelect;
|
|
50035
50079
|
}(DButton));
|
|
50036
50080
|
|
|
50037
|
-
/*
|
|
50038
|
-
* Copyright (C) 2019 Toshiba Corporation
|
|
50039
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
50040
|
-
*/
|
|
50041
|
-
var DDialogTimes = /** @class */ (function () {
|
|
50042
|
-
function DDialogTimes() {
|
|
50043
|
-
}
|
|
50044
|
-
DDialogTimes.getInstance = function () {
|
|
50045
|
-
if (DDialogTimes.INSTANCE == null) {
|
|
50046
|
-
DDialogTimes.INSTANCE = new DDialogTime();
|
|
50047
|
-
}
|
|
50048
|
-
return DDialogTimes.INSTANCE;
|
|
50049
|
-
};
|
|
50050
|
-
return DDialogTimes;
|
|
50051
|
-
}());
|
|
50052
|
-
|
|
50053
50081
|
/*
|
|
50054
50082
|
* Copyright (C) 2019 Toshiba Corporation
|
|
50055
50083
|
* SPDX-License-Identifier: Apache-2.0
|
|
@@ -50067,13 +50095,14 @@
|
|
|
50067
50095
|
var dialog = this.dialog;
|
|
50068
50096
|
dialog.current = new Date(value);
|
|
50069
50097
|
dialog.new = new Date(value);
|
|
50070
|
-
dialog.open().then(function () {
|
|
50071
|
-
|
|
50072
|
-
var oldValue = dialog.current;
|
|
50073
|
-
_this.text = new Date(newValue.getTime());
|
|
50074
|
-
_this.emit("change", newValue, oldValue, _this);
|
|
50098
|
+
dialog.open(this).then(function () {
|
|
50099
|
+
_this.onValueChange(dialog.new, dialog.current);
|
|
50075
50100
|
});
|
|
50076
50101
|
};
|
|
50102
|
+
DButtonTime.prototype.onValueChange = function (newValue, oldValue) {
|
|
50103
|
+
this.text = new Date(newValue.getTime());
|
|
50104
|
+
this.emit("change", newValue, oldValue, this);
|
|
50105
|
+
};
|
|
50077
50106
|
DButtonTime.prototype.getDatetimeMask = function () {
|
|
50078
50107
|
var _a, _b;
|
|
50079
50108
|
var result = this._datetimeMask;
|
|
@@ -50090,10 +50119,16 @@
|
|
|
50090
50119
|
if (dialog == null) {
|
|
50091
50120
|
var options = (_a = this._options) === null || _a === void 0 ? void 0 : _a.dialog;
|
|
50092
50121
|
if (options) {
|
|
50093
|
-
dialog =
|
|
50122
|
+
dialog = this.newDialog(options);
|
|
50094
50123
|
}
|
|
50095
50124
|
else {
|
|
50096
|
-
|
|
50125
|
+
if (DButtonTime.DIALOG == null) {
|
|
50126
|
+
DButtonTime.DIALOG = this.newDialog({
|
|
50127
|
+
mode: "MENU",
|
|
50128
|
+
sticky: true
|
|
50129
|
+
});
|
|
50130
|
+
}
|
|
50131
|
+
dialog = DButtonTime.DIALOG;
|
|
50097
50132
|
}
|
|
50098
50133
|
this._dialog = dialog;
|
|
50099
50134
|
}
|
|
@@ -50102,6 +50137,9 @@
|
|
|
50102
50137
|
enumerable: false,
|
|
50103
50138
|
configurable: true
|
|
50104
50139
|
});
|
|
50140
|
+
DButtonTime.prototype.newDialog = function (options) {
|
|
50141
|
+
return new DDialogTime(options);
|
|
50142
|
+
};
|
|
50105
50143
|
Object.defineProperty(DButtonTime.prototype, "value", {
|
|
50106
50144
|
get: function () {
|
|
50107
50145
|
var _a;
|
|
@@ -53082,8 +53120,9 @@
|
|
|
53082
53120
|
var DChartSelectionSubImpl = /** @class */ (function (_super) {
|
|
53083
53121
|
__extends(DChartSelectionSubImpl, _super);
|
|
53084
53122
|
function DChartSelectionSubImpl(options) {
|
|
53123
|
+
var _this = this;
|
|
53085
53124
|
var _a, _b, _c;
|
|
53086
|
-
|
|
53125
|
+
_this = _super.call(this) || this;
|
|
53087
53126
|
_this._container = null;
|
|
53088
53127
|
_this._series = null;
|
|
53089
53128
|
_this._isEnabled = (_a = options.enable) !== null && _a !== void 0 ? _a : true;
|
|
@@ -53244,8 +53283,9 @@
|
|
|
53244
53283
|
var DChartSelectionSimple = /** @class */ (function (_super) {
|
|
53245
53284
|
__extends(DChartSelectionSimple, _super);
|
|
53246
53285
|
function DChartSelectionSimple(options) {
|
|
53286
|
+
var _this = this;
|
|
53247
53287
|
var _a;
|
|
53248
|
-
|
|
53288
|
+
_this = _super.call(this) || this;
|
|
53249
53289
|
_this._container = null;
|
|
53250
53290
|
var point = toEnum((_a = options === null || options === void 0 ? void 0 : options.point) !== null && _a !== void 0 ? _a : DChartSelectionPoint.CLOSER, DChartSelectionPoint);
|
|
53251
53291
|
_this._selected = _this.newSelected(point, options === null || options === void 0 ? void 0 : options.selected);
|
|
@@ -54110,8 +54150,9 @@
|
|
|
54110
54150
|
var DChartSeriesLine = /** @class */ (function (_super) {
|
|
54111
54151
|
__extends(DChartSeriesLine, _super);
|
|
54112
54152
|
function DChartSeriesLine(options) {
|
|
54153
|
+
var _this = this;
|
|
54113
54154
|
var _a;
|
|
54114
|
-
|
|
54155
|
+
_this = _super.call(this, options) || this;
|
|
54115
54156
|
_this._line = null;
|
|
54116
54157
|
_this._options = options;
|
|
54117
54158
|
_this._points = (_a = options === null || options === void 0 ? void 0 : options.points) !== null && _a !== void 0 ? _a : [];
|
|
@@ -55034,8 +55075,9 @@
|
|
|
55034
55075
|
var DDiagramBase = /** @class */ (function (_super) {
|
|
55035
55076
|
__extends(DDiagramBase, _super);
|
|
55036
55077
|
function DDiagramBase(options) {
|
|
55078
|
+
var _this = this;
|
|
55037
55079
|
var _a;
|
|
55038
|
-
|
|
55080
|
+
_this = _super.call(this, options) || this;
|
|
55039
55081
|
_this._serialized = null;
|
|
55040
55082
|
_this._tileFactory = options === null || options === void 0 ? void 0 : options.tile;
|
|
55041
55083
|
_this._controller = options === null || options === void 0 ? void 0 : options.controller;
|
|
@@ -57088,10 +57130,10 @@
|
|
|
57088
57130
|
var formatter = Function("value",
|
|
57089
57131
|
/* eslint-disable prettier/prettier */
|
|
57090
57132
|
"try {" +
|
|
57091
|
-
|
|
57133
|
+
"return (".concat(datumFormat, ");") +
|
|
57092
57134
|
"} catch( e1 ) {" +
|
|
57093
57135
|
"try {" +
|
|
57094
|
-
|
|
57136
|
+
"return (".concat(0 < datumInitial.length ? datumInitial : 0, ");") +
|
|
57095
57137
|
"} catch( e2 ) {" +
|
|
57096
57138
|
"return 0;" +
|
|
57097
57139
|
"}" +
|
|
@@ -57114,7 +57156,7 @@
|
|
|
57114
57156
|
shapeDatum.value = initialMap[datumInitial] = Function(
|
|
57115
57157
|
/* eslint-disable prettier/prettier */
|
|
57116
57158
|
"try {" +
|
|
57117
|
-
|
|
57159
|
+
"return (".concat(datumInitial, ");") +
|
|
57118
57160
|
"} catch( e ) {" +
|
|
57119
57161
|
"return 0;" +
|
|
57120
57162
|
"}"
|
|
@@ -57346,8 +57388,9 @@
|
|
|
57346
57388
|
var DDialogProcessing = /** @class */ (function (_super) {
|
|
57347
57389
|
__extends(DDialogProcessing, _super);
|
|
57348
57390
|
function DDialogProcessing(options) {
|
|
57391
|
+
var _this = this;
|
|
57349
57392
|
var _a;
|
|
57350
|
-
|
|
57393
|
+
_this = _super.call(this, options) || this;
|
|
57351
57394
|
_this._isDone = true;
|
|
57352
57395
|
_this._startTime = 0;
|
|
57353
57396
|
var delay = options === null || options === void 0 ? void 0 : options.delay;
|
|
@@ -58793,20 +58836,20 @@
|
|
|
58793
58836
|
*/
|
|
58794
58837
|
var DMapTileUrlBuilderKokudo = function (tz, tx, ty) {
|
|
58795
58838
|
if (5 <= tz) {
|
|
58796
|
-
return "https://cyberjapandata.gsi.go.jp/xyz/pale/"
|
|
58839
|
+
return "https://cyberjapandata.gsi.go.jp/xyz/pale/".concat(tz, "/").concat(tx, "/").concat(ty, ".png");
|
|
58797
58840
|
}
|
|
58798
58841
|
else if (2 <= tz) {
|
|
58799
|
-
return "https://cyberjapandata.gsi.go.jp/xyz/std/"
|
|
58842
|
+
return "https://cyberjapandata.gsi.go.jp/xyz/std/".concat(tz, "/").concat(tx, "/").concat(ty, ".png");
|
|
58800
58843
|
}
|
|
58801
58844
|
else {
|
|
58802
|
-
return "https://cyberjapandata.gsi.go.jp/xyz/earthhillshade/"
|
|
58845
|
+
return "https://cyberjapandata.gsi.go.jp/xyz/earthhillshade/".concat(tz, "/").concat(tx, "/").concat(ty, ".png");
|
|
58803
58846
|
}
|
|
58804
58847
|
};
|
|
58805
58848
|
var DMapTileUrlBuilderOsm = function (tz, tx, ty) {
|
|
58806
|
-
return "https://"
|
|
58849
|
+
return "https://".concat("abc"[(tx + ty) % 3], ".tile.openstreetmap.org/").concat(tz, "/").concat(tx, "/").concat(ty, ".png");
|
|
58807
58850
|
};
|
|
58808
58851
|
var DMapTileUrlBuilderOsmfj = function (tz, tx, ty) {
|
|
58809
|
-
return "https://j.tile.openstreetmap.jp/"
|
|
58852
|
+
return "https://j.tile.openstreetmap.jp/".concat(tz, "/").concat(tx, "/").concat(ty, ".png");
|
|
58810
58853
|
};
|
|
58811
58854
|
var DMapTilePyramids = /** @class */ (function () {
|
|
58812
58855
|
function DMapTilePyramids() {
|
|
@@ -58993,8 +59036,9 @@
|
|
|
58993
59036
|
var DMenuSidedSelection = /** @class */ (function (_super) {
|
|
58994
59037
|
__extends(DMenuSidedSelection, _super);
|
|
58995
59038
|
function DMenuSidedSelection(content, options) {
|
|
59039
|
+
var _this = this;
|
|
58996
59040
|
var _a, _b, _c;
|
|
58997
|
-
|
|
59041
|
+
_this = _super.call(this) || this;
|
|
58998
59042
|
_this._content = content;
|
|
58999
59043
|
_this._item = null;
|
|
59000
59044
|
_this._isDirty = true;
|
|
@@ -59115,8 +59159,9 @@
|
|
|
59115
59159
|
var DMenuSided = /** @class */ (function (_super) {
|
|
59116
59160
|
__extends(DMenuSided, _super);
|
|
59117
59161
|
function DMenuSided(options) {
|
|
59162
|
+
var _this = this;
|
|
59118
59163
|
var _a;
|
|
59119
|
-
|
|
59164
|
+
_this = _super.call(this, options) || this;
|
|
59120
59165
|
var context = new DMenuContext(_this);
|
|
59121
59166
|
_this._context = context;
|
|
59122
59167
|
context.add(_this);
|
|
@@ -59344,8 +59389,9 @@
|
|
|
59344
59389
|
var DPagination = /** @class */ (function (_super) {
|
|
59345
59390
|
__extends(DPagination, _super);
|
|
59346
59391
|
function DPagination(options) {
|
|
59392
|
+
var _this = this;
|
|
59347
59393
|
var _a, _b, _c, _d;
|
|
59348
|
-
|
|
59394
|
+
_this = _super.call(this, options) || this;
|
|
59349
59395
|
if (options != null) {
|
|
59350
59396
|
_this._size = (_b = (_a = options.size) !== null && _a !== void 0 ? _a : options.total) !== null && _b !== void 0 ? _b : 10;
|
|
59351
59397
|
_this._value = (_d = (_c = options.value) !== null && _c !== void 0 ? _c : options.selected) !== null && _d !== void 0 ? _d : 0;
|
|
@@ -60310,7 +60356,7 @@
|
|
|
60310
60356
|
var text = options.text || {};
|
|
60311
60357
|
options.text = text;
|
|
60312
60358
|
if (text.value == null) {
|
|
60313
|
-
text.value = ""
|
|
60359
|
+
text.value = "".concat(options.value);
|
|
60314
60360
|
}
|
|
60315
60361
|
return options;
|
|
60316
60362
|
};
|
|
@@ -60325,7 +60371,7 @@
|
|
|
60325
60371
|
var text = options.text || {};
|
|
60326
60372
|
options.text = text;
|
|
60327
60373
|
if (text.value == null) {
|
|
60328
|
-
text.value = ""
|
|
60374
|
+
text.value = "".concat(options.value);
|
|
60329
60375
|
}
|
|
60330
60376
|
return options;
|
|
60331
60377
|
};
|
|
@@ -60752,8 +60798,9 @@
|
|
|
60752
60798
|
var DTableBodyCellSelectDialog = /** @class */ (function (_super) {
|
|
60753
60799
|
__extends(DTableBodyCellSelectDialog, _super);
|
|
60754
60800
|
function DTableBodyCellSelectDialog(columnIndex, column, onChange, options) {
|
|
60801
|
+
var _this = this;
|
|
60755
60802
|
var _a;
|
|
60756
|
-
|
|
60803
|
+
_this = _super.call(this, options) || this;
|
|
60757
60804
|
_this._rowIndex = -1;
|
|
60758
60805
|
_this._columnIndex = columnIndex;
|
|
60759
60806
|
_this._column = column;
|
|
@@ -60957,8 +61004,9 @@
|
|
|
60957
61004
|
var DTableBodyCellSelectPromise = /** @class */ (function (_super) {
|
|
60958
61005
|
__extends(DTableBodyCellSelectPromise, _super);
|
|
60959
61006
|
function DTableBodyCellSelectPromise(columnIndex, column, onChange, options) {
|
|
61007
|
+
var _this = this;
|
|
60960
61008
|
var _a;
|
|
60961
|
-
|
|
61009
|
+
_this = _super.call(this, options) || this;
|
|
60962
61010
|
_this._rowIndex = -1;
|
|
60963
61011
|
_this._columnIndex = columnIndex;
|
|
60964
61012
|
_this._column = column;
|
|
@@ -61147,8 +61195,9 @@
|
|
|
61147
61195
|
var DTableBodyCellButton = /** @class */ (function (_super) {
|
|
61148
61196
|
__extends(DTableBodyCellButton, _super);
|
|
61149
61197
|
function DTableBodyCellButton(columnIndex, column, onChange, options) {
|
|
61198
|
+
var _this = this;
|
|
61150
61199
|
var _a;
|
|
61151
|
-
|
|
61200
|
+
_this = _super.call(this, columnIndex, column, onChange, options) || this;
|
|
61152
61201
|
var when = toEnum((_a = options === null || options === void 0 ? void 0 : options.when) !== null && _a !== void 0 ? _a : DButtonBaseWhen.CLICKED, DButtonBaseWhen);
|
|
61153
61202
|
_this._when = when;
|
|
61154
61203
|
_this.initOnClick(when, _this.theme, options);
|
|
@@ -61367,6 +61416,9 @@
|
|
|
61367
61416
|
_super.prototype.onValueChange.call(this, newValue, oldValue);
|
|
61368
61417
|
this._onChange(newValue, oldValue, row, rowIndex, columnIndex, this);
|
|
61369
61418
|
}
|
|
61419
|
+
else {
|
|
61420
|
+
_super.prototype.onValueChange.call(this, newValue, oldValue);
|
|
61421
|
+
}
|
|
61370
61422
|
};
|
|
61371
61423
|
Object.defineProperty(DTableBodyCellColor.prototype, "row", {
|
|
61372
61424
|
get: function () {
|
|
@@ -61399,7 +61451,7 @@
|
|
|
61399
61451
|
DTableBodyCellColor.prototype.set = function (newValue, row, supplimental, rowIndex, columnIndex, forcibly) {
|
|
61400
61452
|
this._row = row;
|
|
61401
61453
|
this._rowIndex = rowIndex;
|
|
61402
|
-
var value = this.
|
|
61454
|
+
var value = this.value;
|
|
61403
61455
|
if (isNumber(newValue)) {
|
|
61404
61456
|
value.color = newValue;
|
|
61405
61457
|
value.alpha = 1;
|
|
@@ -61447,48 +61499,19 @@
|
|
|
61447
61499
|
_this._onChange = onChange;
|
|
61448
61500
|
return _this;
|
|
61449
61501
|
}
|
|
61450
|
-
DTableBodyCellDate.prototype.
|
|
61451
|
-
var
|
|
61452
|
-
|
|
61453
|
-
|
|
61454
|
-
|
|
61455
|
-
|
|
61456
|
-
|
|
61457
|
-
|
|
61458
|
-
|
|
61459
|
-
|
|
61460
|
-
|
|
61461
|
-
|
|
61462
|
-
_this.text = new Date(newValue.getTime());
|
|
61463
|
-
var row = _this._row;
|
|
61464
|
-
if (row !== undefined) {
|
|
61465
|
-
var rowIndex = _this._rowIndex;
|
|
61466
|
-
var columnIndex = _this._columnIndex;
|
|
61467
|
-
_this._column.setter(row, columnIndex, newValue);
|
|
61468
|
-
_this.emit("change", newValue, oldValue, _this);
|
|
61469
|
-
_this._onChange(newValue, oldValue, row, rowIndex, columnIndex, _this);
|
|
61470
|
-
}
|
|
61471
|
-
});
|
|
61502
|
+
DTableBodyCellDate.prototype.onValueChange = function (newValue, oldValue) {
|
|
61503
|
+
var row = this._row;
|
|
61504
|
+
if (row !== undefined) {
|
|
61505
|
+
var rowIndex = this._rowIndex;
|
|
61506
|
+
var columnIndex = this._columnIndex;
|
|
61507
|
+
this._column.setter(row, columnIndex, newValue);
|
|
61508
|
+
_super.prototype.onValueChange.call(this, newValue, oldValue);
|
|
61509
|
+
this._onChange(newValue, oldValue, row, rowIndex, columnIndex, this);
|
|
61510
|
+
}
|
|
61511
|
+
else {
|
|
61512
|
+
_super.prototype.onValueChange.call(this, newValue, oldValue);
|
|
61513
|
+
}
|
|
61472
61514
|
};
|
|
61473
|
-
Object.defineProperty(DTableBodyCellDate.prototype, "dialog", {
|
|
61474
|
-
get: function () {
|
|
61475
|
-
var _a;
|
|
61476
|
-
var dialog = this._dialog;
|
|
61477
|
-
if (dialog == null) {
|
|
61478
|
-
var options = (_a = this._options) === null || _a === void 0 ? void 0 : _a.dialog;
|
|
61479
|
-
if (options) {
|
|
61480
|
-
dialog = new DDialogDate(options);
|
|
61481
|
-
}
|
|
61482
|
-
else {
|
|
61483
|
-
dialog = DDialogDates.getInstance();
|
|
61484
|
-
}
|
|
61485
|
-
this._dialog = dialog;
|
|
61486
|
-
}
|
|
61487
|
-
return dialog;
|
|
61488
|
-
},
|
|
61489
|
-
enumerable: false,
|
|
61490
|
-
configurable: true
|
|
61491
|
-
});
|
|
61492
61515
|
Object.defineProperty(DTableBodyCellDate.prototype, "row", {
|
|
61493
61516
|
get: function () {
|
|
61494
61517
|
return this._row;
|
|
@@ -61554,7 +61577,7 @@
|
|
|
61554
61577
|
return "DTableBodyCellDate";
|
|
61555
61578
|
};
|
|
61556
61579
|
return DTableBodyCellDate;
|
|
61557
|
-
}(
|
|
61580
|
+
}(DButtonDate));
|
|
61558
61581
|
|
|
61559
61582
|
/*
|
|
61560
61583
|
* Copyright (C) 2019 Toshiba Corporation
|
|
@@ -61570,57 +61593,19 @@
|
|
|
61570
61593
|
_this._onChange = onChange;
|
|
61571
61594
|
return _this;
|
|
61572
61595
|
}
|
|
61573
|
-
DTableBodyCellDatetime.prototype.
|
|
61574
|
-
var
|
|
61575
|
-
|
|
61576
|
-
|
|
61577
|
-
|
|
61578
|
-
|
|
61579
|
-
|
|
61580
|
-
|
|
61581
|
-
|
|
61582
|
-
|
|
61583
|
-
|
|
61584
|
-
var oldValue = dialog.current;
|
|
61585
|
-
_this.text = new Date(newValue.getTime());
|
|
61586
|
-
var row = _this._row;
|
|
61587
|
-
if (row !== undefined) {
|
|
61588
|
-
var rowIndex = _this._rowIndex;
|
|
61589
|
-
var columnIndex = _this._columnIndex;
|
|
61590
|
-
_this._column.setter(row, columnIndex, newValue);
|
|
61591
|
-
_this.emit("change", newValue, oldValue, _this);
|
|
61592
|
-
_this._onChange(newValue, oldValue, row, rowIndex, columnIndex, _this);
|
|
61593
|
-
}
|
|
61594
|
-
});
|
|
61595
|
-
};
|
|
61596
|
-
DTableBodyCellDatetime.prototype.getDatetimeMask = function () {
|
|
61597
|
-
var _a, _b;
|
|
61598
|
-
var result = this._datetimeMask;
|
|
61599
|
-
if (result == null) {
|
|
61600
|
-
result = DPickerDatetimes.toMask((_b = (_a = this._options) === null || _a === void 0 ? void 0 : _a.dialog) === null || _b === void 0 ? void 0 : _b.picker);
|
|
61601
|
-
this._datetimeMask = result;
|
|
61596
|
+
DTableBodyCellDatetime.prototype.onValueChange = function (newValue, oldValue) {
|
|
61597
|
+
var row = this._row;
|
|
61598
|
+
if (row !== undefined) {
|
|
61599
|
+
var rowIndex = this._rowIndex;
|
|
61600
|
+
var columnIndex = this._columnIndex;
|
|
61601
|
+
this._column.setter(row, columnIndex, newValue);
|
|
61602
|
+
_super.prototype.onValueChange.call(this, newValue, oldValue);
|
|
61603
|
+
this._onChange(newValue, oldValue, row, rowIndex, columnIndex, this);
|
|
61604
|
+
}
|
|
61605
|
+
else {
|
|
61606
|
+
_super.prototype.onValueChange.call(this, newValue, oldValue);
|
|
61602
61607
|
}
|
|
61603
|
-
return result;
|
|
61604
61608
|
};
|
|
61605
|
-
Object.defineProperty(DTableBodyCellDatetime.prototype, "dialog", {
|
|
61606
|
-
get: function () {
|
|
61607
|
-
var _a;
|
|
61608
|
-
var dialog = this._dialog;
|
|
61609
|
-
if (dialog == null) {
|
|
61610
|
-
var options = (_a = this._options) === null || _a === void 0 ? void 0 : _a.dialog;
|
|
61611
|
-
if (options) {
|
|
61612
|
-
dialog = new DDialogDatetime(options);
|
|
61613
|
-
}
|
|
61614
|
-
else {
|
|
61615
|
-
dialog = DDialogDatetimes.getInstance();
|
|
61616
|
-
}
|
|
61617
|
-
this._dialog = dialog;
|
|
61618
|
-
}
|
|
61619
|
-
return dialog;
|
|
61620
|
-
},
|
|
61621
|
-
enumerable: false,
|
|
61622
|
-
configurable: true
|
|
61623
|
-
});
|
|
61624
61609
|
Object.defineProperty(DTableBodyCellDatetime.prototype, "row", {
|
|
61625
61610
|
get: function () {
|
|
61626
61611
|
return this._row;
|
|
@@ -61686,7 +61671,7 @@
|
|
|
61686
61671
|
return "DTableBodyCellDatetime";
|
|
61687
61672
|
};
|
|
61688
61673
|
return DTableBodyCellDatetime;
|
|
61689
|
-
}(
|
|
61674
|
+
}(DButtonDatetime));
|
|
61690
61675
|
|
|
61691
61676
|
/*
|
|
61692
61677
|
* Copyright (C) 2019 Toshiba Corporation
|
|
@@ -62459,56 +62444,19 @@
|
|
|
62459
62444
|
_this._onChange = onChange;
|
|
62460
62445
|
return _this;
|
|
62461
62446
|
}
|
|
62462
|
-
DTableBodyCellTime.prototype.
|
|
62463
|
-
var
|
|
62464
|
-
|
|
62465
|
-
|
|
62466
|
-
|
|
62467
|
-
|
|
62468
|
-
|
|
62469
|
-
|
|
62470
|
-
|
|
62471
|
-
|
|
62472
|
-
|
|
62473
|
-
_this.text = new Date(newValue.getTime());
|
|
62474
|
-
var row = _this._row;
|
|
62475
|
-
if (row !== undefined) {
|
|
62476
|
-
var rowIndex = _this._rowIndex;
|
|
62477
|
-
var columnIndex = _this._columnIndex;
|
|
62478
|
-
_this._column.setter(row, columnIndex, newValue);
|
|
62479
|
-
_this.emit("change", newValue, oldValue, _this);
|
|
62480
|
-
_this._onChange(newValue, oldValue, row, rowIndex, columnIndex, _this);
|
|
62481
|
-
}
|
|
62482
|
-
});
|
|
62483
|
-
};
|
|
62484
|
-
DTableBodyCellTime.prototype.getDatetimeMask = function () {
|
|
62485
|
-
var _a, _b;
|
|
62486
|
-
var result = this._datetimeMask;
|
|
62487
|
-
if (result == null) {
|
|
62488
|
-
result = DPickerTimes.toMask((_b = (_a = this._options) === null || _a === void 0 ? void 0 : _a.dialog) === null || _b === void 0 ? void 0 : _b.picker);
|
|
62489
|
-
this._datetimeMask = result;
|
|
62447
|
+
DTableBodyCellTime.prototype.onValueChange = function (newValue, oldValue) {
|
|
62448
|
+
var row = this._row;
|
|
62449
|
+
if (row !== undefined) {
|
|
62450
|
+
var rowIndex = this._rowIndex;
|
|
62451
|
+
var columnIndex = this._columnIndex;
|
|
62452
|
+
this._column.setter(row, columnIndex, newValue);
|
|
62453
|
+
_super.prototype.onValueChange.call(this, newValue, oldValue);
|
|
62454
|
+
this._onChange(newValue, oldValue, row, rowIndex, columnIndex, this);
|
|
62455
|
+
}
|
|
62456
|
+
else {
|
|
62457
|
+
_super.prototype.onValueChange.call(this, newValue, oldValue);
|
|
62490
62458
|
}
|
|
62491
|
-
return result;
|
|
62492
62459
|
};
|
|
62493
|
-
Object.defineProperty(DTableBodyCellTime.prototype, "dialog", {
|
|
62494
|
-
get: function () {
|
|
62495
|
-
var _a;
|
|
62496
|
-
var dialog = this._dialog;
|
|
62497
|
-
if (dialog == null) {
|
|
62498
|
-
var options = (_a = this._options) === null || _a === void 0 ? void 0 : _a.dialog;
|
|
62499
|
-
if (options) {
|
|
62500
|
-
dialog = new DDialogTime(options);
|
|
62501
|
-
}
|
|
62502
|
-
else {
|
|
62503
|
-
dialog = DDialogTimes.getInstance();
|
|
62504
|
-
}
|
|
62505
|
-
this._dialog = dialog;
|
|
62506
|
-
}
|
|
62507
|
-
return dialog;
|
|
62508
|
-
},
|
|
62509
|
-
enumerable: false,
|
|
62510
|
-
configurable: true
|
|
62511
|
-
});
|
|
62512
62460
|
Object.defineProperty(DTableBodyCellTime.prototype, "row", {
|
|
62513
62461
|
get: function () {
|
|
62514
62462
|
return this._row;
|
|
@@ -62574,7 +62522,7 @@
|
|
|
62574
62522
|
return "DTableBodyCellTime";
|
|
62575
62523
|
};
|
|
62576
62524
|
return DTableBodyCellTime;
|
|
62577
|
-
}(
|
|
62525
|
+
}(DButtonTime));
|
|
62578
62526
|
|
|
62579
62527
|
/*
|
|
62580
62528
|
* Copyright (C) 2019 Toshiba Corporation
|
|
@@ -62583,8 +62531,9 @@
|
|
|
62583
62531
|
var DTableBodyCellTree = /** @class */ (function (_super) {
|
|
62584
62532
|
__extends(DTableBodyCellTree, _super);
|
|
62585
62533
|
function DTableBodyCellTree(columnIndex, column, onChange, options) {
|
|
62534
|
+
var _this = this;
|
|
62586
62535
|
var _a;
|
|
62587
|
-
|
|
62536
|
+
_this = _super.call(this, columnIndex, column, onChange, DLinks.toStateOptions((_a = options === null || options === void 0 ? void 0 : options.link) === null || _a === void 0 ? void 0 : _a.target, options)) || this;
|
|
62588
62537
|
_this._padding = new DBasePaddingAdjustable(_this._padding);
|
|
62589
62538
|
return _this;
|
|
62590
62539
|
}
|
|
@@ -62710,8 +62659,9 @@
|
|
|
62710
62659
|
var DTableRow = /** @class */ (function (_super) {
|
|
62711
62660
|
__extends(DTableRow, _super);
|
|
62712
62661
|
function DTableRow(options) {
|
|
62662
|
+
var _this = this;
|
|
62713
62663
|
var _a, _b;
|
|
62714
|
-
|
|
62664
|
+
_this = _super.call(this, options) || this;
|
|
62715
62665
|
_this._reverse = true;
|
|
62716
62666
|
_this._frozen = (_a = options.frozen) !== null && _a !== void 0 ? _a : 0;
|
|
62717
62667
|
_this._columns = (_b = options.columns) !== null && _b !== void 0 ? _b : [];
|
|
@@ -63318,8 +63268,9 @@
|
|
|
63318
63268
|
var DTableDataListSelection = /** @class */ (function (_super) {
|
|
63319
63269
|
__extends(DTableDataListSelection, _super);
|
|
63320
63270
|
function DTableDataListSelection(parent, options) {
|
|
63271
|
+
var _this = this;
|
|
63321
63272
|
var _a;
|
|
63322
|
-
|
|
63273
|
+
_this = _super.call(this) || this;
|
|
63323
63274
|
_this._parent = parent;
|
|
63324
63275
|
_this._type = toEnum((_a = options === null || options === void 0 ? void 0 : options.type) !== null && _a !== void 0 ? _a : DTableDataSelectionType.NONE, DTableDataSelectionType);
|
|
63325
63276
|
_this._indices = new Set();
|
|
@@ -63998,8 +63949,9 @@
|
|
|
63998
63949
|
var DTableBody = /** @class */ (function (_super) {
|
|
63999
63950
|
__extends(DTableBody, _super);
|
|
64000
63951
|
function DTableBody(options) {
|
|
63952
|
+
var _this = this;
|
|
64001
63953
|
var _a;
|
|
64002
|
-
|
|
63954
|
+
_this = _super.call(this, options) || this;
|
|
64003
63955
|
_this.transform.position.y = (_a = options.offset) !== null && _a !== void 0 ? _a : 0;
|
|
64004
63956
|
var data = _this.toData(options.data);
|
|
64005
63957
|
_this._data = data;
|
|
@@ -64386,8 +64338,9 @@
|
|
|
64386
64338
|
var DTableCategory = /** @class */ (function (_super) {
|
|
64387
64339
|
__extends(DTableCategory, _super);
|
|
64388
64340
|
function DTableCategory(options) {
|
|
64341
|
+
var _this = this;
|
|
64389
64342
|
var _a;
|
|
64390
|
-
|
|
64343
|
+
_this = _super.call(this, options) || this;
|
|
64391
64344
|
var offset = (_a = options.offset) !== null && _a !== void 0 ? _a : 0;
|
|
64392
64345
|
_this._offset = offset;
|
|
64393
64346
|
_this.transform.position.y = offset;
|
|
@@ -64645,8 +64598,9 @@
|
|
|
64645
64598
|
var DTableDataTreeSelectionImpl = /** @class */ (function (_super) {
|
|
64646
64599
|
__extends(DTableDataTreeSelectionImpl, _super);
|
|
64647
64600
|
function DTableDataTreeSelectionImpl(parent, options) {
|
|
64601
|
+
var _this = this;
|
|
64648
64602
|
var _a;
|
|
64649
|
-
|
|
64603
|
+
_this = _super.call(this) || this;
|
|
64650
64604
|
_this._parent = parent;
|
|
64651
64605
|
_this._type = toEnum((_a = options === null || options === void 0 ? void 0 : options.type) !== null && _a !== void 0 ? _a : DTableDataSelectionType.NONE, DTableDataSelectionType);
|
|
64652
64606
|
_this._rows = new Set();
|
|
@@ -65620,8 +65574,9 @@
|
|
|
65620
65574
|
var DTableHeader = /** @class */ (function (_super) {
|
|
65621
65575
|
__extends(DTableHeader, _super);
|
|
65622
65576
|
function DTableHeader(options) {
|
|
65577
|
+
var _this = this;
|
|
65623
65578
|
var _a, _b;
|
|
65624
|
-
|
|
65579
|
+
_this = _super.call(this, options) || this;
|
|
65625
65580
|
_this._table = (_a = options.table) !== null && _a !== void 0 ? _a : null;
|
|
65626
65581
|
var offset = (_b = options.offset) !== null && _b !== void 0 ? _b : 0;
|
|
65627
65582
|
_this._offset = offset;
|
|
@@ -67655,8 +67610,9 @@
|
|
|
67655
67610
|
var DTreeItemButton = /** @class */ (function (_super) {
|
|
67656
67611
|
__extends(DTreeItemButton, _super);
|
|
67657
67612
|
function DTreeItemButton(data, options) {
|
|
67613
|
+
var _this = this;
|
|
67658
67614
|
var _a;
|
|
67659
|
-
|
|
67615
|
+
_this = _super.call(this, data, options) || this;
|
|
67660
67616
|
var when = toEnum((_a = options === null || options === void 0 ? void 0 : options.when) !== null && _a !== void 0 ? _a : DButtonBaseWhen.CLICKED, DButtonBaseWhen);
|
|
67661
67617
|
_this._when = when;
|
|
67662
67618
|
_this.initOnClick(when, _this.theme, options);
|
|
@@ -68646,9 +68602,7 @@
|
|
|
68646
68602
|
DDialogConfirmMessage: DDialogConfirmMessage,
|
|
68647
68603
|
DDialogConfirm: DDialogConfirm,
|
|
68648
68604
|
DDialogDate: DDialogDate,
|
|
68649
|
-
DDialogDates: DDialogDates,
|
|
68650
68605
|
DDialogDatetime: DDialogDatetime,
|
|
68651
|
-
DDialogDatetimes: DDialogDatetimes,
|
|
68652
68606
|
DDialogInputBoolean: DDialogInputBoolean,
|
|
68653
68607
|
DDialogInputInteger: DDialogInputInteger,
|
|
68654
68608
|
DDialogInputReal: DDialogInputReal,
|
|
@@ -68666,7 +68620,6 @@
|
|
|
68666
68620
|
DDialogSelect: DDialogSelect,
|
|
68667
68621
|
DDialogState: DDialogState,
|
|
68668
68622
|
DDialogTime: DDialogTime,
|
|
68669
|
-
DDialogTimes: DDialogTimes,
|
|
68670
68623
|
DDialog: DDialog,
|
|
68671
68624
|
DDropdownBase: DDropdownBase,
|
|
68672
68625
|
DDropdown: DDropdown,
|
|
@@ -68684,6 +68637,15 @@
|
|
|
68684
68637
|
DImageBaseThemeWrapperSecondary: DImageBaseThemeWrapperSecondary,
|
|
68685
68638
|
DImageBaseThemeWrapperTertiary: DImageBaseThemeWrapperTertiary,
|
|
68686
68639
|
DImageBase: DImageBase,
|
|
68640
|
+
DImagePieceLayouterPartBottom: DImagePieceLayouterPartBottom,
|
|
68641
|
+
DImagePieceLayouterPartCenter: DImagePieceLayouterPartCenter,
|
|
68642
|
+
DImagePieceLayouterPartContainer: DImagePieceLayouterPartContainer,
|
|
68643
|
+
DImagePieceLayouterPartLeft: DImagePieceLayouterPartLeft,
|
|
68644
|
+
DImagePieceLayouterPartMiddle: DImagePieceLayouterPartMiddle,
|
|
68645
|
+
DImagePieceLayouterPartRight: DImagePieceLayouterPartRight,
|
|
68646
|
+
DImagePieceLayouterPartTop: DImagePieceLayouterPartTop,
|
|
68647
|
+
DImagePieceLayouterPart: DImagePieceLayouterPart,
|
|
68648
|
+
DImagePieceLayouter: DImagePieceLayouter,
|
|
68687
68649
|
DImagePiece: DImagePiece,
|
|
68688
68650
|
DImage: DImage,
|
|
68689
68651
|
DInputAndLabel: DInputAndLabel,
|