@supersoniks/concorde 1.1.15 → 1.1.17
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 +121 -0
- package/concorde-core.es.js +121 -0
- package/core/components/functional/subscriber/subscriber.js +1 -1
- package/core/components/ui/form/select/select.js +0 -1
- package/core/components/ui/ui.d.ts +1 -0
- package/core/components/ui/ui.js +1 -0
- package/core/mixins/Fetcher.d.ts +2 -7
- package/core/mixins/Subscriber.d.ts +0 -1
- package/core/mixins/Subscriber.js +4 -2
- package/package.json +2 -1
package/core/components/ui/ui.js
CHANGED
package/core/mixins/Fetcher.d.ts
CHANGED
|
@@ -57,18 +57,13 @@ declare const Fetcher: <T extends Constructor<SubscriberInterface>>(superClass:
|
|
|
57
57
|
dataProvider: string | null;
|
|
58
58
|
noShadowDom: string | null;
|
|
59
59
|
debug: HTMLElement | null;
|
|
60
|
-
defferedDebug: boolean | null;
|
|
61
|
-
* isLoading vaut true pendant le chargement des données
|
|
62
|
-
*/
|
|
60
|
+
defferedDebug: boolean | null;
|
|
63
61
|
dispatchEvent(event: Event): void;
|
|
64
62
|
setAttribute(name: string, value: string): void;
|
|
65
63
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions | undefined): void;
|
|
66
64
|
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions | undefined): void;
|
|
67
65
|
removeAttribute(name: string): void;
|
|
68
|
-
initPublisher(): void;
|
|
69
|
-
* On peut désactiver le fetch programmatiquement via cette propriété.
|
|
70
|
-
* Cela est le cas pour le composant sonic-list qui ne fetch que si l'attribut fetch est renseigné
|
|
71
|
-
*/
|
|
66
|
+
initPublisher(): void;
|
|
72
67
|
getApiConfiguration(): import("@supersoniks/concorde/core/utils/api").APIConfiguration;
|
|
73
68
|
requestUpdate(): void;
|
|
74
69
|
getAttribute(name: string): string;
|
|
@@ -15,7 +15,6 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
15
15
|
};
|
|
16
16
|
import { PublisherManager } from "@supersoniks/concorde/core/utils/PublisherProxy.mjs";
|
|
17
17
|
import { property } from "lit/decorators.js";
|
|
18
|
-
import "@supersoniks/concorde/core/components/ui/icon/icon";
|
|
19
18
|
import API from "@supersoniks/concorde/core/utils/api";
|
|
20
19
|
import HTML from "@supersoniks/concorde/core/utils/HTML";
|
|
21
20
|
import DataBindObserver from "@supersoniks/concorde/core/utils/DataBindObserver";
|
|
@@ -338,11 +337,11 @@ const Subscriber = (superClass) => {
|
|
|
338
337
|
let dataPath = this.getAttribute("subDataProvider");
|
|
339
338
|
this.dataProvider = publisherId + "/" + dataPath;
|
|
340
339
|
pub = Objects.traverse(pub, dataPath.split("."));
|
|
340
|
+
mng.set(this.dataProvider, pub);
|
|
341
341
|
this.publisher = pub;
|
|
342
342
|
}
|
|
343
343
|
this.publisher = pub;
|
|
344
344
|
}
|
|
345
|
-
// this.publisher = this.bindPublisher();
|
|
346
345
|
if (this.publisher) {
|
|
347
346
|
this.onAssign = () => {
|
|
348
347
|
this.requestUpdate();
|
|
@@ -359,6 +358,9 @@ const Subscriber = (superClass) => {
|
|
|
359
358
|
}
|
|
360
359
|
}
|
|
361
360
|
SubscriberElement.instanceCounter = 0;
|
|
361
|
+
__decorate([
|
|
362
|
+
property({ type: Boolean })
|
|
363
|
+
], SubscriberElement.prototype, "noAutoFill", void 0);
|
|
362
364
|
__decorate([
|
|
363
365
|
property({ type: Object })
|
|
364
366
|
], SubscriberElement.prototype, "propertyMap", void 0);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@supersoniks/concorde",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.17",
|
|
4
4
|
"customElements": "custom-elements.json",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"publishConfig": {
|
|
@@ -205,6 +205,7 @@
|
|
|
205
205
|
"./utils/PublisherProxy.mjs": "./core/utils/PublisherProxy",
|
|
206
206
|
"./core/utils/api": "./core/utils/api",
|
|
207
207
|
"./utils/api": "./core/utils/api",
|
|
208
|
+
"./index-core": "./index-core",
|
|
208
209
|
"./index-shared": "./index-shared",
|
|
209
210
|
"./index": "./index"
|
|
210
211
|
},
|