ninegrid2 6.573.0 → 6.574.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.
@@ -248,8 +248,8 @@ class aiContainer extends HTMLElement
248
248
  const columnInfo = this.#getColumnInfo();
249
249
  const uniqueKey = this.#getUniqueKey();
250
250
 
251
- const isAnalyze = this.settings.shadowRoot.querySelector("chkAnalyze").checked;
252
- const analyzeCnt = this.settings.shadowRoot.querySelector("txtAnalyze").value;
251
+ const isAnalyze = this.settings.shadowRoot.querySelector("#chkAnalyze")?.checked || false;
252
+ const analyzeCnt = Number(this.settings.shadowRoot.querySelector("#txtAnalyze")?.value || 0);
253
253
 
254
254
  console.log(isAnalyze, analyzeCnt);
255
255
 
@@ -54411,8 +54411,8 @@ class aiContainer extends HTMLElement
54411
54411
  const columnInfo = this.#getColumnInfo();
54412
54412
  const uniqueKey = this.#getUniqueKey();
54413
54413
 
54414
- const isAnalyze = this.settings.shadowRoot.querySelector("chkAnalyze").checked;
54415
- const analyzeCnt = this.settings.shadowRoot.querySelector("txtAnalyze").value;
54414
+ const isAnalyze = this.settings.shadowRoot.querySelector("#chkAnalyze")?.checked || false;
54415
+ const analyzeCnt = Number(this.settings.shadowRoot.querySelector("#txtAnalyze")?.value || 0);
54416
54416
 
54417
54417
  console.log(isAnalyze, analyzeCnt);
54418
54418
 
@@ -54409,8 +54409,8 @@ class aiContainer extends HTMLElement
54409
54409
  const columnInfo = this.#getColumnInfo();
54410
54410
  const uniqueKey = this.#getUniqueKey();
54411
54411
 
54412
- const isAnalyze = this.settings.shadowRoot.querySelector("chkAnalyze").checked;
54413
- const analyzeCnt = this.settings.shadowRoot.querySelector("txtAnalyze").value;
54412
+ const isAnalyze = this.settings.shadowRoot.querySelector("#chkAnalyze")?.checked || false;
54413
+ const analyzeCnt = Number(this.settings.shadowRoot.querySelector("#txtAnalyze")?.value || 0);
54414
54414
 
54415
54415
  console.log(isAnalyze, analyzeCnt);
54416
54416
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ninegrid2",
3
3
  "type": "module",
4
- "version": "6.573.0",
4
+ "version": "6.574.0",
5
5
  "main": "dist/index.js",
6
6
  "exports": {
7
7
  "import": "./dist/index.js",
@@ -248,8 +248,8 @@ class aiContainer extends HTMLElement
248
248
  const columnInfo = this.#getColumnInfo();
249
249
  const uniqueKey = this.#getUniqueKey();
250
250
 
251
- const isAnalyze = this.settings.shadowRoot.querySelector("chkAnalyze").checked;
252
- const analyzeCnt = this.settings.shadowRoot.querySelector("txtAnalyze").value;
251
+ const isAnalyze = this.settings.shadowRoot.querySelector("#chkAnalyze")?.checked || false;
252
+ const analyzeCnt = Number(this.settings.shadowRoot.querySelector("#txtAnalyze")?.value || 0);
253
253
 
254
254
  console.log(isAnalyze, analyzeCnt);
255
255