genesys-spark-components 4.182.0 → 4.182.2
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/cjs/{get-closest-element-CIMI0Cx4.js → get-closest-element-BiXbQTqL.js} +0 -1
- package/dist/cjs/get-valid-timezone-wxrDYMmV.js +65 -0
- package/dist/cjs/gux-accordion.cjs.entry.js +1 -1
- package/dist/cjs/gux-action-button.cjs.entry.js +1 -1
- package/dist/cjs/gux-action-toast-legacy.cjs.entry.js +1 -1
- package/dist/cjs/gux-advanced-dropdown-legacy.cjs.entry.js +1 -1
- package/dist/cjs/gux-announce-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-avatar-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-avatar-change-photo-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-avatar-group-add-item-beta_3.cjs.entry.js +1 -1
- package/dist/cjs/gux-avatar-group-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-avatar-group-item-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-badge.cjs.entry.js +1 -1
- package/dist/cjs/gux-blank-state-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-blank-state.cjs.entry.js +1 -1
- package/dist/cjs/gux-breadcrumbs.cjs.entry.js +1 -1
- package/dist/cjs/gux-button-multi.cjs.entry.js +1 -1
- package/dist/cjs/gux-button-slot.cjs.entry.js +1 -1
- package/dist/cjs/gux-button_2.cjs.entry.js +1 -1
- package/dist/cjs/gux-calendar.cjs.entry.js +5 -5
- package/dist/cjs/gux-card.cjs.entry.js +1 -1
- package/dist/cjs/gux-cloud-logo-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-cloud-logomark-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-column-manager.cjs.entry.js +1 -1
- package/dist/cjs/gux-content-search.cjs.entry.js +1 -1
- package/dist/cjs/gux-context-menu.cjs.entry.js +1 -1
- package/dist/cjs/gux-copy-to-clipboard.cjs.entry.js +1 -1
- package/dist/cjs/gux-date-beta.cjs.entry.js +7 -7
- package/dist/cjs/gux-date-time-beta.cjs.entry.js +7 -7
- package/dist/cjs/gux-datepicker.cjs.entry.js +6 -6
- package/dist/cjs/gux-day-beta.cjs.entry.js +4 -4
- package/dist/cjs/gux-disclosure-button-legacy.cjs.entry.js +1 -1
- package/dist/cjs/gux-dismiss-button.cjs.entry.js +1 -1
- package/dist/cjs/gux-dropdown-multi.cjs.entry.js +1 -1
- package/dist/cjs/gux-dropdown_3.cjs.entry.js +1 -1
- package/dist/cjs/gux-file-list-item.cjs.entry.js +1 -1
- package/dist/cjs/gux-flag-icon-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-flyout-menu.cjs.entry.js +1 -1
- package/dist/cjs/gux-form-field-checkbox-group-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-form-field-checkbox.cjs.entry.js +1 -1
- package/dist/cjs/gux-form-field-color.cjs.entry.js +1 -1
- package/dist/cjs/gux-form-field-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/gux-form-field-file-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-form-field-file.cjs.entry.js +1 -1
- package/dist/cjs/gux-form-field-input-clear-button.cjs.entry.js +1 -1
- package/dist/cjs/gux-form-field-label-indicator.cjs.entry.js +1 -1
- package/dist/cjs/gux-form-field-number_2.cjs.entry.js +1 -1
- package/dist/cjs/gux-form-field-phone.cjs.entry.js +1 -1
- package/dist/cjs/gux-form-field-radio-group-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-form-field-radio.cjs.entry.js +1 -1
- package/dist/cjs/gux-form-field-range.cjs.entry.js +1 -1
- package/dist/cjs/gux-form-field-search.cjs.entry.js +1 -1
- package/dist/cjs/gux-form-field-select.cjs.entry.js +1 -1
- package/dist/cjs/gux-form-field-text-like.cjs.entry.js +1 -1
- package/dist/cjs/gux-form-field-textarea.cjs.entry.js +1 -1
- package/dist/cjs/gux-form-field-time-picker.cjs.entry.js +1 -1
- package/dist/cjs/gux-form-field-time-zone-picker.cjs.entry.js +1 -1
- package/dist/cjs/gux-form-footer.cjs.entry.js +1 -1
- package/dist/cjs/gux-icon-tooltip-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-icon.cjs.entry.js +1 -1
- package/dist/cjs/gux-illustration-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-inline-alert.cjs.entry.js +1 -1
- package/dist/cjs/gux-inline-dropdown-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-label-info-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-link-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-list.cjs.entry.js +1 -1
- package/dist/cjs/gux-listbox-multi.cjs.entry.js +1 -1
- package/dist/cjs/gux-loading-message.cjs.entry.js +1 -1
- package/dist/cjs/gux-logo-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-logomark-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-modal-legacy.cjs.entry.js +1 -1
- package/dist/cjs/gux-modal-side-panel-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-modal.cjs.entry.js +1 -1
- package/dist/cjs/gux-month-calendar.cjs.entry.js +5 -5
- package/dist/cjs/gux-month-picker-beta.cjs.entry.js +6 -6
- package/dist/cjs/gux-notification-toast-legacy.cjs.entry.js +1 -1
- package/dist/cjs/gux-page-loading-spinner.cjs.entry.js +1 -1
- package/dist/cjs/gux-pagination-cursor.cjs.entry.js +1 -1
- package/dist/cjs/gux-pagination-legacy.cjs.entry.js +1 -1
- package/dist/cjs/gux-pagination.cjs.entry.js +1 -1
- package/dist/cjs/gux-phone-input-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-popover-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-popover-list-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-popover-list.cjs.entry.js +1 -1
- package/dist/cjs/gux-prompt-input-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-radial-loading.cjs.entry.js +1 -1
- package/dist/cjs/gux-radial-progress.cjs.entry.js +1 -1
- package/dist/cjs/gux-rating.cjs.entry.js +1 -1
- package/dist/cjs/gux-rich-highlight-list-item.cjs.entry.js +1 -1
- package/dist/cjs/gux-rich-style-list-item_3.cjs.entry.js +3 -3
- package/dist/cjs/gux-rich-text-editor-action-link.cjs.entry.js +3 -3
- package/dist/cjs/gux-rich-text-editor-action-rich-style.cjs.entry.js +3 -3
- package/dist/cjs/gux-rich-text-editor-action-text-highlight.cjs.entry.js +3 -3
- package/dist/cjs/gux-rich-text-editor-action.cjs.entry.js +3 -3
- package/dist/cjs/gux-rich-text-editor-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-rich-text-editor-list.cjs.entry.js +1 -1
- package/dist/cjs/{gux-rich-text-editor.service-DvQrMYXi.js → gux-rich-text-editor.service-Czmja0Kl.js} +1 -1
- package/dist/cjs/gux-screen-reader-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-segmented-control-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-selector-card-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-selector-cards-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-side-panel-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-side-panel-header.cjs.entry.js +1 -1
- package/dist/cjs/gux-side-panel-heading.cjs.entry.js +1 -1
- package/dist/cjs/gux-simple-toast-legacy.cjs.entry.js +1 -1
- package/dist/cjs/gux-skip-navigation-list.cjs.entry.js +1 -1
- package/dist/cjs/gux-sort-control.cjs.entry.js +1 -1
- package/dist/cjs/gux-status-indicator-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-step-title.cjs.entry.js +1 -1
- package/dist/cjs/gux-step.cjs.entry.js +1 -1
- package/dist/cjs/gux-stepper-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-switch-legacy.cjs.entry.js +1 -1
- package/dist/cjs/gux-table-toolbar-action.cjs.entry.js +1 -1
- package/dist/cjs/gux-table-toolbar-custom-action.cjs.entry.js +3 -3
- package/dist/cjs/gux-table-toolbar-menu-button.cjs.entry.js +1 -1
- package/dist/cjs/gux-table-toolbar.cjs.entry.js +1 -1
- package/dist/cjs/gux-table.cjs.entry.js +1 -1
- package/dist/cjs/gux-tabs-advanced.cjs.entry.js +1 -1
- package/dist/cjs/gux-tabs.cjs.entry.js +1 -1
- package/dist/cjs/gux-tag.cjs.entry.js +1 -1
- package/dist/cjs/gux-text-highlight.cjs.entry.js +1 -1
- package/dist/cjs/gux-time-beta.cjs.entry.js +7 -7
- package/dist/cjs/gux-time-picker.cjs.entry.js +9 -9
- package/dist/cjs/gux-time-zone-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-time-zone-picker-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-toast.cjs.entry.js +1 -1
- package/dist/cjs/gux-toggle.cjs.entry.js +1 -1
- package/dist/cjs/gux-tooltip-base-beta_2.cjs.entry.js +1 -1
- package/dist/cjs/gux-tooltip-pointer-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-tooltip_2.cjs.entry.js +1 -1
- package/dist/cjs/{intl-CN825h6c.js → spark-intl-V9HYNeeC.js} +1 -1
- package/dist/cjs/{usage-ObFGxeV1.js → usage-BIGTSq_I.js} +1 -1
- package/dist/cjs/{use-regional-dates-qjhuD9Ak.js → use-regional-dates-5VnN03zC.js} +3 -3
- package/dist/collection/components/beta/gux-date/gux-date.js +4 -4
- package/dist/collection/components/beta/gux-date/tests/gux-date.common.js +16 -2
- package/dist/collection/components/beta/gux-date-time/gux-date-time.js +4 -4
- package/dist/collection/components/beta/gux-date-time/tests/gux-date-time.common.js +2 -2
- package/dist/collection/components/beta/gux-day/gux-day.js +2 -2
- package/dist/collection/components/beta/gux-flag-icon/gux-flag-icon.js +1 -1
- package/dist/collection/components/beta/gux-month-picker/gux-month-calendar/gux-month-calendar.js +3 -3
- package/dist/collection/components/beta/gux-month-picker/gux-month-picker.js +2 -2
- package/dist/collection/components/beta/gux-phone-input/gux-phone-input.js +2 -2
- package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor.service.js +1 -1
- package/dist/collection/components/beta/gux-time/gux-time.js +4 -4
- package/dist/collection/components/beta/gux-time/tests/gux-time.common.js +2 -2
- package/dist/collection/components/beta/gux-time-zone/gux-time-zone.js +1 -1
- package/dist/collection/components/stable/gux-calendar/gux-calendar.service.js +2 -2
- package/dist/collection/components/stable/gux-datepicker/gux-datepicker.js +3 -3
- package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-custom-action/gux-table-toolbar-custom-action.js +2 -2
- package/dist/collection/components/stable/gux-time-picker/gux-time-picker.js +2 -3
- package/dist/collection/components/stable/gux-time-picker/gux-time-picker.service.js +2 -2
- package/dist/collection/i18n/read-regional-dates-cookie.js +1 -1
- package/dist/collection/i18n/read-regional-dates-var.js +1 -1
- package/dist/collection/i18n/time-zone/identifiers.js +146 -3
- package/dist/collection/i18n/use-regional-dates.js +1 -1
- package/dist/collection/utils/date/get-valid-timezone.js +9 -4
- package/dist/esm/{get-closest-element-BZb6pJEJ.js → get-closest-element-DCZG2J0G.js} +0 -1
- package/dist/esm/get-valid-timezone-DQH6wR2E.js +62 -0
- package/dist/esm/gux-accordion.entry.js +1 -1
- package/dist/esm/gux-action-button.entry.js +1 -1
- package/dist/esm/gux-action-toast-legacy.entry.js +1 -1
- package/dist/esm/gux-advanced-dropdown-legacy.entry.js +1 -1
- package/dist/esm/gux-announce-beta.entry.js +1 -1
- package/dist/esm/gux-avatar-beta.entry.js +1 -1
- package/dist/esm/gux-avatar-change-photo-beta.entry.js +1 -1
- package/dist/esm/gux-avatar-group-add-item-beta_3.entry.js +1 -1
- package/dist/esm/gux-avatar-group-beta.entry.js +1 -1
- package/dist/esm/gux-avatar-group-item-beta.entry.js +1 -1
- package/dist/esm/gux-badge.entry.js +1 -1
- package/dist/esm/gux-blank-state-beta.entry.js +1 -1
- package/dist/esm/gux-blank-state.entry.js +1 -1
- package/dist/esm/gux-breadcrumbs.entry.js +1 -1
- package/dist/esm/gux-button-multi.entry.js +1 -1
- package/dist/esm/gux-button-slot.entry.js +1 -1
- package/dist/esm/gux-button_2.entry.js +1 -1
- package/dist/esm/gux-calendar.entry.js +4 -4
- package/dist/esm/gux-card.entry.js +1 -1
- package/dist/esm/gux-cloud-logo-beta.entry.js +1 -1
- package/dist/esm/gux-cloud-logomark-beta.entry.js +1 -1
- package/dist/esm/gux-column-manager.entry.js +1 -1
- package/dist/esm/gux-content-search.entry.js +1 -1
- package/dist/esm/gux-context-menu.entry.js +1 -1
- package/dist/esm/gux-copy-to-clipboard.entry.js +1 -1
- package/dist/esm/gux-date-beta.entry.js +6 -6
- package/dist/esm/gux-date-time-beta.entry.js +6 -6
- package/dist/esm/gux-datepicker.entry.js +5 -5
- package/dist/esm/gux-day-beta.entry.js +3 -3
- package/dist/esm/gux-disclosure-button-legacy.entry.js +1 -1
- package/dist/esm/gux-dismiss-button.entry.js +1 -1
- package/dist/esm/gux-dropdown-multi.entry.js +1 -1
- package/dist/esm/gux-dropdown_3.entry.js +1 -1
- package/dist/esm/gux-file-list-item.entry.js +1 -1
- package/dist/esm/gux-flag-icon-beta.entry.js +1 -1
- package/dist/esm/gux-flyout-menu.entry.js +1 -1
- package/dist/esm/gux-form-field-checkbox-group-beta.entry.js +1 -1
- package/dist/esm/gux-form-field-checkbox.entry.js +1 -1
- package/dist/esm/gux-form-field-color.entry.js +1 -1
- package/dist/esm/gux-form-field-dropdown.entry.js +1 -1
- package/dist/esm/gux-form-field-file-beta.entry.js +1 -1
- package/dist/esm/gux-form-field-file.entry.js +1 -1
- package/dist/esm/gux-form-field-input-clear-button.entry.js +1 -1
- package/dist/esm/gux-form-field-label-indicator.entry.js +1 -1
- package/dist/esm/gux-form-field-number_2.entry.js +1 -1
- package/dist/esm/gux-form-field-phone.entry.js +1 -1
- package/dist/esm/gux-form-field-radio-group-beta.entry.js +1 -1
- package/dist/esm/gux-form-field-radio.entry.js +1 -1
- package/dist/esm/gux-form-field-range.entry.js +1 -1
- package/dist/esm/gux-form-field-search.entry.js +1 -1
- package/dist/esm/gux-form-field-select.entry.js +1 -1
- package/dist/esm/gux-form-field-text-like.entry.js +1 -1
- package/dist/esm/gux-form-field-textarea.entry.js +1 -1
- package/dist/esm/gux-form-field-time-picker.entry.js +1 -1
- package/dist/esm/gux-form-field-time-zone-picker.entry.js +1 -1
- package/dist/esm/gux-form-footer.entry.js +1 -1
- package/dist/esm/gux-icon-tooltip-beta.entry.js +1 -1
- package/dist/esm/gux-icon.entry.js +1 -1
- package/dist/esm/gux-illustration-beta.entry.js +1 -1
- package/dist/esm/gux-inline-alert.entry.js +1 -1
- package/dist/esm/gux-inline-dropdown-beta.entry.js +1 -1
- package/dist/esm/gux-label-info-beta.entry.js +1 -1
- package/dist/esm/gux-link-beta.entry.js +1 -1
- package/dist/esm/gux-list.entry.js +1 -1
- package/dist/esm/gux-listbox-multi.entry.js +1 -1
- package/dist/esm/gux-loading-message.entry.js +1 -1
- package/dist/esm/gux-logo-beta.entry.js +1 -1
- package/dist/esm/gux-logomark-beta.entry.js +1 -1
- package/dist/esm/gux-modal-legacy.entry.js +1 -1
- package/dist/esm/gux-modal-side-panel-beta.entry.js +1 -1
- package/dist/esm/gux-modal.entry.js +1 -1
- package/dist/esm/gux-month-calendar.entry.js +4 -4
- package/dist/esm/gux-month-picker-beta.entry.js +5 -5
- package/dist/esm/gux-notification-toast-legacy.entry.js +1 -1
- package/dist/esm/gux-page-loading-spinner.entry.js +1 -1
- package/dist/esm/gux-pagination-cursor.entry.js +1 -1
- package/dist/esm/gux-pagination-legacy.entry.js +1 -1
- package/dist/esm/gux-pagination.entry.js +1 -1
- package/dist/esm/gux-phone-input-beta.entry.js +1 -1
- package/dist/esm/gux-popover-beta.entry.js +1 -1
- package/dist/esm/gux-popover-list-beta.entry.js +1 -1
- package/dist/esm/gux-popover-list.entry.js +1 -1
- package/dist/esm/gux-prompt-input-beta.entry.js +1 -1
- package/dist/esm/gux-radial-loading.entry.js +1 -1
- package/dist/esm/gux-radial-progress.entry.js +1 -1
- package/dist/esm/gux-rating.entry.js +1 -1
- package/dist/esm/gux-rich-highlight-list-item.entry.js +1 -1
- package/dist/esm/gux-rich-style-list-item_3.entry.js +3 -3
- package/dist/esm/gux-rich-text-editor-action-link.entry.js +3 -3
- package/dist/esm/gux-rich-text-editor-action-rich-style.entry.js +3 -3
- package/dist/esm/gux-rich-text-editor-action-text-highlight.entry.js +3 -3
- package/dist/esm/gux-rich-text-editor-action.entry.js +3 -3
- package/dist/esm/gux-rich-text-editor-beta.entry.js +3 -3
- package/dist/esm/gux-rich-text-editor-list.entry.js +1 -1
- package/dist/esm/{gux-rich-text-editor.service-CJnB9AGA.js → gux-rich-text-editor.service-B2Ts-zZ9.js} +1 -1
- package/dist/esm/gux-screen-reader-beta.entry.js +1 -1
- package/dist/esm/gux-segmented-control-beta.entry.js +1 -1
- package/dist/esm/gux-selector-card-beta.entry.js +1 -1
- package/dist/esm/gux-selector-cards-beta.entry.js +1 -1
- package/dist/esm/gux-side-panel-beta.entry.js +1 -1
- package/dist/esm/gux-side-panel-header.entry.js +1 -1
- package/dist/esm/gux-side-panel-heading.entry.js +1 -1
- package/dist/esm/gux-simple-toast-legacy.entry.js +1 -1
- package/dist/esm/gux-skip-navigation-list.entry.js +1 -1
- package/dist/esm/gux-sort-control.entry.js +1 -1
- package/dist/esm/gux-status-indicator-beta.entry.js +1 -1
- package/dist/esm/gux-step-title.entry.js +1 -1
- package/dist/esm/gux-step.entry.js +1 -1
- package/dist/esm/gux-stepper-beta.entry.js +1 -1
- package/dist/esm/gux-switch-legacy.entry.js +1 -1
- package/dist/esm/gux-table-toolbar-action.entry.js +1 -1
- package/dist/esm/gux-table-toolbar-custom-action.entry.js +3 -3
- package/dist/esm/gux-table-toolbar-menu-button.entry.js +1 -1
- package/dist/esm/gux-table-toolbar.entry.js +1 -1
- package/dist/esm/gux-table.entry.js +1 -1
- package/dist/esm/gux-tabs-advanced.entry.js +1 -1
- package/dist/esm/gux-tabs.entry.js +1 -1
- package/dist/esm/gux-tag.entry.js +1 -1
- package/dist/esm/gux-text-highlight.entry.js +1 -1
- package/dist/esm/gux-time-beta.entry.js +6 -6
- package/dist/esm/gux-time-picker.entry.js +5 -5
- package/dist/esm/gux-time-zone-beta.entry.js +1 -1
- package/dist/esm/gux-time-zone-picker-beta.entry.js +1 -1
- package/dist/esm/gux-toast.entry.js +1 -1
- package/dist/esm/gux-toggle.entry.js +1 -1
- package/dist/esm/gux-tooltip-base-beta_2.entry.js +1 -1
- package/dist/esm/gux-tooltip-pointer-beta.entry.js +1 -1
- package/dist/esm/gux-tooltip_2.entry.js +1 -1
- package/dist/esm/{intl-CpptOorV.js → spark-intl-BI0RT1yH.js} +1 -1
- package/dist/esm/{usage-Dfk0nYGa.js → usage-CCdqrX4v.js} +1 -1
- package/dist/esm/{use-regional-dates-ZuNZ-MBw.js → use-regional-dates-BgaA4g76.js} +3 -3
- package/dist/genesys-webcomponents/genesys-webcomponents.esm.js +1 -1
- package/dist/genesys-webcomponents/{p-95a055c6.entry.js → p-002d6150.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b1339a99.entry.js → p-027e5b54.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-6502cd44.entry.js → p-02f823a3.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-43984609.entry.js → p-052a0108.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-69ad4339.entry.js → p-076f99f4.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-ecaa12ee.entry.js → p-07a2e569.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-bb1dea85.entry.js → p-0bbce045.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-2dd36587.entry.js → p-0cb94523.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-afd0ec1a.entry.js → p-0f3a7df0.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-40be5948.entry.js → p-0fa27ace.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-acb9d96d.entry.js → p-1185449b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-482dc07d.entry.js → p-12c0d95a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-485ddb95.entry.js → p-1330ad57.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-32a77c6f.entry.js → p-1392deaa.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-9000d7b5.entry.js → p-14a5696c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-28d35aa7.entry.js → p-14e88134.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-aa7f4578.entry.js → p-15b196c8.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-872ca41a.entry.js → p-15e338cb.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-0982e88c.entry.js → p-1f5e49e2.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c7174199.entry.js → p-1f99cb9b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-2b0df652.entry.js → p-20b0baf1.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-210bb6d0.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-427f650e.entry.js → p-21f73b7a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-fb27a8a9.entry.js → p-22803eb3.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-936987a3.entry.js → p-2371b70c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-3c5a3cab.entry.js → p-23c1db09.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-059b42cf.entry.js → p-24135257.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b7a5d81a.entry.js → p-24629c02.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b779eb0d.entry.js → p-26ec1dcf.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-2b6da0c5.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-51b06281.entry.js → p-2baf3736.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-ac5123f5.entry.js → p-2e2b240c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-dfb41cde.entry.js → p-32596e61.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-dc632df5.entry.js → p-32edbc1f.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-11efc4e8.entry.js → p-348158d9.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-af58914a.entry.js → p-34ece808.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-9509386b.entry.js → p-35180840.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-a864eb89.entry.js → p-3615d5e8.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-06219232.entry.js → p-3c869816.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-1d22ab52.entry.js → p-3d06d2a4.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e20a9ad3.entry.js → p-3d3430b7.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-231359a9.entry.js → p-3fa76f5c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b8a96941.entry.js → p-450875f8.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-48539f96.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-6f52c5bb.entry.js → p-4be1c12a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-6de3144d.entry.js → p-528a169b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-4c0ca725.entry.js → p-5c769985.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c5764d14.entry.js → p-5dd0e627.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f47e1ba4.entry.js → p-5e73074b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-4c951722.entry.js → p-5eaf48cd.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-550ea2a0.entry.js → p-5ef199b9.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-86dcafcc.entry.js → p-5facb329.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-501dac20.entry.js → p-5fe6cc12.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-61d513b7.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-7a31c7a8.entry.js → p-62f48bee.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e1ca5955.entry.js → p-640ddd19.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-9a1577f7.entry.js → p-6531001f.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-a49cf4ec.entry.js → p-67817426.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d78bbe94.entry.js → p-679fdf11.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-66254d9d.entry.js → p-69d7e9f2.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-0ff5c1bd.entry.js → p-6c9ec7ec.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-ff5b2f0a.entry.js → p-6da064d9.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-6debf44c.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-03feffbd.entry.js → p-6ff79225.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d06ca25c.entry.js → p-73ffb994.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-2068833c.entry.js → p-74789915.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-2813b952.entry.js → p-7639cf9e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-79882492.entry.js → p-79258623.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-0b30056f.entry.js → p-7c46cce0.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-7ecc9067.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-29762e90.entry.js → p-82045dea.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-a53ca97b.entry.js → p-883ddef9.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-da7b91f4.entry.js → p-894308f4.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-2b661701.entry.js → p-8b3e8745.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-7e5ecd9e.entry.js → p-8c1aaa00.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-9e6b9625.entry.js → p-91f4b8b2.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-42157ed1.entry.js → p-9270f9bb.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-acf1e0d2.entry.js → p-9639c170.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c68e1b53.entry.js → p-974f66cc.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-980fac9f.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-a25122cc.entry.js → p-9b7d76e0.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-Dfk0nYGa.js → p-CCdqrX4v.js} +1 -1
- package/dist/genesys-webcomponents/p-CGSCz3OL.js +1 -0
- package/dist/genesys-webcomponents/{p-B0p1zRQq.js → p-Du774lsF.js} +1 -1
- package/dist/genesys-webcomponents/{p-a2e30859.entry.js → p-a0523a27.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-1c560362.entry.js → p-a5156efc.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-3fe6d842.entry.js → p-a75e298b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-96ffbf9d.entry.js → p-a8310899.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-04508744.entry.js → p-a8e241d4.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-a439080d.entry.js → p-a992222c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-5f35d9ce.entry.js → p-ac4c788a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-834738c5.entry.js → p-aebd6de3.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-bddc87ee.entry.js → p-b1b97016.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e8c17ba4.entry.js → p-b323f298.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-46c80988.entry.js → p-b70813e3.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d5f88f22.entry.js → p-b7d4ba81.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-a83b76cd.entry.js → p-ba4f66be.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d4076e9e.entry.js → p-bc45077b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-609d8334.entry.js → p-bdfd75cf.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-20c236b6.entry.js → p-bf8c4f96.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-053bbf83.entry.js → p-c3f1db1f.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-88e2a5b5.entry.js → p-cb1a7c84.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-a3e57bbd.entry.js → p-ccb740ba.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-0891a8a0.entry.js → p-cedbaeb3.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-258c5578.entry.js → p-d4aff29a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-2361fa2e.entry.js → p-d5994c02.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-429a6c87.entry.js → p-d835b4cb.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-d8f145e2.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-3f08402f.entry.js → p-dae77280.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-5720e044.entry.js → p-dbdc395b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f0d7d3fb.entry.js → p-dd417ee3.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-491a728e.entry.js → p-ddedb1d4.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-a23c6a51.entry.js → p-de1a7f1c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-cc35276f.entry.js → p-dfe5daf4.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-ba78518e.entry.js → p-e00a1bcb.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-695056c0.entry.js → p-e2f38a31.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-003b5126.entry.js → p-e6bed664.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-df1842d9.entry.js → p-e6f2d1f0.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c1b344ab.entry.js → p-e7c1a3fe.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-999ce9c9.entry.js → p-e85f8eae.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-e8824406.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-b4f13af4.entry.js → p-ea691ad9.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b5b09d15.entry.js → p-eaa2b88b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-320f0ec9.entry.js → p-eb11148f.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-6467a711.entry.js → p-eb64bb33.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d3430e75.entry.js → p-eff18fef.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d62265e9.entry.js → p-f0800fff.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-456fdc62.entry.js → p-f41d1ad6.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-79b58ed5.entry.js → p-f556a3bf.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-21e7f8f9.entry.js → p-f7519fcb.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-Bqbn0_rB.js → p-wqCHc7t7.js} +1 -1
- package/dist/stencil-wrapper.js +1 -1
- package/dist/types/components/beta/gux-date/tests/gux-date.common.d.ts +4 -0
- package/dist/types/i18n/time-zone/identifiers.d.ts +1 -1
- package/dist/types/i18n/time-zone/types.d.ts +2 -2
- package/dist/types/stencil-wrapper.d.ts +1 -1
- package/dist/types/utils/date/get-valid-timezone.d.ts +1 -2
- package/package.json +3 -3
- package/dist/cjs/get-valid-timezone-LnXg9Ygz.js +0 -520
- package/dist/collection/genesys-spark-utils/get-closest-element.js +0 -17
- package/dist/collection/genesys-spark-utils/intl.js +0 -131
- package/dist/esm/get-valid-timezone-DX5H3qid.js +0 -517
- package/dist/genesys-webcomponents/p-76b3af17.entry.js +0 -1
- package/dist/genesys-webcomponents/p-797484b6.entry.js +0 -1
- package/dist/genesys-webcomponents/p-804fec2f.entry.js +0 -1
- package/dist/genesys-webcomponents/p-8eed3de6.entry.js +0 -1
- package/dist/genesys-webcomponents/p-9131eecb.entry.js +0 -1
- package/dist/genesys-webcomponents/p-BxILAe-M.js +0 -1
- package/dist/genesys-webcomponents/p-a3d3ca07.entry.js +0 -1
- package/dist/genesys-webcomponents/p-c4f7d76a.entry.js +0 -1
- package/dist/genesys-webcomponents/p-fbb18f10.entry.js +0 -1
- package/dist/genesys-webcomponents/p-fd980cc8.entry.js +0 -1
- package/dist/types/genesys-spark-utils/get-closest-element.d.ts +0 -1
- package/dist/types/genesys-spark-utils/intl.d.ts +0 -30
- /package/dist/genesys-webcomponents/{p-ZuNZ-MBw.js → p-BgaA4g76.js} +0 -0
- /package/dist/genesys-webcomponents/{p-BZb6pJEJ.js → p-DCZG2J0G.js} +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { h, Host } from "@stencil/core";
|
|
2
2
|
import { trackComponent } from "../../../utils/tracking/usage";
|
|
3
3
|
import { DateTimeFormatter } from "../../../i18n/DateTimeFormatter";
|
|
4
|
-
import
|
|
5
|
-
// Remove with this ticket https://inindca.atlassian.net/browse/COMUI-
|
|
4
|
+
import { sparkIntl } from "genesys-spark-utils";
|
|
5
|
+
// Remove with this ticket https://inindca.atlassian.net/browse/COMUI-2657
|
|
6
6
|
import { useRegionalDates } from "../../../i18n/use-regional-dates";
|
|
7
7
|
import { getDesiredLocale } from "../../../i18n/index";
|
|
8
8
|
import { getValidTimezone } from "../../../utils/date/get-valid-timezone";
|
|
@@ -43,7 +43,7 @@ export class GuxDate {
|
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
render() {
|
|
46
|
-
return (h(Host, { key: '
|
|
46
|
+
return (h(Host, { key: '5315f6a363a5e70f1fc4d738070c62a8da43d9dc' }, this.renderDate()));
|
|
47
47
|
}
|
|
48
48
|
static get is() { return "gux-date-beta"; }
|
|
49
49
|
static get encapsulation() { return "shadow"; }
|
|
@@ -101,7 +101,7 @@ export class GuxDate {
|
|
|
101
101
|
"mutable": false,
|
|
102
102
|
"complexType": {
|
|
103
103
|
"original": "GuxTimeZoneIdentifier",
|
|
104
|
-
"resolved": "
|
|
104
|
+
"resolved": "string",
|
|
105
105
|
"references": {
|
|
106
106
|
"GuxTimeZoneIdentifier": {
|
|
107
107
|
"location": "import",
|
|
@@ -1,9 +1,23 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { genesysSupportedTimeZones } from "../../../../i18n/time-zone/identifiers";
|
|
2
2
|
export const renderConfigs = ['short', 'medium', 'full', 'long'].map((format) => ({
|
|
3
3
|
description: `should render as expected for "${format}" format`,
|
|
4
4
|
html: `<gux-date-beta datetime="2022-07-07T12:00:00.000Z" format="${format}"></gux-date-beta>`
|
|
5
5
|
}));
|
|
6
|
-
export const timezoneRenderConfigs =
|
|
6
|
+
export const timezoneRenderConfigs = genesysSupportedTimeZones.map((timeZone) => ({
|
|
7
7
|
description: `should render as expected for "${timeZone}" timezone`,
|
|
8
8
|
html: `<gux-date-beta time-zone=${timeZone} datetime="2022-07-07T12:00:00.000Z" format="full"></gux-date-beta>`
|
|
9
9
|
}));
|
|
10
|
+
export const timezoneSpecialCases = [
|
|
11
|
+
{
|
|
12
|
+
description: 'should render next day for deprecated timezone Asia/Calcutta',
|
|
13
|
+
html: '<gux-date-beta time-zone="Asia/Calcutta" datetime="2022-01-01T20:00:00.000Z" format="full"></gux-date-beta>'
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
description: 'should render next day for Pacific/Auckland',
|
|
17
|
+
html: '<gux-date-beta time-zone="Pacific/Auckland" datetime="2022-01-01T12:00:00.000Z" format="full"></gux-date-beta>'
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
description: 'should render same day for America/New_York',
|
|
21
|
+
html: '<gux-date-beta time-zone="America/New_York" datetime="2022-01-01T12:00:00.000Z" format="full"></gux-date-beta>'
|
|
22
|
+
}
|
|
23
|
+
];
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { h, Host } from "@stencil/core";
|
|
2
2
|
import { trackComponent } from "../../../utils/tracking/usage";
|
|
3
3
|
import { DateTimeFormatter } from "../../../i18n/DateTimeFormatter";
|
|
4
|
-
import
|
|
5
|
-
// Remove with this ticket https://inindca.atlassian.net/browse/COMUI-
|
|
4
|
+
import { sparkIntl } from "genesys-spark-utils";
|
|
5
|
+
// Remove with this ticket https://inindca.atlassian.net/browse/COMUI-2657
|
|
6
6
|
import { useRegionalDates } from "../../../i18n/use-regional-dates";
|
|
7
7
|
import { getDesiredLocale } from "../../../i18n/index";
|
|
8
8
|
import { getValidTimezone } from "../../../utils/date/get-valid-timezone";
|
|
@@ -44,7 +44,7 @@ export class GuxDateTime {
|
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
46
|
render() {
|
|
47
|
-
return (h(Host, { key: '
|
|
47
|
+
return (h(Host, { key: '37765f697ec0251640334a139a449d98fd690145' }, this.renderDateTime()));
|
|
48
48
|
}
|
|
49
49
|
static get is() { return "gux-date-time-beta"; }
|
|
50
50
|
static get encapsulation() { return "shadow"; }
|
|
@@ -102,7 +102,7 @@ export class GuxDateTime {
|
|
|
102
102
|
"mutable": false,
|
|
103
103
|
"complexType": {
|
|
104
104
|
"original": "GuxTimeZoneIdentifier",
|
|
105
|
-
"resolved": "
|
|
105
|
+
"resolved": "string",
|
|
106
106
|
"references": {
|
|
107
107
|
"GuxTimeZoneIdentifier": {
|
|
108
108
|
"location": "import",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { genesysSupportedTimeZones } from "../../../../i18n/time-zone/identifiers";
|
|
2
2
|
export const renderConfigs = ['short', 'medium', 'full', 'long'].map((format) => ({
|
|
3
3
|
description: `should render as expected for "${format}" format`,
|
|
4
4
|
html: `<gux-date-time-beta datetime="2022-07-07T12:00:00.000Z" format="${format}"></gux-date-time-beta>`
|
|
5
5
|
}));
|
|
6
|
-
export const timezoneRenderConfigs =
|
|
6
|
+
export const timezoneRenderConfigs = genesysSupportedTimeZones.map((timeZone) => ({
|
|
7
7
|
description: `should render as expected for "${timeZone}" timezone`,
|
|
8
8
|
html: `<gux-date-time-beta time-zone=${timeZone} datetime="2022-07-07T12:00:00.000Z" format="full"></gux-date-time-beta>`
|
|
9
9
|
}));
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
2
|
import { getDesiredLocale } from "../../../i18n";
|
|
3
|
-
import
|
|
3
|
+
import { sparkIntl } from "genesys-spark-utils";
|
|
4
4
|
import { Temporal } from "@js-temporal/polyfill";
|
|
5
5
|
import { formatPlainDate } from "../../../utils/date/temporal";
|
|
6
6
|
/**
|
|
@@ -29,7 +29,7 @@ export class GuxDay {
|
|
|
29
29
|
});
|
|
30
30
|
}
|
|
31
31
|
render() {
|
|
32
|
-
return (h("button", { key: '
|
|
32
|
+
return (h("button", { key: '00137b970c9b0bb073a4a2e8d91342b6aa84e5d9', type: "button", disabled: this.disabled }, h("slot", { key: '880af6fd3e5ed42cdb03db8ab33838ee90e2228d' }, h("span", { key: 'a7f5c5264e46e9f55023453af83f1f54bf1bf086', "aria-hidden": "true" }, this.date.day), h("span", { key: '8ddc339f1c24137f487e6e3fd0fba1366605fe27', class: "gux-sr-only" }, formatPlainDate(this.readerFormatter, this.date)))));
|
|
33
33
|
}
|
|
34
34
|
static get is() { return "gux-day-beta"; }
|
|
35
35
|
static get encapsulation() { return "shadow"; }
|
|
@@ -37,7 +37,7 @@ export class GuxFlagIconBeta {
|
|
|
37
37
|
"mutable": false,
|
|
38
38
|
"complexType": {
|
|
39
39
|
"original": "GuxFlagCode",
|
|
40
|
-
"resolved": "\"AD\" | \"AE\" | \"AF\" | \"AG\" | \"AI\" | \"AL\" | \"AM\" | \"AO\" | \"AR\" | \"AS\" | \"AT\" | \"AU\" | \"AW\" | \"AX\" | \"AZ\" | \"BA\" | \"BB\" | \"BD\" | \"BE\" | \"BF\" | \"BG\" | \"BH\" | \"BI\" | \"BJ\" | \"BL\" | \"BM\" | \"BN\" | \"BO\" | \"BQ\" | \"BR\" | \"BS\" | \"BT\" | \"BV\" | \"BW\" | \"BY\" | \"BZ\" | \"CA\" | \"CC\" | \"CD\" | \"CF\" | \"CG\" | \"CH\" | \"CI\" | \"CK\" | \"CL\" | \"CM\" | \"CN\" | \"CO\" | \"CR\" | \"CU\" | \"CV\" | \"CW\" | \"CX\" | \"CY\" | \"CZ\" | \"DE\" | \"DJ\" | \"DK\" | \"DM\" | \"DO\" | \"DZ\" | \"EC\" | \"EE\" | \"EG\" | \"EH\" | \"ER\" | \"ES\" | \"ET\" | \"FI\" | \"FJ\" | \"FK\" | \"FM\" | \"FO\" | \"FR\" | \"GA\" | \"
|
|
40
|
+
"resolved": "\"GB\" | \"NZ\" | \"AD\" | \"AE\" | \"AF\" | \"AG\" | \"AI\" | \"AL\" | \"AM\" | \"AO\" | \"AR\" | \"AS\" | \"AT\" | \"AU\" | \"AW\" | \"AX\" | \"AZ\" | \"BA\" | \"BB\" | \"BD\" | \"BE\" | \"BF\" | \"BG\" | \"BH\" | \"BI\" | \"BJ\" | \"BL\" | \"BM\" | \"BN\" | \"BO\" | \"BQ\" | \"BR\" | \"BS\" | \"BT\" | \"BV\" | \"BW\" | \"BY\" | \"BZ\" | \"CA\" | \"CC\" | \"CD\" | \"CF\" | \"CG\" | \"CH\" | \"CI\" | \"CK\" | \"CL\" | \"CM\" | \"CN\" | \"CO\" | \"CR\" | \"CU\" | \"CV\" | \"CW\" | \"CX\" | \"CY\" | \"CZ\" | \"DE\" | \"DJ\" | \"DK\" | \"DM\" | \"DO\" | \"DZ\" | \"EC\" | \"EE\" | \"EG\" | \"EH\" | \"ER\" | \"ES\" | \"ET\" | \"FI\" | \"FJ\" | \"FK\" | \"FM\" | \"FO\" | \"FR\" | \"GA\" | \"GD\" | \"GE\" | \"GF\" | \"GG\" | \"GH\" | \"GI\" | \"GL\" | \"GM\" | \"GN\" | \"GP\" | \"GQ\" | \"GR\" | \"GS\" | \"GT\" | \"GU\" | \"GW\" | \"GY\" | \"HK\" | \"HN\" | \"HR\" | \"HT\" | \"HU\" | \"ID\" | \"IE\" | \"IL\" | \"IM\" | \"IN\" | \"IO\" | \"IQ\" | \"IR\" | \"IS\" | \"IT\" | \"JE\" | \"JM\" | \"JO\" | \"JP\" | \"KE\" | \"KG\" | \"KH\" | \"KI\" | \"KM\" | \"KN\" | \"KP\" | \"KR\" | \"KW\" | \"KY\" | \"KZ\" | \"LA\" | \"LB\" | \"LC\" | \"LI\" | \"LK\" | \"LR\" | \"LS\" | \"LT\" | \"LU\" | \"LV\" | \"LY\" | \"MA\" | \"MC\" | \"MD\" | \"ME\" | \"MF\" | \"MG\" | \"MH\" | \"MK\" | \"ML\" | \"MM\" | \"MN\" | \"MO\" | \"MP\" | \"MQ\" | \"MR\" | \"MS\" | \"MT\" | \"MU\" | \"MV\" | \"MW\" | \"MX\" | \"MY\" | \"MZ\" | \"NA\" | \"NC\" | \"NE\" | \"NF\" | \"NG\" | \"NI\" | \"NL\" | \"NO\" | \"NP\" | \"NR\" | \"NU\" | \"OM\" | \"PA\" | \"PE\" | \"PF\" | \"PG\" | \"PH\" | \"PK\" | \"PL\" | \"PM\" | \"PN\" | \"PR\" | \"PS\" | \"PT\" | \"PW\" | \"PY\" | \"QA\" | \"RE\" | \"RO\" | \"RS\" | \"RU\" | \"RW\" | \"SA\" | \"SB\" | \"SC\" | \"SD\" | \"SE\" | \"SG\" | \"SH\" | \"SI\" | \"SJ\" | \"SK\" | \"SL\" | \"SM\" | \"SN\" | \"SO\" | \"SR\" | \"SS\" | \"ST\" | \"SV\" | \"SX\" | \"SY\" | \"SZ\" | \"TC\" | \"TD\" | \"TG\" | \"TH\" | \"TJ\" | \"TK\" | \"TL\" | \"TM\" | \"TN\" | \"TO\" | \"TR\" | \"TT\" | \"TV\" | \"TW\" | \"TZ\" | \"UA\" | \"UG\" | \"US\" | \"UY\" | \"UZ\" | \"VA\" | \"VC\" | \"VE\" | \"VG\" | \"VI\" | \"VN\" | \"VU\" | \"WF\" | \"WS\" | \"XK\" | \"YE\" | \"YT\" | \"ZA\" | \"ZM\" | \"ZW\"",
|
|
41
41
|
"references": {
|
|
42
42
|
"GuxFlagCode": {
|
|
43
43
|
"location": "import",
|
package/dist/collection/components/beta/gux-month-picker/gux-month-calendar/gux-month-calendar.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
2
|
import { buildI18nForComponent, getDesiredLocale } from "../../../../i18n";
|
|
3
|
-
import
|
|
4
|
-
// Remove with this ticket https://inindca.atlassian.net/browse/COMUI-
|
|
3
|
+
import { sparkIntl } from "genesys-spark-utils";
|
|
4
|
+
// Remove with this ticket https://inindca.atlassian.net/browse/COMUI-2657
|
|
5
5
|
import { useRegionalDates } from "../../../../i18n/use-regional-dates";
|
|
6
6
|
import simulateNativeEvent from "../../../../utils/dom/simulate-native-event";
|
|
7
7
|
import { afterNextRender } from "../../../../utils/dom/after-next-render";
|
|
@@ -163,7 +163,7 @@ export class GuxMonthCalendar {
|
|
|
163
163
|
return (h("gux-month-list", null, monthButtons));
|
|
164
164
|
}
|
|
165
165
|
render() {
|
|
166
|
-
return (h("div", { key: '
|
|
166
|
+
return (h("div", { key: '1845e9fcec4da994b00e43d889aabc98389c6455', class: {
|
|
167
167
|
'gux-hidden': !this.expanded,
|
|
168
168
|
'gux-month-calendar': true
|
|
169
169
|
} }, this.renderHeader(), this.renderMonths()));
|
|
@@ -13,7 +13,7 @@ import { h } from "@stencil/core";
|
|
|
13
13
|
import { trackComponent } from "../../../utils/tracking/usage";
|
|
14
14
|
import { OnClickOutside } from "../../../utils/decorator/on-click-outside";
|
|
15
15
|
import { buildI18nForComponent, getDesiredLocale } from "../../../i18n";
|
|
16
|
-
import
|
|
16
|
+
import { sparkIntl } from "genesys-spark-utils";
|
|
17
17
|
import { useRegionalDates } from "../../../i18n/use-regional-dates";
|
|
18
18
|
import simulateNativeEvent from "../../../utils/dom/simulate-native-event";
|
|
19
19
|
import { afterNextRender } from "../../../utils/dom/after-next-render";
|
|
@@ -196,7 +196,7 @@ export class GuxMonthPicker {
|
|
|
196
196
|
return (h("gux-month-calendar", { slot: "popup", ref: (el) => (this.monthCalendarElement = el), onInput: () => this.onMonthCalendarInput(), value: this.value, min: this.min, max: this.max }));
|
|
197
197
|
}
|
|
198
198
|
render() {
|
|
199
|
-
return (h("gux-popup", { key: '
|
|
199
|
+
return (h("gux-popup", { key: '05a63d7a27a090c8ad29dd70412641256218eeec', expanded: this.expanded, disabled: this.disabled, "exceed-target-width": true }, this.renderTarget(), this.renderPopup()));
|
|
200
200
|
}
|
|
201
201
|
static get is() { return "gux-month-picker-beta"; }
|
|
202
202
|
static get encapsulation() { return "shadow"; }
|
|
@@ -404,7 +404,7 @@ export class GuxPhoneInput {
|
|
|
404
404
|
"mutable": false,
|
|
405
405
|
"complexType": {
|
|
406
406
|
"original": "Alpha2Code",
|
|
407
|
-
"resolved": "\"AD\" | \"AE\" | \"AF\" | \"AG\" | \"AI\" | \"AL\" | \"AM\" | \"AO\" | \"AR\" | \"AS\" | \"AT\" | \"AU\" | \"AW\" | \"AX\" | \"AZ\" | \"BA\" | \"BB\" | \"BD\" | \"BE\" | \"BF\" | \"BG\" | \"BH\" | \"BI\" | \"BJ\" | \"BL\" | \"BM\" | \"BN\" | \"BO\" | \"BQ\" | \"BR\" | \"BS\" | \"BT\" | \"BV\" | \"BW\" | \"BY\" | \"BZ\" | \"CA\" | \"CC\" | \"CD\" | \"CF\" | \"CG\" | \"CH\" | \"CI\" | \"CK\" | \"CL\" | \"CM\" | \"CN\" | \"CO\" | \"CR\" | \"CU\" | \"CV\" | \"CW\" | \"CX\" | \"CY\" | \"CZ\" | \"DE\" | \"DJ\" | \"DK\" | \"DM\" | \"DO\" | \"DZ\" | \"EC\" | \"EE\" | \"EG\" | \"EH\" | \"ER\" | \"ES\" | \"ET\" | \"FI\" | \"FJ\" | \"FK\" | \"FM\" | \"FO\" | \"FR\" | \"GA\" | \"
|
|
407
|
+
"resolved": "\"GB\" | \"NZ\" | \"AD\" | \"AE\" | \"AF\" | \"AG\" | \"AI\" | \"AL\" | \"AM\" | \"AO\" | \"AR\" | \"AS\" | \"AT\" | \"AU\" | \"AW\" | \"AX\" | \"AZ\" | \"BA\" | \"BB\" | \"BD\" | \"BE\" | \"BF\" | \"BG\" | \"BH\" | \"BI\" | \"BJ\" | \"BL\" | \"BM\" | \"BN\" | \"BO\" | \"BQ\" | \"BR\" | \"BS\" | \"BT\" | \"BV\" | \"BW\" | \"BY\" | \"BZ\" | \"CA\" | \"CC\" | \"CD\" | \"CF\" | \"CG\" | \"CH\" | \"CI\" | \"CK\" | \"CL\" | \"CM\" | \"CN\" | \"CO\" | \"CR\" | \"CU\" | \"CV\" | \"CW\" | \"CX\" | \"CY\" | \"CZ\" | \"DE\" | \"DJ\" | \"DK\" | \"DM\" | \"DO\" | \"DZ\" | \"EC\" | \"EE\" | \"EG\" | \"EH\" | \"ER\" | \"ES\" | \"ET\" | \"FI\" | \"FJ\" | \"FK\" | \"FM\" | \"FO\" | \"FR\" | \"GA\" | \"GD\" | \"GE\" | \"GF\" | \"GG\" | \"GH\" | \"GI\" | \"GL\" | \"GM\" | \"GN\" | \"GP\" | \"GQ\" | \"GR\" | \"GS\" | \"GT\" | \"GU\" | \"GW\" | \"GY\" | \"HK\" | \"HN\" | \"HR\" | \"HT\" | \"HU\" | \"ID\" | \"IE\" | \"IL\" | \"IM\" | \"IN\" | \"IO\" | \"IQ\" | \"IR\" | \"IS\" | \"IT\" | \"JE\" | \"JM\" | \"JO\" | \"JP\" | \"KE\" | \"KG\" | \"KH\" | \"KI\" | \"KM\" | \"KN\" | \"KP\" | \"KR\" | \"KW\" | \"KY\" | \"KZ\" | \"LA\" | \"LB\" | \"LC\" | \"LI\" | \"LK\" | \"LR\" | \"LS\" | \"LT\" | \"LU\" | \"LV\" | \"LY\" | \"MA\" | \"MC\" | \"MD\" | \"ME\" | \"MF\" | \"MG\" | \"MH\" | \"MK\" | \"ML\" | \"MM\" | \"MN\" | \"MO\" | \"MP\" | \"MQ\" | \"MR\" | \"MS\" | \"MT\" | \"MU\" | \"MV\" | \"MW\" | \"MX\" | \"MY\" | \"MZ\" | \"NA\" | \"NC\" | \"NE\" | \"NF\" | \"NG\" | \"NI\" | \"NL\" | \"NO\" | \"NP\" | \"NR\" | \"NU\" | \"OM\" | \"PA\" | \"PE\" | \"PF\" | \"PG\" | \"PH\" | \"PK\" | \"PL\" | \"PM\" | \"PN\" | \"PR\" | \"PS\" | \"PT\" | \"PW\" | \"PY\" | \"QA\" | \"RE\" | \"RO\" | \"RS\" | \"RU\" | \"RW\" | \"SA\" | \"SB\" | \"SC\" | \"SD\" | \"SE\" | \"SG\" | \"SH\" | \"SI\" | \"SJ\" | \"SK\" | \"SL\" | \"SM\" | \"SN\" | \"SO\" | \"SR\" | \"SS\" | \"ST\" | \"SV\" | \"SX\" | \"SY\" | \"SZ\" | \"TC\" | \"TD\" | \"TG\" | \"TH\" | \"TJ\" | \"TK\" | \"TL\" | \"TM\" | \"TN\" | \"TO\" | \"TR\" | \"TT\" | \"TV\" | \"TW\" | \"TZ\" | \"UA\" | \"UG\" | \"US\" | \"UY\" | \"UZ\" | \"VA\" | \"VC\" | \"VE\" | \"VG\" | \"VI\" | \"VN\" | \"VU\" | \"WF\" | \"WS\" | \"XK\" | \"YE\" | \"YT\" | \"ZA\" | \"ZM\" | \"ZW\"",
|
|
408
408
|
"references": {
|
|
409
409
|
"Alpha2Code": {
|
|
410
410
|
"location": "import",
|
|
@@ -576,7 +576,7 @@ export class GuxPhoneInput {
|
|
|
576
576
|
"signature": "(alpha2Code: Alpha2Code) => Promise<void>",
|
|
577
577
|
"parameters": [{
|
|
578
578
|
"name": "alpha2Code",
|
|
579
|
-
"type": "\"AD\" | \"AE\" | \"AF\" | \"AG\" | \"AI\" | \"AL\" | \"AM\" | \"AO\" | \"AR\" | \"AS\" | \"AT\" | \"AU\" | \"AW\" | \"AX\" | \"AZ\" | \"BA\" | \"BB\" | \"BD\" | \"BE\" | \"BF\" | \"BG\" | \"BH\" | \"BI\" | \"BJ\" | \"BL\" | \"BM\" | \"BN\" | \"BO\" | \"BQ\" | \"BR\" | \"BS\" | \"BT\" | \"BV\" | \"BW\" | \"BY\" | \"BZ\" | \"CA\" | \"CC\" | \"CD\" | \"CF\" | \"CG\" | \"CH\" | \"CI\" | \"CK\" | \"CL\" | \"CM\" | \"CN\" | \"CO\" | \"CR\" | \"CU\" | \"CV\" | \"CW\" | \"CX\" | \"CY\" | \"CZ\" | \"DE\" | \"DJ\" | \"DK\" | \"DM\" | \"DO\" | \"DZ\" | \"EC\" | \"EE\" | \"EG\" | \"EH\" | \"ER\" | \"ES\" | \"ET\" | \"FI\" | \"FJ\" | \"FK\" | \"FM\" | \"FO\" | \"FR\" | \"GA\" | \"
|
|
579
|
+
"type": "\"GB\" | \"NZ\" | \"AD\" | \"AE\" | \"AF\" | \"AG\" | \"AI\" | \"AL\" | \"AM\" | \"AO\" | \"AR\" | \"AS\" | \"AT\" | \"AU\" | \"AW\" | \"AX\" | \"AZ\" | \"BA\" | \"BB\" | \"BD\" | \"BE\" | \"BF\" | \"BG\" | \"BH\" | \"BI\" | \"BJ\" | \"BL\" | \"BM\" | \"BN\" | \"BO\" | \"BQ\" | \"BR\" | \"BS\" | \"BT\" | \"BV\" | \"BW\" | \"BY\" | \"BZ\" | \"CA\" | \"CC\" | \"CD\" | \"CF\" | \"CG\" | \"CH\" | \"CI\" | \"CK\" | \"CL\" | \"CM\" | \"CN\" | \"CO\" | \"CR\" | \"CU\" | \"CV\" | \"CW\" | \"CX\" | \"CY\" | \"CZ\" | \"DE\" | \"DJ\" | \"DK\" | \"DM\" | \"DO\" | \"DZ\" | \"EC\" | \"EE\" | \"EG\" | \"EH\" | \"ER\" | \"ES\" | \"ET\" | \"FI\" | \"FJ\" | \"FK\" | \"FM\" | \"FO\" | \"FR\" | \"GA\" | \"GD\" | \"GE\" | \"GF\" | \"GG\" | \"GH\" | \"GI\" | \"GL\" | \"GM\" | \"GN\" | \"GP\" | \"GQ\" | \"GR\" | \"GS\" | \"GT\" | \"GU\" | \"GW\" | \"GY\" | \"HK\" | \"HN\" | \"HR\" | \"HT\" | \"HU\" | \"ID\" | \"IE\" | \"IL\" | \"IM\" | \"IN\" | \"IO\" | \"IQ\" | \"IR\" | \"IS\" | \"IT\" | \"JE\" | \"JM\" | \"JO\" | \"JP\" | \"KE\" | \"KG\" | \"KH\" | \"KI\" | \"KM\" | \"KN\" | \"KP\" | \"KR\" | \"KW\" | \"KY\" | \"KZ\" | \"LA\" | \"LB\" | \"LC\" | \"LI\" | \"LK\" | \"LR\" | \"LS\" | \"LT\" | \"LU\" | \"LV\" | \"LY\" | \"MA\" | \"MC\" | \"MD\" | \"ME\" | \"MF\" | \"MG\" | \"MH\" | \"MK\" | \"ML\" | \"MM\" | \"MN\" | \"MO\" | \"MP\" | \"MQ\" | \"MR\" | \"MS\" | \"MT\" | \"MU\" | \"MV\" | \"MW\" | \"MX\" | \"MY\" | \"MZ\" | \"NA\" | \"NC\" | \"NE\" | \"NF\" | \"NG\" | \"NI\" | \"NL\" | \"NO\" | \"NP\" | \"NR\" | \"NU\" | \"OM\" | \"PA\" | \"PE\" | \"PF\" | \"PG\" | \"PH\" | \"PK\" | \"PL\" | \"PM\" | \"PN\" | \"PR\" | \"PS\" | \"PT\" | \"PW\" | \"PY\" | \"QA\" | \"RE\" | \"RO\" | \"RS\" | \"RU\" | \"RW\" | \"SA\" | \"SB\" | \"SC\" | \"SD\" | \"SE\" | \"SG\" | \"SH\" | \"SI\" | \"SJ\" | \"SK\" | \"SL\" | \"SM\" | \"SN\" | \"SO\" | \"SR\" | \"SS\" | \"ST\" | \"SV\" | \"SX\" | \"SY\" | \"SZ\" | \"TC\" | \"TD\" | \"TG\" | \"TH\" | \"TJ\" | \"TK\" | \"TL\" | \"TM\" | \"TN\" | \"TO\" | \"TR\" | \"TT\" | \"TV\" | \"TW\" | \"TZ\" | \"UA\" | \"UG\" | \"US\" | \"UY\" | \"UZ\" | \"VA\" | \"VC\" | \"VE\" | \"VG\" | \"VI\" | \"VN\" | \"VU\" | \"WF\" | \"WS\" | \"XK\" | \"YE\" | \"YT\" | \"ZA\" | \"ZM\" | \"ZW\"",
|
|
580
580
|
"docs": ""
|
|
581
581
|
}],
|
|
582
582
|
"references": {
|
package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor.service.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { getClosestElement } from "
|
|
1
|
+
import { getClosestElement } from "genesys-spark-utils";
|
|
2
2
|
export function hasDisabledParent(root) {
|
|
3
3
|
const getParent = getClosestElement(root, 'gux-rich-text-editor-beta');
|
|
4
4
|
return getParent === null || getParent === void 0 ? void 0 : getParent.disabled;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { h, Host } from "@stencil/core";
|
|
2
2
|
import { trackComponent } from "../../../utils/tracking/usage";
|
|
3
3
|
import { DateTimeFormatter } from "../../../i18n/DateTimeFormatter";
|
|
4
|
-
import
|
|
5
|
-
// Remove with this ticket https://inindca.atlassian.net/browse/COMUI-
|
|
4
|
+
import { sparkIntl } from "genesys-spark-utils";
|
|
5
|
+
// Remove with this ticket https://inindca.atlassian.net/browse/COMUI-2657
|
|
6
6
|
import { useRegionalDates } from "../../../i18n/use-regional-dates";
|
|
7
7
|
import { getDesiredLocale } from "../../../i18n/index";
|
|
8
8
|
import { getValidTimezone } from "../../../utils/date/get-valid-timezone";
|
|
@@ -43,7 +43,7 @@ export class GuxTime {
|
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
render() {
|
|
46
|
-
return (h(Host, { key: '
|
|
46
|
+
return (h(Host, { key: '9c1d2e451ccf531cb803b8052cfb5f9f7f01ea69' }, this.renderTime()));
|
|
47
47
|
}
|
|
48
48
|
static get is() { return "gux-time-beta"; }
|
|
49
49
|
static get encapsulation() { return "shadow"; }
|
|
@@ -101,7 +101,7 @@ export class GuxTime {
|
|
|
101
101
|
"mutable": false,
|
|
102
102
|
"complexType": {
|
|
103
103
|
"original": "GuxTimeZoneIdentifier",
|
|
104
|
-
"resolved": "
|
|
104
|
+
"resolved": "string",
|
|
105
105
|
"references": {
|
|
106
106
|
"GuxTimeZoneIdentifier": {
|
|
107
107
|
"location": "import",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { genesysSupportedTimeZones } from "../../../../i18n/time-zone/identifiers";
|
|
2
2
|
export const renderConfigs = ['short', 'medium', 'full', 'long'].map((format) => ({
|
|
3
3
|
description: `should render as expected for "${format}" format`,
|
|
4
4
|
html: `<gux-time-beta datetime="2022-07-07T12:00:00.000Z" format="${format}"></gux-time-beta>`
|
|
5
5
|
}));
|
|
6
|
-
export const timezoneRenderConfigs =
|
|
6
|
+
export const timezoneRenderConfigs = genesysSupportedTimeZones.map((timeZone) => ({
|
|
7
7
|
description: `should render as expected for "${timeZone}" timezone`,
|
|
8
8
|
html: `<gux-time-beta time-zone=${timeZone} datetime="2022-07-07T12:00:00.000Z" format="full"></gux-time-beta>`
|
|
9
9
|
}));
|
|
@@ -37,7 +37,7 @@ export class GuxTimeZoneBeta {
|
|
|
37
37
|
"mutable": false,
|
|
38
38
|
"complexType": {
|
|
39
39
|
"original": "GuxTimeZoneIdentifier",
|
|
40
|
-
"resolved": "
|
|
40
|
+
"resolved": "string",
|
|
41
41
|
"references": {
|
|
42
42
|
"GuxTimeZoneIdentifier": {
|
|
43
43
|
"location": "import",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { capitalizeFirstLetter } from "../../../utils/string/capitalize-first-letter";
|
|
2
|
-
import
|
|
3
|
-
// Remove with this ticket https://inindca.atlassian.net/browse/COMUI-
|
|
2
|
+
import { sparkIntl } from "genesys-spark-utils";
|
|
3
|
+
// Remove with this ticket https://inindca.atlassian.net/browse/COMUI-2657
|
|
4
4
|
import { useRegionalDates } from "../../../i18n/use-regional-dates";
|
|
5
5
|
export function firstDateInMonth(month, year, startDayOfWeek) {
|
|
6
6
|
const startDate = new Date(year, month, 1, 1, 0, 0, 0);
|
|
@@ -16,8 +16,8 @@ import { asIsoDateRange, asIsoDate, fromIsoDateRange, fromIsoDate } from "../../
|
|
|
16
16
|
import { OnClickOutside } from "../../../utils/decorator/on-click-outside";
|
|
17
17
|
import { trackComponent } from "../../../utils/tracking/usage";
|
|
18
18
|
import { buildI18nForComponent } from "../../../i18n";
|
|
19
|
-
import
|
|
20
|
-
// Remove with this ticket https://inindca.atlassian.net/browse/COMUI-
|
|
19
|
+
import { sparkIntl } from "genesys-spark-utils";
|
|
20
|
+
// Remove with this ticket https://inindca.atlassian.net/browse/COMUI-2657
|
|
21
21
|
import { useRegionalDates } from "../../../i18n/use-regional-dates";
|
|
22
22
|
import translationResources from "./i18n/en.json";
|
|
23
23
|
import { getCalendarLabels, isOutOfBoundsDate, incrementDay, incrementMonth, incrementYear, getFormattedDate, getIntervalLetter, getFormatSeparator, getPreviousIntervalRange, getNextIntervalRange, getIntervalOrder, getIntervalRange } from "./gux-datepicker.service";
|
|
@@ -538,7 +538,7 @@ export class GuxDatepicker {
|
|
|
538
538
|
} }, h("label", { htmlFor: this.endInputId, class: "gux-datepicker-field-label" }, this.getCalendarLabels()[1]), h("div", { class: "gux-datepicker-field-input" }, h("div", { class: "gux-datepicker-field-text-input" }, h("input", { id: this.endInputId, type: "text", ref: (el) => (this.toInputElement = el), onMouseUp: e => this.onInputMouseUp(e), onFocusin: e => this.onInputFocusIn(e), onFocusout: () => this.onInputFocusOut(), value: this.toFormattedValue, disabled: this.disabled }), this.renderCalendarToggleButton()))));
|
|
539
539
|
}
|
|
540
540
|
render() {
|
|
541
|
-
return (h("div", { key: '
|
|
541
|
+
return (h("div", { key: 'a6c1d7b373599ed6d2b2af3339bc2d0e19c4a69f', class: {
|
|
542
542
|
'gux-datepicker': true,
|
|
543
543
|
'gux-active': this.active,
|
|
544
544
|
'gux-disabled': this.disabled
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
|
-
import { getClosestElement } from "
|
|
2
|
+
import { getClosestElement } from "genesys-spark-utils";
|
|
3
3
|
import { trackComponent } from "../../../../utils/tracking/usage";
|
|
4
4
|
import { getSlotTextContent } from "../../../../utils/dom/get-slot-text-content";
|
|
5
5
|
/**
|
|
@@ -32,7 +32,7 @@ export class GuxTableToolbarCustomAction {
|
|
|
32
32
|
trackComponent(this.root);
|
|
33
33
|
}
|
|
34
34
|
render() {
|
|
35
|
-
return (h("gux-button-slot", { key: '
|
|
35
|
+
return (h("gux-button-slot", { key: '55aee5f8b48828e9669a132f6145aa5bd746a24a', accent: this.accent }, h("button", { key: '78f544c8670e9c1563c35f999b0b51e04d922251', disabled: this.disabled, type: "button", class: "gux-action-title" }, h("slot", { key: '20bbbd020a98e735094e3a8d2b148fcbddfcd0a6', name: "icon" }), h("span", { key: '9ab9a7deb5bd582a2bd0aa38bb2171f978ec59c5', class: { 'gux-sr-only': this.hideText() } }, h("slot", { key: '512102ec50daf0dcaf2bbccfae1e93ba3d7d0715', name: "text" }))), this.renderTooltip()));
|
|
36
36
|
}
|
|
37
37
|
static get is() { return "gux-table-toolbar-custom-action"; }
|
|
38
38
|
static get encapsulation() { return "shadow"; }
|
|
@@ -16,8 +16,7 @@ import { buildI18nForComponent } from "../../../i18n";
|
|
|
16
16
|
import { trackComponent } from "../../../utils/tracking/usage";
|
|
17
17
|
import translationResources from "./i18n/en.json";
|
|
18
18
|
import { logError } from "../../../utils/error/log-error";
|
|
19
|
-
import
|
|
20
|
-
// Remove with this ticket https://inindca.atlassian.net/browse/COMUI-2598
|
|
19
|
+
import { sparkIntl } from "genesys-spark-utils";
|
|
21
20
|
import { useRegionalDates } from "../../../i18n/use-regional-dates";
|
|
22
21
|
import { getHourDisplayValue, getHoursPattern, getLocaleClockType, getMinuteDisplayValue, getMinutesPattern, getTimeDisplayValues, getValidValueHourChange, getValidValueMinuteChange, getValue, incrementHour, incrementMinute, isAm, getAmPmStrings, getAmPmPosition } from "./gux-time-picker.service";
|
|
23
22
|
export class GuxTimePicker {
|
|
@@ -276,7 +275,7 @@ export class GuxTimePicker {
|
|
|
276
275
|
return (h("div", { slot: "popup", class: "gux-list-container", onKeyDown: (e) => this.onListKeyDown(e) }, h("gux-list", { ref: el => (this.listElement = el) }, this.renderTimeListItems())));
|
|
277
276
|
}
|
|
278
277
|
render() {
|
|
279
|
-
return (h("gux-popup", { key: '
|
|
278
|
+
return (h("gux-popup", { key: '0b90ee71c12834a013d167b054f9a9bd0f3afde8', class: {
|
|
280
279
|
'gux-time-picker': true,
|
|
281
280
|
'gux-error': this.hasError
|
|
282
281
|
}, expanded: this.expanded, disabled: this.disabled }, this.renderTarget(), this.renderPopup()));
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { getDesiredLocale } from "../../../i18n";
|
|
2
|
-
import
|
|
3
|
-
// Remove useRegionalDates with this ticket https://inindca.atlassian.net/browse/COMUI-
|
|
2
|
+
import { sparkIntl } from "genesys-spark-utils";
|
|
3
|
+
// Remove useRegionalDates with this ticket https://inindca.atlassian.net/browse/COMUI-2657
|
|
4
4
|
import { useRegionalDates } from "../../../i18n/use-regional-dates";
|
|
5
5
|
export function getTimeDisplayValues(minuteInterval, clockType, min, max) {
|
|
6
6
|
const minuteOptions = [0, 15, 30, 45]
|