ninegrid2 6.105.0 → 6.106.0

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.
@@ -5,16 +5,23 @@ class aiSettings extends HTMLElement
5
5
  #model;
6
6
 
7
7
  constructor() {
8
+ console.log("construct");
9
+
8
10
  super();
9
11
  this.attachShadow({ mode: 'open' });
10
12
  }
11
13
 
12
14
  get model() {
13
- return this.#model.value;
15
+ return this.#model?.value || "";
14
16
  };
15
17
  set model(v) {
16
18
  console.log(v, this.#model);
17
- this.#model.value = v;
19
+ //this.#model.value = v;
20
+ this.shadowRoot.querySelector("#model").value = v;
21
+
22
+ //if (this.#model) {
23
+ // this.#model.value = v;
24
+ //}
18
25
  };
19
26
 
20
27
  connectedCallback() {
@@ -27297,16 +27297,23 @@ class aiSettings extends HTMLElement
27297
27297
  #model;
27298
27298
 
27299
27299
  constructor() {
27300
+ console.log("construct");
27301
+
27300
27302
  super();
27301
27303
  this.attachShadow({ mode: 'open' });
27302
27304
  }
27303
27305
 
27304
27306
  get model() {
27305
- return this.#model.value;
27307
+ return this.#model?.value || "";
27306
27308
  };
27307
27309
  set model(v) {
27308
27310
  console.log(v, this.#model);
27309
- this.#model.value = v;
27311
+ //this.#model.value = v;
27312
+ this.shadowRoot.querySelector("#model").value = v;
27313
+
27314
+ //if (this.#model) {
27315
+ // this.#model.value = v;
27316
+ //}
27310
27317
  };
27311
27318
 
27312
27319
  connectedCallback() {
@@ -27295,16 +27295,23 @@ class aiSettings extends HTMLElement
27295
27295
  #model;
27296
27296
 
27297
27297
  constructor() {
27298
+ console.log("construct");
27299
+
27298
27300
  super();
27299
27301
  this.attachShadow({ mode: 'open' });
27300
27302
  }
27301
27303
 
27302
27304
  get model() {
27303
- return this.#model.value;
27305
+ return this.#model?.value || "";
27304
27306
  };
27305
27307
  set model(v) {
27306
27308
  console.log(v, this.#model);
27307
- this.#model.value = v;
27309
+ //this.#model.value = v;
27310
+ this.shadowRoot.querySelector("#model").value = v;
27311
+
27312
+ //if (this.#model) {
27313
+ // this.#model.value = v;
27314
+ //}
27308
27315
  };
27309
27316
 
27310
27317
  connectedCallback() {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ninegrid2",
3
3
  "type": "module",
4
- "version": "6.105.0",
4
+ "version": "6.106.0",
5
5
  "main": "dist/index.js",
6
6
  "exports": {
7
7
  "import": "./dist/index.js",
@@ -5,16 +5,23 @@ class aiSettings extends HTMLElement
5
5
  #model;
6
6
 
7
7
  constructor() {
8
+ console.log("construct");
9
+
8
10
  super();
9
11
  this.attachShadow({ mode: 'open' });
10
12
  }
11
13
 
12
14
  get model() {
13
- return this.#model.value;
15
+ return this.#model?.value || "";
14
16
  };
15
17
  set model(v) {
16
18
  console.log(v, this.#model);
17
- this.#model.value = v;
19
+ //this.#model.value = v;
20
+ this.shadowRoot.querySelector("#model").value = v;
21
+
22
+ //if (this.#model) {
23
+ // this.#model.value = v;
24
+ //}
18
25
  };
19
26
 
20
27
  connectedCallback() {