@mw-kit/mw-ui 1.2.5 → 1.4.0
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/AbsoluteContainer/index.d.ts +2 -2
- package/dist/components/AbsoluteContainer/interfaces.d.ts +1 -1
- package/dist/components/Calendar/styles.d.ts +1 -1
- package/dist/components/Filters/AppliedFilters/index.d.ts +4 -0
- package/dist/components/Filters/AppliedFilters/interfaces.d.ts +7 -0
- package/dist/components/Filters/AppliedFilters/styles.d.ts +5 -0
- package/dist/components/Filters/Filters/components/Submenu/components/Header/index.d.ts +4 -0
- package/dist/components/Filters/Filters/components/Submenu/components/Header/interfaces.d.ts +13 -0
- package/dist/components/Filters/Filters/components/Submenu/components/Header/styles.d.ts +1 -0
- package/dist/components/Filters/Filters/components/Submenu/index.d.ts +4 -0
- package/dist/components/Filters/Filters/components/Submenu/interfaces.d.ts +8 -0
- package/dist/components/Filters/Filters/components/Submenu/styles.d.ts +1 -0
- package/dist/components/Filters/Filters/index.d.ts +4 -0
- package/dist/components/Filters/Filters/interfaces.d.ts +46 -0
- package/dist/components/Filters/interfaces.d.ts +20 -0
- package/dist/components/Input/components/Select/interfaces.d.ts +4 -1
- package/dist/components/Menu/interfaces.d.ts +12 -8
- package/dist/components/Menu/styles.d.ts +1 -1
- package/dist/components/ScrollContainer/interfaces.d.ts +1 -0
- package/dist/components/index.d.ts +2 -0
- package/dist/index.js +663 -139
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +663 -141
- package/dist/index.modern.js.map +1 -1
- package/dist/interfaces.d.ts +1 -0
- package/dist/theme/constants.d.ts +2 -15
- package/dist/theme/interfaces.d.ts +15 -2
- package/package.json +1 -1
- package/dist/services.d.ts +0 -1
package/dist/index.js
CHANGED
|
@@ -158,6 +158,9 @@ var typographies = {
|
|
|
158
158
|
}
|
|
159
159
|
};
|
|
160
160
|
|
|
161
|
+
var stripAccents = function stripAccents(value) {
|
|
162
|
+
return value.normalize('NFD').replace(/[\u0300-\u036f]/g, '');
|
|
163
|
+
};
|
|
161
164
|
var isKeyOf = function isKeyOf(object, key) {
|
|
162
165
|
return Object.prototype.hasOwnProperty.call(object, key);
|
|
163
166
|
};
|
|
@@ -171,6 +174,35 @@ var isObject = function isObject(value) {
|
|
|
171
174
|
var isString = function isString(value) {
|
|
172
175
|
return typeof value === 'string';
|
|
173
176
|
};
|
|
177
|
+
var strCmp = function strCmp(x, y, options) {
|
|
178
|
+
if (options === void 0) {
|
|
179
|
+
options = {};
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
options = _extends({
|
|
183
|
+
ignoreAccents: true,
|
|
184
|
+
ignoreCase: true,
|
|
185
|
+
trim: true,
|
|
186
|
+
contain: false
|
|
187
|
+
}, options);
|
|
188
|
+
|
|
189
|
+
if (options.trim) {
|
|
190
|
+
x = x.trim();
|
|
191
|
+
y = y.trim();
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
if (options.ignoreCase) {
|
|
195
|
+
x = x.toUpperCase();
|
|
196
|
+
y = y.toUpperCase();
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
if (options.ignoreAccents) {
|
|
200
|
+
x = stripAccents(x);
|
|
201
|
+
y = stripAccents(y);
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
return options.contain ? x.includes(y) : x === y;
|
|
205
|
+
};
|
|
174
206
|
|
|
175
207
|
var filterObject = function filterObject(object, keys, inital) {
|
|
176
208
|
if (inital === void 0) {
|
|
@@ -11809,18 +11841,17 @@ var EllipsisContainer$1 = function EllipsisContainer$1(props) {
|
|
|
11809
11841
|
}));
|
|
11810
11842
|
};
|
|
11811
11843
|
|
|
11812
|
-
var _templateObject$5, _templateObject2$3, _templateObject3$3, _templateObject4$3
|
|
11813
|
-
var Container$1 = styled__default.div(_templateObject$5 || (_templateObject$5 = _taggedTemplateLiteralLoose(["\n ", ";\n\n padding-right: calc(", " / 2);\n display: flex;\n width: 100%;\n display: flex;\n flex-direction: column;\n"])), function (_ref) {
|
|
11844
|
+
var _templateObject$5, _templateObject2$3, _templateObject3$3, _templateObject4$3;
|
|
11845
|
+
var Container$1 = styled__default.div(_templateObject$5 || (_templateObject$5 = _taggedTemplateLiteralLoose(["\n ", ";\n\n padding-right: calc(", " / 2);\n display: flex;\n width: 100%;\n display: flex;\n flex-direction: column;\n flex: 1;\n overflow: hidden;\n"])), function (_ref) {
|
|
11814
11846
|
var theme = _ref.theme;
|
|
11815
11847
|
return theme.useTypography('p');
|
|
11816
11848
|
}, function (_ref2) {
|
|
11817
11849
|
var theme = _ref2.theme;
|
|
11818
11850
|
return theme.spacings.s1;
|
|
11819
11851
|
});
|
|
11820
|
-
var OverflowContainer = styled__default.div(_templateObject2$3 || (_templateObject2$3 = _taggedTemplateLiteralLoose(["\n overflow-y: scroll;\n overflow-y: overlay;\n
|
|
11852
|
+
var OverflowContainer = styled__default.div(_templateObject2$3 || (_templateObject2$3 = _taggedTemplateLiteralLoose(["\n overflow-y: scroll;\n overflow-y: overlay;\n width: 100%;\n\n max-height: ", ";\n\n scrollbar-color: ", ";\n scrollbar-width: auto;\n\n ::-webkit-scrollbar {\n width: 7px;\n }\n ::-webkit-scrollbar-thumb {\n background: ", ";\n }\n ::-webkit-scrollbar-track {\n background: ", ";\n }\n\n ", ";\n"])), function (_ref3) {
|
|
11821
11853
|
var height = _ref3.height;
|
|
11822
|
-
|
|
11823
|
-
return styled.css(_templateObject3$3 || (_templateObject3$3 = _taggedTemplateLiteralLoose(["\n height: ", ";\n "])), height);
|
|
11854
|
+
return height || '100%';
|
|
11824
11855
|
}, function (_ref4) {
|
|
11825
11856
|
var theme = _ref4.theme;
|
|
11826
11857
|
return theme.colors.grey + " " + theme.colors.white;
|
|
@@ -11834,14 +11865,15 @@ var OverflowContainer = styled__default.div(_templateObject2$3 || (_templateObje
|
|
|
11834
11865
|
var spacing = _ref7.spacing,
|
|
11835
11866
|
theme = _ref7.theme;
|
|
11836
11867
|
var value = getSpacings(spacing || '0', '0').split(' ');
|
|
11837
|
-
return styled.css(
|
|
11868
|
+
return styled.css(_templateObject3$3 || (_templateObject3$3 = _taggedTemplateLiteralLoose(["\n padding: ", " calc(", " * 1.5) ", "\n ", ";\n "])), value[0], theme.spacings.s1, value[2], value[3]);
|
|
11838
11869
|
});
|
|
11839
|
-
var RelativeContainer = styled__default.div(
|
|
11870
|
+
var RelativeContainer = styled__default.div(_templateObject4$3 || (_templateObject4$3 = _taggedTemplateLiteralLoose(["\n position: relative;\n flex: 1;\n overflow: hidden;\n display: flex;\n flex-direction: column;\n"])));
|
|
11840
11871
|
|
|
11841
11872
|
var ScrollContainer = function ScrollContainer(props) {
|
|
11842
11873
|
var before = props.before,
|
|
11843
11874
|
after = props.after,
|
|
11844
|
-
loading = props.loading
|
|
11875
|
+
loading = props.loading,
|
|
11876
|
+
inner = props.inner;
|
|
11845
11877
|
|
|
11846
11878
|
var onScrollEnd = props.onScrollEnd || function () {};
|
|
11847
11879
|
|
|
@@ -11868,38 +11900,44 @@ var ScrollContainer = function ScrollContainer(props) {
|
|
|
11868
11900
|
var _onScroll = props.onScroll || function () {};
|
|
11869
11901
|
|
|
11870
11902
|
var htmlProps = filterObject(props, ['onScrollEnd', 'before', 'after', 'loading']);
|
|
11871
|
-
return React__default.createElement(Container$1, null, before, React__default.createElement(RelativeContainer, null, React__default.createElement(OverflowContainer, Object.assign({}, htmlProps, {
|
|
11903
|
+
return React__default.createElement(Container$1, null, before, React__default.createElement(RelativeContainer, null, inner || React__default.createElement(OverflowContainer, Object.assign({}, htmlProps, {
|
|
11872
11904
|
onScroll: function onScroll(event) {
|
|
11873
11905
|
_onScroll(event);
|
|
11874
11906
|
|
|
11875
11907
|
_onScroll2(event);
|
|
11876
11908
|
}
|
|
11877
11909
|
})), loading && React__default.createElement(Loader, {
|
|
11878
|
-
filled: true
|
|
11910
|
+
filled: true,
|
|
11911
|
+
size: '43px',
|
|
11912
|
+
borderSize: '2px'
|
|
11879
11913
|
})), after);
|
|
11880
11914
|
};
|
|
11881
11915
|
|
|
11882
|
-
var _templateObject$6, _templateObject2$4, _templateObject3$4, _templateObject4$4, _templateObject5$
|
|
11916
|
+
var _templateObject$6, _templateObject2$4, _templateObject3$4, _templateObject4$4, _templateObject5$3, _templateObject6$1, _templateObject7$1, _templateObject8$1, _templateObject9$1, _templateObject10$1, _templateObject11, _templateObject12, _templateObject13, _templateObject14;
|
|
11883
11917
|
var positions = {
|
|
11884
11918
|
'top right': function topRight(_ref) {
|
|
11885
|
-
var
|
|
11886
|
-
|
|
11919
|
+
var bottom = _ref.bottom,
|
|
11920
|
+
left = _ref.left;
|
|
11921
|
+
return styled.css(_templateObject$6 || (_templateObject$6 = _taggedTemplateLiteralLoose(["\n top: ", ";\n left: ", ";\n "])), bottom ? "calc(100% - " + bottom + ")" : 0, left || '100%');
|
|
11887
11922
|
},
|
|
11888
11923
|
'top left': function topLeft(_ref2) {
|
|
11889
|
-
var
|
|
11890
|
-
|
|
11924
|
+
var bottom = _ref2.bottom,
|
|
11925
|
+
right = _ref2.right;
|
|
11926
|
+
return styled.css(_templateObject2$4 || (_templateObject2$4 = _taggedTemplateLiteralLoose(["\n top: ", ";\n right: ", ";\n "])), bottom ? "calc(100% - " + bottom + ")" : 0, right || '100%');
|
|
11891
11927
|
},
|
|
11892
11928
|
'bottom right': function bottomRight(_ref3) {
|
|
11893
|
-
var
|
|
11894
|
-
|
|
11929
|
+
var top = _ref3.top,
|
|
11930
|
+
left = _ref3.left;
|
|
11931
|
+
return styled.css(_templateObject3$4 || (_templateObject3$4 = _taggedTemplateLiteralLoose(["\n bottom: ", ";\n left: ", ";\n "])), top ? "calc(100% - " + top + ")" : 0, left || '100%');
|
|
11895
11932
|
},
|
|
11896
11933
|
'bottom left': function bottomLeft(_ref4) {
|
|
11897
|
-
var
|
|
11898
|
-
|
|
11934
|
+
var top = _ref4.top,
|
|
11935
|
+
right = _ref4.right;
|
|
11936
|
+
return styled.css(_templateObject4$4 || (_templateObject4$4 = _taggedTemplateLiteralLoose(["\n bottom: ", ";\n right: ", ";\n "])), top ? "calc(100% - " + top + ")" : 0, right || '100%');
|
|
11899
11937
|
},
|
|
11900
11938
|
'right top': function rightTop(_ref5) {
|
|
11901
11939
|
var bottom = _ref5.bottom;
|
|
11902
|
-
return styled.css(_templateObject5$
|
|
11940
|
+
return styled.css(_templateObject5$3 || (_templateObject5$3 = _taggedTemplateLiteralLoose(["\n bottom: ", ";\n right: 0;\n "])), bottom || '100%');
|
|
11903
11941
|
},
|
|
11904
11942
|
'right bottom': function rightBottom(_ref6) {
|
|
11905
11943
|
var top = _ref6.top;
|
|
@@ -11952,8 +11990,7 @@ var Container$2 = styled__default.div(_templateObject9$1 || (_templateObject9$1
|
|
|
11952
11990
|
return styled.css(_templateObject14 || (_templateObject14 = _taggedTemplateLiteralLoose(["\n visibility: hidden;\n "])));
|
|
11953
11991
|
});
|
|
11954
11992
|
|
|
11955
|
-
var AbsoluteContainer = function
|
|
11956
|
-
var disableAutoPosition = props.disableAutoPosition || props.position;
|
|
11993
|
+
var AbsoluteContainer = React__default.forwardRef(function (props, fowardedRef) {
|
|
11957
11994
|
var center = props.center || {
|
|
11958
11995
|
x: 50,
|
|
11959
11996
|
y: 75
|
|
@@ -11973,8 +12010,12 @@ var AbsoluteContainer = function AbsoluteContainer(props) {
|
|
|
11973
12010
|
firstRender = _useState3[0],
|
|
11974
12011
|
setFirstRender = _useState3[1];
|
|
11975
12012
|
|
|
12013
|
+
React.useImperativeHandle(fowardedRef, function () {
|
|
12014
|
+
return ref;
|
|
12015
|
+
});
|
|
11976
12016
|
React.useEffect(function () {
|
|
11977
|
-
|
|
12017
|
+
setFirstRender(false);
|
|
12018
|
+
if (props.position || !ref) return;
|
|
11978
12019
|
var width = window.innerWidth;
|
|
11979
12020
|
var height = window.innerHeight;
|
|
11980
12021
|
|
|
@@ -11984,21 +12025,32 @@ var AbsoluteContainer = function AbsoluteContainer(props) {
|
|
|
11984
12025
|
|
|
11985
12026
|
var x = left * 100 / width;
|
|
11986
12027
|
var y = top * 100 / height;
|
|
11987
|
-
|
|
11988
|
-
|
|
11989
|
-
|
|
11990
|
-
|
|
11991
|
-
|
|
12028
|
+
|
|
12029
|
+
if (axis === 'y') {
|
|
12030
|
+
var xDirection = x > center.x ? 'left' : 'right';
|
|
12031
|
+
var yDirection = y > center.y ? 'top' : 'bottom';
|
|
12032
|
+
var newPosition = xDirection + " " + yDirection;
|
|
12033
|
+
setPosition(newPosition);
|
|
12034
|
+
} else {
|
|
12035
|
+
var _xDirection = x > center.x ? 'left' : 'right';
|
|
12036
|
+
|
|
12037
|
+
var _yDirection = y > center.y ? 'bottom' : 'top';
|
|
12038
|
+
|
|
12039
|
+
var _newPosition = _yDirection + " " + _xDirection;
|
|
12040
|
+
|
|
12041
|
+
setPosition(_newPosition);
|
|
12042
|
+
}
|
|
11992
12043
|
}, [ref]);
|
|
11993
|
-
var htmlProps = filterObject(props, ['center', 'position', '
|
|
12044
|
+
var htmlProps = filterObject(props, ['center', 'position', 'children']);
|
|
11994
12045
|
return React__default.createElement(Container$2, Object.assign({}, htmlProps, {
|
|
11995
12046
|
position: position,
|
|
11996
12047
|
ref: setRef,
|
|
11997
12048
|
firstRender: firstRender
|
|
11998
12049
|
}), React__default.createElement("div", null, props.children));
|
|
11999
|
-
};
|
|
12050
|
+
});
|
|
12051
|
+
AbsoluteContainer.displayName = 'AbsoluteContainer';
|
|
12000
12052
|
|
|
12001
|
-
var _templateObject$7, _templateObject2$5, _templateObject3$5, _templateObject4$5, _templateObject5$
|
|
12053
|
+
var _templateObject$7, _templateObject2$5, _templateObject3$5, _templateObject4$5, _templateObject5$4, _templateObject6$2, _templateObject7$2, _templateObject8$2, _templateObject9$2;
|
|
12002
12054
|
var Option = styled__default.div(_templateObject$7 || (_templateObject$7 = _taggedTemplateLiteralLoose(["\n ", ";\n line-height: ", ";\n display: flex;\n\n > :nth-child(1) {\n flex: 1;\n }\n\n ", ";\n\n :hover {\n background-color: ", ";\n }\n"])), function (_ref) {
|
|
12003
12055
|
var theme = _ref.theme;
|
|
12004
12056
|
return theme.useTypography('p');
|
|
@@ -12017,29 +12069,36 @@ var Option = styled__default.div(_templateObject$7 || (_templateObject$7 = _tagg
|
|
|
12017
12069
|
var theme = _ref4.theme;
|
|
12018
12070
|
return theme.colors.iceWhite;
|
|
12019
12071
|
});
|
|
12020
|
-
var Container$3 = styled__default(AbsoluteContainer)(_templateObject4$5 || (_templateObject4$5 = _taggedTemplateLiteralLoose(["\n > div {\n > div:nth-child(1) {\n background-color: ", ";\n border-radius: 4px;\n }\n\n ", "\n\n ", "\n }\n"])), function (_ref5) {
|
|
12072
|
+
var Container$3 = styled__default(AbsoluteContainer)(_templateObject4$5 || (_templateObject4$5 = _taggedTemplateLiteralLoose(["\n display: flex;\n\n > div {\n display: flex;\n width: 100%;\n\n > div:nth-child(1) {\n background-color: ", ";\n border-radius: 4px;\n\n ", "\n }\n\n ", "\n\n ", "\n }\n"])), function (_ref5) {
|
|
12021
12073
|
var theme = _ref5.theme;
|
|
12022
12074
|
return theme.colors.white;
|
|
12075
|
+
}, function (props) {
|
|
12076
|
+
if (!props.containerSpacing) return;
|
|
12077
|
+
var spacing = getSpacings(props.containerSpacing);
|
|
12078
|
+
var tmp = spacing.split(' ');
|
|
12079
|
+
tmp[1] = "calc(" + props.theme.spacings.s1 + " / 2)";
|
|
12080
|
+
spacing = tmp.join(' ');
|
|
12081
|
+
return styled.css(_templateObject5$4 || (_templateObject5$4 = _taggedTemplateLiteralLoose(["\n padding: ", ";\n "])), spacing);
|
|
12023
12082
|
}, function (_ref6) {
|
|
12024
12083
|
var bordered = _ref6.bordered;
|
|
12025
12084
|
if (!bordered) return;
|
|
12026
|
-
return styled.css(
|
|
12085
|
+
return styled.css(_templateObject6$2 || (_templateObject6$2 = _taggedTemplateLiteralLoose(["\n ", " {\n :not(:last-child) {\n border-bottom: 1px solid\n ", ";\n }\n }\n "])), Option, function (_ref7) {
|
|
12027
12086
|
var theme = _ref7.theme;
|
|
12028
12087
|
return theme.getColor('greyishBlue', 10);
|
|
12029
12088
|
});
|
|
12030
12089
|
}, function (props) {
|
|
12031
12090
|
var theme = props.theme;
|
|
12032
12091
|
|
|
12033
|
-
if (!props.
|
|
12034
|
-
return styled.css(
|
|
12092
|
+
if (!props.itemSpacing) {
|
|
12093
|
+
return styled.css(_templateObject7$2 || (_templateObject7$2 = _taggedTemplateLiteralLoose(["\n ", " {\n margin: ", " 0px ", "\n ", ";\n }\n "])), Delimiter, theme.spacings.s1, theme.spacings.s1, theme.spacings.s1);
|
|
12035
12094
|
}
|
|
12036
12095
|
|
|
12037
|
-
var spacing = getSpacings(props.
|
|
12096
|
+
var spacing = getSpacings(props.itemSpacing, {
|
|
12038
12097
|
right: '0'
|
|
12039
12098
|
});
|
|
12040
|
-
return styled.css(
|
|
12099
|
+
return styled.css(_templateObject8$2 || (_templateObject8$2 = _taggedTemplateLiteralLoose(["\n ", " {\n padding: ", ";\n }\n ", " {\n margin: ", ";\n }\n "])), Option, spacing, Delimiter, spacing);
|
|
12041
12100
|
});
|
|
12042
|
-
var Delimiter = styled__default.div(
|
|
12101
|
+
var Delimiter = styled__default.div(_templateObject9$2 || (_templateObject9$2 = _taggedTemplateLiteralLoose(["\n ", ";\n\n border-bottom: 1px solid ", ";\n margin: 14px;\n width: calc(100% - 28px);\n"])), function (_ref8) {
|
|
12043
12102
|
var theme = _ref8.theme;
|
|
12044
12103
|
return theme.useTypography('p');
|
|
12045
12104
|
}, function (_ref9) {
|
|
@@ -12047,27 +12106,19 @@ var Delimiter = styled__default.div(_templateObject8$2 || (_templateObject8$2 =
|
|
|
12047
12106
|
return theme.colors.greyishBlue;
|
|
12048
12107
|
});
|
|
12049
12108
|
|
|
12050
|
-
var
|
|
12109
|
+
var MenuComponent = function MenuComponent(props, ref) {
|
|
12051
12110
|
var _props = _extends({}, props),
|
|
12052
12111
|
open = _props.open,
|
|
12053
12112
|
close = _props.close,
|
|
12054
12113
|
options = _props.options,
|
|
12055
|
-
width = _props.width,
|
|
12056
|
-
height = _props.height,
|
|
12057
|
-
maxWidth = _props.maxWidth,
|
|
12058
|
-
maxHeight = _props.maxHeight,
|
|
12059
|
-
bordered = _props.bordered,
|
|
12060
|
-
spacing = _props.spacing,
|
|
12061
|
-
position = _props.position,
|
|
12062
|
-
disableAutoPosition = _props.disableAutoPosition,
|
|
12063
|
-
axis = _props.axis,
|
|
12064
|
-
references = _props.references,
|
|
12065
12114
|
onScrollEnd = _props.onScrollEnd,
|
|
12066
12115
|
before = _props.before,
|
|
12067
12116
|
after = _props.after,
|
|
12068
12117
|
scrollHeight = _props.scrollHeight,
|
|
12069
12118
|
scrollSpacing = _props.scrollSpacing,
|
|
12070
|
-
|
|
12119
|
+
children = _props.children,
|
|
12120
|
+
loading = _props.loading,
|
|
12121
|
+
innerContent = _props.innerContent;
|
|
12071
12122
|
|
|
12072
12123
|
var _useState = React.useState(-1),
|
|
12073
12124
|
activeOption = _useState[0],
|
|
@@ -12098,22 +12149,17 @@ var Menu = function Menu(props) {
|
|
|
12098
12149
|
}));
|
|
12099
12150
|
};
|
|
12100
12151
|
|
|
12152
|
+
var absoluteContainerProps = filterObject(props, ['scrollSpacing', 'onScrollEnd', 'before', 'after', 'scrollHeight', 'open', 'close', 'options', 'loading', 'children'], {
|
|
12153
|
+
itemSpacing: 's1'
|
|
12154
|
+
});
|
|
12101
12155
|
if (!open) return React__default.createElement(React__default.Fragment, null);
|
|
12102
|
-
return React__default.createElement(Container$3, {
|
|
12103
|
-
|
|
12104
|
-
|
|
12105
|
-
maxWidth: maxWidth,
|
|
12106
|
-
maxHeight: maxHeight,
|
|
12107
|
-
position: position,
|
|
12108
|
-
bordered: bordered,
|
|
12109
|
-
spacing: spacing,
|
|
12110
|
-
disableAutoPosition: disableAutoPosition,
|
|
12111
|
-
axis: axis,
|
|
12112
|
-
references: references
|
|
12113
|
-
}, React__default.createElement(ScrollContainer, {
|
|
12156
|
+
return React__default.createElement(Container$3, Object.assign({}, absoluteContainerProps, {
|
|
12157
|
+
ref: ref
|
|
12158
|
+
}), React__default.createElement(React__default.Fragment, null, React__default.createElement(ScrollContainer, {
|
|
12114
12159
|
onScrollEnd: onScrollEnd,
|
|
12115
12160
|
before: before,
|
|
12116
12161
|
after: after,
|
|
12162
|
+
inner: innerContent,
|
|
12117
12163
|
height: scrollHeight,
|
|
12118
12164
|
spacing: scrollSpacing,
|
|
12119
12165
|
loading: loading
|
|
@@ -12121,7 +12167,8 @@ var Menu = function Menu(props) {
|
|
|
12121
12167
|
var _option = _extends({}, option),
|
|
12122
12168
|
delimiter = _option.delimiter,
|
|
12123
12169
|
keepOpen = _option.keepOpen,
|
|
12124
|
-
submenu = _option.submenu
|
|
12170
|
+
submenu = _option.submenu,
|
|
12171
|
+
caret = _option.caret;
|
|
12125
12172
|
|
|
12126
12173
|
var label = isString(option.label) ? {
|
|
12127
12174
|
text: option.label,
|
|
@@ -12181,15 +12228,17 @@ var Menu = function Menu(props) {
|
|
|
12181
12228
|
}, React__default.createElement(Option, {
|
|
12182
12229
|
onClick: onClick,
|
|
12183
12230
|
disabled: disabled
|
|
12184
|
-
}, isString(label.element) ? React__default.createElement(EllipsisContainer$1, null, label.element) : label.element, submenu
|
|
12231
|
+
}, isString(label.element) ? React__default.createElement(EllipsisContainer$1, null, label.element) : label.element, caret || submenu ? React__default.createElement(Icon, {
|
|
12185
12232
|
type: 'semantic',
|
|
12186
12233
|
icon: 'caret right',
|
|
12187
12234
|
width: '14px'
|
|
12188
|
-
})), delimiter && React__default.createElement(Delimiter, null));
|
|
12189
|
-
})), getSubmenu(activeOption));
|
|
12235
|
+
}) : null), delimiter && React__default.createElement(Delimiter, null));
|
|
12236
|
+
})), children, getSubmenu(activeOption)));
|
|
12190
12237
|
};
|
|
12191
12238
|
|
|
12192
|
-
var
|
|
12239
|
+
var Menu = React__default.forwardRef(MenuComponent);
|
|
12240
|
+
|
|
12241
|
+
var _templateObject$8, _templateObject2$6, _templateObject3$6, _templateObject4$6, _templateObject5$5, _templateObject6$3;
|
|
12193
12242
|
var Container$4 = styled__default.div(_templateObject$8 || (_templateObject$8 = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n div {\n border-radius: 50%;\n width: ", ";\n height: ", ";\n\n ", "\n\n ", "\n ", "\n ", "\n ", "\n }\n\n span {\n display: inline-block;\n margin-left: 8px;\n color: ", ";\n }\n"])), function (_ref) {
|
|
12194
12243
|
var props = _ref.props;
|
|
12195
12244
|
return props.size === 'medium' ? '15px' : '6px';
|
|
@@ -12216,7 +12265,7 @@ var Container$4 = styled__default.div(_templateObject$8 || (_templateObject$8 =
|
|
|
12216
12265
|
});
|
|
12217
12266
|
}, function (_ref9) {
|
|
12218
12267
|
var props = _ref9.props;
|
|
12219
|
-
return props.type === 'success' && styled.css(_templateObject5$
|
|
12268
|
+
return props.type === 'success' && styled.css(_templateObject5$5 || (_templateObject5$5 = _taggedTemplateLiteralLoose(["\n background-color: ", ";\n "])), function (_ref10) {
|
|
12220
12269
|
var theme = _ref10.theme;
|
|
12221
12270
|
return theme.colors.green;
|
|
12222
12271
|
});
|
|
@@ -12236,7 +12285,7 @@ var Indicator = function Indicator(props) {
|
|
|
12236
12285
|
}, React__default.createElement("div", null), React__default.createElement("span", null, " ", props.description, " "));
|
|
12237
12286
|
};
|
|
12238
12287
|
|
|
12239
|
-
var _templateObject$9, _templateObject2$7, _templateObject3$7, _templateObject4$7, _templateObject5$
|
|
12288
|
+
var _templateObject$9, _templateObject2$7, _templateObject3$7, _templateObject4$7, _templateObject5$6, _templateObject6$4, _templateObject7$3;
|
|
12240
12289
|
var Container$5 = styled__default.div(_templateObject$9 || (_templateObject$9 = _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"])));
|
|
12241
12290
|
var Progress = styled__default.div(_templateObject2$7 || (_templateObject2$7 = _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) {
|
|
12242
12291
|
return props.value + "%";
|
|
@@ -12251,7 +12300,7 @@ var Progress = styled__default.div(_templateObject2$7 || (_templateObject2$7 = _
|
|
|
12251
12300
|
return theme.colors.blue;
|
|
12252
12301
|
});
|
|
12253
12302
|
}, function (props) {
|
|
12254
|
-
return props.type === 'danger' && styled.css(_templateObject5$
|
|
12303
|
+
return props.type === 'danger' && styled.css(_templateObject5$6 || (_templateObject5$6 = _taggedTemplateLiteralLoose(["\n background-color: ", ";\n "])), function (_ref3) {
|
|
12255
12304
|
var theme = _ref3.theme;
|
|
12256
12305
|
return theme.colors.warningRed;
|
|
12257
12306
|
});
|
|
@@ -12306,7 +12355,7 @@ function SvgClose(props) {
|
|
|
12306
12355
|
})));
|
|
12307
12356
|
}
|
|
12308
12357
|
|
|
12309
|
-
var _templateObject$a, _templateObject2$8, _templateObject3$8, _templateObject4$8, _templateObject5$
|
|
12358
|
+
var _templateObject$a, _templateObject2$8, _templateObject3$8, _templateObject4$8, _templateObject5$7, _templateObject6$5;
|
|
12310
12359
|
var Container$6 = styled__default.div(_templateObject$a || (_templateObject$a = _taggedTemplateLiteralLoose(["\n display: block;\n border-bottom-style: solid;\n\n ", "\n"])), function (_ref) {
|
|
12311
12360
|
var theme = _ref.theme,
|
|
12312
12361
|
internal = _ref.internal;
|
|
@@ -12317,7 +12366,7 @@ var Tabs = styled__default.ul(_templateObject3$8 || (_templateObject3$8 = _tagge
|
|
|
12317
12366
|
internal = _ref2.internal;
|
|
12318
12367
|
return styled.css(_templateObject4$8 || (_templateObject4$8 = _taggedTemplateLiteralLoose(["\n height: ", ";\n box-shadow: 0 0 10px 0 ", ";\n "])), internal ? '41px' : '49px', theme.getColor('black', 10));
|
|
12319
12368
|
});
|
|
12320
|
-
var Tab = styled__default.li(_templateObject5$
|
|
12369
|
+
var Tab = styled__default.li(_templateObject5$7 || (_templateObject5$7 = _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) {
|
|
12321
12370
|
var theme = _ref3.theme,
|
|
12322
12371
|
active = _ref3.active;
|
|
12323
12372
|
return styled.css(_templateObject6$5 || (_templateObject6$5 = _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);
|
|
@@ -12409,7 +12458,7 @@ var getMask = function getMask(mask) {
|
|
|
12409
12458
|
};
|
|
12410
12459
|
};
|
|
12411
12460
|
|
|
12412
|
-
var _templateObject$b, _templateObject2$9, _templateObject3$9, _templateObject4$9, _templateObject5$
|
|
12461
|
+
var _templateObject$b, _templateObject2$9, _templateObject3$9, _templateObject4$9, _templateObject5$8, _templateObject6$6, _templateObject7$4, _templateObject8$3, _templateObject9$3, _templateObject10$2, _templateObject11$1, _templateObject12$1;
|
|
12413
12462
|
var IconContainer = styled__default.button(_templateObject$b || (_templateObject$b = _taggedTemplateLiteralLoose(["\n position: absolute;\n bottom: calc(", " + 1px);\n display: flex;\n justify-content: center;\n align-items: center;\n height: 17px;\n\n background-color: transparent;\n border: none;\n box-shadow: none;\n padding: 0;\n\n ", "\n"])), function (_ref) {
|
|
12414
12463
|
var theme = _ref.theme;
|
|
12415
12464
|
return theme.spacings.s2;
|
|
@@ -12440,7 +12489,7 @@ var Input = styled__default.input(_templateObject3$9 || (_templateObject3$9 = _t
|
|
|
12440
12489
|
});
|
|
12441
12490
|
}
|
|
12442
12491
|
|
|
12443
|
-
return styled.css(_templateObject5$
|
|
12492
|
+
return styled.css(_templateObject5$8 || (_templateObject5$8 = _taggedTemplateLiteralLoose(["\n opacity: 0.5;\n font-size: 14px;\n letter-spacing: 0px;\n "])));
|
|
12444
12493
|
}, function (_ref8) {
|
|
12445
12494
|
var theme = _ref8.theme;
|
|
12446
12495
|
return theme.spacings.s2 + " " + theme.spacings.s3;
|
|
@@ -12475,7 +12524,7 @@ var Label = styled__default.label(_templateObject8$3 || (_templateObject8$3 = _t
|
|
|
12475
12524
|
}, function (_ref16) {
|
|
12476
12525
|
var disabled = _ref16.disabled;
|
|
12477
12526
|
if (!disabled) return;
|
|
12478
|
-
return styled.css(_templateObject9$
|
|
12527
|
+
return styled.css(_templateObject9$3 || (_templateObject9$3 = _taggedTemplateLiteralLoose(["\n opacity: 0.5;\n "])));
|
|
12479
12528
|
}, function (_ref17) {
|
|
12480
12529
|
var theme = _ref17.theme;
|
|
12481
12530
|
return theme.spacings.s1;
|
|
@@ -12653,7 +12702,7 @@ var Input$1 = React__default.forwardRef(function (props, ref) {
|
|
|
12653
12702
|
});
|
|
12654
12703
|
Input$1.displayName = 'Input';
|
|
12655
12704
|
|
|
12656
|
-
var _templateObject$c, _templateObject2$a, _templateObject3$a, _templateObject4$a, _templateObject5$
|
|
12705
|
+
var _templateObject$c, _templateObject2$a, _templateObject3$a, _templateObject4$a, _templateObject5$9, _templateObject6$7, _templateObject7$5;
|
|
12657
12706
|
var width = '17px';
|
|
12658
12707
|
var Checkmark = styled__default.span(_templateObject$c || (_templateObject$c = _taggedTemplateLiteralLoose(["\n position: absolute;\n top: 0px;\n left: 0;\n height: ", ";\n width: ", ";\n background-color: ", ";\n\n border-style: solid;\n border-color: ", ";\n border-width: 1px;\n border-radius: 4px;\n\n transition-property: border-color;\n transition-duration: 0.25s;\n transition-timing-function: cubic-bezier(0.68, -0.55, 0.27, 1.55);\n\n :after {\n content: '';\n position: absolute;\n\n left: 50%;\n top: 50%;\n height: 0;\n width: 0;\n\n border-style: solid;\n border-color: ", ";\n border-width: 0;\n transform: rotate(45deg);\n\n transition-property: width height border-width top left;\n transition-duration: 0.25s;\n transition-timing-function: cubic-bezier(0.68, -0.55, 0.27, 1.55);\n }\n"])), width, width, function (_ref) {
|
|
12659
12708
|
var theme = _ref.theme;
|
|
@@ -12719,7 +12768,7 @@ var Label$1 = styled__default.label(_templateObject2$a || (_templateObject2$a =
|
|
|
12719
12768
|
return styled.css(_templateObject4$a || (_templateObject4$a = _taggedTemplateLiteralLoose(["\n cursor: pointer;\n "])));
|
|
12720
12769
|
}
|
|
12721
12770
|
|
|
12722
|
-
return styled.css(_templateObject5$
|
|
12771
|
+
return styled.css(_templateObject5$9 || (_templateObject5$9 = _taggedTemplateLiteralLoose(["\n opacity: 0.5;\n "])));
|
|
12723
12772
|
}, width, function (_ref7) {
|
|
12724
12773
|
var theme = _ref7.theme;
|
|
12725
12774
|
return theme.spacings.s1;
|
|
@@ -12897,7 +12946,7 @@ var Time = React__default.forwardRef(function (props, ref) {
|
|
|
12897
12946
|
});
|
|
12898
12947
|
Time.displayName = 'Time';
|
|
12899
12948
|
|
|
12900
|
-
var _templateObject$d, _templateObject2$b, _templateObject3$b, _templateObject4$b, _templateObject5$
|
|
12949
|
+
var _templateObject$d, _templateObject2$b, _templateObject3$b, _templateObject4$b, _templateObject5$a, _templateObject6$8, _templateObject7$6, _templateObject8$4, _templateObject9$4, _templateObject10$3, _templateObject11$2, _templateObject12$2, _templateObject13$1;
|
|
12901
12950
|
var Container$7 = styled__default.div(_templateObject$d || (_templateObject$d = _taggedTemplateLiteralLoose(["\n display: inline-block;\n background-color: ", ";\n padding: ", ";\n\n > div:nth-child(1) {\n border: 1px solid ", ";\n margin-bottom: ", ";\n }\n"])), function (_ref) {
|
|
12902
12951
|
var theme = _ref.theme;
|
|
12903
12952
|
return theme.colors.white;
|
|
@@ -12920,7 +12969,7 @@ var MonthContainer = styled__default.div(_templateObject4$b || (_templateObject4
|
|
|
12920
12969
|
var theme = _ref6.theme;
|
|
12921
12970
|
return theme.spacings.s1;
|
|
12922
12971
|
});
|
|
12923
|
-
var NavBtn = styled__default.button(_templateObject5$
|
|
12972
|
+
var NavBtn = styled__default.button(_templateObject5$a || (_templateObject5$a = _taggedTemplateLiteralLoose(["\n ", "\n line-height: 14px;\n width: 32px;\n height: 32px;\n box-shadow: none;\n border: 0.5px solid transparent;\n background-color: transparent;\n cursor: pointer;\n border: none;\n\n padding: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n\n :disabled {\n visibility: hidden;\n }\n"])), function (_ref7) {
|
|
12924
12973
|
var theme = _ref7.theme;
|
|
12925
12974
|
return theme.useTypography('p');
|
|
12926
12975
|
});
|
|
@@ -12952,7 +13001,7 @@ var DayContainer = styled__default.button(_templateObject8$4 || (_templateObject
|
|
|
12952
13001
|
color = _ref15.color;
|
|
12953
13002
|
|
|
12954
13003
|
if (color === 'grey') {
|
|
12955
|
-
return styled.css(_templateObject9$
|
|
13004
|
+
return styled.css(_templateObject9$4 || (_templateObject9$4 = _taggedTemplateLiteralLoose(["\n background-color: ", ";\n "])), theme.getColor('greyishBlue', 10));
|
|
12956
13005
|
} else if (color === 'blue') {
|
|
12957
13006
|
return styled.css(_templateObject10$3 || (_templateObject10$3 = _taggedTemplateLiteralLoose(["\n background-color: ", ";\n\n :not(:disabled) {\n background-color: ", ";\n }\n "])), theme.colors.white, theme.getColor('blue', 30));
|
|
12958
13007
|
}
|
|
@@ -13419,6 +13468,9 @@ var Header$1 = function Header() {
|
|
|
13419
13468
|
setSearched = _context$search[1],
|
|
13420
13469
|
loading = context.loading,
|
|
13421
13470
|
options = context.options;
|
|
13471
|
+
React.useEffect(function () {
|
|
13472
|
+
setSearch(searched);
|
|
13473
|
+
}, [searched]);
|
|
13422
13474
|
|
|
13423
13475
|
var onClick = function onClick() {
|
|
13424
13476
|
setChecked(function (prev) {
|
|
@@ -13544,7 +13596,6 @@ var getOptions = function getOptions(props, options, checked, setChecked) {
|
|
|
13544
13596
|
|
|
13545
13597
|
var Select = React__default.forwardRef(function (props, ref) {
|
|
13546
13598
|
var position = props.position,
|
|
13547
|
-
disableAutoPosition = props.disableAutoPosition,
|
|
13548
13599
|
loader = props.loader,
|
|
13549
13600
|
type = props.type;
|
|
13550
13601
|
|
|
@@ -13585,7 +13636,7 @@ var Select = React__default.forwardRef(function (props, ref) {
|
|
|
13585
13636
|
};
|
|
13586
13637
|
|
|
13587
13638
|
var parsedOptions = getOptions(props, options, checked, setChecked);
|
|
13588
|
-
var inputProps = filterObject(props, ['type', 'onScrollEnd', 'position', '
|
|
13639
|
+
var inputProps = filterObject(props, ['type', 'onScrollEnd', 'position', 'value']);
|
|
13589
13640
|
|
|
13590
13641
|
if (props.type === 'select-multiple') {
|
|
13591
13642
|
if (props.value.length > 0) {
|
|
@@ -13646,8 +13697,9 @@ var Select = React__default.forwardRef(function (props, ref) {
|
|
|
13646
13697
|
};
|
|
13647
13698
|
}, [onSubmit]);
|
|
13648
13699
|
React.useEffect(function () {
|
|
13649
|
-
if (
|
|
13650
|
-
|
|
13700
|
+
if (open) return;
|
|
13701
|
+
setSearch('');
|
|
13702
|
+
if (Array.isArray(props.value)) setChecked([].concat(props.value));
|
|
13651
13703
|
}, [props.value, open]);
|
|
13652
13704
|
return React__default.createElement(Provider.Provider, {
|
|
13653
13705
|
value: {
|
|
@@ -13689,16 +13741,19 @@ var Select = React__default.forwardRef(function (props, ref) {
|
|
|
13689
13741
|
onScrollEnd: onScrollEnd,
|
|
13690
13742
|
width: '100%',
|
|
13691
13743
|
bordered: true,
|
|
13692
|
-
|
|
13744
|
+
itemSpacing: type === 'select-multiple' ? undefined : 's3',
|
|
13693
13745
|
position: position,
|
|
13694
|
-
disableAutoPosition: disableAutoPosition,
|
|
13695
13746
|
references: {
|
|
13696
13747
|
bottom: '35px'
|
|
13697
13748
|
},
|
|
13698
13749
|
before: React__default.createElement(Header$1, null),
|
|
13699
13750
|
after: React__default.createElement(Footer$1, null),
|
|
13700
13751
|
scrollHeight: props.search ? '135px' : '165px',
|
|
13701
|
-
loading: loading
|
|
13752
|
+
loading: loading,
|
|
13753
|
+
center: props.center || {
|
|
13754
|
+
x: 50,
|
|
13755
|
+
y: 50
|
|
13756
|
+
}
|
|
13702
13757
|
})));
|
|
13703
13758
|
});
|
|
13704
13759
|
Select.displayName = 'Select';
|
|
@@ -14098,12 +14153,12 @@ var Phone = React__default.forwardRef(function (props, ref) {
|
|
|
14098
14153
|
width: '100%',
|
|
14099
14154
|
maxHeight: '165px',
|
|
14100
14155
|
bordered: true,
|
|
14101
|
-
|
|
14156
|
+
itemSpacing: 's3'
|
|
14102
14157
|
}));
|
|
14103
14158
|
});
|
|
14104
14159
|
Phone.displayName = 'Phone';
|
|
14105
14160
|
|
|
14106
|
-
var _templateObject$i, _templateObject2$f, _templateObject3$e, _templateObject4$d, _templateObject5$
|
|
14161
|
+
var _templateObject$i, _templateObject2$f, _templateObject3$e, _templateObject4$d, _templateObject5$b, _templateObject6$9;
|
|
14107
14162
|
var RelativeContainer$4 = styled__default.div(_templateObject$i || (_templateObject$i = _taggedTemplateLiteralLoose(["\n position: relative;\n\n input {\n color: transparent;\n }\n"])));
|
|
14108
14163
|
var Container$8 = styled__default.div(_templateObject2$f || (_templateObject2$f = _taggedTemplateLiteralLoose(["\n position: absolute;\n bottom: 1px;\n left: 1px;\n width: calc(100% - 2px - ", ");\n height: 33px;\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: ", ";\n border-radius: 4px;\n\n ", "\n\n ", "\n"])), function (_ref) {
|
|
14109
14164
|
var iconWidth = _ref.iconWidth,
|
|
@@ -14122,7 +14177,7 @@ var Container$8 = styled__default.div(_templateObject2$f || (_templateObject2$f
|
|
|
14122
14177
|
if (!disabled) return;
|
|
14123
14178
|
return styled.css(_templateObject4$d || (_templateObject4$d = _taggedTemplateLiteralLoose(["\n opacity: 0.5;\n "])));
|
|
14124
14179
|
});
|
|
14125
|
-
var Button$3 = styled__default.button(_templateObject5$
|
|
14180
|
+
var Button$3 = styled__default.button(_templateObject5$b || (_templateObject5$b = _taggedTemplateLiteralLoose(["\n display: flex;\n background-color: transparent;\n border: none;\n padding: 0;\n box-shadow: none;\n\n ", ";\n"])), function (_ref5) {
|
|
14126
14181
|
var onClick = _ref5.onClick;
|
|
14127
14182
|
if (!onClick) return;
|
|
14128
14183
|
return styled.css(_templateObject6$9 || (_templateObject6$9 = _taggedTemplateLiteralLoose(["\n :not(:disabled) {\n cursor: pointer;\n }\n "])));
|
|
@@ -14236,7 +14291,7 @@ var DatePicker = React__default.forwardRef(function (props, ref) {
|
|
|
14236
14291
|
});
|
|
14237
14292
|
DatePicker.displayName = 'DatePicker';
|
|
14238
14293
|
|
|
14239
|
-
var _templateObject$j, _templateObject2$g, _templateObject3$f, _templateObject4$e, _templateObject5$
|
|
14294
|
+
var _templateObject$j, _templateObject2$g, _templateObject3$f, _templateObject4$e, _templateObject5$c, _templateObject6$a, _templateObject7$7;
|
|
14240
14295
|
var LabelContainer = styled__default.div(_templateObject$j || (_templateObject$j = _taggedTemplateLiteralLoose(["\n ", "\n line-height: 14px;\n display: flex;\n align-items: center;\n"])), function (_ref) {
|
|
14241
14296
|
var theme = _ref.theme;
|
|
14242
14297
|
return theme.useTypography('p');
|
|
@@ -14255,7 +14310,7 @@ var Label$3 = styled__default.label(_templateObject2$g || (_templateObject2$g =
|
|
|
14255
14310
|
}, function (_ref4) {
|
|
14256
14311
|
var required = _ref4.required;
|
|
14257
14312
|
if (!required) return;
|
|
14258
|
-
return styled.css(_templateObject5$
|
|
14313
|
+
return styled.css(_templateObject5$c || (_templateObject5$c = _taggedTemplateLiteralLoose(["\n > ", " {\n :after {\n content: '*';\n }\n }\n "])), LabelContainer);
|
|
14259
14314
|
}, function (_ref5) {
|
|
14260
14315
|
var invalid = _ref5.invalid;
|
|
14261
14316
|
|
|
@@ -14314,7 +14369,7 @@ var Switch = function Switch(props) {
|
|
|
14314
14369
|
})), React__default.createElement("span", null), label && React__default.createElement(LabelContainer, null, label));
|
|
14315
14370
|
};
|
|
14316
14371
|
|
|
14317
|
-
var _templateObject$k, _templateObject2$h, _templateObject3$g, _templateObject4$f, _templateObject5$
|
|
14372
|
+
var _templateObject$k, _templateObject2$h, _templateObject3$g, _templateObject4$f, _templateObject5$d, _templateObject6$b, _templateObject7$8, _templateObject8$5, _templateObject9$5, _templateObject10$4, _templateObject11$3, _templateObject12$3, _templateObject13$2, _templateObject14$1, _templateObject15, _templateObject16;
|
|
14318
14373
|
var bullet = styled.css(_templateObject$k || (_templateObject$k = _taggedTemplateLiteralLoose(["\n appearance: none;\n width: ", ";\n height: ", ";\n border-radius: 100%;\n border-width: 1px;\n border-style: solid;\n background-color: ", ";\n box-shadow: 0px 1px 3px ", ";\n"])), function (_ref) {
|
|
14319
14374
|
var theme = _ref.theme;
|
|
14320
14375
|
return theme.spacings.s4;
|
|
@@ -14345,7 +14400,7 @@ var Label$4 = styled__default.label(_templateObject3$g || (_templateObject3$g =
|
|
|
14345
14400
|
}, function (_ref9) {
|
|
14346
14401
|
var required = _ref9.required;
|
|
14347
14402
|
if (!required) return;
|
|
14348
|
-
return styled.css(_templateObject5$
|
|
14403
|
+
return styled.css(_templateObject5$d || (_templateObject5$d = _taggedTemplateLiteralLoose(["\n :after {\n content: ' *';\n }\n "])));
|
|
14349
14404
|
});
|
|
14350
14405
|
var InputContainer = styled__default.div(_templateObject6$b || (_templateObject6$b = _taggedTemplateLiteralLoose(["\n flex: 1;\n display: flex;\n gap: 6px;\n\n > div {\n position: relative;\n }\n\n ", "\n"])), function (_ref10) {
|
|
14351
14406
|
var theme = _ref10.theme,
|
|
@@ -14357,7 +14412,7 @@ var InputContainer = styled__default.div(_templateObject6$b || (_templateObject6
|
|
|
14357
14412
|
|
|
14358
14413
|
return styled.css(_templateObject8$5 || (_templateObject8$5 = _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);
|
|
14359
14414
|
});
|
|
14360
|
-
var MinMaxLabelContainer = styled__default.div(_templateObject9$
|
|
14415
|
+
var MinMaxLabelContainer = styled__default.div(_templateObject9$5 || (_templateObject9$5 = _taggedTemplateLiteralLoose(["\n display: flex;\n padding-bottom: 2px;\n"])));
|
|
14361
14416
|
var LabelsContainer = styled__default.div(_templateObject10$4 || (_templateObject10$4 = _taggedTemplateLiteralLoose(["\n display: flex;\n gap: 7px;\n\n ", "\n"])), function (_ref11) {
|
|
14362
14417
|
var position = _ref11.position;
|
|
14363
14418
|
|
|
@@ -14524,7 +14579,7 @@ var Range = React__default.forwardRef(function (props, ref) {
|
|
|
14524
14579
|
});
|
|
14525
14580
|
Range.displayName = 'input';
|
|
14526
14581
|
|
|
14527
|
-
var _templateObject$l, _templateObject2$i, _templateObject3$h, _templateObject4$g, _templateObject5$
|
|
14582
|
+
var _templateObject$l, _templateObject2$i, _templateObject3$h, _templateObject4$g, _templateObject5$e, _templateObject6$c, _templateObject7$9;
|
|
14528
14583
|
var LabelContainer$1 = styled__default.div(_templateObject$l || (_templateObject$l = _taggedTemplateLiteralLoose(["\n ", "\n display: flex;\n align-items: center;\n"])), function (_ref) {
|
|
14529
14584
|
var theme = _ref.theme;
|
|
14530
14585
|
return theme.useTypography('p');
|
|
@@ -14543,7 +14598,7 @@ var Label$5 = styled__default.label(_templateObject2$i || (_templateObject2$i =
|
|
|
14543
14598
|
}, function (_ref4) {
|
|
14544
14599
|
var required = _ref4.required;
|
|
14545
14600
|
if (!required) return;
|
|
14546
|
-
return styled.css(_templateObject5$
|
|
14601
|
+
return styled.css(_templateObject5$e || (_templateObject5$e = _taggedTemplateLiteralLoose(["\n > ", " {\n :after {\n content: ' *';\n }\n }\n "])), LabelContainer$1);
|
|
14547
14602
|
}, function (_ref5) {
|
|
14548
14603
|
var invalid = _ref5.invalid;
|
|
14549
14604
|
|
|
@@ -14701,7 +14756,7 @@ var widths = {
|
|
|
14701
14756
|
default: '642.5px'
|
|
14702
14757
|
};
|
|
14703
14758
|
|
|
14704
|
-
var _templateObject$m, _templateObject2$j, _templateObject3$i, _templateObject4$h, _templateObject5$
|
|
14759
|
+
var _templateObject$m, _templateObject2$j, _templateObject3$i, _templateObject4$h, _templateObject5$f, _templateObject6$d, _templateObject7$a, _templateObject8$6, _templateObject9$6, _templateObject10$5;
|
|
14705
14760
|
var Background = styled__default.div(_templateObject$m || (_templateObject$m = _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) {
|
|
14706
14761
|
var theme = _ref.theme;
|
|
14707
14762
|
return theme.getColor('black', 25);
|
|
@@ -14714,7 +14769,7 @@ var Header$2 = styled__default.div(_templateObject3$i || (_templateObject3$i = _
|
|
|
14714
14769
|
useTypography = _ref2$theme.useTypography;
|
|
14715
14770
|
return styled.css(_templateObject4$h || (_templateObject4$h = _taggedTemplateLiteralLoose(["\n border-bottom: 1px solid ", ";\n padding: ", ";\n\n ", "\n "])), colors.lightestGrey, spacings.s4, useTypography('h1'));
|
|
14716
14771
|
});
|
|
14717
|
-
var Footer$2 = styled__default.div(_templateObject5$
|
|
14772
|
+
var Footer$2 = styled__default.div(_templateObject5$f || (_templateObject5$f = _taggedTemplateLiteralLoose(["\n display: flex;\n justify-content: space-between;\n align-items: center;\n\n ", "\n"])), function (_ref3) {
|
|
14718
14773
|
var _ref3$theme = _ref3.theme,
|
|
14719
14774
|
spacings = _ref3$theme.spacings,
|
|
14720
14775
|
colors = _ref3$theme.colors;
|
|
@@ -14728,7 +14783,7 @@ var FooterButtons = styled__default.div(_templateObject8$6 || (_templateObject8$
|
|
|
14728
14783
|
var theme = _ref5.theme;
|
|
14729
14784
|
return theme.spacings.s3;
|
|
14730
14785
|
});
|
|
14731
|
-
var Container$9 = styled__default.div(_templateObject9$
|
|
14786
|
+
var Container$9 = styled__default.div(_templateObject9$6 || (_templateObject9$6 = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n\n ", "\n"])), function (_ref6) {
|
|
14732
14787
|
var theme = _ref6.theme,
|
|
14733
14788
|
size = _ref6.size,
|
|
14734
14789
|
customSize = _ref6.customSize,
|
|
@@ -14930,7 +14985,7 @@ Modal$1.ConfirmDelete = ConfirmDelete;
|
|
|
14930
14985
|
Modal$1.ConfirmEdit = ConfirmSuccess;
|
|
14931
14986
|
Modal$1.Audit = Audit;
|
|
14932
14987
|
|
|
14933
|
-
var _templateObject$q, _templateObject2$k, _templateObject3$j, _templateObject4$i, _templateObject5$
|
|
14988
|
+
var _templateObject$q, _templateObject2$k, _templateObject3$j, _templateObject4$i, _templateObject5$g, _templateObject6$e, _templateObject7$b, _templateObject8$7, _templateObject9$7, _templateObject10$6;
|
|
14934
14989
|
var Container$a = styled__default.div(_templateObject$q || (_templateObject$q = _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) {
|
|
14935
14990
|
return props.size === 'mini' && styled.css(_templateObject2$k || (_templateObject2$k = _taggedTemplateLiteralLoose(["\n width: 394px;\n height: 99px;\n "])));
|
|
14936
14991
|
}, function (props) {
|
|
@@ -14938,7 +14993,7 @@ var Container$a = styled__default.div(_templateObject$q || (_templateObject$q =
|
|
|
14938
14993
|
}, function (props) {
|
|
14939
14994
|
return props.size === 'medium' && styled.css(_templateObject4$i || (_templateObject4$i = _taggedTemplateLiteralLoose(["\n width: 394px;\n "])));
|
|
14940
14995
|
}, function (props) {
|
|
14941
|
-
return props.size === 'big' && styled.css(_templateObject5$
|
|
14996
|
+
return props.size === 'big' && styled.css(_templateObject5$g || (_templateObject5$g = _taggedTemplateLiteralLoose(["\n width: 414px;\n height: 324px;\n "])));
|
|
14942
14997
|
}, function (props) {
|
|
14943
14998
|
return props.borderType === 'info' && styled.css(_templateObject6$e || (_templateObject6$e = _taggedTemplateLiteralLoose(["\n border-left-color: #4d6dbe;\n "])));
|
|
14944
14999
|
}, function (props) {
|
|
@@ -14946,7 +15001,7 @@ var Container$a = styled__default.div(_templateObject$q || (_templateObject$q =
|
|
|
14946
15001
|
}, function (props) {
|
|
14947
15002
|
return props.borderType === 'warning' && styled.css(_templateObject8$7 || (_templateObject8$7 = _taggedTemplateLiteralLoose(["\n border-left-color: #fbcb01;\n "])));
|
|
14948
15003
|
}, function (props) {
|
|
14949
|
-
return props.borderType === 'danger' && styled.css(_templateObject9$
|
|
15004
|
+
return props.borderType === 'danger' && styled.css(_templateObject9$7 || (_templateObject9$7 = _taggedTemplateLiteralLoose(["\n border-left-color: #e23851;\n "])));
|
|
14950
15005
|
}, function (props) {
|
|
14951
15006
|
return props.borderType === 'none' && styled.css(_templateObject10$6 || (_templateObject10$6 = _taggedTemplateLiteralLoose(["\n border: 1px solid #d4d4d5;\n "])));
|
|
14952
15007
|
});
|
|
@@ -14960,7 +15015,7 @@ var Card = function Card(_ref) {
|
|
|
14960
15015
|
return React__default.createElement(Container$a, Object.assign({}, rest), children);
|
|
14961
15016
|
};
|
|
14962
15017
|
|
|
14963
|
-
var _templateObject$r, _templateObject2$l, _templateObject3$k, _templateObject4$j, _templateObject5$
|
|
15018
|
+
var _templateObject$r, _templateObject2$l, _templateObject3$k, _templateObject4$j, _templateObject5$h, _templateObject6$f;
|
|
14964
15019
|
var Container$b = styled__default.div(_templateObject$r || (_templateObject$r = _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) {
|
|
14965
15020
|
return props.size === 'large' ? '837px' : '460px';
|
|
14966
15021
|
}, function (props) {
|
|
@@ -14970,7 +15025,7 @@ var Container$b = styled__default.div(_templateObject$r || (_templateObject$r =
|
|
|
14970
15025
|
}, function (props) {
|
|
14971
15026
|
return props.color === 'warning' && styled.css(_templateObject4$j || (_templateObject4$j = _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 "])));
|
|
14972
15027
|
});
|
|
14973
|
-
var IconContainer$2 = styled__default.div(_templateObject5$
|
|
15028
|
+
var IconContainer$2 = styled__default.div(_templateObject5$h || (_templateObject5$h = _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"])));
|
|
14974
15029
|
var IconContent = styled__default.div(_templateObject6$f || (_templateObject6$f = _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"])));
|
|
14975
15030
|
|
|
14976
15031
|
var Toast = function Toast(props) {
|
|
@@ -15089,12 +15144,12 @@ var CalendarInterval = function CalendarInterval(props) {
|
|
|
15089
15144
|
})));
|
|
15090
15145
|
};
|
|
15091
15146
|
|
|
15092
|
-
var _templateObject$t, _templateObject2$m, _templateObject3$l, _templateObject4$k, _templateObject5$
|
|
15147
|
+
var _templateObject$t, _templateObject2$m, _templateObject3$l, _templateObject4$k, _templateObject5$i, _templateObject6$g, _templateObject7$c, _templateObject8$8, _templateObject9$8, _templateObject10$7, _templateObject11$4;
|
|
15093
15148
|
var Container$d = styled__default.div(_templateObject$t || (_templateObject$t = _taggedTemplateLiteralLoose(["\n width: 100%;\n height: 300px;\n position: absolute;\n padding: 14px;\n"])));
|
|
15094
15149
|
var Header$3 = styled__default.div(_templateObject2$m || (_templateObject2$m = _taggedTemplateLiteralLoose(["\n display: flex;\n"])));
|
|
15095
15150
|
var HeaderImage = styled__default.div(_templateObject3$l || (_templateObject3$l = _taggedTemplateLiteralLoose(["\n width: 43px;\n height: 44px;\n background-color: #ebebeb;\n"])));
|
|
15096
15151
|
var HeaderContent = styled__default.div(_templateObject4$k || (_templateObject4$k = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n flex: 1;\n"])));
|
|
15097
|
-
var MainContent = styled__default.div(_templateObject5$
|
|
15152
|
+
var MainContent = styled__default.div(_templateObject5$i || (_templateObject5$i = _taggedTemplateLiteralLoose(["\n margin-top: 8px;\n"])));
|
|
15098
15153
|
var HeaderLine = styled__default.div(_templateObject6$g || (_templateObject6$g = _taggedTemplateLiteralLoose(["\n height: ", ";\n background-color: #ebebeb;\n margin-left: 7px;\n\n & + div {\n margin-top: 14px;\n }\n\n ", "\n ", "\n\n ", "\n\n ", "\n"])), function (props) {
|
|
15099
15154
|
return props.height;
|
|
15100
15155
|
}, function (props) {
|
|
@@ -15102,7 +15157,7 @@ var HeaderLine = styled__default.div(_templateObject6$g || (_templateObject6$g =
|
|
|
15102
15157
|
}, function (props) {
|
|
15103
15158
|
return props.size === 'small' && styled.css(_templateObject8$8 || (_templateObject8$8 = _taggedTemplateLiteralLoose(["\n width: 25%;\n "])));
|
|
15104
15159
|
}, function (props) {
|
|
15105
|
-
return props.size === 'medium' && styled.css(_templateObject9$
|
|
15160
|
+
return props.size === 'medium' && styled.css(_templateObject9$8 || (_templateObject9$8 = _taggedTemplateLiteralLoose(["\n width: 45%;\n "])));
|
|
15106
15161
|
}, function (props) {
|
|
15107
15162
|
return props.size === 'large' && styled.css(_templateObject10$7 || (_templateObject10$7 = _taggedTemplateLiteralLoose(["\n width: 75%;\n "])));
|
|
15108
15163
|
});
|
|
@@ -15141,7 +15196,7 @@ var Template1 = function Template1(props) {
|
|
|
15141
15196
|
})));
|
|
15142
15197
|
};
|
|
15143
15198
|
|
|
15144
|
-
var _templateObject$u, _templateObject2$n, _templateObject3$m, _templateObject4$l, _templateObject5$
|
|
15199
|
+
var _templateObject$u, _templateObject2$n, _templateObject3$m, _templateObject4$l, _templateObject5$j;
|
|
15145
15200
|
var HeaderLine$1 = styled__default.div(_templateObject$u || (_templateObject$u = _taggedTemplateLiteralLoose(["\n height: ", ";\n background-color: #ebebeb;\n margin-left: 7px;\n\n & + div {\n margin-top: 14px;\n }\n\n ", "\n ", "\n\n ", "\n\n ", "\n"])), function (props) {
|
|
15146
15201
|
return props.height;
|
|
15147
15202
|
}, function (props) {
|
|
@@ -15151,15 +15206,15 @@ var HeaderLine$1 = styled__default.div(_templateObject$u || (_templateObject$u =
|
|
|
15151
15206
|
}, function (props) {
|
|
15152
15207
|
return props.size === 'medium' && styled.css(_templateObject4$l || (_templateObject4$l = _taggedTemplateLiteralLoose(["\n width: 45%;\n "])));
|
|
15153
15208
|
}, function (props) {
|
|
15154
|
-
return props.size === 'large' && styled.css(_templateObject5$
|
|
15209
|
+
return props.size === 'large' && styled.css(_templateObject5$j || (_templateObject5$j = _taggedTemplateLiteralLoose(["\n width: 75%;\n "])));
|
|
15155
15210
|
});
|
|
15156
15211
|
|
|
15157
|
-
var _templateObject$v, _templateObject2$o, _templateObject3$n, _templateObject4$m, _templateObject5$
|
|
15212
|
+
var _templateObject$v, _templateObject2$o, _templateObject3$n, _templateObject4$m, _templateObject5$k, _templateObject6$h, _templateObject7$d, _templateObject8$9;
|
|
15158
15213
|
var Container$e = styled__default.div(_templateObject$v || (_templateObject$v = _taggedTemplateLiteralLoose(["\n width: 100%;\n max-height: 100%;\n position: absolute;\n padding: 14px;\n"])));
|
|
15159
15214
|
var Template2Container = styled__default(Container$e)(_templateObject2$o || (_templateObject2$o = _taggedTemplateLiteralLoose(["\n background: #fff;\n border: 2px solid #ebebeb;\n"])));
|
|
15160
15215
|
var Header$4 = styled__default.div(_templateObject3$n || (_templateObject3$n = _taggedTemplateLiteralLoose(["\n display: flex;\n"])));
|
|
15161
15216
|
var HeaderImage$1 = styled__default.div(_templateObject4$m || (_templateObject4$m = _taggedTemplateLiteralLoose(["\n width: 43px;\n height: 44px;\n background-color: #ebebeb;\n"])));
|
|
15162
|
-
var HeaderContent$1 = styled__default.div(_templateObject5$
|
|
15217
|
+
var HeaderContent$1 = styled__default.div(_templateObject5$k || (_templateObject5$k = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n flex: 1;\n"])));
|
|
15163
15218
|
var MainContent$1 = styled__default.div(_templateObject6$h || (_templateObject6$h = _taggedTemplateLiteralLoose(["\n margin-top: 8px;\n"])));
|
|
15164
15219
|
var MainLine$1 = styled__default(HeaderLine$1)(_templateObject7$d || (_templateObject7$d = _taggedTemplateLiteralLoose(["\n margin-bottom: 14px;\n margin-left: 0;\n"])));
|
|
15165
15220
|
var HeaderLine$2 = styled__default(HeaderLine$1)(_templateObject8$9 || (_templateObject8$9 = _taggedTemplateLiteralLoose([""])));
|
|
@@ -15217,7 +15272,7 @@ var Template3 = function Template3(props) {
|
|
|
15217
15272
|
}));
|
|
15218
15273
|
};
|
|
15219
15274
|
|
|
15220
|
-
var _templateObject$x, _templateObject2$q, _templateObject3$p, _templateObject4$n, _templateObject5$
|
|
15275
|
+
var _templateObject$x, _templateObject2$q, _templateObject3$p, _templateObject4$n, _templateObject5$l, _templateObject6$i, _templateObject7$e, _templateObject8$a;
|
|
15221
15276
|
var Container$g = styled__default.div(_templateObject$x || (_templateObject$x = _taggedTemplateLiteralLoose(["\n width: 100%;\n max-height: 100%;\n position: absolute;\n padding: 14px;\n"])));
|
|
15222
15277
|
var HeaderLine$3 = styled__default.div(_templateObject2$q || (_templateObject2$q = _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) {
|
|
15223
15278
|
return props.height;
|
|
@@ -15226,7 +15281,7 @@ var HeaderLine$3 = styled__default.div(_templateObject2$q || (_templateObject2$q
|
|
|
15226
15281
|
}, function (props) {
|
|
15227
15282
|
return props.size === 'small' && styled.css(_templateObject4$n || (_templateObject4$n = _taggedTemplateLiteralLoose(["\n width: 25%;\n "])));
|
|
15228
15283
|
}, function (props) {
|
|
15229
|
-
return props.size === 'medium' && styled.css(_templateObject5$
|
|
15284
|
+
return props.size === 'medium' && styled.css(_templateObject5$l || (_templateObject5$l = _taggedTemplateLiteralLoose(["\n width: 45%;\n "])));
|
|
15230
15285
|
}, function (props) {
|
|
15231
15286
|
return props.size === 'large' && styled.css(_templateObject6$i || (_templateObject6$i = _taggedTemplateLiteralLoose(["\n width: 75%;\n "])));
|
|
15232
15287
|
});
|
|
@@ -15284,7 +15339,7 @@ var Template4 = function Template4(props) {
|
|
|
15284
15339
|
}));
|
|
15285
15340
|
};
|
|
15286
15341
|
|
|
15287
|
-
var _templateObject$y, _templateObject2$r, _templateObject3$q, _templateObject4$o, _templateObject5$
|
|
15342
|
+
var _templateObject$y, _templateObject2$r, _templateObject3$q, _templateObject4$o, _templateObject5$m, _templateObject6$j, _templateObject7$f, _templateObject8$b, _templateObject9$9;
|
|
15288
15343
|
var Container$h = styled__default.div(_templateObject$y || (_templateObject$y = _taggedTemplateLiteralLoose(["\n position: absolute;\n width: 746px;\n height: 169px;\n border: 1px solid #e6e6e7;\n border-radius: 4px;\n padding: 14px;\n display: flex;\n align-items: center;\n justify-content: space-between;\n"])));
|
|
15289
15344
|
var Circle = styled__default.div(_templateObject2$r || (_templateObject2$r = _taggedTemplateLiteralLoose(["\n width: 141px;\n height: 141px;\n background-color: #dddedf;\n border-radius: 50%;\n"])));
|
|
15290
15345
|
var HeaderLine$4 = styled__default.div(_templateObject3$q || (_templateObject3$q = _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) {
|
|
@@ -15292,7 +15347,7 @@ var HeaderLine$4 = styled__default.div(_templateObject3$q || (_templateObject3$q
|
|
|
15292
15347
|
}, function (props) {
|
|
15293
15348
|
return props.size === 'mini' && styled.css(_templateObject4$o || (_templateObject4$o = _taggedTemplateLiteralLoose(["\n width: 15%;\n "])));
|
|
15294
15349
|
}, function (props) {
|
|
15295
|
-
return props.size === 'small' && styled.css(_templateObject5$
|
|
15350
|
+
return props.size === 'small' && styled.css(_templateObject5$m || (_templateObject5$m = _taggedTemplateLiteralLoose(["\n width: 25%;\n "])));
|
|
15296
15351
|
}, function (props) {
|
|
15297
15352
|
return props.size === 'medium' && styled.css(_templateObject6$j || (_templateObject6$j = _taggedTemplateLiteralLoose(["\n width: 45%;\n "])));
|
|
15298
15353
|
}, function (props) {
|
|
@@ -15305,7 +15360,7 @@ var CustomLine$1 = styled__default(HeaderLine$4)(_templateObject8$b || (_templat
|
|
|
15305
15360
|
}, function (props) {
|
|
15306
15361
|
return props.color;
|
|
15307
15362
|
});
|
|
15308
|
-
var MainContent$2 = styled__default.div(_templateObject9$
|
|
15363
|
+
var MainContent$2 = styled__default.div(_templateObject9$9 || (_templateObject9$9 = _taggedTemplateLiteralLoose(["\n flex: 1;\n margin-left: 35px;\n"])));
|
|
15309
15364
|
|
|
15310
15365
|
var Template5 = function Template5(props) {
|
|
15311
15366
|
if (!props.loading) return React__default.createElement(React__default.Fragment, null);
|
|
@@ -15332,14 +15387,14 @@ var Template5 = function Template5(props) {
|
|
|
15332
15387
|
})));
|
|
15333
15388
|
};
|
|
15334
15389
|
|
|
15335
|
-
var _templateObject$z, _templateObject2$s, _templateObject3$r, _templateObject4$p, _templateObject5$
|
|
15390
|
+
var _templateObject$z, _templateObject2$s, _templateObject3$r, _templateObject4$p, _templateObject5$n, _templateObject6$k, _templateObject7$g, _templateObject8$c, _templateObject9$a;
|
|
15336
15391
|
var Container$i = styled__default.div(_templateObject$z || (_templateObject$z = _taggedTemplateLiteralLoose(["\n width: 395px;\n\n display: flex;\n align-items: center;\n justify-content: space-between;\n background-color: #f5f5f5;\n"])));
|
|
15337
15392
|
var Header$5 = styled__default.div(_templateObject2$s || (_templateObject2$s = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n padding: 14px;\n"])));
|
|
15338
15393
|
var Footer$3 = styled__default.div(_templateObject3$r || (_templateObject3$r = _taggedTemplateLiteralLoose(["\n width: 100%;\n border-top: 1px solid #b1b1b3;\n height: 50px;\n"])));
|
|
15339
15394
|
var HeaderLine$5 = styled__default.div(_templateObject4$p || (_templateObject4$p = _taggedTemplateLiteralLoose(["\n height: ", ";\n background-color: #ebebeb;\n margin-left: 7px;\n\n & + div {\n margin-top: 14px;\n }\n\n ", "\n ", "\n\n ", "\n\n ", "\n"])), function (props) {
|
|
15340
15395
|
return props.height;
|
|
15341
15396
|
}, function (props) {
|
|
15342
|
-
return props.size === 'mini' && styled.css(_templateObject5$
|
|
15397
|
+
return props.size === 'mini' && styled.css(_templateObject5$n || (_templateObject5$n = _taggedTemplateLiteralLoose(["\n width: 15%;\n "])));
|
|
15343
15398
|
}, function (props) {
|
|
15344
15399
|
return props.size === 'small' && styled.css(_templateObject6$k || (_templateObject6$k = _taggedTemplateLiteralLoose(["\n width: 25%;\n "])));
|
|
15345
15400
|
}, function (props) {
|
|
@@ -15347,7 +15402,7 @@ var HeaderLine$5 = styled__default.div(_templateObject4$p || (_templateObject4$p
|
|
|
15347
15402
|
}, function (props) {
|
|
15348
15403
|
return props.size === 'large' && styled.css(_templateObject8$c || (_templateObject8$c = _taggedTemplateLiteralLoose(["\n width: 75%;\n "])));
|
|
15349
15404
|
});
|
|
15350
|
-
var CustomLine$2 = styled__default(HeaderLine$5)(_templateObject9$
|
|
15405
|
+
var CustomLine$2 = styled__default(HeaderLine$5)(_templateObject9$a || (_templateObject9$a = _taggedTemplateLiteralLoose(["\n width: ", ";\n height: ", ";\n background-color: ", ";\n border: 1px solid #dedede5e;\n"])), function (props) {
|
|
15351
15406
|
return props.width;
|
|
15352
15407
|
}, function (props) {
|
|
15353
15408
|
return props.height;
|
|
@@ -15375,7 +15430,7 @@ var Template6 = function Template6(props) {
|
|
|
15375
15430
|
})));
|
|
15376
15431
|
};
|
|
15377
15432
|
|
|
15378
|
-
var _templateObject$A, _templateObject2$t, _templateObject3$s, _templateObject4$q, _templateObject5$
|
|
15433
|
+
var _templateObject$A, _templateObject2$t, _templateObject3$s, _templateObject4$q, _templateObject5$o, _templateObject6$l, _templateObject7$h, _templateObject8$d, _templateObject9$b, _templateObject10$8;
|
|
15379
15434
|
var Container$j = styled__default.div(_templateObject$A || (_templateObject$A = _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"])));
|
|
15380
15435
|
var Header$6 = styled__default.div(_templateObject2$t || (_templateObject2$t = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n padding: 14px;\n width: 100%;\n"])));
|
|
15381
15436
|
var HeaderLine$6 = styled__default.div(_templateObject3$s || (_templateObject3$s = _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) {
|
|
@@ -15383,7 +15438,7 @@ var HeaderLine$6 = styled__default.div(_templateObject3$s || (_templateObject3$s
|
|
|
15383
15438
|
}, function (props) {
|
|
15384
15439
|
return props.size === 'mini' && styled.css(_templateObject4$q || (_templateObject4$q = _taggedTemplateLiteralLoose(["\n width: 15%;\n "])));
|
|
15385
15440
|
}, function (props) {
|
|
15386
|
-
return props.size === 'small' && styled.css(_templateObject5$
|
|
15441
|
+
return props.size === 'small' && styled.css(_templateObject5$o || (_templateObject5$o = _taggedTemplateLiteralLoose(["\n width: 25%;\n "])));
|
|
15387
15442
|
}, function (props) {
|
|
15388
15443
|
return props.size === 'medium' && styled.css(_templateObject6$l || (_templateObject6$l = _taggedTemplateLiteralLoose(["\n width: 45%;\n "])));
|
|
15389
15444
|
}, function (props) {
|
|
@@ -15396,7 +15451,7 @@ var CustomLine$3 = styled__default(HeaderLine$6)(_templateObject8$d || (_templat
|
|
|
15396
15451
|
}, function (props) {
|
|
15397
15452
|
return props.color;
|
|
15398
15453
|
});
|
|
15399
|
-
var Main = styled__default.div(_templateObject9$
|
|
15454
|
+
var Main = styled__default.div(_templateObject9$b || (_templateObject9$b = _taggedTemplateLiteralLoose(["\n margin: 10px 0;\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: space-evenly;\n"])));
|
|
15400
15455
|
var Circle$1 = styled__default.div(_templateObject10$8 || (_templateObject10$8 = _taggedTemplateLiteralLoose(["\n width: 30px;\n height: 30px;\n background-color: #ebebeb;\n border-radius: 50%;\n margin: 0 16px;\n"])));
|
|
15401
15456
|
|
|
15402
15457
|
var Template7 = function Template7(props) {
|
|
@@ -15409,7 +15464,7 @@ var Template7 = function Template7(props) {
|
|
|
15409
15464
|
})), React__default.createElement(Main, 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)));
|
|
15410
15465
|
};
|
|
15411
15466
|
|
|
15412
|
-
var _templateObject$B, _templateObject2$u, _templateObject3$t, _templateObject4$r, _templateObject5$
|
|
15467
|
+
var _templateObject$B, _templateObject2$u, _templateObject3$t, _templateObject4$r, _templateObject5$p, _templateObject6$m, _templateObject7$i, _templateObject8$e, _templateObject9$c;
|
|
15413
15468
|
var Container$k = styled__default.div(_templateObject$B || (_templateObject$B = _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"])));
|
|
15414
15469
|
var Header$7 = styled__default.div(_templateObject2$u || (_templateObject2$u = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n padding: 14px;\n width: 100%;\n"])));
|
|
15415
15470
|
var HeaderLine$7 = styled__default.div(_templateObject3$t || (_templateObject3$t = _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) {
|
|
@@ -15417,7 +15472,7 @@ var HeaderLine$7 = styled__default.div(_templateObject3$t || (_templateObject3$t
|
|
|
15417
15472
|
}, function (props) {
|
|
15418
15473
|
return props.size === 'mini' && styled.css(_templateObject4$r || (_templateObject4$r = _taggedTemplateLiteralLoose(["\n width: 15%;\n "])));
|
|
15419
15474
|
}, function (props) {
|
|
15420
|
-
return props.size === 'small' && styled.css(_templateObject5$
|
|
15475
|
+
return props.size === 'small' && styled.css(_templateObject5$p || (_templateObject5$p = _taggedTemplateLiteralLoose(["\n width: 25%;\n "])));
|
|
15421
15476
|
}, function (props) {
|
|
15422
15477
|
return props.size === 'medium' && styled.css(_templateObject6$m || (_templateObject6$m = _taggedTemplateLiteralLoose(["\n width: 45%;\n "])));
|
|
15423
15478
|
}, function (props) {
|
|
@@ -15430,7 +15485,7 @@ var CustomLine$4 = styled__default(HeaderLine$7)(_templateObject8$e || (_templat
|
|
|
15430
15485
|
}, function (props) {
|
|
15431
15486
|
return props.color;
|
|
15432
15487
|
});
|
|
15433
|
-
var Main$1 = styled__default.div(_templateObject9$
|
|
15488
|
+
var Main$1 = styled__default.div(_templateObject9$c || (_templateObject9$c = _taggedTemplateLiteralLoose(["\n padding: 14px;\n width: 100%;\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n"])));
|
|
15434
15489
|
|
|
15435
15490
|
var Template8 = function Template8(props) {
|
|
15436
15491
|
if (!props.loading) return React__default.createElement(React__default.Fragment, null);
|
|
@@ -15452,7 +15507,7 @@ var Template8 = function Template8(props) {
|
|
|
15452
15507
|
})));
|
|
15453
15508
|
};
|
|
15454
15509
|
|
|
15455
|
-
var _templateObject$C, _templateObject2$v, _templateObject3$u, _templateObject4$s, _templateObject5$
|
|
15510
|
+
var _templateObject$C, _templateObject2$v, _templateObject3$u, _templateObject4$s, _templateObject5$q, _templateObject6$n, _templateObject7$j, _templateObject8$f, _templateObject9$d, _templateObject10$9;
|
|
15456
15511
|
var Container$l = styled__default.div(_templateObject$C || (_templateObject$C = _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"])));
|
|
15457
15512
|
var Header$8 = styled__default.div(_templateObject2$v || (_templateObject2$v = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n padding: 14px;\n width: 100%;\n"])));
|
|
15458
15513
|
var HeaderLine$8 = styled__default.div(_templateObject3$u || (_templateObject3$u = _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) {
|
|
@@ -15460,7 +15515,7 @@ var HeaderLine$8 = styled__default.div(_templateObject3$u || (_templateObject3$u
|
|
|
15460
15515
|
}, function (props) {
|
|
15461
15516
|
return props.size === 'mini' && styled.css(_templateObject4$s || (_templateObject4$s = _taggedTemplateLiteralLoose(["\n width: 15%;\n "])));
|
|
15462
15517
|
}, function (props) {
|
|
15463
|
-
return props.size === 'small' && styled.css(_templateObject5$
|
|
15518
|
+
return props.size === 'small' && styled.css(_templateObject5$q || (_templateObject5$q = _taggedTemplateLiteralLoose(["\n width: 25%;\n "])));
|
|
15464
15519
|
}, function (props) {
|
|
15465
15520
|
return props.size === 'medium' && styled.css(_templateObject6$n || (_templateObject6$n = _taggedTemplateLiteralLoose(["\n width: 45%;\n "])));
|
|
15466
15521
|
}, function (props) {
|
|
@@ -15473,7 +15528,7 @@ var CustomLine$5 = styled__default(HeaderLine$8)(_templateObject8$f || (_templat
|
|
|
15473
15528
|
}, function (props) {
|
|
15474
15529
|
return props.color;
|
|
15475
15530
|
});
|
|
15476
|
-
var Main$2 = styled__default.div(_templateObject9$
|
|
15531
|
+
var Main$2 = styled__default.div(_templateObject9$d || (_templateObject9$d = _taggedTemplateLiteralLoose(["\n padding: 14px;\n width: 100%;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n"])));
|
|
15477
15532
|
var Circle$2 = styled__default.div(_templateObject10$9 || (_templateObject10$9 = _taggedTemplateLiteralLoose(["\n width: 128px;\n height: 128px;\n background-color: #ebebeb;\n border-radius: 50%;\n"])));
|
|
15478
15533
|
|
|
15479
15534
|
var Template8$1 = function Template8(props) {
|
|
@@ -15491,7 +15546,7 @@ var Template8$1 = function Template8(props) {
|
|
|
15491
15546
|
})), React__default.createElement(Main$2, null, React__default.createElement(Circle$2, null)));
|
|
15492
15547
|
};
|
|
15493
15548
|
|
|
15494
|
-
var _templateObject$D, _templateObject2$w, _templateObject3$v, _templateObject4$t, _templateObject5$
|
|
15549
|
+
var _templateObject$D, _templateObject2$w, _templateObject3$v, _templateObject4$t, _templateObject5$r, _templateObject6$o, _templateObject7$k, _templateObject8$g, _templateObject9$e, _templateObject10$a, _templateObject11$5;
|
|
15495
15550
|
var Container$m = styled__default.div(_templateObject$D || (_templateObject$D = _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"])));
|
|
15496
15551
|
var Header$9 = styled__default.div(_templateObject2$w || (_templateObject2$w = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n padding: 14px;\n width: 100%;\n"])));
|
|
15497
15552
|
var HeaderLine$9 = styled__default.div(_templateObject3$v || (_templateObject3$v = _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) {
|
|
@@ -15499,7 +15554,7 @@ var HeaderLine$9 = styled__default.div(_templateObject3$v || (_templateObject3$v
|
|
|
15499
15554
|
}, function (props) {
|
|
15500
15555
|
return props.size === 'mini' && styled.css(_templateObject4$t || (_templateObject4$t = _taggedTemplateLiteralLoose(["\n width: 15%;\n "])));
|
|
15501
15556
|
}, function (props) {
|
|
15502
|
-
return props.size === 'small' && styled.css(_templateObject5$
|
|
15557
|
+
return props.size === 'small' && styled.css(_templateObject5$r || (_templateObject5$r = _taggedTemplateLiteralLoose(["\n width: 25%;\n "])));
|
|
15503
15558
|
}, function (props) {
|
|
15504
15559
|
return props.size === 'medium' && styled.css(_templateObject6$o || (_templateObject6$o = _taggedTemplateLiteralLoose(["\n width: 45%;\n "])));
|
|
15505
15560
|
}, function (props) {
|
|
@@ -15512,7 +15567,7 @@ var CustomLine$6 = styled__default(HeaderLine$9)(_templateObject8$g || (_templat
|
|
|
15512
15567
|
}, function (props) {
|
|
15513
15568
|
return props.color;
|
|
15514
15569
|
});
|
|
15515
|
-
var GraphLine = styled__default(CustomLine$6)(_templateObject9$
|
|
15570
|
+
var GraphLine = styled__default(CustomLine$6)(_templateObject9$e || (_templateObject9$e = _taggedTemplateLiteralLoose(["\n margin: 0 7px;\n"])));
|
|
15516
15571
|
var Main$3 = styled__default.div(_templateObject10$a || (_templateObject10$a = _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"])));
|
|
15517
15572
|
var Circle$3 = styled__default.div(_templateObject11$5 || (_templateObject11$5 = _taggedTemplateLiteralLoose(["\n width: 128px;\n height: 128px;\n background-color: #ebebeb;\n border-radius: 50%;\n"])));
|
|
15518
15573
|
|
|
@@ -15635,7 +15690,7 @@ var Placeholder = function Placeholder(props) {
|
|
|
15635
15690
|
}
|
|
15636
15691
|
};
|
|
15637
15692
|
|
|
15638
|
-
var _templateObject$E, _templateObject2$x, _templateObject3$w, _templateObject4$u, _templateObject5$
|
|
15693
|
+
var _templateObject$E, _templateObject2$x, _templateObject3$w, _templateObject4$u, _templateObject5$s;
|
|
15639
15694
|
var Image = styled__default.img(_templateObject$E || (_templateObject$E = _taggedTemplateLiteralLoose(["\n max-width: 100%;\n max-height: 100%;\n"])));
|
|
15640
15695
|
var Container$n = styled__default.div(_templateObject2$x || (_templateObject2$x = _taggedTemplateLiteralLoose(["\n position: relative;\n display: inline-flex;\n\n &,\n ", " {\n width: ", ";\n\n height: ", ";\n }\n"])), Image, function (_ref) {
|
|
15641
15696
|
var width = _ref.width;
|
|
@@ -15672,7 +15727,7 @@ var Button$4 = styled__default(Button$1)(_templateObject4$u || (_templateObject4
|
|
|
15672
15727
|
var theme = _ref4.theme;
|
|
15673
15728
|
return theme.getColor('white', 50);
|
|
15674
15729
|
});
|
|
15675
|
-
var ModalContent = styled__default.div(_templateObject5$
|
|
15730
|
+
var ModalContent = styled__default.div(_templateObject5$s || (_templateObject5$s = _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"])));
|
|
15676
15731
|
|
|
15677
15732
|
var _excluded$3 = ["src", "defaultClickOptions"];
|
|
15678
15733
|
|
|
@@ -15708,6 +15763,469 @@ var Zoom = function Zoom(props) {
|
|
|
15708
15763
|
}))));
|
|
15709
15764
|
};
|
|
15710
15765
|
|
|
15766
|
+
var _templateObject$F;
|
|
15767
|
+
var Container$o = styled__default.div(_templateObject$F || (_templateObject$F = _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) {
|
|
15768
|
+
var _ref$theme$spacings = _ref.theme.spacings,
|
|
15769
|
+
s1 = _ref$theme$spacings.s1,
|
|
15770
|
+
s3 = _ref$theme$spacings.s3;
|
|
15771
|
+
return "0 calc(" + s3 + " * .75) " + s1 + " " + s1;
|
|
15772
|
+
}, function (_ref2) {
|
|
15773
|
+
var s3 = _ref2.theme.spacings.s3;
|
|
15774
|
+
return s3;
|
|
15775
|
+
}, function (_ref3) {
|
|
15776
|
+
var useTypography = _ref3.theme.useTypography;
|
|
15777
|
+
return useTypography('p');
|
|
15778
|
+
}, function (_ref4) {
|
|
15779
|
+
var getColor = _ref4.theme.getColor;
|
|
15780
|
+
return getColor('greyishBlue', 50);
|
|
15781
|
+
});
|
|
15782
|
+
|
|
15783
|
+
var Header$a = function Header(props) {
|
|
15784
|
+
var title = props.title,
|
|
15785
|
+
_props$search = props.search,
|
|
15786
|
+
searched = _props$search[0],
|
|
15787
|
+
_setSearched = _props$search[1],
|
|
15788
|
+
allowEmptySearch = props.allowEmptySearch,
|
|
15789
|
+
withSearch = props.withSearch,
|
|
15790
|
+
_props$touched = props.touched,
|
|
15791
|
+
setTouched = _props$touched[1];
|
|
15792
|
+
|
|
15793
|
+
var _useState = React.useState(''),
|
|
15794
|
+
search = _useState[0],
|
|
15795
|
+
setSearch = _useState[1];
|
|
15796
|
+
|
|
15797
|
+
var setSearched = allowEmptySearch ? _setSearched : function (value) {
|
|
15798
|
+
if (value === '') return;
|
|
15799
|
+
|
|
15800
|
+
_setSearched(value);
|
|
15801
|
+
|
|
15802
|
+
setTouched(true);
|
|
15803
|
+
};
|
|
15804
|
+
React.useEffect(function () {
|
|
15805
|
+
setSearch(searched);
|
|
15806
|
+
}, [searched]);
|
|
15807
|
+
|
|
15808
|
+
var onSubmit = function onSubmit() {
|
|
15809
|
+
setSearched(search);
|
|
15810
|
+
};
|
|
15811
|
+
|
|
15812
|
+
var onClear = function onClear() {
|
|
15813
|
+
setSearch('');
|
|
15814
|
+
setSearched('');
|
|
15815
|
+
};
|
|
15816
|
+
|
|
15817
|
+
return React__default.createElement(Container$o, null, React__default.createElement("div", null, isString(title) ? title : title.element), withSearch && React__default.createElement(Input$3, {
|
|
15818
|
+
type: 'search',
|
|
15819
|
+
placeholder: 'Pesquisa',
|
|
15820
|
+
setValue: setSearch,
|
|
15821
|
+
value: search,
|
|
15822
|
+
onPressEnter: onSubmit,
|
|
15823
|
+
clearable: search !== '' && search === searched ? onClear : undefined,
|
|
15824
|
+
icon: {
|
|
15825
|
+
icon: {
|
|
15826
|
+
type: 'feather',
|
|
15827
|
+
icon: 'search'
|
|
15828
|
+
},
|
|
15829
|
+
onClick: onSubmit
|
|
15830
|
+
}
|
|
15831
|
+
}));
|
|
15832
|
+
};
|
|
15833
|
+
|
|
15834
|
+
var _templateObject$G;
|
|
15835
|
+
var EmptyMessage = styled__default.div(_templateObject$G || (_templateObject$G = _taggedTemplateLiteralLoose(["\n padding: 0 20px;\n color: ", ";\n text-align: center;\n margin: auto;\n width: 100%;\n"])), function (_ref) {
|
|
15836
|
+
var lightGrey = _ref.theme.colors.lightGrey;
|
|
15837
|
+
return lightGrey;
|
|
15838
|
+
});
|
|
15839
|
+
|
|
15840
|
+
var getInstance = function getInstance(props) {
|
|
15841
|
+
var item = props.item;
|
|
15842
|
+
|
|
15843
|
+
if (Array.isArray(item.options)) {
|
|
15844
|
+
var intialOptions = [].concat(item.options);
|
|
15845
|
+
|
|
15846
|
+
var _getOptions = function _getOptions(value) {
|
|
15847
|
+
try {
|
|
15848
|
+
var options = intialOptions.filter(function (option) {
|
|
15849
|
+
var label = isString(option.label) ? option.label : option.label.text;
|
|
15850
|
+
return strCmp(label, value, {
|
|
15851
|
+
contain: true
|
|
15852
|
+
});
|
|
15853
|
+
});
|
|
15854
|
+
return Promise.resolve({
|
|
15855
|
+
options: options,
|
|
15856
|
+
lastPage: true
|
|
15857
|
+
});
|
|
15858
|
+
} catch (e) {
|
|
15859
|
+
return Promise.reject(e);
|
|
15860
|
+
}
|
|
15861
|
+
};
|
|
15862
|
+
|
|
15863
|
+
return {
|
|
15864
|
+
getOptions: _getOptions
|
|
15865
|
+
};
|
|
15866
|
+
}
|
|
15867
|
+
|
|
15868
|
+
var loader = item.options;
|
|
15869
|
+
|
|
15870
|
+
var getOptions = function getOptions(value, page) {
|
|
15871
|
+
try {
|
|
15872
|
+
return Promise.resolve(loader(value, page)).then(function (options) {
|
|
15873
|
+
return Array.isArray(options) ? {
|
|
15874
|
+
options: options,
|
|
15875
|
+
lastPage: true
|
|
15876
|
+
} : options;
|
|
15877
|
+
});
|
|
15878
|
+
} catch (e) {
|
|
15879
|
+
return Promise.reject(e);
|
|
15880
|
+
}
|
|
15881
|
+
};
|
|
15882
|
+
|
|
15883
|
+
return {
|
|
15884
|
+
getOptions: getOptions
|
|
15885
|
+
};
|
|
15886
|
+
};
|
|
15887
|
+
|
|
15888
|
+
var Submenu = function Submenu(props) {
|
|
15889
|
+
var item = props.item,
|
|
15890
|
+
close = props.close,
|
|
15891
|
+
setAppliedFilters = props.setAppliedFilters;
|
|
15892
|
+
var isDynamic = !Array.isArray(item.options);
|
|
15893
|
+
|
|
15894
|
+
var _getInstance = getInstance(props),
|
|
15895
|
+
getOptions = _getInstance.getOptions;
|
|
15896
|
+
|
|
15897
|
+
var _useState = React.useState([]),
|
|
15898
|
+
options = _useState[0],
|
|
15899
|
+
setOptions = _useState[1];
|
|
15900
|
+
|
|
15901
|
+
var _useState2 = React.useState(1),
|
|
15902
|
+
page = _useState2[0],
|
|
15903
|
+
setPage = _useState2[1];
|
|
15904
|
+
|
|
15905
|
+
var _useState3 = React.useState(''),
|
|
15906
|
+
search = _useState3[0],
|
|
15907
|
+
_setSearch = _useState3[1];
|
|
15908
|
+
|
|
15909
|
+
var _useState4 = React.useState(false),
|
|
15910
|
+
lastPage = _useState4[0],
|
|
15911
|
+
setLastPage = _useState4[1];
|
|
15912
|
+
|
|
15913
|
+
var _useState5 = React.useState(false),
|
|
15914
|
+
loading = _useState5[0],
|
|
15915
|
+
setLoading = _useState5[1];
|
|
15916
|
+
|
|
15917
|
+
var _useState6 = React.useState(false),
|
|
15918
|
+
touched = _useState6[0],
|
|
15919
|
+
setTouched = _useState6[1];
|
|
15920
|
+
|
|
15921
|
+
var setSearch = function setSearch(value) {
|
|
15922
|
+
_setSearch(value);
|
|
15923
|
+
|
|
15924
|
+
setPage(1);
|
|
15925
|
+
};
|
|
15926
|
+
|
|
15927
|
+
var onSearch = React.useCallback(function () {
|
|
15928
|
+
try {
|
|
15929
|
+
return Promise.resolve(getOptions(search, page)).then(function (_ref) {
|
|
15930
|
+
var newOptions = _ref.options,
|
|
15931
|
+
lastPage = _ref.lastPage;
|
|
15932
|
+
setLastPage(lastPage);
|
|
15933
|
+
setOptions([].concat(newOptions));
|
|
15934
|
+
setLoading(false);
|
|
15935
|
+
});
|
|
15936
|
+
} catch (e) {
|
|
15937
|
+
return Promise.reject(e);
|
|
15938
|
+
}
|
|
15939
|
+
}, [item, search, page]);
|
|
15940
|
+
React.useEffect(function () {
|
|
15941
|
+
setOptions([]);
|
|
15942
|
+
setSearch('');
|
|
15943
|
+
setTouched(false);
|
|
15944
|
+
}, [item]);
|
|
15945
|
+
React.useEffect(function () {
|
|
15946
|
+
if (isDynamic && !touched) {
|
|
15947
|
+
setLoading(false);
|
|
15948
|
+
return;
|
|
15949
|
+
}
|
|
15950
|
+
|
|
15951
|
+
setLoading(true);
|
|
15952
|
+
var timeoutId = setTimeout(function () {
|
|
15953
|
+
return onSearch();
|
|
15954
|
+
}, 250);
|
|
15955
|
+
return function () {
|
|
15956
|
+
return clearTimeout(timeoutId);
|
|
15957
|
+
};
|
|
15958
|
+
}, [touched, onSearch]);
|
|
15959
|
+
|
|
15960
|
+
var onClickOption = function onClickOption(index) {
|
|
15961
|
+
var option = options[index];
|
|
15962
|
+
setAppliedFilters(function (prev) {
|
|
15963
|
+
var newState = [].concat(prev);
|
|
15964
|
+
var index = newState.findIndex(function (filter) {
|
|
15965
|
+
return filter.name === item.name;
|
|
15966
|
+
});
|
|
15967
|
+
|
|
15968
|
+
if (index !== -1) {
|
|
15969
|
+
if (newState[index].value === option.value) return prev;
|
|
15970
|
+
newState[index].value = option.value;
|
|
15971
|
+
return [].concat(newState);
|
|
15972
|
+
}
|
|
15973
|
+
|
|
15974
|
+
newState.push({
|
|
15975
|
+
name: item.name,
|
|
15976
|
+
labels: {
|
|
15977
|
+
filter: isString(item.label) ? {
|
|
15978
|
+
text: item.label,
|
|
15979
|
+
element: item.label
|
|
15980
|
+
} : item.label,
|
|
15981
|
+
option: isString(option.label) ? {
|
|
15982
|
+
text: option.label,
|
|
15983
|
+
element: option.label
|
|
15984
|
+
} : option.label
|
|
15985
|
+
},
|
|
15986
|
+
value: option.value
|
|
15987
|
+
});
|
|
15988
|
+
return newState;
|
|
15989
|
+
});
|
|
15990
|
+
};
|
|
15991
|
+
|
|
15992
|
+
var optionsParser = function optionsParser(option) {
|
|
15993
|
+
return {
|
|
15994
|
+
label: option.label,
|
|
15995
|
+
data: {
|
|
15996
|
+
value: option.value
|
|
15997
|
+
},
|
|
15998
|
+
onClick: onClickOption
|
|
15999
|
+
};
|
|
16000
|
+
};
|
|
16001
|
+
|
|
16002
|
+
var onScrollEnd = function onScrollEnd() {
|
|
16003
|
+
if (lastPage) return;
|
|
16004
|
+
setPage(function (prev) {
|
|
16005
|
+
return prev + 1;
|
|
16006
|
+
});
|
|
16007
|
+
};
|
|
16008
|
+
|
|
16009
|
+
var itemSpacing = item.optionSpacing || isDynamic ? 's3' : 's1';
|
|
16010
|
+
return React__default.createElement(Menu, {
|
|
16011
|
+
open: true,
|
|
16012
|
+
axis: 'x',
|
|
16013
|
+
options: options.map(optionsParser),
|
|
16014
|
+
close: close,
|
|
16015
|
+
width: isDynamic ? '275px' : '160px',
|
|
16016
|
+
height: '261px',
|
|
16017
|
+
containerSpacing: {
|
|
16018
|
+
top: 's3',
|
|
16019
|
+
left: 's1',
|
|
16020
|
+
bottom: isDynamic ? 's3' : 's1'
|
|
16021
|
+
},
|
|
16022
|
+
onScrollEnd: onScrollEnd,
|
|
16023
|
+
itemSpacing: {
|
|
16024
|
+
top: itemSpacing,
|
|
16025
|
+
left: 's1',
|
|
16026
|
+
bottom: itemSpacing
|
|
16027
|
+
},
|
|
16028
|
+
bordered: isDynamic,
|
|
16029
|
+
before: React__default.createElement(Header$a, {
|
|
16030
|
+
title: item.label,
|
|
16031
|
+
search: [search, setSearch],
|
|
16032
|
+
touched: [touched, setTouched],
|
|
16033
|
+
allowEmptySearch: item.allowEmptySearch,
|
|
16034
|
+
withSearch: isDynamic
|
|
16035
|
+
}),
|
|
16036
|
+
loading: loading,
|
|
16037
|
+
innerContent: isDynamic && options.length === 0 ? React__default.createElement(EmptyMessage, null, function () {
|
|
16038
|
+
if (search !== '') {
|
|
16039
|
+
return React__default.createElement(React__default.Fragment, null, "Nenhum resultado foi encontrado");
|
|
16040
|
+
}
|
|
16041
|
+
|
|
16042
|
+
return React__default.createElement(React__default.Fragment, null, "Utilize a busca para pesquisar por ", React__default.createElement("br", null), isString(item.label) ? item.label : item.label.text);
|
|
16043
|
+
}()) : undefined
|
|
16044
|
+
});
|
|
16045
|
+
};
|
|
16046
|
+
|
|
16047
|
+
var Filters = function Filters(props) {
|
|
16048
|
+
var open = props.open,
|
|
16049
|
+
close = props.close;
|
|
16050
|
+
|
|
16051
|
+
var _useState = React.useState(-1),
|
|
16052
|
+
active = _useState[0],
|
|
16053
|
+
setActive = _useState[1];
|
|
16054
|
+
|
|
16055
|
+
var items = props.items.map(function (item) {
|
|
16056
|
+
return {
|
|
16057
|
+
label: item.label,
|
|
16058
|
+
delimiter: item.delimiter,
|
|
16059
|
+
keepOpen: true,
|
|
16060
|
+
caret: true,
|
|
16061
|
+
onClick: function onClick(index) {
|
|
16062
|
+
setActive(function (prev) {
|
|
16063
|
+
return prev === index ? -1 : index;
|
|
16064
|
+
});
|
|
16065
|
+
}
|
|
16066
|
+
};
|
|
16067
|
+
});
|
|
16068
|
+
var selected = active >= 0 && active < props.items.length ? props.items[active] : null;
|
|
16069
|
+
React.useEffect(function () {
|
|
16070
|
+
if (open) return;
|
|
16071
|
+
setActive(-1);
|
|
16072
|
+
}, [open]);
|
|
16073
|
+
return React__default.createElement(Menu, {
|
|
16074
|
+
open: open,
|
|
16075
|
+
options: items,
|
|
16076
|
+
close: close,
|
|
16077
|
+
width: '160px',
|
|
16078
|
+
height: '261px',
|
|
16079
|
+
containerSpacing: {
|
|
16080
|
+
top: 's1',
|
|
16081
|
+
left: 's1',
|
|
16082
|
+
bottom: 's1'
|
|
16083
|
+
},
|
|
16084
|
+
itemSpacing: {
|
|
16085
|
+
top: 's1',
|
|
16086
|
+
left: 's1',
|
|
16087
|
+
bottom: 's1'
|
|
16088
|
+
}
|
|
16089
|
+
}, selected && React__default.createElement(Submenu, {
|
|
16090
|
+
item: selected,
|
|
16091
|
+
close: function close() {
|
|
16092
|
+
return setActive(-1);
|
|
16093
|
+
},
|
|
16094
|
+
setAppliedFilters: props.setAppliedFilters
|
|
16095
|
+
}));
|
|
16096
|
+
};
|
|
16097
|
+
|
|
16098
|
+
var _templateObject$H, _templateObject2$y, _templateObject3$x, _templateObject4$v;
|
|
16099
|
+
var Container$p = styled__default(AbsoluteContainer)(_templateObject$H || (_templateObject$H = _taggedTemplateLiteralLoose(["\n > div {\n padding: ", ";\n width: 100%;\n height: 100%;\n display: flex;\n flex-direction: column;\n }\n"])), function (_ref) {
|
|
16100
|
+
var s3 = _ref.theme.spacings.s3;
|
|
16101
|
+
return s3 + " 0 " + s3 + " " + s3;
|
|
16102
|
+
});
|
|
16103
|
+
var Header$b = styled__default.div(_templateObject2$y || (_templateObject2$y = _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 (_ref2) {
|
|
16104
|
+
var s3 = _ref2.theme.spacings.s3;
|
|
16105
|
+
return s3;
|
|
16106
|
+
}, function (_ref3) {
|
|
16107
|
+
var s3 = _ref3.theme.spacings.s3;
|
|
16108
|
+
return "0 " + s3 + " " + s3 + " 0";
|
|
16109
|
+
});
|
|
16110
|
+
var Title = styled__default.div(_templateObject3$x || (_templateObject3$x = _taggedTemplateLiteralLoose(["\n ", "\n color: ", ";\n"])), function (_ref4) {
|
|
16111
|
+
var useTypography = _ref4.theme.useTypography;
|
|
16112
|
+
return useTypography('p', {
|
|
16113
|
+
fontWeight: 'bold'
|
|
16114
|
+
});
|
|
16115
|
+
}, function (_ref5) {
|
|
16116
|
+
var getColor = _ref5.theme.getColor;
|
|
16117
|
+
return getColor('greyishBlue', 50);
|
|
16118
|
+
});
|
|
16119
|
+
var Item = styled__default.div(_templateObject4$v || (_templateObject4$v = _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 (_ref6) {
|
|
16120
|
+
var s1 = _ref6.theme.spacings.s1;
|
|
16121
|
+
return s1 + " " + s1 + " " + s1 + " 0";
|
|
16122
|
+
}, function (_ref7) {
|
|
16123
|
+
var getColor = _ref7.theme.getColor;
|
|
16124
|
+
return getColor('greyishBlue', 25);
|
|
16125
|
+
}, function (_ref8) {
|
|
16126
|
+
var useTypography = _ref8.theme.useTypography;
|
|
16127
|
+
return useTypography('p');
|
|
16128
|
+
}, function (_ref9) {
|
|
16129
|
+
var getColor = _ref9.theme.getColor;
|
|
16130
|
+
return getColor('greyishBlue', 50);
|
|
16131
|
+
}, function (_ref10) {
|
|
16132
|
+
var useTypography = _ref10.theme.useTypography;
|
|
16133
|
+
return useTypography('p');
|
|
16134
|
+
});
|
|
16135
|
+
|
|
16136
|
+
var AppliedFilters = function AppliedFilters(props) {
|
|
16137
|
+
var open = props.open,
|
|
16138
|
+
close = props.close,
|
|
16139
|
+
_props$appliedFilters = props.appliedFilters,
|
|
16140
|
+
appliedFilters = _props$appliedFilters[0],
|
|
16141
|
+
setAppliedFilters = _props$appliedFilters[1];
|
|
16142
|
+
|
|
16143
|
+
var _useState = React.useState(''),
|
|
16144
|
+
search = _useState[0],
|
|
16145
|
+
setSearch = _useState[1];
|
|
16146
|
+
|
|
16147
|
+
var _useState2 = React.useState(''),
|
|
16148
|
+
searched = _useState2[0],
|
|
16149
|
+
setSearched = _useState2[1];
|
|
16150
|
+
|
|
16151
|
+
React.useEffect(function () {
|
|
16152
|
+
setSearch('');
|
|
16153
|
+
setSearched('');
|
|
16154
|
+
}, [open]);
|
|
16155
|
+
if (!open) return React__default.createElement(React__default.Fragment, null);
|
|
16156
|
+
|
|
16157
|
+
var onClear = function onClear() {
|
|
16158
|
+
setAppliedFilters([]);
|
|
16159
|
+
close();
|
|
16160
|
+
};
|
|
16161
|
+
|
|
16162
|
+
var onSubmitSearch = function onSubmitSearch() {
|
|
16163
|
+
setSearched(search);
|
|
16164
|
+
};
|
|
16165
|
+
|
|
16166
|
+
var onClearSearch = function onClearSearch() {
|
|
16167
|
+
setSearch('');
|
|
16168
|
+
setSearched('');
|
|
16169
|
+
};
|
|
16170
|
+
|
|
16171
|
+
var onRemove = function onRemove(name) {
|
|
16172
|
+
setAppliedFilters(function (prev) {
|
|
16173
|
+
return prev.filter(function (e) {
|
|
16174
|
+
return e.name !== name;
|
|
16175
|
+
});
|
|
16176
|
+
});
|
|
16177
|
+
};
|
|
16178
|
+
|
|
16179
|
+
return React__default.createElement(Container$p, {
|
|
16180
|
+
width: '275px',
|
|
16181
|
+
height: '261px'
|
|
16182
|
+
}, React__default.createElement(Header$b, null, React__default.createElement("div", null, React__default.createElement(Title, null, "Filtros Aplicados"), React__default.createElement(Button$1, {
|
|
16183
|
+
type: 'button',
|
|
16184
|
+
onClick: onClear,
|
|
16185
|
+
appearance: 'link'
|
|
16186
|
+
}, "Limpar Todos")), React__default.createElement(Input$3, {
|
|
16187
|
+
type: 'search',
|
|
16188
|
+
placeholder: 'Pesquisar',
|
|
16189
|
+
setValue: setSearch,
|
|
16190
|
+
value: search,
|
|
16191
|
+
onPressEnter: onSubmitSearch,
|
|
16192
|
+
icon: {
|
|
16193
|
+
icon: {
|
|
16194
|
+
type: 'feather',
|
|
16195
|
+
icon: 'search'
|
|
16196
|
+
},
|
|
16197
|
+
onClick: onSubmitSearch
|
|
16198
|
+
},
|
|
16199
|
+
clearable: search !== '' && search === searched ? onClearSearch : undefined
|
|
16200
|
+
})), React__default.createElement(ScrollContainer, null, appliedFilters.filter(function (_ref) {
|
|
16201
|
+
var _ref$labels = _ref.labels,
|
|
16202
|
+
filter = _ref$labels.filter.text,
|
|
16203
|
+
option = _ref$labels.option.text;
|
|
16204
|
+
return strCmp(filter, searched, {
|
|
16205
|
+
contain: true
|
|
16206
|
+
}) || strCmp(option, searched, {
|
|
16207
|
+
contain: true
|
|
16208
|
+
});
|
|
16209
|
+
}).map(function (_ref2, index) {
|
|
16210
|
+
var _ref2$labels = _ref2.labels,
|
|
16211
|
+
filter = _ref2$labels.filter.element,
|
|
16212
|
+
option = _ref2$labels.option.element,
|
|
16213
|
+
name = _ref2.name;
|
|
16214
|
+
return React__default.createElement(Item, {
|
|
16215
|
+
key: index
|
|
16216
|
+
}, React__default.createElement("div", null, React__default.createElement("div", null, filter), React__default.createElement("div", null, option)), React__default.createElement("div", null, React__default.createElement(Icon, {
|
|
16217
|
+
type: 'feather',
|
|
16218
|
+
icon: 'minus_circle',
|
|
16219
|
+
width: '12px',
|
|
16220
|
+
height: '12px',
|
|
16221
|
+
color: 'darkSilver',
|
|
16222
|
+
onClick: function onClick() {
|
|
16223
|
+
return onRemove(name);
|
|
16224
|
+
}
|
|
16225
|
+
})));
|
|
16226
|
+
})));
|
|
16227
|
+
};
|
|
16228
|
+
|
|
15711
16229
|
var theme = {
|
|
15712
16230
|
sizes: sizes,
|
|
15713
16231
|
fontSizes: fontSizes
|
|
@@ -15717,14 +16235,14 @@ var theme$1 = {
|
|
|
15717
16235
|
button: theme
|
|
15718
16236
|
};
|
|
15719
16237
|
|
|
15720
|
-
var _templateObject$
|
|
15721
|
-
var FontStyles = styled.createGlobalStyle(_templateObject$
|
|
16238
|
+
var _templateObject$I;
|
|
16239
|
+
var FontStyles = styled.createGlobalStyle(_templateObject$I || (_templateObject$I = _taggedTemplateLiteralLoose(["\n"])));
|
|
15722
16240
|
|
|
15723
16241
|
var Globals = function Globals() {
|
|
15724
16242
|
return React__default.createElement(React__default.Fragment, null, React__default.createElement(FontStyles, null));
|
|
15725
16243
|
};
|
|
15726
16244
|
|
|
15727
|
-
var _templateObject$
|
|
16245
|
+
var _templateObject$J;
|
|
15728
16246
|
|
|
15729
16247
|
var getColor$1 = function getColor(color, opacity) {
|
|
15730
16248
|
if (opacity === void 0) {
|
|
@@ -15734,12 +16252,16 @@ var getColor$1 = function getColor(color, opacity) {
|
|
|
15734
16252
|
return "" + colors[color] + opacities[opacity];
|
|
15735
16253
|
};
|
|
15736
16254
|
|
|
15737
|
-
var useTypography = function useTypography(typography) {
|
|
16255
|
+
var useTypography = function useTypography(typography, options) {
|
|
16256
|
+
if (options === void 0) {
|
|
16257
|
+
options = {};
|
|
16258
|
+
}
|
|
16259
|
+
|
|
15738
16260
|
var _typographies$typogra = typographies[typography],
|
|
15739
16261
|
fontFamily = _typographies$typogra.fontFamily,
|
|
15740
16262
|
fontWeight = _typographies$typogra.fontWeight,
|
|
15741
16263
|
fontSize = _typographies$typogra.fontSize;
|
|
15742
|
-
return styled.css(_templateObject$
|
|
16264
|
+
return styled.css(_templateObject$J || (_templateObject$J = _taggedTemplateLiteralLoose(["\n font-family: ", ";\n font-weight: ", ";\n font-size: ", ";\n "])), fontFamily, options.fontWeight || fontWeight, fontSize);
|
|
15743
16265
|
};
|
|
15744
16266
|
|
|
15745
16267
|
var isDarkColor = function isDarkColor(color, ifDark, ifLight) {
|
|
@@ -15794,11 +16316,13 @@ Object.keys(reactCalendar).forEach(function (k) {
|
|
|
15794
16316
|
});
|
|
15795
16317
|
exports.MwCalendar = reactCalendar;
|
|
15796
16318
|
exports.MwAbsoluteContainer = AbsoluteContainer;
|
|
16319
|
+
exports.MwAppliedFilters = AppliedFilters;
|
|
15797
16320
|
exports.MwButton = Button$1;
|
|
15798
16321
|
exports.MwCalendarInterval = CalendarInterval;
|
|
15799
16322
|
exports.MwCard = Card;
|
|
15800
16323
|
exports.MwDatePicker = Calendar;
|
|
15801
16324
|
exports.MwEllipsisContainer = EllipsisContainer$1;
|
|
16325
|
+
exports.MwFilters = Filters;
|
|
15802
16326
|
exports.MwIcon = Icon;
|
|
15803
16327
|
exports.MwIndicator = Indicator;
|
|
15804
16328
|
exports.MwInput = Input$3;
|