autoql-fe-utils 1.11.2 → 1.11.4
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.mts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.global.js +16 -12
- package/dist/index.global.js.map +1 -1
- package/dist/index.js +16 -12
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +16 -12
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -234,9 +234,9 @@ declare const AGG_TYPES: {
|
|
|
234
234
|
AVG: AggType;
|
|
235
235
|
MIN: AggType;
|
|
236
236
|
MAX: AggType;
|
|
237
|
+
MEDIAN: AggType;
|
|
237
238
|
COUNT: AggType;
|
|
238
239
|
COUNT_DISTINCT: AggType;
|
|
239
|
-
MEDIAN: AggType;
|
|
240
240
|
STD_DEV: AggType;
|
|
241
241
|
VARIANCE: AggType;
|
|
242
242
|
};
|
|
@@ -620,6 +620,7 @@ interface FilterLock {
|
|
|
620
620
|
}
|
|
621
621
|
interface FrontendReq {
|
|
622
622
|
additional_selects?: any[];
|
|
623
|
+
display_overrides?: DisplayOverride[];
|
|
623
624
|
session_locked_conditions: Object;
|
|
624
625
|
page_size: number;
|
|
625
626
|
disambiguation: any[];
|
package/dist/index.d.ts
CHANGED
|
@@ -234,9 +234,9 @@ declare const AGG_TYPES: {
|
|
|
234
234
|
AVG: AggType;
|
|
235
235
|
MIN: AggType;
|
|
236
236
|
MAX: AggType;
|
|
237
|
+
MEDIAN: AggType;
|
|
237
238
|
COUNT: AggType;
|
|
238
239
|
COUNT_DISTINCT: AggType;
|
|
239
|
-
MEDIAN: AggType;
|
|
240
240
|
STD_DEV: AggType;
|
|
241
241
|
VARIANCE: AggType;
|
|
242
242
|
};
|
|
@@ -620,6 +620,7 @@ interface FilterLock {
|
|
|
620
620
|
}
|
|
621
621
|
interface FrontendReq {
|
|
622
622
|
additional_selects?: any[];
|
|
623
|
+
display_overrides?: DisplayOverride[];
|
|
623
624
|
session_locked_conditions: Object;
|
|
624
625
|
page_size: number;
|
|
625
626
|
disambiguation: any[];
|
package/dist/index.global.js
CHANGED
|
@@ -14653,6 +14653,14 @@
|
|
|
14653
14653
|
fn: max,
|
|
14654
14654
|
sqlFn: (columnName) => `max(${columnName})`
|
|
14655
14655
|
}),
|
|
14656
|
+
MEDIAN: new AggType({
|
|
14657
|
+
type: "MEDIAN" /* MEDIAN */,
|
|
14658
|
+
displayName: "Median",
|
|
14659
|
+
tooltip: "<strong>Median:</strong> The median (middle) value will be shown for all data points with same label.",
|
|
14660
|
+
// symbol: 'Median',
|
|
14661
|
+
icon: "median",
|
|
14662
|
+
fn: median
|
|
14663
|
+
}),
|
|
14656
14664
|
COUNT: new AggType({
|
|
14657
14665
|
type: "COUNT" /* COUNT */,
|
|
14658
14666
|
displayName: "Count",
|
|
@@ -14679,14 +14687,6 @@
|
|
|
14679
14687
|
},
|
|
14680
14688
|
sqlFn: (columnName) => `count(distinct ${columnName})`
|
|
14681
14689
|
}),
|
|
14682
|
-
MEDIAN: new AggType({
|
|
14683
|
-
type: "MEDIAN" /* MEDIAN */,
|
|
14684
|
-
displayName: "Median",
|
|
14685
|
-
tooltip: "The median (middle) value will be shown for all data points with same label.",
|
|
14686
|
-
// symbol: 'Median',
|
|
14687
|
-
icon: "median",
|
|
14688
|
-
fn: median
|
|
14689
|
-
}),
|
|
14690
14690
|
STD_DEV: new AggType({
|
|
14691
14691
|
type: "STD_DEV" /* STD_DEV */,
|
|
14692
14692
|
displayName: "Std Dev",
|
|
@@ -15318,8 +15318,12 @@
|
|
|
15318
15318
|
return date2.replace(/\'/g, "");
|
|
15319
15319
|
};
|
|
15320
15320
|
var isISODate = (str) => {
|
|
15321
|
+
if (!str) {
|
|
15322
|
+
return false;
|
|
15323
|
+
}
|
|
15321
15324
|
var dateString = str;
|
|
15322
15325
|
dateString = getDateNoQuotes(dateString);
|
|
15326
|
+
dateString = dateString.trim();
|
|
15323
15327
|
if (/^\d{4}-\d{2}-\d{2}$/.test(dateString)) {
|
|
15324
15328
|
return false;
|
|
15325
15329
|
}
|
|
@@ -19069,16 +19073,16 @@
|
|
|
19069
19073
|
var DARK_THEME = {
|
|
19070
19074
|
"accent-color": "#193a48",
|
|
19071
19075
|
"accent-color-secondary": "#1ea0d8",
|
|
19072
|
-
"background-color-primary": "#
|
|
19073
|
-
"background-color-secondary": "#
|
|
19076
|
+
"background-color-primary": "#15191c",
|
|
19077
|
+
"background-color-secondary": "#1d222b",
|
|
19074
19078
|
"background-color-tertiary": "#292929",
|
|
19075
19079
|
"background-color-switch-input": "#252525",
|
|
19076
19080
|
"background-color-switch-thumb": "#ececec",
|
|
19077
19081
|
"background-color-checkbox": "#292929",
|
|
19078
19082
|
"background-color-disabled": "#5d6167",
|
|
19079
19083
|
"background-color-disabled-dark": "#857d83",
|
|
19080
|
-
"table-border-color": "#
|
|
19081
|
-
"border-color": "#
|
|
19084
|
+
"table-border-color": "#2c2e32",
|
|
19085
|
+
"border-color": "#43464b",
|
|
19082
19086
|
"hover-color": "#4a4f56",
|
|
19083
19087
|
"text-color-primary": "#ececec",
|
|
19084
19088
|
"text-color-secondary": "#bababa",
|