autoql-fe-utils 1.6.18 → 1.6.20
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.d.ts +5 -5
- package/dist/index.global.js +5 -2
- package/dist/index.global.js.map +1 -1
- package/dist/index.js +5 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -579,7 +579,7 @@ interface FrontendReq {
|
|
|
579
579
|
additional_selects?: any[];
|
|
580
580
|
session_locked_conditions: Object;
|
|
581
581
|
page_size: number;
|
|
582
|
-
debug:
|
|
582
|
+
debug: boolean;
|
|
583
583
|
disambiguation: any[];
|
|
584
584
|
chart_images: string;
|
|
585
585
|
orders: any[];
|
|
@@ -758,7 +758,7 @@ declare const dataFormattingDefault: {
|
|
|
758
758
|
dayMonthYearFormat: string;
|
|
759
759
|
};
|
|
760
760
|
declare const autoQLConfigDefault: {
|
|
761
|
-
debug:
|
|
761
|
+
debug: boolean;
|
|
762
762
|
test: boolean;
|
|
763
763
|
enableAutocomplete: boolean;
|
|
764
764
|
enableQueryInterpretation: boolean;
|
|
@@ -788,7 +788,7 @@ declare const getAuthentication: (prop?: {}) => {
|
|
|
788
788
|
};
|
|
789
789
|
declare const getDataFormatting: (prop?: {}) => DataFormatting;
|
|
790
790
|
declare const getAutoQLConfig: (prop?: {}) => {
|
|
791
|
-
debug:
|
|
791
|
+
debug: boolean;
|
|
792
792
|
test: boolean;
|
|
793
793
|
enableAutocomplete: boolean;
|
|
794
794
|
enableQueryInterpretation: boolean;
|
|
@@ -1253,7 +1253,7 @@ interface QueryParams {
|
|
|
1253
1253
|
query?: string;
|
|
1254
1254
|
userSelection?: Object[];
|
|
1255
1255
|
userSelectionFinal?: Object[];
|
|
1256
|
-
debug?:
|
|
1256
|
+
debug?: boolean;
|
|
1257
1257
|
test?: boolean;
|
|
1258
1258
|
domain?: string;
|
|
1259
1259
|
apiKey?: string;
|
|
@@ -1295,7 +1295,7 @@ declare const exportCSV: ({ queryId, domain, apiKey, token, csvProgressCallback,
|
|
|
1295
1295
|
declare const runDrilldown: ({ queryID, groupBys, debug, test, domain, apiKey, token, orders, source, tableFilters, cancelToken, pageSize, newColumns, }?: {
|
|
1296
1296
|
queryID?: string;
|
|
1297
1297
|
groupBys?: Object[];
|
|
1298
|
-
debug?:
|
|
1298
|
+
debug?: boolean;
|
|
1299
1299
|
test?: boolean;
|
|
1300
1300
|
domain?: string;
|
|
1301
1301
|
apiKey?: string;
|
package/dist/index.global.js
CHANGED
|
@@ -15475,7 +15475,7 @@
|
|
|
15475
15475
|
dayMonthYearFormat: "ll"
|
|
15476
15476
|
};
|
|
15477
15477
|
var autoQLConfigDefault = {
|
|
15478
|
-
debug:
|
|
15478
|
+
debug: false,
|
|
15479
15479
|
test: false,
|
|
15480
15480
|
enableAutocomplete: true,
|
|
15481
15481
|
enableQueryInterpretation: true,
|
|
@@ -15977,6 +15977,9 @@
|
|
|
15977
15977
|
console.debug("Date pivot not supported - there is only 1 year of data, so there would only be 1 column.");
|
|
15978
15978
|
}
|
|
15979
15979
|
}
|
|
15980
|
+
if (amountOfNumberColumns > 1 && numRows > 0 && !supportedDisplayTypes.includes("stacked_column") && !supportedDisplayTypes.includes("stacked_bar")) {
|
|
15981
|
+
supportedDisplayTypes.push("stacked_column", "stacked_bar");
|
|
15982
|
+
}
|
|
15980
15983
|
}
|
|
15981
15984
|
return supportedDisplayTypes;
|
|
15982
15985
|
} catch (error) {
|
|
@@ -28864,7 +28867,7 @@
|
|
|
28864
28867
|
...autoQLConfig,
|
|
28865
28868
|
source: queryRequestData.source,
|
|
28866
28869
|
scope: queryRequestData.scope,
|
|
28867
|
-
debug: queryRequestData == null ? void 0 : queryRequestData.translation,
|
|
28870
|
+
debug: (queryRequestData == null ? void 0 : queryRequestData.translation) === "include",
|
|
28868
28871
|
filters: queryRequestData == null ? void 0 : queryRequestData.session_filter_locks,
|
|
28869
28872
|
pageSize: queryRequestData == null ? void 0 : queryRequestData.page_size,
|
|
28870
28873
|
groupBys: queryRequestData == null ? void 0 : queryRequestData.columns,
|