@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,338 @@
|
|
|
1
|
+
import ApiService from './api-service';
|
|
2
|
+
export type Constructor<T> = {
|
|
3
|
+
new (...args: any[]): T;
|
|
4
|
+
};
|
|
5
|
+
declare const Api2ServiceMixin: <C extends Constructor<HTMLElement>>(base: C, options?: {
|
|
6
|
+
disableAuthentication?: boolean | undefined;
|
|
7
|
+
defaultLGAppNameHeader?: string | undefined;
|
|
8
|
+
}) => {
|
|
9
|
+
new (...args: any[]): {
|
|
10
|
+
api2: ApiService;
|
|
11
|
+
accessKey: string;
|
|
12
|
+
readonly accessKeyLabel: string;
|
|
13
|
+
autocapitalize: string;
|
|
14
|
+
dir: string;
|
|
15
|
+
draggable: boolean;
|
|
16
|
+
hidden: boolean;
|
|
17
|
+
inert: boolean;
|
|
18
|
+
innerText: string;
|
|
19
|
+
lang: string;
|
|
20
|
+
readonly offsetHeight: number;
|
|
21
|
+
readonly offsetLeft: number;
|
|
22
|
+
readonly offsetParent: Element | null;
|
|
23
|
+
readonly offsetTop: number;
|
|
24
|
+
readonly offsetWidth: number;
|
|
25
|
+
outerText: string;
|
|
26
|
+
popover: string | null;
|
|
27
|
+
spellcheck: boolean;
|
|
28
|
+
title: string;
|
|
29
|
+
translate: boolean;
|
|
30
|
+
attachInternals(): ElementInternals;
|
|
31
|
+
click(): void;
|
|
32
|
+
hidePopover(): void;
|
|
33
|
+
showPopover(): void;
|
|
34
|
+
togglePopover(force?: boolean | undefined): void;
|
|
35
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions | undefined): void;
|
|
36
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions | undefined): void;
|
|
37
|
+
removeEventListener<K_1 extends keyof HTMLElementEventMap>(type: K_1, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_1]) => any, options?: boolean | EventListenerOptions | undefined): void;
|
|
38
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions | undefined): void;
|
|
39
|
+
floatingLabelFoundation?: import("@material/floating-label/foundation").MDCFloatingLabelFoundation | undefined;
|
|
40
|
+
lineRippleFoundation?: import("@material/line-ripple/foundation").MDCLineRippleFoundation | undefined;
|
|
41
|
+
readonly attributes: NamedNodeMap;
|
|
42
|
+
readonly classList: DOMTokenList;
|
|
43
|
+
className: string;
|
|
44
|
+
readonly clientHeight: number;
|
|
45
|
+
readonly clientLeft: number;
|
|
46
|
+
readonly clientTop: number;
|
|
47
|
+
readonly clientWidth: number;
|
|
48
|
+
id: string;
|
|
49
|
+
readonly localName: string;
|
|
50
|
+
readonly namespaceURI: string | null;
|
|
51
|
+
onfullscreenchange: ((this: Element, ev: Event) => any) | null;
|
|
52
|
+
onfullscreenerror: ((this: Element, ev: Event) => any) | null;
|
|
53
|
+
outerHTML: string;
|
|
54
|
+
readonly ownerDocument: Document;
|
|
55
|
+
readonly part: DOMTokenList;
|
|
56
|
+
readonly prefix: string | null;
|
|
57
|
+
readonly scrollHeight: number;
|
|
58
|
+
scrollLeft: number;
|
|
59
|
+
scrollTop: number;
|
|
60
|
+
readonly scrollWidth: number;
|
|
61
|
+
readonly shadowRoot: ShadowRoot | null;
|
|
62
|
+
slot: string;
|
|
63
|
+
readonly tagName: string;
|
|
64
|
+
attachShadow(init: ShadowRootInit): ShadowRoot;
|
|
65
|
+
checkVisibility(options?: CheckVisibilityOptions | undefined): boolean;
|
|
66
|
+
closest<K_2 extends keyof HTMLElementTagNameMap>(selector: K_2): HTMLElementTagNameMap[K_2] | null;
|
|
67
|
+
closest<K_3 extends keyof SVGElementTagNameMap>(selector: K_3): SVGElementTagNameMap[K_3] | null;
|
|
68
|
+
closest<K_4 extends keyof MathMLElementTagNameMap>(selector: K_4): MathMLElementTagNameMap[K_4] | null;
|
|
69
|
+
closest<E extends Element = Element>(selectors: string): E | null;
|
|
70
|
+
computedStyleMap(): StylePropertyMapReadOnly;
|
|
71
|
+
getAttribute(qualifiedName: string): string | null;
|
|
72
|
+
getAttributeNS(namespace: string | null, localName: string): string | null;
|
|
73
|
+
getAttributeNames(): string[];
|
|
74
|
+
getAttributeNode(qualifiedName: string): Attr | null;
|
|
75
|
+
getAttributeNodeNS(namespace: string | null, localName: string): Attr | null;
|
|
76
|
+
getBoundingClientRect(): DOMRect;
|
|
77
|
+
getClientRects(): DOMRectList;
|
|
78
|
+
getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
|
|
79
|
+
getElementsByTagName<K_5 extends keyof HTMLElementTagNameMap>(qualifiedName: K_5): HTMLCollectionOf<HTMLElementTagNameMap[K_5]>;
|
|
80
|
+
getElementsByTagName<K_6 extends keyof SVGElementTagNameMap>(qualifiedName: K_6): HTMLCollectionOf<SVGElementTagNameMap[K_6]>;
|
|
81
|
+
getElementsByTagName<K_7 extends keyof MathMLElementTagNameMap>(qualifiedName: K_7): HTMLCollectionOf<MathMLElementTagNameMap[K_7]>;
|
|
82
|
+
getElementsByTagName<K_8 extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K_8): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K_8]>;
|
|
83
|
+
getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
|
|
84
|
+
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
|
|
85
|
+
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
|
|
86
|
+
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
|
|
87
|
+
getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
|
|
88
|
+
hasAttribute(qualifiedName: string): boolean;
|
|
89
|
+
hasAttributeNS(namespace: string | null, localName: string): boolean;
|
|
90
|
+
hasAttributes(): boolean;
|
|
91
|
+
hasPointerCapture(pointerId: number): boolean;
|
|
92
|
+
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
93
|
+
insertAdjacentHTML(position: InsertPosition, text: string): void;
|
|
94
|
+
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
95
|
+
matches(selectors: string): boolean;
|
|
96
|
+
releasePointerCapture(pointerId: number): void;
|
|
97
|
+
removeAttribute(qualifiedName: string): void;
|
|
98
|
+
removeAttributeNS(namespace: string | null, localName: string): void;
|
|
99
|
+
removeAttributeNode(attr: Attr): Attr;
|
|
100
|
+
requestFullscreen(options?: FullscreenOptions | undefined): Promise<void>;
|
|
101
|
+
requestPointerLock(): void;
|
|
102
|
+
scroll(options?: ScrollToOptions | undefined): void;
|
|
103
|
+
scroll(x: number, y: number): void;
|
|
104
|
+
scrollBy(options?: ScrollToOptions | undefined): void;
|
|
105
|
+
scrollBy(x: number, y: number): void;
|
|
106
|
+
scrollIntoView(arg?: boolean | ScrollIntoViewOptions | undefined): void;
|
|
107
|
+
scrollTo(options?: ScrollToOptions | undefined): void;
|
|
108
|
+
scrollTo(x: number, y: number): void;
|
|
109
|
+
setAttribute(qualifiedName: string, value: string): void;
|
|
110
|
+
setAttributeNS(namespace: string | null, qualifiedName: string, value: string): void;
|
|
111
|
+
setAttributeNode(attr: Attr): Attr | null;
|
|
112
|
+
setAttributeNodeNS(attr: Attr): Attr | null;
|
|
113
|
+
setPointerCapture(pointerId: number): void;
|
|
114
|
+
toggleAttribute(qualifiedName: string, force?: boolean | undefined): boolean;
|
|
115
|
+
webkitMatchesSelector(selectors: string): boolean;
|
|
116
|
+
readonly baseURI: string;
|
|
117
|
+
readonly childNodes: NodeListOf<ChildNode>;
|
|
118
|
+
readonly firstChild: ChildNode | null;
|
|
119
|
+
readonly isConnected: boolean;
|
|
120
|
+
readonly lastChild: ChildNode | null;
|
|
121
|
+
readonly nextSibling: ChildNode | null;
|
|
122
|
+
readonly nodeName: string;
|
|
123
|
+
readonly nodeType: number;
|
|
124
|
+
nodeValue: string | null;
|
|
125
|
+
readonly parentElement: HTMLElement | null;
|
|
126
|
+
readonly parentNode: ParentNode | null;
|
|
127
|
+
readonly previousSibling: ChildNode | null;
|
|
128
|
+
textContent: string | null;
|
|
129
|
+
appendChild<T extends Node>(node: T): T;
|
|
130
|
+
cloneNode(deep?: boolean | undefined): Node;
|
|
131
|
+
compareDocumentPosition(other: Node): number;
|
|
132
|
+
contains(other: Node | null): boolean;
|
|
133
|
+
getRootNode(options?: GetRootNodeOptions | undefined): Node;
|
|
134
|
+
hasChildNodes(): boolean;
|
|
135
|
+
insertBefore<T_1 extends Node>(node: T_1, child: Node | null): T_1;
|
|
136
|
+
isDefaultNamespace(namespace: string | null): boolean;
|
|
137
|
+
isEqualNode(otherNode: Node | null): boolean;
|
|
138
|
+
isSameNode(otherNode: Node | null): boolean;
|
|
139
|
+
lookupNamespaceURI(prefix: string | null): string | null;
|
|
140
|
+
lookupPrefix(namespace: string | null): string | null;
|
|
141
|
+
normalize(): void;
|
|
142
|
+
removeChild<T_2 extends Node>(child: T_2): T_2;
|
|
143
|
+
replaceChild<T_3 extends Node>(node: Node, child: T_3): T_3;
|
|
144
|
+
readonly ELEMENT_NODE: 1;
|
|
145
|
+
readonly ATTRIBUTE_NODE: 2;
|
|
146
|
+
readonly TEXT_NODE: 3;
|
|
147
|
+
readonly CDATA_SECTION_NODE: 4;
|
|
148
|
+
readonly ENTITY_REFERENCE_NODE: 5;
|
|
149
|
+
readonly ENTITY_NODE: 6;
|
|
150
|
+
readonly PROCESSING_INSTRUCTION_NODE: 7;
|
|
151
|
+
readonly COMMENT_NODE: 8;
|
|
152
|
+
readonly DOCUMENT_NODE: 9;
|
|
153
|
+
readonly DOCUMENT_TYPE_NODE: 10;
|
|
154
|
+
readonly DOCUMENT_FRAGMENT_NODE: 11;
|
|
155
|
+
readonly NOTATION_NODE: 12;
|
|
156
|
+
readonly DOCUMENT_POSITION_DISCONNECTED: 1;
|
|
157
|
+
readonly DOCUMENT_POSITION_PRECEDING: 2;
|
|
158
|
+
readonly DOCUMENT_POSITION_FOLLOWING: 4;
|
|
159
|
+
readonly DOCUMENT_POSITION_CONTAINS: 8;
|
|
160
|
+
readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
|
|
161
|
+
readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
|
|
162
|
+
dispatchEvent(event: Event): boolean;
|
|
163
|
+
ariaAtomic: string | null;
|
|
164
|
+
ariaAutoComplete: string | null;
|
|
165
|
+
ariaBusy: string | null;
|
|
166
|
+
ariaChecked: string | null;
|
|
167
|
+
ariaColCount: string | null;
|
|
168
|
+
ariaColIndex: string | null;
|
|
169
|
+
ariaColSpan: string | null;
|
|
170
|
+
ariaCurrent: string | null;
|
|
171
|
+
ariaDisabled: string | null;
|
|
172
|
+
ariaExpanded: string | null;
|
|
173
|
+
ariaHasPopup: string | null;
|
|
174
|
+
ariaHidden: string | null;
|
|
175
|
+
ariaInvalid: string | null;
|
|
176
|
+
ariaKeyShortcuts: string | null;
|
|
177
|
+
ariaLabel: string | null;
|
|
178
|
+
ariaLevel: string | null;
|
|
179
|
+
ariaLive: string | null;
|
|
180
|
+
ariaModal: string | null;
|
|
181
|
+
ariaMultiLine: string | null;
|
|
182
|
+
ariaMultiSelectable: string | null;
|
|
183
|
+
ariaOrientation: string | null;
|
|
184
|
+
ariaPlaceholder: string | null;
|
|
185
|
+
ariaPosInSet: string | null;
|
|
186
|
+
ariaPressed: string | null;
|
|
187
|
+
ariaReadOnly: string | null;
|
|
188
|
+
ariaRequired: string | null;
|
|
189
|
+
ariaRoleDescription: string | null;
|
|
190
|
+
ariaRowCount: string | null;
|
|
191
|
+
ariaRowIndex: string | null;
|
|
192
|
+
ariaRowSpan: string | null;
|
|
193
|
+
ariaSelected: string | null;
|
|
194
|
+
ariaSetSize: string | null;
|
|
195
|
+
ariaSort: string | null;
|
|
196
|
+
ariaValueMax: string | null;
|
|
197
|
+
ariaValueMin: string | null;
|
|
198
|
+
ariaValueNow: string | null;
|
|
199
|
+
ariaValueText: string | null;
|
|
200
|
+
role: string | null;
|
|
201
|
+
animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions | undefined): Animation;
|
|
202
|
+
getAnimations(options?: GetAnimationsOptions | undefined): Animation[];
|
|
203
|
+
after(...nodes: (string | Node)[]): void;
|
|
204
|
+
before(...nodes: (string | Node)[]): void;
|
|
205
|
+
remove(): void;
|
|
206
|
+
replaceWith(...nodes: (string | Node)[]): void;
|
|
207
|
+
innerHTML: string;
|
|
208
|
+
readonly nextElementSibling: Element | null;
|
|
209
|
+
readonly previousElementSibling: Element | null;
|
|
210
|
+
readonly childElementCount: number;
|
|
211
|
+
readonly children: HTMLCollection;
|
|
212
|
+
readonly firstElementChild: Element | null;
|
|
213
|
+
readonly lastElementChild: Element | null;
|
|
214
|
+
append(...nodes: (string | Node)[]): void;
|
|
215
|
+
prepend(...nodes: (string | Node)[]): void;
|
|
216
|
+
querySelector<K_9 extends keyof HTMLElementTagNameMap>(selectors: K_9): HTMLElementTagNameMap[K_9] | null;
|
|
217
|
+
querySelector<K_10 extends keyof SVGElementTagNameMap>(selectors: K_10): SVGElementTagNameMap[K_10] | null;
|
|
218
|
+
querySelector<K_11 extends keyof MathMLElementTagNameMap>(selectors: K_11): MathMLElementTagNameMap[K_11] | null;
|
|
219
|
+
querySelector<K_12 extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K_12): HTMLElementDeprecatedTagNameMap[K_12] | null;
|
|
220
|
+
querySelector<E_1 extends Element = Element>(selectors: string): E_1 | null;
|
|
221
|
+
querySelectorAll<K_13 extends keyof HTMLElementTagNameMap>(selectors: K_13): NodeListOf<HTMLElementTagNameMap[K_13]>;
|
|
222
|
+
querySelectorAll<K_14 extends keyof SVGElementTagNameMap>(selectors: K_14): NodeListOf<SVGElementTagNameMap[K_14]>;
|
|
223
|
+
querySelectorAll<K_15 extends keyof MathMLElementTagNameMap>(selectors: K_15): NodeListOf<MathMLElementTagNameMap[K_15]>;
|
|
224
|
+
querySelectorAll<K_16 extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K_16): NodeListOf<HTMLElementDeprecatedTagNameMap[K_16]>;
|
|
225
|
+
querySelectorAll<E_2 extends Element = Element>(selectors: string): NodeListOf<E_2>;
|
|
226
|
+
replaceChildren(...nodes: (string | Node)[]): void;
|
|
227
|
+
readonly assignedSlot: HTMLSlotElement | null;
|
|
228
|
+
readonly attributeStyleMap: StylePropertyMap;
|
|
229
|
+
readonly style: CSSStyleDeclaration;
|
|
230
|
+
contentEditable: string;
|
|
231
|
+
enterKeyHint: string;
|
|
232
|
+
inputMode: string;
|
|
233
|
+
readonly isContentEditable: boolean;
|
|
234
|
+
onabort: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
|
|
235
|
+
onanimationcancel: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
236
|
+
onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
237
|
+
onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
238
|
+
onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
239
|
+
onauxclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
240
|
+
onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
241
|
+
onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
242
|
+
oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
243
|
+
oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
244
|
+
oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
245
|
+
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
246
|
+
onclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
247
|
+
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
248
|
+
oncontextmenu: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
249
|
+
oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
250
|
+
oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
251
|
+
oncut: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
252
|
+
ondblclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
253
|
+
ondrag: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
254
|
+
ondragend: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
255
|
+
ondragenter: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
256
|
+
ondragleave: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
257
|
+
ondragover: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
258
|
+
ondragstart: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
259
|
+
ondrop: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
260
|
+
ondurationchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
261
|
+
onemptied: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
262
|
+
onended: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
263
|
+
onerror: OnErrorEventHandler;
|
|
264
|
+
onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
265
|
+
onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
|
|
266
|
+
ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
267
|
+
oninput: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
268
|
+
oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
269
|
+
onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
270
|
+
onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
271
|
+
onkeyup: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
272
|
+
onload: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
273
|
+
onloadeddata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
274
|
+
onloadedmetadata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
275
|
+
onloadstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
276
|
+
onlostpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
277
|
+
onmousedown: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
278
|
+
onmouseenter: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
279
|
+
onmouseleave: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
280
|
+
onmousemove: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
281
|
+
onmouseout: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
282
|
+
onmouseover: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
283
|
+
onmouseup: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
284
|
+
onpaste: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
285
|
+
onpause: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
286
|
+
onplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
287
|
+
onplaying: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
288
|
+
onpointercancel: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
289
|
+
onpointerdown: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
290
|
+
onpointerenter: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
291
|
+
onpointerleave: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
292
|
+
onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
293
|
+
onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
294
|
+
onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
295
|
+
onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
296
|
+
onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent<EventTarget>) => any) | null;
|
|
297
|
+
onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
298
|
+
onreset: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
299
|
+
onresize: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
|
|
300
|
+
onscroll: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
301
|
+
onscrollend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
302
|
+
onsecuritypolicyviolation: ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any) | null;
|
|
303
|
+
onseeked: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
304
|
+
onseeking: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
305
|
+
onselect: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
306
|
+
onselectionchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
307
|
+
onselectstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
308
|
+
onslotchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
309
|
+
onstalled: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
310
|
+
onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
|
|
311
|
+
onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
312
|
+
ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
313
|
+
ontoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
314
|
+
ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
315
|
+
ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
316
|
+
ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
317
|
+
ontouchstart?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
318
|
+
ontransitioncancel: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
|
319
|
+
ontransitionend: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
|
320
|
+
ontransitionrun: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
|
321
|
+
ontransitionstart: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
|
322
|
+
onvolumechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
323
|
+
onwaiting: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
324
|
+
onwebkitanimationend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
325
|
+
onwebkitanimationiteration: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
326
|
+
onwebkitanimationstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
327
|
+
onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
328
|
+
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
329
|
+
autofocus: boolean;
|
|
330
|
+
readonly dataset: DOMStringMap;
|
|
331
|
+
nonce?: string | undefined;
|
|
332
|
+
tabIndex: number;
|
|
333
|
+
blur(): void;
|
|
334
|
+
focus(options?: FocusOptions | undefined): void;
|
|
335
|
+
};
|
|
336
|
+
} & C;
|
|
337
|
+
export default Api2ServiceMixin;
|
|
338
|
+
//# sourceMappingURL=api2-service.d.ts.map
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { isDevelopment } from '../../titanium/helpers/dev-detection';
|
|
2
|
+
import ApiService from './api-service';
|
|
3
|
+
import { AuthenticatedTokenProvider } from './authenticated-token-provider';
|
|
4
|
+
import { NoAuthenticationTokenProvider } from './no-authentication-token-provider';
|
|
5
|
+
const Api2ServiceMixin = (base, options) => class extends base {
|
|
6
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
7
|
+
constructor(...args) {
|
|
8
|
+
super(...args);
|
|
9
|
+
this.api2 = new ApiService(options?.disableAuthentication ? new NoAuthenticationTokenProvider() : new AuthenticatedTokenProvider());
|
|
10
|
+
this.api2.baseUrl = isDevelopment ? 'https://devapi2.leavitt.com/' : 'https://api2.leavitt.com/';
|
|
11
|
+
if (options?.defaultLGAppNameHeader) {
|
|
12
|
+
this.api2.addHeader('X-LGAppName', options?.defaultLGAppNameHeader);
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
};
|
|
16
|
+
export default Api2ServiceMixin;
|
|
17
|
+
//# sourceMappingURL=api2-service.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"api2-service.js","sourceRoot":"","sources":["api2-service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,UAAU,MAAM,eAAe,CAAC;AACvC,OAAO,EAAE,0BAA0B,EAAE,MAAM,gCAAgC,CAAC;AAC5E,OAAO,EAAE,6BAA6B,EAAE,MAAM,oCAAoC,CAAC;AAKnF,MAAM,gBAAgB,GAAG,CACvB,IAAO,EACP,OAAsG,EACtG,EAAE,CACF,KAAM,SAAQ,IAAI;IAGhB,8DAA8D;IAC9D,YAAY,GAAG,IAAW;QACxB,KAAK,CAAC,GAAG,IAAI,CAAC,CAAC;QACf,IAAI,CAAC,IAAI,GAAG,IAAI,UAAU,CAAC,OAAO,EAAE,qBAAqB,CAAC,CAAC,CAAC,IAAI,6BAA6B,EAAE,CAAC,CAAC,CAAC,IAAI,0BAA0B,EAAE,CAAC,CAAC;QACpI,IAAI,CAAC,IAAI,CAAC,OAAO,GAAG,aAAa,CAAC,CAAC,CAAC,8BAA8B,CAAC,CAAC,CAAC,2BAA2B,CAAC;QACjG,IAAI,OAAO,EAAE,sBAAsB,EAAE;YACnC,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,aAAa,EAAE,OAAO,EAAE,sBAAsB,CAAC,CAAC;SACrE;IACH,CAAC;CACF,CAAC;AACJ,eAAe,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { GetUserManagerInstance } from '../user-manager/user-manager';
|
|
2
|
+
export class AuthenticatedTokenProvider {
|
|
3
|
+
async _getBearerTokenAsync() {
|
|
4
|
+
return await GetUserManagerInstance().getAccessTokenAsync();
|
|
5
|
+
}
|
|
6
|
+
}
|
|
7
|
+
//# sourceMappingURL=authenticated-token-provider.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"authenticated-token-provider.js","sourceRoot":"","sources":["authenticated-token-provider.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAC;AAGtE,MAAM,OAAO,0BAA0B;IACrC,KAAK,CAAC,oBAAoB;QACxB,OAAO,MAAM,sBAAsB,EAAE,CAAC,mBAAmB,EAAE,CAAC;IAC9D,CAAC;CACF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bearer-token-provider.js","sourceRoot":"","sources":["bearer-token-provider.ts"],"names":[],"mappings":""}
|