@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.cjs.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
|
|
|
@@ -1698,7 +1698,7 @@ var EShapeFillImpl = /** @class */ (function () {
|
|
|
1698
1698
|
};
|
|
1699
1699
|
};
|
|
1700
1700
|
EShapeFillImpl.prototype.serialize = function (manager) {
|
|
1701
|
-
var stringified = "["
|
|
1701
|
+
var stringified = "[".concat(this._enable ? 1 : 0, ",").concat(this._color, ",").concat(this._alpha, "]");
|
|
1702
1702
|
return manager.addResource(stringified);
|
|
1703
1703
|
};
|
|
1704
1704
|
EShapeFillImpl.prototype.deserialize = function (target, manager) {
|
|
@@ -2090,7 +2090,7 @@ var EShapeBarPoints = /** @class */ (function () {
|
|
|
2090
2090
|
return result;
|
|
2091
2091
|
};
|
|
2092
2092
|
EShapeBarPoints.prototype.serialize = function (manager) {
|
|
2093
|
-
return manager.addResource("["
|
|
2093
|
+
return manager.addResource("[".concat(this._position, ",").concat(this._size, ",").concat(this._style, "]"));
|
|
2094
2094
|
};
|
|
2095
2095
|
EShapeBarPoints.prototype.deserialize = function (resourceId, manager) {
|
|
2096
2096
|
if (0 <= resourceId && resourceId < manager.resources.length) {
|
|
@@ -3710,10 +3710,10 @@ var hitTestBBox = function (x, y, ax, ay) {
|
|
|
3710
3710
|
*/
|
|
3711
3711
|
var toGradientSerialized = function (gradient) {
|
|
3712
3712
|
var points = gradient.points;
|
|
3713
|
-
var result = "["
|
|
3713
|
+
var result = "[".concat(gradient.direction);
|
|
3714
3714
|
for (var i = 0, imax = points.length, j = 1; i < imax; i += 1, j += 3) {
|
|
3715
3715
|
var point = points[i];
|
|
3716
|
-
result += ","
|
|
3716
|
+
result += ",".concat(point.color, ",").concat(point.alpha, ",").concat(point.position);
|
|
3717
3717
|
}
|
|
3718
3718
|
result += "]";
|
|
3719
3719
|
return result;
|
|
@@ -4605,7 +4605,7 @@ var EShapeStrokeImpl = /** @class */ (function () {
|
|
|
4605
4605
|
};
|
|
4606
4606
|
EShapeStrokeImpl.prototype.serialize = function (manager) {
|
|
4607
4607
|
var enable = this._enable ? 1 : 0;
|
|
4608
|
-
var serialized = "["
|
|
4608
|
+
var serialized = "[".concat(enable, ",").concat(this._color, ",").concat(this._alpha, ",").concat(this._width, ",").concat(this._align, ",").concat(this._side, ",").concat(this._style, "]");
|
|
4609
4609
|
return manager.addResource(serialized);
|
|
4610
4610
|
};
|
|
4611
4611
|
EShapeStrokeImpl.prototype.deserialize = function (target, manager) {
|
|
@@ -4835,7 +4835,7 @@ var EShapeDataValueRangeImpl = /** @class */ (function () {
|
|
|
4835
4835
|
};
|
|
4836
4836
|
};
|
|
4837
4837
|
EShapeDataValueRangeImpl.prototype.serialize = function (manager) {
|
|
4838
|
-
var serialized = "["
|
|
4838
|
+
var serialized = "[".concat(this._type, ",").concat(this._from, ",").concat(this._to, "]");
|
|
4839
4839
|
return manager.addResource(serialized);
|
|
4840
4840
|
};
|
|
4841
4841
|
EShapeDataValueRangeImpl.prototype.deserialize = function (target, manager) {
|
|
@@ -5345,7 +5345,7 @@ var EShapeDataValueImpl = /** @class */ (function () {
|
|
|
5345
5345
|
var initialSerialized = manager.addResource(this.initial);
|
|
5346
5346
|
var formatSerialized = manager.addResource(this.format.trim());
|
|
5347
5347
|
var rangeSerialized = this.range.serialize(manager);
|
|
5348
|
-
return manager.addResource("["
|
|
5348
|
+
return manager.addResource("[".concat(idSerialized, ",").concat(initialSerialized, ",").concat(formatSerialized, ",").concat(rangeSerialized, ",").concat(this._capacity, ",").concat(this._order, "]"));
|
|
5349
5349
|
};
|
|
5350
5350
|
EShapeDataValueImpl.prototype.deserialize = function (target, manager) {
|
|
5351
5351
|
var resources = manager.resources;
|
|
@@ -5585,9 +5585,9 @@ var EShapeDataImpl = /** @class */ (function () {
|
|
|
5585
5585
|
return manager.addResource("[]");
|
|
5586
5586
|
}
|
|
5587
5587
|
else {
|
|
5588
|
-
var serialized = "["
|
|
5588
|
+
var serialized = "[".concat(values[0].serialize(manager));
|
|
5589
5589
|
for (var i = 1, imax = values.length; i < imax; ++i) {
|
|
5590
|
-
serialized += ","
|
|
5590
|
+
serialized += ",".concat(values[i].serialize(manager));
|
|
5591
5591
|
}
|
|
5592
5592
|
serialized += "]";
|
|
5593
5593
|
return manager.addResource(serialized);
|
|
@@ -5677,7 +5677,7 @@ var EShapeTextAlignImpl = /** @class */ (function () {
|
|
|
5677
5677
|
};
|
|
5678
5678
|
};
|
|
5679
5679
|
EShapeTextAlignImpl.prototype.serialize = function (manager) {
|
|
5680
|
-
return manager.addResource("["
|
|
5680
|
+
return manager.addResource("[".concat(this._horizontal, ",").concat(this._vertical, "]"));
|
|
5681
5681
|
};
|
|
5682
5682
|
EShapeTextAlignImpl.prototype.deserialize = function (target, manager) {
|
|
5683
5683
|
var resources = manager.resources;
|
|
@@ -5758,7 +5758,7 @@ var EShapeTextOffsetImpl = /** @class */ (function () {
|
|
|
5758
5758
|
};
|
|
5759
5759
|
};
|
|
5760
5760
|
EShapeTextOffsetImpl.prototype.serialize = function (manager) {
|
|
5761
|
-
return manager.addResource("["
|
|
5761
|
+
return manager.addResource("[".concat(this._horizontal, ",").concat(this._vertical, "]"));
|
|
5762
5762
|
};
|
|
5763
5763
|
EShapeTextOffsetImpl.prototype.deserialize = function (target, manager) {
|
|
5764
5764
|
var resources = manager.resources;
|
|
@@ -5880,7 +5880,7 @@ var EShapeTextOutlineImpl = /** @class */ (function () {
|
|
|
5880
5880
|
};
|
|
5881
5881
|
};
|
|
5882
5882
|
EShapeTextOutlineImpl.prototype.serialize = function (manager) {
|
|
5883
|
-
var serialized = "["
|
|
5883
|
+
var serialized = "[".concat(this._enable ? 1 : 0, ",").concat(this._color, ",").concat(this._alpha, ",").concat(this._width, "]");
|
|
5884
5884
|
return manager.addResource(serialized);
|
|
5885
5885
|
};
|
|
5886
5886
|
EShapeTextOutlineImpl.prototype.deserialize = function (target, manager) {
|
|
@@ -6164,9 +6164,9 @@ var EShapeTextImpl = /** @class */ (function () {
|
|
|
6164
6164
|
var outlineId = this.outline.serialize(manager);
|
|
6165
6165
|
var spacingId = this.spacing.serialize(manager);
|
|
6166
6166
|
var paddingId = this.padding.serialize(manager);
|
|
6167
|
-
var serialized = "["
|
|
6168
|
-
(this._weight
|
|
6169
|
-
(spacingId
|
|
6167
|
+
var serialized = "[".concat(valueId, ",").concat(this._color, ",").concat(this._alpha, ",").concat(familyId, ",").concat(this._size, ",") +
|
|
6168
|
+
"".concat(this._weight, ",").concat(alignId, ",").concat(offsetId, ",").concat(this._style, ",").concat(outlineId, ",") +
|
|
6169
|
+
"".concat(spacingId, ",").concat(this._direction, ",").concat(paddingId, ",").concat(this._clipping ? 1 : 0, "]");
|
|
6170
6170
|
return manager.addResource(serialized);
|
|
6171
6171
|
};
|
|
6172
6172
|
EShapeTextImpl.prototype.deserialize = function (target, manager) {
|
|
@@ -6978,7 +6978,7 @@ var UtilRgb = /** @class */ (function () {
|
|
|
6978
6978
|
UtilRgb.fromCode = function (code) {
|
|
6979
6979
|
var trimmed = code.trim().toLowerCase();
|
|
6980
6980
|
if (trimmed.length === 6) {
|
|
6981
|
-
var color = Number("0x"
|
|
6981
|
+
var color = Number("0x".concat(trimmed));
|
|
6982
6982
|
if (color === color) {
|
|
6983
6983
|
return color;
|
|
6984
6984
|
}
|
|
@@ -7603,13 +7603,13 @@ var EShapeActionExpressions = /** @class */ (function () {
|
|
|
7603
7603
|
"with( shape ) {" +
|
|
7604
7604
|
"with( state ) {" +
|
|
7605
7605
|
(nullable ?
|
|
7606
|
-
("var result = ("
|
|
7607
|
-
|
|
7608
|
-
"return "
|
|
7606
|
+
("var result = (".concat(expression, ");") +
|
|
7607
|
+
"return (result != null ? ".concat(caster, "(result) : null);")) :
|
|
7608
|
+
"return ".concat(caster, "(").concat(expression, ");")) +
|
|
7609
7609
|
"}" +
|
|
7610
7610
|
"}" +
|
|
7611
7611
|
"} catch( e ) {" +
|
|
7612
|
-
|
|
7612
|
+
"return ".concat(defLiteral, ";") +
|
|
7613
7613
|
"}";
|
|
7614
7614
|
/* eslint-enable prettier/prettier */
|
|
7615
7615
|
if (parameter == null) {
|
|
@@ -8006,7 +8006,7 @@ var EShapeActionValueBlink = /** @class */ (function (_super) {
|
|
|
8006
8006
|
};
|
|
8007
8007
|
EShapeActionValueBlink.prototype.serialize = function (manager) {
|
|
8008
8008
|
var conditionId = manager.addResource(this.condition);
|
|
8009
|
-
return manager.addResource("["
|
|
8009
|
+
return manager.addResource("[".concat(this.type, ",").concat(conditionId, ",").concat(this.subtype, ",").concat(this.interval, ",").concat(this.color, ",").concat(this.alpha, "]"));
|
|
8010
8010
|
};
|
|
8011
8011
|
EShapeActionValueBlink.deserialize = function (serialized, manager) {
|
|
8012
8012
|
var condition = EShapeActionValues.toResource(1, serialized, manager.resources);
|
|
@@ -8320,7 +8320,7 @@ var EShapeActionValueChangeColor = /** @class */ (function (_super) {
|
|
|
8320
8320
|
EShapeActionValueChangeColor.prototype.serialize = function (manager) {
|
|
8321
8321
|
var conditionId = manager.addResource(this.condition);
|
|
8322
8322
|
var blendId = manager.addResource(this.blend);
|
|
8323
|
-
return manager.addResource("["
|
|
8323
|
+
return manager.addResource("[".concat(this.type, ",").concat(conditionId, ",").concat(this.subtype, ",").concat(this.target, ",").concat(this.color, ",").concat(this.alpha, ",").concat(blendId, "]"));
|
|
8324
8324
|
};
|
|
8325
8325
|
EShapeActionValueChangeColor.deserialize = function (serialized, manager) {
|
|
8326
8326
|
var subtype = EShapeActionValueChangeColorTypes.from(serialized);
|
|
@@ -8405,7 +8405,7 @@ var EShapeActionValueChangeColorBrightness = /** @class */ (function (_super) {
|
|
|
8405
8405
|
var conditionId = manager.addResource(this.condition);
|
|
8406
8406
|
var target = EShapeActionValueChangeColorTarget.BRIGHTNESS;
|
|
8407
8407
|
var brightnessId = manager.addResource(this.brightness);
|
|
8408
|
-
return manager.addResource("["
|
|
8408
|
+
return manager.addResource("[".concat(this.type, ",").concat(conditionId, ",").concat(this.subtype, ",").concat(target, ",").concat(brightnessId, "]"));
|
|
8409
8409
|
};
|
|
8410
8410
|
EShapeActionValueChangeColorBrightness.deserialize = function (serialized, manager) {
|
|
8411
8411
|
var subtype = EShapeActionValueChangeColorTypes.from(serialized);
|
|
@@ -8469,7 +8469,7 @@ var EShapeActionValueChangeColorCode = /** @class */ (function (_super) {
|
|
|
8469
8469
|
var colorId = manager.addResource(this.color);
|
|
8470
8470
|
var alphaId = manager.addResource(this.alpha);
|
|
8471
8471
|
var blendId = manager.addResource(this.blend);
|
|
8472
|
-
return manager.addResource("["
|
|
8472
|
+
return manager.addResource("[".concat(this.type, ",").concat(conditionId, ",").concat(this.subtype, ",").concat(target, ",").concat(colorId, ",").concat(alphaId, ",").concat(blendId, "]"));
|
|
8473
8473
|
};
|
|
8474
8474
|
EShapeActionValueChangeColorCode.deserialize = function (serialized, manager) {
|
|
8475
8475
|
var subtype = EShapeActionValueChangeColorTypes.from(serialized);
|
|
@@ -8527,7 +8527,7 @@ var EShapeActionValueChangeCursor = /** @class */ (function (_super) {
|
|
|
8527
8527
|
EShapeActionValueChangeCursor.prototype.serialize = function (manager) {
|
|
8528
8528
|
var conditionId = manager.addResource(this.condition);
|
|
8529
8529
|
var nameId = manager.addResource(this.name);
|
|
8530
|
-
return manager.addResource("["
|
|
8530
|
+
return manager.addResource("[".concat(this.type, ",").concat(conditionId, ",").concat(nameId, "]"));
|
|
8531
8531
|
};
|
|
8532
8532
|
EShapeActionValueChangeCursor.deserialize = function (serialized, manager) {
|
|
8533
8533
|
var condition = EShapeActionValues.toResource(1, serialized, manager.resources);
|
|
@@ -8584,7 +8584,7 @@ var FormatNoded = /** @class */ (function () {
|
|
|
8584
8584
|
function FormatNoded() {
|
|
8585
8585
|
}
|
|
8586
8586
|
FormatNoded.prototype.format = function (target, step, date) {
|
|
8587
|
-
return ""
|
|
8587
|
+
return "".concat(target | 0);
|
|
8588
8588
|
};
|
|
8589
8589
|
return FormatNoded;
|
|
8590
8590
|
}());
|
|
@@ -8706,7 +8706,7 @@ var FormatNodefsi = /** @class */ (function (_super) {
|
|
|
8706
8706
|
};
|
|
8707
8707
|
FormatNodefsi.prototype.format_ = function (target, unitInverse, postfix) {
|
|
8708
8708
|
var value = target * unitInverse;
|
|
8709
|
-
return ""
|
|
8709
|
+
return "".concat(value.toFixed(this.precision)).concat(postfix);
|
|
8710
8710
|
};
|
|
8711
8711
|
return FormatNodefsi;
|
|
8712
8712
|
}(FormatNodePrecision));
|
|
@@ -8799,7 +8799,7 @@ var FormatNodeP = /** @class */ (function () {
|
|
|
8799
8799
|
function FormatNodeP() {
|
|
8800
8800
|
}
|
|
8801
8801
|
FormatNodeP.prototype.format = function (target, step, date) {
|
|
8802
|
-
return ((target * 100) | 0
|
|
8802
|
+
return "".concat((target * 100) | 0, "%");
|
|
8803
8803
|
};
|
|
8804
8804
|
return FormatNodeP;
|
|
8805
8805
|
}());
|
|
@@ -8812,7 +8812,7 @@ var FormatNodep = /** @class */ (function () {
|
|
|
8812
8812
|
function FormatNodep() {
|
|
8813
8813
|
}
|
|
8814
8814
|
FormatNodep.prototype.format = function (target, step, date) {
|
|
8815
|
-
return (target | 0
|
|
8815
|
+
return "".concat(target | 0, "%");
|
|
8816
8816
|
};
|
|
8817
8817
|
return FormatNodep;
|
|
8818
8818
|
}());
|
|
@@ -8844,7 +8844,7 @@ var FormatNodeParenthesis = /** @class */ (function () {
|
|
|
8844
8844
|
FormatNodeParenthesis.prototype.format = function (target, step, date) {
|
|
8845
8845
|
var result = this.node.format(target, step, date);
|
|
8846
8846
|
if (0 < result.length && result[0] === "-") {
|
|
8847
|
-
return "("
|
|
8847
|
+
return "(".concat(result.substring(1, result.length), ")");
|
|
8848
8848
|
}
|
|
8849
8849
|
return result;
|
|
8850
8850
|
};
|
|
@@ -8862,7 +8862,7 @@ var FormatNodePlus = /** @class */ (function () {
|
|
|
8862
8862
|
FormatNodePlus.prototype.format = function (target, step, date) {
|
|
8863
8863
|
var result = this.node.format(target, step, date);
|
|
8864
8864
|
if (0 < result.length && result[0] !== "-") {
|
|
8865
|
-
return "+"
|
|
8865
|
+
return "+".concat(result);
|
|
8866
8866
|
}
|
|
8867
8867
|
return result;
|
|
8868
8868
|
};
|
|
@@ -8877,7 +8877,7 @@ var FormatNodeRP = /** @class */ (function () {
|
|
|
8877
8877
|
function FormatNodeRP() {
|
|
8878
8878
|
}
|
|
8879
8879
|
FormatNodeRP.prototype.format = function (target, step, date) {
|
|
8880
|
-
return Math.round(target * 100)
|
|
8880
|
+
return "".concat(Math.round(target * 100), "%");
|
|
8881
8881
|
};
|
|
8882
8882
|
return FormatNodeRP;
|
|
8883
8883
|
}());
|
|
@@ -8890,7 +8890,7 @@ var FormatNoderp = /** @class */ (function () {
|
|
|
8890
8890
|
function FormatNoderp() {
|
|
8891
8891
|
}
|
|
8892
8892
|
FormatNoderp.prototype.format = function (target, step, date) {
|
|
8893
|
-
return Math.round(target)
|
|
8893
|
+
return "".concat(Math.round(target), "%");
|
|
8894
8894
|
};
|
|
8895
8895
|
return FormatNoderp;
|
|
8896
8896
|
}());
|
|
@@ -8911,24 +8911,24 @@ var FormatNodesdt = /** @class */ (function () {
|
|
|
8911
8911
|
}
|
|
8912
8912
|
FormatNodesdt.prototype.format = function (target, step, date) {
|
|
8913
8913
|
if (step < 1000) {
|
|
8914
|
-
return this.s.format(target, step, date)
|
|
8914
|
+
return "".concat(this.s.format(target, step, date), ".").concat(this.mi.format(target, step, date));
|
|
8915
8915
|
}
|
|
8916
8916
|
else if (step < 60000) {
|
|
8917
|
-
return this.m.format(target, step, date)
|
|
8917
|
+
return "".concat(this.m.format(target, step, date), ":").concat(this.s.format(target, step, date));
|
|
8918
8918
|
}
|
|
8919
8919
|
else if (step < 3600000) {
|
|
8920
|
-
return this.H.format(target, step, date)
|
|
8920
|
+
return "".concat(this.H.format(target, step, date), ":").concat(this.m.format(target, step, date));
|
|
8921
8921
|
}
|
|
8922
8922
|
else if (step < 86400000) {
|
|
8923
8923
|
var M = this.M.format(target, step, date);
|
|
8924
8924
|
var D = this.D.format(target, step, date);
|
|
8925
|
-
return M
|
|
8925
|
+
return "".concat(M, "/").concat(D, " ").concat(this.H.format(target, step, date));
|
|
8926
8926
|
}
|
|
8927
8927
|
else if (step < 2592000000) {
|
|
8928
|
-
return this.M.format(target, step, date)
|
|
8928
|
+
return "".concat(this.M.format(target, step, date), "/").concat(this.D.format(target, step, date));
|
|
8929
8929
|
}
|
|
8930
8930
|
else {
|
|
8931
|
-
return this.Y.format(target, step, date)
|
|
8931
|
+
return "".concat(this.Y.format(target, step, date), "/").concat(this.M.format(target, step, date));
|
|
8932
8932
|
}
|
|
8933
8933
|
};
|
|
8934
8934
|
return FormatNodesdt;
|
|
@@ -8945,7 +8945,7 @@ var FormatNodeSpace = /** @class */ (function () {
|
|
|
8945
8945
|
FormatNodeSpace.prototype.format = function (target, step, date) {
|
|
8946
8946
|
var result = this.node.format(target, step, date);
|
|
8947
8947
|
if (0 < result.length && result[0] !== "-") {
|
|
8948
|
-
return " "
|
|
8948
|
+
return " ".concat(result);
|
|
8949
8949
|
}
|
|
8950
8950
|
return result;
|
|
8951
8951
|
};
|
|
@@ -9019,7 +9019,7 @@ var FormatNodez = /** @class */ (function () {
|
|
|
9019
9019
|
var tzs = z <= 0 ? "+" : "-";
|
|
9020
9020
|
var tzh = toPadded(String(Math.floor(Math.abs(z) / 60)), 2, "0");
|
|
9021
9021
|
var tzm = toPadded(String(Math.floor(Math.abs(z) % 60)), 2, "0");
|
|
9022
|
-
return ""
|
|
9022
|
+
return "".concat(tzs).concat(tzh, ":").concat(tzm);
|
|
9023
9023
|
};
|
|
9024
9024
|
return FormatNodez;
|
|
9025
9025
|
}());
|
|
@@ -9032,7 +9032,7 @@ var FormatNoderd = /** @class */ (function () {
|
|
|
9032
9032
|
function FormatNoderd() {
|
|
9033
9033
|
}
|
|
9034
9034
|
FormatNoderd.prototype.format = function (target, step, date) {
|
|
9035
|
-
return ""
|
|
9035
|
+
return "".concat(Math.round(target));
|
|
9036
9036
|
};
|
|
9037
9037
|
return FormatNoderd;
|
|
9038
9038
|
}());
|
|
@@ -9397,7 +9397,7 @@ var EShapeActionValueChangeText = /** @class */ (function (_super) {
|
|
|
9397
9397
|
EShapeActionValueChangeText.prototype.serialize = function (manager) {
|
|
9398
9398
|
var conditionId = manager.addResource(this.condition);
|
|
9399
9399
|
var valueId = manager.addResource(this.value);
|
|
9400
|
-
return manager.addResource("["
|
|
9400
|
+
return manager.addResource("[".concat(this.type, ",").concat(conditionId, ",").concat(this.subtype, ",").concat(valueId, "]"));
|
|
9401
9401
|
};
|
|
9402
9402
|
EShapeActionValueChangeText.deserialize = function (serialized, manager) {
|
|
9403
9403
|
var condition = EShapeActionValues.toResource(1, serialized, manager.resources);
|
|
@@ -11334,7 +11334,7 @@ var DScalarExpression = /** @class */ (function () {
|
|
|
11334
11334
|
return;
|
|
11335
11335
|
}
|
|
11336
11336
|
}
|
|
11337
|
-
throw new Error("Failed to parse '"
|
|
11337
|
+
throw new Error("Failed to parse '".concat(expression, "'"));
|
|
11338
11338
|
}
|
|
11339
11339
|
DScalarExpression.prototype.toParensesis = function (nodes, ifrom) {
|
|
11340
11340
|
var ito = nodes.length;
|
|
@@ -11487,7 +11487,7 @@ var DScalarExpression = /** @class */ (function () {
|
|
|
11487
11487
|
continue;
|
|
11488
11488
|
}
|
|
11489
11489
|
}
|
|
11490
|
-
throw new Error("Malformed operands for the operator "
|
|
11490
|
+
throw new Error("Malformed operands for the operator ".concat(node));
|
|
11491
11491
|
}
|
|
11492
11492
|
else {
|
|
11493
11493
|
this.toArithmeticNode(node, operatorA, operatorB);
|
|
@@ -11508,7 +11508,7 @@ var DScalarExpression = /** @class */ (function () {
|
|
|
11508
11508
|
else {
|
|
11509
11509
|
var parsedToken = parseFloat(token);
|
|
11510
11510
|
if (parsedToken !== parsedToken) {
|
|
11511
|
-
throw new Error("Unexpected token '"
|
|
11511
|
+
throw new Error("Unexpected token '".concat(token, "' at ").concat(matched.index, " in '").concat(expression, "'"));
|
|
11512
11512
|
}
|
|
11513
11513
|
var tokenTypeLiteral = this.toTokenLiteral(token);
|
|
11514
11514
|
if (tokenTypeLiteral != null) {
|
|
@@ -12143,8 +12143,9 @@ var toShortcuts = function (options) {
|
|
|
12143
12143
|
var DBase = /** @class */ (function (_super) {
|
|
12144
12144
|
__extends(DBase, _super);
|
|
12145
12145
|
function DBase(options) {
|
|
12146
|
+
var _this = this;
|
|
12146
12147
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
12147
|
-
|
|
12148
|
+
_this = _super.call(this) || this;
|
|
12148
12149
|
// Transform
|
|
12149
12150
|
var transform = _this.transform;
|
|
12150
12151
|
_this._position = new DBasePoint(transform.position, function (newX, newY, oldX, oldY) {
|
|
@@ -13591,8 +13592,9 @@ var DAnimationTimings = /** @class */ (function () {
|
|
|
13591
13592
|
var DAnimationBase = /** @class */ (function (_super) {
|
|
13592
13593
|
__extends(DAnimationBase, _super);
|
|
13593
13594
|
function DAnimationBase(options) {
|
|
13595
|
+
var _this = this;
|
|
13594
13596
|
var _a, _b, _c;
|
|
13595
|
-
|
|
13597
|
+
_this = _super.call(this) || this;
|
|
13596
13598
|
_this._id = null;
|
|
13597
13599
|
_this._target = (_a = options === null || options === void 0 ? void 0 : options.target) !== null && _a !== void 0 ? _a : null;
|
|
13598
13600
|
_this._startTime = 0;
|
|
@@ -14787,7 +14789,7 @@ var EShapeActionValueEmitEvent = /** @class */ (function (_super) {
|
|
|
14787
14789
|
EShapeActionValueEmitEvent.prototype.serialize = function (manager) {
|
|
14788
14790
|
var conditionId = manager.addResource(this.condition);
|
|
14789
14791
|
var nameId = manager.addResource(this.name);
|
|
14790
|
-
return manager.addResource("["
|
|
14792
|
+
return manager.addResource("[".concat(this.type, ",").concat(conditionId, ",").concat(nameId, "]"));
|
|
14791
14793
|
};
|
|
14792
14794
|
EShapeActionValueEmitEvent.deserialize = function (serialized, manager) {
|
|
14793
14795
|
var condition = EShapeActionValues.toResource(1, serialized, manager.resources);
|
|
@@ -15553,8 +15555,9 @@ var EShapeActionRuntimeMiscHtmlElement = /** @class */ (function (_super) {
|
|
|
15553
15555
|
var UtilInput = /** @class */ (function (_super) {
|
|
15554
15556
|
__extends(UtilInput, _super);
|
|
15555
15557
|
function UtilInput(target, operation, theme, options) {
|
|
15556
|
-
var
|
|
15557
|
-
var
|
|
15558
|
+
var _this = this;
|
|
15559
|
+
var _a, _b, _c, _d, _e, _f;
|
|
15560
|
+
_this = _super.call(this, target, operation, theme, options) || this;
|
|
15558
15561
|
_this._operation = operation;
|
|
15559
15562
|
_this._onInputKeyDownBound = function (e) {
|
|
15560
15563
|
_this.onInputKeyDown(e);
|
|
@@ -15568,9 +15571,9 @@ var UtilInput = /** @class */ (function (_super) {
|
|
|
15568
15571
|
_this._description = (_a = options === null || options === void 0 ? void 0 : options.description) !== null && _a !== void 0 ? _a : "";
|
|
15569
15572
|
var editing = options === null || options === void 0 ? void 0 : options.editing;
|
|
15570
15573
|
_this._editingFormatter =
|
|
15571
|
-
(
|
|
15572
|
-
_this._editingUnformatter = (
|
|
15573
|
-
_this._editingValidator = (
|
|
15574
|
+
(_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();
|
|
15575
|
+
_this._editingUnformatter = (_e = editing === null || editing === void 0 ? void 0 : editing.unformatter) !== null && _e !== void 0 ? _e : theme.getEditingUnformatter();
|
|
15576
|
+
_this._editingValidator = (_f = editing === null || editing === void 0 ? void 0 : editing.validator) !== null && _f !== void 0 ? _f : theme.getEditingValidator();
|
|
15574
15577
|
return _this;
|
|
15575
15578
|
}
|
|
15576
15579
|
UtilInput.prototype.onEnd = function () {
|
|
@@ -15687,8 +15690,9 @@ var UtilInputInput = /** @class */ (function (_super) {
|
|
|
15687
15690
|
var UtilInputNumber = /** @class */ (function (_super) {
|
|
15688
15691
|
__extends(UtilInputNumber, _super);
|
|
15689
15692
|
function UtilInputNumber(target, operation, theme, options) {
|
|
15693
|
+
var _this = this;
|
|
15690
15694
|
var _a, _b, _c;
|
|
15691
|
-
|
|
15695
|
+
_this = _super.call(this, target, operation, theme, options) || this;
|
|
15692
15696
|
_this._step = (_a = options === null || options === void 0 ? void 0 : options.step) !== null && _a !== void 0 ? _a : theme.getStep();
|
|
15693
15697
|
_this._min = (_b = options === null || options === void 0 ? void 0 : options.min) !== null && _b !== void 0 ? _b : theme.getMin();
|
|
15694
15698
|
_this._max = (_c = options === null || options === void 0 ? void 0 : options.max) !== null && _c !== void 0 ? _c : theme.getMax();
|
|
@@ -15781,7 +15785,7 @@ var UtilInputNumber = /** @class */ (function (_super) {
|
|
|
15781
15785
|
UtilInputNumber.prototype.updateStep = function (input) {
|
|
15782
15786
|
var step = this.step;
|
|
15783
15787
|
if (step != null) {
|
|
15784
|
-
input.step = ""
|
|
15788
|
+
input.step = "".concat(step);
|
|
15785
15789
|
}
|
|
15786
15790
|
else {
|
|
15787
15791
|
input.step = "any";
|
|
@@ -15790,7 +15794,7 @@ var UtilInputNumber = /** @class */ (function (_super) {
|
|
|
15790
15794
|
UtilInputNumber.prototype.updateMin = function (input) {
|
|
15791
15795
|
var min = this.min;
|
|
15792
15796
|
if (min != null) {
|
|
15793
|
-
input.min = ""
|
|
15797
|
+
input.min = "".concat(min);
|
|
15794
15798
|
}
|
|
15795
15799
|
else {
|
|
15796
15800
|
input.removeAttribute("min");
|
|
@@ -15799,7 +15803,7 @@ var UtilInputNumber = /** @class */ (function (_super) {
|
|
|
15799
15803
|
UtilInputNumber.prototype.updateMax = function (input) {
|
|
15800
15804
|
var max = this.max;
|
|
15801
15805
|
if (max != null) {
|
|
15802
|
-
input.max = ""
|
|
15806
|
+
input.max = "".concat(max);
|
|
15803
15807
|
}
|
|
15804
15808
|
else {
|
|
15805
15809
|
input.removeAttribute("max");
|
|
@@ -16119,7 +16123,7 @@ var EShapeActionValueMisc = /** @class */ (function (_super) {
|
|
|
16119
16123
|
var conditionId = manager.addResource(this.condition);
|
|
16120
16124
|
var targetId = manager.addResource(this.target);
|
|
16121
16125
|
var valueId = manager.addResource(this.value);
|
|
16122
|
-
return manager.addResource("["
|
|
16126
|
+
return manager.addResource("[".concat(this.type, ",").concat(conditionId, ",").concat(this.subtype, ",").concat(targetId, ",").concat(this.onInputAction, ",").concat(valueId, "]"));
|
|
16123
16127
|
};
|
|
16124
16128
|
EShapeActionValueMisc.deserialize = function (serialized, manager) {
|
|
16125
16129
|
var resources = manager.resources;
|
|
@@ -16240,7 +16244,7 @@ var EShapeActionValueMiscGesture = /** @class */ (function (_super) {
|
|
|
16240
16244
|
};
|
|
16241
16245
|
EShapeActionValueMiscGesture.prototype.serialize = function (manager) {
|
|
16242
16246
|
var conditionId = manager.addResource(this.condition);
|
|
16243
|
-
return manager.addResource("["
|
|
16247
|
+
return manager.addResource("[".concat(this.type, ",").concat(conditionId, ",").concat(this.subtype, ",").concat(this.gestureType, ",").concat(this.scaleMin, ",").concat(this.scaleMax, "]"));
|
|
16244
16248
|
};
|
|
16245
16249
|
EShapeActionValueMiscGesture.deserialize = function (serialized, manager) {
|
|
16246
16250
|
var condition = EShapeActionValues.toResource(1, serialized, manager.resources);
|
|
@@ -16667,7 +16671,7 @@ var DynamicSDFFontGenerator = /** @class */ (function () {
|
|
|
16667
16671
|
gl.compileShader(shader);
|
|
16668
16672
|
if (!gl.getShaderParameter(shader, gl.COMPILE_STATUS)) {
|
|
16669
16673
|
console &&
|
|
16670
|
-
console.error("Failed to compile the shader: "
|
|
16674
|
+
console.error("Failed to compile the shader: ".concat(gl.getShaderInfoLog(shader)));
|
|
16671
16675
|
return null;
|
|
16672
16676
|
}
|
|
16673
16677
|
}
|
|
@@ -16687,7 +16691,7 @@ var DynamicSDFFontGenerator = /** @class */ (function () {
|
|
|
16687
16691
|
gl.linkProgram(shaderProgram);
|
|
16688
16692
|
if (!gl.getProgramParameter(shaderProgram, gl.LINK_STATUS)) {
|
|
16689
16693
|
console &&
|
|
16690
|
-
console.error("Failed to link the program: "
|
|
16694
|
+
console.error("Failed to link the program: ".concat(gl.getError()));
|
|
16691
16695
|
gl.deleteShader(vertexShader);
|
|
16692
16696
|
gl.deleteShader(fragmentShader);
|
|
16693
16697
|
return null;
|
|
@@ -16891,7 +16895,7 @@ var DynamicSDFFontGenerator = /** @class */ (function () {
|
|
|
16891
16895
|
*/
|
|
16892
16896
|
var DynamicSDFFontAtlas = /** @class */ (function () {
|
|
16893
16897
|
function DynamicSDFFontAtlas(fontFamily) {
|
|
16894
|
-
this._id = "font-atlas:"
|
|
16898
|
+
this._id = "font-atlas:".concat(fontFamily);
|
|
16895
16899
|
this._generator = DynamicSDFFontGenerator.getInstance().init();
|
|
16896
16900
|
this._canvas = document.createElement("canvas");
|
|
16897
16901
|
this._font = {
|
|
@@ -18201,7 +18205,7 @@ var EShapeActionValueMiscLayerGesture = /** @class */ (function (_super) {
|
|
|
18201
18205
|
};
|
|
18202
18206
|
EShapeActionValueMiscLayerGesture.prototype.serialize = function (manager) {
|
|
18203
18207
|
var conditionId = manager.addResource(this.condition);
|
|
18204
|
-
return manager.addResource("["
|
|
18208
|
+
return manager.addResource("[".concat(this.type, ",").concat(conditionId, ",").concat(this.subtype, ",").concat(this.gestureType, ",").concat(this.scaleMin, ",").concat(this.scaleMax, "]"));
|
|
18205
18209
|
};
|
|
18206
18210
|
EShapeActionValueMiscLayerGesture.deserialize = function (serialized, manager) {
|
|
18207
18211
|
var condition = EShapeActionValues.toResource(1, serialized, manager.resources);
|
|
@@ -18290,7 +18294,7 @@ var EShapeActionValueMiscLayerShowHide = /** @class */ (function (_super) {
|
|
|
18290
18294
|
var conditionId = manager.addResource(this.condition);
|
|
18291
18295
|
var layersId = this.serializeLayers(manager);
|
|
18292
18296
|
var bringToFrontId = this.bringToFront ? 1 : 0;
|
|
18293
|
-
return manager.addResource("["
|
|
18297
|
+
return manager.addResource("[".concat(this.type, ",").concat(conditionId, ",").concat(this.subtype, ",").concat(layersId, ",").concat(bringToFrontId, "]"));
|
|
18294
18298
|
};
|
|
18295
18299
|
EShapeActionValueMiscLayerShowHide.prototype.serializeLayers = function (manager) {
|
|
18296
18300
|
var layers = this.layers;
|
|
@@ -18972,9 +18976,14 @@ var DImagePieceLayouterPartContainer = /** @class */ (function () {
|
|
|
18972
18976
|
var middle = this.middle;
|
|
18973
18977
|
var bottom = this.bottom;
|
|
18974
18978
|
var text = this.text;
|
|
18975
|
-
if (text) {
|
|
18979
|
+
if (text !== undefined) {
|
|
18976
18980
|
var textX = 0;
|
|
18977
|
-
var textWidth =
|
|
18981
|
+
var textWidth = 0;
|
|
18982
|
+
var textHeight = 0;
|
|
18983
|
+
if (text != null) {
|
|
18984
|
+
textWidth = text.width;
|
|
18985
|
+
textHeight = text.height;
|
|
18986
|
+
}
|
|
18978
18987
|
switch (textAlign.horizontal) {
|
|
18979
18988
|
case DAlignHorizontal.LEFT:
|
|
18980
18989
|
textX = pleft + left.size;
|
|
@@ -18990,7 +18999,6 @@ var DImagePieceLayouterPartContainer = /** @class */ (function () {
|
|
|
18990
18999
|
break;
|
|
18991
19000
|
}
|
|
18992
19001
|
var textY = 0;
|
|
18993
|
-
var textHeight = text.height;
|
|
18994
19002
|
switch (textAlign.vertical) {
|
|
18995
19003
|
case DAlignVertical.TOP:
|
|
18996
19004
|
textY = ptop + top.size;
|
|
@@ -19005,8 +19013,10 @@ var DImagePieceLayouterPartContainer = /** @class */ (function () {
|
|
|
19005
19013
|
textY = height - pbottom - bottom.size - textHeight;
|
|
19006
19014
|
break;
|
|
19007
19015
|
}
|
|
19008
|
-
text
|
|
19009
|
-
|
|
19016
|
+
if (text != null) {
|
|
19017
|
+
text.position.set(textX, textY);
|
|
19018
|
+
text.setClippingDelta(left.size + right.size, top.size + bottom.size);
|
|
19019
|
+
}
|
|
19010
19020
|
left.execute(textX - left.size, true);
|
|
19011
19021
|
center.execute(0, 0, textX * 2 + textWidth);
|
|
19012
19022
|
right.execute(0, textX + textWidth + right.size, true);
|
|
@@ -19908,7 +19918,7 @@ var DDynamicTextStyle = /** @class */ (function () {
|
|
|
19908
19918
|
}
|
|
19909
19919
|
};
|
|
19910
19920
|
DDynamicTextStyle.prototype.newFontId = function () {
|
|
19911
|
-
return this._fontStyle
|
|
19921
|
+
return "".concat(this._fontStyle, " ").concat(this._fontVariant, " ").concat(this._fontWeight, " ").concat(this._fontSize, "px ").concat(this._fontFamily);
|
|
19912
19922
|
};
|
|
19913
19923
|
Object.defineProperty(DDynamicTextStyle.prototype, "clipping", {
|
|
19914
19924
|
get: function () {
|
|
@@ -20533,6 +20543,9 @@ var DImageBase = /** @class */ (function (_super) {
|
|
|
20533
20543
|
this.updateTextColor(text);
|
|
20534
20544
|
layouter.set(text);
|
|
20535
20545
|
}
|
|
20546
|
+
else {
|
|
20547
|
+
layouter.set(null);
|
|
20548
|
+
}
|
|
20536
20549
|
var auto = this._auto;
|
|
20537
20550
|
layouter.execute(this._padding, this._textAlign, auto.width.isOn ? null : this.width, auto.height.isOn ? null : this.height);
|
|
20538
20551
|
layouter.clear();
|
|
@@ -20761,8 +20774,9 @@ var DButtonPrimary = /** @class */ (function (_super) {
|
|
|
20761
20774
|
var DAnimationFadeIn = /** @class */ (function (_super) {
|
|
20762
20775
|
__extends(DAnimationFadeIn, _super);
|
|
20763
20776
|
function DAnimationFadeIn(options) {
|
|
20777
|
+
var _this = this;
|
|
20764
20778
|
var _a, _b;
|
|
20765
|
-
|
|
20779
|
+
_this = _super.call(this, options) || this;
|
|
20766
20780
|
_this._storedX = 0;
|
|
20767
20781
|
_this._storedY = 0;
|
|
20768
20782
|
_this._storedAlpha = 0;
|
|
@@ -21125,7 +21139,7 @@ var DDialog = /** @class */ (function (_super) {
|
|
|
21125
21139
|
this._onPrerenderBound = function () {
|
|
21126
21140
|
_this.onPrerender();
|
|
21127
21141
|
};
|
|
21128
|
-
//
|
|
21142
|
+
// Mode
|
|
21129
21143
|
var theme = this.theme;
|
|
21130
21144
|
var mode = toEnum((_a = options === null || options === void 0 ? void 0 : options.mode) !== null && _a !== void 0 ? _a : theme.getMode(), DDialogMode);
|
|
21131
21145
|
this._mode = mode;
|
|
@@ -24927,7 +24941,7 @@ var EShapeActionValueOpen = /** @class */ (function (_super) {
|
|
|
24927
24941
|
var conditionId = manager.addResource(this.condition);
|
|
24928
24942
|
var targetId = manager.addResource(this.target);
|
|
24929
24943
|
var initialId = manager.addResource(this.initial);
|
|
24930
|
-
return manager.addResource("["
|
|
24944
|
+
return manager.addResource("[".concat(this.type, ",").concat(conditionId, ",").concat(this.subtype, ",").concat(targetId, ",").concat(this.onInputAction, ",").concat(initialId, "]"));
|
|
24931
24945
|
};
|
|
24932
24946
|
EShapeActionValueOpen.deserialize = function (serialized, manager) {
|
|
24933
24947
|
var condition = EShapeActionValues.toResource(1, serialized, manager.resources);
|
|
@@ -24981,7 +24995,7 @@ var EShapeActionValueShowHide = /** @class */ (function (_super) {
|
|
|
24981
24995
|
};
|
|
24982
24996
|
EShapeActionValueShowHide.prototype.serialize = function (manager) {
|
|
24983
24997
|
var conditionId = manager.addResource(this.condition);
|
|
24984
|
-
return manager.addResource("["
|
|
24998
|
+
return manager.addResource("[".concat(this.type, ",").concat(conditionId, ",").concat(this.subtype, "]"));
|
|
24985
24999
|
};
|
|
24986
25000
|
EShapeActionValueShowHide.deserialize = function (serialized, manager) {
|
|
24987
25001
|
var condition = EShapeActionValues.toResource(1, serialized, manager.resources);
|
|
@@ -25217,7 +25231,7 @@ var EShapeActionValueTransformMove = /** @class */ (function (_super) {
|
|
|
25217
25231
|
EShapeActionValueTransformMove.prototype.serialize = function (manager) {
|
|
25218
25232
|
var conditionId = manager.addResource(this.condition);
|
|
25219
25233
|
var amountId = manager.addResource(this.amount);
|
|
25220
|
-
return manager.addResource("["
|
|
25234
|
+
return manager.addResource("[".concat(this.type, ",").concat(conditionId, ",").concat(this.subtype, ",").concat(this.opetype, ",").concat(amountId, "]"));
|
|
25221
25235
|
};
|
|
25222
25236
|
EShapeActionValueTransformMove.deserialize = function (serialized, manager) {
|
|
25223
25237
|
var condition = EShapeActionValues.toResource(1, serialized, manager.resources);
|
|
@@ -25502,7 +25516,7 @@ var EShapeActionValueTransformResize = /** @class */ (function (_super) {
|
|
|
25502
25516
|
EShapeActionValueTransformResize.prototype.serialize = function (manager) {
|
|
25503
25517
|
var conditionId = manager.addResource(this.condition);
|
|
25504
25518
|
var amountId = manager.addResource(this.amount);
|
|
25505
|
-
return manager.addResource("["
|
|
25519
|
+
return manager.addResource("[".concat(this.type, ",").concat(conditionId, ",").concat(this.subtype, ",").concat(this.opetype, ",").concat(this.originX, ",").concat(this.originY, ",").concat(amountId, "]"));
|
|
25506
25520
|
};
|
|
25507
25521
|
EShapeActionValueTransformResize.deserialize = function (serialized, manager) {
|
|
25508
25522
|
var condition = EShapeActionValues.toResource(1, serialized, manager.resources);
|
|
@@ -25522,7 +25536,7 @@ var EShapeActionRuntimeTransformRotate = /** @class */ (function (_super) {
|
|
|
25522
25536
|
var _this = _super.call(this, value, reset) || this;
|
|
25523
25537
|
_this.originX = value.originX;
|
|
25524
25538
|
_this.originY = value.originY;
|
|
25525
|
-
_this.amount = EShapeActionExpressions.ofNumber("("
|
|
25539
|
+
_this.amount = EShapeActionExpressions.ofNumber("(".concat(value.amount, ") * (Math.PI / 180)"));
|
|
25526
25540
|
return _this;
|
|
25527
25541
|
}
|
|
25528
25542
|
EShapeActionRuntimeTransformRotate.prototype.adjustPosition = function (shape, runtime, oldRotation, newRotation, originX, originY) {
|
|
@@ -25633,7 +25647,7 @@ var EShapeActionValueTransformRotate = /** @class */ (function (_super) {
|
|
|
25633
25647
|
EShapeActionValueTransformRotate.prototype.serialize = function (manager) {
|
|
25634
25648
|
var conditionId = manager.addResource(this.condition);
|
|
25635
25649
|
var amountId = manager.addResource(this.amount);
|
|
25636
|
-
return manager.addResource("["
|
|
25650
|
+
return manager.addResource("[".concat(this.type, ",").concat(conditionId, ",").concat(this.subtype, ",").concat(this.opetype, ",").concat(this.originX, ",").concat(this.originY, ",").concat(amountId, "]"));
|
|
25637
25651
|
};
|
|
25638
25652
|
EShapeActionValueTransformRotate.deserialize = function (serialized, manager) {
|
|
25639
25653
|
var condition = EShapeActionValues.toResource(1, serialized, manager.resources);
|
|
@@ -27349,7 +27363,7 @@ var EShapeButton = /** @class */ (function (_super) {
|
|
|
27349
27363
|
var result = _super.prototype.serialize.call(this, manager);
|
|
27350
27364
|
var isToggle = this._isToggle ? 1 : 0;
|
|
27351
27365
|
var isGrouped = this._isGrouped ? 2 : 0;
|
|
27352
|
-
result[15] = manager.addResource("["
|
|
27366
|
+
result[15] = manager.addResource("[".concat(isToggle | isGrouped, "]"));
|
|
27353
27367
|
return result;
|
|
27354
27368
|
};
|
|
27355
27369
|
return EShapeButton;
|
|
@@ -29642,7 +29656,7 @@ var EShapePointsMarkerBase = /** @class */ (function () {
|
|
|
29642
29656
|
EShapePointsMarkerBase.prototype.serialize = function (manager) {
|
|
29643
29657
|
var size = this._size;
|
|
29644
29658
|
var fillId = this._fill.serialize(manager);
|
|
29645
|
-
return manager.addResource("["
|
|
29659
|
+
return manager.addResource("[".concat(this._type, ",").concat(size.x, ",").concat(size.y, ",").concat(fillId, "]"));
|
|
29646
29660
|
};
|
|
29647
29661
|
EShapePointsMarkerBase.prototype.deserialize = function (resourceId, manager) {
|
|
29648
29662
|
var resources = manager.resources;
|
|
@@ -29791,7 +29805,7 @@ var EShapePointsMarkerContainerImpl = /** @class */ (function () {
|
|
|
29791
29805
|
EShapePointsMarkerContainerImpl.prototype.serialize = function (manager) {
|
|
29792
29806
|
var headId = this._head.serialize(manager);
|
|
29793
29807
|
var tailId = this._tail.serialize(manager);
|
|
29794
|
-
return manager.addResource("["
|
|
29808
|
+
return manager.addResource("[".concat(headId, ",").concat(tailId, "]"));
|
|
29795
29809
|
};
|
|
29796
29810
|
EShapePointsMarkerContainerImpl.prototype.deserialize = function (resourceId, manager) {
|
|
29797
29811
|
var resources = manager.resources;
|
|
@@ -30253,7 +30267,7 @@ var EShapeLinePoints = /** @class */ (function () {
|
|
|
30253
30267
|
if (marker) {
|
|
30254
30268
|
markerId = marker.serialize(manager);
|
|
30255
30269
|
}
|
|
30256
|
-
return manager.addResource("["
|
|
30270
|
+
return manager.addResource("[".concat(values, ",").concat(segments, ",").concat(style, ",").concat(markerId, "]"));
|
|
30257
30271
|
};
|
|
30258
30272
|
EShapeLinePoints.prototype.deserialize = function (resourceId, manager) {
|
|
30259
30273
|
var resources = manager.resources;
|
|
@@ -31260,7 +31274,7 @@ var EShapeConnectorEdgeImpl = /** @class */ (function () {
|
|
|
31260
31274
|
var edge = acceptor.edge;
|
|
31261
31275
|
var edgeId = edge != null ? manager.addResource(edge) : -1;
|
|
31262
31276
|
var local = this._local;
|
|
31263
|
-
return manager.addResource("["
|
|
31277
|
+
return manager.addResource("[".concat(shapeUuid, ",").concat(edgeId, ",").concat(local.x, ",").concat(local.y, ",").concat(this._margin, "]"));
|
|
31264
31278
|
};
|
|
31265
31279
|
EShapeConnectorEdgeImpl.prototype.deserialize = function (resourceId, mapping, manager) {
|
|
31266
31280
|
var resources = manager.resources;
|
|
@@ -31430,7 +31444,7 @@ var EShapeConnectorEdgeContainerImpl = /** @class */ (function () {
|
|
|
31430
31444
|
EShapeConnectorEdgeContainerImpl.prototype.serialize = function (manager) {
|
|
31431
31445
|
var tailId = this._tail.serialize(manager);
|
|
31432
31446
|
var headId = this._head.serialize(manager);
|
|
31433
|
-
return manager.addResource("["
|
|
31447
|
+
return manager.addResource("[".concat(tailId, ",").concat(headId, "]"));
|
|
31434
31448
|
};
|
|
31435
31449
|
EShapeConnectorEdgeContainerImpl.prototype.deserialize = function (resourceId, mapping, manager) {
|
|
31436
31450
|
var resources = manager.resources;
|
|
@@ -31763,7 +31777,7 @@ var EShapeConnectorLine = /** @class */ (function (_super) {
|
|
|
31763
31777
|
var edgeId = this._edge.serialize(manager);
|
|
31764
31778
|
var bodyId = this._body.serialize(manager);
|
|
31765
31779
|
var pointsId = this._points.serialize(manager);
|
|
31766
|
-
result[15] = manager.addResource("["
|
|
31780
|
+
result[15] = manager.addResource("[".concat(edgeId, ",").concat(pointsId, ",").concat(bodyId, "]"));
|
|
31767
31781
|
return result;
|
|
31768
31782
|
};
|
|
31769
31783
|
return EShapeConnectorLine;
|
|
@@ -38713,7 +38727,7 @@ var EShapeRectanglePivoted = /** @class */ (function (_super) {
|
|
|
38713
38727
|
* SPDX-License-Identifier: Apache-2.0
|
|
38714
38728
|
*/
|
|
38715
38729
|
var toSvgUrl = function (svg) {
|
|
38716
|
-
return "data:image/svg+xml;base64,"
|
|
38730
|
+
return "data:image/svg+xml;base64,".concat(btoa(svg));
|
|
38717
38731
|
};
|
|
38718
38732
|
|
|
38719
38733
|
/*
|
|
@@ -38729,7 +38743,7 @@ var toGradientImageUrl = function (gradient) {
|
|
|
38729
38743
|
var color = UtilRgb.toCode(point.color);
|
|
38730
38744
|
var alpha = point.alpha;
|
|
38731
38745
|
var offset = point.position * 100;
|
|
38732
|
-
stops += "<stop offset=\""
|
|
38746
|
+
stops += "<stop offset=\"".concat(offset, "%\" stop-color=\"#").concat(color, "\" stop-opacity=\"").concat(alpha, "\" />");
|
|
38733
38747
|
}
|
|
38734
38748
|
var radian = (direction * Math.PI) / 180;
|
|
38735
38749
|
var dx = 0.5 * Math.cos(radian);
|
|
@@ -38738,7 +38752,7 @@ var toGradientImageUrl = function (gradient) {
|
|
|
38738
38752
|
/* eslint-disable prettier/prettier */
|
|
38739
38753
|
"<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"32\" height=\"32\" viewBox=\"0 0 32 32\">" +
|
|
38740
38754
|
"<defs>" +
|
|
38741
|
-
|
|
38755
|
+
"<linearGradient id=\"o2glkm3aeu2oio\" x1=\"".concat(0.5 - dx, "\" x2=\"").concat(0.5 + dx, "\" y1=\"").concat(0.5 - dy, "\" y2=\"").concat(0.5 + dy, "\">") +
|
|
38742
38756
|
stops +
|
|
38743
38757
|
"</linearGradient>" +
|
|
38744
38758
|
"</defs>" +
|
|
@@ -38905,8 +38919,9 @@ var DImage = /** @class */ (function (_super) {
|
|
|
38905
38919
|
var DMenuItemBase = /** @class */ (function (_super) {
|
|
38906
38920
|
__extends(DMenuItemBase, _super);
|
|
38907
38921
|
function DMenuItemBase(options) {
|
|
38922
|
+
var _this = this;
|
|
38908
38923
|
var _a;
|
|
38909
|
-
|
|
38924
|
+
_this = _super.call(this, options) || this;
|
|
38910
38925
|
_this._value = (_a = options === null || options === void 0 ? void 0 : options.value) !== null && _a !== void 0 ? _a : null;
|
|
38911
38926
|
return _this;
|
|
38912
38927
|
}
|
|
@@ -39186,7 +39201,7 @@ var DMenus = /** @class */ (function () {
|
|
|
39186
39201
|
parent.addChild(created);
|
|
39187
39202
|
}
|
|
39188
39203
|
else {
|
|
39189
|
-
throw new Error("No matching menu item creator found: "
|
|
39204
|
+
throw new Error("No matching menu item creator found: ".concat(JSON.stringify(item)));
|
|
39190
39205
|
}
|
|
39191
39206
|
}
|
|
39192
39207
|
}
|
|
@@ -41847,7 +41862,7 @@ var UtilSvgAtlasBuilder = /** @class */ (function () {
|
|
|
41847
41862
|
frames[name] = new pixi_js.Rectangle(x, y, width, height);
|
|
41848
41863
|
// Svg
|
|
41849
41864
|
var ratio = this._ratio;
|
|
41850
|
-
this._svg += "<g transform=\"translate("
|
|
41865
|
+
this._svg += "<g transform=\"translate(".concat(x * ratio, ",").concat(y * ratio, ")\">").concat(path, "</g>");
|
|
41851
41866
|
return true;
|
|
41852
41867
|
}
|
|
41853
41868
|
return false;
|
|
@@ -41872,11 +41887,11 @@ var UtilSvgAtlasBuilder = /** @class */ (function () {
|
|
|
41872
41887
|
var realWidth = width * resolution;
|
|
41873
41888
|
var realHeight = height * resolution;
|
|
41874
41889
|
var ratio = this._ratio;
|
|
41875
|
-
var attrWidth = "width=\""
|
|
41876
|
-
var attrHeight = "height=\""
|
|
41877
|
-
var attrViewBox = "viewBox=\"0 0 "
|
|
41890
|
+
var attrWidth = "width=\"".concat(realWidth, "\"");
|
|
41891
|
+
var attrHeight = "height=\"".concat(realHeight, "\"");
|
|
41892
|
+
var attrViewBox = "viewBox=\"0 0 ".concat(width * ratio, " ").concat(height * ratio, "\"");
|
|
41878
41893
|
var attrXmlns = "xmlns=\"http://www.w3.org/2000/svg\"";
|
|
41879
|
-
var url = toSvgUrl("<svg "
|
|
41894
|
+
var url = toSvgUrl("<svg ".concat(attrWidth, " ").concat(attrHeight, " ").concat(attrViewBox, " ").concat(attrXmlns, ">").concat(this._svg, "</svg>"));
|
|
41880
41895
|
var scaleMode = (_c = options === null || options === void 0 ? void 0 : options.scaling) !== null && _c !== void 0 ? _c : pixi_js.SCALE_MODES.NEAREST;
|
|
41881
41896
|
var baseTexture = pixi_js.BaseTexture.from(url, {
|
|
41882
41897
|
resolution: resolution,
|
|
@@ -41919,7 +41934,7 @@ var DThemeWhite = /** @class */ (function () {
|
|
|
41919
41934
|
return instance;
|
|
41920
41935
|
}
|
|
41921
41936
|
else {
|
|
41922
|
-
throw new Error("No theme for the type '"
|
|
41937
|
+
throw new Error("No theme for the type '".concat(type, "'"));
|
|
41923
41938
|
}
|
|
41924
41939
|
}
|
|
41925
41940
|
};
|
|
@@ -42047,12 +42062,12 @@ var newShadow$1 = function (id, radius, opacity) {
|
|
|
42047
42062
|
/* eslint-disable prettier/prettier */
|
|
42048
42063
|
DThemeWhiteAtlas.add(id, d, d, "<g>" +
|
|
42049
42064
|
"<defs>" +
|
|
42050
|
-
|
|
42051
|
-
|
|
42065
|
+
"<radialGradient id=\"".concat(id, "_filter\">") +
|
|
42066
|
+
"<stop offset=\"0%\" stop-color=\"black\" stop-opacity=\"".concat(opacity, "\" />") +
|
|
42052
42067
|
"<stop offset=\"100%\" stop-color=\"black\" stop-opacity=\"0\" />" +
|
|
42053
42068
|
"</radialGradient>" +
|
|
42054
42069
|
"</defs>" +
|
|
42055
|
-
|
|
42070
|
+
"<rect x=\"0\" y=\"0\" width=\"".concat(d, "\" height=\"").concat(d, "\" fill=\"url(#").concat(id, "_filter)\"/>") +
|
|
42056
42071
|
"</g>");
|
|
42057
42072
|
/* eslint-enable prettier/prettier */
|
|
42058
42073
|
};
|
|
@@ -42664,7 +42679,7 @@ DThemeWhiteAtlas.add("button_color_sample", 21, 21, "<g transform=\"scale(0.875,
|
|
|
42664
42679
|
"</g>");
|
|
42665
42680
|
/* eslint-enable prettier/prettier */
|
|
42666
42681
|
var formatter$l = function (colorAndAlpha) {
|
|
42667
|
-
return "#"
|
|
42682
|
+
return "#".concat(UtilRgb.toCode(colorAndAlpha.color), " A").concat(colorAndAlpha.alpha.toFixed(2));
|
|
42668
42683
|
};
|
|
42669
42684
|
var DThemeWhiteButtonColor = /** @class */ (function (_super) {
|
|
42670
42685
|
__extends(DThemeWhiteButtonColor, _super);
|
|
@@ -42713,11 +42728,24 @@ var DThemeWhiteDialog = /** @class */ (function (_super) {
|
|
|
42713
42728
|
DThemeWhiteDialog.prototype.getOffsetY = function () {
|
|
42714
42729
|
return 5;
|
|
42715
42730
|
};
|
|
42716
|
-
DThemeWhiteDialog.prototype.getBackgroundColor = function () {
|
|
42717
|
-
|
|
42731
|
+
DThemeWhiteDialog.prototype.getBackgroundColor = function (state) {
|
|
42732
|
+
if (state.is(DDialogState.MENU)) {
|
|
42733
|
+
return DThemeWhiteConstants.BACKGROUND_COLOR_ON_BOARD;
|
|
42734
|
+
}
|
|
42735
|
+
else {
|
|
42736
|
+
return DThemeWhiteConstants.BACKGROUND_COLOR;
|
|
42737
|
+
}
|
|
42718
42738
|
};
|
|
42719
42739
|
DThemeWhiteDialog.prototype.getBorderColor = function (state) {
|
|
42720
|
-
|
|
42740
|
+
if (state.is(DDialogState.MENU)) {
|
|
42741
|
+
return null;
|
|
42742
|
+
}
|
|
42743
|
+
else {
|
|
42744
|
+
return 0xfafafa;
|
|
42745
|
+
}
|
|
42746
|
+
};
|
|
42747
|
+
DThemeWhiteDialog.prototype.getOutlineColor = function (state) {
|
|
42748
|
+
return null;
|
|
42721
42749
|
};
|
|
42722
42750
|
DThemeWhiteDialog.prototype.getPaddingLeft = function () {
|
|
42723
42751
|
return 16;
|
|
@@ -42820,7 +42848,7 @@ var makeCheckerboard$1 = function (width, height) {
|
|
|
42820
42848
|
for (var ih = 0; ih < height; ++ih) {
|
|
42821
42849
|
for (var iw = 0; iw < width; ++iw) {
|
|
42822
42850
|
var color = (iw + ih) % 2 === 0 ? LIGHT : DARK;
|
|
42823
|
-
result += "<rect x=\""
|
|
42851
|
+
result += "<rect x=\"".concat(9 * iw, "\" y=\"").concat(9 * ih, "\" width=\"9\" height=\"9\" fill=\"").concat(color, "\" />");
|
|
42824
42852
|
}
|
|
42825
42853
|
}
|
|
42826
42854
|
result += "</g>";
|
|
@@ -43557,7 +43585,7 @@ var DPickerDates = /** @class */ (function () {
|
|
|
43557
43585
|
var y = toPadded(String(date.getFullYear()), 4, "0");
|
|
43558
43586
|
var M = toPadded(String(date.getMonth() + 1), 2, "0");
|
|
43559
43587
|
var S = toPadded(String(date.getDate()), 2, "0");
|
|
43560
|
-
return y
|
|
43588
|
+
return "".concat(y, "/").concat(M, "/").concat(S);
|
|
43561
43589
|
};
|
|
43562
43590
|
return DPickerDates;
|
|
43563
43591
|
}());
|
|
@@ -43688,7 +43716,7 @@ var MONTH_LABELS$1 = [
|
|
|
43688
43716
|
];
|
|
43689
43717
|
var DAY_LABELS$1 = ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"];
|
|
43690
43718
|
var defaultLabelFormatter$1 = function (date) {
|
|
43691
|
-
return MONTH_LABELS$1[date.getMonth()]
|
|
43719
|
+
return "".concat(MONTH_LABELS$1[date.getMonth()], " ").concat(date.getFullYear());
|
|
43692
43720
|
};
|
|
43693
43721
|
var defaultDateDecorator$1 = function () {
|
|
43694
43722
|
/* DO NOTHING*/
|
|
@@ -44043,10 +44071,10 @@ var DPickerDatetimes = /** @class */ (function () {
|
|
|
44043
44071
|
DPickerDatetimes.format = function (date, mask) {
|
|
44044
44072
|
var hms = DPickerTimes.format(date, mask);
|
|
44045
44073
|
if (0 < hms.length) {
|
|
44046
|
-
return DPickerDates.format(date)
|
|
44074
|
+
return "".concat(DPickerDates.format(date), " ").concat(hms);
|
|
44047
44075
|
}
|
|
44048
44076
|
else {
|
|
44049
|
-
return ""
|
|
44077
|
+
return "".concat(DPickerDates.format(date));
|
|
44050
44078
|
}
|
|
44051
44079
|
};
|
|
44052
44080
|
DPickerDatetimes.toMask = function (options) {
|
|
@@ -45724,20 +45752,20 @@ var EThemeWhiteShapeActionValue = /** @class */ (function () {
|
|
|
45724
45752
|
return this.toTypedLabel(type, value);
|
|
45725
45753
|
};
|
|
45726
45754
|
EThemeWhiteShapeActionValue.prototype.toTypedLabel = function (type, value) {
|
|
45727
|
-
return this.toTypeLabel(type)
|
|
45755
|
+
return "".concat(this.toTypeLabel(type), ": ").concat(this.toConditionLabel(value.condition));
|
|
45728
45756
|
};
|
|
45729
45757
|
EThemeWhiteShapeActionValue.prototype.toSubtypedLabel = function (type, subtype, value) {
|
|
45730
45758
|
var typeLabel = this.toTypeLabel(type);
|
|
45731
45759
|
switch (type) {
|
|
45732
45760
|
case EShapeActionValueType.SHOW_HIDE:
|
|
45733
|
-
return ""
|
|
45761
|
+
return "".concat(this.toShowHideTypeLabel(subtype));
|
|
45734
45762
|
case EShapeActionValueType.BLINK:
|
|
45735
|
-
return typeLabel
|
|
45763
|
+
return "".concat(typeLabel, ": ").concat(this.toBlinkTypeLabel(subtype));
|
|
45736
45764
|
case EShapeActionValueType.CHANGE_COLOR:
|
|
45737
45765
|
case EShapeActionValueType.CHANGE_COLOR_LEGACY:
|
|
45738
|
-
return typeLabel
|
|
45766
|
+
return "".concat(typeLabel, ": ").concat(this.toChangeColorTypeLabel(subtype));
|
|
45739
45767
|
case EShapeActionValueType.MISC:
|
|
45740
|
-
return typeLabel
|
|
45768
|
+
return "".concat(typeLabel, ": ").concat(this.toMiscTypeLabel(subtype));
|
|
45741
45769
|
}
|
|
45742
45770
|
return null;
|
|
45743
45771
|
};
|
|
@@ -45747,11 +45775,11 @@ var EThemeWhiteShapeActionValue = /** @class */ (function () {
|
|
|
45747
45775
|
var subtypeLabel = this.toTransformTypeLabel(subtype);
|
|
45748
45776
|
switch (subtype) {
|
|
45749
45777
|
case EShapeActionValueTransformType.ROTATE:
|
|
45750
|
-
return subtypeLabel
|
|
45778
|
+
return "".concat(subtypeLabel, ": ").concat(this.toTransformRotateTypeLabel(opetype));
|
|
45751
45779
|
case EShapeActionValueTransformType.MOVE:
|
|
45752
|
-
return subtypeLabel
|
|
45780
|
+
return "".concat(subtypeLabel, ": ").concat(this.toTransformMoveTypeLabel(opetype));
|
|
45753
45781
|
case EShapeActionValueTransformType.RESIZE:
|
|
45754
|
-
return subtypeLabel
|
|
45782
|
+
return "".concat(subtypeLabel, ": ").concat(this.toTransformResizeTypeLabel(opetype));
|
|
45755
45783
|
}
|
|
45756
45784
|
}
|
|
45757
45785
|
return null;
|
|
@@ -46602,11 +46630,11 @@ var DThemeWhiteHtmlElement = /** @class */ (function (_super) {
|
|
|
46602
46630
|
DThemeWhiteHtmlElement.prototype.getElementStylePadding = function (state, padding) {
|
|
46603
46631
|
if (padding) {
|
|
46604
46632
|
if ("getLeft" in padding) {
|
|
46605
|
-
return ("padding: "
|
|
46606
|
-
(padding.getBottom()
|
|
46633
|
+
return ("padding: ".concat(padding.getTop(), "px ").concat(padding.getRight(), "px ") +
|
|
46634
|
+
"".concat(padding.getBottom(), "px ").concat(padding.getLeft(), "px;"));
|
|
46607
46635
|
}
|
|
46608
46636
|
else {
|
|
46609
|
-
return "padding: "
|
|
46637
|
+
return "padding: ".concat(padding.vertical, "px ").concat(padding.horizontal, "px;");
|
|
46610
46638
|
}
|
|
46611
46639
|
}
|
|
46612
46640
|
return "padding: 0px;";
|
|
@@ -46619,21 +46647,21 @@ var DThemeWhiteHtmlElement = /** @class */ (function (_super) {
|
|
|
46619
46647
|
if (clipperRect) {
|
|
46620
46648
|
var left = elementRect.x - clipperRect.x;
|
|
46621
46649
|
var top_1 = elementRect.y - clipperRect.y;
|
|
46622
|
-
return "left:"
|
|
46650
|
+
return "left:".concat(left, "px; top:").concat(top_1, "px;");
|
|
46623
46651
|
}
|
|
46624
|
-
return "left:"
|
|
46652
|
+
return "left:".concat(elementRect.x, "px; top: ").concat(elementRect.y, "px;");
|
|
46625
46653
|
}
|
|
46626
46654
|
return "left: 0px; top: 0px;";
|
|
46627
46655
|
};
|
|
46628
46656
|
DThemeWhiteHtmlElement.prototype.getElementStylePositionSize = function (rect) {
|
|
46629
46657
|
if (rect) {
|
|
46630
|
-
return "width: "
|
|
46658
|
+
return "width: ".concat(rect.width, "px; height: ").concat(rect.height, "px;");
|
|
46631
46659
|
}
|
|
46632
46660
|
return "width: 0px; height: 0px;";
|
|
46633
46661
|
};
|
|
46634
46662
|
DThemeWhiteHtmlElement.prototype.getElementStylePositionTransform = function (matrix) {
|
|
46635
46663
|
if (matrix) {
|
|
46636
|
-
return "transform: matrix("
|
|
46664
|
+
return "transform: matrix(".concat(matrix.a, ",").concat(matrix.b, ",").concat(matrix.c, ",").concat(matrix.d, ",").concat(matrix.tx, ",").concat(matrix.ty, ");");
|
|
46637
46665
|
}
|
|
46638
46666
|
return "";
|
|
46639
46667
|
};
|
|
@@ -46644,10 +46672,10 @@ var DThemeWhiteHtmlElement = /** @class */ (function (_super) {
|
|
|
46644
46672
|
this.getElementStylePositionTransform(elementMatrix));
|
|
46645
46673
|
};
|
|
46646
46674
|
DThemeWhiteHtmlElement.prototype.getElementStyleText = function (state) {
|
|
46647
|
-
return ("font-family: "
|
|
46648
|
-
|
|
46649
|
-
|
|
46650
|
-
|
|
46675
|
+
return ("font-family: ".concat(this.getFontFamilly(), ";") +
|
|
46676
|
+
"font-size: ".concat(this.getFontSize(), "px;") +
|
|
46677
|
+
"color: #".concat(this.getColor(state).toString(16), ";") +
|
|
46678
|
+
"line-height: ".concat(this.getLineHeight(), "px;") +
|
|
46651
46679
|
"-moz-tab-size: 4; -o-tab-size: 4; tab-size: 4;");
|
|
46652
46680
|
};
|
|
46653
46681
|
DThemeWhiteHtmlElement.prototype.getElementStyleMargin = function (state) {
|
|
@@ -46671,14 +46699,14 @@ var DThemeWhiteHtmlElement = /** @class */ (function (_super) {
|
|
|
46671
46699
|
};
|
|
46672
46700
|
DThemeWhiteHtmlElement.prototype.getClipperStylePositionPosition = function (rect) {
|
|
46673
46701
|
if (rect) {
|
|
46674
|
-
return "left: "
|
|
46702
|
+
return "left: ".concat(rect.x, "px; top: ").concat(rect.y, "px;");
|
|
46675
46703
|
}
|
|
46676
46704
|
return "left: 0px; top: 0px;";
|
|
46677
46705
|
};
|
|
46678
46706
|
DThemeWhiteHtmlElement.prototype.getClipperStylePositionSize = function (rect) {
|
|
46679
46707
|
if (rect) {
|
|
46680
|
-
return ("width: "
|
|
46681
|
-
|
|
46708
|
+
return ("width: ".concat(rect.width, "px; height: ").concat(rect.height, "px;") +
|
|
46709
|
+
"line-height: ".concat(rect.height, "px;"));
|
|
46682
46710
|
}
|
|
46683
46711
|
return "width: 0px; height: 0px;";
|
|
46684
46712
|
};
|
|
@@ -46918,7 +46946,7 @@ var DThemeWhiteInput = /** @class */ (function (_super) {
|
|
|
46918
46946
|
* SPDX-License-Identifier: Apache-2.0
|
|
46919
46947
|
*/
|
|
46920
46948
|
var CREATOR_CLASSNAME$3 = "d-theme-white-input-input";
|
|
46921
|
-
var CREATOR_CLASSNAME_ELEMENT$3 = CREATOR_CLASSNAME$3
|
|
46949
|
+
var CREATOR_CLASSNAME_ELEMENT$3 = "".concat(CREATOR_CLASSNAME$3, "-element");
|
|
46922
46950
|
var elementCreator$3 = function (container) {
|
|
46923
46951
|
var found = container.getElementsByClassName(CREATOR_CLASSNAME_ELEMENT$3);
|
|
46924
46952
|
if (0 < found.length) {
|
|
@@ -46940,15 +46968,15 @@ var divCreator$4 = function (container, classname) {
|
|
|
46940
46968
|
container.appendChild(result);
|
|
46941
46969
|
return result;
|
|
46942
46970
|
};
|
|
46943
|
-
var CREATOR_CLASSNAME_CLIPPER$3 = CREATOR_CLASSNAME$3
|
|
46971
|
+
var CREATOR_CLASSNAME_CLIPPER$3 = "".concat(CREATOR_CLASSNAME$3, "-clipper");
|
|
46944
46972
|
var clipperCreator$3 = function (container) {
|
|
46945
46973
|
return divCreator$4(container, CREATOR_CLASSNAME_CLIPPER$3);
|
|
46946
46974
|
};
|
|
46947
|
-
var CREATOR_CLASSNAME_BEFORE$3 = CREATOR_CLASSNAME$3
|
|
46975
|
+
var CREATOR_CLASSNAME_BEFORE$3 = "".concat(CREATOR_CLASSNAME$3, "-before");
|
|
46948
46976
|
var beforeCreator$3 = function (container) {
|
|
46949
46977
|
return divCreator$4(container, CREATOR_CLASSNAME_BEFORE$3);
|
|
46950
46978
|
};
|
|
46951
|
-
var CREATOR_CLASSNAME_AFTER$3 = CREATOR_CLASSNAME$3
|
|
46979
|
+
var CREATOR_CLASSNAME_AFTER$3 = "".concat(CREATOR_CLASSNAME$3, "-after");
|
|
46952
46980
|
var afterCreator$3 = function (container) {
|
|
46953
46981
|
return divCreator$4(container, CREATOR_CLASSNAME_AFTER$3);
|
|
46954
46982
|
};
|
|
@@ -47160,7 +47188,7 @@ var loadThemeWhiteInputText = function () {
|
|
|
47160
47188
|
* SPDX-License-Identifier: Apache-2.0
|
|
47161
47189
|
*/
|
|
47162
47190
|
var CREATOR_CLASSNAME$2 = "d-theme-white-input-text-area";
|
|
47163
|
-
var CREATOR_CLASSNAME_ELEMENT$2 = CREATOR_CLASSNAME$2
|
|
47191
|
+
var CREATOR_CLASSNAME_ELEMENT$2 = "".concat(CREATOR_CLASSNAME$2, "-element");
|
|
47164
47192
|
var elementCreator$2 = function (container) {
|
|
47165
47193
|
var found = container.getElementsByClassName(CREATOR_CLASSNAME_ELEMENT$2);
|
|
47166
47194
|
if (0 < found.length) {
|
|
@@ -47182,15 +47210,15 @@ var divCreator$3 = function (container, classname) {
|
|
|
47182
47210
|
container.appendChild(result);
|
|
47183
47211
|
return result;
|
|
47184
47212
|
};
|
|
47185
|
-
var CREATOR_CLASSNAME_CLIPPER$2 = CREATOR_CLASSNAME$2
|
|
47213
|
+
var CREATOR_CLASSNAME_CLIPPER$2 = "".concat(CREATOR_CLASSNAME$2, "-clipper");
|
|
47186
47214
|
var clipperCreator$2 = function (container) {
|
|
47187
47215
|
return divCreator$3(container, CREATOR_CLASSNAME_CLIPPER$2);
|
|
47188
47216
|
};
|
|
47189
|
-
var CREATOR_CLASSNAME_BEFORE$2 = CREATOR_CLASSNAME$2
|
|
47217
|
+
var CREATOR_CLASSNAME_BEFORE$2 = "".concat(CREATOR_CLASSNAME$2, "-before");
|
|
47190
47218
|
var beforeCreator$2 = function (container) {
|
|
47191
47219
|
return divCreator$3(container, CREATOR_CLASSNAME_BEFORE$2);
|
|
47192
47220
|
};
|
|
47193
|
-
var CREATOR_CLASSNAME_AFTER$2 = CREATOR_CLASSNAME$2
|
|
47221
|
+
var CREATOR_CLASSNAME_AFTER$2 = "".concat(CREATOR_CLASSNAME$2, "-after");
|
|
47194
47222
|
var afterCreator$2 = function (container) {
|
|
47195
47223
|
return divCreator$3(container, CREATOR_CLASSNAME_AFTER$2);
|
|
47196
47224
|
};
|
|
@@ -47404,7 +47432,7 @@ var DThemeWhiteMenu = /** @class */ (function (_super) {
|
|
|
47404
47432
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
47405
47433
|
}
|
|
47406
47434
|
DThemeWhiteMenu.prototype.getBackgroundColor = function (state) {
|
|
47407
|
-
return
|
|
47435
|
+
return DThemeWhiteConstants.BACKGROUND_COLOR_ON_BOARD;
|
|
47408
47436
|
};
|
|
47409
47437
|
DThemeWhiteMenu.prototype.getOffsetX = function () {
|
|
47410
47438
|
return 5;
|
|
@@ -50999,7 +51027,7 @@ var DThemeDark = /** @class */ (function () {
|
|
|
50999
51027
|
return instance;
|
|
51000
51028
|
}
|
|
51001
51029
|
else {
|
|
51002
|
-
throw new Error("No theme for the type '"
|
|
51030
|
+
throw new Error("No theme for the type '".concat(type, "'"));
|
|
51003
51031
|
}
|
|
51004
51032
|
}
|
|
51005
51033
|
};
|
|
@@ -51094,12 +51122,12 @@ var newShadow = function (id, radius, opacity) {
|
|
|
51094
51122
|
/* eslint-disable prettier/prettier */
|
|
51095
51123
|
DThemeDarkAtlas.add(id, d, d, "<g>" +
|
|
51096
51124
|
"<defs>" +
|
|
51097
|
-
|
|
51098
|
-
|
|
51125
|
+
"<radialGradient id=\"".concat(id, "_filter\">") +
|
|
51126
|
+
"<stop offset=\"0%\" stop-color=\"black\" stop-opacity=\"".concat(opacity, "\" />") +
|
|
51099
51127
|
"<stop offset=\"100%\" stop-color=\"black\" stop-opacity=\"0\" />" +
|
|
51100
51128
|
"</radialGradient>" +
|
|
51101
51129
|
"</defs>" +
|
|
51102
|
-
|
|
51130
|
+
"<rect x=\"0\" y=\"0\" width=\"".concat(d, "\" height=\"").concat(d, "\" fill=\"url(#").concat(id, "_filter)\"/>") +
|
|
51103
51131
|
"</g>");
|
|
51104
51132
|
/* eslint-enable prettier/prettier */
|
|
51105
51133
|
};
|
|
@@ -51693,7 +51721,7 @@ DThemeDarkAtlas.add("button_color_sample", 21, 21, "<g transform=\"scale(0.875,0
|
|
|
51693
51721
|
"</g>");
|
|
51694
51722
|
/* eslint-enable prettier/prettier */
|
|
51695
51723
|
var formatter$a = function (colorAndAlpha) {
|
|
51696
|
-
return "#"
|
|
51724
|
+
return "#".concat(UtilRgb.toCode(colorAndAlpha.color), " A").concat(colorAndAlpha.alpha.toFixed(2));
|
|
51697
51725
|
};
|
|
51698
51726
|
var DThemeDarkButtonColor = /** @class */ (function (_super) {
|
|
51699
51727
|
__extends(DThemeDarkButtonColor, _super);
|
|
@@ -51742,11 +51770,24 @@ var DThemeDarkDialog = /** @class */ (function (_super) {
|
|
|
51742
51770
|
DThemeDarkDialog.prototype.getOffsetY = function () {
|
|
51743
51771
|
return 5;
|
|
51744
51772
|
};
|
|
51745
|
-
DThemeDarkDialog.prototype.getBackgroundColor = function () {
|
|
51746
|
-
|
|
51773
|
+
DThemeDarkDialog.prototype.getBackgroundColor = function (state) {
|
|
51774
|
+
if (state.is(DDialogState.MENU)) {
|
|
51775
|
+
return DThemeDarkConstants.BACKGROUND_COLOR_ON_BOARD;
|
|
51776
|
+
}
|
|
51777
|
+
else {
|
|
51778
|
+
return DThemeDarkConstants.BACKGROUND_COLOR;
|
|
51779
|
+
}
|
|
51747
51780
|
};
|
|
51748
51781
|
DThemeDarkDialog.prototype.getBorderColor = function (state) {
|
|
51749
|
-
|
|
51782
|
+
if (state.is(DDialogState.MENU)) {
|
|
51783
|
+
return null;
|
|
51784
|
+
}
|
|
51785
|
+
else {
|
|
51786
|
+
return 0x393939;
|
|
51787
|
+
}
|
|
51788
|
+
};
|
|
51789
|
+
DThemeDarkDialog.prototype.getOutlineColor = function (state) {
|
|
51790
|
+
return null;
|
|
51750
51791
|
};
|
|
51751
51792
|
DThemeDarkDialog.prototype.getPaddingLeft = function () {
|
|
51752
51793
|
return 16;
|
|
@@ -51849,7 +51890,7 @@ var makeCheckerboard = function (width, height) {
|
|
|
51849
51890
|
for (var ih = 0; ih < height; ++ih) {
|
|
51850
51891
|
for (var iw = 0; iw < width; ++iw) {
|
|
51851
51892
|
var color = (iw + ih) % 2 === 0 ? LIGHT : DARK;
|
|
51852
|
-
result += "<rect x=\""
|
|
51893
|
+
result += "<rect x=\"".concat(9 * iw, "\" y=\"").concat(9 * ih, "\" width=\"9\" height=\"9\" fill=\"").concat(color, "\" />");
|
|
51853
51894
|
}
|
|
51854
51895
|
}
|
|
51855
51896
|
result += "</g>";
|
|
@@ -52374,7 +52415,7 @@ var MONTH_LABELS = [
|
|
|
52374
52415
|
];
|
|
52375
52416
|
var DAY_LABELS = ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"];
|
|
52376
52417
|
var defaultLabelFormatter = function (date) {
|
|
52377
|
-
return MONTH_LABELS[date.getMonth()]
|
|
52418
|
+
return "".concat(MONTH_LABELS[date.getMonth()], " ").concat(date.getFullYear());
|
|
52378
52419
|
};
|
|
52379
52420
|
var defaultDateDecorator = function () {
|
|
52380
52421
|
/* DO NOTHING*/
|
|
@@ -54332,20 +54373,20 @@ var EThemeDarkShapeActionValue = /** @class */ (function () {
|
|
|
54332
54373
|
return this.toTypedLabel(type, value);
|
|
54333
54374
|
};
|
|
54334
54375
|
EThemeDarkShapeActionValue.prototype.toTypedLabel = function (type, value) {
|
|
54335
|
-
return this.toTypeLabel(type)
|
|
54376
|
+
return "".concat(this.toTypeLabel(type), ": ").concat(this.toConditionLabel(value.condition));
|
|
54336
54377
|
};
|
|
54337
54378
|
EThemeDarkShapeActionValue.prototype.toSubtypedLabel = function (type, subtype, value) {
|
|
54338
54379
|
var typeLabel = this.toTypeLabel(type);
|
|
54339
54380
|
switch (type) {
|
|
54340
54381
|
case EShapeActionValueType.SHOW_HIDE:
|
|
54341
|
-
return ""
|
|
54382
|
+
return "".concat(this.toShowHideTypeLabel(subtype));
|
|
54342
54383
|
case EShapeActionValueType.BLINK:
|
|
54343
|
-
return typeLabel
|
|
54384
|
+
return "".concat(typeLabel, ": ").concat(this.toBlinkTypeLabel(subtype));
|
|
54344
54385
|
case EShapeActionValueType.CHANGE_COLOR:
|
|
54345
54386
|
case EShapeActionValueType.CHANGE_COLOR_LEGACY:
|
|
54346
|
-
return typeLabel
|
|
54387
|
+
return "".concat(typeLabel, ": ").concat(this.toChangeColorTypeLabel(subtype));
|
|
54347
54388
|
case EShapeActionValueType.MISC:
|
|
54348
|
-
return typeLabel
|
|
54389
|
+
return "".concat(typeLabel, ": ").concat(this.toMiscTypeLabel(subtype));
|
|
54349
54390
|
}
|
|
54350
54391
|
return null;
|
|
54351
54392
|
};
|
|
@@ -54355,11 +54396,11 @@ var EThemeDarkShapeActionValue = /** @class */ (function () {
|
|
|
54355
54396
|
var subtypeLabel = this.toTransformTypeLabel(subtype);
|
|
54356
54397
|
switch (subtype) {
|
|
54357
54398
|
case EShapeActionValueTransformType.ROTATE:
|
|
54358
|
-
return subtypeLabel
|
|
54399
|
+
return "".concat(subtypeLabel, ": ").concat(this.toTransformRotateTypeLabel(opetype));
|
|
54359
54400
|
case EShapeActionValueTransformType.MOVE:
|
|
54360
|
-
return subtypeLabel
|
|
54401
|
+
return "".concat(subtypeLabel, ": ").concat(this.toTransformMoveTypeLabel(opetype));
|
|
54361
54402
|
case EShapeActionValueTransformType.RESIZE:
|
|
54362
|
-
return subtypeLabel
|
|
54403
|
+
return "".concat(subtypeLabel, ": ").concat(this.toTransformResizeTypeLabel(opetype));
|
|
54363
54404
|
}
|
|
54364
54405
|
}
|
|
54365
54406
|
return null;
|
|
@@ -55210,11 +55251,11 @@ var DThemeDarkHtmlElement = /** @class */ (function (_super) {
|
|
|
55210
55251
|
DThemeDarkHtmlElement.prototype.getElementStylePadding = function (state, padding) {
|
|
55211
55252
|
if (padding) {
|
|
55212
55253
|
if ("getLeft" in padding) {
|
|
55213
|
-
return ("padding: "
|
|
55214
|
-
(padding.getBottom()
|
|
55254
|
+
return ("padding: ".concat(padding.getTop(), "px ").concat(padding.getRight(), "px ") +
|
|
55255
|
+
"".concat(padding.getBottom(), "px ").concat(padding.getLeft(), "px;"));
|
|
55215
55256
|
}
|
|
55216
55257
|
else {
|
|
55217
|
-
return "padding: "
|
|
55258
|
+
return "padding: ".concat(padding.vertical, "px ").concat(padding.horizontal, "px;");
|
|
55218
55259
|
}
|
|
55219
55260
|
}
|
|
55220
55261
|
return "padding: 0px;";
|
|
@@ -55227,21 +55268,21 @@ var DThemeDarkHtmlElement = /** @class */ (function (_super) {
|
|
|
55227
55268
|
if (clipperRect) {
|
|
55228
55269
|
var left = elementRect.x - clipperRect.x;
|
|
55229
55270
|
var top_1 = elementRect.y - clipperRect.y;
|
|
55230
|
-
return "left:"
|
|
55271
|
+
return "left:".concat(left, "px; top:").concat(top_1, "px;");
|
|
55231
55272
|
}
|
|
55232
|
-
return "left:"
|
|
55273
|
+
return "left:".concat(elementRect.x, "px; top: ").concat(elementRect.y, "px;");
|
|
55233
55274
|
}
|
|
55234
55275
|
return "left: 0px; top: 0px;";
|
|
55235
55276
|
};
|
|
55236
55277
|
DThemeDarkHtmlElement.prototype.getElementStylePositionSize = function (rect) {
|
|
55237
55278
|
if (rect) {
|
|
55238
|
-
return "width: "
|
|
55279
|
+
return "width: ".concat(rect.width, "px; height: ").concat(rect.height, "px;");
|
|
55239
55280
|
}
|
|
55240
55281
|
return "width: 0px; height: 0px;";
|
|
55241
55282
|
};
|
|
55242
55283
|
DThemeDarkHtmlElement.prototype.getElementStylePositionTransform = function (matrix) {
|
|
55243
55284
|
if (matrix) {
|
|
55244
|
-
return "transform: matrix("
|
|
55285
|
+
return "transform: matrix(".concat(matrix.a, ",").concat(matrix.b, ",").concat(matrix.c, ",").concat(matrix.d, ",").concat(matrix.tx, ",").concat(matrix.ty, ");");
|
|
55245
55286
|
}
|
|
55246
55287
|
return "";
|
|
55247
55288
|
};
|
|
@@ -55252,10 +55293,10 @@ var DThemeDarkHtmlElement = /** @class */ (function (_super) {
|
|
|
55252
55293
|
this.getElementStylePositionTransform(elementMatrix));
|
|
55253
55294
|
};
|
|
55254
55295
|
DThemeDarkHtmlElement.prototype.getElementStyleText = function (state) {
|
|
55255
|
-
return ("font-family: "
|
|
55256
|
-
|
|
55257
|
-
|
|
55258
|
-
|
|
55296
|
+
return ("font-family: ".concat(this.getFontFamilly(), ";") +
|
|
55297
|
+
"font-size: ".concat(this.getFontSize(), "px;") +
|
|
55298
|
+
"color: #".concat(this.getColor(state).toString(16), ";") +
|
|
55299
|
+
"line-height: ".concat(this.getLineHeight(), "px;") +
|
|
55259
55300
|
"-moz-tab-size: 4; -o-tab-size: 4; tab-size: 4;");
|
|
55260
55301
|
};
|
|
55261
55302
|
DThemeDarkHtmlElement.prototype.getElementStyleMargin = function (state) {
|
|
@@ -55279,14 +55320,14 @@ var DThemeDarkHtmlElement = /** @class */ (function (_super) {
|
|
|
55279
55320
|
};
|
|
55280
55321
|
DThemeDarkHtmlElement.prototype.getClipperStylePositionPosition = function (rect) {
|
|
55281
55322
|
if (rect) {
|
|
55282
|
-
return "left: "
|
|
55323
|
+
return "left: ".concat(rect.x, "px; top: ").concat(rect.y, "px;");
|
|
55283
55324
|
}
|
|
55284
55325
|
return "left: 0px; top: 0px;";
|
|
55285
55326
|
};
|
|
55286
55327
|
DThemeDarkHtmlElement.prototype.getClipperStylePositionSize = function (rect) {
|
|
55287
55328
|
if (rect) {
|
|
55288
|
-
return ("width: "
|
|
55289
|
-
|
|
55329
|
+
return ("width: ".concat(rect.width, "px; height: ").concat(rect.height, "px;") +
|
|
55330
|
+
"line-height: ".concat(rect.height, "px;"));
|
|
55290
55331
|
}
|
|
55291
55332
|
return "width: 0px; height: 0px;";
|
|
55292
55333
|
};
|
|
@@ -55526,7 +55567,7 @@ var DThemeDarkInput = /** @class */ (function (_super) {
|
|
|
55526
55567
|
* SPDX-License-Identifier: Apache-2.0
|
|
55527
55568
|
*/
|
|
55528
55569
|
var CREATOR_CLASSNAME$1 = "d-theme-dark-input";
|
|
55529
|
-
var CREATOR_CLASSNAME_ELEMENT$1 = CREATOR_CLASSNAME$1
|
|
55570
|
+
var CREATOR_CLASSNAME_ELEMENT$1 = "".concat(CREATOR_CLASSNAME$1, "-element");
|
|
55530
55571
|
var elementCreator$1 = function (container) {
|
|
55531
55572
|
var found = container.getElementsByClassName(CREATOR_CLASSNAME_ELEMENT$1);
|
|
55532
55573
|
if (0 < found.length) {
|
|
@@ -55548,15 +55589,15 @@ var divCreator$1 = function (container, classname) {
|
|
|
55548
55589
|
container.appendChild(result);
|
|
55549
55590
|
return result;
|
|
55550
55591
|
};
|
|
55551
|
-
var CREATOR_CLASSNAME_CLIPPER$1 = CREATOR_CLASSNAME$1
|
|
55592
|
+
var CREATOR_CLASSNAME_CLIPPER$1 = "".concat(CREATOR_CLASSNAME$1, "-clipper");
|
|
55552
55593
|
var clipperCreator$1 = function (container) {
|
|
55553
55594
|
return divCreator$1(container, CREATOR_CLASSNAME_CLIPPER$1);
|
|
55554
55595
|
};
|
|
55555
|
-
var CREATOR_CLASSNAME_BEFORE$1 = CREATOR_CLASSNAME$1
|
|
55596
|
+
var CREATOR_CLASSNAME_BEFORE$1 = "".concat(CREATOR_CLASSNAME$1, "-before");
|
|
55556
55597
|
var beforeCreator$1 = function (container) {
|
|
55557
55598
|
return divCreator$1(container, CREATOR_CLASSNAME_BEFORE$1);
|
|
55558
55599
|
};
|
|
55559
|
-
var CREATOR_CLASSNAME_AFTER$1 = CREATOR_CLASSNAME$1
|
|
55600
|
+
var CREATOR_CLASSNAME_AFTER$1 = "".concat(CREATOR_CLASSNAME$1, "-after");
|
|
55560
55601
|
var afterCreator$1 = function (container) {
|
|
55561
55602
|
return divCreator$1(container, CREATOR_CLASSNAME_AFTER$1);
|
|
55562
55603
|
};
|
|
@@ -55768,7 +55809,7 @@ var loadThemeDarkInputText = function () {
|
|
|
55768
55809
|
* SPDX-License-Identifier: Apache-2.0
|
|
55769
55810
|
*/
|
|
55770
55811
|
var CREATOR_CLASSNAME = "d-theme-dark-input-text-area";
|
|
55771
|
-
var CREATOR_CLASSNAME_ELEMENT = CREATOR_CLASSNAME
|
|
55812
|
+
var CREATOR_CLASSNAME_ELEMENT = "".concat(CREATOR_CLASSNAME, "-element");
|
|
55772
55813
|
var elementCreator = function (container) {
|
|
55773
55814
|
var found = container.getElementsByClassName(CREATOR_CLASSNAME_ELEMENT);
|
|
55774
55815
|
if (0 < found.length) {
|
|
@@ -55790,15 +55831,15 @@ var divCreator = function (container, classname) {
|
|
|
55790
55831
|
container.appendChild(result);
|
|
55791
55832
|
return result;
|
|
55792
55833
|
};
|
|
55793
|
-
var CREATOR_CLASSNAME_CLIPPER = CREATOR_CLASSNAME
|
|
55834
|
+
var CREATOR_CLASSNAME_CLIPPER = "".concat(CREATOR_CLASSNAME, "-clipper");
|
|
55794
55835
|
var clipperCreator = function (container) {
|
|
55795
55836
|
return divCreator(container, CREATOR_CLASSNAME_CLIPPER);
|
|
55796
55837
|
};
|
|
55797
|
-
var CREATOR_CLASSNAME_BEFORE = CREATOR_CLASSNAME
|
|
55838
|
+
var CREATOR_CLASSNAME_BEFORE = "".concat(CREATOR_CLASSNAME, "-before");
|
|
55798
55839
|
var beforeCreator = function (container) {
|
|
55799
55840
|
return divCreator(container, CREATOR_CLASSNAME_BEFORE);
|
|
55800
55841
|
};
|
|
55801
|
-
var CREATOR_CLASSNAME_AFTER = CREATOR_CLASSNAME
|
|
55842
|
+
var CREATOR_CLASSNAME_AFTER = "".concat(CREATOR_CLASSNAME, "-after");
|
|
55802
55843
|
var afterCreator = function (container) {
|
|
55803
55844
|
return divCreator(container, CREATOR_CLASSNAME_AFTER);
|
|
55804
55845
|
};
|
|
@@ -60443,11 +60484,11 @@ var UtilName = /** @class */ (function () {
|
|
|
60443
60484
|
UtilName.create = function (type) {
|
|
60444
60485
|
var mapping = this._mapping;
|
|
60445
60486
|
if (type in mapping) {
|
|
60446
|
-
return type
|
|
60487
|
+
return "".concat(type, " ").concat(++mapping[type]);
|
|
60447
60488
|
}
|
|
60448
60489
|
else {
|
|
60449
60490
|
mapping[type] = 1;
|
|
60450
|
-
return type
|
|
60491
|
+
return "".concat(type, " 1");
|
|
60451
60492
|
}
|
|
60452
60493
|
};
|
|
60453
60494
|
UtilName._mapping = {};
|
|
@@ -60465,7 +60506,7 @@ var UtilRgba = /** @class */ (function () {
|
|
|
60465
60506
|
var r = (color >> 16) & 0xff;
|
|
60466
60507
|
var g = (color >> 8) & 0xff;
|
|
60467
60508
|
var b = color & 0xff;
|
|
60468
|
-
return "rgba("
|
|
60509
|
+
return "rgba(".concat(r, ",").concat(g, ",").concat(b, ",").concat(alpha, ")");
|
|
60469
60510
|
};
|
|
60470
60511
|
return UtilRgba;
|
|
60471
60512
|
}());
|
|
@@ -60751,8 +60792,9 @@ var UtilWheelEvent = /** @class */ (function () {
|
|
|
60751
60792
|
var DAnimationEmpty = /** @class */ (function (_super) {
|
|
60752
60793
|
__extends(DAnimationEmpty, _super);
|
|
60753
60794
|
function DAnimationEmpty(options) {
|
|
60795
|
+
var _this = this;
|
|
60754
60796
|
var _a;
|
|
60755
|
-
|
|
60797
|
+
_this = _super.call(this) || this;
|
|
60756
60798
|
_this._target = (_a = options === null || options === void 0 ? void 0 : options.target) !== null && _a !== void 0 ? _a : null;
|
|
60757
60799
|
_this._reverse = false;
|
|
60758
60800
|
_this._isStarted = false;
|
|
@@ -63354,12 +63396,15 @@ var DPickerColorGradientView = /** @class */ (function (_super) {
|
|
|
63354
63396
|
return indices;
|
|
63355
63397
|
};
|
|
63356
63398
|
DPickerColorGradientView.prototype._calculateBounds = function () {
|
|
63399
|
+
var worldTransform = this.transform.worldTransform;
|
|
63357
63400
|
var rect = this._parts[0].rect;
|
|
63358
63401
|
var bounds = this._bounds;
|
|
63359
63402
|
var work = this._workPoint;
|
|
63360
63403
|
work.set(rect.x, rect.y);
|
|
63404
|
+
worldTransform.apply(work, work);
|
|
63361
63405
|
bounds.addPoint(work);
|
|
63362
63406
|
work.set(rect.x + rect.width, rect.y + rect.height);
|
|
63407
|
+
worldTransform.apply(work, work);
|
|
63363
63408
|
bounds.addPoint(work);
|
|
63364
63409
|
};
|
|
63365
63410
|
DPickerColorGradientView.prototype.update = function () {
|
|
@@ -63864,21 +63909,34 @@ var DButtonColorGradient = /** @class */ (function (_super) {
|
|
|
63864
63909
|
_super.prototype.onActivate.call(this, e);
|
|
63865
63910
|
var value = this._textValueComputed;
|
|
63866
63911
|
var dialog = this.dialog;
|
|
63867
|
-
|
|
63868
|
-
|
|
63869
|
-
|
|
63870
|
-
|
|
63871
|
-
|
|
63872
|
-
var view = _this._view;
|
|
63873
|
-
if (view != null) {
|
|
63874
|
-
view.update();
|
|
63875
|
-
}
|
|
63876
|
-
_this.onTextChange();
|
|
63877
|
-
_this.createOrUpdateText();
|
|
63878
|
-
DApplications.update(_this);
|
|
63879
|
-
_this.emit("change", newValue, oldValue, _this);
|
|
63912
|
+
if (value != null) {
|
|
63913
|
+
dialog.value.fromObject(value);
|
|
63914
|
+
}
|
|
63915
|
+
dialog.open(this).then(function (newValue) {
|
|
63916
|
+
_this.onValueChange(newValue, _this.toClone(value));
|
|
63880
63917
|
});
|
|
63881
63918
|
};
|
|
63919
|
+
DButtonColorGradient.prototype.toClone = function (value) {
|
|
63920
|
+
var result = new DColorGradientObservable();
|
|
63921
|
+
if (value != null) {
|
|
63922
|
+
result.fromObject(value);
|
|
63923
|
+
}
|
|
63924
|
+
return result;
|
|
63925
|
+
};
|
|
63926
|
+
DButtonColorGradient.prototype.onValueChange = function (newValue, oldValue) {
|
|
63927
|
+
var value = this._textValueComputed;
|
|
63928
|
+
if (value != null) {
|
|
63929
|
+
value.fromObject(newValue);
|
|
63930
|
+
}
|
|
63931
|
+
var view = this._view;
|
|
63932
|
+
if (view != null) {
|
|
63933
|
+
view.update();
|
|
63934
|
+
}
|
|
63935
|
+
this.onTextChange();
|
|
63936
|
+
this.createOrUpdateText();
|
|
63937
|
+
DApplications.update(this);
|
|
63938
|
+
this.emit("change", newValue, oldValue, this);
|
|
63939
|
+
};
|
|
63882
63940
|
Object.defineProperty(DButtonColorGradient.prototype, "dialog", {
|
|
63883
63941
|
get: function () {
|
|
63884
63942
|
var _a;
|
|
@@ -63886,11 +63944,14 @@ var DButtonColorGradient = /** @class */ (function (_super) {
|
|
|
63886
63944
|
if (dialog == null) {
|
|
63887
63945
|
var options = (_a = this._options) === null || _a === void 0 ? void 0 : _a.dialog;
|
|
63888
63946
|
if (options) {
|
|
63889
|
-
dialog =
|
|
63947
|
+
dialog = this.newDialog(options);
|
|
63890
63948
|
}
|
|
63891
63949
|
else {
|
|
63892
63950
|
if (DButtonColorGradient.DIALOG == null) {
|
|
63893
|
-
DButtonColorGradient.DIALOG =
|
|
63951
|
+
DButtonColorGradient.DIALOG = this.newDialog({
|
|
63952
|
+
mode: "MENU",
|
|
63953
|
+
sticky: true
|
|
63954
|
+
});
|
|
63894
63955
|
}
|
|
63895
63956
|
dialog = DButtonColorGradient.DIALOG;
|
|
63896
63957
|
}
|
|
@@ -63901,6 +63962,9 @@ var DButtonColorGradient = /** @class */ (function (_super) {
|
|
|
63901
63962
|
enumerable: false,
|
|
63902
63963
|
configurable: true
|
|
63903
63964
|
});
|
|
63965
|
+
DButtonColorGradient.prototype.newDialog = function (options) {
|
|
63966
|
+
return new DDialogColorGradient(options);
|
|
63967
|
+
};
|
|
63904
63968
|
Object.defineProperty(DButtonColorGradient.prototype, "value", {
|
|
63905
63969
|
get: function () {
|
|
63906
63970
|
return this._textValueComputed;
|
|
@@ -63987,34 +64051,21 @@ var DButtonColor = /** @class */ (function (_super) {
|
|
|
63987
64051
|
function DButtonColor() {
|
|
63988
64052
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
63989
64053
|
}
|
|
63990
|
-
DButtonColor.prototype.init = function (options) {
|
|
63991
|
-
var _this = this;
|
|
63992
|
-
_super.prototype.init.call(this, options);
|
|
63993
|
-
var value = this._textValueComputed;
|
|
63994
|
-
this._value = new DPickerColorAndAlpha(value, function (color) {
|
|
63995
|
-
value.color = color;
|
|
63996
|
-
_this.onColorChange();
|
|
63997
|
-
}, function (alpha) {
|
|
63998
|
-
value.alpha = alpha;
|
|
63999
|
-
_this.updateTextForcibly();
|
|
64000
|
-
});
|
|
64001
|
-
};
|
|
64002
64054
|
DButtonColor.prototype.onActivate = function (e) {
|
|
64003
64055
|
var _this = this;
|
|
64004
64056
|
_super.prototype.onActivate.call(this, e);
|
|
64005
|
-
var value = this._textValueComputed;
|
|
64006
64057
|
var dialog = this.dialog;
|
|
64007
|
-
var
|
|
64008
|
-
|
|
64009
|
-
|
|
64010
|
-
|
|
64011
|
-
|
|
64012
|
-
|
|
64013
|
-
|
|
64014
|
-
|
|
64015
|
-
|
|
64016
|
-
|
|
64017
|
-
_this.onValueChange(_this.toClone(
|
|
64058
|
+
var value = this._textValueComputed;
|
|
64059
|
+
if (value != null) {
|
|
64060
|
+
var dialogCurrent = dialog.current;
|
|
64061
|
+
dialogCurrent.color = value.color;
|
|
64062
|
+
dialogCurrent.alpha = value.alpha;
|
|
64063
|
+
var dialogNew = dialog.new;
|
|
64064
|
+
dialogNew.color = value.color;
|
|
64065
|
+
dialogNew.alpha = value.alpha;
|
|
64066
|
+
}
|
|
64067
|
+
dialog.open(this).then(function () {
|
|
64068
|
+
_this.onValueChange(_this.toClone(dialog.new), _this.toClone(dialog.current));
|
|
64018
64069
|
});
|
|
64019
64070
|
};
|
|
64020
64071
|
DButtonColor.prototype.toClone = function (value) {
|
|
@@ -64024,6 +64075,12 @@ var DButtonColor = /** @class */ (function (_super) {
|
|
|
64024
64075
|
};
|
|
64025
64076
|
};
|
|
64026
64077
|
DButtonColor.prototype.onValueChange = function (newValue, oldValue) {
|
|
64078
|
+
var value = this._textValueComputed;
|
|
64079
|
+
if (value != null) {
|
|
64080
|
+
value.color = newValue.color;
|
|
64081
|
+
value.alpha = newValue.alpha;
|
|
64082
|
+
}
|
|
64083
|
+
this.onColorChange();
|
|
64027
64084
|
this.emit("change", newValue, oldValue, this);
|
|
64028
64085
|
};
|
|
64029
64086
|
DButtonColor.prototype.toImageTintOptions = function (tint) {
|
|
@@ -64069,11 +64126,14 @@ var DButtonColor = /** @class */ (function (_super) {
|
|
|
64069
64126
|
if (dialog == null) {
|
|
64070
64127
|
var options = (_a = this._options) === null || _a === void 0 ? void 0 : _a.dialog;
|
|
64071
64128
|
if (options) {
|
|
64072
|
-
dialog =
|
|
64129
|
+
dialog = this.newDialog(options);
|
|
64073
64130
|
}
|
|
64074
64131
|
else {
|
|
64075
64132
|
if (DButtonColor.DIALOG == null) {
|
|
64076
|
-
DButtonColor.DIALOG =
|
|
64133
|
+
DButtonColor.DIALOG = this.newDialog({
|
|
64134
|
+
mode: "MENU",
|
|
64135
|
+
sticky: true
|
|
64136
|
+
});
|
|
64077
64137
|
}
|
|
64078
64138
|
dialog = DButtonColor.DIALOG;
|
|
64079
64139
|
}
|
|
@@ -64084,13 +64144,32 @@ var DButtonColor = /** @class */ (function (_super) {
|
|
|
64084
64144
|
enumerable: false,
|
|
64085
64145
|
configurable: true
|
|
64086
64146
|
});
|
|
64147
|
+
DButtonColor.prototype.newDialog = function (options) {
|
|
64148
|
+
return new DDialogColor(options);
|
|
64149
|
+
};
|
|
64087
64150
|
Object.defineProperty(DButtonColor.prototype, "value", {
|
|
64088
64151
|
get: function () {
|
|
64089
|
-
|
|
64152
|
+
var result = this._value;
|
|
64153
|
+
if (result == null) {
|
|
64154
|
+
result = this.newValue();
|
|
64155
|
+
this._value = result;
|
|
64156
|
+
}
|
|
64157
|
+
return result;
|
|
64090
64158
|
},
|
|
64091
64159
|
enumerable: false,
|
|
64092
64160
|
configurable: true
|
|
64093
64161
|
});
|
|
64162
|
+
DButtonColor.prototype.newValue = function () {
|
|
64163
|
+
var _this = this;
|
|
64164
|
+
var value = this._textValueComputed;
|
|
64165
|
+
return new DPickerColorAndAlpha(value, function (color) {
|
|
64166
|
+
value.color = color;
|
|
64167
|
+
_this.onColorChange();
|
|
64168
|
+
}, function (alpha) {
|
|
64169
|
+
value.alpha = alpha;
|
|
64170
|
+
_this.updateTextForcibly();
|
|
64171
|
+
});
|
|
64172
|
+
};
|
|
64094
64173
|
DButtonColor.prototype.getType = function () {
|
|
64095
64174
|
return "DButtonColor";
|
|
64096
64175
|
};
|
|
@@ -64112,22 +64191,6 @@ var DButtonDanger = /** @class */ (function (_super) {
|
|
|
64112
64191
|
return DButtonDanger;
|
|
64113
64192
|
}(DButton));
|
|
64114
64193
|
|
|
64115
|
-
/*
|
|
64116
|
-
* Copyright (C) 2019 Toshiba Corporation
|
|
64117
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
64118
|
-
*/
|
|
64119
|
-
var DDialogDates = /** @class */ (function () {
|
|
64120
|
-
function DDialogDates() {
|
|
64121
|
-
}
|
|
64122
|
-
DDialogDates.getInstance = function () {
|
|
64123
|
-
if (DDialogDates.INSTANCE == null) {
|
|
64124
|
-
DDialogDates.INSTANCE = new DDialogDate();
|
|
64125
|
-
}
|
|
64126
|
-
return DDialogDates.INSTANCE;
|
|
64127
|
-
};
|
|
64128
|
-
return DDialogDates;
|
|
64129
|
-
}());
|
|
64130
|
-
|
|
64131
64194
|
/*
|
|
64132
64195
|
* Copyright (C) 2019 Toshiba Corporation
|
|
64133
64196
|
* SPDX-License-Identifier: Apache-2.0
|
|
@@ -64146,13 +64209,14 @@ var DButtonDate = /** @class */ (function (_super) {
|
|
|
64146
64209
|
dialog.current = new Date(value);
|
|
64147
64210
|
dialog.new = new Date(value);
|
|
64148
64211
|
dialog.page = new Date(value);
|
|
64149
|
-
dialog.open().then(function () {
|
|
64150
|
-
|
|
64151
|
-
var oldValue = dialog.current;
|
|
64152
|
-
_this.text = new Date(newValue.getTime());
|
|
64153
|
-
_this.emit("change", newValue, oldValue, _this);
|
|
64212
|
+
dialog.open(this).then(function () {
|
|
64213
|
+
_this.onValueChange(dialog.new, dialog.current);
|
|
64154
64214
|
});
|
|
64155
64215
|
};
|
|
64216
|
+
DButtonDate.prototype.onValueChange = function (newValue, oldValue) {
|
|
64217
|
+
this.text = new Date(newValue.getTime());
|
|
64218
|
+
this.emit("change", newValue, oldValue, this);
|
|
64219
|
+
};
|
|
64156
64220
|
Object.defineProperty(DButtonDate.prototype, "dialog", {
|
|
64157
64221
|
get: function () {
|
|
64158
64222
|
var _a;
|
|
@@ -64160,10 +64224,16 @@ var DButtonDate = /** @class */ (function (_super) {
|
|
|
64160
64224
|
if (dialog == null) {
|
|
64161
64225
|
var options = (_a = this._options) === null || _a === void 0 ? void 0 : _a.dialog;
|
|
64162
64226
|
if (options) {
|
|
64163
|
-
dialog =
|
|
64227
|
+
dialog = this.newDialog(options);
|
|
64164
64228
|
}
|
|
64165
64229
|
else {
|
|
64166
|
-
|
|
64230
|
+
if (DButtonDate.DIALOG == null) {
|
|
64231
|
+
DButtonDate.DIALOG = this.newDialog({
|
|
64232
|
+
mode: "MENU",
|
|
64233
|
+
sticky: true
|
|
64234
|
+
});
|
|
64235
|
+
}
|
|
64236
|
+
dialog = DButtonDate.DIALOG;
|
|
64167
64237
|
}
|
|
64168
64238
|
this._dialog = dialog;
|
|
64169
64239
|
}
|
|
@@ -64172,6 +64242,9 @@ var DButtonDate = /** @class */ (function (_super) {
|
|
|
64172
64242
|
enumerable: false,
|
|
64173
64243
|
configurable: true
|
|
64174
64244
|
});
|
|
64245
|
+
DButtonDate.prototype.newDialog = function (options) {
|
|
64246
|
+
return new DDialogDate(options);
|
|
64247
|
+
};
|
|
64175
64248
|
Object.defineProperty(DButtonDate.prototype, "value", {
|
|
64176
64249
|
get: function () {
|
|
64177
64250
|
var _a;
|
|
@@ -64192,22 +64265,6 @@ var DButtonDate = /** @class */ (function (_super) {
|
|
|
64192
64265
|
return DButtonDate;
|
|
64193
64266
|
}(DButton));
|
|
64194
64267
|
|
|
64195
|
-
/*
|
|
64196
|
-
* Copyright (C) 2019 Toshiba Corporation
|
|
64197
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
64198
|
-
*/
|
|
64199
|
-
var DDialogDatetimes = /** @class */ (function () {
|
|
64200
|
-
function DDialogDatetimes() {
|
|
64201
|
-
}
|
|
64202
|
-
DDialogDatetimes.getInstance = function () {
|
|
64203
|
-
if (DDialogDatetimes.INSTANCE == null) {
|
|
64204
|
-
DDialogDatetimes.INSTANCE = new DDialogDatetime();
|
|
64205
|
-
}
|
|
64206
|
-
return DDialogDatetimes.INSTANCE;
|
|
64207
|
-
};
|
|
64208
|
-
return DDialogDatetimes;
|
|
64209
|
-
}());
|
|
64210
|
-
|
|
64211
64268
|
/*
|
|
64212
64269
|
* Copyright (C) 2019 Toshiba Corporation
|
|
64213
64270
|
* SPDX-License-Identifier: Apache-2.0
|
|
@@ -64226,13 +64283,14 @@ var DButtonDatetime = /** @class */ (function (_super) {
|
|
|
64226
64283
|
dialog.current = new Date(value);
|
|
64227
64284
|
dialog.new = new Date(value);
|
|
64228
64285
|
dialog.page = new Date(value);
|
|
64229
|
-
dialog.open().then(function () {
|
|
64230
|
-
|
|
64231
|
-
var oldValue = dialog.current;
|
|
64232
|
-
_this.text = new Date(newValue.getTime());
|
|
64233
|
-
_this.emit("change", newValue, oldValue, _this);
|
|
64286
|
+
dialog.open(this).then(function () {
|
|
64287
|
+
_this.onValueChange(dialog.new, dialog.current);
|
|
64234
64288
|
});
|
|
64235
64289
|
};
|
|
64290
|
+
DButtonDatetime.prototype.onValueChange = function (newValue, oldValue) {
|
|
64291
|
+
this.text = new Date(newValue.getTime());
|
|
64292
|
+
this.emit("change", newValue, oldValue, this);
|
|
64293
|
+
};
|
|
64236
64294
|
DButtonDatetime.prototype.getDatetimeMask = function () {
|
|
64237
64295
|
var _a, _b;
|
|
64238
64296
|
var result = this._datetimeMask;
|
|
@@ -64249,10 +64307,16 @@ var DButtonDatetime = /** @class */ (function (_super) {
|
|
|
64249
64307
|
if (dialog == null) {
|
|
64250
64308
|
var options = (_a = this._options) === null || _a === void 0 ? void 0 : _a.dialog;
|
|
64251
64309
|
if (options) {
|
|
64252
|
-
dialog =
|
|
64310
|
+
dialog = this.newDialog(options);
|
|
64253
64311
|
}
|
|
64254
64312
|
else {
|
|
64255
|
-
|
|
64313
|
+
if (DButtonDatetime.DIALOG == null) {
|
|
64314
|
+
DButtonDatetime.DIALOG = this.newDialog({
|
|
64315
|
+
mode: "MENU",
|
|
64316
|
+
sticky: true
|
|
64317
|
+
});
|
|
64318
|
+
}
|
|
64319
|
+
dialog = DButtonDatetime.DIALOG;
|
|
64256
64320
|
}
|
|
64257
64321
|
this._dialog = dialog;
|
|
64258
64322
|
}
|
|
@@ -64261,6 +64325,9 @@ var DButtonDatetime = /** @class */ (function (_super) {
|
|
|
64261
64325
|
enumerable: false,
|
|
64262
64326
|
configurable: true
|
|
64263
64327
|
});
|
|
64328
|
+
DButtonDatetime.prototype.newDialog = function (options) {
|
|
64329
|
+
return new DDialogDatetime(options);
|
|
64330
|
+
};
|
|
64264
64331
|
Object.defineProperty(DButtonDatetime.prototype, "value", {
|
|
64265
64332
|
get: function () {
|
|
64266
64333
|
var _a;
|
|
@@ -65870,8 +65937,9 @@ var DContent = /** @class */ (function (_super) {
|
|
|
65870
65937
|
var DScrollBar = /** @class */ (function (_super) {
|
|
65871
65938
|
__extends(DScrollBar, _super);
|
|
65872
65939
|
function DScrollBar(options) {
|
|
65940
|
+
var _this = this;
|
|
65873
65941
|
var _a, _b;
|
|
65874
|
-
|
|
65942
|
+
_this = _super.call(this, options) || this;
|
|
65875
65943
|
_this._start = 0;
|
|
65876
65944
|
_this._end = 1;
|
|
65877
65945
|
_this.visible = false;
|
|
@@ -66335,8 +66403,9 @@ var DPaneScrollBar = /** @class */ (function () {
|
|
|
66335
66403
|
var DPane = /** @class */ (function (_super) {
|
|
66336
66404
|
__extends(DPane, _super);
|
|
66337
66405
|
function DPane(options) {
|
|
66406
|
+
var _this = this;
|
|
66338
66407
|
var _a;
|
|
66339
|
-
|
|
66408
|
+
_this = _super.call(this, options) || this;
|
|
66340
66409
|
// Mask
|
|
66341
66410
|
var theme = _this.theme;
|
|
66342
66411
|
if ((_a = options === null || options === void 0 ? void 0 : options.mask) !== null && _a !== void 0 ? _a : theme.isOverflowMaskEnabled()) {
|
|
@@ -67192,8 +67261,9 @@ var toOptions = function (options) {
|
|
|
67192
67261
|
var DButtonSelect = /** @class */ (function (_super) {
|
|
67193
67262
|
__extends(DButtonSelect, _super);
|
|
67194
67263
|
function DButtonSelect(options) {
|
|
67264
|
+
var _this = this;
|
|
67195
67265
|
var _a, _b;
|
|
67196
|
-
|
|
67266
|
+
_this = _super.call(this, toOptions(options)) || this;
|
|
67197
67267
|
_this._dialogGetter = (_a = options === null || options === void 0 ? void 0 : options.getter) !== null && _a !== void 0 ? _a : defaultGetter$1;
|
|
67198
67268
|
_this._dialogSetter = (_b = options === null || options === void 0 ? void 0 : options.setter) !== null && _b !== void 0 ? _b : defaultSetter$1;
|
|
67199
67269
|
return _this;
|
|
@@ -67250,22 +67320,6 @@ var DButtonSelect = /** @class */ (function (_super) {
|
|
|
67250
67320
|
return DButtonSelect;
|
|
67251
67321
|
}(DButton));
|
|
67252
67322
|
|
|
67253
|
-
/*
|
|
67254
|
-
* Copyright (C) 2019 Toshiba Corporation
|
|
67255
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
67256
|
-
*/
|
|
67257
|
-
var DDialogTimes = /** @class */ (function () {
|
|
67258
|
-
function DDialogTimes() {
|
|
67259
|
-
}
|
|
67260
|
-
DDialogTimes.getInstance = function () {
|
|
67261
|
-
if (DDialogTimes.INSTANCE == null) {
|
|
67262
|
-
DDialogTimes.INSTANCE = new DDialogTime();
|
|
67263
|
-
}
|
|
67264
|
-
return DDialogTimes.INSTANCE;
|
|
67265
|
-
};
|
|
67266
|
-
return DDialogTimes;
|
|
67267
|
-
}());
|
|
67268
|
-
|
|
67269
67323
|
/*
|
|
67270
67324
|
* Copyright (C) 2019 Toshiba Corporation
|
|
67271
67325
|
* SPDX-License-Identifier: Apache-2.0
|
|
@@ -67283,13 +67337,14 @@ var DButtonTime = /** @class */ (function (_super) {
|
|
|
67283
67337
|
var dialog = this.dialog;
|
|
67284
67338
|
dialog.current = new Date(value);
|
|
67285
67339
|
dialog.new = new Date(value);
|
|
67286
|
-
dialog.open().then(function () {
|
|
67287
|
-
|
|
67288
|
-
var oldValue = dialog.current;
|
|
67289
|
-
_this.text = new Date(newValue.getTime());
|
|
67290
|
-
_this.emit("change", newValue, oldValue, _this);
|
|
67340
|
+
dialog.open(this).then(function () {
|
|
67341
|
+
_this.onValueChange(dialog.new, dialog.current);
|
|
67291
67342
|
});
|
|
67292
67343
|
};
|
|
67344
|
+
DButtonTime.prototype.onValueChange = function (newValue, oldValue) {
|
|
67345
|
+
this.text = new Date(newValue.getTime());
|
|
67346
|
+
this.emit("change", newValue, oldValue, this);
|
|
67347
|
+
};
|
|
67293
67348
|
DButtonTime.prototype.getDatetimeMask = function () {
|
|
67294
67349
|
var _a, _b;
|
|
67295
67350
|
var result = this._datetimeMask;
|
|
@@ -67306,10 +67361,16 @@ var DButtonTime = /** @class */ (function (_super) {
|
|
|
67306
67361
|
if (dialog == null) {
|
|
67307
67362
|
var options = (_a = this._options) === null || _a === void 0 ? void 0 : _a.dialog;
|
|
67308
67363
|
if (options) {
|
|
67309
|
-
dialog =
|
|
67364
|
+
dialog = this.newDialog(options);
|
|
67310
67365
|
}
|
|
67311
67366
|
else {
|
|
67312
|
-
|
|
67367
|
+
if (DButtonTime.DIALOG == null) {
|
|
67368
|
+
DButtonTime.DIALOG = this.newDialog({
|
|
67369
|
+
mode: "MENU",
|
|
67370
|
+
sticky: true
|
|
67371
|
+
});
|
|
67372
|
+
}
|
|
67373
|
+
dialog = DButtonTime.DIALOG;
|
|
67313
67374
|
}
|
|
67314
67375
|
this._dialog = dialog;
|
|
67315
67376
|
}
|
|
@@ -67318,6 +67379,9 @@ var DButtonTime = /** @class */ (function (_super) {
|
|
|
67318
67379
|
enumerable: false,
|
|
67319
67380
|
configurable: true
|
|
67320
67381
|
});
|
|
67382
|
+
DButtonTime.prototype.newDialog = function (options) {
|
|
67383
|
+
return new DDialogTime(options);
|
|
67384
|
+
};
|
|
67321
67385
|
Object.defineProperty(DButtonTime.prototype, "value", {
|
|
67322
67386
|
get: function () {
|
|
67323
67387
|
var _a;
|
|
@@ -70278,8 +70342,9 @@ var DChartSelectionPoint = {
|
|
|
70278
70342
|
var DChartSelectionSubImpl = /** @class */ (function (_super) {
|
|
70279
70343
|
__extends(DChartSelectionSubImpl, _super);
|
|
70280
70344
|
function DChartSelectionSubImpl(options) {
|
|
70345
|
+
var _this = this;
|
|
70281
70346
|
var _a, _b, _c;
|
|
70282
|
-
|
|
70347
|
+
_this = _super.call(this) || this;
|
|
70283
70348
|
_this._container = null;
|
|
70284
70349
|
_this._series = null;
|
|
70285
70350
|
_this._isEnabled = (_a = options.enable) !== null && _a !== void 0 ? _a : true;
|
|
@@ -70440,8 +70505,9 @@ var DChartSelectionSubImpl = /** @class */ (function (_super) {
|
|
|
70440
70505
|
var DChartSelectionSimple = /** @class */ (function (_super) {
|
|
70441
70506
|
__extends(DChartSelectionSimple, _super);
|
|
70442
70507
|
function DChartSelectionSimple(options) {
|
|
70508
|
+
var _this = this;
|
|
70443
70509
|
var _a;
|
|
70444
|
-
|
|
70510
|
+
_this = _super.call(this) || this;
|
|
70445
70511
|
_this._container = null;
|
|
70446
70512
|
var point = toEnum((_a = options === null || options === void 0 ? void 0 : options.point) !== null && _a !== void 0 ? _a : DChartSelectionPoint.CLOSER, DChartSelectionPoint);
|
|
70447
70513
|
_this._selected = _this.newSelected(point, options === null || options === void 0 ? void 0 : options.selected);
|
|
@@ -71306,8 +71372,9 @@ var DChartSeriesLineOfTriangleRoundeds = /** @class */ (function (_super) {
|
|
|
71306
71372
|
var DChartSeriesLine = /** @class */ (function (_super) {
|
|
71307
71373
|
__extends(DChartSeriesLine, _super);
|
|
71308
71374
|
function DChartSeriesLine(options) {
|
|
71375
|
+
var _this = this;
|
|
71309
71376
|
var _a;
|
|
71310
|
-
|
|
71377
|
+
_this = _super.call(this, options) || this;
|
|
71311
71378
|
_this._line = null;
|
|
71312
71379
|
_this._options = options;
|
|
71313
71380
|
_this._points = (_a = options === null || options === void 0 ? void 0 : options.points) !== null && _a !== void 0 ? _a : [];
|
|
@@ -72230,8 +72297,9 @@ var DDiagramSnapshot = /** @class */ (function (_super) {
|
|
|
72230
72297
|
var DDiagramBase = /** @class */ (function (_super) {
|
|
72231
72298
|
__extends(DDiagramBase, _super);
|
|
72232
72299
|
function DDiagramBase(options) {
|
|
72300
|
+
var _this = this;
|
|
72233
72301
|
var _a;
|
|
72234
|
-
|
|
72302
|
+
_this = _super.call(this, options) || this;
|
|
72235
72303
|
_this._serialized = null;
|
|
72236
72304
|
_this._tileFactory = options === null || options === void 0 ? void 0 : options.tile;
|
|
72237
72305
|
_this._controller = options === null || options === void 0 ? void 0 : options.controller;
|
|
@@ -74284,10 +74352,10 @@ var DDiagram = /** @class */ (function (_super) {
|
|
|
74284
74352
|
var formatter = Function("value",
|
|
74285
74353
|
/* eslint-disable prettier/prettier */
|
|
74286
74354
|
"try {" +
|
|
74287
|
-
|
|
74355
|
+
"return (".concat(datumFormat, ");") +
|
|
74288
74356
|
"} catch( e1 ) {" +
|
|
74289
74357
|
"try {" +
|
|
74290
|
-
|
|
74358
|
+
"return (".concat(0 < datumInitial.length ? datumInitial : 0, ");") +
|
|
74291
74359
|
"} catch( e2 ) {" +
|
|
74292
74360
|
"return 0;" +
|
|
74293
74361
|
"}" +
|
|
@@ -74310,7 +74378,7 @@ var DDiagram = /** @class */ (function (_super) {
|
|
|
74310
74378
|
shapeDatum.value = initialMap[datumInitial] = Function(
|
|
74311
74379
|
/* eslint-disable prettier/prettier */
|
|
74312
74380
|
"try {" +
|
|
74313
|
-
|
|
74381
|
+
"return (".concat(datumInitial, ");") +
|
|
74314
74382
|
"} catch( e ) {" +
|
|
74315
74383
|
"return 0;" +
|
|
74316
74384
|
"}"
|
|
@@ -74542,8 +74610,9 @@ var DDialogProcessingMessage = /** @class */ (function (_super) {
|
|
|
74542
74610
|
var DDialogProcessing = /** @class */ (function (_super) {
|
|
74543
74611
|
__extends(DDialogProcessing, _super);
|
|
74544
74612
|
function DDialogProcessing(options) {
|
|
74613
|
+
var _this = this;
|
|
74545
74614
|
var _a;
|
|
74546
|
-
|
|
74615
|
+
_this = _super.call(this, options) || this;
|
|
74547
74616
|
_this._isDone = true;
|
|
74548
74617
|
_this._startTime = 0;
|
|
74549
74618
|
var delay = options === null || options === void 0 ? void 0 : options.delay;
|
|
@@ -75989,20 +76058,20 @@ var DMapTilePyramidImpl = /** @class */ (function (_super) {
|
|
|
75989
76058
|
*/
|
|
75990
76059
|
var DMapTileUrlBuilderKokudo = function (tz, tx, ty) {
|
|
75991
76060
|
if (5 <= tz) {
|
|
75992
|
-
return "https://cyberjapandata.gsi.go.jp/xyz/pale/"
|
|
76061
|
+
return "https://cyberjapandata.gsi.go.jp/xyz/pale/".concat(tz, "/").concat(tx, "/").concat(ty, ".png");
|
|
75993
76062
|
}
|
|
75994
76063
|
else if (2 <= tz) {
|
|
75995
|
-
return "https://cyberjapandata.gsi.go.jp/xyz/std/"
|
|
76064
|
+
return "https://cyberjapandata.gsi.go.jp/xyz/std/".concat(tz, "/").concat(tx, "/").concat(ty, ".png");
|
|
75996
76065
|
}
|
|
75997
76066
|
else {
|
|
75998
|
-
return "https://cyberjapandata.gsi.go.jp/xyz/earthhillshade/"
|
|
76067
|
+
return "https://cyberjapandata.gsi.go.jp/xyz/earthhillshade/".concat(tz, "/").concat(tx, "/").concat(ty, ".png");
|
|
75999
76068
|
}
|
|
76000
76069
|
};
|
|
76001
76070
|
var DMapTileUrlBuilderOsm = function (tz, tx, ty) {
|
|
76002
|
-
return "https://"
|
|
76071
|
+
return "https://".concat("abc"[(tx + ty) % 3], ".tile.openstreetmap.org/").concat(tz, "/").concat(tx, "/").concat(ty, ".png");
|
|
76003
76072
|
};
|
|
76004
76073
|
var DMapTileUrlBuilderOsmfj = function (tz, tx, ty) {
|
|
76005
|
-
return "https://j.tile.openstreetmap.jp/"
|
|
76074
|
+
return "https://j.tile.openstreetmap.jp/".concat(tz, "/").concat(tx, "/").concat(ty, ".png");
|
|
76006
76075
|
};
|
|
76007
76076
|
var DMapTilePyramids = /** @class */ (function () {
|
|
76008
76077
|
function DMapTilePyramids() {
|
|
@@ -76189,8 +76258,9 @@ var defaultFilter = function () { return true; };
|
|
|
76189
76258
|
var DMenuSidedSelection = /** @class */ (function (_super) {
|
|
76190
76259
|
__extends(DMenuSidedSelection, _super);
|
|
76191
76260
|
function DMenuSidedSelection(content, options) {
|
|
76261
|
+
var _this = this;
|
|
76192
76262
|
var _a, _b, _c;
|
|
76193
|
-
|
|
76263
|
+
_this = _super.call(this) || this;
|
|
76194
76264
|
_this._content = content;
|
|
76195
76265
|
_this._item = null;
|
|
76196
76266
|
_this._isDirty = true;
|
|
@@ -76311,8 +76381,9 @@ var DMenuSidedSelection = /** @class */ (function (_super) {
|
|
|
76311
76381
|
var DMenuSided = /** @class */ (function (_super) {
|
|
76312
76382
|
__extends(DMenuSided, _super);
|
|
76313
76383
|
function DMenuSided(options) {
|
|
76384
|
+
var _this = this;
|
|
76314
76385
|
var _a;
|
|
76315
|
-
|
|
76386
|
+
_this = _super.call(this, options) || this;
|
|
76316
76387
|
var context = new DMenuContext(_this);
|
|
76317
76388
|
_this._context = context;
|
|
76318
76389
|
context.add(_this);
|
|
@@ -76540,8 +76611,9 @@ var DPaginationPage = /** @class */ (function (_super) {
|
|
|
76540
76611
|
var DPagination = /** @class */ (function (_super) {
|
|
76541
76612
|
__extends(DPagination, _super);
|
|
76542
76613
|
function DPagination(options) {
|
|
76614
|
+
var _this = this;
|
|
76543
76615
|
var _a, _b, _c, _d;
|
|
76544
|
-
|
|
76616
|
+
_this = _super.call(this, options) || this;
|
|
76545
76617
|
if (options != null) {
|
|
76546
76618
|
_this._size = (_b = (_a = options.size) !== null && _a !== void 0 ? _a : options.total) !== null && _b !== void 0 ? _b : 10;
|
|
76547
76619
|
_this._value = (_d = (_c = options.value) !== null && _c !== void 0 ? _c : options.selected) !== null && _d !== void 0 ? _d : 0;
|
|
@@ -77473,7 +77545,7 @@ var DSlider = /** @class */ (function (_super) {
|
|
|
77473
77545
|
var text = options.text || {};
|
|
77474
77546
|
options.text = text;
|
|
77475
77547
|
if (text.value == null) {
|
|
77476
|
-
text.value = ""
|
|
77548
|
+
text.value = "".concat(options.value);
|
|
77477
77549
|
}
|
|
77478
77550
|
return options;
|
|
77479
77551
|
};
|
|
@@ -77488,7 +77560,7 @@ var DSlider = /** @class */ (function (_super) {
|
|
|
77488
77560
|
var text = options.text || {};
|
|
77489
77561
|
options.text = text;
|
|
77490
77562
|
if (text.value == null) {
|
|
77491
|
-
text.value = ""
|
|
77563
|
+
text.value = "".concat(options.value);
|
|
77492
77564
|
}
|
|
77493
77565
|
return options;
|
|
77494
77566
|
};
|
|
@@ -77915,8 +77987,9 @@ var DTableBodyCells = /** @class */ (function () {
|
|
|
77915
77987
|
var DTableBodyCellSelectDialog = /** @class */ (function (_super) {
|
|
77916
77988
|
__extends(DTableBodyCellSelectDialog, _super);
|
|
77917
77989
|
function DTableBodyCellSelectDialog(columnIndex, column, onChange, options) {
|
|
77990
|
+
var _this = this;
|
|
77918
77991
|
var _a;
|
|
77919
|
-
|
|
77992
|
+
_this = _super.call(this, options) || this;
|
|
77920
77993
|
_this._rowIndex = -1;
|
|
77921
77994
|
_this._columnIndex = columnIndex;
|
|
77922
77995
|
_this._column = column;
|
|
@@ -78120,8 +78193,9 @@ var DTableBodyCellActionMenu = /** @class */ (function (_super) {
|
|
|
78120
78193
|
var DTableBodyCellSelectPromise = /** @class */ (function (_super) {
|
|
78121
78194
|
__extends(DTableBodyCellSelectPromise, _super);
|
|
78122
78195
|
function DTableBodyCellSelectPromise(columnIndex, column, onChange, options) {
|
|
78196
|
+
var _this = this;
|
|
78123
78197
|
var _a;
|
|
78124
|
-
|
|
78198
|
+
_this = _super.call(this, options) || this;
|
|
78125
78199
|
_this._rowIndex = -1;
|
|
78126
78200
|
_this._columnIndex = columnIndex;
|
|
78127
78201
|
_this._column = column;
|
|
@@ -78310,8 +78384,9 @@ var DTableBodyCellText = /** @class */ (function (_super) {
|
|
|
78310
78384
|
var DTableBodyCellButton = /** @class */ (function (_super) {
|
|
78311
78385
|
__extends(DTableBodyCellButton, _super);
|
|
78312
78386
|
function DTableBodyCellButton(columnIndex, column, onChange, options) {
|
|
78387
|
+
var _this = this;
|
|
78313
78388
|
var _a;
|
|
78314
|
-
|
|
78389
|
+
_this = _super.call(this, columnIndex, column, onChange, options) || this;
|
|
78315
78390
|
var when = toEnum((_a = options === null || options === void 0 ? void 0 : options.when) !== null && _a !== void 0 ? _a : DButtonBaseWhen.CLICKED, DButtonBaseWhen);
|
|
78316
78391
|
_this._when = when;
|
|
78317
78392
|
_this.initOnClick(when, _this.theme, options);
|
|
@@ -78530,6 +78605,9 @@ var DTableBodyCellColor = /** @class */ (function (_super) {
|
|
|
78530
78605
|
_super.prototype.onValueChange.call(this, newValue, oldValue);
|
|
78531
78606
|
this._onChange(newValue, oldValue, row, rowIndex, columnIndex, this);
|
|
78532
78607
|
}
|
|
78608
|
+
else {
|
|
78609
|
+
_super.prototype.onValueChange.call(this, newValue, oldValue);
|
|
78610
|
+
}
|
|
78533
78611
|
};
|
|
78534
78612
|
Object.defineProperty(DTableBodyCellColor.prototype, "row", {
|
|
78535
78613
|
get: function () {
|
|
@@ -78562,7 +78640,7 @@ var DTableBodyCellColor = /** @class */ (function (_super) {
|
|
|
78562
78640
|
DTableBodyCellColor.prototype.set = function (newValue, row, supplimental, rowIndex, columnIndex, forcibly) {
|
|
78563
78641
|
this._row = row;
|
|
78564
78642
|
this._rowIndex = rowIndex;
|
|
78565
|
-
var value = this.
|
|
78643
|
+
var value = this.value;
|
|
78566
78644
|
if (isNumber(newValue)) {
|
|
78567
78645
|
value.color = newValue;
|
|
78568
78646
|
value.alpha = 1;
|
|
@@ -78610,48 +78688,19 @@ var DTableBodyCellDate = /** @class */ (function (_super) {
|
|
|
78610
78688
|
_this._onChange = onChange;
|
|
78611
78689
|
return _this;
|
|
78612
78690
|
}
|
|
78613
|
-
DTableBodyCellDate.prototype.
|
|
78614
|
-
var
|
|
78615
|
-
|
|
78616
|
-
|
|
78617
|
-
|
|
78618
|
-
|
|
78619
|
-
|
|
78620
|
-
|
|
78621
|
-
|
|
78622
|
-
|
|
78623
|
-
|
|
78624
|
-
|
|
78625
|
-
_this.text = new Date(newValue.getTime());
|
|
78626
|
-
var row = _this._row;
|
|
78627
|
-
if (row !== undefined) {
|
|
78628
|
-
var rowIndex = _this._rowIndex;
|
|
78629
|
-
var columnIndex = _this._columnIndex;
|
|
78630
|
-
_this._column.setter(row, columnIndex, newValue);
|
|
78631
|
-
_this.emit("change", newValue, oldValue, _this);
|
|
78632
|
-
_this._onChange(newValue, oldValue, row, rowIndex, columnIndex, _this);
|
|
78633
|
-
}
|
|
78634
|
-
});
|
|
78691
|
+
DTableBodyCellDate.prototype.onValueChange = function (newValue, oldValue) {
|
|
78692
|
+
var row = this._row;
|
|
78693
|
+
if (row !== undefined) {
|
|
78694
|
+
var rowIndex = this._rowIndex;
|
|
78695
|
+
var columnIndex = this._columnIndex;
|
|
78696
|
+
this._column.setter(row, columnIndex, newValue);
|
|
78697
|
+
_super.prototype.onValueChange.call(this, newValue, oldValue);
|
|
78698
|
+
this._onChange(newValue, oldValue, row, rowIndex, columnIndex, this);
|
|
78699
|
+
}
|
|
78700
|
+
else {
|
|
78701
|
+
_super.prototype.onValueChange.call(this, newValue, oldValue);
|
|
78702
|
+
}
|
|
78635
78703
|
};
|
|
78636
|
-
Object.defineProperty(DTableBodyCellDate.prototype, "dialog", {
|
|
78637
|
-
get: function () {
|
|
78638
|
-
var _a;
|
|
78639
|
-
var dialog = this._dialog;
|
|
78640
|
-
if (dialog == null) {
|
|
78641
|
-
var options = (_a = this._options) === null || _a === void 0 ? void 0 : _a.dialog;
|
|
78642
|
-
if (options) {
|
|
78643
|
-
dialog = new DDialogDate(options);
|
|
78644
|
-
}
|
|
78645
|
-
else {
|
|
78646
|
-
dialog = DDialogDates.getInstance();
|
|
78647
|
-
}
|
|
78648
|
-
this._dialog = dialog;
|
|
78649
|
-
}
|
|
78650
|
-
return dialog;
|
|
78651
|
-
},
|
|
78652
|
-
enumerable: false,
|
|
78653
|
-
configurable: true
|
|
78654
|
-
});
|
|
78655
78704
|
Object.defineProperty(DTableBodyCellDate.prototype, "row", {
|
|
78656
78705
|
get: function () {
|
|
78657
78706
|
return this._row;
|
|
@@ -78717,7 +78766,7 @@ var DTableBodyCellDate = /** @class */ (function (_super) {
|
|
|
78717
78766
|
return "DTableBodyCellDate";
|
|
78718
78767
|
};
|
|
78719
78768
|
return DTableBodyCellDate;
|
|
78720
|
-
}(
|
|
78769
|
+
}(DButtonDate));
|
|
78721
78770
|
|
|
78722
78771
|
/*
|
|
78723
78772
|
* Copyright (C) 2019 Toshiba Corporation
|
|
@@ -78733,57 +78782,19 @@ var DTableBodyCellDatetime = /** @class */ (function (_super) {
|
|
|
78733
78782
|
_this._onChange = onChange;
|
|
78734
78783
|
return _this;
|
|
78735
78784
|
}
|
|
78736
|
-
DTableBodyCellDatetime.prototype.
|
|
78737
|
-
var
|
|
78738
|
-
|
|
78739
|
-
|
|
78740
|
-
|
|
78741
|
-
|
|
78742
|
-
|
|
78743
|
-
|
|
78744
|
-
|
|
78745
|
-
|
|
78746
|
-
|
|
78747
|
-
var oldValue = dialog.current;
|
|
78748
|
-
_this.text = new Date(newValue.getTime());
|
|
78749
|
-
var row = _this._row;
|
|
78750
|
-
if (row !== undefined) {
|
|
78751
|
-
var rowIndex = _this._rowIndex;
|
|
78752
|
-
var columnIndex = _this._columnIndex;
|
|
78753
|
-
_this._column.setter(row, columnIndex, newValue);
|
|
78754
|
-
_this.emit("change", newValue, oldValue, _this);
|
|
78755
|
-
_this._onChange(newValue, oldValue, row, rowIndex, columnIndex, _this);
|
|
78756
|
-
}
|
|
78757
|
-
});
|
|
78758
|
-
};
|
|
78759
|
-
DTableBodyCellDatetime.prototype.getDatetimeMask = function () {
|
|
78760
|
-
var _a, _b;
|
|
78761
|
-
var result = this._datetimeMask;
|
|
78762
|
-
if (result == null) {
|
|
78763
|
-
result = DPickerDatetimes.toMask((_b = (_a = this._options) === null || _a === void 0 ? void 0 : _a.dialog) === null || _b === void 0 ? void 0 : _b.picker);
|
|
78764
|
-
this._datetimeMask = result;
|
|
78785
|
+
DTableBodyCellDatetime.prototype.onValueChange = function (newValue, oldValue) {
|
|
78786
|
+
var row = this._row;
|
|
78787
|
+
if (row !== undefined) {
|
|
78788
|
+
var rowIndex = this._rowIndex;
|
|
78789
|
+
var columnIndex = this._columnIndex;
|
|
78790
|
+
this._column.setter(row, columnIndex, newValue);
|
|
78791
|
+
_super.prototype.onValueChange.call(this, newValue, oldValue);
|
|
78792
|
+
this._onChange(newValue, oldValue, row, rowIndex, columnIndex, this);
|
|
78793
|
+
}
|
|
78794
|
+
else {
|
|
78795
|
+
_super.prototype.onValueChange.call(this, newValue, oldValue);
|
|
78765
78796
|
}
|
|
78766
|
-
return result;
|
|
78767
78797
|
};
|
|
78768
|
-
Object.defineProperty(DTableBodyCellDatetime.prototype, "dialog", {
|
|
78769
|
-
get: function () {
|
|
78770
|
-
var _a;
|
|
78771
|
-
var dialog = this._dialog;
|
|
78772
|
-
if (dialog == null) {
|
|
78773
|
-
var options = (_a = this._options) === null || _a === void 0 ? void 0 : _a.dialog;
|
|
78774
|
-
if (options) {
|
|
78775
|
-
dialog = new DDialogDatetime(options);
|
|
78776
|
-
}
|
|
78777
|
-
else {
|
|
78778
|
-
dialog = DDialogDatetimes.getInstance();
|
|
78779
|
-
}
|
|
78780
|
-
this._dialog = dialog;
|
|
78781
|
-
}
|
|
78782
|
-
return dialog;
|
|
78783
|
-
},
|
|
78784
|
-
enumerable: false,
|
|
78785
|
-
configurable: true
|
|
78786
|
-
});
|
|
78787
78798
|
Object.defineProperty(DTableBodyCellDatetime.prototype, "row", {
|
|
78788
78799
|
get: function () {
|
|
78789
78800
|
return this._row;
|
|
@@ -78849,7 +78860,7 @@ var DTableBodyCellDatetime = /** @class */ (function (_super) {
|
|
|
78849
78860
|
return "DTableBodyCellDatetime";
|
|
78850
78861
|
};
|
|
78851
78862
|
return DTableBodyCellDatetime;
|
|
78852
|
-
}(
|
|
78863
|
+
}(DButtonDatetime));
|
|
78853
78864
|
|
|
78854
78865
|
/*
|
|
78855
78866
|
* Copyright (C) 2019 Toshiba Corporation
|
|
@@ -79568,56 +79579,19 @@ var DTableBodyCellTime = /** @class */ (function (_super) {
|
|
|
79568
79579
|
_this._onChange = onChange;
|
|
79569
79580
|
return _this;
|
|
79570
79581
|
}
|
|
79571
|
-
DTableBodyCellTime.prototype.
|
|
79572
|
-
var
|
|
79573
|
-
|
|
79574
|
-
|
|
79575
|
-
|
|
79576
|
-
|
|
79577
|
-
|
|
79578
|
-
|
|
79579
|
-
|
|
79580
|
-
|
|
79581
|
-
|
|
79582
|
-
_this.text = new Date(newValue.getTime());
|
|
79583
|
-
var row = _this._row;
|
|
79584
|
-
if (row !== undefined) {
|
|
79585
|
-
var rowIndex = _this._rowIndex;
|
|
79586
|
-
var columnIndex = _this._columnIndex;
|
|
79587
|
-
_this._column.setter(row, columnIndex, newValue);
|
|
79588
|
-
_this.emit("change", newValue, oldValue, _this);
|
|
79589
|
-
_this._onChange(newValue, oldValue, row, rowIndex, columnIndex, _this);
|
|
79590
|
-
}
|
|
79591
|
-
});
|
|
79592
|
-
};
|
|
79593
|
-
DTableBodyCellTime.prototype.getDatetimeMask = function () {
|
|
79594
|
-
var _a, _b;
|
|
79595
|
-
var result = this._datetimeMask;
|
|
79596
|
-
if (result == null) {
|
|
79597
|
-
result = DPickerTimes.toMask((_b = (_a = this._options) === null || _a === void 0 ? void 0 : _a.dialog) === null || _b === void 0 ? void 0 : _b.picker);
|
|
79598
|
-
this._datetimeMask = result;
|
|
79582
|
+
DTableBodyCellTime.prototype.onValueChange = function (newValue, oldValue) {
|
|
79583
|
+
var row = this._row;
|
|
79584
|
+
if (row !== undefined) {
|
|
79585
|
+
var rowIndex = this._rowIndex;
|
|
79586
|
+
var columnIndex = this._columnIndex;
|
|
79587
|
+
this._column.setter(row, columnIndex, newValue);
|
|
79588
|
+
_super.prototype.onValueChange.call(this, newValue, oldValue);
|
|
79589
|
+
this._onChange(newValue, oldValue, row, rowIndex, columnIndex, this);
|
|
79590
|
+
}
|
|
79591
|
+
else {
|
|
79592
|
+
_super.prototype.onValueChange.call(this, newValue, oldValue);
|
|
79599
79593
|
}
|
|
79600
|
-
return result;
|
|
79601
79594
|
};
|
|
79602
|
-
Object.defineProperty(DTableBodyCellTime.prototype, "dialog", {
|
|
79603
|
-
get: function () {
|
|
79604
|
-
var _a;
|
|
79605
|
-
var dialog = this._dialog;
|
|
79606
|
-
if (dialog == null) {
|
|
79607
|
-
var options = (_a = this._options) === null || _a === void 0 ? void 0 : _a.dialog;
|
|
79608
|
-
if (options) {
|
|
79609
|
-
dialog = new DDialogTime(options);
|
|
79610
|
-
}
|
|
79611
|
-
else {
|
|
79612
|
-
dialog = DDialogTimes.getInstance();
|
|
79613
|
-
}
|
|
79614
|
-
this._dialog = dialog;
|
|
79615
|
-
}
|
|
79616
|
-
return dialog;
|
|
79617
|
-
},
|
|
79618
|
-
enumerable: false,
|
|
79619
|
-
configurable: true
|
|
79620
|
-
});
|
|
79621
79595
|
Object.defineProperty(DTableBodyCellTime.prototype, "row", {
|
|
79622
79596
|
get: function () {
|
|
79623
79597
|
return this._row;
|
|
@@ -79683,7 +79657,7 @@ var DTableBodyCellTime = /** @class */ (function (_super) {
|
|
|
79683
79657
|
return "DTableBodyCellTime";
|
|
79684
79658
|
};
|
|
79685
79659
|
return DTableBodyCellTime;
|
|
79686
|
-
}(
|
|
79660
|
+
}(DButtonTime));
|
|
79687
79661
|
|
|
79688
79662
|
/*
|
|
79689
79663
|
* Copyright (C) 2019 Toshiba Corporation
|
|
@@ -79692,8 +79666,9 @@ var DTableBodyCellTime = /** @class */ (function (_super) {
|
|
|
79692
79666
|
var DTableBodyCellTree = /** @class */ (function (_super) {
|
|
79693
79667
|
__extends(DTableBodyCellTree, _super);
|
|
79694
79668
|
function DTableBodyCellTree(columnIndex, column, onChange, options) {
|
|
79669
|
+
var _this = this;
|
|
79695
79670
|
var _a;
|
|
79696
|
-
|
|
79671
|
+
_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;
|
|
79697
79672
|
_this._padding = new DBasePaddingAdjustable(_this._padding);
|
|
79698
79673
|
return _this;
|
|
79699
79674
|
}
|
|
@@ -79819,8 +79794,9 @@ var DTableDataSelectionType = {
|
|
|
79819
79794
|
var DTableRow = /** @class */ (function (_super) {
|
|
79820
79795
|
__extends(DTableRow, _super);
|
|
79821
79796
|
function DTableRow(options) {
|
|
79797
|
+
var _this = this;
|
|
79822
79798
|
var _a, _b;
|
|
79823
|
-
|
|
79799
|
+
_this = _super.call(this, options) || this;
|
|
79824
79800
|
_this._reverse = true;
|
|
79825
79801
|
_this._frozen = (_a = options.frozen) !== null && _a !== void 0 ? _a : 0;
|
|
79826
79802
|
_this._columns = (_b = options.columns) !== null && _b !== void 0 ? _b : [];
|
|
@@ -80427,8 +80403,9 @@ var COMPARATOR$1 = function (a, b) {
|
|
|
80427
80403
|
var DTableDataListSelection = /** @class */ (function (_super) {
|
|
80428
80404
|
__extends(DTableDataListSelection, _super);
|
|
80429
80405
|
function DTableDataListSelection(parent, options) {
|
|
80406
|
+
var _this = this;
|
|
80430
80407
|
var _a;
|
|
80431
|
-
|
|
80408
|
+
_this = _super.call(this) || this;
|
|
80432
80409
|
_this._parent = parent;
|
|
80433
80410
|
_this._type = toEnum((_a = options === null || options === void 0 ? void 0 : options.type) !== null && _a !== void 0 ? _a : DTableDataSelectionType.NONE, DTableDataSelectionType);
|
|
80434
80411
|
_this._indices = new Set();
|
|
@@ -81107,8 +81084,9 @@ var toRowOptions = function (theme, options, selectionType) {
|
|
|
81107
81084
|
var DTableBody = /** @class */ (function (_super) {
|
|
81108
81085
|
__extends(DTableBody, _super);
|
|
81109
81086
|
function DTableBody(options) {
|
|
81087
|
+
var _this = this;
|
|
81110
81088
|
var _a;
|
|
81111
|
-
|
|
81089
|
+
_this = _super.call(this, options) || this;
|
|
81112
81090
|
_this.transform.position.y = (_a = options.offset) !== null && _a !== void 0 ? _a : 0;
|
|
81113
81091
|
var data = _this.toData(options.data);
|
|
81114
81092
|
_this._data = data;
|
|
@@ -81495,8 +81473,9 @@ var DTableCategoryCell = /** @class */ (function (_super) {
|
|
|
81495
81473
|
var DTableCategory = /** @class */ (function (_super) {
|
|
81496
81474
|
__extends(DTableCategory, _super);
|
|
81497
81475
|
function DTableCategory(options) {
|
|
81476
|
+
var _this = this;
|
|
81498
81477
|
var _a;
|
|
81499
|
-
|
|
81478
|
+
_this = _super.call(this, options) || this;
|
|
81500
81479
|
var offset = (_a = options.offset) !== null && _a !== void 0 ? _a : 0;
|
|
81501
81480
|
_this._offset = offset;
|
|
81502
81481
|
_this.transform.position.y = offset;
|
|
@@ -81754,8 +81733,9 @@ var COMPARATOR = function (a, b) {
|
|
|
81754
81733
|
var DTableDataTreeSelectionImpl = /** @class */ (function (_super) {
|
|
81755
81734
|
__extends(DTableDataTreeSelectionImpl, _super);
|
|
81756
81735
|
function DTableDataTreeSelectionImpl(parent, options) {
|
|
81736
|
+
var _this = this;
|
|
81757
81737
|
var _a;
|
|
81758
|
-
|
|
81738
|
+
_this = _super.call(this) || this;
|
|
81759
81739
|
_this._parent = parent;
|
|
81760
81740
|
_this._type = toEnum((_a = options === null || options === void 0 ? void 0 : options.type) !== null && _a !== void 0 ? _a : DTableDataSelectionType.NONE, DTableDataSelectionType);
|
|
81761
81741
|
_this._rows = new Set();
|
|
@@ -82729,8 +82709,9 @@ var DTableHeaderCell = /** @class */ (function (_super) {
|
|
|
82729
82709
|
var DTableHeader = /** @class */ (function (_super) {
|
|
82730
82710
|
__extends(DTableHeader, _super);
|
|
82731
82711
|
function DTableHeader(options) {
|
|
82712
|
+
var _this = this;
|
|
82732
82713
|
var _a, _b;
|
|
82733
|
-
|
|
82714
|
+
_this = _super.call(this, options) || this;
|
|
82734
82715
|
_this._table = (_a = options.table) !== null && _a !== void 0 ? _a : null;
|
|
82735
82716
|
var offset = (_b = options.offset) !== null && _b !== void 0 ? _b : 0;
|
|
82736
82717
|
_this._offset = offset;
|
|
@@ -84764,8 +84745,9 @@ var DTreeItemText = /** @class */ (function (_super) {
|
|
|
84764
84745
|
var DTreeItemButton = /** @class */ (function (_super) {
|
|
84765
84746
|
__extends(DTreeItemButton, _super);
|
|
84766
84747
|
function DTreeItemButton(data, options) {
|
|
84748
|
+
var _this = this;
|
|
84767
84749
|
var _a;
|
|
84768
|
-
|
|
84750
|
+
_this = _super.call(this, data, options) || this;
|
|
84769
84751
|
var when = toEnum((_a = options === null || options === void 0 ? void 0 : options.when) !== null && _a !== void 0 ? _a : DButtonBaseWhen.CLICKED, DButtonBaseWhen);
|
|
84770
84752
|
_this._when = when;
|
|
84771
84753
|
_this.initOnClick(when, _this.theme, options);
|
|
@@ -85230,9 +85212,7 @@ exports.DDialogConfirmDelete = DDialogConfirmDelete;
|
|
|
85230
85212
|
exports.DDialogConfirmDiscard = DDialogConfirmDiscard;
|
|
85231
85213
|
exports.DDialogConfirmMessage = DDialogConfirmMessage;
|
|
85232
85214
|
exports.DDialogDate = DDialogDate;
|
|
85233
|
-
exports.DDialogDates = DDialogDates;
|
|
85234
85215
|
exports.DDialogDatetime = DDialogDatetime;
|
|
85235
|
-
exports.DDialogDatetimes = DDialogDatetimes;
|
|
85236
85216
|
exports.DDialogInput = DDialogInput;
|
|
85237
85217
|
exports.DDialogInputBoolean = DDialogInputBoolean;
|
|
85238
85218
|
exports.DDialogInputInteger = DDialogInputInteger;
|
|
@@ -85250,7 +85230,6 @@ exports.DDialogSelectListItemUpdater = DDialogSelectListItemUpdater;
|
|
|
85250
85230
|
exports.DDialogSelectSearh = DDialogSelectSearh;
|
|
85251
85231
|
exports.DDialogState = DDialogState;
|
|
85252
85232
|
exports.DDialogTime = DDialogTime;
|
|
85253
|
-
exports.DDialogTimes = DDialogTimes;
|
|
85254
85233
|
exports.DDropdown = DDropdown;
|
|
85255
85234
|
exports.DDropdownBase = DDropdownBase;
|
|
85256
85235
|
exports.DDynamicText = DDynamicText;
|
|
@@ -85269,6 +85248,15 @@ exports.DImageBase = DImageBase;
|
|
|
85269
85248
|
exports.DImageBaseThemeWrapperSecondary = DImageBaseThemeWrapperSecondary;
|
|
85270
85249
|
exports.DImageBaseThemeWrapperTertiary = DImageBaseThemeWrapperTertiary;
|
|
85271
85250
|
exports.DImagePiece = DImagePiece;
|
|
85251
|
+
exports.DImagePieceLayouter = DImagePieceLayouter;
|
|
85252
|
+
exports.DImagePieceLayouterPart = DImagePieceLayouterPart;
|
|
85253
|
+
exports.DImagePieceLayouterPartBottom = DImagePieceLayouterPartBottom;
|
|
85254
|
+
exports.DImagePieceLayouterPartCenter = DImagePieceLayouterPartCenter;
|
|
85255
|
+
exports.DImagePieceLayouterPartContainer = DImagePieceLayouterPartContainer;
|
|
85256
|
+
exports.DImagePieceLayouterPartLeft = DImagePieceLayouterPartLeft;
|
|
85257
|
+
exports.DImagePieceLayouterPartMiddle = DImagePieceLayouterPartMiddle;
|
|
85258
|
+
exports.DImagePieceLayouterPartRight = DImagePieceLayouterPartRight;
|
|
85259
|
+
exports.DImagePieceLayouterPartTop = DImagePieceLayouterPartTop;
|
|
85272
85260
|
exports.DInput = DInput;
|
|
85273
85261
|
exports.DInputAndLabel = DInputAndLabel;
|
|
85274
85262
|
exports.DInputBoolean = DInputBoolean;
|