@mw-kit/mw-ui 1.7.55 → 1.7.57
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/components/Input/components/Range/styles/Input/index.d.ts +2 -0
- package/dist/components/Input/components/Range/styles/InputContainer/index.d.ts +6 -0
- package/dist/components/Input/components/Range/styles/Label/index.d.ts +8 -0
- package/dist/components/Input/components/Range/styles/LabelContainer/index.d.ts +2 -0
- package/dist/components/Input/components/Range/styles/LabelsContainer/index.d.ts +6 -0
- package/dist/components/Input/components/Range/styles/Marker/index.d.ts +7 -0
- package/dist/components/Input/components/Range/styles/MarkersContainer/index.d.ts +2 -0
- package/dist/components/Input/components/Range/styles/MinMaxLabelContainer/index.d.ts +2 -0
- package/dist/components/Input/components/Range/styles/NavBar/index.d.ts +5 -0
- package/dist/components/Input/components/Range/styles/SelectedArea/index.d.ts +6 -0
- package/dist/components/Input/components/Range/styles/index.d.ts +10 -0
- package/dist/index.js +375 -308
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +375 -308
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
- package/dist/components/Input/components/Range/styles.d.ts +0 -33
package/dist/index.js
CHANGED
|
@@ -200,9 +200,20 @@ var keys = function keys(value) {
|
|
|
200
200
|
var notEmptyString = function notEmptyString(value) {
|
|
201
201
|
return typeof value === 'string' && value.trim() !== '';
|
|
202
202
|
};
|
|
203
|
+
var isNumber = function isNumber(value) {
|
|
204
|
+
return typeof value === 'number' && isFinite(value);
|
|
205
|
+
};
|
|
206
|
+
var isNumeric = function isNumeric(value) {
|
|
207
|
+
if (isNumber(value)) return true;
|
|
208
|
+
if (!isString(value)) return false;
|
|
209
|
+
return !isNaN(parseFloat(value));
|
|
210
|
+
};
|
|
203
211
|
var isBoolean = function isBoolean(value) {
|
|
204
212
|
return typeof value === 'boolean';
|
|
205
213
|
};
|
|
214
|
+
var isNumericString = function isNumericString(value) {
|
|
215
|
+
return notEmptyString(value) && isNumeric(value);
|
|
216
|
+
};
|
|
206
217
|
var isString = function isString(value) {
|
|
207
218
|
return typeof value === 'string';
|
|
208
219
|
};
|
|
@@ -324,6 +335,11 @@ var filterObject = function filterObject(object, remove, inital) {
|
|
|
324
335
|
}, inital);
|
|
325
336
|
return r;
|
|
326
337
|
};
|
|
338
|
+
var numberOrDefault = function numberOrDefault(value, defaultValue) {
|
|
339
|
+
if (isNumber(value)) return value;
|
|
340
|
+
if (isNumericString(value)) return parseFloat(value);
|
|
341
|
+
return defaultValue;
|
|
342
|
+
};
|
|
327
343
|
var isoStringToDate = function isoStringToDate(value) {
|
|
328
344
|
var _value$split = value.split(' '),
|
|
329
345
|
d = _value$split[0],
|
|
@@ -15614,8 +15630,8 @@ var Switch = function Switch(props) {
|
|
|
15614
15630
|
})), React__default.createElement("span", null), label.after && React__default.createElement(LabelContainer$3, null, label.after));
|
|
15615
15631
|
};
|
|
15616
15632
|
|
|
15617
|
-
var _templateObject$q, _templateObject2$m
|
|
15618
|
-
var bullet = styled.css(_templateObject$q || (_templateObject$q = _taggedTemplateLiteralLoose(["\n appearance: none;\n width: ", ";\n height: ", ";\n border-radius: 100%;\n border-width: 1px;\n border-style: solid;\n
|
|
15633
|
+
var _templateObject$q, _templateObject2$m;
|
|
15634
|
+
var bullet = styled.css(_templateObject$q || (_templateObject$q = _taggedTemplateLiteralLoose(["\n appearance: none;\n width: ", ";\n height: ", ";\n border-radius: 100%;\n border-width: 1px;\n border-style: solid;\n box-shadow: 0px 1px 3px ", ";\n\n background-color: ", ";\n\n transition: background-color 0.2s ease-in-out;\n"])), function (_ref) {
|
|
15619
15635
|
var theme = _ref.theme;
|
|
15620
15636
|
return theme.spacings.s4;
|
|
15621
15637
|
}, function (_ref2) {
|
|
@@ -15623,95 +15639,131 @@ var bullet = styled.css(_templateObject$q || (_templateObject$q = _taggedTemplat
|
|
|
15623
15639
|
return theme.spacings.s4;
|
|
15624
15640
|
}, function (_ref3) {
|
|
15625
15641
|
var theme = _ref3.theme;
|
|
15626
|
-
return theme.colors.white;
|
|
15627
|
-
}, function (_ref4) {
|
|
15628
|
-
var theme = _ref4.theme;
|
|
15629
15642
|
return theme.getColor('black', 10);
|
|
15643
|
+
}, function (props) {
|
|
15644
|
+
var theme = props.theme;
|
|
15645
|
+
var min = numberOrDefault(props.min, 0);
|
|
15646
|
+
var value = numberOrDefault(props.value, 0);
|
|
15647
|
+
return theme.colors[min > 0 || value > min ? 'blue' : 'white'];
|
|
15630
15648
|
});
|
|
15631
|
-
var
|
|
15632
|
-
|
|
15649
|
+
var Input$2 = styled__default.input(_templateObject2$m || (_templateObject2$m = _taggedTemplateLiteralLoose(["\n appearance: none;\n width: 100%;\n height: 10px;\n background-color: transparent;\n outline: none;\n position: relative;\n z-index: 3;\n margin: 0;\n\n :not(:disabled) {\n cursor: pointer;\n }\n\n /** firefox */\n ::-moz-range-thumb {\n ", "\n }\n /** ie */\n ::-ms-thumb {\n ", "\n }\n /** chrome */\n ::-webkit-slider-thumb {\n ", "\n }\n"])), bullet, bullet, bullet);
|
|
15650
|
+
|
|
15651
|
+
var _templateObject$r;
|
|
15652
|
+
var SelectedArea = styled__default.div(_templateObject$r || (_templateObject$r = _taggedTemplateLiteralLoose(["\n background-color: ", ";\n\n height: 3px;\n width: 100%;\n position: absolute;\n bottom: calc(50% - 2px);\n left: 0;\n display: flex;\n z-index: 1;\n\n > span {\n width: ", "%;\n display: block;\n box-sizing: border-box;\n height: 100%;\n }\n"])), function (_ref) {
|
|
15653
|
+
var theme = _ref.theme;
|
|
15654
|
+
return theme.getColor('greyishBlue', 10);
|
|
15655
|
+
}, function (_ref2) {
|
|
15656
|
+
var percent = _ref2.percent;
|
|
15657
|
+
return percent;
|
|
15658
|
+
});
|
|
15659
|
+
|
|
15660
|
+
var _templateObject$s, _templateObject2$n, _templateObject3$i;
|
|
15661
|
+
var InputContainer$1 = styled__default.div(_templateObject$s || (_templateObject$s = _taggedTemplateLiteralLoose(["\n flex: 1;\n display: flex;\n gap: 6px;\n\n > div {\n position: relative;\n }\n\n ", "\n"])), function (_ref) {
|
|
15662
|
+
var theme = _ref.theme,
|
|
15663
|
+
invalid = _ref.invalid;
|
|
15664
|
+
|
|
15665
|
+
if (!invalid) {
|
|
15666
|
+
return styled.css(_templateObject2$n || (_templateObject2$n = _taggedTemplateLiteralLoose(["\n ", " > span {\n background-color: ", ";\n }\n\n ", " {\n /** firefox */\n ::-moz-range-thumb {\n border-color: ", ";\n }\n /** ie */\n ::-ms-thumb {\n border-color: ", ";\n }\n /** chrome */\n ::-webkit-slider-thumb {\n border-color: ", ";\n }\n }\n "])), SelectedArea, theme.colors.blue, Input$2, theme.colors.lightestGrey, theme.colors.lightestGrey, theme.colors.lightestGrey);
|
|
15667
|
+
}
|
|
15668
|
+
|
|
15669
|
+
return styled.css(_templateObject3$i || (_templateObject3$i = _taggedTemplateLiteralLoose(["\n ", " > span {\n background-color: ", ";\n }\n\n ", " {\n /** firefox */\n ::-moz-range-thumb {\n border-color: ", ";\n }\n /** ie */\n ::-ms-thumb {\n border-color: ", ";\n }\n /** chrome */\n ::-webkit-slider-thumb {\n border-color: ", ";\n }\n }\n "])), SelectedArea, theme.colors.warningRed, Input$2, theme.colors.warningRed, theme.colors.warningRed, theme.colors.warningRed);
|
|
15670
|
+
});
|
|
15671
|
+
|
|
15672
|
+
var _templateObject$t;
|
|
15673
|
+
var LabelContainer$4 = styled__default.div(_templateObject$t || (_templateObject$t = _taggedTemplateLiteralLoose(["\n display: inline-block;\n margin-bottom: ", ";\n"])), function (_ref) {
|
|
15674
|
+
var theme = _ref.theme;
|
|
15633
15675
|
return theme.spacings.s1;
|
|
15634
|
-
}
|
|
15635
|
-
|
|
15636
|
-
|
|
15676
|
+
});
|
|
15677
|
+
|
|
15678
|
+
var _templateObject$u, _templateObject2$o, _templateObject3$j;
|
|
15679
|
+
var NavBar = styled__default.div(_templateObject$u || (_templateObject$u = _taggedTemplateLiteralLoose(["\n position: absolute;\n z-index: 2;\n\n left: 0;\n width: 100%;\n height: calc(33px + ", ");\n transition: height 0.25s ease-in-out;\n overflow: hidden;\n\n ", "\n\n > div:nth-child(1) {\n position: absolute;\n z-index: 2;\n\n width: 100px;\n background-color: ", ";\n color: ", ";\n padding: ", ";\n border-radius: 4px;\n\n display: flex;\n align-items: center;\n justify-content: space-between;\n }\n\n > div:nth-child(2) {\n position: absolute;\n\n width: ", ";\n height: ", ";\n border-radius: 2px 0 0 0;\n\n transform: rotate(45deg);\n\n background-color: ", ";\n }\n"])), function (_ref) {
|
|
15680
|
+
var theme = _ref.theme;
|
|
15681
|
+
return theme.spacings.s3;
|
|
15682
|
+
}, function (_ref2) {
|
|
15683
|
+
var position = _ref2.position;
|
|
15684
|
+
return position === 'bottom' ? styled.css(_templateObject2$o || (_templateObject2$o = _taggedTemplateLiteralLoose(["\n bottom: calc(100% + ", ");\n > div:nth-child(1) {\n bottom: ", ";\n }\n\n > div:nth-child(2) {\n top: calc(\n (100% - 19.8px / 2) - ", "\n );\n }\n "])), function (_ref3) {
|
|
15685
|
+
var theme = _ref3.theme;
|
|
15686
|
+
return theme.spacings.s1;
|
|
15687
|
+
}, function (_ref4) {
|
|
15688
|
+
var theme = _ref4.theme;
|
|
15689
|
+
return theme.spacings.s1;
|
|
15690
|
+
}, function (_ref5) {
|
|
15691
|
+
var theme = _ref5.theme;
|
|
15692
|
+
return theme.spacings.s1;
|
|
15693
|
+
}) : styled.css(_templateObject3$j || (_templateObject3$j = _taggedTemplateLiteralLoose(["\n top: calc(100% + ", ");\n > div:nth-child(1) {\n top: ", ";\n }\n\n > div:nth-child(2) {\n bottom: calc(\n (100% - 19.8px / 2) - ", "\n );\n }\n "])), function (_ref6) {
|
|
15694
|
+
var theme = _ref6.theme;
|
|
15695
|
+
return theme.spacings.s1;
|
|
15696
|
+
}, function (_ref7) {
|
|
15637
15697
|
var theme = _ref7.theme;
|
|
15638
15698
|
return theme.spacings.s1;
|
|
15639
|
-
}
|
|
15699
|
+
}, function (_ref8) {
|
|
15640
15700
|
var theme = _ref8.theme;
|
|
15641
15701
|
return theme.spacings.s1;
|
|
15642
15702
|
});
|
|
15643
15703
|
}, function (_ref9) {
|
|
15644
|
-
var
|
|
15645
|
-
|
|
15646
|
-
if (percent > 90) return 'calc(100% - 100px)';
|
|
15647
|
-
return "calc(" + percent + "% - 50px + 22px * " + (50 - percent) / 100 + ")";
|
|
15704
|
+
var theme = _ref9.theme;
|
|
15705
|
+
return theme.colors.blue;
|
|
15648
15706
|
}, function (_ref10) {
|
|
15649
15707
|
var theme = _ref10.theme;
|
|
15650
|
-
return theme.colors.
|
|
15708
|
+
return theme.colors.white;
|
|
15651
15709
|
}, function (_ref11) {
|
|
15652
15710
|
var theme = _ref11.theme;
|
|
15653
|
-
return theme.
|
|
15711
|
+
return theme.spacings.s1;
|
|
15654
15712
|
}, function (_ref12) {
|
|
15655
15713
|
var theme = _ref12.theme;
|
|
15656
|
-
return theme.spacings.
|
|
15657
|
-
})
|
|
15658
|
-
var Input$2 = styled__default.input(_templateObject5$b || (_templateObject5$b = _taggedTemplateLiteralLoose(["\n appearance: none;\n width: 100%;\n height: 10px;\n background-color: transparent;\n outline: none;\n position: relative;\n z-index: 3;\n margin: 0;\n\n :not(:disabled) {\n cursor: pointer;\n }\n\n /** firefox */\n ::-moz-range-thumb {\n ", "\n }\n /** ie */\n ::-ms-thumb {\n ", "\n }\n /** chrome */\n ::-webkit-slider-thumb {\n ", "\n }\n"])), bullet, bullet, bullet);
|
|
15659
|
-
var LabelContainer$4 = styled__default.div(_templateObject6$a || (_templateObject6$a = _taggedTemplateLiteralLoose(["\n display: inline-block;\n margin-bottom: ", ";\n"])), function (_ref13) {
|
|
15714
|
+
return theme.spacings.s3;
|
|
15715
|
+
}, function (_ref13) {
|
|
15660
15716
|
var theme = _ref13.theme;
|
|
15661
|
-
return theme.spacings.
|
|
15662
|
-
})
|
|
15663
|
-
var Label$5 = styled__default.label(_templateObject7$a || (_templateObject7$a = _taggedTemplateLiteralLoose(["\n ", ";\n line-height: 19px;\n\n width: ", ";\n box-sizing: border-box;\n display: block;\n position: relative;\n\n ", "\n\n > ", " {\n ", "\n }\n\n :not(:hover) ", " {\n height: 0;\n }\n"])), function (_ref14) {
|
|
15717
|
+
return theme.spacings.s3;
|
|
15718
|
+
}, function (_ref14) {
|
|
15664
15719
|
var theme = _ref14.theme;
|
|
15720
|
+
return theme.colors.blue;
|
|
15721
|
+
});
|
|
15722
|
+
|
|
15723
|
+
var _templateObject$v, _templateObject2$p, _templateObject3$k;
|
|
15724
|
+
var Label$5 = styled__default.label(_templateObject$v || (_templateObject$v = _taggedTemplateLiteralLoose(["\n ", ";\n line-height: 19px;\n\n width: ", ";\n box-sizing: border-box;\n display: block;\n position: relative;\n\n ", "\n\n > ", " {\n ", "\n }\n\n :not(:hover) ", " {\n height: 0;\n }\n"])), function (_ref) {
|
|
15725
|
+
var theme = _ref.theme;
|
|
15665
15726
|
return theme.useTypography('p');
|
|
15666
|
-
}, function (
|
|
15667
|
-
var width =
|
|
15727
|
+
}, function (_ref2) {
|
|
15728
|
+
var width = _ref2.width;
|
|
15668
15729
|
return width || '100%';
|
|
15669
|
-
}, function (
|
|
15670
|
-
var disabled =
|
|
15730
|
+
}, function (_ref3) {
|
|
15731
|
+
var disabled = _ref3.disabled;
|
|
15671
15732
|
if (!disabled) return;
|
|
15672
|
-
return styled.css(
|
|
15673
|
-
}, LabelContainer$4, function (
|
|
15674
|
-
var required =
|
|
15675
|
-
return required && styled.css(
|
|
15733
|
+
return styled.css(_templateObject2$p || (_templateObject2$p = _taggedTemplateLiteralLoose(["\n opacity: 0.5;\n "])));
|
|
15734
|
+
}, LabelContainer$4, function (_ref4) {
|
|
15735
|
+
var required = _ref4.required;
|
|
15736
|
+
return required && styled.css(_templateObject3$k || (_templateObject3$k = _taggedTemplateLiteralLoose(["\n :after {\n content: ' *';\n }\n "])));
|
|
15676
15737
|
}, NavBar);
|
|
15677
|
-
var InputContainer$1 = styled__default.div(_templateObject10$7 || (_templateObject10$7 = _taggedTemplateLiteralLoose(["\n flex: 1;\n display: flex;\n gap: 6px;\n\n > div {\n position: relative;\n }\n\n ", "\n"])), function (_ref18) {
|
|
15678
|
-
var theme = _ref18.theme,
|
|
15679
|
-
invalid = _ref18.invalid;
|
|
15680
|
-
|
|
15681
|
-
if (!invalid) {
|
|
15682
|
-
return styled.css(_templateObject11$4 || (_templateObject11$4 = _taggedTemplateLiteralLoose(["\n ", " > span {\n background-color: ", ";\n }\n\n ", " {\n /** firefox */\n ::-moz-range-thumb {\n border-color: ", ";\n }\n /** ie */\n ::-ms-thumb {\n border-color: ", ";\n }\n /** chrome */\n ::-webkit-slider-thumb {\n border-color: ", ";\n }\n }\n "])), SelectedArea, theme.colors.blue, Input$2, theme.colors.lightestGrey, theme.colors.lightestGrey, theme.colors.lightestGrey);
|
|
15683
|
-
}
|
|
15684
15738
|
|
|
15685
|
-
|
|
15739
|
+
var _templateObject$w, _templateObject2$q;
|
|
15740
|
+
var Marker = styled__default.div(_templateObject$w || (_templateObject$w = _taggedTemplateLiteralLoose(["\n position: absolute;\n top: 0;\n width: 40px;\n text-align: center;\n left: ", ";\n z-index: 2;\n\n :first-child {\n left: 0;\n text-align: left;\n\n :after {\n left: 0;\n }\n }\n :last-child {\n right: 0;\n left: unset;\n text-align: right;\n\n :after {\n right: 0;\n left: unset;\n }\n }\n\n ", "\n"])), function (_ref) {
|
|
15741
|
+
var left = _ref.left;
|
|
15742
|
+
return left;
|
|
15743
|
+
}, function (_ref2) {
|
|
15744
|
+
var bullet = _ref2.bullet,
|
|
15745
|
+
theme = _ref2.theme;
|
|
15746
|
+
if (!bullet) return;
|
|
15747
|
+
return styled.css(_templateObject2$q || (_templateObject2$q = _taggedTemplateLiteralLoose(["\n :after {\n content: '';\n position: absolute;\n left: calc(50% - 5px);\n width: 10px;\n height: 10px;\n border-radius: 100%;\n border: 1px solid ", ";\n background-color: ", ";\n box-shadow: 0px 1px 3px ", ";\n }\n "])), theme.colors.lightestGrey, theme.colors.white, theme.getColor('black', 10));
|
|
15686
15748
|
});
|
|
15687
|
-
|
|
15688
|
-
var
|
|
15689
|
-
|
|
15749
|
+
|
|
15750
|
+
var _templateObject$x;
|
|
15751
|
+
var MinMaxLabelContainer = styled__default.div(_templateObject$x || (_templateObject$x = _taggedTemplateLiteralLoose(["\n display: flex;\n padding-bottom: 2px;\n"])));
|
|
15752
|
+
|
|
15753
|
+
var _templateObject$y, _templateObject2$r, _templateObject3$l;
|
|
15754
|
+
var LabelsContainer = styled__default.div(_templateObject$y || (_templateObject$y = _taggedTemplateLiteralLoose(["\n display: flex;\n gap: 7px;\n\n ", "\n"])), function (_ref) {
|
|
15755
|
+
var position = _ref.position;
|
|
15690
15756
|
|
|
15691
15757
|
if (position === 'bottom') {
|
|
15692
|
-
return styled.css(
|
|
15758
|
+
return styled.css(_templateObject2$r || (_templateObject2$r = _taggedTemplateLiteralLoose(["\n ", " {\n flex-direction: column-reverse;\n }\n\n ", " {\n :after {\n bottom: calc(100% + 10.5px);\n }\n }\n\n ", " {\n align-items: start;\n }\n "])), InputContainer$1, Marker, MinMaxLabelContainer);
|
|
15693
15759
|
}
|
|
15694
15760
|
|
|
15695
|
-
return styled.css(
|
|
15696
|
-
});
|
|
15697
|
-
var SelectedArea = styled__default.div(_templateObject17$2 || (_templateObject17$2 = _taggedTemplateLiteralLoose(["\n background-color: ", ";\n\n height: 3px;\n width: 100%;\n position: absolute;\n bottom: calc(50% - 2px);\n left: 0;\n display: flex;\n z-index: 1;\n\n > span {\n width: ", "%;\n display: block;\n box-sizing: border-box;\n height: 100%;\n }\n"])), function (_ref20) {
|
|
15698
|
-
var theme = _ref20.theme;
|
|
15699
|
-
return theme.getColor('greyishBlue', 10);
|
|
15700
|
-
}, function (_ref21) {
|
|
15701
|
-
var percent = _ref21.percent;
|
|
15702
|
-
return percent;
|
|
15703
|
-
});
|
|
15704
|
-
var MarkersContainer = styled__default.div(_templateObject18$2 || (_templateObject18$2 = _taggedTemplateLiteralLoose(["\n height: 17px;\n"])));
|
|
15705
|
-
var Marker = styled__default.div(_templateObject19$2 || (_templateObject19$2 = _taggedTemplateLiteralLoose(["\n position: absolute;\n top: 0;\n width: 40px;\n text-align: center;\n left: ", ";\n z-index: 2;\n\n :first-child {\n left: 0;\n text-align: left;\n\n :after {\n left: 0;\n }\n }\n :last-child {\n right: 0;\n left: unset;\n text-align: right;\n\n :after {\n right: 0;\n left: unset;\n }\n }\n\n ", "\n"])), function (_ref22) {
|
|
15706
|
-
var left = _ref22.left;
|
|
15707
|
-
return left;
|
|
15708
|
-
}, function (_ref23) {
|
|
15709
|
-
var bullet = _ref23.bullet,
|
|
15710
|
-
theme = _ref23.theme;
|
|
15711
|
-
if (!bullet) return;
|
|
15712
|
-
return styled.css(_templateObject20$1 || (_templateObject20$1 = _taggedTemplateLiteralLoose(["\n :after {\n content: '';\n position: absolute;\n left: calc(50% - 5px);\n width: 10px;\n height: 10px;\n border-radius: 100%;\n border: 1px solid ", ";\n background-color: ", ";\n box-shadow: 0px 1px 3px ", ";\n }\n "])), theme.colors.lightestGrey, theme.colors.white, theme.getColor('black', 10));
|
|
15761
|
+
return styled.css(_templateObject3$l || (_templateObject3$l = _taggedTemplateLiteralLoose(["\n ", " {\n flex-direction: column;\n }\n\n ", " {\n :after {\n top: calc(100% + 8px);\n }\n }\n\n ", " {\n align-items: end;\n }\n "])), InputContainer$1, Marker, MinMaxLabelContainer);
|
|
15713
15762
|
});
|
|
15714
15763
|
|
|
15764
|
+
var _templateObject$z;
|
|
15765
|
+
var MarkersContainer = styled__default.div(_templateObject$z || (_templateObject$z = _taggedTemplateLiteralLoose(["\n height: 17px;\n"])));
|
|
15766
|
+
|
|
15715
15767
|
var getMarkers = function getMarkers(props) {
|
|
15716
15768
|
if (props.markers && 'markers' in props.markers) {
|
|
15717
15769
|
var _strict = props.markers.strict;
|
|
@@ -15782,16 +15834,24 @@ var getMarkers = function getMarkers(props) {
|
|
|
15782
15834
|
};
|
|
15783
15835
|
};
|
|
15784
15836
|
|
|
15785
|
-
var
|
|
15837
|
+
var getMarkerLeft = function getMarkerLeft(markers, range, index, value, min, strict) {
|
|
15786
15838
|
var z = markers - 2;
|
|
15787
15839
|
if (z < markers - 1) z = markers - 1;
|
|
15788
15840
|
var y = 20 / z;
|
|
15789
15841
|
var x = 20 - y * (z - index);
|
|
15790
|
-
var p = index *
|
|
15842
|
+
var p = strict ? index * 100 / range : (value - min) * 100 / range;
|
|
15791
15843
|
var left = "calc(" + p + "% - 10px - " + x + "px)";
|
|
15792
15844
|
return left;
|
|
15793
15845
|
};
|
|
15794
15846
|
|
|
15847
|
+
var getBarLeft = function getBarLeft(size, percent) {
|
|
15848
|
+
return "min(max(calc(" + percent + "% - " + size / 2 + "px + 22px * " + (size / 2 - percent) / 100 + "), 0%), calc(100% - " + size + "px))";
|
|
15849
|
+
};
|
|
15850
|
+
|
|
15851
|
+
var getIndicatorLeft = function getIndicatorLeft(size, percent) {
|
|
15852
|
+
return "min(max(calc(((" + percent + "% - " + size / 2 + "px + 22px * " + (size / 2 - percent) / 100 + ")) + (" + size / 2 + "px + 2px)), 0%), calc(100% - " + size + "px))";
|
|
15853
|
+
};
|
|
15854
|
+
|
|
15795
15855
|
var Range = React__default.forwardRef(function (props, ref) {
|
|
15796
15856
|
var label = props.label,
|
|
15797
15857
|
minLabel = props.minLabel,
|
|
@@ -15900,7 +15960,7 @@ var Range = React__default.forwardRef(function (props, ref) {
|
|
|
15900
15960
|
}, minLabel && React__default.createElement(MinMaxLabelContainer, null, minLabel), React__default.createElement(InputContainer$1, {
|
|
15901
15961
|
invalid: invalid ? 1 : 0
|
|
15902
15962
|
}, markers.length > 0 && React__default.createElement(MarkersContainer, null, markers.map(function (marker, index) {
|
|
15903
|
-
var left =
|
|
15963
|
+
var left = getMarkerLeft(markers.length, range, index, marker.value, min, strict);
|
|
15904
15964
|
var bullet = marker.value > value ? 1 : 0;
|
|
15905
15965
|
return React__default.createElement(Marker, {
|
|
15906
15966
|
key: marker.value,
|
|
@@ -15910,9 +15970,12 @@ var Range = React__default.forwardRef(function (props, ref) {
|
|
|
15910
15970
|
})), React__default.createElement("div", null, React__default.createElement(Input$2, Object.assign({
|
|
15911
15971
|
ref: ref
|
|
15912
15972
|
}, inputProps)), React__default.createElement(NavBar, {
|
|
15913
|
-
percent: value * 100 / max,
|
|
15914
15973
|
position: position
|
|
15915
|
-
}, React__default.createElement("div",
|
|
15974
|
+
}, React__default.createElement("div", {
|
|
15975
|
+
style: {
|
|
15976
|
+
left: getBarLeft(100, (value - min) * 100 / (max - min))
|
|
15977
|
+
}
|
|
15978
|
+
}, React__default.createElement(Icon, {
|
|
15916
15979
|
type: 'feather',
|
|
15917
15980
|
icon: 'minus_circle',
|
|
15918
15981
|
color: 'white',
|
|
@@ -15922,7 +15985,11 @@ var Range = React__default.forwardRef(function (props, ref) {
|
|
|
15922
15985
|
icon: 'plus_circle',
|
|
15923
15986
|
color: 'white',
|
|
15924
15987
|
onClick: canIncrement ? increment : undefined
|
|
15925
|
-
}))
|
|
15988
|
+
})), React__default.createElement("div", {
|
|
15989
|
+
style: {
|
|
15990
|
+
left: getIndicatorLeft(14, (value - min) * 100 / (max - min))
|
|
15991
|
+
}
|
|
15992
|
+
})), React__default.createElement(SelectedArea, {
|
|
15926
15993
|
percent: percent
|
|
15927
15994
|
}, Array(spans).fill(1).map(function (_value, index) {
|
|
15928
15995
|
return React__default.createElement("span", {
|
|
@@ -15932,31 +15999,31 @@ var Range = React__default.forwardRef(function (props, ref) {
|
|
|
15932
15999
|
});
|
|
15933
16000
|
Range.displayName = 'input';
|
|
15934
16001
|
|
|
15935
|
-
var _templateObject$
|
|
15936
|
-
var LabelContainer$5 = styled__default.div(_templateObject$
|
|
16002
|
+
var _templateObject$A, _templateObject2$s, _templateObject3$m, _templateObject4$d, _templateObject5$b, _templateObject6$a, _templateObject7$a;
|
|
16003
|
+
var LabelContainer$5 = styled__default.div(_templateObject$A || (_templateObject$A = _taggedTemplateLiteralLoose(["\n ", "\n display: flex;\n align-items: center;\n"])), function (_ref) {
|
|
15937
16004
|
var theme = _ref.theme;
|
|
15938
16005
|
return theme.useTypography('p');
|
|
15939
16006
|
});
|
|
15940
|
-
var Label$6 = styled__default.label(_templateObject2$
|
|
16007
|
+
var Label$6 = styled__default.label(_templateObject2$s || (_templateObject2$s = _taggedTemplateLiteralLoose(["\n display: flex;\n gap: ", ";\n\n ", "\n\n ", "\n\n", "\n\n > input {\n position: absolute;\n top: 0;\n left: 0;\n height: 0;\n width: 0;\n /* Chrome, Safari, Edge, Opera */\n :-webkit-outer-spin-button,\n :-webkit-inner-spin-button {\n -webkit-appearance: none;\n margin: 0;\n }\n\n /* Firefox */\n -moz-appearance: none;\n }\n\n > span {\n height: 17px;\n width: 17px;\n min-height: 17px;\n min-width: 17px;\n max-height: 17px;\n max-width: 17px;\n border-radius: 100%;\n border-width: 1px;\n border-style: solid;\n background-color: ", ";\n position: relative;\n transition-property: border-color;\n transition-duration: 0.5s;\n transition-timing-function: ease-in-out;\n :before {\n content: '';\n position: absolute;\n top: 50%;\n left: 50%;\n height: 0;\n width: 0;\n border-radius: 100%;\n transition-property: top, left, width, height, background-color;\n transition-duration: 0.5s;\n transition-timing-function: cubic-bezier(0.68, -0.55, 0.27, 1.55);\n }\n }\n > input:checked + span {\n :before {\n top: calc(50% - 4.5px);\n left: calc(50% - 4.5px);\n height: 9px;\n width: 9px;\n }\n }\n"])), function (_ref2) {
|
|
15941
16008
|
var theme = _ref2.theme;
|
|
15942
16009
|
return theme.spacings.s1;
|
|
15943
16010
|
}, function (_ref3) {
|
|
15944
16011
|
var disabled = _ref3.disabled;
|
|
15945
16012
|
|
|
15946
16013
|
if (!disabled) {
|
|
15947
|
-
return styled.css(_templateObject3$
|
|
16014
|
+
return styled.css(_templateObject3$m || (_templateObject3$m = _taggedTemplateLiteralLoose(["\n > span {\n cursor: pointer;\n }\n "])));
|
|
15948
16015
|
}
|
|
15949
16016
|
|
|
15950
|
-
return styled.css(_templateObject4$
|
|
16017
|
+
return styled.css(_templateObject4$d || (_templateObject4$d = _taggedTemplateLiteralLoose(["\n opacity: 0.5;\n "])));
|
|
15951
16018
|
}, function (_ref4) {
|
|
15952
16019
|
var required = _ref4.required;
|
|
15953
16020
|
if (!required) return;
|
|
15954
|
-
return styled.css(_templateObject5$
|
|
16021
|
+
return styled.css(_templateObject5$b || (_templateObject5$b = _taggedTemplateLiteralLoose(["\n > ", " {\n :after {\n content: ' *';\n }\n }\n "])), LabelContainer$5);
|
|
15955
16022
|
}, function (_ref5) {
|
|
15956
16023
|
var invalid = _ref5.invalid;
|
|
15957
16024
|
|
|
15958
16025
|
if (!invalid) {
|
|
15959
|
-
return styled.css(_templateObject6$
|
|
16026
|
+
return styled.css(_templateObject6$a || (_templateObject6$a = _taggedTemplateLiteralLoose(["\n > span {\n border-color: ", ";\n :before {\n background-color: ", ";\n }\n }\n "])), function (_ref6) {
|
|
15960
16027
|
var theme = _ref6.theme;
|
|
15961
16028
|
return theme.colors.blue;
|
|
15962
16029
|
}, function (_ref7) {
|
|
@@ -15965,7 +16032,7 @@ var Label$6 = styled__default.label(_templateObject2$n || (_templateObject2$n =
|
|
|
15965
16032
|
});
|
|
15966
16033
|
}
|
|
15967
16034
|
|
|
15968
|
-
return styled.css(_templateObject7$
|
|
16035
|
+
return styled.css(_templateObject7$a || (_templateObject7$a = _taggedTemplateLiteralLoose(["\n > span {\n border-color: ", ";\n :before {\n background-color: ", ";\n }\n }\n "])), function (_ref8) {
|
|
15969
16036
|
var theme = _ref8.theme;
|
|
15970
16037
|
return theme.colors.warningRed;
|
|
15971
16038
|
}, function (_ref9) {
|
|
@@ -16175,24 +16242,24 @@ var parse = function parse(value) {
|
|
|
16175
16242
|
});
|
|
16176
16243
|
};
|
|
16177
16244
|
|
|
16178
|
-
var _templateObject$
|
|
16179
|
-
var RelativeContainer$5 = styled__default.div(_templateObject$
|
|
16180
|
-
var LabelContainer$6 = styled__default.div(_templateObject2$
|
|
16245
|
+
var _templateObject$B, _templateObject2$t, _templateObject3$n, _templateObject4$e, _templateObject5$c, _templateObject6$b, _templateObject7$b, _templateObject8$8, _templateObject9$8, _templateObject10$7, _templateObject11$4, _templateObject12$3;
|
|
16246
|
+
var RelativeContainer$5 = styled__default.div(_templateObject$B || (_templateObject$B = _taggedTemplateLiteralLoose(["\n position: relative;\n user-select: none;\n min-width: 220px;\n\n > input,\n > label > input {\n color: transparent;\n background-color: transparent;\n width: 1px;\n height: 1px;\n position: absolute;\n left: 0;\n bottom: 0;\n border: 0;\n padding: 0;\n overflow: hidden;\n outline: none;\n box-shadow: none;\n }\n"])));
|
|
16247
|
+
var LabelContainer$6 = styled__default.div(_templateObject2$t || (_templateObject2$t = _taggedTemplateLiteralLoose(["\n ", "\n line-height: 17px;\n flex: 1;\n\n :first-child {\n text-align: left;\n }\n :not(:first-child) {\n text-align: center;\n }\n\n ", "\n\n ", ";\n"])), function (_ref) {
|
|
16181
16248
|
var theme = _ref.theme;
|
|
16182
16249
|
return theme.useTypography('p');
|
|
16183
16250
|
}, function (_ref2) {
|
|
16184
16251
|
var children = _ref2.children;
|
|
16185
16252
|
if (children) return;
|
|
16186
|
-
return styled.css(_templateObject3$
|
|
16253
|
+
return styled.css(_templateObject3$n || (_templateObject3$n = _taggedTemplateLiteralLoose(["\n :after {\n content: '--/--/-- (--:--) \xE0 --/--/-- (--:--)';\n color: ", ";\n }\n "])), function (_ref3) {
|
|
16187
16254
|
var theme = _ref3.theme;
|
|
16188
16255
|
return theme.colors.darkGrey;
|
|
16189
16256
|
});
|
|
16190
16257
|
}, function (_ref4) {
|
|
16191
16258
|
var onClick = _ref4.onClick;
|
|
16192
16259
|
if (!onClick) return;
|
|
16193
|
-
return styled.css(_templateObject4$
|
|
16260
|
+
return styled.css(_templateObject4$e || (_templateObject4$e = _taggedTemplateLiteralLoose(["\n :not(:disabled) {\n cursor: pointer;\n }\n "])));
|
|
16194
16261
|
});
|
|
16195
|
-
var Container$6 = styled__default.div(_templateObject5$
|
|
16262
|
+
var Container$6 = styled__default.div(_templateObject5$c || (_templateObject5$c = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n border-radius: 4px;\n white-space: nowrap;\n gap: ", ";\n border-width: 1px;\n border-style: solid;\n border-color: ", ";\n\n width: 100%;\n\n ", ";\n\n ", "\n\n ", "\n"])), function (_ref5) {
|
|
16196
16263
|
var theme = _ref5.theme;
|
|
16197
16264
|
return theme.spacings.s1;
|
|
16198
16265
|
}, function (_ref6) {
|
|
@@ -16209,29 +16276,29 @@ var Container$6 = styled__default.div(_templateObject5$d || (_templateObject5$d
|
|
|
16209
16276
|
bgColor = _ref8[0],
|
|
16210
16277
|
color = _ref8[1];
|
|
16211
16278
|
|
|
16212
|
-
return styled.css(_templateObject6$
|
|
16279
|
+
return styled.css(_templateObject6$b || (_templateObject6$b = _taggedTemplateLiteralLoose(["\n color: ", ";\n background-color: ", ";\n /** google chrome blue background */\n -webkit-box-shadow: 0 0 0px 1000px ", " inset !important;\n "])), color, bgColor, bgColor);
|
|
16213
16280
|
}, function (_ref9) {
|
|
16214
16281
|
var theme = _ref9.theme,
|
|
16215
16282
|
paddingless = _ref9.paddingless;
|
|
16216
16283
|
if (paddingless) return;
|
|
16217
|
-
return styled.css(_templateObject7$
|
|
16284
|
+
return styled.css(_templateObject7$b || (_templateObject7$b = _taggedTemplateLiteralLoose(["\n padding: ", " ", " ", "\n ", ";\n "])), theme.spacings.s2, theme.spacings.s1, theme.spacings.s2, theme.spacings.s3);
|
|
16218
16285
|
}, function (_ref10) {
|
|
16219
16286
|
var disabled = _ref10.disabled;
|
|
16220
16287
|
if (!disabled) return;
|
|
16221
|
-
return styled.css(_templateObject8$
|
|
16288
|
+
return styled.css(_templateObject8$8 || (_templateObject8$8 = _taggedTemplateLiteralLoose(["\n opacity: 0.5;\n "])));
|
|
16222
16289
|
});
|
|
16223
|
-
var Button$4 = styled__default.button(_templateObject9$
|
|
16290
|
+
var Button$4 = styled__default.button(_templateObject9$8 || (_templateObject9$8 = _taggedTemplateLiteralLoose(["\n display: flex;\n background-color: transparent;\n border: none;\n padding: 0;\n box-shadow: none;\n\n ", ";\n"])), function (_ref11) {
|
|
16224
16291
|
var onClick = _ref11.onClick;
|
|
16225
16292
|
if (!onClick) return;
|
|
16226
|
-
return styled.css(_templateObject10$
|
|
16293
|
+
return styled.css(_templateObject10$7 || (_templateObject10$7 = _taggedTemplateLiteralLoose(["\n :not(:disabled) {\n cursor: pointer;\n }\n "])));
|
|
16227
16294
|
});
|
|
16228
|
-
var LabelText$1 = styled__default.label(_templateObject11$
|
|
16295
|
+
var LabelText$1 = styled__default.label(_templateObject11$4 || (_templateObject11$4 = _taggedTemplateLiteralLoose(["\n display: inline-block;\n margin-bottom: ", ";\n\n ", "\n"])), function (_ref12) {
|
|
16229
16296
|
var theme = _ref12.theme;
|
|
16230
16297
|
return theme.spacings.s1;
|
|
16231
16298
|
}, function (_ref13) {
|
|
16232
16299
|
var required = _ref13.required;
|
|
16233
16300
|
if (!required) return;
|
|
16234
|
-
return styled.css(_templateObject12$
|
|
16301
|
+
return styled.css(_templateObject12$3 || (_templateObject12$3 = _taggedTemplateLiteralLoose(["\n :after {\n content: ' *';\n }\n "])));
|
|
16235
16302
|
});
|
|
16236
16303
|
|
|
16237
16304
|
var Component$1 = React__default.forwardRef(function (props, ref) {
|
|
@@ -16463,8 +16530,8 @@ var DatePicker$1 = Object.assign(Component$1, {
|
|
|
16463
16530
|
useDefaultDateIntervalState: useDefaultDateIntervalState
|
|
16464
16531
|
});
|
|
16465
16532
|
|
|
16466
|
-
var _templateObject$
|
|
16467
|
-
var Input$3 = styled__default.input(_templateObject$
|
|
16533
|
+
var _templateObject$C;
|
|
16534
|
+
var Input$3 = styled__default.input(_templateObject$C || (_templateObject$C = _taggedTemplateLiteralLoose(["\n ", ";\n\n color: ", ";\n\n line-height: 17px;\n\n ::placeholder {\n color: ", ";\n\n line-height: 17px;\n ", ";\n opacity: 1;\n }\n\n display: block;\n box-sizing: border-box;\n flex: 1;\n min-width: ", ";\n\n padding: calc(", " / 2) 0;\n\n box-shadow: none;\n outline: none;\n border: 1px solid transparent;\n"])), function (_ref) {
|
|
16468
16535
|
var theme = _ref.theme;
|
|
16469
16536
|
return theme.useTypography('p');
|
|
16470
16537
|
}, function (_ref2) {
|
|
@@ -16527,22 +16594,22 @@ var Input$4 = React__default.forwardRef(function (props, ref) {
|
|
|
16527
16594
|
});
|
|
16528
16595
|
Input$4.displayName = 'Input';
|
|
16529
16596
|
|
|
16530
|
-
var _templateObject$
|
|
16531
|
-
var Label$7 = styled__default.div(_templateObject$
|
|
16597
|
+
var _templateObject$D, _templateObject2$u;
|
|
16598
|
+
var Label$7 = styled__default.div(_templateObject$D || (_templateObject$D = _taggedTemplateLiteralLoose(["\n display: inline-block;\n margin-bottom: ", ";\n\n ", "\n"])), function (_ref) {
|
|
16532
16599
|
var theme = _ref.theme;
|
|
16533
16600
|
return theme.spacings.s1;
|
|
16534
16601
|
}, function (_ref2) {
|
|
16535
16602
|
var required = _ref2.required;
|
|
16536
16603
|
if (!required) return;
|
|
16537
|
-
return styled.css(_templateObject2$
|
|
16604
|
+
return styled.css(_templateObject2$u || (_templateObject2$u = _taggedTemplateLiteralLoose(["\n :after {\n content: ' *';\n }\n "])));
|
|
16538
16605
|
});
|
|
16539
16606
|
|
|
16540
16607
|
var Label$8 = function Label(props) {
|
|
16541
16608
|
return props.children ? React__default.createElement(Label$7, Object.assign({}, props)) : null;
|
|
16542
16609
|
};
|
|
16543
16610
|
|
|
16544
|
-
var _templateObject$
|
|
16545
|
-
var Tag = styled__default.div(_templateObject$
|
|
16611
|
+
var _templateObject$E;
|
|
16612
|
+
var Tag = styled__default.div(_templateObject$E || (_templateObject$E = _taggedTemplateLiteralLoose(["\n ", "\n line-height: 17px;\n\n background-color: ", ";\n color: ", ";\n padding: calc(", " / 2);\n\n border-style: solid;\n border-width: 1px;\n border-color: ", ";\n display: flex;\n align-items: center;\n gap: ", ";\n\n > div:last-child {\n cursor: pointer;\n }\n"])), function (_ref) {
|
|
16546
16613
|
var theme = _ref.theme;
|
|
16547
16614
|
return theme.useTypography('p');
|
|
16548
16615
|
}, function (_ref2) {
|
|
@@ -16575,8 +16642,8 @@ var Tag$1 = function Tag$1(props) {
|
|
|
16575
16642
|
})));
|
|
16576
16643
|
};
|
|
16577
16644
|
|
|
16578
|
-
var _templateObject$
|
|
16579
|
-
var Label$9 = styled__default.label(_templateObject$
|
|
16645
|
+
var _templateObject$F, _templateObject2$v, _templateObject3$o;
|
|
16646
|
+
var Label$9 = styled__default.label(_templateObject$F || (_templateObject$F = _taggedTemplateLiteralLoose(["\n ", ";\n\n color: ", ";\n\n width: ", ";\n box-sizing: border-box;\n position: relative;\n display: block;\n\n ", "\n"])), function (_ref) {
|
|
16580
16647
|
var theme = _ref.theme;
|
|
16581
16648
|
return theme.useTypography('p');
|
|
16582
16649
|
}, function (_ref2) {
|
|
@@ -16588,9 +16655,9 @@ var Label$9 = styled__default.label(_templateObject$w || (_templateObject$w = _t
|
|
|
16588
16655
|
}, function (_ref4) {
|
|
16589
16656
|
var disabled = _ref4.disabled;
|
|
16590
16657
|
if (!disabled) return;
|
|
16591
|
-
return styled.css(_templateObject2$
|
|
16658
|
+
return styled.css(_templateObject2$v || (_templateObject2$v = _taggedTemplateLiteralLoose(["\n opacity: 0.5;\n "])));
|
|
16592
16659
|
});
|
|
16593
|
-
var TagContainer = styled__default.div(_templateObject3$
|
|
16660
|
+
var TagContainer = styled__default.div(_templateObject3$o || (_templateObject3$o = _taggedTemplateLiteralLoose(["\n border-width: 1px;\n border-style: solid;\n border-color: ", ";\n border-radius: 4px;\n display: flex;\n flex-wrap: wrap;\n gap: calc(", " / 2);\n padding: ", ";\n"])), function (_ref5) {
|
|
16594
16661
|
var theme = _ref5.theme,
|
|
16595
16662
|
invalid = _ref5.invalid;
|
|
16596
16663
|
return theme.colors[invalid ? 'warningRed' : 'lightGrey'];
|
|
@@ -16670,8 +16737,8 @@ var Tags = React__default.forwardRef(function (props, ref) {
|
|
|
16670
16737
|
});
|
|
16671
16738
|
Tags.displayName = 'Tags';
|
|
16672
16739
|
|
|
16673
|
-
var _templateObject$
|
|
16674
|
-
var RelativeContainer$6 = styled__default.div(_templateObject$
|
|
16740
|
+
var _templateObject$G;
|
|
16741
|
+
var RelativeContainer$6 = styled__default.div(_templateObject$G || (_templateObject$G = _taggedTemplateLiteralLoose(["\n position: relative;\n"])));
|
|
16675
16742
|
|
|
16676
16743
|
var isLeapYear$1 = function isLeapYear(year) {
|
|
16677
16744
|
if (year % 4 !== 0) return false;else if (year % 100 !== 0) return true;else if (year % 400 !== 0) return false;else return true;
|
|
@@ -17072,22 +17139,22 @@ var Input$5 = Object.assign(Component$2, {
|
|
|
17072
17139
|
getPhoneDetails: Phone.getPhoneDetails
|
|
17073
17140
|
});
|
|
17074
17141
|
|
|
17075
|
-
var _templateObject$
|
|
17076
|
-
var Container$7 = styled__default(AbsoluteContainer)(_templateObject$
|
|
17142
|
+
var _templateObject$H, _templateObject2$w, _templateObject3$p, _templateObject4$f;
|
|
17143
|
+
var Container$7 = styled__default(AbsoluteContainer)(_templateObject$H || (_templateObject$H = _taggedTemplateLiteralLoose(["\n background-color: ", ";\n\n > div {\n width: 100%;\n height: 100%;\n display: flex;\n flex-direction: column;\n\n > div {\n padding: ", ";\n width: 100%;\n height: 100%;\n display: flex;\n flex-direction: column;\n }\n }\n"])), function (_ref) {
|
|
17077
17144
|
var theme = _ref.theme;
|
|
17078
17145
|
return theme.colors.white;
|
|
17079
17146
|
}, function (_ref2) {
|
|
17080
17147
|
var s3 = _ref2.theme.spacings.s3;
|
|
17081
17148
|
return s3 + " 0 " + s3 + " " + s3;
|
|
17082
17149
|
});
|
|
17083
|
-
var Header$3 = styled__default.div(_templateObject2$
|
|
17150
|
+
var Header$3 = styled__default.div(_templateObject2$w || (_templateObject2$w = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n gap: ", ";\n padding: ", ";\n > div {\n display: flex;\n justify-content: space-between;\n }\n"])), function (_ref3) {
|
|
17084
17151
|
var s3 = _ref3.theme.spacings.s3;
|
|
17085
17152
|
return s3;
|
|
17086
17153
|
}, function (_ref4) {
|
|
17087
17154
|
var s3 = _ref4.theme.spacings.s3;
|
|
17088
17155
|
return "0 " + s3 + " " + s3 + " 0";
|
|
17089
17156
|
});
|
|
17090
|
-
var Title = styled__default.div(_templateObject3$
|
|
17157
|
+
var Title = styled__default.div(_templateObject3$p || (_templateObject3$p = _taggedTemplateLiteralLoose(["\n ", "\n color: ", ";\n"])), function (_ref5) {
|
|
17091
17158
|
var useTypography = _ref5.theme.useTypography;
|
|
17092
17159
|
return useTypography('p', {
|
|
17093
17160
|
fontWeight: 'bold'
|
|
@@ -17096,7 +17163,7 @@ var Title = styled__default.div(_templateObject3$m || (_templateObject3$m = _tag
|
|
|
17096
17163
|
var getColor = _ref6.theme.getColor;
|
|
17097
17164
|
return getColor('greyishBlue', 50);
|
|
17098
17165
|
});
|
|
17099
|
-
var Item = styled__default.div(_templateObject4$
|
|
17166
|
+
var Item = styled__default.div(_templateObject4$f || (_templateObject4$f = _taggedTemplateLiteralLoose(["\n padding: ", ";\n display: flex;\n align-items: center;\n\n :not(:last-child) {\n border-bottom: 1px solid\n ", ";\n }\n\n > div:nth-child(1) {\n flex: 1;\n\n > div:nth-child(1) {\n ", "\n color: ", ";\n }\n > div:nth-child(2) {\n ", "\n }\n }\n > div:nth-child(2) {\n display: flex;\n align-items: center;\n cursor: pointer;\n }\n"])), function (_ref7) {
|
|
17100
17167
|
var s1 = _ref7.theme.spacings.s1;
|
|
17101
17168
|
return s1 + " " + s1 + " " + s1 + " 0";
|
|
17102
17169
|
}, function (_ref8) {
|
|
@@ -17210,8 +17277,8 @@ var AppliedFiltersMenu = function AppliedFiltersMenu(props) {
|
|
|
17210
17277
|
}))));
|
|
17211
17278
|
};
|
|
17212
17279
|
|
|
17213
|
-
var _templateObject$
|
|
17214
|
-
var Container$8 = styled__default.div(_templateObject$
|
|
17280
|
+
var _templateObject$I, _templateObject2$x, _templateObject3$q;
|
|
17281
|
+
var Container$8 = styled__default.div(_templateObject$I || (_templateObject$I = _taggedTemplateLiteralLoose(["\n display: flex;\n gap: ", ";\n align-items: center;\n color: ", ";\n\n ", "\n"])), function (_ref) {
|
|
17215
17282
|
var theme = _ref.theme,
|
|
17216
17283
|
gap = _ref.$gap;
|
|
17217
17284
|
return gap === '0' ? '0' : theme.spacings[gap];
|
|
@@ -17222,10 +17289,10 @@ var Container$8 = styled__default.div(_templateObject$z || (_templateObject$z =
|
|
|
17222
17289
|
var onClick = _ref3.onClick;
|
|
17223
17290
|
|
|
17224
17291
|
if (!onClick) {
|
|
17225
|
-
return styled.css(_templateObject2$
|
|
17292
|
+
return styled.css(_templateObject2$x || (_templateObject2$x = _taggedTemplateLiteralLoose(["\n opacity: 0.3;\n pointer-events: none;\n "])));
|
|
17226
17293
|
}
|
|
17227
17294
|
|
|
17228
|
-
return styled.css(_templateObject3$
|
|
17295
|
+
return styled.css(_templateObject3$q || (_templateObject3$q = _taggedTemplateLiteralLoose(["\n cursor: pointer;\n "])));
|
|
17229
17296
|
});
|
|
17230
17297
|
|
|
17231
17298
|
var Button$5 = function Button(props) {
|
|
@@ -17277,25 +17344,25 @@ var AppliedFilters = Object.assign(function (props) {
|
|
|
17277
17344
|
Menu: AppliedFiltersMenu
|
|
17278
17345
|
});
|
|
17279
17346
|
|
|
17280
|
-
var _templateObject$
|
|
17281
|
-
var Container$9 = styled__default.div(_templateObject$
|
|
17282
|
-
return props.size === 'mini' && styled.css(_templateObject2$
|
|
17347
|
+
var _templateObject$J, _templateObject2$y, _templateObject3$r, _templateObject4$g, _templateObject5$d, _templateObject6$c, _templateObject7$c, _templateObject8$9, _templateObject9$9, _templateObject10$8;
|
|
17348
|
+
var Container$9 = styled__default.div(_templateObject$J || (_templateObject$J = _taggedTemplateLiteralLoose(["\n width: 100%;\n background: #fff;\n border: 1px solid #d4d4d5;\n border-radius: 4px;\n border-left-width: 5px;\n padding: 14px;\n ", "\n ", "\n ", "\n ", "\n\n ", "\n ", "\n ", "\n\n ", "\n ", "\n"])), function (props) {
|
|
17349
|
+
return props.size === 'mini' && styled.css(_templateObject2$y || (_templateObject2$y = _taggedTemplateLiteralLoose(["\n width: 394px;\n height: 99px;\n "])));
|
|
17283
17350
|
}, function (props) {
|
|
17284
|
-
return props.size === 'small' && styled.css(_templateObject3$
|
|
17351
|
+
return props.size === 'small' && styled.css(_templateObject3$r || (_templateObject3$r = _taggedTemplateLiteralLoose(["\n width: 394px;\n height: 131px;\n "])));
|
|
17285
17352
|
}, function (props) {
|
|
17286
|
-
return props.size === 'medium' && styled.css(_templateObject4$
|
|
17353
|
+
return props.size === 'medium' && styled.css(_templateObject4$g || (_templateObject4$g = _taggedTemplateLiteralLoose(["\n width: 394px;\n "])));
|
|
17287
17354
|
}, function (props) {
|
|
17288
|
-
return props.size === 'big' && styled.css(_templateObject5$
|
|
17355
|
+
return props.size === 'big' && styled.css(_templateObject5$d || (_templateObject5$d = _taggedTemplateLiteralLoose(["\n width: 414px;\n height: 324px;\n "])));
|
|
17289
17356
|
}, function (props) {
|
|
17290
|
-
return props.borderType === 'info' && styled.css(_templateObject6$
|
|
17357
|
+
return props.borderType === 'info' && styled.css(_templateObject6$c || (_templateObject6$c = _taggedTemplateLiteralLoose(["\n border-left-color: #4d6dbe;\n "])));
|
|
17291
17358
|
}, function (props) {
|
|
17292
|
-
return props.borderType === 'success' && styled.css(_templateObject7$
|
|
17359
|
+
return props.borderType === 'success' && styled.css(_templateObject7$c || (_templateObject7$c = _taggedTemplateLiteralLoose(["\n border-left-color: #66bb6a;\n "])));
|
|
17293
17360
|
}, function (props) {
|
|
17294
|
-
return props.borderType === 'warning' && styled.css(_templateObject8$
|
|
17361
|
+
return props.borderType === 'warning' && styled.css(_templateObject8$9 || (_templateObject8$9 = _taggedTemplateLiteralLoose(["\n border-left-color: #fbcb01;\n "])));
|
|
17295
17362
|
}, function (props) {
|
|
17296
|
-
return props.borderType === 'danger' && styled.css(_templateObject9$
|
|
17363
|
+
return props.borderType === 'danger' && styled.css(_templateObject9$9 || (_templateObject9$9 = _taggedTemplateLiteralLoose(["\n border-left-color: #e23851;\n "])));
|
|
17297
17364
|
}, function (props) {
|
|
17298
|
-
return props.borderType === 'none' && styled.css(_templateObject10$
|
|
17365
|
+
return props.borderType === 'none' && styled.css(_templateObject10$8 || (_templateObject10$8 = _taggedTemplateLiteralLoose(["\n border: 1px solid #d4d4d5;\n "])));
|
|
17299
17366
|
});
|
|
17300
17367
|
|
|
17301
17368
|
var _excluded$1 = ["children"];
|
|
@@ -17307,8 +17374,8 @@ var Card = function Card(_ref) {
|
|
|
17307
17374
|
return React__default.createElement(Container$9, Object.assign({}, rest), children);
|
|
17308
17375
|
};
|
|
17309
17376
|
|
|
17310
|
-
var _templateObject$
|
|
17311
|
-
var Container$a = styled__default.div(_templateObject$
|
|
17377
|
+
var _templateObject$K;
|
|
17378
|
+
var Container$a = styled__default.div(_templateObject$K || (_templateObject$K = _taggedTemplateLiteralLoose(["\n padding: ", ";\n\n display: flex;\n flex-direction: column;\n gap: ", ";\n\n > div:nth-child(1) {\n ", "\n color: ", ";\n }\n"])), function (_ref) {
|
|
17312
17379
|
var _ref$theme$spacings = _ref.theme.spacings,
|
|
17313
17380
|
s1 = _ref$theme$spacings.s1,
|
|
17314
17381
|
s3 = _ref$theme$spacings.s3;
|
|
@@ -17371,8 +17438,8 @@ var Header$4 = function Header(props) {
|
|
|
17371
17438
|
}));
|
|
17372
17439
|
};
|
|
17373
17440
|
|
|
17374
|
-
var _templateObject$
|
|
17375
|
-
var EmptyMessage = styled__default.div(_templateObject$
|
|
17441
|
+
var _templateObject$L;
|
|
17442
|
+
var EmptyMessage = styled__default.div(_templateObject$L || (_templateObject$L = _taggedTemplateLiteralLoose(["\n padding: 0 20px;\n color: ", ";\n text-align: center;\n margin: auto;\n width: 100%;\n"])), function (_ref) {
|
|
17376
17443
|
var lightGrey = _ref.theme.colors.lightGrey;
|
|
17377
17444
|
return lightGrey;
|
|
17378
17445
|
});
|
|
@@ -17720,7 +17787,7 @@ var useContext$2 = function useContext() {
|
|
|
17720
17787
|
return React__default.useContext(Provider$2);
|
|
17721
17788
|
};
|
|
17722
17789
|
|
|
17723
|
-
var _templateObject$
|
|
17790
|
+
var _templateObject$M, _templateObject2$z, _templateObject3$s, _templateObject4$h, _templateObject5$e, _templateObject6$d, _templateObject7$d, _templateObject8$a, _templateObject9$a, _templateObject10$9, _templateObject11$5, _templateObject12$4, _templateObject13$2, _templateObject14$2, _templateObject15$2;
|
|
17724
17791
|
var aligns = {
|
|
17725
17792
|
self: {
|
|
17726
17793
|
horizontal: {
|
|
@@ -17749,17 +17816,17 @@ var aligns = {
|
|
|
17749
17816
|
}
|
|
17750
17817
|
}
|
|
17751
17818
|
};
|
|
17752
|
-
var Col = styled__default.div(_templateObject$
|
|
17819
|
+
var Col = styled__default.div(_templateObject$M || (_templateObject$M = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-wrap: wrap;\n position: relative;\n\n ", "\n\n padding: ", ";\n\n ", "\n\n ", "\n\n ", "\n\n ", ";\n\n ", ";\n\n ", "\n\n ", "\n"])), function (_ref) {
|
|
17753
17820
|
var width = _ref.width;
|
|
17754
17821
|
|
|
17755
17822
|
if (width === undefined) {
|
|
17756
|
-
return styled.css(_templateObject2$
|
|
17823
|
+
return styled.css(_templateObject2$z || (_templateObject2$z = _taggedTemplateLiteralLoose(["\n flex-basis: 0;\n flex-grow: 1;\n max-width: 100%;\n width: 100%;\n "])));
|
|
17757
17824
|
} else if (width === 'auto') {
|
|
17758
|
-
return styled.css(_templateObject3$
|
|
17825
|
+
return styled.css(_templateObject3$s || (_templateObject3$s = _taggedTemplateLiteralLoose(["\n flex: 0 0 auto;\n width: auto;\n max-width: none;\n "])));
|
|
17759
17826
|
}
|
|
17760
17827
|
|
|
17761
17828
|
var w = parseFloat(width) * 100 / 12;
|
|
17762
|
-
return styled.css(_templateObject4$
|
|
17829
|
+
return styled.css(_templateObject4$h || (_templateObject4$h = _taggedTemplateLiteralLoose(["\n flex: 0 0 ", "%;\n max-width: ", "%;\n width: 100%;\n "])), w, w);
|
|
17763
17830
|
}, function (_ref2) {
|
|
17764
17831
|
var spacing = _ref2.spacing;
|
|
17765
17832
|
var padding = getSpacings(spacing === undefined ? 's1' : spacing);
|
|
@@ -17767,7 +17834,7 @@ var Col = styled__default.div(_templateObject$D || (_templateObject$D = _taggedT
|
|
|
17767
17834
|
}, function (_ref3) {
|
|
17768
17835
|
var spacingAround = _ref3.spacingAround;
|
|
17769
17836
|
if (spacingAround) return;
|
|
17770
|
-
return styled.css(_templateObject5$
|
|
17837
|
+
return styled.css(_templateObject5$e || (_templateObject5$e = _taggedTemplateLiteralLoose(["\n :first-child {\n padding-left: 0;\n }\n :last-child {\n padding-right: 0;\n }\n "])));
|
|
17771
17838
|
}, function (_ref4) {
|
|
17772
17839
|
var align = _ref4.align;
|
|
17773
17840
|
if (align === undefined) return;
|
|
@@ -17777,13 +17844,13 @@ var Col = styled__default.div(_templateObject$D || (_templateObject$D = _taggedT
|
|
|
17777
17844
|
if (align.self.horizontal !== undefined) {
|
|
17778
17845
|
var v = align.self.horizontal;
|
|
17779
17846
|
var a = aligns.self.horizontal;
|
|
17780
|
-
styles.push(styled.css(_templateObject6$
|
|
17847
|
+
styles.push(styled.css(_templateObject6$d || (_templateObject6$d = _taggedTemplateLiteralLoose(["\n justify-self: ", ";\n "])), a[v]));
|
|
17781
17848
|
}
|
|
17782
17849
|
|
|
17783
17850
|
if (align.self.vertical !== undefined) {
|
|
17784
17851
|
var _v = align.self.vertical;
|
|
17785
17852
|
var _a = aligns.self.vertical;
|
|
17786
|
-
styles.push(styled.css(_templateObject7$
|
|
17853
|
+
styles.push(styled.css(_templateObject7$d || (_templateObject7$d = _taggedTemplateLiteralLoose(["\n align-self: ", ";\n "])), _a[_v]));
|
|
17787
17854
|
}
|
|
17788
17855
|
}
|
|
17789
17856
|
|
|
@@ -17791,19 +17858,19 @@ var Col = styled__default.div(_templateObject$D || (_templateObject$D = _taggedT
|
|
|
17791
17858
|
if (align.content.horizontal !== undefined) {
|
|
17792
17859
|
var _v2 = align.content.horizontal;
|
|
17793
17860
|
var _a2 = aligns.content.horizontal;
|
|
17794
|
-
styles.push(styled.css(_templateObject8$
|
|
17861
|
+
styles.push(styled.css(_templateObject8$a || (_templateObject8$a = _taggedTemplateLiteralLoose(["\n justify-content: ", ";\n "])), _a2[_v2]));
|
|
17795
17862
|
}
|
|
17796
17863
|
|
|
17797
17864
|
if (align.content.vertical !== undefined) {
|
|
17798
17865
|
var _v3 = align.content.vertical;
|
|
17799
17866
|
var _a3 = aligns.content.vertical;
|
|
17800
|
-
styles.push(styled.css(_templateObject9$
|
|
17867
|
+
styles.push(styled.css(_templateObject9$a || (_templateObject9$a = _taggedTemplateLiteralLoose(["\n align-items: ", ";\n "])), _a3[_v3]));
|
|
17801
17868
|
}
|
|
17802
17869
|
}
|
|
17803
17870
|
|
|
17804
17871
|
if (align.text !== undefined) {
|
|
17805
17872
|
var _v4 = align.text;
|
|
17806
|
-
styles.push(styled.css(_templateObject10$
|
|
17873
|
+
styles.push(styled.css(_templateObject10$9 || (_templateObject10$9 = _taggedTemplateLiteralLoose(["\n text-align: ", ";\n "])), _v4));
|
|
17807
17874
|
}
|
|
17808
17875
|
|
|
17809
17876
|
return styles;
|
|
@@ -17811,30 +17878,30 @@ var Col = styled__default.div(_templateObject$D || (_templateObject$D = _taggedT
|
|
|
17811
17878
|
var bordered = _ref5.bordered,
|
|
17812
17879
|
lightestGrey = _ref5.theme.colors.lightestGrey;
|
|
17813
17880
|
if (!bordered) return;
|
|
17814
|
-
return styled.css(_templateObject11$
|
|
17881
|
+
return styled.css(_templateObject11$5 || (_templateObject11$5 = _taggedTemplateLiteralLoose(["\n :not(:last-child) {\n border-right: 1px solid ", ";\n }\n "])), lightestGrey);
|
|
17815
17882
|
}, function (_ref6) {
|
|
17816
17883
|
var fontColor = _ref6.fontColor,
|
|
17817
17884
|
theme = _ref6.theme;
|
|
17818
17885
|
if (fontColor === undefined) return;
|
|
17819
17886
|
var c = Array.isArray(fontColor) ? theme.getColor.apply(theme, fontColor) : theme.colors[fontColor];
|
|
17820
|
-
return styled.css(_templateObject12$
|
|
17887
|
+
return styled.css(_templateObject12$4 || (_templateObject12$4 = _taggedTemplateLiteralLoose(["\n color: ", ";\n "])), c);
|
|
17821
17888
|
}, function (_ref7) {
|
|
17822
17889
|
var backgroundColor = _ref7.backgroundColor,
|
|
17823
17890
|
theme = _ref7.theme;
|
|
17824
17891
|
if (backgroundColor === undefined) return;
|
|
17825
17892
|
var c = Array.isArray(backgroundColor) ? theme.getColor.apply(theme, backgroundColor) : theme.colors[backgroundColor];
|
|
17826
|
-
return styled.css(_templateObject13$
|
|
17893
|
+
return styled.css(_templateObject13$2 || (_templateObject13$2 = _taggedTemplateLiteralLoose(["\n background-color: ", ";\n "])), c);
|
|
17827
17894
|
}, function (_ref8) {
|
|
17828
17895
|
var hover = _ref8.hover,
|
|
17829
17896
|
theme = _ref8.theme;
|
|
17830
17897
|
if (!hover) return;
|
|
17831
17898
|
var h = hover === true ? ['lightGrey', 50] : hover;
|
|
17832
17899
|
var c = Array.isArray(h) ? theme.getColor.apply(theme, h) : theme.colors[h];
|
|
17833
|
-
return styled.css(_templateObject14$
|
|
17900
|
+
return styled.css(_templateObject14$2 || (_templateObject14$2 = _taggedTemplateLiteralLoose(["\n :hover {\n background-color: ", ";\n }\n "])), c);
|
|
17834
17901
|
}, function (_ref9) {
|
|
17835
17902
|
var pointer = _ref9.pointer;
|
|
17836
17903
|
if (!pointer) return;
|
|
17837
|
-
return styled.css(_templateObject15$
|
|
17904
|
+
return styled.css(_templateObject15$2 || (_templateObject15$2 = _taggedTemplateLiteralLoose(["\n cursor: pointer;\n "])));
|
|
17838
17905
|
});
|
|
17839
17906
|
|
|
17840
17907
|
var Col$1 = function Col$1(props) {
|
|
@@ -17854,17 +17921,17 @@ var useContext$3 = function useContext() {
|
|
|
17854
17921
|
return React__default.useContext(Provider$3);
|
|
17855
17922
|
};
|
|
17856
17923
|
|
|
17857
|
-
var _templateObject$
|
|
17858
|
-
var Grid = styled__default.div(_templateObject$
|
|
17924
|
+
var _templateObject$N, _templateObject2$A, _templateObject3$t;
|
|
17925
|
+
var Grid = styled__default.div(_templateObject$N || (_templateObject$N = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-wrap: wrap;\n width: 100%;\n\n ", "\n\n ", "\n"])), function (_ref) {
|
|
17859
17926
|
var spacing = _ref.spacing;
|
|
17860
17927
|
if (spacing === undefined) return;
|
|
17861
17928
|
var padding = getSpacings(spacing);
|
|
17862
|
-
return styled.css(_templateObject2$
|
|
17929
|
+
return styled.css(_templateObject2$A || (_templateObject2$A = _taggedTemplateLiteralLoose(["\n padding: ", ";\n "])), padding);
|
|
17863
17930
|
}, function (_ref2) {
|
|
17864
17931
|
var borderless = _ref2.borderless,
|
|
17865
17932
|
lightestGrey = _ref2.theme.colors.lightestGrey;
|
|
17866
17933
|
if (borderless) return;
|
|
17867
|
-
return styled.css(_templateObject3$
|
|
17934
|
+
return styled.css(_templateObject3$t || (_templateObject3$t = _taggedTemplateLiteralLoose(["\n border: 1px solid ", ";\n "])), lightestGrey);
|
|
17868
17935
|
});
|
|
17869
17936
|
|
|
17870
17937
|
var Grid$1 = function Grid$1(props) {
|
|
@@ -17879,7 +17946,7 @@ var Grid$1 = function Grid$1(props) {
|
|
|
17879
17946
|
}, React__default.createElement(Grid, Object.assign({}, gridProps)));
|
|
17880
17947
|
};
|
|
17881
17948
|
|
|
17882
|
-
var _templateObject$
|
|
17949
|
+
var _templateObject$O, _templateObject2$B, _templateObject3$u, _templateObject4$i, _templateObject5$f, _templateObject6$e, _templateObject7$e, _templateObject8$b, _templateObject9$b, _templateObject10$a;
|
|
17883
17950
|
var horizontalAligns = {
|
|
17884
17951
|
around: 'space-around',
|
|
17885
17952
|
between: 'space-between',
|
|
@@ -17892,23 +17959,23 @@ var verticalAligns = {
|
|
|
17892
17959
|
top: 'start',
|
|
17893
17960
|
bottom: 'end'
|
|
17894
17961
|
};
|
|
17895
|
-
var Row = styled__default.div(_templateObject$
|
|
17962
|
+
var Row = styled__default.div(_templateObject$O || (_templateObject$O = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-wrap: wrap;\n width: 100%;\n\n ", "\n\n ", "\n\n ", "\n\n ", "\n\n ", "\n\n color: ", ";\n\n ", "\n\n ", "\n"])), function (_ref) {
|
|
17896
17963
|
var spacing = _ref.spacing;
|
|
17897
17964
|
if (spacing === undefined) return;
|
|
17898
17965
|
var padding = getSpacings(spacing);
|
|
17899
|
-
return styled.css(_templateObject2$
|
|
17966
|
+
return styled.css(_templateObject2$B || (_templateObject2$B = _taggedTemplateLiteralLoose(["\n padding: ", ";\n "])), padding);
|
|
17900
17967
|
}, function (_ref2) {
|
|
17901
17968
|
var spacingAround = _ref2.spacingAround;
|
|
17902
17969
|
if (spacingAround) return;
|
|
17903
|
-
return styled.css(_templateObject3$
|
|
17970
|
+
return styled.css(_templateObject3$u || (_templateObject3$u = _taggedTemplateLiteralLoose(["\n :first-child {\n padding-top: 0;\n }\n :last-child {\n padding-bottom: 0;\n }\n "])));
|
|
17904
17971
|
}, function (_ref3) {
|
|
17905
17972
|
var horizontalAlign = _ref3.horizontalAlign;
|
|
17906
17973
|
if (horizontalAlign === undefined) return;
|
|
17907
|
-
return styled.css(_templateObject4$
|
|
17974
|
+
return styled.css(_templateObject4$i || (_templateObject4$i = _taggedTemplateLiteralLoose(["\n justify-content: ", ";\n "])), horizontalAligns[horizontalAlign]);
|
|
17908
17975
|
}, function (_ref4) {
|
|
17909
17976
|
var verticalAlign = _ref4.verticalAlign;
|
|
17910
17977
|
if (verticalAlign === undefined) return;
|
|
17911
|
-
return styled.css(_templateObject5$
|
|
17978
|
+
return styled.css(_templateObject5$f || (_templateObject5$f = _taggedTemplateLiteralLoose(["\n align-items: ", ";\n "])), verticalAligns[verticalAlign]);
|
|
17912
17979
|
}, function (_ref5) {
|
|
17913
17980
|
var striped = _ref5.striped,
|
|
17914
17981
|
backgroundColor = _ref5.backgroundColor,
|
|
@@ -17916,11 +17983,11 @@ var Row = styled__default.div(_templateObject$F || (_templateObject$F = _taggedT
|
|
|
17916
17983
|
|
|
17917
17984
|
if (backgroundColor !== undefined) {
|
|
17918
17985
|
var c = Array.isArray(backgroundColor) ? theme.getColor.apply(theme, backgroundColor) : theme.colors[backgroundColor];
|
|
17919
|
-
return styled.css(_templateObject6$
|
|
17986
|
+
return styled.css(_templateObject6$e || (_templateObject6$e = _taggedTemplateLiteralLoose(["\n background-color: ", ";\n "])), c);
|
|
17920
17987
|
}
|
|
17921
17988
|
|
|
17922
17989
|
if (striped === undefined) {
|
|
17923
|
-
return styled.css(_templateObject7$
|
|
17990
|
+
return styled.css(_templateObject7$e || (_templateObject7$e = _taggedTemplateLiteralLoose(["\n background-color: ", ";\n "])), theme.colors.white);
|
|
17924
17991
|
}
|
|
17925
17992
|
|
|
17926
17993
|
var config = striped === true ? {
|
|
@@ -17936,7 +18003,7 @@ var Row = styled__default.div(_templateObject$F || (_templateObject$F = _taggedT
|
|
|
17936
18003
|
even: theme.colors.white,
|
|
17937
18004
|
odd: theme.colors.white
|
|
17938
18005
|
});
|
|
17939
|
-
return styled.css(_templateObject8$
|
|
18006
|
+
return styled.css(_templateObject8$b || (_templateObject8$b = _taggedTemplateLiteralLoose(["\n :nth-child(even) {\n background-color: ", ";\n }\n :nth-child(odd) {\n background-color: ", ";\n }\n "])), colors.even, colors.odd);
|
|
17940
18007
|
}, function (_ref6) {
|
|
17941
18008
|
var fontColor = _ref6.fontColor,
|
|
17942
18009
|
theme = _ref6.theme;
|
|
@@ -17947,14 +18014,14 @@ var Row = styled__default.div(_templateObject$F || (_templateObject$F = _taggedT
|
|
|
17947
18014
|
var borderless = _ref7.borderless,
|
|
17948
18015
|
lightestGrey = _ref7.theme.colors.lightestGrey;
|
|
17949
18016
|
if (borderless) return;
|
|
17950
|
-
return styled.css(_templateObject9$
|
|
18017
|
+
return styled.css(_templateObject9$b || (_templateObject9$b = _taggedTemplateLiteralLoose(["\n :not(:last-child) {\n border-bottom: 1px solid ", ";\n }\n "])), lightestGrey);
|
|
17951
18018
|
}, function (_ref8) {
|
|
17952
18019
|
var hover = _ref8.hover,
|
|
17953
18020
|
theme = _ref8.theme;
|
|
17954
18021
|
if (!hover) return;
|
|
17955
18022
|
var h = hover === true ? ['lightGrey', 50] : hover;
|
|
17956
18023
|
var c = Array.isArray(h) ? theme.getColor.apply(theme, h) : theme.colors[h];
|
|
17957
|
-
return styled.css(_templateObject10$
|
|
18024
|
+
return styled.css(_templateObject10$a || (_templateObject10$a = _taggedTemplateLiteralLoose(["\n :hover {\n background-color: ", ";\n }\n "])), c);
|
|
17958
18025
|
});
|
|
17959
18026
|
|
|
17960
18027
|
var Row$1 = function Row$1(props) {
|
|
@@ -18007,40 +18074,40 @@ var widths = {
|
|
|
18007
18074
|
default: '642.5px'
|
|
18008
18075
|
};
|
|
18009
18076
|
|
|
18010
|
-
var _templateObject$
|
|
18011
|
-
var Background = styled__default.div(_templateObject$
|
|
18077
|
+
var _templateObject$P, _templateObject2$C, _templateObject3$v, _templateObject4$j, _templateObject5$g, _templateObject6$f, _templateObject7$f, _templateObject8$c, _templateObject9$c, _templateObject10$b;
|
|
18078
|
+
var Background = styled__default.div(_templateObject$P || (_templateObject$P = _taggedTemplateLiteralLoose(["\n display: flex;\n justify-content: center;\n align-items: center;\n position: fixed;\n top: 0;\n left: 0;\n width: 100vw;\n height: 100vh;\n backdrop-filter: blur(3px);\n background-color: ", ";\n"])), function (_ref) {
|
|
18012
18079
|
var theme = _ref.theme;
|
|
18013
18080
|
return theme.getColor('black', 25);
|
|
18014
18081
|
});
|
|
18015
|
-
var Content = styled__default.div(_templateObject2$
|
|
18016
|
-
var Header$5 = styled__default.div(_templateObject3$
|
|
18082
|
+
var Content = styled__default.div(_templateObject2$C || (_templateObject2$C = _taggedTemplateLiteralLoose(["\n flex: 1;\n position: relative;\n"])));
|
|
18083
|
+
var Header$5 = styled__default.div(_templateObject3$v || (_templateObject3$v = _taggedTemplateLiteralLoose(["\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n\n ", "\n"])), function (_ref2) {
|
|
18017
18084
|
var _ref2$theme = _ref2.theme,
|
|
18018
18085
|
colors = _ref2$theme.colors,
|
|
18019
18086
|
spacings = _ref2$theme.spacings,
|
|
18020
18087
|
useTypography = _ref2$theme.useTypography;
|
|
18021
|
-
return styled.css(_templateObject4$
|
|
18088
|
+
return styled.css(_templateObject4$j || (_templateObject4$j = _taggedTemplateLiteralLoose(["\n border-bottom: 1px solid ", ";\n padding: ", ";\n\n ", "\n "])), colors.lightestGrey, spacings.s4, useTypography('h1'));
|
|
18022
18089
|
});
|
|
18023
|
-
var Footer$2 = styled__default.div(_templateObject5$
|
|
18090
|
+
var Footer$2 = styled__default.div(_templateObject5$g || (_templateObject5$g = _taggedTemplateLiteralLoose(["\n display: flex;\n justify-content: space-between;\n align-items: center;\n\n ", "\n"])), function (_ref3) {
|
|
18024
18091
|
var _ref3$theme = _ref3.theme,
|
|
18025
18092
|
spacings = _ref3$theme.spacings,
|
|
18026
18093
|
colors = _ref3$theme.colors;
|
|
18027
|
-
return styled.css(_templateObject6$
|
|
18094
|
+
return styled.css(_templateObject6$f || (_templateObject6$f = _taggedTemplateLiteralLoose(["\n border-top: 1px solid ", ";\n padding: ", ";\n "])), colors.lightestGrey, spacings.s3);
|
|
18028
18095
|
});
|
|
18029
|
-
var FooterMessage = styled__default.div(_templateObject7$
|
|
18096
|
+
var FooterMessage = styled__default.div(_templateObject7$f || (_templateObject7$f = _taggedTemplateLiteralLoose(["\n max-width: 75%;\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n\n span {\n font-size: 14px;\n color: ", ";\n }\n"])), function (_ref4) {
|
|
18030
18097
|
var theme = _ref4.theme;
|
|
18031
18098
|
return theme.getColor('darkBlue', 75);
|
|
18032
18099
|
});
|
|
18033
|
-
var FooterButtons = styled__default.div(_templateObject8$
|
|
18100
|
+
var FooterButtons = styled__default.div(_templateObject8$c || (_templateObject8$c = _taggedTemplateLiteralLoose(["\n flex: 1;\n display: flex;\n align-items: center;\n justify-content: flex-end;\n gap: ", ";\n"])), function (_ref5) {
|
|
18034
18101
|
var theme = _ref5.theme;
|
|
18035
18102
|
return theme.spacings.s3;
|
|
18036
18103
|
});
|
|
18037
|
-
var Container$b = styled__default.div(_templateObject9$
|
|
18104
|
+
var Container$b = styled__default.div(_templateObject9$c || (_templateObject9$c = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n\n ", "\n"])), function (_ref6) {
|
|
18038
18105
|
var theme = _ref6.theme,
|
|
18039
18106
|
size = _ref6.size,
|
|
18040
18107
|
customSize = _ref6.customSize,
|
|
18041
18108
|
color = _ref6.color,
|
|
18042
18109
|
inverted = _ref6.inverted;
|
|
18043
|
-
return styled.css(_templateObject10$
|
|
18110
|
+
return styled.css(_templateObject10$b || (_templateObject10$b = _taggedTemplateLiteralLoose(["\n background-color: ", ";\n box-shadow: 0 0 21px 7px ", ";\n\n width: ", ";\n\n height: ", ";\n\n ", " {\n background-color: ", ";\n color: ", ";\n }\n "])), theme.colors.white, theme.getColor('black', 15), size === 'custom' && customSize ? customSize.width || 'auto' : widths[size], size === 'custom' && customSize ? customSize.height || 'auto' : heights[size], Header$5, inverted ? theme.isDarkColor(color) : theme.colors[color], inverted ? theme.colors[color] : theme.isDarkColor(color));
|
|
18044
18111
|
});
|
|
18045
18112
|
|
|
18046
18113
|
var _excluded$2 = ["children"];
|
|
@@ -18116,8 +18183,8 @@ var Modal = function Modal(props) {
|
|
|
18116
18183
|
}))))));
|
|
18117
18184
|
};
|
|
18118
18185
|
|
|
18119
|
-
var _templateObject$
|
|
18120
|
-
var Content$1 = styled__default.div(_templateObject$
|
|
18186
|
+
var _templateObject$Q;
|
|
18187
|
+
var Content$1 = styled__default.div(_templateObject$Q || (_templateObject$Q = _taggedTemplateLiteralLoose(["\n padding: ", ";\n"])), function (_ref) {
|
|
18121
18188
|
var theme = _ref.theme;
|
|
18122
18189
|
return theme.spacings.s5 + " " + theme.spacings.s4;
|
|
18123
18190
|
});
|
|
@@ -18154,8 +18221,8 @@ var ConfirmDelete = function ConfirmDelete(props) {
|
|
|
18154
18221
|
}, React__default.createElement(Content$1, null, children || content));
|
|
18155
18222
|
};
|
|
18156
18223
|
|
|
18157
|
-
var _templateObject$
|
|
18158
|
-
var Content$2 = styled__default.div(_templateObject$
|
|
18224
|
+
var _templateObject$R;
|
|
18225
|
+
var Content$2 = styled__default.div(_templateObject$R || (_templateObject$R = _taggedTemplateLiteralLoose(["\n padding: ", ";\n"])), function (_ref) {
|
|
18159
18226
|
var theme = _ref.theme;
|
|
18160
18227
|
return theme.spacings.s5 + " " + theme.spacings.s4;
|
|
18161
18228
|
});
|
|
@@ -18195,8 +18262,8 @@ var ConfirmSuccess = function ConfirmSuccess(props) {
|
|
|
18195
18262
|
}, React__default.createElement(Content$2, null, children || content));
|
|
18196
18263
|
};
|
|
18197
18264
|
|
|
18198
|
-
var _templateObject$
|
|
18199
|
-
var Content$3 = styled__default.div(_templateObject$
|
|
18265
|
+
var _templateObject$S;
|
|
18266
|
+
var Content$3 = styled__default.div(_templateObject$S || (_templateObject$S = _taggedTemplateLiteralLoose(["\n padding: ", ";\n"])), function (_ref) {
|
|
18200
18267
|
var theme = _ref.theme;
|
|
18201
18268
|
return theme.spacings.s5 + " " + theme.spacings.s4;
|
|
18202
18269
|
});
|
|
@@ -18237,24 +18304,24 @@ var Modal$1 = Object.assign(Modal, {
|
|
|
18237
18304
|
Audit: Audit
|
|
18238
18305
|
});
|
|
18239
18306
|
|
|
18240
|
-
var _templateObject$
|
|
18241
|
-
var Container$c = styled__default.div(_templateObject$
|
|
18242
|
-
var Header$6 = styled__default.div(_templateObject2$
|
|
18243
|
-
var HeaderImage = styled__default.div(_templateObject3$
|
|
18244
|
-
var HeaderContent = styled__default.div(_templateObject4$
|
|
18245
|
-
var MainContent = styled__default.div(_templateObject5$
|
|
18246
|
-
var HeaderLine = styled__default.div(_templateObject6$
|
|
18307
|
+
var _templateObject$T, _templateObject2$D, _templateObject3$w, _templateObject4$k, _templateObject5$h, _templateObject6$g, _templateObject7$g, _templateObject8$d, _templateObject9$d, _templateObject10$c, _templateObject11$6;
|
|
18308
|
+
var Container$c = styled__default.div(_templateObject$T || (_templateObject$T = _taggedTemplateLiteralLoose(["\n width: 100%;\n height: 300px;\n position: absolute;\n padding: 14px;\n"])));
|
|
18309
|
+
var Header$6 = styled__default.div(_templateObject2$D || (_templateObject2$D = _taggedTemplateLiteralLoose(["\n display: flex;\n"])));
|
|
18310
|
+
var HeaderImage = styled__default.div(_templateObject3$w || (_templateObject3$w = _taggedTemplateLiteralLoose(["\n width: 43px;\n height: 44px;\n background-color: #ebebeb;\n"])));
|
|
18311
|
+
var HeaderContent = styled__default.div(_templateObject4$k || (_templateObject4$k = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n flex: 1;\n"])));
|
|
18312
|
+
var MainContent = styled__default.div(_templateObject5$h || (_templateObject5$h = _taggedTemplateLiteralLoose(["\n margin-top: 8px;\n"])));
|
|
18313
|
+
var HeaderLine = styled__default.div(_templateObject6$g || (_templateObject6$g = _taggedTemplateLiteralLoose(["\n height: ", ";\n background-color: #ebebeb;\n margin-left: 7px;\n\n & + div {\n margin-top: 14px;\n }\n\n ", "\n ", "\n\n ", "\n\n ", "\n"])), function (props) {
|
|
18247
18314
|
return props.height;
|
|
18248
18315
|
}, function (props) {
|
|
18249
|
-
return props.size === 'mini' && styled.css(_templateObject7$
|
|
18316
|
+
return props.size === 'mini' && styled.css(_templateObject7$g || (_templateObject7$g = _taggedTemplateLiteralLoose(["\n width: 15%;\n "])));
|
|
18250
18317
|
}, function (props) {
|
|
18251
|
-
return props.size === 'small' && styled.css(_templateObject8$
|
|
18318
|
+
return props.size === 'small' && styled.css(_templateObject8$d || (_templateObject8$d = _taggedTemplateLiteralLoose(["\n width: 25%;\n "])));
|
|
18252
18319
|
}, function (props) {
|
|
18253
|
-
return props.size === 'medium' && styled.css(_templateObject9$
|
|
18320
|
+
return props.size === 'medium' && styled.css(_templateObject9$d || (_templateObject9$d = _taggedTemplateLiteralLoose(["\n width: 45%;\n "])));
|
|
18254
18321
|
}, function (props) {
|
|
18255
|
-
return props.size === 'large' && styled.css(_templateObject10$
|
|
18322
|
+
return props.size === 'large' && styled.css(_templateObject10$c || (_templateObject10$c = _taggedTemplateLiteralLoose(["\n width: 75%;\n "])));
|
|
18256
18323
|
});
|
|
18257
|
-
var MainLine = styled__default(HeaderLine)(_templateObject11$
|
|
18324
|
+
var MainLine = styled__default(HeaderLine)(_templateObject11$6 || (_templateObject11$6 = _taggedTemplateLiteralLoose(["\n margin-bottom: 14px;\n margin-left: 0;\n"])));
|
|
18258
18325
|
|
|
18259
18326
|
var Template1 = function Template1(props) {
|
|
18260
18327
|
if (!props.loading) return React__default.createElement(React__default.Fragment, null);
|
|
@@ -18289,28 +18356,28 @@ var Template1 = function Template1(props) {
|
|
|
18289
18356
|
})));
|
|
18290
18357
|
};
|
|
18291
18358
|
|
|
18292
|
-
var _templateObject$
|
|
18293
|
-
var HeaderLine$1 = styled__default.div(_templateObject$
|
|
18359
|
+
var _templateObject$U, _templateObject2$E, _templateObject3$x, _templateObject4$l, _templateObject5$i;
|
|
18360
|
+
var HeaderLine$1 = styled__default.div(_templateObject$U || (_templateObject$U = _taggedTemplateLiteralLoose(["\n height: ", ";\n background-color: #ebebeb;\n margin-left: 7px;\n\n & + div {\n margin-top: 14px;\n }\n\n ", "\n ", "\n\n ", "\n\n ", "\n"])), function (props) {
|
|
18294
18361
|
return props.height;
|
|
18295
18362
|
}, function (props) {
|
|
18296
|
-
return props.size === 'mini' && styled.css(_templateObject2$
|
|
18363
|
+
return props.size === 'mini' && styled.css(_templateObject2$E || (_templateObject2$E = _taggedTemplateLiteralLoose(["\n width: 15%;\n "])));
|
|
18297
18364
|
}, function (props) {
|
|
18298
|
-
return props.size === 'small' && styled.css(_templateObject3$
|
|
18365
|
+
return props.size === 'small' && styled.css(_templateObject3$x || (_templateObject3$x = _taggedTemplateLiteralLoose(["\n width: 25%;\n "])));
|
|
18299
18366
|
}, function (props) {
|
|
18300
|
-
return props.size === 'medium' && styled.css(_templateObject4$
|
|
18367
|
+
return props.size === 'medium' && styled.css(_templateObject4$l || (_templateObject4$l = _taggedTemplateLiteralLoose(["\n width: 45%;\n "])));
|
|
18301
18368
|
}, function (props) {
|
|
18302
|
-
return props.size === 'large' && styled.css(_templateObject5$
|
|
18369
|
+
return props.size === 'large' && styled.css(_templateObject5$i || (_templateObject5$i = _taggedTemplateLiteralLoose(["\n width: 75%;\n "])));
|
|
18303
18370
|
});
|
|
18304
18371
|
|
|
18305
|
-
var _templateObject$
|
|
18306
|
-
var Container$d = styled__default.div(_templateObject$
|
|
18307
|
-
var Template2Container = styled__default(Container$d)(_templateObject2$
|
|
18308
|
-
var Header$7 = styled__default.div(_templateObject3$
|
|
18309
|
-
var HeaderImage$1 = styled__default.div(_templateObject4$
|
|
18310
|
-
var HeaderContent$1 = styled__default.div(_templateObject5$
|
|
18311
|
-
var MainContent$1 = styled__default.div(_templateObject6$
|
|
18312
|
-
var MainLine$1 = styled__default(HeaderLine$1)(_templateObject7$
|
|
18313
|
-
var HeaderLine$2 = styled__default(HeaderLine$1)(_templateObject8$
|
|
18372
|
+
var _templateObject$V, _templateObject2$F, _templateObject3$y, _templateObject4$m, _templateObject5$j, _templateObject6$h, _templateObject7$h, _templateObject8$e;
|
|
18373
|
+
var Container$d = styled__default.div(_templateObject$V || (_templateObject$V = _taggedTemplateLiteralLoose(["\n width: 100%;\n max-height: 100%;\n position: absolute;\n padding: 14px;\n"])));
|
|
18374
|
+
var Template2Container = styled__default(Container$d)(_templateObject2$F || (_templateObject2$F = _taggedTemplateLiteralLoose(["\n background: #fff;\n border: 2px solid #ebebeb;\n"])));
|
|
18375
|
+
var Header$7 = styled__default.div(_templateObject3$y || (_templateObject3$y = _taggedTemplateLiteralLoose(["\n display: flex;\n"])));
|
|
18376
|
+
var HeaderImage$1 = styled__default.div(_templateObject4$m || (_templateObject4$m = _taggedTemplateLiteralLoose(["\n width: 43px;\n height: 44px;\n background-color: #ebebeb;\n"])));
|
|
18377
|
+
var HeaderContent$1 = styled__default.div(_templateObject5$j || (_templateObject5$j = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n flex: 1;\n"])));
|
|
18378
|
+
var MainContent$1 = styled__default.div(_templateObject6$h || (_templateObject6$h = _taggedTemplateLiteralLoose(["\n margin-top: 8px;\n"])));
|
|
18379
|
+
var MainLine$1 = styled__default(HeaderLine$1)(_templateObject7$h || (_templateObject7$h = _taggedTemplateLiteralLoose(["\n margin-bottom: 14px;\n margin-left: 0;\n"])));
|
|
18380
|
+
var HeaderLine$2 = styled__default(HeaderLine$1)(_templateObject8$e || (_templateObject8$e = _taggedTemplateLiteralLoose([""])));
|
|
18314
18381
|
|
|
18315
18382
|
var Template2 = function Template2(props) {
|
|
18316
18383
|
if (!props.loading) return React__default.createElement(React__default.Fragment, null);
|
|
@@ -18333,10 +18400,10 @@ var Template2 = function Template2(props) {
|
|
|
18333
18400
|
})));
|
|
18334
18401
|
};
|
|
18335
18402
|
|
|
18336
|
-
var _templateObject$
|
|
18337
|
-
var Container$e = styled__default.div(_templateObject$
|
|
18338
|
-
var Template3Container = styled__default(Container$e)(_templateObject2$
|
|
18339
|
-
var Template3Line = styled__default(HeaderLine$1)(_templateObject3$
|
|
18403
|
+
var _templateObject$W, _templateObject2$G, _templateObject3$z;
|
|
18404
|
+
var Container$e = styled__default.div(_templateObject$W || (_templateObject$W = _taggedTemplateLiteralLoose(["\n width: 100%;\n max-height: 100%;\n position: absolute;\n padding: 14px;\n"])));
|
|
18405
|
+
var Template3Container = styled__default(Container$e)(_templateObject2$G || (_templateObject2$G = _taggedTemplateLiteralLoose([""])));
|
|
18406
|
+
var Template3Line = styled__default(HeaderLine$1)(_templateObject3$z || (_templateObject3$z = _taggedTemplateLiteralLoose(["\n background-color: #dadada;\n height: ", ";\n"])), function (props) {
|
|
18340
18407
|
return props.height;
|
|
18341
18408
|
});
|
|
18342
18409
|
|
|
@@ -18365,21 +18432,21 @@ var Template3 = function Template3(props) {
|
|
|
18365
18432
|
}));
|
|
18366
18433
|
};
|
|
18367
18434
|
|
|
18368
|
-
var _templateObject$
|
|
18369
|
-
var Container$f = styled__default.div(_templateObject$
|
|
18370
|
-
var HeaderLine$3 = styled__default.div(_templateObject2$
|
|
18435
|
+
var _templateObject$X, _templateObject2$H, _templateObject3$A, _templateObject4$n, _templateObject5$k, _templateObject6$i, _templateObject7$i, _templateObject8$f;
|
|
18436
|
+
var Container$f = styled__default.div(_templateObject$X || (_templateObject$X = _taggedTemplateLiteralLoose(["\n width: 100%;\n max-height: 100%;\n position: absolute;\n padding: 14px;\n"])));
|
|
18437
|
+
var HeaderLine$3 = styled__default.div(_templateObject2$H || (_templateObject2$H = _taggedTemplateLiteralLoose(["\n height: ", ";\n background-color: #ebebeb;\n margin-left: 7px;\n\n & + div {\n margin-top: 14px;\n }\n\n ", "\n ", "\n\n ", "\n\n ", "\n"])), function (props) {
|
|
18371
18438
|
return props.height;
|
|
18372
18439
|
}, function (props) {
|
|
18373
|
-
return props.size === 'mini' && styled.css(_templateObject3$
|
|
18440
|
+
return props.size === 'mini' && styled.css(_templateObject3$A || (_templateObject3$A = _taggedTemplateLiteralLoose(["\n width: 15%;\n "])));
|
|
18374
18441
|
}, function (props) {
|
|
18375
|
-
return props.size === 'small' && styled.css(_templateObject4$
|
|
18442
|
+
return props.size === 'small' && styled.css(_templateObject4$n || (_templateObject4$n = _taggedTemplateLiteralLoose(["\n width: 25%;\n "])));
|
|
18376
18443
|
}, function (props) {
|
|
18377
|
-
return props.size === 'medium' && styled.css(_templateObject5$
|
|
18444
|
+
return props.size === 'medium' && styled.css(_templateObject5$k || (_templateObject5$k = _taggedTemplateLiteralLoose(["\n width: 45%;\n "])));
|
|
18378
18445
|
}, function (props) {
|
|
18379
|
-
return props.size === 'large' && styled.css(_templateObject6$
|
|
18446
|
+
return props.size === 'large' && styled.css(_templateObject6$i || (_templateObject6$i = _taggedTemplateLiteralLoose(["\n width: 75%;\n "])));
|
|
18380
18447
|
});
|
|
18381
|
-
var Template4Container = styled__default(Container$f)(_templateObject7$
|
|
18382
|
-
var CustomLine = styled__default(HeaderLine$3)(_templateObject8$
|
|
18448
|
+
var Template4Container = styled__default(Container$f)(_templateObject7$i || (_templateObject7$i = _taggedTemplateLiteralLoose(["\n border: 1px solid #e6e6e7;\n border-radius: 4px;\n"])));
|
|
18449
|
+
var CustomLine = styled__default(HeaderLine$3)(_templateObject8$f || (_templateObject8$f = _taggedTemplateLiteralLoose(["\n width: ", ";\n height: ", ";\n background-color: ", ";\n"])), function (props) {
|
|
18383
18450
|
return props.width;
|
|
18384
18451
|
}, function (props) {
|
|
18385
18452
|
return props.height;
|
|
@@ -18432,28 +18499,28 @@ var Template4 = function Template4(props) {
|
|
|
18432
18499
|
}));
|
|
18433
18500
|
};
|
|
18434
18501
|
|
|
18435
|
-
var _templateObject$
|
|
18436
|
-
var Container$g = styled__default.div(_templateObject$
|
|
18437
|
-
var Circle = styled__default.div(_templateObject2$
|
|
18438
|
-
var HeaderLine$4 = styled__default.div(_templateObject3$
|
|
18502
|
+
var _templateObject$Y, _templateObject2$I, _templateObject3$B, _templateObject4$o, _templateObject5$l, _templateObject6$j, _templateObject7$j, _templateObject8$g, _templateObject9$e;
|
|
18503
|
+
var Container$g = styled__default.div(_templateObject$Y || (_templateObject$Y = _taggedTemplateLiteralLoose(["\n position: absolute;\n width: 746px;\n height: 169px;\n border: 1px solid #e6e6e7;\n border-radius: 4px;\n padding: 14px;\n display: flex;\n align-items: center;\n justify-content: space-between;\n"])));
|
|
18504
|
+
var Circle = styled__default.div(_templateObject2$I || (_templateObject2$I = _taggedTemplateLiteralLoose(["\n width: 141px;\n height: 141px;\n background-color: #dddedf;\n border-radius: 50%;\n"])));
|
|
18505
|
+
var HeaderLine$4 = styled__default.div(_templateObject3$B || (_templateObject3$B = _taggedTemplateLiteralLoose(["\n height: ", ";\n background-color: #ebebeb;\n margin-left: 7px;\n\n & + div {\n margin-top: 14px;\n }\n\n ", "\n ", "\n\n ", "\n\n ", "\n"])), function (props) {
|
|
18439
18506
|
return props.height;
|
|
18440
18507
|
}, function (props) {
|
|
18441
|
-
return props.size === 'mini' && styled.css(_templateObject4$
|
|
18508
|
+
return props.size === 'mini' && styled.css(_templateObject4$o || (_templateObject4$o = _taggedTemplateLiteralLoose(["\n width: 15%;\n "])));
|
|
18442
18509
|
}, function (props) {
|
|
18443
|
-
return props.size === 'small' && styled.css(_templateObject5$
|
|
18510
|
+
return props.size === 'small' && styled.css(_templateObject5$l || (_templateObject5$l = _taggedTemplateLiteralLoose(["\n width: 25%;\n "])));
|
|
18444
18511
|
}, function (props) {
|
|
18445
|
-
return props.size === 'medium' && styled.css(_templateObject6$
|
|
18512
|
+
return props.size === 'medium' && styled.css(_templateObject6$j || (_templateObject6$j = _taggedTemplateLiteralLoose(["\n width: 45%;\n "])));
|
|
18446
18513
|
}, function (props) {
|
|
18447
|
-
return props.size === 'large' && styled.css(_templateObject7$
|
|
18514
|
+
return props.size === 'large' && styled.css(_templateObject7$j || (_templateObject7$j = _taggedTemplateLiteralLoose(["\n width: 75%;\n "])));
|
|
18448
18515
|
});
|
|
18449
|
-
var CustomLine$1 = styled__default(HeaderLine$4)(_templateObject8$
|
|
18516
|
+
var CustomLine$1 = styled__default(HeaderLine$4)(_templateObject8$g || (_templateObject8$g = _taggedTemplateLiteralLoose(["\n width: ", ";\n height: ", ";\n background-color: ", ";\n"])), function (props) {
|
|
18450
18517
|
return props.width;
|
|
18451
18518
|
}, function (props) {
|
|
18452
18519
|
return props.height;
|
|
18453
18520
|
}, function (props) {
|
|
18454
18521
|
return props.color;
|
|
18455
18522
|
});
|
|
18456
|
-
var MainContent$2 = styled__default.div(_templateObject9$
|
|
18523
|
+
var MainContent$2 = styled__default.div(_templateObject9$e || (_templateObject9$e = _taggedTemplateLiteralLoose(["\n flex: 1;\n margin-left: 35px;\n"])));
|
|
18457
18524
|
|
|
18458
18525
|
var Template5 = function Template5(props) {
|
|
18459
18526
|
if (!props.loading) return React__default.createElement(React__default.Fragment, null);
|
|
@@ -18480,22 +18547,22 @@ var Template5 = function Template5(props) {
|
|
|
18480
18547
|
})));
|
|
18481
18548
|
};
|
|
18482
18549
|
|
|
18483
|
-
var _templateObject$
|
|
18484
|
-
var Container$h = styled__default.div(_templateObject$
|
|
18485
|
-
var Header$8 = styled__default.div(_templateObject2$
|
|
18486
|
-
var Footer$3 = styled__default.div(_templateObject3$
|
|
18487
|
-
var HeaderLine$5 = styled__default.div(_templateObject4$
|
|
18550
|
+
var _templateObject$Z, _templateObject2$J, _templateObject3$C, _templateObject4$p, _templateObject5$m, _templateObject6$k, _templateObject7$k, _templateObject8$h, _templateObject9$f;
|
|
18551
|
+
var Container$h = styled__default.div(_templateObject$Z || (_templateObject$Z = _taggedTemplateLiteralLoose(["\n width: 395px;\n\n display: flex;\n align-items: center;\n justify-content: space-between;\n background-color: #f5f5f5;\n"])));
|
|
18552
|
+
var Header$8 = styled__default.div(_templateObject2$J || (_templateObject2$J = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n padding: 14px;\n"])));
|
|
18553
|
+
var Footer$3 = styled__default.div(_templateObject3$C || (_templateObject3$C = _taggedTemplateLiteralLoose(["\n width: 100%;\n border-top: 1px solid #b1b1b3;\n height: 50px;\n"])));
|
|
18554
|
+
var HeaderLine$5 = styled__default.div(_templateObject4$p || (_templateObject4$p = _taggedTemplateLiteralLoose(["\n height: ", ";\n background-color: #ebebeb;\n margin-left: 7px;\n\n & + div {\n margin-top: 14px;\n }\n\n ", "\n ", "\n\n ", "\n\n ", "\n"])), function (props) {
|
|
18488
18555
|
return props.height;
|
|
18489
18556
|
}, function (props) {
|
|
18490
|
-
return props.size === 'mini' && styled.css(_templateObject5$
|
|
18557
|
+
return props.size === 'mini' && styled.css(_templateObject5$m || (_templateObject5$m = _taggedTemplateLiteralLoose(["\n width: 15%;\n "])));
|
|
18491
18558
|
}, function (props) {
|
|
18492
|
-
return props.size === 'small' && styled.css(_templateObject6$
|
|
18559
|
+
return props.size === 'small' && styled.css(_templateObject6$k || (_templateObject6$k = _taggedTemplateLiteralLoose(["\n width: 25%;\n "])));
|
|
18493
18560
|
}, function (props) {
|
|
18494
|
-
return props.size === 'medium' && styled.css(_templateObject7$
|
|
18561
|
+
return props.size === 'medium' && styled.css(_templateObject7$k || (_templateObject7$k = _taggedTemplateLiteralLoose(["\n width: 45%;\n "])));
|
|
18495
18562
|
}, function (props) {
|
|
18496
|
-
return props.size === 'large' && styled.css(_templateObject8$
|
|
18563
|
+
return props.size === 'large' && styled.css(_templateObject8$h || (_templateObject8$h = _taggedTemplateLiteralLoose(["\n width: 75%;\n "])));
|
|
18497
18564
|
});
|
|
18498
|
-
var CustomLine$2 = styled__default(HeaderLine$5)(_templateObject9$
|
|
18565
|
+
var CustomLine$2 = styled__default(HeaderLine$5)(_templateObject9$f || (_templateObject9$f = _taggedTemplateLiteralLoose(["\n width: ", ";\n height: ", ";\n background-color: ", ";\n border: 1px solid #dedede5e;\n"])), function (props) {
|
|
18499
18566
|
return props.width;
|
|
18500
18567
|
}, function (props) {
|
|
18501
18568
|
return props.height;
|
|
@@ -18523,29 +18590,29 @@ var Template6 = function Template6(props) {
|
|
|
18523
18590
|
})));
|
|
18524
18591
|
};
|
|
18525
18592
|
|
|
18526
|
-
var _templateObject$
|
|
18527
|
-
var Container$i = styled__default.div(_templateObject$
|
|
18528
|
-
var Header$9 = styled__default.div(_templateObject2$
|
|
18529
|
-
var HeaderLine$6 = styled__default.div(_templateObject3$
|
|
18593
|
+
var _templateObject$_, _templateObject2$K, _templateObject3$D, _templateObject4$q, _templateObject5$n, _templateObject6$l, _templateObject7$l, _templateObject8$i, _templateObject9$g, _templateObject10$d;
|
|
18594
|
+
var Container$i = styled__default.div(_templateObject$_ || (_templateObject$_ = _taggedTemplateLiteralLoose(["\n width: 395px;\n height: 110px;\n display: flex;\n flex-direction: column;\n align-items: center;\n background: #f5f5f5 0% 0% no-repeat padding-box;\n"])));
|
|
18595
|
+
var Header$9 = styled__default.div(_templateObject2$K || (_templateObject2$K = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n padding: 14px;\n width: 100%;\n"])));
|
|
18596
|
+
var HeaderLine$6 = styled__default.div(_templateObject3$D || (_templateObject3$D = _taggedTemplateLiteralLoose(["\n height: ", ";\n background-color: #ebebeb;\n margin-left: 7px;\n\n & + div {\n margin-top: 14px;\n }\n\n ", "\n ", "\n\n ", "\n\n ", "\n"])), function (props) {
|
|
18530
18597
|
return props.height;
|
|
18531
18598
|
}, function (props) {
|
|
18532
|
-
return props.size === 'mini' && styled.css(_templateObject4$
|
|
18599
|
+
return props.size === 'mini' && styled.css(_templateObject4$q || (_templateObject4$q = _taggedTemplateLiteralLoose(["\n width: 15%;\n "])));
|
|
18533
18600
|
}, function (props) {
|
|
18534
|
-
return props.size === 'small' && styled.css(_templateObject5$
|
|
18601
|
+
return props.size === 'small' && styled.css(_templateObject5$n || (_templateObject5$n = _taggedTemplateLiteralLoose(["\n width: 25%;\n "])));
|
|
18535
18602
|
}, function (props) {
|
|
18536
|
-
return props.size === 'medium' && styled.css(_templateObject6$
|
|
18603
|
+
return props.size === 'medium' && styled.css(_templateObject6$l || (_templateObject6$l = _taggedTemplateLiteralLoose(["\n width: 45%;\n "])));
|
|
18537
18604
|
}, function (props) {
|
|
18538
|
-
return props.size === 'large' && styled.css(_templateObject7$
|
|
18605
|
+
return props.size === 'large' && styled.css(_templateObject7$l || (_templateObject7$l = _taggedTemplateLiteralLoose(["\n width: 75%;\n "])));
|
|
18539
18606
|
});
|
|
18540
|
-
var CustomLine$3 = styled__default(HeaderLine$6)(_templateObject8$
|
|
18607
|
+
var CustomLine$3 = styled__default(HeaderLine$6)(_templateObject8$i || (_templateObject8$i = _taggedTemplateLiteralLoose(["\n width: ", ";\n height: ", ";\n background-color: ", ";\n border: 1px solid #dedede5e;\n"])), function (props) {
|
|
18541
18608
|
return props.width;
|
|
18542
18609
|
}, function (props) {
|
|
18543
18610
|
return props.height;
|
|
18544
18611
|
}, function (props) {
|
|
18545
18612
|
return props.color;
|
|
18546
18613
|
});
|
|
18547
|
-
var Main$2 = styled__default.div(_templateObject9$
|
|
18548
|
-
var Circle$1 = styled__default.div(_templateObject10$
|
|
18614
|
+
var Main$2 = styled__default.div(_templateObject9$g || (_templateObject9$g = _taggedTemplateLiteralLoose(["\n margin: 10px 0;\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: space-evenly;\n"])));
|
|
18615
|
+
var Circle$1 = styled__default.div(_templateObject10$d || (_templateObject10$d = _taggedTemplateLiteralLoose(["\n width: 30px;\n height: 30px;\n background-color: #ebebeb;\n border-radius: 50%;\n margin: 0 16px;\n"])));
|
|
18549
18616
|
|
|
18550
18617
|
var Template7 = function Template7(props) {
|
|
18551
18618
|
if (!props.loading) return React__default.createElement(React__default.Fragment, null);
|
|
@@ -18557,28 +18624,28 @@ var Template7 = function Template7(props) {
|
|
|
18557
18624
|
})), React__default.createElement(Main$2, null, React__default.createElement(Circle$1, null), React__default.createElement(Circle$1, null), React__default.createElement(Circle$1, null), React__default.createElement(Circle$1, null), React__default.createElement(Circle$1, null)));
|
|
18558
18625
|
};
|
|
18559
18626
|
|
|
18560
|
-
var _templateObject
|
|
18561
|
-
var Container$j = styled__default.div(_templateObject
|
|
18562
|
-
var Header$a = styled__default.div(_templateObject2$
|
|
18563
|
-
var HeaderLine$7 = styled__default.div(_templateObject3$
|
|
18627
|
+
var _templateObject$$, _templateObject2$L, _templateObject3$E, _templateObject4$r, _templateObject5$o, _templateObject6$m, _templateObject7$m, _templateObject8$j, _templateObject9$h;
|
|
18628
|
+
var Container$j = styled__default.div(_templateObject$$ || (_templateObject$$ = _taggedTemplateLiteralLoose(["\n width: 395px;\n height: 110px;\n display: flex;\n flex-direction: column;\n align-items: center;\n background: #f5f5f5 0% 0% no-repeat padding-box;\n"])));
|
|
18629
|
+
var Header$a = styled__default.div(_templateObject2$L || (_templateObject2$L = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n padding: 14px;\n width: 100%;\n"])));
|
|
18630
|
+
var HeaderLine$7 = styled__default.div(_templateObject3$E || (_templateObject3$E = _taggedTemplateLiteralLoose(["\n height: ", ";\n background-color: #ebebeb;\n margin-left: 7px;\n\n & + div {\n margin-top: 14px;\n }\n\n ", "\n ", "\n\n ", "\n\n ", "\n"])), function (props) {
|
|
18564
18631
|
return props.height;
|
|
18565
18632
|
}, function (props) {
|
|
18566
|
-
return props.size === 'mini' && styled.css(_templateObject4$
|
|
18633
|
+
return props.size === 'mini' && styled.css(_templateObject4$r || (_templateObject4$r = _taggedTemplateLiteralLoose(["\n width: 15%;\n "])));
|
|
18567
18634
|
}, function (props) {
|
|
18568
|
-
return props.size === 'small' && styled.css(_templateObject5$
|
|
18635
|
+
return props.size === 'small' && styled.css(_templateObject5$o || (_templateObject5$o = _taggedTemplateLiteralLoose(["\n width: 25%;\n "])));
|
|
18569
18636
|
}, function (props) {
|
|
18570
|
-
return props.size === 'medium' && styled.css(_templateObject6$
|
|
18637
|
+
return props.size === 'medium' && styled.css(_templateObject6$m || (_templateObject6$m = _taggedTemplateLiteralLoose(["\n width: 45%;\n "])));
|
|
18571
18638
|
}, function (props) {
|
|
18572
|
-
return props.size === 'large' && styled.css(_templateObject7$
|
|
18639
|
+
return props.size === 'large' && styled.css(_templateObject7$m || (_templateObject7$m = _taggedTemplateLiteralLoose(["\n width: 75%;\n "])));
|
|
18573
18640
|
});
|
|
18574
|
-
var CustomLine$4 = styled__default(HeaderLine$7)(_templateObject8$
|
|
18641
|
+
var CustomLine$4 = styled__default(HeaderLine$7)(_templateObject8$j || (_templateObject8$j = _taggedTemplateLiteralLoose(["\n width: ", ";\n height: ", ";\n background-color: ", ";\n border: 1px solid #dedede5e;\n"])), function (props) {
|
|
18575
18642
|
return props.width;
|
|
18576
18643
|
}, function (props) {
|
|
18577
18644
|
return props.height;
|
|
18578
18645
|
}, function (props) {
|
|
18579
18646
|
return props.color;
|
|
18580
18647
|
});
|
|
18581
|
-
var Main$3 = styled__default.div(_templateObject9$
|
|
18648
|
+
var Main$3 = styled__default.div(_templateObject9$h || (_templateObject9$h = _taggedTemplateLiteralLoose(["\n padding: 14px;\n width: 100%;\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n"])));
|
|
18582
18649
|
|
|
18583
18650
|
var Template8 = function Template8(props) {
|
|
18584
18651
|
if (!props.loading) return React__default.createElement(React__default.Fragment, null);
|
|
@@ -18600,29 +18667,29 @@ var Template8 = function Template8(props) {
|
|
|
18600
18667
|
})));
|
|
18601
18668
|
};
|
|
18602
18669
|
|
|
18603
|
-
var _templateObject$
|
|
18604
|
-
var Container$k = styled__default.div(_templateObject$
|
|
18605
|
-
var Header$b = styled__default.div(_templateObject2$
|
|
18606
|
-
var HeaderLine$8 = styled__default.div(_templateObject3$
|
|
18670
|
+
var _templateObject$10, _templateObject2$M, _templateObject3$F, _templateObject4$s, _templateObject5$p, _templateObject6$n, _templateObject7$n, _templateObject8$k, _templateObject9$i, _templateObject10$e;
|
|
18671
|
+
var Container$k = styled__default.div(_templateObject$10 || (_templateObject$10 = _taggedTemplateLiteralLoose(["\n width: 395px;\n height: 245px;\n display: flex;\n flex-direction: column;\n align-items: center;\n background: #f5f5f5 0% 0% no-repeat padding-box;\n"])));
|
|
18672
|
+
var Header$b = styled__default.div(_templateObject2$M || (_templateObject2$M = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n padding: 14px;\n width: 100%;\n"])));
|
|
18673
|
+
var HeaderLine$8 = styled__default.div(_templateObject3$F || (_templateObject3$F = _taggedTemplateLiteralLoose(["\n height: ", ";\n background-color: #ebebeb;\n margin-left: 7px;\n\n & + div {\n margin-top: 7px;\n }\n\n ", "\n ", "\n\n ", "\n\n ", "\n"])), function (props) {
|
|
18607
18674
|
return props.height;
|
|
18608
18675
|
}, function (props) {
|
|
18609
|
-
return props.size === 'mini' && styled.css(_templateObject4$
|
|
18676
|
+
return props.size === 'mini' && styled.css(_templateObject4$s || (_templateObject4$s = _taggedTemplateLiteralLoose(["\n width: 15%;\n "])));
|
|
18610
18677
|
}, function (props) {
|
|
18611
|
-
return props.size === 'small' && styled.css(_templateObject5$
|
|
18678
|
+
return props.size === 'small' && styled.css(_templateObject5$p || (_templateObject5$p = _taggedTemplateLiteralLoose(["\n width: 25%;\n "])));
|
|
18612
18679
|
}, function (props) {
|
|
18613
|
-
return props.size === 'medium' && styled.css(_templateObject6$
|
|
18680
|
+
return props.size === 'medium' && styled.css(_templateObject6$n || (_templateObject6$n = _taggedTemplateLiteralLoose(["\n width: 45%;\n "])));
|
|
18614
18681
|
}, function (props) {
|
|
18615
|
-
return props.size === 'large' && styled.css(_templateObject7$
|
|
18682
|
+
return props.size === 'large' && styled.css(_templateObject7$n || (_templateObject7$n = _taggedTemplateLiteralLoose(["\n width: 75%;\n "])));
|
|
18616
18683
|
});
|
|
18617
|
-
var CustomLine$5 = styled__default(HeaderLine$8)(_templateObject8$
|
|
18684
|
+
var CustomLine$5 = styled__default(HeaderLine$8)(_templateObject8$k || (_templateObject8$k = _taggedTemplateLiteralLoose(["\n width: ", ";\n height: ", ";\n background-color: ", ";\n border: 1px solid #dedede5e;\n"])), function (props) {
|
|
18618
18685
|
return props.width;
|
|
18619
18686
|
}, function (props) {
|
|
18620
18687
|
return props.height;
|
|
18621
18688
|
}, function (props) {
|
|
18622
18689
|
return props.color;
|
|
18623
18690
|
});
|
|
18624
|
-
var Main$4 = styled__default.div(_templateObject9$
|
|
18625
|
-
var Circle$2 = styled__default.div(_templateObject10$
|
|
18691
|
+
var Main$4 = styled__default.div(_templateObject9$i || (_templateObject9$i = _taggedTemplateLiteralLoose(["\n padding: 14px;\n width: 100%;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n"])));
|
|
18692
|
+
var Circle$2 = styled__default.div(_templateObject10$e || (_templateObject10$e = _taggedTemplateLiteralLoose(["\n width: 128px;\n height: 128px;\n background-color: #ebebeb;\n border-radius: 50%;\n"])));
|
|
18626
18693
|
|
|
18627
18694
|
var Template8$1 = function Template8(props) {
|
|
18628
18695
|
if (!props.loading) return React__default.createElement(React__default.Fragment, null);
|
|
@@ -18639,30 +18706,30 @@ var Template8$1 = function Template8(props) {
|
|
|
18639
18706
|
})), React__default.createElement(Main$4, null, React__default.createElement(Circle$2, null)));
|
|
18640
18707
|
};
|
|
18641
18708
|
|
|
18642
|
-
var _templateObject$
|
|
18643
|
-
var Container$l = styled__default.div(_templateObject$
|
|
18644
|
-
var Header$c = styled__default.div(_templateObject2$
|
|
18645
|
-
var HeaderLine$9 = styled__default.div(_templateObject3$
|
|
18709
|
+
var _templateObject$11, _templateObject2$N, _templateObject3$G, _templateObject4$t, _templateObject5$q, _templateObject6$o, _templateObject7$o, _templateObject8$l, _templateObject9$j, _templateObject10$f, _templateObject11$7;
|
|
18710
|
+
var Container$l = styled__default.div(_templateObject$11 || (_templateObject$11 = _taggedTemplateLiteralLoose(["\n width: 395px;\n height: 245px;\n display: flex;\n flex-direction: column;\n align-items: center;\n background: #f5f5f5 0% 0% no-repeat padding-box;\n"])));
|
|
18711
|
+
var Header$c = styled__default.div(_templateObject2$N || (_templateObject2$N = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n padding: 14px;\n width: 100%;\n"])));
|
|
18712
|
+
var HeaderLine$9 = styled__default.div(_templateObject3$G || (_templateObject3$G = _taggedTemplateLiteralLoose(["\n height: ", ";\n background-color: #ebebeb;\n margin-left: 7px;\n\n & + div {\n margin-top: 7px;\n }\n\n ", "\n ", "\n\n ", "\n\n ", "\n"])), function (props) {
|
|
18646
18713
|
return props.height;
|
|
18647
18714
|
}, function (props) {
|
|
18648
|
-
return props.size === 'mini' && styled.css(_templateObject4$
|
|
18715
|
+
return props.size === 'mini' && styled.css(_templateObject4$t || (_templateObject4$t = _taggedTemplateLiteralLoose(["\n width: 15%;\n "])));
|
|
18649
18716
|
}, function (props) {
|
|
18650
|
-
return props.size === 'small' && styled.css(_templateObject5$
|
|
18717
|
+
return props.size === 'small' && styled.css(_templateObject5$q || (_templateObject5$q = _taggedTemplateLiteralLoose(["\n width: 25%;\n "])));
|
|
18651
18718
|
}, function (props) {
|
|
18652
|
-
return props.size === 'medium' && styled.css(_templateObject6$
|
|
18719
|
+
return props.size === 'medium' && styled.css(_templateObject6$o || (_templateObject6$o = _taggedTemplateLiteralLoose(["\n width: 45%;\n "])));
|
|
18653
18720
|
}, function (props) {
|
|
18654
|
-
return props.size === 'large' && styled.css(_templateObject7$
|
|
18721
|
+
return props.size === 'large' && styled.css(_templateObject7$o || (_templateObject7$o = _taggedTemplateLiteralLoose(["\n width: 75%;\n "])));
|
|
18655
18722
|
});
|
|
18656
|
-
var CustomLine$6 = styled__default(HeaderLine$9)(_templateObject8$
|
|
18723
|
+
var CustomLine$6 = styled__default(HeaderLine$9)(_templateObject8$l || (_templateObject8$l = _taggedTemplateLiteralLoose(["\n width: ", ";\n height: ", ";\n background-color: ", ";\n border: 1px solid #dedede5e;\n"])), function (props) {
|
|
18657
18724
|
return props.width;
|
|
18658
18725
|
}, function (props) {
|
|
18659
18726
|
return props.height;
|
|
18660
18727
|
}, function (props) {
|
|
18661
18728
|
return props.color;
|
|
18662
18729
|
});
|
|
18663
|
-
var GraphLine = styled__default(CustomLine$6)(_templateObject9$
|
|
18664
|
-
var Main$5 = styled__default.div(_templateObject10$
|
|
18665
|
-
var Circle$3 = styled__default.div(_templateObject11$
|
|
18730
|
+
var GraphLine = styled__default(CustomLine$6)(_templateObject9$j || (_templateObject9$j = _taggedTemplateLiteralLoose(["\n margin: 0 7px;\n"])));
|
|
18731
|
+
var Main$5 = styled__default.div(_templateObject10$f || (_templateObject10$f = _taggedTemplateLiteralLoose(["\n flex: 1;\n padding: 0 7px 72px 7px;\n width: 100%;\n display: flex;\n flex-direction: row;\n align-items: flex-end;\n justify-content: center;\n"])));
|
|
18732
|
+
var Circle$3 = styled__default.div(_templateObject11$7 || (_templateObject11$7 = _taggedTemplateLiteralLoose(["\n width: 128px;\n height: 128px;\n background-color: #ebebeb;\n border-radius: 50%;\n"])));
|
|
18666
18733
|
|
|
18667
18734
|
var Template10 = function Template10(props) {
|
|
18668
18735
|
if (!props.loading) return React__default.createElement(React__default.Fragment, null);
|
|
@@ -18783,32 +18850,32 @@ var Placeholder = function Placeholder(props) {
|
|
|
18783
18850
|
}
|
|
18784
18851
|
};
|
|
18785
18852
|
|
|
18786
|
-
var _templateObject$
|
|
18787
|
-
var Container$m = styled__default.div(_templateObject$
|
|
18788
|
-
var Progress = styled__default.div(_templateObject2$
|
|
18853
|
+
var _templateObject$12, _templateObject2$O, _templateObject3$H, _templateObject4$u, _templateObject5$r, _templateObject6$p, _templateObject7$p;
|
|
18854
|
+
var Container$m = styled__default.div(_templateObject$12 || (_templateObject$12 = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: row;\n align-items: center;\n\n span {\n display: inline-block;\n margin-left: 7px;\n color: #000000cc;\n }\n"])));
|
|
18855
|
+
var Progress = styled__default.div(_templateObject2$O || (_templateObject2$O = _taggedTemplateLiteralLoose(["\n width: 64px;\n height: 12px;\n border: 1px solid #e4e4e4;\n div {\n width: ", ";\n max-width: 64px;\n height: 100%;\n ", "\n\n ", "\n ", "\n ", "\n ", "\n }\n"])), function (props) {
|
|
18789
18856
|
return props.value + "%";
|
|
18790
18857
|
}, function (props) {
|
|
18791
|
-
return props.type === 'default' && styled.css(_templateObject3$
|
|
18858
|
+
return props.type === 'default' && styled.css(_templateObject3$H || (_templateObject3$H = _taggedTemplateLiteralLoose(["\n background-color: ", ";\n "])), function (_ref) {
|
|
18792
18859
|
var theme = _ref.theme;
|
|
18793
18860
|
return theme.colors.warningGray;
|
|
18794
18861
|
});
|
|
18795
18862
|
}, function (props) {
|
|
18796
|
-
return props.type === 'info' && styled.css(_templateObject4$
|
|
18863
|
+
return props.type === 'info' && styled.css(_templateObject4$u || (_templateObject4$u = _taggedTemplateLiteralLoose(["\n background-color: ", ";\n "])), function (_ref2) {
|
|
18797
18864
|
var theme = _ref2.theme;
|
|
18798
18865
|
return theme.colors.blue;
|
|
18799
18866
|
});
|
|
18800
18867
|
}, function (props) {
|
|
18801
|
-
return props.type === 'danger' && styled.css(_templateObject5$
|
|
18868
|
+
return props.type === 'danger' && styled.css(_templateObject5$r || (_templateObject5$r = _taggedTemplateLiteralLoose(["\n background-color: ", ";\n "])), function (_ref3) {
|
|
18802
18869
|
var theme = _ref3.theme;
|
|
18803
18870
|
return theme.colors.warningRed;
|
|
18804
18871
|
});
|
|
18805
18872
|
}, function (props) {
|
|
18806
|
-
return props.type === 'success' && styled.css(_templateObject6$
|
|
18873
|
+
return props.type === 'success' && styled.css(_templateObject6$p || (_templateObject6$p = _taggedTemplateLiteralLoose(["\n background-color: ", ";\n "])), function (_ref4) {
|
|
18807
18874
|
var theme = _ref4.theme;
|
|
18808
18875
|
return theme.colors.green;
|
|
18809
18876
|
});
|
|
18810
18877
|
}, function (props) {
|
|
18811
|
-
return props.type === 'warning' && styled.css(_templateObject7$
|
|
18878
|
+
return props.type === 'warning' && styled.css(_templateObject7$p || (_templateObject7$p = _taggedTemplateLiteralLoose(["\n background-color: ", ";\n "])), function (_ref5) {
|
|
18812
18879
|
var theme = _ref5.theme;
|
|
18813
18880
|
return theme.colors.warningYellow;
|
|
18814
18881
|
});
|
|
@@ -18853,21 +18920,21 @@ function SvgClose(props) {
|
|
|
18853
18920
|
})));
|
|
18854
18921
|
}
|
|
18855
18922
|
|
|
18856
|
-
var _templateObject$
|
|
18857
|
-
var Container$n = styled__default.div(_templateObject$
|
|
18923
|
+
var _templateObject$13, _templateObject2$P, _templateObject3$I, _templateObject4$v, _templateObject5$s, _templateObject6$q;
|
|
18924
|
+
var Container$n = styled__default.div(_templateObject$13 || (_templateObject$13 = _taggedTemplateLiteralLoose(["\n display: block;\n border-bottom-style: solid;\n\n ", "\n"])), function (_ref) {
|
|
18858
18925
|
var theme = _ref.theme,
|
|
18859
18926
|
internal = _ref.internal;
|
|
18860
|
-
return styled.css(_templateObject2$
|
|
18927
|
+
return styled.css(_templateObject2$P || (_templateObject2$P = _taggedTemplateLiteralLoose(["\n margin-bottom: ", ";\n border-bottom-width: ", ";\n border-bottom-color: ", ";\n "])), theme.spacings.s2, internal ? '1px' : '2px', internal ? theme.getColor('lightestGrey', 50) : theme.colors.blue);
|
|
18861
18928
|
});
|
|
18862
|
-
var Tabs = styled__default.ul(_templateObject3$
|
|
18929
|
+
var Tabs = styled__default.ul(_templateObject3$I || (_templateObject3$I = _taggedTemplateLiteralLoose(["\n user-select: none;\n list-style: none;\n display: inline-flex;\n gap: 1px;\n padding: 0;\n margin: 0;\n\n ", "\n"])), function (_ref2) {
|
|
18863
18930
|
var theme = _ref2.theme,
|
|
18864
18931
|
internal = _ref2.internal;
|
|
18865
|
-
return styled.css(_templateObject4$
|
|
18932
|
+
return styled.css(_templateObject4$v || (_templateObject4$v = _taggedTemplateLiteralLoose(["\n height: ", ";\n box-shadow: 0 0 10px 0 ", ";\n "])), internal ? '41px' : '49px', theme.getColor('black', 10));
|
|
18866
18933
|
});
|
|
18867
|
-
var Tab = styled__default.li(_templateObject5$
|
|
18934
|
+
var Tab = styled__default.li(_templateObject5$s || (_templateObject5$s = _taggedTemplateLiteralLoose(["\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: space-between;\n border-radius: 4px 4px 0 0;\n\n svg {\n transform: scale(calc(18 / 24));\n stroke-width: 2px;\n }\n\n ", "\n"])), function (_ref3) {
|
|
18868
18935
|
var theme = _ref3.theme,
|
|
18869
18936
|
active = _ref3.active;
|
|
18870
|
-
return styled.css(_templateObject6$
|
|
18937
|
+
return styled.css(_templateObject6$q || (_templateObject6$q = _taggedTemplateLiteralLoose(["\n background-color: ", ";\n padding: 0 ", ";\n gap: ", ";\n\n span {\n font-family: ", ";\n font-size: ", ";\n font-weight: ", ";\n\n color: ", ";\n }\n\n svg {\n stroke: ", ";\n\n &:hover {\n stroke: ", ";\n }\n }\n "])), theme.colors[active ? 'blue' : 'white'], theme.spacings.s2, theme.spacings.s2, theme.typographies.h2.fontFamily, theme.typographies.h2.fontSize, theme.typographies.h2.fontWeight, theme.colors[active ? 'white' : 'darkBlue'], theme.colors[active ? 'white' : 'darkBlue'], theme.colors.red);
|
|
18871
18938
|
});
|
|
18872
18939
|
|
|
18873
18940
|
var initialStatus = function initialStatus(active, length) {
|
|
@@ -18986,8 +19053,8 @@ var Tabs$1 = function Tabs$1(props) {
|
|
|
18986
19053
|
}, [])));
|
|
18987
19054
|
};
|
|
18988
19055
|
|
|
18989
|
-
var _templateObject$
|
|
18990
|
-
var Container$o = styled__default.textarea(_templateObject$
|
|
19056
|
+
var _templateObject$14;
|
|
19057
|
+
var Container$o = styled__default.textarea(_templateObject$14 || (_templateObject$14 = _taggedTemplateLiteralLoose(["\n width: ", ";\n height: ", ";\n resize: none;\n outline: 0;\n border: 1px solid #c8c8c8;\n padding: 14px;\n border-radius: 4px;\n color: #192338;\n"])), function (props) {
|
|
18991
19058
|
return "" + props.width;
|
|
18992
19059
|
}, function (props) {
|
|
18993
19060
|
return "" + props.height;
|
|
@@ -18997,18 +19064,18 @@ var TextArea = function TextArea(props) {
|
|
|
18997
19064
|
return React__default.createElement(Container$o, Object.assign({}, props));
|
|
18998
19065
|
};
|
|
18999
19066
|
|
|
19000
|
-
var _templateObject$
|
|
19001
|
-
var Container$p = styled__default.div(_templateObject$
|
|
19067
|
+
var _templateObject$15, _templateObject2$Q, _templateObject3$J, _templateObject4$w, _templateObject5$t, _templateObject6$r;
|
|
19068
|
+
var Container$p = styled__default.div(_templateObject$15 || (_templateObject$15 = _taggedTemplateLiteralLoose(["\n border-radius: 4px;\n width: ", ";\n height: 88px;\n border: 1px solid transparent;\n position: relative;\n\n ", "\n\n ", "\n\n ", "\n\n svg {\n cursor: pointer;\n position: absolute;\n top: 14px;\n right: 14px;\n width: 13px;\n height: 13px;\n }\n"])), function (props) {
|
|
19002
19069
|
return props.size === 'large' ? '837px' : '460px';
|
|
19003
19070
|
}, function (props) {
|
|
19004
|
-
return props.color === 'success' && styled.css(_templateObject2$
|
|
19071
|
+
return props.color === 'success' && styled.css(_templateObject2$Q || (_templateObject2$Q = _taggedTemplateLiteralLoose(["\n background-color: #fcfff5;\n opacity: 1;\n border-color: #a8c599;\n h4 {\n color: #1e561f;\n }\n p {\n color: #1e561fcc;\n }\n "])));
|
|
19005
19072
|
}, function (props) {
|
|
19006
|
-
return props.color === 'error' && styled.css(_templateObject3$
|
|
19073
|
+
return props.color === 'error' && styled.css(_templateObject3$J || (_templateObject3$J = _taggedTemplateLiteralLoose(["\n background-color: #fff6f6;\n opacity: 1;\n border-color: #973937;\n h4 {\n color: #973937;\n }\n p {\n color: #973937;\n }\n "])));
|
|
19007
19074
|
}, function (props) {
|
|
19008
|
-
return props.color === 'warning' && styled.css(_templateObject4$
|
|
19075
|
+
return props.color === 'warning' && styled.css(_templateObject4$w || (_templateObject4$w = _taggedTemplateLiteralLoose(["\n background-color: #fffaf3;\n opacity: 1;\n border-color: #ccbea0;\n h4 {\n color: #7a4d05;\n }\n p {\n color: #7a4d05cc;\n }\n "])));
|
|
19009
19076
|
});
|
|
19010
|
-
var IconContainer$2 = styled__default.div(_templateObject5$
|
|
19011
|
-
var IconContent = styled__default.div(_templateObject6$
|
|
19077
|
+
var IconContainer$2 = styled__default.div(_templateObject5$t || (_templateObject5$t = _taggedTemplateLiteralLoose(["\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: flex-end;\n padding: 14px 14px 0 0;\n margin: 0;\n"])));
|
|
19078
|
+
var IconContent = styled__default.div(_templateObject6$r || (_templateObject6$r = _taggedTemplateLiteralLoose(["\n width: 100%;\n padding: 13px 0 21px 28px;\n display: flex;\n flex: 1;\n flex-direction: column;\n\n h4 {\n margin-bottom: 7px;\n font-size: 18p;\n }\n p {\n margin: 0;\n font-size: 14px;\n max-width: 380px;\n }\n"])));
|
|
19012
19079
|
|
|
19013
19080
|
var Toast = function Toast(props) {
|
|
19014
19081
|
return React__default.createElement(Container$p, Object.assign({}, props), React__default.createElement(IconContainer$2, null, React__default.createElement(Icon, {
|
|
@@ -19020,9 +19087,9 @@ var Toast = function Toast(props) {
|
|
|
19020
19087
|
})), React__default.createElement(IconContent, null, React__default.createElement("h4", null, props.title), React__default.createElement("p", null, " ", props.description)));
|
|
19021
19088
|
};
|
|
19022
19089
|
|
|
19023
|
-
var _templateObject$
|
|
19024
|
-
var Image = styled__default.img(_templateObject$
|
|
19025
|
-
var Container$q = styled__default.div(_templateObject2$
|
|
19090
|
+
var _templateObject$16, _templateObject2$R, _templateObject3$K, _templateObject4$x, _templateObject5$u;
|
|
19091
|
+
var Image = styled__default.img(_templateObject$16 || (_templateObject$16 = _taggedTemplateLiteralLoose(["\n max-width: 100%;\n max-height: 100%;\n"])));
|
|
19092
|
+
var Container$q = styled__default.div(_templateObject2$R || (_templateObject2$R = _taggedTemplateLiteralLoose(["\n position: relative;\n display: inline-flex;\n\n &,\n ", " {\n width: ", ";\n\n height: ", ";\n }\n"])), Image, function (_ref) {
|
|
19026
19093
|
var width = _ref.width;
|
|
19027
19094
|
|
|
19028
19095
|
switch (typeof width) {
|
|
@@ -19049,15 +19116,15 @@ var Container$q = styled__default.div(_templateObject2$M || (_templateObject2$M
|
|
|
19049
19116
|
return 'auto';
|
|
19050
19117
|
}
|
|
19051
19118
|
});
|
|
19052
|
-
var Dimmer = styled__default.div(_templateObject3$
|
|
19119
|
+
var Dimmer = styled__default.div(_templateObject3$K || (_templateObject3$K = _taggedTemplateLiteralLoose(["\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n background-color: ", ";\n opacity: 0;\n display: flex;\n justify-content: center;\n align-items: center;\n transition: opacity 0.5s;\n cursor: pointer;\n\n :hover {\n opacity: 1;\n }\n"])), function (_ref3) {
|
|
19053
19120
|
var theme = _ref3.theme;
|
|
19054
19121
|
return theme.getColor('greyishBlue', 50);
|
|
19055
19122
|
});
|
|
19056
|
-
var Button$6 = styled__default(Button$1)(_templateObject4$
|
|
19123
|
+
var Button$6 = styled__default(Button$1)(_templateObject4$x || (_templateObject4$x = _taggedTemplateLiteralLoose(["\n background-color: ", ";\n"])), function (_ref4) {
|
|
19057
19124
|
var theme = _ref4.theme;
|
|
19058
19125
|
return theme.getColor('white', 50);
|
|
19059
19126
|
});
|
|
19060
|
-
var ModalContent = styled__default.div(_templateObject5$
|
|
19127
|
+
var ModalContent = styled__default.div(_templateObject5$u || (_templateObject5$u = _taggedTemplateLiteralLoose(["\n position: absolute;\n width: 100%;\n height: 100%;\n display: flex;\n justify-content: center;\n\n img {\n max-height: 100%;\n max-width: 100%;\n }\n"])));
|
|
19061
19128
|
|
|
19062
19129
|
var _excluded$3 = ["src", "defaultClickOptions"];
|
|
19063
19130
|
|