@supersoniks/concorde 1.1.21 → 1.1.22

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.
@@ -0,0 +1,4 @@
1
+ import * as mySonicToast from "./core/components/ui/toast/toast";
2
+ export declare const SonicToast: typeof mySonicToast.SonicToast;
3
+ import * as myModal from "./core/components/ui/modal/modal";
4
+ export declare const SonicModal: typeof myModal.Modal;
package/components.js ADDED
@@ -0,0 +1,12 @@
1
+ //
2
+ //
3
+ import * as mySonicToast from "./core/components/ui/toast/toast";
4
+ export const SonicToast = mySonicToast.SonicToast;
5
+ import * as myModal from "./core/components/ui/modal/modal";
6
+ export const SonicModal = myModal.Modal;
7
+ let win = window;
8
+ win["concorde-components"] = win["concorde-components"] || {};
9
+ win["concorde-components"] = {
10
+ SonicToast: SonicToast,
11
+ SonicModal: SonicModal,
12
+ };
package/mixins.d.ts ADDED
@@ -0,0 +1,132 @@
1
+ export declare const Fetcher: <T extends new (...args: any[]) => mySubscriber.SubscriberInterface>(superClass: T) => {
2
+ new (...args: any[]): {
3
+ api: import("./core/utils/api").default | null;
4
+ key: String;
5
+ isFirstLoad: boolean;
6
+ isLoading: boolean;
7
+ iObserver: IntersectionObserver | null;
8
+ isDefaultLoaderEnabled: boolean;
9
+ isFetchEnabled: boolean;
10
+ _endPoint: string;
11
+ endPoint: string;
12
+ _fetchData(): Promise<void>;
13
+ onInvalidate: any;
14
+ disconnectedCallback(): void;
15
+ connectedCallback(): void;
16
+ firstUpdated(): void;
17
+ onIntersection(entries: IntersectionObserverEntry[]): void;
18
+ props: any;
19
+ isConnected: boolean;
20
+ getAncestorAttributeValue(attributeName: string): string;
21
+ hasAncestorAttribute(attributeName: string): boolean;
22
+ querySelectorAll(selector: string): NodeListOf<Element>;
23
+ publisher: any;
24
+ dataProvider: string | null;
25
+ noShadowDom: string | null;
26
+ debug: HTMLElement | null;
27
+ defferedDebug: boolean | null;
28
+ dispatchEvent(event: Event): void;
29
+ setAttribute(name: string, value: string): void;
30
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions | undefined): void;
31
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions | undefined): void;
32
+ removeAttribute(name: string): void;
33
+ initPublisher(): void;
34
+ getApiConfiguration(): import("./core/utils/api").APIConfiguration;
35
+ requestUpdate(): void;
36
+ getAttribute(name: string): string;
37
+ hasAttribute(attributeName: String): boolean;
38
+ };
39
+ } & T;
40
+ export declare const FormCheckable: <T extends new (...args: any[]) => myFormElement.FormElementInterface>(superClass: T) => {
41
+ new (...args: any[]): {
42
+ _value: string | null;
43
+ value: string | null;
44
+ _name: string;
45
+ name: string;
46
+ unique: true | null;
47
+ radio: true | null;
48
+ _checked: true | null;
49
+ checked: true | null;
50
+ setCheckedValue(checked: true | null): void;
51
+ handleChange(): void;
52
+ getValueForFormPublisher(): any;
53
+ setFormValueFromPublisher(value: any): void;
54
+ initPublisher(): void;
55
+ getFormPublisher(): any;
56
+ updateDataValue(): void;
57
+ error: true | null;
58
+ autofocus: true | null;
59
+ disabled: true | null;
60
+ required: true | null;
61
+ formDataProvider: string;
62
+ props: any;
63
+ isConnected: boolean;
64
+ getAncestorAttributeValue(attributeName: string): string;
65
+ hasAncestorAttribute(attributeName: string): boolean;
66
+ querySelectorAll(selector: string): NodeListOf<Element>;
67
+ publisher: any;
68
+ dataProvider: string | null;
69
+ noShadowDom: string | null;
70
+ debug: HTMLElement | null;
71
+ defferedDebug: boolean | null;
72
+ dispatchEvent(event: Event): void;
73
+ setAttribute(name: string, value: string): void;
74
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions | undefined): void;
75
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions | undefined): void;
76
+ removeAttribute(name: string): void;
77
+ getApiConfiguration(): import("./core/utils/api").APIConfiguration;
78
+ connectedCallback(): void;
79
+ requestUpdate(): void;
80
+ getAttribute(name: string): string;
81
+ hasAttribute(attributeName: String): boolean;
82
+ disconnectedCallback(): void;
83
+ };
84
+ } & T;
85
+ import * as myFormElement from "./core/mixins/FormElement";
86
+ export declare const FormElement: <T extends new (...args: any[]) => mySubscriber.SubscriberInterface>(superClass: T) => (new (...args: any[]) => myFormElement.FormElementInterface) & T;
87
+ export declare const FormInput: <T extends new (...args: any[]) => myFormElement.FormElementInterface>(superClass: T) => {
88
+ new (...args: any[]): {
89
+ type: "number" | "search" | "file" | "button" | "password" | "url" | "color" | "hidden" | "time" | "image" | "text" | "reset" | "submit" | "month" | "week" | "checkbox" | "radio" | "range" | "tel" | "email" | "date" | "datetime-local";
90
+ tabindex: string | null;
91
+ autocomplete: "url" | "name" | "language" | "on" | "tel" | "email" | "honorific-prefix" | "given-name" | "additional-name" | "family-name" | "honorific-suffix" | "nickname" | "username" | "new-password" | "current-password" | "one-time-code" | "organization-title" | "organization" | "street-address" | "address-line1" | "address-line2" | "address-line3" | "address-level4" | "address-level3" | "address-level2" | "address-level1" | "country" | "country-name" | "postal-code" | "cc-name" | "cc-given-name" | "cc-additional-name" | "cc-family-name" | "cc-number" | "cc-exp" | "cc-exp-month" | "cc-exp-year" | "cc-csc" | "cc-type" | "transaction-currency" | "transaction-amount" | "bday" | "bday-day" | "bday-month" | "bday-year" | "sex" | "tel-country-code" | "tel-national" | "tel-area-code" | "tel-local" | "tel-extension" | "impp" | "photo" | null;
92
+ getFormPublisher(): any;
93
+ updateDataValue(): void;
94
+ handleChange(e?: any): void;
95
+ getValueForFormPublisher(): any;
96
+ error: true | null;
97
+ autofocus: true | null;
98
+ disabled: true | null;
99
+ required: true | null;
100
+ formDataProvider: string;
101
+ _value: any;
102
+ value: any;
103
+ _name: string;
104
+ name: string;
105
+ props: any;
106
+ isConnected: boolean;
107
+ getAncestorAttributeValue(attributeName: string): string;
108
+ hasAncestorAttribute(attributeName: string): boolean;
109
+ querySelectorAll(selector: string): NodeListOf<Element>;
110
+ publisher: any;
111
+ dataProvider: string | null;
112
+ noShadowDom: string | null;
113
+ debug: HTMLElement | null;
114
+ defferedDebug: boolean | null;
115
+ dispatchEvent(event: Event): void;
116
+ setAttribute(name: string, value: string): void;
117
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions | undefined): void;
118
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions | undefined): void;
119
+ removeAttribute(name: string): void;
120
+ initPublisher(): void;
121
+ getApiConfiguration(): import("./core/utils/api").APIConfiguration;
122
+ connectedCallback(): void;
123
+ requestUpdate(): void;
124
+ getAttribute(name: string): string;
125
+ hasAttribute(attributeName: String): boolean;
126
+ disconnectedCallback(): void;
127
+ };
128
+ } & T;
129
+ import * as mySubscriber from "./core/mixins/Subscriber";
130
+ export declare const Subscriber: <T extends new (...args: any[]) => import("lit").LitElement>(superClass: T) => (new (...args: any[]) => mySubscriber.SubscriberInterface) & T;
131
+ import * as myTemplatesContainer from "./core/mixins/TemplatesContainer";
132
+ export declare const TemplatesContainer: <T extends new (...args: any[]) => import("lit").LitElement>(superClass: T) => (new (...args: any[]) => myTemplatesContainer.TemplatesContainerInterface) & T;
package/mixins.js ADDED
@@ -0,0 +1,23 @@
1
+ //
2
+ import * as myFetcher from "./core/mixins/Fetcher";
3
+ export const Fetcher = myFetcher.default;
4
+ import * as myFormCheckable from "./core/mixins/FormCheckable";
5
+ export const FormCheckable = myFormCheckable.default;
6
+ import * as myFormElement from "./core/mixins/FormElement";
7
+ export const FormElement = myFormElement.default;
8
+ import * as myFormInput from "./core/mixins/FormInput";
9
+ export const FormInput = myFormInput.default;
10
+ import * as mySubscriber from "./core/mixins/Subscriber";
11
+ export const Subscriber = mySubscriber.default;
12
+ import * as myTemplatesContainer from "./core/mixins/TemplatesContainer";
13
+ export const TemplatesContainer = myTemplatesContainer.default;
14
+ let win = window;
15
+ win["concorde-mixins"] = win["concorde-mixins"] || {};
16
+ win["concorde-mixins"] = {
17
+ Fetcher: Fetcher,
18
+ FormCheckable: FormCheckable,
19
+ FormElement: FormElement,
20
+ FormInput: FormInput,
21
+ Subscriber: Subscriber,
22
+ TemplatesContainer: TemplatesContainer
23
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@supersoniks/concorde",
3
- "version": "1.1.21",
3
+ "version": "1.1.22",
4
4
  "customElements": "custom-elements.json",
5
5
  "license": "MIT",
6
6
  "publishConfig": {
package/utils.d.ts ADDED
@@ -0,0 +1,17 @@
1
+ import * as myArrays from "./core/utils/Arrays";
2
+ export declare const Arrays: typeof myArrays.default;
3
+ import * as myDataBindObserver from "./core/utils/DataBindObserver";
4
+ export declare const DataBindObserver: typeof myDataBindObserver.default;
5
+ import * as myFormat from "./core/utils/Format";
6
+ export declare const Format: typeof myFormat.default;
7
+ import * as myHTML from "./core/utils/HTML";
8
+ export declare const HTML: typeof myHTML.default;
9
+ import * as myLocationHandler from "./core/utils/LocationHandler";
10
+ export declare const LocationHandler: typeof myLocationHandler.default;
11
+ import * as myObjects from "./core/utils/Objects";
12
+ export declare const Objects: typeof myObjects.default;
13
+ import * as myPublisherProxy from "./core/utils/PublisherProxy.mjs";
14
+ export declare const PublisherProxy: typeof myPublisherProxy.default;
15
+ export declare const PublisherManager: typeof myPublisherProxy.PublisherManager;
16
+ import * as myApi from "./core/utils/api";
17
+ export declare const api: typeof myApi.default;
package/utils.js ADDED
@@ -0,0 +1,32 @@
1
+ //
2
+ //
3
+ import * as myArrays from "./core/utils/Arrays";
4
+ export const Arrays = myArrays.default;
5
+ import * as myDataBindObserver from "./core/utils/DataBindObserver";
6
+ export const DataBindObserver = myDataBindObserver.default;
7
+ import * as myFormat from "./core/utils/Format";
8
+ export const Format = myFormat.default;
9
+ import * as myHTML from "./core/utils/HTML";
10
+ export const HTML = myHTML.default;
11
+ import * as myLocationHandler from "./core/utils/LocationHandler";
12
+ export const LocationHandler = myLocationHandler.default;
13
+ import * as myObjects from "./core/utils/Objects";
14
+ export const Objects = myObjects.default;
15
+ import * as myPublisherProxy from "./core/utils/PublisherProxy.mjs";
16
+ export const PublisherProxy = myPublisherProxy.default;
17
+ export const PublisherManager = myPublisherProxy.PublisherManager;
18
+ import * as myApi from "./core/utils/api";
19
+ export const api = myApi.default;
20
+ let win = window;
21
+ win["concorde-utils"] = win["concorde-utils"] || {};
22
+ win["concorde-utils"] = {
23
+ Arrays: Arrays,
24
+ DataBindObserver: DataBindObserver,
25
+ Format: Format,
26
+ HTML: HTML,
27
+ LocationHandler: LocationHandler,
28
+ Objects: Objects,
29
+ PublisherProxy: PublisherProxy,
30
+ PublisherManager: PublisherManager,
31
+ api: api
32
+ };