myio-js-library 0.1.331 → 0.1.332
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/dist/index.cjs +14 -9
- package/dist/index.js +14 -9
- package/dist/myio-js-library.umd.js +14 -9
- package/dist/myio-js-library.umd.min.js +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -828,7 +828,7 @@ module.exports = __toCommonJS(index_exports);
|
|
|
828
828
|
// package.json
|
|
829
829
|
var package_default = {
|
|
830
830
|
name: "myio-js-library",
|
|
831
|
-
version: "0.1.
|
|
831
|
+
version: "0.1.332",
|
|
832
832
|
description: "A clean, standalone JS SDK for MYIO projects",
|
|
833
833
|
license: "MIT",
|
|
834
834
|
repository: "github:gh-myio/myio-js-library",
|
|
@@ -65324,14 +65324,19 @@ var TelemetryGridView = class {
|
|
|
65324
65324
|
this.openFilterModal();
|
|
65325
65325
|
}
|
|
65326
65326
|
});
|
|
65327
|
-
|
|
65328
|
-
|
|
65329
|
-
this.
|
|
65330
|
-
|
|
65331
|
-
this.
|
|
65332
|
-
|
|
65333
|
-
|
|
65334
|
-
|
|
65327
|
+
setTimeout(() => {
|
|
65328
|
+
this.searchInput = this.headerController?.getSearchInput() || null;
|
|
65329
|
+
this.log("Search input element:", this.searchInput ? "found" : "not found");
|
|
65330
|
+
if (this.searchInput) {
|
|
65331
|
+
this.searchInput.addEventListener("input", (e) => {
|
|
65332
|
+
const target = e.target;
|
|
65333
|
+
this.log("Search input changed:", target.value);
|
|
65334
|
+
this.controller.setSearchTerm(target.value || "");
|
|
65335
|
+
this.emit("search-change", target.value);
|
|
65336
|
+
});
|
|
65337
|
+
this.log("Search input listener attached");
|
|
65338
|
+
}
|
|
65339
|
+
}, 50);
|
|
65335
65340
|
if (this.headerController) {
|
|
65336
65341
|
this.headerController.updateFromDevices(
|
|
65337
65342
|
this.controller.getFilteredDevices(),
|
package/dist/index.js
CHANGED
|
@@ -546,7 +546,7 @@ var init_template_card = __esm({
|
|
|
546
546
|
// package.json
|
|
547
547
|
var package_default = {
|
|
548
548
|
name: "myio-js-library",
|
|
549
|
-
version: "0.1.
|
|
549
|
+
version: "0.1.332",
|
|
550
550
|
description: "A clean, standalone JS SDK for MYIO projects",
|
|
551
551
|
license: "MIT",
|
|
552
552
|
repository: "github:gh-myio/myio-js-library",
|
|
@@ -65042,14 +65042,19 @@ var TelemetryGridView = class {
|
|
|
65042
65042
|
this.openFilterModal();
|
|
65043
65043
|
}
|
|
65044
65044
|
});
|
|
65045
|
-
|
|
65046
|
-
|
|
65047
|
-
this.
|
|
65048
|
-
|
|
65049
|
-
this.
|
|
65050
|
-
|
|
65051
|
-
|
|
65052
|
-
|
|
65045
|
+
setTimeout(() => {
|
|
65046
|
+
this.searchInput = this.headerController?.getSearchInput() || null;
|
|
65047
|
+
this.log("Search input element:", this.searchInput ? "found" : "not found");
|
|
65048
|
+
if (this.searchInput) {
|
|
65049
|
+
this.searchInput.addEventListener("input", (e) => {
|
|
65050
|
+
const target = e.target;
|
|
65051
|
+
this.log("Search input changed:", target.value);
|
|
65052
|
+
this.controller.setSearchTerm(target.value || "");
|
|
65053
|
+
this.emit("search-change", target.value);
|
|
65054
|
+
});
|
|
65055
|
+
this.log("Search input listener attached");
|
|
65056
|
+
}
|
|
65057
|
+
}, 50);
|
|
65053
65058
|
if (this.headerController) {
|
|
65054
65059
|
this.headerController.updateFromDevices(
|
|
65055
65060
|
this.controller.getFilteredDevices(),
|
|
@@ -551,7 +551,7 @@
|
|
|
551
551
|
|
|
552
552
|
// package.json
|
|
553
553
|
var package_default = {
|
|
554
|
-
version: "0.1.
|
|
554
|
+
version: "0.1.332"};
|
|
555
555
|
|
|
556
556
|
// src/format/energy.ts
|
|
557
557
|
function formatEnergy(value, unit, decimals = 3) {
|
|
@@ -64789,14 +64789,19 @@ ${errors.slice(0, 5).join("\n")}` + (errors.length > 5 ? `
|
|
|
64789
64789
|
this.openFilterModal();
|
|
64790
64790
|
}
|
|
64791
64791
|
});
|
|
64792
|
-
|
|
64793
|
-
|
|
64794
|
-
this.
|
|
64795
|
-
|
|
64796
|
-
this.
|
|
64797
|
-
|
|
64798
|
-
|
|
64799
|
-
|
|
64792
|
+
setTimeout(() => {
|
|
64793
|
+
this.searchInput = this.headerController?.getSearchInput() || null;
|
|
64794
|
+
this.log("Search input element:", this.searchInput ? "found" : "not found");
|
|
64795
|
+
if (this.searchInput) {
|
|
64796
|
+
this.searchInput.addEventListener("input", (e) => {
|
|
64797
|
+
const target = e.target;
|
|
64798
|
+
this.log("Search input changed:", target.value);
|
|
64799
|
+
this.controller.setSearchTerm(target.value || "");
|
|
64800
|
+
this.emit("search-change", target.value);
|
|
64801
|
+
});
|
|
64802
|
+
this.log("Search input listener attached");
|
|
64803
|
+
}
|
|
64804
|
+
}, 50);
|
|
64800
64805
|
if (this.headerController) {
|
|
64801
64806
|
this.headerController.updateFromDevices(
|
|
64802
64807
|
this.controller.getFilteredDevices(),
|