@supersoniks/concorde 1.1.35 → 1.1.36
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/README.md +0 -0
- package/cli.js +0 -0
- package/components.d.ts +0 -0
- package/components.js +0 -0
- package/concorde-core.bundle.js +8 -8
- package/concorde-core.es.js +598 -480
- package/core/components/functional/configuration/configuration.d.ts +0 -0
- package/core/components/functional/configuration/configuration.js +0 -0
- package/core/components/functional/date/date.d.ts +0 -0
- package/core/components/functional/date/date.js +0 -0
- package/core/components/functional/example/example.d.ts +0 -0
- package/core/components/functional/example/example.js +0 -0
- package/core/components/functional/fetch/fetch.d.ts +1 -0
- package/core/components/functional/fetch/fetch.js +0 -0
- package/core/components/functional/functional.d.ts +1 -0
- package/core/components/functional/functional.js +1 -0
- package/core/components/functional/if/if.d.ts +0 -0
- package/core/components/functional/if/if.js +0 -0
- package/core/components/functional/list/list.d.ts +1 -0
- package/core/components/functional/list/list.js +0 -0
- package/core/components/functional/queue/queue.d.ts +0 -0
- package/core/components/functional/queue/queue.js +0 -0
- package/core/components/functional/router/redirect.d.ts +0 -0
- package/core/components/functional/router/redirect.js +0 -0
- package/core/components/functional/router/router.d.ts +0 -0
- package/core/components/functional/router/router.js +0 -0
- package/core/components/functional/sdui/sdui.d.ts +67 -0
- package/core/components/functional/sdui/sdui.js +130 -0
- package/core/components/functional/sonic-scope/sonic-scope.d.ts +0 -0
- package/core/components/functional/sonic-scope/sonic-scope.js +0 -0
- package/core/components/functional/states/states.d.ts +0 -0
- package/core/components/functional/states/states.js +0 -0
- package/core/components/functional/submit/submit.d.ts +0 -0
- package/core/components/functional/submit/submit.js +0 -0
- package/core/components/functional/subscriber/subscriber.d.ts +0 -0
- package/core/components/functional/subscriber/subscriber.js +0 -0
- package/core/components/ui/_css/scroll.d.ts +0 -0
- package/core/components/ui/_css/scroll.js +0 -0
- package/core/components/ui/_css/size.d.ts +0 -0
- package/core/components/ui/_css/size.js +0 -0
- package/core/components/ui/_css/type.d.ts +0 -0
- package/core/components/ui/_css/type.js +0 -0
- package/core/components/ui/alert/alert.d.ts +0 -0
- package/core/components/ui/alert/alert.js +0 -0
- package/core/components/ui/badge/badge.d.ts +0 -0
- package/core/components/ui/badge/badge.js +0 -0
- package/core/components/ui/button/button.d.ts +7 -1
- package/core/components/ui/button/button.js +0 -0
- package/core/components/ui/captcha/captcha.d.ts +0 -0
- package/core/components/ui/captcha/captcha.js +0 -0
- package/core/components/ui/card/card-footer.d.ts +0 -0
- package/core/components/ui/card/card-footer.js +0 -0
- package/core/components/ui/card/card-header-descripton.d.ts +0 -0
- package/core/components/ui/card/card-header-descripton.js +0 -0
- package/core/components/ui/card/card-header.d.ts +0 -0
- package/core/components/ui/card/card-header.js +0 -0
- package/core/components/ui/card/card-main.d.ts +0 -0
- package/core/components/ui/card/card-main.js +0 -0
- package/core/components/ui/card/card.d.ts +0 -0
- package/core/components/ui/card/card.js +0 -0
- package/core/components/ui/divider/divider.d.ts +0 -0
- package/core/components/ui/divider/divider.js +0 -0
- package/core/components/ui/form/checkbox/checkbox.d.ts +2 -0
- package/core/components/ui/form/checkbox/checkbox.js +0 -0
- package/core/components/ui/form/css/form-control.d.ts +0 -0
- package/core/components/ui/form/css/form-control.js +0 -0
- package/core/components/ui/form/fieldset/fieldset.d.ts +0 -0
- package/core/components/ui/form/fieldset/fieldset.js +0 -0
- package/core/components/ui/form/fieldset/legend-description.d.ts +0 -0
- package/core/components/ui/form/fieldset/legend-description.js +0 -0
- package/core/components/ui/form/fieldset/legend.d.ts +0 -0
- package/core/components/ui/form/fieldset/legend.js +0 -0
- package/core/components/ui/form/form-actions/form-actions.d.ts +0 -0
- package/core/components/ui/form/form-actions/form-actions.js +0 -0
- package/core/components/ui/form/form-layout/form-layout.d.ts +0 -0
- package/core/components/ui/form/form-layout/form-layout.js +0 -0
- package/core/components/ui/form/input/input.d.ts +1 -0
- package/core/components/ui/form/input/input.js +0 -0
- package/core/components/ui/form/radio/radio.d.ts +0 -0
- package/core/components/ui/form/radio/radio.js +0 -0
- package/core/components/ui/form/select/select.d.ts +0 -0
- package/core/components/ui/form/select/select.js +0 -0
- package/core/components/ui/form/textarea/textarea.d.ts +1 -0
- package/core/components/ui/form/textarea/textarea.js +0 -0
- package/core/components/ui/group/group.d.ts +0 -0
- package/core/components/ui/group/group.js +0 -0
- package/core/components/ui/icon/icon.d.ts +0 -0
- package/core/components/ui/icon/icon.js +0 -0
- package/core/components/ui/icon/icons.d.ts +0 -0
- package/core/components/ui/icon/icons.js +0 -0
- package/core/components/ui/icon/icons.json +0 -0
- package/core/components/ui/image/image.d.ts +0 -0
- package/core/components/ui/image/image.js +0 -0
- package/core/components/ui/link/link.d.ts +0 -0
- package/core/components/ui/link/link.js +0 -0
- package/core/components/ui/loader/loader.d.ts +0 -0
- package/core/components/ui/loader/loader.js +0 -0
- package/core/components/ui/loader/styles/fixed.d.ts +0 -0
- package/core/components/ui/loader/styles/fixed.js +0 -0
- package/core/components/ui/loader/styles/inline.d.ts +0 -0
- package/core/components/ui/loader/styles/inline.js +0 -0
- package/core/components/ui/menu/menu-item.d.ts +0 -0
- package/core/components/ui/menu/menu-item.js +0 -0
- package/core/components/ui/menu/menu.d.ts +0 -0
- package/core/components/ui/menu/menu.js +0 -0
- package/core/components/ui/modal/modal-actions.d.ts +0 -0
- package/core/components/ui/modal/modal-actions.js +0 -0
- package/core/components/ui/modal/modal-close.d.ts +0 -0
- package/core/components/ui/modal/modal-close.js +0 -0
- package/core/components/ui/modal/modal-content.d.ts +0 -0
- package/core/components/ui/modal/modal-content.js +0 -0
- package/core/components/ui/modal/modal-subtitle.d.ts +0 -0
- package/core/components/ui/modal/modal-subtitle.js +0 -0
- package/core/components/ui/modal/modal-title.d.ts +0 -0
- package/core/components/ui/modal/modal-title.js +0 -0
- package/core/components/ui/modal/modal.d.ts +0 -0
- package/core/components/ui/modal/modal.js +0 -0
- package/core/components/ui/pop/pop.d.ts +0 -0
- package/core/components/ui/pop/pop.js +0 -0
- package/core/components/ui/progress/progress.d.ts +0 -0
- package/core/components/ui/progress/progress.js +0 -0
- package/core/components/ui/table/table-caption.d.ts +0 -0
- package/core/components/ui/table/table-caption.js +0 -0
- package/core/components/ui/table/table-tbody.d.ts +0 -0
- package/core/components/ui/table/table-tbody.js +0 -0
- package/core/components/ui/table/table-td.d.ts +0 -0
- package/core/components/ui/table/table-td.js +0 -0
- package/core/components/ui/table/table-tfoot.d.ts +0 -0
- package/core/components/ui/table/table-tfoot.js +0 -0
- package/core/components/ui/table/table-th.d.ts +0 -0
- package/core/components/ui/table/table-th.js +0 -0
- package/core/components/ui/table/table-thead.d.ts +0 -0
- package/core/components/ui/table/table-thead.js +0 -0
- package/core/components/ui/table/table-tr.d.ts +0 -0
- package/core/components/ui/table/table-tr.js +0 -0
- package/core/components/ui/table/table.d.ts +0 -0
- package/core/components/ui/table/table.js +0 -0
- package/core/components/ui/tabs/tab.d.ts +0 -0
- package/core/components/ui/tabs/tab.js +0 -0
- package/core/components/ui/tabs/tabs.d.ts +0 -0
- package/core/components/ui/tabs/tabs.js +0 -0
- package/core/components/ui/taxonomy/taxonomy.d.ts +0 -0
- package/core/components/ui/taxonomy/taxonomy.js +0 -0
- package/core/components/ui/theme/css/tailwind.css +0 -0
- package/core/components/ui/theme/css/tailwind.d.ts +0 -0
- package/core/components/ui/theme/theme-collection/core-variables.d.ts +0 -0
- package/core/components/ui/theme/theme-collection/core-variables.js +0 -0
- package/core/components/ui/theme/theme-collection/dark.d.ts +0 -0
- package/core/components/ui/theme/theme-collection/dark.js +0 -0
- package/core/components/ui/theme/theme-collection/light.d.ts +0 -0
- package/core/components/ui/theme/theme-collection/light.js +0 -0
- package/core/components/ui/theme/theme.d.ts +0 -0
- package/core/components/ui/theme/theme.js +0 -0
- package/core/components/ui/toast/message-subscriber.d.ts +0 -0
- package/core/components/ui/toast/message-subscriber.js +0 -0
- package/core/components/ui/toast/toast-item.d.ts +0 -0
- package/core/components/ui/toast/toast-item.js +0 -0
- package/core/components/ui/toast/toast.d.ts +0 -0
- package/core/components/ui/toast/toast.js +0 -0
- package/core/components/ui/toast/types.d.ts +0 -0
- package/core/components/ui/toast/types.js +0 -0
- package/core/components/ui/tooltip/tooltip.d.ts +0 -0
- package/core/components/ui/tooltip/tooltip.js +0 -0
- package/core/components/ui/ui.d.ts +0 -0
- package/core/components/ui/ui.js +0 -0
- package/core/core.d.ts +0 -0
- package/core/core.js +0 -0
- package/core/mixins/Fetcher.d.ts +5 -1
- package/core/mixins/Fetcher.js +1 -1
- package/core/mixins/FormCheckable.d.ts +1 -0
- package/core/mixins/FormCheckable.js +1 -0
- package/core/mixins/FormElement.d.ts +0 -0
- package/core/mixins/FormElement.js +0 -0
- package/core/mixins/FormInput.d.ts +1 -0
- package/core/mixins/FormInput.js +0 -0
- package/core/mixins/Subscriber.d.ts +1 -0
- package/core/mixins/Subscriber.js +0 -0
- package/core/mixins/TemplatesContainer.d.ts +0 -0
- package/core/mixins/TemplatesContainer.js +0 -0
- package/core/mixins/mixins.d.ts +0 -0
- package/core/mixins/mixins.js +0 -0
- package/core/utils/Arrays.d.ts +0 -0
- package/core/utils/Arrays.js +0 -0
- package/core/utils/DataBindObserver.d.ts +0 -0
- package/core/utils/DataBindObserver.js +0 -0
- package/core/utils/Electron.d.ts +0 -0
- package/core/utils/Electron.js +0 -0
- package/core/utils/Format.d.ts +0 -0
- package/core/utils/Format.js +0 -0
- package/core/utils/HTML.d.ts +0 -0
- package/core/utils/HTML.js +0 -0
- package/core/utils/LocationHandler.d.ts +0 -0
- package/core/utils/LocationHandler.js +0 -0
- package/core/utils/Objects.d.ts +0 -0
- package/core/utils/Objects.js +0 -0
- package/core/utils/PublisherProxy.d.mts +0 -0
- package/core/utils/PublisherProxy.mjs +0 -0
- package/core/utils/api.d.ts +0 -0
- package/core/utils/api.js +4 -1
- package/mixins.d.ts +3 -0
- package/mixins.js +0 -0
- package/package.json +3 -1
- package/utils.d.ts +0 -0
- package/utils.js +0 -0
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/core/components/ui/ui.js
CHANGED
|
File without changes
|
package/core/core.d.ts
CHANGED
|
File without changes
|
package/core/core.js
CHANGED
|
File without changes
|
package/core/mixins/Fetcher.d.ts
CHANGED
|
@@ -49,8 +49,12 @@ declare const Fetcher: <T extends Constructor<SubscriberInterface>>(superClass:
|
|
|
49
49
|
firstUpdated(): void;
|
|
50
50
|
onIntersection(entries: IntersectionObserverEntry[]): void;
|
|
51
51
|
props: any;
|
|
52
|
+
propertyMap: Object;
|
|
52
53
|
isConnected: boolean;
|
|
53
|
-
getAncestorAttributeValue(attributeName: string): string;
|
|
54
|
+
getAncestorAttributeValue(attributeName: string): string; /**
|
|
55
|
+
* Après le chargement des données on traverse l'objet reçu en fonctione de la cible exprimées dans cette propriété avec la dot syntaxe.
|
|
56
|
+
* C'est cette donnée cible qui est injectée dans les pros et donc disponible via le publisher disponible globalement via PublisherManager.get(dataProvider)
|
|
57
|
+
*/
|
|
54
58
|
hasAncestorAttribute(attributeName: string): boolean;
|
|
55
59
|
querySelectorAll(selector: string): NodeListOf<Element>;
|
|
56
60
|
publisher: any;
|
package/core/mixins/Fetcher.js
CHANGED
|
@@ -99,7 +99,7 @@ const Fetcher = (superClass) => {
|
|
|
99
99
|
if (this.key) {
|
|
100
100
|
let response = data._sonic_http_response_;
|
|
101
101
|
data = Objects.traverse(data, this.key.split("."), false);
|
|
102
|
-
if (data)
|
|
102
|
+
if (data && Objects.isObject(data))
|
|
103
103
|
data._sonic_http_response_ = response;
|
|
104
104
|
}
|
|
105
105
|
this.props = data;
|
|
@@ -47,6 +47,7 @@ declare const Form: <T extends Constructor<FormElementInterface>>(superClass: T)
|
|
|
47
47
|
_name: string;
|
|
48
48
|
name: string;
|
|
49
49
|
props: any;
|
|
50
|
+
propertyMap: Object;
|
|
50
51
|
isConnected: boolean;
|
|
51
52
|
getAncestorAttributeValue(attributeName: string): string;
|
|
52
53
|
hasAncestorAttribute(attributeName: string): boolean;
|
|
File without changes
|
|
File without changes
|
|
@@ -32,6 +32,7 @@ declare const Form: <T extends Constructor<FormElementInterface>>(superClass: T)
|
|
|
32
32
|
_name: string;
|
|
33
33
|
name: string;
|
|
34
34
|
props: any;
|
|
35
|
+
propertyMap: Object;
|
|
35
36
|
isConnected: boolean;
|
|
36
37
|
getAncestorAttributeValue(attributeName: string): string;
|
|
37
38
|
hasAncestorAttribute(attributeName: string): boolean;
|
package/core/mixins/FormInput.js
CHANGED
|
File without changes
|
|
@@ -3,6 +3,7 @@ import { APIConfiguration } from "@supersoniks/concorde/core/utils/api";
|
|
|
3
3
|
declare type Constructor<T> = new (...args: any[]) => T;
|
|
4
4
|
export interface SubscriberInterface {
|
|
5
5
|
props: any;
|
|
6
|
+
propertyMap: Object;
|
|
6
7
|
isConnected: boolean;
|
|
7
8
|
getAncestorAttributeValue(attributeName: string): string;
|
|
8
9
|
hasAncestorAttribute(attributeName: string): boolean;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/core/mixins/mixins.d.ts
CHANGED
|
File without changes
|
package/core/mixins/mixins.js
CHANGED
|
File without changes
|
package/core/utils/Arrays.d.ts
CHANGED
|
File without changes
|
package/core/utils/Arrays.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/core/utils/Electron.d.ts
CHANGED
|
File without changes
|
package/core/utils/Electron.js
CHANGED
|
File without changes
|
package/core/utils/Format.d.ts
CHANGED
|
File without changes
|
package/core/utils/Format.js
CHANGED
|
File without changes
|
package/core/utils/HTML.d.ts
CHANGED
|
File without changes
|
package/core/utils/HTML.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/core/utils/Objects.d.ts
CHANGED
|
File without changes
|
package/core/utils/Objects.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/core/utils/api.d.ts
CHANGED
|
File without changes
|
package/core/utils/api.js
CHANGED
|
@@ -8,6 +8,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
8
8
|
});
|
|
9
9
|
};
|
|
10
10
|
import HTML from "@supersoniks/concorde/core/utils/HTML";
|
|
11
|
+
import Objects from "./Objects";
|
|
11
12
|
class API {
|
|
12
13
|
constructor(config) {
|
|
13
14
|
this.serviceURL = config.serviceURL;
|
|
@@ -52,7 +53,9 @@ class API {
|
|
|
52
53
|
let result = yield fetch(url, { headers: headers });
|
|
53
54
|
try {
|
|
54
55
|
let json = yield result.json();
|
|
55
|
-
json
|
|
56
|
+
if (Objects.isObject(json)) {
|
|
57
|
+
json._sonic_http_response_ = result;
|
|
58
|
+
}
|
|
56
59
|
resolve(json);
|
|
57
60
|
}
|
|
58
61
|
catch (e) {
|
package/mixins.d.ts
CHANGED
|
@@ -16,6 +16,7 @@ export declare const Fetcher: <T extends new (...args: any[]) => mySubscriber.Su
|
|
|
16
16
|
firstUpdated(): void;
|
|
17
17
|
onIntersection(entries: IntersectionObserverEntry[]): void;
|
|
18
18
|
props: any;
|
|
19
|
+
propertyMap: Object;
|
|
19
20
|
isConnected: boolean;
|
|
20
21
|
getAncestorAttributeValue(attributeName: string): string;
|
|
21
22
|
hasAncestorAttribute(attributeName: string): boolean;
|
|
@@ -63,6 +64,7 @@ export declare const FormCheckable: <T extends new (...args: any[]) => myFormEle
|
|
|
63
64
|
_name: string;
|
|
64
65
|
name: string;
|
|
65
66
|
props: any;
|
|
67
|
+
propertyMap: Object;
|
|
66
68
|
isConnected: boolean;
|
|
67
69
|
getAncestorAttributeValue(attributeName: string): string;
|
|
68
70
|
hasAncestorAttribute(attributeName: string): boolean;
|
|
@@ -114,6 +116,7 @@ export declare const FormInput: <T extends new (...args: any[]) => myFormElement
|
|
|
114
116
|
_name: string;
|
|
115
117
|
name: string;
|
|
116
118
|
props: any;
|
|
119
|
+
propertyMap: Object;
|
|
117
120
|
isConnected: boolean;
|
|
118
121
|
getAncestorAttributeValue(attributeName: string): string;
|
|
119
122
|
hasAncestorAttribute(attributeName: string): boolean;
|
package/mixins.js
CHANGED
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@supersoniks/concorde",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.36",
|
|
4
4
|
"customElements": "custom-elements.json",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"publishConfig": {
|
|
@@ -46,6 +46,8 @@
|
|
|
46
46
|
"./functional/router/redirect": "./core/components/functional/router/redirect.js",
|
|
47
47
|
"./core/components/functional/router/router": "./core/components/functional/router/router.js",
|
|
48
48
|
"./functional/router": "./core/components/functional/router/router.js",
|
|
49
|
+
"./core/components/functional/sdui/sdui": "./core/components/functional/sdui/sdui.js",
|
|
50
|
+
"./functional/sdui": "./core/components/functional/sdui/sdui.js",
|
|
49
51
|
"./core/components/functional/sonic-scope/sonic-scope": "./core/components/functional/sonic-scope/sonic-scope.js",
|
|
50
52
|
"./functional/sonic-scope": "./core/components/functional/sonic-scope/sonic-scope.js",
|
|
51
53
|
"./core/components/functional/states/states": "./core/components/functional/states/states.js",
|
package/utils.d.ts
CHANGED
|
File without changes
|
package/utils.js
CHANGED
|
File without changes
|