@quillsql/admin 1.7.4 → 1.7.6
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 +161 -111
- package/dist/index.js +161 -111
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -5978,7 +5978,6 @@ function EditTenant({
|
|
|
5978
5978
|
)
|
|
5979
5979
|
] });
|
|
5980
5980
|
}
|
|
5981
|
-
console.log("STATE: ", state);
|
|
5982
5981
|
return /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(import_jsx_runtime26.Fragment, { children: [
|
|
5983
5982
|
/* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(
|
|
5984
5983
|
"div",
|
|
@@ -12564,6 +12563,11 @@ var primaryRangeCustomIntervals = [
|
|
|
12564
12563
|
value: 6,
|
|
12565
12564
|
unit: "months"
|
|
12566
12565
|
},
|
|
12566
|
+
{
|
|
12567
|
+
type: "relative",
|
|
12568
|
+
value: 12,
|
|
12569
|
+
unit: "months"
|
|
12570
|
+
},
|
|
12567
12571
|
{
|
|
12568
12572
|
type: "relative",
|
|
12569
12573
|
value: 1,
|
|
@@ -12788,6 +12792,12 @@ var convertPresetOptionsToSelectableList = (customIntervals, defaultIntervals) =
|
|
|
12788
12792
|
value: 6,
|
|
12789
12793
|
unit: "months"
|
|
12790
12794
|
};
|
|
12795
|
+
} else if (interval.label === "Last 12 months") {
|
|
12796
|
+
return {
|
|
12797
|
+
type: "relative",
|
|
12798
|
+
value: 12,
|
|
12799
|
+
unit: "months"
|
|
12800
|
+
};
|
|
12791
12801
|
} else {
|
|
12792
12802
|
throw new Error("Invalid interval");
|
|
12793
12803
|
}
|
|
@@ -12922,6 +12932,9 @@ var PRIMARY_RANGE = {
|
|
|
12922
12932
|
LAST_6_MONTHS: convertCustomIntervalToDateRange(
|
|
12923
12933
|
primaryRangeCustomIntervals[6]
|
|
12924
12934
|
),
|
|
12935
|
+
LAST_12_MONTHS: convertCustomIntervalToDateRange(
|
|
12936
|
+
primaryRangeCustomIntervals[7]
|
|
12937
|
+
),
|
|
12925
12938
|
ALL_TIME: { startDate: void 0, endDate: void 0 }
|
|
12926
12939
|
};
|
|
12927
12940
|
var defaultOptionsV2 = [
|
|
@@ -12967,6 +12980,12 @@ var defaultOptionsV2 = [
|
|
|
12967
12980
|
startDate: PRIMARY_RANGE["LAST_6_MONTHS"]?.startDate,
|
|
12968
12981
|
endDate: PRIMARY_RANGE["LAST_6_MONTHS"]?.endDate
|
|
12969
12982
|
},
|
|
12983
|
+
{
|
|
12984
|
+
value: "LAST_12_MONTHS",
|
|
12985
|
+
label: "Last 12 months",
|
|
12986
|
+
startDate: PRIMARY_RANGE["LAST_12_MONTHS"]?.startDate,
|
|
12987
|
+
endDate: PRIMARY_RANGE["LAST_12_MONTHS"]?.endDate
|
|
12988
|
+
},
|
|
12970
12989
|
{
|
|
12971
12990
|
value: "ALL_TIME",
|
|
12972
12991
|
label: "All time",
|
|
@@ -13728,7 +13747,8 @@ function NewDashboardModal({
|
|
|
13728
13747
|
{ label: "Last 7 days" },
|
|
13729
13748
|
{ label: "Last 30 days" },
|
|
13730
13749
|
{ label: "Last 90 days" },
|
|
13731
|
-
{ label: "Last 6 months" }
|
|
13750
|
+
{ label: "Last 6 months" },
|
|
13751
|
+
{ label: "Last 12 months" }
|
|
13732
13752
|
]
|
|
13733
13753
|
}),
|
|
13734
13754
|
label: "Add date filter +"
|
|
@@ -16405,7 +16425,8 @@ function EditFiltersModal({
|
|
|
16405
16425
|
{ label: "Last 7 days" },
|
|
16406
16426
|
{ label: "Last 30 days" },
|
|
16407
16427
|
{ label: "Last 90 days" },
|
|
16408
|
-
{ label: "Last 6 months" }
|
|
16428
|
+
{ label: "Last 6 months" },
|
|
16429
|
+
{ label: "Last 12 months" }
|
|
16409
16430
|
]
|
|
16410
16431
|
});
|
|
16411
16432
|
};
|
|
@@ -21696,85 +21717,87 @@ function EmptyDashboardComponent() {
|
|
|
21696
21717
|
boxShadow: "0px 1px 12px rgba(0, 0, 0, 0.07)"
|
|
21697
21718
|
},
|
|
21698
21719
|
children: [
|
|
21699
|
-
/* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(
|
|
21700
|
-
|
|
21701
|
-
|
|
21702
|
-
|
|
21703
|
-
|
|
21704
|
-
|
|
21705
|
-
|
|
21706
|
-
|
|
21707
|
-
|
|
21708
|
-
|
|
21709
|
-
|
|
21710
|
-
|
|
21711
|
-
|
|
21712
|
-
|
|
21713
|
-
|
|
21714
|
-
|
|
21715
|
-
|
|
21716
|
-
|
|
21717
|
-
|
|
21718
|
-
|
|
21719
|
-
|
|
21720
|
-
|
|
21721
|
-
|
|
21722
|
-
|
|
21723
|
-
|
|
21724
|
-
|
|
21725
|
-
|
|
21726
|
-
|
|
21727
|
-
|
|
21728
|
-
|
|
21729
|
-
|
|
21730
|
-
|
|
21731
|
-
|
|
21732
|
-
|
|
21733
|
-
|
|
21734
|
-
|
|
21735
|
-
|
|
21736
|
-
|
|
21737
|
-
|
|
21738
|
-
|
|
21739
|
-
|
|
21740
|
-
|
|
21741
|
-
|
|
21742
|
-
|
|
21743
|
-
|
|
21744
|
-
|
|
21745
|
-
|
|
21746
|
-
|
|
21747
|
-
|
|
21748
|
-
|
|
21749
|
-
|
|
21750
|
-
|
|
21751
|
-
|
|
21752
|
-
|
|
21753
|
-
|
|
21754
|
-
|
|
21755
|
-
|
|
21756
|
-
|
|
21757
|
-
|
|
21758
|
-
|
|
21759
|
-
|
|
21720
|
+
/* @__PURE__ */ (0, import_jsx_runtime57.jsxs)("div", { style: { display: "flex", flexDirection: "column", gap: 8 }, children: [
|
|
21721
|
+
/* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(
|
|
21722
|
+
"div",
|
|
21723
|
+
{
|
|
21724
|
+
style: {
|
|
21725
|
+
display: "flex",
|
|
21726
|
+
flexDirection: "row",
|
|
21727
|
+
alignItems: "center",
|
|
21728
|
+
justifyContent: "center",
|
|
21729
|
+
width: 260
|
|
21730
|
+
},
|
|
21731
|
+
children: [
|
|
21732
|
+
/* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(
|
|
21733
|
+
"svg",
|
|
21734
|
+
{
|
|
21735
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
21736
|
+
viewBox: "0 0 24 24",
|
|
21737
|
+
fill: "#565656",
|
|
21738
|
+
height: 26,
|
|
21739
|
+
width: 26,
|
|
21740
|
+
children: [
|
|
21741
|
+
/* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
|
|
21742
|
+
"path",
|
|
21743
|
+
{
|
|
21744
|
+
fillRule: "evenodd",
|
|
21745
|
+
d: "M2.25 13.5a8.25 8.25 0 0 1 8.25-8.25.75.75 0 0 1 .75.75v6.75H18a.75.75 0 0 1 .75.75 8.25 8.25 0 0 1-16.5 0Z",
|
|
21746
|
+
clipRule: "evenodd"
|
|
21747
|
+
}
|
|
21748
|
+
),
|
|
21749
|
+
/* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
|
|
21750
|
+
"path",
|
|
21751
|
+
{
|
|
21752
|
+
fillRule: "evenodd",
|
|
21753
|
+
d: "M12.75 3a.75.75 0 0 1 .75-.75 8.25 8.25 0 0 1 8.25 8.25.75.75 0 0 1-.75.75h-7.5a.75.75 0 0 1-.75-.75V3Z",
|
|
21754
|
+
clipRule: "evenodd"
|
|
21755
|
+
}
|
|
21756
|
+
)
|
|
21757
|
+
]
|
|
21758
|
+
}
|
|
21759
|
+
),
|
|
21760
|
+
/* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
|
|
21761
|
+
"div",
|
|
21762
|
+
{
|
|
21763
|
+
style: {
|
|
21764
|
+
fontSize: state.theme.fontSize,
|
|
21765
|
+
fontFamily: state.theme.fontFamily,
|
|
21766
|
+
fontWeight: 500,
|
|
21767
|
+
color: "#565656",
|
|
21768
|
+
// border: '1px solid #e7e7e7',
|
|
21769
|
+
paddingTop: 8,
|
|
21770
|
+
paddingBottom: 8,
|
|
21771
|
+
paddingRight: 12,
|
|
21772
|
+
paddingLeft: 12,
|
|
21773
|
+
borderRadius: 4,
|
|
21774
|
+
cursor: "pointer"
|
|
21775
|
+
},
|
|
21776
|
+
className: "quill-hover-button",
|
|
21777
|
+
children: "No reports created yet."
|
|
21778
|
+
}
|
|
21779
|
+
)
|
|
21780
|
+
]
|
|
21781
|
+
}
|
|
21782
|
+
),
|
|
21783
|
+
state.AskAIButton ? /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
|
|
21784
|
+
"div",
|
|
21785
|
+
{
|
|
21786
|
+
style: {
|
|
21787
|
+
display: "flex",
|
|
21788
|
+
justifyContent: "flex-start",
|
|
21789
|
+
width: 144
|
|
21790
|
+
},
|
|
21791
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
|
|
21792
|
+
state.AskAIButton,
|
|
21760
21793
|
{
|
|
21761
|
-
|
|
21762
|
-
|
|
21763
|
-
justifyContent: "flex-start",
|
|
21764
|
-
width: 144
|
|
21765
|
-
},
|
|
21766
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
|
|
21767
|
-
state.AskAIButton,
|
|
21768
|
-
{
|
|
21769
|
-
label: "What is a report?",
|
|
21770
|
-
prompt: "what is a report?"
|
|
21771
|
-
}
|
|
21772
|
-
)
|
|
21794
|
+
label: "What is a report?",
|
|
21795
|
+
prompt: "what is a report?"
|
|
21773
21796
|
}
|
|
21774
|
-
)
|
|
21775
|
-
|
|
21776
|
-
|
|
21777
|
-
),
|
|
21797
|
+
)
|
|
21798
|
+
}
|
|
21799
|
+
) : null
|
|
21800
|
+
] }),
|
|
21778
21801
|
/* @__PURE__ */ (0, import_jsx_runtime57.jsx)("div", { style: { paddingBottom: 8 }, children: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
|
|
21779
21802
|
MemoizedButton,
|
|
21780
21803
|
{
|
|
@@ -22493,6 +22516,10 @@ var PRIMARY_RANGE3 = {
|
|
|
22493
22516
|
startDate: sub(startOfToday(), { months: 6 }),
|
|
22494
22517
|
endDate: endOfToday()
|
|
22495
22518
|
},
|
|
22519
|
+
LAST_12_MONTHS: {
|
|
22520
|
+
startDate: sub(startOfToday(), { months: 12 }),
|
|
22521
|
+
endDate: endOfToday()
|
|
22522
|
+
},
|
|
22496
22523
|
ALL_TIME: { startDate: void 0, endDate: void 0 }
|
|
22497
22524
|
};
|
|
22498
22525
|
var COMPARISON_OPTIONS = [
|
|
@@ -22579,6 +22606,12 @@ var defaultOptionsV22 = [
|
|
|
22579
22606
|
startDate: PRIMARY_RANGE3["LAST_6_MONTHS"]?.startDate,
|
|
22580
22607
|
endDate: PRIMARY_RANGE3["LAST_6_MONTHS"]?.endDate
|
|
22581
22608
|
},
|
|
22609
|
+
{
|
|
22610
|
+
value: "LAST_12_MONTHS",
|
|
22611
|
+
label: "Last 12 months",
|
|
22612
|
+
startDate: PRIMARY_RANGE3["LAST_12_MONTHS"]?.startDate,
|
|
22613
|
+
endDate: PRIMARY_RANGE3["LAST_12_MONTHS"]?.endDate
|
|
22614
|
+
},
|
|
22582
22615
|
{
|
|
22583
22616
|
value: "ALL_TIME",
|
|
22584
22617
|
label: "All time",
|
|
@@ -22622,6 +22655,11 @@ var defaultOptions2 = [
|
|
|
22622
22655
|
text: "Last 6 months",
|
|
22623
22656
|
startDate: PRIMARY_RANGE3["LAST_6_MONTHS"]?.startDate
|
|
22624
22657
|
},
|
|
22658
|
+
{
|
|
22659
|
+
value: "12m",
|
|
22660
|
+
text: "Last 12 months",
|
|
22661
|
+
startDate: PRIMARY_RANGE3["LAST_12_MONTHS"]?.startDate
|
|
22662
|
+
},
|
|
22625
22663
|
{
|
|
22626
22664
|
value: "at",
|
|
22627
22665
|
text: "All time",
|
|
@@ -26171,43 +26209,55 @@ Affected item${plural ? "s" : ""} ${value.affected.join(", ")}`
|
|
|
26171
26209
|
]
|
|
26172
26210
|
}
|
|
26173
26211
|
),
|
|
26174
|
-
/* @__PURE__ */ (0, import_jsx_runtime64.
|
|
26175
|
-
"div",
|
|
26176
|
-
{
|
|
26177
|
-
style: {
|
|
26178
|
-
fontSize: state.theme?.fontSize,
|
|
26179
|
-
fontWeight: 500,
|
|
26180
|
-
fontFamily: state.theme?.fontFamily,
|
|
26181
|
-
fontSizeAdjust: 0.5,
|
|
26182
|
-
color: "#565656",
|
|
26183
|
-
paddingTop: 8,
|
|
26184
|
-
paddingBottom: 8,
|
|
26185
|
-
paddingRight: 12,
|
|
26186
|
-
paddingLeft: 12,
|
|
26187
|
-
borderRadius: 4,
|
|
26188
|
-
cursor: "pointer"
|
|
26189
|
-
},
|
|
26190
|
-
className: "quill-hover-button",
|
|
26191
|
-
children: "No dashboards created yet."
|
|
26192
|
-
}
|
|
26193
|
-
),
|
|
26194
|
-
state.AskAIButton ? /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
|
|
26212
|
+
/* @__PURE__ */ (0, import_jsx_runtime64.jsxs)(
|
|
26195
26213
|
"div",
|
|
26196
26214
|
{
|
|
26197
26215
|
style: {
|
|
26198
26216
|
display: "flex",
|
|
26199
|
-
|
|
26200
|
-
|
|
26217
|
+
flexDirection: "column",
|
|
26218
|
+
gap: 8
|
|
26201
26219
|
},
|
|
26202
|
-
children:
|
|
26203
|
-
|
|
26204
|
-
|
|
26205
|
-
|
|
26206
|
-
|
|
26207
|
-
|
|
26208
|
-
|
|
26220
|
+
children: [
|
|
26221
|
+
/* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
|
|
26222
|
+
"div",
|
|
26223
|
+
{
|
|
26224
|
+
style: {
|
|
26225
|
+
fontSize: state.theme?.fontSize,
|
|
26226
|
+
fontWeight: 500,
|
|
26227
|
+
fontFamily: state.theme?.fontFamily,
|
|
26228
|
+
fontSizeAdjust: 0.5,
|
|
26229
|
+
color: "#565656",
|
|
26230
|
+
paddingTop: 8,
|
|
26231
|
+
paddingBottom: 8,
|
|
26232
|
+
paddingRight: 12,
|
|
26233
|
+
paddingLeft: 12,
|
|
26234
|
+
borderRadius: 4,
|
|
26235
|
+
cursor: "pointer"
|
|
26236
|
+
},
|
|
26237
|
+
className: "quill-hover-button",
|
|
26238
|
+
children: "No dashboards created yet."
|
|
26239
|
+
}
|
|
26240
|
+
),
|
|
26241
|
+
state.AskAIButton ? /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
|
|
26242
|
+
"div",
|
|
26243
|
+
{
|
|
26244
|
+
style: {
|
|
26245
|
+
display: "flex",
|
|
26246
|
+
justifyContent: "flex-start",
|
|
26247
|
+
width: 144
|
|
26248
|
+
},
|
|
26249
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
|
|
26250
|
+
state.AskAIButton,
|
|
26251
|
+
{
|
|
26252
|
+
label: "What is a dashboard?",
|
|
26253
|
+
prompt: "what is a dashboard?"
|
|
26254
|
+
}
|
|
26255
|
+
)
|
|
26256
|
+
}
|
|
26257
|
+
) : null
|
|
26258
|
+
]
|
|
26209
26259
|
}
|
|
26210
|
-
)
|
|
26260
|
+
)
|
|
26211
26261
|
]
|
|
26212
26262
|
}
|
|
26213
26263
|
),
|
package/dist/index.js
CHANGED
|
@@ -5966,7 +5966,6 @@ function EditTenant({
|
|
|
5966
5966
|
)
|
|
5967
5967
|
] });
|
|
5968
5968
|
}
|
|
5969
|
-
console.log("STATE: ", state);
|
|
5970
5969
|
return /* @__PURE__ */ jsxs16(Fragment5, { children: [
|
|
5971
5970
|
/* @__PURE__ */ jsxs16(
|
|
5972
5971
|
"div",
|
|
@@ -12563,6 +12562,11 @@ var primaryRangeCustomIntervals = [
|
|
|
12563
12562
|
value: 6,
|
|
12564
12563
|
unit: "months"
|
|
12565
12564
|
},
|
|
12565
|
+
{
|
|
12566
|
+
type: "relative",
|
|
12567
|
+
value: 12,
|
|
12568
|
+
unit: "months"
|
|
12569
|
+
},
|
|
12566
12570
|
{
|
|
12567
12571
|
type: "relative",
|
|
12568
12572
|
value: 1,
|
|
@@ -12787,6 +12791,12 @@ var convertPresetOptionsToSelectableList = (customIntervals, defaultIntervals) =
|
|
|
12787
12791
|
value: 6,
|
|
12788
12792
|
unit: "months"
|
|
12789
12793
|
};
|
|
12794
|
+
} else if (interval.label === "Last 12 months") {
|
|
12795
|
+
return {
|
|
12796
|
+
type: "relative",
|
|
12797
|
+
value: 12,
|
|
12798
|
+
unit: "months"
|
|
12799
|
+
};
|
|
12790
12800
|
} else {
|
|
12791
12801
|
throw new Error("Invalid interval");
|
|
12792
12802
|
}
|
|
@@ -12921,6 +12931,9 @@ var PRIMARY_RANGE = {
|
|
|
12921
12931
|
LAST_6_MONTHS: convertCustomIntervalToDateRange(
|
|
12922
12932
|
primaryRangeCustomIntervals[6]
|
|
12923
12933
|
),
|
|
12934
|
+
LAST_12_MONTHS: convertCustomIntervalToDateRange(
|
|
12935
|
+
primaryRangeCustomIntervals[7]
|
|
12936
|
+
),
|
|
12924
12937
|
ALL_TIME: { startDate: void 0, endDate: void 0 }
|
|
12925
12938
|
};
|
|
12926
12939
|
var defaultOptionsV2 = [
|
|
@@ -12966,6 +12979,12 @@ var defaultOptionsV2 = [
|
|
|
12966
12979
|
startDate: PRIMARY_RANGE["LAST_6_MONTHS"]?.startDate,
|
|
12967
12980
|
endDate: PRIMARY_RANGE["LAST_6_MONTHS"]?.endDate
|
|
12968
12981
|
},
|
|
12982
|
+
{
|
|
12983
|
+
value: "LAST_12_MONTHS",
|
|
12984
|
+
label: "Last 12 months",
|
|
12985
|
+
startDate: PRIMARY_RANGE["LAST_12_MONTHS"]?.startDate,
|
|
12986
|
+
endDate: PRIMARY_RANGE["LAST_12_MONTHS"]?.endDate
|
|
12987
|
+
},
|
|
12969
12988
|
{
|
|
12970
12989
|
value: "ALL_TIME",
|
|
12971
12990
|
label: "All time",
|
|
@@ -13727,7 +13746,8 @@ function NewDashboardModal({
|
|
|
13727
13746
|
{ label: "Last 7 days" },
|
|
13728
13747
|
{ label: "Last 30 days" },
|
|
13729
13748
|
{ label: "Last 90 days" },
|
|
13730
|
-
{ label: "Last 6 months" }
|
|
13749
|
+
{ label: "Last 6 months" },
|
|
13750
|
+
{ label: "Last 12 months" }
|
|
13731
13751
|
]
|
|
13732
13752
|
}),
|
|
13733
13753
|
label: "Add date filter +"
|
|
@@ -16408,7 +16428,8 @@ function EditFiltersModal({
|
|
|
16408
16428
|
{ label: "Last 7 days" },
|
|
16409
16429
|
{ label: "Last 30 days" },
|
|
16410
16430
|
{ label: "Last 90 days" },
|
|
16411
|
-
{ label: "Last 6 months" }
|
|
16431
|
+
{ label: "Last 6 months" },
|
|
16432
|
+
{ label: "Last 12 months" }
|
|
16412
16433
|
]
|
|
16413
16434
|
});
|
|
16414
16435
|
};
|
|
@@ -21744,85 +21765,87 @@ function EmptyDashboardComponent() {
|
|
|
21744
21765
|
boxShadow: "0px 1px 12px rgba(0, 0, 0, 0.07)"
|
|
21745
21766
|
},
|
|
21746
21767
|
children: [
|
|
21747
|
-
/* @__PURE__ */ jsxs42(
|
|
21748
|
-
|
|
21749
|
-
|
|
21750
|
-
|
|
21751
|
-
|
|
21752
|
-
|
|
21753
|
-
|
|
21754
|
-
|
|
21755
|
-
|
|
21756
|
-
|
|
21757
|
-
|
|
21758
|
-
|
|
21759
|
-
|
|
21760
|
-
|
|
21761
|
-
|
|
21762
|
-
|
|
21763
|
-
|
|
21764
|
-
|
|
21765
|
-
|
|
21766
|
-
|
|
21767
|
-
|
|
21768
|
-
|
|
21769
|
-
|
|
21770
|
-
|
|
21771
|
-
|
|
21772
|
-
|
|
21773
|
-
|
|
21774
|
-
|
|
21775
|
-
|
|
21776
|
-
|
|
21777
|
-
|
|
21778
|
-
|
|
21779
|
-
|
|
21780
|
-
|
|
21781
|
-
|
|
21782
|
-
|
|
21783
|
-
|
|
21784
|
-
|
|
21785
|
-
|
|
21786
|
-
|
|
21787
|
-
|
|
21788
|
-
|
|
21789
|
-
|
|
21790
|
-
|
|
21791
|
-
|
|
21792
|
-
|
|
21793
|
-
|
|
21794
|
-
|
|
21795
|
-
|
|
21796
|
-
|
|
21797
|
-
|
|
21798
|
-
|
|
21799
|
-
|
|
21800
|
-
|
|
21801
|
-
|
|
21802
|
-
|
|
21803
|
-
|
|
21804
|
-
|
|
21805
|
-
|
|
21806
|
-
|
|
21807
|
-
|
|
21768
|
+
/* @__PURE__ */ jsxs42("div", { style: { display: "flex", flexDirection: "column", gap: 8 }, children: [
|
|
21769
|
+
/* @__PURE__ */ jsxs42(
|
|
21770
|
+
"div",
|
|
21771
|
+
{
|
|
21772
|
+
style: {
|
|
21773
|
+
display: "flex",
|
|
21774
|
+
flexDirection: "row",
|
|
21775
|
+
alignItems: "center",
|
|
21776
|
+
justifyContent: "center",
|
|
21777
|
+
width: 260
|
|
21778
|
+
},
|
|
21779
|
+
children: [
|
|
21780
|
+
/* @__PURE__ */ jsxs42(
|
|
21781
|
+
"svg",
|
|
21782
|
+
{
|
|
21783
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
21784
|
+
viewBox: "0 0 24 24",
|
|
21785
|
+
fill: "#565656",
|
|
21786
|
+
height: 26,
|
|
21787
|
+
width: 26,
|
|
21788
|
+
children: [
|
|
21789
|
+
/* @__PURE__ */ jsx57(
|
|
21790
|
+
"path",
|
|
21791
|
+
{
|
|
21792
|
+
fillRule: "evenodd",
|
|
21793
|
+
d: "M2.25 13.5a8.25 8.25 0 0 1 8.25-8.25.75.75 0 0 1 .75.75v6.75H18a.75.75 0 0 1 .75.75 8.25 8.25 0 0 1-16.5 0Z",
|
|
21794
|
+
clipRule: "evenodd"
|
|
21795
|
+
}
|
|
21796
|
+
),
|
|
21797
|
+
/* @__PURE__ */ jsx57(
|
|
21798
|
+
"path",
|
|
21799
|
+
{
|
|
21800
|
+
fillRule: "evenodd",
|
|
21801
|
+
d: "M12.75 3a.75.75 0 0 1 .75-.75 8.25 8.25 0 0 1 8.25 8.25.75.75 0 0 1-.75.75h-7.5a.75.75 0 0 1-.75-.75V3Z",
|
|
21802
|
+
clipRule: "evenodd"
|
|
21803
|
+
}
|
|
21804
|
+
)
|
|
21805
|
+
]
|
|
21806
|
+
}
|
|
21807
|
+
),
|
|
21808
|
+
/* @__PURE__ */ jsx57(
|
|
21809
|
+
"div",
|
|
21810
|
+
{
|
|
21811
|
+
style: {
|
|
21812
|
+
fontSize: state.theme.fontSize,
|
|
21813
|
+
fontFamily: state.theme.fontFamily,
|
|
21814
|
+
fontWeight: 500,
|
|
21815
|
+
color: "#565656",
|
|
21816
|
+
// border: '1px solid #e7e7e7',
|
|
21817
|
+
paddingTop: 8,
|
|
21818
|
+
paddingBottom: 8,
|
|
21819
|
+
paddingRight: 12,
|
|
21820
|
+
paddingLeft: 12,
|
|
21821
|
+
borderRadius: 4,
|
|
21822
|
+
cursor: "pointer"
|
|
21823
|
+
},
|
|
21824
|
+
className: "quill-hover-button",
|
|
21825
|
+
children: "No reports created yet."
|
|
21826
|
+
}
|
|
21827
|
+
)
|
|
21828
|
+
]
|
|
21829
|
+
}
|
|
21830
|
+
),
|
|
21831
|
+
state.AskAIButton ? /* @__PURE__ */ jsx57(
|
|
21832
|
+
"div",
|
|
21833
|
+
{
|
|
21834
|
+
style: {
|
|
21835
|
+
display: "flex",
|
|
21836
|
+
justifyContent: "flex-start",
|
|
21837
|
+
width: 144
|
|
21838
|
+
},
|
|
21839
|
+
children: /* @__PURE__ */ jsx57(
|
|
21840
|
+
state.AskAIButton,
|
|
21808
21841
|
{
|
|
21809
|
-
|
|
21810
|
-
|
|
21811
|
-
justifyContent: "flex-start",
|
|
21812
|
-
width: 144
|
|
21813
|
-
},
|
|
21814
|
-
children: /* @__PURE__ */ jsx57(
|
|
21815
|
-
state.AskAIButton,
|
|
21816
|
-
{
|
|
21817
|
-
label: "What is a report?",
|
|
21818
|
-
prompt: "what is a report?"
|
|
21819
|
-
}
|
|
21820
|
-
)
|
|
21842
|
+
label: "What is a report?",
|
|
21843
|
+
prompt: "what is a report?"
|
|
21821
21844
|
}
|
|
21822
|
-
)
|
|
21823
|
-
|
|
21824
|
-
|
|
21825
|
-
),
|
|
21845
|
+
)
|
|
21846
|
+
}
|
|
21847
|
+
) : null
|
|
21848
|
+
] }),
|
|
21826
21849
|
/* @__PURE__ */ jsx57("div", { style: { paddingBottom: 8 }, children: /* @__PURE__ */ jsx57(
|
|
21827
21850
|
MemoizedButton,
|
|
21828
21851
|
{
|
|
@@ -22541,6 +22564,10 @@ var PRIMARY_RANGE3 = {
|
|
|
22541
22564
|
startDate: sub(startOfToday(), { months: 6 }),
|
|
22542
22565
|
endDate: endOfToday()
|
|
22543
22566
|
},
|
|
22567
|
+
LAST_12_MONTHS: {
|
|
22568
|
+
startDate: sub(startOfToday(), { months: 12 }),
|
|
22569
|
+
endDate: endOfToday()
|
|
22570
|
+
},
|
|
22544
22571
|
ALL_TIME: { startDate: void 0, endDate: void 0 }
|
|
22545
22572
|
};
|
|
22546
22573
|
var COMPARISON_OPTIONS = [
|
|
@@ -22627,6 +22654,12 @@ var defaultOptionsV22 = [
|
|
|
22627
22654
|
startDate: PRIMARY_RANGE3["LAST_6_MONTHS"]?.startDate,
|
|
22628
22655
|
endDate: PRIMARY_RANGE3["LAST_6_MONTHS"]?.endDate
|
|
22629
22656
|
},
|
|
22657
|
+
{
|
|
22658
|
+
value: "LAST_12_MONTHS",
|
|
22659
|
+
label: "Last 12 months",
|
|
22660
|
+
startDate: PRIMARY_RANGE3["LAST_12_MONTHS"]?.startDate,
|
|
22661
|
+
endDate: PRIMARY_RANGE3["LAST_12_MONTHS"]?.endDate
|
|
22662
|
+
},
|
|
22630
22663
|
{
|
|
22631
22664
|
value: "ALL_TIME",
|
|
22632
22665
|
label: "All time",
|
|
@@ -22670,6 +22703,11 @@ var defaultOptions2 = [
|
|
|
22670
22703
|
text: "Last 6 months",
|
|
22671
22704
|
startDate: PRIMARY_RANGE3["LAST_6_MONTHS"]?.startDate
|
|
22672
22705
|
},
|
|
22706
|
+
{
|
|
22707
|
+
value: "12m",
|
|
22708
|
+
text: "Last 12 months",
|
|
22709
|
+
startDate: PRIMARY_RANGE3["LAST_12_MONTHS"]?.startDate
|
|
22710
|
+
},
|
|
22673
22711
|
{
|
|
22674
22712
|
value: "at",
|
|
22675
22713
|
text: "All time",
|
|
@@ -26219,43 +26257,55 @@ Affected item${plural ? "s" : ""} ${value.affected.join(", ")}`
|
|
|
26219
26257
|
]
|
|
26220
26258
|
}
|
|
26221
26259
|
),
|
|
26222
|
-
/* @__PURE__ */
|
|
26223
|
-
"div",
|
|
26224
|
-
{
|
|
26225
|
-
style: {
|
|
26226
|
-
fontSize: state.theme?.fontSize,
|
|
26227
|
-
fontWeight: 500,
|
|
26228
|
-
fontFamily: state.theme?.fontFamily,
|
|
26229
|
-
fontSizeAdjust: 0.5,
|
|
26230
|
-
color: "#565656",
|
|
26231
|
-
paddingTop: 8,
|
|
26232
|
-
paddingBottom: 8,
|
|
26233
|
-
paddingRight: 12,
|
|
26234
|
-
paddingLeft: 12,
|
|
26235
|
-
borderRadius: 4,
|
|
26236
|
-
cursor: "pointer"
|
|
26237
|
-
},
|
|
26238
|
-
className: "quill-hover-button",
|
|
26239
|
-
children: "No dashboards created yet."
|
|
26240
|
-
}
|
|
26241
|
-
),
|
|
26242
|
-
state.AskAIButton ? /* @__PURE__ */ jsx64(
|
|
26260
|
+
/* @__PURE__ */ jsxs49(
|
|
26243
26261
|
"div",
|
|
26244
26262
|
{
|
|
26245
26263
|
style: {
|
|
26246
26264
|
display: "flex",
|
|
26247
|
-
|
|
26248
|
-
|
|
26265
|
+
flexDirection: "column",
|
|
26266
|
+
gap: 8
|
|
26249
26267
|
},
|
|
26250
|
-
children:
|
|
26251
|
-
|
|
26252
|
-
|
|
26253
|
-
|
|
26254
|
-
|
|
26255
|
-
|
|
26256
|
-
|
|
26268
|
+
children: [
|
|
26269
|
+
/* @__PURE__ */ jsx64(
|
|
26270
|
+
"div",
|
|
26271
|
+
{
|
|
26272
|
+
style: {
|
|
26273
|
+
fontSize: state.theme?.fontSize,
|
|
26274
|
+
fontWeight: 500,
|
|
26275
|
+
fontFamily: state.theme?.fontFamily,
|
|
26276
|
+
fontSizeAdjust: 0.5,
|
|
26277
|
+
color: "#565656",
|
|
26278
|
+
paddingTop: 8,
|
|
26279
|
+
paddingBottom: 8,
|
|
26280
|
+
paddingRight: 12,
|
|
26281
|
+
paddingLeft: 12,
|
|
26282
|
+
borderRadius: 4,
|
|
26283
|
+
cursor: "pointer"
|
|
26284
|
+
},
|
|
26285
|
+
className: "quill-hover-button",
|
|
26286
|
+
children: "No dashboards created yet."
|
|
26287
|
+
}
|
|
26288
|
+
),
|
|
26289
|
+
state.AskAIButton ? /* @__PURE__ */ jsx64(
|
|
26290
|
+
"div",
|
|
26291
|
+
{
|
|
26292
|
+
style: {
|
|
26293
|
+
display: "flex",
|
|
26294
|
+
justifyContent: "flex-start",
|
|
26295
|
+
width: 144
|
|
26296
|
+
},
|
|
26297
|
+
children: /* @__PURE__ */ jsx64(
|
|
26298
|
+
state.AskAIButton,
|
|
26299
|
+
{
|
|
26300
|
+
label: "What is a dashboard?",
|
|
26301
|
+
prompt: "what is a dashboard?"
|
|
26302
|
+
}
|
|
26303
|
+
)
|
|
26304
|
+
}
|
|
26305
|
+
) : null
|
|
26306
|
+
]
|
|
26257
26307
|
}
|
|
26258
|
-
)
|
|
26308
|
+
)
|
|
26259
26309
|
]
|
|
26260
26310
|
}
|
|
26261
26311
|
),
|