@leavittsoftware/web 8.7.2 → 8.8.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/leavitt/api-service/HttpError.d.ts +11 -0
- package/leavitt/api-service/HttpError.js +2 -0
- package/leavitt/api-service/HttpError.js.map +1 -0
- package/leavitt/api-service/api-service.d.ts +52 -0
- package/leavitt/api-service/api-service.js +369 -0
- package/leavitt/api-service/api-service.js.map +1 -0
- package/leavitt/api-service/authenticated-token-provider.d.ts +5 -0
- package/leavitt/api-service/authenticated-token-provider.js +7 -0
- package/leavitt/api-service/authenticated-token-provider.js.map +1 -0
- package/leavitt/api-service/bearer-token-provider.d.ts +4 -0
- package/leavitt/api-service/bearer-token-provider.js +2 -0
- package/leavitt/api-service/bearer-token-provider.js.map +1 -0
- package/leavitt/api-service/blob-response.d.ts +8 -0
- package/leavitt/api-service/blob-response.js +8 -0
- package/leavitt/api-service/blob-response.js.map +1 -0
- package/leavitt/api-service/no-authentication-token-provider.d.ts +5 -0
- package/leavitt/api-service/no-authentication-token-provider.js +6 -0
- package/leavitt/api-service/no-authentication-token-provider.js.map +1 -0
- package/leavitt/api-service/object-to-form-data.d.ts +9 -0
- package/leavitt/api-service/object-to-form-data.js +42 -0
- package/leavitt/api-service/object-to-form-data.js.map +1 -0
- package/leavitt/api-service/object-to-form-data.test.d.ts +2 -0
- package/leavitt/api-service/object-to-form-data.test.js +229 -0
- package/leavitt/api-service/object-to-form-data.test.js.map +1 -0
- package/leavitt/api-service/odata-dto.d.ts +6 -0
- package/leavitt/api-service/odata-dto.js +7 -0
- package/leavitt/api-service/odata-dto.js.map +1 -0
- package/leavitt/api-service/odata-model-info.d.ts +5 -0
- package/leavitt/api-service/odata-model-info.js +7 -0
- package/leavitt/api-service/odata-model-info.js.map +1 -0
- package/leavitt/api-service/odata-response.d.ts +15 -0
- package/leavitt/api-service/odata-response.js +50 -0
- package/leavitt/api-service/odata-response.js.map +1 -0
- package/leavitt/api-service/status-codes.d.ts +2 -0
- package/leavitt/api-service/status-codes.js +44 -0
- package/leavitt/api-service/status-codes.js.map +1 -0
- package/leavitt/app/app-logo.d.ts +12 -0
- package/leavitt/app/app-logo.js +142 -0
- package/leavitt/app/app-logo.js.map +1 -0
- package/leavitt/app/app-main-content-container.d.ts +10 -0
- package/leavitt/app/app-main-content-container.js +65 -0
- package/leavitt/app/app-main-content-container.js.map +1 -0
- package/leavitt/app/app-navigation-footer.d.ts +18 -0
- package/leavitt/app/app-navigation-footer.js +142 -0
- package/leavitt/app/app-navigation-footer.js.map +1 -0
- package/leavitt/app/app-navigation-header.d.ts +22 -0
- package/leavitt/app/app-navigation-header.js +239 -0
- package/leavitt/app/app-navigation-header.js.map +1 -0
- package/leavitt/app/app-width-limiter.d.ts +7 -0
- package/leavitt/app/app-width-limiter.js +39 -0
- package/leavitt/app/app-width-limiter.js.map +1 -0
- package/leavitt/app/contexts/main-menu-position-context.d.ts +4 -0
- package/leavitt/app/contexts/main-menu-position-context.js +3 -0
- package/leavitt/app/contexts/main-menu-position-context.js.map +1 -0
- package/leavitt/company-select/company-select.d.ts +53 -0
- package/leavitt/company-select/company-select.js +181 -0
- package/leavitt/company-select/company-select.js.map +1 -0
- package/leavitt/email-history-viewer/email-history-view-list-filter-dialog.d.ts +394 -0
- package/leavitt/email-history-viewer/email-history-view-list-filter-dialog.js +233 -0
- package/leavitt/email-history-viewer/email-history-view-list-filter-dialog.js.map +1 -0
- package/leavitt/email-history-viewer/email-history-viewer-filled-filter-dialog.d.ts +397 -0
- package/leavitt/email-history-viewer/email-history-viewer-filled-filter-dialog.js +244 -0
- package/leavitt/email-history-viewer/email-history-viewer-filled-filter-dialog.js.map +1 -0
- package/leavitt/email-history-viewer/email-history-viewer-filled.d.ts +408 -0
- package/leavitt/email-history-viewer/email-history-viewer-filled.js +381 -0
- package/leavitt/email-history-viewer/email-history-viewer-filled.js.map +1 -0
- package/leavitt/email-history-viewer/email-history-viewer.d.ts +412 -0
- package/leavitt/email-history-viewer/email-history-viewer.js +373 -0
- package/leavitt/email-history-viewer/email-history-viewer.js.map +1 -0
- package/leavitt/email-history-viewer/view-email-template-info-dialog.d.ts +386 -0
- package/leavitt/email-history-viewer/view-email-template-info-dialog.js +154 -0
- package/leavitt/email-history-viewer/view-email-template-info-dialog.js.map +1 -0
- package/leavitt/email-history-viewer/view-sent-email-dialog.d.ts +388 -0
- package/leavitt/email-history-viewer/view-sent-email-dialog.js +145 -0
- package/leavitt/email-history-viewer/view-sent-email-dialog.js.map +1 -0
- package/leavitt/error-page/error-page.d.ts +24 -0
- package/leavitt/error-page/error-page.js +185 -0
- package/leavitt/error-page/error-page.js.map +1 -0
- package/leavitt/file-explorer/add-folder-modal.d.ts +390 -0
- package/leavitt/file-explorer/add-folder-modal.js +135 -0
- package/leavitt/file-explorer/add-folder-modal.js.map +1 -0
- package/leavitt/file-explorer/events/file-explorer-events.d.ts +4 -0
- package/leavitt/file-explorer/events/file-explorer-events.js +5 -0
- package/leavitt/file-explorer/events/file-explorer-events.js.map +1 -0
- package/leavitt/file-explorer/file-explorer-error.d.ts +7 -0
- package/leavitt/file-explorer/file-explorer-error.js +38 -0
- package/leavitt/file-explorer/file-explorer-error.js.map +1 -0
- package/leavitt/file-explorer/file-explorer-image.d.ts +9 -0
- package/leavitt/file-explorer/file-explorer-image.js +54 -0
- package/leavitt/file-explorer/file-explorer-image.js.map +1 -0
- package/leavitt/file-explorer/file-explorer-no-files.d.ts +7 -0
- package/leavitt/file-explorer/file-explorer-no-files.js +38 -0
- package/leavitt/file-explorer/file-explorer-no-files.js.map +1 -0
- package/leavitt/file-explorer/file-explorer-no-permission.d.ts +7 -0
- package/leavitt/file-explorer/file-explorer-no-permission.js +38 -0
- package/leavitt/file-explorer/file-explorer-no-permission.js.map +1 -0
- package/leavitt/file-explorer/file-explorer.d.ts +446 -0
- package/leavitt/file-explorer/file-explorer.js +889 -0
- package/leavitt/file-explorer/file-explorer.js.map +1 -0
- package/leavitt/file-explorer/file-list-item.d.ts +16 -0
- package/leavitt/file-explorer/file-list-item.js +300 -0
- package/leavitt/file-explorer/file-list-item.js.map +1 -0
- package/leavitt/file-explorer/file-modal.d.ts +393 -0
- package/leavitt/file-explorer/file-modal.js +323 -0
- package/leavitt/file-explorer/file-modal.js.map +1 -0
- package/leavitt/file-explorer/folder-list-item.d.ts +15 -0
- package/leavitt/file-explorer/folder-list-item.js +210 -0
- package/leavitt/file-explorer/folder-list-item.js.map +1 -0
- package/leavitt/file-explorer/folder-modal.d.ts +391 -0
- package/leavitt/file-explorer/folder-modal.js +226 -0
- package/leavitt/file-explorer/folder-modal.js.map +1 -0
- package/leavitt/file-explorer/helpers/file-types.d.ts +2 -0
- package/leavitt/file-explorer/helpers/file-types.js +19 -0
- package/leavitt/file-explorer/helpers/file-types.js.map +1 -0
- package/leavitt/file-explorer/helpers/format-bytes.d.ts +2 -0
- package/leavitt/file-explorer/helpers/format-bytes.js +8 -0
- package/leavitt/file-explorer/helpers/format-bytes.js.map +1 -0
- package/leavitt/person-company-select/person-company-select.d.ts +43 -0
- package/leavitt/person-company-select/person-company-select.js +198 -0
- package/leavitt/person-company-select/person-company-select.js.map +1 -0
- package/leavitt/person-group-select/people-group-icons.d.ts +5 -0
- package/leavitt/person-group-select/people-group-icons.js +87 -0
- package/leavitt/person-group-select/people-group-icons.js.map +1 -0
- package/leavitt/person-group-select/person-group-select.d.ts +43 -0
- package/leavitt/person-group-select/person-group-select.js +207 -0
- package/leavitt/person-group-select/person-group-select.js.map +1 -0
- package/leavitt/person-select/person-select.d.ts +46 -0
- package/leavitt/person-select/person-select.js +203 -0
- package/leavitt/person-select/person-select.js.map +1 -0
- package/leavitt/profile-picture/profile-picture-menu.d.ts +48 -0
- package/leavitt/profile-picture/profile-picture-menu.js +248 -0
- package/leavitt/profile-picture/profile-picture-menu.js.map +1 -0
- package/leavitt/profile-picture/profile-picture.d.ts +44 -0
- package/leavitt/profile-picture/profile-picture.js +208 -0
- package/leavitt/profile-picture/profile-picture.js.map +1 -0
- package/leavitt/service-worker-notifier/service-worker-notifier.d.ts +14 -0
- package/leavitt/service-worker-notifier/service-worker-notifier.js +180 -0
- package/leavitt/service-worker-notifier/service-worker-notifier.js.map +1 -0
- package/leavitt/theme/theme-preference-event.d.ts +4 -0
- package/leavitt/theme/theme-preference-event.js +5 -0
- package/leavitt/theme/theme-preference-event.js.map +1 -0
- package/leavitt/theme/theme-preference.d.ts +8 -0
- package/leavitt/theme/theme-preference.js +26 -0
- package/leavitt/theme/theme-preference.js.map +1 -0
- package/leavitt/user-feedback/provide-feedback-dialog.d.ts +386 -0
- package/leavitt/user-feedback/provide-feedback-dialog.js +150 -0
- package/leavitt/user-feedback/provide-feedback-dialog.js.map +1 -0
- package/leavitt/user-feedback/report-a-problem-dialog.d.ts +388 -0
- package/leavitt/user-feedback/report-a-problem-dialog.js +170 -0
- package/leavitt/user-feedback/report-a-problem-dialog.js.map +1 -0
- package/leavitt/user-feedback/user-feedback.d.ts +390 -0
- package/leavitt/user-feedback/user-feedback.js +222 -0
- package/leavitt/user-feedback/user-feedback.js.map +1 -0
- package/leavitt/user-manager/LssJwtToken.d.ts +24 -0
- package/leavitt/user-manager/LssJwtToken.js +2 -0
- package/leavitt/user-manager/LssJwtToken.js.map +1 -0
- package/leavitt/user-manager/auth-zero-lg-access-token.d.ts +15 -0
- package/leavitt/user-manager/auth-zero-lg-access-token.js +2 -0
- package/leavitt/user-manager/auth-zero-lg-access-token.js.map +1 -0
- package/leavitt/user-manager/auth-zero-lg-identity-token.d.ts +24 -0
- package/leavitt/user-manager/auth-zero-lg-identity-token.js +2 -0
- package/leavitt/user-manager/auth-zero-lg-identity-token.js.map +1 -0
- package/leavitt/user-manager/auth-zero-lg-identity.d.ts +24 -0
- package/leavitt/user-manager/auth-zero-lg-identity.js +2 -0
- package/leavitt/user-manager/auth-zero-lg-identity.js.map +1 -0
- package/leavitt/user-manager/auth-zero-lg-user-manager.d.ts +18 -0
- package/leavitt/user-manager/auth-zero-lg-user-manager.js +382 -0
- package/leavitt/user-manager/auth-zero-lg-user-manager.js.map +1 -0
- package/leavitt/user-manager/user-manager-events.d.ts +5 -0
- package/leavitt/user-manager/user-manager-events.js +7 -0
- package/leavitt/user-manager/user-manager-events.js.map +1 -0
- package/leavitt/user-manager/user-manager.d.ts +47 -0
- package/leavitt/user-manager/user-manager.js +443 -0
- package/leavitt/user-manager/user-manager.js.map +1 -0
- package/package.json +2 -2
- package/titanium/access-denied-page/access-denied-page.d.ts +16 -0
- package/titanium/access-denied-page/access-denied-page.js +359 -0
- package/titanium/access-denied-page/access-denied-page.js.map +1 -0
- package/titanium/address-input/address-input.d.ts +31 -0
- package/titanium/address-input/address-input.js +104 -0
- package/titanium/address-input/address-input.js.map +1 -0
- package/titanium/address-input/google-address-input.d.ts +35 -0
- package/titanium/address-input/google-address-input.js +242 -0
- package/titanium/address-input/google-address-input.js.map +1 -0
- package/titanium/address-input/manual-address-dialog.d.ts +39 -0
- package/titanium/address-input/manual-address-dialog.js +350 -0
- package/titanium/address-input/manual-address-dialog.js.map +1 -0
- package/titanium/address-input/types/address-input-address.d.ts +17 -0
- package/titanium/address-input/types/address-input-address.js +2 -0
- package/titanium/address-input/types/address-input-address.js.map +1 -0
- package/titanium/address-input/utils/address-to-string.d.ts +3 -0
- package/titanium/address-input/utils/address-to-string.js +26 -0
- package/titanium/address-input/utils/address-to-string.js.map +1 -0
- package/titanium/address-input/utils/place-result-to-address.d.ts +3 -0
- package/titanium/address-input/utils/place-result-to-address.js +46 -0
- package/titanium/address-input/utils/place-result-to-address.js.map +1 -0
- package/titanium/address-input/utils/validate-street.d.ts +2 -0
- package/titanium/address-input/utils/validate-street.js +8 -0
- package/titanium/address-input/utils/validate-street.js.map +1 -0
- package/titanium/card/card.d.ts +24 -0
- package/titanium/card/card.js +188 -0
- package/titanium/card/card.js.map +1 -0
- package/titanium/chip/chip.d.ts +57 -0
- package/titanium/chip/chip.js +289 -0
- package/titanium/chip/chip.js.map +1 -0
- package/titanium/chip-multi-select/chip-multi-select.d.ts +71 -0
- package/titanium/chip-multi-select/chip-multi-select.js +228 -0
- package/titanium/chip-multi-select/chip-multi-select.js.map +1 -0
- package/titanium/circle-loading-indicator/circle-loading-indicator.d.ts +19 -0
- package/titanium/circle-loading-indicator/circle-loading-indicator.js +122 -0
- package/titanium/circle-loading-indicator/circle-loading-indicator.js.map +1 -0
- package/titanium/collapsible-container/collapsible-container.d.ts +12 -0
- package/titanium/collapsible-container/collapsible-container.js +115 -0
- package/titanium/collapsible-container/collapsible-container.js.map +1 -0
- package/titanium/confirm-dialog/confirm-dialog-open-event.d.ts +10 -0
- package/titanium/confirm-dialog/confirm-dialog-open-event.js +12 -0
- package/titanium/confirm-dialog/confirm-dialog-open-event.js.map +1 -0
- package/titanium/confirm-dialog/confirm-dialog.d.ts +25 -0
- package/titanium/confirm-dialog/confirm-dialog.js +104 -0
- package/titanium/confirm-dialog/confirm-dialog.js.map +1 -0
- package/titanium/confirmation-dialog/confirmation-dialog.d.ts +19 -0
- package/titanium/confirmation-dialog/confirmation-dialog.js +124 -0
- package/titanium/confirmation-dialog/confirmation-dialog.js.map +1 -0
- package/titanium/data-table/data-table-action-bar.d.ts +11 -0
- package/titanium/data-table/data-table-action-bar.js +216 -0
- package/titanium/data-table/data-table-action-bar.js.map +1 -0
- package/titanium/data-table/data-table-content-styles.d.ts +2 -0
- package/titanium/data-table/data-table-content-styles.js +48 -0
- package/titanium/data-table/data-table-content-styles.js.map +1 -0
- package/titanium/data-table/data-table-core-reorder-dialog.d.ts +391 -0
- package/titanium/data-table/data-table-core-reorder-dialog.js +170 -0
- package/titanium/data-table/data-table-core-reorder-dialog.js.map +1 -0
- package/titanium/data-table/data-table-core-reorder-item.d.ts +15 -0
- package/titanium/data-table/data-table-core-reorder-item.js +154 -0
- package/titanium/data-table/data-table-core-reorder-item.js.map +1 -0
- package/titanium/data-table/data-table-core-settings-choose-columns-dialog.d.ts +22 -0
- package/titanium/data-table/data-table-core-settings-choose-columns-dialog.js +164 -0
- package/titanium/data-table/data-table-core-settings-choose-columns-dialog.js.map +1 -0
- package/titanium/data-table/data-table-core-settings-choose-columns-item.d.ts +14 -0
- package/titanium/data-table/data-table-core-settings-choose-columns-item.js +96 -0
- package/titanium/data-table/data-table-core-settings-choose-columns-item.js.map +1 -0
- package/titanium/data-table/data-table-core-settings-sort-dialog.d.ts +22 -0
- package/titanium/data-table/data-table-core-settings-sort-dialog.js +231 -0
- package/titanium/data-table/data-table-core-settings-sort-dialog.js.map +1 -0
- package/titanium/data-table/data-table-core-settings-sort-item.d.ts +17 -0
- package/titanium/data-table/data-table-core-settings-sort-item.js +171 -0
- package/titanium/data-table/data-table-core-settings-sort-item.js.map +1 -0
- package/titanium/data-table/data-table-core.d.ts +458 -0
- package/titanium/data-table/data-table-core.js +745 -0
- package/titanium/data-table/data-table-core.js.map +1 -0
- package/titanium/data-table/data-table-header.d.ts +68 -0
- package/titanium/data-table/data-table-header.js +295 -0
- package/titanium/data-table/data-table-header.js.map +1 -0
- package/titanium/data-table/data-table-item.d.ts +99 -0
- package/titanium/data-table/data-table-item.js +561 -0
- package/titanium/data-table/data-table-item.js.map +1 -0
- package/titanium/data-table/data-table.d.ts +127 -0
- package/titanium/data-table/data-table.js +688 -0
- package/titanium/data-table/data-table.js.map +1 -0
- package/titanium/data-table/draggable-item-base.d.ts +30 -0
- package/titanium/data-table/draggable-item-base.js +324 -0
- package/titanium/data-table/draggable-item-base.js.map +1 -0
- package/titanium/data-table/filter-controller.d.ts +24 -0
- package/titanium/data-table/filter-controller.js +122 -0
- package/titanium/data-table/filter-controller.js.map +1 -0
- package/titanium/data-table/filter.d.ts +8 -0
- package/titanium/data-table/filter.js +11 -0
- package/titanium/data-table/filter.js.map +1 -0
- package/titanium/data-table/page-control.d.ts +59 -0
- package/titanium/data-table/page-control.js +236 -0
- package/titanium/data-table/page-control.js.map +1 -0
- package/titanium/date-input/date-input.d.ts +149 -0
- package/titanium/date-input/date-input.js +548 -0
- package/titanium/date-input/date-input.js.map +1 -0
- package/titanium/date-range-selector/date-range-change-event.d.ts +8 -0
- package/titanium/date-range-selector/date-range-change-event.js +10 -0
- package/titanium/date-range-selector/date-range-change-event.js.map +1 -0
- package/titanium/date-range-selector/date-range-selector.d.ts +71 -0
- package/titanium/date-range-selector/date-range-selector.js +479 -0
- package/titanium/date-range-selector/date-range-selector.js.map +1 -0
- package/titanium/date-range-selector/types/date-range-key.d.ts +2 -0
- package/titanium/date-range-selector/types/date-range-key.js +2 -0
- package/titanium/date-range-selector/types/date-range-key.js.map +1 -0
- package/titanium/date-range-selector/types/date-range-option.d.ts +8 -0
- package/titanium/date-range-selector/types/date-range-option.js +2 -0
- package/titanium/date-range-selector/types/date-range-option.js.map +1 -0
- package/titanium/date-range-selector/types/date-ranges.d.ts +4 -0
- package/titanium/date-range-selector/types/date-ranges.js +133 -0
- package/titanium/date-range-selector/types/date-ranges.js.map +1 -0
- package/titanium/date-range-selector/types/range-label.d.ts +5 -0
- package/titanium/date-range-selector/types/range-label.js +25 -0
- package/titanium/date-range-selector/types/range-label.js.map +1 -0
- package/titanium/drawer/drawer.d.ts +54 -0
- package/titanium/drawer/drawer.js +431 -0
- package/titanium/drawer/drawer.js.map +1 -0
- package/titanium/duration-input/duration-input.d.ts +31 -0
- package/titanium/duration-input/duration-input.js +126 -0
- package/titanium/duration-input/duration-input.js.map +1 -0
- package/titanium/duration-input/filled-duration-input.d.ts +31 -0
- package/titanium/duration-input/filled-duration-input.js +123 -0
- package/titanium/duration-input/filled-duration-input.js.map +1 -0
- package/titanium/duration-input/human-interval.d.ts +19 -0
- package/titanium/duration-input/human-interval.js +73 -0
- package/titanium/duration-input/human-interval.js.map +1 -0
- package/titanium/duration-input/outlined-duration-input.d.ts +30 -0
- package/titanium/duration-input/outlined-duration-input.js +109 -0
- package/titanium/duration-input/outlined-duration-input.js.map +1 -0
- package/titanium/error-page/error-page.d.ts +16 -0
- package/titanium/error-page/error-page.js +95 -0
- package/titanium/error-page/error-page.js.map +1 -0
- package/titanium/event-bus/event-bus.d.ts +10 -0
- package/titanium/event-bus/event-bus.js +52 -0
- package/titanium/event-bus/event-bus.js.map +1 -0
- package/titanium/extendable-outlined-text-field/extendable-outlined-text-field.d.ts +168 -0
- package/titanium/extendable-outlined-text-field/extendable-outlined-text-field.js +373 -0
- package/titanium/extendable-outlined-text-field/extendable-outlined-text-field.js.map +1 -0
- package/titanium/full-page-loading-indicator/full-page-loading-indicator.d.ts +17 -0
- package/titanium/full-page-loading-indicator/full-page-loading-indicator.js +121 -0
- package/titanium/full-page-loading-indicator/full-page-loading-indicator.js.map +1 -0
- package/titanium/hacks/dialog-navigation-hack.d.ts +8 -0
- package/titanium/hacks/dialog-navigation-hack.js +22 -0
- package/titanium/hacks/dialog-navigation-hack.js.map +1 -0
- package/titanium/hacks/dialog-overflow-hacks.d.ts +4 -0
- package/titanium/hacks/dialog-overflow-hacks.js +21 -0
- package/titanium/hacks/dialog-overflow-hacks.js.map +1 -0
- package/titanium/hacks/dialog-zindex-hack.d.ts +11 -0
- package/titanium/hacks/dialog-zindex-hack.js +20 -0
- package/titanium/hacks/dialog-zindex-hack.js.map +1 -0
- package/titanium/hacks/report-validity-if-error.d.ts +4 -0
- package/titanium/hacks/report-validity-if-error.js +6 -0
- package/titanium/hacks/report-validity-if-error.js.map +1 -0
- package/titanium/header/header.d.ts +39 -0
- package/titanium/header/header.js +167 -0
- package/titanium/header/header.js.map +1 -0
- package/titanium/helpers/address/country-abbr-to-titlecase.d.ts +5 -0
- package/titanium/helpers/address/country-abbr-to-titlecase.js +243 -0
- package/titanium/helpers/address/country-abbr-to-titlecase.js.map +1 -0
- package/titanium/helpers/address/format-address.d.ts +22 -0
- package/titanium/helpers/address/format-address.js +33 -0
- package/titanium/helpers/address/format-address.js.map +1 -0
- package/titanium/helpers/address/get-country-name.d.ts +2 -0
- package/titanium/helpers/address/get-country-name.js +12 -0
- package/titanium/helpers/address/get-country-name.js.map +1 -0
- package/titanium/helpers/address/states-abbr-to-titlecase.d.ts +9 -0
- package/titanium/helpers/address/states-abbr-to-titlecase.js +117 -0
- package/titanium/helpers/address/states-abbr-to-titlecase.js.map +1 -0
- package/titanium/helpers/csv/convert-array-to-csv.d.ts +2 -0
- package/titanium/helpers/csv/convert-array-to-csv.js +35 -0
- package/titanium/helpers/csv/convert-array-to-csv.js.map +1 -0
- package/titanium/helpers/csv/flatten-object.d.ts +2 -0
- package/titanium/helpers/csv/flatten-object.js +64 -0
- package/titanium/helpers/csv/flatten-object.js.map +1 -0
- package/titanium/helpers/csv/start-csv-download.d.ts +2 -0
- package/titanium/helpers/csv/start-csv-download.js +11 -0
- package/titanium/helpers/csv/start-csv-download.js.map +1 -0
- package/titanium/helpers/debouncer.d.ts +13 -0
- package/titanium/helpers/debouncer.js +33 -0
- package/titanium/helpers/debouncer.js.map +1 -0
- package/titanium/helpers/delay.d.ts +2 -0
- package/titanium/helpers/delay.js +6 -0
- package/titanium/helpers/delay.js.map +1 -0
- package/titanium/helpers/escape-term.d.ts +2 -0
- package/titanium/helpers/escape-term.js +2 -0
- package/titanium/helpers/escape-term.js.map +1 -0
- package/titanium/helpers/find-scrollable-parent.d.ts +2 -0
- package/titanium/helpers/find-scrollable-parent.js +13 -0
- package/titanium/helpers/find-scrollable-parent.js.map +1 -0
- package/titanium/helpers/get-cdn-Inline-url.d.ts +4 -0
- package/titanium/helpers/get-cdn-Inline-url.js +27 -0
- package/titanium/helpers/get-cdn-Inline-url.js.map +1 -0
- package/titanium/helpers/get-cdn-download-url.d.ts +3 -0
- package/titanium/helpers/get-cdn-download-url.js +12 -0
- package/titanium/helpers/get-cdn-download-url.js.map +1 -0
- package/titanium/helpers/get-company-logo-url.d.ts +3 -0
- package/titanium/helpers/get-company-logo-url.js +6 -0
- package/titanium/helpers/get-company-logo-url.js.map +1 -0
- package/titanium/helpers/get-company-mark-url.d.ts +3 -0
- package/titanium/helpers/get-company-mark-url.js +6 -0
- package/titanium/helpers/get-company-mark-url.js.map +1 -0
- package/titanium/helpers/get-search-token.d.ts +2 -0
- package/titanium/helpers/get-search-token.js +17 -0
- package/titanium/helpers/get-search-token.js.map +1 -0
- package/titanium/helpers/group-by.d.ts +2 -0
- package/titanium/helpers/group-by.js +7 -0
- package/titanium/helpers/group-by.js.map +1 -0
- package/titanium/helpers/helpers.d.ts +15 -0
- package/titanium/helpers/helpers.js +15 -0
- package/titanium/helpers/helpers.js.map +1 -0
- package/titanium/helpers/install-media-query-watcher.d.ts +2 -0
- package/titanium/helpers/install-media-query-watcher.js +6 -0
- package/titanium/helpers/install-media-query-watcher.js.map +1 -0
- package/titanium/helpers/is-development.d.ts +3 -0
- package/titanium/helpers/is-development.js +12 -0
- package/titanium/helpers/is-development.js.map +1 -0
- package/titanium/helpers/join.d.ts +2 -0
- package/titanium/helpers/join.js +5 -0
- package/titanium/helpers/join.js.map +1 -0
- package/titanium/helpers/load-while.d.ts +374 -0
- package/titanium/helpers/load-while.js +28 -0
- package/titanium/helpers/load-while.js.map +1 -0
- package/titanium/helpers/middle-ellipsis.d.ts +2 -0
- package/titanium/helpers/middle-ellipsis.js +7 -0
- package/titanium/helpers/middle-ellipsis.js.map +1 -0
- package/titanium/helpers/not-null-or-undefined.d.ts +2 -0
- package/titanium/helpers/not-null-or-undefined.js +4 -0
- package/titanium/helpers/not-null-or-undefined.js.map +1 -0
- package/titanium/helpers/not-null.d.ts +2 -0
- package/titanium/helpers/not-null.js +4 -0
- package/titanium/helpers/not-null.js.map +1 -0
- package/titanium/helpers/not-undefined.d.ts +2 -0
- package/titanium/helpers/not-undefined.js +4 -0
- package/titanium/helpers/not-undefined.js.map +1 -0
- package/titanium/helpers/pending-state-catcher.d.ts +416 -0
- package/titanium/helpers/pending-state-catcher.js +88 -0
- package/titanium/helpers/pending-state-catcher.js.map +1 -0
- package/titanium/helpers/phone-numbers/format-phone-number-dashes.d.ts +2 -0
- package/titanium/helpers/phone-numbers/format-phone-number-dashes.js +9 -0
- package/titanium/helpers/phone-numbers/format-phone-number-dashes.js.map +1 -0
- package/titanium/helpers/phone-numbers/format-phone-number-dots.d.ts +2 -0
- package/titanium/helpers/phone-numbers/format-phone-number-dots.js +9 -0
- package/titanium/helpers/phone-numbers/format-phone-number-dots.js.map +1 -0
- package/titanium/helpers/phone-numbers/format-phone-number-numbers-only.d.ts +2 -0
- package/titanium/helpers/phone-numbers/format-phone-number-numbers-only.js +9 -0
- package/titanium/helpers/phone-numbers/format-phone-number-numbers-only.js.map +1 -0
- package/titanium/helpers/phone-numbers/format-phone-number.d.ts +2 -0
- package/titanium/helpers/phone-numbers/format-phone-number.js +9 -0
- package/titanium/helpers/phone-numbers/format-phone-number.js.map +1 -0
- package/titanium/helpers/phone-numbers/phone-mask.d.ts +2 -0
- package/titanium/helpers/phone-numbers/phone-mask.js +5 -0
- package/titanium/helpers/phone-numbers/phone-mask.js.map +1 -0
- package/titanium/helpers/phone-numbers/try-format-phone-number.d.ts +2 -0
- package/titanium/helpers/phone-numbers/try-format-phone-number.js +9 -0
- package/titanium/helpers/phone-numbers/try-format-phone-number.js.map +1 -0
- package/titanium/icon-picker/icon-picker.d.ts +37 -0
- package/titanium/icon-picker/icon-picker.js +160 -0
- package/titanium/icon-picker/icon-picker.js.map +1 -0
- package/titanium/icon-picker/material-symbols.d.ts +3 -0
- package/titanium/icon-picker/material-symbols.js +3297 -0
- package/titanium/icon-picker/material-symbols.js.map +1 -0
- package/titanium/input-validator/filled-input-validator.d.ts +20 -0
- package/titanium/input-validator/filled-input-validator.js +48 -0
- package/titanium/input-validator/filled-input-validator.js.map +1 -0
- package/titanium/input-validator/input-validator.d.ts +20 -0
- package/titanium/input-validator/input-validator.js +48 -0
- package/titanium/input-validator/input-validator.js.map +1 -0
- package/titanium/input-validator/outlined-input-validator.d.ts +20 -0
- package/titanium/input-validator/outlined-input-validator.js +48 -0
- package/titanium/input-validator/outlined-input-validator.js.map +1 -0
- package/titanium/profile-picture-stack/profile-picture-stack.d.ts +51 -0
- package/titanium/profile-picture-stack/profile-picture-stack.js +212 -0
- package/titanium/profile-picture-stack/profile-picture-stack.js.map +1 -0
- package/titanium/search-input/filled-search-input.d.ts +15 -0
- package/titanium/search-input/filled-search-input.js +111 -0
- package/titanium/search-input/filled-search-input.js.map +1 -0
- package/titanium/search-input/search-input.d.ts +29 -0
- package/titanium/search-input/search-input.js +123 -0
- package/titanium/search-input/search-input.js.map +1 -0
- package/titanium/service-worker-notifier/service-worker-notifier.d.ts +9 -0
- package/titanium/service-worker-notifier/service-worker-notifier.js +58 -0
- package/titanium/service-worker-notifier/service-worker-notifier.js.map +1 -0
- package/titanium/show-hide/show-hide.d.ts +41 -0
- package/titanium/show-hide/show-hide.js +171 -0
- package/titanium/show-hide/show-hide.js.map +1 -0
- package/titanium/single-select-base/single-select-base.d.ts +514 -0
- package/titanium/single-select-base/single-select-base.js +549 -0
- package/titanium/single-select-base/single-select-base.js.map +1 -0
- package/titanium/smart-attachment-input/crop-and-save-image-dialog.d.ts +422 -0
- package/titanium/smart-attachment-input/crop-and-save-image-dialog.js +467 -0
- package/titanium/smart-attachment-input/crop-and-save-image-dialog.js.map +1 -0
- package/titanium/smart-attachment-input/cropper-styles.d.ts +3 -0
- package/titanium/smart-attachment-input/cropper-styles.js +318 -0
- package/titanium/smart-attachment-input/cropper-styles.js.map +1 -0
- package/titanium/smart-attachment-input/image-formats.d.ts +5 -0
- package/titanium/smart-attachment-input/image-formats.js +37 -0
- package/titanium/smart-attachment-input/image-formats.js.map +1 -0
- package/titanium/smart-attachment-input/image-preview-dialog.d.ts +21 -0
- package/titanium/smart-attachment-input/image-preview-dialog.js +96 -0
- package/titanium/smart-attachment-input/image-preview-dialog.js.map +1 -0
- package/titanium/smart-attachment-input/images/duck-loader.gif +0 -0
- package/titanium/smart-attachment-input/images/icon-other-bg.png +0 -0
- package/titanium/smart-attachment-input/images/icon-other.png +0 -0
- package/titanium/smart-attachment-input/images/icon-pdf-bg.png +0 -0
- package/titanium/smart-attachment-input/images/icon-pdf.png +0 -0
- package/titanium/smart-attachment-input/smart-attachment-input.d.ts +133 -0
- package/titanium/smart-attachment-input/smart-attachment-input.js +497 -0
- package/titanium/smart-attachment-input/smart-attachment-input.js.map +1 -0
- package/titanium/smart-attachment-input/type/smart-attachment.d.ts +7 -0
- package/titanium/smart-attachment-input/type/smart-attachment.js +2 -0
- package/titanium/smart-attachment-input/type/smart-attachment.js.map +1 -0
- package/titanium/snackbar/show-snackbar-event.d.ts +9 -0
- package/titanium/snackbar/show-snackbar-event.js +9 -0
- package/titanium/snackbar/show-snackbar-event.js.map +1 -0
- package/titanium/snackbar/snackbar-stack.d.ts +24 -0
- package/titanium/snackbar/snackbar-stack.js +99 -0
- package/titanium/snackbar/snackbar-stack.js.map +1 -0
- package/titanium/snackbar/snackbars/http-error-snackbar.d.ts +28 -0
- package/titanium/snackbar/snackbars/http-error-snackbar.js +155 -0
- package/titanium/snackbar/snackbars/http-error-snackbar.js.map +1 -0
- package/titanium/snackbar/snackbars/simple-snackbar.d.ts +27 -0
- package/titanium/snackbar/snackbars/simple-snackbar.js +140 -0
- package/titanium/snackbar/snackbars/simple-snackbar.js.map +1 -0
- package/titanium/snackbar/types/snackbar-options.d.ts +9 -0
- package/titanium/snackbar/types/snackbar-options.js +2 -0
- package/titanium/snackbar/types/snackbar-options.js.map +1 -0
- package/titanium/styles/a.d.ts +2 -0
- package/titanium/styles/a.js +18 -0
- package/titanium/styles/a.js.map +1 -0
- package/titanium/styles/data-row.d.ts +2 -0
- package/titanium/styles/data-row.js +61 -0
- package/titanium/styles/data-row.js.map +1 -0
- package/titanium/styles/ellipsis.d.ts +2 -0
- package/titanium/styles/ellipsis.js +9 -0
- package/titanium/styles/ellipsis.js.map +1 -0
- package/titanium/styles/h1.d.ts +2 -0
- package/titanium/styles/h1.js +17 -0
- package/titanium/styles/h1.js.map +1 -0
- package/titanium/styles/h2.d.ts +2 -0
- package/titanium/styles/h2.js +17 -0
- package/titanium/styles/h2.js.map +1 -0
- package/titanium/styles/h3.d.ts +2 -0
- package/titanium/styles/h3.js +17 -0
- package/titanium/styles/h3.js.map +1 -0
- package/titanium/styles/h4.d.ts +2 -0
- package/titanium/styles/h4.js +17 -0
- package/titanium/styles/h4.js.map +1 -0
- package/titanium/styles/h5.d.ts +2 -0
- package/titanium/styles/h5.js +19 -0
- package/titanium/styles/h5.js.map +1 -0
- package/titanium/styles/nice-badge.d.ts +2 -0
- package/titanium/styles/nice-badge.js +53 -0
- package/titanium/styles/nice-badge.js.map +1 -0
- package/titanium/styles/p.d.ts +2 -0
- package/titanium/styles/p.js +17 -0
- package/titanium/styles/p.js.map +1 -0
- package/titanium/styles/styles.d.ts +17 -0
- package/titanium/styles/styles.js +17 -0
- package/titanium/styles/styles.js.map +1 -0
- package/titanium/toolbar/toolbar.d.ts +24 -0
- package/titanium/toolbar/toolbar.js +100 -0
- package/titanium/toolbar/toolbar.js.map +1 -0
- package/titanium/types/any-function.d.ts +5 -0
- package/titanium/types/any-function.js +5 -0
- package/titanium/types/any-function.js.map +1 -0
- package/titanium/types/dom-event.d.ts +4 -0
- package/titanium/types/dom-event.js +2 -0
- package/titanium/types/dom-event.js.map +1 -0
- package/titanium/types/identifier-interface.d.ts +4 -0
- package/titanium/types/identifier-interface.js +2 -0
- package/titanium/types/identifier-interface.js.map +1 -0
- package/titanium/types/pending-state-event.d.ts +7 -0
- package/titanium/types/pending-state-event.js +7 -0
- package/titanium/types/pending-state-event.js.map +1 -0
- package/titanium/types/string-map.d.ts +7 -0
- package/titanium/types/string-map.js +5 -0
- package/titanium/types/string-map.js.map +1 -0
- package/titanium/youtube-input/youtube-input.d.ts +19 -0
- package/titanium/youtube-input/youtube-input.js +68 -0
- package/titanium/youtube-input/youtube-input.js.map +1 -0
|
@@ -0,0 +1,549 @@
|
|
|
1
|
+
import { __decorate } from "tslib";
|
|
2
|
+
import { css, LitElement } from 'lit';
|
|
3
|
+
import { property, customElement, query, state } from 'lit/decorators.js';
|
|
4
|
+
import { repeat } from 'lit/directives/repeat.js';
|
|
5
|
+
import '@material/web/progress/circular-progress';
|
|
6
|
+
import '@material/web/textfield/outlined-text-field';
|
|
7
|
+
import '@material/web/textfield/filled-text-field';
|
|
8
|
+
import '@material/web/iconbutton/icon-button';
|
|
9
|
+
import '@material/web/icon/icon';
|
|
10
|
+
import '@material/web/menu/menu';
|
|
11
|
+
import '@material/web/menu/menu-item';
|
|
12
|
+
import { LoadWhile } from '../../titanium/helpers/load-while';
|
|
13
|
+
import { redispatchEvent } from '@material/web/internal/events/redispatch-event';
|
|
14
|
+
import { ThemePreference } from '../../leavitt/theme/theme-preference';
|
|
15
|
+
import { html, literal } from 'lit/static-html.js';
|
|
16
|
+
let TitaniumSingleSelectBase = class TitaniumSingleSelectBase extends ThemePreference(LoadWhile(LitElement)) {
|
|
17
|
+
constructor() {
|
|
18
|
+
super(...arguments);
|
|
19
|
+
this.#suggestions_accessor_storage = [];
|
|
20
|
+
this.#defaultSuggestions_accessor_storage = [];
|
|
21
|
+
this.#label_accessor_storage = 'Single select';
|
|
22
|
+
this.#filled_accessor_storage = false;
|
|
23
|
+
this.#placeholder_accessor_storage = 'Search for a entity';
|
|
24
|
+
this.#selected_accessor_storage = null;
|
|
25
|
+
this.#disabled_accessor_storage = false;
|
|
26
|
+
this.#noAsterisk_accessor_storage = false;
|
|
27
|
+
this.#autocomplete_accessor_storage = '';
|
|
28
|
+
this.#spellcheck_accessor_storage = false;
|
|
29
|
+
this.#error_accessor_storage = false;
|
|
30
|
+
this.#required_accessor_storage = false;
|
|
31
|
+
this.#pathToSelectedText_accessor_storage = 'Name';
|
|
32
|
+
this.positioning = 'popover';
|
|
33
|
+
}
|
|
34
|
+
#searchTerm_accessor_storage;
|
|
35
|
+
get searchTerm() { return this.#searchTerm_accessor_storage; }
|
|
36
|
+
set searchTerm(value) { this.#searchTerm_accessor_storage = value; }
|
|
37
|
+
#suggestions_accessor_storage;
|
|
38
|
+
get suggestions() { return this.#suggestions_accessor_storage; }
|
|
39
|
+
set suggestions(value) { this.#suggestions_accessor_storage = value; }
|
|
40
|
+
#defaultSuggestions_accessor_storage;
|
|
41
|
+
//Suggestions shown to the user when no search terms are present
|
|
42
|
+
get defaultSuggestions() { return this.#defaultSuggestions_accessor_storage; }
|
|
43
|
+
set defaultSuggestions(value) { this.#defaultSuggestions_accessor_storage = value; }
|
|
44
|
+
#menu_accessor_storage;
|
|
45
|
+
get menu() { return this.#menu_accessor_storage; }
|
|
46
|
+
set menu(value) { this.#menu_accessor_storage = value; }
|
|
47
|
+
#label_accessor_storage;
|
|
48
|
+
/**
|
|
49
|
+
* Sets floating label value.
|
|
50
|
+
*/
|
|
51
|
+
get label() { return this.#label_accessor_storage; }
|
|
52
|
+
set label(value) { this.#label_accessor_storage = value; }
|
|
53
|
+
#filled_accessor_storage;
|
|
54
|
+
/**
|
|
55
|
+
* Swaps out outlined text field for a filled text field.
|
|
56
|
+
*/
|
|
57
|
+
get filled() { return this.#filled_accessor_storage; }
|
|
58
|
+
set filled(value) { this.#filled_accessor_storage = value; }
|
|
59
|
+
#placeholder_accessor_storage;
|
|
60
|
+
/**
|
|
61
|
+
* Sets placeholder text value.
|
|
62
|
+
*/
|
|
63
|
+
get placeholder() { return this.#placeholder_accessor_storage; }
|
|
64
|
+
set placeholder(value) { this.#placeholder_accessor_storage = value; }
|
|
65
|
+
#selected_accessor_storage;
|
|
66
|
+
/**
|
|
67
|
+
* The entity object selected by the user.
|
|
68
|
+
*/
|
|
69
|
+
get selected() { return this.#selected_accessor_storage; }
|
|
70
|
+
set selected(value) { this.#selected_accessor_storage = value; }
|
|
71
|
+
#disabled_accessor_storage;
|
|
72
|
+
/**
|
|
73
|
+
* Whether or not the input should be disabled.
|
|
74
|
+
*/
|
|
75
|
+
get disabled() { return this.#disabled_accessor_storage; }
|
|
76
|
+
set disabled(value) { this.#disabled_accessor_storage = value; }
|
|
77
|
+
#noAsterisk_accessor_storage;
|
|
78
|
+
/**
|
|
79
|
+
* Disables the asterisk on the floating label, when the text field is required.
|
|
80
|
+
*/
|
|
81
|
+
get noAsterisk() { return this.#noAsterisk_accessor_storage; }
|
|
82
|
+
set noAsterisk(value) { this.#noAsterisk_accessor_storage = value; }
|
|
83
|
+
#autocomplete_accessor_storage;
|
|
84
|
+
/**
|
|
85
|
+
* Describes what, if any, type of autocomplete functionality the input
|
|
86
|
+
* should provide.
|
|
87
|
+
*
|
|
88
|
+
* https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete
|
|
89
|
+
*/
|
|
90
|
+
get autocomplete() { return this.#autocomplete_accessor_storage; }
|
|
91
|
+
set autocomplete(value) { this.#autocomplete_accessor_storage = value; }
|
|
92
|
+
#spellcheck_accessor_storage;
|
|
93
|
+
/**
|
|
94
|
+
* Describes what, if any, type of spellcheck functionality the input
|
|
95
|
+
* should provide.
|
|
96
|
+
*
|
|
97
|
+
* https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/spellcheck
|
|
98
|
+
*/
|
|
99
|
+
get spellcheck() { return this.#spellcheck_accessor_storage; }
|
|
100
|
+
set spellcheck(value) { this.#spellcheck_accessor_storage = value; }
|
|
101
|
+
#error_accessor_storage;
|
|
102
|
+
/**
|
|
103
|
+
* Gets or sets whether or not the text field is in a visually invalid state.
|
|
104
|
+
*
|
|
105
|
+
* This error state overrides the error state controlled by
|
|
106
|
+
* `reportValidity()`.
|
|
107
|
+
*/
|
|
108
|
+
get error() { return this.#error_accessor_storage; }
|
|
109
|
+
set error(value) { this.#error_accessor_storage = value; }
|
|
110
|
+
#errorText_accessor_storage;
|
|
111
|
+
get errorText() { return this.#errorText_accessor_storage; }
|
|
112
|
+
set errorText(value) { this.#errorText_accessor_storage = value; }
|
|
113
|
+
#required_accessor_storage;
|
|
114
|
+
/**
|
|
115
|
+
* Displays error state if input is empty and input is blurred.
|
|
116
|
+
*/
|
|
117
|
+
get required() { return this.#required_accessor_storage; }
|
|
118
|
+
set required(value) { this.#required_accessor_storage = value; }
|
|
119
|
+
#prefixText_accessor_storage;
|
|
120
|
+
/**
|
|
121
|
+
* An optional prefix to display before the input value.
|
|
122
|
+
*/
|
|
123
|
+
get prefixText() { return this.#prefixText_accessor_storage; }
|
|
124
|
+
set prefixText(value) { this.#prefixText_accessor_storage = value; }
|
|
125
|
+
#suffixText_accessor_storage;
|
|
126
|
+
/**
|
|
127
|
+
* An optional suffix to display after the input value.
|
|
128
|
+
*/
|
|
129
|
+
get suffixText() { return this.#suffixText_accessor_storage; }
|
|
130
|
+
set suffixText(value) { this.#suffixText_accessor_storage = value; }
|
|
131
|
+
#hasLeadingIcon_accessor_storage;
|
|
132
|
+
/**
|
|
133
|
+
* Whether or not the text field has a leading icon. Used for SSR.
|
|
134
|
+
*/
|
|
135
|
+
get hasLeadingIcon() { return this.#hasLeadingIcon_accessor_storage; }
|
|
136
|
+
set hasLeadingIcon(value) { this.#hasLeadingIcon_accessor_storage = value; }
|
|
137
|
+
#hasTrailingIcon_accessor_storage;
|
|
138
|
+
/**
|
|
139
|
+
* Whether or not the text field has a trailing icon. Used for SSR.
|
|
140
|
+
*/
|
|
141
|
+
get hasTrailingIcon() { return this.#hasTrailingIcon_accessor_storage; }
|
|
142
|
+
set hasTrailingIcon(value) { this.#hasTrailingIcon_accessor_storage = value; }
|
|
143
|
+
#disableMenuOpenOnFocus_accessor_storage;
|
|
144
|
+
/**
|
|
145
|
+
* Prevents menu from automatically showing on focus.
|
|
146
|
+
*/
|
|
147
|
+
get disableMenuOpenOnFocus() { return this.#disableMenuOpenOnFocus_accessor_storage; }
|
|
148
|
+
set disableMenuOpenOnFocus(value) { this.#disableMenuOpenOnFocus_accessor_storage = value; }
|
|
149
|
+
#supportingText_accessor_storage;
|
|
150
|
+
/**
|
|
151
|
+
* Conveys additional information below the text field, such as how it should
|
|
152
|
+
* be used.
|
|
153
|
+
*/
|
|
154
|
+
get supportingText() { return this.#supportingText_accessor_storage; }
|
|
155
|
+
set supportingText(value) { this.#supportingText_accessor_storage = value; }
|
|
156
|
+
#textDirection_accessor_storage;
|
|
157
|
+
/**
|
|
158
|
+
* Override the input text CSS `direction`. Useful for RTL languages that use
|
|
159
|
+
* LTR notation for fractions.
|
|
160
|
+
*/
|
|
161
|
+
get textDirection() { return this.#textDirection_accessor_storage; }
|
|
162
|
+
set textDirection(value) { this.#textDirection_accessor_storage = value; }
|
|
163
|
+
#pathToSelectedText_accessor_storage;
|
|
164
|
+
get pathToSelectedText() { return this.#pathToSelectedText_accessor_storage; }
|
|
165
|
+
set pathToSelectedText(value) { this.#pathToSelectedText_accessor_storage = value; }
|
|
166
|
+
#count_accessor_storage;
|
|
167
|
+
get count() { return this.#count_accessor_storage; }
|
|
168
|
+
set count(value) { this.#count_accessor_storage = value; }
|
|
169
|
+
getTextField() {
|
|
170
|
+
return this.filled ? this.shadowRoot?.querySelector('md-filled-text-field') : this.shadowRoot?.querySelector('md-outlined-text-field');
|
|
171
|
+
}
|
|
172
|
+
async firstUpdated() {
|
|
173
|
+
const textField = this.getTextField();
|
|
174
|
+
if (textField && this.required) {
|
|
175
|
+
const originalCheckValidity = textField?.checkValidity;
|
|
176
|
+
textField.checkValidity = () => !!this.selected && originalCheckValidity.bind(textField);
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
update(changed) {
|
|
180
|
+
// Firefox does not support popover. Fall-back to using fixed.
|
|
181
|
+
if (changed.has('positioning') && this.positioning === 'popover' && !this.showPopover) {
|
|
182
|
+
this.positioning = 'fixed';
|
|
183
|
+
}
|
|
184
|
+
super.update(changed);
|
|
185
|
+
}
|
|
186
|
+
setCustomValidity(error) {
|
|
187
|
+
this.getTextField()?.setCustomValidity(error);
|
|
188
|
+
}
|
|
189
|
+
/**
|
|
190
|
+
* Resets the selected entity, search term and suggestions.
|
|
191
|
+
*/
|
|
192
|
+
async reset() {
|
|
193
|
+
this.softReset();
|
|
194
|
+
this.selected = null;
|
|
195
|
+
const textField = this.getTextField();
|
|
196
|
+
if (textField) {
|
|
197
|
+
textField.error = false;
|
|
198
|
+
textField.errorText = '';
|
|
199
|
+
textField.reset();
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
/**
|
|
203
|
+
* Resets search term and suggestions.
|
|
204
|
+
*/
|
|
205
|
+
softReset() {
|
|
206
|
+
this.searchTerm = '';
|
|
207
|
+
this.suggestions = [];
|
|
208
|
+
}
|
|
209
|
+
/**
|
|
210
|
+
* Selects all the text in the text field.
|
|
211
|
+
*
|
|
212
|
+
* https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/select
|
|
213
|
+
*/
|
|
214
|
+
async select() {
|
|
215
|
+
this.getTextField()?.select();
|
|
216
|
+
}
|
|
217
|
+
/**
|
|
218
|
+
* Sets focus on the input.
|
|
219
|
+
*/
|
|
220
|
+
async focus() {
|
|
221
|
+
this.getTextField()?.focus();
|
|
222
|
+
}
|
|
223
|
+
/**
|
|
224
|
+
* Returns true if the input passes validity checks.
|
|
225
|
+
*/
|
|
226
|
+
checkValidity() {
|
|
227
|
+
return this.getTextField()?.checkValidity() && this.customCheckValidity();
|
|
228
|
+
}
|
|
229
|
+
/**
|
|
230
|
+
* Runs checkValidity() method, and if it returns false, then it reports to the user that the input is invalid.
|
|
231
|
+
*/
|
|
232
|
+
reportValidity() {
|
|
233
|
+
return this.getTextField()?.reportValidity() && this.customReportValidity();
|
|
234
|
+
}
|
|
235
|
+
customCheckValidity() {
|
|
236
|
+
this.errorText = 'Please fill out this field';
|
|
237
|
+
if (!this.selected && this.getTextField()?.value) {
|
|
238
|
+
return false;
|
|
239
|
+
}
|
|
240
|
+
if (!this.required && !this.selected) {
|
|
241
|
+
return true;
|
|
242
|
+
}
|
|
243
|
+
return !!this.selected;
|
|
244
|
+
}
|
|
245
|
+
customReportValidity() {
|
|
246
|
+
if (!this.customCheckValidity()) {
|
|
247
|
+
this.error = true;
|
|
248
|
+
}
|
|
249
|
+
else {
|
|
250
|
+
this.error = false;
|
|
251
|
+
this.errorText = '';
|
|
252
|
+
}
|
|
253
|
+
return !this.error;
|
|
254
|
+
}
|
|
255
|
+
async setSelected(entity) {
|
|
256
|
+
const previouslySelected = this.selected;
|
|
257
|
+
this.selected = entity;
|
|
258
|
+
if (this.selected) {
|
|
259
|
+
this.softReset();
|
|
260
|
+
setTimeout(() => {
|
|
261
|
+
this.reportValidity();
|
|
262
|
+
}, 0);
|
|
263
|
+
}
|
|
264
|
+
if (previouslySelected?.Id !== this.selected?.Id) {
|
|
265
|
+
this.dispatchEvent(new Event('selected'));
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
onInputChanged(searchTerm) {
|
|
269
|
+
console.log(searchTerm);
|
|
270
|
+
}
|
|
271
|
+
async showSuggestions(suggestions, totalSuggestionCount) {
|
|
272
|
+
this.suggestions = suggestions;
|
|
273
|
+
this.count = totalSuggestionCount;
|
|
274
|
+
await this.updateComplete;
|
|
275
|
+
this.menu.show();
|
|
276
|
+
}
|
|
277
|
+
async #onInput(searchTerm) {
|
|
278
|
+
if (searchTerm || !this.defaultSuggestions.length) {
|
|
279
|
+
this.menu.close();
|
|
280
|
+
}
|
|
281
|
+
this.setSelected(null);
|
|
282
|
+
this.suggestions = !searchTerm ? this.defaultSuggestions : [];
|
|
283
|
+
this.count = !searchTerm ? this.defaultSuggestions.length : 0;
|
|
284
|
+
this.searchTerm = searchTerm;
|
|
285
|
+
await this.updateComplete;
|
|
286
|
+
this.onInputChanged(searchTerm);
|
|
287
|
+
}
|
|
288
|
+
static { this.styles = [
|
|
289
|
+
css `
|
|
290
|
+
:host {
|
|
291
|
+
display: block;
|
|
292
|
+
position: relative;
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
md-filled-text-field,
|
|
296
|
+
md-outlined-text-field {
|
|
297
|
+
width: 100%;
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
md-circular-progress {
|
|
301
|
+
--md-circular-progress-size: 40px;
|
|
302
|
+
margin-right: 6px;
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
md-menu-item {
|
|
306
|
+
min-width: 300px;
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
:host([filled]) {
|
|
310
|
+
--md-filled-text-field-container-shape: 16px;
|
|
311
|
+
--md-filled-field-container-shape: 16px;
|
|
312
|
+
--md-menu-container-shape: 16px;
|
|
313
|
+
|
|
314
|
+
--md-filled-text-field-active-indicator-height: 0;
|
|
315
|
+
--md-filled-text-field-error-active-indicator-height: 0;
|
|
316
|
+
--md-filled-text-field-hover-active-indicator-height: 0;
|
|
317
|
+
--md-filled-text-field-focus-active-indicator-height: 0;
|
|
318
|
+
--md-filled-text-field-disabled-active-indicator-height: 0;
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
:host([shaped]) {
|
|
322
|
+
--md-outlined-text-field-container-shape: 28px;
|
|
323
|
+
--md-filled-text-field-container-shape: 28px;
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
img[leading] {
|
|
327
|
+
width: 24px;
|
|
328
|
+
height: 24px;
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
img[company-mark] {
|
|
332
|
+
width: 40px;
|
|
333
|
+
height: 40px;
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
[summary] {
|
|
337
|
+
padding: 0px 16px 4px 16px;
|
|
338
|
+
font-family: Roboto, Arial, sans-serif;
|
|
339
|
+
line-height: 18px;
|
|
340
|
+
font-size: 13px;
|
|
341
|
+
color: var(--md-sys-color-on-surface);
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
[hidden] {
|
|
345
|
+
display: none !important;
|
|
346
|
+
}
|
|
347
|
+
`,
|
|
348
|
+
]; }
|
|
349
|
+
// Override to create custom menu items for type T
|
|
350
|
+
renderSuggestion(entity) {
|
|
351
|
+
return html `<md-menu-item .item=${entity} ?selected=${this.selected?.Id === entity.Id}>
|
|
352
|
+
<slot name="trailing-icon" slot="trailing-icon"></slot>
|
|
353
|
+
<span slot="headline">${entity.Id}</span>
|
|
354
|
+
</md-menu-item>`;
|
|
355
|
+
}
|
|
356
|
+
renderSelectedLeadingInputSlot(_entity) { }
|
|
357
|
+
#renderTrailingInputSlot() {
|
|
358
|
+
return html `<div slot="trailing-icon">
|
|
359
|
+
<md-circular-progress ?indeterminate=${this.isLoading} ?hidden=${!this.isLoading}></md-circular-progress>
|
|
360
|
+
<md-icon-button
|
|
361
|
+
?hidden=${this.isLoading || !this.selected}
|
|
362
|
+
?disabled=${this.disabled}
|
|
363
|
+
title="Clear selection"
|
|
364
|
+
@click=${async (e) => {
|
|
365
|
+
e.preventDefault();
|
|
366
|
+
this.setSelected(null);
|
|
367
|
+
this.focus();
|
|
368
|
+
}}
|
|
369
|
+
>
|
|
370
|
+
<md-icon>close</md-icon>
|
|
371
|
+
</md-icon-button>
|
|
372
|
+
${this.renderTrailingInputSlot()}
|
|
373
|
+
</div>`;
|
|
374
|
+
}
|
|
375
|
+
renderTrailingInputSlot() {
|
|
376
|
+
return html ``;
|
|
377
|
+
}
|
|
378
|
+
renderLeadingInputSlot() {
|
|
379
|
+
return html `<slot name="leading-icon" slot="leading-icon"><md-icon>search</md-icon></slot>`;
|
|
380
|
+
}
|
|
381
|
+
renderTrailingSlot() {
|
|
382
|
+
return html ``;
|
|
383
|
+
}
|
|
384
|
+
renderTrailingMenuSlot() {
|
|
385
|
+
return html ``;
|
|
386
|
+
}
|
|
387
|
+
render() {
|
|
388
|
+
/* eslint-disable lit/binding-positions, lit/no-invalid-html */
|
|
389
|
+
return html `
|
|
390
|
+
<${this.filled ? literal `md-filled-text-field` : literal `md-outlined-text-field`}
|
|
391
|
+
id="menu-anchor"
|
|
392
|
+
aria-haspopup="true"
|
|
393
|
+
aria-controls="menu"
|
|
394
|
+
.disabled=${this.disabled}
|
|
395
|
+
?error=${this.error}
|
|
396
|
+
.errorText=${this.errorText}
|
|
397
|
+
.label=${this.label}
|
|
398
|
+
.required=${this.required}
|
|
399
|
+
.prefixText=${this.prefixText}
|
|
400
|
+
.suffixText=${this.suffixText}
|
|
401
|
+
.hasLeadingIcon=${this.hasLeadingIcon}
|
|
402
|
+
.hasTrailingIcon=${this.hasTrailingIcon}
|
|
403
|
+
.supportingText=${this.supportingText}
|
|
404
|
+
.textDirection=${this.textDirection}
|
|
405
|
+
.placeholder=${this.placeholder}
|
|
406
|
+
.autocomplete=${this.autocomplete}
|
|
407
|
+
.spellcheck=${this.spellcheck}
|
|
408
|
+
.noAsterisk=${this.noAsterisk}
|
|
409
|
+
.value=${this.selected?.[this.pathToSelectedText] || this.searchTerm || ''}
|
|
410
|
+
default-focus="0"
|
|
411
|
+
@keydown=${(e) => {
|
|
412
|
+
if (this.suggestions.length > 0 && (e.key == 'Enter' || e.key == 'ArrowDown' || e.key == 'ArrowUp')) {
|
|
413
|
+
if (!this.menu.open) {
|
|
414
|
+
this.menu.show();
|
|
415
|
+
}
|
|
416
|
+
e.stopPropagation();
|
|
417
|
+
this.menu?.activateNextItem();
|
|
418
|
+
}
|
|
419
|
+
if (e.key == 'Tab' || e.key == 'Escape') {
|
|
420
|
+
if (this.menu?.open) {
|
|
421
|
+
this.menu.close();
|
|
422
|
+
}
|
|
423
|
+
}
|
|
424
|
+
}}
|
|
425
|
+
@input=${async (e) => this.#onInput(e.target.value)}
|
|
426
|
+
@focus=${() => {
|
|
427
|
+
if (this.selected) {
|
|
428
|
+
this.select();
|
|
429
|
+
}
|
|
430
|
+
else {
|
|
431
|
+
if (!this.searchTerm && this.defaultSuggestions) {
|
|
432
|
+
this.suggestions = this.defaultSuggestions;
|
|
433
|
+
}
|
|
434
|
+
if ((!!this.searchTerm || !!this.suggestions.length) && !this.disableMenuOpenOnFocus) {
|
|
435
|
+
this.menu.show();
|
|
436
|
+
}
|
|
437
|
+
}
|
|
438
|
+
}}
|
|
439
|
+
>
|
|
440
|
+
${this.selected ? this.renderSelectedLeadingInputSlot(this.selected) : this.renderLeadingInputSlot()} ${this.#renderTrailingInputSlot()}
|
|
441
|
+
</${this.filled ? literal `md-filled-text-field` : literal `md-outlined-text-field`}>
|
|
442
|
+
<md-menu
|
|
443
|
+
suggestions
|
|
444
|
+
@opening=${(e) => redispatchEvent(this, e)}
|
|
445
|
+
@opened=${(e) => redispatchEvent(this, e)}
|
|
446
|
+
@closing=${(e) => redispatchEvent(this, e)}
|
|
447
|
+
@closed=${(e) => redispatchEvent(this, e)}
|
|
448
|
+
.positioning=${this.positioning}
|
|
449
|
+
id="menu"
|
|
450
|
+
anchor="menu-anchor"
|
|
451
|
+
anchor-corner="end-start"
|
|
452
|
+
default-focus="list-root"
|
|
453
|
+
skip-restore-focus
|
|
454
|
+
@close-menu=${(e) => {
|
|
455
|
+
const selectedMenuItem = (e.detail.itemPath?.[0] ?? null);
|
|
456
|
+
this.setSelected(selectedMenuItem?.item);
|
|
457
|
+
}}
|
|
458
|
+
>
|
|
459
|
+
${!!this.searchTerm && !this.isLoading
|
|
460
|
+
? html `<div summary>Showing ${this.suggestions.length} of ${this.count} result${this.count === 1 ? '' : 's'} for '${this.searchTerm}'</div>`
|
|
461
|
+
: ''}
|
|
462
|
+
${repeat(this.suggestions, (item) => item?.Id, (item) => this.renderSuggestion(item))}
|
|
463
|
+
${this.renderTrailingMenuSlot()}
|
|
464
|
+
</md-menu>
|
|
465
|
+
${this.renderTrailingSlot()}
|
|
466
|
+
`;
|
|
467
|
+
/* eslint-enable lit/binding-positions, lit/no-invalid-html */
|
|
468
|
+
}
|
|
469
|
+
};
|
|
470
|
+
__decorate([
|
|
471
|
+
state()
|
|
472
|
+
], TitaniumSingleSelectBase.prototype, "searchTerm", null);
|
|
473
|
+
__decorate([
|
|
474
|
+
state()
|
|
475
|
+
], TitaniumSingleSelectBase.prototype, "suggestions", null);
|
|
476
|
+
__decorate([
|
|
477
|
+
state()
|
|
478
|
+
], TitaniumSingleSelectBase.prototype, "defaultSuggestions", null);
|
|
479
|
+
__decorate([
|
|
480
|
+
query('md-menu[suggestions]')
|
|
481
|
+
], TitaniumSingleSelectBase.prototype, "menu", null);
|
|
482
|
+
__decorate([
|
|
483
|
+
property({ type: String })
|
|
484
|
+
], TitaniumSingleSelectBase.prototype, "label", null);
|
|
485
|
+
__decorate([
|
|
486
|
+
property({ type: Boolean, attribute: 'filled' })
|
|
487
|
+
], TitaniumSingleSelectBase.prototype, "filled", null);
|
|
488
|
+
__decorate([
|
|
489
|
+
property({ type: String })
|
|
490
|
+
], TitaniumSingleSelectBase.prototype, "placeholder", null);
|
|
491
|
+
__decorate([
|
|
492
|
+
property({ type: Object })
|
|
493
|
+
], TitaniumSingleSelectBase.prototype, "selected", null);
|
|
494
|
+
__decorate([
|
|
495
|
+
property({ type: Boolean })
|
|
496
|
+
], TitaniumSingleSelectBase.prototype, "disabled", null);
|
|
497
|
+
__decorate([
|
|
498
|
+
property({ type: Boolean, attribute: 'no-asterisk' })
|
|
499
|
+
], TitaniumSingleSelectBase.prototype, "noAsterisk", null);
|
|
500
|
+
__decorate([
|
|
501
|
+
property({ reflect: true, type: String })
|
|
502
|
+
], TitaniumSingleSelectBase.prototype, "autocomplete", null);
|
|
503
|
+
__decorate([
|
|
504
|
+
property({ reflect: true, type: Boolean })
|
|
505
|
+
], TitaniumSingleSelectBase.prototype, "spellcheck", null);
|
|
506
|
+
__decorate([
|
|
507
|
+
property({ type: Boolean })
|
|
508
|
+
], TitaniumSingleSelectBase.prototype, "error", null);
|
|
509
|
+
__decorate([
|
|
510
|
+
property({ type: String })
|
|
511
|
+
], TitaniumSingleSelectBase.prototype, "errorText", null);
|
|
512
|
+
__decorate([
|
|
513
|
+
property({ type: Boolean })
|
|
514
|
+
], TitaniumSingleSelectBase.prototype, "required", null);
|
|
515
|
+
__decorate([
|
|
516
|
+
property({ type: String })
|
|
517
|
+
], TitaniumSingleSelectBase.prototype, "prefixText", null);
|
|
518
|
+
__decorate([
|
|
519
|
+
property({ type: String })
|
|
520
|
+
], TitaniumSingleSelectBase.prototype, "suffixText", null);
|
|
521
|
+
__decorate([
|
|
522
|
+
property({ type: Boolean })
|
|
523
|
+
], TitaniumSingleSelectBase.prototype, "hasLeadingIcon", null);
|
|
524
|
+
__decorate([
|
|
525
|
+
property({ type: Boolean })
|
|
526
|
+
], TitaniumSingleSelectBase.prototype, "hasTrailingIcon", null);
|
|
527
|
+
__decorate([
|
|
528
|
+
property({ type: Boolean, attribute: 'disable-menu-open-on-focus' })
|
|
529
|
+
], TitaniumSingleSelectBase.prototype, "disableMenuOpenOnFocus", null);
|
|
530
|
+
__decorate([
|
|
531
|
+
property({ type: String })
|
|
532
|
+
], TitaniumSingleSelectBase.prototype, "supportingText", null);
|
|
533
|
+
__decorate([
|
|
534
|
+
property({ type: String })
|
|
535
|
+
], TitaniumSingleSelectBase.prototype, "textDirection", null);
|
|
536
|
+
__decorate([
|
|
537
|
+
property({ type: String })
|
|
538
|
+
], TitaniumSingleSelectBase.prototype, "pathToSelectedText", null);
|
|
539
|
+
__decorate([
|
|
540
|
+
property()
|
|
541
|
+
], TitaniumSingleSelectBase.prototype, "positioning", void 0);
|
|
542
|
+
__decorate([
|
|
543
|
+
state()
|
|
544
|
+
], TitaniumSingleSelectBase.prototype, "count", null);
|
|
545
|
+
TitaniumSingleSelectBase = __decorate([
|
|
546
|
+
customElement('titanium-single-select-base')
|
|
547
|
+
], TitaniumSingleSelectBase);
|
|
548
|
+
export { TitaniumSingleSelectBase };
|
|
549
|
+
//# sourceMappingURL=single-select-base.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"single-select-base.js","sourceRoot":"","sources":["single-select-base.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,UAAU,EAAkB,MAAM,KAAK,CAAC;AACtD,OAAO,EAAE,QAAQ,EAAE,aAAa,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1E,OAAO,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAC;AAElD,OAAO,0CAA0C,CAAC;AAClD,OAAO,6CAA6C,CAAC;AACrD,OAAO,2CAA2C,CAAC;AAEnD,OAAO,sCAAsC,CAAC;AAC9C,OAAO,yBAAyB,CAAC;AAEjC,OAAO,yBAAyB,CAAC;AACjC,OAAO,8BAA8B,CAAC;AAMtC,OA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