@leavittsoftware/web 8.7.2 → 8.7.3
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 +52 -0
- package/titanium/drawer/drawer.js +417 -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,5 @@
|
|
|
1
|
+
import { DateRangeKey } from './date-range-key';
|
|
2
|
+
import { DateRangeOption } from './date-range-option';
|
|
3
|
+
export declare function rangeLabel(range: DateRangeKey, startDate: string | null, endDate: string | null, prefix?: string, ranges?: Map<DateRangeKey, DateRangeOption>): string;
|
|
4
|
+
export declare function humanizeRange(rangeKey: string, startDate: string | null, endDate: string | null, ranges?: Map<string, DateRangeOption>): string;
|
|
5
|
+
//# sourceMappingURL=range-label.d.ts.map
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import dayjs from 'dayjs/esm';
|
|
2
|
+
import { DateRanges } from './date-ranges';
|
|
3
|
+
export function rangeLabel(range, startDate, endDate, prefix = 'Created', ranges = DateRanges) {
|
|
4
|
+
if (range !== 'custom') {
|
|
5
|
+
return `${prefix} ${ranges.get(range)?.name?.toLowerCase() ?? ''}`;
|
|
6
|
+
}
|
|
7
|
+
else {
|
|
8
|
+
if (startDate && endDate) {
|
|
9
|
+
return `${prefix} ${dayjs(startDate).format('MMM D, YYYY')} to ${dayjs(endDate).format('MMM D, YYYY')}`;
|
|
10
|
+
}
|
|
11
|
+
return endDate ? `${prefix} to ${dayjs(endDate).format('MMM D, YYYY')}` : `${prefix} from ${dayjs(startDate).format('MMM D, YYYY')}`;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
export function humanizeRange(rangeKey, startDate, endDate, ranges = DateRanges) {
|
|
15
|
+
if (rangeKey !== 'custom') {
|
|
16
|
+
return `${ranges.get(rangeKey)?.name ?? ''}`;
|
|
17
|
+
}
|
|
18
|
+
else {
|
|
19
|
+
if (startDate && endDate) {
|
|
20
|
+
return `${dayjs(startDate).format('MMM D, YYYY')} to ${dayjs(endDate).format('MMM D, YYYY')}`;
|
|
21
|
+
}
|
|
22
|
+
return endDate ? `Ending ${dayjs(endDate).format('MMM D, YYYY')}` : `Starting ${dayjs(startDate).format('MMM D, YYYY')}`;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
//# sourceMappingURL=range-label.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"range-label.js","sourceRoot":"","sources":["range-label.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,WAAW,CAAC;AAE9B,OAAO,EAAE,UAAU,EAAE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C,CAAC,CAAC,UAAU,KAAK,CAAC,OAAO,CAAC,CAAC,MAAM,CAAC,aAAa,CAAC,EAAE,CAAC,CAAC,CAAC,YAAY,KAAK,CAAC,SAAS,CAAC,CAAC,MAAM,CAAC,aAAa,CAAC,EAAE,CAAC;IAC3H,CAAC;AACH,CAAC"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { LitElement, PropertyValues } from 'lit';
|
|
2
|
+
/**
|
|
3
|
+
* Titanium drawer - a minimalist fly-out style drawer based on a native dialog
|
|
4
|
+
*
|
|
5
|
+
* @element titanium-drawer
|
|
6
|
+
* @slot - Main drawer content slot
|
|
7
|
+
* @csspart dialog - internal native dialog element
|
|
8
|
+
* @cssprop {Color} [--md-sys-color-outline-variant] Color of left border when open
|
|
9
|
+
* @cssprop {Color} [--md-sys-color-on-background] Color of slotted h3 and h4
|
|
10
|
+
*/
|
|
11
|
+
export declare class TitaniumDrawer extends LitElement {
|
|
12
|
+
#private;
|
|
13
|
+
private accessor dialog;
|
|
14
|
+
/**
|
|
15
|
+
* Set the position of content fixed when menu is closed. Only takes effect if always-show-content is set.
|
|
16
|
+
*/
|
|
17
|
+
accessor fixed: boolean;
|
|
18
|
+
/**
|
|
19
|
+
* Show the slotted content regardless if the menu is open or closed
|
|
20
|
+
*/
|
|
21
|
+
accessor alwayShowContent: boolean;
|
|
22
|
+
/**
|
|
23
|
+
* Reverse the direction of the drawer opening and closing animations
|
|
24
|
+
*/
|
|
25
|
+
accessor direction: 'ltr' | 'rtl';
|
|
26
|
+
private accessor hasHeader;
|
|
27
|
+
private accessor hasFooter;
|
|
28
|
+
accessor mode: 'inline' | 'flyover' | null;
|
|
29
|
+
accessor isOpen: boolean;
|
|
30
|
+
private readonly headerElements;
|
|
31
|
+
private readonly footerElements;
|
|
32
|
+
updated(changedProps: PropertyValues<this>): Promise<void>;
|
|
33
|
+
firstUpdated(): Promise<void>;
|
|
34
|
+
static animationsComplete(element: HTMLElement): Promise<PromiseSettledResult<Animation>[]>;
|
|
35
|
+
/**
|
|
36
|
+
* Opens drawer
|
|
37
|
+
*/
|
|
38
|
+
open(): void;
|
|
39
|
+
/**
|
|
40
|
+
* Closes drawer
|
|
41
|
+
*/
|
|
42
|
+
close(): Promise<void>;
|
|
43
|
+
toggle(): void;
|
|
44
|
+
/**
|
|
45
|
+
* Closes drawer without animations
|
|
46
|
+
*/
|
|
47
|
+
closeQuick(): void;
|
|
48
|
+
protected setBodyOverflow(value: string): void;
|
|
49
|
+
static styles: import("lit").CSSResult;
|
|
50
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
51
|
+
}
|
|
52
|
+
//# sourceMappingURL=drawer.d.ts.map
|
|
@@ -0,0 +1,417 @@
|
|
|
1
|
+
var TitaniumDrawer_1;
|
|
2
|
+
import { __decorate } from "tslib";
|
|
3
|
+
import { LitElement, css, html } from 'lit';
|
|
4
|
+
import { customElement, property, query, queryAssignedElements } from 'lit/decorators.js';
|
|
5
|
+
import { redispatchEvent } from '@material/web/internal/events/redispatch-event';
|
|
6
|
+
/**
|
|
7
|
+
* Titanium drawer - a minimalist fly-out style drawer based on a native dialog
|
|
8
|
+
*
|
|
9
|
+
* @element titanium-drawer
|
|
10
|
+
* @slot - Main drawer content slot
|
|
11
|
+
* @csspart dialog - internal native dialog element
|
|
12
|
+
* @cssprop {Color} [--md-sys-color-outline-variant] Color of left border when open
|
|
13
|
+
* @cssprop {Color} [--md-sys-color-on-background] Color of slotted h3 and h4
|
|
14
|
+
*/
|
|
15
|
+
let TitaniumDrawer = class TitaniumDrawer extends LitElement {
|
|
16
|
+
static { TitaniumDrawer_1 = this; }
|
|
17
|
+
#dialog_accessor_storage;
|
|
18
|
+
get dialog() { return this.#dialog_accessor_storage; }
|
|
19
|
+
set dialog(value) { this.#dialog_accessor_storage = value; }
|
|
20
|
+
#fixed_accessor_storage = false;
|
|
21
|
+
/**
|
|
22
|
+
* Set the position of content fixed when menu is closed. Only takes effect if always-show-content is set.
|
|
23
|
+
*/
|
|
24
|
+
get fixed() { return this.#fixed_accessor_storage; }
|
|
25
|
+
set fixed(value) { this.#fixed_accessor_storage = value; }
|
|
26
|
+
#alwayShowContent_accessor_storage = false;
|
|
27
|
+
/**
|
|
28
|
+
* Show the slotted content regardless if the menu is open or closed
|
|
29
|
+
*/
|
|
30
|
+
get alwayShowContent() { return this.#alwayShowContent_accessor_storage; }
|
|
31
|
+
set alwayShowContent(value) { this.#alwayShowContent_accessor_storage = value; }
|
|
32
|
+
#direction_accessor_storage = 'ltr';
|
|
33
|
+
/**
|
|
34
|
+
* Reverse the direction of the drawer opening and closing animations
|
|
35
|
+
*/
|
|
36
|
+
get direction() { return this.#direction_accessor_storage; }
|
|
37
|
+
set direction(value) { this.#direction_accessor_storage = value; }
|
|
38
|
+
#hasHeader_accessor_storage = false;
|
|
39
|
+
get hasHeader() { return this.#hasHeader_accessor_storage; }
|
|
40
|
+
set hasHeader(value) { this.#hasHeader_accessor_storage = value; }
|
|
41
|
+
#hasFooter_accessor_storage = false;
|
|
42
|
+
get hasFooter() { return this.#hasFooter_accessor_storage; }
|
|
43
|
+
set hasFooter(value) { this.#hasFooter_accessor_storage = value; }
|
|
44
|
+
#mode_accessor_storage;
|
|
45
|
+
get mode() { return this.#mode_accessor_storage; }
|
|
46
|
+
set mode(value) { this.#mode_accessor_storage = value; }
|
|
47
|
+
#isOpen_accessor_storage = false;
|
|
48
|
+
get isOpen() { return this.#isOpen_accessor_storage; } //read only
|
|
49
|
+
set isOpen(value) { this.#isOpen_accessor_storage = value; }
|
|
50
|
+
async updated(changedProps) {
|
|
51
|
+
if (changedProps.has('mode')) {
|
|
52
|
+
if (this.mode === 'inline') {
|
|
53
|
+
if (this.isOpen) {
|
|
54
|
+
//drawer was already open in inline mode, so we need to keep it open
|
|
55
|
+
this.alwayShowContent = true;
|
|
56
|
+
}
|
|
57
|
+
//close the flyover drawer, we are inline
|
|
58
|
+
this.dialog?.close();
|
|
59
|
+
}
|
|
60
|
+
if (this.mode === 'flyover') {
|
|
61
|
+
//we are now in flyover mode, so we need to open the drawer if it was open
|
|
62
|
+
if (this.isOpen) {
|
|
63
|
+
this.dialog?.showModal();
|
|
64
|
+
this.dialog?.removeAttribute('hide');
|
|
65
|
+
this.setBodyOverflow('hidden');
|
|
66
|
+
}
|
|
67
|
+
//we are now in flyover mode, we need to hide the inline content
|
|
68
|
+
this.alwayShowContent = false;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
#setOpen(isOpen) {
|
|
73
|
+
this.isOpen = isOpen;
|
|
74
|
+
this.dispatchEvent(new Event('open-change'));
|
|
75
|
+
}
|
|
76
|
+
async firstUpdated() {
|
|
77
|
+
let touchstartX = 0;
|
|
78
|
+
let touchendX = 0;
|
|
79
|
+
this.addEventListener('touchstart', (e) => {
|
|
80
|
+
touchstartX = e.changedTouches[0].screenX;
|
|
81
|
+
});
|
|
82
|
+
this.addEventListener('touchend', (e) => {
|
|
83
|
+
touchendX = e.changedTouches[0].screenX;
|
|
84
|
+
if (touchstartX - touchendX > 50) {
|
|
85
|
+
this.close();
|
|
86
|
+
}
|
|
87
|
+
});
|
|
88
|
+
this.dialog?.addEventListener('click', (e) => {
|
|
89
|
+
if (e.target instanceof Element && e.target?.nodeName === 'DIALOG') {
|
|
90
|
+
this.close();
|
|
91
|
+
}
|
|
92
|
+
});
|
|
93
|
+
this.dialog?.addEventListener('cancel', (event) => {
|
|
94
|
+
event.preventDefault();
|
|
95
|
+
this.close();
|
|
96
|
+
});
|
|
97
|
+
window.addEventListener('popstate', () => this.dialog?.close(), false);
|
|
98
|
+
// prevent page load @keyframes playing
|
|
99
|
+
await TitaniumDrawer_1.animationsComplete(this.dialog);
|
|
100
|
+
await TitaniumDrawer_1.animationsComplete(this.dialog);
|
|
101
|
+
this.dialog?.removeAttribute('loading');
|
|
102
|
+
}
|
|
103
|
+
static async animationsComplete(element) {
|
|
104
|
+
return await Promise.allSettled(element.getAnimations().map((animation) => animation.finished));
|
|
105
|
+
}
|
|
106
|
+
/**
|
|
107
|
+
* Opens drawer
|
|
108
|
+
*/
|
|
109
|
+
open() {
|
|
110
|
+
if (this.mode === 'inline') {
|
|
111
|
+
this.#setOpen(true);
|
|
112
|
+
this.alwayShowContent = true;
|
|
113
|
+
}
|
|
114
|
+
else {
|
|
115
|
+
this.dialog?.showModal();
|
|
116
|
+
this.dialog?.removeAttribute('hide');
|
|
117
|
+
this.setBodyOverflow('hidden');
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
/**
|
|
121
|
+
* Closes drawer
|
|
122
|
+
*/
|
|
123
|
+
async close() {
|
|
124
|
+
if (this.mode === 'inline') {
|
|
125
|
+
this.#setOpen(false);
|
|
126
|
+
this.alwayShowContent = false;
|
|
127
|
+
}
|
|
128
|
+
else {
|
|
129
|
+
this.dialog?.setAttribute('hide', '');
|
|
130
|
+
await TitaniumDrawer_1.animationsComplete(this.dialog);
|
|
131
|
+
this.dialog?.close();
|
|
132
|
+
this.dialog?.removeAttribute('hide');
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
toggle() {
|
|
136
|
+
if (this.isOpen) {
|
|
137
|
+
this.close();
|
|
138
|
+
}
|
|
139
|
+
else {
|
|
140
|
+
this.open();
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
/**
|
|
144
|
+
* Closes drawer without animations
|
|
145
|
+
*/
|
|
146
|
+
closeQuick() {
|
|
147
|
+
if (this.mode === 'inline') {
|
|
148
|
+
this.#setOpen(false);
|
|
149
|
+
this.alwayShowContent = false;
|
|
150
|
+
}
|
|
151
|
+
else {
|
|
152
|
+
this.dialog?.close();
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
setBodyOverflow(value) {
|
|
156
|
+
const htmlNode = document.querySelector('html');
|
|
157
|
+
if (htmlNode) {
|
|
158
|
+
htmlNode.style.overflow = value;
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
static { this.styles = css `
|
|
162
|
+
:host {
|
|
163
|
+
display: block;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
dialog {
|
|
167
|
+
background-color: var(--titanium-drawer-background-color, var(--md-sys-color-background));
|
|
168
|
+
color: var(--titanium-drawer-color, var(--md-sys-color-on-background));
|
|
169
|
+
box-sizing: border-box;
|
|
170
|
+
|
|
171
|
+
grid:
|
|
172
|
+
'content' 1fr
|
|
173
|
+
'footer' auto;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
:host([has-footer]) dialog {
|
|
177
|
+
grid:
|
|
178
|
+
'content' 1fr
|
|
179
|
+
'footer' auto;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
:host([has-header]) dialog {
|
|
183
|
+
grid:
|
|
184
|
+
'header' auto
|
|
185
|
+
'content' 1fr;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
:host([has-footer][has-header]) dialog {
|
|
189
|
+
grid:
|
|
190
|
+
'header' auto
|
|
191
|
+
'content' 1fr
|
|
192
|
+
'footer' auto;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
dialog[loading] {
|
|
196
|
+
visibility: hidden;
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
dialog[open] {
|
|
200
|
+
display: grid;
|
|
201
|
+
|
|
202
|
+
inset-inline-end: inherit;
|
|
203
|
+
border: 0;
|
|
204
|
+
padding: 0;
|
|
205
|
+
margin: 0;
|
|
206
|
+
|
|
207
|
+
flex-direction: column;
|
|
208
|
+
width: var(--titanium-drawer-width, 300px);
|
|
209
|
+
|
|
210
|
+
min-height: 100dvh;
|
|
211
|
+
max-height: -webkit-fill-available;
|
|
212
|
+
|
|
213
|
+
border-right: 1px solid var(--md-sys-color-outline-variant);
|
|
214
|
+
padding-right: 8px;
|
|
215
|
+
animation: show 0.25s ease normal;
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
:host([direction='rtl']) dialog[open] {
|
|
219
|
+
animation: show-reverse 0.25s ease normal;
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
main {
|
|
223
|
+
grid-area: content;
|
|
224
|
+
display: grid;
|
|
225
|
+
align-content: start;
|
|
226
|
+
scrollbar-color: var(--md-sys-color-surface-container-highest) transparent;
|
|
227
|
+
scrollbar-width: thin;
|
|
228
|
+
overflow-y: auto;
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
header,
|
|
232
|
+
footer {
|
|
233
|
+
display: none;
|
|
234
|
+
|
|
235
|
+
background-color: var(--titanium-drawer-background-color, var(--md-sys-color-background));
|
|
236
|
+
color: var(--titanium-drawer-color, var(--md-sys-color-on-background));
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
:host([has-header]) header {
|
|
240
|
+
display: grid;
|
|
241
|
+
grid-area: header;
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
:host([has-footer]) footer {
|
|
245
|
+
grid-area: footer;
|
|
246
|
+
|
|
247
|
+
display: flex;
|
|
248
|
+
flex-direction: row;
|
|
249
|
+
padding: 8px 24px;
|
|
250
|
+
gap: 24px;
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
footer ::slotted(a) {
|
|
254
|
+
text-decoration: none;
|
|
255
|
+
color: var(--md-sys-color-on-surface-variant);
|
|
256
|
+
font-family: var(--titanium-styles-a-font-family, Metropolis, Roboto, Noto, sans-serif);
|
|
257
|
+
font-weight: 400;
|
|
258
|
+
font-size: 12px;
|
|
259
|
+
opacity: 0.8;
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
:host([always-show-content]) dialog:not([open]) {
|
|
263
|
+
position: sticky;
|
|
264
|
+
top: var(--titanium-drawer-full-height-padding, 48px);
|
|
265
|
+
|
|
266
|
+
display: grid;
|
|
267
|
+
inset-inline-start: initial;
|
|
268
|
+
inset-inline-end: inherit;
|
|
269
|
+
border: 0;
|
|
270
|
+
min-width: var(--titanium-drawer-width, 300px);
|
|
271
|
+
padding: 0;
|
|
272
|
+
margin: 0;
|
|
273
|
+
width: 100%;
|
|
274
|
+
|
|
275
|
+
height: calc(100dvh - var(--titanium-drawer-full-height-padding, 48px));
|
|
276
|
+
|
|
277
|
+
animation: show 0.25s ease normal;
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
:host([always-show-content][direction='rtl']) dialog:not([open]) {
|
|
281
|
+
animation: show-reverse 0.25s ease normal;
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
::slotted(h3) {
|
|
285
|
+
font-family: 'Metropolis';
|
|
286
|
+
color: var(--md-sys-color-on-background);
|
|
287
|
+
margin: 0px;
|
|
288
|
+
font-weight: 400;
|
|
289
|
+
padding: 12px 0px 4px 16px;
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
::slotted(h4) {
|
|
293
|
+
white-space: nowrap;
|
|
294
|
+
overflow: hidden;
|
|
295
|
+
text-overflow: ellipsis;
|
|
296
|
+
color: var(--md-sys-color-on-background);
|
|
297
|
+
font-weight: 400;
|
|
298
|
+
margin: 0px;
|
|
299
|
+
padding: 16px 16px 8px 16px;
|
|
300
|
+
min-height: 24px;
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
::slotted(h4[sub]) {
|
|
304
|
+
font-weight: 300;
|
|
305
|
+
font-size: 14px;
|
|
306
|
+
padding: 4px 12px 2px 66px;
|
|
307
|
+
cursor: inherit;
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
dialog[hide] {
|
|
311
|
+
animation: close 0.25s ease normal;
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
dialog[hide][direction='rtl'] {
|
|
315
|
+
animation: close-reverse 0.25s ease normal;
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
@keyframes show {
|
|
319
|
+
from {
|
|
320
|
+
transform: translateX(-110%);
|
|
321
|
+
}
|
|
322
|
+
to {
|
|
323
|
+
transform: translateX(0%);
|
|
324
|
+
}
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
@keyframes close {
|
|
328
|
+
to {
|
|
329
|
+
transform: translateX(-110%);
|
|
330
|
+
}
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
@keyframes show-reverse {
|
|
334
|
+
from {
|
|
335
|
+
transform: translateX(110%);
|
|
336
|
+
}
|
|
337
|
+
to {
|
|
338
|
+
transform: translateX(0%);
|
|
339
|
+
}
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
@keyframes close-reverse {
|
|
343
|
+
to {
|
|
344
|
+
transform: translateX(110%);
|
|
345
|
+
}
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
dialog::backdrop {
|
|
349
|
+
background-color: rgba(0, 0, 0, 0.5);
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
@supports ((backdrop-filter: blur(10px)) or (-webkit-backdrop-filter: blur(10px))) {
|
|
353
|
+
dialog::backdrop {
|
|
354
|
+
backdrop-filter: blur(3px);
|
|
355
|
+
/* Not supported yet */
|
|
356
|
+
transition: backdrop-filter 0.5s ease;
|
|
357
|
+
}
|
|
358
|
+
}
|
|
359
|
+
`; }
|
|
360
|
+
render() {
|
|
361
|
+
return html `<dialog
|
|
362
|
+
loading
|
|
363
|
+
@close=${(e) => {
|
|
364
|
+
this.setBodyOverflow('');
|
|
365
|
+
redispatchEvent(this, e);
|
|
366
|
+
}}
|
|
367
|
+
@toggle=${(e) => {
|
|
368
|
+
//isOpen state is fully managed by the drawer when not in flyover mode
|
|
369
|
+
if (this.mode === 'flyover') {
|
|
370
|
+
const isOpen = e.target?.hasAttribute('open');
|
|
371
|
+
this.#setOpen(isOpen);
|
|
372
|
+
}
|
|
373
|
+
redispatchEvent(this, e);
|
|
374
|
+
}}
|
|
375
|
+
part="dialog"
|
|
376
|
+
>
|
|
377
|
+
<header part="header"><slot name="header" @slotchange=${() => (this.hasHeader = this.headerElements.length > 0)}></slot></header>
|
|
378
|
+
<main part="main"><slot></slot></main>
|
|
379
|
+
<footer part="footer"><slot name="footer" @slotchange=${() => (this.hasFooter = this.footerElements.length > 0)}></slot></footer>
|
|
380
|
+
</dialog>`;
|
|
381
|
+
}
|
|
382
|
+
};
|
|
383
|
+
__decorate([
|
|
384
|
+
query('dialog')
|
|
385
|
+
], TitaniumDrawer.prototype, "dialog", null);
|
|
386
|
+
__decorate([
|
|
387
|
+
property({ type: Boolean, reflect: true })
|
|
388
|
+
], TitaniumDrawer.prototype, "fixed", null);
|
|
389
|
+
__decorate([
|
|
390
|
+
property({ type: Boolean, reflect: true, attribute: 'always-show-content' })
|
|
391
|
+
], TitaniumDrawer.prototype, "alwayShowContent", null);
|
|
392
|
+
__decorate([
|
|
393
|
+
property({ type: String, reflect: true })
|
|
394
|
+
], TitaniumDrawer.prototype, "direction", null);
|
|
395
|
+
__decorate([
|
|
396
|
+
property({ type: Boolean, reflect: true, attribute: 'has-header' })
|
|
397
|
+
], TitaniumDrawer.prototype, "hasHeader", null);
|
|
398
|
+
__decorate([
|
|
399
|
+
property({ type: Boolean, reflect: true, attribute: 'has-footer' })
|
|
400
|
+
], TitaniumDrawer.prototype, "hasFooter", null);
|
|
401
|
+
__decorate([
|
|
402
|
+
property({ type: String, reflect: true, attribute: 'mode' })
|
|
403
|
+
], TitaniumDrawer.prototype, "mode", null);
|
|
404
|
+
__decorate([
|
|
405
|
+
property({ type: Boolean, reflect: true, attribute: 'open' })
|
|
406
|
+
], TitaniumDrawer.prototype, "isOpen", null);
|
|
407
|
+
__decorate([
|
|
408
|
+
queryAssignedElements({ slot: 'header' })
|
|
409
|
+
], TitaniumDrawer.prototype, "headerElements", void 0);
|
|
410
|
+
__decorate([
|
|
411
|
+
queryAssignedElements({ slot: 'footer' })
|
|
412
|
+
], TitaniumDrawer.prototype, "footerElements", void 0);
|
|
413
|
+
TitaniumDrawer = TitaniumDrawer_1 = __decorate([
|
|
414
|
+
customElement('titanium-drawer')
|
|
415
|
+
], TitaniumDrawer);
|
|
416
|
+
export { TitaniumDrawer };
|
|
417
|
+
//# sourceMappingURL=drawer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"drawer.js","sourceRoot":"","sources":["drawer.ts"],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AAKrE;IAAnD,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;+CAA2C;AAEC;IAArF,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,YAAY,EAAE,CAAC;+CAAoC;AAClB;IAArF,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,YAAY,EAAE,CAAC;+CAAoC;AAEjC;IAAtE,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,CAAC;0CAA4C;AACjC;IAAvE,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,CAAC;4CAAkC;AAEpC;IAA3D,qBAAqB,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC;sDAA6C;AAC3B;IAA3D,qBAAqB,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC;sDAA6C;AAzB5E,cAAc;IAD1B,aAAa,CAAC,iBAAiB,CAAC;GACpB,cAAc,CAyX1B"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { PropertyValues } from 'lit';
|
|
2
|
+
import duration from 'dayjs/esm/plugin/duration';
|
|
3
|
+
import { ExtendableOutlinedTextField } from '../extendable-outlined-text-field/extendable-outlined-text-field';
|
|
4
|
+
/**
|
|
5
|
+
* titanium-duration-input is a human readable duration textfield.
|
|
6
|
+
*
|
|
7
|
+
* @element titanium-duration-input
|
|
8
|
+
*
|
|
9
|
+
* @fires duration-change The duration can be accessed via event.target.duration
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
export declare class TitaniumDurationInput extends ExtendableOutlinedTextField {
|
|
13
|
+
#private;
|
|
14
|
+
/**
|
|
15
|
+
* Dayjs duration object. This is the main property you will interact with because the value
|
|
16
|
+
* property of this component is actually the human readable string and not the duration you most likely
|
|
17
|
+
* want to work with. When changed a duration-change event will be dispatched.
|
|
18
|
+
*/
|
|
19
|
+
accessor duration: duration.Duration | null;
|
|
20
|
+
accessor autocomplete: string;
|
|
21
|
+
accessor spellcheck: boolean;
|
|
22
|
+
accessor placeholder: string;
|
|
23
|
+
accessor label: string;
|
|
24
|
+
firstUpdated(): void;
|
|
25
|
+
static styles: import("lit").CSSResult;
|
|
26
|
+
updated(changedProps: PropertyValues<this>): void;
|
|
27
|
+
checkValidity(): boolean;
|
|
28
|
+
reportValidity(): boolean;
|
|
29
|
+
reset(): Promise<void>;
|
|
30
|
+
}
|
|
31
|
+
//# sourceMappingURL=duration-input.d.ts.map
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
import { __decorate } from "tslib";
|
|
2
|
+
import { property, customElement } from 'lit/decorators.js';
|
|
3
|
+
import { css } from 'lit';
|
|
4
|
+
import dayjs from 'dayjs/esm';
|
|
5
|
+
import duration from 'dayjs/esm/plugin/duration';
|
|
6
|
+
import { ExtendableOutlinedTextField } from '../extendable-outlined-text-field/extendable-outlined-text-field';
|
|
7
|
+
import humanInterval, { durationToString } from './human-interval';
|
|
8
|
+
dayjs.extend(duration);
|
|
9
|
+
/**
|
|
10
|
+
* titanium-duration-input is a human readable duration textfield.
|
|
11
|
+
*
|
|
12
|
+
* @element titanium-duration-input
|
|
13
|
+
*
|
|
14
|
+
* @fires duration-change The duration can be accessed via event.target.duration
|
|
15
|
+
*
|
|
16
|
+
*/
|
|
17
|
+
let TitaniumDurationInput = class TitaniumDurationInput extends ExtendableOutlinedTextField {
|
|
18
|
+
#duration_accessor_storage = null;
|
|
19
|
+
/**
|
|
20
|
+
* Dayjs duration object. This is the main property you will interact with because the value
|
|
21
|
+
* property of this component is actually the human readable string and not the duration you most likely
|
|
22
|
+
* want to work with. When changed a duration-change event will be dispatched.
|
|
23
|
+
*/
|
|
24
|
+
get duration() { return this.#duration_accessor_storage; }
|
|
25
|
+
set duration(value) { this.#duration_accessor_storage = value; }
|
|
26
|
+
#autocomplete_accessor_storage = 'off';
|
|
27
|
+
get autocomplete() { return this.#autocomplete_accessor_storage; }
|
|
28
|
+
set autocomplete(value) { this.#autocomplete_accessor_storage = value; }
|
|
29
|
+
#spellcheck_accessor_storage = false;
|
|
30
|
+
get spellcheck() { return this.#spellcheck_accessor_storage; }
|
|
31
|
+
set spellcheck(value) { this.#spellcheck_accessor_storage = value; }
|
|
32
|
+
#placeholder_accessor_storage = '3 hours and 30 minutes';
|
|
33
|
+
get placeholder() { return this.#placeholder_accessor_storage; }
|
|
34
|
+
set placeholder(value) { this.#placeholder_accessor_storage = value; }
|
|
35
|
+
#label_accessor_storage = 'Duration';
|
|
36
|
+
get label() { return this.#label_accessor_storage; }
|
|
37
|
+
set label(value) { this.#label_accessor_storage = value; }
|
|
38
|
+
firstUpdated() {
|
|
39
|
+
this.addEventListener('change', () => {
|
|
40
|
+
this.#customReportValidity(this.input.value);
|
|
41
|
+
const dur = this.#textToInterval(this.input.value);
|
|
42
|
+
if (dur?.asMilliseconds() != this.duration?.asMilliseconds()) {
|
|
43
|
+
this.duration = dur;
|
|
44
|
+
this.dispatchEvent(new Event('duration-change'));
|
|
45
|
+
}
|
|
46
|
+
});
|
|
47
|
+
}
|
|
48
|
+
static { this.styles = css `
|
|
49
|
+
:host {
|
|
50
|
+
display: block;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
md-outlined-text-field {
|
|
54
|
+
width: 100%;
|
|
55
|
+
}
|
|
56
|
+
`; }
|
|
57
|
+
updated(changedProps) {
|
|
58
|
+
if (changedProps.has('duration') && changedProps.get('duration') !== this.duration) {
|
|
59
|
+
if (this.duration) {
|
|
60
|
+
this.value = durationToString(this.duration);
|
|
61
|
+
}
|
|
62
|
+
else {
|
|
63
|
+
this.duration = null;
|
|
64
|
+
this.value = '';
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
checkValidity() {
|
|
69
|
+
return super.checkValidity() && this.#customCheckValidity(this.input.value);
|
|
70
|
+
}
|
|
71
|
+
reportValidity() {
|
|
72
|
+
this.#customReportValidity(this.input.value);
|
|
73
|
+
return super.reportValidity();
|
|
74
|
+
}
|
|
75
|
+
#customCheckValidity(input) {
|
|
76
|
+
if (input && !this.#textToInterval(input)) {
|
|
77
|
+
return false;
|
|
78
|
+
}
|
|
79
|
+
else {
|
|
80
|
+
return true;
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
#customReportValidity(input) {
|
|
84
|
+
if (!this.#customCheckValidity(input)) {
|
|
85
|
+
this.error = true;
|
|
86
|
+
this.errorText = 'Duration was entered in an incorrect format. Try "3 hours and 30 minutes"';
|
|
87
|
+
}
|
|
88
|
+
else {
|
|
89
|
+
this.error = false;
|
|
90
|
+
this.errorText = '';
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
#textToInterval(input) {
|
|
94
|
+
if (!input) {
|
|
95
|
+
return null;
|
|
96
|
+
}
|
|
97
|
+
const ms = humanInterval(input);
|
|
98
|
+
return isNaN(ms) ? null : dayjs.duration(ms, 'ms');
|
|
99
|
+
}
|
|
100
|
+
async reset() {
|
|
101
|
+
super.reset();
|
|
102
|
+
this.error = false;
|
|
103
|
+
this.errorText = '';
|
|
104
|
+
this.duration = null;
|
|
105
|
+
}
|
|
106
|
+
};
|
|
107
|
+
__decorate([
|
|
108
|
+
property({ type: Object })
|
|
109
|
+
], TitaniumDurationInput.prototype, "duration", null);
|
|
110
|
+
__decorate([
|
|
111
|
+
property({ reflect: true, type: String })
|
|
112
|
+
], TitaniumDurationInput.prototype, "autocomplete", null);
|
|
113
|
+
__decorate([
|
|
114
|
+
property({ reflect: true, type: Boolean })
|
|
115
|
+
], TitaniumDurationInput.prototype, "spellcheck", null);
|
|
116
|
+
__decorate([
|
|
117
|
+
property({ reflect: true, type: String })
|
|
118
|
+
], TitaniumDurationInput.prototype, "placeholder", null);
|
|
119
|
+
__decorate([
|
|
120
|
+
property({ reflect: true, type: String })
|
|
121
|
+
], TitaniumDurationInput.prototype, "label", null);
|
|
122
|
+
TitaniumDurationInput = __decorate([
|
|
123
|
+
customElement('titanium-duration-input')
|
|
124
|
+
], TitaniumDurationInput);
|
|
125
|
+
export { TitaniumDurationInput };
|
|
126
|
+
//# sourceMappingURL=duration-input.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"duration-input.js","sourceRoot":"","sources":["duration-input.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAC5D,OAAO,EAAkB,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1C,OAAO,KAAK,MAAM,WAAW,CAAC;AAC9B,OAAO,QAAQ,MAAM,2BAA2B,CAAC;AACjD,OAAO,EAAE,2BAA2B,EAAE,MAAM,kEAAkE,CAAC;AAC/G,OAAO,aAAa,EAAE,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AACnE,KAAK,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;AAEvB;;;;;;;GAOG;AAGI,IAAM,qBAAqB,GAA3B,MAAM,qBAAsB,SAAQ,2BAA2B;IAM/B,6BAAqC,IAAI,CAAC;IAL/E;;;;OAIG;IACkC,IAAA,QAAQ,8CAAkC;IAA1C,IAAA,QAAQ,oDAAkC;IAE3B,iCAAuB,KAAK,CAAC;IAA7B,IAAA,YAAY,kDAAiB;IAA7B,IAAA,YAAY,wDAAiB;IAE5B,+BAAsB,KAAK,CAAC;IAA5B,IAAA,UAAU,gDAAkB;IAA5B,IAAA,UAAU,sDAAkB;IAE7B,gCAAsB,wBAAwB,CAAC;IAA/C,IAAA,WAAW,iDAAoC;IAA/C,IAAA,WAAW,uDAAoC;IAC/C,0BAAgB,UAAU,CAAC;IAA3B,IAAA,KAAK,2CAAsB;IAA3B,IAAA,KAAK,iDAAsB;IAE/E,YAAY;QACV,IA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