@leavittsoftware/web 9.9.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/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,167 +0,0 @@
|
|
|
1
|
-
import { __decorate } from "tslib";
|
|
2
|
-
import '@material/web/icon/icon';
|
|
3
|
-
import '@material/web/iconbutton/icon-button';
|
|
4
|
-
import { h1, h3 } from '../../titanium/styles/styles';
|
|
5
|
-
import { css, html, LitElement, nothing } from 'lit';
|
|
6
|
-
import { property, customElement } from 'lit/decorators.js';
|
|
7
|
-
/**
|
|
8
|
-
* A pre-styled page header with sub header and optional back button.
|
|
9
|
-
*
|
|
10
|
-
* @element titanium-header
|
|
11
|
-
*
|
|
12
|
-
* @fires titanium-header-back-click - Fired when the back button is clicked
|
|
13
|
-
*
|
|
14
|
-
* @cssprop {Color} [--md-sys-color-on-background] - Header text color
|
|
15
|
-
* @cssprop {Color} [--md-sys-color-on-surface-variant] - Sub-header text color
|
|
16
|
-
*/
|
|
17
|
-
let TitaniumHeader = class TitaniumHeader extends LitElement {
|
|
18
|
-
#header_accessor_storage;
|
|
19
|
-
/**
|
|
20
|
-
* Header text
|
|
21
|
-
*/
|
|
22
|
-
get header() { return this.#header_accessor_storage; }
|
|
23
|
-
set header(value) { this.#header_accessor_storage = value; }
|
|
24
|
-
#subHeader_accessor_storage;
|
|
25
|
-
/**
|
|
26
|
-
* Sub-header text
|
|
27
|
-
*/
|
|
28
|
-
get subHeader() { return this.#subHeader_accessor_storage; }
|
|
29
|
-
set subHeader(value) { this.#subHeader_accessor_storage = value; }
|
|
30
|
-
#icon_accessor_storage;
|
|
31
|
-
/**
|
|
32
|
-
* Leading header icon
|
|
33
|
-
*/
|
|
34
|
-
get icon() { return this.#icon_accessor_storage; }
|
|
35
|
-
set icon(value) { this.#icon_accessor_storage = value; }
|
|
36
|
-
#noNav_accessor_storage = false;
|
|
37
|
-
/**
|
|
38
|
-
* Removes the back button
|
|
39
|
-
*/
|
|
40
|
-
get noNav() { return this.#noNav_accessor_storage; }
|
|
41
|
-
set noNav(value) { this.#noNav_accessor_storage = value; }
|
|
42
|
-
#disableDefaultBackButtonBehavior_accessor_storage = false;
|
|
43
|
-
/**
|
|
44
|
-
* Lets user override back button behavior
|
|
45
|
-
*/
|
|
46
|
-
get disableDefaultBackButtonBehavior() { return this.#disableDefaultBackButtonBehavior_accessor_storage; }
|
|
47
|
-
set disableDefaultBackButtonBehavior(value) { this.#disableDefaultBackButtonBehavior_accessor_storage = value; }
|
|
48
|
-
#handleBackClick() {
|
|
49
|
-
if (this.disableDefaultBackButtonBehavior) {
|
|
50
|
-
this.dispatchEvent(new CustomEvent('titanium-header-back-click', { composed: true }));
|
|
51
|
-
}
|
|
52
|
-
else {
|
|
53
|
-
window.history.back();
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
static { this.styles = [
|
|
57
|
-
h1,
|
|
58
|
-
h3,
|
|
59
|
-
css `
|
|
60
|
-
:host {
|
|
61
|
-
display: flex;
|
|
62
|
-
flex-direction: column;
|
|
63
|
-
-webkit-font-smoothing: antialiased;
|
|
64
|
-
padding: 0 52px 8px 52px;
|
|
65
|
-
position: relative;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
:host([no-nav]) md-icon-button {
|
|
69
|
-
display: none;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
:host([no-nav]) {
|
|
73
|
-
padding: 0 0 8px 0;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
header {
|
|
77
|
-
display: block;
|
|
78
|
-
text-align: center;
|
|
79
|
-
padding: 0 0 8px 0;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
h1 {
|
|
83
|
-
display: inline;
|
|
84
|
-
font-size: 40px;
|
|
85
|
-
line-height: 42px;
|
|
86
|
-
font-weight: 200;
|
|
87
|
-
|
|
88
|
-
margin: 0;
|
|
89
|
-
color: var(--md-sys-color-on-background);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
h3 {
|
|
93
|
-
color: var(--md-sys-color-on-surface-variant);
|
|
94
|
-
font-family: Metropolis, Roboto, Noto, sans-serif;
|
|
95
|
-
font-weight: 300;
|
|
96
|
-
font-size: 16px;
|
|
97
|
-
line-height: 20px;
|
|
98
|
-
text-align: center;
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
md-icon[header-icon] {
|
|
102
|
-
display: inline;
|
|
103
|
-
vertical-align: text-bottom;
|
|
104
|
-
font-size: 40px;
|
|
105
|
-
color: var(--md-sys-color-on-background);
|
|
106
|
-
margin-right: 8px;
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
md-icon-button {
|
|
110
|
-
position: absolute;
|
|
111
|
-
top: 0;
|
|
112
|
-
left: 0;
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
@media (max-width: 920px) {
|
|
116
|
-
h1 {
|
|
117
|
-
font-size: 30px;
|
|
118
|
-
line-height: 32px;
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
h3 {
|
|
122
|
-
font-size: 14px;
|
|
123
|
-
line-height: 16px;
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
md-icon[header-icon] {
|
|
127
|
-
font-size: 30px;
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
:host([hidden]) {
|
|
132
|
-
display: none;
|
|
133
|
-
}
|
|
134
|
-
`,
|
|
135
|
-
]; }
|
|
136
|
-
render() {
|
|
137
|
-
return html `
|
|
138
|
-
<header part="header">
|
|
139
|
-
${this.icon ? html `<md-icon header-icon part="icon">${this.icon}</md-icon>` : nothing}
|
|
140
|
-
<h1 part="h1">${this.header}</h1>
|
|
141
|
-
<md-icon-button part="button" @click=${this.#handleBackClick} large> <md-icon>arrow_back</md-icon></md-icon-button>
|
|
142
|
-
</header>
|
|
143
|
-
|
|
144
|
-
<h3 part="h3">${this.subHeader}</h3>
|
|
145
|
-
`;
|
|
146
|
-
}
|
|
147
|
-
};
|
|
148
|
-
__decorate([
|
|
149
|
-
property({ type: String })
|
|
150
|
-
], TitaniumHeader.prototype, "header", null);
|
|
151
|
-
__decorate([
|
|
152
|
-
property({ type: String })
|
|
153
|
-
], TitaniumHeader.prototype, "subHeader", null);
|
|
154
|
-
__decorate([
|
|
155
|
-
property({ type: String })
|
|
156
|
-
], TitaniumHeader.prototype, "icon", null);
|
|
157
|
-
__decorate([
|
|
158
|
-
property({ type: Boolean, reflect: true, attribute: 'no-nav' })
|
|
159
|
-
], TitaniumHeader.prototype, "noNav", null);
|
|
160
|
-
__decorate([
|
|
161
|
-
property({ type: Boolean, reflect: true, attribute: 'disable-default-back-button-behavior' })
|
|
162
|
-
], TitaniumHeader.prototype, "disableDefaultBackButtonBehavior", null);
|
|
163
|
-
TitaniumHeader = __decorate([
|
|
164
|
-
customElement('titanium-header')
|
|
165
|
-
], TitaniumHeader);
|
|
166
|
-
export { TitaniumHeader };
|
|
167
|
-
//# sourceMappingURL=header.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"header.js","sourceRoot":"","sources":["header.ts"],"names":[],"mappings":";AAAA,OAAO,yBAAyB,CAAC;AACjC,OAAO,sCAAsC,CAAC;AAE9C,OAAO,EAAE,EAAE,EAAE,EAAE,EAAE,MAAM,8BAA8B,CAAC;AACtD,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,KAAK,CAAC;AACrD,OAAO,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAE5D;;;;;;;;;GASG;AAEI,IAAM,cAAc,GAApB,MAAM,cAAe,SAAQ,UAAU;IAIP,yBAAe;IAHpD;;OAEG;IACkC,IAAA,MAAM,4CAAS;IAAf,IAAA,MAAM,kDAAS;IAKf,4BAAkB;IAHvD;;OAEG;IACkC,IAAA,SAAS,+CAAS;IAAlB,IAAA,SAAS,qDAAS;IAKlB,uBAAa;IAHlD;;OAEG;IACkC,IAAA,IAAI,0CAAS;IAAb,IAAA,IAAI,gDAAS;IAKwB,0BAAiB,KAAK,CAAC;IAHjG;;OAEG;IACuE,IAAA,KAAK,2CAAkB;IAAvB,IAAA,KAAK,iDAAkB;IAKO,qDAA4C,KAAK,CAAC;IAH1J;;OAEG;IACqG,IAAA,gCAAgC,sEAAkB;IAAlD,IAAA,gCAAgC,4EAAkB;IAE1J,gBAAgB;QACd,IAAI,IAAI,CAAC,gCAAgC,EAAE,CAAC;YAC1C,IAAI,CAAC,aAAa,CAAC,IAAI,WAAW,CAAC,4BAA4B,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC;QACxF,CAAC;aAAM,CAAC;YACN,MAAM,CAAC,OAAO,CAAC,IAAI,EAAE,CAAC;QACxB,CAAC;IACH,CAAC;aAEM,WAAM,GAAG;QACd,EAAE;QACF,EAAE;QACF,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KA2EF;KACF,AA/EY,CA+EX;IAEF,MAAM;QACJ,OAAO,IAAI,CAAA;;UAEL,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAA,oCAAoC,IAAI,CAAC,IAAI,YAAY,CAAC,CAAC,CAAC,OAAO;wBACrE,IAAI,CAAC,MAAM;+CACY,IAAI,CAAC,gBAAgB;;;sBAG9C,IAAI,CAAC,SAAS;KAC/B,CAAC;IACJ,CAAC;;AAzHoC;IAApC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;4CAAyB;AAKf;IAApC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;+CAA4B;AAKlB;IAApC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;0CAAuB;AAKwB;IAAzE,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,CAAC;2CAAiC;AAKO;IAAvG,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,sCAAsC,EAAE,CAAC;sEAA4D;AAxB/I,cAAc;IAD1B,aAAa,CAAC,iBAAiB,CAAC;GACpB,cAAc,CA8H1B"}
|
|
@@ -1,374 +0,0 @@
|
|
|
1
|
-
export type Constructor<T> = {
|
|
2
|
-
new (...args: any[]): T;
|
|
3
|
-
};
|
|
4
|
-
export declare const LoadWhile: <C extends Constructor<HTMLElement>>(base: C) => {
|
|
5
|
-
new (...args: any[]): {
|
|
6
|
-
/**
|
|
7
|
-
* @internal
|
|
8
|
-
*/
|
|
9
|
-
"__#private@#promiseCount": number;
|
|
10
|
-
isLoading: boolean;
|
|
11
|
-
loadWhile(promise: Promise<unknown>): Promise<void>;
|
|
12
|
-
accessKey: string;
|
|
13
|
-
readonly accessKeyLabel: string;
|
|
14
|
-
autocapitalize: string;
|
|
15
|
-
autocorrect: boolean;
|
|
16
|
-
dir: string;
|
|
17
|
-
draggable: boolean;
|
|
18
|
-
hidden: boolean;
|
|
19
|
-
inert: boolean;
|
|
20
|
-
innerText: string;
|
|
21
|
-
lang: string;
|
|
22
|
-
readonly offsetHeight: number;
|
|
23
|
-
readonly offsetLeft: number;
|
|
24
|
-
readonly offsetParent: Element | null;
|
|
25
|
-
readonly offsetTop: number;
|
|
26
|
-
readonly offsetWidth: number;
|
|
27
|
-
outerText: string;
|
|
28
|
-
popover: string | null;
|
|
29
|
-
spellcheck: boolean;
|
|
30
|
-
title: string;
|
|
31
|
-
translate: boolean;
|
|
32
|
-
writingSuggestions: string;
|
|
33
|
-
attachInternals(): ElementInternals;
|
|
34
|
-
click(): void;
|
|
35
|
-
hidePopover(): void;
|
|
36
|
-
hidePopover(): void;
|
|
37
|
-
showPopover(): void;
|
|
38
|
-
showPopover(): void;
|
|
39
|
-
togglePopover(options?: boolean): boolean;
|
|
40
|
-
togglePopover(force: boolean): void;
|
|
41
|
-
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
42
|
-
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
43
|
-
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
44
|
-
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
45
|
-
connectedCallback(): void;
|
|
46
|
-
disconnectedCallback(): void;
|
|
47
|
-
readonly attributes: NamedNodeMap;
|
|
48
|
-
get classList(): DOMTokenList;
|
|
49
|
-
set classList(value: string);
|
|
50
|
-
className: string;
|
|
51
|
-
readonly clientHeight: number;
|
|
52
|
-
readonly clientLeft: number;
|
|
53
|
-
readonly clientTop: number;
|
|
54
|
-
readonly clientWidth: number;
|
|
55
|
-
readonly currentCSSZoom: number;
|
|
56
|
-
id: string;
|
|
57
|
-
innerHTML: string;
|
|
58
|
-
readonly localName: string;
|
|
59
|
-
readonly namespaceURI: string | null;
|
|
60
|
-
onfullscreenchange: ((this: Element, ev: Event) => any) | null;
|
|
61
|
-
onfullscreenerror: ((this: Element, ev: Event) => any) | null;
|
|
62
|
-
outerHTML: string;
|
|
63
|
-
readonly ownerDocument: Document;
|
|
64
|
-
get part(): DOMTokenList;
|
|
65
|
-
set part(value: string);
|
|
66
|
-
readonly prefix: string | null;
|
|
67
|
-
readonly scrollHeight: number;
|
|
68
|
-
scrollLeft: number;
|
|
69
|
-
scrollTop: number;
|
|
70
|
-
readonly scrollWidth: number;
|
|
71
|
-
readonly shadowRoot: ShadowRoot | null;
|
|
72
|
-
slot: string;
|
|
73
|
-
readonly tagName: string;
|
|
74
|
-
attachShadow(init: ShadowRootInit): ShadowRoot;
|
|
75
|
-
checkVisibility(options?: CheckVisibilityOptions): boolean;
|
|
76
|
-
closest<K extends keyof HTMLElementTagNameMap>(selector: K): HTMLElementTagNameMap[K] | null;
|
|
77
|
-
closest<K extends keyof SVGElementTagNameMap>(selector: K): SVGElementTagNameMap[K] | null;
|
|
78
|
-
closest<K extends keyof MathMLElementTagNameMap>(selector: K): MathMLElementTagNameMap[K] | null;
|
|
79
|
-
closest<E extends Element = Element>(selectors: string): E | null;
|
|
80
|
-
computedStyleMap(): StylePropertyMapReadOnly;
|
|
81
|
-
getAttribute(qualifiedName: string): string | null;
|
|
82
|
-
getAttributeNS(namespace: string | null, localName: string): string | null;
|
|
83
|
-
getAttributeNames(): string[];
|
|
84
|
-
getAttributeNode(qualifiedName: string): Attr | null;
|
|
85
|
-
getAttributeNodeNS(namespace: string | null, localName: string): Attr | null;
|
|
86
|
-
getBoundingClientRect(): DOMRect;
|
|
87
|
-
getClientRects(): DOMRectList;
|
|
88
|
-
getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
|
|
89
|
-
getElementsByTagName<K extends keyof HTMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementTagNameMap[K]>;
|
|
90
|
-
getElementsByTagName<K extends keyof SVGElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<SVGElementTagNameMap[K]>;
|
|
91
|
-
getElementsByTagName<K extends keyof MathMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<MathMLElementTagNameMap[K]>;
|
|
92
|
-
getElementsByTagName<K extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K]>;
|
|
93
|
-
getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
|
|
94
|
-
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
|
|
95
|
-
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
|
|
96
|
-
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
|
|
97
|
-
getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
|
|
98
|
-
getHTML(options?: GetHTMLOptions): string;
|
|
99
|
-
hasAttribute(qualifiedName: string): boolean;
|
|
100
|
-
hasAttributeNS(namespace: string | null, localName: string): boolean;
|
|
101
|
-
hasAttributes(): boolean;
|
|
102
|
-
hasPointerCapture(pointerId: number): boolean;
|
|
103
|
-
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
104
|
-
insertAdjacentHTML(position: InsertPosition, string: string): void;
|
|
105
|
-
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
106
|
-
matches(selectors: string): boolean;
|
|
107
|
-
releasePointerCapture(pointerId: number): void;
|
|
108
|
-
removeAttribute(qualifiedName: string): void;
|
|
109
|
-
removeAttributeNS(namespace: string | null, localName: string): void;
|
|
110
|
-
removeAttributeNode(attr: Attr): Attr;
|
|
111
|
-
requestFullscreen(options?: FullscreenOptions): Promise<void>;
|
|
112
|
-
requestPointerLock(options?: PointerLockOptions): Promise<void>;
|
|
113
|
-
scroll(options?: ScrollToOptions): void;
|
|
114
|
-
scroll(x: number, y: number): void;
|
|
115
|
-
scrollBy(options?: ScrollToOptions): void;
|
|
116
|
-
scrollBy(x: number, y: number): void;
|
|
117
|
-
scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
|
|
118
|
-
scrollTo(options?: ScrollToOptions): void;
|
|
119
|
-
scrollTo(x: number, y: number): void;
|
|
120
|
-
setAttribute(qualifiedName: string, value: string): void;
|
|
121
|
-
setAttributeNS(namespace: string | null, qualifiedName: string, value: string): void;
|
|
122
|
-
setAttributeNode(attr: Attr): Attr | null;
|
|
123
|
-
setAttributeNodeNS(attr: Attr): Attr | null;
|
|
124
|
-
setHTMLUnsafe(html: string): void;
|
|
125
|
-
setPointerCapture(pointerId: number): void;
|
|
126
|
-
toggleAttribute(qualifiedName: string, force?: boolean): boolean;
|
|
127
|
-
webkitMatchesSelector(selectors: string): boolean;
|
|
128
|
-
get textContent(): string;
|
|
129
|
-
set textContent(value: string | null);
|
|
130
|
-
readonly baseURI: string;
|
|
131
|
-
readonly childNodes: NodeListOf<ChildNode>;
|
|
132
|
-
readonly firstChild: ChildNode | null;
|
|
133
|
-
readonly isConnected: boolean;
|
|
134
|
-
readonly lastChild: ChildNode | null;
|
|
135
|
-
readonly nextSibling: ChildNode | null;
|
|
136
|
-
readonly nodeName: string;
|
|
137
|
-
readonly nodeType: number;
|
|
138
|
-
nodeValue: string | null;
|
|
139
|
-
readonly parentElement: HTMLElement | null;
|
|
140
|
-
readonly parentNode: ParentNode | null;
|
|
141
|
-
readonly previousSibling: ChildNode | null;
|
|
142
|
-
appendChild<T extends Node>(node: T): T;
|
|
143
|
-
cloneNode(subtree?: boolean): Node;
|
|
144
|
-
compareDocumentPosition(other: Node): number;
|
|
145
|
-
contains(other: Node | null): boolean;
|
|
146
|
-
getRootNode(options?: GetRootNodeOptions): Node;
|
|
147
|
-
hasChildNodes(): boolean;
|
|
148
|
-
insertBefore<T extends Node>(node: T, child: Node | null): T;
|
|
149
|
-
isDefaultNamespace(namespace: string | null): boolean;
|
|
150
|
-
isEqualNode(otherNode: Node | null): boolean;
|
|
151
|
-
isSameNode(otherNode: Node | null): boolean;
|
|
152
|
-
lookupNamespaceURI(prefix: string | null): string | null;
|
|
153
|
-
lookupPrefix(namespace: string | null): string | null;
|
|
154
|
-
normalize(): void;
|
|
155
|
-
removeChild<T extends Node>(child: T): T;
|
|
156
|
-
replaceChild<T extends Node>(node: Node, child: T): T;
|
|
157
|
-
readonly ELEMENT_NODE: 1;
|
|
158
|
-
readonly ATTRIBUTE_NODE: 2;
|
|
159
|
-
readonly TEXT_NODE: 3;
|
|
160
|
-
readonly CDATA_SECTION_NODE: 4;
|
|
161
|
-
readonly ENTITY_REFERENCE_NODE: 5;
|
|
162
|
-
readonly ENTITY_NODE: 6;
|
|
163
|
-
readonly PROCESSING_INSTRUCTION_NODE: 7;
|
|
164
|
-
readonly COMMENT_NODE: 8;
|
|
165
|
-
readonly DOCUMENT_NODE: 9;
|
|
166
|
-
readonly DOCUMENT_TYPE_NODE: 10;
|
|
167
|
-
readonly DOCUMENT_FRAGMENT_NODE: 11;
|
|
168
|
-
readonly NOTATION_NODE: 12;
|
|
169
|
-
readonly DOCUMENT_POSITION_DISCONNECTED: 1;
|
|
170
|
-
readonly DOCUMENT_POSITION_PRECEDING: 2;
|
|
171
|
-
readonly DOCUMENT_POSITION_FOLLOWING: 4;
|
|
172
|
-
readonly DOCUMENT_POSITION_CONTAINS: 8;
|
|
173
|
-
readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
|
|
174
|
-
readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
|
|
175
|
-
dispatchEvent(event: Event): boolean;
|
|
176
|
-
ariaActiveDescendantElement: Element | null;
|
|
177
|
-
ariaAtomic: string | null;
|
|
178
|
-
ariaAutoComplete: string | null;
|
|
179
|
-
ariaBrailleLabel: string | null;
|
|
180
|
-
ariaBrailleRoleDescription: string | null;
|
|
181
|
-
ariaBusy: string | null;
|
|
182
|
-
ariaChecked: string | null;
|
|
183
|
-
ariaColCount: string | null;
|
|
184
|
-
ariaColIndex: string | null;
|
|
185
|
-
ariaColIndexText: string | null;
|
|
186
|
-
ariaColSpan: string | null;
|
|
187
|
-
ariaControlsElements: ReadonlyArray<Element> | null;
|
|
188
|
-
ariaCurrent: string | null;
|
|
189
|
-
ariaDescribedByElements: ReadonlyArray<Element> | null;
|
|
190
|
-
ariaDescription: string | null;
|
|
191
|
-
ariaDetailsElements: ReadonlyArray<Element> | null;
|
|
192
|
-
ariaDisabled: string | null;
|
|
193
|
-
ariaErrorMessageElements: ReadonlyArray<Element> | null;
|
|
194
|
-
ariaExpanded: string | null;
|
|
195
|
-
ariaFlowToElements: ReadonlyArray<Element> | null;
|
|
196
|
-
ariaHasPopup: string | null;
|
|
197
|
-
ariaHidden: string | null;
|
|
198
|
-
ariaInvalid: string | null;
|
|
199
|
-
ariaKeyShortcuts: string | null;
|
|
200
|
-
ariaLabel: string | null;
|
|
201
|
-
ariaLabelledByElements: ReadonlyArray<Element> | null;
|
|
202
|
-
ariaLevel: string | null;
|
|
203
|
-
ariaLive: string | null;
|
|
204
|
-
ariaModal: string | null;
|
|
205
|
-
ariaMultiLine: string | null;
|
|
206
|
-
ariaMultiSelectable: string | null;
|
|
207
|
-
ariaOrientation: string | null;
|
|
208
|
-
ariaOwnsElements: ReadonlyArray<Element> | null;
|
|
209
|
-
ariaPlaceholder: string | null;
|
|
210
|
-
ariaPosInSet: string | null;
|
|
211
|
-
ariaPressed: string | null;
|
|
212
|
-
ariaReadOnly: string | null;
|
|
213
|
-
ariaRelevant: string | null;
|
|
214
|
-
ariaRequired: string | null;
|
|
215
|
-
ariaRoleDescription: string | null;
|
|
216
|
-
ariaRowCount: string | null;
|
|
217
|
-
ariaRowIndex: string | null;
|
|
218
|
-
ariaRowIndexText: string | null;
|
|
219
|
-
ariaRowSpan: string | null;
|
|
220
|
-
ariaSelected: string | null;
|
|
221
|
-
ariaSetSize: string | null;
|
|
222
|
-
ariaSort: string | null;
|
|
223
|
-
ariaValueMax: string | null;
|
|
224
|
-
ariaValueMin: string | null;
|
|
225
|
-
ariaValueNow: string | null;
|
|
226
|
-
ariaValueText: string | null;
|
|
227
|
-
role: string | null;
|
|
228
|
-
animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions): Animation;
|
|
229
|
-
getAnimations(options?: GetAnimationsOptions): Animation[];
|
|
230
|
-
after(...nodes: (Node | string)[]): void;
|
|
231
|
-
before(...nodes: (Node | string)[]): void;
|
|
232
|
-
remove(): void;
|
|
233
|
-
replaceWith(...nodes: (Node | string)[]): void;
|
|
234
|
-
readonly nextElementSibling: Element | null;
|
|
235
|
-
readonly previousElementSibling: Element | null;
|
|
236
|
-
readonly childElementCount: number;
|
|
237
|
-
readonly children: HTMLCollection;
|
|
238
|
-
readonly firstElementChild: Element | null;
|
|
239
|
-
readonly lastElementChild: Element | null;
|
|
240
|
-
append(...nodes: (Node | string)[]): void;
|
|
241
|
-
prepend(...nodes: (Node | string)[]): void;
|
|
242
|
-
querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
|
|
243
|
-
querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
|
|
244
|
-
querySelector<K extends keyof MathMLElementTagNameMap>(selectors: K): MathMLElementTagNameMap[K] | null;
|
|
245
|
-
querySelector<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): HTMLElementDeprecatedTagNameMap[K] | null;
|
|
246
|
-
querySelector<E extends Element = Element>(selectors: string): E | null;
|
|
247
|
-
querySelectorAll<K extends keyof HTMLElementTagNameMap>(selectors: K): NodeListOf<HTMLElementTagNameMap[K]>;
|
|
248
|
-
querySelectorAll<K extends keyof SVGElementTagNameMap>(selectors: K): NodeListOf<SVGElementTagNameMap[K]>;
|
|
249
|
-
querySelectorAll<K extends keyof MathMLElementTagNameMap>(selectors: K): NodeListOf<MathMLElementTagNameMap[K]>;
|
|
250
|
-
querySelectorAll<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): NodeListOf<HTMLElementDeprecatedTagNameMap[K]>;
|
|
251
|
-
querySelectorAll<E extends Element = Element>(selectors: string): NodeListOf<E>;
|
|
252
|
-
replaceChildren(...nodes: (Node | string)[]): void;
|
|
253
|
-
readonly assignedSlot: HTMLSlotElement | null;
|
|
254
|
-
readonly attributeStyleMap: StylePropertyMap;
|
|
255
|
-
get style(): CSSStyleDeclaration;
|
|
256
|
-
set style(cssText: string);
|
|
257
|
-
contentEditable: string;
|
|
258
|
-
enterKeyHint: string;
|
|
259
|
-
inputMode: string;
|
|
260
|
-
readonly isContentEditable: boolean;
|
|
261
|
-
onabort: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
|
|
262
|
-
onanimationcancel: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
263
|
-
onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
264
|
-
onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
265
|
-
onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
266
|
-
onauxclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
267
|
-
onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
268
|
-
onbeforematch: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
269
|
-
onbeforetoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
|
|
270
|
-
onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
271
|
-
oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
272
|
-
oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
273
|
-
oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
274
|
-
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
275
|
-
onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
276
|
-
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
277
|
-
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
278
|
-
oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
279
|
-
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
280
|
-
oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
281
|
-
oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
282
|
-
oncut: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
283
|
-
ondblclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
284
|
-
ondrag: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
285
|
-
ondragend: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
286
|
-
ondragenter: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
287
|
-
ondragleave: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
288
|
-
ondragover: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
289
|
-
ondragstart: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
290
|
-
ondrop: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
291
|
-
ondurationchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
292
|
-
onemptied: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
293
|
-
onended: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
294
|
-
onerror: OnErrorEventHandler;
|
|
295
|
-
onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
296
|
-
onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
|
|
297
|
-
ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
298
|
-
oninput: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
299
|
-
oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
300
|
-
onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
301
|
-
onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
302
|
-
onkeyup: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
303
|
-
onload: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
304
|
-
onloadeddata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
305
|
-
onloadedmetadata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
306
|
-
onloadstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
307
|
-
onlostpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
308
|
-
onmousedown: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
309
|
-
onmouseenter: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
310
|
-
onmouseleave: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
311
|
-
onmousemove: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
312
|
-
onmouseout: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
313
|
-
onmouseover: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
314
|
-
onmouseup: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
315
|
-
onpaste: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
316
|
-
onpause: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
317
|
-
onplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
318
|
-
onplaying: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
319
|
-
onpointercancel: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
320
|
-
onpointerdown: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
321
|
-
onpointerenter: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
322
|
-
onpointerleave: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
323
|
-
onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
324
|
-
onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
325
|
-
onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
326
|
-
onpointerrawupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
327
|
-
onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
328
|
-
onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent) => any) | null;
|
|
329
|
-
onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
330
|
-
onreset: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
331
|
-
onresize: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
|
|
332
|
-
onscroll: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
333
|
-
onscrollend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
334
|
-
onsecuritypolicyviolation: ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any) | null;
|
|
335
|
-
onseeked: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
336
|
-
onseeking: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
337
|
-
onselect: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
338
|
-
onselectionchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
339
|
-
onselectstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
340
|
-
onslotchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
341
|
-
onstalled: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
342
|
-
onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
|
|
343
|
-
onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
344
|
-
ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
345
|
-
ontoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
|
|
346
|
-
ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
347
|
-
ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
348
|
-
ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
349
|
-
ontouchstart?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
350
|
-
ontransitioncancel: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
|
351
|
-
ontransitionend: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
|
352
|
-
ontransitionrun: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
|
353
|
-
ontransitionstart: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
|
354
|
-
onvolumechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
355
|
-
onwaiting: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
356
|
-
onwebkitanimationend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
357
|
-
onwebkitanimationiteration: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
358
|
-
onwebkitanimationstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
359
|
-
onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
360
|
-
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
361
|
-
autofocus: boolean;
|
|
362
|
-
readonly dataset: DOMStringMap;
|
|
363
|
-
nonce?: string;
|
|
364
|
-
tabIndex: number;
|
|
365
|
-
blur(): void;
|
|
366
|
-
focus(options?: FocusOptions): void;
|
|
367
|
-
};
|
|
368
|
-
get properties(): {
|
|
369
|
-
isLoading: {
|
|
370
|
-
type: BooleanConstructor;
|
|
371
|
-
};
|
|
372
|
-
};
|
|
373
|
-
} & C;
|
|
374
|
-
//# sourceMappingURL=load-while.d.ts.map
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
export const LoadWhile = (base) => class extends base {
|
|
2
|
-
static get properties() {
|
|
3
|
-
return {
|
|
4
|
-
isLoading: { type: Boolean },
|
|
5
|
-
};
|
|
6
|
-
}
|
|
7
|
-
/**
|
|
8
|
-
* @internal
|
|
9
|
-
*/
|
|
10
|
-
#promiseCount = 0;
|
|
11
|
-
async loadWhile(promise) {
|
|
12
|
-
this.isLoading = true;
|
|
13
|
-
this.#promiseCount++;
|
|
14
|
-
try {
|
|
15
|
-
await promise;
|
|
16
|
-
}
|
|
17
|
-
catch {
|
|
18
|
-
// Do nothing, this will be handled by others
|
|
19
|
-
}
|
|
20
|
-
finally {
|
|
21
|
-
this.#promiseCount--;
|
|
22
|
-
if (this.#promiseCount === 0) {
|
|
23
|
-
this.isLoading = false;
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
};
|
|
28
|
-
//# sourceMappingURL=load-while.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"load-while.js","sourceRoot":"","sources":["load-while.ts"],"names":[],"mappings":"AACA,MAAM,CAAC,MAAM,SAAS,GAAG,CAAqC,IAAO,EAAE,EAAE,CACvE,KAAM,SAAQ,IAAI;IAChB,MAAM,KAAK,UAAU;QACnB,OAAO;YACL,SAAS,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE;SAC7B,CAAC;IACJ,CAAC;IACD;;OAEG;IACH,aAAa,GAAG,CAAC,CAAC;IAElB,KAAK,CAAC,SAAS,CAAC,OAAyB;QACvC,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC;QACtB,IAAI,CAAC,aAAa,EAAE,CAAC;QACrB,IAAI,CAAC;YACH,MAAM,OAAO,CAAC;QAChB,CAAC;QAAC,MAAM,CAAC;YACP,6CAA6C;QAC/C,CAAC;gBAAS,CAAC;YACT,IAAI,CAAC,aAAa,EAAE,CAAC;YACrB,IAAI,IAAI,CAAC,aAAa,KAAK,CAAC,EAAE,CAAC;gBAC7B,IAAI,CAAC,SAAS,GAAG,KAAK,CAAC;YACzB,CAAC;QACH,CAAC;IACH,CAAC;CACF,CAAC"}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { MdOutlinedField } from '@material/web/field/outlined-field';
|
|
2
|
-
/**
|
|
3
|
-
* Input validator to make components use validation consistent with material 3 outlined styling
|
|
4
|
-
*
|
|
5
|
-
* @element titanium-input-validator
|
|
6
|
-
* @slot default - The slotted element should fire the NotifyUserInputEvent when it is ready to be validated
|
|
7
|
-
* @example
|
|
8
|
-
* <titanium-input-validator .evaluator=${() => (this.collection?.length ?? 0) > 0} validationMessage="Collection must have one item">
|
|
9
|
-
* <custom-input></custom-input>
|
|
10
|
-
* </titanium-input-validator>
|
|
11
|
-
*/
|
|
12
|
-
export declare class TitaniumInputValidator extends MdOutlinedField {
|
|
13
|
-
populated: boolean;
|
|
14
|
-
accessor evaluator: () => boolean;
|
|
15
|
-
firstUpdated(): void;
|
|
16
|
-
reset(): void;
|
|
17
|
-
reportValidity(): boolean;
|
|
18
|
-
checkValidity(): boolean;
|
|
19
|
-
}
|
|
20
|
-
//# sourceMappingURL=input-validator.d.ts.map
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import { __decorate } from "tslib";
|
|
2
|
-
import { customElement, property } from 'lit/decorators.js';
|
|
3
|
-
import { MdOutlinedField } from '@material/web/field/outlined-field';
|
|
4
|
-
/**
|
|
5
|
-
* Input validator to make components use validation consistent with material 3 outlined styling
|
|
6
|
-
*
|
|
7
|
-
* @element titanium-input-validator
|
|
8
|
-
* @slot default - The slotted element should fire the NotifyUserInputEvent when it is ready to be validated
|
|
9
|
-
* @example
|
|
10
|
-
* <titanium-input-validator .evaluator=${() => (this.collection?.length ?? 0) > 0} validationMessage="Collection must have one item">
|
|
11
|
-
* <custom-input></custom-input>
|
|
12
|
-
* </titanium-input-validator>
|
|
13
|
-
*/
|
|
14
|
-
let TitaniumInputValidator = class TitaniumInputValidator extends MdOutlinedField {
|
|
15
|
-
constructor() {
|
|
16
|
-
super(...arguments);
|
|
17
|
-
this.populated = true;
|
|
18
|
-
}
|
|
19
|
-
#evaluator_accessor_storage;
|
|
20
|
-
get evaluator() { return this.#evaluator_accessor_storage; }
|
|
21
|
-
set evaluator(value) { this.#evaluator_accessor_storage = value; }
|
|
22
|
-
firstUpdated() {
|
|
23
|
-
this.addEventListener('focusin', () => (this.focused = true));
|
|
24
|
-
this.addEventListener('focusout', () => (this.focused = false));
|
|
25
|
-
}
|
|
26
|
-
reset() {
|
|
27
|
-
this.error = false;
|
|
28
|
-
}
|
|
29
|
-
reportValidity() {
|
|
30
|
-
const valid = this.checkValidity();
|
|
31
|
-
this.error = !valid;
|
|
32
|
-
return valid;
|
|
33
|
-
}
|
|
34
|
-
checkValidity() {
|
|
35
|
-
return !!this.evaluator();
|
|
36
|
-
}
|
|
37
|
-
};
|
|
38
|
-
__decorate([
|
|
39
|
-
property({ type: Boolean })
|
|
40
|
-
], TitaniumInputValidator.prototype, "populated", void 0);
|
|
41
|
-
__decorate([
|
|
42
|
-
property({ type: Object })
|
|
43
|
-
], TitaniumInputValidator.prototype, "evaluator", null);
|
|
44
|
-
TitaniumInputValidator = __decorate([
|
|
45
|
-
customElement('titanium-input-validator')
|
|
46
|
-
], TitaniumInputValidator);
|
|
47
|
-
export { TitaniumInputValidator };
|
|
48
|
-
//# sourceMappingURL=input-validator.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"input-validator.js","sourceRoot":"","sources":["input-validator.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC5D,OAAO,EAAE,eAAe,EAAE,MAAM,oCAAoC,CAAC;AAErE;;;;;;;;;GASG;AAEI,IAAM,sBAAsB,GAA5B,MAAM,sBAAuB,SAAQ,eAAe;IAApD;;QACwB,cAAS,GAAY,IAAI,CAAC;IAsBzD,CAAC;IArBsC,4BAAyB;IAAzB,IAAA,SAAS,+CAAgB;IAAzB,IAAA,SAAS,qDAAgB;IAE9D,YAAY;QACV,IAAI,CAAC,gBAAgB,CAAC,SAAS,EAAE,GAAG,EAAE,CAAC,CAAC,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,CAAC,CAAC;QAC9D,IAAI,CAAC,gBAAgB,CAAC,UAAU,EAAE,GAAG,EAAE,CAAC,CAAC,IAAI,CAAC,OAAO,GAAG,KAAK,CAAC,CAAC,CAAC;IAClE,CAAC;IAED,KAAK;QACH,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;IACrB,CAAC;IAED,cAAc;QACZ,MAAM,KAAK,GAAG,IAAI,CAAC,aAAa,EAAE,CAAC;QACnC,IAAI,CAAC,KAAK,GAAG,CAAC,KAAK,CAAC;QAEpB,OAAO,KAAK,CAAC;IACf,CAAC;IAED,aAAa;QACX,OAAO,CAAC,CAAC,IAAI,CAAC,SAAS,EAAE,CAAC;IAC5B,CAAC;CACF,CAAA;AAtB8B;IAA5B,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;yDAA2B;AAClB;IAApC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;uDAAmC;AAFnD,sBAAsB;IADlC,aAAa,CAAC,0BAA0B,CAAC;GAC7B,sBAAsB,CAuBlC"}
|