@leavittsoftware/web 9.8.0 → 10.0.0
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/.ncurc.js +1 -1
- package/CLAUDE.md +1320 -0
- package/LICENSE.md +1 -1
- package/leavitt/api-service/api-service.js +3 -2
- package/leavitt/api-service/api-service.js.map +1 -1
- package/leavitt/api-service/blob-response.js +1 -0
- package/leavitt/api-service/blob-response.js.map +1 -1
- package/leavitt/app/app-logo.js +1 -1
- package/leavitt/app/app-logo.js.map +1 -1
- package/leavitt/app/app-main-content-container.js +5 -0
- package/leavitt/app/app-main-content-container.js.map +1 -1
- package/leavitt/app/app-navigation-header.js +10 -10
- package/leavitt/app/app-navigation-header.js.map +1 -1
- package/leavitt/company-select/company-select.js +2 -2
- package/leavitt/company-select/company-select.js.map +1 -1
- package/leavitt/email-history-viewer/email-history-viewer-filled-filter-dialog.d.ts +3 -369
- package/leavitt/email-history-viewer/email-history-viewer-filled-filter-dialog.js +15 -9
- package/leavitt/email-history-viewer/email-history-viewer-filled-filter-dialog.js.map +1 -1
- package/leavitt/email-history-viewer/email-history-viewer-filled.d.ts +3 -374
- package/leavitt/email-history-viewer/email-history-viewer-filled.js +15 -33
- package/leavitt/email-history-viewer/email-history-viewer-filled.js.map +1 -1
- package/leavitt/email-history-viewer/view-email-template-info-dialog.d.ts +3 -369
- package/leavitt/email-history-viewer/view-email-template-info-dialog.js +12 -5
- package/leavitt/email-history-viewer/view-email-template-info-dialog.js.map +1 -1
- package/leavitt/email-history-viewer/view-sent-email-dialog.d.ts +3 -369
- package/leavitt/email-history-viewer/view-sent-email-dialog.js +13 -6
- package/leavitt/email-history-viewer/view-sent-email-dialog.js.map +1 -1
- package/leavitt/error-page/error-page.d.ts +4 -2
- package/leavitt/error-page/error-page.js +126 -37
- package/leavitt/error-page/error-page.js.map +1 -1
- package/leavitt/file-explorer/add-folder-modal.d.ts +3 -369
- package/leavitt/file-explorer/add-folder-modal.js +13 -6
- package/leavitt/file-explorer/add-folder-modal.js.map +1 -1
- package/leavitt/file-explorer/file-explorer-image.js.map +1 -1
- package/leavitt/file-explorer/file-explorer.d.ts +5 -371
- package/leavitt/file-explorer/file-explorer.js +35 -30
- package/leavitt/file-explorer/file-explorer.js.map +1 -1
- package/leavitt/file-explorer/file-list-item.js.map +1 -1
- package/leavitt/file-explorer/file-modal.d.ts +3 -369
- package/leavitt/file-explorer/file-modal.js +12 -5
- package/leavitt/file-explorer/file-modal.js.map +1 -1
- package/leavitt/file-explorer/folder-list-item.js.map +1 -1
- package/leavitt/file-explorer/folder-modal.d.ts +3 -369
- package/leavitt/file-explorer/folder-modal.js +12 -5
- package/leavitt/file-explorer/folder-modal.js.map +1 -1
- package/leavitt/person-company-select/person-company-select.js +5 -3
- package/leavitt/person-company-select/person-company-select.js.map +1 -1
- package/leavitt/person-group-select/person-group-select.js +5 -3
- package/leavitt/person-group-select/person-group-select.js.map +1 -1
- package/leavitt/person-select/person-select.js +3 -2
- package/leavitt/person-select/person-select.js.map +1 -1
- package/leavitt/profile-picture/profile-picture-menu.js +2 -0
- package/leavitt/profile-picture/profile-picture-menu.js.map +1 -1
- package/leavitt/profile-picture/profile-picture.js +4 -4
- package/leavitt/profile-picture/profile-picture.js.map +1 -1
- package/leavitt/service-worker-notifier/service-worker-notifier.js.map +1 -1
- package/leavitt/theme/theme-preference.js +4 -0
- package/leavitt/theme/theme-preference.js.map +1 -1
- package/leavitt/user-feedback/provide-feedback-dialog.d.ts +3 -369
- package/leavitt/user-feedback/provide-feedback-dialog.js +11 -4
- package/leavitt/user-feedback/provide-feedback-dialog.js.map +1 -1
- package/leavitt/user-feedback/report-a-problem-dialog.d.ts +3 -369
- package/leavitt/user-feedback/report-a-problem-dialog.js +11 -4
- package/leavitt/user-feedback/report-a-problem-dialog.js.map +1 -1
- package/leavitt/user-manager/auth-zero-lg-user-manager.js +5 -5
- package/leavitt/user-manager/auth-zero-lg-user-manager.js.map +1 -1
- package/package.json +8 -10
- package/titanium/address-input/address-input.js +0 -2
- package/titanium/address-input/address-input.js.map +1 -1
- package/titanium/address-input/google-address-input.d.ts +1 -0
- package/titanium/address-input/google-address-input.js +62 -45
- package/titanium/address-input/google-address-input.js.map +1 -1
- package/titanium/address-input/google-maps-process-shim.d.ts +2 -0
- package/titanium/address-input/google-maps-process-shim.js +12 -0
- package/titanium/address-input/google-maps-process-shim.js.map +1 -0
- package/titanium/address-input/manual-address-dialog.d.ts +2 -7
- package/titanium/address-input/manual-address-dialog.js +21 -34
- package/titanium/address-input/manual-address-dialog.js.map +1 -1
- package/titanium/address-input/utils/place-result-to-address.d.ts +1 -1
- package/titanium/address-input/utils/place-result-to-address.js +31 -30
- package/titanium/address-input/utils/place-result-to-address.js.map +1 -1
- package/titanium/chip/chip.d.ts +0 -1
- package/titanium/chip/chip.js +7 -17
- package/titanium/chip/chip.js.map +1 -1
- package/titanium/chip-multi-select/chip-multi-select.d.ts +3 -8
- package/titanium/chip-multi-select/chip-multi-select.js +41 -62
- package/titanium/chip-multi-select/chip-multi-select.js.map +1 -1
- package/titanium/circle-loading-indicator/circle-loading-indicator.js +5 -5
- package/titanium/circle-loading-indicator/circle-loading-indicator.js.map +1 -1
- package/titanium/confirmation-dialog/confirmation-dialog.js +2 -0
- package/titanium/confirmation-dialog/confirmation-dialog.js.map +1 -1
- package/titanium/data-table/data-table-action-bar.js +1 -5
- package/titanium/data-table/data-table-action-bar.js.map +1 -1
- package/titanium/data-table/data-table-core-reorder-dialog.d.ts +3 -369
- package/titanium/data-table/data-table-core-reorder-dialog.js +10 -3
- package/titanium/data-table/data-table-core-reorder-dialog.js.map +1 -1
- package/titanium/data-table/data-table-core-reorder-item.js.map +1 -1
- package/titanium/data-table/data-table-core-settings-choose-columns-dialog.js.map +1 -1
- package/titanium/data-table/data-table-core-settings-choose-columns-item.js +3 -3
- package/titanium/data-table/data-table-core-settings-choose-columns-item.js.map +1 -1
- package/titanium/data-table/data-table-core-settings-sort-dialog.js.map +1 -1
- package/titanium/data-table/data-table-core-settings-sort-item.js +3 -3
- package/titanium/data-table/data-table-core-settings-sort-item.js.map +1 -1
- package/titanium/data-table/data-table-core.d.ts +5 -369
- package/titanium/data-table/data-table-core.js +13 -2
- package/titanium/data-table/data-table-core.js.map +1 -1
- package/titanium/data-table/draggable-item-base.js +6 -0
- package/titanium/data-table/draggable-item-base.js.map +1 -1
- package/titanium/data-table/filter-controller.js.map +1 -1
- package/titanium/data-table/page-control.d.ts +3 -8
- package/titanium/data-table/page-control.js +13 -33
- package/titanium/data-table/page-control.js.map +1 -1
- package/titanium/date-input/date-input.d.ts +1 -6
- package/titanium/date-input/date-input.js +8 -44
- package/titanium/date-input/date-input.js.map +1 -1
- package/titanium/date-range-selector/date-range-selector.d.ts +1 -6
- package/titanium/date-range-selector/date-range-selector.js +15 -35
- package/titanium/date-range-selector/date-range-selector.js.map +1 -1
- package/titanium/drawer/drawer.d.ts +1 -6
- package/titanium/drawer/drawer.js +4 -23
- package/titanium/drawer/drawer.js.map +1 -1
- package/titanium/event-bus/event-bus.js.map +1 -1
- package/titanium/helpers/debouncer.js.map +1 -1
- package/titanium/helpers/helpers.d.ts +0 -1
- package/titanium/helpers/helpers.js +0 -1
- package/titanium/helpers/helpers.js.map +1 -1
- package/titanium/helpers/pending-state-catcher.d.ts +7 -406
- package/titanium/helpers/pending-state-catcher.js +85 -82
- package/titanium/helpers/pending-state-catcher.js.map +1 -1
- package/titanium/input-validator/filled-input-validator.js.map +1 -1
- package/titanium/profile-picture-stack/profile-picture-stack.js +2 -2
- package/titanium/profile-picture-stack/profile-picture-stack.js.map +1 -1
- package/titanium/search-input/filled-search-input.js.map +1 -1
- package/titanium/show-hide/show-hide.d.ts +1 -6
- package/titanium/show-hide/show-hide.js +2 -18
- package/titanium/show-hide/show-hide.js.map +1 -1
- package/titanium/single-select-base/single-select-base.d.ts +11 -381
- package/titanium/single-select-base/single-select-base.js +43 -50
- package/titanium/single-select-base/single-select-base.js.map +1 -1
- package/titanium/site-search-text-field-controller/site-search-text-field-controller.d.ts +2 -0
- package/titanium/site-search-text-field-controller/site-search-text-field-controller.js +2 -0
- package/titanium/site-search-text-field-controller/site-search-text-field-controller.js.map +1 -1
- package/titanium/smart-attachment-input/crop-and-save-image-dialog.d.ts +3 -369
- package/titanium/smart-attachment-input/crop-and-save-image-dialog.js +21 -16
- package/titanium/smart-attachment-input/crop-and-save-image-dialog.js.map +1 -1
- package/titanium/smart-attachment-input/image-preview-dialog.js.map +1 -1
- package/titanium/smart-attachment-input/smart-attachment-input.d.ts +1 -6
- package/titanium/smart-attachment-input/smart-attachment-input.js +5 -18
- package/titanium/smart-attachment-input/smart-attachment-input.js.map +1 -1
- package/titanium/snackbar/snackbar-stack.js +2 -2
- package/titanium/snackbar/snackbar-stack.js.map +1 -1
- package/titanium/snackbar/snackbars/http-error-snackbar.js +1 -1
- package/titanium/snackbar/snackbars/http-error-snackbar.js.map +1 -1
- package/titanium/snackbar/snackbars/simple-snackbar.js +3 -3
- package/titanium/snackbar/snackbars/simple-snackbar.js.map +1 -1
- package/titanium/toolbar/toolbar.js +1 -1
- package/titanium/toolbar/toolbar.js.map +1 -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/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.d.ts +0 -413
- package/leavitt/email-history-viewer/email-history-viewer.js +0 -403
- package/leavitt/email-history-viewer/email-history-viewer.js.map +0 -1
- package/leavitt/user-feedback/user-feedback.d.ts +0 -390
- package/leavitt/user-feedback/user-feedback.js +0 -221
- package/leavitt/user-feedback/user-feedback.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/card/card.d.ts +0 -24
- package/titanium/card/card.js +0 -188
- package/titanium/card/card.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/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/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/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/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/header/header.d.ts +0 -39
- package/titanium/header/header.js +0 -167
- package/titanium/header/header.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/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/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/youtube-input/youtube-input.d.ts +0 -20
- package/titanium/youtube-input/youtube-input.js +0 -72
- package/titanium/youtube-input/youtube-input.js.map +0 -1
|
@@ -1,127 +0,0 @@
|
|
|
1
|
-
import './page-control';
|
|
2
|
-
import '@material/web/checkbox/checkbox';
|
|
3
|
-
import '@material/web/progress/linear-progress';
|
|
4
|
-
import '@material/web/icon/icon';
|
|
5
|
-
import { LitElement } from 'lit';
|
|
6
|
-
import { TitaniumPageControl } from './page-control';
|
|
7
|
-
import { MdCheckbox } from '@material/web/checkbox/checkbox';
|
|
8
|
-
/**
|
|
9
|
-
* Material design inspired data table with paging, sorting, multi/single select, table actions, selected actions and more!
|
|
10
|
-
*
|
|
11
|
-
* @element titanium-data-table
|
|
12
|
-
*
|
|
13
|
-
* @fires selected-changed - Fired when a row or rows in the data table is selected. detail: array<unknown>
|
|
14
|
-
* @fires titanium-data-table-items-reorder - Fired when table items are resorted by user.
|
|
15
|
-
* @fires paging-changed - Fired when take or page is changed by click or keyboard action.
|
|
16
|
-
*
|
|
17
|
-
* @slot table-actions - item nonspecific table buttons such as add new item
|
|
18
|
-
* @slot filter-button - filter button slot
|
|
19
|
-
* @slot filters - filter chips slot
|
|
20
|
-
* @slot search-button - search button slot
|
|
21
|
-
* @slot selected-actions - item specific table buttons such as edit, delete shown when one or more items are selected
|
|
22
|
-
* @slot table-headers - slot for table headers (ex. titanium-data-table-header)
|
|
23
|
-
* @slot items - slot for table rows (ex. titanium-data-table-item)
|
|
24
|
-
* @slot footer - slot for additional footer items. Slotting here overwrites footer-buttons.
|
|
25
|
-
* @slot footer-buttons - slot for footer action buttons
|
|
26
|
-
*
|
|
27
|
-
* @cssprop {Color} [var(--md-sys-color-outline-variant)] - Table border color
|
|
28
|
-
* @cssprop {Color} [--titanium-data-table-font-family=Roboto, Noto, sans-serif] - Set the font family used on the data table and paging control
|
|
29
|
-
*/
|
|
30
|
-
export declare class TitaniumDataTable extends LitElement {
|
|
31
|
-
#private;
|
|
32
|
-
/**
|
|
33
|
-
* Table heading / title
|
|
34
|
-
*/
|
|
35
|
-
accessor header: string;
|
|
36
|
-
/**
|
|
37
|
-
* Local storage key. Not required if header is static and unique
|
|
38
|
-
*/
|
|
39
|
-
accessor localStorageKey: string;
|
|
40
|
-
/**
|
|
41
|
-
* Available page sizes
|
|
42
|
-
*/
|
|
43
|
-
accessor pageSizes: Array<number>;
|
|
44
|
-
/**
|
|
45
|
-
* The default page size before the user changes it
|
|
46
|
-
*/
|
|
47
|
-
accessor defaultPageSize: number;
|
|
48
|
-
/**
|
|
49
|
-
* Total number of items in all pages.
|
|
50
|
-
*/
|
|
51
|
-
accessor count: number;
|
|
52
|
-
/**
|
|
53
|
-
* Current items displayed on the table.
|
|
54
|
-
*/
|
|
55
|
-
accessor items: Array<unknown>;
|
|
56
|
-
/**
|
|
57
|
-
* Current search term shown in the no result state if no results are found
|
|
58
|
-
*/
|
|
59
|
-
accessor searchTerm: string;
|
|
60
|
-
/**
|
|
61
|
-
* Limits table selection mode to single-select. Default is multi-select.
|
|
62
|
-
*/
|
|
63
|
-
accessor singleSelect: boolean;
|
|
64
|
-
/**
|
|
65
|
-
* Disables all item selection on the data-table.
|
|
66
|
-
*/
|
|
67
|
-
accessor disableSelect: boolean;
|
|
68
|
-
/**
|
|
69
|
-
* Disables paging.
|
|
70
|
-
*/
|
|
71
|
-
accessor disablePaging: boolean;
|
|
72
|
-
/**
|
|
73
|
-
* Array of currently selected data table objects
|
|
74
|
-
*/
|
|
75
|
-
accessor selected: Array<unknown>;
|
|
76
|
-
accessor itemsContainer: HTMLDivElement;
|
|
77
|
-
accessor itemsSlot: HTMLSlotElement;
|
|
78
|
-
protected accessor narrow: boolean;
|
|
79
|
-
protected accessor hasDragItems: boolean;
|
|
80
|
-
protected accessor narrowMaxWidth: number;
|
|
81
|
-
protected accessor isLoading: boolean;
|
|
82
|
-
protected accessor tableHeaders: HTMLSlotElement;
|
|
83
|
-
protected accessor checkbox: MdCheckbox;
|
|
84
|
-
protected accessor pageControl: Promise<TitaniumPageControl | null>;
|
|
85
|
-
/**
|
|
86
|
-
* returns internal pageControl's current take
|
|
87
|
-
*/
|
|
88
|
-
getTake(): Promise<number>;
|
|
89
|
-
/**
|
|
90
|
-
* returns internal pageControl's current page
|
|
91
|
-
*/
|
|
92
|
-
getPage(): Promise<number>;
|
|
93
|
-
/**
|
|
94
|
-
* sets internal pageControl's current take
|
|
95
|
-
*/
|
|
96
|
-
setTake(take: number): Promise<void>;
|
|
97
|
-
/**
|
|
98
|
-
* sets internal pageControl's current page
|
|
99
|
-
*/
|
|
100
|
-
setPage(page: number): Promise<void>;
|
|
101
|
-
/**
|
|
102
|
-
* resets internal pageControl's current page to 0
|
|
103
|
-
*/
|
|
104
|
-
resetPage(): Promise<void>;
|
|
105
|
-
firstUpdated(): Promise<void>;
|
|
106
|
-
protected updateChildrenIsNarrow(): void;
|
|
107
|
-
/**
|
|
108
|
-
* de-select all table items and clear this.selected
|
|
109
|
-
*/
|
|
110
|
-
clearSelection(): void;
|
|
111
|
-
updated(changedProps: any): void;
|
|
112
|
-
/**
|
|
113
|
-
* display linear progress bar while promise is active
|
|
114
|
-
*/
|
|
115
|
-
loadWhile(promise: Promise<unknown>): Promise<void>;
|
|
116
|
-
/**
|
|
117
|
-
* select all table items
|
|
118
|
-
*/
|
|
119
|
-
selectAll(): void;
|
|
120
|
-
static styles: import("lit").CSSResult[];
|
|
121
|
-
render(): import("lit-html").TemplateResult<1>;
|
|
122
|
-
}
|
|
123
|
-
export declare class DataTableItemsReorderedEvent extends Event {
|
|
124
|
-
static eventType: string;
|
|
125
|
-
constructor();
|
|
126
|
-
}
|
|
127
|
-
//# sourceMappingURL=data-table.d.ts.map
|