@leavittsoftware/web 8.6.0 → 8.7.1
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/package.json +2 -2
- package/leavitt/api-service/HttpError.d.ts +0 -11
- package/leavitt/api-service/HttpError.js +0 -2
- package/leavitt/api-service/HttpError.js.map +0 -1
- package/leavitt/api-service/api-service.d.ts +0 -52
- package/leavitt/api-service/api-service.js +0 -369
- package/leavitt/api-service/api-service.js.map +0 -1
- package/leavitt/api-service/authenticated-token-provider.d.ts +0 -5
- package/leavitt/api-service/authenticated-token-provider.js +0 -7
- package/leavitt/api-service/authenticated-token-provider.js.map +0 -1
- package/leavitt/api-service/bearer-token-provider.d.ts +0 -4
- package/leavitt/api-service/bearer-token-provider.js +0 -2
- package/leavitt/api-service/bearer-token-provider.js.map +0 -1
- package/leavitt/api-service/blob-response.d.ts +0 -8
- package/leavitt/api-service/blob-response.js +0 -8
- package/leavitt/api-service/blob-response.js.map +0 -1
- package/leavitt/api-service/no-authentication-token-provider.d.ts +0 -5
- package/leavitt/api-service/no-authentication-token-provider.js +0 -6
- package/leavitt/api-service/no-authentication-token-provider.js.map +0 -1
- package/leavitt/api-service/object-to-form-data.d.ts +0 -9
- package/leavitt/api-service/object-to-form-data.js +0 -42
- package/leavitt/api-service/object-to-form-data.js.map +0 -1
- package/leavitt/api-service/object-to-form-data.test.d.ts +0 -2
- package/leavitt/api-service/object-to-form-data.test.js +0 -229
- package/leavitt/api-service/object-to-form-data.test.js.map +0 -1
- package/leavitt/api-service/odata-dto.d.ts +0 -6
- package/leavitt/api-service/odata-dto.js +0 -7
- package/leavitt/api-service/odata-dto.js.map +0 -1
- package/leavitt/api-service/odata-model-info.d.ts +0 -5
- package/leavitt/api-service/odata-model-info.js +0 -7
- package/leavitt/api-service/odata-model-info.js.map +0 -1
- package/leavitt/api-service/odata-response.d.ts +0 -15
- package/leavitt/api-service/odata-response.js +0 -50
- package/leavitt/api-service/odata-response.js.map +0 -1
- package/leavitt/api-service/status-codes.d.ts +0 -2
- package/leavitt/api-service/status-codes.js +0 -44
- package/leavitt/api-service/status-codes.js.map +0 -1
- package/leavitt/app/app-logo.d.ts +0 -12
- package/leavitt/app/app-logo.js +0 -142
- package/leavitt/app/app-logo.js.map +0 -1
- package/leavitt/app/app-main-content-container.d.ts +0 -10
- package/leavitt/app/app-main-content-container.js +0 -65
- package/leavitt/app/app-main-content-container.js.map +0 -1
- package/leavitt/app/app-navigation-footer.d.ts +0 -18
- package/leavitt/app/app-navigation-footer.js +0 -142
- package/leavitt/app/app-navigation-footer.js.map +0 -1
- package/leavitt/app/app-navigation-header.d.ts +0 -22
- package/leavitt/app/app-navigation-header.js +0 -239
- package/leavitt/app/app-navigation-header.js.map +0 -1
- package/leavitt/app/app-width-limiter.d.ts +0 -7
- package/leavitt/app/app-width-limiter.js +0 -39
- package/leavitt/app/app-width-limiter.js.map +0 -1
- package/leavitt/app/contexts/main-menu-position-context.d.ts +0 -4
- package/leavitt/app/contexts/main-menu-position-context.js +0 -3
- package/leavitt/app/contexts/main-menu-position-context.js.map +0 -1
- package/leavitt/company-select/company-select.d.ts +0 -53
- package/leavitt/company-select/company-select.js +0 -181
- package/leavitt/company-select/company-select.js.map +0 -1
- package/leavitt/email-history-viewer/email-history-view-list-filter-dialog.d.ts +0 -394
- package/leavitt/email-history-viewer/email-history-view-list-filter-dialog.js +0 -233
- package/leavitt/email-history-viewer/email-history-view-list-filter-dialog.js.map +0 -1
- package/leavitt/email-history-viewer/email-history-viewer-filled-filter-dialog.d.ts +0 -397
- package/leavitt/email-history-viewer/email-history-viewer-filled-filter-dialog.js +0 -244
- package/leavitt/email-history-viewer/email-history-viewer-filled-filter-dialog.js.map +0 -1
- package/leavitt/email-history-viewer/email-history-viewer-filled.d.ts +0 -408
- package/leavitt/email-history-viewer/email-history-viewer-filled.js +0 -381
- package/leavitt/email-history-viewer/email-history-viewer-filled.js.map +0 -1
- package/leavitt/email-history-viewer/email-history-viewer.d.ts +0 -412
- package/leavitt/email-history-viewer/email-history-viewer.js +0 -373
- package/leavitt/email-history-viewer/email-history-viewer.js.map +0 -1
- package/leavitt/email-history-viewer/view-email-template-info-dialog.d.ts +0 -386
- package/leavitt/email-history-viewer/view-email-template-info-dialog.js +0 -154
- package/leavitt/email-history-viewer/view-email-template-info-dialog.js.map +0 -1
- package/leavitt/email-history-viewer/view-sent-email-dialog.d.ts +0 -388
- package/leavitt/email-history-viewer/view-sent-email-dialog.js +0 -145
- package/leavitt/email-history-viewer/view-sent-email-dialog.js.map +0 -1
- package/leavitt/error-page/error-page.d.ts +0 -24
- package/leavitt/error-page/error-page.js +0 -185
- package/leavitt/error-page/error-page.js.map +0 -1
- package/leavitt/file-explorer/add-folder-modal.d.ts +0 -390
- package/leavitt/file-explorer/add-folder-modal.js +0 -135
- package/leavitt/file-explorer/add-folder-modal.js.map +0 -1
- package/leavitt/file-explorer/events/file-explorer-events.d.ts +0 -4
- package/leavitt/file-explorer/events/file-explorer-events.js +0 -5
- package/leavitt/file-explorer/events/file-explorer-events.js.map +0 -1
- package/leavitt/file-explorer/file-explorer-error.d.ts +0 -7
- package/leavitt/file-explorer/file-explorer-error.js +0 -38
- package/leavitt/file-explorer/file-explorer-error.js.map +0 -1
- package/leavitt/file-explorer/file-explorer-image.d.ts +0 -9
- package/leavitt/file-explorer/file-explorer-image.js +0 -54
- package/leavitt/file-explorer/file-explorer-image.js.map +0 -1
- package/leavitt/file-explorer/file-explorer-no-files.d.ts +0 -7
- package/leavitt/file-explorer/file-explorer-no-files.js +0 -38
- package/leavitt/file-explorer/file-explorer-no-files.js.map +0 -1
- package/leavitt/file-explorer/file-explorer-no-permission.d.ts +0 -7
- package/leavitt/file-explorer/file-explorer-no-permission.js +0 -38
- package/leavitt/file-explorer/file-explorer-no-permission.js.map +0 -1
- package/leavitt/file-explorer/file-explorer.d.ts +0 -446
- package/leavitt/file-explorer/file-explorer.js +0 -889
- package/leavitt/file-explorer/file-explorer.js.map +0 -1
- package/leavitt/file-explorer/file-list-item.d.ts +0 -16
- package/leavitt/file-explorer/file-list-item.js +0 -300
- package/leavitt/file-explorer/file-list-item.js.map +0 -1
- package/leavitt/file-explorer/file-modal.d.ts +0 -393
- package/leavitt/file-explorer/file-modal.js +0 -323
- package/leavitt/file-explorer/file-modal.js.map +0 -1
- package/leavitt/file-explorer/folder-list-item.d.ts +0 -15
- package/leavitt/file-explorer/folder-list-item.js +0 -210
- package/leavitt/file-explorer/folder-list-item.js.map +0 -1
- package/leavitt/file-explorer/folder-modal.d.ts +0 -391
- package/leavitt/file-explorer/folder-modal.js +0 -226
- package/leavitt/file-explorer/folder-modal.js.map +0 -1
- package/leavitt/file-explorer/helpers/file-types.d.ts +0 -2
- package/leavitt/file-explorer/helpers/file-types.js +0 -19
- package/leavitt/file-explorer/helpers/file-types.js.map +0 -1
- package/leavitt/file-explorer/helpers/format-bytes.d.ts +0 -2
- package/leavitt/file-explorer/helpers/format-bytes.js +0 -8
- package/leavitt/file-explorer/helpers/format-bytes.js.map +0 -1
- package/leavitt/person-company-select/person-company-select.d.ts +0 -43
- package/leavitt/person-company-select/person-company-select.js +0 -198
- package/leavitt/person-company-select/person-company-select.js.map +0 -1
- package/leavitt/person-group-select/people-group-icons.d.ts +0 -5
- package/leavitt/person-group-select/people-group-icons.js +0 -87
- package/leavitt/person-group-select/people-group-icons.js.map +0 -1
- package/leavitt/person-group-select/person-group-select.d.ts +0 -43
- package/leavitt/person-group-select/person-group-select.js +0 -207
- package/leavitt/person-group-select/person-group-select.js.map +0 -1
- package/leavitt/person-select/person-select.d.ts +0 -46
- package/leavitt/person-select/person-select.js +0 -203
- package/leavitt/person-select/person-select.js.map +0 -1
- package/leavitt/profile-picture/profile-picture-menu.d.ts +0 -48
- package/leavitt/profile-picture/profile-picture-menu.js +0 -248
- package/leavitt/profile-picture/profile-picture-menu.js.map +0 -1
- package/leavitt/profile-picture/profile-picture.d.ts +0 -44
- package/leavitt/profile-picture/profile-picture.js +0 -208
- package/leavitt/profile-picture/profile-picture.js.map +0 -1
- package/leavitt/service-worker-notifier/service-worker-notifier.d.ts +0 -14
- package/leavitt/service-worker-notifier/service-worker-notifier.js +0 -180
- package/leavitt/service-worker-notifier/service-worker-notifier.js.map +0 -1
- package/leavitt/theme/theme-preference-event.d.ts +0 -4
- package/leavitt/theme/theme-preference-event.js +0 -5
- package/leavitt/theme/theme-preference-event.js.map +0 -1
- package/leavitt/theme/theme-preference.d.ts +0 -8
- package/leavitt/theme/theme-preference.js +0 -26
- package/leavitt/theme/theme-preference.js.map +0 -1
- package/leavitt/user-feedback/provide-feedback-dialog.d.ts +0 -386
- package/leavitt/user-feedback/provide-feedback-dialog.js +0 -150
- package/leavitt/user-feedback/provide-feedback-dialog.js.map +0 -1
- package/leavitt/user-feedback/report-a-problem-dialog.d.ts +0 -388
- package/leavitt/user-feedback/report-a-problem-dialog.js +0 -170
- package/leavitt/user-feedback/report-a-problem-dialog.js.map +0 -1
- package/leavitt/user-feedback/user-feedback.d.ts +0 -390
- package/leavitt/user-feedback/user-feedback.js +0 -222
- package/leavitt/user-feedback/user-feedback.js.map +0 -1
- package/leavitt/user-manager/LssJwtToken.d.ts +0 -24
- package/leavitt/user-manager/LssJwtToken.js +0 -2
- package/leavitt/user-manager/LssJwtToken.js.map +0 -1
- package/leavitt/user-manager/auth-zero-lg-access-token.d.ts +0 -15
- package/leavitt/user-manager/auth-zero-lg-access-token.js +0 -2
- package/leavitt/user-manager/auth-zero-lg-access-token.js.map +0 -1
- package/leavitt/user-manager/auth-zero-lg-identity-token.d.ts +0 -24
- package/leavitt/user-manager/auth-zero-lg-identity-token.js +0 -2
- package/leavitt/user-manager/auth-zero-lg-identity-token.js.map +0 -1
- package/leavitt/user-manager/auth-zero-lg-identity.d.ts +0 -24
- package/leavitt/user-manager/auth-zero-lg-identity.js +0 -2
- package/leavitt/user-manager/auth-zero-lg-identity.js.map +0 -1
- package/leavitt/user-manager/auth-zero-lg-user-manager.d.ts +0 -18
- package/leavitt/user-manager/auth-zero-lg-user-manager.js +0 -382
- package/leavitt/user-manager/auth-zero-lg-user-manager.js.map +0 -1
- package/leavitt/user-manager/user-manager-events.d.ts +0 -5
- package/leavitt/user-manager/user-manager-events.js +0 -7
- package/leavitt/user-manager/user-manager-events.js.map +0 -1
- package/leavitt/user-manager/user-manager.d.ts +0 -47
- package/leavitt/user-manager/user-manager.js +0 -443
- package/leavitt/user-manager/user-manager.js.map +0 -1
- package/titanium/access-denied-page/access-denied-page.d.ts +0 -16
- package/titanium/access-denied-page/access-denied-page.js +0 -359
- package/titanium/access-denied-page/access-denied-page.js.map +0 -1
- package/titanium/address-input/address-input.d.ts +0 -31
- package/titanium/address-input/address-input.js +0 -104
- package/titanium/address-input/address-input.js.map +0 -1
- package/titanium/address-input/google-address-input.d.ts +0 -35
- package/titanium/address-input/google-address-input.js +0 -242
- package/titanium/address-input/google-address-input.js.map +0 -1
- package/titanium/address-input/manual-address-dialog.d.ts +0 -39
- package/titanium/address-input/manual-address-dialog.js +0 -350
- package/titanium/address-input/manual-address-dialog.js.map +0 -1
- package/titanium/address-input/types/address-input-address.d.ts +0 -17
- package/titanium/address-input/types/address-input-address.js +0 -2
- package/titanium/address-input/types/address-input-address.js.map +0 -1
- package/titanium/address-input/utils/address-to-string.d.ts +0 -3
- package/titanium/address-input/utils/address-to-string.js +0 -26
- package/titanium/address-input/utils/address-to-string.js.map +0 -1
- package/titanium/address-input/utils/place-result-to-address.d.ts +0 -3
- package/titanium/address-input/utils/place-result-to-address.js +0 -46
- package/titanium/address-input/utils/place-result-to-address.js.map +0 -1
- package/titanium/address-input/utils/validate-street.d.ts +0 -2
- package/titanium/address-input/utils/validate-street.js +0 -8
- package/titanium/address-input/utils/validate-street.js.map +0 -1
- package/titanium/card/card.d.ts +0 -24
- package/titanium/card/card.js +0 -188
- package/titanium/card/card.js.map +0 -1
- package/titanium/chip/chip.d.ts +0 -57
- package/titanium/chip/chip.js +0 -289
- package/titanium/chip/chip.js.map +0 -1
- package/titanium/chip-multi-select/chip-multi-select.d.ts +0 -71
- package/titanium/chip-multi-select/chip-multi-select.js +0 -228
- package/titanium/chip-multi-select/chip-multi-select.js.map +0 -1
- package/titanium/circle-loading-indicator/circle-loading-indicator.d.ts +0 -19
- package/titanium/circle-loading-indicator/circle-loading-indicator.js +0 -122
- package/titanium/circle-loading-indicator/circle-loading-indicator.js.map +0 -1
- package/titanium/collapsible-container/collapsible-container.d.ts +0 -12
- package/titanium/collapsible-container/collapsible-container.js +0 -115
- package/titanium/collapsible-container/collapsible-container.js.map +0 -1
- package/titanium/confirm-dialog/confirm-dialog-open-event.d.ts +0 -10
- package/titanium/confirm-dialog/confirm-dialog-open-event.js +0 -12
- package/titanium/confirm-dialog/confirm-dialog-open-event.js.map +0 -1
- package/titanium/confirm-dialog/confirm-dialog.d.ts +0 -25
- package/titanium/confirm-dialog/confirm-dialog.js +0 -104
- package/titanium/confirm-dialog/confirm-dialog.js.map +0 -1
- package/titanium/confirmation-dialog/confirmation-dialog.d.ts +0 -19
- package/titanium/confirmation-dialog/confirmation-dialog.js +0 -124
- package/titanium/confirmation-dialog/confirmation-dialog.js.map +0 -1
- package/titanium/data-table/data-table-action-bar.d.ts +0 -11
- package/titanium/data-table/data-table-action-bar.js +0 -216
- package/titanium/data-table/data-table-action-bar.js.map +0 -1
- package/titanium/data-table/data-table-content-styles.d.ts +0 -2
- package/titanium/data-table/data-table-content-styles.js +0 -48
- package/titanium/data-table/data-table-content-styles.js.map +0 -1
- package/titanium/data-table/data-table-core-reorder-dialog.d.ts +0 -391
- package/titanium/data-table/data-table-core-reorder-dialog.js +0 -170
- package/titanium/data-table/data-table-core-reorder-dialog.js.map +0 -1
- package/titanium/data-table/data-table-core-reorder-item.d.ts +0 -15
- package/titanium/data-table/data-table-core-reorder-item.js +0 -154
- package/titanium/data-table/data-table-core-reorder-item.js.map +0 -1
- package/titanium/data-table/data-table-core-settings-choose-columns-dialog.d.ts +0 -22
- package/titanium/data-table/data-table-core-settings-choose-columns-dialog.js +0 -164
- package/titanium/data-table/data-table-core-settings-choose-columns-dialog.js.map +0 -1
- package/titanium/data-table/data-table-core-settings-choose-columns-item.d.ts +0 -14
- package/titanium/data-table/data-table-core-settings-choose-columns-item.js +0 -96
- package/titanium/data-table/data-table-core-settings-choose-columns-item.js.map +0 -1
- package/titanium/data-table/data-table-core-settings-sort-dialog.d.ts +0 -22
- package/titanium/data-table/data-table-core-settings-sort-dialog.js +0 -231
- package/titanium/data-table/data-table-core-settings-sort-dialog.js.map +0 -1
- package/titanium/data-table/data-table-core-settings-sort-item.d.ts +0 -17
- package/titanium/data-table/data-table-core-settings-sort-item.js +0 -171
- package/titanium/data-table/data-table-core-settings-sort-item.js.map +0 -1
- package/titanium/data-table/data-table-core.d.ts +0 -458
- package/titanium/data-table/data-table-core.js +0 -745
- package/titanium/data-table/data-table-core.js.map +0 -1
- package/titanium/data-table/data-table-header.d.ts +0 -68
- package/titanium/data-table/data-table-header.js +0 -295
- package/titanium/data-table/data-table-header.js.map +0 -1
- package/titanium/data-table/data-table-item.d.ts +0 -99
- package/titanium/data-table/data-table-item.js +0 -561
- package/titanium/data-table/data-table-item.js.map +0 -1
- package/titanium/data-table/data-table.d.ts +0 -127
- package/titanium/data-table/data-table.js +0 -688
- package/titanium/data-table/data-table.js.map +0 -1
- package/titanium/data-table/draggable-item-base.d.ts +0 -30
- package/titanium/data-table/draggable-item-base.js +0 -324
- package/titanium/data-table/draggable-item-base.js.map +0 -1
- package/titanium/data-table/filter-controller.d.ts +0 -24
- package/titanium/data-table/filter-controller.js +0 -122
- package/titanium/data-table/filter-controller.js.map +0 -1
- package/titanium/data-table/filter.d.ts +0 -8
- package/titanium/data-table/filter.js +0 -11
- package/titanium/data-table/filter.js.map +0 -1
- package/titanium/data-table/page-control.d.ts +0 -59
- package/titanium/data-table/page-control.js +0 -236
- package/titanium/data-table/page-control.js.map +0 -1
- package/titanium/date-input/date-input.d.ts +0 -149
- package/titanium/date-input/date-input.js +0 -548
- package/titanium/date-input/date-input.js.map +0 -1
- package/titanium/date-range-selector/date-range-change-event.d.ts +0 -8
- package/titanium/date-range-selector/date-range-change-event.js +0 -10
- package/titanium/date-range-selector/date-range-change-event.js.map +0 -1
- package/titanium/date-range-selector/date-range-selector.d.ts +0 -71
- package/titanium/date-range-selector/date-range-selector.js +0 -479
- package/titanium/date-range-selector/date-range-selector.js.map +0 -1
- package/titanium/date-range-selector/types/date-range-key.d.ts +0 -2
- package/titanium/date-range-selector/types/date-range-key.js +0 -2
- package/titanium/date-range-selector/types/date-range-key.js.map +0 -1
- package/titanium/date-range-selector/types/date-range-option.d.ts +0 -8
- package/titanium/date-range-selector/types/date-range-option.js +0 -2
- package/titanium/date-range-selector/types/date-range-option.js.map +0 -1
- package/titanium/date-range-selector/types/date-ranges.d.ts +0 -4
- package/titanium/date-range-selector/types/date-ranges.js +0 -133
- package/titanium/date-range-selector/types/date-ranges.js.map +0 -1
- package/titanium/date-range-selector/types/range-label.d.ts +0 -5
- package/titanium/date-range-selector/types/range-label.js +0 -25
- package/titanium/date-range-selector/types/range-label.js.map +0 -1
- package/titanium/drawer/drawer.d.ts +0 -51
- package/titanium/drawer/drawer.js +0 -415
- package/titanium/drawer/drawer.js.map +0 -1
- package/titanium/duration-input/duration-input.d.ts +0 -31
- package/titanium/duration-input/duration-input.js +0 -126
- package/titanium/duration-input/duration-input.js.map +0 -1
- package/titanium/duration-input/filled-duration-input.d.ts +0 -31
- package/titanium/duration-input/filled-duration-input.js +0 -123
- package/titanium/duration-input/filled-duration-input.js.map +0 -1
- package/titanium/duration-input/human-interval.d.ts +0 -19
- package/titanium/duration-input/human-interval.js +0 -73
- package/titanium/duration-input/human-interval.js.map +0 -1
- package/titanium/duration-input/outlined-duration-input.d.ts +0 -30
- package/titanium/duration-input/outlined-duration-input.js +0 -109
- package/titanium/duration-input/outlined-duration-input.js.map +0 -1
- package/titanium/error-page/error-page.d.ts +0 -16
- package/titanium/error-page/error-page.js +0 -95
- package/titanium/error-page/error-page.js.map +0 -1
- package/titanium/event-bus/event-bus.d.ts +0 -10
- package/titanium/event-bus/event-bus.js +0 -52
- package/titanium/event-bus/event-bus.js.map +0 -1
- package/titanium/extendable-outlined-text-field/extendable-outlined-text-field.d.ts +0 -168
- package/titanium/extendable-outlined-text-field/extendable-outlined-text-field.js +0 -373
- package/titanium/extendable-outlined-text-field/extendable-outlined-text-field.js.map +0 -1
- package/titanium/full-page-loading-indicator/full-page-loading-indicator.d.ts +0 -17
- package/titanium/full-page-loading-indicator/full-page-loading-indicator.js +0 -121
- package/titanium/full-page-loading-indicator/full-page-loading-indicator.js.map +0 -1
- package/titanium/hacks/dialog-navigation-hack.d.ts +0 -8
- package/titanium/hacks/dialog-navigation-hack.js +0 -22
- package/titanium/hacks/dialog-navigation-hack.js.map +0 -1
- package/titanium/hacks/dialog-overflow-hacks.d.ts +0 -4
- package/titanium/hacks/dialog-overflow-hacks.js +0 -21
- package/titanium/hacks/dialog-overflow-hacks.js.map +0 -1
- package/titanium/hacks/dialog-zindex-hack.d.ts +0 -11
- package/titanium/hacks/dialog-zindex-hack.js +0 -20
- package/titanium/hacks/dialog-zindex-hack.js.map +0 -1
- package/titanium/hacks/report-validity-if-error.d.ts +0 -4
- package/titanium/hacks/report-validity-if-error.js +0 -6
- package/titanium/hacks/report-validity-if-error.js.map +0 -1
- package/titanium/header/header.d.ts +0 -39
- package/titanium/header/header.js +0 -167
- package/titanium/header/header.js.map +0 -1
- package/titanium/helpers/address/country-abbr-to-titlecase.d.ts +0 -5
- package/titanium/helpers/address/country-abbr-to-titlecase.js +0 -243
- package/titanium/helpers/address/country-abbr-to-titlecase.js.map +0 -1
- package/titanium/helpers/address/format-address.d.ts +0 -22
- package/titanium/helpers/address/format-address.js +0 -33
- package/titanium/helpers/address/format-address.js.map +0 -1
- package/titanium/helpers/address/get-country-name.d.ts +0 -2
- package/titanium/helpers/address/get-country-name.js +0 -12
- package/titanium/helpers/address/get-country-name.js.map +0 -1
- package/titanium/helpers/address/states-abbr-to-titlecase.d.ts +0 -9
- package/titanium/helpers/address/states-abbr-to-titlecase.js +0 -117
- package/titanium/helpers/address/states-abbr-to-titlecase.js.map +0 -1
- package/titanium/helpers/csv/convert-array-to-csv.d.ts +0 -2
- package/titanium/helpers/csv/convert-array-to-csv.js +0 -35
- package/titanium/helpers/csv/convert-array-to-csv.js.map +0 -1
- package/titanium/helpers/csv/flatten-object.d.ts +0 -2
- package/titanium/helpers/csv/flatten-object.js +0 -64
- package/titanium/helpers/csv/flatten-object.js.map +0 -1
- package/titanium/helpers/csv/start-csv-download.d.ts +0 -2
- package/titanium/helpers/csv/start-csv-download.js +0 -11
- package/titanium/helpers/csv/start-csv-download.js.map +0 -1
- package/titanium/helpers/debouncer.d.ts +0 -13
- package/titanium/helpers/debouncer.js +0 -33
- package/titanium/helpers/debouncer.js.map +0 -1
- package/titanium/helpers/delay.d.ts +0 -2
- package/titanium/helpers/delay.js +0 -6
- package/titanium/helpers/delay.js.map +0 -1
- package/titanium/helpers/escape-term.d.ts +0 -2
- package/titanium/helpers/escape-term.js +0 -2
- package/titanium/helpers/escape-term.js.map +0 -1
- package/titanium/helpers/find-scrollable-parent.d.ts +0 -2
- package/titanium/helpers/find-scrollable-parent.js +0 -13
- package/titanium/helpers/find-scrollable-parent.js.map +0 -1
- package/titanium/helpers/get-cdn-Inline-url.d.ts +0 -4
- package/titanium/helpers/get-cdn-Inline-url.js +0 -27
- package/titanium/helpers/get-cdn-Inline-url.js.map +0 -1
- package/titanium/helpers/get-cdn-download-url.d.ts +0 -3
- package/titanium/helpers/get-cdn-download-url.js +0 -12
- package/titanium/helpers/get-cdn-download-url.js.map +0 -1
- package/titanium/helpers/get-company-logo-url.d.ts +0 -3
- package/titanium/helpers/get-company-logo-url.js +0 -6
- package/titanium/helpers/get-company-logo-url.js.map +0 -1
- package/titanium/helpers/get-company-mark-url.d.ts +0 -3
- package/titanium/helpers/get-company-mark-url.js +0 -6
- package/titanium/helpers/get-company-mark-url.js.map +0 -1
- package/titanium/helpers/get-search-token.d.ts +0 -2
- package/titanium/helpers/get-search-token.js +0 -17
- package/titanium/helpers/get-search-token.js.map +0 -1
- package/titanium/helpers/group-by.d.ts +0 -2
- package/titanium/helpers/group-by.js +0 -7
- package/titanium/helpers/group-by.js.map +0 -1
- package/titanium/helpers/helpers.d.ts +0 -15
- package/titanium/helpers/helpers.js +0 -15
- package/titanium/helpers/helpers.js.map +0 -1
- package/titanium/helpers/install-media-query-watcher.d.ts +0 -2
- package/titanium/helpers/install-media-query-watcher.js +0 -6
- package/titanium/helpers/install-media-query-watcher.js.map +0 -1
- package/titanium/helpers/is-development.d.ts +0 -3
- package/titanium/helpers/is-development.js +0 -12
- package/titanium/helpers/is-development.js.map +0 -1
- package/titanium/helpers/join.d.ts +0 -2
- package/titanium/helpers/join.js +0 -5
- package/titanium/helpers/join.js.map +0 -1
- package/titanium/helpers/load-while.d.ts +0 -374
- package/titanium/helpers/load-while.js +0 -28
- package/titanium/helpers/load-while.js.map +0 -1
- package/titanium/helpers/middle-ellipsis.d.ts +0 -2
- package/titanium/helpers/middle-ellipsis.js +0 -7
- package/titanium/helpers/middle-ellipsis.js.map +0 -1
- package/titanium/helpers/not-null-or-undefined.d.ts +0 -2
- package/titanium/helpers/not-null-or-undefined.js +0 -4
- package/titanium/helpers/not-null-or-undefined.js.map +0 -1
- package/titanium/helpers/not-null.d.ts +0 -2
- package/titanium/helpers/not-null.js +0 -4
- package/titanium/helpers/not-null.js.map +0 -1
- package/titanium/helpers/not-undefined.d.ts +0 -2
- package/titanium/helpers/not-undefined.js +0 -4
- package/titanium/helpers/not-undefined.js.map +0 -1
- package/titanium/helpers/pending-state-catcher.d.ts +0 -416
- package/titanium/helpers/pending-state-catcher.js +0 -88
- package/titanium/helpers/pending-state-catcher.js.map +0 -1
- package/titanium/helpers/phone-numbers/format-phone-number-dashes.d.ts +0 -2
- package/titanium/helpers/phone-numbers/format-phone-number-dashes.js +0 -9
- package/titanium/helpers/phone-numbers/format-phone-number-dashes.js.map +0 -1
- package/titanium/helpers/phone-numbers/format-phone-number-dots.d.ts +0 -2
- package/titanium/helpers/phone-numbers/format-phone-number-dots.js +0 -9
- package/titanium/helpers/phone-numbers/format-phone-number-dots.js.map +0 -1
- package/titanium/helpers/phone-numbers/format-phone-number-numbers-only.d.ts +0 -2
- package/titanium/helpers/phone-numbers/format-phone-number-numbers-only.js +0 -9
- package/titanium/helpers/phone-numbers/format-phone-number-numbers-only.js.map +0 -1
- package/titanium/helpers/phone-numbers/format-phone-number.d.ts +0 -2
- package/titanium/helpers/phone-numbers/format-phone-number.js +0 -9
- package/titanium/helpers/phone-numbers/format-phone-number.js.map +0 -1
- package/titanium/helpers/phone-numbers/phone-mask.d.ts +0 -2
- package/titanium/helpers/phone-numbers/phone-mask.js +0 -5
- package/titanium/helpers/phone-numbers/phone-mask.js.map +0 -1
- package/titanium/helpers/phone-numbers/try-format-phone-number.d.ts +0 -2
- package/titanium/helpers/phone-numbers/try-format-phone-number.js +0 -9
- package/titanium/helpers/phone-numbers/try-format-phone-number.js.map +0 -1
- package/titanium/icon-picker/icon-picker.d.ts +0 -37
- package/titanium/icon-picker/icon-picker.js +0 -160
- package/titanium/icon-picker/icon-picker.js.map +0 -1
- package/titanium/icon-picker/material-symbols.d.ts +0 -3
- package/titanium/icon-picker/material-symbols.js +0 -3297
- package/titanium/icon-picker/material-symbols.js.map +0 -1
- package/titanium/input-validator/filled-input-validator.d.ts +0 -20
- package/titanium/input-validator/filled-input-validator.js +0 -48
- package/titanium/input-validator/filled-input-validator.js.map +0 -1
- package/titanium/input-validator/input-validator.d.ts +0 -20
- package/titanium/input-validator/input-validator.js +0 -48
- package/titanium/input-validator/input-validator.js.map +0 -1
- package/titanium/input-validator/outlined-input-validator.d.ts +0 -20
- package/titanium/input-validator/outlined-input-validator.js +0 -48
- package/titanium/input-validator/outlined-input-validator.js.map +0 -1
- package/titanium/profile-picture-stack/profile-picture-stack.d.ts +0 -51
- package/titanium/profile-picture-stack/profile-picture-stack.js +0 -212
- package/titanium/profile-picture-stack/profile-picture-stack.js.map +0 -1
- package/titanium/search-input/filled-search-input.d.ts +0 -15
- package/titanium/search-input/filled-search-input.js +0 -111
- package/titanium/search-input/filled-search-input.js.map +0 -1
- package/titanium/search-input/search-input.d.ts +0 -29
- package/titanium/search-input/search-input.js +0 -123
- package/titanium/search-input/search-input.js.map +0 -1
- package/titanium/service-worker-notifier/service-worker-notifier.d.ts +0 -9
- package/titanium/service-worker-notifier/service-worker-notifier.js +0 -58
- package/titanium/service-worker-notifier/service-worker-notifier.js.map +0 -1
- package/titanium/show-hide/show-hide.d.ts +0 -41
- package/titanium/show-hide/show-hide.js +0 -171
- package/titanium/show-hide/show-hide.js.map +0 -1
- package/titanium/single-select-base/single-select-base.d.ts +0 -514
- package/titanium/single-select-base/single-select-base.js +0 -549
- package/titanium/single-select-base/single-select-base.js.map +0 -1
- package/titanium/smart-attachment-input/crop-and-save-image-dialog.d.ts +0 -422
- package/titanium/smart-attachment-input/crop-and-save-image-dialog.js +0 -467
- package/titanium/smart-attachment-input/crop-and-save-image-dialog.js.map +0 -1
- package/titanium/smart-attachment-input/cropper-styles.d.ts +0 -3
- package/titanium/smart-attachment-input/cropper-styles.js +0 -318
- package/titanium/smart-attachment-input/cropper-styles.js.map +0 -1
- package/titanium/smart-attachment-input/image-formats.d.ts +0 -5
- package/titanium/smart-attachment-input/image-formats.js +0 -37
- package/titanium/smart-attachment-input/image-formats.js.map +0 -1
- package/titanium/smart-attachment-input/image-preview-dialog.d.ts +0 -21
- package/titanium/smart-attachment-input/image-preview-dialog.js +0 -96
- package/titanium/smart-attachment-input/image-preview-dialog.js.map +0 -1
- 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 +0 -133
- package/titanium/smart-attachment-input/smart-attachment-input.js +0 -497
- package/titanium/smart-attachment-input/smart-attachment-input.js.map +0 -1
- package/titanium/smart-attachment-input/type/smart-attachment.d.ts +0 -7
- package/titanium/smart-attachment-input/type/smart-attachment.js +0 -2
- package/titanium/smart-attachment-input/type/smart-attachment.js.map +0 -1
- package/titanium/snackbar/show-snackbar-event.d.ts +0 -9
- package/titanium/snackbar/show-snackbar-event.js +0 -9
- package/titanium/snackbar/show-snackbar-event.js.map +0 -1
- package/titanium/snackbar/snackbar-stack.d.ts +0 -24
- package/titanium/snackbar/snackbar-stack.js +0 -99
- package/titanium/snackbar/snackbar-stack.js.map +0 -1
- package/titanium/snackbar/snackbars/http-error-snackbar.d.ts +0 -28
- package/titanium/snackbar/snackbars/http-error-snackbar.js +0 -155
- package/titanium/snackbar/snackbars/http-error-snackbar.js.map +0 -1
- package/titanium/snackbar/snackbars/simple-snackbar.d.ts +0 -27
- package/titanium/snackbar/snackbars/simple-snackbar.js +0 -140
- package/titanium/snackbar/snackbars/simple-snackbar.js.map +0 -1
- package/titanium/snackbar/types/snackbar-options.d.ts +0 -9
- package/titanium/snackbar/types/snackbar-options.js +0 -2
- package/titanium/snackbar/types/snackbar-options.js.map +0 -1
- package/titanium/styles/a.d.ts +0 -2
- package/titanium/styles/a.js +0 -18
- package/titanium/styles/a.js.map +0 -1
- package/titanium/styles/data-row.d.ts +0 -2
- package/titanium/styles/data-row.js +0 -61
- package/titanium/styles/data-row.js.map +0 -1
- package/titanium/styles/ellipsis.d.ts +0 -2
- package/titanium/styles/ellipsis.js +0 -9
- package/titanium/styles/ellipsis.js.map +0 -1
- package/titanium/styles/h1.d.ts +0 -2
- package/titanium/styles/h1.js +0 -17
- package/titanium/styles/h1.js.map +0 -1
- package/titanium/styles/h2.d.ts +0 -2
- package/titanium/styles/h2.js +0 -17
- package/titanium/styles/h2.js.map +0 -1
- package/titanium/styles/h3.d.ts +0 -2
- package/titanium/styles/h3.js +0 -17
- package/titanium/styles/h3.js.map +0 -1
- package/titanium/styles/h4.d.ts +0 -2
- package/titanium/styles/h4.js +0 -17
- package/titanium/styles/h4.js.map +0 -1
- package/titanium/styles/h5.d.ts +0 -2
- package/titanium/styles/h5.js +0 -19
- package/titanium/styles/h5.js.map +0 -1
- package/titanium/styles/nice-badge.d.ts +0 -2
- package/titanium/styles/nice-badge.js +0 -53
- package/titanium/styles/nice-badge.js.map +0 -1
- package/titanium/styles/p.d.ts +0 -2
- package/titanium/styles/p.js +0 -17
- package/titanium/styles/p.js.map +0 -1
- package/titanium/styles/styles.d.ts +0 -17
- package/titanium/styles/styles.js +0 -17
- package/titanium/styles/styles.js.map +0 -1
- package/titanium/toolbar/toolbar.d.ts +0 -24
- package/titanium/toolbar/toolbar.js +0 -100
- package/titanium/toolbar/toolbar.js.map +0 -1
- package/titanium/types/any-function.d.ts +0 -5
- package/titanium/types/any-function.js +0 -5
- package/titanium/types/any-function.js.map +0 -1
- package/titanium/types/dom-event.d.ts +0 -4
- package/titanium/types/dom-event.js +0 -2
- package/titanium/types/dom-event.js.map +0 -1
- package/titanium/types/identifier-interface.d.ts +0 -4
- package/titanium/types/identifier-interface.js +0 -2
- package/titanium/types/identifier-interface.js.map +0 -1
- package/titanium/types/pending-state-event.d.ts +0 -7
- package/titanium/types/pending-state-event.js +0 -7
- package/titanium/types/pending-state-event.js.map +0 -1
- package/titanium/types/string-map.d.ts +0 -7
- package/titanium/types/string-map.js +0 -5
- package/titanium/types/string-map.js.map +0 -1
- package/titanium/youtube-input/youtube-input.d.ts +0 -19
- package/titanium/youtube-input/youtube-input.js +0 -68
- package/titanium/youtube-input/youtube-input.js.map +0 -1
|
@@ -1,168 +0,0 @@
|
|
|
1
|
-
import '@material/web/textfield/outlined-text-field';
|
|
2
|
-
import { MdOutlinedTextField } from '@material/web/textfield/outlined-text-field';
|
|
3
|
-
import { LitElement } from 'lit';
|
|
4
|
-
import { TextFieldType, UnsupportedTextFieldType } from '@material/web/textfield/internal/text-field';
|
|
5
|
-
export declare class ExtendableOutlinedTextField extends LitElement {
|
|
6
|
-
accessor input: MdOutlinedTextField;
|
|
7
|
-
/**
|
|
8
|
-
* Gets or sets whether or not the text field is in a visually invalid state.
|
|
9
|
-
*
|
|
10
|
-
* This error state overrides the error state controlled by
|
|
11
|
-
* `reportValidity()`.
|
|
12
|
-
*/
|
|
13
|
-
accessor error: boolean;
|
|
14
|
-
accessor disabled: boolean;
|
|
15
|
-
/**
|
|
16
|
-
* The error message that replaces supporting text when `error` is true. If
|
|
17
|
-
* `errorText` is an empty string, then the supporting text will continue to
|
|
18
|
-
* show.
|
|
19
|
-
*
|
|
20
|
-
* This error message overrides the error message displayed by
|
|
21
|
-
* `reportValidity()`.
|
|
22
|
-
*/
|
|
23
|
-
accessor errorText: string;
|
|
24
|
-
accessor label: string;
|
|
25
|
-
accessor required: boolean;
|
|
26
|
-
/**
|
|
27
|
-
* The current value of the text field. It is always a string.
|
|
28
|
-
*/
|
|
29
|
-
accessor value: string;
|
|
30
|
-
/**
|
|
31
|
-
* An optional prefix to display before the input value.
|
|
32
|
-
*/
|
|
33
|
-
accessor prefixText: string;
|
|
34
|
-
/**
|
|
35
|
-
* An optional suffix to display after the input value.
|
|
36
|
-
*/
|
|
37
|
-
accessor suffixText: string;
|
|
38
|
-
/**
|
|
39
|
-
* Whether or not the text field has a leading icon. Used for SSR.
|
|
40
|
-
*/
|
|
41
|
-
accessor hasLeadingIcon: boolean;
|
|
42
|
-
/**
|
|
43
|
-
* Whether or not the text field has a trailing icon. Used for SSR.
|
|
44
|
-
*/
|
|
45
|
-
accessor hasTrailingIcon: boolean;
|
|
46
|
-
/**
|
|
47
|
-
* Conveys additional information below the text field, such as how it should
|
|
48
|
-
* be used.
|
|
49
|
-
*/
|
|
50
|
-
accessor supportingText: string;
|
|
51
|
-
/**
|
|
52
|
-
* Override the input text CSS `direction`. Useful for RTL languages that use
|
|
53
|
-
* LTR notation for fractions.
|
|
54
|
-
*/
|
|
55
|
-
accessor textDirection: string;
|
|
56
|
-
/**
|
|
57
|
-
* The number of rows to display for a `type="textarea"` text field.
|
|
58
|
-
* Defaults to 2.
|
|
59
|
-
*/
|
|
60
|
-
accessor rows: number;
|
|
61
|
-
/**
|
|
62
|
-
* The number of cols to display for a `type="textarea"` text field.
|
|
63
|
-
* Defaults to 20.
|
|
64
|
-
*/
|
|
65
|
-
accessor cols: number;
|
|
66
|
-
accessor inputMode: string;
|
|
67
|
-
/**
|
|
68
|
-
* Defines the greatest value in the range of permitted values.
|
|
69
|
-
*
|
|
70
|
-
* https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#max
|
|
71
|
-
*/
|
|
72
|
-
accessor max: string;
|
|
73
|
-
/**
|
|
74
|
-
* The maximum number of characters a user can enter into the text field. Set
|
|
75
|
-
* to -1 for none.
|
|
76
|
-
*
|
|
77
|
-
* https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#maxlength
|
|
78
|
-
*/
|
|
79
|
-
accessor maxLength: number;
|
|
80
|
-
/**
|
|
81
|
-
* Defines the most negative value in the range of permitted values.
|
|
82
|
-
*
|
|
83
|
-
* https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#min
|
|
84
|
-
*/
|
|
85
|
-
accessor min: string;
|
|
86
|
-
/**
|
|
87
|
-
* The minimum number of characters a user can enter into the text field. Set
|
|
88
|
-
* to -1 for none.
|
|
89
|
-
*
|
|
90
|
-
* https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#minlength
|
|
91
|
-
*/
|
|
92
|
-
accessor minLength: number;
|
|
93
|
-
/**
|
|
94
|
-
* A regular expression that the text field's value must match to pass
|
|
95
|
-
* constraint validation.
|
|
96
|
-
*
|
|
97
|
-
* https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#pattern
|
|
98
|
-
*/
|
|
99
|
-
accessor pattern: string;
|
|
100
|
-
accessor placeholder: string;
|
|
101
|
-
/**
|
|
102
|
-
* Indicates whether or not a user should be able to edit the text field's
|
|
103
|
-
* value.
|
|
104
|
-
*
|
|
105
|
-
* https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#readonly
|
|
106
|
-
*/
|
|
107
|
-
accessor readOnly: boolean;
|
|
108
|
-
/**
|
|
109
|
-
* Indicates that input accepts multiple email addresses.
|
|
110
|
-
*
|
|
111
|
-
* https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/email#multiple
|
|
112
|
-
*/
|
|
113
|
-
accessor multiple: boolean;
|
|
114
|
-
/**
|
|
115
|
-
* Returns or sets the element's step attribute, which works with min and max
|
|
116
|
-
* to limit the increments at which a numeric or date-time value can be set.
|
|
117
|
-
*
|
|
118
|
-
* https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#step
|
|
119
|
-
*/
|
|
120
|
-
accessor step: string;
|
|
121
|
-
/**
|
|
122
|
-
* The `<input>` type to use, defaults to "text". The type greatly changes how
|
|
123
|
-
* the text field behaves.
|
|
124
|
-
*
|
|
125
|
-
* Text fields support a limited number of `<input>` types:
|
|
126
|
-
*
|
|
127
|
-
* - text
|
|
128
|
-
* - textarea
|
|
129
|
-
* - email
|
|
130
|
-
* - number
|
|
131
|
-
* - password
|
|
132
|
-
* - search
|
|
133
|
-
* - tel
|
|
134
|
-
* - url
|
|
135
|
-
*
|
|
136
|
-
* See
|
|
137
|
-
* https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#input_types
|
|
138
|
-
* for more details on each input type.
|
|
139
|
-
*/
|
|
140
|
-
accessor type: TextFieldType | UnsupportedTextFieldType;
|
|
141
|
-
/**
|
|
142
|
-
* Describes what, if any, type of autocomplete functionality the input
|
|
143
|
-
* should provide.
|
|
144
|
-
*
|
|
145
|
-
* https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete
|
|
146
|
-
*/
|
|
147
|
-
accessor autocomplete: string;
|
|
148
|
-
/**
|
|
149
|
-
* Describes what, if any, type of spellcheck functionality the input
|
|
150
|
-
* should provide.
|
|
151
|
-
*
|
|
152
|
-
* https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/spellcheck
|
|
153
|
-
*/
|
|
154
|
-
accessor spellcheck: any;
|
|
155
|
-
checkValidity(): boolean;
|
|
156
|
-
reportValidity(): boolean;
|
|
157
|
-
select(): void;
|
|
158
|
-
setCustomValidity(error: string): void;
|
|
159
|
-
setRangeText(replacement: string, start: number, end: number, selectionMode?: SelectionMode): void;
|
|
160
|
-
setSelectionRange(start: number | null, end: number | null, direction?: 'forward' | 'backward' | 'none'): void;
|
|
161
|
-
stepDown(stepDecrement?: number): void;
|
|
162
|
-
stepUp(stepDecrement?: number): void;
|
|
163
|
-
reset(): void;
|
|
164
|
-
focus(): void;
|
|
165
|
-
protected renderMainSlot(): import("lit-html").TemplateResult<1>;
|
|
166
|
-
render(): import("lit-html").TemplateResult<1>;
|
|
167
|
-
}
|
|
168
|
-
//# sourceMappingURL=extendable-outlined-text-field.d.ts.map
|
|
@@ -1,373 +0,0 @@
|
|
|
1
|
-
import { __decorate } from "tslib";
|
|
2
|
-
import '@material/web/textfield/outlined-text-field';
|
|
3
|
-
import { LitElement, html } from 'lit';
|
|
4
|
-
import { property, query } from 'lit/decorators.js';
|
|
5
|
-
import { stringConverter } from '@material/web/internal/controller/string-converter';
|
|
6
|
-
import { redispatchEvent } from '@material/web/internal/events/redispatch-event';
|
|
7
|
-
export class ExtendableOutlinedTextField extends LitElement {
|
|
8
|
-
#input_accessor_storage;
|
|
9
|
-
get input() { return this.#input_accessor_storage; }
|
|
10
|
-
set input(value) { this.#input_accessor_storage = value; }
|
|
11
|
-
#error_accessor_storage = false;
|
|
12
|
-
/**
|
|
13
|
-
* Gets or sets whether or not the text field is in a visually invalid state.
|
|
14
|
-
*
|
|
15
|
-
* This error state overrides the error state controlled by
|
|
16
|
-
* `reportValidity()`.
|
|
17
|
-
*/
|
|
18
|
-
get error() { return this.#error_accessor_storage; }
|
|
19
|
-
set error(value) { this.#error_accessor_storage = value; }
|
|
20
|
-
#disabled_accessor_storage = false;
|
|
21
|
-
get disabled() { return this.#disabled_accessor_storage; }
|
|
22
|
-
set disabled(value) { this.#disabled_accessor_storage = value; }
|
|
23
|
-
#errorText_accessor_storage = '';
|
|
24
|
-
/**
|
|
25
|
-
* The error message that replaces supporting text when `error` is true. If
|
|
26
|
-
* `errorText` is an empty string, then the supporting text will continue to
|
|
27
|
-
* show.
|
|
28
|
-
*
|
|
29
|
-
* This error message overrides the error message displayed by
|
|
30
|
-
* `reportValidity()`.
|
|
31
|
-
*/
|
|
32
|
-
get errorText() { return this.#errorText_accessor_storage; }
|
|
33
|
-
set errorText(value) { this.#errorText_accessor_storage = value; }
|
|
34
|
-
#label_accessor_storage = '';
|
|
35
|
-
get label() { return this.#label_accessor_storage; }
|
|
36
|
-
set label(value) { this.#label_accessor_storage = value; }
|
|
37
|
-
#required_accessor_storage = false;
|
|
38
|
-
get required() { return this.#required_accessor_storage; }
|
|
39
|
-
set required(value) { this.#required_accessor_storage = value; }
|
|
40
|
-
#value_accessor_storage = '';
|
|
41
|
-
/**
|
|
42
|
-
* The current value of the text field. It is always a string.
|
|
43
|
-
*/
|
|
44
|
-
get value() { return this.#value_accessor_storage; }
|
|
45
|
-
set value(value) { this.#value_accessor_storage = value; }
|
|
46
|
-
#prefixText_accessor_storage = '';
|
|
47
|
-
/**
|
|
48
|
-
* An optional prefix to display before the input value.
|
|
49
|
-
*/
|
|
50
|
-
get prefixText() { return this.#prefixText_accessor_storage; }
|
|
51
|
-
set prefixText(value) { this.#prefixText_accessor_storage = value; }
|
|
52
|
-
#suffixText_accessor_storage = '';
|
|
53
|
-
/**
|
|
54
|
-
* An optional suffix to display after the input value.
|
|
55
|
-
*/
|
|
56
|
-
get suffixText() { return this.#suffixText_accessor_storage; }
|
|
57
|
-
set suffixText(value) { this.#suffixText_accessor_storage = value; }
|
|
58
|
-
#hasLeadingIcon_accessor_storage = false;
|
|
59
|
-
/**
|
|
60
|
-
* Whether or not the text field has a leading icon. Used for SSR.
|
|
61
|
-
*/
|
|
62
|
-
get hasLeadingIcon() { return this.#hasLeadingIcon_accessor_storage; }
|
|
63
|
-
set hasLeadingIcon(value) { this.#hasLeadingIcon_accessor_storage = value; }
|
|
64
|
-
#hasTrailingIcon_accessor_storage = false;
|
|
65
|
-
/**
|
|
66
|
-
* Whether or not the text field has a trailing icon. Used for SSR.
|
|
67
|
-
*/
|
|
68
|
-
get hasTrailingIcon() { return this.#hasTrailingIcon_accessor_storage; }
|
|
69
|
-
set hasTrailingIcon(value) { this.#hasTrailingIcon_accessor_storage = value; }
|
|
70
|
-
#supportingText_accessor_storage = '';
|
|
71
|
-
/**
|
|
72
|
-
* Conveys additional information below the text field, such as how it should
|
|
73
|
-
* be used.
|
|
74
|
-
*/
|
|
75
|
-
get supportingText() { return this.#supportingText_accessor_storage; }
|
|
76
|
-
set supportingText(value) { this.#supportingText_accessor_storage = value; }
|
|
77
|
-
#textDirection_accessor_storage = '';
|
|
78
|
-
/**
|
|
79
|
-
* Override the input text CSS `direction`. Useful for RTL languages that use
|
|
80
|
-
* LTR notation for fractions.
|
|
81
|
-
*/
|
|
82
|
-
get textDirection() { return this.#textDirection_accessor_storage; }
|
|
83
|
-
set textDirection(value) { this.#textDirection_accessor_storage = value; }
|
|
84
|
-
#rows_accessor_storage = 2;
|
|
85
|
-
/**
|
|
86
|
-
* The number of rows to display for a `type="textarea"` text field.
|
|
87
|
-
* Defaults to 2.
|
|
88
|
-
*/
|
|
89
|
-
get rows() { return this.#rows_accessor_storage; }
|
|
90
|
-
set rows(value) { this.#rows_accessor_storage = value; }
|
|
91
|
-
#cols_accessor_storage = 20;
|
|
92
|
-
/**
|
|
93
|
-
* The number of cols to display for a `type="textarea"` text field.
|
|
94
|
-
* Defaults to 20.
|
|
95
|
-
*/
|
|
96
|
-
get cols() { return this.#cols_accessor_storage; }
|
|
97
|
-
set cols(value) { this.#cols_accessor_storage = value; }
|
|
98
|
-
#inputMode_accessor_storage = '';
|
|
99
|
-
// <input> properties
|
|
100
|
-
get inputMode() { return this.#inputMode_accessor_storage; }
|
|
101
|
-
set inputMode(value) { this.#inputMode_accessor_storage = value; }
|
|
102
|
-
#max_accessor_storage = '';
|
|
103
|
-
/**
|
|
104
|
-
* Defines the greatest value in the range of permitted values.
|
|
105
|
-
*
|
|
106
|
-
* https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#max
|
|
107
|
-
*/
|
|
108
|
-
get max() { return this.#max_accessor_storage; }
|
|
109
|
-
set max(value) { this.#max_accessor_storage = value; }
|
|
110
|
-
#maxLength_accessor_storage = -1;
|
|
111
|
-
/**
|
|
112
|
-
* The maximum number of characters a user can enter into the text field. Set
|
|
113
|
-
* to -1 for none.
|
|
114
|
-
*
|
|
115
|
-
* https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#maxlength
|
|
116
|
-
*/
|
|
117
|
-
get maxLength() { return this.#maxLength_accessor_storage; }
|
|
118
|
-
set maxLength(value) { this.#maxLength_accessor_storage = value; }
|
|
119
|
-
#min_accessor_storage = '';
|
|
120
|
-
/**
|
|
121
|
-
* Defines the most negative value in the range of permitted values.
|
|
122
|
-
*
|
|
123
|
-
* https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#min
|
|
124
|
-
*/
|
|
125
|
-
get min() { return this.#min_accessor_storage; }
|
|
126
|
-
set min(value) { this.#min_accessor_storage = value; }
|
|
127
|
-
#minLength_accessor_storage = -1;
|
|
128
|
-
/**
|
|
129
|
-
* The minimum number of characters a user can enter into the text field. Set
|
|
130
|
-
* to -1 for none.
|
|
131
|
-
*
|
|
132
|
-
* https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#minlength
|
|
133
|
-
*/
|
|
134
|
-
get minLength() { return this.#minLength_accessor_storage; }
|
|
135
|
-
set minLength(value) { this.#minLength_accessor_storage = value; }
|
|
136
|
-
#pattern_accessor_storage = '';
|
|
137
|
-
/**
|
|
138
|
-
* A regular expression that the text field's value must match to pass
|
|
139
|
-
* constraint validation.
|
|
140
|
-
*
|
|
141
|
-
* https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#pattern
|
|
142
|
-
*/
|
|
143
|
-
get pattern() { return this.#pattern_accessor_storage; }
|
|
144
|
-
set pattern(value) { this.#pattern_accessor_storage = value; }
|
|
145
|
-
#placeholder_accessor_storage = '';
|
|
146
|
-
get placeholder() { return this.#placeholder_accessor_storage; }
|
|
147
|
-
set placeholder(value) { this.#placeholder_accessor_storage = value; }
|
|
148
|
-
#readOnly_accessor_storage = false;
|
|
149
|
-
/**
|
|
150
|
-
* Indicates whether or not a user should be able to edit the text field's
|
|
151
|
-
* value.
|
|
152
|
-
*
|
|
153
|
-
* https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#readonly
|
|
154
|
-
*/
|
|
155
|
-
get readOnly() { return this.#readOnly_accessor_storage; }
|
|
156
|
-
set readOnly(value) { this.#readOnly_accessor_storage = value; }
|
|
157
|
-
#multiple_accessor_storage = false;
|
|
158
|
-
/**
|
|
159
|
-
* Indicates that input accepts multiple email addresses.
|
|
160
|
-
*
|
|
161
|
-
* https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/email#multiple
|
|
162
|
-
*/
|
|
163
|
-
get multiple() { return this.#multiple_accessor_storage; }
|
|
164
|
-
set multiple(value) { this.#multiple_accessor_storage = value; }
|
|
165
|
-
#step_accessor_storage = '';
|
|
166
|
-
/**
|
|
167
|
-
* Returns or sets the element's step attribute, which works with min and max
|
|
168
|
-
* to limit the increments at which a numeric or date-time value can be set.
|
|
169
|
-
*
|
|
170
|
-
* https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#step
|
|
171
|
-
*/
|
|
172
|
-
get step() { return this.#step_accessor_storage; }
|
|
173
|
-
set step(value) { this.#step_accessor_storage = value; }
|
|
174
|
-
#type_accessor_storage = 'text';
|
|
175
|
-
/**
|
|
176
|
-
* The `<input>` type to use, defaults to "text". The type greatly changes how
|
|
177
|
-
* the text field behaves.
|
|
178
|
-
*
|
|
179
|
-
* Text fields support a limited number of `<input>` types:
|
|
180
|
-
*
|
|
181
|
-
* - text
|
|
182
|
-
* - textarea
|
|
183
|
-
* - email
|
|
184
|
-
* - number
|
|
185
|
-
* - password
|
|
186
|
-
* - search
|
|
187
|
-
* - tel
|
|
188
|
-
* - url
|
|
189
|
-
*
|
|
190
|
-
* See
|
|
191
|
-
* https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#input_types
|
|
192
|
-
* for more details on each input type.
|
|
193
|
-
*/
|
|
194
|
-
get type() { return this.#type_accessor_storage; }
|
|
195
|
-
set type(value) { this.#type_accessor_storage = value; }
|
|
196
|
-
#autocomplete_accessor_storage = '';
|
|
197
|
-
/**
|
|
198
|
-
* Describes what, if any, type of autocomplete functionality the input
|
|
199
|
-
* should provide.
|
|
200
|
-
*
|
|
201
|
-
* https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete
|
|
202
|
-
*/
|
|
203
|
-
get autocomplete() { return this.#autocomplete_accessor_storage; }
|
|
204
|
-
set autocomplete(value) { this.#autocomplete_accessor_storage = value; }
|
|
205
|
-
#spellcheck_accessor_storage;
|
|
206
|
-
/**
|
|
207
|
-
* Describes what, if any, type of spellcheck functionality the input
|
|
208
|
-
* should provide.
|
|
209
|
-
*
|
|
210
|
-
* https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/spellcheck
|
|
211
|
-
*/
|
|
212
|
-
get spellcheck() { return this.#spellcheck_accessor_storage; }
|
|
213
|
-
set spellcheck(value) { this.#spellcheck_accessor_storage = value; }
|
|
214
|
-
checkValidity() {
|
|
215
|
-
return this.input.checkValidity();
|
|
216
|
-
}
|
|
217
|
-
reportValidity() {
|
|
218
|
-
return this.input.reportValidity();
|
|
219
|
-
}
|
|
220
|
-
select() {
|
|
221
|
-
this.input.select();
|
|
222
|
-
}
|
|
223
|
-
setCustomValidity(error) {
|
|
224
|
-
this.input.setCustomValidity(error);
|
|
225
|
-
}
|
|
226
|
-
setRangeText(replacement, start, end, selectionMode) {
|
|
227
|
-
this.input.setRangeText(replacement, start, end, selectionMode);
|
|
228
|
-
}
|
|
229
|
-
setSelectionRange(start, end, direction) {
|
|
230
|
-
this.input.setSelectionRange(start, end, direction);
|
|
231
|
-
}
|
|
232
|
-
stepDown(stepDecrement) {
|
|
233
|
-
this.input.stepDown(stepDecrement);
|
|
234
|
-
}
|
|
235
|
-
stepUp(stepDecrement) {
|
|
236
|
-
this.input.stepUp(stepDecrement);
|
|
237
|
-
}
|
|
238
|
-
reset() {
|
|
239
|
-
this.input.reset();
|
|
240
|
-
}
|
|
241
|
-
focus() {
|
|
242
|
-
this.input.focus();
|
|
243
|
-
}
|
|
244
|
-
renderMainSlot() {
|
|
245
|
-
return html `
|
|
246
|
-
<slot></slot>
|
|
247
|
-
<slot name="trailing-icon" slot="trailing-icon"></slot>
|
|
248
|
-
<slot name="leading-icon" slot="leading-icon"></slot>
|
|
249
|
-
`;
|
|
250
|
-
}
|
|
251
|
-
render() {
|
|
252
|
-
return html `
|
|
253
|
-
<md-outlined-text-field
|
|
254
|
-
part="text-field"
|
|
255
|
-
@input=${(e) => (this.value = e.target.value)}
|
|
256
|
-
@blur=${(e) => redispatchEvent(this, e)}
|
|
257
|
-
@focus=${(e) => redispatchEvent(this, e)}
|
|
258
|
-
@change=${(e) => redispatchEvent(this, e)}
|
|
259
|
-
@invalid=${(e) => redispatchEvent(this, e)}
|
|
260
|
-
.disabled=${this.disabled}
|
|
261
|
-
.required=${this.required}
|
|
262
|
-
.error=${this.error}
|
|
263
|
-
.autocomplete=${this.autocomplete}
|
|
264
|
-
.spellcheck=${this.spellcheck}
|
|
265
|
-
.errorText=${this.errorText}
|
|
266
|
-
.hasLeadingIcon=${this.hasLeadingIcon}
|
|
267
|
-
.hasTrailingIcon=${this.hasTrailingIcon}
|
|
268
|
-
.label=${this.label}
|
|
269
|
-
.max=${this.max}
|
|
270
|
-
.maxLength=${this.maxLength}
|
|
271
|
-
.minLength=${this.minLength}
|
|
272
|
-
.pattern=${this.pattern}
|
|
273
|
-
.placeholder=${this.placeholder}
|
|
274
|
-
.prefixText=${this.prefixText}
|
|
275
|
-
.readOnly=${this.readOnly}
|
|
276
|
-
.rows=${this.rows}
|
|
277
|
-
.step=${this.step}
|
|
278
|
-
.suffixText=${this.suffixText}
|
|
279
|
-
.supportingText=${this.supportingText}
|
|
280
|
-
.textDirection=${this.textDirection}
|
|
281
|
-
.type=${this.type}
|
|
282
|
-
.value=${this.value}
|
|
283
|
-
>
|
|
284
|
-
${this.renderMainSlot()}
|
|
285
|
-
</md-outlined-text-field>
|
|
286
|
-
`;
|
|
287
|
-
}
|
|
288
|
-
}
|
|
289
|
-
__decorate([
|
|
290
|
-
query('md-outlined-text-field')
|
|
291
|
-
], ExtendableOutlinedTextField.prototype, "input", null);
|
|
292
|
-
__decorate([
|
|
293
|
-
property({ type: Boolean, reflect: true })
|
|
294
|
-
], ExtendableOutlinedTextField.prototype, "error", null);
|
|
295
|
-
__decorate([
|
|
296
|
-
property({ type: Boolean, reflect: true })
|
|
297
|
-
], ExtendableOutlinedTextField.prototype, "disabled", null);
|
|
298
|
-
__decorate([
|
|
299
|
-
property({ attribute: 'error-text' })
|
|
300
|
-
], ExtendableOutlinedTextField.prototype, "errorText", null);
|
|
301
|
-
__decorate([
|
|
302
|
-
property()
|
|
303
|
-
], ExtendableOutlinedTextField.prototype, "label", null);
|
|
304
|
-
__decorate([
|
|
305
|
-
property({ type: Boolean, reflect: true })
|
|
306
|
-
], ExtendableOutlinedTextField.prototype, "required", null);
|
|
307
|
-
__decorate([
|
|
308
|
-
property()
|
|
309
|
-
], ExtendableOutlinedTextField.prototype, "value", null);
|
|
310
|
-
__decorate([
|
|
311
|
-
property({ attribute: 'prefix-text' })
|
|
312
|
-
], ExtendableOutlinedTextField.prototype, "prefixText", null);
|
|
313
|
-
__decorate([
|
|
314
|
-
property({ attribute: 'suffix-text' })
|
|
315
|
-
], ExtendableOutlinedTextField.prototype, "suffixText", null);
|
|
316
|
-
__decorate([
|
|
317
|
-
property({ type: Boolean, attribute: 'has-leading-icon' })
|
|
318
|
-
], ExtendableOutlinedTextField.prototype, "hasLeadingIcon", null);
|
|
319
|
-
__decorate([
|
|
320
|
-
property({ type: Boolean, attribute: 'has-trailing-icon' })
|
|
321
|
-
], ExtendableOutlinedTextField.prototype, "hasTrailingIcon", null);
|
|
322
|
-
__decorate([
|
|
323
|
-
property({ attribute: 'supporting-text' })
|
|
324
|
-
], ExtendableOutlinedTextField.prototype, "supportingText", null);
|
|
325
|
-
__decorate([
|
|
326
|
-
property({ attribute: 'text-direction' })
|
|
327
|
-
], ExtendableOutlinedTextField.prototype, "textDirection", null);
|
|
328
|
-
__decorate([
|
|
329
|
-
property({ type: Number })
|
|
330
|
-
], ExtendableOutlinedTextField.prototype, "rows", null);
|
|
331
|
-
__decorate([
|
|
332
|
-
property({ type: Number })
|
|
333
|
-
], ExtendableOutlinedTextField.prototype, "cols", null);
|
|
334
|
-
__decorate([
|
|
335
|
-
property({ reflect: true })
|
|
336
|
-
], ExtendableOutlinedTextField.prototype, "inputMode", null);
|
|
337
|
-
__decorate([
|
|
338
|
-
property()
|
|
339
|
-
], ExtendableOutlinedTextField.prototype, "max", null);
|
|
340
|
-
__decorate([
|
|
341
|
-
property({ type: Number })
|
|
342
|
-
], ExtendableOutlinedTextField.prototype, "maxLength", null);
|
|
343
|
-
__decorate([
|
|
344
|
-
property()
|
|
345
|
-
], ExtendableOutlinedTextField.prototype, "min", null);
|
|
346
|
-
__decorate([
|
|
347
|
-
property({ type: Number })
|
|
348
|
-
], ExtendableOutlinedTextField.prototype, "minLength", null);
|
|
349
|
-
__decorate([
|
|
350
|
-
property()
|
|
351
|
-
], ExtendableOutlinedTextField.prototype, "pattern", null);
|
|
352
|
-
__decorate([
|
|
353
|
-
property({ reflect: true, converter: stringConverter })
|
|
354
|
-
], ExtendableOutlinedTextField.prototype, "placeholder", null);
|
|
355
|
-
__decorate([
|
|
356
|
-
property({ type: Boolean, reflect: true })
|
|
357
|
-
], ExtendableOutlinedTextField.prototype, "readOnly", null);
|
|
358
|
-
__decorate([
|
|
359
|
-
property({ type: Boolean, reflect: true })
|
|
360
|
-
], ExtendableOutlinedTextField.prototype, "multiple", null);
|
|
361
|
-
__decorate([
|
|
362
|
-
property()
|
|
363
|
-
], ExtendableOutlinedTextField.prototype, "step", null);
|
|
364
|
-
__decorate([
|
|
365
|
-
property({ reflect: true })
|
|
366
|
-
], ExtendableOutlinedTextField.prototype, "type", null);
|
|
367
|
-
__decorate([
|
|
368
|
-
property({ reflect: true, type: String })
|
|
369
|
-
], ExtendableOutlinedTextField.prototype, "autocomplete", null);
|
|
370
|
-
__decorate([
|
|
371
|
-
property({ reflect: true, type: Boolean })
|
|
372
|
-
], ExtendableOutlinedTextField.prototype, "spellcheck", null);
|
|
373
|
-
//# sourceMappingURL=extendable-outlined-text-field.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"extendable-outlined-text-field.js","sourceRoot":"","sources":["extendable-outlined-text-field.ts"],"names":[],"mappings":";AAAA,OAAO,6CAA6C,CAAC;AAGrD,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,KAAK,CAAC;AACvC,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,eAAe,EAAE,MAAM,oDAAoD,CAAC;AAGrF,OAAO,EAAE,eAAe,EAAE,MAAM,gDAAgD,CAAC;AAEjF,MAAM,OAAO,2BAA4B,SAAQ,UAAU;IACf,wBAA2B;IAA3B,IAAA,KAAK,2CAAsB;IAA3B,IAAA,KAAK,iDAAsB;IAQhB,0BAAQ,KAAK,CAAC;IANnE;;;;;OAKG;IACkD,IAAA,KAAK,2CAAS;IAAd,IAAA,KAAK,iDAAS;IAEd,6BAAW,KAAK,CAAC;IAAjB,IAAA,QAAQ,8CAAS;IAAjB,IAAA,QAAQ,oDAAS;IAUtB,8BAAY,EAAE,CAAC;IAR/D;;;;;;;OAOG;IAC6C,IAAA,SAAS,+CAAM;IAAf,IAAA,SAAS,qD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AAI,EAAE,CAAC;uDAAkE;AAQ1C;IAAnD,QAAQ,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;+DAA4B;AAQjB;IAApD,QAAQ,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;6DAAqB"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { LitElement } from 'lit';
|
|
2
|
-
import '@material/web/progress/linear-progress';
|
|
3
|
-
/**
|
|
4
|
-
* A simple full-screen veil with loading indicator that uses promise driven pending-state-events
|
|
5
|
-
*
|
|
6
|
-
* @element titanium-full-page-loading-indicator
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
*/
|
|
10
|
-
export declare class TitaniumFullPageLoadingIndicator extends LitElement {
|
|
11
|
-
#private;
|
|
12
|
-
private accessor open;
|
|
13
|
-
firstUpdated(): void;
|
|
14
|
-
static styles: import("lit").CSSResult;
|
|
15
|
-
render(): import("lit-html").TemplateResult<1>;
|
|
16
|
-
}
|
|
17
|
-
//# sourceMappingURL=full-page-loading-indicator.d.ts.map
|
|
@@ -1,121 +0,0 @@
|
|
|
1
|
-
import { __decorate } from "tslib";
|
|
2
|
-
import { css, html, LitElement } from 'lit';
|
|
3
|
-
import { customElement, state } from 'lit/decorators.js';
|
|
4
|
-
import { PendingStateEvent } from '../types/pending-state-event';
|
|
5
|
-
import '@material/web/progress/linear-progress';
|
|
6
|
-
/**
|
|
7
|
-
* A simple full-screen veil with loading indicator that uses promise driven pending-state-events
|
|
8
|
-
*
|
|
9
|
-
* @element titanium-full-page-loading-indicator
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
*/
|
|
13
|
-
let TitaniumFullPageLoadingIndicator = class TitaniumFullPageLoadingIndicator extends LitElement {
|
|
14
|
-
#open_accessor_storage;
|
|
15
|
-
get open() { return this.#open_accessor_storage; }
|
|
16
|
-
set open(value) { this.#open_accessor_storage = value; }
|
|
17
|
-
#openDelayTimer;
|
|
18
|
-
#closeDelayTimer;
|
|
19
|
-
//Promises faster than this do not cause the scrim to open at all
|
|
20
|
-
//Prevents flicker for fast promises
|
|
21
|
-
#openDelay = 75;
|
|
22
|
-
// min time scrim has to remain open
|
|
23
|
-
#minTimeOpen = 350;
|
|
24
|
-
#timeOpen;
|
|
25
|
-
#openCount = 0;
|
|
26
|
-
firstUpdated() {
|
|
27
|
-
this.popover = 'manual';
|
|
28
|
-
this.addEventListener('toggle', (e) => (this.open = e.newState === 'open'));
|
|
29
|
-
window.addEventListener(PendingStateEvent.eventType, async (e) => {
|
|
30
|
-
this.#open();
|
|
31
|
-
this.#openCount++;
|
|
32
|
-
try {
|
|
33
|
-
await e.detail.promise;
|
|
34
|
-
}
|
|
35
|
-
catch {
|
|
36
|
-
// Do nothing, this will be handled by others
|
|
37
|
-
}
|
|
38
|
-
finally {
|
|
39
|
-
this.#openCount--;
|
|
40
|
-
if (this.#openCount === 0) {
|
|
41
|
-
this.#close();
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
});
|
|
45
|
-
}
|
|
46
|
-
#open() {
|
|
47
|
-
window.clearTimeout(this.#openDelayTimer);
|
|
48
|
-
//If re-opened while close timer is running, prevent the close
|
|
49
|
-
window.clearTimeout(this.#closeDelayTimer);
|
|
50
|
-
this.#openDelayTimer = window.setTimeout(() => {
|
|
51
|
-
this.#timeOpen = performance.now();
|
|
52
|
-
if (this.showPopover) {
|
|
53
|
-
this.showPopover();
|
|
54
|
-
}
|
|
55
|
-
else {
|
|
56
|
-
this.open = true;
|
|
57
|
-
}
|
|
58
|
-
this.style.display = 'block';
|
|
59
|
-
}, this.#openDelay);
|
|
60
|
-
}
|
|
61
|
-
#close() {
|
|
62
|
-
window.clearTimeout(this.#openDelayTimer);
|
|
63
|
-
const totalTimeOpened = performance.now() - this.#timeOpen;
|
|
64
|
-
const closeDelay = Math.max(this.#minTimeOpen - totalTimeOpened, 0);
|
|
65
|
-
this.#closeDelayTimer = window.setTimeout(() => {
|
|
66
|
-
if (this.hidePopover) {
|
|
67
|
-
this.hidePopover();
|
|
68
|
-
}
|
|
69
|
-
else {
|
|
70
|
-
this.open = false;
|
|
71
|
-
}
|
|
72
|
-
this.style.display = 'none';
|
|
73
|
-
}, closeDelay);
|
|
74
|
-
}
|
|
75
|
-
static { this.styles = css `
|
|
76
|
-
:host {
|
|
77
|
-
width: 100%;
|
|
78
|
-
height: 100%;
|
|
79
|
-
max-width: 100vw;
|
|
80
|
-
max-height: 100vh;
|
|
81
|
-
|
|
82
|
-
border: 0;
|
|
83
|
-
inset: unset;
|
|
84
|
-
top: 0;
|
|
85
|
-
right: 0;
|
|
86
|
-
left: 0;
|
|
87
|
-
bottom: 0;
|
|
88
|
-
margin: 0;
|
|
89
|
-
padding: 0;
|
|
90
|
-
background: transparent;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
:host::backdrop {
|
|
94
|
-
background-color: var(--md-sys-color-scrim, #000);
|
|
95
|
-
backdrop-filter: blur(6px);
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
:host(:popover-open)::backdrop {
|
|
99
|
-
opacity: 0.32;
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
md-linear-progress {
|
|
103
|
-
position: absolute;
|
|
104
|
-
width: 100%;
|
|
105
|
-
top: 0;
|
|
106
|
-
right: 0;
|
|
107
|
-
left: 0;
|
|
108
|
-
}
|
|
109
|
-
`; }
|
|
110
|
-
render() {
|
|
111
|
-
return html ` <md-linear-progress ?indeterminate=${this.open} ?hide=${!this.open}></md-linear-progress> `;
|
|
112
|
-
}
|
|
113
|
-
};
|
|
114
|
-
__decorate([
|
|
115
|
-
state()
|
|
116
|
-
], TitaniumFullPageLoadingIndicator.prototype, "open", null);
|
|
117
|
-
TitaniumFullPageLoadingIndicator = __decorate([
|
|
118
|
-
customElement('titanium-full-page-loading-indicator')
|
|
119
|
-
], TitaniumFullPageLoadingIndicator);
|
|
120
|
-
export { TitaniumFullPageLoadingIndicator };
|
|
121
|
-
//# sourceMappingURL=full-page-loading-indicator.js.map
|