@leavittsoftware/web 1.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/leavitt/api-service/HttpError.d.ts +10 -0
- package/leavitt/api-service/HttpError.js +2 -0
- package/leavitt/api-service/HttpError.js.map +1 -0
- package/leavitt/api-service/api-service.d.ts +27 -0
- package/leavitt/api-service/api-service.js +332 -0
- package/leavitt/api-service/api-service.js.map +1 -0
- package/leavitt/api-service/api2-service.d.ts +338 -0
- package/leavitt/api-service/api2-service.js +17 -0
- package/leavitt/api-service/api2-service.js.map +1 -0
- package/leavitt/api-service/authenticated-token-provider.d.ts +5 -0
- package/leavitt/api-service/authenticated-token-provider.js +7 -0
- package/leavitt/api-service/authenticated-token-provider.js.map +1 -0
- package/leavitt/api-service/bearer-token-provider.d.ts +4 -0
- package/leavitt/api-service/bearer-token-provider.js +2 -0
- package/leavitt/api-service/bearer-token-provider.js.map +1 -0
- package/leavitt/api-service/mapi-service.d.ts +338 -0
- package/leavitt/api-service/mapi-service.js +17 -0
- package/leavitt/api-service/mapi-service.js.map +1 -0
- package/leavitt/api-service/no-authentication-token-provider.d.ts +5 -0
- package/leavitt/api-service/no-authentication-token-provider.js +6 -0
- package/leavitt/api-service/no-authentication-token-provider.js.map +1 -0
- package/leavitt/api-service/odata-dto.d.ts +6 -0
- package/leavitt/api-service/odata-dto.js +7 -0
- package/leavitt/api-service/odata-dto.js.map +1 -0
- package/leavitt/api-service/odata-model-info.d.ts +5 -0
- package/leavitt/api-service/odata-model-info.js +7 -0
- package/leavitt/api-service/odata-model-info.js.map +1 -0
- package/leavitt/api-service/odata-response.d.ts +15 -0
- package/leavitt/api-service/odata-response.js +50 -0
- package/leavitt/api-service/odata-response.js.map +1 -0
- package/leavitt/api-service/status-codes.d.ts +2 -0
- package/leavitt/api-service/status-codes.js +44 -0
- package/leavitt/api-service/status-codes.js.map +1 -0
- package/leavitt/company-select/company-select.d.ts +50 -0
- package/leavitt/company-select/company-select.js +157 -0
- package/leavitt/company-select/company-select.js.map +1 -0
- package/leavitt/person-company-select/person-company-select.d.ts +41 -0
- package/leavitt/person-company-select/person-company-select.js +180 -0
- package/leavitt/person-company-select/person-company-select.js.map +1 -0
- package/leavitt/person-group-select/people-group-icons.d.ts +5 -0
- package/leavitt/person-group-select/people-group-icons.js +66 -0
- package/leavitt/person-group-select/people-group-icons.js.map +1 -0
- package/leavitt/person-group-select/person-group-select.d.ts +41 -0
- package/leavitt/person-group-select/person-group-select.js +186 -0
- package/leavitt/person-group-select/person-group-select.js.map +1 -0
- package/leavitt/person-select/person-select.d.ts +33 -0
- package/leavitt/person-select/person-select.js +128 -0
- package/leavitt/person-select/person-select.js.map +1 -0
- package/leavitt/profile-picture/profile-picture-menu.d.ts +44 -0
- package/leavitt/profile-picture/profile-picture-menu.js +197 -0
- package/leavitt/profile-picture/profile-picture-menu.js.map +1 -0
- package/leavitt/profile-picture/profile-picture.d.ts +39 -0
- package/leavitt/profile-picture/profile-picture.js +151 -0
- package/leavitt/profile-picture/profile-picture.js.map +1 -0
- package/leavitt/user-feedback/user-feedback.d.ts +357 -0
- package/leavitt/user-feedback/user-feedback.js +207 -0
- package/leavitt/user-feedback/user-feedback.js.map +1 -0
- package/leavitt/user-manager/LssJwtToken.d.ts +21 -0
- package/leavitt/user-manager/LssJwtToken.js +2 -0
- package/leavitt/user-manager/LssJwtToken.js.map +1 -0
- package/leavitt/user-manager/user-manager-events.d.ts +5 -0
- package/leavitt/user-manager/user-manager-events.js +7 -0
- package/leavitt/user-manager/user-manager-events.js.map +1 -0
- package/leavitt/user-manager/user-manager.d.ts +37 -0
- package/leavitt/user-manager/user-manager.js +364 -0
- package/leavitt/user-manager/user-manager.js.map +1 -0
- package/package.json +36 -0
- package/titanium/access-denied-page/access-denied-page.d.ts +16 -0
- package/titanium/access-denied-page/access-denied-page.js +360 -0
- package/titanium/access-denied-page/access-denied-page.js.map +1 -0
- package/titanium/address-input/Address.js.map +1 -0
- package/titanium/address-input/address-input.d.ts +29 -0
- package/titanium/address-input/address-input.js +77 -0
- package/titanium/address-input/address-input.js.map +1 -0
- package/titanium/address-input/google-address-input.d.ts +30 -0
- package/titanium/address-input/google-address-input.js +202 -0
- package/titanium/address-input/google-address-input.js.map +1 -0
- package/titanium/address-input/manual-address-dialog.d.ts +30 -0
- package/titanium/address-input/manual-address-dialog.js +250 -0
- package/titanium/address-input/manual-address-dialog.js.map +1 -0
- package/titanium/address-input/types/address-input-address.d.ts +17 -0
- package/titanium/address-input/types/address-input-address.js +2 -0
- package/titanium/address-input/types/address-input-address.js.map +1 -0
- package/titanium/address-input/types/address.js.map +1 -0
- package/titanium/address-input/types/autocomplete-prediction-suggestion.js.map +1 -0
- package/titanium/address-input/utils/address-to-string.d.ts +3 -0
- package/titanium/address-input/utils/address-to-string.js +13 -0
- package/titanium/address-input/utils/address-to-string.js.map +1 -0
- package/titanium/address-input/utils/place-result-to-address.d.ts +4 -0
- package/titanium/address-input/utils/place-result-to-address.js +33 -0
- package/titanium/address-input/utils/place-result-to-address.js.map +1 -0
- package/titanium/address-input/utils/validate-street.d.ts +2 -0
- package/titanium/address-input/utils/validate-street.js +8 -0
- package/titanium/address-input/utils/validate-street.js.map +1 -0
- package/titanium/card/card.d.ts +23 -0
- package/titanium/card/card.js +160 -0
- package/titanium/card/card.js.map +1 -0
- package/titanium/chip-multi-select/chip-multi-select.d.ts +55 -0
- package/titanium/chip-multi-select/chip-multi-select.js +119 -0
- package/titanium/chip-multi-select/chip-multi-select.js.map +1 -0
- package/titanium/data-table/data-table-header.d.ts +67 -0
- package/titanium/data-table/data-table-header.js +207 -0
- package/titanium/data-table/data-table-header.js.map +1 -0
- package/titanium/data-table/data-table-item.d.ts +100 -0
- package/titanium/data-table/data-table-item.js +511 -0
- package/titanium/data-table/data-table-item.js.map +1 -0
- package/titanium/data-table/data-table.d.ts +146 -0
- package/titanium/data-table/data-table.js +605 -0
- package/titanium/data-table/data-table.js.map +1 -0
- package/titanium/data-table/filter-controller.d.ts +23 -0
- package/titanium/data-table/filter-controller.js +119 -0
- package/titanium/data-table/filter-controller.js.map +1 -0
- package/titanium/data-table/filter.d.ts +8 -0
- package/titanium/data-table/filter.js +11 -0
- package/titanium/data-table/filter.js.map +1 -0
- package/titanium/data-table/page-control.d.ts +54 -0
- package/titanium/data-table/page-control.js +196 -0
- package/titanium/data-table/page-control.js.map +1 -0
- package/titanium/date-range-selector/date-range-change-event.d.ts +8 -0
- package/titanium/date-range-selector/date-range-change-event.js +10 -0
- package/titanium/date-range-selector/date-range-change-event.js.map +1 -0
- package/titanium/date-range-selector/date-range-selector.d.ts +65 -0
- package/titanium/date-range-selector/date-range-selector.js +423 -0
- package/titanium/date-range-selector/date-range-selector.js.map +1 -0
- package/titanium/date-range-selector/range-label.d.ts +4 -0
- package/titanium/date-range-selector/range-label.js +25 -0
- package/titanium/date-range-selector/range-label.js.map +1 -0
- package/titanium/drawer/drawer.d.ts +39 -0
- package/titanium/drawer/drawer.js +233 -0
- package/titanium/drawer/drawer.js.map +1 -0
- package/titanium/duration-input/duration-input.d.ts +26 -0
- package/titanium/duration-input/duration-input.js +86 -0
- package/titanium/duration-input/duration-input.js.map +1 -0
- package/titanium/duration-input/human-interval.d.ts +19 -0
- package/titanium/duration-input/human-interval.js +74 -0
- package/titanium/duration-input/human-interval.js.map +1 -0
- package/titanium/error-page/error-page.d.ts +16 -0
- package/titanium/error-page/error-page.js +96 -0
- package/titanium/error-page/error-page.js.map +1 -0
- package/titanium/event-bus/event-bus.d.ts +10 -0
- package/titanium/event-bus/event-bus.js +52 -0
- package/titanium/event-bus/event-bus.js.map +1 -0
- package/titanium/extendable-outlined-text-field/extendable-outlined-text-field.d.ts +160 -0
- package/titanium/extendable-outlined-text-field/extendable-outlined-text-field.js +295 -0
- package/titanium/extendable-outlined-text-field/extendable-outlined-text-field.js.map +1 -0
- package/titanium/extendable-outlined-text-field/extensible-outlined-text-field.d.ts +45 -0
- package/titanium/extendable-outlined-text-field/extensible-outlined-text-field.js.map +1 -0
- package/titanium/full-page-loading-indicator/full-page-loading-indicator.d.ts +19 -0
- package/titanium/full-page-loading-indicator/full-page-loading-indicator.js +170 -0
- package/titanium/full-page-loading-indicator/full-page-loading-indicator.js.map +1 -0
- package/titanium/hacks/dialog-overflow-hacks.d.ts +4 -0
- package/titanium/hacks/dialog-overflow-hacks.js +21 -0
- package/titanium/hacks/dialog-overflow-hacks.js.map +1 -0
- package/titanium/header/header.d.ts +39 -0
- package/titanium/header/header.js +148 -0
- package/titanium/header/header.js.map +1 -0
- package/titanium/helpers/csv-download.d.ts +3 -0
- package/titanium/helpers/csv-download.js +78 -0
- package/titanium/helpers/csv-download.js.map +1 -0
- package/titanium/helpers/debouncer.d.ts +13 -0
- package/titanium/helpers/debouncer.js +33 -0
- package/titanium/helpers/debouncer.js.map +1 -0
- package/titanium/helpers/delay.d.ts +2 -0
- package/titanium/helpers/delay.js +6 -0
- package/titanium/helpers/delay.js.map +1 -0
- package/titanium/helpers/dev-detection.d.ts +3 -0
- package/titanium/helpers/dev-detection.js +12 -0
- package/titanium/helpers/dev-detection.js.map +1 -0
- package/titanium/helpers/helpers.d.ts +14 -0
- package/titanium/helpers/helpers.js +14 -0
- package/titanium/helpers/helpers.js.map +1 -0
- package/titanium/helpers/join.d.ts +2 -0
- package/titanium/helpers/join.js +5 -0
- package/titanium/helpers/join.js.map +1 -0
- package/titanium/helpers/leavitt-cdn.d.ts +5 -0
- package/titanium/helpers/leavitt-cdn.js +38 -0
- package/titanium/helpers/leavitt-cdn.js.map +1 -0
- package/titanium/helpers/load-while.d.ts +343 -0
- package/titanium/helpers/load-while.js +27 -0
- package/titanium/helpers/load-while.js.map +1 -0
- package/titanium/helpers/media-query.d.ts +2 -0
- package/titanium/helpers/media-query.js +6 -0
- package/titanium/helpers/media-query.js.map +1 -0
- package/titanium/helpers/middle-ellipsis.d.ts +2 -0
- package/titanium/helpers/middle-ellipsis.js +7 -0
- package/titanium/helpers/middle-ellipsis.js.map +1 -0
- package/titanium/helpers/not-null-or-undefined.d.ts +2 -0
- package/titanium/helpers/not-null-or-undefined.js +4 -0
- package/titanium/helpers/not-null-or-undefined.js.map +1 -0
- package/titanium/helpers/not-null.d.ts +2 -0
- package/titanium/helpers/not-null.js +4 -0
- package/titanium/helpers/not-null.js.map +1 -0
- package/titanium/helpers/not-undefined.d.ts +2 -0
- package/titanium/helpers/not-undefined.js +4 -0
- package/titanium/helpers/not-undefined.js.map +1 -0
- package/titanium/helpers/odata-helpers.d.ts +2 -0
- package/titanium/helpers/odata-helpers.js +2 -0
- package/titanium/helpers/odata-helpers.js.map +1 -0
- package/titanium/helpers/search-token.d.ts +2 -0
- package/titanium/helpers/search-token.js +17 -0
- package/titanium/helpers/search-token.js.map +1 -0
- package/titanium/icon-picker/icon-picker.d.ts +23 -0
- package/titanium/icon-picker/icon-picker.js +75 -0
- package/titanium/icon-picker/icon-picker.js.map +1 -0
- package/titanium/icon-picker/material-symbols.d.ts +3 -0
- package/titanium/icon-picker/material-symbols.js +3297 -0
- package/titanium/icon-picker/material-symbols.js.map +1 -0
- package/titanium/input-validator/input-validator.d.ts +20 -0
- package/titanium/input-validator/input-validator.js +45 -0
- package/titanium/input-validator/input-validator.js.map +1 -0
- package/titanium/search-input/search-input.d.ts +47 -0
- package/titanium/search-input/search-input.js +237 -0
- package/titanium/search-input/search-input.js.map +1 -0
- package/titanium/service-worker-notifier/service-worker-notifier.d.ts +9 -0
- package/titanium/service-worker-notifier/service-worker-notifier.js +57 -0
- package/titanium/service-worker-notifier/service-worker-notifier.js.map +1 -0
- package/titanium/show-hide/show-hide.d.ts +36 -0
- package/titanium/show-hide/show-hide.js +144 -0
- package/titanium/show-hide/show-hide.js.map +1 -0
- package/titanium/single-select-base/single-select-base.d.ts +449 -0
- package/titanium/single-select-base/single-select-base.js +411 -0
- package/titanium/single-select-base/single-select-base.js.map +1 -0
- package/titanium/smart-attachment-input/crop-and-save-image-dialog.d.ts +370 -0
- package/titanium/smart-attachment-input/crop-and-save-image-dialog.js +270 -0
- package/titanium/smart-attachment-input/crop-and-save-image-dialog.js.map +1 -0
- package/titanium/smart-attachment-input/cropper-styles.d.ts +3 -0
- package/titanium/smart-attachment-input/cropper-styles.js +311 -0
- package/titanium/smart-attachment-input/cropper-styles.js.map +1 -0
- package/titanium/smart-attachment-input/image-formats.d.ts +5 -0
- package/titanium/smart-attachment-input/image-formats.js +37 -0
- package/titanium/smart-attachment-input/image-formats.js.map +1 -0
- package/titanium/smart-attachment-input/image-preview-dialog.d.ts +21 -0
- package/titanium/smart-attachment-input/image-preview-dialog.js +83 -0
- package/titanium/smart-attachment-input/image-preview-dialog.js.map +1 -0
- package/titanium/smart-attachment-input/smart-attachment-input.d.ts +126 -0
- package/titanium/smart-attachment-input/smart-attachment-input.js +422 -0
- package/titanium/smart-attachment-input/smart-attachment-input.js.map +1 -0
- package/titanium/smart-attachment-input/type/smart-attachment.d.ts +7 -0
- package/titanium/smart-attachment-input/type/smart-attachment.js +2 -0
- package/titanium/smart-attachment-input/type/smart-attachment.js.map +1 -0
- package/titanium/snackbar/snackbar.d.ts +79 -0
- package/titanium/snackbar/snackbar.js +302 -0
- package/titanium/snackbar/snackbar.js.map +1 -0
- package/titanium/styles/a.d.ts +2 -0
- package/titanium/styles/a.js +18 -0
- package/titanium/styles/a.js.map +1 -0
- package/titanium/styles/data-row.d.ts +2 -0
- package/titanium/styles/data-row.js +52 -0
- package/titanium/styles/data-row.js.map +1 -0
- package/titanium/styles/ellipsis.d.ts +2 -0
- package/titanium/styles/ellipsis.js +9 -0
- package/titanium/styles/ellipsis.js.map +1 -0
- package/titanium/styles/h1.d.ts +2 -0
- package/titanium/styles/h1.js +17 -0
- package/titanium/styles/h1.js.map +1 -0
- package/titanium/styles/h2.d.ts +2 -0
- package/titanium/styles/h2.js +17 -0
- package/titanium/styles/h2.js.map +1 -0
- package/titanium/styles/h3.d.ts +2 -0
- package/titanium/styles/h3.js +17 -0
- package/titanium/styles/h3.js.map +1 -0
- package/titanium/styles/h4.d.ts +2 -0
- package/titanium/styles/h4.js +17 -0
- package/titanium/styles/h4.js.map +1 -0
- package/titanium/styles/h5.d.ts +2 -0
- package/titanium/styles/h5.js +19 -0
- package/titanium/styles/h5.js.map +1 -0
- package/titanium/styles/p.d.ts +2 -0
- package/titanium/styles/p.js +17 -0
- package/titanium/styles/p.js.map +1 -0
- package/titanium/styles/styles.d.ts +17 -0
- package/titanium/styles/styles.js +17 -0
- package/titanium/styles/styles.js.map +1 -0
- package/titanium/toolbar/toolbar.d.ts +34 -0
- package/titanium/toolbar/toolbar.js +104 -0
- package/titanium/toolbar/toolbar.js.map +1 -0
- package/titanium/types/any-function.d.ts +5 -0
- package/titanium/types/any-function.js +2 -0
- package/titanium/types/any-function.js.map +1 -0
- package/titanium/types/dom-event.d.ts +4 -0
- package/titanium/types/dom-event.js +2 -0
- package/titanium/types/dom-event.js.map +1 -0
- package/titanium/types/identifier-interface.d.ts +4 -0
- package/titanium/types/identifier-interface.js +2 -0
- package/titanium/types/identifier-interface.js.map +1 -0
- package/titanium/types/pending-state-event.d.ts +7 -0
- package/titanium/types/pending-state-event.js +7 -0
- package/titanium/types/pending-state-event.js.map +1 -0
- package/titanium/types/string-map.d.ts +7 -0
- package/titanium/types/string-map.js +5 -0
- package/titanium/types/string-map.js.map +1 -0
- package/titanium/youtube-input/youtube-input.d.ts +17 -0
- package/titanium/youtube-input/youtube-input.js +52 -0
- package/titanium/youtube-input/youtube-input.js.map +1 -0
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
import '@material/web/textfield/outlined-text-field';
|
|
2
|
+
import { MdOutlinedTextField } from '@material/web/textfield/outlined-text-field';
|
|
3
|
+
import { LitElement } from 'lit';
|
|
4
|
+
import { TextFieldType, UnsupportedTextFieldType } from '@material/web/textfield/internal/text-field';
|
|
5
|
+
export declare class ExtendableOutlinedTextField extends LitElement {
|
|
6
|
+
input: MdOutlinedTextField;
|
|
7
|
+
/**
|
|
8
|
+
* Gets or sets whether or not the text field is in a visually invalid state.
|
|
9
|
+
*
|
|
10
|
+
* This error state overrides the error state controlled by
|
|
11
|
+
* `reportValidity()`.
|
|
12
|
+
*/
|
|
13
|
+
error: boolean;
|
|
14
|
+
disabled: boolean;
|
|
15
|
+
/**
|
|
16
|
+
* The error message that replaces supporting text when `error` is true. If
|
|
17
|
+
* `errorText` is an empty string, then the supporting text will continue to
|
|
18
|
+
* show.
|
|
19
|
+
*
|
|
20
|
+
* This error message overrides the error message displayed by
|
|
21
|
+
* `reportValidity()`.
|
|
22
|
+
*/
|
|
23
|
+
errorText: string;
|
|
24
|
+
label: string;
|
|
25
|
+
required: boolean;
|
|
26
|
+
/**
|
|
27
|
+
* The current value of the text field. It is always a string.
|
|
28
|
+
*/
|
|
29
|
+
value: string;
|
|
30
|
+
/**
|
|
31
|
+
* An optional prefix to display before the input value.
|
|
32
|
+
*/
|
|
33
|
+
prefixText: string;
|
|
34
|
+
/**
|
|
35
|
+
* An optional suffix to display after the input value.
|
|
36
|
+
*/
|
|
37
|
+
suffixText: string;
|
|
38
|
+
/**
|
|
39
|
+
* Whether or not the text field has a leading icon. Used for SSR.
|
|
40
|
+
*/
|
|
41
|
+
hasLeadingIcon: boolean;
|
|
42
|
+
/**
|
|
43
|
+
* Whether or not the text field has a trailing icon. Used for SSR.
|
|
44
|
+
*/
|
|
45
|
+
hasTrailingIcon: boolean;
|
|
46
|
+
/**
|
|
47
|
+
* Conveys additional information below the text field, such as how it should
|
|
48
|
+
* be used.
|
|
49
|
+
*/
|
|
50
|
+
supportingText: string;
|
|
51
|
+
/**
|
|
52
|
+
* Override the input text CSS `direction`. Useful for RTL languages that use
|
|
53
|
+
* LTR notation for fractions.
|
|
54
|
+
*/
|
|
55
|
+
textDirection: string;
|
|
56
|
+
/**
|
|
57
|
+
* The number of rows to display for a `type="textarea"` text field.
|
|
58
|
+
* Defaults to 2.
|
|
59
|
+
*/
|
|
60
|
+
rows: number;
|
|
61
|
+
/**
|
|
62
|
+
* The number of cols to display for a `type="textarea"` text field.
|
|
63
|
+
* Defaults to 20.
|
|
64
|
+
*/
|
|
65
|
+
cols: number;
|
|
66
|
+
inputMode: string;
|
|
67
|
+
/**
|
|
68
|
+
* Defines the greatest value in the range of permitted values.
|
|
69
|
+
*
|
|
70
|
+
* https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#max
|
|
71
|
+
*/
|
|
72
|
+
max: string;
|
|
73
|
+
/**
|
|
74
|
+
* The maximum number of characters a user can enter into the text field. Set
|
|
75
|
+
* to -1 for none.
|
|
76
|
+
*
|
|
77
|
+
* https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#maxlength
|
|
78
|
+
*/
|
|
79
|
+
maxLength: number;
|
|
80
|
+
/**
|
|
81
|
+
* Defines the most negative value in the range of permitted values.
|
|
82
|
+
*
|
|
83
|
+
* https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#min
|
|
84
|
+
*/
|
|
85
|
+
min: string;
|
|
86
|
+
/**
|
|
87
|
+
* The minimum number of characters a user can enter into the text field. Set
|
|
88
|
+
* to -1 for none.
|
|
89
|
+
*
|
|
90
|
+
* https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#minlength
|
|
91
|
+
*/
|
|
92
|
+
minLength: number;
|
|
93
|
+
/**
|
|
94
|
+
* A regular expression that the text field's value must match to pass
|
|
95
|
+
* constraint validation.
|
|
96
|
+
*
|
|
97
|
+
* https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#pattern
|
|
98
|
+
*/
|
|
99
|
+
pattern: string;
|
|
100
|
+
placeholder: string;
|
|
101
|
+
/**
|
|
102
|
+
* Indicates whether or not a user should be able to edit the text field's
|
|
103
|
+
* value.
|
|
104
|
+
*
|
|
105
|
+
* https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#readonly
|
|
106
|
+
*/
|
|
107
|
+
readOnly: boolean;
|
|
108
|
+
/**
|
|
109
|
+
* Indicates that input accepts multiple email addresses.
|
|
110
|
+
*
|
|
111
|
+
* https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/email#multiple
|
|
112
|
+
*/
|
|
113
|
+
multiple: boolean;
|
|
114
|
+
/**
|
|
115
|
+
* Returns or sets the element's step attribute, which works with min and max
|
|
116
|
+
* to limit the increments at which a numeric or date-time value can be set.
|
|
117
|
+
*
|
|
118
|
+
* https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#step
|
|
119
|
+
*/
|
|
120
|
+
step: string;
|
|
121
|
+
/**
|
|
122
|
+
* The `<input>` type to use, defaults to "text". The type greatly changes how
|
|
123
|
+
* the text field behaves.
|
|
124
|
+
*
|
|
125
|
+
* Text fields support a limited number of `<input>` types:
|
|
126
|
+
*
|
|
127
|
+
* - text
|
|
128
|
+
* - textarea
|
|
129
|
+
* - email
|
|
130
|
+
* - number
|
|
131
|
+
* - password
|
|
132
|
+
* - search
|
|
133
|
+
* - tel
|
|
134
|
+
* - url
|
|
135
|
+
*
|
|
136
|
+
* See
|
|
137
|
+
* https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#input_types
|
|
138
|
+
* for more details on each input type.
|
|
139
|
+
*/
|
|
140
|
+
type: TextFieldType | UnsupportedTextFieldType;
|
|
141
|
+
/**
|
|
142
|
+
* Describes what, if any, type of autocomplete functionality the input
|
|
143
|
+
* should provide.
|
|
144
|
+
*
|
|
145
|
+
* https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete
|
|
146
|
+
*/
|
|
147
|
+
autocomplete: string;
|
|
148
|
+
checkValidity(): boolean;
|
|
149
|
+
reportValidity(): boolean;
|
|
150
|
+
select(): void;
|
|
151
|
+
setCustomValidity(error: string): void;
|
|
152
|
+
setRangeText(replacement: string, start: number, end: number, selectionMode?: SelectionMode): void;
|
|
153
|
+
setSelectionRange(start: number | null, end: number | null, direction?: 'forward' | 'backward' | 'none'): void;
|
|
154
|
+
stepDown(stepDecrement?: number): void;
|
|
155
|
+
stepUp(stepDecrement?: number): void;
|
|
156
|
+
reset(): void;
|
|
157
|
+
protected renderMainSlot(): import("lit-html").TemplateResult<1>;
|
|
158
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
159
|
+
}
|
|
160
|
+
//# sourceMappingURL=extendable-outlined-text-field.d.ts.map
|
|
@@ -0,0 +1,295 @@
|
|
|
1
|
+
import { __decorate } from "tslib";
|
|
2
|
+
import '@material/web/textfield/outlined-text-field';
|
|
3
|
+
import { LitElement, html } from 'lit';
|
|
4
|
+
import { property, query } from 'lit/decorators.js';
|
|
5
|
+
import { stringConverter } from '@material/web/internal/controller/string-converter';
|
|
6
|
+
export class ExtendableOutlinedTextField extends LitElement {
|
|
7
|
+
constructor() {
|
|
8
|
+
super(...arguments);
|
|
9
|
+
/**
|
|
10
|
+
* Gets or sets whether or not the text field is in a visually invalid state.
|
|
11
|
+
*
|
|
12
|
+
* This error state overrides the error state controlled by
|
|
13
|
+
* `reportValidity()`.
|
|
14
|
+
*/
|
|
15
|
+
this.error = false;
|
|
16
|
+
this.disabled = false;
|
|
17
|
+
/**
|
|
18
|
+
* The error message that replaces supporting text when `error` is true. If
|
|
19
|
+
* `errorText` is an empty string, then the supporting text will continue to
|
|
20
|
+
* show.
|
|
21
|
+
*
|
|
22
|
+
* This error message overrides the error message displayed by
|
|
23
|
+
* `reportValidity()`.
|
|
24
|
+
*/
|
|
25
|
+
this.errorText = '';
|
|
26
|
+
this.label = '';
|
|
27
|
+
this.required = false;
|
|
28
|
+
/**
|
|
29
|
+
* The current value of the text field. It is always a string.
|
|
30
|
+
*/
|
|
31
|
+
this.value = '';
|
|
32
|
+
/**
|
|
33
|
+
* An optional prefix to display before the input value.
|
|
34
|
+
*/
|
|
35
|
+
this.prefixText = '';
|
|
36
|
+
/**
|
|
37
|
+
* An optional suffix to display after the input value.
|
|
38
|
+
*/
|
|
39
|
+
this.suffixText = '';
|
|
40
|
+
/**
|
|
41
|
+
* Whether or not the text field has a leading icon. Used for SSR.
|
|
42
|
+
*/
|
|
43
|
+
this.hasLeadingIcon = false;
|
|
44
|
+
/**
|
|
45
|
+
* Whether or not the text field has a trailing icon. Used for SSR.
|
|
46
|
+
*/
|
|
47
|
+
this.hasTrailingIcon = false;
|
|
48
|
+
/**
|
|
49
|
+
* Conveys additional information below the text field, such as how it should
|
|
50
|
+
* be used.
|
|
51
|
+
*/
|
|
52
|
+
this.supportingText = '';
|
|
53
|
+
/**
|
|
54
|
+
* Override the input text CSS `direction`. Useful for RTL languages that use
|
|
55
|
+
* LTR notation for fractions.
|
|
56
|
+
*/
|
|
57
|
+
this.textDirection = '';
|
|
58
|
+
/**
|
|
59
|
+
* The number of rows to display for a `type="textarea"` text field.
|
|
60
|
+
* Defaults to 2.
|
|
61
|
+
*/
|
|
62
|
+
this.rows = 2;
|
|
63
|
+
/**
|
|
64
|
+
* The number of cols to display for a `type="textarea"` text field.
|
|
65
|
+
* Defaults to 20.
|
|
66
|
+
*/
|
|
67
|
+
this.cols = 20;
|
|
68
|
+
// <input> properties
|
|
69
|
+
this.inputMode = '';
|
|
70
|
+
/**
|
|
71
|
+
* Defines the greatest value in the range of permitted values.
|
|
72
|
+
*
|
|
73
|
+
* https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#max
|
|
74
|
+
*/
|
|
75
|
+
this.max = '';
|
|
76
|
+
/**
|
|
77
|
+
* The maximum number of characters a user can enter into the text field. Set
|
|
78
|
+
* to -1 for none.
|
|
79
|
+
*
|
|
80
|
+
* https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#maxlength
|
|
81
|
+
*/
|
|
82
|
+
this.maxLength = -1;
|
|
83
|
+
/**
|
|
84
|
+
* Defines the most negative value in the range of permitted values.
|
|
85
|
+
*
|
|
86
|
+
* https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#min
|
|
87
|
+
*/
|
|
88
|
+
this.min = '';
|
|
89
|
+
/**
|
|
90
|
+
* The minimum number of characters a user can enter into the text field. Set
|
|
91
|
+
* to -1 for none.
|
|
92
|
+
*
|
|
93
|
+
* https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#minlength
|
|
94
|
+
*/
|
|
95
|
+
this.minLength = -1;
|
|
96
|
+
/**
|
|
97
|
+
* A regular expression that the text field's value must match to pass
|
|
98
|
+
* constraint validation.
|
|
99
|
+
*
|
|
100
|
+
* https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#pattern
|
|
101
|
+
*/
|
|
102
|
+
this.pattern = '';
|
|
103
|
+
this.placeholder = '';
|
|
104
|
+
/**
|
|
105
|
+
* Indicates whether or not a user should be able to edit the text field's
|
|
106
|
+
* value.
|
|
107
|
+
*
|
|
108
|
+
* https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#readonly
|
|
109
|
+
*/
|
|
110
|
+
this.readOnly = false;
|
|
111
|
+
/**
|
|
112
|
+
* Indicates that input accepts multiple email addresses.
|
|
113
|
+
*
|
|
114
|
+
* https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/email#multiple
|
|
115
|
+
*/
|
|
116
|
+
this.multiple = false;
|
|
117
|
+
/**
|
|
118
|
+
* Returns or sets the element's step attribute, which works with min and max
|
|
119
|
+
* to limit the increments at which a numeric or date-time value can be set.
|
|
120
|
+
*
|
|
121
|
+
* https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#step
|
|
122
|
+
*/
|
|
123
|
+
this.step = '';
|
|
124
|
+
/**
|
|
125
|
+
* The `<input>` type to use, defaults to "text". The type greatly changes how
|
|
126
|
+
* the text field behaves.
|
|
127
|
+
*
|
|
128
|
+
* Text fields support a limited number of `<input>` types:
|
|
129
|
+
*
|
|
130
|
+
* - text
|
|
131
|
+
* - textarea
|
|
132
|
+
* - email
|
|
133
|
+
* - number
|
|
134
|
+
* - password
|
|
135
|
+
* - search
|
|
136
|
+
* - tel
|
|
137
|
+
* - url
|
|
138
|
+
*
|
|
139
|
+
* See
|
|
140
|
+
* https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#input_types
|
|
141
|
+
* for more details on each input type.
|
|
142
|
+
*/
|
|
143
|
+
this.type = 'text';
|
|
144
|
+
/**
|
|
145
|
+
* Describes what, if any, type of autocomplete functionality the input
|
|
146
|
+
* should provide.
|
|
147
|
+
*
|
|
148
|
+
* https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete
|
|
149
|
+
*/
|
|
150
|
+
this.autocomplete = '';
|
|
151
|
+
}
|
|
152
|
+
checkValidity() {
|
|
153
|
+
return this.input.checkValidity();
|
|
154
|
+
}
|
|
155
|
+
reportValidity() {
|
|
156
|
+
return this.input.reportValidity();
|
|
157
|
+
}
|
|
158
|
+
select() {
|
|
159
|
+
this.input.select();
|
|
160
|
+
}
|
|
161
|
+
setCustomValidity(error) {
|
|
162
|
+
this.input.setCustomValidity(error);
|
|
163
|
+
}
|
|
164
|
+
setRangeText(replacement, start, end, selectionMode) {
|
|
165
|
+
this.input.setRangeText(replacement, start, end, selectionMode);
|
|
166
|
+
}
|
|
167
|
+
setSelectionRange(start, end, direction) {
|
|
168
|
+
this.input.setSelectionRange(start, end, direction);
|
|
169
|
+
}
|
|
170
|
+
stepDown(stepDecrement) {
|
|
171
|
+
this.input.stepDown(stepDecrement);
|
|
172
|
+
}
|
|
173
|
+
stepUp(stepDecrement) {
|
|
174
|
+
this.input.stepUp(stepDecrement);
|
|
175
|
+
}
|
|
176
|
+
reset() {
|
|
177
|
+
this.input.reset();
|
|
178
|
+
}
|
|
179
|
+
renderMainSlot() {
|
|
180
|
+
return html ``;
|
|
181
|
+
}
|
|
182
|
+
render() {
|
|
183
|
+
return html `
|
|
184
|
+
<md-outlined-text-field
|
|
185
|
+
@input=${(e) => (this.value = e.target.value)}
|
|
186
|
+
.disabled=${this.disabled}
|
|
187
|
+
.required=${this.required}
|
|
188
|
+
.error=${this.error}
|
|
189
|
+
.autocomplete=${this.autocomplete}
|
|
190
|
+
.errorText=${this.errorText}
|
|
191
|
+
.hasLeadingIcon=${this.hasLeadingIcon}
|
|
192
|
+
.hasTrailingIcon=${this.hasTrailingIcon}
|
|
193
|
+
.label=${this.label}
|
|
194
|
+
.max=${this.max}
|
|
195
|
+
.maxLength=${this.maxLength}
|
|
196
|
+
.minLength=${this.minLength}
|
|
197
|
+
.pattern=${this.pattern}
|
|
198
|
+
.placeholder=${this.placeholder}
|
|
199
|
+
.prefixText=${this.prefixText}
|
|
200
|
+
.readOnly=${this.readOnly}
|
|
201
|
+
.rows=${this.rows}
|
|
202
|
+
.step=${this.step}
|
|
203
|
+
.suffixText=${this.suffixText}
|
|
204
|
+
.supportingText=${this.supportingText}
|
|
205
|
+
.textDirection=${this.textDirection}
|
|
206
|
+
.type=${this.type}
|
|
207
|
+
.value=${this.value}
|
|
208
|
+
>
|
|
209
|
+
${this.renderMainSlot()}
|
|
210
|
+
</md-outlined-text-field>
|
|
211
|
+
`;
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
__decorate([
|
|
215
|
+
query('md-outlined-text-field')
|
|
216
|
+
], ExtendableOutlinedTextField.prototype, "input", void 0);
|
|
217
|
+
__decorate([
|
|
218
|
+
property({ type: Boolean, reflect: true })
|
|
219
|
+
], ExtendableOutlinedTextField.prototype, "error", void 0);
|
|
220
|
+
__decorate([
|
|
221
|
+
property({ type: Boolean, reflect: true })
|
|
222
|
+
], ExtendableOutlinedTextField.prototype, "disabled", void 0);
|
|
223
|
+
__decorate([
|
|
224
|
+
property({ attribute: 'error-text' })
|
|
225
|
+
], ExtendableOutlinedTextField.prototype, "errorText", void 0);
|
|
226
|
+
__decorate([
|
|
227
|
+
property()
|
|
228
|
+
], ExtendableOutlinedTextField.prototype, "label", void 0);
|
|
229
|
+
__decorate([
|
|
230
|
+
property({ type: Boolean, reflect: true })
|
|
231
|
+
], ExtendableOutlinedTextField.prototype, "required", void 0);
|
|
232
|
+
__decorate([
|
|
233
|
+
property()
|
|
234
|
+
], ExtendableOutlinedTextField.prototype, "value", void 0);
|
|
235
|
+
__decorate([
|
|
236
|
+
property({ attribute: 'prefix-text' })
|
|
237
|
+
], ExtendableOutlinedTextField.prototype, "prefixText", void 0);
|
|
238
|
+
__decorate([
|
|
239
|
+
property({ attribute: 'suffix-text' })
|
|
240
|
+
], ExtendableOutlinedTextField.prototype, "suffixText", void 0);
|
|
241
|
+
__decorate([
|
|
242
|
+
property({ type: Boolean, attribute: 'has-leading-icon' })
|
|
243
|
+
], ExtendableOutlinedTextField.prototype, "hasLeadingIcon", void 0);
|
|
244
|
+
__decorate([
|
|
245
|
+
property({ type: Boolean, attribute: 'has-trailing-icon' })
|
|
246
|
+
], ExtendableOutlinedTextField.prototype, "hasTrailingIcon", void 0);
|
|
247
|
+
__decorate([
|
|
248
|
+
property({ attribute: 'supporting-text' })
|
|
249
|
+
], ExtendableOutlinedTextField.prototype, "supportingText", void 0);
|
|
250
|
+
__decorate([
|
|
251
|
+
property({ attribute: 'text-direction' })
|
|
252
|
+
], ExtendableOutlinedTextField.prototype, "textDirection", void 0);
|
|
253
|
+
__decorate([
|
|
254
|
+
property({ type: Number })
|
|
255
|
+
], ExtendableOutlinedTextField.prototype, "rows", void 0);
|
|
256
|
+
__decorate([
|
|
257
|
+
property({ type: Number })
|
|
258
|
+
], ExtendableOutlinedTextField.prototype, "cols", void 0);
|
|
259
|
+
__decorate([
|
|
260
|
+
property({ reflect: true })
|
|
261
|
+
], ExtendableOutlinedTextField.prototype, "inputMode", void 0);
|
|
262
|
+
__decorate([
|
|
263
|
+
property()
|
|
264
|
+
], ExtendableOutlinedTextField.prototype, "max", void 0);
|
|
265
|
+
__decorate([
|
|
266
|
+
property({ type: Number })
|
|
267
|
+
], ExtendableOutlinedTextField.prototype, "maxLength", void 0);
|
|
268
|
+
__decorate([
|
|
269
|
+
property()
|
|
270
|
+
], ExtendableOutlinedTextField.prototype, "min", void 0);
|
|
271
|
+
__decorate([
|
|
272
|
+
property({ type: Number })
|
|
273
|
+
], ExtendableOutlinedTextField.prototype, "minLength", void 0);
|
|
274
|
+
__decorate([
|
|
275
|
+
property()
|
|
276
|
+
], ExtendableOutlinedTextField.prototype, "pattern", void 0);
|
|
277
|
+
__decorate([
|
|
278
|
+
property({ reflect: true, converter: stringConverter })
|
|
279
|
+
], ExtendableOutlinedTextField.prototype, "placeholder", void 0);
|
|
280
|
+
__decorate([
|
|
281
|
+
property({ type: Boolean, reflect: true })
|
|
282
|
+
], ExtendableOutlinedTextField.prototype, "readOnly", void 0);
|
|
283
|
+
__decorate([
|
|
284
|
+
property({ type: Boolean, reflect: true })
|
|
285
|
+
], ExtendableOutlinedTextField.prototype, "multiple", void 0);
|
|
286
|
+
__decorate([
|
|
287
|
+
property()
|
|
288
|
+
], ExtendableOutlinedTextField.prototype, "step", void 0);
|
|
289
|
+
__decorate([
|
|
290
|
+
property({ reflect: true })
|
|
291
|
+
], ExtendableOutlinedTextField.prototype, "type", void 0);
|
|
292
|
+
__decorate([
|
|
293
|
+
property({ reflect: true })
|
|
294
|
+
], ExtendableOutlinedTextField.prototype, "autocomplete", void 0);
|
|
295
|
+
//# sourceMappingURL=extendable-outlined-text-field.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"extendable-outlined-text-field.js","sourceRoot":"","sources":["extendable-outlined-text-field.ts"],"names":[],"mappings":";AAAA,OAAO,6CAA6C,CAAC;AAGrD,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,KAAK,CAAC;AACvC,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,eAAe,EAAE,MAAM,oDAAoD,CAAC;AAIrF,MAAM,OAAO,2BAA4B,SAAQ,UAAU;IAA3D;;QAGE;;;;;WAKG;QACyC,UAAK,GAAG,KAAK,CAAC;QAEd,aAAQ,GAAG,KAAK,CAAC;QAE7D;;;;;;;WAOG;QACoC,cAAS,GAAG,EAAE,CAAC;QAE1C,UAAK,GAAG,EAAE,CAAC;QAEqB,aAAQ,GAAG,KAAK,CAAC;QAE7D;;WAEG;QACS,UAAK,GAAG,EAAE,CAAC;QAEvB;;WAEG;QACqC,eAAU,GAAG,EAAE,CAAC;QAExD;;WAEG;Q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EAAE,MAAM,EAAE,CAAC;yDAAW;AAGA;IAArC,QAAQ,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;8DAAyB;AAOzC;IAAX,QAAQ,EAAE;wDAAU;AAQO;IAA3B,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;8DAAgB;AAO/B;IAAX,QAAQ,EAAE;wDAAU;AAQO;IAA3B,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;8DAAgB;AAQ/B;IAAX,QAAQ,EAAE;4DAAc;AAEgC;IAAxD,QAAQ,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,eAAe,EAAE,CAAC;gEAAkB;AAQ9B;IAA3C,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;6DAAkB;AAOjB;IAA3C,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;6DAAkB;AAQjD;IAAX,QAAQ,EAAE;yDAAW;AAqBO;IAA5B,QAAQ,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;yDAAyD;AAQxD;IAA5B,QAAQ,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;iEAAmB"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import '@material/web/textfield/outlined-text-field';
|
|
2
|
+
import { TextFieldType, UnsupportedTextFieldType } from '@material/web/textfield/internal/text-field';
|
|
3
|
+
import { MdOutlinedTextField } from '@material/web/textfield/outlined-text-field';
|
|
4
|
+
import { LitElement } from 'lit';
|
|
5
|
+
export declare class ExtendableOutlinedTextField extends LitElement {
|
|
6
|
+
disabled: boolean;
|
|
7
|
+
required: boolean;
|
|
8
|
+
error: boolean;
|
|
9
|
+
autocomplete: string;
|
|
10
|
+
errorText: string;
|
|
11
|
+
hasLeadingIcon: boolean;
|
|
12
|
+
hasTrailingIcon: boolean;
|
|
13
|
+
label: string;
|
|
14
|
+
max: string;
|
|
15
|
+
maxLength: number;
|
|
16
|
+
minLength: number;
|
|
17
|
+
name: string;
|
|
18
|
+
pattern: string;
|
|
19
|
+
placeholder: string;
|
|
20
|
+
prefixText: string;
|
|
21
|
+
readOnly: boolean;
|
|
22
|
+
rows: number;
|
|
23
|
+
selectionDirection: 'forward' | 'backward' | 'none' | null;
|
|
24
|
+
selectionEnd: number;
|
|
25
|
+
selectionStart: number;
|
|
26
|
+
step: string;
|
|
27
|
+
suffixText: string;
|
|
28
|
+
supportingText: string;
|
|
29
|
+
textDirection: string;
|
|
30
|
+
type: TextFieldType | UnsupportedTextFieldType;
|
|
31
|
+
value: string;
|
|
32
|
+
outlinedTextField: MdOutlinedTextField;
|
|
33
|
+
checkValidity(): boolean;
|
|
34
|
+
reportValidity(): boolean;
|
|
35
|
+
select(): void;
|
|
36
|
+
setCustomValidity(error: string): void;
|
|
37
|
+
setRangeText(replacement: string, start: number, end: number, selectionMode?: SelectionMode): void;
|
|
38
|
+
setSelectionRange(start: number | null, end: number | null, direction?: 'forward' | 'backward' | 'none'): void;
|
|
39
|
+
stepDown(stepDecrement?: number): void;
|
|
40
|
+
stepUp(stepDecrement?: number): void;
|
|
41
|
+
reset(): void;
|
|
42
|
+
protected renderMainSlot(): import("lit-html").TemplateResult<1>;
|
|
43
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
44
|
+
}
|
|
45
|
+
//# sourceMappingURL=extensible-outlined-text-field.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"extensible-outlined-text-field.js","sourceRoot":"","sources":["extensible-outlined-text-field.ts"],"names":[],"mappings":";AAAA,OAAO,6CAA6C,CAAC;AAIrD,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,KAAK,CAAC;AACvC,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAEpD,MAAM,OAAO,2BAA4B,SAAQ,UAAU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
|
|
2
|
+
import '@material/web/progress/linear-progress';
|
|
3
|
+
/**
|
|
4
|
+
* A simple full-screen veil with loading indicator that uses promise driven pending-state-events
|
|
5
|
+
*
|
|
6
|
+
* @element titanium-full-page-loading-indicator
|
|
7
|
+
*
|
|
8
|
+
*
|
|
9
|
+
*/
|
|
10
|
+
export declare class TitaniumFullPageLoadingIndicator extends LitElement {
|
|
11
|
+
#private;
|
|
12
|
+
protected accessor opened: boolean;
|
|
13
|
+
protected accessor opening: boolean;
|
|
14
|
+
protected accessor closing: boolean;
|
|
15
|
+
firstUpdated(): void;
|
|
16
|
+
static styles: import("lit").CSSResult;
|
|
17
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=full-page-loading-indicator.d.ts.map
|