@supersoniks/concorde 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/LICENSE +43 -0
- package/README.md +25 -0
- package/dist/concorde.bundle.js +2789 -0
- package/package.json +32 -0
- package/types/components/event/event-card/event-card.d.ts +10 -0
- package/types/components/event/event-illustration/ssks-event-illustration.d.ts +14 -0
- package/types/components/event/event-prices/ssks-event-price.d.ts +8 -0
- package/types/components/event/event-prices/ssks-event-prices.d.ts +8 -0
- package/types/components/event/event-title/event-title.d.ts +7 -0
- package/types/components/event/event-title/ssks-event-title.d.ts +7 -0
- package/types/components/event/event.d.ts +8 -0
- package/types/components/event/ssks-event.d.ts +8 -0
- package/types/components/giftcards/giftcard/giftcard.d.ts +14 -0
- package/types/components/illustration/illustration.d.ts +16 -0
- package/types/components/misc/ssks-fetch.d.ts +6 -0
- package/types/components/misc/ssks-list.d.ts +8 -0
- package/types/components/misc/ssks-subscriber.d.ts +6 -0
- package/types/components/misc/ssks-taxonomy.d.ts +13 -0
- package/types/components/misc/ssks-text-formatted.d.ts +14 -0
- package/types/components/misc/ssks-text.d.ts +12 -0
- package/types/components/product/prices-form/price-button/price-button.d.ts +24 -0
- package/types/components/product/prices-form/prices-form.d.ts +23 -0
- package/types/components/theme/theme-collection/bootstrap5.d.ts +1 -0
- package/types/components/theme/theme-collection/dark.d.ts +1 -0
- package/types/components/theme/theme-collection/dracula.d.ts +1 -0
- package/types/components/theme/theme-collection/light.d.ts +1 -0
- package/types/components/theme/theme.d.ts +6 -0
- package/types/components/ui/loader/loader.d.ts +12 -0
- package/types/components/ui/loader/styles/fixed.d.ts +1 -0
- package/types/components/ui/loader/styles/inline.d.ts +1 -0
- package/types/components/ui/toast/toast.d.ts +19 -0
- package/types/components/ui/tooltip/tooltip.d.ts +9 -0
- package/types/core/components/fetch.d.ts +6 -0
- package/types/core/components/list.d.ts +9 -0
- package/types/core/components/subscriber.d.ts +6 -0
- package/types/core/components/taxonomy.d.ts +13 -0
- package/types/core/components/text-formatted.d.ts +15 -0
- package/types/core/components/text.d.ts +9 -0
- package/types/core/core.d.ts +6 -0
- package/types/core/mixins/Fetcher.d.ts +9 -0
- package/types/core/mixins/Subscriber.d.ts +12 -0
- package/types/core/utils/api.d.ts +15 -0
- package/types/giftcards/giftcard.d.ts +12 -0
- package/types/giftcards/giftcards.d.ts +15 -0
- package/types/illustration/illustration.d.ts +14 -0
- package/types/index.d.ts +10 -0
- package/types/mixins/Fetcher.d.ts +9 -0
- package/types/mixins/Subscriber.d.ts +12 -0
- package/types/styles/button/button.d.ts +1 -0
- package/types/styles/prose/prose.d.ts +2 -0
- package/types/styles/text-formatted/text-formatted.d.ts +1 -0
- package/types/utils/api.d.ts +15 -0
package/package.json
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@supersoniks/concorde",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"main": "dist/index.js",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"publishConfig": {
|
|
7
|
+
"access": "public"
|
|
8
|
+
},
|
|
9
|
+
"exports": {
|
|
10
|
+
".": "./dist/concorde.bundle.js"
|
|
11
|
+
},
|
|
12
|
+
"types": "types/index.d.ts",
|
|
13
|
+
"files": [
|
|
14
|
+
"dist",
|
|
15
|
+
"types"
|
|
16
|
+
],
|
|
17
|
+
"scripts": {
|
|
18
|
+
"start": "npm run dev",
|
|
19
|
+
"dev": "vite --host 0.0.0.0",
|
|
20
|
+
"build": "tsc && vite build",
|
|
21
|
+
"serve": "tsc && vite preview"
|
|
22
|
+
},
|
|
23
|
+
"dependencies": {
|
|
24
|
+
"lit": "^2.0.2",
|
|
25
|
+
"publisherproxy": "^2.5.3"
|
|
26
|
+
},
|
|
27
|
+
"devDependencies": {
|
|
28
|
+
"@types/node": "^14.14.37",
|
|
29
|
+
"typescript": "^4.5.2",
|
|
30
|
+
"vite": "^2.6.14"
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { LitElement } from "lit";
|
|
2
|
+
declare const SonicEventCard_base: (new (...args: any[]) => import("../../../core/mixins/Subscriber").SubscriberInterface) & typeof LitElement;
|
|
3
|
+
export declare class SonicEventCard extends SonicEventCard_base {
|
|
4
|
+
static styles: import("lit").CSSResult[];
|
|
5
|
+
start_date: string;
|
|
6
|
+
illustration: string;
|
|
7
|
+
categories: never[];
|
|
8
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
9
|
+
}
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { LitElement } from "lit";
|
|
2
|
+
declare const SonicEventIllustration_base: (new (...args: any[]) => import("../../../mixins/Subscriber").SubscriberInterface) & typeof LitElement;
|
|
3
|
+
export declare class SonicEventIllustration extends SonicEventIllustration_base {
|
|
4
|
+
static styles: import("lit").CSSResult;
|
|
5
|
+
illustration: string;
|
|
6
|
+
loadingMode: string;
|
|
7
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
8
|
+
}
|
|
9
|
+
declare global {
|
|
10
|
+
interface HTMLElementTagNameMap {
|
|
11
|
+
"sonic-event-illustation": SonicEventIllustration;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { LitElement } from "lit";
|
|
2
|
+
declare const SonicEventPrice_base: (new (...args: any[]) => import("../../../mixins/Subscriber").SubscriberInterface) & typeof LitElement;
|
|
3
|
+
export declare class SonicEventPrice extends SonicEventPrice_base {
|
|
4
|
+
price_name: string;
|
|
5
|
+
price_amount: string;
|
|
6
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
7
|
+
}
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { LitElement } from "lit";
|
|
2
|
+
import './sonic-event-price';
|
|
3
|
+
declare const SonicEventPrices_base: (new (...args: any[]) => import("../../../mixins/Subscriber").SubscriberInterface) & typeof LitElement;
|
|
4
|
+
export declare class SonicEventPrices extends SonicEventPrices_base {
|
|
5
|
+
prices: never[];
|
|
6
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
7
|
+
}
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { LitElement } from "lit";
|
|
2
|
+
declare const SonicEventTitle_base: (new (...args: any[]) => import("../../../core/mixins/Subscriber").SubscriberInterface) & typeof LitElement;
|
|
3
|
+
export declare class SonicEventTitle extends SonicEventTitle_base {
|
|
4
|
+
title: string;
|
|
5
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
6
|
+
}
|
|
7
|
+
export {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { LitElement } from "lit";
|
|
2
|
+
declare const SonicEventTitle_base: (new (...args: any[]) => import("../../../mixins/Subscriber").SubscriberInterface) & typeof LitElement;
|
|
3
|
+
export declare class SonicEventTitle extends SonicEventTitle_base {
|
|
4
|
+
title: string;
|
|
5
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
6
|
+
}
|
|
7
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { LitElement } from "lit";
|
|
2
|
+
import './event-card/event-card';
|
|
3
|
+
import './event-title/event-title';
|
|
4
|
+
declare const SonicEvent_base: (new (...args: any[]) => import("../../core/mixins/Subscriber").SubscriberInterface) & typeof LitElement;
|
|
5
|
+
export declare class SonicEvent extends SonicEvent_base {
|
|
6
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
7
|
+
}
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { LitElement } from "lit";
|
|
2
|
+
import './event-card/event-card';
|
|
3
|
+
import './event-title/event-title';
|
|
4
|
+
declare const SonicEvent_base: (new (...args: any[]) => import("../../mixins/Subscriber").SubscriberInterface) & typeof LitElement;
|
|
5
|
+
export declare class SonicEvent extends SonicEvent_base {
|
|
6
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
7
|
+
}
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { LitElement } from "lit";
|
|
2
|
+
declare const SonicGiftcard_base: (new (...args: any[]) => import("../../../core/mixins/Subscriber").SubscriberInterface) & typeof LitElement;
|
|
3
|
+
export declare class SonicGiftcard extends SonicGiftcard_base {
|
|
4
|
+
static styles: import("lit").CSSResult[];
|
|
5
|
+
title: string;
|
|
6
|
+
body: string;
|
|
7
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
8
|
+
}
|
|
9
|
+
declare global {
|
|
10
|
+
interface HTMLElementTagNameMap {
|
|
11
|
+
"sonic-giftcard": SonicGiftcard;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { LitElement } from "lit";
|
|
2
|
+
declare const SonicIllustration_base: (new (...args: any[]) => import("../../core/mixins/Subscriber").SubscriberInterface) & typeof LitElement;
|
|
3
|
+
export declare class SonicIllustration extends SonicIllustration_base {
|
|
4
|
+
static styles: import("lit").CSSResult;
|
|
5
|
+
illustration: string;
|
|
6
|
+
loadingMode: string;
|
|
7
|
+
ratio: string;
|
|
8
|
+
className: string;
|
|
9
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
10
|
+
}
|
|
11
|
+
declare global {
|
|
12
|
+
interface HTMLElementTagNameMap {
|
|
13
|
+
"sonic-illustration": SonicIllustration;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
export {};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { LitElement } from "lit";
|
|
2
|
+
declare const SonicFetch_base: (new (...args: any[]) => import("../../mixins/Subscriber").SubscriberInterface) & (new (...args: any[]) => import("../../mixins/Subscriber").SubscriberInterface) & typeof LitElement;
|
|
3
|
+
export declare class SonicFetch extends SonicFetch_base {
|
|
4
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
5
|
+
}
|
|
6
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { LitElement } from "lit";
|
|
2
|
+
declare const SonicList_base: (new (...args: any[]) => import("../../mixins/Subscriber").SubscriberInterface) & (new (...args: any[]) => import("../../mixins/Subscriber").SubscriberInterface) & typeof LitElement;
|
|
3
|
+
export declare class SonicList extends SonicList_base {
|
|
4
|
+
template: HTMLTemplateElement | null;
|
|
5
|
+
connectedCallback(): void;
|
|
6
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
7
|
+
}
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { LitElement } from "lit";
|
|
2
|
+
declare const SonicSubscriber_base: (new (...args: any[]) => import("../../mixins/Subscriber").SubscriberInterface) & typeof LitElement;
|
|
3
|
+
export declare class SonicSubscriber extends SonicSubscriber_base {
|
|
4
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
5
|
+
}
|
|
6
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { LitElement } from "lit";
|
|
2
|
+
declare const SonicTaxonomy_base: (new (...args: any[]) => import("../../mixins/Subscriber").SubscriberInterface) & typeof LitElement;
|
|
3
|
+
export declare class SonicTaxonomy extends SonicTaxonomy_base {
|
|
4
|
+
taxonomy: never[];
|
|
5
|
+
separator: string;
|
|
6
|
+
render(): import("lit-html").TemplateResult<1> | undefined;
|
|
7
|
+
}
|
|
8
|
+
declare global {
|
|
9
|
+
interface HTMLElementTagNameMap {
|
|
10
|
+
"sonic-taxonomy": SonicTaxonomy;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { LitElement } from "lit";
|
|
2
|
+
declare const SonicTextFormatted_base: (new (...args: any[]) => import("../../mixins/Subscriber").SubscriberInterface) & typeof LitElement;
|
|
3
|
+
export declare class SonicTextFormatted extends SonicTextFormatted_base {
|
|
4
|
+
static styles: import("lit").CSSResult[];
|
|
5
|
+
html: string;
|
|
6
|
+
leading: string;
|
|
7
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
8
|
+
}
|
|
9
|
+
declare global {
|
|
10
|
+
interface HTMLElementTagNameMap {
|
|
11
|
+
"sonic-text-formatted": SonicTextFormatted;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { LitElement } from "lit";
|
|
2
|
+
declare const SonicText_base: (new (...args: any[]) => import("../../mixins/Subscriber").SubscriberInterface) & typeof LitElement;
|
|
3
|
+
export declare class SonicText extends SonicText_base {
|
|
4
|
+
key: string;
|
|
5
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
6
|
+
}
|
|
7
|
+
declare global {
|
|
8
|
+
interface HTMLElementTagNameMap {
|
|
9
|
+
"sonic-text": SonicText;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
export {};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { LitElement } from "lit";
|
|
2
|
+
declare const SonicPricesButton_base: (new (...args: any[]) => import("../../../../core/mixins/Subscriber").SubscriberInterface) & typeof LitElement;
|
|
3
|
+
export declare class SonicPricesButton extends SonicPricesButton_base {
|
|
4
|
+
static styles: import("lit").CSSResult[];
|
|
5
|
+
price_amount: string;
|
|
6
|
+
giftcard_id: string;
|
|
7
|
+
price_name: string;
|
|
8
|
+
price_id: string;
|
|
9
|
+
btnClass: string;
|
|
10
|
+
displayBtnIcon: boolean;
|
|
11
|
+
displayPriceName: boolean;
|
|
12
|
+
priceNameClass: string;
|
|
13
|
+
price_help_text: string;
|
|
14
|
+
btnIconClass: string;
|
|
15
|
+
_cleanPrice(price: string | undefined): string | undefined;
|
|
16
|
+
_handleClick(): Promise<void>;
|
|
17
|
+
render(): import("lit-html").TemplateResult<1> | undefined;
|
|
18
|
+
}
|
|
19
|
+
declare global {
|
|
20
|
+
interface HTMLElementTagNameMap {
|
|
21
|
+
"sonic-price-button": SonicPricesButton;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
export {};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { LitElement } from "lit";
|
|
2
|
+
import "./price-button/price-button";
|
|
3
|
+
declare const SonicPricesForm_base: (new (...args: any[]) => import("../../../core/mixins/Subscriber").SubscriberInterface) & typeof LitElement;
|
|
4
|
+
export declare class SonicPricesForm extends SonicPricesForm_base {
|
|
5
|
+
static styles: import("lit").CSSResult[];
|
|
6
|
+
giftcard_id: string;
|
|
7
|
+
prices: never[];
|
|
8
|
+
wrapper: boolean;
|
|
9
|
+
displayBtnIcon: boolean;
|
|
10
|
+
displayPriceName: boolean;
|
|
11
|
+
className: string;
|
|
12
|
+
itemClass: string;
|
|
13
|
+
btnClass: string;
|
|
14
|
+
iconClass: string;
|
|
15
|
+
priceNameClass: string;
|
|
16
|
+
render(): import("lit-html").TemplateResult<1> | undefined;
|
|
17
|
+
}
|
|
18
|
+
declare global {
|
|
19
|
+
interface HTMLElementTagNameMap {
|
|
20
|
+
"sonic-prices-form": SonicPricesForm;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const bootstrap5: import("lit").CSSResult;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const dark: import("lit").CSSResult;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const dracula: import("lit").CSSResult;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const light: import("lit").CSSResult;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { LitElement } from "lit";
|
|
2
|
+
declare const SonicLoader_base: (new (...args: any[]) => import("../../../core/mixins/Subscriber").SubscriberInterface) & typeof LitElement;
|
|
3
|
+
export declare class SonicLoader extends SonicLoader_base {
|
|
4
|
+
static styles: import("lit").CSSResult[];
|
|
5
|
+
static show(conf: {
|
|
6
|
+
mode?: string;
|
|
7
|
+
}): void;
|
|
8
|
+
static remove(): void;
|
|
9
|
+
mode: string;
|
|
10
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
11
|
+
}
|
|
12
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const fixed: import("lit").CSSResult;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const inline: import("lit").CSSResult;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { LitElement } from "lit";
|
|
2
|
+
declare const SonicToast_base: (new (...args: any[]) => import("../../../core/mixins/Subscriber").SubscriberInterface) & typeof LitElement;
|
|
3
|
+
export declare class SonicToast extends SonicToast_base {
|
|
4
|
+
static styles: import("lit").CSSResult[];
|
|
5
|
+
static show(conf: {
|
|
6
|
+
text: string;
|
|
7
|
+
status?: string;
|
|
8
|
+
toastTitle?: string;
|
|
9
|
+
styled?: boolean;
|
|
10
|
+
}): void;
|
|
11
|
+
status: string;
|
|
12
|
+
toastTitle: string;
|
|
13
|
+
text: string;
|
|
14
|
+
className: string;
|
|
15
|
+
btnClass: string;
|
|
16
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
17
|
+
_remove(): void;
|
|
18
|
+
}
|
|
19
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { LitElement } from "lit";
|
|
2
|
+
declare const SonicTooltip_base: (new (...args: any[]) => import("../../../core/mixins/Subscriber").SubscriberInterface) & typeof LitElement;
|
|
3
|
+
export declare class SonicTooltip extends SonicTooltip_base {
|
|
4
|
+
static styles: import("lit").CSSResult[];
|
|
5
|
+
tooltipText: string;
|
|
6
|
+
className: string;
|
|
7
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
8
|
+
}
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { LitElement } from "lit";
|
|
2
|
+
declare const SonicFetch_base: (new (...args: any[]) => import("../mixins/Subscriber").SubscriberInterface) & (new (...args: any[]) => import("../mixins/Subscriber").SubscriberInterface) & typeof LitElement;
|
|
3
|
+
export declare class SonicFetch extends SonicFetch_base {
|
|
4
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
5
|
+
}
|
|
6
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { LitElement } from "lit";
|
|
2
|
+
declare const SonicList_base: (new (...args: any[]) => import("../mixins/Subscriber").SubscriberInterface) & (new (...args: any[]) => import("../mixins/Subscriber").SubscriberInterface) & typeof LitElement;
|
|
3
|
+
export declare class SonicList extends SonicList_base {
|
|
4
|
+
static styles: import("lit").CSSResult[];
|
|
5
|
+
template: HTMLTemplateElement | null;
|
|
6
|
+
connectedCallback(): void;
|
|
7
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
8
|
+
}
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { LitElement } from "lit";
|
|
2
|
+
declare const SonicSubscriber_base: (new (...args: any[]) => import("../mixins/Subscriber").SubscriberInterface) & typeof LitElement;
|
|
3
|
+
export declare class SonicSubscriber extends SonicSubscriber_base {
|
|
4
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
5
|
+
}
|
|
6
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { LitElement } from "lit";
|
|
2
|
+
declare const SonicTaxonomy_base: (new (...args: any[]) => import("../mixins/Subscriber").SubscriberInterface) & typeof LitElement;
|
|
3
|
+
export declare class SonicTaxonomy extends SonicTaxonomy_base {
|
|
4
|
+
taxonomy: never[];
|
|
5
|
+
separator: string;
|
|
6
|
+
render(): import("lit-html").TemplateResult<1> | undefined;
|
|
7
|
+
}
|
|
8
|
+
declare global {
|
|
9
|
+
interface HTMLElementTagNameMap {
|
|
10
|
+
"sonic-taxonomy": SonicTaxonomy;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
export {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { LitElement } from "lit";
|
|
2
|
+
declare const SonicTextFormatted_base: (new (...args: any[]) => import("../mixins/Subscriber").SubscriberInterface) & typeof LitElement;
|
|
3
|
+
export declare class SonicTextFormatted extends SonicTextFormatted_base {
|
|
4
|
+
static styles: import("lit").CSSResult[];
|
|
5
|
+
html: string;
|
|
6
|
+
leading: string;
|
|
7
|
+
className: string;
|
|
8
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
9
|
+
}
|
|
10
|
+
declare global {
|
|
11
|
+
interface HTMLElementTagNameMap {
|
|
12
|
+
"sonic-text-formatted": SonicTextFormatted;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { LitElement } from "lit";
|
|
2
|
+
declare const SonicText_base: (new (...args: any[]) => import("../mixins/Subscriber").SubscriberInterface) & typeof LitElement;
|
|
3
|
+
export declare class SonicText extends SonicText_base {
|
|
4
|
+
key: string;
|
|
5
|
+
text: string;
|
|
6
|
+
className: string;
|
|
7
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
8
|
+
}
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import API from "../utils/api";
|
|
2
|
+
import { SubscriberInterface } from "./Subscriber";
|
|
3
|
+
export declare class FetcherInterface {
|
|
4
|
+
api: API;
|
|
5
|
+
tokenProvider: Element;
|
|
6
|
+
}
|
|
7
|
+
declare type Constructor<T> = new (...args: any[]) => T;
|
|
8
|
+
declare const Fetcher: <T extends Constructor<SubscriberInterface>>(superClass: T) => Constructor<SubscriberInterface> & T;
|
|
9
|
+
export default Fetcher;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { LitElement } from "lit";
|
|
2
|
+
declare type Constructor<T> = new (...args: any[]) => T;
|
|
3
|
+
export declare class SubscriberInterface {
|
|
4
|
+
props: any;
|
|
5
|
+
getAncestorAttributeValue(attributeName: String): String;
|
|
6
|
+
publisher: any;
|
|
7
|
+
dataProvider: String;
|
|
8
|
+
makeShadow(props: Record<string, any>, value: any): any;
|
|
9
|
+
connectedCallback(): void;
|
|
10
|
+
}
|
|
11
|
+
declare const Subscriber: <T extends Constructor<LitElement>>(superClass: T) => Constructor<SubscriberInterface> & T;
|
|
12
|
+
export default Subscriber;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
declare class API {
|
|
2
|
+
serviceURL: String | null;
|
|
3
|
+
userName: String | null;
|
|
4
|
+
password: String | null;
|
|
5
|
+
token: String | null;
|
|
6
|
+
tokenProvider: String | null;
|
|
7
|
+
nologin: Boolean;
|
|
8
|
+
constructor(config: any);
|
|
9
|
+
auth(): Promise<void>;
|
|
10
|
+
get(path: String): Promise<any>;
|
|
11
|
+
createHeaders(): Promise<any>;
|
|
12
|
+
computeURL(path: String): string;
|
|
13
|
+
put(path: String, data: any): Promise<any>;
|
|
14
|
+
}
|
|
15
|
+
export default API;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { LitElement } from "lit";
|
|
2
|
+
import "../components/illustration/illustration";
|
|
3
|
+
declare class SonicGiftCard extends LitElement {
|
|
4
|
+
props: any;
|
|
5
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
6
|
+
}
|
|
7
|
+
declare global {
|
|
8
|
+
interface HTMLElementTagNameMap {
|
|
9
|
+
"sonic-giftcard": SonicGiftCard;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
export {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { LitElement } from "lit";
|
|
2
|
+
import "./giftcard";
|
|
3
|
+
declare class SonicGiftCards extends LitElement {
|
|
4
|
+
_fetchGiftCardsData(url: string): void;
|
|
5
|
+
connectedCallback(): void;
|
|
6
|
+
giftCards: any;
|
|
7
|
+
url: string;
|
|
8
|
+
render(): import("lit-html").TemplateResult<1> | null;
|
|
9
|
+
}
|
|
10
|
+
declare global {
|
|
11
|
+
interface HTMLElementTagNameMap {
|
|
12
|
+
"sonic-giftcards": SonicGiftCards;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { LitElement } from "lit";
|
|
2
|
+
declare class SonicIllustration extends LitElement {
|
|
3
|
+
static styles: import("lit").CSSResult;
|
|
4
|
+
src: string;
|
|
5
|
+
loadingMode: string;
|
|
6
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
7
|
+
protected createRenderRoot(): this;
|
|
8
|
+
}
|
|
9
|
+
declare global {
|
|
10
|
+
interface HTMLElementTagNameMap {
|
|
11
|
+
"sonic-illustration": SonicIllustration;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
export {};
|
package/types/index.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import './core/core';
|
|
2
|
+
import './components/event/event';
|
|
3
|
+
import './components/event/event-card/event-card';
|
|
4
|
+
import './components/illustration/illustration';
|
|
5
|
+
import './components/giftcards/giftcard/giftcard';
|
|
6
|
+
import './components/product/prices-form/prices-form';
|
|
7
|
+
import './components/ui/tooltip/tooltip';
|
|
8
|
+
import './components/ui/toast/toast';
|
|
9
|
+
import './components/ui/loader/loader';
|
|
10
|
+
import './components/theme/theme';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import API from "../utils/api";
|
|
2
|
+
import { SubscriberInterface } from "./Subscriber";
|
|
3
|
+
export declare class FetcherInterface {
|
|
4
|
+
api: API;
|
|
5
|
+
tokenProvider: Element;
|
|
6
|
+
}
|
|
7
|
+
declare type Constructor<T> = new (...args: any[]) => T;
|
|
8
|
+
declare const Fetcher: <T extends Constructor<SubscriberInterface>>(superClass: T) => Constructor<SubscriberInterface> & T;
|
|
9
|
+
export default Fetcher;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { LitElement } from "lit";
|
|
2
|
+
declare type Constructor<T> = new (...args: any[]) => T;
|
|
3
|
+
export declare class SubscriberInterface {
|
|
4
|
+
props: any;
|
|
5
|
+
getAncestorAttributeValue(attributeName: String): String;
|
|
6
|
+
publisher: any;
|
|
7
|
+
dataProvider: String;
|
|
8
|
+
makeShadow(props: Record<string, any>, value: any): any;
|
|
9
|
+
connectedCallback(): void;
|
|
10
|
+
}
|
|
11
|
+
declare const Subscriber: <T extends Constructor<LitElement>>(superClass: T) => Constructor<SubscriberInterface> & T;
|
|
12
|
+
export default Subscriber;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const cssButton: import("lit").CSSResult;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const cssTextFormatted: import("lit").CSSResult;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
declare class API {
|
|
2
|
+
serviceURL: String | null;
|
|
3
|
+
userName: String | null;
|
|
4
|
+
password: String | null;
|
|
5
|
+
token: String | null;
|
|
6
|
+
tokenProvider: String | null;
|
|
7
|
+
nologin: Boolean;
|
|
8
|
+
constructor(config: any);
|
|
9
|
+
auth(): Promise<void>;
|
|
10
|
+
get(path: String): Promise<any>;
|
|
11
|
+
createHeaders(): Promise<any>;
|
|
12
|
+
computeURL(path: String): string;
|
|
13
|
+
put(path: String, data: any): Promise<any>;
|
|
14
|
+
}
|
|
15
|
+
export default API;
|