myio-js-library 0.1.43 → 0.1.44
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 +6 -4
- package/dist/index.d.cts +1 -0
- package/dist/index.js +6 -4
- package/dist/myio-js-library.umd.js +6 -4
- package/dist/myio-js-library.umd.min.js +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -6902,7 +6902,7 @@ function attachFilterOrderingModal(props) {
|
|
|
6902
6902
|
}
|
|
6903
6903
|
|
|
6904
6904
|
// src/components/premium-modals/report-all/AllReportModal.ts
|
|
6905
|
-
var AllReportModal = class
|
|
6905
|
+
var AllReportModal = class {
|
|
6906
6906
|
constructor(params) {
|
|
6907
6907
|
this.params = params;
|
|
6908
6908
|
this.authClient = new AuthClient({
|
|
@@ -6910,10 +6910,12 @@ var AllReportModal = class _AllReportModal {
|
|
|
6910
6910
|
clientSecret: params.api.clientSecret,
|
|
6911
6911
|
base: params.api.dataApiBaseUrl
|
|
6912
6912
|
});
|
|
6913
|
+
this.debugEnabled = !!params.debug;
|
|
6913
6914
|
this.debugLog("\u{1F680} AllReportModal initialized", {
|
|
6914
6915
|
customerId: params.customerId,
|
|
6915
6916
|
itemsListLength: params.itemsList?.length || 0,
|
|
6916
6917
|
itemsList: params.itemsList,
|
|
6918
|
+
debugEnabled: this.debugEnabled,
|
|
6917
6919
|
apiConfig: {
|
|
6918
6920
|
hasIngestionToken: !!params.api.ingestionToken,
|
|
6919
6921
|
dataApiBaseUrl: params.api.dataApiBaseUrl
|
|
@@ -6935,11 +6937,11 @@ var AllReportModal = class _AllReportModal {
|
|
|
6935
6937
|
filterModal = null;
|
|
6936
6938
|
selectedStoreIds = /* @__PURE__ */ new Set();
|
|
6937
6939
|
currentSortMode = "CONSUMPTION_DESC";
|
|
6938
|
-
// Debug logging flag -
|
|
6939
|
-
|
|
6940
|
+
// Debug logging flag - controlled by params.debug
|
|
6941
|
+
debugEnabled;
|
|
6940
6942
|
// Debug logging helper
|
|
6941
6943
|
debugLog(message, data) {
|
|
6942
|
-
if (
|
|
6944
|
+
if (this.debugEnabled) {
|
|
6943
6945
|
console.log(`[AllReportModal DEBUG] ${message}`, data || "");
|
|
6944
6946
|
}
|
|
6945
6947
|
}
|
package/dist/index.d.cts
CHANGED
package/dist/index.js
CHANGED
|
@@ -6835,7 +6835,7 @@ function attachFilterOrderingModal(props) {
|
|
|
6835
6835
|
}
|
|
6836
6836
|
|
|
6837
6837
|
// src/components/premium-modals/report-all/AllReportModal.ts
|
|
6838
|
-
var AllReportModal = class
|
|
6838
|
+
var AllReportModal = class {
|
|
6839
6839
|
constructor(params) {
|
|
6840
6840
|
this.params = params;
|
|
6841
6841
|
this.authClient = new AuthClient({
|
|
@@ -6843,10 +6843,12 @@ var AllReportModal = class _AllReportModal {
|
|
|
6843
6843
|
clientSecret: params.api.clientSecret,
|
|
6844
6844
|
base: params.api.dataApiBaseUrl
|
|
6845
6845
|
});
|
|
6846
|
+
this.debugEnabled = !!params.debug;
|
|
6846
6847
|
this.debugLog("\u{1F680} AllReportModal initialized", {
|
|
6847
6848
|
customerId: params.customerId,
|
|
6848
6849
|
itemsListLength: params.itemsList?.length || 0,
|
|
6849
6850
|
itemsList: params.itemsList,
|
|
6851
|
+
debugEnabled: this.debugEnabled,
|
|
6850
6852
|
apiConfig: {
|
|
6851
6853
|
hasIngestionToken: !!params.api.ingestionToken,
|
|
6852
6854
|
dataApiBaseUrl: params.api.dataApiBaseUrl
|
|
@@ -6868,11 +6870,11 @@ var AllReportModal = class _AllReportModal {
|
|
|
6868
6870
|
filterModal = null;
|
|
6869
6871
|
selectedStoreIds = /* @__PURE__ */ new Set();
|
|
6870
6872
|
currentSortMode = "CONSUMPTION_DESC";
|
|
6871
|
-
// Debug logging flag -
|
|
6872
|
-
|
|
6873
|
+
// Debug logging flag - controlled by params.debug
|
|
6874
|
+
debugEnabled;
|
|
6873
6875
|
// Debug logging helper
|
|
6874
6876
|
debugLog(message, data) {
|
|
6875
|
-
if (
|
|
6877
|
+
if (this.debugEnabled) {
|
|
6876
6878
|
console.log(`[AllReportModal DEBUG] ${message}`, data || "");
|
|
6877
6879
|
}
|
|
6878
6880
|
}
|
|
@@ -6824,7 +6824,7 @@
|
|
|
6824
6824
|
}
|
|
6825
6825
|
|
|
6826
6826
|
// src/components/premium-modals/report-all/AllReportModal.ts
|
|
6827
|
-
var AllReportModal = class
|
|
6827
|
+
var AllReportModal = class {
|
|
6828
6828
|
constructor(params) {
|
|
6829
6829
|
this.params = params;
|
|
6830
6830
|
this.authClient = new AuthClient({
|
|
@@ -6832,10 +6832,12 @@
|
|
|
6832
6832
|
clientSecret: params.api.clientSecret,
|
|
6833
6833
|
base: params.api.dataApiBaseUrl
|
|
6834
6834
|
});
|
|
6835
|
+
this.debugEnabled = !!params.debug;
|
|
6835
6836
|
this.debugLog("\u{1F680} AllReportModal initialized", {
|
|
6836
6837
|
customerId: params.customerId,
|
|
6837
6838
|
itemsListLength: params.itemsList?.length || 0,
|
|
6838
6839
|
itemsList: params.itemsList,
|
|
6840
|
+
debugEnabled: this.debugEnabled,
|
|
6839
6841
|
apiConfig: {
|
|
6840
6842
|
hasIngestionToken: !!params.api.ingestionToken,
|
|
6841
6843
|
dataApiBaseUrl: params.api.dataApiBaseUrl
|
|
@@ -6857,11 +6859,11 @@
|
|
|
6857
6859
|
filterModal = null;
|
|
6858
6860
|
selectedStoreIds = /* @__PURE__ */ new Set();
|
|
6859
6861
|
currentSortMode = "CONSUMPTION_DESC";
|
|
6860
|
-
// Debug logging flag -
|
|
6861
|
-
|
|
6862
|
+
// Debug logging flag - controlled by params.debug
|
|
6863
|
+
debugEnabled;
|
|
6862
6864
|
// Debug logging helper
|
|
6863
6865
|
debugLog(message, data) {
|
|
6864
|
-
{
|
|
6866
|
+
if (this.debugEnabled) {
|
|
6865
6867
|
console.log(`[AllReportModal DEBUG] ${message}`, data || "");
|
|
6866
6868
|
}
|
|
6867
6869
|
}
|