@supersoniks/concorde 1.1.20 → 1.1.21
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/concorde-core.bundle.js +21 -21
- package/concorde-core.es.js +23 -23
- package/core/utils/Electron.js +2 -1
- package/package.json +4 -3
- package/core/index.d.ts +0 -151
- package/core/index.js +0 -56
- package/index-billetterie.d.ts +0 -2
- package/index-billetterie.js +0 -2
- package/index-shared.d.ts +0 -2
- package/index-shared.js +0 -2
- package/index.d.ts +0 -1
- package/index.js +0 -1
package/core/utils/Electron.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export default class Electron {
|
|
2
2
|
static fixBlankLink(link) {
|
|
3
|
-
const
|
|
3
|
+
const electronStr = "electron";
|
|
4
|
+
const electron = typeof require == 'undefined' ? null : require(electronStr);
|
|
4
5
|
if (typeof electron && link.target == "_blank") {
|
|
5
6
|
link.addEventListener("click", () => { electron === null || electron === void 0 ? void 0 : electron.shell.openExternal(link.href); });
|
|
6
7
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@supersoniks/concorde",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.21",
|
|
4
4
|
"customElements": "custom-elements.json",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"publishConfig": {
|
|
@@ -25,6 +25,7 @@
|
|
|
25
25
|
"vite": "^2.6.14"
|
|
26
26
|
},
|
|
27
27
|
"exports": {
|
|
28
|
+
"./components": "./components",
|
|
28
29
|
"./core/components/functional/configuration/configuration": "./core/components/functional/configuration/configuration",
|
|
29
30
|
"./functional/configuration": "./core/components/functional/configuration/configuration",
|
|
30
31
|
"./core/components/functional/date/date": "./core/components/functional/date/date",
|
|
@@ -173,7 +174,6 @@
|
|
|
173
174
|
"./ui": "./core/components/ui/ui",
|
|
174
175
|
"./core/core": "./core/core",
|
|
175
176
|
"./core": "./core/core",
|
|
176
|
-
"./core/index": "./core/index",
|
|
177
177
|
"./core/mixins/Fetcher": "./core/mixins/Fetcher",
|
|
178
178
|
"./mixins/Fetcher": "./core/mixins/Fetcher",
|
|
179
179
|
"./core/mixins/FormCheckable": "./core/mixins/FormCheckable",
|
|
@@ -187,7 +187,7 @@
|
|
|
187
187
|
"./core/mixins/TemplatesContainer": "./core/mixins/TemplatesContainer",
|
|
188
188
|
"./mixins/TemplatesContainer": "./core/mixins/TemplatesContainer",
|
|
189
189
|
"./core/mixins/mixins": "./core/mixins/mixins",
|
|
190
|
-
"./mixins": "./
|
|
190
|
+
"./mixins": "./mixins",
|
|
191
191
|
"./core/utils/Arrays": "./core/utils/Arrays",
|
|
192
192
|
"./utils/Arrays": "./core/utils/Arrays",
|
|
193
193
|
"./core/utils/DataBindObserver": "./core/utils/DataBindObserver",
|
|
@@ -209,6 +209,7 @@
|
|
|
209
209
|
"./index-billetterie": "./index-billetterie",
|
|
210
210
|
"./index-shared": "./index-shared",
|
|
211
211
|
"./index": "./index",
|
|
212
|
+
"./utils": "./utils",
|
|
212
213
|
".": "./core/core"
|
|
213
214
|
},
|
|
214
215
|
"bin": "./bin/cli.js"
|
package/core/index.d.ts
DELETED
|
@@ -1,151 +0,0 @@
|
|
|
1
|
-
import "./components/functional/functional";
|
|
2
|
-
import "./components/ui/ui";
|
|
3
|
-
import "./mixins/mixins";
|
|
4
|
-
export declare const Fetcher: <T extends new (...args: any[]) => mySubscriber.SubscriberInterface>(superClass: T) => {
|
|
5
|
-
new (...args: any[]): {
|
|
6
|
-
api: myApi.default | null;
|
|
7
|
-
key: String;
|
|
8
|
-
isFirstLoad: boolean;
|
|
9
|
-
isLoading: boolean;
|
|
10
|
-
iObserver: IntersectionObserver | null;
|
|
11
|
-
isDefaultLoaderEnabled: boolean;
|
|
12
|
-
isFetchEnabled: boolean;
|
|
13
|
-
_endPoint: string;
|
|
14
|
-
endPoint: string;
|
|
15
|
-
_fetchData(): Promise<void>;
|
|
16
|
-
onInvalidate: any;
|
|
17
|
-
disconnectedCallback(): void;
|
|
18
|
-
connectedCallback(): void;
|
|
19
|
-
firstUpdated(): void;
|
|
20
|
-
onIntersection(entries: IntersectionObserverEntry[]): void;
|
|
21
|
-
props: any;
|
|
22
|
-
isConnected: boolean;
|
|
23
|
-
getAncestorAttributeValue(attributeName: string): string;
|
|
24
|
-
hasAncestorAttribute(attributeName: string): boolean;
|
|
25
|
-
querySelectorAll(selector: string): NodeListOf<Element>;
|
|
26
|
-
publisher: any;
|
|
27
|
-
dataProvider: string | null;
|
|
28
|
-
noShadowDom: string | null;
|
|
29
|
-
debug: HTMLElement | null;
|
|
30
|
-
defferedDebug: boolean | null;
|
|
31
|
-
dispatchEvent(event: Event): void;
|
|
32
|
-
setAttribute(name: string, value: string): void;
|
|
33
|
-
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions | undefined): void;
|
|
34
|
-
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions | undefined): void;
|
|
35
|
-
removeAttribute(name: string): void;
|
|
36
|
-
initPublisher(): void;
|
|
37
|
-
getApiConfiguration(): myApi.APIConfiguration;
|
|
38
|
-
requestUpdate(): void;
|
|
39
|
-
getAttribute(name: string): string;
|
|
40
|
-
hasAttribute(attributeName: String): boolean;
|
|
41
|
-
};
|
|
42
|
-
} & T;
|
|
43
|
-
export declare const FormCheckable: <T extends new (...args: any[]) => myFormElement.FormElementInterface>(superClass: T) => {
|
|
44
|
-
new (...args: any[]): {
|
|
45
|
-
_value: string | null;
|
|
46
|
-
value: string | null;
|
|
47
|
-
_name: string;
|
|
48
|
-
name: string;
|
|
49
|
-
unique: true | null;
|
|
50
|
-
radio: true | null;
|
|
51
|
-
_checked: true | null;
|
|
52
|
-
checked: true | null;
|
|
53
|
-
setCheckedValue(checked: true | null): void;
|
|
54
|
-
handleChange(): void;
|
|
55
|
-
getValueForFormPublisher(): any;
|
|
56
|
-
setFormValueFromPublisher(value: any): void;
|
|
57
|
-
initPublisher(): void;
|
|
58
|
-
getFormPublisher(): any;
|
|
59
|
-
updateDataValue(): void;
|
|
60
|
-
error: true | null;
|
|
61
|
-
autofocus: true | null;
|
|
62
|
-
disabled: true | null;
|
|
63
|
-
required: true | null;
|
|
64
|
-
formDataProvider: string;
|
|
65
|
-
props: any;
|
|
66
|
-
isConnected: boolean;
|
|
67
|
-
getAncestorAttributeValue(attributeName: string): string;
|
|
68
|
-
hasAncestorAttribute(attributeName: string): boolean;
|
|
69
|
-
querySelectorAll(selector: string): NodeListOf<Element>;
|
|
70
|
-
publisher: any;
|
|
71
|
-
dataProvider: string | null;
|
|
72
|
-
noShadowDom: string | null;
|
|
73
|
-
debug: HTMLElement | null;
|
|
74
|
-
defferedDebug: boolean | null;
|
|
75
|
-
dispatchEvent(event: Event): void;
|
|
76
|
-
setAttribute(name: string, value: string): void;
|
|
77
|
-
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions | undefined): void;
|
|
78
|
-
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions | undefined): void;
|
|
79
|
-
removeAttribute(name: string): void;
|
|
80
|
-
getApiConfiguration(): myApi.APIConfiguration;
|
|
81
|
-
connectedCallback(): void;
|
|
82
|
-
requestUpdate(): void;
|
|
83
|
-
getAttribute(name: string): string;
|
|
84
|
-
hasAttribute(attributeName: String): boolean;
|
|
85
|
-
disconnectedCallback(): void;
|
|
86
|
-
};
|
|
87
|
-
} & T;
|
|
88
|
-
import * as myFormElement from "./mixins/FormElement";
|
|
89
|
-
export declare const FormElement: <T extends new (...args: any[]) => mySubscriber.SubscriberInterface>(superClass: T) => (new (...args: any[]) => myFormElement.FormElementInterface) & T;
|
|
90
|
-
export declare const FormInput: <T extends new (...args: any[]) => myFormElement.FormElementInterface>(superClass: T) => {
|
|
91
|
-
new (...args: any[]): {
|
|
92
|
-
type: "number" | "search" | "file" | "button" | "password" | "url" | "color" | "hidden" | "time" | "image" | "text" | "reset" | "submit" | "month" | "week" | "checkbox" | "radio" | "range" | "tel" | "email" | "date" | "datetime-local";
|
|
93
|
-
tabindex: string | null;
|
|
94
|
-
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;
|
|
95
|
-
getFormPublisher(): any;
|
|
96
|
-
updateDataValue(): void;
|
|
97
|
-
handleChange(e?: any): void;
|
|
98
|
-
getValueForFormPublisher(): any;
|
|
99
|
-
error: true | null;
|
|
100
|
-
autofocus: true | null;
|
|
101
|
-
disabled: true | null;
|
|
102
|
-
required: true | null;
|
|
103
|
-
formDataProvider: string;
|
|
104
|
-
_value: any;
|
|
105
|
-
value: any;
|
|
106
|
-
_name: string;
|
|
107
|
-
name: string;
|
|
108
|
-
props: any;
|
|
109
|
-
isConnected: boolean;
|
|
110
|
-
getAncestorAttributeValue(attributeName: string): string;
|
|
111
|
-
hasAncestorAttribute(attributeName: string): boolean;
|
|
112
|
-
querySelectorAll(selector: string): NodeListOf<Element>;
|
|
113
|
-
publisher: any;
|
|
114
|
-
dataProvider: string | null;
|
|
115
|
-
noShadowDom: string | null;
|
|
116
|
-
debug: HTMLElement | null;
|
|
117
|
-
defferedDebug: boolean | null;
|
|
118
|
-
dispatchEvent(event: Event): void;
|
|
119
|
-
setAttribute(name: string, value: string): void;
|
|
120
|
-
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions | undefined): void;
|
|
121
|
-
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions | undefined): void;
|
|
122
|
-
removeAttribute(name: string): void;
|
|
123
|
-
initPublisher(): void;
|
|
124
|
-
getApiConfiguration(): myApi.APIConfiguration;
|
|
125
|
-
connectedCallback(): void;
|
|
126
|
-
requestUpdate(): void;
|
|
127
|
-
getAttribute(name: string): string;
|
|
128
|
-
hasAttribute(attributeName: String): boolean;
|
|
129
|
-
disconnectedCallback(): void;
|
|
130
|
-
};
|
|
131
|
-
} & T;
|
|
132
|
-
import * as mySubscriber from "./mixins/Subscriber";
|
|
133
|
-
export declare const Subscriber: <T extends new (...args: any[]) => import("lit").LitElement>(superClass: T) => (new (...args: any[]) => mySubscriber.SubscriberInterface) & T;
|
|
134
|
-
import * as myTemplatesContainer from "./mixins/TemplatesContainer";
|
|
135
|
-
export declare const TemplatesContainer: <T extends new (...args: any[]) => import("lit").LitElement>(superClass: T) => (new (...args: any[]) => myTemplatesContainer.TemplatesContainerInterface) & T;
|
|
136
|
-
import * as myArrays from "./utils/Arrays";
|
|
137
|
-
export declare const Arrays: typeof myArrays.default;
|
|
138
|
-
import * as myDataBindObserver from "./utils/DataBindObserver";
|
|
139
|
-
export declare const DataBindObserver: typeof myDataBindObserver.default;
|
|
140
|
-
import * as myFormat from "./utils/Format";
|
|
141
|
-
export declare const Format: typeof myFormat.default;
|
|
142
|
-
import * as myHTML from "./utils/HTML";
|
|
143
|
-
export declare const HTML: typeof myHTML.default;
|
|
144
|
-
import * as myLocationHandler from "./utils/LocationHandler";
|
|
145
|
-
export declare const LocationHandler: typeof myLocationHandler.default;
|
|
146
|
-
import * as myObjects from "./utils/Objects";
|
|
147
|
-
export declare const Objects: typeof myObjects.default;
|
|
148
|
-
import * as myPublisherProxy from "./utils/PublisherProxy.mjs";
|
|
149
|
-
export declare const PublisherProxy: typeof myPublisherProxy.default;
|
|
150
|
-
import * as myApi from "./utils/api";
|
|
151
|
-
export declare const api: typeof myApi.default;
|
package/core/index.js
DELETED
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import "./components/functional/functional";
|
|
2
|
-
import "./components/ui/ui";
|
|
3
|
-
import "./mixins/mixins";
|
|
4
|
-
import { PublisherManager } from "@supersoniks/concorde/core/utils/PublisherProxy.mjs";
|
|
5
|
-
//
|
|
6
|
-
//
|
|
7
|
-
import * as myFetcher from "./mixins/Fetcher";
|
|
8
|
-
export const Fetcher = myFetcher.default;
|
|
9
|
-
import * as myFormCheckable from "./mixins/FormCheckable";
|
|
10
|
-
export const FormCheckable = myFormCheckable.default;
|
|
11
|
-
import * as myFormElement from "./mixins/FormElement";
|
|
12
|
-
export const FormElement = myFormElement.default;
|
|
13
|
-
import * as myFormInput from "./mixins/FormInput";
|
|
14
|
-
export const FormInput = myFormInput.default;
|
|
15
|
-
import * as mySubscriber from "./mixins/Subscriber";
|
|
16
|
-
export const Subscriber = mySubscriber.default;
|
|
17
|
-
import * as myTemplatesContainer from "./mixins/TemplatesContainer";
|
|
18
|
-
export const TemplatesContainer = myTemplatesContainer.default;
|
|
19
|
-
//
|
|
20
|
-
import * as myArrays from "./utils/Arrays";
|
|
21
|
-
export const Arrays = myArrays.default;
|
|
22
|
-
import * as myDataBindObserver from "./utils/DataBindObserver";
|
|
23
|
-
export const DataBindObserver = myDataBindObserver.default;
|
|
24
|
-
import * as myFormat from "./utils/Format";
|
|
25
|
-
export const Format = myFormat.default;
|
|
26
|
-
import * as myHTML from "./utils/HTML";
|
|
27
|
-
export const HTML = myHTML.default;
|
|
28
|
-
import * as myLocationHandler from "./utils/LocationHandler";
|
|
29
|
-
export const LocationHandler = myLocationHandler.default;
|
|
30
|
-
import * as myObjects from "./utils/Objects";
|
|
31
|
-
export const Objects = myObjects.default;
|
|
32
|
-
import * as myPublisherProxy from "./utils/PublisherProxy.mjs";
|
|
33
|
-
export const PublisherProxy = myPublisherProxy.default;
|
|
34
|
-
import * as myApi from "./utils/api";
|
|
35
|
-
export const api = myApi.default;
|
|
36
|
-
let win = window;
|
|
37
|
-
if (!win.SonicPublisherManager)
|
|
38
|
-
win.SonicPublisherManager = PublisherManager;
|
|
39
|
-
if (!win.SonicDataBindObserver)
|
|
40
|
-
win.SonicDataBindObserver = DataBindObserver;
|
|
41
|
-
win["concorde-core"] = {
|
|
42
|
-
Fetcher: Fetcher,
|
|
43
|
-
FormCheckable: FormCheckable,
|
|
44
|
-
FormElement: FormElement,
|
|
45
|
-
FormInput: FormInput,
|
|
46
|
-
Subscriber: Subscriber,
|
|
47
|
-
TemplatesContainer: TemplatesContainer,
|
|
48
|
-
Arrays: Arrays,
|
|
49
|
-
DataBindObserver: DataBindObserver,
|
|
50
|
-
Format: Format,
|
|
51
|
-
HTML: HTML,
|
|
52
|
-
LocationHandler: LocationHandler,
|
|
53
|
-
Objects: Objects,
|
|
54
|
-
PublisherProxy: PublisherProxy,
|
|
55
|
-
api: api
|
|
56
|
-
};
|
package/index-billetterie.d.ts
DELETED
package/index-billetterie.js
DELETED
package/index-shared.d.ts
DELETED
package/index-shared.js
DELETED
package/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "./core";
|
package/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "./core";
|