@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.
@@ -20,7 +20,7 @@ let SonicSubscriber = class SonicSubscriber extends Subscriber(LitElement) {
20
20
  super.connectedCallback();
21
21
  }
22
22
  render() {
23
- return html ` <slot></slot> `;
23
+ return html `<slot></slot> `;
24
24
  }
25
25
  };
26
26
  SonicSubscriber = __decorate([
@@ -93,7 +93,6 @@ let Select = class Select extends FormElement(Subscriber(LitElement)) {
93
93
  this.requestUpdate();
94
94
  }
95
95
  render() {
96
- console.log('plop');
97
96
  const slotClasses = {
98
97
  "has-prefix": this.hasPrefix,
99
98
  "has-suffix": this.hasSuffix,
@@ -20,6 +20,7 @@ import "./menu/menu";
20
20
  import "./modal/modal";
21
21
  import "./alert/alert";
22
22
  import "./toast/toast";
23
+ import "./toast/message-subscriber";
23
24
  import "./tooltip/tooltip";
24
25
  import "./pop/pop";
25
26
  import "./divider/divider";
@@ -29,6 +29,7 @@ import "./menu/menu";
29
29
  import "./modal/modal";
30
30
  import "./alert/alert";
31
31
  import "./toast/toast";
32
+ import "./toast/message-subscriber";
32
33
  import "./tooltip/tooltip";
33
34
  import "./pop/pop";
34
35
  import "./divider/divider";
@@ -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;
@@ -1,5 +1,4 @@
1
1
  import { LitElement } from "lit";
2
- import "@supersoniks/concorde/core/components/ui/icon/icon";
3
2
  import { APIConfiguration } from "@supersoniks/concorde/core/utils/api";
4
3
  declare type Constructor<T> = new (...args: any[]) => T;
5
4
  export interface SubscriberInterface {
@@ -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.15",
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
  },