@mw-kit/mw-ui 1.7.57 → 1.7.59
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.modern.js
CHANGED
|
@@ -59,6 +59,7 @@ var colors = {
|
|
|
59
59
|
darkGrey: '#949494',
|
|
60
60
|
darkSilver: '#525A6A',
|
|
61
61
|
floralWhite: '#FFFAF3',
|
|
62
|
+
ghostWhite: '#F9FAFB',
|
|
62
63
|
green: '#76B100',
|
|
63
64
|
grey: '#ADADAD',
|
|
64
65
|
greyishBlue: '#263046',
|
|
@@ -70,6 +71,7 @@ var colors = {
|
|
|
70
71
|
milkWhite: '#FCFFF5',
|
|
71
72
|
orange: '#FB8702',
|
|
72
73
|
pink: '#E23851',
|
|
74
|
+
platinum: '#E2E2E3',
|
|
73
75
|
purple: '#8E66BB',
|
|
74
76
|
red: '#C31717',
|
|
75
77
|
silver: '#B2B2B2',
|
|
@@ -197,20 +199,9 @@ var keys = function keys(value) {
|
|
|
197
199
|
var notEmptyString = function notEmptyString(value) {
|
|
198
200
|
return typeof value === 'string' && value.trim() !== '';
|
|
199
201
|
};
|
|
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
|
-
};
|
|
208
202
|
var isBoolean = function isBoolean(value) {
|
|
209
203
|
return typeof value === 'boolean';
|
|
210
204
|
};
|
|
211
|
-
var isNumericString = function isNumericString(value) {
|
|
212
|
-
return notEmptyString(value) && isNumeric(value);
|
|
213
|
-
};
|
|
214
205
|
var isString = function isString(value) {
|
|
215
206
|
return typeof value === 'string';
|
|
216
207
|
};
|
|
@@ -332,11 +323,6 @@ var filterObject = function filterObject(object, remove, inital) {
|
|
|
332
323
|
}, inital);
|
|
333
324
|
return r;
|
|
334
325
|
};
|
|
335
|
-
var numberOrDefault = function numberOrDefault(value, defaultValue) {
|
|
336
|
-
if (isNumber(value)) return value;
|
|
337
|
-
if (isNumericString(value)) return parseFloat(value);
|
|
338
|
-
return defaultValue;
|
|
339
|
-
};
|
|
340
326
|
var isoStringToDate = function isoStringToDate(value) {
|
|
341
327
|
var _value$split = value.split(' '),
|
|
342
328
|
d = _value$split[0],
|
|
@@ -13742,8 +13728,8 @@ var getTimeProps = function getTimeProps(time, value) {
|
|
|
13742
13728
|
});
|
|
13743
13729
|
};
|
|
13744
13730
|
|
|
13745
|
-
var _templateObject$e, _templateObject2$c, _templateObject3$b, _templateObject4$9, _templateObject5$8, _templateObject6$7, _templateObject7$7, _templateObject8$6, _templateObject9$6, _templateObject10$6
|
|
13746
|
-
var Button = styled.button(_templateObject$e || (_templateObject$e = _taggedTemplateLiteralLoose(["\n padding: 0\n ", ";\n font-family: 'Lato', sans-serif;\n font-weight: ", ";\n border-radius: 4px;\n position: relative;\n user-select: none;\n\n ", ";\n\n ", ";\n\n color: ", ";\n\n :disabled {\n
|
|
13731
|
+
var _templateObject$e, _templateObject2$c, _templateObject3$b, _templateObject4$9, _templateObject5$8, _templateObject6$7, _templateObject7$7, _templateObject8$6, _templateObject9$6, _templateObject10$6;
|
|
13732
|
+
var Button = styled.button(_templateObject$e || (_templateObject$e = _taggedTemplateLiteralLoose(["\n padding: 0\n ", ";\n font-family: 'Lato', sans-serif;\n font-weight: ", ";\n border-radius: 4px;\n position: relative;\n user-select: none;\n\n ", ";\n\n ", ";\n\n color: ", ";\n\n :disabled {\n opacity: 0.5;\n pointer-events: none;\n }\n\n :hover {\n cursor: ", ";\n\n ", "\n }\n\n :active {\n ", ";\n }\n\n ", "\n"])), function (_ref) {
|
|
13747
13733
|
var theme = _ref.theme,
|
|
13748
13734
|
appearance = _ref.appearance;
|
|
13749
13735
|
return appearance === 'link' ? 0 : theme.spacings.s3;
|
|
@@ -13779,49 +13765,39 @@ var Button = styled.button(_templateObject$e || (_templateObject$e = _taggedTemp
|
|
|
13779
13765
|
|
|
13780
13766
|
return theme.getColor('white');
|
|
13781
13767
|
}, function (_ref6) {
|
|
13782
|
-
var
|
|
13783
|
-
|
|
13784
|
-
|
|
13768
|
+
var loading = _ref6.loading,
|
|
13769
|
+
disabled = _ref6.disabled;
|
|
13770
|
+
return loading || disabled ? 'default' : 'pointer';
|
|
13771
|
+
}, function (_ref7) {
|
|
13772
|
+
var appearance = _ref7.appearance,
|
|
13773
|
+
color = _ref7.color,
|
|
13774
|
+
theme = _ref7.theme;
|
|
13785
13775
|
|
|
13786
|
-
if (
|
|
13787
|
-
return css(_templateObject4$9 || (_templateObject4$9 = _taggedTemplateLiteralLoose(["\n
|
|
13776
|
+
if (appearance === 'bordered') {
|
|
13777
|
+
return css(_templateObject4$9 || (_templateObject4$9 = _taggedTemplateLiteralLoose(["\n color: ", ";\n border: 1px solid ", ";\n "])), theme.getColor(color || 'blue', 70), theme.getColor(color || 'blue', 70));
|
|
13778
|
+
} else if (['link', 'borderless'].includes(appearance)) {
|
|
13779
|
+
return css(_templateObject5$8 || (_templateObject5$8 = _taggedTemplateLiteralLoose(["\n color: ", ";\n "])), theme.colors.blue);
|
|
13788
13780
|
}
|
|
13789
13781
|
|
|
13790
|
-
return css(
|
|
13791
|
-
}, function (_ref7) {
|
|
13792
|
-
var loading = _ref7.loading,
|
|
13793
|
-
disabled = _ref7.disabled;
|
|
13794
|
-
return loading || disabled ? 'default' : 'pointer';
|
|
13782
|
+
return css(_templateObject6$7 || (_templateObject6$7 = _taggedTemplateLiteralLoose(["\n background-color: ", ";\n border-color: ", ";\n "])), theme.getColor(color || 'blue', 70), theme.getColor(color || 'blue', 70));
|
|
13795
13783
|
}, function (_ref8) {
|
|
13796
13784
|
var appearance = _ref8.appearance,
|
|
13797
13785
|
color = _ref8.color,
|
|
13798
13786
|
theme = _ref8.theme;
|
|
13799
13787
|
|
|
13800
13788
|
if (appearance === 'bordered') {
|
|
13801
|
-
return css(
|
|
13802
|
-
} else if (['link', 'borderless'].includes(appearance)) {
|
|
13803
|
-
return css(_templateObject7$7 || (_templateObject7$7 = _taggedTemplateLiteralLoose(["\n color: ", ";\n "])), theme.colors.blue);
|
|
13804
|
-
}
|
|
13805
|
-
|
|
13806
|
-
return css(_templateObject8$6 || (_templateObject8$6 = _taggedTemplateLiteralLoose(["\n background-color: ", ";\n border-color: ", ";\n "])), theme.getColor(color || 'blue', 70), theme.getColor(color || 'blue', 70));
|
|
13807
|
-
}, function (_ref9) {
|
|
13808
|
-
var appearance = _ref9.appearance,
|
|
13809
|
-
color = _ref9.color,
|
|
13810
|
-
theme = _ref9.theme;
|
|
13811
|
-
|
|
13812
|
-
if (appearance === 'bordered') {
|
|
13813
|
-
return css(_templateObject9$6 || (_templateObject9$6 = _taggedTemplateLiteralLoose(["\n background-color: ", ";\n "])), theme.getColor('iceWhite'));
|
|
13789
|
+
return css(_templateObject7$7 || (_templateObject7$7 = _taggedTemplateLiteralLoose(["\n background-color: ", ";\n "])), theme.getColor('iceWhite'));
|
|
13814
13790
|
}
|
|
13815
13791
|
|
|
13816
13792
|
if (['link', 'borderless'].includes(appearance)) {
|
|
13817
|
-
return css(
|
|
13793
|
+
return css(_templateObject8$6 || (_templateObject8$6 = _taggedTemplateLiteralLoose(["\n color: ", ";\n "])), theme.getColor('blue', 50));
|
|
13818
13794
|
}
|
|
13819
13795
|
|
|
13820
|
-
return css(
|
|
13821
|
-
}, function (
|
|
13822
|
-
var loading =
|
|
13796
|
+
return css(_templateObject9$6 || (_templateObject9$6 = _taggedTemplateLiteralLoose(["\n color: ", ";\n "])), theme.getColor(color || 'blue'));
|
|
13797
|
+
}, function (_ref9) {
|
|
13798
|
+
var loading = _ref9.loading;
|
|
13823
13799
|
if (!loading) return;
|
|
13824
|
-
return css(
|
|
13800
|
+
return css(_templateObject10$6 || (_templateObject10$6 = _taggedTemplateLiteralLoose(["\n pointer-events: none;\n "])));
|
|
13825
13801
|
});
|
|
13826
13802
|
|
|
13827
13803
|
var _excluded = ["children", "content"];
|
|
@@ -15637,11 +15613,10 @@ var bullet = css(_templateObject$q || (_templateObject$q = _taggedTemplateLitera
|
|
|
15637
15613
|
}, function (_ref3) {
|
|
15638
15614
|
var theme = _ref3.theme;
|
|
15639
15615
|
return theme.getColor('black', 10);
|
|
15640
|
-
}, function (
|
|
15641
|
-
var theme =
|
|
15642
|
-
|
|
15643
|
-
|
|
15644
|
-
return theme.colors[min > 0 || value > min ? 'blue' : 'white'];
|
|
15616
|
+
}, function (_ref4) {
|
|
15617
|
+
var theme = _ref4.theme,
|
|
15618
|
+
activeBullet = _ref4.$activeBullet;
|
|
15619
|
+
return theme.colors[activeBullet ? 'blue' : 'white'];
|
|
15645
15620
|
});
|
|
15646
15621
|
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
15622
|
|
|
@@ -15884,6 +15859,7 @@ var Range = React__default.forwardRef(function (props, ref) {
|
|
|
15884
15859
|
var value = typeof v === 'number' ? v : parseFloat(v);
|
|
15885
15860
|
return value;
|
|
15886
15861
|
};
|
|
15862
|
+
var currentValue = getValue(value);
|
|
15887
15863
|
|
|
15888
15864
|
var _onChange = props.onChange || function (_event, value) {
|
|
15889
15865
|
return setValue(value);
|
|
@@ -15958,15 +15934,17 @@ var Range = React__default.forwardRef(function (props, ref) {
|
|
|
15958
15934
|
invalid: invalid ? 1 : 0
|
|
15959
15935
|
}, markers.length > 0 && React__default.createElement(MarkersContainer, null, markers.map(function (marker, index) {
|
|
15960
15936
|
var left = getMarkerLeft(markers.length, range, index, marker.value, min, strict);
|
|
15961
|
-
var bullet = marker.value >
|
|
15937
|
+
var bullet = marker.value > currentValue ? 1 : 0;
|
|
15962
15938
|
return React__default.createElement(Marker, {
|
|
15963
|
-
key:
|
|
15939
|
+
key: index,
|
|
15964
15940
|
left: left,
|
|
15965
15941
|
bullet: bullet
|
|
15966
15942
|
}, marker.label);
|
|
15967
15943
|
})), React__default.createElement("div", null, React__default.createElement(Input$2, Object.assign({
|
|
15968
15944
|
ref: ref
|
|
15969
|
-
}, inputProps
|
|
15945
|
+
}, inputProps, {
|
|
15946
|
+
"$activeBullet": (strict === true ? markers[value].value : value) !== 0
|
|
15947
|
+
})), React__default.createElement(NavBar, {
|
|
15970
15948
|
position: position
|
|
15971
15949
|
}, React__default.createElement("div", {
|
|
15972
15950
|
style: {
|
|
@@ -15977,7 +15955,7 @@ var Range = React__default.forwardRef(function (props, ref) {
|
|
|
15977
15955
|
icon: 'minus_circle',
|
|
15978
15956
|
color: 'white',
|
|
15979
15957
|
onClick: canDecrement ? decrement : undefined
|
|
15980
|
-
}),
|
|
15958
|
+
}), currentValue, React__default.createElement(Icon, {
|
|
15981
15959
|
type: 'feather',
|
|
15982
15960
|
icon: 'plus_circle',
|
|
15983
15961
|
color: 'white',
|
|
@@ -16239,7 +16217,7 @@ var parse = function parse(value) {
|
|
|
16239
16217
|
});
|
|
16240
16218
|
};
|
|
16241
16219
|
|
|
16242
|
-
var _templateObject$B, _templateObject2$t, _templateObject3$n, _templateObject4$e, _templateObject5$c, _templateObject6$b, _templateObject7$b, _templateObject8$8, _templateObject9$8, _templateObject10$7, _templateObject11$
|
|
16220
|
+
var _templateObject$B, _templateObject2$t, _templateObject3$n, _templateObject4$e, _templateObject5$c, _templateObject6$b, _templateObject7$b, _templateObject8$8, _templateObject9$8, _templateObject10$7, _templateObject11$3, _templateObject12$2;
|
|
16243
16221
|
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
16222
|
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) {
|
|
16245
16223
|
var theme = _ref.theme;
|
|
@@ -16289,13 +16267,13 @@ var Button$4 = styled.button(_templateObject9$8 || (_templateObject9$8 = _tagged
|
|
|
16289
16267
|
if (!onClick) return;
|
|
16290
16268
|
return css(_templateObject10$7 || (_templateObject10$7 = _taggedTemplateLiteralLoose(["\n :not(:disabled) {\n cursor: pointer;\n }\n "])));
|
|
16291
16269
|
});
|
|
16292
|
-
var LabelText$1 = styled.label(_templateObject11$
|
|
16270
|
+
var LabelText$1 = styled.label(_templateObject11$3 || (_templateObject11$3 = _taggedTemplateLiteralLoose(["\n display: inline-block;\n margin-bottom: ", ";\n\n ", "\n"])), function (_ref12) {
|
|
16293
16271
|
var theme = _ref12.theme;
|
|
16294
16272
|
return theme.spacings.s1;
|
|
16295
16273
|
}, function (_ref13) {
|
|
16296
16274
|
var required = _ref13.required;
|
|
16297
16275
|
if (!required) return;
|
|
16298
|
-
return css(_templateObject12$
|
|
16276
|
+
return css(_templateObject12$2 || (_templateObject12$2 = _taggedTemplateLiteralLoose(["\n :after {\n content: ' *';\n }\n "])));
|
|
16299
16277
|
});
|
|
16300
16278
|
|
|
16301
16279
|
var Component$1 = React__default.forwardRef(function (props, ref) {
|
|
@@ -17784,7 +17762,7 @@ var useContext$2 = function useContext() {
|
|
|
17784
17762
|
return React__default.useContext(Provider$2);
|
|
17785
17763
|
};
|
|
17786
17764
|
|
|
17787
|
-
var _templateObject$M, _templateObject2$z, _templateObject3$s, _templateObject4$h, _templateObject5$e, _templateObject6$d, _templateObject7$d, _templateObject8$a, _templateObject9$a, _templateObject10$9, _templateObject11$
|
|
17765
|
+
var _templateObject$M, _templateObject2$z, _templateObject3$s, _templateObject4$h, _templateObject5$e, _templateObject6$d, _templateObject7$d, _templateObject8$a, _templateObject9$a, _templateObject10$9, _templateObject11$4, _templateObject12$3, _templateObject13$2, _templateObject14$2, _templateObject15$2;
|
|
17788
17766
|
var aligns = {
|
|
17789
17767
|
self: {
|
|
17790
17768
|
horizontal: {
|
|
@@ -17875,13 +17853,13 @@ var Col = styled.div(_templateObject$M || (_templateObject$M = _taggedTemplateLi
|
|
|
17875
17853
|
var bordered = _ref5.bordered,
|
|
17876
17854
|
lightestGrey = _ref5.theme.colors.lightestGrey;
|
|
17877
17855
|
if (!bordered) return;
|
|
17878
|
-
return css(_templateObject11$
|
|
17856
|
+
return css(_templateObject11$4 || (_templateObject11$4 = _taggedTemplateLiteralLoose(["\n :not(:last-child) {\n border-right: 1px solid ", ";\n }\n "])), lightestGrey);
|
|
17879
17857
|
}, function (_ref6) {
|
|
17880
17858
|
var fontColor = _ref6.fontColor,
|
|
17881
17859
|
theme = _ref6.theme;
|
|
17882
17860
|
if (fontColor === undefined) return;
|
|
17883
17861
|
var c = Array.isArray(fontColor) ? theme.getColor.apply(theme, fontColor) : theme.colors[fontColor];
|
|
17884
|
-
return css(_templateObject12$
|
|
17862
|
+
return css(_templateObject12$3 || (_templateObject12$3 = _taggedTemplateLiteralLoose(["\n color: ", ";\n "])), c);
|
|
17885
17863
|
}, function (_ref7) {
|
|
17886
17864
|
var backgroundColor = _ref7.backgroundColor,
|
|
17887
17865
|
theme = _ref7.theme;
|
|
@@ -18301,7 +18279,7 @@ var Modal$1 = Object.assign(Modal, {
|
|
|
18301
18279
|
Audit: Audit
|
|
18302
18280
|
});
|
|
18303
18281
|
|
|
18304
|
-
var _templateObject$T, _templateObject2$D, _templateObject3$w, _templateObject4$k, _templateObject5$h, _templateObject6$g, _templateObject7$g, _templateObject8$d, _templateObject9$d, _templateObject10$c, _templateObject11$
|
|
18282
|
+
var _templateObject$T, _templateObject2$D, _templateObject3$w, _templateObject4$k, _templateObject5$h, _templateObject6$g, _templateObject7$g, _templateObject8$d, _templateObject9$d, _templateObject10$c, _templateObject11$5;
|
|
18305
18283
|
var Container$c = styled.div(_templateObject$T || (_templateObject$T = _taggedTemplateLiteralLoose(["\n width: 100%;\n height: 300px;\n position: absolute;\n padding: 14px;\n"])));
|
|
18306
18284
|
var Header$6 = styled.div(_templateObject2$D || (_templateObject2$D = _taggedTemplateLiteralLoose(["\n display: flex;\n"])));
|
|
18307
18285
|
var HeaderImage = styled.div(_templateObject3$w || (_templateObject3$w = _taggedTemplateLiteralLoose(["\n width: 43px;\n height: 44px;\n background-color: #ebebeb;\n"])));
|
|
@@ -18318,7 +18296,7 @@ var HeaderLine = styled.div(_templateObject6$g || (_templateObject6$g = _taggedT
|
|
|
18318
18296
|
}, function (props) {
|
|
18319
18297
|
return props.size === 'large' && css(_templateObject10$c || (_templateObject10$c = _taggedTemplateLiteralLoose(["\n width: 75%;\n "])));
|
|
18320
18298
|
});
|
|
18321
|
-
var MainLine = styled(HeaderLine)(_templateObject11$
|
|
18299
|
+
var MainLine = styled(HeaderLine)(_templateObject11$5 || (_templateObject11$5 = _taggedTemplateLiteralLoose(["\n margin-bottom: 14px;\n margin-left: 0;\n"])));
|
|
18322
18300
|
|
|
18323
18301
|
var Template1 = function Template1(props) {
|
|
18324
18302
|
if (!props.loading) return React__default.createElement(React__default.Fragment, null);
|
|
@@ -18703,7 +18681,7 @@ var Template8$1 = function Template8(props) {
|
|
|
18703
18681
|
})), React__default.createElement(Main$4, null, React__default.createElement(Circle$2, null)));
|
|
18704
18682
|
};
|
|
18705
18683
|
|
|
18706
|
-
var _templateObject$11, _templateObject2$N, _templateObject3$G, _templateObject4$t, _templateObject5$q, _templateObject6$o, _templateObject7$o, _templateObject8$l, _templateObject9$j, _templateObject10$f, _templateObject11$
|
|
18684
|
+
var _templateObject$11, _templateObject2$N, _templateObject3$G, _templateObject4$t, _templateObject5$q, _templateObject6$o, _templateObject7$o, _templateObject8$l, _templateObject9$j, _templateObject10$f, _templateObject11$6;
|
|
18707
18685
|
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
18686
|
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
18687
|
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) {
|
|
@@ -18726,7 +18704,7 @@ var CustomLine$6 = styled(HeaderLine$9)(_templateObject8$l || (_templateObject8$
|
|
|
18726
18704
|
});
|
|
18727
18705
|
var GraphLine = styled(CustomLine$6)(_templateObject9$j || (_templateObject9$j = _taggedTemplateLiteralLoose(["\n margin: 0 7px;\n"])));
|
|
18728
18706
|
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$
|
|
18707
|
+
var Circle$3 = styled.div(_templateObject11$6 || (_templateObject11$6 = _taggedTemplateLiteralLoose(["\n width: 128px;\n height: 128px;\n background-color: #ebebeb;\n border-radius: 50%;\n"])));
|
|
18730
18708
|
|
|
18731
18709
|
var Template10 = function Template10(props) {
|
|
18732
18710
|
if (!props.loading) return React__default.createElement(React__default.Fragment, null);
|