@leavittsoftware/web 8.7.0 → 8.7.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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 -52
- package/titanium/drawer/drawer.js +0 -423
- 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,688 +0,0 @@
|
|
|
1
|
-
import { __decorate } from "tslib";
|
|
2
|
-
import './page-control';
|
|
3
|
-
import '@material/web/checkbox/checkbox';
|
|
4
|
-
import '@material/web/progress/linear-progress';
|
|
5
|
-
import '@material/web/icon/icon';
|
|
6
|
-
import { css, html, LitElement } from 'lit';
|
|
7
|
-
import { property, customElement, query, queryAsync, state } from 'lit/decorators.js';
|
|
8
|
-
import { DataTableItemDropEvent } from './data-table-item';
|
|
9
|
-
import { h1, ellipsis } from '../../titanium/styles/styles';
|
|
10
|
-
import { niceBadgeStyles } from '../styles/nice-badge';
|
|
11
|
-
/**
|
|
12
|
-
* Material design inspired data table with paging, sorting, multi/single select, table actions, selected actions and more!
|
|
13
|
-
*
|
|
14
|
-
* @element titanium-data-table
|
|
15
|
-
*
|
|
16
|
-
* @fires selected-changed - Fired when a row or rows in the data table is selected. detail: array<unknown>
|
|
17
|
-
* @fires titanium-data-table-items-reorder - Fired when table items are resorted by user.
|
|
18
|
-
* @fires paging-changed - Fired when take or page is changed by click or keyboard action.
|
|
19
|
-
*
|
|
20
|
-
* @slot table-actions - item nonspecific table buttons such as add new item
|
|
21
|
-
* @slot filter-button - filter button slot
|
|
22
|
-
* @slot filters - filter chips slot
|
|
23
|
-
* @slot search-button - search button slot
|
|
24
|
-
* @slot selected-actions - item specific table buttons such as edit, delete shown when one or more items are selected
|
|
25
|
-
* @slot table-headers - slot for table headers (ex. titanium-data-table-header)
|
|
26
|
-
* @slot items - slot for table rows (ex. titanium-data-table-item)
|
|
27
|
-
* @slot footer - slot for additional footer items. Slotting here overwrites footer-buttons.
|
|
28
|
-
* @slot footer-buttons - slot for footer action buttons
|
|
29
|
-
*
|
|
30
|
-
* @cssprop {Color} [var(--md-sys-color-outline-variant)] - Table border color
|
|
31
|
-
* @cssprop {Color} [--titanium-data-table-font-family=Roboto, Noto, sans-serif] - Set the font family used on the data table and paging control
|
|
32
|
-
*/
|
|
33
|
-
let TitaniumDataTable = class TitaniumDataTable extends LitElement {
|
|
34
|
-
#header_accessor_storage;
|
|
35
|
-
/**
|
|
36
|
-
* Table heading / title
|
|
37
|
-
*/
|
|
38
|
-
get header() { return this.#header_accessor_storage; }
|
|
39
|
-
set header(value) { this.#header_accessor_storage = value; }
|
|
40
|
-
#localStorageKey_accessor_storage;
|
|
41
|
-
/**
|
|
42
|
-
* Local storage key. Not required if header is static and unique
|
|
43
|
-
*/
|
|
44
|
-
get localStorageKey() { return this.#localStorageKey_accessor_storage; }
|
|
45
|
-
set localStorageKey(value) { this.#localStorageKey_accessor_storage = value; }
|
|
46
|
-
#pageSizes_accessor_storage = [10, 15, 20, 50];
|
|
47
|
-
/**
|
|
48
|
-
* Available page sizes
|
|
49
|
-
*/
|
|
50
|
-
get pageSizes() { return this.#pageSizes_accessor_storage; }
|
|
51
|
-
set pageSizes(value) { this.#pageSizes_accessor_storage = value; }
|
|
52
|
-
#defaultPageSize_accessor_storage = 10;
|
|
53
|
-
/**
|
|
54
|
-
* The default page size before the user changes it
|
|
55
|
-
*/
|
|
56
|
-
get defaultPageSize() { return this.#defaultPageSize_accessor_storage; }
|
|
57
|
-
set defaultPageSize(value) { this.#defaultPageSize_accessor_storage = value; }
|
|
58
|
-
#count_accessor_storage;
|
|
59
|
-
/**
|
|
60
|
-
* Total number of items in all pages.
|
|
61
|
-
*/
|
|
62
|
-
get count() { return this.#count_accessor_storage; }
|
|
63
|
-
set count(value) { this.#count_accessor_storage = value; }
|
|
64
|
-
#items_accessor_storage = [];
|
|
65
|
-
/**
|
|
66
|
-
* Current items displayed on the table.
|
|
67
|
-
*/
|
|
68
|
-
get items() { return this.#items_accessor_storage; }
|
|
69
|
-
set items(value) { this.#items_accessor_storage = value; }
|
|
70
|
-
#searchTerm_accessor_storage;
|
|
71
|
-
/**
|
|
72
|
-
* Current search term shown in the no result state if no results are found
|
|
73
|
-
*/
|
|
74
|
-
get searchTerm() { return this.#searchTerm_accessor_storage; }
|
|
75
|
-
set searchTerm(value) { this.#searchTerm_accessor_storage = value; }
|
|
76
|
-
#singleSelect_accessor_storage;
|
|
77
|
-
/**
|
|
78
|
-
* Limits table selection mode to single-select. Default is multi-select.
|
|
79
|
-
*/
|
|
80
|
-
get singleSelect() { return this.#singleSelect_accessor_storage; }
|
|
81
|
-
set singleSelect(value) { this.#singleSelect_accessor_storage = value; }
|
|
82
|
-
#disableSelect_accessor_storage = false;
|
|
83
|
-
/**
|
|
84
|
-
* Disables all item selection on the data-table.
|
|
85
|
-
*/
|
|
86
|
-
get disableSelect() { return this.#disableSelect_accessor_storage; }
|
|
87
|
-
set disableSelect(value) { this.#disableSelect_accessor_storage = value; }
|
|
88
|
-
#disablePaging_accessor_storage = false;
|
|
89
|
-
/**
|
|
90
|
-
* Disables paging.
|
|
91
|
-
*/
|
|
92
|
-
get disablePaging() { return this.#disablePaging_accessor_storage; }
|
|
93
|
-
set disablePaging(value) { this.#disablePaging_accessor_storage = value; }
|
|
94
|
-
#selected_accessor_storage = [];
|
|
95
|
-
/**
|
|
96
|
-
* Array of currently selected data table objects
|
|
97
|
-
*/
|
|
98
|
-
get selected() { return this.#selected_accessor_storage; }
|
|
99
|
-
set selected(value) { this.#selected_accessor_storage = value; }
|
|
100
|
-
#itemsContainer_accessor_storage;
|
|
101
|
-
get itemsContainer() { return this.#itemsContainer_accessor_storage; }
|
|
102
|
-
set itemsContainer(value) { this.#itemsContainer_accessor_storage = value; }
|
|
103
|
-
#itemsSlot_accessor_storage;
|
|
104
|
-
get itemsSlot() { return this.#itemsSlot_accessor_storage; }
|
|
105
|
-
set itemsSlot(value) { this.#itemsSlot_accessor_storage = value; }
|
|
106
|
-
#narrow_accessor_storage = false;
|
|
107
|
-
get narrow() { return this.#narrow_accessor_storage; }
|
|
108
|
-
set narrow(value) { this.#narrow_accessor_storage = value; }
|
|
109
|
-
#hasDragItems_accessor_storage;
|
|
110
|
-
get hasDragItems() { return this.#hasDragItems_accessor_storage; }
|
|
111
|
-
set hasDragItems(value) { this.#hasDragItems_accessor_storage = value; }
|
|
112
|
-
#narrowMaxWidth_accessor_storage = 560;
|
|
113
|
-
get narrowMaxWidth() { return this.#narrowMaxWidth_accessor_storage; }
|
|
114
|
-
set narrowMaxWidth(value) { this.#narrowMaxWidth_accessor_storage = value; }
|
|
115
|
-
#isLoading_accessor_storage;
|
|
116
|
-
get isLoading() { return this.#isLoading_accessor_storage; }
|
|
117
|
-
set isLoading(value) { this.#isLoading_accessor_storage = value; }
|
|
118
|
-
#tableHeaders_accessor_storage;
|
|
119
|
-
get tableHeaders() { return this.#tableHeaders_accessor_storage; }
|
|
120
|
-
set tableHeaders(value) { this.#tableHeaders_accessor_storage = value; }
|
|
121
|
-
#checkbox_accessor_storage;
|
|
122
|
-
get checkbox() { return this.#checkbox_accessor_storage; }
|
|
123
|
-
set checkbox(value) { this.#checkbox_accessor_storage = value; }
|
|
124
|
-
#pageControl_accessor_storage;
|
|
125
|
-
get pageControl() { return this.#pageControl_accessor_storage; }
|
|
126
|
-
set pageControl(value) { this.#pageControl_accessor_storage = value; }
|
|
127
|
-
#openCount = 0;
|
|
128
|
-
/**
|
|
129
|
-
* returns internal pageControl's current take
|
|
130
|
-
*/
|
|
131
|
-
async getTake() {
|
|
132
|
-
return (await this.pageControl)?.take ?? 0;
|
|
133
|
-
}
|
|
134
|
-
/**
|
|
135
|
-
* returns internal pageControl's current page
|
|
136
|
-
*/
|
|
137
|
-
async getPage() {
|
|
138
|
-
return (await this.pageControl)?.page ?? 0;
|
|
139
|
-
}
|
|
140
|
-
/**
|
|
141
|
-
* sets internal pageControl's current take
|
|
142
|
-
*/
|
|
143
|
-
async setTake(take) {
|
|
144
|
-
const control = await this.pageControl;
|
|
145
|
-
if (control) {
|
|
146
|
-
control.take = take;
|
|
147
|
-
}
|
|
148
|
-
}
|
|
149
|
-
/**
|
|
150
|
-
* sets internal pageControl's current page
|
|
151
|
-
*/
|
|
152
|
-
async setPage(page) {
|
|
153
|
-
const control = await this.pageControl;
|
|
154
|
-
if (control) {
|
|
155
|
-
control.page = page;
|
|
156
|
-
}
|
|
157
|
-
}
|
|
158
|
-
/**
|
|
159
|
-
* resets internal pageControl's current page to 0
|
|
160
|
-
*/
|
|
161
|
-
async resetPage() {
|
|
162
|
-
await this.setPage(0);
|
|
163
|
-
}
|
|
164
|
-
async firstUpdated() {
|
|
165
|
-
if (typeof ResizeObserver === 'function') {
|
|
166
|
-
const ro = new ResizeObserver((entries) => {
|
|
167
|
-
for (const entry of entries) {
|
|
168
|
-
const cr = entry.contentRect;
|
|
169
|
-
this.narrow = cr.width < this.narrowMaxWidth;
|
|
170
|
-
this.updateChildrenIsNarrow();
|
|
171
|
-
}
|
|
172
|
-
});
|
|
173
|
-
ro.observe(this);
|
|
174
|
-
}
|
|
175
|
-
else {
|
|
176
|
-
const mql = window.matchMedia('(max-width: 768px)');
|
|
177
|
-
mql.addEventListener('change', (e) => {
|
|
178
|
-
this.narrow = e.matches;
|
|
179
|
-
this.updateChildrenIsNarrow();
|
|
180
|
-
});
|
|
181
|
-
this.narrow = mql.matches;
|
|
182
|
-
this.updateChildrenIsNarrow();
|
|
183
|
-
}
|
|
184
|
-
this.addEventListener(DataTableItemDropEvent.eventType, (e) => {
|
|
185
|
-
e.stopPropagation();
|
|
186
|
-
//HoverIndex cannot be dropped beyond the length of the array
|
|
187
|
-
const hoverIndex = Math.min(e.hoverIndex, this.items.length - 1);
|
|
188
|
-
//Ignore if item goes back to where it started
|
|
189
|
-
if (hoverIndex !== e.originIndex) {
|
|
190
|
-
const temp = this.items[e.originIndex];
|
|
191
|
-
this.items.splice(e.originIndex, 1);
|
|
192
|
-
this.items.splice(hoverIndex, 0, temp);
|
|
193
|
-
/**
|
|
194
|
-
* @ignore
|
|
195
|
-
*/
|
|
196
|
-
this.dispatchEvent(new DataTableItemsReorderedEvent());
|
|
197
|
-
}
|
|
198
|
-
});
|
|
199
|
-
//When slotted in items change, sync the narrow prop
|
|
200
|
-
this.tableHeaders.addEventListener('slotchange', () => this.updateChildrenIsNarrow());
|
|
201
|
-
this.itemsSlot.addEventListener('slotchange', () => this.updateChildrenIsNarrow());
|
|
202
|
-
await (await this.pageControl)?.updateComplete;
|
|
203
|
-
}
|
|
204
|
-
updateChildrenIsNarrow() {
|
|
205
|
-
this.hasDragItems = this.itemsSlot.assignedElements().some((o) => o.enableDrag);
|
|
206
|
-
this.itemsSlot.assignedElements().forEach((o) => (o.narrow = this.narrow));
|
|
207
|
-
this.tableHeaders.assignedElements().forEach((o) => (o.narrow = this.narrow));
|
|
208
|
-
}
|
|
209
|
-
/**
|
|
210
|
-
* de-select all table items and clear this.selected
|
|
211
|
-
*/
|
|
212
|
-
clearSelection() {
|
|
213
|
-
this.#deselectAll();
|
|
214
|
-
// Ensure the collection is empty, deselect can cause a race condition
|
|
215
|
-
// between deselecting and UI drawing new items.
|
|
216
|
-
if (this.selected.length > 0) {
|
|
217
|
-
this.selected = [];
|
|
218
|
-
this.#notifySelectedChanged();
|
|
219
|
-
}
|
|
220
|
-
}
|
|
221
|
-
updated(changedProps) {
|
|
222
|
-
if (changedProps.has('items') && changedProps.get('items') !== this.items) {
|
|
223
|
-
// Clear selection when items array changes.
|
|
224
|
-
this.clearSelection();
|
|
225
|
-
}
|
|
226
|
-
}
|
|
227
|
-
#notifySelectedChanged() {
|
|
228
|
-
this.dispatchEvent(new CustomEvent('selected-changed', { composed: true, detail: this.selected }));
|
|
229
|
-
}
|
|
230
|
-
/**
|
|
231
|
-
* display linear progress bar while promise is active
|
|
232
|
-
*/
|
|
233
|
-
async loadWhile(promise) {
|
|
234
|
-
this.isLoading = true;
|
|
235
|
-
this.#openCount++;
|
|
236
|
-
try {
|
|
237
|
-
await promise;
|
|
238
|
-
}
|
|
239
|
-
finally {
|
|
240
|
-
this.#openCount--;
|
|
241
|
-
if (this.#openCount === 0) {
|
|
242
|
-
this.isLoading = false;
|
|
243
|
-
}
|
|
244
|
-
}
|
|
245
|
-
}
|
|
246
|
-
#deselectAll() {
|
|
247
|
-
this.#getTableItems().forEach((o) => o.deselect());
|
|
248
|
-
}
|
|
249
|
-
/**
|
|
250
|
-
* select all table items
|
|
251
|
-
*/
|
|
252
|
-
selectAll() {
|
|
253
|
-
if (!this.singleSelect) {
|
|
254
|
-
this.#getTableItems().forEach((o) => o.select());
|
|
255
|
-
}
|
|
256
|
-
}
|
|
257
|
-
#getTableItems() {
|
|
258
|
-
return this.itemsSlot.assignedElements().filter((o) => typeof o.select === 'function' && typeof o.deselect === 'function');
|
|
259
|
-
}
|
|
260
|
-
static { this.styles = [
|
|
261
|
-
h1,
|
|
262
|
-
ellipsis,
|
|
263
|
-
niceBadgeStyles,
|
|
264
|
-
css `
|
|
265
|
-
:host {
|
|
266
|
-
display: flex;
|
|
267
|
-
flex-direction: column;
|
|
268
|
-
|
|
269
|
-
border: 1px solid var(--md-sys-color-outline-variant);
|
|
270
|
-
background-color: var(--md-sys-color-surface);
|
|
271
|
-
color: var(--md-sys-color-on-surface);
|
|
272
|
-
border-radius: 8px;
|
|
273
|
-
font-family: var(--titanium-data-table-font-family, Roboto, Noto, sans-serif);
|
|
274
|
-
--titanium-page-control-font-family: var(--titanium-data-table-font-family, Roboto, Noto, sans-serif);
|
|
275
|
-
-webkit-font-smoothing: antialiased;
|
|
276
|
-
}
|
|
277
|
-
|
|
278
|
-
header {
|
|
279
|
-
display: flex;
|
|
280
|
-
flex-direction: column;
|
|
281
|
-
padding-bottom: 12px;
|
|
282
|
-
gap: 12px;
|
|
283
|
-
border-bottom: 1px solid var(--md-sys-color-outline-variant);
|
|
284
|
-
position: relative;
|
|
285
|
-
}
|
|
286
|
-
|
|
287
|
-
/* HEADER ROW ONE */
|
|
288
|
-
|
|
289
|
-
section[row-one] {
|
|
290
|
-
display: grid;
|
|
291
|
-
grid: 'head menu' / 1fr auto;
|
|
292
|
-
gap: 8px;
|
|
293
|
-
padding: 12px 12px 0 12px;
|
|
294
|
-
}
|
|
295
|
-
|
|
296
|
-
section[row-one] div[head] {
|
|
297
|
-
grid-area: head;
|
|
298
|
-
}
|
|
299
|
-
|
|
300
|
-
section[row-one] div[menu] {
|
|
301
|
-
grid-area: menu;
|
|
302
|
-
}
|
|
303
|
-
|
|
304
|
-
div[search] {
|
|
305
|
-
grid-area: search;
|
|
306
|
-
}
|
|
307
|
-
|
|
308
|
-
/* HEADER ROW TWO */
|
|
309
|
-
|
|
310
|
-
section[row-two] {
|
|
311
|
-
display: grid;
|
|
312
|
-
grid: 'search-filter add' / 1fr auto;
|
|
313
|
-
gap: 8px;
|
|
314
|
-
padding: 0 12px 0 20px;
|
|
315
|
-
}
|
|
316
|
-
|
|
317
|
-
:host([narrow]) section[row-two] {
|
|
318
|
-
grid:
|
|
319
|
-
'search-filter '
|
|
320
|
-
'add' / auto;
|
|
321
|
-
}
|
|
322
|
-
|
|
323
|
-
section[row-two] div[search-filter] {
|
|
324
|
-
grid-area: search-filter;
|
|
325
|
-
display: flex;
|
|
326
|
-
flex-wrap: wrap;
|
|
327
|
-
align-items: center;
|
|
328
|
-
gap: 8px;
|
|
329
|
-
}
|
|
330
|
-
|
|
331
|
-
section[row-two] div[add-button] {
|
|
332
|
-
grid-area: add;
|
|
333
|
-
justify-self: end;
|
|
334
|
-
align-self: end;
|
|
335
|
-
}
|
|
336
|
-
|
|
337
|
-
h1 {
|
|
338
|
-
padding: 12px 12px 0 12px;
|
|
339
|
-
}
|
|
340
|
-
|
|
341
|
-
selected-actions {
|
|
342
|
-
display: grid;
|
|
343
|
-
gap: 6px 24px;
|
|
344
|
-
grid: 'selected-text buttons';
|
|
345
|
-
background-color: var(--md-sys-color-secondary-container);
|
|
346
|
-
position: absolute;
|
|
347
|
-
top: 0px;
|
|
348
|
-
left: 0px;
|
|
349
|
-
right: 0px;
|
|
350
|
-
bottom: 0px;
|
|
351
|
-
margin: 0 !important;
|
|
352
|
-
padding: 0 12px 12px 24px;
|
|
353
|
-
align-content: end;
|
|
354
|
-
z-index: 1;
|
|
355
|
-
}
|
|
356
|
-
|
|
357
|
-
selected-actions h2 {
|
|
358
|
-
color: var(--md-sys-color-on-secondary-container);
|
|
359
|
-
font-size: 18px;
|
|
360
|
-
font-weight: 400;
|
|
361
|
-
align-self: end;
|
|
362
|
-
}
|
|
363
|
-
|
|
364
|
-
selected-actions div[buttons] {
|
|
365
|
-
display: flex;
|
|
366
|
-
flex-wrap: wrap;
|
|
367
|
-
align-items: center;
|
|
368
|
-
gap: 0 8px;
|
|
369
|
-
justify-content: flex-end;
|
|
370
|
-
}
|
|
371
|
-
|
|
372
|
-
table-header {
|
|
373
|
-
display: flex;
|
|
374
|
-
flex-direction: row;
|
|
375
|
-
gap: 16px;
|
|
376
|
-
min-height: 48px;
|
|
377
|
-
border-bottom: 1px solid var(--md-sys-color-outline-variant);
|
|
378
|
-
}
|
|
379
|
-
|
|
380
|
-
table-header ::slotted(titanium-data-table-header:last-of-type) {
|
|
381
|
-
padding-right: 24px;
|
|
382
|
-
}
|
|
383
|
-
|
|
384
|
-
:host([has-drag-items]) table-header ::slotted(titanium-data-table-header:last-of-type) {
|
|
385
|
-
padding-right: 40px;
|
|
386
|
-
}
|
|
387
|
-
|
|
388
|
-
md-linear-progress {
|
|
389
|
-
width: 100%;
|
|
390
|
-
margin-top: -4px;
|
|
391
|
-
}
|
|
392
|
-
|
|
393
|
-
main {
|
|
394
|
-
position: relative;
|
|
395
|
-
min-height: 48px;
|
|
396
|
-
}
|
|
397
|
-
|
|
398
|
-
content-veil {
|
|
399
|
-
display: none;
|
|
400
|
-
position: absolute;
|
|
401
|
-
top: 0;
|
|
402
|
-
left: 0;
|
|
403
|
-
width: 100%;
|
|
404
|
-
height: 100%;
|
|
405
|
-
background-color: var(--md-sys-color-scrim);
|
|
406
|
-
opacity: 0;
|
|
407
|
-
-webkit-transition: opacity 75ms linear;
|
|
408
|
-
-o-transition: opacity 75ms linear;
|
|
409
|
-
transition: opacity 75ms linear;
|
|
410
|
-
z-index: 6;
|
|
411
|
-
}
|
|
412
|
-
|
|
413
|
-
content-veil[opened] {
|
|
414
|
-
opacity: 0.12;
|
|
415
|
-
display: block;
|
|
416
|
-
}
|
|
417
|
-
|
|
418
|
-
table-message {
|
|
419
|
-
display: flex;
|
|
420
|
-
place-items: center;
|
|
421
|
-
justify-content: center;
|
|
422
|
-
gap: 8px;
|
|
423
|
-
padding: 64px;
|
|
424
|
-
|
|
425
|
-
font-size: 14px;
|
|
426
|
-
z-index: 10;
|
|
427
|
-
line-height: 20px;
|
|
428
|
-
border-bottom: 1px solid var(--md-sys-color-outline-variant);
|
|
429
|
-
}
|
|
430
|
-
|
|
431
|
-
table-message md-icon {
|
|
432
|
-
align-self: center;
|
|
433
|
-
flex-shrink: 0;
|
|
434
|
-
}
|
|
435
|
-
|
|
436
|
-
footer {
|
|
437
|
-
display: grid;
|
|
438
|
-
grid: 'controls footer-slot' / minmax(400px, 1fr) auto;
|
|
439
|
-
gap: 24px;
|
|
440
|
-
padding: 12px;
|
|
441
|
-
align-items: center;
|
|
442
|
-
margin-top: -1px;
|
|
443
|
-
border-top: 1px solid var(--md-sys-color-outline-variant);
|
|
444
|
-
}
|
|
445
|
-
|
|
446
|
-
titanium-page-control {
|
|
447
|
-
grid-area: controls;
|
|
448
|
-
margin-left: 12px;
|
|
449
|
-
justify-self: start;
|
|
450
|
-
}
|
|
451
|
-
|
|
452
|
-
div[footer] {
|
|
453
|
-
justify-self: end;
|
|
454
|
-
}
|
|
455
|
-
|
|
456
|
-
:host([narrow]) footer {
|
|
457
|
-
grid:
|
|
458
|
-
'controls'
|
|
459
|
-
'footer-slot' / auto;
|
|
460
|
-
}
|
|
461
|
-
|
|
462
|
-
:host([disable-paging]) footer {
|
|
463
|
-
grid: 'footer-slot' / auto;
|
|
464
|
-
}
|
|
465
|
-
|
|
466
|
-
footer-buttons {
|
|
467
|
-
display: flex;
|
|
468
|
-
gap: 12px;
|
|
469
|
-
flex-wrap: wrap;
|
|
470
|
-
align-items: flex-end;
|
|
471
|
-
}
|
|
472
|
-
|
|
473
|
-
div[add-button] {
|
|
474
|
-
display: flex;
|
|
475
|
-
align-items: center;
|
|
476
|
-
}
|
|
477
|
-
|
|
478
|
-
div[items-slot] {
|
|
479
|
-
position: relative;
|
|
480
|
-
}
|
|
481
|
-
|
|
482
|
-
md-checkbox {
|
|
483
|
-
flex-shrink: 0;
|
|
484
|
-
align-self: center;
|
|
485
|
-
margin: 0 14px 0 20px;
|
|
486
|
-
}
|
|
487
|
-
|
|
488
|
-
:host([disable-select]) table-header ::slotted(titanium-data-table-header:first-of-type) {
|
|
489
|
-
padding-left: 24px;
|
|
490
|
-
}
|
|
491
|
-
|
|
492
|
-
:host(:not([disable-select])[single-select]) table-header {
|
|
493
|
-
padding-left: 68px;
|
|
494
|
-
}
|
|
495
|
-
|
|
496
|
-
[hidden] {
|
|
497
|
-
display: none !important;
|
|
498
|
-
}
|
|
499
|
-
`,
|
|
500
|
-
]; }
|
|
501
|
-
render() {
|
|
502
|
-
return html `
|
|
503
|
-
<header part="header">
|
|
504
|
-
<slot name="header">
|
|
505
|
-
<section row-one>
|
|
506
|
-
<div head ellipsis part="table-header-text-container">
|
|
507
|
-
<slot name="table-header-text"> <h1 ellipsis>${this.header}</h1></slot>
|
|
508
|
-
</div>
|
|
509
|
-
<div menu part="table-actions-container">
|
|
510
|
-
<slot name="table-actions"></slot>
|
|
511
|
-
</div>
|
|
512
|
-
</section>
|
|
513
|
-
<section row-two>
|
|
514
|
-
<div search-filter part="filters-container">
|
|
515
|
-
<slot name="search-button"></slot>
|
|
516
|
-
<slot name="filter-button"></slot>
|
|
517
|
-
<slot name="filters"></slot>
|
|
518
|
-
</div>
|
|
519
|
-
<div add-button part="add-button-container">
|
|
520
|
-
<slot name="add-button"></slot>
|
|
521
|
-
</div>
|
|
522
|
-
</section>
|
|
523
|
-
</slot>
|
|
524
|
-
|
|
525
|
-
<selected-actions ?hidden=${this.selected.length === 0}>
|
|
526
|
-
<h2 ellipsis>${this.selected.length} item${this.selected.length > 1 ? 's' : ''} selected</h2>
|
|
527
|
-
<div buttons part="selected-actions-container">
|
|
528
|
-
<slot name="selected-actions"></slot>
|
|
529
|
-
</div>
|
|
530
|
-
</selected-actions>
|
|
531
|
-
</header>
|
|
532
|
-
|
|
533
|
-
<table-container
|
|
534
|
-
@titanium-data-table-item-selected-changed=${(e) => {
|
|
535
|
-
e.stopPropagation();
|
|
536
|
-
const dataTableItem = e.target;
|
|
537
|
-
if (dataTableItem.selected) {
|
|
538
|
-
if (this.singleSelect) {
|
|
539
|
-
this.#getTableItems()
|
|
540
|
-
.filter((o) => o.item !== dataTableItem.item)
|
|
541
|
-
.forEach((o) => o.deselect());
|
|
542
|
-
}
|
|
543
|
-
this.selected.push(dataTableItem.item);
|
|
544
|
-
this.requestUpdate();
|
|
545
|
-
this.#notifySelectedChanged();
|
|
546
|
-
}
|
|
547
|
-
else {
|
|
548
|
-
this.selected.splice(this.selected.indexOf(dataTableItem.item), 1);
|
|
549
|
-
this.requestUpdate();
|
|
550
|
-
this.#notifySelectedChanged();
|
|
551
|
-
}
|
|
552
|
-
}}
|
|
553
|
-
>
|
|
554
|
-
<table-header part="table-header-container">
|
|
555
|
-
${this.disableSelect || this.singleSelect
|
|
556
|
-
? ''
|
|
557
|
-
: html `
|
|
558
|
-
<md-checkbox
|
|
559
|
-
title="${this.selected.length > 0 ? 'Deselect' : 'Select'} all checkboxes"
|
|
560
|
-
aria-label="${this.selected.length > 0 ? 'Deselect' : 'Select'} all checkboxes"
|
|
561
|
-
?checked=${this.selected.length > 0}
|
|
562
|
-
?indeterminate=${this.selected.length !== 0 && this.selected.length !== this.items.length}
|
|
563
|
-
?disabled=${this.items.length === 0}
|
|
564
|
-
@click=${() => {
|
|
565
|
-
if (this.selected.length > 0) {
|
|
566
|
-
this.#deselectAll();
|
|
567
|
-
}
|
|
568
|
-
else {
|
|
569
|
-
this.selectAll();
|
|
570
|
-
}
|
|
571
|
-
this.checkbox.focus();
|
|
572
|
-
}}
|
|
573
|
-
></md-checkbox>
|
|
574
|
-
`}
|
|
575
|
-
<slot name="table-headers"></slot>
|
|
576
|
-
</table-header>
|
|
577
|
-
<md-linear-progress ?hidden=${!this.isLoading} ?closed=${!this.isLoading} indeterminate></md-linear-progress>
|
|
578
|
-
|
|
579
|
-
<main>
|
|
580
|
-
<div items-slot part="items-container">
|
|
581
|
-
<slot name="items"></slot>
|
|
582
|
-
</div>
|
|
583
|
-
<table-message ?hidden=${this.isLoading || this.items.length > 0}>
|
|
584
|
-
<md-icon>info</md-icon>
|
|
585
|
-
${this.searchTerm === '' || typeof this.searchTerm === 'undefined' || this.searchTerm === null
|
|
586
|
-
? 'No results'
|
|
587
|
-
: `Your search of '${this.searchTerm}' did not match any results`}</table-message
|
|
588
|
-
>
|
|
589
|
-
<table-message ?hidden=${!this.isLoading || this.items.length !== 0}> Loading data... </table-message>
|
|
590
|
-
<content-veil ?opened=${this.isLoading}></content-veil>
|
|
591
|
-
</main>
|
|
592
|
-
</table-container>
|
|
593
|
-
<footer part="footer-container">
|
|
594
|
-
<slot name="footer">
|
|
595
|
-
${this.disablePaging
|
|
596
|
-
? ''
|
|
597
|
-
: html `
|
|
598
|
-
<titanium-page-control
|
|
599
|
-
label="Rows per page"
|
|
600
|
-
?disabled=${this.isLoading}
|
|
601
|
-
.count=${this.count}
|
|
602
|
-
.pageSizes=${this.pageSizes}
|
|
603
|
-
.defaultPageSize=${this.defaultPageSize}
|
|
604
|
-
.localStorageKey=${this.localStorageKey || `${this.header}-take`}
|
|
605
|
-
@action=${() => {
|
|
606
|
-
this.dispatchEvent(new CustomEvent('paging-changed', { composed: true }));
|
|
607
|
-
}}
|
|
608
|
-
></titanium-page-control>
|
|
609
|
-
`}
|
|
610
|
-
<div footer>
|
|
611
|
-
<footer-buttons><slot name="footer-buttons"></slot></footer-buttons>
|
|
612
|
-
</div>
|
|
613
|
-
</slot>
|
|
614
|
-
</footer>
|
|
615
|
-
`;
|
|
616
|
-
}
|
|
617
|
-
};
|
|
618
|
-
__decorate([
|
|
619
|
-
property({ type: String })
|
|
620
|
-
], TitaniumDataTable.prototype, "header", null);
|
|
621
|
-
__decorate([
|
|
622
|
-
property({ type: String, attribute: 'local-storage-key' })
|
|
623
|
-
], TitaniumDataTable.prototype, "localStorageKey", null);
|
|
624
|
-
__decorate([
|
|
625
|
-
property({ type: Array })
|
|
626
|
-
], TitaniumDataTable.prototype, "pageSizes", null);
|
|
627
|
-
__decorate([
|
|
628
|
-
property({ type: Number, attribute: 'default-page-size' })
|
|
629
|
-
], TitaniumDataTable.prototype, "defaultPageSize", null);
|
|
630
|
-
__decorate([
|
|
631
|
-
property({ type: Number })
|
|
632
|
-
], TitaniumDataTable.prototype, "count", null);
|
|
633
|
-
__decorate([
|
|
634
|
-
property({ type: Array })
|
|
635
|
-
], TitaniumDataTable.prototype, "items", null);
|
|
636
|
-
__decorate([
|
|
637
|
-
property({ type: String })
|
|
638
|
-
], TitaniumDataTable.prototype, "searchTerm", null);
|
|
639
|
-
__decorate([
|
|
640
|
-
property({ type: Boolean, attribute: 'single-select', reflect: true })
|
|
641
|
-
], TitaniumDataTable.prototype, "singleSelect", null);
|
|
642
|
-
__decorate([
|
|
643
|
-
property({ type: Boolean, attribute: 'disable-select' })
|
|
644
|
-
], TitaniumDataTable.prototype, "disableSelect", null);
|
|
645
|
-
__decorate([
|
|
646
|
-
property({ type: Boolean, attribute: 'disable-paging', reflect: true })
|
|
647
|
-
], TitaniumDataTable.prototype, "disablePaging", null);
|
|
648
|
-
__decorate([
|
|
649
|
-
property({ type: Array })
|
|
650
|
-
], TitaniumDataTable.prototype, "selected", null);
|
|
651
|
-
__decorate([
|
|
652
|
-
query('div[items-slot]')
|
|
653
|
-
], TitaniumDataTable.prototype, "itemsContainer", null);
|
|
654
|
-
__decorate([
|
|
655
|
-
query('slot[name="items"]')
|
|
656
|
-
], TitaniumDataTable.prototype, "itemsSlot", null);
|
|
657
|
-
__decorate([
|
|
658
|
-
property({ type: Boolean, reflect: true, attribute: 'narrow' })
|
|
659
|
-
], TitaniumDataTable.prototype, "narrow", null);
|
|
660
|
-
__decorate([
|
|
661
|
-
property({ type: Boolean, attribute: 'has-drag-items', reflect: true })
|
|
662
|
-
], TitaniumDataTable.prototype, "hasDragItems", null);
|
|
663
|
-
__decorate([
|
|
664
|
-
property({ type: Number, attribute: 'narrow-max-width', reflect: true })
|
|
665
|
-
], TitaniumDataTable.prototype, "narrowMaxWidth", null);
|
|
666
|
-
__decorate([
|
|
667
|
-
state()
|
|
668
|
-
], TitaniumDataTable.prototype, "isLoading", null);
|
|
669
|
-
__decorate([
|
|
670
|
-
query('slot[name="table-headers"]')
|
|
671
|
-
], TitaniumDataTable.prototype, "tableHeaders", null);
|
|
672
|
-
__decorate([
|
|
673
|
-
query('md-checkbox')
|
|
674
|
-
], TitaniumDataTable.prototype, "checkbox", null);
|
|
675
|
-
__decorate([
|
|
676
|
-
queryAsync('titanium-page-control')
|
|
677
|
-
], TitaniumDataTable.prototype, "pageControl", null);
|
|
678
|
-
TitaniumDataTable = __decorate([
|
|
679
|
-
customElement('titanium-data-table')
|
|
680
|
-
], TitaniumDataTable);
|
|
681
|
-
export { TitaniumDataTable };
|
|
682
|
-
export class DataTableItemsReorderedEvent extends Event {
|
|
683
|
-
static { this.eventType = 'titanium-data-table-items-reorder'; }
|
|
684
|
-
constructor() {
|
|
685
|
-
super(DataTableItemsReorderedEvent.eventType);
|
|
686
|
-
}
|
|
687
|
-
}
|
|
688
|
-
//# sourceMappingURL=data-table.js.map
|