@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.modern.js
CHANGED
|
@@ -197,9 +197,20 @@ var keys = function keys(value) {
|
|
|
197
197
|
var notEmptyString = function notEmptyString(value) {
|
|
198
198
|
return typeof value === 'string' && value.trim() !== '';
|
|
199
199
|
};
|
|
200
|
+
var isNumber = function isNumber(value) {
|
|
201
|
+
return typeof value === 'number' && isFinite(value);
|
|
202
|
+
};
|
|
203
|
+
var isNumeric = function isNumeric(value) {
|
|
204
|
+
if (isNumber(value)) return true;
|
|
205
|
+
if (!isString(value)) return false;
|
|
206
|
+
return !isNaN(parseFloat(value));
|
|
207
|
+
};
|
|
200
208
|
var isBoolean = function isBoolean(value) {
|
|
201
209
|
return typeof value === 'boolean';
|
|
202
210
|
};
|
|
211
|
+
var isNumericString = function isNumericString(value) {
|
|
212
|
+
return notEmptyString(value) && isNumeric(value);
|
|
213
|
+
};
|
|
203
214
|
var isString = function isString(value) {
|
|
204
215
|
return typeof value === 'string';
|
|
205
216
|
};
|
|
@@ -321,6 +332,11 @@ var filterObject = function filterObject(object, remove, inital) {
|
|
|
321
332
|
}, inital);
|
|
322
333
|
return r;
|
|
323
334
|
};
|
|
335
|
+
var numberOrDefault = function numberOrDefault(value, defaultValue) {
|
|
336
|
+
if (isNumber(value)) return value;
|
|
337
|
+
if (isNumericString(value)) return parseFloat(value);
|
|
338
|
+
return defaultValue;
|
|
339
|
+
};
|
|
324
340
|
var isoStringToDate = function isoStringToDate(value) {
|
|
325
341
|
var _value$split = value.split(' '),
|
|
326
342
|
d = _value$split[0],
|
|
@@ -14974,17 +14990,11 @@ var Select = React__default.forwardRef(function (props, ref) {
|
|
|
14974
14990
|
Select.displayName = 'Select';
|
|
14975
14991
|
|
|
14976
14992
|
var Password = React__default.forwardRef(function (props, ref) {
|
|
14977
|
-
var _useState = useState('
|
|
14993
|
+
var _useState = useState('hidden'),
|
|
14978
14994
|
visibility = _useState[0],
|
|
14979
14995
|
setVisibility = _useState[1];
|
|
14980
14996
|
|
|
14981
14997
|
var icons = {
|
|
14982
|
-
none: {
|
|
14983
|
-
icon: 'edit',
|
|
14984
|
-
onClick: function onClick() {
|
|
14985
|
-
return setVisibility('hidden');
|
|
14986
|
-
}
|
|
14987
|
-
},
|
|
14988
14998
|
visible: {
|
|
14989
14999
|
icon: 'eye_off',
|
|
14990
15000
|
onClick: function onClick() {
|
|
@@ -15003,15 +15013,6 @@ var Password = React__default.forwardRef(function (props, ref) {
|
|
|
15003
15013
|
icon: icons[visibility].icon,
|
|
15004
15014
|
width: '19px'
|
|
15005
15015
|
};
|
|
15006
|
-
|
|
15007
|
-
var _onBlur = props.onBlur || function () {};
|
|
15008
|
-
|
|
15009
|
-
var onBlur = function onBlur(event) {
|
|
15010
|
-
if (!event.target.value) setVisibility('none');
|
|
15011
|
-
|
|
15012
|
-
_onBlur(event);
|
|
15013
|
-
};
|
|
15014
|
-
|
|
15015
15016
|
return React__default.createElement(Input$1, Object.assign({}, props, {
|
|
15016
15017
|
type: visibility === 'visible' ? 'text' : 'PASSWORD',
|
|
15017
15018
|
icon: {
|
|
@@ -15019,9 +15020,7 @@ var Password = React__default.forwardRef(function (props, ref) {
|
|
|
15019
15020
|
position: 'right',
|
|
15020
15021
|
onClick: icons[visibility].onClick
|
|
15021
15022
|
},
|
|
15022
|
-
onBlur: onBlur,
|
|
15023
15023
|
placeholder: "\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022",
|
|
15024
|
-
htmlDisabled: visibility === 'none',
|
|
15025
15024
|
ref: ref
|
|
15026
15025
|
}));
|
|
15027
15026
|
});
|
|
@@ -15628,8 +15627,8 @@ var Switch = function Switch(props) {
|
|
|
15628
15627
|
})), React__default.createElement("span", null), label.after && React__default.createElement(LabelContainer$3, null, label.after));
|
|
15629
15628
|
};
|
|
15630
15629
|
|
|
15631
|
-
var _templateObject$q, _templateObject2$m
|
|
15632
|
-
var bullet = 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
|
|
15630
|
+
var _templateObject$q, _templateObject2$m;
|
|
15631
|
+
var bullet = 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) {
|
|
15633
15632
|
var theme = _ref.theme;
|
|
15634
15633
|
return theme.spacings.s4;
|
|
15635
15634
|
}, function (_ref2) {
|
|
@@ -15637,95 +15636,131 @@ var bullet = css(_templateObject$q || (_templateObject$q = _taggedTemplateLitera
|
|
|
15637
15636
|
return theme.spacings.s4;
|
|
15638
15637
|
}, function (_ref3) {
|
|
15639
15638
|
var theme = _ref3.theme;
|
|
15640
|
-
return theme.colors.white;
|
|
15641
|
-
}, function (_ref4) {
|
|
15642
|
-
var theme = _ref4.theme;
|
|
15643
15639
|
return theme.getColor('black', 10);
|
|
15640
|
+
}, function (props) {
|
|
15641
|
+
var theme = props.theme;
|
|
15642
|
+
var min = numberOrDefault(props.min, 0);
|
|
15643
|
+
var value = numberOrDefault(props.value, 0);
|
|
15644
|
+
return theme.colors[min > 0 || value > min ? 'blue' : 'white'];
|
|
15644
15645
|
});
|
|
15645
|
-
var
|
|
15646
|
-
|
|
15646
|
+
var Input$2 = styled.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);
|
|
15647
|
+
|
|
15648
|
+
var _templateObject$r;
|
|
15649
|
+
var SelectedArea = styled.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) {
|
|
15650
|
+
var theme = _ref.theme;
|
|
15651
|
+
return theme.getColor('greyishBlue', 10);
|
|
15652
|
+
}, function (_ref2) {
|
|
15653
|
+
var percent = _ref2.percent;
|
|
15654
|
+
return percent;
|
|
15655
|
+
});
|
|
15656
|
+
|
|
15657
|
+
var _templateObject$s, _templateObject2$n, _templateObject3$i;
|
|
15658
|
+
var InputContainer$1 = styled.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) {
|
|
15659
|
+
var theme = _ref.theme,
|
|
15660
|
+
invalid = _ref.invalid;
|
|
15661
|
+
|
|
15662
|
+
if (!invalid) {
|
|
15663
|
+
return 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);
|
|
15664
|
+
}
|
|
15665
|
+
|
|
15666
|
+
return 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);
|
|
15667
|
+
});
|
|
15668
|
+
|
|
15669
|
+
var _templateObject$t;
|
|
15670
|
+
var LabelContainer$4 = styled.div(_templateObject$t || (_templateObject$t = _taggedTemplateLiteralLoose(["\n display: inline-block;\n margin-bottom: ", ";\n"])), function (_ref) {
|
|
15671
|
+
var theme = _ref.theme;
|
|
15647
15672
|
return theme.spacings.s1;
|
|
15648
|
-
}
|
|
15649
|
-
|
|
15650
|
-
|
|
15673
|
+
});
|
|
15674
|
+
|
|
15675
|
+
var _templateObject$u, _templateObject2$o, _templateObject3$j;
|
|
15676
|
+
var NavBar = styled.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) {
|
|
15677
|
+
var theme = _ref.theme;
|
|
15678
|
+
return theme.spacings.s3;
|
|
15679
|
+
}, function (_ref2) {
|
|
15680
|
+
var position = _ref2.position;
|
|
15681
|
+
return position === 'bottom' ? 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) {
|
|
15682
|
+
var theme = _ref3.theme;
|
|
15683
|
+
return theme.spacings.s1;
|
|
15684
|
+
}, function (_ref4) {
|
|
15685
|
+
var theme = _ref4.theme;
|
|
15686
|
+
return theme.spacings.s1;
|
|
15687
|
+
}, function (_ref5) {
|
|
15688
|
+
var theme = _ref5.theme;
|
|
15689
|
+
return theme.spacings.s1;
|
|
15690
|
+
}) : 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) {
|
|
15691
|
+
var theme = _ref6.theme;
|
|
15692
|
+
return theme.spacings.s1;
|
|
15693
|
+
}, function (_ref7) {
|
|
15651
15694
|
var theme = _ref7.theme;
|
|
15652
15695
|
return theme.spacings.s1;
|
|
15653
|
-
}
|
|
15696
|
+
}, function (_ref8) {
|
|
15654
15697
|
var theme = _ref8.theme;
|
|
15655
15698
|
return theme.spacings.s1;
|
|
15656
15699
|
});
|
|
15657
15700
|
}, function (_ref9) {
|
|
15658
|
-
var
|
|
15659
|
-
|
|
15660
|
-
if (percent > 90) return 'calc(100% - 100px)';
|
|
15661
|
-
return "calc(" + percent + "% - 50px + 22px * " + (50 - percent) / 100 + ")";
|
|
15701
|
+
var theme = _ref9.theme;
|
|
15702
|
+
return theme.colors.blue;
|
|
15662
15703
|
}, function (_ref10) {
|
|
15663
15704
|
var theme = _ref10.theme;
|
|
15664
|
-
return theme.colors.
|
|
15705
|
+
return theme.colors.white;
|
|
15665
15706
|
}, function (_ref11) {
|
|
15666
15707
|
var theme = _ref11.theme;
|
|
15667
|
-
return theme.
|
|
15708
|
+
return theme.spacings.s1;
|
|
15668
15709
|
}, function (_ref12) {
|
|
15669
15710
|
var theme = _ref12.theme;
|
|
15670
|
-
return theme.spacings.
|
|
15671
|
-
})
|
|
15672
|
-
var Input$2 = styled.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);
|
|
15673
|
-
var LabelContainer$4 = styled.div(_templateObject6$a || (_templateObject6$a = _taggedTemplateLiteralLoose(["\n display: inline-block;\n margin-bottom: ", ";\n"])), function (_ref13) {
|
|
15711
|
+
return theme.spacings.s3;
|
|
15712
|
+
}, function (_ref13) {
|
|
15674
15713
|
var theme = _ref13.theme;
|
|
15675
|
-
return theme.spacings.
|
|
15676
|
-
})
|
|
15677
|
-
var Label$5 = styled.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) {
|
|
15714
|
+
return theme.spacings.s3;
|
|
15715
|
+
}, function (_ref14) {
|
|
15678
15716
|
var theme = _ref14.theme;
|
|
15717
|
+
return theme.colors.blue;
|
|
15718
|
+
});
|
|
15719
|
+
|
|
15720
|
+
var _templateObject$v, _templateObject2$p, _templateObject3$k;
|
|
15721
|
+
var Label$5 = styled.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) {
|
|
15722
|
+
var theme = _ref.theme;
|
|
15679
15723
|
return theme.useTypography('p');
|
|
15680
|
-
}, function (
|
|
15681
|
-
var width =
|
|
15724
|
+
}, function (_ref2) {
|
|
15725
|
+
var width = _ref2.width;
|
|
15682
15726
|
return width || '100%';
|
|
15683
|
-
}, function (
|
|
15684
|
-
var disabled =
|
|
15727
|
+
}, function (_ref3) {
|
|
15728
|
+
var disabled = _ref3.disabled;
|
|
15685
15729
|
if (!disabled) return;
|
|
15686
|
-
return css(
|
|
15687
|
-
}, LabelContainer$4, function (
|
|
15688
|
-
var required =
|
|
15689
|
-
return required && css(
|
|
15730
|
+
return css(_templateObject2$p || (_templateObject2$p = _taggedTemplateLiteralLoose(["\n opacity: 0.5;\n "])));
|
|
15731
|
+
}, LabelContainer$4, function (_ref4) {
|
|
15732
|
+
var required = _ref4.required;
|
|
15733
|
+
return required && css(_templateObject3$k || (_templateObject3$k = _taggedTemplateLiteralLoose(["\n :after {\n content: ' *';\n }\n "])));
|
|
15690
15734
|
}, NavBar);
|
|
15691
|
-
var InputContainer$1 = styled.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) {
|
|
15692
|
-
var theme = _ref18.theme,
|
|
15693
|
-
invalid = _ref18.invalid;
|
|
15694
|
-
|
|
15695
|
-
if (!invalid) {
|
|
15696
|
-
return 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);
|
|
15697
|
-
}
|
|
15698
15735
|
|
|
15699
|
-
|
|
15736
|
+
var _templateObject$w, _templateObject2$q;
|
|
15737
|
+
var Marker = styled.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) {
|
|
15738
|
+
var left = _ref.left;
|
|
15739
|
+
return left;
|
|
15740
|
+
}, function (_ref2) {
|
|
15741
|
+
var bullet = _ref2.bullet,
|
|
15742
|
+
theme = _ref2.theme;
|
|
15743
|
+
if (!bullet) return;
|
|
15744
|
+
return 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));
|
|
15700
15745
|
});
|
|
15701
|
-
|
|
15702
|
-
var
|
|
15703
|
-
|
|
15746
|
+
|
|
15747
|
+
var _templateObject$x;
|
|
15748
|
+
var MinMaxLabelContainer = styled.div(_templateObject$x || (_templateObject$x = _taggedTemplateLiteralLoose(["\n display: flex;\n padding-bottom: 2px;\n"])));
|
|
15749
|
+
|
|
15750
|
+
var _templateObject$y, _templateObject2$r, _templateObject3$l;
|
|
15751
|
+
var LabelsContainer = styled.div(_templateObject$y || (_templateObject$y = _taggedTemplateLiteralLoose(["\n display: flex;\n gap: 7px;\n\n ", "\n"])), function (_ref) {
|
|
15752
|
+
var position = _ref.position;
|
|
15704
15753
|
|
|
15705
15754
|
if (position === 'bottom') {
|
|
15706
|
-
return css(
|
|
15755
|
+
return 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);
|
|
15707
15756
|
}
|
|
15708
15757
|
|
|
15709
|
-
return css(
|
|
15710
|
-
});
|
|
15711
|
-
var SelectedArea = styled.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) {
|
|
15712
|
-
var theme = _ref20.theme;
|
|
15713
|
-
return theme.getColor('greyishBlue', 10);
|
|
15714
|
-
}, function (_ref21) {
|
|
15715
|
-
var percent = _ref21.percent;
|
|
15716
|
-
return percent;
|
|
15717
|
-
});
|
|
15718
|
-
var MarkersContainer = styled.div(_templateObject18$2 || (_templateObject18$2 = _taggedTemplateLiteralLoose(["\n height: 17px;\n"])));
|
|
15719
|
-
var Marker = styled.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) {
|
|
15720
|
-
var left = _ref22.left;
|
|
15721
|
-
return left;
|
|
15722
|
-
}, function (_ref23) {
|
|
15723
|
-
var bullet = _ref23.bullet,
|
|
15724
|
-
theme = _ref23.theme;
|
|
15725
|
-
if (!bullet) return;
|
|
15726
|
-
return 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));
|
|
15758
|
+
return 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);
|
|
15727
15759
|
});
|
|
15728
15760
|
|
|
15761
|
+
var _templateObject$z;
|
|
15762
|
+
var MarkersContainer = styled.div(_templateObject$z || (_templateObject$z = _taggedTemplateLiteralLoose(["\n height: 17px;\n"])));
|
|
15763
|
+
|
|
15729
15764
|
var getMarkers = function getMarkers(props) {
|
|
15730
15765
|
if (props.markers && 'markers' in props.markers) {
|
|
15731
15766
|
var _strict = props.markers.strict;
|
|
@@ -15796,16 +15831,24 @@ var getMarkers = function getMarkers(props) {
|
|
|
15796
15831
|
};
|
|
15797
15832
|
};
|
|
15798
15833
|
|
|
15799
|
-
var
|
|
15834
|
+
var getMarkerLeft = function getMarkerLeft(markers, range, index, value, min, strict) {
|
|
15800
15835
|
var z = markers - 2;
|
|
15801
15836
|
if (z < markers - 1) z = markers - 1;
|
|
15802
15837
|
var y = 20 / z;
|
|
15803
15838
|
var x = 20 - y * (z - index);
|
|
15804
|
-
var p = index *
|
|
15839
|
+
var p = strict ? index * 100 / range : (value - min) * 100 / range;
|
|
15805
15840
|
var left = "calc(" + p + "% - 10px - " + x + "px)";
|
|
15806
15841
|
return left;
|
|
15807
15842
|
};
|
|
15808
15843
|
|
|
15844
|
+
var getBarLeft = function getBarLeft(size, percent) {
|
|
15845
|
+
return "min(max(calc(" + percent + "% - " + size / 2 + "px + 22px * " + (size / 2 - percent) / 100 + "), 0%), calc(100% - " + size + "px))";
|
|
15846
|
+
};
|
|
15847
|
+
|
|
15848
|
+
var getIndicatorLeft = function getIndicatorLeft(size, percent) {
|
|
15849
|
+
return "min(max(calc(((" + percent + "% - " + size / 2 + "px + 22px * " + (size / 2 - percent) / 100 + ")) + (" + size / 2 + "px + 2px)), 0%), calc(100% - " + size + "px))";
|
|
15850
|
+
};
|
|
15851
|
+
|
|
15809
15852
|
var Range = React__default.forwardRef(function (props, ref) {
|
|
15810
15853
|
var label = props.label,
|
|
15811
15854
|
minLabel = props.minLabel,
|
|
@@ -15914,7 +15957,7 @@ var Range = React__default.forwardRef(function (props, ref) {
|
|
|
15914
15957
|
}, minLabel && React__default.createElement(MinMaxLabelContainer, null, minLabel), React__default.createElement(InputContainer$1, {
|
|
15915
15958
|
invalid: invalid ? 1 : 0
|
|
15916
15959
|
}, markers.length > 0 && React__default.createElement(MarkersContainer, null, markers.map(function (marker, index) {
|
|
15917
|
-
var left =
|
|
15960
|
+
var left = getMarkerLeft(markers.length, range, index, marker.value, min, strict);
|
|
15918
15961
|
var bullet = marker.value > value ? 1 : 0;
|
|
15919
15962
|
return React__default.createElement(Marker, {
|
|
15920
15963
|
key: marker.value,
|
|
@@ -15924,9 +15967,12 @@ var Range = React__default.forwardRef(function (props, ref) {
|
|
|
15924
15967
|
})), React__default.createElement("div", null, React__default.createElement(Input$2, Object.assign({
|
|
15925
15968
|
ref: ref
|
|
15926
15969
|
}, inputProps)), React__default.createElement(NavBar, {
|
|
15927
|
-
percent: value * 100 / max,
|
|
15928
15970
|
position: position
|
|
15929
|
-
}, React__default.createElement("div",
|
|
15971
|
+
}, React__default.createElement("div", {
|
|
15972
|
+
style: {
|
|
15973
|
+
left: getBarLeft(100, value * 100 / max)
|
|
15974
|
+
}
|
|
15975
|
+
}, React__default.createElement(Icon, {
|
|
15930
15976
|
type: 'feather',
|
|
15931
15977
|
icon: 'minus_circle',
|
|
15932
15978
|
color: 'white',
|
|
@@ -15936,7 +15982,11 @@ var Range = React__default.forwardRef(function (props, ref) {
|
|
|
15936
15982
|
icon: 'plus_circle',
|
|
15937
15983
|
color: 'white',
|
|
15938
15984
|
onClick: canIncrement ? increment : undefined
|
|
15939
|
-
}))
|
|
15985
|
+
})), React__default.createElement("div", {
|
|
15986
|
+
style: {
|
|
15987
|
+
left: getIndicatorLeft(14, value * 100 / max)
|
|
15988
|
+
}
|
|
15989
|
+
})), React__default.createElement(SelectedArea, {
|
|
15940
15990
|
percent: percent
|
|
15941
15991
|
}, Array(spans).fill(1).map(function (_value, index) {
|
|
15942
15992
|
return React__default.createElement("span", {
|
|
@@ -15946,31 +15996,31 @@ var Range = React__default.forwardRef(function (props, ref) {
|
|
|
15946
15996
|
});
|
|
15947
15997
|
Range.displayName = 'input';
|
|
15948
15998
|
|
|
15949
|
-
var _templateObject$
|
|
15950
|
-
var LabelContainer$5 = styled.div(_templateObject$
|
|
15999
|
+
var _templateObject$A, _templateObject2$s, _templateObject3$m, _templateObject4$d, _templateObject5$b, _templateObject6$a, _templateObject7$a;
|
|
16000
|
+
var LabelContainer$5 = styled.div(_templateObject$A || (_templateObject$A = _taggedTemplateLiteralLoose(["\n ", "\n display: flex;\n align-items: center;\n"])), function (_ref) {
|
|
15951
16001
|
var theme = _ref.theme;
|
|
15952
16002
|
return theme.useTypography('p');
|
|
15953
16003
|
});
|
|
15954
|
-
var Label$6 = styled.label(_templateObject2$
|
|
16004
|
+
var Label$6 = styled.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) {
|
|
15955
16005
|
var theme = _ref2.theme;
|
|
15956
16006
|
return theme.spacings.s1;
|
|
15957
16007
|
}, function (_ref3) {
|
|
15958
16008
|
var disabled = _ref3.disabled;
|
|
15959
16009
|
|
|
15960
16010
|
if (!disabled) {
|
|
15961
|
-
return css(_templateObject3$
|
|
16011
|
+
return css(_templateObject3$m || (_templateObject3$m = _taggedTemplateLiteralLoose(["\n > span {\n cursor: pointer;\n }\n "])));
|
|
15962
16012
|
}
|
|
15963
16013
|
|
|
15964
|
-
return css(_templateObject4$
|
|
16014
|
+
return css(_templateObject4$d || (_templateObject4$d = _taggedTemplateLiteralLoose(["\n opacity: 0.5;\n "])));
|
|
15965
16015
|
}, function (_ref4) {
|
|
15966
16016
|
var required = _ref4.required;
|
|
15967
16017
|
if (!required) return;
|
|
15968
|
-
return css(_templateObject5$
|
|
16018
|
+
return css(_templateObject5$b || (_templateObject5$b = _taggedTemplateLiteralLoose(["\n > ", " {\n :after {\n content: ' *';\n }\n }\n "])), LabelContainer$5);
|
|
15969
16019
|
}, function (_ref5) {
|
|
15970
16020
|
var invalid = _ref5.invalid;
|
|
15971
16021
|
|
|
15972
16022
|
if (!invalid) {
|
|
15973
|
-
return css(_templateObject6$
|
|
16023
|
+
return css(_templateObject6$a || (_templateObject6$a = _taggedTemplateLiteralLoose(["\n > span {\n border-color: ", ";\n :before {\n background-color: ", ";\n }\n }\n "])), function (_ref6) {
|
|
15974
16024
|
var theme = _ref6.theme;
|
|
15975
16025
|
return theme.colors.blue;
|
|
15976
16026
|
}, function (_ref7) {
|
|
@@ -15979,7 +16029,7 @@ var Label$6 = styled.label(_templateObject2$n || (_templateObject2$n = _taggedTe
|
|
|
15979
16029
|
});
|
|
15980
16030
|
}
|
|
15981
16031
|
|
|
15982
|
-
return css(_templateObject7$
|
|
16032
|
+
return css(_templateObject7$a || (_templateObject7$a = _taggedTemplateLiteralLoose(["\n > span {\n border-color: ", ";\n :before {\n background-color: ", ";\n }\n }\n "])), function (_ref8) {
|
|
15983
16033
|
var theme = _ref8.theme;
|
|
15984
16034
|
return theme.colors.warningRed;
|
|
15985
16035
|
}, function (_ref9) {
|
|
@@ -16189,24 +16239,24 @@ var parse = function parse(value) {
|
|
|
16189
16239
|
});
|
|
16190
16240
|
};
|
|
16191
16241
|
|
|
16192
|
-
var _templateObject$
|
|
16193
|
-
var RelativeContainer$5 = styled.div(_templateObject$
|
|
16194
|
-
var LabelContainer$6 = styled.div(_templateObject2$
|
|
16242
|
+
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;
|
|
16243
|
+
var RelativeContainer$5 = styled.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"])));
|
|
16244
|
+
var LabelContainer$6 = styled.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) {
|
|
16195
16245
|
var theme = _ref.theme;
|
|
16196
16246
|
return theme.useTypography('p');
|
|
16197
16247
|
}, function (_ref2) {
|
|
16198
16248
|
var children = _ref2.children;
|
|
16199
16249
|
if (children) return;
|
|
16200
|
-
return css(_templateObject3$
|
|
16250
|
+
return css(_templateObject3$n || (_templateObject3$n = _taggedTemplateLiteralLoose(["\n :after {\n content: '--/--/-- (--:--) \xE0 --/--/-- (--:--)';\n color: ", ";\n }\n "])), function (_ref3) {
|
|
16201
16251
|
var theme = _ref3.theme;
|
|
16202
16252
|
return theme.colors.darkGrey;
|
|
16203
16253
|
});
|
|
16204
16254
|
}, function (_ref4) {
|
|
16205
16255
|
var onClick = _ref4.onClick;
|
|
16206
16256
|
if (!onClick) return;
|
|
16207
|
-
return css(_templateObject4$
|
|
16257
|
+
return css(_templateObject4$e || (_templateObject4$e = _taggedTemplateLiteralLoose(["\n :not(:disabled) {\n cursor: pointer;\n }\n "])));
|
|
16208
16258
|
});
|
|
16209
|
-
var Container$6 = styled.div(_templateObject5$
|
|
16259
|
+
var Container$6 = styled.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) {
|
|
16210
16260
|
var theme = _ref5.theme;
|
|
16211
16261
|
return theme.spacings.s1;
|
|
16212
16262
|
}, function (_ref6) {
|
|
@@ -16223,29 +16273,29 @@ var Container$6 = styled.div(_templateObject5$d || (_templateObject5$d = _tagged
|
|
|
16223
16273
|
bgColor = _ref8[0],
|
|
16224
16274
|
color = _ref8[1];
|
|
16225
16275
|
|
|
16226
|
-
return css(_templateObject6$
|
|
16276
|
+
return 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);
|
|
16227
16277
|
}, function (_ref9) {
|
|
16228
16278
|
var theme = _ref9.theme,
|
|
16229
16279
|
paddingless = _ref9.paddingless;
|
|
16230
16280
|
if (paddingless) return;
|
|
16231
|
-
return css(_templateObject7$
|
|
16281
|
+
return css(_templateObject7$b || (_templateObject7$b = _taggedTemplateLiteralLoose(["\n padding: ", " ", " ", "\n ", ";\n "])), theme.spacings.s2, theme.spacings.s1, theme.spacings.s2, theme.spacings.s3);
|
|
16232
16282
|
}, function (_ref10) {
|
|
16233
16283
|
var disabled = _ref10.disabled;
|
|
16234
16284
|
if (!disabled) return;
|
|
16235
|
-
return css(_templateObject8$
|
|
16285
|
+
return css(_templateObject8$8 || (_templateObject8$8 = _taggedTemplateLiteralLoose(["\n opacity: 0.5;\n "])));
|
|
16236
16286
|
});
|
|
16237
|
-
var Button$4 = styled.button(_templateObject9$
|
|
16287
|
+
var Button$4 = styled.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) {
|
|
16238
16288
|
var onClick = _ref11.onClick;
|
|
16239
16289
|
if (!onClick) return;
|
|
16240
|
-
return css(_templateObject10$
|
|
16290
|
+
return css(_templateObject10$7 || (_templateObject10$7 = _taggedTemplateLiteralLoose(["\n :not(:disabled) {\n cursor: pointer;\n }\n "])));
|
|
16241
16291
|
});
|
|
16242
|
-
var LabelText$1 = styled.label(_templateObject11$
|
|
16292
|
+
var LabelText$1 = styled.label(_templateObject11$4 || (_templateObject11$4 = _taggedTemplateLiteralLoose(["\n display: inline-block;\n margin-bottom: ", ";\n\n ", "\n"])), function (_ref12) {
|
|
16243
16293
|
var theme = _ref12.theme;
|
|
16244
16294
|
return theme.spacings.s1;
|
|
16245
16295
|
}, function (_ref13) {
|
|
16246
16296
|
var required = _ref13.required;
|
|
16247
16297
|
if (!required) return;
|
|
16248
|
-
return css(_templateObject12$
|
|
16298
|
+
return css(_templateObject12$3 || (_templateObject12$3 = _taggedTemplateLiteralLoose(["\n :after {\n content: ' *';\n }\n "])));
|
|
16249
16299
|
});
|
|
16250
16300
|
|
|
16251
16301
|
var Component$1 = React__default.forwardRef(function (props, ref) {
|
|
@@ -16477,8 +16527,8 @@ var DatePicker$1 = Object.assign(Component$1, {
|
|
|
16477
16527
|
useDefaultDateIntervalState: useDefaultDateIntervalState
|
|
16478
16528
|
});
|
|
16479
16529
|
|
|
16480
|
-
var _templateObject$
|
|
16481
|
-
var Input$3 = styled.input(_templateObject$
|
|
16530
|
+
var _templateObject$C;
|
|
16531
|
+
var Input$3 = styled.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) {
|
|
16482
16532
|
var theme = _ref.theme;
|
|
16483
16533
|
return theme.useTypography('p');
|
|
16484
16534
|
}, function (_ref2) {
|
|
@@ -16541,22 +16591,22 @@ var Input$4 = React__default.forwardRef(function (props, ref) {
|
|
|
16541
16591
|
});
|
|
16542
16592
|
Input$4.displayName = 'Input';
|
|
16543
16593
|
|
|
16544
|
-
var _templateObject$
|
|
16545
|
-
var Label$7 = styled.div(_templateObject$
|
|
16594
|
+
var _templateObject$D, _templateObject2$u;
|
|
16595
|
+
var Label$7 = styled.div(_templateObject$D || (_templateObject$D = _taggedTemplateLiteralLoose(["\n display: inline-block;\n margin-bottom: ", ";\n\n ", "\n"])), function (_ref) {
|
|
16546
16596
|
var theme = _ref.theme;
|
|
16547
16597
|
return theme.spacings.s1;
|
|
16548
16598
|
}, function (_ref2) {
|
|
16549
16599
|
var required = _ref2.required;
|
|
16550
16600
|
if (!required) return;
|
|
16551
|
-
return css(_templateObject2$
|
|
16601
|
+
return css(_templateObject2$u || (_templateObject2$u = _taggedTemplateLiteralLoose(["\n :after {\n content: ' *';\n }\n "])));
|
|
16552
16602
|
});
|
|
16553
16603
|
|
|
16554
16604
|
var Label$8 = function Label(props) {
|
|
16555
16605
|
return props.children ? React__default.createElement(Label$7, Object.assign({}, props)) : null;
|
|
16556
16606
|
};
|
|
16557
16607
|
|
|
16558
|
-
var _templateObject$
|
|
16559
|
-
var Tag = styled.div(_templateObject$
|
|
16608
|
+
var _templateObject$E;
|
|
16609
|
+
var Tag = styled.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) {
|
|
16560
16610
|
var theme = _ref.theme;
|
|
16561
16611
|
return theme.useTypography('p');
|
|
16562
16612
|
}, function (_ref2) {
|
|
@@ -16589,8 +16639,8 @@ var Tag$1 = function Tag$1(props) {
|
|
|
16589
16639
|
})));
|
|
16590
16640
|
};
|
|
16591
16641
|
|
|
16592
|
-
var _templateObject$
|
|
16593
|
-
var Label$9 = styled.label(_templateObject$
|
|
16642
|
+
var _templateObject$F, _templateObject2$v, _templateObject3$o;
|
|
16643
|
+
var Label$9 = styled.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) {
|
|
16594
16644
|
var theme = _ref.theme;
|
|
16595
16645
|
return theme.useTypography('p');
|
|
16596
16646
|
}, function (_ref2) {
|
|
@@ -16602,9 +16652,9 @@ var Label$9 = styled.label(_templateObject$w || (_templateObject$w = _taggedTemp
|
|
|
16602
16652
|
}, function (_ref4) {
|
|
16603
16653
|
var disabled = _ref4.disabled;
|
|
16604
16654
|
if (!disabled) return;
|
|
16605
|
-
return css(_templateObject2$
|
|
16655
|
+
return css(_templateObject2$v || (_templateObject2$v = _taggedTemplateLiteralLoose(["\n opacity: 0.5;\n "])));
|
|
16606
16656
|
});
|
|
16607
|
-
var TagContainer = styled.div(_templateObject3$
|
|
16657
|
+
var TagContainer = styled.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) {
|
|
16608
16658
|
var theme = _ref5.theme,
|
|
16609
16659
|
invalid = _ref5.invalid;
|
|
16610
16660
|
return theme.colors[invalid ? 'warningRed' : 'lightGrey'];
|
|
@@ -16684,8 +16734,8 @@ var Tags = React__default.forwardRef(function (props, ref) {
|
|
|
16684
16734
|
});
|
|
16685
16735
|
Tags.displayName = 'Tags';
|
|
16686
16736
|
|
|
16687
|
-
var _templateObject$
|
|
16688
|
-
var RelativeContainer$6 = styled.div(_templateObject$
|
|
16737
|
+
var _templateObject$G;
|
|
16738
|
+
var RelativeContainer$6 = styled.div(_templateObject$G || (_templateObject$G = _taggedTemplateLiteralLoose(["\n position: relative;\n"])));
|
|
16689
16739
|
|
|
16690
16740
|
var isLeapYear$1 = function isLeapYear(year) {
|
|
16691
16741
|
if (year % 4 !== 0) return false;else if (year % 100 !== 0) return true;else if (year % 400 !== 0) return false;else return true;
|
|
@@ -17086,22 +17136,22 @@ var Input$5 = Object.assign(Component$2, {
|
|
|
17086
17136
|
getPhoneDetails: Phone.getPhoneDetails
|
|
17087
17137
|
});
|
|
17088
17138
|
|
|
17089
|
-
var _templateObject$
|
|
17090
|
-
var Container$7 = styled(AbsoluteContainer)(_templateObject$
|
|
17139
|
+
var _templateObject$H, _templateObject2$w, _templateObject3$p, _templateObject4$f;
|
|
17140
|
+
var Container$7 = styled(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) {
|
|
17091
17141
|
var theme = _ref.theme;
|
|
17092
17142
|
return theme.colors.white;
|
|
17093
17143
|
}, function (_ref2) {
|
|
17094
17144
|
var s3 = _ref2.theme.spacings.s3;
|
|
17095
17145
|
return s3 + " 0 " + s3 + " " + s3;
|
|
17096
17146
|
});
|
|
17097
|
-
var Header$3 = styled.div(_templateObject2$
|
|
17147
|
+
var Header$3 = styled.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) {
|
|
17098
17148
|
var s3 = _ref3.theme.spacings.s3;
|
|
17099
17149
|
return s3;
|
|
17100
17150
|
}, function (_ref4) {
|
|
17101
17151
|
var s3 = _ref4.theme.spacings.s3;
|
|
17102
17152
|
return "0 " + s3 + " " + s3 + " 0";
|
|
17103
17153
|
});
|
|
17104
|
-
var Title = styled.div(_templateObject3$
|
|
17154
|
+
var Title = styled.div(_templateObject3$p || (_templateObject3$p = _taggedTemplateLiteralLoose(["\n ", "\n color: ", ";\n"])), function (_ref5) {
|
|
17105
17155
|
var useTypography = _ref5.theme.useTypography;
|
|
17106
17156
|
return useTypography('p', {
|
|
17107
17157
|
fontWeight: 'bold'
|
|
@@ -17110,7 +17160,7 @@ var Title = styled.div(_templateObject3$m || (_templateObject3$m = _taggedTempla
|
|
|
17110
17160
|
var getColor = _ref6.theme.getColor;
|
|
17111
17161
|
return getColor('greyishBlue', 50);
|
|
17112
17162
|
});
|
|
17113
|
-
var Item = styled.div(_templateObject4$
|
|
17163
|
+
var Item = styled.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) {
|
|
17114
17164
|
var s1 = _ref7.theme.spacings.s1;
|
|
17115
17165
|
return s1 + " " + s1 + " " + s1 + " 0";
|
|
17116
17166
|
}, function (_ref8) {
|
|
@@ -17224,8 +17274,8 @@ var AppliedFiltersMenu = function AppliedFiltersMenu(props) {
|
|
|
17224
17274
|
}))));
|
|
17225
17275
|
};
|
|
17226
17276
|
|
|
17227
|
-
var _templateObject$
|
|
17228
|
-
var Container$8 = styled.div(_templateObject$
|
|
17277
|
+
var _templateObject$I, _templateObject2$x, _templateObject3$q;
|
|
17278
|
+
var Container$8 = styled.div(_templateObject$I || (_templateObject$I = _taggedTemplateLiteralLoose(["\n display: flex;\n gap: ", ";\n align-items: center;\n color: ", ";\n\n ", "\n"])), function (_ref) {
|
|
17229
17279
|
var theme = _ref.theme,
|
|
17230
17280
|
gap = _ref.$gap;
|
|
17231
17281
|
return gap === '0' ? '0' : theme.spacings[gap];
|
|
@@ -17236,10 +17286,10 @@ var Container$8 = styled.div(_templateObject$z || (_templateObject$z = _taggedTe
|
|
|
17236
17286
|
var onClick = _ref3.onClick;
|
|
17237
17287
|
|
|
17238
17288
|
if (!onClick) {
|
|
17239
|
-
return css(_templateObject2$
|
|
17289
|
+
return css(_templateObject2$x || (_templateObject2$x = _taggedTemplateLiteralLoose(["\n opacity: 0.3;\n pointer-events: none;\n "])));
|
|
17240
17290
|
}
|
|
17241
17291
|
|
|
17242
|
-
return css(_templateObject3$
|
|
17292
|
+
return css(_templateObject3$q || (_templateObject3$q = _taggedTemplateLiteralLoose(["\n cursor: pointer;\n "])));
|
|
17243
17293
|
});
|
|
17244
17294
|
|
|
17245
17295
|
var Button$5 = function Button(props) {
|
|
@@ -17291,25 +17341,25 @@ var AppliedFilters = Object.assign(function (props) {
|
|
|
17291
17341
|
Menu: AppliedFiltersMenu
|
|
17292
17342
|
});
|
|
17293
17343
|
|
|
17294
|
-
var _templateObject$
|
|
17295
|
-
var Container$9 = styled.div(_templateObject$
|
|
17296
|
-
return props.size === 'mini' && css(_templateObject2$
|
|
17344
|
+
var _templateObject$J, _templateObject2$y, _templateObject3$r, _templateObject4$g, _templateObject5$d, _templateObject6$c, _templateObject7$c, _templateObject8$9, _templateObject9$9, _templateObject10$8;
|
|
17345
|
+
var Container$9 = styled.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) {
|
|
17346
|
+
return props.size === 'mini' && css(_templateObject2$y || (_templateObject2$y = _taggedTemplateLiteralLoose(["\n width: 394px;\n height: 99px;\n "])));
|
|
17297
17347
|
}, function (props) {
|
|
17298
|
-
return props.size === 'small' && css(_templateObject3$
|
|
17348
|
+
return props.size === 'small' && css(_templateObject3$r || (_templateObject3$r = _taggedTemplateLiteralLoose(["\n width: 394px;\n height: 131px;\n "])));
|
|
17299
17349
|
}, function (props) {
|
|
17300
|
-
return props.size === 'medium' && css(_templateObject4$
|
|
17350
|
+
return props.size === 'medium' && css(_templateObject4$g || (_templateObject4$g = _taggedTemplateLiteralLoose(["\n width: 394px;\n "])));
|
|
17301
17351
|
}, function (props) {
|
|
17302
|
-
return props.size === 'big' && css(_templateObject5$
|
|
17352
|
+
return props.size === 'big' && css(_templateObject5$d || (_templateObject5$d = _taggedTemplateLiteralLoose(["\n width: 414px;\n height: 324px;\n "])));
|
|
17303
17353
|
}, function (props) {
|
|
17304
|
-
return props.borderType === 'info' && css(_templateObject6$
|
|
17354
|
+
return props.borderType === 'info' && css(_templateObject6$c || (_templateObject6$c = _taggedTemplateLiteralLoose(["\n border-left-color: #4d6dbe;\n "])));
|
|
17305
17355
|
}, function (props) {
|
|
17306
|
-
return props.borderType === 'success' && css(_templateObject7$
|
|
17356
|
+
return props.borderType === 'success' && css(_templateObject7$c || (_templateObject7$c = _taggedTemplateLiteralLoose(["\n border-left-color: #66bb6a;\n "])));
|
|
17307
17357
|
}, function (props) {
|
|
17308
|
-
return props.borderType === 'warning' && css(_templateObject8$
|
|
17358
|
+
return props.borderType === 'warning' && css(_templateObject8$9 || (_templateObject8$9 = _taggedTemplateLiteralLoose(["\n border-left-color: #fbcb01;\n "])));
|
|
17309
17359
|
}, function (props) {
|
|
17310
|
-
return props.borderType === 'danger' && css(_templateObject9$
|
|
17360
|
+
return props.borderType === 'danger' && css(_templateObject9$9 || (_templateObject9$9 = _taggedTemplateLiteralLoose(["\n border-left-color: #e23851;\n "])));
|
|
17311
17361
|
}, function (props) {
|
|
17312
|
-
return props.borderType === 'none' && css(_templateObject10$
|
|
17362
|
+
return props.borderType === 'none' && css(_templateObject10$8 || (_templateObject10$8 = _taggedTemplateLiteralLoose(["\n border: 1px solid #d4d4d5;\n "])));
|
|
17313
17363
|
});
|
|
17314
17364
|
|
|
17315
17365
|
var _excluded$1 = ["children"];
|
|
@@ -17321,8 +17371,8 @@ var Card = function Card(_ref) {
|
|
|
17321
17371
|
return React__default.createElement(Container$9, Object.assign({}, rest), children);
|
|
17322
17372
|
};
|
|
17323
17373
|
|
|
17324
|
-
var _templateObject$
|
|
17325
|
-
var Container$a = styled.div(_templateObject$
|
|
17374
|
+
var _templateObject$K;
|
|
17375
|
+
var Container$a = styled.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) {
|
|
17326
17376
|
var _ref$theme$spacings = _ref.theme.spacings,
|
|
17327
17377
|
s1 = _ref$theme$spacings.s1,
|
|
17328
17378
|
s3 = _ref$theme$spacings.s3;
|
|
@@ -17385,8 +17435,8 @@ var Header$4 = function Header(props) {
|
|
|
17385
17435
|
}));
|
|
17386
17436
|
};
|
|
17387
17437
|
|
|
17388
|
-
var _templateObject$
|
|
17389
|
-
var EmptyMessage = styled.div(_templateObject$
|
|
17438
|
+
var _templateObject$L;
|
|
17439
|
+
var EmptyMessage = styled.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) {
|
|
17390
17440
|
var lightGrey = _ref.theme.colors.lightGrey;
|
|
17391
17441
|
return lightGrey;
|
|
17392
17442
|
});
|
|
@@ -17734,7 +17784,7 @@ var useContext$2 = function useContext() {
|
|
|
17734
17784
|
return React__default.useContext(Provider$2);
|
|
17735
17785
|
};
|
|
17736
17786
|
|
|
17737
|
-
var _templateObject$
|
|
17787
|
+
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;
|
|
17738
17788
|
var aligns = {
|
|
17739
17789
|
self: {
|
|
17740
17790
|
horizontal: {
|
|
@@ -17763,17 +17813,17 @@ var aligns = {
|
|
|
17763
17813
|
}
|
|
17764
17814
|
}
|
|
17765
17815
|
};
|
|
17766
|
-
var Col = styled.div(_templateObject$
|
|
17816
|
+
var Col = styled.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) {
|
|
17767
17817
|
var width = _ref.width;
|
|
17768
17818
|
|
|
17769
17819
|
if (width === undefined) {
|
|
17770
|
-
return css(_templateObject2$
|
|
17820
|
+
return css(_templateObject2$z || (_templateObject2$z = _taggedTemplateLiteralLoose(["\n flex-basis: 0;\n flex-grow: 1;\n max-width: 100%;\n width: 100%;\n "])));
|
|
17771
17821
|
} else if (width === 'auto') {
|
|
17772
|
-
return css(_templateObject3$
|
|
17822
|
+
return css(_templateObject3$s || (_templateObject3$s = _taggedTemplateLiteralLoose(["\n flex: 0 0 auto;\n width: auto;\n max-width: none;\n "])));
|
|
17773
17823
|
}
|
|
17774
17824
|
|
|
17775
17825
|
var w = parseFloat(width) * 100 / 12;
|
|
17776
|
-
return css(_templateObject4$
|
|
17826
|
+
return css(_templateObject4$h || (_templateObject4$h = _taggedTemplateLiteralLoose(["\n flex: 0 0 ", "%;\n max-width: ", "%;\n width: 100%;\n "])), w, w);
|
|
17777
17827
|
}, function (_ref2) {
|
|
17778
17828
|
var spacing = _ref2.spacing;
|
|
17779
17829
|
var padding = getSpacings(spacing === undefined ? 's1' : spacing);
|
|
@@ -17781,7 +17831,7 @@ var Col = styled.div(_templateObject$D || (_templateObject$D = _taggedTemplateLi
|
|
|
17781
17831
|
}, function (_ref3) {
|
|
17782
17832
|
var spacingAround = _ref3.spacingAround;
|
|
17783
17833
|
if (spacingAround) return;
|
|
17784
|
-
return css(_templateObject5$
|
|
17834
|
+
return css(_templateObject5$e || (_templateObject5$e = _taggedTemplateLiteralLoose(["\n :first-child {\n padding-left: 0;\n }\n :last-child {\n padding-right: 0;\n }\n "])));
|
|
17785
17835
|
}, function (_ref4) {
|
|
17786
17836
|
var align = _ref4.align;
|
|
17787
17837
|
if (align === undefined) return;
|
|
@@ -17791,13 +17841,13 @@ var Col = styled.div(_templateObject$D || (_templateObject$D = _taggedTemplateLi
|
|
|
17791
17841
|
if (align.self.horizontal !== undefined) {
|
|
17792
17842
|
var v = align.self.horizontal;
|
|
17793
17843
|
var a = aligns.self.horizontal;
|
|
17794
|
-
styles.push(css(_templateObject6$
|
|
17844
|
+
styles.push(css(_templateObject6$d || (_templateObject6$d = _taggedTemplateLiteralLoose(["\n justify-self: ", ";\n "])), a[v]));
|
|
17795
17845
|
}
|
|
17796
17846
|
|
|
17797
17847
|
if (align.self.vertical !== undefined) {
|
|
17798
17848
|
var _v = align.self.vertical;
|
|
17799
17849
|
var _a = aligns.self.vertical;
|
|
17800
|
-
styles.push(css(_templateObject7$
|
|
17850
|
+
styles.push(css(_templateObject7$d || (_templateObject7$d = _taggedTemplateLiteralLoose(["\n align-self: ", ";\n "])), _a[_v]));
|
|
17801
17851
|
}
|
|
17802
17852
|
}
|
|
17803
17853
|
|
|
@@ -17805,19 +17855,19 @@ var Col = styled.div(_templateObject$D || (_templateObject$D = _taggedTemplateLi
|
|
|
17805
17855
|
if (align.content.horizontal !== undefined) {
|
|
17806
17856
|
var _v2 = align.content.horizontal;
|
|
17807
17857
|
var _a2 = aligns.content.horizontal;
|
|
17808
|
-
styles.push(css(_templateObject8$
|
|
17858
|
+
styles.push(css(_templateObject8$a || (_templateObject8$a = _taggedTemplateLiteralLoose(["\n justify-content: ", ";\n "])), _a2[_v2]));
|
|
17809
17859
|
}
|
|
17810
17860
|
|
|
17811
17861
|
if (align.content.vertical !== undefined) {
|
|
17812
17862
|
var _v3 = align.content.vertical;
|
|
17813
17863
|
var _a3 = aligns.content.vertical;
|
|
17814
|
-
styles.push(css(_templateObject9$
|
|
17864
|
+
styles.push(css(_templateObject9$a || (_templateObject9$a = _taggedTemplateLiteralLoose(["\n align-items: ", ";\n "])), _a3[_v3]));
|
|
17815
17865
|
}
|
|
17816
17866
|
}
|
|
17817
17867
|
|
|
17818
17868
|
if (align.text !== undefined) {
|
|
17819
17869
|
var _v4 = align.text;
|
|
17820
|
-
styles.push(css(_templateObject10$
|
|
17870
|
+
styles.push(css(_templateObject10$9 || (_templateObject10$9 = _taggedTemplateLiteralLoose(["\n text-align: ", ";\n "])), _v4));
|
|
17821
17871
|
}
|
|
17822
17872
|
|
|
17823
17873
|
return styles;
|
|
@@ -17825,30 +17875,30 @@ var Col = styled.div(_templateObject$D || (_templateObject$D = _taggedTemplateLi
|
|
|
17825
17875
|
var bordered = _ref5.bordered,
|
|
17826
17876
|
lightestGrey = _ref5.theme.colors.lightestGrey;
|
|
17827
17877
|
if (!bordered) return;
|
|
17828
|
-
return css(_templateObject11$
|
|
17878
|
+
return css(_templateObject11$5 || (_templateObject11$5 = _taggedTemplateLiteralLoose(["\n :not(:last-child) {\n border-right: 1px solid ", ";\n }\n "])), lightestGrey);
|
|
17829
17879
|
}, function (_ref6) {
|
|
17830
17880
|
var fontColor = _ref6.fontColor,
|
|
17831
17881
|
theme = _ref6.theme;
|
|
17832
17882
|
if (fontColor === undefined) return;
|
|
17833
17883
|
var c = Array.isArray(fontColor) ? theme.getColor.apply(theme, fontColor) : theme.colors[fontColor];
|
|
17834
|
-
return css(_templateObject12$
|
|
17884
|
+
return css(_templateObject12$4 || (_templateObject12$4 = _taggedTemplateLiteralLoose(["\n color: ", ";\n "])), c);
|
|
17835
17885
|
}, function (_ref7) {
|
|
17836
17886
|
var backgroundColor = _ref7.backgroundColor,
|
|
17837
17887
|
theme = _ref7.theme;
|
|
17838
17888
|
if (backgroundColor === undefined) return;
|
|
17839
17889
|
var c = Array.isArray(backgroundColor) ? theme.getColor.apply(theme, backgroundColor) : theme.colors[backgroundColor];
|
|
17840
|
-
return css(_templateObject13$
|
|
17890
|
+
return css(_templateObject13$2 || (_templateObject13$2 = _taggedTemplateLiteralLoose(["\n background-color: ", ";\n "])), c);
|
|
17841
17891
|
}, function (_ref8) {
|
|
17842
17892
|
var hover = _ref8.hover,
|
|
17843
17893
|
theme = _ref8.theme;
|
|
17844
17894
|
if (!hover) return;
|
|
17845
17895
|
var h = hover === true ? ['lightGrey', 50] : hover;
|
|
17846
17896
|
var c = Array.isArray(h) ? theme.getColor.apply(theme, h) : theme.colors[h];
|
|
17847
|
-
return css(_templateObject14$
|
|
17897
|
+
return css(_templateObject14$2 || (_templateObject14$2 = _taggedTemplateLiteralLoose(["\n :hover {\n background-color: ", ";\n }\n "])), c);
|
|
17848
17898
|
}, function (_ref9) {
|
|
17849
17899
|
var pointer = _ref9.pointer;
|
|
17850
17900
|
if (!pointer) return;
|
|
17851
|
-
return css(_templateObject15$
|
|
17901
|
+
return css(_templateObject15$2 || (_templateObject15$2 = _taggedTemplateLiteralLoose(["\n cursor: pointer;\n "])));
|
|
17852
17902
|
});
|
|
17853
17903
|
|
|
17854
17904
|
var Col$1 = function Col$1(props) {
|
|
@@ -17868,17 +17918,17 @@ var useContext$3 = function useContext() {
|
|
|
17868
17918
|
return React__default.useContext(Provider$3);
|
|
17869
17919
|
};
|
|
17870
17920
|
|
|
17871
|
-
var _templateObject$
|
|
17872
|
-
var Grid = styled.div(_templateObject$
|
|
17921
|
+
var _templateObject$N, _templateObject2$A, _templateObject3$t;
|
|
17922
|
+
var Grid = styled.div(_templateObject$N || (_templateObject$N = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-wrap: wrap;\n width: 100%;\n\n ", "\n\n ", "\n"])), function (_ref) {
|
|
17873
17923
|
var spacing = _ref.spacing;
|
|
17874
17924
|
if (spacing === undefined) return;
|
|
17875
17925
|
var padding = getSpacings(spacing);
|
|
17876
|
-
return css(_templateObject2$
|
|
17926
|
+
return css(_templateObject2$A || (_templateObject2$A = _taggedTemplateLiteralLoose(["\n padding: ", ";\n "])), padding);
|
|
17877
17927
|
}, function (_ref2) {
|
|
17878
17928
|
var borderless = _ref2.borderless,
|
|
17879
17929
|
lightestGrey = _ref2.theme.colors.lightestGrey;
|
|
17880
17930
|
if (borderless) return;
|
|
17881
|
-
return css(_templateObject3$
|
|
17931
|
+
return css(_templateObject3$t || (_templateObject3$t = _taggedTemplateLiteralLoose(["\n border: 1px solid ", ";\n "])), lightestGrey);
|
|
17882
17932
|
});
|
|
17883
17933
|
|
|
17884
17934
|
var Grid$1 = function Grid$1(props) {
|
|
@@ -17893,7 +17943,7 @@ var Grid$1 = function Grid$1(props) {
|
|
|
17893
17943
|
}, React__default.createElement(Grid, Object.assign({}, gridProps)));
|
|
17894
17944
|
};
|
|
17895
17945
|
|
|
17896
|
-
var _templateObject$
|
|
17946
|
+
var _templateObject$O, _templateObject2$B, _templateObject3$u, _templateObject4$i, _templateObject5$f, _templateObject6$e, _templateObject7$e, _templateObject8$b, _templateObject9$b, _templateObject10$a;
|
|
17897
17947
|
var horizontalAligns = {
|
|
17898
17948
|
around: 'space-around',
|
|
17899
17949
|
between: 'space-between',
|
|
@@ -17906,23 +17956,23 @@ var verticalAligns = {
|
|
|
17906
17956
|
top: 'start',
|
|
17907
17957
|
bottom: 'end'
|
|
17908
17958
|
};
|
|
17909
|
-
var Row = styled.div(_templateObject$
|
|
17959
|
+
var Row = styled.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) {
|
|
17910
17960
|
var spacing = _ref.spacing;
|
|
17911
17961
|
if (spacing === undefined) return;
|
|
17912
17962
|
var padding = getSpacings(spacing);
|
|
17913
|
-
return css(_templateObject2$
|
|
17963
|
+
return css(_templateObject2$B || (_templateObject2$B = _taggedTemplateLiteralLoose(["\n padding: ", ";\n "])), padding);
|
|
17914
17964
|
}, function (_ref2) {
|
|
17915
17965
|
var spacingAround = _ref2.spacingAround;
|
|
17916
17966
|
if (spacingAround) return;
|
|
17917
|
-
return css(_templateObject3$
|
|
17967
|
+
return css(_templateObject3$u || (_templateObject3$u = _taggedTemplateLiteralLoose(["\n :first-child {\n padding-top: 0;\n }\n :last-child {\n padding-bottom: 0;\n }\n "])));
|
|
17918
17968
|
}, function (_ref3) {
|
|
17919
17969
|
var horizontalAlign = _ref3.horizontalAlign;
|
|
17920
17970
|
if (horizontalAlign === undefined) return;
|
|
17921
|
-
return css(_templateObject4$
|
|
17971
|
+
return css(_templateObject4$i || (_templateObject4$i = _taggedTemplateLiteralLoose(["\n justify-content: ", ";\n "])), horizontalAligns[horizontalAlign]);
|
|
17922
17972
|
}, function (_ref4) {
|
|
17923
17973
|
var verticalAlign = _ref4.verticalAlign;
|
|
17924
17974
|
if (verticalAlign === undefined) return;
|
|
17925
|
-
return css(_templateObject5$
|
|
17975
|
+
return css(_templateObject5$f || (_templateObject5$f = _taggedTemplateLiteralLoose(["\n align-items: ", ";\n "])), verticalAligns[verticalAlign]);
|
|
17926
17976
|
}, function (_ref5) {
|
|
17927
17977
|
var striped = _ref5.striped,
|
|
17928
17978
|
backgroundColor = _ref5.backgroundColor,
|
|
@@ -17930,11 +17980,11 @@ var Row = styled.div(_templateObject$F || (_templateObject$F = _taggedTemplateLi
|
|
|
17930
17980
|
|
|
17931
17981
|
if (backgroundColor !== undefined) {
|
|
17932
17982
|
var c = Array.isArray(backgroundColor) ? theme.getColor.apply(theme, backgroundColor) : theme.colors[backgroundColor];
|
|
17933
|
-
return css(_templateObject6$
|
|
17983
|
+
return css(_templateObject6$e || (_templateObject6$e = _taggedTemplateLiteralLoose(["\n background-color: ", ";\n "])), c);
|
|
17934
17984
|
}
|
|
17935
17985
|
|
|
17936
17986
|
if (striped === undefined) {
|
|
17937
|
-
return css(_templateObject7$
|
|
17987
|
+
return css(_templateObject7$e || (_templateObject7$e = _taggedTemplateLiteralLoose(["\n background-color: ", ";\n "])), theme.colors.white);
|
|
17938
17988
|
}
|
|
17939
17989
|
|
|
17940
17990
|
var config = striped === true ? {
|
|
@@ -17950,7 +18000,7 @@ var Row = styled.div(_templateObject$F || (_templateObject$F = _taggedTemplateLi
|
|
|
17950
18000
|
even: theme.colors.white,
|
|
17951
18001
|
odd: theme.colors.white
|
|
17952
18002
|
});
|
|
17953
|
-
return css(_templateObject8$
|
|
18003
|
+
return 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);
|
|
17954
18004
|
}, function (_ref6) {
|
|
17955
18005
|
var fontColor = _ref6.fontColor,
|
|
17956
18006
|
theme = _ref6.theme;
|
|
@@ -17961,14 +18011,14 @@ var Row = styled.div(_templateObject$F || (_templateObject$F = _taggedTemplateLi
|
|
|
17961
18011
|
var borderless = _ref7.borderless,
|
|
17962
18012
|
lightestGrey = _ref7.theme.colors.lightestGrey;
|
|
17963
18013
|
if (borderless) return;
|
|
17964
|
-
return css(_templateObject9$
|
|
18014
|
+
return css(_templateObject9$b || (_templateObject9$b = _taggedTemplateLiteralLoose(["\n :not(:last-child) {\n border-bottom: 1px solid ", ";\n }\n "])), lightestGrey);
|
|
17965
18015
|
}, function (_ref8) {
|
|
17966
18016
|
var hover = _ref8.hover,
|
|
17967
18017
|
theme = _ref8.theme;
|
|
17968
18018
|
if (!hover) return;
|
|
17969
18019
|
var h = hover === true ? ['lightGrey', 50] : hover;
|
|
17970
18020
|
var c = Array.isArray(h) ? theme.getColor.apply(theme, h) : theme.colors[h];
|
|
17971
|
-
return css(_templateObject10$
|
|
18021
|
+
return css(_templateObject10$a || (_templateObject10$a = _taggedTemplateLiteralLoose(["\n :hover {\n background-color: ", ";\n }\n "])), c);
|
|
17972
18022
|
});
|
|
17973
18023
|
|
|
17974
18024
|
var Row$1 = function Row$1(props) {
|
|
@@ -18021,40 +18071,40 @@ var widths = {
|
|
|
18021
18071
|
default: '642.5px'
|
|
18022
18072
|
};
|
|
18023
18073
|
|
|
18024
|
-
var _templateObject$
|
|
18025
|
-
var Background = styled.div(_templateObject$
|
|
18074
|
+
var _templateObject$P, _templateObject2$C, _templateObject3$v, _templateObject4$j, _templateObject5$g, _templateObject6$f, _templateObject7$f, _templateObject8$c, _templateObject9$c, _templateObject10$b;
|
|
18075
|
+
var Background = styled.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) {
|
|
18026
18076
|
var theme = _ref.theme;
|
|
18027
18077
|
return theme.getColor('black', 25);
|
|
18028
18078
|
});
|
|
18029
|
-
var Content = styled.div(_templateObject2$
|
|
18030
|
-
var Header$5 = styled.div(_templateObject3$
|
|
18079
|
+
var Content = styled.div(_templateObject2$C || (_templateObject2$C = _taggedTemplateLiteralLoose(["\n flex: 1;\n position: relative;\n"])));
|
|
18080
|
+
var Header$5 = styled.div(_templateObject3$v || (_templateObject3$v = _taggedTemplateLiteralLoose(["\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n\n ", "\n"])), function (_ref2) {
|
|
18031
18081
|
var _ref2$theme = _ref2.theme,
|
|
18032
18082
|
colors = _ref2$theme.colors,
|
|
18033
18083
|
spacings = _ref2$theme.spacings,
|
|
18034
18084
|
useTypography = _ref2$theme.useTypography;
|
|
18035
|
-
return css(_templateObject4$
|
|
18085
|
+
return css(_templateObject4$j || (_templateObject4$j = _taggedTemplateLiteralLoose(["\n border-bottom: 1px solid ", ";\n padding: ", ";\n\n ", "\n "])), colors.lightestGrey, spacings.s4, useTypography('h1'));
|
|
18036
18086
|
});
|
|
18037
|
-
var Footer$2 = styled.div(_templateObject5$
|
|
18087
|
+
var Footer$2 = styled.div(_templateObject5$g || (_templateObject5$g = _taggedTemplateLiteralLoose(["\n display: flex;\n justify-content: space-between;\n align-items: center;\n\n ", "\n"])), function (_ref3) {
|
|
18038
18088
|
var _ref3$theme = _ref3.theme,
|
|
18039
18089
|
spacings = _ref3$theme.spacings,
|
|
18040
18090
|
colors = _ref3$theme.colors;
|
|
18041
|
-
return css(_templateObject6$
|
|
18091
|
+
return css(_templateObject6$f || (_templateObject6$f = _taggedTemplateLiteralLoose(["\n border-top: 1px solid ", ";\n padding: ", ";\n "])), colors.lightestGrey, spacings.s3);
|
|
18042
18092
|
});
|
|
18043
|
-
var FooterMessage = styled.div(_templateObject7$
|
|
18093
|
+
var FooterMessage = styled.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) {
|
|
18044
18094
|
var theme = _ref4.theme;
|
|
18045
18095
|
return theme.getColor('darkBlue', 75);
|
|
18046
18096
|
});
|
|
18047
|
-
var FooterButtons = styled.div(_templateObject8$
|
|
18097
|
+
var FooterButtons = styled.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) {
|
|
18048
18098
|
var theme = _ref5.theme;
|
|
18049
18099
|
return theme.spacings.s3;
|
|
18050
18100
|
});
|
|
18051
|
-
var Container$b = styled.div(_templateObject9$
|
|
18101
|
+
var Container$b = styled.div(_templateObject9$c || (_templateObject9$c = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n\n ", "\n"])), function (_ref6) {
|
|
18052
18102
|
var theme = _ref6.theme,
|
|
18053
18103
|
size = _ref6.size,
|
|
18054
18104
|
customSize = _ref6.customSize,
|
|
18055
18105
|
color = _ref6.color,
|
|
18056
18106
|
inverted = _ref6.inverted;
|
|
18057
|
-
return css(_templateObject10$
|
|
18107
|
+
return 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));
|
|
18058
18108
|
});
|
|
18059
18109
|
|
|
18060
18110
|
var _excluded$2 = ["children"];
|
|
@@ -18130,8 +18180,8 @@ var Modal = function Modal(props) {
|
|
|
18130
18180
|
}))))));
|
|
18131
18181
|
};
|
|
18132
18182
|
|
|
18133
|
-
var _templateObject$
|
|
18134
|
-
var Content$1 = styled.div(_templateObject$
|
|
18183
|
+
var _templateObject$Q;
|
|
18184
|
+
var Content$1 = styled.div(_templateObject$Q || (_templateObject$Q = _taggedTemplateLiteralLoose(["\n padding: ", ";\n"])), function (_ref) {
|
|
18135
18185
|
var theme = _ref.theme;
|
|
18136
18186
|
return theme.spacings.s5 + " " + theme.spacings.s4;
|
|
18137
18187
|
});
|
|
@@ -18168,8 +18218,8 @@ var ConfirmDelete = function ConfirmDelete(props) {
|
|
|
18168
18218
|
}, React__default.createElement(Content$1, null, children || content));
|
|
18169
18219
|
};
|
|
18170
18220
|
|
|
18171
|
-
var _templateObject$
|
|
18172
|
-
var Content$2 = styled.div(_templateObject$
|
|
18221
|
+
var _templateObject$R;
|
|
18222
|
+
var Content$2 = styled.div(_templateObject$R || (_templateObject$R = _taggedTemplateLiteralLoose(["\n padding: ", ";\n"])), function (_ref) {
|
|
18173
18223
|
var theme = _ref.theme;
|
|
18174
18224
|
return theme.spacings.s5 + " " + theme.spacings.s4;
|
|
18175
18225
|
});
|
|
@@ -18209,8 +18259,8 @@ var ConfirmSuccess = function ConfirmSuccess(props) {
|
|
|
18209
18259
|
}, React__default.createElement(Content$2, null, children || content));
|
|
18210
18260
|
};
|
|
18211
18261
|
|
|
18212
|
-
var _templateObject$
|
|
18213
|
-
var Content$3 = styled.div(_templateObject$
|
|
18262
|
+
var _templateObject$S;
|
|
18263
|
+
var Content$3 = styled.div(_templateObject$S || (_templateObject$S = _taggedTemplateLiteralLoose(["\n padding: ", ";\n"])), function (_ref) {
|
|
18214
18264
|
var theme = _ref.theme;
|
|
18215
18265
|
return theme.spacings.s5 + " " + theme.spacings.s4;
|
|
18216
18266
|
});
|
|
@@ -18251,24 +18301,24 @@ var Modal$1 = Object.assign(Modal, {
|
|
|
18251
18301
|
Audit: Audit
|
|
18252
18302
|
});
|
|
18253
18303
|
|
|
18254
|
-
var _templateObject$
|
|
18255
|
-
var Container$c = styled.div(_templateObject$
|
|
18256
|
-
var Header$6 = styled.div(_templateObject2$
|
|
18257
|
-
var HeaderImage = styled.div(_templateObject3$
|
|
18258
|
-
var HeaderContent = styled.div(_templateObject4$
|
|
18259
|
-
var MainContent = styled.div(_templateObject5$
|
|
18260
|
-
var HeaderLine = styled.div(_templateObject6$
|
|
18304
|
+
var _templateObject$T, _templateObject2$D, _templateObject3$w, _templateObject4$k, _templateObject5$h, _templateObject6$g, _templateObject7$g, _templateObject8$d, _templateObject9$d, _templateObject10$c, _templateObject11$6;
|
|
18305
|
+
var Container$c = styled.div(_templateObject$T || (_templateObject$T = _taggedTemplateLiteralLoose(["\n width: 100%;\n height: 300px;\n position: absolute;\n padding: 14px;\n"])));
|
|
18306
|
+
var Header$6 = styled.div(_templateObject2$D || (_templateObject2$D = _taggedTemplateLiteralLoose(["\n display: flex;\n"])));
|
|
18307
|
+
var HeaderImage = styled.div(_templateObject3$w || (_templateObject3$w = _taggedTemplateLiteralLoose(["\n width: 43px;\n height: 44px;\n background-color: #ebebeb;\n"])));
|
|
18308
|
+
var HeaderContent = styled.div(_templateObject4$k || (_templateObject4$k = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n flex: 1;\n"])));
|
|
18309
|
+
var MainContent = styled.div(_templateObject5$h || (_templateObject5$h = _taggedTemplateLiteralLoose(["\n margin-top: 8px;\n"])));
|
|
18310
|
+
var HeaderLine = styled.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) {
|
|
18261
18311
|
return props.height;
|
|
18262
18312
|
}, function (props) {
|
|
18263
|
-
return props.size === 'mini' && css(_templateObject7$
|
|
18313
|
+
return props.size === 'mini' && css(_templateObject7$g || (_templateObject7$g = _taggedTemplateLiteralLoose(["\n width: 15%;\n "])));
|
|
18264
18314
|
}, function (props) {
|
|
18265
|
-
return props.size === 'small' && css(_templateObject8$
|
|
18315
|
+
return props.size === 'small' && css(_templateObject8$d || (_templateObject8$d = _taggedTemplateLiteralLoose(["\n width: 25%;\n "])));
|
|
18266
18316
|
}, function (props) {
|
|
18267
|
-
return props.size === 'medium' && css(_templateObject9$
|
|
18317
|
+
return props.size === 'medium' && css(_templateObject9$d || (_templateObject9$d = _taggedTemplateLiteralLoose(["\n width: 45%;\n "])));
|
|
18268
18318
|
}, function (props) {
|
|
18269
|
-
return props.size === 'large' && css(_templateObject10$
|
|
18319
|
+
return props.size === 'large' && css(_templateObject10$c || (_templateObject10$c = _taggedTemplateLiteralLoose(["\n width: 75%;\n "])));
|
|
18270
18320
|
});
|
|
18271
|
-
var MainLine = styled(HeaderLine)(_templateObject11$
|
|
18321
|
+
var MainLine = styled(HeaderLine)(_templateObject11$6 || (_templateObject11$6 = _taggedTemplateLiteralLoose(["\n margin-bottom: 14px;\n margin-left: 0;\n"])));
|
|
18272
18322
|
|
|
18273
18323
|
var Template1 = function Template1(props) {
|
|
18274
18324
|
if (!props.loading) return React__default.createElement(React__default.Fragment, null);
|
|
@@ -18303,28 +18353,28 @@ var Template1 = function Template1(props) {
|
|
|
18303
18353
|
})));
|
|
18304
18354
|
};
|
|
18305
18355
|
|
|
18306
|
-
var _templateObject$
|
|
18307
|
-
var HeaderLine$1 = styled.div(_templateObject$
|
|
18356
|
+
var _templateObject$U, _templateObject2$E, _templateObject3$x, _templateObject4$l, _templateObject5$i;
|
|
18357
|
+
var HeaderLine$1 = styled.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) {
|
|
18308
18358
|
return props.height;
|
|
18309
18359
|
}, function (props) {
|
|
18310
|
-
return props.size === 'mini' && css(_templateObject2$
|
|
18360
|
+
return props.size === 'mini' && css(_templateObject2$E || (_templateObject2$E = _taggedTemplateLiteralLoose(["\n width: 15%;\n "])));
|
|
18311
18361
|
}, function (props) {
|
|
18312
|
-
return props.size === 'small' && css(_templateObject3$
|
|
18362
|
+
return props.size === 'small' && css(_templateObject3$x || (_templateObject3$x = _taggedTemplateLiteralLoose(["\n width: 25%;\n "])));
|
|
18313
18363
|
}, function (props) {
|
|
18314
|
-
return props.size === 'medium' && css(_templateObject4$
|
|
18364
|
+
return props.size === 'medium' && css(_templateObject4$l || (_templateObject4$l = _taggedTemplateLiteralLoose(["\n width: 45%;\n "])));
|
|
18315
18365
|
}, function (props) {
|
|
18316
|
-
return props.size === 'large' && css(_templateObject5$
|
|
18366
|
+
return props.size === 'large' && css(_templateObject5$i || (_templateObject5$i = _taggedTemplateLiteralLoose(["\n width: 75%;\n "])));
|
|
18317
18367
|
});
|
|
18318
18368
|
|
|
18319
|
-
var _templateObject$
|
|
18320
|
-
var Container$d = styled.div(_templateObject$
|
|
18321
|
-
var Template2Container = styled(Container$d)(_templateObject2$
|
|
18322
|
-
var Header$7 = styled.div(_templateObject3$
|
|
18323
|
-
var HeaderImage$1 = styled.div(_templateObject4$
|
|
18324
|
-
var HeaderContent$1 = styled.div(_templateObject5$
|
|
18325
|
-
var MainContent$1 = styled.div(_templateObject6$
|
|
18326
|
-
var MainLine$1 = styled(HeaderLine$1)(_templateObject7$
|
|
18327
|
-
var HeaderLine$2 = styled(HeaderLine$1)(_templateObject8$
|
|
18369
|
+
var _templateObject$V, _templateObject2$F, _templateObject3$y, _templateObject4$m, _templateObject5$j, _templateObject6$h, _templateObject7$h, _templateObject8$e;
|
|
18370
|
+
var Container$d = styled.div(_templateObject$V || (_templateObject$V = _taggedTemplateLiteralLoose(["\n width: 100%;\n max-height: 100%;\n position: absolute;\n padding: 14px;\n"])));
|
|
18371
|
+
var Template2Container = styled(Container$d)(_templateObject2$F || (_templateObject2$F = _taggedTemplateLiteralLoose(["\n background: #fff;\n border: 2px solid #ebebeb;\n"])));
|
|
18372
|
+
var Header$7 = styled.div(_templateObject3$y || (_templateObject3$y = _taggedTemplateLiteralLoose(["\n display: flex;\n"])));
|
|
18373
|
+
var HeaderImage$1 = styled.div(_templateObject4$m || (_templateObject4$m = _taggedTemplateLiteralLoose(["\n width: 43px;\n height: 44px;\n background-color: #ebebeb;\n"])));
|
|
18374
|
+
var HeaderContent$1 = styled.div(_templateObject5$j || (_templateObject5$j = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n flex: 1;\n"])));
|
|
18375
|
+
var MainContent$1 = styled.div(_templateObject6$h || (_templateObject6$h = _taggedTemplateLiteralLoose(["\n margin-top: 8px;\n"])));
|
|
18376
|
+
var MainLine$1 = styled(HeaderLine$1)(_templateObject7$h || (_templateObject7$h = _taggedTemplateLiteralLoose(["\n margin-bottom: 14px;\n margin-left: 0;\n"])));
|
|
18377
|
+
var HeaderLine$2 = styled(HeaderLine$1)(_templateObject8$e || (_templateObject8$e = _taggedTemplateLiteralLoose([""])));
|
|
18328
18378
|
|
|
18329
18379
|
var Template2 = function Template2(props) {
|
|
18330
18380
|
if (!props.loading) return React__default.createElement(React__default.Fragment, null);
|
|
@@ -18347,10 +18397,10 @@ var Template2 = function Template2(props) {
|
|
|
18347
18397
|
})));
|
|
18348
18398
|
};
|
|
18349
18399
|
|
|
18350
|
-
var _templateObject$
|
|
18351
|
-
var Container$e = styled.div(_templateObject$
|
|
18352
|
-
var Template3Container = styled(Container$e)(_templateObject2$
|
|
18353
|
-
var Template3Line = styled(HeaderLine$1)(_templateObject3$
|
|
18400
|
+
var _templateObject$W, _templateObject2$G, _templateObject3$z;
|
|
18401
|
+
var Container$e = styled.div(_templateObject$W || (_templateObject$W = _taggedTemplateLiteralLoose(["\n width: 100%;\n max-height: 100%;\n position: absolute;\n padding: 14px;\n"])));
|
|
18402
|
+
var Template3Container = styled(Container$e)(_templateObject2$G || (_templateObject2$G = _taggedTemplateLiteralLoose([""])));
|
|
18403
|
+
var Template3Line = styled(HeaderLine$1)(_templateObject3$z || (_templateObject3$z = _taggedTemplateLiteralLoose(["\n background-color: #dadada;\n height: ", ";\n"])), function (props) {
|
|
18354
18404
|
return props.height;
|
|
18355
18405
|
});
|
|
18356
18406
|
|
|
@@ -18379,21 +18429,21 @@ var Template3 = function Template3(props) {
|
|
|
18379
18429
|
}));
|
|
18380
18430
|
};
|
|
18381
18431
|
|
|
18382
|
-
var _templateObject$
|
|
18383
|
-
var Container$f = styled.div(_templateObject$
|
|
18384
|
-
var HeaderLine$3 = styled.div(_templateObject2$
|
|
18432
|
+
var _templateObject$X, _templateObject2$H, _templateObject3$A, _templateObject4$n, _templateObject5$k, _templateObject6$i, _templateObject7$i, _templateObject8$f;
|
|
18433
|
+
var Container$f = styled.div(_templateObject$X || (_templateObject$X = _taggedTemplateLiteralLoose(["\n width: 100%;\n max-height: 100%;\n position: absolute;\n padding: 14px;\n"])));
|
|
18434
|
+
var HeaderLine$3 = styled.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) {
|
|
18385
18435
|
return props.height;
|
|
18386
18436
|
}, function (props) {
|
|
18387
|
-
return props.size === 'mini' && css(_templateObject3$
|
|
18437
|
+
return props.size === 'mini' && css(_templateObject3$A || (_templateObject3$A = _taggedTemplateLiteralLoose(["\n width: 15%;\n "])));
|
|
18388
18438
|
}, function (props) {
|
|
18389
|
-
return props.size === 'small' && css(_templateObject4$
|
|
18439
|
+
return props.size === 'small' && css(_templateObject4$n || (_templateObject4$n = _taggedTemplateLiteralLoose(["\n width: 25%;\n "])));
|
|
18390
18440
|
}, function (props) {
|
|
18391
|
-
return props.size === 'medium' && css(_templateObject5$
|
|
18441
|
+
return props.size === 'medium' && css(_templateObject5$k || (_templateObject5$k = _taggedTemplateLiteralLoose(["\n width: 45%;\n "])));
|
|
18392
18442
|
}, function (props) {
|
|
18393
|
-
return props.size === 'large' && css(_templateObject6$
|
|
18443
|
+
return props.size === 'large' && css(_templateObject6$i || (_templateObject6$i = _taggedTemplateLiteralLoose(["\n width: 75%;\n "])));
|
|
18394
18444
|
});
|
|
18395
|
-
var Template4Container = styled(Container$f)(_templateObject7$
|
|
18396
|
-
var CustomLine = styled(HeaderLine$3)(_templateObject8$
|
|
18445
|
+
var Template4Container = styled(Container$f)(_templateObject7$i || (_templateObject7$i = _taggedTemplateLiteralLoose(["\n border: 1px solid #e6e6e7;\n border-radius: 4px;\n"])));
|
|
18446
|
+
var CustomLine = styled(HeaderLine$3)(_templateObject8$f || (_templateObject8$f = _taggedTemplateLiteralLoose(["\n width: ", ";\n height: ", ";\n background-color: ", ";\n"])), function (props) {
|
|
18397
18447
|
return props.width;
|
|
18398
18448
|
}, function (props) {
|
|
18399
18449
|
return props.height;
|
|
@@ -18446,28 +18496,28 @@ var Template4 = function Template4(props) {
|
|
|
18446
18496
|
}));
|
|
18447
18497
|
};
|
|
18448
18498
|
|
|
18449
|
-
var _templateObject$
|
|
18450
|
-
var Container$g = styled.div(_templateObject$
|
|
18451
|
-
var Circle = styled.div(_templateObject2$
|
|
18452
|
-
var HeaderLine$4 = styled.div(_templateObject3$
|
|
18499
|
+
var _templateObject$Y, _templateObject2$I, _templateObject3$B, _templateObject4$o, _templateObject5$l, _templateObject6$j, _templateObject7$j, _templateObject8$g, _templateObject9$e;
|
|
18500
|
+
var Container$g = styled.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"])));
|
|
18501
|
+
var Circle = styled.div(_templateObject2$I || (_templateObject2$I = _taggedTemplateLiteralLoose(["\n width: 141px;\n height: 141px;\n background-color: #dddedf;\n border-radius: 50%;\n"])));
|
|
18502
|
+
var HeaderLine$4 = styled.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) {
|
|
18453
18503
|
return props.height;
|
|
18454
18504
|
}, function (props) {
|
|
18455
|
-
return props.size === 'mini' && css(_templateObject4$
|
|
18505
|
+
return props.size === 'mini' && css(_templateObject4$o || (_templateObject4$o = _taggedTemplateLiteralLoose(["\n width: 15%;\n "])));
|
|
18456
18506
|
}, function (props) {
|
|
18457
|
-
return props.size === 'small' && css(_templateObject5$
|
|
18507
|
+
return props.size === 'small' && css(_templateObject5$l || (_templateObject5$l = _taggedTemplateLiteralLoose(["\n width: 25%;\n "])));
|
|
18458
18508
|
}, function (props) {
|
|
18459
|
-
return props.size === 'medium' && css(_templateObject6$
|
|
18509
|
+
return props.size === 'medium' && css(_templateObject6$j || (_templateObject6$j = _taggedTemplateLiteralLoose(["\n width: 45%;\n "])));
|
|
18460
18510
|
}, function (props) {
|
|
18461
|
-
return props.size === 'large' && css(_templateObject7$
|
|
18511
|
+
return props.size === 'large' && css(_templateObject7$j || (_templateObject7$j = _taggedTemplateLiteralLoose(["\n width: 75%;\n "])));
|
|
18462
18512
|
});
|
|
18463
|
-
var CustomLine$1 = styled(HeaderLine$4)(_templateObject8$
|
|
18513
|
+
var CustomLine$1 = styled(HeaderLine$4)(_templateObject8$g || (_templateObject8$g = _taggedTemplateLiteralLoose(["\n width: ", ";\n height: ", ";\n background-color: ", ";\n"])), function (props) {
|
|
18464
18514
|
return props.width;
|
|
18465
18515
|
}, function (props) {
|
|
18466
18516
|
return props.height;
|
|
18467
18517
|
}, function (props) {
|
|
18468
18518
|
return props.color;
|
|
18469
18519
|
});
|
|
18470
|
-
var MainContent$2 = styled.div(_templateObject9$
|
|
18520
|
+
var MainContent$2 = styled.div(_templateObject9$e || (_templateObject9$e = _taggedTemplateLiteralLoose(["\n flex: 1;\n margin-left: 35px;\n"])));
|
|
18471
18521
|
|
|
18472
18522
|
var Template5 = function Template5(props) {
|
|
18473
18523
|
if (!props.loading) return React__default.createElement(React__default.Fragment, null);
|
|
@@ -18494,22 +18544,22 @@ var Template5 = function Template5(props) {
|
|
|
18494
18544
|
})));
|
|
18495
18545
|
};
|
|
18496
18546
|
|
|
18497
|
-
var _templateObject$
|
|
18498
|
-
var Container$h = styled.div(_templateObject$
|
|
18499
|
-
var Header$8 = styled.div(_templateObject2$
|
|
18500
|
-
var Footer$3 = styled.div(_templateObject3$
|
|
18501
|
-
var HeaderLine$5 = styled.div(_templateObject4$
|
|
18547
|
+
var _templateObject$Z, _templateObject2$J, _templateObject3$C, _templateObject4$p, _templateObject5$m, _templateObject6$k, _templateObject7$k, _templateObject8$h, _templateObject9$f;
|
|
18548
|
+
var Container$h = styled.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"])));
|
|
18549
|
+
var Header$8 = styled.div(_templateObject2$J || (_templateObject2$J = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n padding: 14px;\n"])));
|
|
18550
|
+
var Footer$3 = styled.div(_templateObject3$C || (_templateObject3$C = _taggedTemplateLiteralLoose(["\n width: 100%;\n border-top: 1px solid #b1b1b3;\n height: 50px;\n"])));
|
|
18551
|
+
var HeaderLine$5 = styled.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) {
|
|
18502
18552
|
return props.height;
|
|
18503
18553
|
}, function (props) {
|
|
18504
|
-
return props.size === 'mini' && css(_templateObject5$
|
|
18554
|
+
return props.size === 'mini' && css(_templateObject5$m || (_templateObject5$m = _taggedTemplateLiteralLoose(["\n width: 15%;\n "])));
|
|
18505
18555
|
}, function (props) {
|
|
18506
|
-
return props.size === 'small' && css(_templateObject6$
|
|
18556
|
+
return props.size === 'small' && css(_templateObject6$k || (_templateObject6$k = _taggedTemplateLiteralLoose(["\n width: 25%;\n "])));
|
|
18507
18557
|
}, function (props) {
|
|
18508
|
-
return props.size === 'medium' && css(_templateObject7$
|
|
18558
|
+
return props.size === 'medium' && css(_templateObject7$k || (_templateObject7$k = _taggedTemplateLiteralLoose(["\n width: 45%;\n "])));
|
|
18509
18559
|
}, function (props) {
|
|
18510
|
-
return props.size === 'large' && css(_templateObject8$
|
|
18560
|
+
return props.size === 'large' && css(_templateObject8$h || (_templateObject8$h = _taggedTemplateLiteralLoose(["\n width: 75%;\n "])));
|
|
18511
18561
|
});
|
|
18512
|
-
var CustomLine$2 = styled(HeaderLine$5)(_templateObject9$
|
|
18562
|
+
var CustomLine$2 = styled(HeaderLine$5)(_templateObject9$f || (_templateObject9$f = _taggedTemplateLiteralLoose(["\n width: ", ";\n height: ", ";\n background-color: ", ";\n border: 1px solid #dedede5e;\n"])), function (props) {
|
|
18513
18563
|
return props.width;
|
|
18514
18564
|
}, function (props) {
|
|
18515
18565
|
return props.height;
|
|
@@ -18537,29 +18587,29 @@ var Template6 = function Template6(props) {
|
|
|
18537
18587
|
})));
|
|
18538
18588
|
};
|
|
18539
18589
|
|
|
18540
|
-
var _templateObject$
|
|
18541
|
-
var Container$i = styled.div(_templateObject$
|
|
18542
|
-
var Header$9 = styled.div(_templateObject2$
|
|
18543
|
-
var HeaderLine$6 = styled.div(_templateObject3$
|
|
18590
|
+
var _templateObject$_, _templateObject2$K, _templateObject3$D, _templateObject4$q, _templateObject5$n, _templateObject6$l, _templateObject7$l, _templateObject8$i, _templateObject9$g, _templateObject10$d;
|
|
18591
|
+
var Container$i = styled.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"])));
|
|
18592
|
+
var Header$9 = styled.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"])));
|
|
18593
|
+
var HeaderLine$6 = styled.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) {
|
|
18544
18594
|
return props.height;
|
|
18545
18595
|
}, function (props) {
|
|
18546
|
-
return props.size === 'mini' && css(_templateObject4$
|
|
18596
|
+
return props.size === 'mini' && css(_templateObject4$q || (_templateObject4$q = _taggedTemplateLiteralLoose(["\n width: 15%;\n "])));
|
|
18547
18597
|
}, function (props) {
|
|
18548
|
-
return props.size === 'small' && css(_templateObject5$
|
|
18598
|
+
return props.size === 'small' && css(_templateObject5$n || (_templateObject5$n = _taggedTemplateLiteralLoose(["\n width: 25%;\n "])));
|
|
18549
18599
|
}, function (props) {
|
|
18550
|
-
return props.size === 'medium' && css(_templateObject6$
|
|
18600
|
+
return props.size === 'medium' && css(_templateObject6$l || (_templateObject6$l = _taggedTemplateLiteralLoose(["\n width: 45%;\n "])));
|
|
18551
18601
|
}, function (props) {
|
|
18552
|
-
return props.size === 'large' && css(_templateObject7$
|
|
18602
|
+
return props.size === 'large' && css(_templateObject7$l || (_templateObject7$l = _taggedTemplateLiteralLoose(["\n width: 75%;\n "])));
|
|
18553
18603
|
});
|
|
18554
|
-
var CustomLine$3 = styled(HeaderLine$6)(_templateObject8$
|
|
18604
|
+
var CustomLine$3 = styled(HeaderLine$6)(_templateObject8$i || (_templateObject8$i = _taggedTemplateLiteralLoose(["\n width: ", ";\n height: ", ";\n background-color: ", ";\n border: 1px solid #dedede5e;\n"])), function (props) {
|
|
18555
18605
|
return props.width;
|
|
18556
18606
|
}, function (props) {
|
|
18557
18607
|
return props.height;
|
|
18558
18608
|
}, function (props) {
|
|
18559
18609
|
return props.color;
|
|
18560
18610
|
});
|
|
18561
|
-
var Main$2 = styled.div(_templateObject9$
|
|
18562
|
-
var Circle$1 = styled.div(_templateObject10$
|
|
18611
|
+
var Main$2 = styled.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"])));
|
|
18612
|
+
var Circle$1 = styled.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"])));
|
|
18563
18613
|
|
|
18564
18614
|
var Template7 = function Template7(props) {
|
|
18565
18615
|
if (!props.loading) return React__default.createElement(React__default.Fragment, null);
|
|
@@ -18571,28 +18621,28 @@ var Template7 = function Template7(props) {
|
|
|
18571
18621
|
})), 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)));
|
|
18572
18622
|
};
|
|
18573
18623
|
|
|
18574
|
-
var _templateObject
|
|
18575
|
-
var Container$j = styled.div(_templateObject
|
|
18576
|
-
var Header$a = styled.div(_templateObject2$
|
|
18577
|
-
var HeaderLine$7 = styled.div(_templateObject3$
|
|
18624
|
+
var _templateObject$$, _templateObject2$L, _templateObject3$E, _templateObject4$r, _templateObject5$o, _templateObject6$m, _templateObject7$m, _templateObject8$j, _templateObject9$h;
|
|
18625
|
+
var Container$j = styled.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"])));
|
|
18626
|
+
var Header$a = styled.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"])));
|
|
18627
|
+
var HeaderLine$7 = styled.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) {
|
|
18578
18628
|
return props.height;
|
|
18579
18629
|
}, function (props) {
|
|
18580
|
-
return props.size === 'mini' && css(_templateObject4$
|
|
18630
|
+
return props.size === 'mini' && css(_templateObject4$r || (_templateObject4$r = _taggedTemplateLiteralLoose(["\n width: 15%;\n "])));
|
|
18581
18631
|
}, function (props) {
|
|
18582
|
-
return props.size === 'small' && css(_templateObject5$
|
|
18632
|
+
return props.size === 'small' && css(_templateObject5$o || (_templateObject5$o = _taggedTemplateLiteralLoose(["\n width: 25%;\n "])));
|
|
18583
18633
|
}, function (props) {
|
|
18584
|
-
return props.size === 'medium' && css(_templateObject6$
|
|
18634
|
+
return props.size === 'medium' && css(_templateObject6$m || (_templateObject6$m = _taggedTemplateLiteralLoose(["\n width: 45%;\n "])));
|
|
18585
18635
|
}, function (props) {
|
|
18586
|
-
return props.size === 'large' && css(_templateObject7$
|
|
18636
|
+
return props.size === 'large' && css(_templateObject7$m || (_templateObject7$m = _taggedTemplateLiteralLoose(["\n width: 75%;\n "])));
|
|
18587
18637
|
});
|
|
18588
|
-
var CustomLine$4 = styled(HeaderLine$7)(_templateObject8$
|
|
18638
|
+
var CustomLine$4 = styled(HeaderLine$7)(_templateObject8$j || (_templateObject8$j = _taggedTemplateLiteralLoose(["\n width: ", ";\n height: ", ";\n background-color: ", ";\n border: 1px solid #dedede5e;\n"])), function (props) {
|
|
18589
18639
|
return props.width;
|
|
18590
18640
|
}, function (props) {
|
|
18591
18641
|
return props.height;
|
|
18592
18642
|
}, function (props) {
|
|
18593
18643
|
return props.color;
|
|
18594
18644
|
});
|
|
18595
|
-
var Main$3 = styled.div(_templateObject9$
|
|
18645
|
+
var Main$3 = styled.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"])));
|
|
18596
18646
|
|
|
18597
18647
|
var Template8 = function Template8(props) {
|
|
18598
18648
|
if (!props.loading) return React__default.createElement(React__default.Fragment, null);
|
|
@@ -18614,29 +18664,29 @@ var Template8 = function Template8(props) {
|
|
|
18614
18664
|
})));
|
|
18615
18665
|
};
|
|
18616
18666
|
|
|
18617
|
-
var _templateObject$
|
|
18618
|
-
var Container$k = styled.div(_templateObject$
|
|
18619
|
-
var Header$b = styled.div(_templateObject2$
|
|
18620
|
-
var HeaderLine$8 = styled.div(_templateObject3$
|
|
18667
|
+
var _templateObject$10, _templateObject2$M, _templateObject3$F, _templateObject4$s, _templateObject5$p, _templateObject6$n, _templateObject7$n, _templateObject8$k, _templateObject9$i, _templateObject10$e;
|
|
18668
|
+
var Container$k = styled.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"])));
|
|
18669
|
+
var Header$b = styled.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"])));
|
|
18670
|
+
var HeaderLine$8 = styled.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) {
|
|
18621
18671
|
return props.height;
|
|
18622
18672
|
}, function (props) {
|
|
18623
|
-
return props.size === 'mini' && css(_templateObject4$
|
|
18673
|
+
return props.size === 'mini' && css(_templateObject4$s || (_templateObject4$s = _taggedTemplateLiteralLoose(["\n width: 15%;\n "])));
|
|
18624
18674
|
}, function (props) {
|
|
18625
|
-
return props.size === 'small' && css(_templateObject5$
|
|
18675
|
+
return props.size === 'small' && css(_templateObject5$p || (_templateObject5$p = _taggedTemplateLiteralLoose(["\n width: 25%;\n "])));
|
|
18626
18676
|
}, function (props) {
|
|
18627
|
-
return props.size === 'medium' && css(_templateObject6$
|
|
18677
|
+
return props.size === 'medium' && css(_templateObject6$n || (_templateObject6$n = _taggedTemplateLiteralLoose(["\n width: 45%;\n "])));
|
|
18628
18678
|
}, function (props) {
|
|
18629
|
-
return props.size === 'large' && css(_templateObject7$
|
|
18679
|
+
return props.size === 'large' && css(_templateObject7$n || (_templateObject7$n = _taggedTemplateLiteralLoose(["\n width: 75%;\n "])));
|
|
18630
18680
|
});
|
|
18631
|
-
var CustomLine$5 = styled(HeaderLine$8)(_templateObject8$
|
|
18681
|
+
var CustomLine$5 = styled(HeaderLine$8)(_templateObject8$k || (_templateObject8$k = _taggedTemplateLiteralLoose(["\n width: ", ";\n height: ", ";\n background-color: ", ";\n border: 1px solid #dedede5e;\n"])), function (props) {
|
|
18632
18682
|
return props.width;
|
|
18633
18683
|
}, function (props) {
|
|
18634
18684
|
return props.height;
|
|
18635
18685
|
}, function (props) {
|
|
18636
18686
|
return props.color;
|
|
18637
18687
|
});
|
|
18638
|
-
var Main$4 = styled.div(_templateObject9$
|
|
18639
|
-
var Circle$2 = styled.div(_templateObject10$
|
|
18688
|
+
var Main$4 = styled.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"])));
|
|
18689
|
+
var Circle$2 = styled.div(_templateObject10$e || (_templateObject10$e = _taggedTemplateLiteralLoose(["\n width: 128px;\n height: 128px;\n background-color: #ebebeb;\n border-radius: 50%;\n"])));
|
|
18640
18690
|
|
|
18641
18691
|
var Template8$1 = function Template8(props) {
|
|
18642
18692
|
if (!props.loading) return React__default.createElement(React__default.Fragment, null);
|
|
@@ -18653,30 +18703,30 @@ var Template8$1 = function Template8(props) {
|
|
|
18653
18703
|
})), React__default.createElement(Main$4, null, React__default.createElement(Circle$2, null)));
|
|
18654
18704
|
};
|
|
18655
18705
|
|
|
18656
|
-
var _templateObject$
|
|
18657
|
-
var Container$l = styled.div(_templateObject$
|
|
18658
|
-
var Header$c = styled.div(_templateObject2$
|
|
18659
|
-
var HeaderLine$9 = styled.div(_templateObject3$
|
|
18706
|
+
var _templateObject$11, _templateObject2$N, _templateObject3$G, _templateObject4$t, _templateObject5$q, _templateObject6$o, _templateObject7$o, _templateObject8$l, _templateObject9$j, _templateObject10$f, _templateObject11$7;
|
|
18707
|
+
var Container$l = styled.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"])));
|
|
18708
|
+
var Header$c = styled.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"])));
|
|
18709
|
+
var HeaderLine$9 = styled.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) {
|
|
18660
18710
|
return props.height;
|
|
18661
18711
|
}, function (props) {
|
|
18662
|
-
return props.size === 'mini' && css(_templateObject4$
|
|
18712
|
+
return props.size === 'mini' && css(_templateObject4$t || (_templateObject4$t = _taggedTemplateLiteralLoose(["\n width: 15%;\n "])));
|
|
18663
18713
|
}, function (props) {
|
|
18664
|
-
return props.size === 'small' && css(_templateObject5$
|
|
18714
|
+
return props.size === 'small' && css(_templateObject5$q || (_templateObject5$q = _taggedTemplateLiteralLoose(["\n width: 25%;\n "])));
|
|
18665
18715
|
}, function (props) {
|
|
18666
|
-
return props.size === 'medium' && css(_templateObject6$
|
|
18716
|
+
return props.size === 'medium' && css(_templateObject6$o || (_templateObject6$o = _taggedTemplateLiteralLoose(["\n width: 45%;\n "])));
|
|
18667
18717
|
}, function (props) {
|
|
18668
|
-
return props.size === 'large' && css(_templateObject7$
|
|
18718
|
+
return props.size === 'large' && css(_templateObject7$o || (_templateObject7$o = _taggedTemplateLiteralLoose(["\n width: 75%;\n "])));
|
|
18669
18719
|
});
|
|
18670
|
-
var CustomLine$6 = styled(HeaderLine$9)(_templateObject8$
|
|
18720
|
+
var CustomLine$6 = styled(HeaderLine$9)(_templateObject8$l || (_templateObject8$l = _taggedTemplateLiteralLoose(["\n width: ", ";\n height: ", ";\n background-color: ", ";\n border: 1px solid #dedede5e;\n"])), function (props) {
|
|
18671
18721
|
return props.width;
|
|
18672
18722
|
}, function (props) {
|
|
18673
18723
|
return props.height;
|
|
18674
18724
|
}, function (props) {
|
|
18675
18725
|
return props.color;
|
|
18676
18726
|
});
|
|
18677
|
-
var GraphLine = styled(CustomLine$6)(_templateObject9$
|
|
18678
|
-
var Main$5 = styled.div(_templateObject10$
|
|
18679
|
-
var Circle$3 = styled.div(_templateObject11$
|
|
18727
|
+
var GraphLine = styled(CustomLine$6)(_templateObject9$j || (_templateObject9$j = _taggedTemplateLiteralLoose(["\n margin: 0 7px;\n"])));
|
|
18728
|
+
var Main$5 = styled.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"])));
|
|
18729
|
+
var Circle$3 = styled.div(_templateObject11$7 || (_templateObject11$7 = _taggedTemplateLiteralLoose(["\n width: 128px;\n height: 128px;\n background-color: #ebebeb;\n border-radius: 50%;\n"])));
|
|
18680
18730
|
|
|
18681
18731
|
var Template10 = function Template10(props) {
|
|
18682
18732
|
if (!props.loading) return React__default.createElement(React__default.Fragment, null);
|
|
@@ -18797,32 +18847,32 @@ var Placeholder = function Placeholder(props) {
|
|
|
18797
18847
|
}
|
|
18798
18848
|
};
|
|
18799
18849
|
|
|
18800
|
-
var _templateObject$
|
|
18801
|
-
var Container$m = styled.div(_templateObject$
|
|
18802
|
-
var Progress = styled.div(_templateObject2$
|
|
18850
|
+
var _templateObject$12, _templateObject2$O, _templateObject3$H, _templateObject4$u, _templateObject5$r, _templateObject6$p, _templateObject7$p;
|
|
18851
|
+
var Container$m = styled.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"])));
|
|
18852
|
+
var Progress = styled.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) {
|
|
18803
18853
|
return props.value + "%";
|
|
18804
18854
|
}, function (props) {
|
|
18805
|
-
return props.type === 'default' && css(_templateObject3$
|
|
18855
|
+
return props.type === 'default' && css(_templateObject3$H || (_templateObject3$H = _taggedTemplateLiteralLoose(["\n background-color: ", ";\n "])), function (_ref) {
|
|
18806
18856
|
var theme = _ref.theme;
|
|
18807
18857
|
return theme.colors.warningGray;
|
|
18808
18858
|
});
|
|
18809
18859
|
}, function (props) {
|
|
18810
|
-
return props.type === 'info' && css(_templateObject4$
|
|
18860
|
+
return props.type === 'info' && css(_templateObject4$u || (_templateObject4$u = _taggedTemplateLiteralLoose(["\n background-color: ", ";\n "])), function (_ref2) {
|
|
18811
18861
|
var theme = _ref2.theme;
|
|
18812
18862
|
return theme.colors.blue;
|
|
18813
18863
|
});
|
|
18814
18864
|
}, function (props) {
|
|
18815
|
-
return props.type === 'danger' && css(_templateObject5$
|
|
18865
|
+
return props.type === 'danger' && css(_templateObject5$r || (_templateObject5$r = _taggedTemplateLiteralLoose(["\n background-color: ", ";\n "])), function (_ref3) {
|
|
18816
18866
|
var theme = _ref3.theme;
|
|
18817
18867
|
return theme.colors.warningRed;
|
|
18818
18868
|
});
|
|
18819
18869
|
}, function (props) {
|
|
18820
|
-
return props.type === 'success' && css(_templateObject6$
|
|
18870
|
+
return props.type === 'success' && css(_templateObject6$p || (_templateObject6$p = _taggedTemplateLiteralLoose(["\n background-color: ", ";\n "])), function (_ref4) {
|
|
18821
18871
|
var theme = _ref4.theme;
|
|
18822
18872
|
return theme.colors.green;
|
|
18823
18873
|
});
|
|
18824
18874
|
}, function (props) {
|
|
18825
|
-
return props.type === 'warning' && css(_templateObject7$
|
|
18875
|
+
return props.type === 'warning' && css(_templateObject7$p || (_templateObject7$p = _taggedTemplateLiteralLoose(["\n background-color: ", ";\n "])), function (_ref5) {
|
|
18826
18876
|
var theme = _ref5.theme;
|
|
18827
18877
|
return theme.colors.warningYellow;
|
|
18828
18878
|
});
|
|
@@ -18867,21 +18917,21 @@ function SvgClose(props) {
|
|
|
18867
18917
|
})));
|
|
18868
18918
|
}
|
|
18869
18919
|
|
|
18870
|
-
var _templateObject$
|
|
18871
|
-
var Container$n = styled.div(_templateObject$
|
|
18920
|
+
var _templateObject$13, _templateObject2$P, _templateObject3$I, _templateObject4$v, _templateObject5$s, _templateObject6$q;
|
|
18921
|
+
var Container$n = styled.div(_templateObject$13 || (_templateObject$13 = _taggedTemplateLiteralLoose(["\n display: block;\n border-bottom-style: solid;\n\n ", "\n"])), function (_ref) {
|
|
18872
18922
|
var theme = _ref.theme,
|
|
18873
18923
|
internal = _ref.internal;
|
|
18874
|
-
return css(_templateObject2$
|
|
18924
|
+
return 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);
|
|
18875
18925
|
});
|
|
18876
|
-
var Tabs = styled.ul(_templateObject3$
|
|
18926
|
+
var Tabs = styled.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) {
|
|
18877
18927
|
var theme = _ref2.theme,
|
|
18878
18928
|
internal = _ref2.internal;
|
|
18879
|
-
return css(_templateObject4$
|
|
18929
|
+
return css(_templateObject4$v || (_templateObject4$v = _taggedTemplateLiteralLoose(["\n height: ", ";\n box-shadow: 0 0 10px 0 ", ";\n "])), internal ? '41px' : '49px', theme.getColor('black', 10));
|
|
18880
18930
|
});
|
|
18881
|
-
var Tab = styled.li(_templateObject5$
|
|
18931
|
+
var Tab = styled.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) {
|
|
18882
18932
|
var theme = _ref3.theme,
|
|
18883
18933
|
active = _ref3.active;
|
|
18884
|
-
return css(_templateObject6$
|
|
18934
|
+
return 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);
|
|
18885
18935
|
});
|
|
18886
18936
|
|
|
18887
18937
|
var initialStatus = function initialStatus(active, length) {
|
|
@@ -19000,8 +19050,8 @@ var Tabs$1 = function Tabs$1(props) {
|
|
|
19000
19050
|
}, [])));
|
|
19001
19051
|
};
|
|
19002
19052
|
|
|
19003
|
-
var _templateObject$
|
|
19004
|
-
var Container$o = styled.textarea(_templateObject$
|
|
19053
|
+
var _templateObject$14;
|
|
19054
|
+
var Container$o = styled.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) {
|
|
19005
19055
|
return "" + props.width;
|
|
19006
19056
|
}, function (props) {
|
|
19007
19057
|
return "" + props.height;
|
|
@@ -19011,18 +19061,18 @@ var TextArea = function TextArea(props) {
|
|
|
19011
19061
|
return React__default.createElement(Container$o, Object.assign({}, props));
|
|
19012
19062
|
};
|
|
19013
19063
|
|
|
19014
|
-
var _templateObject$
|
|
19015
|
-
var Container$p = styled.div(_templateObject$
|
|
19064
|
+
var _templateObject$15, _templateObject2$Q, _templateObject3$J, _templateObject4$w, _templateObject5$t, _templateObject6$r;
|
|
19065
|
+
var Container$p = styled.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) {
|
|
19016
19066
|
return props.size === 'large' ? '837px' : '460px';
|
|
19017
19067
|
}, function (props) {
|
|
19018
|
-
return props.color === 'success' && css(_templateObject2$
|
|
19068
|
+
return props.color === 'success' && 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 "])));
|
|
19019
19069
|
}, function (props) {
|
|
19020
|
-
return props.color === 'error' && css(_templateObject3$
|
|
19070
|
+
return props.color === 'error' && 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 "])));
|
|
19021
19071
|
}, function (props) {
|
|
19022
|
-
return props.color === 'warning' && css(_templateObject4$
|
|
19072
|
+
return props.color === 'warning' && 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 "])));
|
|
19023
19073
|
});
|
|
19024
|
-
var IconContainer$2 = styled.div(_templateObject5$
|
|
19025
|
-
var IconContent = styled.div(_templateObject6$
|
|
19074
|
+
var IconContainer$2 = styled.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"])));
|
|
19075
|
+
var IconContent = styled.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"])));
|
|
19026
19076
|
|
|
19027
19077
|
var Toast = function Toast(props) {
|
|
19028
19078
|
return React__default.createElement(Container$p, Object.assign({}, props), React__default.createElement(IconContainer$2, null, React__default.createElement(Icon, {
|
|
@@ -19034,9 +19084,9 @@ var Toast = function Toast(props) {
|
|
|
19034
19084
|
})), React__default.createElement(IconContent, null, React__default.createElement("h4", null, props.title), React__default.createElement("p", null, " ", props.description)));
|
|
19035
19085
|
};
|
|
19036
19086
|
|
|
19037
|
-
var _templateObject$
|
|
19038
|
-
var Image = styled.img(_templateObject$
|
|
19039
|
-
var Container$q = styled.div(_templateObject2$
|
|
19087
|
+
var _templateObject$16, _templateObject2$R, _templateObject3$K, _templateObject4$x, _templateObject5$u;
|
|
19088
|
+
var Image = styled.img(_templateObject$16 || (_templateObject$16 = _taggedTemplateLiteralLoose(["\n max-width: 100%;\n max-height: 100%;\n"])));
|
|
19089
|
+
var Container$q = styled.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) {
|
|
19040
19090
|
var width = _ref.width;
|
|
19041
19091
|
|
|
19042
19092
|
switch (typeof width) {
|
|
@@ -19063,15 +19113,15 @@ var Container$q = styled.div(_templateObject2$M || (_templateObject2$M = _tagged
|
|
|
19063
19113
|
return 'auto';
|
|
19064
19114
|
}
|
|
19065
19115
|
});
|
|
19066
|
-
var Dimmer = styled.div(_templateObject3$
|
|
19116
|
+
var Dimmer = styled.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) {
|
|
19067
19117
|
var theme = _ref3.theme;
|
|
19068
19118
|
return theme.getColor('greyishBlue', 50);
|
|
19069
19119
|
});
|
|
19070
|
-
var Button$6 = styled(Button$1)(_templateObject4$
|
|
19120
|
+
var Button$6 = styled(Button$1)(_templateObject4$x || (_templateObject4$x = _taggedTemplateLiteralLoose(["\n background-color: ", ";\n"])), function (_ref4) {
|
|
19071
19121
|
var theme = _ref4.theme;
|
|
19072
19122
|
return theme.getColor('white', 50);
|
|
19073
19123
|
});
|
|
19074
|
-
var ModalContent = styled.div(_templateObject5$
|
|
19124
|
+
var ModalContent = styled.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"])));
|
|
19075
19125
|
|
|
19076
19126
|
var _excluded$3 = ["src", "defaultClickOptions"];
|
|
19077
19127
|
|