@cal.macconnachie/web-components 1.1.7 → 1.1.8
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/dist/index.d.ts +4 -2
- package/dist/index.js +349 -309
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ import { nothing } from 'lit';
|
|
|
5
5
|
import { PropertyValues } from 'lit';
|
|
6
6
|
import { TemplateResult } from 'lit-html';
|
|
7
7
|
|
|
8
|
-
export declare const apiClient: ({ baseUrl }: ApiClientConfig) => AxiosInstance;
|
|
8
|
+
export declare const apiClient: ({ baseUrl, apiBaseUrl }: ApiClientConfig) => AxiosInstance;
|
|
9
9
|
|
|
10
10
|
declare interface ApiClientConfig {
|
|
11
11
|
baseUrl: string;
|
|
@@ -49,6 +49,8 @@ export declare class AuthForm extends BaseElement {
|
|
|
49
49
|
private getNormalizedBaseUrl;
|
|
50
50
|
private getApiService;
|
|
51
51
|
connectedCallback(): void;
|
|
52
|
+
disconnectedCallback(): void;
|
|
53
|
+
private handleAuthRefreshFailed;
|
|
52
54
|
firstUpdated(): void;
|
|
53
55
|
updated(changed: PropertyValues): void;
|
|
54
56
|
private resetState;
|
|
@@ -448,7 +450,7 @@ declare type CardPadding = 'auto' | 'none' | 'sm' | 'md' | 'lg';
|
|
|
448
450
|
|
|
449
451
|
declare type CardVariant = 'default' | 'elevated';
|
|
450
452
|
|
|
451
|
-
export declare const createApiClient: ({ baseUrl }: ApiClientConfig) => AxiosInstance;
|
|
453
|
+
export declare const createApiClient: ({ baseUrl, apiBaseUrl }: ApiClientConfig) => AxiosInstance;
|
|
452
454
|
|
|
453
455
|
declare type DatePickerSize = 'sm' | 'md' | 'lg';
|
|
454
456
|
|