@leavittsoftware/web 8.7.1 → 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,236 @@
|
|
|
1
|
+
import { __decorate } from "tslib";
|
|
2
|
+
import { css, LitElement } from 'lit';
|
|
3
|
+
import { property, customElement, queryAsync } from 'lit/decorators.js';
|
|
4
|
+
import { repeat } from 'lit/directives/repeat.js';
|
|
5
|
+
import { literal, html } from 'lit/static-html.js';
|
|
6
|
+
import '@material/web/iconbutton/icon-button';
|
|
7
|
+
import '@material/web/select/outlined-select.js';
|
|
8
|
+
import '@material/web/select/filled-select.js';
|
|
9
|
+
import '@material/web/select/select-option.js';
|
|
10
|
+
/**
|
|
11
|
+
* Material design page control with page size selector!
|
|
12
|
+
*
|
|
13
|
+
* @element titanium-page-control
|
|
14
|
+
*
|
|
15
|
+
* @fires action - Fired when take or page is changed by click or keyboard action. Replaces `take-changed` and `page-changed`.
|
|
16
|
+
*
|
|
17
|
+
* @cssprop [--titanium-page-control-font-family=Roboto, Noto, sans-serif] - page control font family
|
|
18
|
+
*/
|
|
19
|
+
let TitaniumPageControl = class TitaniumPageControl extends LitElement {
|
|
20
|
+
#pageSizes_accessor_storage = [10, 15, 20, 50];
|
|
21
|
+
/**
|
|
22
|
+
* Available page sizes
|
|
23
|
+
*/
|
|
24
|
+
get pageSizes() { return this.#pageSizes_accessor_storage; }
|
|
25
|
+
set pageSizes(value) { this.#pageSizes_accessor_storage = value; }
|
|
26
|
+
#defaultPageSize_accessor_storage = 10;
|
|
27
|
+
/**
|
|
28
|
+
* The default page size before the user changes it
|
|
29
|
+
*/
|
|
30
|
+
get defaultPageSize() { return this.#defaultPageSize_accessor_storage; }
|
|
31
|
+
set defaultPageSize(value) { this.#defaultPageSize_accessor_storage = value; }
|
|
32
|
+
#page_accessor_storage = 0;
|
|
33
|
+
/**
|
|
34
|
+
* Current page of data the table is on
|
|
35
|
+
*/
|
|
36
|
+
get page() { return this.#page_accessor_storage; }
|
|
37
|
+
set page(value) { this.#page_accessor_storage = value; }
|
|
38
|
+
#count_accessor_storage;
|
|
39
|
+
/**
|
|
40
|
+
* Total number of items in all pages.
|
|
41
|
+
*/
|
|
42
|
+
get count() { return this.#count_accessor_storage; }
|
|
43
|
+
set count(value) { this.#count_accessor_storage = value; }
|
|
44
|
+
#localStorageKey_accessor_storage;
|
|
45
|
+
/**
|
|
46
|
+
* Local storage key to save the current page size.
|
|
47
|
+
*/
|
|
48
|
+
get localStorageKey() { return this.#localStorageKey_accessor_storage; }
|
|
49
|
+
set localStorageKey(value) { this.#localStorageKey_accessor_storage = value; }
|
|
50
|
+
#label_accessor_storage = 'Items per page';
|
|
51
|
+
/**
|
|
52
|
+
* Label for the page control. If not provided, defaults to 'Items per page'.
|
|
53
|
+
*/
|
|
54
|
+
get label() { return this.#label_accessor_storage; }
|
|
55
|
+
set label(value) { this.#label_accessor_storage = value; }
|
|
56
|
+
#disabled_accessor_storage;
|
|
57
|
+
/**
|
|
58
|
+
* Disables the page control select and page navigation buttons when true
|
|
59
|
+
*/
|
|
60
|
+
get disabled() { return this.#disabled_accessor_storage; }
|
|
61
|
+
set disabled(value) { this.#disabled_accessor_storage = value; }
|
|
62
|
+
#filled_accessor_storage = false;
|
|
63
|
+
/**
|
|
64
|
+
* Swaps out outlined select for a filled select.
|
|
65
|
+
*/
|
|
66
|
+
get filled() { return this.#filled_accessor_storage; }
|
|
67
|
+
set filled(value) { this.#filled_accessor_storage = value; }
|
|
68
|
+
#select_accessor_storage;
|
|
69
|
+
get select() { return this.#select_accessor_storage; }
|
|
70
|
+
set select(value) { this.#select_accessor_storage = value; }
|
|
71
|
+
/**
|
|
72
|
+
* Gets or sets take value and assigns it to local storage.
|
|
73
|
+
*/
|
|
74
|
+
get take() {
|
|
75
|
+
const take = Number(window.localStorage.getItem(this.localStorageKey)) || 0;
|
|
76
|
+
if (take > 0) {
|
|
77
|
+
return take;
|
|
78
|
+
}
|
|
79
|
+
const defaultTake = this.pageSizes.includes(this.defaultPageSize) ? this.defaultPageSize : (this.pageSizes?.[0] ?? 1);
|
|
80
|
+
return defaultTake;
|
|
81
|
+
}
|
|
82
|
+
set take(val) {
|
|
83
|
+
this.page = 0;
|
|
84
|
+
if (!this.pageSizes.includes(val)) {
|
|
85
|
+
this.pageSizes = [...this.pageSizes, val].sort((a, b) => a - b);
|
|
86
|
+
}
|
|
87
|
+
localStorage.setItem(this.localStorageKey, String(val));
|
|
88
|
+
}
|
|
89
|
+
#getPageStats(page, count) {
|
|
90
|
+
if (!count) {
|
|
91
|
+
return '0-0 of 0';
|
|
92
|
+
}
|
|
93
|
+
const startOfPage = count === 0 ? count : page * this.take + 1;
|
|
94
|
+
const endOfPage = (page + 1) * this.take > count ? count : (page + 1) * this.take;
|
|
95
|
+
return `${startOfPage}-${endOfPage} of ${count}`;
|
|
96
|
+
}
|
|
97
|
+
#handleNextPageClick() {
|
|
98
|
+
const nextPage = this.page + 1;
|
|
99
|
+
if (nextPage * this.take >= this.count) {
|
|
100
|
+
return;
|
|
101
|
+
}
|
|
102
|
+
this.#setPage(this.page + 1);
|
|
103
|
+
this.dispatchEvent(new CustomEvent('action', { composed: true }));
|
|
104
|
+
}
|
|
105
|
+
#handleLastPageClick() {
|
|
106
|
+
if (this.page === 0) {
|
|
107
|
+
return;
|
|
108
|
+
}
|
|
109
|
+
this.#setPage(this.page - 1);
|
|
110
|
+
this.dispatchEvent(new CustomEvent('action', { composed: true }));
|
|
111
|
+
}
|
|
112
|
+
#setPage(value) {
|
|
113
|
+
this.page = value;
|
|
114
|
+
}
|
|
115
|
+
static { this.styles = css `
|
|
116
|
+
:host {
|
|
117
|
+
display: inline-block;
|
|
118
|
+
font-family: var(--titanium-page-control-font-family, Roboto, Noto, sans-serif);
|
|
119
|
+
-webkit-font-smoothing: antialiased;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
table-controls {
|
|
123
|
+
display: flex;
|
|
124
|
+
flex-direction: row;
|
|
125
|
+
flex-wrap: wrap;
|
|
126
|
+
justify-content: start;
|
|
127
|
+
align-items: center;
|
|
128
|
+
max-width: 450px;
|
|
129
|
+
min-width: 0;
|
|
130
|
+
|
|
131
|
+
font-size: 14px;
|
|
132
|
+
font-weight: 400;
|
|
133
|
+
letter-spacing: 0.011em;
|
|
134
|
+
line-height: 20px;
|
|
135
|
+
gap: 12px;
|
|
136
|
+
user-select: none;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
table-paging {
|
|
140
|
+
display: flex;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
md-outlined-select {
|
|
144
|
+
min-width: 100px;
|
|
145
|
+
--md-outlined-field-top-space: 4px;
|
|
146
|
+
--md-outlined-field-bottom-space: 4px;
|
|
147
|
+
--md-outlined-select-text-field-container-shape: 8px;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
md-filled-select {
|
|
151
|
+
min-width: 100px;
|
|
152
|
+
overflow: hidden;
|
|
153
|
+
border-radius: 8px;
|
|
154
|
+
--md-filled-select-text-field-container-color: var(--md-sys-color-surface-container-high);
|
|
155
|
+
--md-filled-select-text-field-container-shape: 8px;
|
|
156
|
+
--md-menu-container-shape: 8px;
|
|
157
|
+
|
|
158
|
+
--md-filled-select-text-field-active-indicator-height: 0;
|
|
159
|
+
--md-filled-select-text-field-error-active-indicator-height: 0;
|
|
160
|
+
--md-filled-select-text-field-hover-active-indicator-height: 0;
|
|
161
|
+
--md-filled-select-text-field-disabled-active-indicator-height: 0;
|
|
162
|
+
|
|
163
|
+
--md-filled-field-top-space: 4px;
|
|
164
|
+
--md-filled-field-bottom-space: 4px;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
[hidden] {
|
|
168
|
+
display: none;
|
|
169
|
+
}
|
|
170
|
+
`; }
|
|
171
|
+
render() {
|
|
172
|
+
/* eslint-disable lit/binding-positions, lit/no-invalid-html */
|
|
173
|
+
return html `
|
|
174
|
+
<table-controls>
|
|
175
|
+
<div ellipsis>${this.label}</div>
|
|
176
|
+
<${this.filled ? literal `md-filled-select` : literal `md-outlined-select`}
|
|
177
|
+
?disabled=${this.disabled}
|
|
178
|
+
@request-selection=${(e) => {
|
|
179
|
+
e.stopPropagation();
|
|
180
|
+
this.take = Number(e.target.value);
|
|
181
|
+
this.dispatchEvent(new CustomEvent('action', { composed: true }));
|
|
182
|
+
}}
|
|
183
|
+
>
|
|
184
|
+
${repeat(this.pageSizes, (o) => o, (o) => html ` <md-select-option ?selected=${this.take === o} value=${o}>
|
|
185
|
+
<div slot="headline">${o}</div>
|
|
186
|
+
</md-select-option>`)}
|
|
187
|
+
</${this.filled ? literal `md-filled-select` : literal `md-outlined-select`}>
|
|
188
|
+
${this.#getPageStats(this.page, this.count)}
|
|
189
|
+
<table-paging>
|
|
190
|
+
<md-icon-button @click=${this.#handleLastPageClick} ?disabled=${this.page === 0 || !this.count || this.disabled}>
|
|
191
|
+
<md-icon>keyboard_arrow_left</md-icon>
|
|
192
|
+
</md-icon-button>
|
|
193
|
+
<md-icon-button @click=${this.#handleNextPageClick} ?disabled=${!this.count || (this.page + 1) * this.take >= this.count || this.disabled}>
|
|
194
|
+
<md-icon>keyboard_arrow_right</md-icon>
|
|
195
|
+
</md-icon-button>
|
|
196
|
+
</table-paging>
|
|
197
|
+
</table-controls>
|
|
198
|
+
`;
|
|
199
|
+
/* eslint-enable lit/binding-positions, lit/no-invalid-html */
|
|
200
|
+
}
|
|
201
|
+
};
|
|
202
|
+
__decorate([
|
|
203
|
+
property({ type: Array })
|
|
204
|
+
], TitaniumPageControl.prototype, "pageSizes", null);
|
|
205
|
+
__decorate([
|
|
206
|
+
property({ type: Number, attribute: 'default-page-size' })
|
|
207
|
+
], TitaniumPageControl.prototype, "defaultPageSize", null);
|
|
208
|
+
__decorate([
|
|
209
|
+
property({ type: Number })
|
|
210
|
+
], TitaniumPageControl.prototype, "page", null);
|
|
211
|
+
__decorate([
|
|
212
|
+
property({ type: Number })
|
|
213
|
+
], TitaniumPageControl.prototype, "count", null);
|
|
214
|
+
__decorate([
|
|
215
|
+
property({ type: String, attribute: 'local-storage-key' })
|
|
216
|
+
], TitaniumPageControl.prototype, "localStorageKey", null);
|
|
217
|
+
__decorate([
|
|
218
|
+
property({ type: String })
|
|
219
|
+
], TitaniumPageControl.prototype, "label", null);
|
|
220
|
+
__decorate([
|
|
221
|
+
property({ type: Boolean })
|
|
222
|
+
], TitaniumPageControl.prototype, "disabled", null);
|
|
223
|
+
__decorate([
|
|
224
|
+
property({ type: Boolean, attribute: 'filled' })
|
|
225
|
+
], TitaniumPageControl.prototype, "filled", null);
|
|
226
|
+
__decorate([
|
|
227
|
+
queryAsync('md-select')
|
|
228
|
+
], TitaniumPageControl.prototype, "select", null);
|
|
229
|
+
__decorate([
|
|
230
|
+
property({ type: Number })
|
|
231
|
+
], TitaniumPageControl.prototype, "take", null);
|
|
232
|
+
TitaniumPageControl = __decorate([
|
|
233
|
+
customElement('titanium-page-control')
|
|
234
|
+
], TitaniumPageControl);
|
|
235
|
+
export { TitaniumPageControl };
|
|
236
|
+
//# sourceMappingURL=page-control.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"page-control.js","sourceRoot":"","sources":["page-control.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AACtC,OAAO,EAAE,QAAQ,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACxE,OAAO,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAC;AAElD,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAEnD,OAAO,sCAAsC,CAAC;AAC9C,OAAO,yCAAyC,CAAC;AACjD,OAAO,uCAAuC,CAAC;AAC/C,OAAO,uCAAuC,CAAC;AAE/C;;;;;;;;GAQG;AAEI,IAAM,mBAAmB,GAAzB,MAAM,mBAAoB,SAAQ,UAAU;IAIb,8BAA2B,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAHhF;;OAEG;IACiC,IAAA,SAAS,+CAAmC;IAA5C,IAAA,SAAS,qDAAmC;IAKX,oCAA0B,EAAE,CAAC;IAHlG;;OAEG;IACkE,IAAA,eAAe,qDAAc;IAA7B,IAAA,eAAe,2DAAc;IAK7D,yBAAe,CAAC,CAAC;IAHtD;;OAEG;IACkC,IAAA,IAAI,0CAAa;IAAjB,IAAA,IAAI,gD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/web/field/filled-field';
|
|
4
|
+
import '@material/web/icon/icon';
|
|
5
|
+
import '@material/web/iconbutton/icon-button';
|
|
6
|
+
/**
|
|
7
|
+
* A date input the works in Firefox, Safari and Chrome
|
|
8
|
+
*
|
|
9
|
+
* @element titanium-date-input
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
export declare class TitaniumDateInput extends LitElement {
|
|
13
|
+
constructor();
|
|
14
|
+
static readonly formAssociated = true;
|
|
15
|
+
private readonly onInvalid;
|
|
16
|
+
attributeChangedCallback(attribute: string, newValue: string | null, oldValue: string | null): void;
|
|
17
|
+
connectedCallback(): void;
|
|
18
|
+
disconnectedCallback(): void;
|
|
19
|
+
/**
|
|
20
|
+
* Whether or not the input should be disabled
|
|
21
|
+
*/
|
|
22
|
+
accessor disabled: boolean;
|
|
23
|
+
/**
|
|
24
|
+
* Gets or sets whether or not the text field is in a visually invalid state.
|
|
25
|
+
*
|
|
26
|
+
* This error state overrides the error state controlled by
|
|
27
|
+
* `reportValidity()`.
|
|
28
|
+
*/
|
|
29
|
+
accessor error: boolean;
|
|
30
|
+
/**
|
|
31
|
+
* The error message that replaces supporting text when `error` is true. If
|
|
32
|
+
* `errorText` is an empty string, then the supporting text will continue to
|
|
33
|
+
* show.
|
|
34
|
+
*
|
|
35
|
+
* This error message overrides the error message displayed by
|
|
36
|
+
* `reportValidity()`.
|
|
37
|
+
*/
|
|
38
|
+
accessor errorText: string;
|
|
39
|
+
/**
|
|
40
|
+
* Whether or not to show an asterisk next to the label.
|
|
41
|
+
*/
|
|
42
|
+
accessor noAsterisk: boolean;
|
|
43
|
+
accessor label: string;
|
|
44
|
+
/**
|
|
45
|
+
* Swaps out outlined text field for a filled text field.
|
|
46
|
+
*/
|
|
47
|
+
accessor filled: boolean;
|
|
48
|
+
accessor required: boolean;
|
|
49
|
+
/**
|
|
50
|
+
* The current value of the text field. It is always a string.
|
|
51
|
+
*/
|
|
52
|
+
accessor value: string;
|
|
53
|
+
/**
|
|
54
|
+
* An optional prefix to display before the input value.
|
|
55
|
+
*/
|
|
56
|
+
accessor prefixText: string;
|
|
57
|
+
/**
|
|
58
|
+
* An optional suffix to display after the input value.
|
|
59
|
+
*/
|
|
60
|
+
accessor suffixText: string;
|
|
61
|
+
/**
|
|
62
|
+
* Whether or not the text field has a leading icon. Used for SSR.
|
|
63
|
+
*/
|
|
64
|
+
accessor hasLeadingIcon: boolean;
|
|
65
|
+
/**
|
|
66
|
+
* Whether or not the text field has a trailing icon. Used for SSR.
|
|
67
|
+
*/
|
|
68
|
+
accessor hasTrailingIcon: boolean;
|
|
69
|
+
/**
|
|
70
|
+
* Defines the greatest value in the range of permitted values.
|
|
71
|
+
*
|
|
72
|
+
* https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#max
|
|
73
|
+
*/
|
|
74
|
+
accessor max: string;
|
|
75
|
+
/**
|
|
76
|
+
* The maximum number of characters a user can enter into the text field. Set
|
|
77
|
+
* to -1 for none.
|
|
78
|
+
*
|
|
79
|
+
* https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#maxlength
|
|
80
|
+
*/
|
|
81
|
+
accessor maxLength: number;
|
|
82
|
+
/**
|
|
83
|
+
* Defines the most negative value in the range of permitted values.
|
|
84
|
+
*
|
|
85
|
+
* https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#min
|
|
86
|
+
*/
|
|
87
|
+
accessor min: string;
|
|
88
|
+
/**
|
|
89
|
+
* Conveys additional information below the text field, such as how it should
|
|
90
|
+
* be used.
|
|
91
|
+
*/
|
|
92
|
+
accessor supportingText: string;
|
|
93
|
+
accessor placeholder: string;
|
|
94
|
+
accessor type: 'date' | 'datetime-local';
|
|
95
|
+
/**
|
|
96
|
+
* Returns true when the text field has been interacted with. Native
|
|
97
|
+
* validation errors only display in response to user interactions.
|
|
98
|
+
*/
|
|
99
|
+
private accessor dirty;
|
|
100
|
+
private accessor focused;
|
|
101
|
+
/**
|
|
102
|
+
* Whether or not a native error has been reported via `reportValidity()`.
|
|
103
|
+
*/
|
|
104
|
+
private accessor nativeError;
|
|
105
|
+
/**
|
|
106
|
+
* The validation message displayed from a native error via
|
|
107
|
+
* `reportValidity()`.
|
|
108
|
+
*/
|
|
109
|
+
private accessor nativeErrorText;
|
|
110
|
+
/**
|
|
111
|
+
* Describes what, if any, type of autocomplete functionality the input
|
|
112
|
+
* should provide.
|
|
113
|
+
*
|
|
114
|
+
* https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete
|
|
115
|
+
*/
|
|
116
|
+
accessor autocomplete: string;
|
|
117
|
+
private accessor input;
|
|
118
|
+
private accessor leadingIcons;
|
|
119
|
+
private accessor trailingIcons;
|
|
120
|
+
private isCheckingValidity;
|
|
121
|
+
private isReportingValidity;
|
|
122
|
+
private hasCustomValidityError;
|
|
123
|
+
private internals_;
|
|
124
|
+
checkValidity(): boolean;
|
|
125
|
+
reportValidity(): boolean;
|
|
126
|
+
get validationMessage(): string;
|
|
127
|
+
/**
|
|
128
|
+
* Returns a `ValidityState` object that represents the validity states of the
|
|
129
|
+
* text field.
|
|
130
|
+
*
|
|
131
|
+
* https://developer.mozilla.org/en-US/docs/Web/API/ValidityState
|
|
132
|
+
*/
|
|
133
|
+
get validity(): ValidityState;
|
|
134
|
+
private syncValidity;
|
|
135
|
+
private handleIconChange;
|
|
136
|
+
private getErrorText;
|
|
137
|
+
private showErrorMessage;
|
|
138
|
+
/**
|
|
139
|
+
* Selects all the text in the text field.
|
|
140
|
+
*
|
|
141
|
+
* https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/select
|
|
142
|
+
*/
|
|
143
|
+
select(): void;
|
|
144
|
+
setCustomValidity(error: string): void;
|
|
145
|
+
reset(): void;
|
|
146
|
+
static styles: import("lit").CSSResult;
|
|
147
|
+
protected render(): import("lit-html").TemplateResult;
|
|
148
|
+
}
|
|
149
|
+
//# sourceMappingURL=date-input.d.ts.map
|