sag_components 2.0.0-beta97 → 2.0.0-beta98
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 +3 -1
- package/dist/index.esm.js +234 -59
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +234 -58
- package/dist/index.js.map +1 -1
- package/dist/types/components/Button/Button.stories.d.ts +93 -35
- package/dist/types/components/Table/NoEvents.d.ts +5 -0
- package/dist/types/components/Table/Table.d.ts +2 -0
- package/dist/types/components/Table/Table.stories.d.ts +59 -0
- package/dist/types/components/Table/Table.style.d.ts +12 -0
- package/dist/types/icons/Plus.d.ts +6 -0
- package/dist/types/icons/index.d.ts +1 -0
- package/dist/types/index.d.ts +1 -0
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -34,7 +34,7 @@ const ButtonItem = styled.div`
|
|
|
34
34
|
height: ${props => props.height};
|
|
35
35
|
color: ${props => props.disabled ? props.disabled_text_color : props.text_color};
|
|
36
36
|
border: ${props => `1px solid ${props.disabled ? props.disabled_border_color : props.border_color}`};
|
|
37
|
-
border-radius:
|
|
37
|
+
border-radius: ${props => props.borderRadius};
|
|
38
38
|
background-color: ${props => props.disabled ? props.disabled_background_color : props.background_color};
|
|
39
39
|
box-sizing: border-box;
|
|
40
40
|
gap: 8px;
|
|
@@ -70,14 +70,13 @@ const IconWrapper$3 = styled.div`
|
|
|
70
70
|
const InputCommit = styled.input`
|
|
71
71
|
font-family: "Poppins", sans-serif;
|
|
72
72
|
border: ${props => `0px solid ${props.disabled ? props.disabled_border_color : props.hover_border_color}`};
|
|
73
|
-
border-radius: 8px;
|
|
74
73
|
font-weight: 400;
|
|
75
74
|
font-size: 14px;
|
|
76
75
|
width: ${props => props.width};
|
|
77
76
|
height: ${props => props.height};
|
|
78
77
|
color: ${props => props.disabled ? props.disabled_text_color : props.text_color};
|
|
79
78
|
border: ${props => `1px solid ${props.disabled ? props.disabled_border_color : props.border_color}`};
|
|
80
|
-
border-radius:
|
|
79
|
+
border-radius: ${props => props.borderRadius};
|
|
81
80
|
background-color: ${props => props.disabled ? props.disabled_background_color : props.background_color};
|
|
82
81
|
cursor: pointer;
|
|
83
82
|
padding: ${props => props.padding};
|
|
@@ -352,6 +351,21 @@ const PlusIcon = ({
|
|
|
352
351
|
fill: "#066768"
|
|
353
352
|
}));
|
|
354
353
|
|
|
354
|
+
const Plus = ({
|
|
355
|
+
width = 17,
|
|
356
|
+
height = 17,
|
|
357
|
+
fill = 'white'
|
|
358
|
+
}) => /*#__PURE__*/React$1.createElement("svg", {
|
|
359
|
+
width: width,
|
|
360
|
+
height: height,
|
|
361
|
+
viewBox: "0 0 17 17",
|
|
362
|
+
fill: "none",
|
|
363
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
364
|
+
}, /*#__PURE__*/React$1.createElement("path", {
|
|
365
|
+
d: "M9.34619 2.03369V7.65869H14.9712C15.4282 7.65869 15.8149 8.04541 15.8149 8.50244C15.8149 8.99463 15.4282 9.34619 14.9712 9.34619H9.34619V14.9712C9.34619 15.4634 8.95947 15.8149 8.50244 15.8149C8.01025 15.8149 7.65869 15.4634 7.65869 14.9712V9.34619H2.03369C1.5415 9.34619 1.18994 8.99463 1.18994 8.50244C1.18994 8.04541 1.5415 7.65869 2.03369 7.65869H7.65869V2.03369C7.65869 1.57666 8.01025 1.18994 8.50244 1.18994C8.95947 1.18994 9.34619 1.57666 9.34619 2.03369Z",
|
|
366
|
+
fill: fill
|
|
367
|
+
}));
|
|
368
|
+
|
|
355
369
|
const Button$1 = props => {
|
|
356
370
|
const {
|
|
357
371
|
text = "",
|
|
@@ -363,6 +377,7 @@ const Button$1 = props => {
|
|
|
363
377
|
textColor = "",
|
|
364
378
|
backgroundColor = "",
|
|
365
379
|
borderColor = "",
|
|
380
|
+
borderRadius = "12px",
|
|
366
381
|
hoverTextColor = "",
|
|
367
382
|
hoverBackgroundColor = "",
|
|
368
383
|
hoverBorderColor = "",
|
|
@@ -392,7 +407,8 @@ const Button$1 = props => {
|
|
|
392
407
|
maintenance: MaintenanceIcon,
|
|
393
408
|
exit: ExitIcon,
|
|
394
409
|
eye: EyeIcon,
|
|
395
|
-
reselect: ReselectIcon
|
|
410
|
+
reselect: ReselectIcon,
|
|
411
|
+
plus: Plus
|
|
396
412
|
};
|
|
397
413
|
const getIcon = icon => {
|
|
398
414
|
if (!icon || icon === "none") return null;
|
|
@@ -427,11 +443,13 @@ const Button$1 = props => {
|
|
|
427
443
|
}, isSubmitButton ? /*#__PURE__*/React$1.createElement(InputCommit, _extends$1({
|
|
428
444
|
className: clicked ? "InputCommit-clicked" : "InputCommit",
|
|
429
445
|
value: text,
|
|
430
|
-
type: "submit"
|
|
446
|
+
type: "submit",
|
|
447
|
+
borderRadius: borderRadius
|
|
431
448
|
}, commonProps)) : /*#__PURE__*/React$1.createElement(ButtonItem, _extends$1({
|
|
432
449
|
className: clicked ? "ButtonItem-clicked" : "ButtonItem",
|
|
433
450
|
onMouseEnter: () => setHover(true),
|
|
434
|
-
onMouseLeave: () => setHover(false)
|
|
451
|
+
onMouseLeave: () => setHover(false),
|
|
452
|
+
borderRadius: borderRadius
|
|
435
453
|
}, commonProps), getIcon(leftIcon), /*#__PURE__*/React$1.createElement(Label$8, {
|
|
436
454
|
className: "Label",
|
|
437
455
|
disabled: disabled
|
|
@@ -1866,7 +1884,7 @@ const TitleAndValueContainer$4 = styled.div`
|
|
|
1866
1884
|
flex-direction: column;
|
|
1867
1885
|
padding: 0 20px;
|
|
1868
1886
|
`;
|
|
1869
|
-
const Title$
|
|
1887
|
+
const Title$k = styled.h4`
|
|
1870
1888
|
font-weight: 400;
|
|
1871
1889
|
font-size: 18px;
|
|
1872
1890
|
margin: 0 0 8px;
|
|
@@ -2342,7 +2360,7 @@ const PieChart = props => {
|
|
|
2342
2360
|
width: width
|
|
2343
2361
|
}, !hideTitleAndValue && /*#__PURE__*/React$1.createElement(TitleAndValueContainer$4, {
|
|
2344
2362
|
className: "TitleAndValueContainer"
|
|
2345
|
-
}, /*#__PURE__*/React$1.createElement(Title$
|
|
2363
|
+
}, /*#__PURE__*/React$1.createElement(Title$k, {
|
|
2346
2364
|
className: "Title"
|
|
2347
2365
|
}, title), /*#__PURE__*/React$1.createElement(CurrencySignAndFormattedValueContainer$2, {
|
|
2348
2366
|
className: "CurrencySignAndFormattedValueContainer"
|
|
@@ -11896,7 +11914,7 @@ const Loader$1 = styled.span`
|
|
|
11896
11914
|
animation: ${rotation$1} 1.5s infinite ease;
|
|
11897
11915
|
transform: translateZ(0);
|
|
11898
11916
|
`;
|
|
11899
|
-
const TableWrapper$
|
|
11917
|
+
const TableWrapper$3 = styled.div`
|
|
11900
11918
|
position: relative;
|
|
11901
11919
|
width: ${props => `${props.width}`};
|
|
11902
11920
|
height: ${props => `${props.height}`};
|
|
@@ -11906,7 +11924,7 @@ const TableWrapper$2 = styled.div`
|
|
|
11906
11924
|
overflow-x: ${props => props.columnsNumber > props.maxColumnsNumber ? 'auto' : 'hidden'};
|
|
11907
11925
|
${scrollableStyles$9}
|
|
11908
11926
|
`;
|
|
11909
|
-
const Table$
|
|
11927
|
+
const Table$3 = styled.table`
|
|
11910
11928
|
font-family: "Poppins", sans-serif;
|
|
11911
11929
|
width: ${props => `${props.tableWidthSize}%`};
|
|
11912
11930
|
table-layout: fixed;
|
|
@@ -12211,13 +12229,13 @@ const ReportTable = props => {
|
|
|
12211
12229
|
return newState;
|
|
12212
12230
|
});
|
|
12213
12231
|
};
|
|
12214
|
-
return /*#__PURE__*/React$1.createElement(ReportTableWrapper, null, /*#__PURE__*/React$1.createElement(TableWrapper$
|
|
12232
|
+
return /*#__PURE__*/React$1.createElement(ReportTableWrapper, null, /*#__PURE__*/React$1.createElement(TableWrapper$3, {
|
|
12215
12233
|
width: width,
|
|
12216
12234
|
height: height,
|
|
12217
12235
|
className: className,
|
|
12218
12236
|
maxColumnsNumber: getMaxColnumber(),
|
|
12219
12237
|
columnsNumber: columnsNumber
|
|
12220
|
-
}, /*#__PURE__*/React$1.createElement(Table$
|
|
12238
|
+
}, /*#__PURE__*/React$1.createElement(Table$3, {
|
|
12221
12239
|
tableWidthSize: tableWidthSize
|
|
12222
12240
|
}, /*#__PURE__*/React$1.createElement("thead", null, /*#__PURE__*/React$1.createElement(Tr, null, tableData.columnsHeadings.map((headline, index) => /*#__PURE__*/React$1.createElement(Th$1, {
|
|
12223
12241
|
key: index
|
|
@@ -25106,7 +25124,7 @@ const TitleAndValueContainer$3 = styled.div`
|
|
|
25106
25124
|
display: flex;
|
|
25107
25125
|
flex-direction: column;
|
|
25108
25126
|
`;
|
|
25109
|
-
const Title$
|
|
25127
|
+
const Title$j = styled.h4`
|
|
25110
25128
|
font-weight: 400;
|
|
25111
25129
|
font-size: 20px;
|
|
25112
25130
|
margin: 0;
|
|
@@ -25169,7 +25187,7 @@ const FormattedValue$3 = props => {
|
|
|
25169
25187
|
width: width
|
|
25170
25188
|
}, /*#__PURE__*/React$1.createElement(TitleAndValueContainer$3, {
|
|
25171
25189
|
className: "TitleAndValueContainer"
|
|
25172
|
-
}, title ? /*#__PURE__*/React$1.createElement(Title$
|
|
25190
|
+
}, title ? /*#__PURE__*/React$1.createElement(Title$j, {
|
|
25173
25191
|
className: "Title",
|
|
25174
25192
|
width: width
|
|
25175
25193
|
}, title) : '', showTopValue && /*#__PURE__*/React$1.createElement(CurrencySignAndFormattedValueContainer$1, {
|
|
@@ -25181,7 +25199,7 @@ const FormattedValue$3 = props => {
|
|
|
25181
25199
|
className: "CurrencySignOrPercent"
|
|
25182
25200
|
}, currencySign ? getCurrencySign(currencyType, value) : ''), dotCut ? getFormattedValue(value && Math.abs(value) > 0 && value % 1 !== 0 ? value?.toFixed(2) : value) : getNumberWithCommas(value), dotCut ? getFormattedUnits(value) : '', /*#__PURE__*/React$1.createElement(CurrencySignOrPercent, {
|
|
25183
25201
|
className: "CurrencySignOrPercent"
|
|
25184
|
-
}, isPercent ? '%' : ''))), subtitle ? /*#__PURE__*/React$1.createElement(Title$
|
|
25202
|
+
}, isPercent ? '%' : ''))), subtitle ? /*#__PURE__*/React$1.createElement(Title$j, {
|
|
25185
25203
|
className: "Title",
|
|
25186
25204
|
width: width
|
|
25187
25205
|
}, subtitle) : '')));
|
|
@@ -25251,7 +25269,7 @@ const TooltipTitle$8 = styled.div`
|
|
|
25251
25269
|
const TitleAndValueContainer$2 = styled.div`
|
|
25252
25270
|
padding: 0 1rem;
|
|
25253
25271
|
`;
|
|
25254
|
-
const Title$
|
|
25272
|
+
const Title$i = styled.h5`
|
|
25255
25273
|
font-weight: 500;
|
|
25256
25274
|
font-size: 18px;
|
|
25257
25275
|
line-height: 20px;
|
|
@@ -25380,7 +25398,7 @@ const TitleAndIconContainer = styled.div`
|
|
|
25380
25398
|
display: flex;
|
|
25381
25399
|
align-items: center;
|
|
25382
25400
|
`;
|
|
25383
|
-
const Title$
|
|
25401
|
+
const Title$h = styled.h4`
|
|
25384
25402
|
font-weight: 400;
|
|
25385
25403
|
font-size: 14px;
|
|
25386
25404
|
line-height: 27px;
|
|
@@ -25434,7 +25452,7 @@ const PerformanceAnalyticsLegend = props => {
|
|
|
25434
25452
|
color: item.iconColor
|
|
25435
25453
|
}) : item.iconType === ICON_TYPE_LEGEND_LINE_ICON$3 ? /*#__PURE__*/React$1.createElement(LegendLineIcon, {
|
|
25436
25454
|
color: item.iconColor
|
|
25437
|
-
}) : '', /*#__PURE__*/React$1.createElement(Title$
|
|
25455
|
+
}) : '', /*#__PURE__*/React$1.createElement(Title$h, {
|
|
25438
25456
|
id: "Title",
|
|
25439
25457
|
width: width
|
|
25440
25458
|
}, item.title))))) : '');
|
|
@@ -25589,7 +25607,7 @@ const BarChartsByWeeks = props => {
|
|
|
25589
25607
|
ref: controlsContainerRef
|
|
25590
25608
|
}, /*#__PURE__*/React$1.createElement(Controls$a, {
|
|
25591
25609
|
height: getControlsHeight()
|
|
25592
|
-
}, showTitle && /*#__PURE__*/React$1.createElement(TitleAndValueContainer$2, null, /*#__PURE__*/React$1.createElement(Title$
|
|
25610
|
+
}, showTitle && /*#__PURE__*/React$1.createElement(TitleAndValueContainer$2, null, /*#__PURE__*/React$1.createElement(Title$i, null, title), /*#__PURE__*/React$1.createElement(FormattedValue$3, {
|
|
25593
25611
|
title: headerValueTopTitle,
|
|
25594
25612
|
subtitle: headerValueBottomTitle,
|
|
25595
25613
|
showTopValue: showHeaderTopValue,
|
|
@@ -25822,7 +25840,7 @@ const TitleAndValueContainer$1 = styled.div`
|
|
|
25822
25840
|
flex-direction: column;
|
|
25823
25841
|
padding: 0 1.25em; /* 20px → 1.25em */
|
|
25824
25842
|
`;
|
|
25825
|
-
const Title$
|
|
25843
|
+
const Title$g = styled.h4`
|
|
25826
25844
|
font-weight: 500;
|
|
25827
25845
|
font-size: ${props => props.titleFontSize || '1.125em'}; /* Default: 18px → 1.125em */
|
|
25828
25846
|
margin: 0;
|
|
@@ -26025,7 +26043,7 @@ const TotalDoughnutChart = props => {
|
|
|
26025
26043
|
width: width
|
|
26026
26044
|
}, !hideTitleAndValue && /*#__PURE__*/React$1.createElement(TitleAndValueContainer$1, {
|
|
26027
26045
|
className: "TitleAndValueContainer"
|
|
26028
|
-
}, /*#__PURE__*/React$1.createElement(Title$
|
|
26046
|
+
}, /*#__PURE__*/React$1.createElement(Title$g, {
|
|
26029
26047
|
className: "Title",
|
|
26030
26048
|
fontSize: titleFontSize
|
|
26031
26049
|
}, title), /*#__PURE__*/React$1.createElement(CurrencySignAndFormattedValueContainer, {
|
|
@@ -26347,7 +26365,7 @@ const TotalValue = styled.div`
|
|
|
26347
26365
|
font-size: 20px;
|
|
26348
26366
|
}
|
|
26349
26367
|
`;
|
|
26350
|
-
const Title$
|
|
26368
|
+
const Title$f = styled.h4`
|
|
26351
26369
|
font-size: 18px;
|
|
26352
26370
|
font-weight: 400;
|
|
26353
26371
|
line-height: 1;
|
|
@@ -26504,7 +26522,7 @@ const TotalHorizontalCharts = props => {
|
|
|
26504
26522
|
}, chartsData?.length > 0 ? /*#__PURE__*/React$1.createElement(React$1.Fragment, null, !hideTitle || !hideTotalValue ? /*#__PURE__*/React$1.createElement(CardHeader, {
|
|
26505
26523
|
ref: topHeader,
|
|
26506
26524
|
className: "CardHeader"
|
|
26507
|
-
}, !hideTitle ? /*#__PURE__*/React$1.createElement(Title$
|
|
26525
|
+
}, !hideTitle ? /*#__PURE__*/React$1.createElement(Title$f, null, title) : '', !hideTotalValue ? /*#__PURE__*/React$1.createElement(TotalValue, {
|
|
26508
26526
|
className: "TotalValue"
|
|
26509
26527
|
}, currencySign && /*#__PURE__*/React$1.createElement(CurrencySign, {
|
|
26510
26528
|
className: "CurrencySign"
|
|
@@ -26977,7 +26995,7 @@ const ItemContainer = styled.div`
|
|
|
26977
26995
|
flex-direction: column;
|
|
26978
26996
|
flex-wrap: wrap;
|
|
26979
26997
|
`;
|
|
26980
|
-
const Title$
|
|
26998
|
+
const Title$e = styled.h4`
|
|
26981
26999
|
font-size: 18px;
|
|
26982
27000
|
font-weight: 500;
|
|
26983
27001
|
margin: 0;
|
|
@@ -27093,7 +27111,7 @@ const SalesAndROI = props => {
|
|
|
27093
27111
|
showBorderShadow: showBorderShadow
|
|
27094
27112
|
}, /*#__PURE__*/React$1.createElement(TitleAndValueContainer, {
|
|
27095
27113
|
id: "TitleAndValueContainer"
|
|
27096
|
-
}, /*#__PURE__*/React$1.createElement(Title$
|
|
27114
|
+
}, /*#__PURE__*/React$1.createElement(Title$e, {
|
|
27097
27115
|
id: "Title"
|
|
27098
27116
|
}, title), showBanner && /*#__PURE__*/React$1.createElement(OutBanner, {
|
|
27099
27117
|
id: "OutBanner",
|
|
@@ -27192,7 +27210,7 @@ const TitleContainer$1 = styled.div`
|
|
|
27192
27210
|
margin: 0;
|
|
27193
27211
|
border-bottom: 1px solid #b1b1b1;
|
|
27194
27212
|
`;
|
|
27195
|
-
const Title$
|
|
27213
|
+
const Title$d = styled.p`
|
|
27196
27214
|
font-weight: 400;
|
|
27197
27215
|
font-size: 24px;
|
|
27198
27216
|
margin: 0;
|
|
@@ -27412,7 +27430,7 @@ const PopupCharts = props => {
|
|
|
27412
27430
|
height: height,
|
|
27413
27431
|
width: width,
|
|
27414
27432
|
onClick: e => e.stopPropagation()
|
|
27415
|
-
}, /*#__PURE__*/React$1.createElement(TitleContainer$1, null, /*#__PURE__*/React$1.createElement(Title$
|
|
27433
|
+
}, /*#__PURE__*/React$1.createElement(TitleContainer$1, null, /*#__PURE__*/React$1.createElement(Title$d, null, title), /*#__PURE__*/React$1.createElement(CloseXIconContainer, {
|
|
27416
27434
|
onClick: e => closePopupCharts(e)
|
|
27417
27435
|
}, /*#__PURE__*/React$1.createElement(CloseXIcon, null))), /*#__PURE__*/React$1.createElement(ChartsContainer, {
|
|
27418
27436
|
id: "ChartsContainer",
|
|
@@ -27510,7 +27528,7 @@ const TopToggleListMainContainer = styled.div`
|
|
|
27510
27528
|
padding: 0 24px;
|
|
27511
27529
|
width: ${props => props.width};
|
|
27512
27530
|
`;
|
|
27513
|
-
const Title$
|
|
27531
|
+
const Title$c = styled.h4`
|
|
27514
27532
|
font-size: 14px;
|
|
27515
27533
|
font-weight: 600;
|
|
27516
27534
|
margin: 20px 0 12px;
|
|
@@ -27540,7 +27558,7 @@ const TopToggleList = props => {
|
|
|
27540
27558
|
} = props;
|
|
27541
27559
|
return /*#__PURE__*/React$1.createElement(TopToggleListMainContainer, {
|
|
27542
27560
|
width: width
|
|
27543
|
-
}, /*#__PURE__*/React$1.createElement(Title$
|
|
27561
|
+
}, /*#__PURE__*/React$1.createElement(Title$c, null, title), /*#__PURE__*/React$1.createElement(ListContainer, {
|
|
27544
27562
|
height: height
|
|
27545
27563
|
}, list.map(item => /*#__PURE__*/React$1.createElement(ListItem, {
|
|
27546
27564
|
key: item.value
|
|
@@ -27602,7 +27620,7 @@ const TitleContainer = styled.div`
|
|
|
27602
27620
|
justify-content: flex-start;
|
|
27603
27621
|
margin: 0 0 10px 0;
|
|
27604
27622
|
`;
|
|
27605
|
-
const Title$
|
|
27623
|
+
const Title$b = styled.h3`
|
|
27606
27624
|
user-select: none;
|
|
27607
27625
|
text-align: left;
|
|
27608
27626
|
margin: 0;
|
|
@@ -27877,7 +27895,7 @@ const Heatmap = props => {
|
|
|
27877
27895
|
className: "HeatmapWrapper"
|
|
27878
27896
|
}, /*#__PURE__*/React$1.createElement(TitleContainer, {
|
|
27879
27897
|
className: "TitleContainer"
|
|
27880
|
-
}, /*#__PURE__*/React$1.createElement(Title$
|
|
27898
|
+
}, /*#__PURE__*/React$1.createElement(Title$b, {
|
|
27881
27899
|
className: "Title"
|
|
27882
27900
|
}, title)), refreshRequired && renderBars(), !refreshRequired && renderBars(), renderLegend()));
|
|
27883
27901
|
};
|
|
@@ -28296,7 +28314,7 @@ const TooltipTitle$7 = styled.div`
|
|
|
28296
28314
|
font-size: 14px;
|
|
28297
28315
|
font-weight: 600;
|
|
28298
28316
|
`;
|
|
28299
|
-
const Title$
|
|
28317
|
+
const Title$a = styled.h5`
|
|
28300
28318
|
font-weight: 500;
|
|
28301
28319
|
font-size: 18px;
|
|
28302
28320
|
line-height: 20px;
|
|
@@ -28457,7 +28475,7 @@ const BarChart = props => {
|
|
|
28457
28475
|
height: height,
|
|
28458
28476
|
width: width,
|
|
28459
28477
|
ref: controlsContainerRef
|
|
28460
|
-
}, /*#__PURE__*/React$1.createElement(Controls$7, null, /*#__PURE__*/React$1.createElement(Title$
|
|
28478
|
+
}, /*#__PURE__*/React$1.createElement(Controls$7, null, /*#__PURE__*/React$1.createElement(Title$a, null, title), /*#__PURE__*/React$1.createElement(ResponsiveContainer, {
|
|
28461
28479
|
width: "100%",
|
|
28462
28480
|
height: "100%"
|
|
28463
28481
|
}, /*#__PURE__*/React$1.createElement(BarChart$1, {
|
|
@@ -28630,7 +28648,7 @@ const Controls$6 = styled.div`
|
|
|
28630
28648
|
flex-direction: column;
|
|
28631
28649
|
background-color: white;
|
|
28632
28650
|
`;
|
|
28633
|
-
const Title$
|
|
28651
|
+
const Title$9 = styled.h5`
|
|
28634
28652
|
font-size: 18px;
|
|
28635
28653
|
font-weight: 400;
|
|
28636
28654
|
margin: 0 0 30px;
|
|
@@ -28896,7 +28914,7 @@ const DoubleBarSingleLine = props => {
|
|
|
28896
28914
|
noDataText: noDataText
|
|
28897
28915
|
}) : /*#__PURE__*/React$1.createElement(Controls$6, {
|
|
28898
28916
|
className: "Controls"
|
|
28899
|
-
}, title && title.trim() !== '' && /*#__PURE__*/React$1.createElement(Title$
|
|
28917
|
+
}, title && title.trim() !== '' && /*#__PURE__*/React$1.createElement(Title$9, null, title), /*#__PURE__*/React$1.createElement(ChartsWrapper, {
|
|
28900
28918
|
width: dynamicWidth //{hasScroll ? `${data.length * 178}px` : 'auto'}
|
|
28901
28919
|
}, /*#__PURE__*/React$1.createElement(LineChartWrapper, null, /*#__PURE__*/React$1.createElement(ResponsiveContainer, null, /*#__PURE__*/React$1.createElement(LineChart, _extends$1({
|
|
28902
28920
|
data: transformedData
|
|
@@ -29000,7 +29018,7 @@ const CheckboxGroupContainer = styled.div`
|
|
|
29000
29018
|
height: 21px;
|
|
29001
29019
|
gap: 20px;
|
|
29002
29020
|
`;
|
|
29003
|
-
const Title$
|
|
29021
|
+
const Title$8 = styled.h5`
|
|
29004
29022
|
font-weight: 500;
|
|
29005
29023
|
font-size: 18px;
|
|
29006
29024
|
line-height: 20px;
|
|
@@ -29328,7 +29346,7 @@ const AreaChart = props => {
|
|
|
29328
29346
|
height: height
|
|
29329
29347
|
}) : /*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement(HeaderContainer$2, {
|
|
29330
29348
|
"data-testid": "header-container"
|
|
29331
|
-
}, /*#__PURE__*/React$1.createElement(Title$
|
|
29349
|
+
}, /*#__PURE__*/React$1.createElement(Title$8, {
|
|
29332
29350
|
"data-testid": "title"
|
|
29333
29351
|
}, title), /*#__PURE__*/React$1.createElement(CheckboxGroupContainer, {
|
|
29334
29352
|
"data-testid": "checkbox-group-container"
|
|
@@ -29827,7 +29845,7 @@ const HeaderContainer$1 = styled.div`
|
|
|
29827
29845
|
align-items: center;
|
|
29828
29846
|
padding-bottom: 8px;
|
|
29829
29847
|
`;
|
|
29830
|
-
const Title$
|
|
29848
|
+
const Title$7 = styled.h3`
|
|
29831
29849
|
font-size: 18px;
|
|
29832
29850
|
font-weight: 400;
|
|
29833
29851
|
margin: 0;
|
|
@@ -29891,7 +29909,7 @@ const BreakdownPanel = props => {
|
|
|
29891
29909
|
height: height
|
|
29892
29910
|
}) : /*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement(HeaderContainer$1, {
|
|
29893
29911
|
"data-testid": "header-container"
|
|
29894
|
-
}, /*#__PURE__*/React$1.createElement(Title$
|
|
29912
|
+
}, /*#__PURE__*/React$1.createElement(Title$7, {
|
|
29895
29913
|
"data-testid": "title"
|
|
29896
29914
|
}, title)), /*#__PURE__*/React$1.createElement(CategorySalesMainContainer, {
|
|
29897
29915
|
"data-testid": "category-sales-main-container"
|
|
@@ -31407,7 +31425,7 @@ const ChartContainer = styled.div`
|
|
|
31407
31425
|
width: 100%;
|
|
31408
31426
|
height: calc(100% - 70px);
|
|
31409
31427
|
`;
|
|
31410
|
-
const Title$
|
|
31428
|
+
const Title$6 = styled.h2`
|
|
31411
31429
|
color: #212121;
|
|
31412
31430
|
font-family: "Poppins";
|
|
31413
31431
|
font-size: 18px;
|
|
@@ -32053,7 +32071,7 @@ const BrushChart = props => {
|
|
|
32053
32071
|
return /*#__PURE__*/React$1.createElement(Container, {
|
|
32054
32072
|
height: height,
|
|
32055
32073
|
width: width
|
|
32056
|
-
}, /*#__PURE__*/React$1.createElement(Title$
|
|
32074
|
+
}, /*#__PURE__*/React$1.createElement(Title$6, null, title), /*#__PURE__*/React$1.createElement(SegmentedContainer, {
|
|
32057
32075
|
gap: "8px",
|
|
32058
32076
|
options: segmentedbuttonOptions ? segmentedbuttonOptions.map(value => ({
|
|
32059
32077
|
value
|
|
@@ -32117,7 +32135,7 @@ const Controls$3 = styled.div`
|
|
|
32117
32135
|
padding: 12px 32px;
|
|
32118
32136
|
}
|
|
32119
32137
|
`;
|
|
32120
|
-
const Title$
|
|
32138
|
+
const Title$5 = styled.span`
|
|
32121
32139
|
color: #212121;
|
|
32122
32140
|
display: inline-block;
|
|
32123
32141
|
font-size: 18px;
|
|
@@ -32378,7 +32396,7 @@ const SingleBarLineCharts = _ref => {
|
|
|
32378
32396
|
height: height
|
|
32379
32397
|
}, data?.length > 0 ? /*#__PURE__*/React$1.createElement(Controls$3, {
|
|
32380
32398
|
className: "Controls"
|
|
32381
|
-
}, title !== '' && /*#__PURE__*/React$1.createElement(Title$
|
|
32399
|
+
}, title !== '' && /*#__PURE__*/React$1.createElement(Title$5, null, title), totalsData.length > 0 && /*#__PURE__*/React$1.createElement(LinnerDataBoxWrap, {
|
|
32382
32400
|
width: "40%",
|
|
32383
32401
|
height: "60px",
|
|
32384
32402
|
data: totalsData
|
|
@@ -32670,7 +32688,7 @@ const TooltipTitle$2 = styled.div`
|
|
|
32670
32688
|
font-size: 14px;
|
|
32671
32689
|
font-weight: 600;
|
|
32672
32690
|
`;
|
|
32673
|
-
const Title$
|
|
32691
|
+
const Title$4 = styled.h5`
|
|
32674
32692
|
font-weight: 500;
|
|
32675
32693
|
font-size: 18px;
|
|
32676
32694
|
line-height: 20px;
|
|
@@ -32846,7 +32864,7 @@ const BarChartWithAreaChart = props => {
|
|
|
32846
32864
|
ref: controlsContainerRef
|
|
32847
32865
|
}, /*#__PURE__*/React$1.createElement(Controls$2, {
|
|
32848
32866
|
className: "Controls"
|
|
32849
|
-
}, /*#__PURE__*/React$1.createElement(Title$
|
|
32867
|
+
}, /*#__PURE__*/React$1.createElement(Title$4, null, title), /*#__PURE__*/React$1.createElement(ResponsiveContainer, {
|
|
32850
32868
|
height: barChartHeight
|
|
32851
32869
|
}, /*#__PURE__*/React$1.createElement(ComposedChart, {
|
|
32852
32870
|
data: barChartData
|
|
@@ -32919,7 +32937,7 @@ const Controls$1 = styled.div`
|
|
|
32919
32937
|
padding: 12px 32px;
|
|
32920
32938
|
}
|
|
32921
32939
|
`;
|
|
32922
|
-
const Title$
|
|
32940
|
+
const Title$3 = styled.span`
|
|
32923
32941
|
color: #212121;
|
|
32924
32942
|
display: inline-block;
|
|
32925
32943
|
font-size: 18px;
|
|
@@ -33074,7 +33092,7 @@ const BarChartTwoRows = props => {
|
|
|
33074
33092
|
ref: controlsContainerRef
|
|
33075
33093
|
}, /*#__PURE__*/React$1.createElement(Controls$1, {
|
|
33076
33094
|
className: "Controls"
|
|
33077
|
-
}, title !== '' && /*#__PURE__*/React$1.createElement(Title$
|
|
33095
|
+
}, title !== '' && /*#__PURE__*/React$1.createElement(Title$3, null, title), /*#__PURE__*/React$1.createElement(ResponsiveContainer, {
|
|
33078
33096
|
height: barChartHeight
|
|
33079
33097
|
}, /*#__PURE__*/React$1.createElement(BarChart$1, {
|
|
33080
33098
|
width: width,
|
|
@@ -33153,7 +33171,7 @@ const TooltipTitle = styled.div`
|
|
|
33153
33171
|
font-size: 14px;
|
|
33154
33172
|
font-weight: 600;
|
|
33155
33173
|
`;
|
|
33156
|
-
const Title$
|
|
33174
|
+
const Title$2 = styled.h5`
|
|
33157
33175
|
font-weight: 500;
|
|
33158
33176
|
font-size: 18px;
|
|
33159
33177
|
line-height: 20px;
|
|
@@ -33276,7 +33294,7 @@ const TwoBarCharts = props => {
|
|
|
33276
33294
|
height: height,
|
|
33277
33295
|
width: width,
|
|
33278
33296
|
ref: controlsContainerRef
|
|
33279
|
-
}, /*#__PURE__*/React$1.createElement(Controls, null, /*#__PURE__*/React$1.createElement(Title$
|
|
33297
|
+
}, /*#__PURE__*/React$1.createElement(Controls, null, /*#__PURE__*/React$1.createElement(Title$2, null, title), /*#__PURE__*/React$1.createElement(ResponsiveContainer, {
|
|
33280
33298
|
width: "100%",
|
|
33281
33299
|
height: "100%"
|
|
33282
33300
|
}, /*#__PURE__*/React$1.createElement(BarChart$1, {
|
|
@@ -33456,7 +33474,7 @@ const TitleDiv = styled.div`
|
|
|
33456
33474
|
font-size: 10px;
|
|
33457
33475
|
}
|
|
33458
33476
|
`;
|
|
33459
|
-
const TableWrapper$
|
|
33477
|
+
const TableWrapper$2 = styled.div`
|
|
33460
33478
|
overflow-x: auto;
|
|
33461
33479
|
margin-bottom: 22px;
|
|
33462
33480
|
&::-webkit-scrollbar {
|
|
@@ -33473,7 +33491,7 @@ const TableWrapper$1 = styled.div`
|
|
|
33473
33491
|
border-radius: 5px;
|
|
33474
33492
|
}
|
|
33475
33493
|
`;
|
|
33476
|
-
const Table$
|
|
33494
|
+
const Table$2 = styled.table`
|
|
33477
33495
|
width: 100%;
|
|
33478
33496
|
border-collapse: collapse;
|
|
33479
33497
|
overflow: auto;
|
|
@@ -33703,7 +33721,7 @@ const CollapseData = props => {
|
|
|
33703
33721
|
}) : /*#__PURE__*/React$1.createElement(ArrowDownIcon, {
|
|
33704
33722
|
width: "11px",
|
|
33705
33723
|
height: "12px"
|
|
33706
|
-
})), /*#__PURE__*/React$1.createElement(TitleDiv, null, `${parseFloat(section.value.toFixed(1))}${section.valueType}`))), activeIndex === section.key && /*#__PURE__*/React$1.createElement(TableWrapper$
|
|
33724
|
+
})), /*#__PURE__*/React$1.createElement(TitleDiv, null, `${parseFloat(section.value.toFixed(1))}${section.valueType}`))), activeIndex === section.key && /*#__PURE__*/React$1.createElement(TableWrapper$2, null, /*#__PURE__*/React$1.createElement(Table$2, null, /*#__PURE__*/React$1.createElement("thead", null, /*#__PURE__*/React$1.createElement("tr", null, section.table.map((headline, i) => /*#__PURE__*/React$1.createElement(Th, {
|
|
33707
33725
|
key: `${i + headline}`
|
|
33708
33726
|
}, headline.title)))), /*#__PURE__*/React$1.createElement("tbody", null, /*#__PURE__*/React$1.createElement("tr", null, section.table.map((data, i) => {
|
|
33709
33727
|
if (data.value !== null) {
|
|
@@ -33803,7 +33821,7 @@ const CloseButton = styled.button`
|
|
|
33803
33821
|
align-self: flex-end;
|
|
33804
33822
|
}
|
|
33805
33823
|
`;
|
|
33806
|
-
const Title = styled.h2`
|
|
33824
|
+
const Title$1 = styled.h2`
|
|
33807
33825
|
position: absolute;
|
|
33808
33826
|
display: flex;
|
|
33809
33827
|
align-items: center;
|
|
@@ -33981,7 +33999,7 @@ const InsightsCarousel = _ref => {
|
|
|
33981
33999
|
const nextIndex = (currentIndex + 1) % totalChildren;
|
|
33982
34000
|
return /*#__PURE__*/React$1.createElement(Overlay, {
|
|
33983
34001
|
className: className
|
|
33984
|
-
}, /*#__PURE__*/React$1.createElement(ModalContent, null, /*#__PURE__*/React$1.createElement(Header$1, null, /*#__PURE__*/React$1.createElement(Title, {
|
|
34002
|
+
}, /*#__PURE__*/React$1.createElement(ModalContent, null, /*#__PURE__*/React$1.createElement(Header$1, null, /*#__PURE__*/React$1.createElement(Title$1, {
|
|
33985
34003
|
$titleColor: titleColor
|
|
33986
34004
|
}, /*#__PURE__*/React$1.cloneElement(icon, {
|
|
33987
34005
|
fill: iconColor
|
|
@@ -35397,14 +35415,14 @@ ToggleSwitch.propTypes = {
|
|
|
35397
35415
|
disabled: PropTypes.bool
|
|
35398
35416
|
};
|
|
35399
35417
|
|
|
35400
|
-
const TableWrapper = styled.div`
|
|
35418
|
+
const TableWrapper$1 = styled.div`
|
|
35401
35419
|
width: ${props => props.width};
|
|
35402
35420
|
height: ${props => props.height};
|
|
35403
35421
|
padding: 20px;
|
|
35404
35422
|
background-color: #fff;
|
|
35405
35423
|
box-sizing: border-box;
|
|
35406
35424
|
`;
|
|
35407
|
-
const Table = styled.table`
|
|
35425
|
+
const Table$1 = styled.table`
|
|
35408
35426
|
width: 100%;
|
|
35409
35427
|
margin-top: 24px;
|
|
35410
35428
|
border-spacing: unset;
|
|
@@ -35463,7 +35481,7 @@ const ContainerTable = props => {
|
|
|
35463
35481
|
useEffect(() => {
|
|
35464
35482
|
calculateRows();
|
|
35465
35483
|
}, [height]);
|
|
35466
|
-
return /*#__PURE__*/React$1.createElement(TableWrapper, {
|
|
35484
|
+
return /*#__PURE__*/React$1.createElement(TableWrapper$1, {
|
|
35467
35485
|
ref: TableWrapperRef,
|
|
35468
35486
|
width: width,
|
|
35469
35487
|
height: height
|
|
@@ -35479,7 +35497,7 @@ const ContainerTable = props => {
|
|
|
35479
35497
|
style: {
|
|
35480
35498
|
marginTop: 24
|
|
35481
35499
|
}
|
|
35482
|
-
}), /*#__PURE__*/React$1.createElement(Table, null, /*#__PURE__*/React$1.createElement(Thead, null, /*#__PURE__*/React$1.createElement(StyledRow, null, columnsWidths.map((width, index) => /*#__PURE__*/React$1.createElement(HeaderCell, {
|
|
35500
|
+
}), /*#__PURE__*/React$1.createElement(Table$1, null, /*#__PURE__*/React$1.createElement(Thead, null, /*#__PURE__*/React$1.createElement(StyledRow, null, columnsWidths.map((width, index) => /*#__PURE__*/React$1.createElement(HeaderCell, {
|
|
35483
35501
|
key: `header-cell-${index}`,
|
|
35484
35502
|
width: `${width}px`
|
|
35485
35503
|
}, /*#__PURE__*/React$1.createElement(Skeleton, {
|
|
@@ -35647,5 +35665,162 @@ const MenuRoute = props => {
|
|
|
35647
35665
|
}), /*#__PURE__*/React$1.isValidElement(item.label) ? item.label : item.label))));
|
|
35648
35666
|
};
|
|
35649
35667
|
|
|
35650
|
-
|
|
35668
|
+
const TableWrapper = styled.div`
|
|
35669
|
+
width: ${props => props.width};
|
|
35670
|
+
height: ${props => props.height};
|
|
35671
|
+
background-color: #fff;
|
|
35672
|
+
box-sizing: border-box;
|
|
35673
|
+
font-family: 'Poppins', sans-serif;
|
|
35674
|
+
`;
|
|
35675
|
+
styled.table`
|
|
35676
|
+
width: 100%;
|
|
35677
|
+
margin-top: 24px;
|
|
35678
|
+
border-spacing: unset;
|
|
35679
|
+
`;
|
|
35680
|
+
styled.thead``;
|
|
35681
|
+
styled.th`
|
|
35682
|
+
font-weight: 600;
|
|
35683
|
+
width: ${props => props.width};
|
|
35684
|
+
padding-right: 8px;
|
|
35685
|
+
padding-bottom: 12px;
|
|
35686
|
+
`;
|
|
35687
|
+
styled.tbody``;
|
|
35688
|
+
styled.td`
|
|
35689
|
+
font-weight: 600;
|
|
35690
|
+
width: ${props => props.width};
|
|
35691
|
+
padding-right: 8px;
|
|
35692
|
+
padding-bottom: 12px;
|
|
35693
|
+
`;
|
|
35694
|
+
styled.tr`
|
|
35695
|
+
border-bottom: 1px solid #C8C8C8;
|
|
35696
|
+
`;
|
|
35697
|
+
const NoInfoFound = styled.div`
|
|
35698
|
+
height: 100%;
|
|
35699
|
+
box-sizing: border-box;
|
|
35700
|
+
color: #212121;
|
|
35701
|
+
position: relative;
|
|
35702
|
+
`;
|
|
35703
|
+
const Title = styled.h2`
|
|
35704
|
+
font-size: 24px;
|
|
35705
|
+
font-weight: 500;
|
|
35706
|
+
margin: 0;
|
|
35707
|
+
`;
|
|
35708
|
+
const SubTitle = styled.span`
|
|
35709
|
+
font-size: 14px;
|
|
35710
|
+
color: #8B8989;
|
|
35711
|
+
`;
|
|
35712
|
+
const NoEventsWrapper = styled.div`
|
|
35713
|
+
display: flex;
|
|
35714
|
+
align-items: center;
|
|
35715
|
+
justify-content: center;
|
|
35716
|
+
position: relative;
|
|
35717
|
+
margin-bottom: 14px;
|
|
35718
|
+
`;
|
|
35719
|
+
const NoEventsMessage = styled.span`
|
|
35720
|
+
font-size: 18px;
|
|
35721
|
+
font-weight: 400;
|
|
35722
|
+
margin-bottom: 14px;
|
|
35723
|
+
text-align: center;
|
|
35724
|
+
display: block;
|
|
35725
|
+
> strong {
|
|
35726
|
+
font-size: 24px;
|
|
35727
|
+
font-weight: 500;
|
|
35728
|
+
}
|
|
35729
|
+
`;
|
|
35730
|
+
|
|
35731
|
+
const NoEvents = ({
|
|
35732
|
+
width = '251',
|
|
35733
|
+
height = '250'
|
|
35734
|
+
}) => /*#__PURE__*/React$1.createElement("svg", {
|
|
35735
|
+
width: width,
|
|
35736
|
+
height: height,
|
|
35737
|
+
viewBox: "0 0 251 250",
|
|
35738
|
+
fill: "none",
|
|
35739
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
35740
|
+
}, /*#__PURE__*/React$1.createElement("rect", {
|
|
35741
|
+
x: "0.5",
|
|
35742
|
+
width: "250",
|
|
35743
|
+
height: "250",
|
|
35744
|
+
rx: "125",
|
|
35745
|
+
fill: "#F3F7F7"
|
|
35746
|
+
}), /*#__PURE__*/React$1.createElement("rect", {
|
|
35747
|
+
x: "79.0715",
|
|
35748
|
+
y: "82.0254",
|
|
35749
|
+
width: "91.9643",
|
|
35750
|
+
height: "31.25",
|
|
35751
|
+
fill: "#B4D1D2"
|
|
35752
|
+
}), /*#__PURE__*/React$1.createElement("path", {
|
|
35753
|
+
d: "M201.056 149.717V149.686C201.054 149.691 201.052 149.696 201.052 149.701C201.05 149.696 201.048 149.691 201.047 149.686V149.717C200.635 151.213 199.681 152.283 198.186 152.927C199.681 153.57 200.635 154.64 201.047 156.136V156.167C201.049 156.162 201.051 156.157 201.052 156.152C201.053 156.157 201.055 156.162 201.056 156.167V156.136C201.468 154.64 202.422 153.57 203.917 152.927C202.422 152.283 201.468 151.213 201.056 149.717ZM34.6198 71.7965V71.765C34.618 71.7702 34.6163 71.7755 34.6154 71.7808C34.6136 71.7755 34.6119 71.7702 34.611 71.765V71.7965C34.1985 73.2927 33.2449 74.3625 31.75 75.0059C33.2449 75.6494 34.1985 76.7192 34.611 78.2153V78.2468C34.6127 78.2416 34.6145 78.2363 34.6154 78.2311C34.6171 78.2363 34.6189 78.2416 34.6198 78.2468V78.2153C35.0322 76.7192 35.9859 75.6494 37.4808 75.0059C35.9859 74.3625 35.0322 73.2927 34.6198 71.7965ZM216.389 202.361V202.329C216.387 202.335 216.386 202.34 216.385 202.345C216.383 202.34 216.381 202.335 216.38 202.329V202.361C215.968 203.857 215.014 204.927 213.519 205.57C215.014 206.214 215.968 207.283 216.38 208.78V208.811C216.382 208.806 216.384 208.801 216.385 208.795C216.386 208.801 216.388 208.806 216.389 208.811V208.78C216.801 207.283 217.755 206.214 219.25 205.57C217.755 204.927 216.801 203.857 216.389 202.361ZM182.433 182.494V182.43C182.43 182.442 182.427 182.451 182.424 182.463C182.421 182.451 182.418 182.442 182.415 182.43V182.494C181.59 185.486 179.683 187.626 176.693 188.913C179.683 190.2 181.589 192.34 182.415 195.332V195.396C182.418 195.384 182.421 195.375 182.424 195.363C182.427 195.375 182.43 195.384 182.433 195.396V195.332C183.258 192.34 185.165 190.2 188.155 188.913C185.165 187.626 183.259 185.486 182.433 182.494ZM54.8385 110.651V110.587C54.8359 110.598 54.8324 110.608 54.8298 110.619C54.8271 110.608 54.8236 110.598 54.821 110.587V110.651C53.9961 113.642 52.0887 115.783 49.099 117.07C52.0887 118.357 53.9952 120.497 54.821 123.489V123.552C54.8236 123.541 54.8271 123.531 54.8298 123.52C54.8324 123.531 54.8359 123.541 54.8385 123.552V123.489C55.6635 120.497 57.5708 118.357 60.5605 117.07C57.5708 115.783 55.6643 113.642 54.8385 110.651ZM81.9624 38.3393V38.2754C81.9598 38.2868 81.9563 38.2964 81.9536 38.3078C81.951 38.2964 81.9475 38.2868 81.9449 38.2754V38.3393C81.1199 41.3307 79.2126 43.4712 76.2229 44.7581C79.2126 46.045 81.1191 48.1855 81.9449 51.177V51.2409C81.9475 51.2295 81.951 51.2198 81.9536 51.2085C81.9563 51.2198 81.9598 51.2295 81.9624 51.2409V51.177C82.7873 48.1855 84.6947 46.045 87.6844 44.7581C84.6947 43.4712 82.7882 41.3307 81.9624 38.3393Z",
|
|
35754
|
+
fill: "#F2BB91"
|
|
35755
|
+
}), /*#__PURE__*/React$1.createElement("path", {
|
|
35756
|
+
d: "M49.3076 149.106C49.5096 148.924 49.8322 148.924 50.0342 149.106C50.2444 149.295 50.2443 149.609 50.0342 149.798L41.8711 157.145C41.6691 157.327 41.3465 157.327 41.1445 157.145C40.9344 156.956 40.9342 156.642 41.1445 156.453L49.3076 149.106ZM47.1309 154.494C47.8309 153.864 48.9601 153.864 49.6602 154.494C50.3686 155.131 50.3687 156.171 49.6602 156.809C48.9601 157.439 47.8309 157.439 47.1309 156.809C46.4223 156.171 46.4223 155.131 47.1309 154.494ZM48.9346 155.186C48.6384 154.919 48.1526 154.919 47.8564 155.186C47.5689 155.445 47.5688 155.858 47.8564 156.117C48.1526 156.383 48.6384 156.383 48.9346 156.117C49.2221 155.858 49.222 155.445 48.9346 155.186ZM41.5186 149.442C42.2186 148.812 43.3479 148.812 44.0479 149.442C44.7564 150.08 44.7564 151.121 44.0479 151.758C43.3478 152.388 42.2186 152.388 41.5186 151.758C40.81 151.121 40.81 150.08 41.5186 149.442ZM43.3223 150.134C43.0262 149.868 42.5403 149.868 42.2441 150.134C41.9564 150.393 41.9564 150.807 42.2441 151.066C42.5403 151.332 43.0261 151.332 43.3223 151.066C43.61 150.807 43.61 150.393 43.3223 150.134Z",
|
|
35757
|
+
fill: "#9BC2C3",
|
|
35758
|
+
stroke: "#9BC2C3",
|
|
35759
|
+
"stroke-width": "0.276243"
|
|
35760
|
+
}), /*#__PURE__*/React$1.createElement("path", {
|
|
35761
|
+
d: "M136.808 199.106C137.01 198.924 137.332 198.924 137.534 199.106C137.744 199.295 137.744 199.609 137.534 199.798L129.371 207.145C129.169 207.327 128.846 207.327 128.645 207.145C128.434 206.956 128.434 206.642 128.645 206.453L136.808 199.106ZM134.631 204.494C135.331 203.864 136.46 203.864 137.16 204.494C137.869 205.131 137.869 206.171 137.16 206.809C136.46 207.439 135.331 207.439 134.631 206.809C133.922 206.171 133.922 205.131 134.631 204.494ZM136.435 205.186C136.138 204.919 135.653 204.919 135.356 205.186C135.069 205.445 135.069 205.858 135.356 206.117C135.653 206.383 136.138 206.383 136.435 206.117C136.722 205.858 136.722 205.445 136.435 205.186ZM129.019 199.442C129.719 198.812 130.848 198.812 131.548 199.442C132.256 200.08 132.256 201.121 131.548 201.758C130.848 202.388 129.719 202.388 129.019 201.758C128.31 201.121 128.31 200.08 129.019 199.442ZM130.822 200.134C130.526 199.868 130.04 199.868 129.744 200.134C129.456 200.393 129.456 200.807 129.744 201.066C130.04 201.332 130.526 201.332 130.822 201.066C131.11 200.807 131.11 200.393 130.822 200.134Z",
|
|
35762
|
+
fill: "#9BC2C3",
|
|
35763
|
+
stroke: "#9BC2C3",
|
|
35764
|
+
"stroke-width": "0.276243"
|
|
35765
|
+
}), /*#__PURE__*/React$1.createElement("path", {
|
|
35766
|
+
d: "M147.872 44.6279C148.041 44.4584 148.317 44.4584 148.486 44.6279C148.655 44.7974 148.655 45.0717 148.486 45.2412L142.172 51.5557C142.002 51.725 141.728 51.725 141.558 51.5557C141.389 51.3861 141.389 51.1109 141.558 50.9414L147.872 44.6279ZM146.188 49.2578C146.743 48.703 147.642 48.703 148.197 49.2578C148.752 49.8126 148.752 50.7118 148.197 51.2666C147.642 51.8214 146.743 51.8214 146.188 51.2666C145.633 50.7118 145.633 49.8126 146.188 49.2578ZM147.584 49.8711C147.368 49.6553 147.017 49.6553 146.802 49.8711C146.586 50.0868 146.586 50.4376 146.802 50.6533C147.017 50.8691 147.368 50.8691 147.584 50.6533C147.8 50.4376 147.8 50.0868 147.584 49.8711ZM141.847 44.917C142.402 44.3622 143.301 44.3622 143.856 44.917C144.411 45.4718 144.411 46.371 143.856 46.9258C143.301 47.4805 142.402 47.4804 141.847 46.9258C141.293 46.371 141.293 45.4718 141.847 44.917ZM143.242 45.5303C143.026 45.3148 142.676 45.3146 142.461 45.5303C142.245 45.7459 142.245 46.0957 142.461 46.3115C142.676 46.5273 143.026 46.5273 143.242 46.3115C143.458 46.0958 143.458 45.746 143.242 45.5303Z",
|
|
35767
|
+
fill: "#9BC2C3",
|
|
35768
|
+
stroke: "#9BC2C3",
|
|
35769
|
+
"stroke-width": "0.276243"
|
|
35770
|
+
}), /*#__PURE__*/React$1.createElement("path", {
|
|
35771
|
+
d: "M104.824 204.819V204.853C105.322 206.447 106.47 207.587 108.272 208.272C106.47 208.958 105.321 210.098 104.824 211.691V211.725C104.822 211.719 104.82 211.714 104.819 211.708C104.817 211.714 104.815 211.719 104.813 211.725V211.691C104.316 210.098 103.167 208.958 101.366 208.272C103.167 207.587 104.316 206.447 104.813 204.853V204.819C104.815 204.825 104.817 204.831 104.819 204.837C104.82 204.831 104.822 204.825 104.824 204.819Z",
|
|
35772
|
+
fill: "#F2BB91"
|
|
35773
|
+
}), /*#__PURE__*/React$1.createElement("path", {
|
|
35774
|
+
d: "M170.333 116.525H81.4886V168.301C81.4886 172.916 85.0486 176.335 89.0397 176.335H162.782C166.773 176.335 170.333 172.916 170.333 168.301V116.525ZM143.996 91.7463V83.7126H107.825V91.7463C107.824 93.3501 106.49 94.65 104.842 94.65C103.194 94.65 101.859 93.3501 101.858 91.7463V83.7126H89.0397C85.0486 83.7126 81.4886 87.1311 81.4886 91.7463V110.714H170.333V91.7463C170.333 87.1311 166.773 83.7126 162.782 83.7126H149.963V91.7463C149.962 93.3501 148.628 94.65 146.98 94.65C145.332 94.65 143.997 93.3501 143.996 91.7463ZM176.3 168.301C176.3 175.766 170.427 182.142 162.782 182.142H89.0397C81.3947 182.142 75.5217 175.766 75.5217 168.301V91.7463C75.5217 84.2812 81.3947 77.9018 89.0397 77.9018H101.858V69.8715C101.858 68.2671 103.193 66.9678 104.842 66.9678C106.49 66.9678 107.825 68.2671 107.825 69.8715V77.9018H143.996V69.8715C143.996 68.2671 145.331 66.9678 146.98 66.9678C148.628 66.9678 149.963 68.2671 149.963 69.8715V77.9018H162.782C170.427 77.9018 176.3 84.2812 176.3 91.7463V168.301Z",
|
|
35775
|
+
fill: "#519595"
|
|
35776
|
+
}), /*#__PURE__*/React$1.createElement("path", {
|
|
35777
|
+
"fill-rule": "evenodd",
|
|
35778
|
+
"clip-rule": "evenodd",
|
|
35779
|
+
d: "M114.622 129.954C116.552 129.954 118.356 130.941 119.55 132.411L120.021 133.068L120.039 133.093L120.049 133.117C121.121 135.065 121.132 137.505 120.039 139.391L120.032 139.405C118.863 141.349 116.806 142.537 114.622 142.537C112.644 142.537 110.817 141.634 109.607 140.101L109.129 139.405L109.118 139.391L109.122 139.388C108.03 137.502 108.039 135.064 109.111 133.117L109.122 133.093L109.139 133.068C110.298 131.237 112.341 129.954 114.622 129.954ZM114.622 139.841C116.534 139.841 118.221 138.278 118.221 136.245C118.221 134.315 116.552 132.65 114.622 132.65C112.59 132.65 111.023 134.334 111.023 136.245C111.023 138.26 112.608 139.841 114.622 139.841Z",
|
|
35780
|
+
fill: "#519595"
|
|
35781
|
+
}), /*#__PURE__*/React$1.createElement("path", {
|
|
35782
|
+
d: "M138.966 130.358C139.839 129.795 141.08 129.89 141.831 130.639C142.581 131.389 142.675 132.628 142.112 133.5L141.831 133.848L112.137 163.503C111.28 164.359 109.782 164.359 108.925 163.503C108.067 162.646 108.067 161.151 108.925 160.294L138.618 130.639L138.966 130.358Z",
|
|
35783
|
+
fill: "#519595"
|
|
35784
|
+
}), /*#__PURE__*/React$1.createElement("path", {
|
|
35785
|
+
"fill-rule": "evenodd",
|
|
35786
|
+
"clip-rule": "evenodd",
|
|
35787
|
+
d: "M141.145 153.978C139.951 152.508 138.147 151.521 136.217 151.521C133.936 151.521 131.893 152.804 130.734 154.635L130.717 154.66L130.706 154.684C129.635 156.631 129.622 159.073 130.713 160.958L130.724 160.972C131.896 162.923 133.957 164.104 136.217 164.104C138.402 164.104 140.458 162.916 141.627 160.972L141.634 160.958C142.727 159.072 142.717 156.632 141.644 154.684L141.634 154.66L141.616 154.635L141.145 153.978ZM136.217 161.408C138.129 161.408 139.817 159.845 139.817 157.813C139.817 155.882 138.147 154.217 136.217 154.217C134.185 154.217 132.618 155.901 132.618 157.813C132.618 159.827 134.203 161.408 136.217 161.408Z",
|
|
35788
|
+
fill: "#519595"
|
|
35789
|
+
}), /*#__PURE__*/React$1.createElement("circle", {
|
|
35790
|
+
cx: "171.036",
|
|
35791
|
+
cy: "176.668",
|
|
35792
|
+
r: "22.3214",
|
|
35793
|
+
fill: "#F3F7F7",
|
|
35794
|
+
stroke: "#519595",
|
|
35795
|
+
"stroke-width": "5.35714"
|
|
35796
|
+
}), /*#__PURE__*/React$1.createElement("path", {
|
|
35797
|
+
d: "M185.4 175.847C185.735 176.182 185.924 176.637 185.924 177.111C185.924 177.585 185.736 178.04 185.4 178.375C185.065 178.711 184.61 178.899 184.136 178.899L173.279 178.897L173.281 189.754C173.273 190.223 173.081 190.67 172.746 190.999C172.412 191.327 171.962 191.511 171.493 191.511C171.024 191.511 170.574 191.327 170.239 190.998C169.905 190.67 169.713 190.223 169.704 189.754L169.703 178.896L158.845 178.894C158.608 178.898 158.372 178.855 158.151 178.767C157.931 178.679 157.73 178.548 157.56 178.381C157.391 178.215 157.256 178.016 157.164 177.797C157.073 177.578 157.025 177.343 157.025 177.106C157.025 176.868 157.072 176.633 157.164 176.414C157.256 176.195 157.39 175.997 157.56 175.83C157.729 175.664 157.93 175.533 158.15 175.445C158.371 175.357 158.607 175.314 158.844 175.318L169.702 175.32L169.7 164.463C169.708 163.994 169.9 163.547 170.234 163.218C170.569 162.89 171.019 162.705 171.488 162.706C171.957 162.706 172.407 162.89 172.741 163.219C173.076 163.547 173.268 163.994 173.276 164.463L173.278 175.321L184.136 175.323C184.61 175.323 185.065 175.511 185.4 175.847Z",
|
|
35798
|
+
fill: "#519595"
|
|
35799
|
+
}));
|
|
35800
|
+
|
|
35801
|
+
const Table = props => {
|
|
35802
|
+
const {
|
|
35803
|
+
width = '100%',
|
|
35804
|
+
height = 'auto',
|
|
35805
|
+
tableTitle = 'All Events',
|
|
35806
|
+
data = [],
|
|
35807
|
+
onButtonClick = () => {},
|
|
35808
|
+
buttonColor = '#066768',
|
|
35809
|
+
buttonHoverColor = '#388586'
|
|
35810
|
+
} = props;
|
|
35811
|
+
return /*#__PURE__*/React$1.createElement(TableWrapper, {
|
|
35812
|
+
width: width,
|
|
35813
|
+
height: height
|
|
35814
|
+
}, data.length === 0 ? /*#__PURE__*/React$1.createElement(NoInfoFound, null, /*#__PURE__*/React$1.createElement(Title, null, tableTitle), /*#__PURE__*/React$1.createElement(SubTitle, null, "No Events"), /*#__PURE__*/React$1.createElement(NoEventsWrapper, null, /*#__PURE__*/React$1.createElement(NoEvents, null)), /*#__PURE__*/React$1.createElement(NoEventsMessage, null, /*#__PURE__*/React$1.createElement("strong", null, "You haven\u2019t created any events yet"), /*#__PURE__*/React$1.createElement("br", null), "Let\u2019s get started and create your first one!"), /*#__PURE__*/React$1.createElement(Button$1, {
|
|
35815
|
+
height: "45px",
|
|
35816
|
+
leftIcon: "Plus",
|
|
35817
|
+
text: "New Event",
|
|
35818
|
+
borderRadius: "12px",
|
|
35819
|
+
backgroundColor: buttonColor,
|
|
35820
|
+
hoverBackgroundColor: buttonHoverColor,
|
|
35821
|
+
onClick: onButtonClick
|
|
35822
|
+
})) : /*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement(Title, null, tableTitle), /*#__PURE__*/React$1.createElement(SubTitle, null, data.length, " Events")));
|
|
35823
|
+
};
|
|
35824
|
+
|
|
35825
|
+
export { AreaChart, BannerEventBoxList, BarChart, BarChartTwoRows, BarChartWithAreaChart, BarChartsByWeeks, BatteryChart, BreakdownPanel, BrushChart, BubbleChart, Build, Button$1 as Button, CollapseData, CollapseHeader, ContainerTable, DialogOverlay, DoubleBarSingleLine, DoublePanelDataRow, DownloadProgress, DropdownNew, EventDetailsCard, EventList, Execute, FilterPanel, Heatmap, IconButton, Input, InsightsCarousel, LinkButton, LinnerDataBox, MarketShareDescription, MenuRoute, ModalWithOverlay, OneColumnContainer, PerformanceAnalyticsLegend, PieChart, PopupCharts, QuickFilter, ReportTable, SingleBarLineCharts, TabMenu, Table, ToggleSwitch, TopToggleList, TotalDoughnutChart, TotalHorizontalCharts, Track, TwoBarCharts, WeeksPicker };
|
|
35651
35826
|
//# sourceMappingURL=index.esm.js.map
|