@leavittsoftware/web 8.7.0 → 8.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -2
- package/leavitt/api-service/HttpError.d.ts +0 -11
- package/leavitt/api-service/HttpError.js +0 -2
- package/leavitt/api-service/HttpError.js.map +0 -1
- package/leavitt/api-service/api-service.d.ts +0 -52
- package/leavitt/api-service/api-service.js +0 -369
- package/leavitt/api-service/api-service.js.map +0 -1
- package/leavitt/api-service/authenticated-token-provider.d.ts +0 -5
- package/leavitt/api-service/authenticated-token-provider.js +0 -7
- package/leavitt/api-service/authenticated-token-provider.js.map +0 -1
- package/leavitt/api-service/bearer-token-provider.d.ts +0 -4
- package/leavitt/api-service/bearer-token-provider.js +0 -2
- package/leavitt/api-service/bearer-token-provider.js.map +0 -1
- package/leavitt/api-service/blob-response.d.ts +0 -8
- package/leavitt/api-service/blob-response.js +0 -8
- package/leavitt/api-service/blob-response.js.map +0 -1
- package/leavitt/api-service/no-authentication-token-provider.d.ts +0 -5
- package/leavitt/api-service/no-authentication-token-provider.js +0 -6
- package/leavitt/api-service/no-authentication-token-provider.js.map +0 -1
- package/leavitt/api-service/object-to-form-data.d.ts +0 -9
- package/leavitt/api-service/object-to-form-data.js +0 -42
- package/leavitt/api-service/object-to-form-data.js.map +0 -1
- package/leavitt/api-service/object-to-form-data.test.d.ts +0 -2
- package/leavitt/api-service/object-to-form-data.test.js +0 -229
- package/leavitt/api-service/object-to-form-data.test.js.map +0 -1
- package/leavitt/api-service/odata-dto.d.ts +0 -6
- package/leavitt/api-service/odata-dto.js +0 -7
- package/leavitt/api-service/odata-dto.js.map +0 -1
- package/leavitt/api-service/odata-model-info.d.ts +0 -5
- package/leavitt/api-service/odata-model-info.js +0 -7
- package/leavitt/api-service/odata-model-info.js.map +0 -1
- package/leavitt/api-service/odata-response.d.ts +0 -15
- package/leavitt/api-service/odata-response.js +0 -50
- package/leavitt/api-service/odata-response.js.map +0 -1
- package/leavitt/api-service/status-codes.d.ts +0 -2
- package/leavitt/api-service/status-codes.js +0 -44
- package/leavitt/api-service/status-codes.js.map +0 -1
- package/leavitt/app/app-logo.d.ts +0 -12
- package/leavitt/app/app-logo.js +0 -142
- package/leavitt/app/app-logo.js.map +0 -1
- package/leavitt/app/app-main-content-container.d.ts +0 -10
- package/leavitt/app/app-main-content-container.js +0 -65
- package/leavitt/app/app-main-content-container.js.map +0 -1
- package/leavitt/app/app-navigation-footer.d.ts +0 -18
- package/leavitt/app/app-navigation-footer.js +0 -142
- package/leavitt/app/app-navigation-footer.js.map +0 -1
- package/leavitt/app/app-navigation-header.d.ts +0 -22
- package/leavitt/app/app-navigation-header.js +0 -239
- package/leavitt/app/app-navigation-header.js.map +0 -1
- package/leavitt/app/app-width-limiter.d.ts +0 -7
- package/leavitt/app/app-width-limiter.js +0 -39
- package/leavitt/app/app-width-limiter.js.map +0 -1
- package/leavitt/app/contexts/main-menu-position-context.d.ts +0 -4
- package/leavitt/app/contexts/main-menu-position-context.js +0 -3
- package/leavitt/app/contexts/main-menu-position-context.js.map +0 -1
- package/leavitt/company-select/company-select.d.ts +0 -53
- package/leavitt/company-select/company-select.js +0 -181
- package/leavitt/company-select/company-select.js.map +0 -1
- package/leavitt/email-history-viewer/email-history-view-list-filter-dialog.d.ts +0 -394
- package/leavitt/email-history-viewer/email-history-view-list-filter-dialog.js +0 -233
- package/leavitt/email-history-viewer/email-history-view-list-filter-dialog.js.map +0 -1
- package/leavitt/email-history-viewer/email-history-viewer-filled-filter-dialog.d.ts +0 -397
- package/leavitt/email-history-viewer/email-history-viewer-filled-filter-dialog.js +0 -244
- package/leavitt/email-history-viewer/email-history-viewer-filled-filter-dialog.js.map +0 -1
- package/leavitt/email-history-viewer/email-history-viewer-filled.d.ts +0 -408
- package/leavitt/email-history-viewer/email-history-viewer-filled.js +0 -381
- package/leavitt/email-history-viewer/email-history-viewer-filled.js.map +0 -1
- package/leavitt/email-history-viewer/email-history-viewer.d.ts +0 -412
- package/leavitt/email-history-viewer/email-history-viewer.js +0 -373
- package/leavitt/email-history-viewer/email-history-viewer.js.map +0 -1
- package/leavitt/email-history-viewer/view-email-template-info-dialog.d.ts +0 -386
- package/leavitt/email-history-viewer/view-email-template-info-dialog.js +0 -154
- package/leavitt/email-history-viewer/view-email-template-info-dialog.js.map +0 -1
- package/leavitt/email-history-viewer/view-sent-email-dialog.d.ts +0 -388
- package/leavitt/email-history-viewer/view-sent-email-dialog.js +0 -145
- package/leavitt/email-history-viewer/view-sent-email-dialog.js.map +0 -1
- package/leavitt/error-page/error-page.d.ts +0 -24
- package/leavitt/error-page/error-page.js +0 -185
- package/leavitt/error-page/error-page.js.map +0 -1
- package/leavitt/file-explorer/add-folder-modal.d.ts +0 -390
- package/leavitt/file-explorer/add-folder-modal.js +0 -135
- package/leavitt/file-explorer/add-folder-modal.js.map +0 -1
- package/leavitt/file-explorer/events/file-explorer-events.d.ts +0 -4
- package/leavitt/file-explorer/events/file-explorer-events.js +0 -5
- package/leavitt/file-explorer/events/file-explorer-events.js.map +0 -1
- package/leavitt/file-explorer/file-explorer-error.d.ts +0 -7
- package/leavitt/file-explorer/file-explorer-error.js +0 -38
- package/leavitt/file-explorer/file-explorer-error.js.map +0 -1
- package/leavitt/file-explorer/file-explorer-image.d.ts +0 -9
- package/leavitt/file-explorer/file-explorer-image.js +0 -54
- package/leavitt/file-explorer/file-explorer-image.js.map +0 -1
- package/leavitt/file-explorer/file-explorer-no-files.d.ts +0 -7
- package/leavitt/file-explorer/file-explorer-no-files.js +0 -38
- package/leavitt/file-explorer/file-explorer-no-files.js.map +0 -1
- package/leavitt/file-explorer/file-explorer-no-permission.d.ts +0 -7
- package/leavitt/file-explorer/file-explorer-no-permission.js +0 -38
- package/leavitt/file-explorer/file-explorer-no-permission.js.map +0 -1
- package/leavitt/file-explorer/file-explorer.d.ts +0 -446
- package/leavitt/file-explorer/file-explorer.js +0 -889
- package/leavitt/file-explorer/file-explorer.js.map +0 -1
- package/leavitt/file-explorer/file-list-item.d.ts +0 -16
- package/leavitt/file-explorer/file-list-item.js +0 -300
- package/leavitt/file-explorer/file-list-item.js.map +0 -1
- package/leavitt/file-explorer/file-modal.d.ts +0 -393
- package/leavitt/file-explorer/file-modal.js +0 -323
- package/leavitt/file-explorer/file-modal.js.map +0 -1
- package/leavitt/file-explorer/folder-list-item.d.ts +0 -15
- package/leavitt/file-explorer/folder-list-item.js +0 -210
- package/leavitt/file-explorer/folder-list-item.js.map +0 -1
- package/leavitt/file-explorer/folder-modal.d.ts +0 -391
- package/leavitt/file-explorer/folder-modal.js +0 -226
- package/leavitt/file-explorer/folder-modal.js.map +0 -1
- package/leavitt/file-explorer/helpers/file-types.d.ts +0 -2
- package/leavitt/file-explorer/helpers/file-types.js +0 -19
- package/leavitt/file-explorer/helpers/file-types.js.map +0 -1
- package/leavitt/file-explorer/helpers/format-bytes.d.ts +0 -2
- package/leavitt/file-explorer/helpers/format-bytes.js +0 -8
- package/leavitt/file-explorer/helpers/format-bytes.js.map +0 -1
- package/leavitt/person-company-select/person-company-select.d.ts +0 -43
- package/leavitt/person-company-select/person-company-select.js +0 -198
- package/leavitt/person-company-select/person-company-select.js.map +0 -1
- package/leavitt/person-group-select/people-group-icons.d.ts +0 -5
- package/leavitt/person-group-select/people-group-icons.js +0 -87
- package/leavitt/person-group-select/people-group-icons.js.map +0 -1
- package/leavitt/person-group-select/person-group-select.d.ts +0 -43
- package/leavitt/person-group-select/person-group-select.js +0 -207
- package/leavitt/person-group-select/person-group-select.js.map +0 -1
- package/leavitt/person-select/person-select.d.ts +0 -46
- package/leavitt/person-select/person-select.js +0 -203
- package/leavitt/person-select/person-select.js.map +0 -1
- package/leavitt/profile-picture/profile-picture-menu.d.ts +0 -48
- package/leavitt/profile-picture/profile-picture-menu.js +0 -248
- package/leavitt/profile-picture/profile-picture-menu.js.map +0 -1
- package/leavitt/profile-picture/profile-picture.d.ts +0 -44
- package/leavitt/profile-picture/profile-picture.js +0 -208
- package/leavitt/profile-picture/profile-picture.js.map +0 -1
- package/leavitt/service-worker-notifier/service-worker-notifier.d.ts +0 -14
- package/leavitt/service-worker-notifier/service-worker-notifier.js +0 -180
- package/leavitt/service-worker-notifier/service-worker-notifier.js.map +0 -1
- package/leavitt/theme/theme-preference-event.d.ts +0 -4
- package/leavitt/theme/theme-preference-event.js +0 -5
- package/leavitt/theme/theme-preference-event.js.map +0 -1
- package/leavitt/theme/theme-preference.d.ts +0 -8
- package/leavitt/theme/theme-preference.js +0 -26
- package/leavitt/theme/theme-preference.js.map +0 -1
- package/leavitt/user-feedback/provide-feedback-dialog.d.ts +0 -386
- package/leavitt/user-feedback/provide-feedback-dialog.js +0 -150
- package/leavitt/user-feedback/provide-feedback-dialog.js.map +0 -1
- package/leavitt/user-feedback/report-a-problem-dialog.d.ts +0 -388
- package/leavitt/user-feedback/report-a-problem-dialog.js +0 -170
- package/leavitt/user-feedback/report-a-problem-dialog.js.map +0 -1
- package/leavitt/user-feedback/user-feedback.d.ts +0 -390
- package/leavitt/user-feedback/user-feedback.js +0 -222
- package/leavitt/user-feedback/user-feedback.js.map +0 -1
- package/leavitt/user-manager/LssJwtToken.d.ts +0 -24
- package/leavitt/user-manager/LssJwtToken.js +0 -2
- package/leavitt/user-manager/LssJwtToken.js.map +0 -1
- package/leavitt/user-manager/auth-zero-lg-access-token.d.ts +0 -15
- package/leavitt/user-manager/auth-zero-lg-access-token.js +0 -2
- package/leavitt/user-manager/auth-zero-lg-access-token.js.map +0 -1
- package/leavitt/user-manager/auth-zero-lg-identity-token.d.ts +0 -24
- package/leavitt/user-manager/auth-zero-lg-identity-token.js +0 -2
- package/leavitt/user-manager/auth-zero-lg-identity-token.js.map +0 -1
- package/leavitt/user-manager/auth-zero-lg-identity.d.ts +0 -24
- package/leavitt/user-manager/auth-zero-lg-identity.js +0 -2
- package/leavitt/user-manager/auth-zero-lg-identity.js.map +0 -1
- package/leavitt/user-manager/auth-zero-lg-user-manager.d.ts +0 -18
- package/leavitt/user-manager/auth-zero-lg-user-manager.js +0 -382
- package/leavitt/user-manager/auth-zero-lg-user-manager.js.map +0 -1
- package/leavitt/user-manager/user-manager-events.d.ts +0 -5
- package/leavitt/user-manager/user-manager-events.js +0 -7
- package/leavitt/user-manager/user-manager-events.js.map +0 -1
- package/leavitt/user-manager/user-manager.d.ts +0 -47
- package/leavitt/user-manager/user-manager.js +0 -443
- package/leavitt/user-manager/user-manager.js.map +0 -1
- package/titanium/access-denied-page/access-denied-page.d.ts +0 -16
- package/titanium/access-denied-page/access-denied-page.js +0 -359
- package/titanium/access-denied-page/access-denied-page.js.map +0 -1
- package/titanium/address-input/address-input.d.ts +0 -31
- package/titanium/address-input/address-input.js +0 -104
- package/titanium/address-input/address-input.js.map +0 -1
- package/titanium/address-input/google-address-input.d.ts +0 -35
- package/titanium/address-input/google-address-input.js +0 -242
- package/titanium/address-input/google-address-input.js.map +0 -1
- package/titanium/address-input/manual-address-dialog.d.ts +0 -39
- package/titanium/address-input/manual-address-dialog.js +0 -350
- package/titanium/address-input/manual-address-dialog.js.map +0 -1
- package/titanium/address-input/types/address-input-address.d.ts +0 -17
- package/titanium/address-input/types/address-input-address.js +0 -2
- package/titanium/address-input/types/address-input-address.js.map +0 -1
- package/titanium/address-input/utils/address-to-string.d.ts +0 -3
- package/titanium/address-input/utils/address-to-string.js +0 -26
- package/titanium/address-input/utils/address-to-string.js.map +0 -1
- package/titanium/address-input/utils/place-result-to-address.d.ts +0 -3
- package/titanium/address-input/utils/place-result-to-address.js +0 -46
- package/titanium/address-input/utils/place-result-to-address.js.map +0 -1
- package/titanium/address-input/utils/validate-street.d.ts +0 -2
- package/titanium/address-input/utils/validate-street.js +0 -8
- package/titanium/address-input/utils/validate-street.js.map +0 -1
- package/titanium/card/card.d.ts +0 -24
- package/titanium/card/card.js +0 -188
- package/titanium/card/card.js.map +0 -1
- package/titanium/chip/chip.d.ts +0 -57
- package/titanium/chip/chip.js +0 -289
- package/titanium/chip/chip.js.map +0 -1
- package/titanium/chip-multi-select/chip-multi-select.d.ts +0 -71
- package/titanium/chip-multi-select/chip-multi-select.js +0 -228
- package/titanium/chip-multi-select/chip-multi-select.js.map +0 -1
- package/titanium/circle-loading-indicator/circle-loading-indicator.d.ts +0 -19
- package/titanium/circle-loading-indicator/circle-loading-indicator.js +0 -122
- package/titanium/circle-loading-indicator/circle-loading-indicator.js.map +0 -1
- package/titanium/collapsible-container/collapsible-container.d.ts +0 -12
- package/titanium/collapsible-container/collapsible-container.js +0 -115
- package/titanium/collapsible-container/collapsible-container.js.map +0 -1
- package/titanium/confirm-dialog/confirm-dialog-open-event.d.ts +0 -10
- package/titanium/confirm-dialog/confirm-dialog-open-event.js +0 -12
- package/titanium/confirm-dialog/confirm-dialog-open-event.js.map +0 -1
- package/titanium/confirm-dialog/confirm-dialog.d.ts +0 -25
- package/titanium/confirm-dialog/confirm-dialog.js +0 -104
- package/titanium/confirm-dialog/confirm-dialog.js.map +0 -1
- package/titanium/confirmation-dialog/confirmation-dialog.d.ts +0 -19
- package/titanium/confirmation-dialog/confirmation-dialog.js +0 -124
- package/titanium/confirmation-dialog/confirmation-dialog.js.map +0 -1
- package/titanium/data-table/data-table-action-bar.d.ts +0 -11
- package/titanium/data-table/data-table-action-bar.js +0 -216
- package/titanium/data-table/data-table-action-bar.js.map +0 -1
- package/titanium/data-table/data-table-content-styles.d.ts +0 -2
- package/titanium/data-table/data-table-content-styles.js +0 -48
- package/titanium/data-table/data-table-content-styles.js.map +0 -1
- package/titanium/data-table/data-table-core-reorder-dialog.d.ts +0 -391
- package/titanium/data-table/data-table-core-reorder-dialog.js +0 -170
- package/titanium/data-table/data-table-core-reorder-dialog.js.map +0 -1
- package/titanium/data-table/data-table-core-reorder-item.d.ts +0 -15
- package/titanium/data-table/data-table-core-reorder-item.js +0 -154
- package/titanium/data-table/data-table-core-reorder-item.js.map +0 -1
- package/titanium/data-table/data-table-core-settings-choose-columns-dialog.d.ts +0 -22
- package/titanium/data-table/data-table-core-settings-choose-columns-dialog.js +0 -164
- package/titanium/data-table/data-table-core-settings-choose-columns-dialog.js.map +0 -1
- package/titanium/data-table/data-table-core-settings-choose-columns-item.d.ts +0 -14
- package/titanium/data-table/data-table-core-settings-choose-columns-item.js +0 -96
- package/titanium/data-table/data-table-core-settings-choose-columns-item.js.map +0 -1
- package/titanium/data-table/data-table-core-settings-sort-dialog.d.ts +0 -22
- package/titanium/data-table/data-table-core-settings-sort-dialog.js +0 -231
- package/titanium/data-table/data-table-core-settings-sort-dialog.js.map +0 -1
- package/titanium/data-table/data-table-core-settings-sort-item.d.ts +0 -17
- package/titanium/data-table/data-table-core-settings-sort-item.js +0 -171
- package/titanium/data-table/data-table-core-settings-sort-item.js.map +0 -1
- package/titanium/data-table/data-table-core.d.ts +0 -458
- package/titanium/data-table/data-table-core.js +0 -745
- package/titanium/data-table/data-table-core.js.map +0 -1
- package/titanium/data-table/data-table-header.d.ts +0 -68
- package/titanium/data-table/data-table-header.js +0 -295
- package/titanium/data-table/data-table-header.js.map +0 -1
- package/titanium/data-table/data-table-item.d.ts +0 -99
- package/titanium/data-table/data-table-item.js +0 -561
- package/titanium/data-table/data-table-item.js.map +0 -1
- package/titanium/data-table/data-table.d.ts +0 -127
- package/titanium/data-table/data-table.js +0 -688
- package/titanium/data-table/data-table.js.map +0 -1
- package/titanium/data-table/draggable-item-base.d.ts +0 -30
- package/titanium/data-table/draggable-item-base.js +0 -324
- package/titanium/data-table/draggable-item-base.js.map +0 -1
- package/titanium/data-table/filter-controller.d.ts +0 -24
- package/titanium/data-table/filter-controller.js +0 -122
- package/titanium/data-table/filter-controller.js.map +0 -1
- package/titanium/data-table/filter.d.ts +0 -8
- package/titanium/data-table/filter.js +0 -11
- package/titanium/data-table/filter.js.map +0 -1
- package/titanium/data-table/page-control.d.ts +0 -59
- package/titanium/data-table/page-control.js +0 -236
- package/titanium/data-table/page-control.js.map +0 -1
- package/titanium/date-input/date-input.d.ts +0 -149
- package/titanium/date-input/date-input.js +0 -548
- package/titanium/date-input/date-input.js.map +0 -1
- package/titanium/date-range-selector/date-range-change-event.d.ts +0 -8
- package/titanium/date-range-selector/date-range-change-event.js +0 -10
- package/titanium/date-range-selector/date-range-change-event.js.map +0 -1
- package/titanium/date-range-selector/date-range-selector.d.ts +0 -71
- package/titanium/date-range-selector/date-range-selector.js +0 -479
- package/titanium/date-range-selector/date-range-selector.js.map +0 -1
- package/titanium/date-range-selector/types/date-range-key.d.ts +0 -2
- package/titanium/date-range-selector/types/date-range-key.js +0 -2
- package/titanium/date-range-selector/types/date-range-key.js.map +0 -1
- package/titanium/date-range-selector/types/date-range-option.d.ts +0 -8
- package/titanium/date-range-selector/types/date-range-option.js +0 -2
- package/titanium/date-range-selector/types/date-range-option.js.map +0 -1
- package/titanium/date-range-selector/types/date-ranges.d.ts +0 -4
- package/titanium/date-range-selector/types/date-ranges.js +0 -133
- package/titanium/date-range-selector/types/date-ranges.js.map +0 -1
- package/titanium/date-range-selector/types/range-label.d.ts +0 -5
- package/titanium/date-range-selector/types/range-label.js +0 -25
- package/titanium/date-range-selector/types/range-label.js.map +0 -1
- package/titanium/drawer/drawer.d.ts +0 -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,318 +0,0 @@
|
|
|
1
|
-
import { css } from 'lit';
|
|
2
|
-
/** Update when upgrading CropperJS */
|
|
3
|
-
export const cropperCSS = css `
|
|
4
|
-
.cropper-container {
|
|
5
|
-
direction: ltr;
|
|
6
|
-
font-size: 0;
|
|
7
|
-
line-height: 0;
|
|
8
|
-
position: relative;
|
|
9
|
-
-ms-touch-action: none;
|
|
10
|
-
touch-action: none;
|
|
11
|
-
-webkit-user-select: none;
|
|
12
|
-
-moz-user-select: none;
|
|
13
|
-
-ms-user-select: none;
|
|
14
|
-
user-select: none;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.cropper-container img {
|
|
18
|
-
display: block;
|
|
19
|
-
height: 100%;
|
|
20
|
-
image-orientation: 0deg;
|
|
21
|
-
max-height: none !important;
|
|
22
|
-
max-width: none !important;
|
|
23
|
-
min-height: 0 !important;
|
|
24
|
-
min-width: 0 !important;
|
|
25
|
-
width: 100%;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.cropper-wrap-box,
|
|
29
|
-
.cropper-canvas,
|
|
30
|
-
.cropper-drag-box,
|
|
31
|
-
.cropper-crop-box,
|
|
32
|
-
.cropper-modal {
|
|
33
|
-
bottom: 0;
|
|
34
|
-
left: 0;
|
|
35
|
-
position: absolute;
|
|
36
|
-
right: 0;
|
|
37
|
-
top: 0;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
.cropper-wrap-box,
|
|
41
|
-
.cropper-canvas {
|
|
42
|
-
overflow: hidden;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
.cropper-drag-box {
|
|
46
|
-
background-color: #fff;
|
|
47
|
-
opacity: 0;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
.cropper-modal {
|
|
51
|
-
background-color: #000;
|
|
52
|
-
opacity: 0.5;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
.cropper-view-box {
|
|
56
|
-
display: block;
|
|
57
|
-
height: 100%;
|
|
58
|
-
outline: 1px solid #39f;
|
|
59
|
-
outline-color: rgba(51, 153, 255, 0.75);
|
|
60
|
-
overflow: hidden;
|
|
61
|
-
width: 100%;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
.cropper-dashed {
|
|
65
|
-
border: 0 dashed #eee;
|
|
66
|
-
display: block;
|
|
67
|
-
opacity: 0.5;
|
|
68
|
-
position: absolute;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
.cropper-dashed.dashed-h {
|
|
72
|
-
border-bottom-width: 1px;
|
|
73
|
-
border-top-width: 1px;
|
|
74
|
-
height: calc(100% / 3);
|
|
75
|
-
left: 0;
|
|
76
|
-
top: calc(100% / 3);
|
|
77
|
-
width: 100%;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
.cropper-dashed.dashed-v {
|
|
81
|
-
border-left-width: 1px;
|
|
82
|
-
border-right-width: 1px;
|
|
83
|
-
height: 100%;
|
|
84
|
-
left: calc(100% / 3);
|
|
85
|
-
top: 0;
|
|
86
|
-
width: calc(100% / 3);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
.cropper-center {
|
|
90
|
-
display: block;
|
|
91
|
-
height: 0;
|
|
92
|
-
left: 50%;
|
|
93
|
-
opacity: 0.75;
|
|
94
|
-
position: absolute;
|
|
95
|
-
top: 50%;
|
|
96
|
-
width: 0;
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
.cropper-center::before,
|
|
100
|
-
.cropper-center::after {
|
|
101
|
-
background-color: #eee;
|
|
102
|
-
content: ' ';
|
|
103
|
-
display: block;
|
|
104
|
-
position: absolute;
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
.cropper-center::before {
|
|
108
|
-
height: 1px;
|
|
109
|
-
left: -3px;
|
|
110
|
-
top: 0;
|
|
111
|
-
width: 7px;
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
.cropper-center::after {
|
|
115
|
-
height: 7px;
|
|
116
|
-
left: 0;
|
|
117
|
-
top: -3px;
|
|
118
|
-
width: 1px;
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
.cropper-face,
|
|
122
|
-
.cropper-line,
|
|
123
|
-
.cropper-point {
|
|
124
|
-
display: block;
|
|
125
|
-
height: 100%;
|
|
126
|
-
opacity: 0.1;
|
|
127
|
-
position: absolute;
|
|
128
|
-
width: 100%;
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
.cropper-face {
|
|
132
|
-
background-color: #fff;
|
|
133
|
-
left: 0;
|
|
134
|
-
top: 0;
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
.cropper-line {
|
|
138
|
-
background-color: #39f;
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
.cropper-line.line-e {
|
|
142
|
-
cursor: ew-resize;
|
|
143
|
-
right: -3px;
|
|
144
|
-
top: 0;
|
|
145
|
-
width: 5px;
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
.cropper-line.line-n {
|
|
149
|
-
cursor: ns-resize;
|
|
150
|
-
height: 5px;
|
|
151
|
-
left: 0;
|
|
152
|
-
top: -3px;
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
.cropper-line.line-w {
|
|
156
|
-
cursor: ew-resize;
|
|
157
|
-
left: -3px;
|
|
158
|
-
top: 0;
|
|
159
|
-
width: 5px;
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
.cropper-line.line-s {
|
|
163
|
-
bottom: -3px;
|
|
164
|
-
cursor: ns-resize;
|
|
165
|
-
height: 5px;
|
|
166
|
-
left: 0;
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
.cropper-point {
|
|
170
|
-
background-color: #39f;
|
|
171
|
-
height: 5px;
|
|
172
|
-
opacity: 0.75;
|
|
173
|
-
width: 5px;
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
.cropper-point.point-e {
|
|
177
|
-
cursor: ew-resize;
|
|
178
|
-
margin-top: -3px;
|
|
179
|
-
right: -3px;
|
|
180
|
-
top: 50%;
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
.cropper-point.point-n {
|
|
184
|
-
cursor: ns-resize;
|
|
185
|
-
left: 50%;
|
|
186
|
-
margin-left: -3px;
|
|
187
|
-
top: -3px;
|
|
188
|
-
}
|
|
189
|
-
|
|
190
|
-
.cropper-point.point-w {
|
|
191
|
-
cursor: ew-resize;
|
|
192
|
-
left: -3px;
|
|
193
|
-
margin-top: -3px;
|
|
194
|
-
top: 50%;
|
|
195
|
-
}
|
|
196
|
-
|
|
197
|
-
.cropper-point.point-s {
|
|
198
|
-
bottom: -3px;
|
|
199
|
-
cursor: s-resize;
|
|
200
|
-
left: 50%;
|
|
201
|
-
margin-left: -3px;
|
|
202
|
-
}
|
|
203
|
-
|
|
204
|
-
.cropper-point.point-ne {
|
|
205
|
-
cursor: nesw-resize;
|
|
206
|
-
right: -3px;
|
|
207
|
-
top: -3px;
|
|
208
|
-
}
|
|
209
|
-
|
|
210
|
-
.cropper-point.point-nw {
|
|
211
|
-
cursor: nwse-resize;
|
|
212
|
-
left: -3px;
|
|
213
|
-
top: -3px;
|
|
214
|
-
}
|
|
215
|
-
|
|
216
|
-
.cropper-point.point-sw {
|
|
217
|
-
bottom: -3px;
|
|
218
|
-
cursor: nesw-resize;
|
|
219
|
-
left: -3px;
|
|
220
|
-
}
|
|
221
|
-
|
|
222
|
-
.cropper-point.point-se {
|
|
223
|
-
bottom: -3px;
|
|
224
|
-
cursor: nwse-resize;
|
|
225
|
-
height: 20px;
|
|
226
|
-
opacity: 1;
|
|
227
|
-
right: -3px;
|
|
228
|
-
width: 20px;
|
|
229
|
-
}
|
|
230
|
-
|
|
231
|
-
@media (min-width: 768px) {
|
|
232
|
-
.cropper-point.point-se {
|
|
233
|
-
height: 15px;
|
|
234
|
-
width: 15px;
|
|
235
|
-
}
|
|
236
|
-
}
|
|
237
|
-
|
|
238
|
-
@media (min-width: 992px) {
|
|
239
|
-
.cropper-point.point-se {
|
|
240
|
-
height: 10px;
|
|
241
|
-
width: 10px;
|
|
242
|
-
}
|
|
243
|
-
}
|
|
244
|
-
|
|
245
|
-
@media (min-width: 1200px) {
|
|
246
|
-
.cropper-point.point-se {
|
|
247
|
-
height: 5px;
|
|
248
|
-
opacity: 0.75;
|
|
249
|
-
width: 5px;
|
|
250
|
-
}
|
|
251
|
-
}
|
|
252
|
-
|
|
253
|
-
.cropper-point.point-se::before {
|
|
254
|
-
background-color: #39f;
|
|
255
|
-
bottom: -50%;
|
|
256
|
-
content: ' ';
|
|
257
|
-
display: block;
|
|
258
|
-
height: 200%;
|
|
259
|
-
opacity: 0;
|
|
260
|
-
position: absolute;
|
|
261
|
-
right: -50%;
|
|
262
|
-
width: 200%;
|
|
263
|
-
}
|
|
264
|
-
|
|
265
|
-
.cropper-invisible {
|
|
266
|
-
opacity: 0;
|
|
267
|
-
}
|
|
268
|
-
|
|
269
|
-
.cropper-bg {
|
|
270
|
-
background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAQMAAAAlPW0iAAAAA3NCSVQICAjb4U/gAAAABlBMVEXMzMz////TjRV2AAAACXBIWXMAAArrAAAK6wGCiw1aAAAAHHRFWHRTb2Z0d2FyZQBBZG9iZSBGaXJld29ya3MgQ1M26LyyjAAAABFJREFUCJlj+M/AgBVhF/0PAH6/D/HkDxOGAAAAAElFTkSuQmCC');
|
|
271
|
-
}
|
|
272
|
-
|
|
273
|
-
.cropper-hide {
|
|
274
|
-
display: block;
|
|
275
|
-
height: 0;
|
|
276
|
-
position: absolute;
|
|
277
|
-
width: 0;
|
|
278
|
-
}
|
|
279
|
-
|
|
280
|
-
.cropper-hidden {
|
|
281
|
-
display: none !important;
|
|
282
|
-
}
|
|
283
|
-
|
|
284
|
-
.cropper-move {
|
|
285
|
-
cursor: move;
|
|
286
|
-
}
|
|
287
|
-
|
|
288
|
-
.cropper-crop {
|
|
289
|
-
cursor: crosshair;
|
|
290
|
-
}
|
|
291
|
-
|
|
292
|
-
.cropper-disabled .cropper-drag-box,
|
|
293
|
-
.cropper-disabled .cropper-face,
|
|
294
|
-
.cropper-disabled .cropper-line,
|
|
295
|
-
.cropper-disabled .cropper-point {
|
|
296
|
-
cursor: not-allowed;
|
|
297
|
-
}
|
|
298
|
-
|
|
299
|
-
[circle] cropper-selection {
|
|
300
|
-
box-shadow: 0 0 0 1px #39f;
|
|
301
|
-
border-radius: 50%;
|
|
302
|
-
outline: 0;
|
|
303
|
-
}
|
|
304
|
-
|
|
305
|
-
[circle] cropper-shade {
|
|
306
|
-
border-radius: 50%;
|
|
307
|
-
}
|
|
308
|
-
|
|
309
|
-
[circle] cropper-handle {
|
|
310
|
-
background-color: transparent;
|
|
311
|
-
}
|
|
312
|
-
|
|
313
|
-
[circle] cropper-grid {
|
|
314
|
-
border-radius: 50%;
|
|
315
|
-
overflow: hidden;
|
|
316
|
-
}
|
|
317
|
-
`;
|
|
318
|
-
//# sourceMappingURL=cropper-styles.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"cropper-styles.js","sourceRoot":"","sources":["cropper-styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,sCAAsC;AACtC,MAAM,CAAC,MAAM,UAAU,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0T5B,CAAC"}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export declare const imageFormats: string[];
|
|
2
|
-
export declare function getExtension(filename: string): string;
|
|
3
|
-
export declare function getFileIcon(extension: string): string;
|
|
4
|
-
export declare function getFileBgIcon(extension: string): string;
|
|
5
|
-
//# sourceMappingURL=image-formats.d.ts.map
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
export const imageFormats = [
|
|
2
|
-
'tiff',
|
|
3
|
-
'pjp',
|
|
4
|
-
'jfif',
|
|
5
|
-
'bmp',
|
|
6
|
-
'gif',
|
|
7
|
-
'svg',
|
|
8
|
-
'png',
|
|
9
|
-
'xbm',
|
|
10
|
-
'dib',
|
|
11
|
-
'jxl',
|
|
12
|
-
'jpeg',
|
|
13
|
-
'svgz',
|
|
14
|
-
'jpg',
|
|
15
|
-
'webp',
|
|
16
|
-
'ico',
|
|
17
|
-
'tif',
|
|
18
|
-
'pjpeg',
|
|
19
|
-
'avif',
|
|
20
|
-
];
|
|
21
|
-
export function getExtension(filename) {
|
|
22
|
-
const parts = filename.split('.');
|
|
23
|
-
return parts?.[parts.length - 1] || '';
|
|
24
|
-
}
|
|
25
|
-
export function getFileIcon(extension) {
|
|
26
|
-
if (extension.toLowerCase() === 'pdf') {
|
|
27
|
-
return new URL('./images/icon-pdf.png', import.meta.url).href;
|
|
28
|
-
}
|
|
29
|
-
return new URL('./images/icon-other.png', import.meta.url).href;
|
|
30
|
-
}
|
|
31
|
-
export function getFileBgIcon(extension) {
|
|
32
|
-
if (extension.toLowerCase() === 'pdf') {
|
|
33
|
-
return new URL('./images/icon-pdf-bg.png', import.meta.url).href;
|
|
34
|
-
}
|
|
35
|
-
return new URL('./images/icon-other-bg.png', import.meta.url).href;
|
|
36
|
-
}
|
|
37
|
-
//# sourceMappingURL=image-formats.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"image-formats.js","sourceRoot":"","sources":["image-formats.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B,MAAM;IACN,KAAK;IACL,MAAM;IACN,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,MAAM;IACN,MAAM;IACN,KAAK;IACL,MAAM;IACN,KAAK;IACL,KAAK;IACL,OAAO;IACP,MAAM;CACP,CAAC;AAEF,MAAM,UAAU,YAAY,CAAC,QAAgB;IAC3C,MAAM,KAAK,GAAG,QAAQ,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;IAClC,OAAO,KAAK,EAAE,CAAC,KAAK,CAAC,MAAM,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC;AACzC,CAAC;AAED,MAAM,UAAU,WAAW,CAAC,SAAiB;IAC3C,IAAI,SAAS,CAAC,WAAW,EAAE,KAAK,KAAK,EAAE,CAAC;QACtC,OAAO,IAAI,GAAG,CAAC,uBAAuB,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC;IAChE,CAAC;IACD,OAAO,IAAI,GAAG,CAAC,yBAAyB,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC;AAClE,CAAC;AAED,MAAM,UAAU,aAAa,CAAC,SAAiB;IAC7C,IAAI,SAAS,CAAC,WAAW,EAAE,KAAK,KAAK,EAAE,CAAC;QACtC,OAAO,IAAI,GAAG,CAAC,0BAA0B,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC;IACnE,CAAC;IACD,OAAO,IAAI,GAAG,CAAC,4BAA4B,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC;AACrE,CAAC"}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import '@material/web/dialog/dialog';
|
|
2
|
-
import '@material/web/icon/icon';
|
|
3
|
-
import '@material/web/button/text-button';
|
|
4
|
-
import { LitElement } from 'lit';
|
|
5
|
-
import { MdDialog } from '@material/web/dialog/dialog';
|
|
6
|
-
/**
|
|
7
|
-
* Image preview dialog
|
|
8
|
-
*
|
|
9
|
-
* @element image-preview-dialog
|
|
10
|
-
*
|
|
11
|
-
*/
|
|
12
|
-
export declare class ImagePreviewDialog extends LitElement {
|
|
13
|
-
protected accessor imageUrl: string | undefined;
|
|
14
|
-
protected accessor downloadSrc: string | undefined;
|
|
15
|
-
protected accessor filename: string | undefined;
|
|
16
|
-
protected accessor dialog: MdDialog;
|
|
17
|
-
open(imageUrl: string, downloadSrc?: string, filename?: string): Promise<void>;
|
|
18
|
-
static styles: import("lit").CSSResult[];
|
|
19
|
-
render(): import("lit-html").TemplateResult<1>;
|
|
20
|
-
}
|
|
21
|
-
//# sourceMappingURL=image-preview-dialog.d.ts.map
|
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
import { __decorate } from "tslib";
|
|
2
|
-
import '@material/web/dialog/dialog';
|
|
3
|
-
import '@material/web/icon/icon';
|
|
4
|
-
import '@material/web/button/text-button';
|
|
5
|
-
import { css, html, LitElement } from 'lit';
|
|
6
|
-
import { customElement, query, state } from 'lit/decorators.js';
|
|
7
|
-
import { ifDefined } from 'lit/directives/if-defined.js';
|
|
8
|
-
import { middleEllipsis } from '../../titanium/helpers/middle-ellipsis';
|
|
9
|
-
import { dialogZIndexHack } from '../hacks/dialog-zindex-hack';
|
|
10
|
-
/**
|
|
11
|
-
* Image preview dialog
|
|
12
|
-
*
|
|
13
|
-
* @element image-preview-dialog
|
|
14
|
-
*
|
|
15
|
-
*/
|
|
16
|
-
let ImagePreviewDialog = class ImagePreviewDialog extends LitElement {
|
|
17
|
-
#imageUrl_accessor_storage;
|
|
18
|
-
get imageUrl() { return this.#imageUrl_accessor_storage; }
|
|
19
|
-
set imageUrl(value) { this.#imageUrl_accessor_storage = value; }
|
|
20
|
-
#downloadSrc_accessor_storage;
|
|
21
|
-
get downloadSrc() { return this.#downloadSrc_accessor_storage; }
|
|
22
|
-
set downloadSrc(value) { this.#downloadSrc_accessor_storage = value; }
|
|
23
|
-
#filename_accessor_storage;
|
|
24
|
-
get filename() { return this.#filename_accessor_storage; }
|
|
25
|
-
set filename(value) { this.#filename_accessor_storage = value; }
|
|
26
|
-
#dialog_accessor_storage;
|
|
27
|
-
get dialog() { return this.#dialog_accessor_storage; }
|
|
28
|
-
set dialog(value) { this.#dialog_accessor_storage = value; }
|
|
29
|
-
async open(imageUrl, downloadSrc, filename) {
|
|
30
|
-
this.imageUrl = undefined; //prevent ghost images
|
|
31
|
-
this.filename = filename;
|
|
32
|
-
this.downloadSrc = downloadSrc;
|
|
33
|
-
this.imageUrl = imageUrl;
|
|
34
|
-
return this.dialog.show();
|
|
35
|
-
}
|
|
36
|
-
static { this.styles = [
|
|
37
|
-
css `
|
|
38
|
-
div[header] {
|
|
39
|
-
word-break: break-all;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
md-dialog {
|
|
43
|
-
max-width: calc(100vw - 48px);
|
|
44
|
-
max-height: calc(100vh - 48px);
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
img {
|
|
48
|
-
width: 100%;
|
|
49
|
-
}
|
|
50
|
-
`,
|
|
51
|
-
]; }
|
|
52
|
-
render() {
|
|
53
|
-
return html `
|
|
54
|
-
<md-dialog @open=${(e) => dialogZIndexHack(e.target)}>
|
|
55
|
-
<div header slot="headline">${middleEllipsis(this.filename || 'Image preview', 60)}</div>
|
|
56
|
-
<img slot="content" draggable="false" src=${ifDefined(this.imageUrl)} />
|
|
57
|
-
<div slot="actions">
|
|
58
|
-
${this.downloadSrc
|
|
59
|
-
? html `<md-text-button
|
|
60
|
-
@click=${(e) => {
|
|
61
|
-
e.stopPropagation();
|
|
62
|
-
window.open(this.downloadSrc);
|
|
63
|
-
}}
|
|
64
|
-
><md-icon slot="icon">file_download</md-icon>Download</md-text-button
|
|
65
|
-
>`
|
|
66
|
-
: html `<div></div>`}
|
|
67
|
-
|
|
68
|
-
<md-text-button
|
|
69
|
-
@click=${(e) => {
|
|
70
|
-
e.stopPropagation();
|
|
71
|
-
this.dialog.close('close');
|
|
72
|
-
}}
|
|
73
|
-
>Close</md-text-button
|
|
74
|
-
>
|
|
75
|
-
</div>
|
|
76
|
-
</md-dialog>
|
|
77
|
-
`;
|
|
78
|
-
}
|
|
79
|
-
};
|
|
80
|
-
__decorate([
|
|
81
|
-
state()
|
|
82
|
-
], ImagePreviewDialog.prototype, "imageUrl", null);
|
|
83
|
-
__decorate([
|
|
84
|
-
state()
|
|
85
|
-
], ImagePreviewDialog.prototype, "downloadSrc", null);
|
|
86
|
-
__decorate([
|
|
87
|
-
state()
|
|
88
|
-
], ImagePreviewDialog.prototype, "filename", null);
|
|
89
|
-
__decorate([
|
|
90
|
-
query('md-dialog')
|
|
91
|
-
], ImagePreviewDialog.prototype, "dialog", null);
|
|
92
|
-
ImagePreviewDialog = __decorate([
|
|
93
|
-
customElement('image-preview-dialog')
|
|
94
|
-
], ImagePreviewDialog);
|
|
95
|
-
export { ImagePreviewDialog };
|
|
96
|
-
//# sourceMappingURL=image-preview-dialog.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"image-preview-dialog.js","sourceRoot":"","sources":["image-preview-dialog.ts"],"names":[],"mappings":";AAAA,OAAO,6BAA6B,CAAC;AACrC,OAAO,yBAAyB,CAAC;AACjC,OAAO,kCAAkC,CAAC;AAE1C,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AAC5C,OAAO,EAAE,aAAa,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAChE,OAAO,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AACzD,OAAO,EAAE,cAAc,EAAE,MAAM,wCAAwC,CAAC;AAExE,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAG/D;;;;;GAKG;AAEI,IAAM,kBAAkB,GAAxB,MAAM,kBAAmB,SAAQ,UAAU;IACpB,2BAA6B;IAA7B,IAAA,QAAQ,8CAAqB;IAA7B,IAAA,QAAQ,oDAAqB;IAC7B,8BAAgC;IAAhC,IAAA,WAAW,iDAAqB;IAAhC,IAAA,WAAW,uDAAqB;IAChC,2BAA6B;IAA7B,IAAA,QAAQ,8CAAqB;IAA7B,IAAA,QAAQ,oDAAqB;IAElB,yBAAiB;IAAjB,IAAA,MAAM,4CAAW;IAAjB,IAAA,MAAM,kDAAW;IAExD,KAAK,CAAC,IAAI,CAAC,QAAgB,EAAE,WAAoB,EAAE,QAAiB;QAClE,IAAI,CAAC,QAAQ,GAAG,SAAS,CAAC,CAAC,sBAAsB;QACjD,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;QAC/B,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,OAAO,IAAI,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC;IAC5B,CAAC;aAEM,WAAM,GAAG;QACd,GAAG,CAAA;;;;;;;;;;;;;KAaF;KACF,AAfY,CAeX;IAEF,MAAM;QACJ,OAAO,IAAI,CAAA;yBACU,CAAC,CAAqB,EAAE,EAAE,CAAC,gBAAgB,CAAC,CAAC,CAAC,MAAM,CAAC;sCACxC,cAAc,CAAC,IAAI,CAAC,QAAQ,IAAI,eAAe,EAAE,EAAE,CAAC;oDACtC,SAAS,CAAC,IAAI,CAAC,QAAQ,CAAC;;YAEhE,IAAI,CAAC,WAAW;YAChB,CAAC,CAAC,IAAI,CAAA;yBACO,CAAC,CAAa,EAAE,EAAE;gBACzB,CAAC,CAAC,eAAe,EAAE,CAAC;gBACpB,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;YAChC,CAAC;;gBAED;YACJ,CAAC,CAAC,IAAI,CAAA,aAAa;;;qBAGV,CAAC,CAAa,EAAE,EAAE;YACzB,CAAC,CAAC,eAAe,EAAE,CAAC;YACpB,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;QAC7B,CAAC;;;;;KAKR,CAAC;IACJ,CAAC;;AAzD2B;IAA3B,KAAK,EAAE;kDAAiD;AAC7B;IAA3B,KAAK,EAAE;qDAAoD;AAChC;IAA3B,KAAK,EAAE;kDAAiD;AAElB;IAAtC,KAAK,CAAC,WAAW,CAAC;gDAAqC;AAL7C,kBAAkB;IAD9B,aAAa,CAAC,sBAAsB,CAAC;GACzB,kBAAkB,CA2D9B"}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,133 +0,0 @@
|
|
|
1
|
-
import '../chip-multi-select/chip-multi-select';
|
|
2
|
-
import './crop-and-save-image-dialog';
|
|
3
|
-
import './image-preview-dialog';
|
|
4
|
-
import '@material/web/dialog/dialog';
|
|
5
|
-
import '@material/web/icon/icon';
|
|
6
|
-
import '@material/web/button/text-button';
|
|
7
|
-
import '@material/web/button/outlined-button';
|
|
8
|
-
import '@material/web/button/filled-tonal-button';
|
|
9
|
-
import '@material/web/chips/input-chip';
|
|
10
|
-
import { LitElement } from 'lit';
|
|
11
|
-
import { CropAndSaveImageDialog, CropperOptions } from './crop-and-save-image-dialog';
|
|
12
|
-
import { SmartAttachment } from './type/smart-attachment';
|
|
13
|
-
import { ImagePreviewDialog } from './image-preview-dialog';
|
|
14
|
-
import { IDatabaseAttachment } from '@leavittsoftware/lg-core-typescript/lg.net.system';
|
|
15
|
-
export type TitaniumSmartInputOptions = CropperOptions;
|
|
16
|
-
/**
|
|
17
|
-
* Material outline image input with cropper
|
|
18
|
-
*
|
|
19
|
-
* @element titanium-smart-attachment-input
|
|
20
|
-
*
|
|
21
|
-
* @fires change - Fired when image is attached or removed from input.
|
|
22
|
-
*
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
|
-
export declare class TitaniumSmartAttachmentInput extends LitElement {
|
|
26
|
-
#private;
|
|
27
|
-
protected accessor files: SmartAttachment[];
|
|
28
|
-
protected accessor isOver: boolean;
|
|
29
|
-
protected accessor previewSrc: string | undefined;
|
|
30
|
-
protected accessor input: HTMLInputElement;
|
|
31
|
-
protected accessor imagePreviewDialog: ImagePreviewDialog;
|
|
32
|
-
protected accessor cropperDialog: CropAndSaveImageDialog;
|
|
33
|
-
private accessor confirmDeleteDialog;
|
|
34
|
-
private accessor chipMultiSelect;
|
|
35
|
-
/**
|
|
36
|
-
* File types to accept ex. "image/*,.pdf"
|
|
37
|
-
*/
|
|
38
|
-
accessor accept: string;
|
|
39
|
-
/**
|
|
40
|
-
* Allow multiple attachments
|
|
41
|
-
*/
|
|
42
|
-
accessor multiple: boolean;
|
|
43
|
-
/**
|
|
44
|
-
* Requires at least one attachment on validate
|
|
45
|
-
*/
|
|
46
|
-
accessor required: boolean;
|
|
47
|
-
/**
|
|
48
|
-
* Whether or not the input should be disabled
|
|
49
|
-
*/
|
|
50
|
-
accessor disabled: boolean;
|
|
51
|
-
/**
|
|
52
|
-
* Requires user to confirm when delete of an attachment is requested
|
|
53
|
-
*/
|
|
54
|
-
accessor confirmDelete: boolean;
|
|
55
|
-
/**
|
|
56
|
-
* Delete confirmation header text
|
|
57
|
-
*/
|
|
58
|
-
accessor confirmDeleteHeader: string;
|
|
59
|
-
/**
|
|
60
|
-
* Delete confirmation paragraph text
|
|
61
|
-
*/
|
|
62
|
-
accessor confirmDeleteText: string;
|
|
63
|
-
/**
|
|
64
|
-
* Add button label text
|
|
65
|
-
*/
|
|
66
|
-
accessor addButtonLabel: string;
|
|
67
|
-
/**
|
|
68
|
-
* Label of input
|
|
69
|
-
*/
|
|
70
|
-
accessor label: string;
|
|
71
|
-
/**
|
|
72
|
-
* Sets supporting text
|
|
73
|
-
*/
|
|
74
|
-
accessor supportingText: string;
|
|
75
|
-
/**
|
|
76
|
-
* Text to show when there are no attachments
|
|
77
|
-
*/
|
|
78
|
-
accessor noItemsText: string;
|
|
79
|
-
/**
|
|
80
|
-
* Configurable CropperJs options.
|
|
81
|
-
*/
|
|
82
|
-
accessor options: CropperOptions;
|
|
83
|
-
/**
|
|
84
|
-
* Forces cropper to output PNG's
|
|
85
|
-
*/
|
|
86
|
-
accessor forcePNGOutput: boolean;
|
|
87
|
-
/**
|
|
88
|
-
* Swaps out outlined chip multi select for a filled chip multi select.
|
|
89
|
-
*/
|
|
90
|
-
accessor filled: boolean;
|
|
91
|
-
/**
|
|
92
|
-
* Image formats here are sent to the cropper
|
|
93
|
-
*/
|
|
94
|
-
accessor croppableImageFormats: Array<string>;
|
|
95
|
-
/**
|
|
96
|
-
* File object of cropped image.
|
|
97
|
-
*/
|
|
98
|
-
getFiles(): SmartAttachment[];
|
|
99
|
-
/**
|
|
100
|
-
* Use to preset input to existing image.
|
|
101
|
-
*/
|
|
102
|
-
setFiles(...files: {
|
|
103
|
-
fileName: string;
|
|
104
|
-
previewSrc?: string;
|
|
105
|
-
downloadSrc?: string;
|
|
106
|
-
id?: number;
|
|
107
|
-
}[]): void;
|
|
108
|
-
/**
|
|
109
|
-
* Use to preset input to existing image.
|
|
110
|
-
*/
|
|
111
|
-
setFilesFromDatabaseAttachments(...attachments: Partial<IDatabaseAttachment>[]): void;
|
|
112
|
-
/**
|
|
113
|
-
* Returns true if the input passes validity checks.
|
|
114
|
-
*/
|
|
115
|
-
checkValidity(): boolean | undefined;
|
|
116
|
-
/**
|
|
117
|
-
* Runs checkValidity() method, and if it returns false, then it reports to the user that the input is invalid.
|
|
118
|
-
*/
|
|
119
|
-
reportValidity(): boolean | undefined;
|
|
120
|
-
/**
|
|
121
|
-
* Returns true if the images have been added, removed or edited.
|
|
122
|
-
*/
|
|
123
|
-
hasChanges(): boolean;
|
|
124
|
-
/**
|
|
125
|
-
* Resets the inputs state.
|
|
126
|
-
*/
|
|
127
|
-
reset(): Promise<void>;
|
|
128
|
-
handleNewFile(files: FileList): Promise<void>;
|
|
129
|
-
toBase64(file: File): Promise<string | ArrayBuffer | null>;
|
|
130
|
-
static styles: import("lit").CSSResult[];
|
|
131
|
-
render(): import("lit-html").TemplateResult;
|
|
132
|
-
}
|
|
133
|
-
//# sourceMappingURL=smart-attachment-input.d.ts.map
|