@mw-kit/mw-ui 1.7.54 → 1.7.56
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 +376 -326
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +376 -326
- 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],
|
|
@@ -14977,17 +14993,11 @@ var Select = React__default.forwardRef(function (props, ref) {
|
|
|
14977
14993
|
Select.displayName = 'Select';
|
|
14978
14994
|
|
|
14979
14995
|
var Password = React__default.forwardRef(function (props, ref) {
|
|
14980
|
-
var _useState = React.useState('
|
|
14996
|
+
var _useState = React.useState('hidden'),
|
|
14981
14997
|
visibility = _useState[0],
|
|
14982
14998
|
setVisibility = _useState[1];
|
|
14983
14999
|
|
|
14984
15000
|
var icons = {
|
|
14985
|
-
none: {
|
|
14986
|
-
icon: 'edit',
|
|
14987
|
-
onClick: function onClick() {
|
|
14988
|
-
return setVisibility('hidden');
|
|
14989
|
-
}
|
|
14990
|
-
},
|
|
14991
15001
|
visible: {
|
|
14992
15002
|
icon: 'eye_off',
|
|
14993
15003
|
onClick: function onClick() {
|
|
@@ -15006,15 +15016,6 @@ var Password = React__default.forwardRef(function (props, ref) {
|
|
|
15006
15016
|
icon: icons[visibility].icon,
|
|
15007
15017
|
width: '19px'
|
|
15008
15018
|
};
|
|
15009
|
-
|
|
15010
|
-
var _onBlur = props.onBlur || function () {};
|
|
15011
|
-
|
|
15012
|
-
var onBlur = function onBlur(event) {
|
|
15013
|
-
if (!event.target.value) setVisibility('none');
|
|
15014
|
-
|
|
15015
|
-
_onBlur(event);
|
|
15016
|
-
};
|
|
15017
|
-
|
|
15018
15019
|
return React__default.createElement(Input$1, Object.assign({}, props, {
|
|
15019
15020
|
type: visibility === 'visible' ? 'text' : 'PASSWORD',
|
|
15020
15021
|
icon: {
|
|
@@ -15022,9 +15023,7 @@ var Password = React__default.forwardRef(function (props, ref) {
|
|
|
15022
15023
|
position: 'right',
|
|
15023
15024
|
onClick: icons[visibility].onClick
|
|
15024
15025
|
},
|
|
15025
|
-
onBlur: onBlur,
|
|
15026
15026
|
placeholder: "\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022",
|
|
15027
|
-
htmlDisabled: visibility === 'none',
|
|
15028
15027
|
ref: ref
|
|
15029
15028
|
}));
|
|
15030
15029
|
});
|
|
@@ -15631,8 +15630,8 @@ var Switch = function Switch(props) {
|
|
|
15631
15630
|
})), React__default.createElement("span", null), label.after && React__default.createElement(LabelContainer$3, null, label.after));
|
|
15632
15631
|
};
|
|
15633
15632
|
|
|
15634
|
-
var _templateObject$q, _templateObject2$m
|
|
15635
|
-
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) {
|
|
15636
15635
|
var theme = _ref.theme;
|
|
15637
15636
|
return theme.spacings.s4;
|
|
15638
15637
|
}, function (_ref2) {
|
|
@@ -15640,95 +15639,131 @@ var bullet = styled.css(_templateObject$q || (_templateObject$q = _taggedTemplat
|
|
|
15640
15639
|
return theme.spacings.s4;
|
|
15641
15640
|
}, function (_ref3) {
|
|
15642
15641
|
var theme = _ref3.theme;
|
|
15643
|
-
return theme.colors.white;
|
|
15644
|
-
}, function (_ref4) {
|
|
15645
|
-
var theme = _ref4.theme;
|
|
15646
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'];
|
|
15647
15648
|
});
|
|
15648
|
-
var
|
|
15649
|
-
|
|
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;
|
|
15650
15675
|
return theme.spacings.s1;
|
|
15651
|
-
}
|
|
15652
|
-
|
|
15653
|
-
|
|
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) {
|
|
15654
15697
|
var theme = _ref7.theme;
|
|
15655
15698
|
return theme.spacings.s1;
|
|
15656
|
-
}
|
|
15699
|
+
}, function (_ref8) {
|
|
15657
15700
|
var theme = _ref8.theme;
|
|
15658
15701
|
return theme.spacings.s1;
|
|
15659
15702
|
});
|
|
15660
15703
|
}, function (_ref9) {
|
|
15661
|
-
var
|
|
15662
|
-
|
|
15663
|
-
if (percent > 90) return 'calc(100% - 100px)';
|
|
15664
|
-
return "calc(" + percent + "% - 50px + 22px * " + (50 - percent) / 100 + ")";
|
|
15704
|
+
var theme = _ref9.theme;
|
|
15705
|
+
return theme.colors.blue;
|
|
15665
15706
|
}, function (_ref10) {
|
|
15666
15707
|
var theme = _ref10.theme;
|
|
15667
|
-
return theme.colors.
|
|
15708
|
+
return theme.colors.white;
|
|
15668
15709
|
}, function (_ref11) {
|
|
15669
15710
|
var theme = _ref11.theme;
|
|
15670
|
-
return theme.
|
|
15711
|
+
return theme.spacings.s1;
|
|
15671
15712
|
}, function (_ref12) {
|
|
15672
15713
|
var theme = _ref12.theme;
|
|
15673
|
-
return theme.spacings.
|
|
15674
|
-
})
|
|
15675
|
-
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);
|
|
15676
|
-
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) {
|
|
15677
15716
|
var theme = _ref13.theme;
|
|
15678
|
-
return theme.spacings.
|
|
15679
|
-
})
|
|
15680
|
-
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) {
|
|
15681
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;
|
|
15682
15726
|
return theme.useTypography('p');
|
|
15683
|
-
}, function (
|
|
15684
|
-
var width =
|
|
15727
|
+
}, function (_ref2) {
|
|
15728
|
+
var width = _ref2.width;
|
|
15685
15729
|
return width || '100%';
|
|
15686
|
-
}, function (
|
|
15687
|
-
var disabled =
|
|
15730
|
+
}, function (_ref3) {
|
|
15731
|
+
var disabled = _ref3.disabled;
|
|
15688
15732
|
if (!disabled) return;
|
|
15689
|
-
return styled.css(
|
|
15690
|
-
}, LabelContainer$4, function (
|
|
15691
|
-
var required =
|
|
15692
|
-
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 "])));
|
|
15693
15737
|
}, NavBar);
|
|
15694
|
-
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) {
|
|
15695
|
-
var theme = _ref18.theme,
|
|
15696
|
-
invalid = _ref18.invalid;
|
|
15697
|
-
|
|
15698
|
-
if (!invalid) {
|
|
15699
|
-
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);
|
|
15700
|
-
}
|
|
15701
15738
|
|
|
15702
|
-
|
|
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));
|
|
15703
15748
|
});
|
|
15704
|
-
|
|
15705
|
-
var
|
|
15706
|
-
|
|
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;
|
|
15707
15756
|
|
|
15708
15757
|
if (position === 'bottom') {
|
|
15709
|
-
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);
|
|
15710
15759
|
}
|
|
15711
15760
|
|
|
15712
|
-
return styled.css(
|
|
15713
|
-
});
|
|
15714
|
-
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) {
|
|
15715
|
-
var theme = _ref20.theme;
|
|
15716
|
-
return theme.getColor('greyishBlue', 10);
|
|
15717
|
-
}, function (_ref21) {
|
|
15718
|
-
var percent = _ref21.percent;
|
|
15719
|
-
return percent;
|
|
15720
|
-
});
|
|
15721
|
-
var MarkersContainer = styled__default.div(_templateObject18$2 || (_templateObject18$2 = _taggedTemplateLiteralLoose(["\n height: 17px;\n"])));
|
|
15722
|
-
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) {
|
|
15723
|
-
var left = _ref22.left;
|
|
15724
|
-
return left;
|
|
15725
|
-
}, function (_ref23) {
|
|
15726
|
-
var bullet = _ref23.bullet,
|
|
15727
|
-
theme = _ref23.theme;
|
|
15728
|
-
if (!bullet) return;
|
|
15729
|
-
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);
|
|
15730
15762
|
});
|
|
15731
15763
|
|
|
15764
|
+
var _templateObject$z;
|
|
15765
|
+
var MarkersContainer = styled__default.div(_templateObject$z || (_templateObject$z = _taggedTemplateLiteralLoose(["\n height: 17px;\n"])));
|
|
15766
|
+
|
|
15732
15767
|
var getMarkers = function getMarkers(props) {
|
|
15733
15768
|
if (props.markers && 'markers' in props.markers) {
|
|
15734
15769
|
var _strict = props.markers.strict;
|
|
@@ -15799,16 +15834,24 @@ var getMarkers = function getMarkers(props) {
|
|
|
15799
15834
|
};
|
|
15800
15835
|
};
|
|
15801
15836
|
|
|
15802
|
-
var
|
|
15837
|
+
var getMarkerLeft = function getMarkerLeft(markers, range, index, value, min, strict) {
|
|
15803
15838
|
var z = markers - 2;
|
|
15804
15839
|
if (z < markers - 1) z = markers - 1;
|
|
15805
15840
|
var y = 20 / z;
|
|
15806
15841
|
var x = 20 - y * (z - index);
|
|
15807
|
-
var p = index *
|
|
15842
|
+
var p = strict ? index * 100 / range : (value - min) * 100 / range;
|
|
15808
15843
|
var left = "calc(" + p + "% - 10px - " + x + "px)";
|
|
15809
15844
|
return left;
|
|
15810
15845
|
};
|
|
15811
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
|
+
|
|
15812
15855
|
var Range = React__default.forwardRef(function (props, ref) {
|
|
15813
15856
|
var label = props.label,
|
|
15814
15857
|
minLabel = props.minLabel,
|
|
@@ -15917,7 +15960,7 @@ var Range = React__default.forwardRef(function (props, ref) {
|
|
|
15917
15960
|
}, minLabel && React__default.createElement(MinMaxLabelContainer, null, minLabel), React__default.createElement(InputContainer$1, {
|
|
15918
15961
|
invalid: invalid ? 1 : 0
|
|
15919
15962
|
}, markers.length > 0 && React__default.createElement(MarkersContainer, null, markers.map(function (marker, index) {
|
|
15920
|
-
var left =
|
|
15963
|
+
var left = getMarkerLeft(markers.length, range, index, marker.value, min, strict);
|
|
15921
15964
|
var bullet = marker.value > value ? 1 : 0;
|
|
15922
15965
|
return React__default.createElement(Marker, {
|
|
15923
15966
|
key: marker.value,
|
|
@@ -15927,9 +15970,12 @@ var Range = React__default.forwardRef(function (props, ref) {
|
|
|
15927
15970
|
})), React__default.createElement("div", null, React__default.createElement(Input$2, Object.assign({
|
|
15928
15971
|
ref: ref
|
|
15929
15972
|
}, inputProps)), React__default.createElement(NavBar, {
|
|
15930
|
-
percent: value * 100 / max,
|
|
15931
15973
|
position: position
|
|
15932
|
-
}, React__default.createElement("div",
|
|
15974
|
+
}, React__default.createElement("div", {
|
|
15975
|
+
style: {
|
|
15976
|
+
left: getBarLeft(100, value * 100 / max)
|
|
15977
|
+
}
|
|
15978
|
+
}, React__default.createElement(Icon, {
|
|
15933
15979
|
type: 'feather',
|
|
15934
15980
|
icon: 'minus_circle',
|
|
15935
15981
|
color: 'white',
|
|
@@ -15939,7 +15985,11 @@ var Range = React__default.forwardRef(function (props, ref) {
|
|
|
15939
15985
|
icon: 'plus_circle',
|
|
15940
15986
|
color: 'white',
|
|
15941
15987
|
onClick: canIncrement ? increment : undefined
|
|
15942
|
-
}))
|
|
15988
|
+
})), React__default.createElement("div", {
|
|
15989
|
+
style: {
|
|
15990
|
+
left: getIndicatorLeft(14, value * 100 / max)
|
|
15991
|
+
}
|
|
15992
|
+
})), React__default.createElement(SelectedArea, {
|
|
15943
15993
|
percent: percent
|
|
15944
15994
|
}, Array(spans).fill(1).map(function (_value, index) {
|
|
15945
15995
|
return React__default.createElement("span", {
|
|
@@ -15949,31 +15999,31 @@ var Range = React__default.forwardRef(function (props, ref) {
|
|
|
15949
15999
|
});
|
|
15950
16000
|
Range.displayName = 'input';
|
|
15951
16001
|
|
|
15952
|
-
var _templateObject$
|
|
15953
|
-
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) {
|
|
15954
16004
|
var theme = _ref.theme;
|
|
15955
16005
|
return theme.useTypography('p');
|
|
15956
16006
|
});
|
|
15957
|
-
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) {
|
|
15958
16008
|
var theme = _ref2.theme;
|
|
15959
16009
|
return theme.spacings.s1;
|
|
15960
16010
|
}, function (_ref3) {
|
|
15961
16011
|
var disabled = _ref3.disabled;
|
|
15962
16012
|
|
|
15963
16013
|
if (!disabled) {
|
|
15964
|
-
return styled.css(_templateObject3$
|
|
16014
|
+
return styled.css(_templateObject3$m || (_templateObject3$m = _taggedTemplateLiteralLoose(["\n > span {\n cursor: pointer;\n }\n "])));
|
|
15965
16015
|
}
|
|
15966
16016
|
|
|
15967
|
-
return styled.css(_templateObject4$
|
|
16017
|
+
return styled.css(_templateObject4$d || (_templateObject4$d = _taggedTemplateLiteralLoose(["\n opacity: 0.5;\n "])));
|
|
15968
16018
|
}, function (_ref4) {
|
|
15969
16019
|
var required = _ref4.required;
|
|
15970
16020
|
if (!required) return;
|
|
15971
|
-
return styled.css(_templateObject5$
|
|
16021
|
+
return styled.css(_templateObject5$b || (_templateObject5$b = _taggedTemplateLiteralLoose(["\n > ", " {\n :after {\n content: ' *';\n }\n }\n "])), LabelContainer$5);
|
|
15972
16022
|
}, function (_ref5) {
|
|
15973
16023
|
var invalid = _ref5.invalid;
|
|
15974
16024
|
|
|
15975
16025
|
if (!invalid) {
|
|
15976
|
-
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) {
|
|
15977
16027
|
var theme = _ref6.theme;
|
|
15978
16028
|
return theme.colors.blue;
|
|
15979
16029
|
}, function (_ref7) {
|
|
@@ -15982,7 +16032,7 @@ var Label$6 = styled__default.label(_templateObject2$n || (_templateObject2$n =
|
|
|
15982
16032
|
});
|
|
15983
16033
|
}
|
|
15984
16034
|
|
|
15985
|
-
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) {
|
|
15986
16036
|
var theme = _ref8.theme;
|
|
15987
16037
|
return theme.colors.warningRed;
|
|
15988
16038
|
}, function (_ref9) {
|
|
@@ -16192,24 +16242,24 @@ var parse = function parse(value) {
|
|
|
16192
16242
|
});
|
|
16193
16243
|
};
|
|
16194
16244
|
|
|
16195
|
-
var _templateObject$
|
|
16196
|
-
var RelativeContainer$5 = styled__default.div(_templateObject$
|
|
16197
|
-
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) {
|
|
16198
16248
|
var theme = _ref.theme;
|
|
16199
16249
|
return theme.useTypography('p');
|
|
16200
16250
|
}, function (_ref2) {
|
|
16201
16251
|
var children = _ref2.children;
|
|
16202
16252
|
if (children) return;
|
|
16203
|
-
return styled.css(_templateObject3$
|
|
16253
|
+
return styled.css(_templateObject3$n || (_templateObject3$n = _taggedTemplateLiteralLoose(["\n :after {\n content: '--/--/-- (--:--) \xE0 --/--/-- (--:--)';\n color: ", ";\n }\n "])), function (_ref3) {
|
|
16204
16254
|
var theme = _ref3.theme;
|
|
16205
16255
|
return theme.colors.darkGrey;
|
|
16206
16256
|
});
|
|
16207
16257
|
}, function (_ref4) {
|
|
16208
16258
|
var onClick = _ref4.onClick;
|
|
16209
16259
|
if (!onClick) return;
|
|
16210
|
-
return styled.css(_templateObject4$
|
|
16260
|
+
return styled.css(_templateObject4$e || (_templateObject4$e = _taggedTemplateLiteralLoose(["\n :not(:disabled) {\n cursor: pointer;\n }\n "])));
|
|
16211
16261
|
});
|
|
16212
|
-
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) {
|
|
16213
16263
|
var theme = _ref5.theme;
|
|
16214
16264
|
return theme.spacings.s1;
|
|
16215
16265
|
}, function (_ref6) {
|
|
@@ -16226,29 +16276,29 @@ var Container$6 = styled__default.div(_templateObject5$d || (_templateObject5$d
|
|
|
16226
16276
|
bgColor = _ref8[0],
|
|
16227
16277
|
color = _ref8[1];
|
|
16228
16278
|
|
|
16229
|
-
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);
|
|
16230
16280
|
}, function (_ref9) {
|
|
16231
16281
|
var theme = _ref9.theme,
|
|
16232
16282
|
paddingless = _ref9.paddingless;
|
|
16233
16283
|
if (paddingless) return;
|
|
16234
|
-
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);
|
|
16235
16285
|
}, function (_ref10) {
|
|
16236
16286
|
var disabled = _ref10.disabled;
|
|
16237
16287
|
if (!disabled) return;
|
|
16238
|
-
return styled.css(_templateObject8$
|
|
16288
|
+
return styled.css(_templateObject8$8 || (_templateObject8$8 = _taggedTemplateLiteralLoose(["\n opacity: 0.5;\n "])));
|
|
16239
16289
|
});
|
|
16240
|
-
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) {
|
|
16241
16291
|
var onClick = _ref11.onClick;
|
|
16242
16292
|
if (!onClick) return;
|
|
16243
|
-
return styled.css(_templateObject10$
|
|
16293
|
+
return styled.css(_templateObject10$7 || (_templateObject10$7 = _taggedTemplateLiteralLoose(["\n :not(:disabled) {\n cursor: pointer;\n }\n "])));
|
|
16244
16294
|
});
|
|
16245
|
-
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) {
|
|
16246
16296
|
var theme = _ref12.theme;
|
|
16247
16297
|
return theme.spacings.s1;
|
|
16248
16298
|
}, function (_ref13) {
|
|
16249
16299
|
var required = _ref13.required;
|
|
16250
16300
|
if (!required) return;
|
|
16251
|
-
return styled.css(_templateObject12$
|
|
16301
|
+
return styled.css(_templateObject12$3 || (_templateObject12$3 = _taggedTemplateLiteralLoose(["\n :after {\n content: ' *';\n }\n "])));
|
|
16252
16302
|
});
|
|
16253
16303
|
|
|
16254
16304
|
var Component$1 = React__default.forwardRef(function (props, ref) {
|
|
@@ -16480,8 +16530,8 @@ var DatePicker$1 = Object.assign(Component$1, {
|
|
|
16480
16530
|
useDefaultDateIntervalState: useDefaultDateIntervalState
|
|
16481
16531
|
});
|
|
16482
16532
|
|
|
16483
|
-
var _templateObject$
|
|
16484
|
-
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) {
|
|
16485
16535
|
var theme = _ref.theme;
|
|
16486
16536
|
return theme.useTypography('p');
|
|
16487
16537
|
}, function (_ref2) {
|
|
@@ -16544,22 +16594,22 @@ var Input$4 = React__default.forwardRef(function (props, ref) {
|
|
|
16544
16594
|
});
|
|
16545
16595
|
Input$4.displayName = 'Input';
|
|
16546
16596
|
|
|
16547
|
-
var _templateObject$
|
|
16548
|
-
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) {
|
|
16549
16599
|
var theme = _ref.theme;
|
|
16550
16600
|
return theme.spacings.s1;
|
|
16551
16601
|
}, function (_ref2) {
|
|
16552
16602
|
var required = _ref2.required;
|
|
16553
16603
|
if (!required) return;
|
|
16554
|
-
return styled.css(_templateObject2$
|
|
16604
|
+
return styled.css(_templateObject2$u || (_templateObject2$u = _taggedTemplateLiteralLoose(["\n :after {\n content: ' *';\n }\n "])));
|
|
16555
16605
|
});
|
|
16556
16606
|
|
|
16557
16607
|
var Label$8 = function Label(props) {
|
|
16558
16608
|
return props.children ? React__default.createElement(Label$7, Object.assign({}, props)) : null;
|
|
16559
16609
|
};
|
|
16560
16610
|
|
|
16561
|
-
var _templateObject$
|
|
16562
|
-
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) {
|
|
16563
16613
|
var theme = _ref.theme;
|
|
16564
16614
|
return theme.useTypography('p');
|
|
16565
16615
|
}, function (_ref2) {
|
|
@@ -16592,8 +16642,8 @@ var Tag$1 = function Tag$1(props) {
|
|
|
16592
16642
|
})));
|
|
16593
16643
|
};
|
|
16594
16644
|
|
|
16595
|
-
var _templateObject$
|
|
16596
|
-
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) {
|
|
16597
16647
|
var theme = _ref.theme;
|
|
16598
16648
|
return theme.useTypography('p');
|
|
16599
16649
|
}, function (_ref2) {
|
|
@@ -16605,9 +16655,9 @@ var Label$9 = styled__default.label(_templateObject$w || (_templateObject$w = _t
|
|
|
16605
16655
|
}, function (_ref4) {
|
|
16606
16656
|
var disabled = _ref4.disabled;
|
|
16607
16657
|
if (!disabled) return;
|
|
16608
|
-
return styled.css(_templateObject2$
|
|
16658
|
+
return styled.css(_templateObject2$v || (_templateObject2$v = _taggedTemplateLiteralLoose(["\n opacity: 0.5;\n "])));
|
|
16609
16659
|
});
|
|
16610
|
-
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) {
|
|
16611
16661
|
var theme = _ref5.theme,
|
|
16612
16662
|
invalid = _ref5.invalid;
|
|
16613
16663
|
return theme.colors[invalid ? 'warningRed' : 'lightGrey'];
|
|
@@ -16687,8 +16737,8 @@ var Tags = React__default.forwardRef(function (props, ref) {
|
|
|
16687
16737
|
});
|
|
16688
16738
|
Tags.displayName = 'Tags';
|
|
16689
16739
|
|
|
16690
|
-
var _templateObject$
|
|
16691
|
-
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"])));
|
|
16692
16742
|
|
|
16693
16743
|
var isLeapYear$1 = function isLeapYear(year) {
|
|
16694
16744
|
if (year % 4 !== 0) return false;else if (year % 100 !== 0) return true;else if (year % 400 !== 0) return false;else return true;
|
|
@@ -17089,22 +17139,22 @@ var Input$5 = Object.assign(Component$2, {
|
|
|
17089
17139
|
getPhoneDetails: Phone.getPhoneDetails
|
|
17090
17140
|
});
|
|
17091
17141
|
|
|
17092
|
-
var _templateObject$
|
|
17093
|
-
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) {
|
|
17094
17144
|
var theme = _ref.theme;
|
|
17095
17145
|
return theme.colors.white;
|
|
17096
17146
|
}, function (_ref2) {
|
|
17097
17147
|
var s3 = _ref2.theme.spacings.s3;
|
|
17098
17148
|
return s3 + " 0 " + s3 + " " + s3;
|
|
17099
17149
|
});
|
|
17100
|
-
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) {
|
|
17101
17151
|
var s3 = _ref3.theme.spacings.s3;
|
|
17102
17152
|
return s3;
|
|
17103
17153
|
}, function (_ref4) {
|
|
17104
17154
|
var s3 = _ref4.theme.spacings.s3;
|
|
17105
17155
|
return "0 " + s3 + " " + s3 + " 0";
|
|
17106
17156
|
});
|
|
17107
|
-
var Title = styled__default.div(_templateObject3$
|
|
17157
|
+
var Title = styled__default.div(_templateObject3$p || (_templateObject3$p = _taggedTemplateLiteralLoose(["\n ", "\n color: ", ";\n"])), function (_ref5) {
|
|
17108
17158
|
var useTypography = _ref5.theme.useTypography;
|
|
17109
17159
|
return useTypography('p', {
|
|
17110
17160
|
fontWeight: 'bold'
|
|
@@ -17113,7 +17163,7 @@ var Title = styled__default.div(_templateObject3$m || (_templateObject3$m = _tag
|
|
|
17113
17163
|
var getColor = _ref6.theme.getColor;
|
|
17114
17164
|
return getColor('greyishBlue', 50);
|
|
17115
17165
|
});
|
|
17116
|
-
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) {
|
|
17117
17167
|
var s1 = _ref7.theme.spacings.s1;
|
|
17118
17168
|
return s1 + " " + s1 + " " + s1 + " 0";
|
|
17119
17169
|
}, function (_ref8) {
|
|
@@ -17227,8 +17277,8 @@ var AppliedFiltersMenu = function AppliedFiltersMenu(props) {
|
|
|
17227
17277
|
}))));
|
|
17228
17278
|
};
|
|
17229
17279
|
|
|
17230
|
-
var _templateObject$
|
|
17231
|
-
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) {
|
|
17232
17282
|
var theme = _ref.theme,
|
|
17233
17283
|
gap = _ref.$gap;
|
|
17234
17284
|
return gap === '0' ? '0' : theme.spacings[gap];
|
|
@@ -17239,10 +17289,10 @@ var Container$8 = styled__default.div(_templateObject$z || (_templateObject$z =
|
|
|
17239
17289
|
var onClick = _ref3.onClick;
|
|
17240
17290
|
|
|
17241
17291
|
if (!onClick) {
|
|
17242
|
-
return styled.css(_templateObject2$
|
|
17292
|
+
return styled.css(_templateObject2$x || (_templateObject2$x = _taggedTemplateLiteralLoose(["\n opacity: 0.3;\n pointer-events: none;\n "])));
|
|
17243
17293
|
}
|
|
17244
17294
|
|
|
17245
|
-
return styled.css(_templateObject3$
|
|
17295
|
+
return styled.css(_templateObject3$q || (_templateObject3$q = _taggedTemplateLiteralLoose(["\n cursor: pointer;\n "])));
|
|
17246
17296
|
});
|
|
17247
17297
|
|
|
17248
17298
|
var Button$5 = function Button(props) {
|
|
@@ -17294,25 +17344,25 @@ var AppliedFilters = Object.assign(function (props) {
|
|
|
17294
17344
|
Menu: AppliedFiltersMenu
|
|
17295
17345
|
});
|
|
17296
17346
|
|
|
17297
|
-
var _templateObject$
|
|
17298
|
-
var Container$9 = styled__default.div(_templateObject$
|
|
17299
|
-
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 "])));
|
|
17300
17350
|
}, function (props) {
|
|
17301
|
-
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 "])));
|
|
17302
17352
|
}, function (props) {
|
|
17303
|
-
return props.size === 'medium' && styled.css(_templateObject4$
|
|
17353
|
+
return props.size === 'medium' && styled.css(_templateObject4$g || (_templateObject4$g = _taggedTemplateLiteralLoose(["\n width: 394px;\n "])));
|
|
17304
17354
|
}, function (props) {
|
|
17305
|
-
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 "])));
|
|
17306
17356
|
}, function (props) {
|
|
17307
|
-
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 "])));
|
|
17308
17358
|
}, function (props) {
|
|
17309
|
-
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 "])));
|
|
17310
17360
|
}, function (props) {
|
|
17311
|
-
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 "])));
|
|
17312
17362
|
}, function (props) {
|
|
17313
|
-
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 "])));
|
|
17314
17364
|
}, function (props) {
|
|
17315
|
-
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 "])));
|
|
17316
17366
|
});
|
|
17317
17367
|
|
|
17318
17368
|
var _excluded$1 = ["children"];
|
|
@@ -17324,8 +17374,8 @@ var Card = function Card(_ref) {
|
|
|
17324
17374
|
return React__default.createElement(Container$9, Object.assign({}, rest), children);
|
|
17325
17375
|
};
|
|
17326
17376
|
|
|
17327
|
-
var _templateObject$
|
|
17328
|
-
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) {
|
|
17329
17379
|
var _ref$theme$spacings = _ref.theme.spacings,
|
|
17330
17380
|
s1 = _ref$theme$spacings.s1,
|
|
17331
17381
|
s3 = _ref$theme$spacings.s3;
|
|
@@ -17388,8 +17438,8 @@ var Header$4 = function Header(props) {
|
|
|
17388
17438
|
}));
|
|
17389
17439
|
};
|
|
17390
17440
|
|
|
17391
|
-
var _templateObject$
|
|
17392
|
-
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) {
|
|
17393
17443
|
var lightGrey = _ref.theme.colors.lightGrey;
|
|
17394
17444
|
return lightGrey;
|
|
17395
17445
|
});
|
|
@@ -17737,7 +17787,7 @@ var useContext$2 = function useContext() {
|
|
|
17737
17787
|
return React__default.useContext(Provider$2);
|
|
17738
17788
|
};
|
|
17739
17789
|
|
|
17740
|
-
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;
|
|
17741
17791
|
var aligns = {
|
|
17742
17792
|
self: {
|
|
17743
17793
|
horizontal: {
|
|
@@ -17766,17 +17816,17 @@ var aligns = {
|
|
|
17766
17816
|
}
|
|
17767
17817
|
}
|
|
17768
17818
|
};
|
|
17769
|
-
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) {
|
|
17770
17820
|
var width = _ref.width;
|
|
17771
17821
|
|
|
17772
17822
|
if (width === undefined) {
|
|
17773
|
-
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 "])));
|
|
17774
17824
|
} else if (width === 'auto') {
|
|
17775
|
-
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 "])));
|
|
17776
17826
|
}
|
|
17777
17827
|
|
|
17778
17828
|
var w = parseFloat(width) * 100 / 12;
|
|
17779
|
-
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);
|
|
17780
17830
|
}, function (_ref2) {
|
|
17781
17831
|
var spacing = _ref2.spacing;
|
|
17782
17832
|
var padding = getSpacings(spacing === undefined ? 's1' : spacing);
|
|
@@ -17784,7 +17834,7 @@ var Col = styled__default.div(_templateObject$D || (_templateObject$D = _taggedT
|
|
|
17784
17834
|
}, function (_ref3) {
|
|
17785
17835
|
var spacingAround = _ref3.spacingAround;
|
|
17786
17836
|
if (spacingAround) return;
|
|
17787
|
-
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 "])));
|
|
17788
17838
|
}, function (_ref4) {
|
|
17789
17839
|
var align = _ref4.align;
|
|
17790
17840
|
if (align === undefined) return;
|
|
@@ -17794,13 +17844,13 @@ var Col = styled__default.div(_templateObject$D || (_templateObject$D = _taggedT
|
|
|
17794
17844
|
if (align.self.horizontal !== undefined) {
|
|
17795
17845
|
var v = align.self.horizontal;
|
|
17796
17846
|
var a = aligns.self.horizontal;
|
|
17797
|
-
styles.push(styled.css(_templateObject6$
|
|
17847
|
+
styles.push(styled.css(_templateObject6$d || (_templateObject6$d = _taggedTemplateLiteralLoose(["\n justify-self: ", ";\n "])), a[v]));
|
|
17798
17848
|
}
|
|
17799
17849
|
|
|
17800
17850
|
if (align.self.vertical !== undefined) {
|
|
17801
17851
|
var _v = align.self.vertical;
|
|
17802
17852
|
var _a = aligns.self.vertical;
|
|
17803
|
-
styles.push(styled.css(_templateObject7$
|
|
17853
|
+
styles.push(styled.css(_templateObject7$d || (_templateObject7$d = _taggedTemplateLiteralLoose(["\n align-self: ", ";\n "])), _a[_v]));
|
|
17804
17854
|
}
|
|
17805
17855
|
}
|
|
17806
17856
|
|
|
@@ -17808,19 +17858,19 @@ var Col = styled__default.div(_templateObject$D || (_templateObject$D = _taggedT
|
|
|
17808
17858
|
if (align.content.horizontal !== undefined) {
|
|
17809
17859
|
var _v2 = align.content.horizontal;
|
|
17810
17860
|
var _a2 = aligns.content.horizontal;
|
|
17811
|
-
styles.push(styled.css(_templateObject8$
|
|
17861
|
+
styles.push(styled.css(_templateObject8$a || (_templateObject8$a = _taggedTemplateLiteralLoose(["\n justify-content: ", ";\n "])), _a2[_v2]));
|
|
17812
17862
|
}
|
|
17813
17863
|
|
|
17814
17864
|
if (align.content.vertical !== undefined) {
|
|
17815
17865
|
var _v3 = align.content.vertical;
|
|
17816
17866
|
var _a3 = aligns.content.vertical;
|
|
17817
|
-
styles.push(styled.css(_templateObject9$
|
|
17867
|
+
styles.push(styled.css(_templateObject9$a || (_templateObject9$a = _taggedTemplateLiteralLoose(["\n align-items: ", ";\n "])), _a3[_v3]));
|
|
17818
17868
|
}
|
|
17819
17869
|
}
|
|
17820
17870
|
|
|
17821
17871
|
if (align.text !== undefined) {
|
|
17822
17872
|
var _v4 = align.text;
|
|
17823
|
-
styles.push(styled.css(_templateObject10$
|
|
17873
|
+
styles.push(styled.css(_templateObject10$9 || (_templateObject10$9 = _taggedTemplateLiteralLoose(["\n text-align: ", ";\n "])), _v4));
|
|
17824
17874
|
}
|
|
17825
17875
|
|
|
17826
17876
|
return styles;
|
|
@@ -17828,30 +17878,30 @@ var Col = styled__default.div(_templateObject$D || (_templateObject$D = _taggedT
|
|
|
17828
17878
|
var bordered = _ref5.bordered,
|
|
17829
17879
|
lightestGrey = _ref5.theme.colors.lightestGrey;
|
|
17830
17880
|
if (!bordered) return;
|
|
17831
|
-
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);
|
|
17832
17882
|
}, function (_ref6) {
|
|
17833
17883
|
var fontColor = _ref6.fontColor,
|
|
17834
17884
|
theme = _ref6.theme;
|
|
17835
17885
|
if (fontColor === undefined) return;
|
|
17836
17886
|
var c = Array.isArray(fontColor) ? theme.getColor.apply(theme, fontColor) : theme.colors[fontColor];
|
|
17837
|
-
return styled.css(_templateObject12$
|
|
17887
|
+
return styled.css(_templateObject12$4 || (_templateObject12$4 = _taggedTemplateLiteralLoose(["\n color: ", ";\n "])), c);
|
|
17838
17888
|
}, function (_ref7) {
|
|
17839
17889
|
var backgroundColor = _ref7.backgroundColor,
|
|
17840
17890
|
theme = _ref7.theme;
|
|
17841
17891
|
if (backgroundColor === undefined) return;
|
|
17842
17892
|
var c = Array.isArray(backgroundColor) ? theme.getColor.apply(theme, backgroundColor) : theme.colors[backgroundColor];
|
|
17843
|
-
return styled.css(_templateObject13$
|
|
17893
|
+
return styled.css(_templateObject13$2 || (_templateObject13$2 = _taggedTemplateLiteralLoose(["\n background-color: ", ";\n "])), c);
|
|
17844
17894
|
}, function (_ref8) {
|
|
17845
17895
|
var hover = _ref8.hover,
|
|
17846
17896
|
theme = _ref8.theme;
|
|
17847
17897
|
if (!hover) return;
|
|
17848
17898
|
var h = hover === true ? ['lightGrey', 50] : hover;
|
|
17849
17899
|
var c = Array.isArray(h) ? theme.getColor.apply(theme, h) : theme.colors[h];
|
|
17850
|
-
return styled.css(_templateObject14$
|
|
17900
|
+
return styled.css(_templateObject14$2 || (_templateObject14$2 = _taggedTemplateLiteralLoose(["\n :hover {\n background-color: ", ";\n }\n "])), c);
|
|
17851
17901
|
}, function (_ref9) {
|
|
17852
17902
|
var pointer = _ref9.pointer;
|
|
17853
17903
|
if (!pointer) return;
|
|
17854
|
-
return styled.css(_templateObject15$
|
|
17904
|
+
return styled.css(_templateObject15$2 || (_templateObject15$2 = _taggedTemplateLiteralLoose(["\n cursor: pointer;\n "])));
|
|
17855
17905
|
});
|
|
17856
17906
|
|
|
17857
17907
|
var Col$1 = function Col$1(props) {
|
|
@@ -17871,17 +17921,17 @@ var useContext$3 = function useContext() {
|
|
|
17871
17921
|
return React__default.useContext(Provider$3);
|
|
17872
17922
|
};
|
|
17873
17923
|
|
|
17874
|
-
var _templateObject$
|
|
17875
|
-
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) {
|
|
17876
17926
|
var spacing = _ref.spacing;
|
|
17877
17927
|
if (spacing === undefined) return;
|
|
17878
17928
|
var padding = getSpacings(spacing);
|
|
17879
|
-
return styled.css(_templateObject2$
|
|
17929
|
+
return styled.css(_templateObject2$A || (_templateObject2$A = _taggedTemplateLiteralLoose(["\n padding: ", ";\n "])), padding);
|
|
17880
17930
|
}, function (_ref2) {
|
|
17881
17931
|
var borderless = _ref2.borderless,
|
|
17882
17932
|
lightestGrey = _ref2.theme.colors.lightestGrey;
|
|
17883
17933
|
if (borderless) return;
|
|
17884
|
-
return styled.css(_templateObject3$
|
|
17934
|
+
return styled.css(_templateObject3$t || (_templateObject3$t = _taggedTemplateLiteralLoose(["\n border: 1px solid ", ";\n "])), lightestGrey);
|
|
17885
17935
|
});
|
|
17886
17936
|
|
|
17887
17937
|
var Grid$1 = function Grid$1(props) {
|
|
@@ -17896,7 +17946,7 @@ var Grid$1 = function Grid$1(props) {
|
|
|
17896
17946
|
}, React__default.createElement(Grid, Object.assign({}, gridProps)));
|
|
17897
17947
|
};
|
|
17898
17948
|
|
|
17899
|
-
var _templateObject$
|
|
17949
|
+
var _templateObject$O, _templateObject2$B, _templateObject3$u, _templateObject4$i, _templateObject5$f, _templateObject6$e, _templateObject7$e, _templateObject8$b, _templateObject9$b, _templateObject10$a;
|
|
17900
17950
|
var horizontalAligns = {
|
|
17901
17951
|
around: 'space-around',
|
|
17902
17952
|
between: 'space-between',
|
|
@@ -17909,23 +17959,23 @@ var verticalAligns = {
|
|
|
17909
17959
|
top: 'start',
|
|
17910
17960
|
bottom: 'end'
|
|
17911
17961
|
};
|
|
17912
|
-
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) {
|
|
17913
17963
|
var spacing = _ref.spacing;
|
|
17914
17964
|
if (spacing === undefined) return;
|
|
17915
17965
|
var padding = getSpacings(spacing);
|
|
17916
|
-
return styled.css(_templateObject2$
|
|
17966
|
+
return styled.css(_templateObject2$B || (_templateObject2$B = _taggedTemplateLiteralLoose(["\n padding: ", ";\n "])), padding);
|
|
17917
17967
|
}, function (_ref2) {
|
|
17918
17968
|
var spacingAround = _ref2.spacingAround;
|
|
17919
17969
|
if (spacingAround) return;
|
|
17920
|
-
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 "])));
|
|
17921
17971
|
}, function (_ref3) {
|
|
17922
17972
|
var horizontalAlign = _ref3.horizontalAlign;
|
|
17923
17973
|
if (horizontalAlign === undefined) return;
|
|
17924
|
-
return styled.css(_templateObject4$
|
|
17974
|
+
return styled.css(_templateObject4$i || (_templateObject4$i = _taggedTemplateLiteralLoose(["\n justify-content: ", ";\n "])), horizontalAligns[horizontalAlign]);
|
|
17925
17975
|
}, function (_ref4) {
|
|
17926
17976
|
var verticalAlign = _ref4.verticalAlign;
|
|
17927
17977
|
if (verticalAlign === undefined) return;
|
|
17928
|
-
return styled.css(_templateObject5$
|
|
17978
|
+
return styled.css(_templateObject5$f || (_templateObject5$f = _taggedTemplateLiteralLoose(["\n align-items: ", ";\n "])), verticalAligns[verticalAlign]);
|
|
17929
17979
|
}, function (_ref5) {
|
|
17930
17980
|
var striped = _ref5.striped,
|
|
17931
17981
|
backgroundColor = _ref5.backgroundColor,
|
|
@@ -17933,11 +17983,11 @@ var Row = styled__default.div(_templateObject$F || (_templateObject$F = _taggedT
|
|
|
17933
17983
|
|
|
17934
17984
|
if (backgroundColor !== undefined) {
|
|
17935
17985
|
var c = Array.isArray(backgroundColor) ? theme.getColor.apply(theme, backgroundColor) : theme.colors[backgroundColor];
|
|
17936
|
-
return styled.css(_templateObject6$
|
|
17986
|
+
return styled.css(_templateObject6$e || (_templateObject6$e = _taggedTemplateLiteralLoose(["\n background-color: ", ";\n "])), c);
|
|
17937
17987
|
}
|
|
17938
17988
|
|
|
17939
17989
|
if (striped === undefined) {
|
|
17940
|
-
return styled.css(_templateObject7$
|
|
17990
|
+
return styled.css(_templateObject7$e || (_templateObject7$e = _taggedTemplateLiteralLoose(["\n background-color: ", ";\n "])), theme.colors.white);
|
|
17941
17991
|
}
|
|
17942
17992
|
|
|
17943
17993
|
var config = striped === true ? {
|
|
@@ -17953,7 +18003,7 @@ var Row = styled__default.div(_templateObject$F || (_templateObject$F = _taggedT
|
|
|
17953
18003
|
even: theme.colors.white,
|
|
17954
18004
|
odd: theme.colors.white
|
|
17955
18005
|
});
|
|
17956
|
-
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);
|
|
17957
18007
|
}, function (_ref6) {
|
|
17958
18008
|
var fontColor = _ref6.fontColor,
|
|
17959
18009
|
theme = _ref6.theme;
|
|
@@ -17964,14 +18014,14 @@ var Row = styled__default.div(_templateObject$F || (_templateObject$F = _taggedT
|
|
|
17964
18014
|
var borderless = _ref7.borderless,
|
|
17965
18015
|
lightestGrey = _ref7.theme.colors.lightestGrey;
|
|
17966
18016
|
if (borderless) return;
|
|
17967
|
-
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);
|
|
17968
18018
|
}, function (_ref8) {
|
|
17969
18019
|
var hover = _ref8.hover,
|
|
17970
18020
|
theme = _ref8.theme;
|
|
17971
18021
|
if (!hover) return;
|
|
17972
18022
|
var h = hover === true ? ['lightGrey', 50] : hover;
|
|
17973
18023
|
var c = Array.isArray(h) ? theme.getColor.apply(theme, h) : theme.colors[h];
|
|
17974
|
-
return styled.css(_templateObject10$
|
|
18024
|
+
return styled.css(_templateObject10$a || (_templateObject10$a = _taggedTemplateLiteralLoose(["\n :hover {\n background-color: ", ";\n }\n "])), c);
|
|
17975
18025
|
});
|
|
17976
18026
|
|
|
17977
18027
|
var Row$1 = function Row$1(props) {
|
|
@@ -18024,40 +18074,40 @@ var widths = {
|
|
|
18024
18074
|
default: '642.5px'
|
|
18025
18075
|
};
|
|
18026
18076
|
|
|
18027
|
-
var _templateObject$
|
|
18028
|
-
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) {
|
|
18029
18079
|
var theme = _ref.theme;
|
|
18030
18080
|
return theme.getColor('black', 25);
|
|
18031
18081
|
});
|
|
18032
|
-
var Content = styled__default.div(_templateObject2$
|
|
18033
|
-
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) {
|
|
18034
18084
|
var _ref2$theme = _ref2.theme,
|
|
18035
18085
|
colors = _ref2$theme.colors,
|
|
18036
18086
|
spacings = _ref2$theme.spacings,
|
|
18037
18087
|
useTypography = _ref2$theme.useTypography;
|
|
18038
|
-
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'));
|
|
18039
18089
|
});
|
|
18040
|
-
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) {
|
|
18041
18091
|
var _ref3$theme = _ref3.theme,
|
|
18042
18092
|
spacings = _ref3$theme.spacings,
|
|
18043
18093
|
colors = _ref3$theme.colors;
|
|
18044
|
-
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);
|
|
18045
18095
|
});
|
|
18046
|
-
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) {
|
|
18047
18097
|
var theme = _ref4.theme;
|
|
18048
18098
|
return theme.getColor('darkBlue', 75);
|
|
18049
18099
|
});
|
|
18050
|
-
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) {
|
|
18051
18101
|
var theme = _ref5.theme;
|
|
18052
18102
|
return theme.spacings.s3;
|
|
18053
18103
|
});
|
|
18054
|
-
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) {
|
|
18055
18105
|
var theme = _ref6.theme,
|
|
18056
18106
|
size = _ref6.size,
|
|
18057
18107
|
customSize = _ref6.customSize,
|
|
18058
18108
|
color = _ref6.color,
|
|
18059
18109
|
inverted = _ref6.inverted;
|
|
18060
|
-
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));
|
|
18061
18111
|
});
|
|
18062
18112
|
|
|
18063
18113
|
var _excluded$2 = ["children"];
|
|
@@ -18133,8 +18183,8 @@ var Modal = function Modal(props) {
|
|
|
18133
18183
|
}))))));
|
|
18134
18184
|
};
|
|
18135
18185
|
|
|
18136
|
-
var _templateObject$
|
|
18137
|
-
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) {
|
|
18138
18188
|
var theme = _ref.theme;
|
|
18139
18189
|
return theme.spacings.s5 + " " + theme.spacings.s4;
|
|
18140
18190
|
});
|
|
@@ -18171,8 +18221,8 @@ var ConfirmDelete = function ConfirmDelete(props) {
|
|
|
18171
18221
|
}, React__default.createElement(Content$1, null, children || content));
|
|
18172
18222
|
};
|
|
18173
18223
|
|
|
18174
|
-
var _templateObject$
|
|
18175
|
-
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) {
|
|
18176
18226
|
var theme = _ref.theme;
|
|
18177
18227
|
return theme.spacings.s5 + " " + theme.spacings.s4;
|
|
18178
18228
|
});
|
|
@@ -18212,8 +18262,8 @@ var ConfirmSuccess = function ConfirmSuccess(props) {
|
|
|
18212
18262
|
}, React__default.createElement(Content$2, null, children || content));
|
|
18213
18263
|
};
|
|
18214
18264
|
|
|
18215
|
-
var _templateObject$
|
|
18216
|
-
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) {
|
|
18217
18267
|
var theme = _ref.theme;
|
|
18218
18268
|
return theme.spacings.s5 + " " + theme.spacings.s4;
|
|
18219
18269
|
});
|
|
@@ -18254,24 +18304,24 @@ var Modal$1 = Object.assign(Modal, {
|
|
|
18254
18304
|
Audit: Audit
|
|
18255
18305
|
});
|
|
18256
18306
|
|
|
18257
|
-
var _templateObject$
|
|
18258
|
-
var Container$c = styled__default.div(_templateObject$
|
|
18259
|
-
var Header$6 = styled__default.div(_templateObject2$
|
|
18260
|
-
var HeaderImage = styled__default.div(_templateObject3$
|
|
18261
|
-
var HeaderContent = styled__default.div(_templateObject4$
|
|
18262
|
-
var MainContent = styled__default.div(_templateObject5$
|
|
18263
|
-
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) {
|
|
18264
18314
|
return props.height;
|
|
18265
18315
|
}, function (props) {
|
|
18266
|
-
return props.size === 'mini' && styled.css(_templateObject7$
|
|
18316
|
+
return props.size === 'mini' && styled.css(_templateObject7$g || (_templateObject7$g = _taggedTemplateLiteralLoose(["\n width: 15%;\n "])));
|
|
18267
18317
|
}, function (props) {
|
|
18268
|
-
return props.size === 'small' && styled.css(_templateObject8$
|
|
18318
|
+
return props.size === 'small' && styled.css(_templateObject8$d || (_templateObject8$d = _taggedTemplateLiteralLoose(["\n width: 25%;\n "])));
|
|
18269
18319
|
}, function (props) {
|
|
18270
|
-
return props.size === 'medium' && styled.css(_templateObject9$
|
|
18320
|
+
return props.size === 'medium' && styled.css(_templateObject9$d || (_templateObject9$d = _taggedTemplateLiteralLoose(["\n width: 45%;\n "])));
|
|
18271
18321
|
}, function (props) {
|
|
18272
|
-
return props.size === 'large' && styled.css(_templateObject10$
|
|
18322
|
+
return props.size === 'large' && styled.css(_templateObject10$c || (_templateObject10$c = _taggedTemplateLiteralLoose(["\n width: 75%;\n "])));
|
|
18273
18323
|
});
|
|
18274
|
-
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"])));
|
|
18275
18325
|
|
|
18276
18326
|
var Template1 = function Template1(props) {
|
|
18277
18327
|
if (!props.loading) return React__default.createElement(React__default.Fragment, null);
|
|
@@ -18306,28 +18356,28 @@ var Template1 = function Template1(props) {
|
|
|
18306
18356
|
})));
|
|
18307
18357
|
};
|
|
18308
18358
|
|
|
18309
|
-
var _templateObject$
|
|
18310
|
-
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) {
|
|
18311
18361
|
return props.height;
|
|
18312
18362
|
}, function (props) {
|
|
18313
|
-
return props.size === 'mini' && styled.css(_templateObject2$
|
|
18363
|
+
return props.size === 'mini' && styled.css(_templateObject2$E || (_templateObject2$E = _taggedTemplateLiteralLoose(["\n width: 15%;\n "])));
|
|
18314
18364
|
}, function (props) {
|
|
18315
|
-
return props.size === 'small' && styled.css(_templateObject3$
|
|
18365
|
+
return props.size === 'small' && styled.css(_templateObject3$x || (_templateObject3$x = _taggedTemplateLiteralLoose(["\n width: 25%;\n "])));
|
|
18316
18366
|
}, function (props) {
|
|
18317
|
-
return props.size === 'medium' && styled.css(_templateObject4$
|
|
18367
|
+
return props.size === 'medium' && styled.css(_templateObject4$l || (_templateObject4$l = _taggedTemplateLiteralLoose(["\n width: 45%;\n "])));
|
|
18318
18368
|
}, function (props) {
|
|
18319
|
-
return props.size === 'large' && styled.css(_templateObject5$
|
|
18369
|
+
return props.size === 'large' && styled.css(_templateObject5$i || (_templateObject5$i = _taggedTemplateLiteralLoose(["\n width: 75%;\n "])));
|
|
18320
18370
|
});
|
|
18321
18371
|
|
|
18322
|
-
var _templateObject$
|
|
18323
|
-
var Container$d = styled__default.div(_templateObject$
|
|
18324
|
-
var Template2Container = styled__default(Container$d)(_templateObject2$
|
|
18325
|
-
var Header$7 = styled__default.div(_templateObject3$
|
|
18326
|
-
var HeaderImage$1 = styled__default.div(_templateObject4$
|
|
18327
|
-
var HeaderContent$1 = styled__default.div(_templateObject5$
|
|
18328
|
-
var MainContent$1 = styled__default.div(_templateObject6$
|
|
18329
|
-
var MainLine$1 = styled__default(HeaderLine$1)(_templateObject7$
|
|
18330
|
-
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([""])));
|
|
18331
18381
|
|
|
18332
18382
|
var Template2 = function Template2(props) {
|
|
18333
18383
|
if (!props.loading) return React__default.createElement(React__default.Fragment, null);
|
|
@@ -18350,10 +18400,10 @@ var Template2 = function Template2(props) {
|
|
|
18350
18400
|
})));
|
|
18351
18401
|
};
|
|
18352
18402
|
|
|
18353
|
-
var _templateObject$
|
|
18354
|
-
var Container$e = styled__default.div(_templateObject$
|
|
18355
|
-
var Template3Container = styled__default(Container$e)(_templateObject2$
|
|
18356
|
-
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) {
|
|
18357
18407
|
return props.height;
|
|
18358
18408
|
});
|
|
18359
18409
|
|
|
@@ -18382,21 +18432,21 @@ var Template3 = function Template3(props) {
|
|
|
18382
18432
|
}));
|
|
18383
18433
|
};
|
|
18384
18434
|
|
|
18385
|
-
var _templateObject$
|
|
18386
|
-
var Container$f = styled__default.div(_templateObject$
|
|
18387
|
-
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) {
|
|
18388
18438
|
return props.height;
|
|
18389
18439
|
}, function (props) {
|
|
18390
|
-
return props.size === 'mini' && styled.css(_templateObject3$
|
|
18440
|
+
return props.size === 'mini' && styled.css(_templateObject3$A || (_templateObject3$A = _taggedTemplateLiteralLoose(["\n width: 15%;\n "])));
|
|
18391
18441
|
}, function (props) {
|
|
18392
|
-
return props.size === 'small' && styled.css(_templateObject4$
|
|
18442
|
+
return props.size === 'small' && styled.css(_templateObject4$n || (_templateObject4$n = _taggedTemplateLiteralLoose(["\n width: 25%;\n "])));
|
|
18393
18443
|
}, function (props) {
|
|
18394
|
-
return props.size === 'medium' && styled.css(_templateObject5$
|
|
18444
|
+
return props.size === 'medium' && styled.css(_templateObject5$k || (_templateObject5$k = _taggedTemplateLiteralLoose(["\n width: 45%;\n "])));
|
|
18395
18445
|
}, function (props) {
|
|
18396
|
-
return props.size === 'large' && styled.css(_templateObject6$
|
|
18446
|
+
return props.size === 'large' && styled.css(_templateObject6$i || (_templateObject6$i = _taggedTemplateLiteralLoose(["\n width: 75%;\n "])));
|
|
18397
18447
|
});
|
|
18398
|
-
var Template4Container = styled__default(Container$f)(_templateObject7$
|
|
18399
|
-
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) {
|
|
18400
18450
|
return props.width;
|
|
18401
18451
|
}, function (props) {
|
|
18402
18452
|
return props.height;
|
|
@@ -18449,28 +18499,28 @@ var Template4 = function Template4(props) {
|
|
|
18449
18499
|
}));
|
|
18450
18500
|
};
|
|
18451
18501
|
|
|
18452
|
-
var _templateObject$
|
|
18453
|
-
var Container$g = styled__default.div(_templateObject$
|
|
18454
|
-
var Circle = styled__default.div(_templateObject2$
|
|
18455
|
-
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) {
|
|
18456
18506
|
return props.height;
|
|
18457
18507
|
}, function (props) {
|
|
18458
|
-
return props.size === 'mini' && styled.css(_templateObject4$
|
|
18508
|
+
return props.size === 'mini' && styled.css(_templateObject4$o || (_templateObject4$o = _taggedTemplateLiteralLoose(["\n width: 15%;\n "])));
|
|
18459
18509
|
}, function (props) {
|
|
18460
|
-
return props.size === 'small' && styled.css(_templateObject5$
|
|
18510
|
+
return props.size === 'small' && styled.css(_templateObject5$l || (_templateObject5$l = _taggedTemplateLiteralLoose(["\n width: 25%;\n "])));
|
|
18461
18511
|
}, function (props) {
|
|
18462
|
-
return props.size === 'medium' && styled.css(_templateObject6$
|
|
18512
|
+
return props.size === 'medium' && styled.css(_templateObject6$j || (_templateObject6$j = _taggedTemplateLiteralLoose(["\n width: 45%;\n "])));
|
|
18463
18513
|
}, function (props) {
|
|
18464
|
-
return props.size === 'large' && styled.css(_templateObject7$
|
|
18514
|
+
return props.size === 'large' && styled.css(_templateObject7$j || (_templateObject7$j = _taggedTemplateLiteralLoose(["\n width: 75%;\n "])));
|
|
18465
18515
|
});
|
|
18466
|
-
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) {
|
|
18467
18517
|
return props.width;
|
|
18468
18518
|
}, function (props) {
|
|
18469
18519
|
return props.height;
|
|
18470
18520
|
}, function (props) {
|
|
18471
18521
|
return props.color;
|
|
18472
18522
|
});
|
|
18473
|
-
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"])));
|
|
18474
18524
|
|
|
18475
18525
|
var Template5 = function Template5(props) {
|
|
18476
18526
|
if (!props.loading) return React__default.createElement(React__default.Fragment, null);
|
|
@@ -18497,22 +18547,22 @@ var Template5 = function Template5(props) {
|
|
|
18497
18547
|
})));
|
|
18498
18548
|
};
|
|
18499
18549
|
|
|
18500
|
-
var _templateObject$
|
|
18501
|
-
var Container$h = styled__default.div(_templateObject$
|
|
18502
|
-
var Header$8 = styled__default.div(_templateObject2$
|
|
18503
|
-
var Footer$3 = styled__default.div(_templateObject3$
|
|
18504
|
-
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) {
|
|
18505
18555
|
return props.height;
|
|
18506
18556
|
}, function (props) {
|
|
18507
|
-
return props.size === 'mini' && styled.css(_templateObject5$
|
|
18557
|
+
return props.size === 'mini' && styled.css(_templateObject5$m || (_templateObject5$m = _taggedTemplateLiteralLoose(["\n width: 15%;\n "])));
|
|
18508
18558
|
}, function (props) {
|
|
18509
|
-
return props.size === 'small' && styled.css(_templateObject6$
|
|
18559
|
+
return props.size === 'small' && styled.css(_templateObject6$k || (_templateObject6$k = _taggedTemplateLiteralLoose(["\n width: 25%;\n "])));
|
|
18510
18560
|
}, function (props) {
|
|
18511
|
-
return props.size === 'medium' && styled.css(_templateObject7$
|
|
18561
|
+
return props.size === 'medium' && styled.css(_templateObject7$k || (_templateObject7$k = _taggedTemplateLiteralLoose(["\n width: 45%;\n "])));
|
|
18512
18562
|
}, function (props) {
|
|
18513
|
-
return props.size === 'large' && styled.css(_templateObject8$
|
|
18563
|
+
return props.size === 'large' && styled.css(_templateObject8$h || (_templateObject8$h = _taggedTemplateLiteralLoose(["\n width: 75%;\n "])));
|
|
18514
18564
|
});
|
|
18515
|
-
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) {
|
|
18516
18566
|
return props.width;
|
|
18517
18567
|
}, function (props) {
|
|
18518
18568
|
return props.height;
|
|
@@ -18540,29 +18590,29 @@ var Template6 = function Template6(props) {
|
|
|
18540
18590
|
})));
|
|
18541
18591
|
};
|
|
18542
18592
|
|
|
18543
|
-
var _templateObject$
|
|
18544
|
-
var Container$i = styled__default.div(_templateObject$
|
|
18545
|
-
var Header$9 = styled__default.div(_templateObject2$
|
|
18546
|
-
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) {
|
|
18547
18597
|
return props.height;
|
|
18548
18598
|
}, function (props) {
|
|
18549
|
-
return props.size === 'mini' && styled.css(_templateObject4$
|
|
18599
|
+
return props.size === 'mini' && styled.css(_templateObject4$q || (_templateObject4$q = _taggedTemplateLiteralLoose(["\n width: 15%;\n "])));
|
|
18550
18600
|
}, function (props) {
|
|
18551
|
-
return props.size === 'small' && styled.css(_templateObject5$
|
|
18601
|
+
return props.size === 'small' && styled.css(_templateObject5$n || (_templateObject5$n = _taggedTemplateLiteralLoose(["\n width: 25%;\n "])));
|
|
18552
18602
|
}, function (props) {
|
|
18553
|
-
return props.size === 'medium' && styled.css(_templateObject6$
|
|
18603
|
+
return props.size === 'medium' && styled.css(_templateObject6$l || (_templateObject6$l = _taggedTemplateLiteralLoose(["\n width: 45%;\n "])));
|
|
18554
18604
|
}, function (props) {
|
|
18555
|
-
return props.size === 'large' && styled.css(_templateObject7$
|
|
18605
|
+
return props.size === 'large' && styled.css(_templateObject7$l || (_templateObject7$l = _taggedTemplateLiteralLoose(["\n width: 75%;\n "])));
|
|
18556
18606
|
});
|
|
18557
|
-
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) {
|
|
18558
18608
|
return props.width;
|
|
18559
18609
|
}, function (props) {
|
|
18560
18610
|
return props.height;
|
|
18561
18611
|
}, function (props) {
|
|
18562
18612
|
return props.color;
|
|
18563
18613
|
});
|
|
18564
|
-
var Main$2 = styled__default.div(_templateObject9$
|
|
18565
|
-
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"])));
|
|
18566
18616
|
|
|
18567
18617
|
var Template7 = function Template7(props) {
|
|
18568
18618
|
if (!props.loading) return React__default.createElement(React__default.Fragment, null);
|
|
@@ -18574,28 +18624,28 @@ var Template7 = function Template7(props) {
|
|
|
18574
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)));
|
|
18575
18625
|
};
|
|
18576
18626
|
|
|
18577
|
-
var _templateObject
|
|
18578
|
-
var Container$j = styled__default.div(_templateObject
|
|
18579
|
-
var Header$a = styled__default.div(_templateObject2$
|
|
18580
|
-
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) {
|
|
18581
18631
|
return props.height;
|
|
18582
18632
|
}, function (props) {
|
|
18583
|
-
return props.size === 'mini' && styled.css(_templateObject4$
|
|
18633
|
+
return props.size === 'mini' && styled.css(_templateObject4$r || (_templateObject4$r = _taggedTemplateLiteralLoose(["\n width: 15%;\n "])));
|
|
18584
18634
|
}, function (props) {
|
|
18585
|
-
return props.size === 'small' && styled.css(_templateObject5$
|
|
18635
|
+
return props.size === 'small' && styled.css(_templateObject5$o || (_templateObject5$o = _taggedTemplateLiteralLoose(["\n width: 25%;\n "])));
|
|
18586
18636
|
}, function (props) {
|
|
18587
|
-
return props.size === 'medium' && styled.css(_templateObject6$
|
|
18637
|
+
return props.size === 'medium' && styled.css(_templateObject6$m || (_templateObject6$m = _taggedTemplateLiteralLoose(["\n width: 45%;\n "])));
|
|
18588
18638
|
}, function (props) {
|
|
18589
|
-
return props.size === 'large' && styled.css(_templateObject7$
|
|
18639
|
+
return props.size === 'large' && styled.css(_templateObject7$m || (_templateObject7$m = _taggedTemplateLiteralLoose(["\n width: 75%;\n "])));
|
|
18590
18640
|
});
|
|
18591
|
-
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) {
|
|
18592
18642
|
return props.width;
|
|
18593
18643
|
}, function (props) {
|
|
18594
18644
|
return props.height;
|
|
18595
18645
|
}, function (props) {
|
|
18596
18646
|
return props.color;
|
|
18597
18647
|
});
|
|
18598
|
-
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"])));
|
|
18599
18649
|
|
|
18600
18650
|
var Template8 = function Template8(props) {
|
|
18601
18651
|
if (!props.loading) return React__default.createElement(React__default.Fragment, null);
|
|
@@ -18617,29 +18667,29 @@ var Template8 = function Template8(props) {
|
|
|
18617
18667
|
})));
|
|
18618
18668
|
};
|
|
18619
18669
|
|
|
18620
|
-
var _templateObject$
|
|
18621
|
-
var Container$k = styled__default.div(_templateObject$
|
|
18622
|
-
var Header$b = styled__default.div(_templateObject2$
|
|
18623
|
-
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) {
|
|
18624
18674
|
return props.height;
|
|
18625
18675
|
}, function (props) {
|
|
18626
|
-
return props.size === 'mini' && styled.css(_templateObject4$
|
|
18676
|
+
return props.size === 'mini' && styled.css(_templateObject4$s || (_templateObject4$s = _taggedTemplateLiteralLoose(["\n width: 15%;\n "])));
|
|
18627
18677
|
}, function (props) {
|
|
18628
|
-
return props.size === 'small' && styled.css(_templateObject5$
|
|
18678
|
+
return props.size === 'small' && styled.css(_templateObject5$p || (_templateObject5$p = _taggedTemplateLiteralLoose(["\n width: 25%;\n "])));
|
|
18629
18679
|
}, function (props) {
|
|
18630
|
-
return props.size === 'medium' && styled.css(_templateObject6$
|
|
18680
|
+
return props.size === 'medium' && styled.css(_templateObject6$n || (_templateObject6$n = _taggedTemplateLiteralLoose(["\n width: 45%;\n "])));
|
|
18631
18681
|
}, function (props) {
|
|
18632
|
-
return props.size === 'large' && styled.css(_templateObject7$
|
|
18682
|
+
return props.size === 'large' && styled.css(_templateObject7$n || (_templateObject7$n = _taggedTemplateLiteralLoose(["\n width: 75%;\n "])));
|
|
18633
18683
|
});
|
|
18634
|
-
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) {
|
|
18635
18685
|
return props.width;
|
|
18636
18686
|
}, function (props) {
|
|
18637
18687
|
return props.height;
|
|
18638
18688
|
}, function (props) {
|
|
18639
18689
|
return props.color;
|
|
18640
18690
|
});
|
|
18641
|
-
var Main$4 = styled__default.div(_templateObject9$
|
|
18642
|
-
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"])));
|
|
18643
18693
|
|
|
18644
18694
|
var Template8$1 = function Template8(props) {
|
|
18645
18695
|
if (!props.loading) return React__default.createElement(React__default.Fragment, null);
|
|
@@ -18656,30 +18706,30 @@ var Template8$1 = function Template8(props) {
|
|
|
18656
18706
|
})), React__default.createElement(Main$4, null, React__default.createElement(Circle$2, null)));
|
|
18657
18707
|
};
|
|
18658
18708
|
|
|
18659
|
-
var _templateObject$
|
|
18660
|
-
var Container$l = styled__default.div(_templateObject$
|
|
18661
|
-
var Header$c = styled__default.div(_templateObject2$
|
|
18662
|
-
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) {
|
|
18663
18713
|
return props.height;
|
|
18664
18714
|
}, function (props) {
|
|
18665
|
-
return props.size === 'mini' && styled.css(_templateObject4$
|
|
18715
|
+
return props.size === 'mini' && styled.css(_templateObject4$t || (_templateObject4$t = _taggedTemplateLiteralLoose(["\n width: 15%;\n "])));
|
|
18666
18716
|
}, function (props) {
|
|
18667
|
-
return props.size === 'small' && styled.css(_templateObject5$
|
|
18717
|
+
return props.size === 'small' && styled.css(_templateObject5$q || (_templateObject5$q = _taggedTemplateLiteralLoose(["\n width: 25%;\n "])));
|
|
18668
18718
|
}, function (props) {
|
|
18669
|
-
return props.size === 'medium' && styled.css(_templateObject6$
|
|
18719
|
+
return props.size === 'medium' && styled.css(_templateObject6$o || (_templateObject6$o = _taggedTemplateLiteralLoose(["\n width: 45%;\n "])));
|
|
18670
18720
|
}, function (props) {
|
|
18671
|
-
return props.size === 'large' && styled.css(_templateObject7$
|
|
18721
|
+
return props.size === 'large' && styled.css(_templateObject7$o || (_templateObject7$o = _taggedTemplateLiteralLoose(["\n width: 75%;\n "])));
|
|
18672
18722
|
});
|
|
18673
|
-
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) {
|
|
18674
18724
|
return props.width;
|
|
18675
18725
|
}, function (props) {
|
|
18676
18726
|
return props.height;
|
|
18677
18727
|
}, function (props) {
|
|
18678
18728
|
return props.color;
|
|
18679
18729
|
});
|
|
18680
|
-
var GraphLine = styled__default(CustomLine$6)(_templateObject9$
|
|
18681
|
-
var Main$5 = styled__default.div(_templateObject10$
|
|
18682
|
-
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"])));
|
|
18683
18733
|
|
|
18684
18734
|
var Template10 = function Template10(props) {
|
|
18685
18735
|
if (!props.loading) return React__default.createElement(React__default.Fragment, null);
|
|
@@ -18800,32 +18850,32 @@ var Placeholder = function Placeholder(props) {
|
|
|
18800
18850
|
}
|
|
18801
18851
|
};
|
|
18802
18852
|
|
|
18803
|
-
var _templateObject$
|
|
18804
|
-
var Container$m = styled__default.div(_templateObject$
|
|
18805
|
-
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) {
|
|
18806
18856
|
return props.value + "%";
|
|
18807
18857
|
}, function (props) {
|
|
18808
|
-
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) {
|
|
18809
18859
|
var theme = _ref.theme;
|
|
18810
18860
|
return theme.colors.warningGray;
|
|
18811
18861
|
});
|
|
18812
18862
|
}, function (props) {
|
|
18813
|
-
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) {
|
|
18814
18864
|
var theme = _ref2.theme;
|
|
18815
18865
|
return theme.colors.blue;
|
|
18816
18866
|
});
|
|
18817
18867
|
}, function (props) {
|
|
18818
|
-
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) {
|
|
18819
18869
|
var theme = _ref3.theme;
|
|
18820
18870
|
return theme.colors.warningRed;
|
|
18821
18871
|
});
|
|
18822
18872
|
}, function (props) {
|
|
18823
|
-
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) {
|
|
18824
18874
|
var theme = _ref4.theme;
|
|
18825
18875
|
return theme.colors.green;
|
|
18826
18876
|
});
|
|
18827
18877
|
}, function (props) {
|
|
18828
|
-
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) {
|
|
18829
18879
|
var theme = _ref5.theme;
|
|
18830
18880
|
return theme.colors.warningYellow;
|
|
18831
18881
|
});
|
|
@@ -18870,21 +18920,21 @@ function SvgClose(props) {
|
|
|
18870
18920
|
})));
|
|
18871
18921
|
}
|
|
18872
18922
|
|
|
18873
|
-
var _templateObject$
|
|
18874
|
-
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) {
|
|
18875
18925
|
var theme = _ref.theme,
|
|
18876
18926
|
internal = _ref.internal;
|
|
18877
|
-
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);
|
|
18878
18928
|
});
|
|
18879
|
-
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) {
|
|
18880
18930
|
var theme = _ref2.theme,
|
|
18881
18931
|
internal = _ref2.internal;
|
|
18882
|
-
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));
|
|
18883
18933
|
});
|
|
18884
|
-
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) {
|
|
18885
18935
|
var theme = _ref3.theme,
|
|
18886
18936
|
active = _ref3.active;
|
|
18887
|
-
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);
|
|
18888
18938
|
});
|
|
18889
18939
|
|
|
18890
18940
|
var initialStatus = function initialStatus(active, length) {
|
|
@@ -19003,8 +19053,8 @@ var Tabs$1 = function Tabs$1(props) {
|
|
|
19003
19053
|
}, [])));
|
|
19004
19054
|
};
|
|
19005
19055
|
|
|
19006
|
-
var _templateObject$
|
|
19007
|
-
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) {
|
|
19008
19058
|
return "" + props.width;
|
|
19009
19059
|
}, function (props) {
|
|
19010
19060
|
return "" + props.height;
|
|
@@ -19014,18 +19064,18 @@ var TextArea = function TextArea(props) {
|
|
|
19014
19064
|
return React__default.createElement(Container$o, Object.assign({}, props));
|
|
19015
19065
|
};
|
|
19016
19066
|
|
|
19017
|
-
var _templateObject$
|
|
19018
|
-
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) {
|
|
19019
19069
|
return props.size === 'large' ? '837px' : '460px';
|
|
19020
19070
|
}, function (props) {
|
|
19021
|
-
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 "])));
|
|
19022
19072
|
}, function (props) {
|
|
19023
|
-
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 "])));
|
|
19024
19074
|
}, function (props) {
|
|
19025
|
-
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 "])));
|
|
19026
19076
|
});
|
|
19027
|
-
var IconContainer$2 = styled__default.div(_templateObject5$
|
|
19028
|
-
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"])));
|
|
19029
19079
|
|
|
19030
19080
|
var Toast = function Toast(props) {
|
|
19031
19081
|
return React__default.createElement(Container$p, Object.assign({}, props), React__default.createElement(IconContainer$2, null, React__default.createElement(Icon, {
|
|
@@ -19037,9 +19087,9 @@ var Toast = function Toast(props) {
|
|
|
19037
19087
|
})), React__default.createElement(IconContent, null, React__default.createElement("h4", null, props.title), React__default.createElement("p", null, " ", props.description)));
|
|
19038
19088
|
};
|
|
19039
19089
|
|
|
19040
|
-
var _templateObject$
|
|
19041
|
-
var Image = styled__default.img(_templateObject$
|
|
19042
|
-
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) {
|
|
19043
19093
|
var width = _ref.width;
|
|
19044
19094
|
|
|
19045
19095
|
switch (typeof width) {
|
|
@@ -19066,15 +19116,15 @@ var Container$q = styled__default.div(_templateObject2$M || (_templateObject2$M
|
|
|
19066
19116
|
return 'auto';
|
|
19067
19117
|
}
|
|
19068
19118
|
});
|
|
19069
|
-
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) {
|
|
19070
19120
|
var theme = _ref3.theme;
|
|
19071
19121
|
return theme.getColor('greyishBlue', 50);
|
|
19072
19122
|
});
|
|
19073
|
-
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) {
|
|
19074
19124
|
var theme = _ref4.theme;
|
|
19075
19125
|
return theme.getColor('white', 50);
|
|
19076
19126
|
});
|
|
19077
|
-
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"])));
|
|
19078
19128
|
|
|
19079
19129
|
var _excluded$3 = ["src", "defaultClickOptions"];
|
|
19080
19130
|
|