@app-studio/web 0.8.16 → 0.8.18
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/Icon/Icon.d.ts +57 -0
- package/dist/components/Layout/Center/Center/Center.view.d.ts +2 -2
- package/dist/components/Layout/Horizontal/Horizontal/Horizontal.view.d.ts +2 -2
- package/dist/components/Layout/Horizontal/Horizontal.d.ts +2 -2
- package/dist/components/Layout/Vertical/Vertical/Vertical.view.d.ts +2 -2
- package/dist/components/Layout/View/View.d.ts +1 -1
- package/dist/components/index.d.ts +2 -0
- package/dist/pages/icon.page.d.ts +3 -0
- package/dist/web.cjs.development.js +1394 -779
- package/dist/web.cjs.development.js.map +1 -1
- package/dist/web.cjs.production.min.js +1 -1
- package/dist/web.cjs.production.min.js.map +1 -1
- package/dist/web.esm.js +1393 -780
- package/dist/web.esm.js.map +1 -1
- package/dist/web.umd.development.js +1396 -783
- package/dist/web.umd.development.js.map +1 -1
- package/dist/web.umd.production.min.js +1 -1
- package/dist/web.umd.production.min.js.map +1 -1
- package/package.json +2 -2
- package/dist/components/Svg/ArrowDown.d.ts +0 -8
- package/dist/components/Svg/ArrowUp.d.ts +0 -8
- package/dist/components/Svg/Check.d.ts +0 -8
- package/dist/components/Svg/Close.d.ts +0 -8
- package/dist/components/Svg/CloseEye.d.ts +0 -8
- package/dist/components/Svg/DustBin.d.ts +0 -8
- package/dist/components/Svg/Edit.d.ts +0 -8
- package/dist/components/Svg/Error.d.ts +0 -8
- package/dist/components/Svg/ExternalLink.d.ts +0 -8
- package/dist/components/Svg/Indeterminate.d.ts +0 -8
- package/dist/components/Svg/Info.d.ts +0 -8
- package/dist/components/Svg/OpenEye.d.ts +0 -8
- package/dist/components/Svg/Plus.d.ts +0 -8
- package/dist/components/Svg/Profile.d.ts +0 -8
- package/dist/components/Svg/RightArrow.d.ts +0 -8
- package/dist/components/Svg/Search.d.ts +0 -8
- package/dist/components/Svg/Success.d.ts +0 -8
- package/dist/components/Svg/Tick.d.ts +0 -8
- package/dist/components/Svg/Warning.d.ts +0 -8
- package/dist/components/Svg/index.d.ts +0 -16
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('core-js/modules/es.symbol.description.js'), require('react'), require('core-js/modules/es.object.assign.js'), require('app-studio'), require('core-js/modules/es.array.iterator.js'), require('core-js/modules/es.parse-float.js'), require('core-js/modules/web.dom-collections.iterator.js'), require('react-router-dom'), require('core-js/modules/es.array.includes.js'), require('core-js/modules/es.string.includes.js'), require('core-js/modules/es.string.starts-with.js'), require('date-fns/format'), require('formik'), require('zustand')) :
|
|
3
|
-
typeof define === 'function' && define.amd ? define(['exports', 'core-js/modules/es.symbol.description.js', 'react', 'core-js/modules/es.object.assign.js', 'app-studio', 'core-js/modules/es.array.iterator.js', 'core-js/modules/es.parse-float.js', 'core-js/modules/web.dom-collections.iterator.js', 'react-router-dom', 'core-js/modules/es.array.includes.js', 'core-js/modules/es.string.includes.js', 'core-js/modules/es.string.starts-with.js', 'date-fns/format', 'formik', 'zustand'], factory) :
|
|
4
|
-
(global = global || self, factory(global['@app-studio/web'] = {}, null, global.React, null, global.appStudio, null, null, null, global.reactRouterDom, null, null, null, global.format, global.formik, global.zustand));
|
|
5
|
-
}(this, (function (exports, es_symbol_description_js, React, es_object_assign_js, appStudio, es_array_iterator_js, es_parseFloat_js, web_domCollections_iterator_js, reactRouterDom, es_array_includes_js, es_string_includes_js, es_string_startsWith_js, format, formik, zustand) { 'use strict';
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('core-js/modules/es.symbol.description.js'), require('react'), require('core-js/modules/es.object.assign.js'), require('app-studio'), require('core-js/modules/es.array.iterator.js'), require('core-js/modules/es.parse-float.js'), require('core-js/modules/web.dom-collections.iterator.js'), require('react-router-dom'), require('core-js/modules/es.array.includes.js'), require('core-js/modules/es.string.includes.js'), require('core-js/modules/es.string.starts-with.js'), require('src/components/Icon/Icon'), require('date-fns/format'), require('formik'), require('zustand'), require('src/components/Layout')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define(['exports', 'core-js/modules/es.symbol.description.js', 'react', 'core-js/modules/es.object.assign.js', 'app-studio', 'core-js/modules/es.array.iterator.js', 'core-js/modules/es.parse-float.js', 'core-js/modules/web.dom-collections.iterator.js', 'react-router-dom', 'core-js/modules/es.array.includes.js', 'core-js/modules/es.string.includes.js', 'core-js/modules/es.string.starts-with.js', 'src/components/Icon/Icon', 'date-fns/format', 'formik', 'zustand', 'src/components/Layout'], factory) :
|
|
4
|
+
(global = global || self, factory(global['@app-studio/web'] = {}, null, global.React, null, global.appStudio, null, null, null, global.reactRouterDom, null, null, null, global.Icon$1, global.format, global.formik, global.zustand, global.Layout));
|
|
5
|
+
}(this, (function (exports, es_symbol_description_js, React, es_object_assign_js, appStudio, es_array_iterator_js, es_parseFloat_js, web_domCollections_iterator_js, reactRouterDom, es_array_includes_js, es_string_includes_js, es_string_startsWith_js, Icon$1, format, formik, zustand, Layout) { 'use strict';
|
|
6
6
|
|
|
7
7
|
var React__default = 'default' in React ? React['default'] : React;
|
|
8
8
|
format = format && Object.prototype.hasOwnProperty.call(format, 'default') ? format['default'] : format;
|
|
@@ -37,33 +37,33 @@
|
|
|
37
37
|
|
|
38
38
|
var HeadingSizes = {
|
|
39
39
|
h1: {
|
|
40
|
-
fontSize: 96,
|
|
41
|
-
lineHeight: 112,
|
|
42
|
-
letterSpacing: -1.5
|
|
43
|
-
},
|
|
44
|
-
h2: {
|
|
45
40
|
fontSize: 60,
|
|
46
41
|
lineHeight: 71,
|
|
47
42
|
letterSpacing: -0.5
|
|
48
43
|
},
|
|
49
|
-
|
|
44
|
+
h2: {
|
|
50
45
|
fontSize: 48,
|
|
51
46
|
lineHeight: 57,
|
|
52
47
|
letterSpacing: 0
|
|
53
48
|
},
|
|
54
|
-
|
|
49
|
+
h3: {
|
|
55
50
|
fontSize: 34,
|
|
56
51
|
lineHeight: 40,
|
|
57
52
|
letterSpacing: 0.25
|
|
58
53
|
},
|
|
59
|
-
|
|
54
|
+
h4: {
|
|
60
55
|
fontSize: 24,
|
|
61
56
|
lineHeight: 28,
|
|
62
57
|
letterSpacing: 0
|
|
63
58
|
},
|
|
59
|
+
h5: {
|
|
60
|
+
fontSize: 18,
|
|
61
|
+
lineHeight: 22,
|
|
62
|
+
letterSpacing: 0.15
|
|
63
|
+
},
|
|
64
64
|
h6: {
|
|
65
|
-
fontSize:
|
|
66
|
-
lineHeight:
|
|
65
|
+
fontSize: 14,
|
|
66
|
+
lineHeight: 18,
|
|
67
67
|
letterSpacing: 0.15
|
|
68
68
|
}
|
|
69
69
|
};
|
|
@@ -158,12 +158,11 @@
|
|
|
158
158
|
var Text = TextComponent;
|
|
159
159
|
|
|
160
160
|
var _excluded$1 = ["justifyContent", "isReversed"];
|
|
161
|
-
|
|
162
|
-
var VerticalView = _ref => {
|
|
161
|
+
var VerticalView = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
163
162
|
var {
|
|
164
|
-
// Sets a default alignment for content within the
|
|
163
|
+
// Sets a default alignment for content within the Vertical container to 'flex-start'
|
|
165
164
|
justifyContent = 'flex-start',
|
|
166
|
-
// Determines the direction in which the
|
|
165
|
+
// Determines the direction in which the Vertical elements are stacked, default not reversed
|
|
167
166
|
isReversed = false
|
|
168
167
|
} = _ref,
|
|
169
168
|
props = _objectWithoutPropertiesLoose(_ref, _excluded$1);
|
|
@@ -171,447 +170,1083 @@
|
|
|
171
170
|
display: "flex",
|
|
172
171
|
justifyContent: justifyContent,
|
|
173
172
|
flexDirection: isReversed ? 'column-reverse' : 'column'
|
|
174
|
-
}, props
|
|
175
|
-
|
|
173
|
+
}, props, {
|
|
174
|
+
ref: ref
|
|
175
|
+
}));
|
|
176
|
+
});
|
|
177
|
+
VerticalView.displayName = 'VerticalView';
|
|
176
178
|
|
|
177
|
-
|
|
178
|
-
var VerticalComponent = props => (
|
|
179
|
-
/*#__PURE__*/
|
|
180
|
-
// Renders the VerticalView component, passing all of the received props through to it.
|
|
181
|
-
React__default.createElement(VerticalView, Object.assign({}, props)));
|
|
182
|
-
// Exports the VerticalComponent as Vertical for use in other parts of the application.
|
|
183
|
-
var Vertical = VerticalComponent;
|
|
179
|
+
var Vertical = props => (/*#__PURE__*/React__default.createElement(VerticalView, Object.assign({}, props)));
|
|
184
180
|
|
|
185
|
-
|
|
186
|
-
var
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
181
|
+
var _excluded$2 = ["justifyContent", "isReversed"];
|
|
182
|
+
var HorizontalView = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
183
|
+
var {
|
|
184
|
+
// Sets a default alignment for content within the Horizontal container to 'flex-start'
|
|
185
|
+
justifyContent = 'flex-start',
|
|
186
|
+
// Determines the direction in which the Horizontal elements are stacked, default not reversed
|
|
187
|
+
isReversed = false
|
|
188
|
+
} = _ref,
|
|
189
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$2);
|
|
190
|
+
return /*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
|
|
191
|
+
display: "flex",
|
|
192
|
+
justifyContent: justifyContent,
|
|
193
|
+
flexDirection: isReversed ? 'row-reverse' : 'row'
|
|
194
|
+
}, props, {
|
|
195
|
+
ref: ref
|
|
196
|
+
}));
|
|
197
|
+
});
|
|
198
|
+
HorizontalView.displayName = 'Horizontal';
|
|
192
199
|
|
|
193
|
-
|
|
194
|
-
var CenterView = props => (
|
|
195
|
-
/*#__PURE__*/
|
|
196
|
-
// Renders a 'View' component with display flex and center alignment applied on both axes, passing all received props.
|
|
197
|
-
React__default.createElement(appStudio.View, Object.assign({
|
|
198
|
-
display: "flex",
|
|
199
|
-
justifyContent: "center",
|
|
200
|
-
alignItems: "center"
|
|
201
|
-
}, props)));
|
|
200
|
+
var Horizontal = props => (/*#__PURE__*/React__default.createElement(HorizontalView, Object.assign({}, props)));
|
|
202
201
|
|
|
203
|
-
|
|
204
|
-
var
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
202
|
+
var _excluded$3 = ["isReversed"];
|
|
203
|
+
var CenterView = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
204
|
+
var props = _objectWithoutPropertiesLoose(_ref, _excluded$3);
|
|
205
|
+
return /*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
|
|
206
|
+
display: "flex",
|
|
207
|
+
justifyContent: "center",
|
|
208
|
+
alignItems: "center"
|
|
209
|
+
}, props, {
|
|
210
|
+
ref: ref
|
|
211
|
+
}));
|
|
212
|
+
});
|
|
213
|
+
CenterView.displayName = 'Center';
|
|
214
|
+
|
|
215
|
+
var Center = props => (/*#__PURE__*/React__default.createElement(CenterView, Object.assign({}, props)));
|
|
210
216
|
|
|
211
|
-
var _excluded$
|
|
212
|
-
|
|
217
|
+
var _excluded$4 = ["size", "color"],
|
|
218
|
+
_excluded2 = ["size", "color"],
|
|
219
|
+
_excluded3 = ["size", "color"],
|
|
220
|
+
_excluded4 = ["size", "color"],
|
|
221
|
+
_excluded5 = ["size", "color"],
|
|
222
|
+
_excluded6 = ["size", "color"],
|
|
223
|
+
_excluded7 = ["size", "color"],
|
|
224
|
+
_excluded8 = ["size", "color"],
|
|
225
|
+
_excluded9 = ["size", "color"],
|
|
226
|
+
_excluded10 = ["size", "color"],
|
|
227
|
+
_excluded11 = ["size", "color"],
|
|
228
|
+
_excluded12 = ["size", "color"],
|
|
229
|
+
_excluded13 = ["size", "color"],
|
|
230
|
+
_excluded14 = ["size", "color"],
|
|
231
|
+
_excluded15 = ["size", "color"],
|
|
232
|
+
_excluded16 = ["size", "color"],
|
|
233
|
+
_excluded17 = ["size", "color"],
|
|
234
|
+
_excluded18 = ["size", "color"],
|
|
235
|
+
_excluded19 = ["size", "color"],
|
|
236
|
+
_excluded20 = ["size", "color"],
|
|
237
|
+
_excluded21 = ["size", "color"],
|
|
238
|
+
_excluded22 = ["size", "color"],
|
|
239
|
+
_excluded23 = ["size", "color"],
|
|
240
|
+
_excluded24 = ["size", "color"],
|
|
241
|
+
_excluded25 = ["size", "color"],
|
|
242
|
+
_excluded26 = ["size", "color"],
|
|
243
|
+
_excluded27 = ["size", "color"],
|
|
244
|
+
_excluded28 = ["size", "color"],
|
|
245
|
+
_excluded29 = ["size", "color"],
|
|
246
|
+
_excluded30 = ["size", "color"],
|
|
247
|
+
_excluded31 = ["size", "color"],
|
|
248
|
+
_excluded32 = ["size", "color"],
|
|
249
|
+
_excluded33 = ["size", "color"],
|
|
250
|
+
_excluded34 = ["size", "color"],
|
|
251
|
+
_excluded35 = ["size", "color"],
|
|
252
|
+
_excluded36 = ["size", "color"],
|
|
253
|
+
_excluded37 = ["size", "color"],
|
|
254
|
+
_excluded38 = ["size", "color"],
|
|
255
|
+
_excluded39 = ["size", "color"],
|
|
256
|
+
_excluded40 = ["size", "color"],
|
|
257
|
+
_excluded41 = ["size", "color"],
|
|
258
|
+
_excluded42 = ["size", "color"],
|
|
259
|
+
_excluded43 = ["size", "color"],
|
|
260
|
+
_excluded44 = ["size", "color"],
|
|
261
|
+
_excluded45 = ["size", "color"],
|
|
262
|
+
_excluded46 = ["size", "color"],
|
|
263
|
+
_excluded47 = ["size", "color"],
|
|
264
|
+
_excluded48 = ["size", "color"],
|
|
265
|
+
_excluded49 = ["size", "color"],
|
|
266
|
+
_excluded50 = ["size", "color"];
|
|
267
|
+
// Default wrapper component for consistent sizing
|
|
268
|
+
var IconWrapper = _ref => {
|
|
213
269
|
var {
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
270
|
+
size,
|
|
271
|
+
color = 'black',
|
|
272
|
+
transform,
|
|
273
|
+
orientation,
|
|
274
|
+
children
|
|
275
|
+
} = _ref;
|
|
218
276
|
return /*#__PURE__*/React__default.createElement(Center, {
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
fill: "
|
|
239
|
-
|
|
240
|
-
}, /*#__PURE__*/React__default.createElement("g", {
|
|
241
|
-
id: "Dribbble-Light-Preview",
|
|
242
|
-
transform: "translate(-220.000000, -6684.000000)",
|
|
243
|
-
fill: "#000000"
|
|
244
|
-
}, /*#__PURE__*/React__default.createElement("g", {
|
|
245
|
-
id: "icons",
|
|
246
|
-
transform: "translate(56.000000, 160.000000)"
|
|
277
|
+
size: size,
|
|
278
|
+
lineHeight: size,
|
|
279
|
+
color: color,
|
|
280
|
+
display: "flex",
|
|
281
|
+
transform: transform ? transform : orientation == 'left' ? 'rotate(-90deg)' : orientation == 'right' ? 'rotate(90deg)' : orientation == 'up' ? 'rotate(0deg)' : orientation == 'down' ? 'rotate(180deg)' : 'none'
|
|
282
|
+
}, children);
|
|
283
|
+
};
|
|
284
|
+
var ChevronIcon = _ref2 => {
|
|
285
|
+
var {
|
|
286
|
+
size = 24,
|
|
287
|
+
color = 'currentColor'
|
|
288
|
+
} = _ref2,
|
|
289
|
+
props = _objectWithoutPropertiesLoose(_ref2, _excluded$4);
|
|
290
|
+
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
291
|
+
size: size,
|
|
292
|
+
color: color
|
|
293
|
+
}, props), /*#__PURE__*/React__default.createElement("svg", {
|
|
294
|
+
width: "16",
|
|
295
|
+
height: "16",
|
|
296
|
+
fill: "currentColor",
|
|
297
|
+
viewBox: "0 0 24 24"
|
|
247
298
|
}, /*#__PURE__*/React__default.createElement("path", {
|
|
248
|
-
d: "
|
|
249
|
-
|
|
250
|
-
})))))));
|
|
299
|
+
d: "M12.771 7.115a.829.829 0 0 0-1.2 0L3 15.686l1.2 1.2 7.971-7.971 7.972 7.971 1.2-1.2-8.572-8.571Z"
|
|
300
|
+
})));
|
|
251
301
|
};
|
|
252
|
-
|
|
253
|
-
var _excluded$3 = ["size", "color"];
|
|
254
|
-
var ArrowUpSvg = _ref => {
|
|
302
|
+
var CheckIcon = _ref3 => {
|
|
255
303
|
var {
|
|
256
|
-
size =
|
|
257
|
-
color = '
|
|
258
|
-
} =
|
|
259
|
-
props = _objectWithoutPropertiesLoose(
|
|
260
|
-
return /*#__PURE__*/React__default.createElement(
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
}, /*#__PURE__*/React__default.createElement("svg",
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
id: "SVGRepo_bgCarrier",
|
|
271
|
-
strokeWidth: "0"
|
|
272
|
-
}), /*#__PURE__*/React__default.createElement("g", {
|
|
273
|
-
id: "SVGRepo_tracerCarrier",
|
|
304
|
+
size = 24,
|
|
305
|
+
color = 'currentColor'
|
|
306
|
+
} = _ref3,
|
|
307
|
+
props = _objectWithoutPropertiesLoose(_ref3, _excluded2);
|
|
308
|
+
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
309
|
+
size: size,
|
|
310
|
+
color: color
|
|
311
|
+
}, props), /*#__PURE__*/React__default.createElement("svg", {
|
|
312
|
+
viewBox: "0 0 24 24",
|
|
313
|
+
fill: "none",
|
|
314
|
+
stroke: 'currentColor',
|
|
315
|
+
strokeWidth: "1"
|
|
316
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
317
|
+
d: "M17.0001 9L10 16L7 13",
|
|
274
318
|
strokeLinecap: "round",
|
|
275
319
|
strokeLinejoin: "round"
|
|
276
|
-
})
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
320
|
+
})));
|
|
321
|
+
};
|
|
322
|
+
var CloseIcon = _ref4 => {
|
|
323
|
+
var {
|
|
324
|
+
size = 24,
|
|
325
|
+
color = 'currentColor'
|
|
326
|
+
} = _ref4,
|
|
327
|
+
props = _objectWithoutPropertiesLoose(_ref4, _excluded3);
|
|
328
|
+
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
329
|
+
size: size,
|
|
330
|
+
color: color
|
|
331
|
+
}, props), /*#__PURE__*/React__default.createElement("svg", {
|
|
332
|
+
viewBox: "0 0 24 24",
|
|
333
|
+
fill: 'currentColor'
|
|
334
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
335
|
+
d: "M18.3 5.71a.996.996 0 0 0-1.41 0L12 10.59 7.11 5.7A.996.996 0 1 0 5.7 7.11L10.59 12 5.7 16.89a.996.996 0 1 0 1.41 1.41L12 13.41l4.89 4.89a.996.996 0 1 0 1.41-1.41L13.41 12l4.89-4.89c.38-.38.38-1.02 0-1.4z"
|
|
336
|
+
})));
|
|
337
|
+
};
|
|
338
|
+
var CloseEyeIcon = _ref5 => {
|
|
339
|
+
var {
|
|
340
|
+
size = 24,
|
|
341
|
+
color = 'currentColor'
|
|
342
|
+
} = _ref5,
|
|
343
|
+
props = _objectWithoutPropertiesLoose(_ref5, _excluded4);
|
|
344
|
+
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
345
|
+
size: size,
|
|
346
|
+
color: color
|
|
347
|
+
}, props), /*#__PURE__*/React__default.createElement("svg", {
|
|
348
|
+
viewBox: "0 0 24 24",
|
|
349
|
+
fill: color,
|
|
350
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
351
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
352
|
+
d: "M19.7071 5.70711C20.0976 5.31658 20.0976 4.68342 19.7071 4.29289C19.3166 3.90237 18.6834 3.90237 18.2929 4.29289L14.032 8.55382C13.4365 8.20193 12.7418 8 12 8C9.79086 8 8 9.79086 8 12C8 12.7418 8.20193 13.4365 8.55382 14.032L4.29289 18.2929C3.90237 18.6834 3.90237 19.3166 4.29289 19.7071C4.68342 20.0976 5.31658 20.0976 5.70711 19.7071L9.96803 15.4462C10.5635 15.7981 11.2582 16 12 16C14.2091 16 16 14.2091 16 12C16 11.2582 15.7981 10.5635 15.4462 9.96803L19.7071 5.70711ZM12.518 10.0677C12.3528 10.0236 12.1792 10 12 10C10.8954 10 10 10.8954 10 12C10 12.1792 10.0236 12.3528 10.0677 12.518L12.518 10.0677ZM11.482 13.9323L13.9323 11.482C13.9764 11.6472 14 11.8208 14 12C14 13.1046 13.1046 14 12 14C11.8208 14 11.6472 13.9764 11.482 13.9323ZM15.7651 4.8207C14.6287 4.32049 13.3675 4 12 4C9.14754 4 6.75717 5.39462 4.99812 6.90595C3.23268 8.42276 2.00757 10.1376 1.46387 10.9698C1.05306 11.5985 1.05306 12.4015 1.46387 13.0302C1.92276 13.7326 2.86706 15.0637 4.21194 16.3739L5.62626 14.9596C4.4555 13.8229 3.61144 12.6531 3.18002 12C3.6904 11.2274 4.77832 9.73158 6.30147 8.42294C7.87402 7.07185 9.81574 6 12 6C12.7719 6 13.5135 6.13385 14.2193 6.36658L15.7651 4.8207ZM12 18C11.2282 18 10.4866 17.8661 9.78083 17.6334L8.23496 19.1793C9.37136 19.6795 10.6326 20 12 20C14.8525 20 17.2429 18.6054 19.002 17.0941C20.7674 15.5772 21.9925 13.8624 22.5362 13.0302C22.947 12.4015 22.947 11.5985 22.5362 10.9698C22.0773 10.2674 21.133 8.93627 19.7881 7.62611L18.3738 9.04043C19.5446 10.1771 20.3887 11.3469 20.8201 12C20.3097 12.7726 19.2218 14.2684 17.6986 15.5771C16.1261 16.9282 14.1843 18 12 18Z",
|
|
353
|
+
fill: "currentColor"
|
|
354
|
+
})));
|
|
355
|
+
};
|
|
356
|
+
var DustBinIcon = _ref6 => {
|
|
357
|
+
var {
|
|
358
|
+
size = 24,
|
|
359
|
+
color = 'currentColor'
|
|
360
|
+
} = _ref6,
|
|
361
|
+
props = _objectWithoutPropertiesLoose(_ref6, _excluded5);
|
|
362
|
+
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
363
|
+
size: size,
|
|
364
|
+
color: color
|
|
365
|
+
}, props), /*#__PURE__*/React__default.createElement("svg", {
|
|
366
|
+
viewBox: "0 0 24 24",
|
|
367
|
+
fill: 'currentColor'
|
|
368
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
369
|
+
d: "M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM19 4h-3.5l-1-1h-5l-1 1H5v2h14V4z"
|
|
370
|
+
})));
|
|
371
|
+
};
|
|
372
|
+
var EditIcon = _ref7 => {
|
|
373
|
+
var {
|
|
374
|
+
size = 24,
|
|
375
|
+
color = 'currentColor'
|
|
376
|
+
} = _ref7,
|
|
377
|
+
props = _objectWithoutPropertiesLoose(_ref7, _excluded6);
|
|
378
|
+
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
379
|
+
size: size,
|
|
380
|
+
color: color
|
|
381
|
+
}, props), /*#__PURE__*/React__default.createElement("svg", {
|
|
382
|
+
viewBox: "0 0 24 24",
|
|
282
383
|
fill: "none",
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
id: "Dribbble-Light-Preview",
|
|
286
|
-
transform: "translate(-260.000000, -6684.000000)",
|
|
287
|
-
fill: "#000000"
|
|
288
|
-
}, /*#__PURE__*/React__default.createElement("g", {
|
|
289
|
-
id: "icons",
|
|
290
|
-
transform: "translate(56.000000, 160.000000)"
|
|
384
|
+
stroke: 'currentColor',
|
|
385
|
+
strokeWidth: "1"
|
|
291
386
|
}, /*#__PURE__*/React__default.createElement("path", {
|
|
292
|
-
d: "
|
|
293
|
-
|
|
294
|
-
})))))));
|
|
387
|
+
d: "M18.3785 8.44975L8.9636 17.8648C8.6844 18.144 8.3288 18.3343 7.94161 18.4117L4.99988 19.0001L5.58823 16.0583C5.66566 15.6711 5.85597 15.3155 6.13517 15.0363L15.5501 5.62132M18.3785 8.44975L19.7927 7.03553C20.1832 6.64501 20.1832 6.01184 19.7927 5.62132L18.3785 4.20711C17.988 3.81658 17.3548 3.81658 16.9643 4.20711L15.5501 5.62132M18.3785 8.44975L15.5501 5.62132"
|
|
388
|
+
})));
|
|
295
389
|
};
|
|
296
|
-
|
|
297
|
-
var _excluded$4 = ["size", "color"];
|
|
298
|
-
var CheckSvg = _ref => {
|
|
390
|
+
var ExternalLinkIcon = _ref8 => {
|
|
299
391
|
var {
|
|
300
|
-
size =
|
|
301
|
-
color = '
|
|
302
|
-
} =
|
|
303
|
-
props = _objectWithoutPropertiesLoose(
|
|
304
|
-
return /*#__PURE__*/React__default.createElement(
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
}, /*#__PURE__*/React__default.createElement("svg",
|
|
308
|
-
|
|
309
|
-
|
|
392
|
+
size = 24,
|
|
393
|
+
color = 'currentColor'
|
|
394
|
+
} = _ref8,
|
|
395
|
+
props = _objectWithoutPropertiesLoose(_ref8, _excluded7);
|
|
396
|
+
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
397
|
+
size: size,
|
|
398
|
+
color: color
|
|
399
|
+
}, props), /*#__PURE__*/React__default.createElement("svg", {
|
|
400
|
+
viewBox: "0 0 24 24",
|
|
401
|
+
fill: 'currentColor'
|
|
402
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
403
|
+
d: "M14 3h7v7h-2V5.41l-9.29 9.3-1.42-1.42 9.3-9.29H14V3ZM5 5h5v2H6v11h11v-4h2v5a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1Z"
|
|
404
|
+
})));
|
|
405
|
+
};
|
|
406
|
+
var MinusIcon = _ref9 => {
|
|
407
|
+
var {
|
|
408
|
+
size = 24,
|
|
409
|
+
color = 'currentColor'
|
|
410
|
+
} = _ref9,
|
|
411
|
+
props = _objectWithoutPropertiesLoose(_ref9, _excluded8);
|
|
412
|
+
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
413
|
+
padding: 2,
|
|
414
|
+
size: size,
|
|
415
|
+
color: color
|
|
416
|
+
}, props), /*#__PURE__*/React__default.createElement("svg", {
|
|
310
417
|
viewBox: "0 0 24 24",
|
|
311
418
|
fill: "none",
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
id: "SVGRepo_bgCarrier",
|
|
315
|
-
strokeWidth: "0"
|
|
316
|
-
}), /*#__PURE__*/React__default.createElement("g", {
|
|
317
|
-
id: "SVGRepo_tracerCarrier",
|
|
318
|
-
strokeLinecap: "round",
|
|
319
|
-
strokeLinejoin: "round",
|
|
320
|
-
stroke: "#CCCCCC",
|
|
321
|
-
strokeWidth: "0.048"
|
|
322
|
-
}), /*#__PURE__*/React__default.createElement("g", {
|
|
323
|
-
id: "SVGRepo_iconCarrier"
|
|
419
|
+
stroke: 'currentColor',
|
|
420
|
+
strokeWidth: "2"
|
|
324
421
|
}, /*#__PURE__*/React__default.createElement("path", {
|
|
325
|
-
d: "
|
|
326
|
-
stroke: color,
|
|
327
|
-
strokeWidth: "1.5",
|
|
422
|
+
d: "M7 12h10",
|
|
328
423
|
strokeLinecap: "round",
|
|
329
424
|
strokeLinejoin: "round"
|
|
330
|
-
})))
|
|
425
|
+
})));
|
|
331
426
|
};
|
|
332
|
-
|
|
333
|
-
var _excluded$5 = ["size", "color"];
|
|
334
|
-
var CloseSvg = _ref => {
|
|
427
|
+
var InfoIcon = _ref10 => {
|
|
335
428
|
var {
|
|
336
|
-
size =
|
|
337
|
-
color = '
|
|
338
|
-
} =
|
|
339
|
-
props = _objectWithoutPropertiesLoose(
|
|
340
|
-
return /*#__PURE__*/React__default.createElement(
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
}, /*#__PURE__*/React__default.createElement("svg",
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
viewBox: "0 0 1024 1024",
|
|
347
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
348
|
-
fill: "#000000"
|
|
349
|
-
}, props), /*#__PURE__*/React__default.createElement("g", {
|
|
350
|
-
id: "SVGRepo_bgCarrier",
|
|
351
|
-
strokeWidth: "0"
|
|
352
|
-
}), /*#__PURE__*/React__default.createElement("g", {
|
|
353
|
-
id: "SVGRepo_tracerCarrier",
|
|
354
|
-
strokeLinecap: "round",
|
|
355
|
-
strokeLinejoin: "round"
|
|
356
|
-
}), /*#__PURE__*/React__default.createElement("g", {
|
|
357
|
-
id: "SVGRepo_iconCarrier"
|
|
429
|
+
size = 24,
|
|
430
|
+
color = 'currentColor'
|
|
431
|
+
} = _ref10,
|
|
432
|
+
props = _objectWithoutPropertiesLoose(_ref10, _excluded9);
|
|
433
|
+
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
434
|
+
size: size,
|
|
435
|
+
color: color
|
|
436
|
+
}, props), /*#__PURE__*/React__default.createElement("svg", {
|
|
437
|
+
viewBox: "0 0 24 24",
|
|
438
|
+
fill: 'currentColor'
|
|
358
439
|
}, /*#__PURE__*/React__default.createElement("path", {
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
}))));
|
|
440
|
+
d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z"
|
|
441
|
+
})));
|
|
362
442
|
};
|
|
363
|
-
|
|
364
|
-
var _excluded$6 = ["size", "color"];
|
|
365
|
-
var CloseEyeSvg = _ref => {
|
|
443
|
+
var OpenEyeIcon = _ref11 => {
|
|
366
444
|
var {
|
|
367
|
-
size =
|
|
368
|
-
color = '
|
|
369
|
-
} =
|
|
370
|
-
props = _objectWithoutPropertiesLoose(
|
|
371
|
-
return /*#__PURE__*/React__default.createElement(
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
}, /*#__PURE__*/React__default.createElement("svg",
|
|
445
|
+
size = 24,
|
|
446
|
+
color = 'currentColor'
|
|
447
|
+
} = _ref11,
|
|
448
|
+
props = _objectWithoutPropertiesLoose(_ref11, _excluded10);
|
|
449
|
+
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
450
|
+
size: size,
|
|
451
|
+
color: color
|
|
452
|
+
}, props), /*#__PURE__*/React__default.createElement("svg", {
|
|
453
|
+
viewBox: "0 0 24 24",
|
|
454
|
+
fill: 'currentColor'
|
|
455
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
456
|
+
d: "M12 4C7 4 2.73 7.11 1 12c1.73 4.89 6 8 11 8s9.27-3.11 11-8c-1.73-4.89-6-8-11-8zm0 12.5c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z"
|
|
457
|
+
})));
|
|
458
|
+
};
|
|
459
|
+
var PlusIcon = _ref12 => {
|
|
460
|
+
var {
|
|
461
|
+
size = 24,
|
|
462
|
+
color = 'currentColor'
|
|
463
|
+
} = _ref12,
|
|
464
|
+
props = _objectWithoutPropertiesLoose(_ref12, _excluded11);
|
|
465
|
+
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
466
|
+
size: size,
|
|
467
|
+
color: color
|
|
468
|
+
}, props), /*#__PURE__*/React__default.createElement("svg", {
|
|
469
|
+
viewBox: "0 0 24 24",
|
|
470
|
+
fill: 'currentColor'
|
|
471
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
472
|
+
d: "M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
|
|
473
|
+
})));
|
|
474
|
+
};
|
|
475
|
+
var SpinnerIcon = _ref13 => {
|
|
476
|
+
var {
|
|
477
|
+
size = 24,
|
|
478
|
+
color = 'currentColor'
|
|
479
|
+
} = _ref13,
|
|
480
|
+
props = _objectWithoutPropertiesLoose(_ref13, _excluded12);
|
|
481
|
+
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
482
|
+
size: size,
|
|
483
|
+
color: color
|
|
484
|
+
}, props), /*#__PURE__*/React__default.createElement("svg", {
|
|
375
485
|
viewBox: "0 0 24 24",
|
|
376
486
|
fill: "none",
|
|
377
487
|
xmlns: "http://www.w3.org/2000/svg"
|
|
378
|
-
},
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
}), /*#__PURE__*/React__default.createElement("
|
|
386
|
-
|
|
488
|
+
}, /*#__PURE__*/React__default.createElement("circle", {
|
|
489
|
+
cx: "12",
|
|
490
|
+
cy: "12",
|
|
491
|
+
r: "10",
|
|
492
|
+
stroke: color,
|
|
493
|
+
strokeWidth: "2",
|
|
494
|
+
opacity: "0.3"
|
|
495
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
496
|
+
d: "M22 12a10 10 0 1 1-4.93-8.62",
|
|
497
|
+
stroke: color,
|
|
498
|
+
strokeWidth: "2",
|
|
499
|
+
strokeLinecap: "round"
|
|
500
|
+
})));
|
|
501
|
+
};
|
|
502
|
+
var ProfileIcon = _ref14 => {
|
|
503
|
+
var {
|
|
504
|
+
size = 24,
|
|
505
|
+
color = 'currentColor'
|
|
506
|
+
} = _ref14,
|
|
507
|
+
props = _objectWithoutPropertiesLoose(_ref14, _excluded13);
|
|
508
|
+
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
509
|
+
size: size,
|
|
510
|
+
color: color
|
|
511
|
+
}, props), /*#__PURE__*/React__default.createElement("svg", {
|
|
512
|
+
viewBox: "0 0 24 24",
|
|
513
|
+
fill: 'currentColor'
|
|
387
514
|
}, /*#__PURE__*/React__default.createElement("path", {
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
fill: color
|
|
392
|
-
}))));
|
|
515
|
+
fill: "currentColor",
|
|
516
|
+
d: "M12 13c-2.67 0-8 1.34-8 4v2c0 .55.45 1 1 1h14c.55 0 1-.45 1-1v-2c0-2.66-5.33-4-8-4zm0-9c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z M12 2C9.79 2 8 3.79 8 6s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4z M12 13c-2.67 0-8 1.34-8 4v3h16v-3c0-2.66-5.33-4-8-4z"
|
|
517
|
+
})));
|
|
393
518
|
};
|
|
394
|
-
|
|
395
|
-
var _excluded$7 = ["size", "color"];
|
|
396
|
-
var ExternalLinkSvg = _ref => {
|
|
519
|
+
var ArrowIcon = _ref15 => {
|
|
397
520
|
var {
|
|
398
|
-
size =
|
|
399
|
-
color = '
|
|
400
|
-
} =
|
|
401
|
-
props = _objectWithoutPropertiesLoose(
|
|
402
|
-
return /*#__PURE__*/React__default.createElement(
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
}, /*#__PURE__*/React__default.createElement("svg",
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
521
|
+
size = 24,
|
|
522
|
+
color = 'currentColor'
|
|
523
|
+
} = _ref15,
|
|
524
|
+
props = _objectWithoutPropertiesLoose(_ref15, _excluded14);
|
|
525
|
+
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
526
|
+
size: size,
|
|
527
|
+
color: color
|
|
528
|
+
}, props), /*#__PURE__*/React__default.createElement("svg", {
|
|
529
|
+
viewBox: "0 0 24 24",
|
|
530
|
+
fill: 'currentColor'
|
|
531
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
532
|
+
d: "M12 4l7 7h-4v7h-6v-7H5l7-7z"
|
|
533
|
+
})));
|
|
534
|
+
};
|
|
535
|
+
var SearchIcon = _ref16 => {
|
|
536
|
+
var {
|
|
537
|
+
size = 24,
|
|
538
|
+
color = 'currentColor'
|
|
539
|
+
} = _ref16,
|
|
540
|
+
props = _objectWithoutPropertiesLoose(_ref16, _excluded15);
|
|
541
|
+
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
542
|
+
size: size,
|
|
543
|
+
color: color
|
|
544
|
+
}, props), /*#__PURE__*/React__default.createElement("svg", {
|
|
545
|
+
viewBox: "0 0 24 24",
|
|
546
|
+
fill: 'currentColor'
|
|
547
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
548
|
+
d: "M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"
|
|
549
|
+
})));
|
|
550
|
+
};
|
|
551
|
+
var SuccessIcon = _ref17 => {
|
|
552
|
+
var {
|
|
553
|
+
size = 24,
|
|
554
|
+
color = 'currentColor'
|
|
555
|
+
} = _ref17,
|
|
556
|
+
props = _objectWithoutPropertiesLoose(_ref17, _excluded16);
|
|
557
|
+
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
558
|
+
size: size,
|
|
559
|
+
color: color
|
|
560
|
+
}, props), /*#__PURE__*/React__default.createElement("svg", {
|
|
561
|
+
viewBox: "0 0 24 24",
|
|
562
|
+
fill: 'currentColor'
|
|
563
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
564
|
+
d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"
|
|
565
|
+
})));
|
|
566
|
+
};
|
|
567
|
+
var TickIcon = _ref18 => {
|
|
568
|
+
var {
|
|
569
|
+
size = 24,
|
|
570
|
+
color = 'currentColor'
|
|
571
|
+
} = _ref18,
|
|
572
|
+
props = _objectWithoutPropertiesLoose(_ref18, _excluded17);
|
|
573
|
+
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
574
|
+
size: size,
|
|
575
|
+
color: color
|
|
576
|
+
}, props), /*#__PURE__*/React__default.createElement("svg", {
|
|
577
|
+
viewBox: "0 0 24 24",
|
|
578
|
+
fill: "none",
|
|
579
|
+
stroke: 'currentColor',
|
|
580
|
+
strokeWidth: "2"
|
|
581
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
582
|
+
d: "M5 13l4 4L19 7",
|
|
417
583
|
strokeLinecap: "round",
|
|
418
584
|
strokeLinejoin: "round"
|
|
419
|
-
})
|
|
420
|
-
|
|
585
|
+
})));
|
|
586
|
+
};
|
|
587
|
+
var NotificationIcon = _ref19 => {
|
|
588
|
+
var {
|
|
589
|
+
size = 24,
|
|
590
|
+
color = 'currentColor'
|
|
591
|
+
} = _ref19,
|
|
592
|
+
props = _objectWithoutPropertiesLoose(_ref19, _excluded18);
|
|
593
|
+
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
594
|
+
size: size,
|
|
595
|
+
color: color
|
|
596
|
+
}, props), /*#__PURE__*/React__default.createElement("svg", {
|
|
597
|
+
viewBox: "0 0 24 24",
|
|
598
|
+
fill: "none",
|
|
599
|
+
stroke: 'currentColor',
|
|
600
|
+
strokeWidth: "1"
|
|
421
601
|
}, /*#__PURE__*/React__default.createElement("path", {
|
|
422
|
-
d: "
|
|
602
|
+
d: "M12 22c1.1 0 2-.9 2-2h-4c0 1.1.9 2 2 2zm6-6v-5c0-3.07-1.63-5.64-4.5-6.32V4c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68C7.64 5.36 6 7.92 6 11v5l-2 2v1h16v-1l-2-2zm-2 1H8v-6c0-2.48 1.51-4.5 4-4.5s4 2.02 4 4.5v6z"
|
|
603
|
+
})));
|
|
604
|
+
};
|
|
605
|
+
var SettingsIcon = _ref20 => {
|
|
606
|
+
var {
|
|
607
|
+
size = 24,
|
|
608
|
+
color = 'currentColor'
|
|
609
|
+
} = _ref20,
|
|
610
|
+
props = _objectWithoutPropertiesLoose(_ref20, _excluded19);
|
|
611
|
+
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
612
|
+
size: size,
|
|
613
|
+
color: color
|
|
614
|
+
}, props), /*#__PURE__*/React__default.createElement("svg", {
|
|
615
|
+
viewBox: "0 0 24 24",
|
|
616
|
+
fill: "none",
|
|
617
|
+
stroke: 'currentColor',
|
|
618
|
+
strokeWidth: "1"
|
|
619
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
620
|
+
d: "M19.4 13c0-.3.1-.6.1-1s0-.7-.1-1l2.1-1.6c.2-.2.2-.4.1-.6l-2-3.5c-.1-.2-.4-.3-.6-.2l-2.5 1c-.5-.4-1.1-.7-1.7-.9l-.4-2.6c0-.2-.3-.4-.5-.4h-4c-.2 0-.5.2-.5.4l-.4 2.6c-.6.2-1.2.5-1.7.9l-2.5-1c-.2-.1-.5 0-.6.2l-2 3.5c-.1.2-.1.4.1.6L4.6 11c0 .3-.1.6-.1 1s0 .7.1 1l-2.1 1.6c-.2.2-.2.4-.1.6l2 3.5c.1.2.4.3.6.2l2.5-1c.5.4 1.1.7 1.7.9l.4 2.6c0 .2.3.4.5.4h4c.2 0 .5-.2.5-.4l.4-2.6c.6-.2 1.2-.5 1.7-.9l2.5 1c.2.1.5 0 .6-.2l2-3.5c.1-.2.1-.4-.1-.6L19.4 13zM12 15.5c-1.9 0-3.5-1.6-3.5-3.5s1.6-3.5 3.5-3.5 3.5 1.6 3.5 3.5-1.6 3.5-3.5 3.5z"
|
|
621
|
+
})));
|
|
622
|
+
};
|
|
623
|
+
var CalendarIcon = _ref21 => {
|
|
624
|
+
var {
|
|
625
|
+
size = 24,
|
|
626
|
+
color = 'currentColor'
|
|
627
|
+
} = _ref21,
|
|
628
|
+
props = _objectWithoutPropertiesLoose(_ref21, _excluded20);
|
|
629
|
+
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
630
|
+
size: size,
|
|
631
|
+
color: color
|
|
632
|
+
}, props), /*#__PURE__*/React__default.createElement("svg", {
|
|
633
|
+
viewBox: "0 0 24 24",
|
|
634
|
+
fill: "none",
|
|
635
|
+
stroke: 'currentColor',
|
|
636
|
+
strokeWidth: "1"
|
|
637
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
638
|
+
d: "M19 4h-1V3c0-.55-.45-1-1-1s-1 .45-1 1v1H8V3c0-.55-.45-1-1-1s-1 .45-1 1v1H5c-1.11 0-1.99.9-1.99 2L3 20c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 16H5V10h14v10zM9 14H7v-2h2v2zm4 0h-2v-2h2v2zm4 0h-2v-2h2v2zm-8 4H7v-2h2v2zm4 0h-2v-2h2v2zm4 0h-2v-2h2v2z"
|
|
639
|
+
})));
|
|
640
|
+
};
|
|
641
|
+
var AddIcon = _ref22 => {
|
|
642
|
+
var {
|
|
643
|
+
size = 24,
|
|
644
|
+
color = 'currentColor'
|
|
645
|
+
} = _ref22,
|
|
646
|
+
props = _objectWithoutPropertiesLoose(_ref22, _excluded21);
|
|
647
|
+
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
648
|
+
size: size,
|
|
649
|
+
color: color
|
|
650
|
+
}, props), /*#__PURE__*/React__default.createElement("svg", {
|
|
651
|
+
width: "16",
|
|
652
|
+
height: "16",
|
|
653
|
+
fill: "currentColor",
|
|
654
|
+
viewBox: "0 0 24 24"
|
|
655
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
656
|
+
d: "M22.286 11.143h-9.429V1.715h-1.714v9.428H1.714v1.715h9.429v9.428h1.714v-9.428h9.429v-1.715Z"
|
|
657
|
+
})));
|
|
658
|
+
};
|
|
659
|
+
var DownloadIcon = _ref23 => {
|
|
660
|
+
var {
|
|
661
|
+
size = 24,
|
|
662
|
+
color = 'currentColor'
|
|
663
|
+
} = _ref23,
|
|
664
|
+
props = _objectWithoutPropertiesLoose(_ref23, _excluded22);
|
|
665
|
+
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
666
|
+
size: size,
|
|
667
|
+
color: color
|
|
668
|
+
}, props), /*#__PURE__*/React__default.createElement("svg", {
|
|
669
|
+
viewBox: "0 0 24 24",
|
|
670
|
+
fill: "none",
|
|
671
|
+
stroke: 'currentColor',
|
|
672
|
+
strokeWidth: "1"
|
|
673
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
674
|
+
d: "M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z"
|
|
675
|
+
})));
|
|
676
|
+
};
|
|
677
|
+
var UploadIcon = _ref24 => {
|
|
678
|
+
var {
|
|
679
|
+
size = 24,
|
|
680
|
+
color = 'currentColor'
|
|
681
|
+
} = _ref24,
|
|
682
|
+
props = _objectWithoutPropertiesLoose(_ref24, _excluded23);
|
|
683
|
+
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
684
|
+
size: size,
|
|
685
|
+
color: color
|
|
686
|
+
}, props), /*#__PURE__*/React__default.createElement("svg", {
|
|
687
|
+
viewBox: "0 0 24 24",
|
|
688
|
+
fill: "none",
|
|
689
|
+
stroke: 'currentColor',
|
|
690
|
+
strokeWidth: "1"
|
|
691
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
692
|
+
d: "M9 16h6v-6h4l-7-7-7 7h4v6zm-4 2h14v2H5v-2z"
|
|
693
|
+
})));
|
|
694
|
+
};
|
|
695
|
+
var BookmarkIcon = _ref25 => {
|
|
696
|
+
var {
|
|
697
|
+
size = 24,
|
|
698
|
+
color = 'currentColor'
|
|
699
|
+
} = _ref25,
|
|
700
|
+
props = _objectWithoutPropertiesLoose(_ref25, _excluded24);
|
|
701
|
+
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
702
|
+
size: size,
|
|
703
|
+
color: color
|
|
704
|
+
}, props), /*#__PURE__*/React__default.createElement("svg", {
|
|
705
|
+
viewBox: "0 0 24 24",
|
|
706
|
+
fill: "none",
|
|
707
|
+
stroke: 'currentColor',
|
|
708
|
+
strokeWidth: "1"
|
|
709
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
710
|
+
d: "M17 3H7c-1.1 0-2 .9-2 2v16l7-3 7 3V5c0-1.1-.9-2-2-2z"
|
|
711
|
+
})));
|
|
712
|
+
};
|
|
713
|
+
var HomeIcon = _ref26 => {
|
|
714
|
+
var {
|
|
715
|
+
size = 24,
|
|
716
|
+
color = 'currentColor'
|
|
717
|
+
} = _ref26,
|
|
718
|
+
props = _objectWithoutPropertiesLoose(_ref26, _excluded25);
|
|
719
|
+
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
720
|
+
size: size,
|
|
721
|
+
color: color
|
|
722
|
+
}, props), /*#__PURE__*/React__default.createElement("svg", {
|
|
723
|
+
viewBox: "0 0 24 24",
|
|
724
|
+
fill: "none",
|
|
725
|
+
stroke: 'currentColor',
|
|
726
|
+
strokeWidth: "1"
|
|
727
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
728
|
+
d: "M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8h5z"
|
|
729
|
+
})));
|
|
730
|
+
};
|
|
731
|
+
var MenuIcon = _ref27 => {
|
|
732
|
+
var {
|
|
733
|
+
size = 24,
|
|
734
|
+
color = 'currentColor'
|
|
735
|
+
} = _ref27,
|
|
736
|
+
props = _objectWithoutPropertiesLoose(_ref27, _excluded26);
|
|
737
|
+
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
738
|
+
size: size,
|
|
739
|
+
color: color
|
|
740
|
+
}, props), /*#__PURE__*/React__default.createElement("svg", {
|
|
741
|
+
viewBox: "0 0 24 24",
|
|
742
|
+
fill: "none",
|
|
743
|
+
stroke: 'currentColor',
|
|
744
|
+
strokeWidth: "1"
|
|
745
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
746
|
+
d: "M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z"
|
|
747
|
+
})));
|
|
748
|
+
};
|
|
749
|
+
var ShareIcon = _ref28 => {
|
|
750
|
+
var {
|
|
751
|
+
size = 24,
|
|
752
|
+
color = 'currentColor'
|
|
753
|
+
} = _ref28,
|
|
754
|
+
props = _objectWithoutPropertiesLoose(_ref28, _excluded27);
|
|
755
|
+
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
756
|
+
size: size,
|
|
757
|
+
color: color
|
|
758
|
+
}, props), /*#__PURE__*/React__default.createElement("svg", {
|
|
759
|
+
viewBox: "0 0 24 24",
|
|
760
|
+
fill: "none",
|
|
761
|
+
stroke: 'currentColor',
|
|
762
|
+
strokeWidth: "1"
|
|
763
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
764
|
+
d: "M18 16.08c-.76 0-1.44.3-1.96.77L8.91 12.7c.05-.23.09-.46.09-.7s-.04-.47-.09-.7l7.05-4.11c.54.5 1.25.81 2.04.81 1.66 0 3-1.34 3-3s-1.34-3-3-3-3 1.34-3 3c0 .24.04.47.09.7L8.04 9.81C7.5 9.31 6.79 9 6 9c-1.66 0-3 1.34-3 3s1.34 3 3 3c.79 0 1.5-.31 2.04-.81l7.12 4.16c-.05.21-.08.43-.08.65 0 1.61 1.31 2.92 2.92 2.92s2.92-1.31 2.92-2.92c0-1.61-1.31-2.92-2.92-2.92zM18 4c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zM6 13c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1zm12 7.02c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1z"
|
|
765
|
+
})));
|
|
766
|
+
};
|
|
767
|
+
var FilterIcon = _ref29 => {
|
|
768
|
+
var {
|
|
769
|
+
size = 24,
|
|
770
|
+
color = 'currentColor'
|
|
771
|
+
} = _ref29,
|
|
772
|
+
props = _objectWithoutPropertiesLoose(_ref29, _excluded28);
|
|
773
|
+
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
774
|
+
size: size,
|
|
775
|
+
color: color
|
|
776
|
+
}, props), /*#__PURE__*/React__default.createElement("svg", {
|
|
777
|
+
viewBox: "0 0 24 24",
|
|
778
|
+
fill: "none",
|
|
779
|
+
stroke: 'currentColor',
|
|
780
|
+
strokeWidth: "1"
|
|
781
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
782
|
+
d: "M10 18h4v-2h-4v2zM3 6v2h18V6H3zm3 7h12v-2H6v2z"
|
|
783
|
+
})));
|
|
784
|
+
};
|
|
785
|
+
var RefreshIcon = _ref30 => {
|
|
786
|
+
var {
|
|
787
|
+
size = 24,
|
|
788
|
+
color = 'currentColor'
|
|
789
|
+
} = _ref30,
|
|
790
|
+
props = _objectWithoutPropertiesLoose(_ref30, _excluded29);
|
|
791
|
+
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
792
|
+
size: size,
|
|
793
|
+
color: color
|
|
794
|
+
}, props), /*#__PURE__*/React__default.createElement("svg", {
|
|
795
|
+
viewBox: "0 0 24 24",
|
|
796
|
+
fill: "none",
|
|
797
|
+
stroke: 'currentColor',
|
|
798
|
+
strokeWidth: "1"
|
|
799
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
800
|
+
d: "M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"
|
|
801
|
+
})));
|
|
802
|
+
};
|
|
803
|
+
var CopyIcon = _ref31 => {
|
|
804
|
+
var {
|
|
805
|
+
size = 24,
|
|
806
|
+
color = 'currentColor'
|
|
807
|
+
} = _ref31,
|
|
808
|
+
props = _objectWithoutPropertiesLoose(_ref31, _excluded30);
|
|
809
|
+
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
810
|
+
size: size,
|
|
811
|
+
color: color
|
|
812
|
+
}, props), /*#__PURE__*/React__default.createElement("svg", {
|
|
813
|
+
viewBox: "0 0 24 24",
|
|
814
|
+
fill: "none",
|
|
815
|
+
stroke: 'currentColor',
|
|
816
|
+
strokeWidth: "1"
|
|
817
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
818
|
+
d: "M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm0 16H8V7h11v14z"
|
|
819
|
+
})));
|
|
820
|
+
};
|
|
821
|
+
var SaveIcon = _ref32 => {
|
|
822
|
+
var {
|
|
823
|
+
size = 24,
|
|
824
|
+
color = 'currentColor'
|
|
825
|
+
} = _ref32,
|
|
826
|
+
props = _objectWithoutPropertiesLoose(_ref32, _excluded31);
|
|
827
|
+
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
828
|
+
size: size,
|
|
829
|
+
color: color
|
|
830
|
+
}, props), /*#__PURE__*/React__default.createElement("svg", {
|
|
831
|
+
viewBox: "0 0 24 24",
|
|
832
|
+
fill: "none",
|
|
833
|
+
stroke: 'currentColor',
|
|
834
|
+
strokeWidth: "1"
|
|
835
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
836
|
+
d: "M17 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V7l-4-4zm2 16H5V5h11.17L19 7.83V19zm-7-7c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3zM6 6h9v4H6z"
|
|
837
|
+
})));
|
|
838
|
+
};
|
|
839
|
+
var PrintIcon = _ref33 => {
|
|
840
|
+
var {
|
|
841
|
+
size = 24,
|
|
842
|
+
color = 'currentColor'
|
|
843
|
+
} = _ref33,
|
|
844
|
+
props = _objectWithoutPropertiesLoose(_ref33, _excluded32);
|
|
845
|
+
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
846
|
+
size: size,
|
|
847
|
+
color: color
|
|
848
|
+
}, props), /*#__PURE__*/React__default.createElement("svg", {
|
|
849
|
+
viewBox: "0 0 24 24",
|
|
850
|
+
fill: "none",
|
|
851
|
+
stroke: 'currentColor',
|
|
852
|
+
strokeWidth: "1"
|
|
853
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
854
|
+
d: "M19 8H5c-1.66 0-3 1.34-3 3v6h4v4h12v-4h4v-6c0-1.66-1.34-3-3-3zm-3 11H8v-5h8v5zm3-7c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1zm-1-9H6v4h12V3z"
|
|
855
|
+
})));
|
|
856
|
+
};
|
|
857
|
+
var LockIcon = _ref34 => {
|
|
858
|
+
var {
|
|
859
|
+
size = 24,
|
|
860
|
+
color = 'currentColor'
|
|
861
|
+
} = _ref34,
|
|
862
|
+
props = _objectWithoutPropertiesLoose(_ref34, _excluded33);
|
|
863
|
+
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
864
|
+
size: size,
|
|
865
|
+
color: color
|
|
866
|
+
}, props), /*#__PURE__*/React__default.createElement("svg", {
|
|
867
|
+
viewBox: "0 0 24 24",
|
|
868
|
+
fill: "none",
|
|
869
|
+
stroke: 'currentColor',
|
|
870
|
+
strokeWidth: "1"
|
|
871
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
872
|
+
d: "M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zm-6 9c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm3.1-9H8.9V6c0-1.71 1.39-3.1 3.1-3.1 1.71 0 3.1 1.39 3.1 3.1v2z"
|
|
873
|
+
})));
|
|
874
|
+
};
|
|
875
|
+
// Previous icons remain the same...
|
|
876
|
+
var UnlockIcon = _ref35 => {
|
|
877
|
+
var {
|
|
878
|
+
size = 24,
|
|
879
|
+
color = 'currentColor'
|
|
880
|
+
} = _ref35,
|
|
881
|
+
props = _objectWithoutPropertiesLoose(_ref35, _excluded34);
|
|
882
|
+
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
883
|
+
size: size,
|
|
884
|
+
color: color
|
|
885
|
+
}, props), /*#__PURE__*/React__default.createElement("svg", {
|
|
886
|
+
viewBox: "0 0 24 24",
|
|
887
|
+
fill: "none",
|
|
888
|
+
stroke: 'currentColor',
|
|
889
|
+
strokeWidth: "1"
|
|
890
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
891
|
+
d: "M12 17c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm6-9h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6h2c0-1.66 1.34-3 3-3s3 1.34 3 3v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2z"
|
|
892
|
+
})));
|
|
893
|
+
};
|
|
894
|
+
var StarIcon = _ref36 => {
|
|
895
|
+
var {
|
|
896
|
+
size = 24,
|
|
897
|
+
color = 'currentColor'
|
|
898
|
+
} = _ref36,
|
|
899
|
+
props = _objectWithoutPropertiesLoose(_ref36, _excluded35);
|
|
900
|
+
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
901
|
+
size: size,
|
|
902
|
+
color: color
|
|
903
|
+
}, props), /*#__PURE__*/React__default.createElement("svg", {
|
|
904
|
+
viewBox: "0 0 24 24",
|
|
905
|
+
fill: "none",
|
|
906
|
+
stroke: 'currentColor',
|
|
907
|
+
strokeWidth: "1"
|
|
908
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
909
|
+
d: "M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z"
|
|
910
|
+
})));
|
|
911
|
+
};
|
|
912
|
+
var HeartIcon = _ref37 => {
|
|
913
|
+
var {
|
|
914
|
+
size = 24,
|
|
915
|
+
color = 'currentColor'
|
|
916
|
+
} = _ref37,
|
|
917
|
+
props = _objectWithoutPropertiesLoose(_ref37, _excluded36);
|
|
918
|
+
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
919
|
+
size: size,
|
|
920
|
+
color: color
|
|
921
|
+
}, props), /*#__PURE__*/React__default.createElement("svg", {
|
|
922
|
+
viewBox: "0 0 24 24",
|
|
923
|
+
fill: "none",
|
|
924
|
+
stroke: 'currentColor',
|
|
925
|
+
strokeWidth: "1"
|
|
926
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
927
|
+
d: "M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z"
|
|
928
|
+
})));
|
|
929
|
+
};
|
|
930
|
+
var ThumbUpIcon = _ref38 => {
|
|
931
|
+
var {
|
|
932
|
+
size = 24,
|
|
933
|
+
color = 'currentColor'
|
|
934
|
+
} = _ref38,
|
|
935
|
+
props = _objectWithoutPropertiesLoose(_ref38, _excluded37);
|
|
936
|
+
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
937
|
+
size: size,
|
|
938
|
+
color: color
|
|
939
|
+
}, props), /*#__PURE__*/React__default.createElement("svg", {
|
|
940
|
+
viewBox: "0 0 24 24",
|
|
941
|
+
fill: "none",
|
|
942
|
+
stroke: 'currentColor',
|
|
943
|
+
strokeWidth: "1"
|
|
944
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
945
|
+
d: "M1 21h4V9H1v12zm22-11c0-1.1-.9-2-2-2h-6.31l.95-4.57.03-.32c0-.41-.17-.79-.44-1.06L14.17 1 7.59 7.59C7.22 7.95 7 8.45 7 9v10c0 1.1.9 2 2 2h9c.83 0 1.54-.5 1.84-1.22l3.02-7.05c.09-.23.14-.47.14-.73v-2z"
|
|
946
|
+
})));
|
|
947
|
+
};
|
|
948
|
+
var ThumbDownIcon = _ref39 => {
|
|
949
|
+
var {
|
|
950
|
+
size = 24,
|
|
951
|
+
color = 'currentColor'
|
|
952
|
+
} = _ref39,
|
|
953
|
+
props = _objectWithoutPropertiesLoose(_ref39, _excluded38);
|
|
954
|
+
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
955
|
+
size: size,
|
|
956
|
+
color: color
|
|
957
|
+
}, props), /*#__PURE__*/React__default.createElement("svg", {
|
|
958
|
+
viewBox: "0 0 24 24",
|
|
959
|
+
fill: "none",
|
|
960
|
+
stroke: 'currentColor',
|
|
961
|
+
strokeWidth: "1"
|
|
962
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
963
|
+
d: "M15 3H6c-.83 0-1.54.5-1.84 1.22l-3.02 7.05c-.09.23-.14.47-.14.73v2c0 1.1.9 2 2 2h6.31l-.95 4.57-.03.32c0 .41.17.79.44 1.06L9.83 23l6.59-6.59c.36-.36.58-.86.58-1.41V5c0-1.1-.9-2-2-2zm4 0v12h4V3h-4z"
|
|
964
|
+
})));
|
|
965
|
+
};
|
|
966
|
+
var LocationIcon = _ref40 => {
|
|
967
|
+
var {
|
|
968
|
+
size = 24,
|
|
969
|
+
color = 'currentColor'
|
|
970
|
+
} = _ref40,
|
|
971
|
+
props = _objectWithoutPropertiesLoose(_ref40, _excluded39);
|
|
972
|
+
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
973
|
+
size: size,
|
|
974
|
+
color: color
|
|
975
|
+
}, props), /*#__PURE__*/React__default.createElement("svg", {
|
|
976
|
+
viewBox: "0 0 24 24",
|
|
977
|
+
fill: "none",
|
|
978
|
+
stroke: 'currentColor',
|
|
979
|
+
strokeWidth: "1"
|
|
980
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
981
|
+
d: "M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z"
|
|
982
|
+
})));
|
|
983
|
+
};
|
|
984
|
+
var ClockIcon = _ref41 => {
|
|
985
|
+
var {
|
|
986
|
+
size = 24,
|
|
987
|
+
color = 'currentColor'
|
|
988
|
+
} = _ref41,
|
|
989
|
+
props = _objectWithoutPropertiesLoose(_ref41, _excluded40);
|
|
990
|
+
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
991
|
+
size: size,
|
|
992
|
+
color: color
|
|
993
|
+
}, props), /*#__PURE__*/React__default.createElement("svg", {
|
|
994
|
+
viewBox: "0 0 24 24",
|
|
995
|
+
fill: "none",
|
|
996
|
+
stroke: 'currentColor',
|
|
997
|
+
strokeWidth: "1"
|
|
998
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
999
|
+
d: "M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm.5-13H11v6l5.25 3.15.75-1.23-4.5-2.67z"
|
|
1000
|
+
})));
|
|
1001
|
+
};
|
|
1002
|
+
var CameraIcon = _ref42 => {
|
|
1003
|
+
var {
|
|
1004
|
+
size = 24,
|
|
1005
|
+
color = 'currentColor'
|
|
1006
|
+
} = _ref42,
|
|
1007
|
+
props = _objectWithoutPropertiesLoose(_ref42, _excluded41);
|
|
1008
|
+
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1009
|
+
size: size,
|
|
1010
|
+
color: color
|
|
1011
|
+
}, props), /*#__PURE__*/React__default.createElement("svg", {
|
|
1012
|
+
viewBox: "0 0 24 24",
|
|
1013
|
+
fill: "none",
|
|
1014
|
+
stroke: 'currentColor',
|
|
1015
|
+
strokeWidth: "1"
|
|
1016
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
1017
|
+
d: "M9 3L7.17 5H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2h-3.17L15 3H9zm3 15c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5z"
|
|
423
1018
|
}), /*#__PURE__*/React__default.createElement("path", {
|
|
424
|
-
d: "
|
|
1019
|
+
d: "M12 17c1.65 0 3-1.35 3-3s-1.35-3-3-3-3 1.35-3 3 1.35 3 3 3z"
|
|
1020
|
+
})));
|
|
1021
|
+
};
|
|
1022
|
+
var MicrophoneIcon = _ref43 => {
|
|
1023
|
+
var {
|
|
1024
|
+
size = 24,
|
|
1025
|
+
color = 'currentColor'
|
|
1026
|
+
} = _ref43,
|
|
1027
|
+
props = _objectWithoutPropertiesLoose(_ref43, _excluded42);
|
|
1028
|
+
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1029
|
+
size: size,
|
|
1030
|
+
color: color
|
|
1031
|
+
}, props), /*#__PURE__*/React__default.createElement("svg", {
|
|
1032
|
+
viewBox: "0 0 24 24",
|
|
1033
|
+
fill: "none",
|
|
1034
|
+
stroke: 'currentColor',
|
|
1035
|
+
strokeWidth: "1"
|
|
1036
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
1037
|
+
d: "M12 14c1.66 0 3-1.34 3-3V5c0-1.66-1.34-3-3-3S9 3.34 9 5v6c0 1.66 1.34 3 3 3z"
|
|
425
1038
|
}), /*#__PURE__*/React__default.createElement("path", {
|
|
426
|
-
d: "
|
|
427
|
-
})))
|
|
1039
|
+
d: "M17 11c0 2.76-2.24 5-5 5s-5-2.24-5-5H5c0 3.53 2.61 6.43 6 6.92V21h2v-3.08c3.39-.49 6-3.39 6-6.92h-2z"
|
|
1040
|
+
})));
|
|
428
1041
|
};
|
|
429
|
-
|
|
430
|
-
var _excluded$8 = ["size", "color"];
|
|
431
|
-
var IndeterminateSvg = _ref => {
|
|
1042
|
+
var WifiIcon = _ref44 => {
|
|
432
1043
|
var {
|
|
433
|
-
size =
|
|
434
|
-
color = '
|
|
435
|
-
} =
|
|
436
|
-
props = _objectWithoutPropertiesLoose(
|
|
437
|
-
return /*#__PURE__*/React__default.createElement(
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
}, /*#__PURE__*/React__default.createElement("svg",
|
|
1044
|
+
size = 24,
|
|
1045
|
+
color = 'currentColor'
|
|
1046
|
+
} = _ref44,
|
|
1047
|
+
props = _objectWithoutPropertiesLoose(_ref44, _excluded43);
|
|
1048
|
+
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1049
|
+
size: size,
|
|
1050
|
+
color: color
|
|
1051
|
+
}, props), /*#__PURE__*/React__default.createElement("svg", {
|
|
441
1052
|
viewBox: "0 0 24 24",
|
|
442
1053
|
fill: "none",
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
id: "SVGRepo_bgCarrier",
|
|
446
|
-
strokeWidth: "0"
|
|
447
|
-
}), /*#__PURE__*/React__default.createElement("g", {
|
|
448
|
-
id: "SVGRepo_tracerCarrier",
|
|
449
|
-
strokeLinecap: "round",
|
|
450
|
-
strokeLinejoin: "round"
|
|
451
|
-
}), /*#__PURE__*/React__default.createElement("g", {
|
|
452
|
-
id: "SVGRepo_iconCarrier"
|
|
1054
|
+
stroke: 'currentColor',
|
|
1055
|
+
strokeWidth: "1"
|
|
453
1056
|
}, /*#__PURE__*/React__default.createElement("path", {
|
|
454
|
-
d: "
|
|
455
|
-
|
|
456
|
-
strokeWidth: "1.5",
|
|
457
|
-
strokeLinecap: "round",
|
|
458
|
-
strokeLinejoin: "round"
|
|
459
|
-
}), ' ')));
|
|
1057
|
+
d: "M1 9l2 2c4.97-4.97 13.03-4.97 18 0l2-2C16.93 2.93 7.08 2.93 1 9zm8 8l3 3 3-3c-1.65-1.66-4.34-1.66-6 0zm-4-4l2 2c2.76-2.76 7.24-2.76 10 0l2-2C15.14 9.14 8.87 9.14 5 13z"
|
|
1058
|
+
})));
|
|
460
1059
|
};
|
|
461
|
-
|
|
462
|
-
var _excluded$9 = ["size", "color"];
|
|
463
|
-
var OpenEyeSvg = _ref => {
|
|
1060
|
+
var BluetoothIcon = _ref45 => {
|
|
464
1061
|
var {
|
|
465
|
-
size =
|
|
466
|
-
color = '
|
|
467
|
-
} =
|
|
468
|
-
props = _objectWithoutPropertiesLoose(
|
|
469
|
-
return /*#__PURE__*/React__default.createElement(
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
}, /*#__PURE__*/React__default.createElement("svg",
|
|
1062
|
+
size = 24,
|
|
1063
|
+
color = 'currentColor'
|
|
1064
|
+
} = _ref45,
|
|
1065
|
+
props = _objectWithoutPropertiesLoose(_ref45, _excluded44);
|
|
1066
|
+
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1067
|
+
size: size,
|
|
1068
|
+
color: color
|
|
1069
|
+
}, props), /*#__PURE__*/React__default.createElement("svg", {
|
|
1070
|
+
viewBox: "0 0 24 24",
|
|
1071
|
+
fill: 'currentColor'
|
|
1072
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
1073
|
+
d: "M17.71 7.71L12 2h-1v7.59L6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 11 14.41V22h1l5.71-5.71-4.3-4.29 4.3-4.29zM13 5.83l1.88 1.88L13 9.59V5.83zm1.88 10.46L13 18.17v-3.76l1.88 1.88z"
|
|
1074
|
+
})));
|
|
1075
|
+
};
|
|
1076
|
+
var BatteryIcon = _ref46 => {
|
|
1077
|
+
var {
|
|
1078
|
+
size = 24,
|
|
1079
|
+
color = 'currentColor'
|
|
1080
|
+
} = _ref46,
|
|
1081
|
+
props = _objectWithoutPropertiesLoose(_ref46, _excluded45);
|
|
1082
|
+
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1083
|
+
size: size,
|
|
1084
|
+
color: color
|
|
1085
|
+
}, props), /*#__PURE__*/React__default.createElement("svg", {
|
|
473
1086
|
viewBox: "0 0 24 24",
|
|
474
1087
|
fill: "none",
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
id: "SVGRepo_bgCarrier",
|
|
478
|
-
strokeWidth: "0"
|
|
479
|
-
}), /*#__PURE__*/React__default.createElement("g", {
|
|
480
|
-
id: "SVGRepo_tracerCarrier",
|
|
481
|
-
strokeLinecap: "round",
|
|
482
|
-
strokeLinejoin: "round"
|
|
483
|
-
}), /*#__PURE__*/React__default.createElement("g", {
|
|
484
|
-
id: "SVGRepo_iconCarrier"
|
|
1088
|
+
stroke: 'currentColor',
|
|
1089
|
+
strokeWidth: "1"
|
|
485
1090
|
}, /*#__PURE__*/React__default.createElement("path", {
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
d: "M6.30147 15.5771C4.77832 14.2684 3.6904 12.7726 3.18002 12C3.6904 11.2274 4.77832 9.73158 6.30147 8.42294C7.87402 7.07185 9.81574 6 12 6C14.1843 6 16.1261 7.07185 17.6986 8.42294C19.2218 9.73158 20.3097 11.2274 20.8201 12C20.3097 12.7726 19.2218 14.2684 17.6986 15.5771C16.1261 16.9282 14.1843 18 12 18C9.81574 18 7.87402 16.9282 6.30147 15.5771ZM12 4C9.14754 4 6.75717 5.39462 4.99812 6.90595C3.23268 8.42276 2.00757 10.1376 1.46387 10.9698C1.05306 11.5985 1.05306 12.4015 1.46387 13.0302C2.00757 13.8624 3.23268 15.5772 4.99812 17.0941C6.75717 18.6054 9.14754 20 12 20C14.8525 20 17.2429 18.6054 19.002 17.0941C20.7674 15.5772 21.9925 13.8624 22.5362 13.0302C22.947 12.4015 22.947 11.5985 22.5362 10.9698C21.9925 10.1376 20.7674 8.42276 19.002 6.90595C17.2429 5.39462 14.8525 4 12 4ZM10 12C10 10.8954 10.8955 10 12 10C13.1046 10 14 10.8954 14 12C14 13.1046 13.1046 14 12 14C10.8955 14 10 13.1046 10 12ZM12 8C9.7909 8 8.00004 9.79086 8.00004 12C8.00004 14.2091 9.7909 16 12 16C14.2092 16 16 14.2091 16 12C16 9.79086 14.2092 8 12 8Z",
|
|
489
|
-
fill: color
|
|
490
|
-
}))));
|
|
1091
|
+
d: "M15.67 4H14V2h-4v2H8.33C7.6 4 7 4.6 7 5.33v15.33C7 21.4 7.6 22 8.33 22h7.33c.74 0 1.34-.6 1.34-1.33V5.33C17 4.6 16.4 4 15.67 4z"
|
|
1092
|
+
})));
|
|
491
1093
|
};
|
|
492
|
-
|
|
493
|
-
var
|
|
494
|
-
var WarningSvg = _ref => {
|
|
1094
|
+
// More modern UI icons
|
|
1095
|
+
var SunIcon = _ref47 => {
|
|
495
1096
|
var {
|
|
496
|
-
size =
|
|
497
|
-
color = '
|
|
498
|
-
} =
|
|
499
|
-
props = _objectWithoutPropertiesLoose(
|
|
500
|
-
return /*#__PURE__*/React__default.createElement(
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
}, /*#__PURE__*/React__default.createElement("svg",
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
}), /*#__PURE__*/React__default.createElement("g", {
|
|
516
|
-
id: "SVGRepo_iconCarrier"
|
|
517
|
-
}, /*#__PURE__*/React__default.createElement("g", null, /*#__PURE__*/React__default.createElement("g", null, /*#__PURE__*/React__default.createElement("g", null, /*#__PURE__*/React__default.createElement("path", {
|
|
518
|
-
d: "M108.186,144.372c0,7.054-4.729,12.32-12.037,12.32h-0.254c-7.054,0-11.92-5.266-11.92-12.32 c0-7.298,5.012-12.31,12.174-12.31C103.311,132.062,108.059,137.054,108.186,144.372z M88.44,125.301h15.447l2.951-61.298H85.46 L88.44,125.301z M190.372,177.034c-2.237,3.664-6.214,5.921-10.493,5.921H12.282c-4.426,0-8.51-2.384-10.698-6.233 c-2.159-3.849-2.11-8.549,0.147-12.349l84.111-149.22c2.208-3.722,6.204-5.96,10.522-5.96h0.332 c4.445,0.107,8.441,2.618,10.513,6.546l83.515,149.229C192.717,168.768,192.629,173.331,190.372,177.034z M179.879,170.634 L96.354,21.454L12.292,170.634H179.879z"
|
|
519
|
-
})))))));
|
|
1097
|
+
size = 24,
|
|
1098
|
+
color = 'currentColor'
|
|
1099
|
+
} = _ref47,
|
|
1100
|
+
props = _objectWithoutPropertiesLoose(_ref47, _excluded46);
|
|
1101
|
+
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1102
|
+
size: size,
|
|
1103
|
+
color: color
|
|
1104
|
+
}, props), /*#__PURE__*/React__default.createElement("svg", {
|
|
1105
|
+
viewBox: "0 0 24 24",
|
|
1106
|
+
fill: "none",
|
|
1107
|
+
stroke: 'currentColor',
|
|
1108
|
+
strokeWidth: "1"
|
|
1109
|
+
}, /*#__PURE__*/React__default.createElement("circle", {
|
|
1110
|
+
cx: "12",
|
|
1111
|
+
cy: "12",
|
|
1112
|
+
r: "5"
|
|
1113
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
1114
|
+
d: "M12 1v2M12 21v2M4.22 4.22l1.42 1.42M18.36 18.36l1.42 1.42M1 12h2M21 12h2M4.22 19.78l1.42-1.42M18.36 5.64l1.42-1.42"
|
|
1115
|
+
})));
|
|
520
1116
|
};
|
|
521
|
-
|
|
522
|
-
var _excluded$b = ["size", "color"];
|
|
523
|
-
var SuccessSvg = _ref => {
|
|
1117
|
+
var MoonIcon = _ref48 => {
|
|
524
1118
|
var {
|
|
525
|
-
size =
|
|
1119
|
+
size = 24,
|
|
1120
|
+
color = 'currentColor'
|
|
1121
|
+
} = _ref48,
|
|
1122
|
+
props = _objectWithoutPropertiesLoose(_ref48, _excluded47);
|
|
1123
|
+
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1124
|
+
size: size,
|
|
1125
|
+
color: color
|
|
1126
|
+
}, props), /*#__PURE__*/React__default.createElement("svg", {
|
|
1127
|
+
viewBox: "0 0 24 24",
|
|
1128
|
+
fill: "none",
|
|
1129
|
+
stroke: 'currentColor',
|
|
1130
|
+
strokeWidth: "1"
|
|
1131
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
1132
|
+
d: "M21 12.79A9 9 0 1111.21 3 7 7 0 0021 12.79z"
|
|
1133
|
+
})));
|
|
1134
|
+
};
|
|
1135
|
+
var ErrorIcon = _ref49 => {
|
|
1136
|
+
var {
|
|
1137
|
+
size = 24,
|
|
526
1138
|
color = 'white'
|
|
527
|
-
} =
|
|
528
|
-
props = _objectWithoutPropertiesLoose(
|
|
529
|
-
return /*#__PURE__*/React__default.createElement(
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
}, /*#__PURE__*/React__default.createElement("svg",
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
}
|
|
541
|
-
id: "SVGRepo_bgCarrier"
|
|
542
|
-
}), /*#__PURE__*/React__default.createElement("g", {
|
|
543
|
-
id: "SVGRepo_tracerCarrier"
|
|
544
|
-
}), /*#__PURE__*/React__default.createElement("g", {
|
|
545
|
-
id: "SVGRepo_iconCarrier"
|
|
546
|
-
}, /*#__PURE__*/React__default.createElement("g", null, /*#__PURE__*/React__default.createElement("g", null, /*#__PURE__*/React__default.createElement("path", {
|
|
547
|
-
d: "M242.4,0C108.6,0,0,108.6,0,242.4S108.6,484.8,242.4,484.8S484.8,376.2,484.8,242.4S376.2,0,242.4,0z M198.4,358.8l-120-120L84,228l114.4,114.4l188-188l28.8,28.8L198.4,358.8z",
|
|
548
|
-
fill: color
|
|
549
|
-
}))))));
|
|
1139
|
+
} = _ref49,
|
|
1140
|
+
props = _objectWithoutPropertiesLoose(_ref49, _excluded48);
|
|
1141
|
+
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1142
|
+
size: size,
|
|
1143
|
+
color: color
|
|
1144
|
+
}, props), /*#__PURE__*/React__default.createElement("svg", {
|
|
1145
|
+
viewBox: "0 0 510 510"
|
|
1146
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
1147
|
+
d: "M255,0C114.615,0,0,114.615,0,255s114.615,255,255,255s255-114.615,255-255S395.385,0,255,0z M255,459c-114.75,0-207-92.25-207-207c0-114.75,92.25-207,207-207c114.75,0,207,92.25,207,207C462,366.75,369.75,459,255,459z"
|
|
1148
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
1149
|
+
d: "M255,140.25c11.05,0,20-8.95,20-20s-8.95-20-20-20s-20,8.95-20,20S243.95,140.25,255,140.25z"
|
|
1150
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
1151
|
+
d: "M265,357c0,11.05-8.95,20-20,20s-20-8.95-20-20v-175c0-11.05,8.95-20,20-20s20,8.95,20,20V357z"
|
|
1152
|
+
})));
|
|
550
1153
|
};
|
|
551
|
-
|
|
552
|
-
var _excluded$c = ["size", "color"];
|
|
553
|
-
var InfoSvg = _ref => {
|
|
1154
|
+
var WarningIcon = _ref50 => {
|
|
554
1155
|
var {
|
|
555
|
-
size =
|
|
1156
|
+
size = 24,
|
|
556
1157
|
color = 'white'
|
|
557
|
-
} =
|
|
558
|
-
props = _objectWithoutPropertiesLoose(
|
|
559
|
-
return /*#__PURE__*/React__default.createElement(
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
}, /*#__PURE__*/React__default.createElement("svg",
|
|
563
|
-
height: size + "px",
|
|
564
|
-
width: size + "px",
|
|
1158
|
+
} = _ref50,
|
|
1159
|
+
props = _objectWithoutPropertiesLoose(_ref50, _excluded49);
|
|
1160
|
+
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1161
|
+
size: size,
|
|
1162
|
+
color: color
|
|
1163
|
+
}, props), /*#__PURE__*/React__default.createElement("svg", {
|
|
565
1164
|
version: "1.1",
|
|
566
1165
|
id: "Capa_1",
|
|
567
1166
|
xmlns: "http://www.w3.org/2000/svg",
|
|
568
1167
|
viewBox: "0 0 192.146 192.146",
|
|
569
|
-
fill:
|
|
570
|
-
},
|
|
1168
|
+
fill: 'currentColor'
|
|
1169
|
+
}, /*#__PURE__*/React__default.createElement("g", {
|
|
571
1170
|
id: "SVGRepo_bgCarrier"
|
|
572
1171
|
}), /*#__PURE__*/React__default.createElement("g", {
|
|
573
1172
|
id: "SVGRepo_tracerCarrier"
|
|
574
1173
|
}), /*#__PURE__*/React__default.createElement("g", {
|
|
575
1174
|
id: "SVGRepo_iconCarrier"
|
|
576
1175
|
}, /*#__PURE__*/React__default.createElement("g", null, /*#__PURE__*/React__default.createElement("g", null, /*#__PURE__*/React__default.createElement("g", null, /*#__PURE__*/React__default.createElement("path", {
|
|
577
|
-
d: "
|
|
1176
|
+
d: "M108.186,144.372c0,7.054-4.729,12.32-12.037,12.32h-0.254c-7.054,0-11.92-5.266-11.92-12.32 c0-7.298,5.012-12.31,12.174-12.31C103.311,132.062,108.059,137.054,108.186,144.372z M88.44,125.301h15.447l2.951-61.298H85.46 L88.44,125.301z M190.372,177.034c-2.237,3.664-6.214,5.921-10.493,5.921H12.282c-4.426,0-8.51-2.384-10.698-6.233 c-2.159-3.849-2.11-8.549,0.147-12.349l84.111-149.22c2.208-3.722,6.204-5.96,10.522-5.96h0.332 c4.445,0.107,8.441,2.618,10.513,6.546l83.515,149.229C192.717,168.768,192.629,173.331,190.372,177.034z M179.879,170.634 L96.354,21.454L12.292,170.634H179.879z"
|
|
578
1177
|
})))))));
|
|
579
1178
|
};
|
|
580
|
-
|
|
581
|
-
var _excluded$d = ["size", "color"];
|
|
582
|
-
var ErrorSvg = _ref => {
|
|
1179
|
+
var CloudIcon = _ref51 => {
|
|
583
1180
|
var {
|
|
584
|
-
size =
|
|
585
|
-
color = '
|
|
586
|
-
} =
|
|
587
|
-
props = _objectWithoutPropertiesLoose(
|
|
588
|
-
return /*#__PURE__*/React__default.createElement(
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
}, /*#__PURE__*/React__default.createElement("svg",
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
1181
|
+
size = 24,
|
|
1182
|
+
color = 'currentColor'
|
|
1183
|
+
} = _ref51,
|
|
1184
|
+
props = _objectWithoutPropertiesLoose(_ref51, _excluded50);
|
|
1185
|
+
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1186
|
+
size: size,
|
|
1187
|
+
color: color
|
|
1188
|
+
}, props), /*#__PURE__*/React__default.createElement("svg", {
|
|
1189
|
+
viewBox: "0 0 24 24",
|
|
1190
|
+
fill: "none",
|
|
1191
|
+
stroke: 'currentColor',
|
|
1192
|
+
strokeWidth: "1"
|
|
1193
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
1194
|
+
d: "M18 10h-1.26A8 8 0 109 20h9a5 5 0 000-10z"
|
|
1195
|
+
})));
|
|
1196
|
+
};
|
|
1197
|
+
|
|
1198
|
+
var Icon = {
|
|
1199
|
+
__proto__: null,
|
|
1200
|
+
ChevronIcon: ChevronIcon,
|
|
1201
|
+
CheckIcon: CheckIcon,
|
|
1202
|
+
CloseIcon: CloseIcon,
|
|
1203
|
+
CloseEyeIcon: CloseEyeIcon,
|
|
1204
|
+
DustBinIcon: DustBinIcon,
|
|
1205
|
+
EditIcon: EditIcon,
|
|
1206
|
+
ExternalLinkIcon: ExternalLinkIcon,
|
|
1207
|
+
MinusIcon: MinusIcon,
|
|
1208
|
+
InfoIcon: InfoIcon,
|
|
1209
|
+
OpenEyeIcon: OpenEyeIcon,
|
|
1210
|
+
PlusIcon: PlusIcon,
|
|
1211
|
+
SpinnerIcon: SpinnerIcon,
|
|
1212
|
+
ProfileIcon: ProfileIcon,
|
|
1213
|
+
ArrowIcon: ArrowIcon,
|
|
1214
|
+
SearchIcon: SearchIcon,
|
|
1215
|
+
SuccessIcon: SuccessIcon,
|
|
1216
|
+
TickIcon: TickIcon,
|
|
1217
|
+
NotificationIcon: NotificationIcon,
|
|
1218
|
+
SettingsIcon: SettingsIcon,
|
|
1219
|
+
CalendarIcon: CalendarIcon,
|
|
1220
|
+
AddIcon: AddIcon,
|
|
1221
|
+
DownloadIcon: DownloadIcon,
|
|
1222
|
+
UploadIcon: UploadIcon,
|
|
1223
|
+
BookmarkIcon: BookmarkIcon,
|
|
1224
|
+
HomeIcon: HomeIcon,
|
|
1225
|
+
MenuIcon: MenuIcon,
|
|
1226
|
+
ShareIcon: ShareIcon,
|
|
1227
|
+
FilterIcon: FilterIcon,
|
|
1228
|
+
RefreshIcon: RefreshIcon,
|
|
1229
|
+
CopyIcon: CopyIcon,
|
|
1230
|
+
SaveIcon: SaveIcon,
|
|
1231
|
+
PrintIcon: PrintIcon,
|
|
1232
|
+
LockIcon: LockIcon,
|
|
1233
|
+
UnlockIcon: UnlockIcon,
|
|
1234
|
+
StarIcon: StarIcon,
|
|
1235
|
+
HeartIcon: HeartIcon,
|
|
1236
|
+
ThumbUpIcon: ThumbUpIcon,
|
|
1237
|
+
ThumbDownIcon: ThumbDownIcon,
|
|
1238
|
+
LocationIcon: LocationIcon,
|
|
1239
|
+
ClockIcon: ClockIcon,
|
|
1240
|
+
CameraIcon: CameraIcon,
|
|
1241
|
+
MicrophoneIcon: MicrophoneIcon,
|
|
1242
|
+
WifiIcon: WifiIcon,
|
|
1243
|
+
BluetoothIcon: BluetoothIcon,
|
|
1244
|
+
BatteryIcon: BatteryIcon,
|
|
1245
|
+
SunIcon: SunIcon,
|
|
1246
|
+
MoonIcon: MoonIcon,
|
|
1247
|
+
ErrorIcon: ErrorIcon,
|
|
1248
|
+
WarningIcon: WarningIcon,
|
|
1249
|
+
CloudIcon: CloudIcon
|
|
615
1250
|
};
|
|
616
1251
|
|
|
617
1252
|
// Define a constant object 'Themes' exporting various theme styles.
|
|
@@ -693,7 +1328,7 @@
|
|
|
693
1328
|
flexWrap: "nowrap"
|
|
694
1329
|
}, styles == null ? void 0 : styles.container), /*#__PURE__*/React__default.createElement(View, {
|
|
695
1330
|
alignSelf: 'center'
|
|
696
|
-
}, icon ? icon : (/*#__PURE__*/React__default.createElement(
|
|
1331
|
+
}, icon ? icon : (/*#__PURE__*/React__default.createElement(WarningIcon, {
|
|
697
1332
|
size: 24,
|
|
698
1333
|
color: (_styles$icon$color = styles == null ? void 0 : styles.icon.color) != null ? _styles$icon$color : Themes[variant].content.color
|
|
699
1334
|
}))), /*#__PURE__*/React__default.createElement(Vertical, {
|
|
@@ -727,7 +1362,7 @@
|
|
|
727
1362
|
// Exporting the AlertComponent as 'Alert' for use in other parts of the application.
|
|
728
1363
|
var Alert = AlertComponent;
|
|
729
1364
|
|
|
730
|
-
var _excluded$
|
|
1365
|
+
var _excluded$5 = ["ratio", "children"];
|
|
731
1366
|
// Declaration of a functional component named AspectRatioView.
|
|
732
1367
|
var AspectRatioView = _ref => {
|
|
733
1368
|
var {
|
|
@@ -737,7 +1372,7 @@
|
|
|
737
1372
|
children
|
|
738
1373
|
// Spread the rest of the props to inherit additional properties.
|
|
739
1374
|
} = _ref,
|
|
740
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
1375
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$5);
|
|
741
1376
|
return /*#__PURE__*/React__default.createElement(Center, Object.assign({
|
|
742
1377
|
width: '100%',
|
|
743
1378
|
position: "relative",
|
|
@@ -753,14 +1388,14 @@
|
|
|
753
1388
|
}, children));
|
|
754
1389
|
};
|
|
755
1390
|
|
|
756
|
-
var _excluded$
|
|
1391
|
+
var _excluded$6 = ["ratio", "children"];
|
|
757
1392
|
// Declaration of the AspectRatioComponent functional component with destructured props.
|
|
758
1393
|
var AspectRatioComponent = _ref => {
|
|
759
1394
|
var {
|
|
760
1395
|
ratio,
|
|
761
1396
|
children
|
|
762
1397
|
} = _ref,
|
|
763
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
1398
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$6);
|
|
764
1399
|
// Beginning of the return statement in the functional component.
|
|
765
1400
|
return /*#__PURE__*/React__default.createElement(AspectRatioView, Object.assign({
|
|
766
1401
|
ratio: ratio
|
|
@@ -1030,7 +1665,7 @@
|
|
|
1030
1665
|
'6xl': 64
|
|
1031
1666
|
};
|
|
1032
1667
|
|
|
1033
|
-
var _excluded$
|
|
1668
|
+
var _excluded$7 = ["children", "href", "iconSize", "underline", "isHovered", "isExternal", "styles", "setIsHovered"];
|
|
1034
1669
|
// Component definition for 'LinkView', a functional component with props defined by 'LinkViewProps'.
|
|
1035
1670
|
var LinkView = _ref => {
|
|
1036
1671
|
var {
|
|
@@ -1053,7 +1688,7 @@
|
|
|
1053
1688
|
// Setter function for the hover state, noop function provided by default.
|
|
1054
1689
|
setIsHovered = () => {}
|
|
1055
1690
|
} = _ref,
|
|
1056
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
1691
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$7);
|
|
1057
1692
|
// Function to handle mouse enter/leave events to toggle hover state.
|
|
1058
1693
|
var handleHover = () => {
|
|
1059
1694
|
if (underline === 'hover') setIsHovered(true);
|
|
@@ -1069,7 +1704,7 @@
|
|
|
1069
1704
|
gap: 3,
|
|
1070
1705
|
alignItems: "center",
|
|
1071
1706
|
flexWrap: "nowrap"
|
|
1072
|
-
}, children, isExternal && (/*#__PURE__*/React__default.createElement(
|
|
1707
|
+
}, children, isExternal && (/*#__PURE__*/React__default.createElement(ExternalLinkIcon, {
|
|
1073
1708
|
size: IconSizes[iconSize],
|
|
1074
1709
|
style: styles.icon
|
|
1075
1710
|
})))));
|
|
@@ -1094,9 +1729,9 @@
|
|
|
1094
1729
|
paddingBottom: 8,
|
|
1095
1730
|
paddingLeft: 12,
|
|
1096
1731
|
paddingRight: 12,
|
|
1097
|
-
fontWeight:
|
|
1098
|
-
fontSize:
|
|
1099
|
-
lineHeight:
|
|
1732
|
+
fontWeight: 400,
|
|
1733
|
+
fontSize: 11,
|
|
1734
|
+
lineHeight: 14,
|
|
1100
1735
|
letterSpacing: 1.25
|
|
1101
1736
|
},
|
|
1102
1737
|
sm: {
|
|
@@ -1105,10 +1740,10 @@
|
|
|
1105
1740
|
paddingBottom: 10,
|
|
1106
1741
|
paddingLeft: 16,
|
|
1107
1742
|
paddingRight: 16,
|
|
1108
|
-
fontWeight:
|
|
1109
|
-
fontSize:
|
|
1743
|
+
fontWeight: 400,
|
|
1744
|
+
fontSize: 12,
|
|
1110
1745
|
// Establishes style configuration for medium (md) button size.
|
|
1111
|
-
lineHeight:
|
|
1746
|
+
lineHeight: 16,
|
|
1112
1747
|
letterSpacing: 1.25
|
|
1113
1748
|
},
|
|
1114
1749
|
md: {
|
|
@@ -1118,9 +1753,9 @@
|
|
|
1118
1753
|
paddingLeft: 18,
|
|
1119
1754
|
paddingRight: 18,
|
|
1120
1755
|
// Establishes style configuration for large (lg) button size.
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
lineHeight:
|
|
1756
|
+
fontSize: 14,
|
|
1757
|
+
fontWeight: 400,
|
|
1758
|
+
lineHeight: 18,
|
|
1124
1759
|
letterSpacing: 1.25
|
|
1125
1760
|
},
|
|
1126
1761
|
lg: {
|
|
@@ -1130,8 +1765,8 @@
|
|
|
1130
1765
|
// Establishes style configuration for extra-large (xl) button size.
|
|
1131
1766
|
paddingLeft: 22,
|
|
1132
1767
|
paddingRight: 22,
|
|
1133
|
-
fontWeight:
|
|
1134
|
-
fontSize:
|
|
1768
|
+
fontWeight: 400,
|
|
1769
|
+
fontSize: 18,
|
|
1135
1770
|
lineHeight: 24,
|
|
1136
1771
|
letterSpacing: 1.25
|
|
1137
1772
|
},
|
|
@@ -1145,10 +1780,10 @@
|
|
|
1145
1780
|
// Sets the border-radius for a rounded button shape to '4'.
|
|
1146
1781
|
paddingRight: 26,
|
|
1147
1782
|
// Sets the border-radius for a pill-shaped button to '24'.
|
|
1148
|
-
fontWeight:
|
|
1149
|
-
fontSize:
|
|
1783
|
+
fontWeight: 400,
|
|
1784
|
+
fontSize: 22,
|
|
1150
1785
|
// Defines a constant 'IconSizes' as a mapping from 'Size' to corresponding 'CSSProperties' for icons.
|
|
1151
|
-
lineHeight:
|
|
1786
|
+
lineHeight: 28,
|
|
1152
1787
|
// Sets the width, height, and padding for icons of extra-small size.
|
|
1153
1788
|
letterSpacing: 1.25
|
|
1154
1789
|
}
|
|
@@ -1211,17 +1846,17 @@
|
|
|
1211
1846
|
slow: 300
|
|
1212
1847
|
};
|
|
1213
1848
|
|
|
1214
|
-
var _excluded$
|
|
1215
|
-
_excluded2 = ["size", "speed", "color"],
|
|
1216
|
-
_excluded3 = ["size", "speed", "color"],
|
|
1217
|
-
_excluded4 = ["size", "children", "textColor", "loaderColor", "type", "speed", "textPosition"];
|
|
1849
|
+
var _excluded$8 = ["size", "speed", "color"],
|
|
1850
|
+
_excluded2$1 = ["size", "speed", "color"],
|
|
1851
|
+
_excluded3$1 = ["size", "speed", "color"],
|
|
1852
|
+
_excluded4$1 = ["size", "children", "textColor", "loaderColor", "type", "speed", "textPosition"];
|
|
1218
1853
|
var DefaultSpinner = _ref => {
|
|
1219
1854
|
var {
|
|
1220
1855
|
size = 'md',
|
|
1221
1856
|
speed = 'normal',
|
|
1222
1857
|
color = 'theme.loading'
|
|
1223
1858
|
} = _ref,
|
|
1224
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
1859
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$8);
|
|
1225
1860
|
var theme = appStudio.useTheme();
|
|
1226
1861
|
var colorStyle = theme.getColor(color);
|
|
1227
1862
|
var sizeStyle = typeof size === 'number' ? size : DefaultSizes[size];
|
|
@@ -1264,7 +1899,7 @@
|
|
|
1264
1899
|
speed = 'normal',
|
|
1265
1900
|
color = 'theme.loading'
|
|
1266
1901
|
} = _ref2,
|
|
1267
|
-
props = _objectWithoutPropertiesLoose(_ref2, _excluded2);
|
|
1902
|
+
props = _objectWithoutPropertiesLoose(_ref2, _excluded2$1);
|
|
1268
1903
|
var theme = appStudio.useTheme();
|
|
1269
1904
|
var colorStyle = theme.getColor(color);
|
|
1270
1905
|
var sizeStyle = typeof size === 'number' ? size : DefaultSizes[size];
|
|
@@ -1306,7 +1941,7 @@
|
|
|
1306
1941
|
speed = 'normal',
|
|
1307
1942
|
color = 'theme.loading'
|
|
1308
1943
|
} = _ref3,
|
|
1309
|
-
props = _objectWithoutPropertiesLoose(_ref3, _excluded3);
|
|
1944
|
+
props = _objectWithoutPropertiesLoose(_ref3, _excluded3$1);
|
|
1310
1945
|
var theme = appStudio.useTheme();
|
|
1311
1946
|
var colorStyle = theme.getColor(color);
|
|
1312
1947
|
var sizeStyle = typeof size === 'number' ? size : DefaultSizes[size];
|
|
@@ -1345,7 +1980,7 @@
|
|
|
1345
1980
|
speed = 'normal',
|
|
1346
1981
|
textPosition = 'right'
|
|
1347
1982
|
} = _ref4,
|
|
1348
|
-
props = _objectWithoutPropertiesLoose(_ref4, _excluded4);
|
|
1983
|
+
props = _objectWithoutPropertiesLoose(_ref4, _excluded4$1);
|
|
1349
1984
|
var style = {
|
|
1350
1985
|
size,
|
|
1351
1986
|
speed,
|
|
@@ -1374,7 +2009,7 @@
|
|
|
1374
2009
|
// Exports the LoaderComponent as Loader, making it available for use in other parts of the application.
|
|
1375
2010
|
var Loader = LoaderComponent;
|
|
1376
2011
|
|
|
1377
|
-
var _excluded$
|
|
2012
|
+
var _excluded$9 = ["icon", "shadow", "children", "ariaLabel", "externalHref", "isAuto", "isFilled", "isIconRounded", "isLoading", "isDisabled", "size", "variant", "iconPosition", "colorScheme", "shape", "onClick", "loaderProps", "loaderPosition", "effect", "isHovered", "setIsHovered"];
|
|
1378
2013
|
var contrast = /*#__PURE__*/require('contrast');
|
|
1379
2014
|
var ButtonView = _ref => {
|
|
1380
2015
|
var _props$onClick;
|
|
@@ -1410,7 +2045,7 @@
|
|
|
1410
2045
|
setIsHovered = () => {}
|
|
1411
2046
|
// Defines CSS properties for 'outline' variant of the button with conditional styles based on reverse state.
|
|
1412
2047
|
} = _ref,
|
|
1413
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
2048
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$9);
|
|
1414
2049
|
var {
|
|
1415
2050
|
getColor
|
|
1416
2051
|
} = appStudio.useTheme();
|
|
@@ -1525,14 +2160,14 @@
|
|
|
1525
2160
|
};
|
|
1526
2161
|
var Button = ButtonComponent;
|
|
1527
2162
|
|
|
1528
|
-
var _excluded$
|
|
1529
|
-
_excluded2$
|
|
2163
|
+
var _excluded$a = ["src", "color"],
|
|
2164
|
+
_excluded2$2 = ["path"];
|
|
1530
2165
|
var FileSVG = _ref => {
|
|
1531
2166
|
var {
|
|
1532
2167
|
src,
|
|
1533
2168
|
color
|
|
1534
2169
|
} = _ref,
|
|
1535
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
2170
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$a);
|
|
1536
2171
|
var {
|
|
1537
2172
|
getColor
|
|
1538
2173
|
} = appStudio.useTheme();
|
|
@@ -1550,7 +2185,7 @@
|
|
|
1550
2185
|
var {
|
|
1551
2186
|
path
|
|
1552
2187
|
} = _ref2,
|
|
1553
|
-
props = _objectWithoutPropertiesLoose(_ref2, _excluded2$
|
|
2188
|
+
props = _objectWithoutPropertiesLoose(_ref2, _excluded2$2);
|
|
1554
2189
|
return /*#__PURE__*/React__default.createElement(appStudio.Image, Object.assign({
|
|
1555
2190
|
src: path
|
|
1556
2191
|
}, props));
|
|
@@ -1600,7 +2235,7 @@
|
|
|
1600
2235
|
};
|
|
1601
2236
|
};
|
|
1602
2237
|
|
|
1603
|
-
var _excluded$
|
|
2238
|
+
var _excluded$b = ["children", "styles"];
|
|
1604
2239
|
var HelperText = _ref => {
|
|
1605
2240
|
var {
|
|
1606
2241
|
children,
|
|
@@ -1608,7 +2243,7 @@
|
|
|
1608
2243
|
helperText: {}
|
|
1609
2244
|
}
|
|
1610
2245
|
} = _ref,
|
|
1611
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
2246
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$b);
|
|
1612
2247
|
return /*#__PURE__*/React__default.createElement(Text, Object.assign({
|
|
1613
2248
|
size: "xs",
|
|
1614
2249
|
marginVertical: 0,
|
|
@@ -1617,7 +2252,7 @@
|
|
|
1617
2252
|
}, styles['helperText'], props), children);
|
|
1618
2253
|
};
|
|
1619
2254
|
|
|
1620
|
-
var _excluded$
|
|
2255
|
+
var _excluded$c = ["children", "helperText", "error", "styles"];
|
|
1621
2256
|
var FieldContainer = _ref => {
|
|
1622
2257
|
var {
|
|
1623
2258
|
children,
|
|
@@ -1625,7 +2260,7 @@
|
|
|
1625
2260
|
error = false,
|
|
1626
2261
|
styles
|
|
1627
2262
|
} = _ref,
|
|
1628
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
2263
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$c);
|
|
1629
2264
|
return /*#__PURE__*/React__default.createElement(Vertical, Object.assign({
|
|
1630
2265
|
gap: 5,
|
|
1631
2266
|
position: "relative"
|
|
@@ -1684,7 +2319,7 @@
|
|
|
1684
2319
|
paddingRight: 36
|
|
1685
2320
|
};
|
|
1686
2321
|
|
|
1687
|
-
var _excluded$
|
|
2322
|
+
var _excluded$d = ["label", "shadow", "children", "value", "size", "shape", "variant", "error", "isWithLabel", "isFocused", "isHovered", "isDisabled", "isReadOnly", "colorScheme", "styles"];
|
|
1688
2323
|
var FieldContent = _ref => {
|
|
1689
2324
|
var {
|
|
1690
2325
|
shadow,
|
|
@@ -1703,7 +2338,7 @@
|
|
|
1703
2338
|
pickerBox: {}
|
|
1704
2339
|
}
|
|
1705
2340
|
} = _ref,
|
|
1706
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
2341
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$d);
|
|
1707
2342
|
var isInteractive = (isHovered || isFocused) && !isDisabled;
|
|
1708
2343
|
var color = error ? 'error' : isInteractive ? colorScheme : 'midgray';
|
|
1709
2344
|
return /*#__PURE__*/React__default.createElement(Horizontal, Object.assign({
|
|
@@ -1724,12 +2359,12 @@
|
|
|
1724
2359
|
}, isWithLabel ? PadddingWithLabel : PaddingWithoutLabel, shadow, Shapes[shape], InputVariants[variant], styles['box'], props), children);
|
|
1725
2360
|
};
|
|
1726
2361
|
|
|
1727
|
-
var _excluded$
|
|
2362
|
+
var _excluded$e = ["children"];
|
|
1728
2363
|
var FieldIcons = _ref => {
|
|
1729
2364
|
var {
|
|
1730
2365
|
children
|
|
1731
2366
|
} = _ref,
|
|
1732
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
2367
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$e);
|
|
1733
2368
|
return /*#__PURE__*/React__default.createElement(Center, Object.assign({
|
|
1734
2369
|
gap: 10,
|
|
1735
2370
|
right: 16,
|
|
@@ -1781,7 +2416,7 @@
|
|
|
1781
2416
|
}
|
|
1782
2417
|
};
|
|
1783
2418
|
|
|
1784
|
-
var _excluded$
|
|
2419
|
+
var _excluded$f = ["children", "heading", "isItalic", "isUnderlined", "isStriked", "weight", "size"];
|
|
1785
2420
|
var LabelView = _ref => {
|
|
1786
2421
|
var {
|
|
1787
2422
|
children,
|
|
@@ -1797,7 +2432,7 @@
|
|
|
1797
2432
|
size = 'sm'
|
|
1798
2433
|
// The fontSize prop for the Element is determined by the 'size' prop passed to LabelView.
|
|
1799
2434
|
} = _ref,
|
|
1800
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
2435
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$f);
|
|
1801
2436
|
// The fontStyle prop toggles between 'italic' and 'normal' based on the 'isItalic' boolean prop.
|
|
1802
2437
|
var headingStyles = heading ? HeadingSizes$1[heading] : {};
|
|
1803
2438
|
// fontWeight is derived from the Typography module, ensuring consistent font weighting across the app.
|
|
@@ -1829,7 +2464,7 @@
|
|
|
1829
2464
|
var Label = LabelComponent;
|
|
1830
2465
|
// Export the 'LabelComponent' as 'Label' to be reused throughout the project.
|
|
1831
2466
|
|
|
1832
|
-
var _excluded$
|
|
2467
|
+
var _excluded$g = ["children", "size", "error", "color", "styles", "helperText"];
|
|
1833
2468
|
var FieldLabel = _ref => {
|
|
1834
2469
|
var {
|
|
1835
2470
|
children,
|
|
@@ -1840,7 +2475,7 @@
|
|
|
1840
2475
|
label: {}
|
|
1841
2476
|
}
|
|
1842
2477
|
} = _ref,
|
|
1843
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
2478
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$g);
|
|
1844
2479
|
return /*#__PURE__*/React__default.createElement(Label, Object.assign({
|
|
1845
2480
|
top: 6,
|
|
1846
2481
|
zIndex: 1000,
|
|
@@ -1853,12 +2488,12 @@
|
|
|
1853
2488
|
}, styles['label'], props), children);
|
|
1854
2489
|
};
|
|
1855
2490
|
|
|
1856
|
-
var _excluded$
|
|
2491
|
+
var _excluded$h = ["children"];
|
|
1857
2492
|
var FieldWrapper = _ref => {
|
|
1858
2493
|
var {
|
|
1859
2494
|
children
|
|
1860
2495
|
} = _ref,
|
|
1861
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
2496
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$h);
|
|
1862
2497
|
return /*#__PURE__*/React__default.createElement(Vertical, Object.assign({
|
|
1863
2498
|
width: "100%"
|
|
1864
2499
|
}, props), children);
|
|
@@ -1874,10 +2509,10 @@
|
|
|
1874
2509
|
xl: 16
|
|
1875
2510
|
};
|
|
1876
2511
|
|
|
1877
|
-
var _excluded$
|
|
1878
|
-
_excluded2$
|
|
1879
|
-
_excluded3$
|
|
1880
|
-
_excluded4$
|
|
2512
|
+
var _excluded$i = ["isHovered", "setIsHovered", "option", "size", "callback", "style"],
|
|
2513
|
+
_excluded2$3 = ["id", "name", "value", "onChange", "isMulti", "isDisabled", "isReadOnly", "options"],
|
|
2514
|
+
_excluded3$2 = ["option", "size", "removeOption"],
|
|
2515
|
+
_excluded4$2 = ["id", "name", "label", "value", "placeholder", "helperText", "hide", "error", "isMulti", "isFocused", "isHovered", "isDisabled", "isReadOnly", "options", "shadow", "size", "colorScheme", "shape", "variant", "styles", "onChange", "setHide", "setValue", "setIsHovered", "setIsFocused", "setHighlightedIndex", "highlightedIndex"];
|
|
1881
2516
|
// Defines a component to render individual selection items within a list.
|
|
1882
2517
|
var Item = _ref => {
|
|
1883
2518
|
var {
|
|
@@ -1888,7 +2523,7 @@
|
|
|
1888
2523
|
callback = () => {},
|
|
1889
2524
|
style
|
|
1890
2525
|
} = _ref,
|
|
1891
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
2526
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$i);
|
|
1892
2527
|
// Handles the click event on an option by invoking the callback with the selected option's value.
|
|
1893
2528
|
var handleOptionClick = option => callback(option);
|
|
1894
2529
|
// Toggles the hover state on the item.
|
|
@@ -1953,7 +2588,7 @@
|
|
|
1953
2588
|
isReadOnly = false,
|
|
1954
2589
|
options = []
|
|
1955
2590
|
} = _ref3,
|
|
1956
|
-
props = _objectWithoutPropertiesLoose(_ref3, _excluded2$
|
|
2591
|
+
props = _objectWithoutPropertiesLoose(_ref3, _excluded2$3);
|
|
1957
2592
|
var handleChange = event => {
|
|
1958
2593
|
if (onChange) onChange(event);
|
|
1959
2594
|
};
|
|
@@ -2043,7 +2678,7 @@
|
|
|
2043
2678
|
size = 'md',
|
|
2044
2679
|
removeOption = () => {}
|
|
2045
2680
|
} = _ref5,
|
|
2046
|
-
props = _objectWithoutPropertiesLoose(_ref5, _excluded3$
|
|
2681
|
+
props = _objectWithoutPropertiesLoose(_ref5, _excluded3$2);
|
|
2047
2682
|
var handleClick = () => removeOption(option);
|
|
2048
2683
|
return /*#__PURE__*/React__default.createElement(Horizontal, Object.assign({
|
|
2049
2684
|
gap: 10,
|
|
@@ -2055,7 +2690,7 @@
|
|
|
2055
2690
|
onClick: event => event.stopPropagation()
|
|
2056
2691
|
}, props), /*#__PURE__*/React__default.createElement(Text, {
|
|
2057
2692
|
size: size
|
|
2058
|
-
}, option), /*#__PURE__*/React__default.createElement(
|
|
2693
|
+
}, option), /*#__PURE__*/React__default.createElement(CloseIcon, {
|
|
2059
2694
|
role: "close-button",
|
|
2060
2695
|
color: "inherit",
|
|
2061
2696
|
size: IconSizes$2[size],
|
|
@@ -2099,7 +2734,7 @@
|
|
|
2099
2734
|
setHighlightedIndex,
|
|
2100
2735
|
highlightedIndex
|
|
2101
2736
|
} = _ref6,
|
|
2102
|
-
props = _objectWithoutPropertiesLoose(_ref6, _excluded4$
|
|
2737
|
+
props = _objectWithoutPropertiesLoose(_ref6, _excluded4$2);
|
|
2103
2738
|
var isWithLabel = !!(isFocused && label);
|
|
2104
2739
|
var handleHover = () => setIsHovered(!isHovered);
|
|
2105
2740
|
var handleFocus = () => setIsFocused(true);
|
|
@@ -2169,12 +2804,14 @@
|
|
|
2169
2804
|
isDisabled: isDisabled,
|
|
2170
2805
|
placeholder: placeholder,
|
|
2171
2806
|
removeOption: handleRemoveOption
|
|
2172
|
-
})), /*#__PURE__*/React__default.createElement(FieldIcons, null, !isReadOnly && !isDisabled && (/*#__PURE__*/React__default.createElement(React__default.Fragment, null, hide ? (/*#__PURE__*/React__default.createElement(
|
|
2807
|
+
})), /*#__PURE__*/React__default.createElement(FieldIcons, null, !isReadOnly && !isDisabled && (/*#__PURE__*/React__default.createElement(React__default.Fragment, null, hide ? (/*#__PURE__*/React__default.createElement(ChevronIcon, {
|
|
2173
2808
|
color: "inherit",
|
|
2174
2809
|
size: IconSizes$2[size],
|
|
2175
|
-
style: styles.icon
|
|
2176
|
-
|
|
2810
|
+
style: styles.icon,
|
|
2811
|
+
orientation: "down"
|
|
2812
|
+
})) : (/*#__PURE__*/React__default.createElement(ChevronIcon, {
|
|
2177
2813
|
color: "inherit",
|
|
2814
|
+
orientation: "up",
|
|
2178
2815
|
size: IconSizes$2[size],
|
|
2179
2816
|
style: styles.icon
|
|
2180
2817
|
})))))), !hide && (/*#__PURE__*/React__default.createElement(DropDown, {
|
|
@@ -2343,7 +2980,7 @@
|
|
|
2343
2980
|
}
|
|
2344
2981
|
};
|
|
2345
2982
|
|
|
2346
|
-
var _excluded$
|
|
2983
|
+
var _excluded$j = ["id", "name", "label", "inActiveChild", "activeChild", "labelPosition", "shadow", "size", "colorScheme", "value", "isHovered", "isDisabled", "isReadOnly", "on", "setOn", "onChange", "setValue", "setIsHovered", "helperText", "styles"];
|
|
2347
2984
|
var SwitchContent = props => /*#__PURE__*/React__default.createElement(appStudio.Input, Object.assign({
|
|
2348
2985
|
type: "checkbox"
|
|
2349
2986
|
}, props));
|
|
@@ -2373,7 +3010,7 @@
|
|
|
2373
3010
|
label: {}
|
|
2374
3011
|
}
|
|
2375
3012
|
} = _ref,
|
|
2376
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
3013
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$j);
|
|
2377
3014
|
var handleToggle = event => {
|
|
2378
3015
|
if (!isReadOnly) {
|
|
2379
3016
|
setValue(!value);
|
|
@@ -2463,7 +3100,7 @@
|
|
|
2463
3100
|
// Export of the useTextAreaState hook for external usage.
|
|
2464
3101
|
};
|
|
2465
3102
|
|
|
2466
|
-
var _excluded$
|
|
3103
|
+
var _excluded$k = ["id", "name", "hint", "error", "value", "label", "shadow", "helperText", "placeholder", "size", "shape", "variant", "colorScheme", "isHovered", "isFocused", "isEditable", "isReadOnly", "isDisabled", "isAutoFocus", "isMultiline", "maxRows", "maxCols", "onBlur", "onChange", "onFocus", "onChangeText", "setHint", "setValue", "setIsFocused", "setIsHovered", "styles"];
|
|
2467
3104
|
var TextAreaView = _ref => {
|
|
2468
3105
|
var {
|
|
2469
3106
|
id,
|
|
@@ -2503,7 +3140,7 @@
|
|
|
2503
3140
|
field: {}
|
|
2504
3141
|
}
|
|
2505
3142
|
} = _ref,
|
|
2506
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
3143
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$k);
|
|
2507
3144
|
var isWithLabel = !!(isFocused && label);
|
|
2508
3145
|
var fieldStyles = Object.assign({
|
|
2509
3146
|
margin: 0,
|
|
@@ -2633,7 +3270,7 @@
|
|
|
2633
3270
|
};
|
|
2634
3271
|
};
|
|
2635
3272
|
|
|
2636
|
-
var _excluded$
|
|
3273
|
+
var _excluded$l = ["id", "name", "label", "hint", "value", "onChange", "leftChild", "rightChild", "helperText", "placeholder", "onChangeText", "shadow", "styles", "size", "shape", "variant", "colorScheme", "error", "isFocused", "isHovered", "isDisabled", "isReadOnly", "isClearable", "isAutoFocus", "setHint", "setIsFocused", "setIsHovered", "setValue", "onClick", "onFocus", "onBlur"];
|
|
2637
3274
|
var TextFieldInput = props => /*#__PURE__*/React__default.createElement(appStudio.Input, Object.assign({
|
|
2638
3275
|
type: "text"
|
|
2639
3276
|
}, props));
|
|
@@ -2676,7 +3313,7 @@
|
|
|
2676
3313
|
onFocus,
|
|
2677
3314
|
onBlur = () => {}
|
|
2678
3315
|
} = _ref,
|
|
2679
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
3316
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$l);
|
|
2680
3317
|
var {
|
|
2681
3318
|
getColor
|
|
2682
3319
|
} = appStudio.useTheme();
|
|
@@ -2772,7 +3409,7 @@
|
|
|
2772
3409
|
}, fieldStyles, props, {
|
|
2773
3410
|
onChange: handleChange,
|
|
2774
3411
|
value: value
|
|
2775
|
-
}))), (rightChild || isClearable && value) && (/*#__PURE__*/React__default.createElement(FieldIcons, null, isClearable && value && !isReadOnly && !isDisabled && (/*#__PURE__*/React__default.createElement(
|
|
3412
|
+
}))), (rightChild || isClearable && value) && (/*#__PURE__*/React__default.createElement(FieldIcons, null, isClearable && value && !isReadOnly && !isDisabled && (/*#__PURE__*/React__default.createElement(CloseIcon, {
|
|
2776
3413
|
size: appStudio.Typography.fontSizes[size],
|
|
2777
3414
|
color: IconColor,
|
|
2778
3415
|
onClick: handleClear
|
|
@@ -2857,7 +3494,7 @@
|
|
|
2857
3494
|
'6xl': 60
|
|
2858
3495
|
};
|
|
2859
3496
|
|
|
2860
|
-
var _excluded$
|
|
3497
|
+
var _excluded$m = ["id", "icon", "name", "label", "isChecked", "onChange", "onValueChange", "shadow", "labelPosition", "size", "colorScheme", "error", "isSelected", "isHovered", "isDisabled", "isReadOnly", "isIndeterminate", "defaultIsSelected", "setIsSelected", "setIsHovered", "styles", "infoText", "helperText"];
|
|
2861
3498
|
var CheckboxView = _ref => {
|
|
2862
3499
|
var {
|
|
2863
3500
|
id,
|
|
@@ -2885,7 +3522,7 @@
|
|
|
2885
3522
|
},
|
|
2886
3523
|
infoText
|
|
2887
3524
|
} = _ref,
|
|
2888
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
3525
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$m);
|
|
2889
3526
|
var handleHover = () => setIsHovered(!isHovered);
|
|
2890
3527
|
var handleChange = () => {
|
|
2891
3528
|
if (!isReadOnly && !isDisabled) {
|
|
@@ -2932,8 +3569,12 @@
|
|
|
2932
3569
|
alignItems: "center"
|
|
2933
3570
|
}, labelPosition === 'left' && label && (/*#__PURE__*/React__default.createElement(Text, Object.assign({
|
|
2934
3571
|
size: size
|
|
2935
|
-
}, styles == null ? void 0 : styles.label), label)), /*#__PURE__*/React__default.createElement(Center, Object.assign({}, checkboxStyle.checkbox), isIndeterminate ? (/*#__PURE__*/React__default.createElement(
|
|
2936
|
-
size: IconSizes$3[size]
|
|
3572
|
+
}, styles == null ? void 0 : styles.label), label)), /*#__PURE__*/React__default.createElement(Center, Object.assign({}, checkboxStyle.checkbox), isIndeterminate ? (/*#__PURE__*/React__default.createElement(MinusIcon, {
|
|
3573
|
+
size: IconSizes$3[size],
|
|
3574
|
+
color: "white"
|
|
3575
|
+
})) : (isChecked || isSelected) && (icon != null ? icon : /*#__PURE__*/React__default.createElement(TickIcon, {
|
|
3576
|
+
size: IconSizes$3[size],
|
|
3577
|
+
color: "white"
|
|
2937
3578
|
}))), labelPosition === 'right' && label && (/*#__PURE__*/React__default.createElement(Text, Object.assign({
|
|
2938
3579
|
size: size
|
|
2939
3580
|
}, styles == null ? void 0 : styles.label), label))), infoText && (/*#__PURE__*/React__default.createElement(Text, Object.assign({
|
|
@@ -4440,11 +5081,11 @@
|
|
|
4440
5081
|
xl: 16
|
|
4441
5082
|
};
|
|
4442
5083
|
|
|
4443
|
-
var _excluded$
|
|
4444
|
-
_excluded2$
|
|
4445
|
-
_excluded3$
|
|
5084
|
+
var _excluded$n = ["size"],
|
|
5085
|
+
_excluded2$4 = ["size"],
|
|
5086
|
+
_excluded3$3 = ["id", "name", "label", "value", "placeholder", "helperText", "hide", "error", "isHovered", "isFocused", "isAutoFocus", "isDisabled", "isReadOnly", "shadow", "newOptions", "size", "variant", "shape", "colorScheme", "onChange", "onBlur", "setHide", "setNewOptions", "setIsHovered", "setIsFocused", "setValue", "styles"];
|
|
4446
5087
|
var CountryList = _ref => {
|
|
4447
|
-
var props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
5088
|
+
var props = _objectWithoutPropertiesLoose(_ref, _excluded$n);
|
|
4448
5089
|
return /*#__PURE__*/React__default.createElement(appStudio.Element, Object.assign({
|
|
4449
5090
|
as: "ul"
|
|
4450
5091
|
}, props));
|
|
@@ -4453,7 +5094,7 @@
|
|
|
4453
5094
|
type: "country"
|
|
4454
5095
|
}, props)));
|
|
4455
5096
|
var CountryItem = _ref2 => {
|
|
4456
|
-
var props = _objectWithoutPropertiesLoose(_ref2, _excluded2$
|
|
5097
|
+
var props = _objectWithoutPropertiesLoose(_ref2, _excluded2$4);
|
|
4457
5098
|
return /*#__PURE__*/React__default.createElement(appStudio.Element, Object.assign({
|
|
4458
5099
|
as: "li"
|
|
4459
5100
|
}, props));
|
|
@@ -4477,6 +5118,7 @@
|
|
|
4477
5118
|
margin: 0,
|
|
4478
5119
|
role: "DropDownItem",
|
|
4479
5120
|
listStyleType: "none",
|
|
5121
|
+
fontWeight: "normal",
|
|
4480
5122
|
paddingVertical: 6,
|
|
4481
5123
|
paddingHorizontal: 12,
|
|
4482
5124
|
onMouseEnter: handleHover,
|
|
@@ -4555,7 +5197,7 @@
|
|
|
4555
5197
|
box: {}
|
|
4556
5198
|
}
|
|
4557
5199
|
} = _ref5,
|
|
4558
|
-
props = _objectWithoutPropertiesLoose(_ref5, _excluded3$
|
|
5200
|
+
props = _objectWithoutPropertiesLoose(_ref5, _excluded3$3);
|
|
4559
5201
|
var {
|
|
4560
5202
|
getColor
|
|
4561
5203
|
} = appStudio.useTheme();
|
|
@@ -4640,11 +5282,13 @@
|
|
|
4640
5282
|
}, fieldStyles, props, {
|
|
4641
5283
|
value: value,
|
|
4642
5284
|
onChange: handleChange
|
|
4643
|
-
}))), /*#__PURE__*/React__default.createElement(FieldIcons, null, hide ? (/*#__PURE__*/React__default.createElement(
|
|
5285
|
+
}))), /*#__PURE__*/React__default.createElement(FieldIcons, null, hide ? (/*#__PURE__*/React__default.createElement(Icon$1.ChevronIcon, {
|
|
5286
|
+
orientation: "down",
|
|
4644
5287
|
size: IconSizes$4[size],
|
|
4645
5288
|
color: IconColor,
|
|
4646
5289
|
style: styles['icon']
|
|
4647
|
-
})) : (/*#__PURE__*/React__default.createElement(
|
|
5290
|
+
})) : (/*#__PURE__*/React__default.createElement(Icon$1.ChevronIcon, {
|
|
5291
|
+
orientation: "up",
|
|
4648
5292
|
size: IconSizes$4[size],
|
|
4649
5293
|
color: IconColor,
|
|
4650
5294
|
style: styles['icon']
|
|
@@ -4680,7 +5324,7 @@
|
|
|
4680
5324
|
};
|
|
4681
5325
|
};
|
|
4682
5326
|
|
|
4683
|
-
var _excluded$
|
|
5327
|
+
var _excluded$o = ["id", "icon", "name", "label", "date", "children", "helperText", "shadow", "size", "variant", "shape", "colorScheme", "styles", "error", "isHovered", "isFocused", "isDisabled", "isReadOnly", "setDate", "setIsFocused", "setIsHovered", "onChange", "onChangeText"];
|
|
4684
5328
|
var DatePickerContent = props => /*#__PURE__*/React__default.createElement(appStudio.Input, Object.assign({
|
|
4685
5329
|
type: "date"
|
|
4686
5330
|
}, props));
|
|
@@ -4714,7 +5358,7 @@
|
|
|
4714
5358
|
onChange,
|
|
4715
5359
|
onChangeText
|
|
4716
5360
|
} = _ref,
|
|
4717
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
5361
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$o);
|
|
4718
5362
|
var isWithLabel = !!(isFocused && label);
|
|
4719
5363
|
var handleHover = () => setIsHovered(!isHovered);
|
|
4720
5364
|
var handleFocus = () => setIsFocused(true);
|
|
@@ -4802,42 +5446,240 @@
|
|
|
4802
5446
|
}, props, textFieldStates);
|
|
4803
5447
|
};
|
|
4804
5448
|
|
|
4805
|
-
var _excluded$
|
|
4806
|
-
_excluded2$
|
|
4807
|
-
var PasswordComponent = _ref => {
|
|
5449
|
+
var _excluded$p = ["visibleIcon", "hiddenIcon"],
|
|
5450
|
+
_excluded2$5 = ["isVisible", "setIsVisible"];
|
|
5451
|
+
var PasswordComponent = _ref => {
|
|
5452
|
+
var {
|
|
5453
|
+
visibleIcon = /*#__PURE__*/React__default.createElement(OpenEyeIcon, {
|
|
5454
|
+
size: 14
|
|
5455
|
+
}),
|
|
5456
|
+
hiddenIcon = /*#__PURE__*/React__default.createElement(CloseEyeIcon, {
|
|
5457
|
+
size: 14
|
|
5458
|
+
})
|
|
5459
|
+
} = _ref,
|
|
5460
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$p);
|
|
5461
|
+
var _usePasswordState = usePasswordState(props),
|
|
5462
|
+
{
|
|
5463
|
+
isVisible,
|
|
5464
|
+
setIsVisible
|
|
5465
|
+
} = _usePasswordState,
|
|
5466
|
+
passwordProps = _objectWithoutPropertiesLoose(_usePasswordState, _excluded2$5);
|
|
5467
|
+
return /*#__PURE__*/React__default.createElement(TextFieldView, Object.assign({}, passwordProps, {
|
|
5468
|
+
type: isVisible ? 'text' : 'password',
|
|
5469
|
+
isClearable: false,
|
|
5470
|
+
rightChild: /*#__PURE__*/React__default.createElement(appStudio.View, {
|
|
5471
|
+
onClick: () => {
|
|
5472
|
+
if (!props.isDisabled) {
|
|
5473
|
+
setIsVisible(!isVisible);
|
|
5474
|
+
}
|
|
5475
|
+
}
|
|
5476
|
+
}, isVisible ? visibleIcon : hiddenIcon)
|
|
5477
|
+
}));
|
|
5478
|
+
};
|
|
5479
|
+
/**
|
|
5480
|
+
* To allow users to securely enter sensitive information
|
|
5481
|
+
*/
|
|
5482
|
+
var Password = PasswordComponent;
|
|
5483
|
+
|
|
5484
|
+
// Defines the useComboBoxState hook with parameters for the list of items and optional placeholder texts.
|
|
5485
|
+
var useComboBoxState = (items, placeholder, searchPlaceholder) => {
|
|
5486
|
+
// State hook for filtered items with initial state set to the items passed to the hook.
|
|
5487
|
+
var [filteredItems, setFilteredItems] = React.useState(items);
|
|
5488
|
+
// State hook to track the selected item with an initial state based on the placeholder or the first item.
|
|
5489
|
+
var [selectedItem, setSelectedItem] = React.useState(placeholder ? {
|
|
5490
|
+
value: placeholder,
|
|
5491
|
+
label: placeholder
|
|
5492
|
+
} : items[0]);
|
|
5493
|
+
// State hook for highlighted index in the dropdown list, initialized to 0.
|
|
5494
|
+
var [highlightedIndex, setHighlightedIndex] = React.useState(0);
|
|
5495
|
+
// State hook for search query with an initial state based on the searchPlaceholder or empty string.
|
|
5496
|
+
var [searchQuery, setSearchQuery] = React.useState(searchPlaceholder != null ? searchPlaceholder : '');
|
|
5497
|
+
// State hook to manage dropdown visibility, starts as false (hidden).
|
|
5498
|
+
var [isDropdownVisible, setIsDropdownVisible] = React.useState(false);
|
|
5499
|
+
// Start of object returned by the useComboBoxState hook containing all state and state updater functions.
|
|
5500
|
+
return {
|
|
5501
|
+
filteredItems,
|
|
5502
|
+
setFilteredItems,
|
|
5503
|
+
selectedItem,
|
|
5504
|
+
setSelectedItem,
|
|
5505
|
+
highlightedIndex,
|
|
5506
|
+
setHighlightedIndex,
|
|
5507
|
+
searchQuery,
|
|
5508
|
+
setSearchQuery,
|
|
5509
|
+
isDropdownVisible,
|
|
5510
|
+
setIsDropdownVisible
|
|
5511
|
+
};
|
|
5512
|
+
};
|
|
5513
|
+
|
|
5514
|
+
var _excluded$q = ["placeholder", "items", "showTick", "onSelect", "searchEnabled", "left", "right", "label", "filteredItems", "setSelectedItem", "selectedItem", "highlightedIndex", "setHighlightedIndex", "searchQuery", "setSearchQuery", "setFilteredItems", "styles", "isDropdownVisible", "setIsDropdownVisible"];
|
|
5515
|
+
// Defines the functional component 'ComboBoxView' with destructured props.
|
|
5516
|
+
var ComboBoxView = _ref => {
|
|
5517
|
+
var {
|
|
5518
|
+
placeholder,
|
|
5519
|
+
items,
|
|
5520
|
+
showTick = true,
|
|
5521
|
+
onSelect,
|
|
5522
|
+
searchEnabled = true,
|
|
5523
|
+
left,
|
|
5524
|
+
right,
|
|
5525
|
+
label,
|
|
5526
|
+
filteredItems,
|
|
5527
|
+
setSelectedItem,
|
|
5528
|
+
selectedItem,
|
|
5529
|
+
highlightedIndex,
|
|
5530
|
+
setHighlightedIndex,
|
|
5531
|
+
searchQuery,
|
|
5532
|
+
setSearchQuery,
|
|
5533
|
+
setFilteredItems,
|
|
5534
|
+
styles,
|
|
5535
|
+
isDropdownVisible,
|
|
5536
|
+
setIsDropdownVisible
|
|
5537
|
+
// Collects all further props not destructured explicitly.
|
|
5538
|
+
} = _ref,
|
|
5539
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$q);
|
|
5540
|
+
// Sets up an effect to handle clicking outside the dropdown to close it.
|
|
5541
|
+
React.useEffect(() => {
|
|
5542
|
+
var handleClickOutside = event => {
|
|
5543
|
+
var path = event.composedPath();
|
|
5544
|
+
var isOutside = !path.some(element => (element == null ? void 0 : element.id) === 'combobox-dropdown');
|
|
5545
|
+
if (isOutside) {
|
|
5546
|
+
setIsDropdownVisible(false);
|
|
5547
|
+
}
|
|
5548
|
+
};
|
|
5549
|
+
document.addEventListener('mousedown', handleClickOutside);
|
|
5550
|
+
return () => document.removeEventListener('mousedown', handleClickOutside);
|
|
5551
|
+
}, []);
|
|
5552
|
+
// Defines 'handleSearch' to filter items based on the user's query.
|
|
5553
|
+
var handleSearch = query => {
|
|
5554
|
+
setSearchQuery(query);
|
|
5555
|
+
if (query === '') {
|
|
5556
|
+
setFilteredItems(items);
|
|
5557
|
+
} else {
|
|
5558
|
+
var filtered = items.filter(item => item.label.toLowerCase().includes(query.toLowerCase()));
|
|
5559
|
+
setFilteredItems(filtered);
|
|
5560
|
+
}
|
|
5561
|
+
setHighlightedIndex(0);
|
|
5562
|
+
};
|
|
5563
|
+
// Defines 'handleSelect' to handle item selection and close the dropdown.
|
|
5564
|
+
var handleSelect = item => {
|
|
5565
|
+
setSelectedItem(item);
|
|
5566
|
+
onSelect == null || onSelect(item);
|
|
5567
|
+
setIsDropdownVisible(false);
|
|
5568
|
+
};
|
|
5569
|
+
// Starts the JSX returned by the component representing the combobox.
|
|
5570
|
+
return /*#__PURE__*/React__default.createElement(Horizontal, Object.assign({
|
|
5571
|
+
role: "combobox",
|
|
5572
|
+
flexWrap: "nowrap",
|
|
5573
|
+
gap: 15,
|
|
5574
|
+
alignItems: "center",
|
|
5575
|
+
width: "100%"
|
|
5576
|
+
}, props), label && (/*#__PURE__*/React__default.createElement(Text, {
|
|
5577
|
+
styles: styles == null ? void 0 : styles.label,
|
|
5578
|
+
htmlFor: props.id
|
|
5579
|
+
}, label)), /*#__PURE__*/React__default.createElement(View, {
|
|
5580
|
+
position: "relative"
|
|
5581
|
+
}, /*#__PURE__*/React__default.createElement(Horizontal, Object.assign({
|
|
5582
|
+
cursor: "pointer",
|
|
5583
|
+
backgroundColor: "white",
|
|
5584
|
+
boxShadow: "rgba(0, 0, 0, 0.16) 0px 1px 4px",
|
|
5585
|
+
padding: "12px",
|
|
5586
|
+
display: "flex",
|
|
5587
|
+
alignItems: "center",
|
|
5588
|
+
borderRadius: "4px",
|
|
5589
|
+
justifyContent: "space-between",
|
|
5590
|
+
minWidth: 300,
|
|
5591
|
+
flexWrap: "nowrap"
|
|
5592
|
+
}, styles == null ? void 0 : styles.container), /*#__PURE__*/React__default.createElement(Horizontal, Object.assign({
|
|
5593
|
+
gap: 15,
|
|
5594
|
+
alignItems: "center",
|
|
5595
|
+
position: "relative",
|
|
5596
|
+
width: "100%",
|
|
5597
|
+
onClick: () => setIsDropdownVisible(!isDropdownVisible)
|
|
5598
|
+
}, styles == null ? void 0 : styles.labelContainer), left, /*#__PURE__*/React__default.createElement(Text, Object.assign({
|
|
5599
|
+
weight: "medium",
|
|
5600
|
+
flexGrow: 1
|
|
5601
|
+
}, styles == null ? void 0 : styles.label), selectedItem.label)), right, isDropdownVisible && (/*#__PURE__*/React__default.createElement(View, Object.assign({
|
|
5602
|
+
id: "combobox-dropdown",
|
|
5603
|
+
position: "absolute",
|
|
5604
|
+
backgroundColor: "white",
|
|
5605
|
+
boxShadow: "rgba(0, 0 ,0 ,0.16) 0px 1px 4px",
|
|
5606
|
+
width: "100%",
|
|
5607
|
+
overflowY: "auto",
|
|
5608
|
+
zIndex: 10000,
|
|
5609
|
+
bottom: -8,
|
|
5610
|
+
left: 0,
|
|
5611
|
+
transform: "translateY(100%)",
|
|
5612
|
+
marginTop: "4px",
|
|
5613
|
+
borderRadius: "4px"
|
|
5614
|
+
}, styles == null ? void 0 : styles.dropdown), searchEnabled && (/*#__PURE__*/React__default.createElement(TextFieldView, {
|
|
5615
|
+
id: props.id,
|
|
5616
|
+
name: props.name,
|
|
5617
|
+
width: "100%",
|
|
5618
|
+
type: "search",
|
|
5619
|
+
value: searchQuery,
|
|
5620
|
+
onChange: value => handleSearch(value),
|
|
5621
|
+
hint: placeholder,
|
|
5622
|
+
isClearable: false,
|
|
5623
|
+
leftChild: /*#__PURE__*/React__default.createElement(Icon$1.SearchIcon, {
|
|
5624
|
+
size: 12
|
|
5625
|
+
}),
|
|
5626
|
+
styles: {
|
|
5627
|
+
box: Object.assign({
|
|
5628
|
+
width: '100%',
|
|
5629
|
+
padding: '6px 12px',
|
|
5630
|
+
borderBottom: filteredItems.length > 0 ? '1px solid #ccc' : '1px solid transparent'
|
|
5631
|
+
}, styles == null ? void 0 : styles.text)
|
|
5632
|
+
}
|
|
5633
|
+
})), filteredItems.length > 0 && (/*#__PURE__*/React__default.createElement(View, {
|
|
5634
|
+
margin: 0,
|
|
5635
|
+
padding: 4
|
|
5636
|
+
}, filteredItems.map((item, index) => (/*#__PURE__*/React__default.createElement(Horizontal, Object.assign({
|
|
5637
|
+
justifyContent: "space-between",
|
|
5638
|
+
key: item.value,
|
|
5639
|
+
padding: "12px",
|
|
5640
|
+
cursor: "pointer",
|
|
5641
|
+
borderRadius: 4,
|
|
5642
|
+
backgroundColor: index === highlightedIndex ? 'color.gray.100' : 'transparent',
|
|
5643
|
+
onMouseEnter: () => setHighlightedIndex(index),
|
|
5644
|
+
onClick: () => handleSelect(item)
|
|
5645
|
+
}, styles == null ? void 0 : styles.item), /*#__PURE__*/React__default.createElement(Text, null, item.label), /*#__PURE__*/React__default.createElement(React__default.Fragment, null, item.icon && item.icon, item.value === selectedItem.value && showTick && !item.icon && /*#__PURE__*/React__default.createElement(Icon$1.TickIcon, {
|
|
5646
|
+
size: 20
|
|
5647
|
+
}))))))))))));
|
|
5648
|
+
};
|
|
5649
|
+
|
|
5650
|
+
var _excluded$r = ["id", "name", "items", "placeholder", "searchPlaceholder"];
|
|
5651
|
+
// Defines the ComboBoxComponent functional component with ComboBoxProps
|
|
5652
|
+
var ComboBoxComponent = _ref => {
|
|
4808
5653
|
var {
|
|
4809
|
-
|
|
4810
|
-
|
|
4811
|
-
|
|
4812
|
-
|
|
4813
|
-
|
|
4814
|
-
|
|
5654
|
+
// Destructures 'id' from component props
|
|
5655
|
+
id,
|
|
5656
|
+
// Destructures 'name' from component props
|
|
5657
|
+
name,
|
|
5658
|
+
// Destructures 'items' from component props, used to populate combobox
|
|
5659
|
+
items,
|
|
5660
|
+
// Destructures 'placeholder' from component props, displayed when no item selected
|
|
5661
|
+
placeholder,
|
|
5662
|
+
// Destructures 'searchPlaceholder' from component props, used as the search field placeholder
|
|
5663
|
+
searchPlaceholder
|
|
5664
|
+
// Destructures the rest of the props not explicitly defined
|
|
4815
5665
|
} = _ref,
|
|
4816
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
4817
|
-
|
|
4818
|
-
|
|
4819
|
-
|
|
4820
|
-
|
|
4821
|
-
|
|
4822
|
-
|
|
4823
|
-
|
|
4824
|
-
|
|
4825
|
-
|
|
4826
|
-
|
|
4827
|
-
|
|
4828
|
-
if (!props.isDisabled) {
|
|
4829
|
-
setIsVisible(!isVisible);
|
|
4830
|
-
}
|
|
4831
|
-
}
|
|
4832
|
-
}, isVisible ? visibleIcon : hiddenIcon)
|
|
4833
|
-
}));
|
|
5666
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$r);
|
|
5667
|
+
// Initializes ComboBox state using custom hook with items and placeholders
|
|
5668
|
+
var state = useComboBoxState(items, placeholder, searchPlaceholder);
|
|
5669
|
+
return (
|
|
5670
|
+
/*#__PURE__*/
|
|
5671
|
+
// Render ComboBoxView with passed and state props
|
|
5672
|
+
React__default.createElement(ComboBoxView, Object.assign({
|
|
5673
|
+
id: id,
|
|
5674
|
+
name: name,
|
|
5675
|
+
items: items
|
|
5676
|
+
}, state, props))
|
|
5677
|
+
);
|
|
4834
5678
|
};
|
|
4835
|
-
|
|
4836
|
-
|
|
4837
|
-
*/
|
|
4838
|
-
var Password = PasswordComponent;
|
|
5679
|
+
// Exports the ComboBoxComponent as ComboBox
|
|
5680
|
+
var ComboBox = ComboBoxComponent;
|
|
4839
5681
|
|
|
4840
|
-
var _excluded$
|
|
5682
|
+
var _excluded$s = ["children", "autoFocus", "initFocus", "onChange"];
|
|
4841
5683
|
var FocusContext = /*#__PURE__*/React.createContext({
|
|
4842
5684
|
active: false,
|
|
4843
5685
|
focusNextInput: () => {},
|
|
@@ -4853,7 +5695,7 @@
|
|
|
4853
5695
|
initFocus,
|
|
4854
5696
|
onChange = () => {}
|
|
4855
5697
|
} = _ref,
|
|
4856
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
5698
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$s);
|
|
4857
5699
|
var formik$1 = formik.useFormikContext();
|
|
4858
5700
|
React.useEffect(() => {
|
|
4859
5701
|
onChange(formik$1.values);
|
|
@@ -4901,7 +5743,7 @@
|
|
|
4901
5743
|
}, /*#__PURE__*/React__default.createElement(appStudio.Form, Object.assign({}, props), children));
|
|
4902
5744
|
};
|
|
4903
5745
|
|
|
4904
|
-
var _excluded$
|
|
5746
|
+
var _excluded$t = ["name", "type"];
|
|
4905
5747
|
var getInputTypeProps = type => {
|
|
4906
5748
|
switch (type) {
|
|
4907
5749
|
case 'email':
|
|
@@ -4940,7 +5782,7 @@
|
|
|
4940
5782
|
name,
|
|
4941
5783
|
type
|
|
4942
5784
|
} = _ref,
|
|
4943
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
5785
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$t);
|
|
4944
5786
|
var focus = useFormFocus();
|
|
4945
5787
|
var {
|
|
4946
5788
|
touched,
|
|
@@ -4984,13 +5826,13 @@
|
|
|
4984
5826
|
} : {});
|
|
4985
5827
|
};
|
|
4986
5828
|
|
|
4987
|
-
var _excluded$
|
|
5829
|
+
var _excluded$u = ["value"];
|
|
4988
5830
|
var CheckboxComponent$1 = props => {
|
|
4989
5831
|
var _useFormikInput = useFormikInput(props),
|
|
4990
5832
|
{
|
|
4991
5833
|
value
|
|
4992
5834
|
} = _useFormikInput,
|
|
4993
|
-
formProps = _objectWithoutPropertiesLoose(_useFormikInput, _excluded$
|
|
5835
|
+
formProps = _objectWithoutPropertiesLoose(_useFormikInput, _excluded$u);
|
|
4994
5836
|
formProps.isChecked = value;
|
|
4995
5837
|
var checkboxStates = useCheckboxState(props);
|
|
4996
5838
|
return /*#__PURE__*/React__default.createElement(CheckboxView, Object.assign({}, checkboxStates, formProps));
|
|
@@ -5048,11 +5890,11 @@
|
|
|
5048
5890
|
*/
|
|
5049
5891
|
var FormikTextArea = TextAreaComponent$1;
|
|
5050
5892
|
|
|
5051
|
-
var _excluded$
|
|
5893
|
+
var _excluded$v = ["value"];
|
|
5052
5894
|
var TextFieldComponent$1 = props => {
|
|
5053
5895
|
var formProps = useFormikInput(props);
|
|
5054
5896
|
var _useTextFieldState = useTextFieldState(props),
|
|
5055
|
-
textFieldStates = _objectWithoutPropertiesLoose(_useTextFieldState, _excluded$
|
|
5897
|
+
textFieldStates = _objectWithoutPropertiesLoose(_useTextFieldState, _excluded$v);
|
|
5056
5898
|
return /*#__PURE__*/React__default.createElement(TextFieldView, Object.assign({}, textFieldStates, formProps));
|
|
5057
5899
|
};
|
|
5058
5900
|
/**
|
|
@@ -5060,25 +5902,25 @@
|
|
|
5060
5902
|
*/
|
|
5061
5903
|
var FormikTextField = TextFieldComponent$1;
|
|
5062
5904
|
|
|
5063
|
-
var _excluded$
|
|
5064
|
-
_excluded2$
|
|
5905
|
+
var _excluded$w = ["visibleIcon", "hiddenIcon"],
|
|
5906
|
+
_excluded2$6 = ["isVisible", "setIsVisible"];
|
|
5065
5907
|
var PasswordComponent$1 = _ref => {
|
|
5066
5908
|
var {
|
|
5067
|
-
visibleIcon = /*#__PURE__*/React__default.createElement(
|
|
5909
|
+
visibleIcon = /*#__PURE__*/React__default.createElement(OpenEyeIcon, {
|
|
5068
5910
|
size: 14
|
|
5069
5911
|
}),
|
|
5070
|
-
hiddenIcon = /*#__PURE__*/React__default.createElement(
|
|
5912
|
+
hiddenIcon = /*#__PURE__*/React__default.createElement(CloseEyeIcon, {
|
|
5071
5913
|
size: 14
|
|
5072
5914
|
})
|
|
5073
5915
|
} = _ref,
|
|
5074
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
5916
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$w);
|
|
5075
5917
|
var formProps = useFormikInput(props);
|
|
5076
5918
|
var _usePasswordState = usePasswordState(formProps),
|
|
5077
5919
|
{
|
|
5078
5920
|
isVisible,
|
|
5079
5921
|
setIsVisible
|
|
5080
5922
|
} = _usePasswordState,
|
|
5081
|
-
passwordProps = _objectWithoutPropertiesLoose(_usePasswordState, _excluded2$
|
|
5923
|
+
passwordProps = _objectWithoutPropertiesLoose(_usePasswordState, _excluded2$6);
|
|
5082
5924
|
return /*#__PURE__*/React__default.createElement(TextFieldView, Object.assign({}, passwordProps, {
|
|
5083
5925
|
type: isVisible ? 'text' : 'password',
|
|
5084
5926
|
isClearable: false,
|
|
@@ -5096,245 +5938,14 @@
|
|
|
5096
5938
|
*/
|
|
5097
5939
|
var FormikPassword = PasswordComponent$1;
|
|
5098
5940
|
|
|
5099
|
-
|
|
5100
|
-
var
|
|
5101
|
-
// State hook for filtered items with initial state set to the items passed to the hook.
|
|
5102
|
-
var [filteredItems, setFilteredItems] = React.useState(items);
|
|
5103
|
-
// State hook to track the selected item with an initial state based on the placeholder or the first item.
|
|
5104
|
-
var [selectedItem, setSelectedItem] = React.useState(placeholder ? {
|
|
5105
|
-
value: placeholder,
|
|
5106
|
-
label: placeholder
|
|
5107
|
-
} : items[0]);
|
|
5108
|
-
// State hook for highlighted index in the dropdown list, initialized to 0.
|
|
5109
|
-
var [highlightedIndex, setHighlightedIndex] = React.useState(0);
|
|
5110
|
-
// State hook for search query with an initial state based on the searchPlaceholder or empty string.
|
|
5111
|
-
var [searchQuery, setSearchQuery] = React.useState(searchPlaceholder != null ? searchPlaceholder : '');
|
|
5112
|
-
// State hook to manage dropdown visibility, starts as false (hidden).
|
|
5113
|
-
var [isDropdownVisible, setIsDropdownVisible] = React.useState(false);
|
|
5114
|
-
// Start of object returned by the useComboBoxState hook containing all state and state updater functions.
|
|
5115
|
-
return {
|
|
5116
|
-
filteredItems,
|
|
5117
|
-
setFilteredItems,
|
|
5118
|
-
selectedItem,
|
|
5119
|
-
setSelectedItem,
|
|
5120
|
-
highlightedIndex,
|
|
5121
|
-
setHighlightedIndex,
|
|
5122
|
-
searchQuery,
|
|
5123
|
-
setSearchQuery,
|
|
5124
|
-
isDropdownVisible,
|
|
5125
|
-
setIsDropdownVisible
|
|
5126
|
-
};
|
|
5127
|
-
};
|
|
5128
|
-
|
|
5129
|
-
var _excluded$E = ["size", "color"];
|
|
5130
|
-
var TickSvg = _ref => {
|
|
5131
|
-
var {
|
|
5132
|
-
size = 16,
|
|
5133
|
-
color = '#c0c0c0'
|
|
5134
|
-
} = _ref,
|
|
5135
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$E);
|
|
5136
|
-
return /*#__PURE__*/React__default.createElement(Center, {
|
|
5137
|
-
width: size + "px",
|
|
5138
|
-
height: size + "px"
|
|
5139
|
-
}, /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
5140
|
-
width: size + "px",
|
|
5141
|
-
height: size + "px",
|
|
5142
|
-
viewBox: "0 -0.5 25 25",
|
|
5143
|
-
fill: "none",
|
|
5144
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
5145
|
-
}, props), /*#__PURE__*/React__default.createElement("g", {
|
|
5146
|
-
id: "SVGRepo_bgCarrier",
|
|
5147
|
-
strokeWidth: "0"
|
|
5148
|
-
}), /*#__PURE__*/React__default.createElement("g", {
|
|
5149
|
-
id: "SVGRepo_tracerCarrier",
|
|
5150
|
-
strokeLinecap: "round",
|
|
5151
|
-
strokeLinejoin: "round"
|
|
5152
|
-
}), /*#__PURE__*/React__default.createElement("g", {
|
|
5153
|
-
id: "SVGRepo_iconCarrier"
|
|
5154
|
-
}, ' ', /*#__PURE__*/React__default.createElement("path", {
|
|
5155
|
-
d: "M5.5 12.5L10.167 17L19.5 8",
|
|
5156
|
-
stroke: "#444444",
|
|
5157
|
-
strokeWidth: "1.5",
|
|
5158
|
-
strokeLinecap: "round",
|
|
5159
|
-
strokeLinejoin: "round"
|
|
5160
|
-
}), ' ')));
|
|
5161
|
-
};
|
|
5162
|
-
|
|
5163
|
-
var _excluded$F = ["size", "color"];
|
|
5164
|
-
var SearchLoopSvg = _ref => {
|
|
5165
|
-
var {
|
|
5166
|
-
size = 14,
|
|
5167
|
-
color = '#c0c0c0'
|
|
5168
|
-
} = _ref,
|
|
5169
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$F);
|
|
5170
|
-
return /*#__PURE__*/React__default.createElement(Center, {
|
|
5171
|
-
width: size + "px",
|
|
5172
|
-
height: size + "px"
|
|
5173
|
-
}, /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
5174
|
-
fill: "#c0c0c0",
|
|
5175
|
-
width: size + "px",
|
|
5176
|
-
height: size + "px",
|
|
5177
|
-
version: "1.1",
|
|
5178
|
-
id: "Capa_1",
|
|
5179
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
5180
|
-
viewBox: "0 0 488.4 488.4",
|
|
5181
|
-
stroke: color
|
|
5182
|
-
}, props), /*#__PURE__*/React__default.createElement("g", {
|
|
5183
|
-
id: "SVGRepo_bgCarrier",
|
|
5184
|
-
strokeWidth: "9.279599999999999"
|
|
5185
|
-
}), /*#__PURE__*/React__default.createElement("g", {
|
|
5186
|
-
id: "SVGRepo_tracerCarrier",
|
|
5187
|
-
strokeLinecap: "round",
|
|
5188
|
-
strokeLinejoin: "round"
|
|
5189
|
-
}), /*#__PURE__*/React__default.createElement("g", {
|
|
5190
|
-
id: "SVGRepo_iconCarrier"
|
|
5191
|
-
}, /*#__PURE__*/React__default.createElement("g", null, /*#__PURE__*/React__default.createElement("g", null, /*#__PURE__*/React__default.createElement("path", {
|
|
5192
|
-
d: "M0,203.25c0,112.1,91.2,203.2,203.2,203.2c51.6,0,98.8-19.4,134.7-51.2l129.5,129.5c2.4,2.4,5.5,3.6,8.7,3.6 s6.3-1.2,8.7-3.6c4.8-4.8,4.8-12.5,0-17.3l-129.6-129.5c31.8-35.9,51.2-83,51.2-134.7c0-112.1-91.2-203.2-203.2-203.2 S0,91.15,0,203.25z M381.9,203.25c0,98.5-80.2,178.7-178.7,178.7s-178.7-80.2-178.7-178.7s80.2-178.7,178.7-178.7 S381.9,104.65,381.9,203.25z"
|
|
5193
|
-
}), ' ')))));
|
|
5194
|
-
};
|
|
5195
|
-
|
|
5196
|
-
var _excluded$G = ["placeholder", "items", "showTick", "onSelect", "searchEnabled", "left", "right", "label", "filteredItems", "setSelectedItem", "selectedItem", "highlightedIndex", "setHighlightedIndex", "searchQuery", "setSearchQuery", "setFilteredItems", "styles", "isDropdownVisible", "setIsDropdownVisible"];
|
|
5197
|
-
// Defines the functional component 'ComboBoxView' with destructured props.
|
|
5198
|
-
var ComboBoxView = _ref => {
|
|
5199
|
-
var {
|
|
5200
|
-
placeholder,
|
|
5201
|
-
items,
|
|
5202
|
-
showTick = true,
|
|
5203
|
-
onSelect,
|
|
5204
|
-
searchEnabled = true,
|
|
5205
|
-
left,
|
|
5206
|
-
right,
|
|
5207
|
-
label,
|
|
5208
|
-
filteredItems,
|
|
5209
|
-
setSelectedItem,
|
|
5210
|
-
selectedItem,
|
|
5211
|
-
highlightedIndex,
|
|
5212
|
-
setHighlightedIndex,
|
|
5213
|
-
searchQuery,
|
|
5214
|
-
setSearchQuery,
|
|
5215
|
-
setFilteredItems,
|
|
5216
|
-
styles,
|
|
5217
|
-
isDropdownVisible,
|
|
5218
|
-
setIsDropdownVisible
|
|
5219
|
-
// Collects all further props not destructured explicitly.
|
|
5220
|
-
} = _ref,
|
|
5221
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$G);
|
|
5222
|
-
// Sets up an effect to handle clicking outside the dropdown to close it.
|
|
5223
|
-
React.useEffect(() => {
|
|
5224
|
-
var handleClickOutside = event => {
|
|
5225
|
-
var path = event.composedPath();
|
|
5226
|
-
var isOutside = !path.some(element => (element == null ? void 0 : element.id) === 'combobox-dropdown');
|
|
5227
|
-
if (isOutside) {
|
|
5228
|
-
setIsDropdownVisible(false);
|
|
5229
|
-
}
|
|
5230
|
-
};
|
|
5231
|
-
document.addEventListener('mousedown', handleClickOutside);
|
|
5232
|
-
return () => document.removeEventListener('mousedown', handleClickOutside);
|
|
5233
|
-
}, []);
|
|
5234
|
-
// Defines 'handleSearch' to filter items based on the user's query.
|
|
5235
|
-
var handleSearch = query => {
|
|
5236
|
-
setSearchQuery(query);
|
|
5237
|
-
if (query === '') {
|
|
5238
|
-
setFilteredItems(items);
|
|
5239
|
-
} else {
|
|
5240
|
-
var filtered = items.filter(item => item.label.toLowerCase().includes(query.toLowerCase()));
|
|
5241
|
-
setFilteredItems(filtered);
|
|
5242
|
-
}
|
|
5243
|
-
setHighlightedIndex(0);
|
|
5244
|
-
};
|
|
5245
|
-
// Defines 'handleSelect' to handle item selection and close the dropdown.
|
|
5246
|
-
var handleSelect = item => {
|
|
5247
|
-
setSelectedItem(item);
|
|
5248
|
-
onSelect == null || onSelect(item);
|
|
5249
|
-
setIsDropdownVisible(false);
|
|
5250
|
-
};
|
|
5251
|
-
// Starts the JSX returned by the component representing the combobox.
|
|
5252
|
-
return /*#__PURE__*/React__default.createElement(Horizontal, Object.assign({
|
|
5253
|
-
role: "combobox",
|
|
5254
|
-
flexWrap: "nowrap",
|
|
5255
|
-
gap: 15,
|
|
5256
|
-
alignItems: "center",
|
|
5257
|
-
width: "100%"
|
|
5258
|
-
}, props), label && (/*#__PURE__*/React__default.createElement(Text, {
|
|
5259
|
-
styles: styles == null ? void 0 : styles.label,
|
|
5260
|
-
htmlFor: props.id
|
|
5261
|
-
}, label)), /*#__PURE__*/React__default.createElement(View, {
|
|
5262
|
-
position: "relative"
|
|
5263
|
-
}, /*#__PURE__*/React__default.createElement(Horizontal, Object.assign({
|
|
5264
|
-
cursor: "pointer",
|
|
5265
|
-
backgroundColor: "white",
|
|
5266
|
-
boxShadow: "rgba(0, 0, 0, 0.16) 0px 1px 4px",
|
|
5267
|
-
padding: "12px",
|
|
5268
|
-
display: "flex",
|
|
5269
|
-
alignItems: "center",
|
|
5270
|
-
borderRadius: "4px",
|
|
5271
|
-
justifyContent: "space-between",
|
|
5272
|
-
minWidth: 300,
|
|
5273
|
-
flexWrap: "nowrap"
|
|
5274
|
-
}, styles == null ? void 0 : styles.container), /*#__PURE__*/React__default.createElement(Horizontal, Object.assign({
|
|
5275
|
-
gap: 15,
|
|
5276
|
-
alignItems: "center",
|
|
5277
|
-
position: "relative",
|
|
5278
|
-
width: "100%",
|
|
5279
|
-
onClick: () => setIsDropdownVisible(!isDropdownVisible)
|
|
5280
|
-
}, styles == null ? void 0 : styles.labelContainer), left, /*#__PURE__*/React__default.createElement(Text, Object.assign({
|
|
5281
|
-
weight: "medium",
|
|
5282
|
-
flexGrow: 1
|
|
5283
|
-
}, styles == null ? void 0 : styles.label), selectedItem.label)), right, isDropdownVisible && (/*#__PURE__*/React__default.createElement(View, Object.assign({
|
|
5284
|
-
id: "combobox-dropdown",
|
|
5285
|
-
position: "absolute",
|
|
5286
|
-
backgroundColor: "white",
|
|
5287
|
-
boxShadow: "rgba(0, 0 ,0 ,0.16) 0px 1px 4px",
|
|
5288
|
-
width: "100%",
|
|
5289
|
-
overflowY: "auto",
|
|
5290
|
-
zIndex: 10000,
|
|
5291
|
-
bottom: -8,
|
|
5292
|
-
left: 0,
|
|
5293
|
-
transform: "translateY(100%)",
|
|
5294
|
-
marginTop: "4px",
|
|
5295
|
-
borderRadius: "4px"
|
|
5296
|
-
}, styles == null ? void 0 : styles.dropdown), searchEnabled && (/*#__PURE__*/React__default.createElement(TextFieldView, {
|
|
5297
|
-
id: props.id,
|
|
5298
|
-
name: props.name,
|
|
5299
|
-
width: "100%",
|
|
5300
|
-
type: "search",
|
|
5301
|
-
value: searchQuery,
|
|
5302
|
-
onChange: value => handleSearch(value),
|
|
5303
|
-
hint: placeholder,
|
|
5304
|
-
isClearable: false,
|
|
5305
|
-
leftChild: /*#__PURE__*/React__default.createElement(SearchLoopSvg, {
|
|
5306
|
-
size: 12
|
|
5307
|
-
}),
|
|
5308
|
-
styles: {
|
|
5309
|
-
box: Object.assign({
|
|
5310
|
-
width: '100%',
|
|
5311
|
-
padding: '6px 12px',
|
|
5312
|
-
borderBottom: filteredItems.length > 0 ? '1px solid #ccc' : '1px solid transparent'
|
|
5313
|
-
}, styles == null ? void 0 : styles.text)
|
|
5314
|
-
}
|
|
5315
|
-
})), filteredItems.length > 0 && (/*#__PURE__*/React__default.createElement(View, {
|
|
5316
|
-
margin: 0,
|
|
5317
|
-
padding: 4
|
|
5318
|
-
}, filteredItems.map((item, index) => (/*#__PURE__*/React__default.createElement(Horizontal, Object.assign({
|
|
5319
|
-
justifyContent: "space-between",
|
|
5320
|
-
key: item.value,
|
|
5321
|
-
padding: "12px",
|
|
5322
|
-
cursor: "pointer",
|
|
5323
|
-
borderRadius: 4,
|
|
5324
|
-
backgroundColor: index === highlightedIndex ? 'color.gray.100' : 'transparent',
|
|
5325
|
-
onMouseEnter: () => setHighlightedIndex(index),
|
|
5326
|
-
onClick: () => handleSelect(item)
|
|
5327
|
-
}, styles == null ? void 0 : styles.item), /*#__PURE__*/React__default.createElement(Text, null, item.label), /*#__PURE__*/React__default.createElement(React__default.Fragment, null, item.icon && item.icon, item.value === selectedItem.value && showTick && !item.icon && /*#__PURE__*/React__default.createElement(TickSvg, null))))))))))));
|
|
5328
|
-
};
|
|
5329
|
-
|
|
5330
|
-
var _excluded$H = ["items", "placeholder", "searchPlaceholder"];
|
|
5331
|
-
var ComboBoxComponent = _ref => {
|
|
5941
|
+
var _excluded$x = ["items", "placeholder", "searchPlaceholder"];
|
|
5942
|
+
var ComboBoxComponent$1 = _ref => {
|
|
5332
5943
|
var {
|
|
5333
5944
|
items,
|
|
5334
5945
|
placeholder,
|
|
5335
5946
|
searchPlaceholder
|
|
5336
5947
|
} = _ref,
|
|
5337
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
5948
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$x);
|
|
5338
5949
|
var formProps = useFormikInput(props);
|
|
5339
5950
|
var ComboBoxStates = useComboBoxState(items, placeholder, searchPlaceholder);
|
|
5340
5951
|
// Ensure the onChange function from formProps is being called when an item is selected
|
|
@@ -5348,7 +5959,7 @@
|
|
|
5348
5959
|
/**
|
|
5349
5960
|
* ComboBox allows users to select one or more options from a list of choices.
|
|
5350
5961
|
*/
|
|
5351
|
-
var FormikComboBox = ComboBoxComponent;
|
|
5962
|
+
var FormikComboBox = ComboBoxComponent$1;
|
|
5352
5963
|
|
|
5353
5964
|
// Create your store with the initial state and actions.
|
|
5354
5965
|
var useMessageStore = /*#__PURE__*/zustand.create(set => ({
|
|
@@ -5402,14 +6013,14 @@
|
|
|
5402
6013
|
},
|
|
5403
6014
|
icon: {
|
|
5404
6015
|
color: 'color.blue.500',
|
|
5405
|
-
name: '
|
|
6016
|
+
name: 'InformationIcon'
|
|
5406
6017
|
},
|
|
5407
6018
|
content: {
|
|
5408
6019
|
color: 'color.blue.500'
|
|
5409
6020
|
},
|
|
5410
6021
|
close: {
|
|
5411
6022
|
color: 'color.blue.500',
|
|
5412
|
-
name: '
|
|
6023
|
+
name: 'CloseIcon'
|
|
5413
6024
|
}
|
|
5414
6025
|
},
|
|
5415
6026
|
success: {
|
|
@@ -5419,14 +6030,14 @@
|
|
|
5419
6030
|
},
|
|
5420
6031
|
icon: {
|
|
5421
6032
|
color: 'color.green.500',
|
|
5422
|
-
name: '
|
|
6033
|
+
name: 'CheckCircleIcon'
|
|
5423
6034
|
},
|
|
5424
6035
|
content: {
|
|
5425
6036
|
color: 'color.green.500'
|
|
5426
6037
|
},
|
|
5427
6038
|
close: {
|
|
5428
6039
|
color: 'color.green.500',
|
|
5429
|
-
name: '
|
|
6040
|
+
name: 'CloseIcon'
|
|
5430
6041
|
}
|
|
5431
6042
|
},
|
|
5432
6043
|
error: {
|
|
@@ -5436,14 +6047,14 @@
|
|
|
5436
6047
|
},
|
|
5437
6048
|
icon: {
|
|
5438
6049
|
color: 'color.red.500',
|
|
5439
|
-
name: '
|
|
6050
|
+
name: 'ErrrorIcon'
|
|
5440
6051
|
},
|
|
5441
6052
|
content: {
|
|
5442
6053
|
color: 'color.red.500'
|
|
5443
6054
|
},
|
|
5444
6055
|
close: {
|
|
5445
6056
|
color: 'color.red.500',
|
|
5446
|
-
name: '
|
|
6057
|
+
name: 'CloseIcon'
|
|
5447
6058
|
}
|
|
5448
6059
|
},
|
|
5449
6060
|
warning: {
|
|
@@ -5453,14 +6064,14 @@
|
|
|
5453
6064
|
},
|
|
5454
6065
|
icon: {
|
|
5455
6066
|
color: 'color.orange.500',
|
|
5456
|
-
name: '
|
|
6067
|
+
name: 'ErrrorIcon'
|
|
5457
6068
|
},
|
|
5458
6069
|
content: {
|
|
5459
6070
|
color: 'color.orange.500'
|
|
5460
6071
|
},
|
|
5461
6072
|
close: {
|
|
5462
6073
|
color: 'color.orange.500',
|
|
5463
|
-
name: '
|
|
6074
|
+
name: 'CloseIcon'
|
|
5464
6075
|
}
|
|
5465
6076
|
}
|
|
5466
6077
|
};
|
|
@@ -5507,19 +6118,19 @@
|
|
|
5507
6118
|
error: '#ef4444'
|
|
5508
6119
|
}[variant];
|
|
5509
6120
|
var iconComponent = {
|
|
5510
|
-
info: /*#__PURE__*/React__default.createElement(
|
|
6121
|
+
info: /*#__PURE__*/React__default.createElement(InfoIcon, Object.assign({
|
|
5511
6122
|
size: 24,
|
|
5512
6123
|
color: iconColor
|
|
5513
6124
|
}, styles == null ? void 0 : styles.icon)),
|
|
5514
|
-
success: /*#__PURE__*/React__default.createElement(
|
|
6125
|
+
success: /*#__PURE__*/React__default.createElement(SuccessIcon, Object.assign({
|
|
5515
6126
|
size: 24,
|
|
5516
6127
|
color: iconColor
|
|
5517
6128
|
}, styles == null ? void 0 : styles.icon)),
|
|
5518
|
-
warning: /*#__PURE__*/React__default.createElement(
|
|
6129
|
+
warning: /*#__PURE__*/React__default.createElement(WarningIcon, Object.assign({
|
|
5519
6130
|
size: 24,
|
|
5520
6131
|
color: iconColor
|
|
5521
6132
|
}, styles == null ? void 0 : styles.icon)),
|
|
5522
|
-
error: /*#__PURE__*/React__default.createElement(
|
|
6133
|
+
error: /*#__PURE__*/React__default.createElement(ErrorIcon, Object.assign({
|
|
5523
6134
|
size: 24,
|
|
5524
6135
|
color: iconColor
|
|
5525
6136
|
}, styles == null ? void 0 : styles.icon))
|
|
@@ -5560,7 +6171,7 @@
|
|
|
5560
6171
|
onClick: () => {
|
|
5561
6172
|
hide();
|
|
5562
6173
|
}
|
|
5563
|
-
}, styles == null || (_styles$closingIcon = styles.closingIcon) == null ? void 0 : _styles$closingIcon.container), /*#__PURE__*/React__default.createElement(
|
|
6174
|
+
}, styles == null || (_styles$closingIcon = styles.closingIcon) == null ? void 0 : _styles$closingIcon.container), /*#__PURE__*/React__default.createElement(CloseIcon, Object.assign({
|
|
5564
6175
|
size: 18,
|
|
5565
6176
|
color: iconColor
|
|
5566
6177
|
}, styles == null || (_styles$closingIcon2 = styles.closingIcon) == null ? void 0 : _styles$closingIcon2.icon)))));
|
|
@@ -5703,11 +6314,11 @@
|
|
|
5703
6314
|
xl: 28
|
|
5704
6315
|
};
|
|
5705
6316
|
|
|
5706
|
-
var _excluded$
|
|
5707
|
-
_excluded2$
|
|
5708
|
-
_excluded3$
|
|
5709
|
-
_excluded4$
|
|
5710
|
-
_excluded5 = ["children"];
|
|
6317
|
+
var _excluded$y = ["children", "blur", "isOpen", "isClosePrevented", "onClose", "position"],
|
|
6318
|
+
_excluded2$7 = ["children", "shadow", "isFullScreen", "shape"],
|
|
6319
|
+
_excluded3$4 = ["children", "buttonColor", "iconSize", "buttonPosition"],
|
|
6320
|
+
_excluded4$3 = ["children"],
|
|
6321
|
+
_excluded5$1 = ["children"];
|
|
5711
6322
|
var ModalOverlay = _ref => {
|
|
5712
6323
|
var {
|
|
5713
6324
|
children,
|
|
@@ -5717,7 +6328,7 @@
|
|
|
5717
6328
|
onClose = () => {},
|
|
5718
6329
|
position = 'center'
|
|
5719
6330
|
} = _ref,
|
|
5720
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
6331
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$y);
|
|
5721
6332
|
var handleClick = () => {
|
|
5722
6333
|
if (!isClosePrevented) onClose();
|
|
5723
6334
|
};
|
|
@@ -5750,7 +6361,7 @@
|
|
|
5750
6361
|
isFullScreen = false,
|
|
5751
6362
|
shape = 'rounded'
|
|
5752
6363
|
} = _ref2,
|
|
5753
|
-
props = _objectWithoutPropertiesLoose(_ref2, _excluded2$
|
|
6364
|
+
props = _objectWithoutPropertiesLoose(_ref2, _excluded2$7);
|
|
5754
6365
|
var defaultShadow = typeof document !== undefined ? {
|
|
5755
6366
|
boxShadow: '0px 2px 8px rgba(0, 0, 0, 0.3)'
|
|
5756
6367
|
} : {
|
|
@@ -5781,12 +6392,12 @@
|
|
|
5781
6392
|
iconSize = 'md',
|
|
5782
6393
|
buttonPosition = 'right'
|
|
5783
6394
|
} = _ref3,
|
|
5784
|
-
props = _objectWithoutPropertiesLoose(_ref3, _excluded3$
|
|
6395
|
+
props = _objectWithoutPropertiesLoose(_ref3, _excluded3$4);
|
|
5785
6396
|
var onClose = props.onClose ? props.onClose : hideModal;
|
|
5786
6397
|
var buttonIcon = /*#__PURE__*/React__default.createElement(Button, {
|
|
5787
6398
|
onClick: onClose,
|
|
5788
6399
|
colorScheme: "transparent",
|
|
5789
|
-
icon: /*#__PURE__*/React__default.createElement(
|
|
6400
|
+
icon: /*#__PURE__*/React__default.createElement(CloseIcon, {
|
|
5790
6401
|
size: HeaderIconSizes[iconSize],
|
|
5791
6402
|
color: buttonColor
|
|
5792
6403
|
}),
|
|
@@ -5806,7 +6417,7 @@
|
|
|
5806
6417
|
var {
|
|
5807
6418
|
children
|
|
5808
6419
|
} = _ref4,
|
|
5809
|
-
props = _objectWithoutPropertiesLoose(_ref4, _excluded4$
|
|
6420
|
+
props = _objectWithoutPropertiesLoose(_ref4, _excluded4$3);
|
|
5810
6421
|
var defaultBorder = {
|
|
5811
6422
|
borderBottomWidth: 2,
|
|
5812
6423
|
borderTopWidth: 2,
|
|
@@ -5822,7 +6433,7 @@
|
|
|
5822
6433
|
var {
|
|
5823
6434
|
children
|
|
5824
6435
|
} = _ref5,
|
|
5825
|
-
props = _objectWithoutPropertiesLoose(_ref5, _excluded5);
|
|
6436
|
+
props = _objectWithoutPropertiesLoose(_ref5, _excluded5$1);
|
|
5826
6437
|
return /*#__PURE__*/React__default.createElement(Horizontal, Object.assign({
|
|
5827
6438
|
marginTop: "auto",
|
|
5828
6439
|
alignItems: "center",
|
|
@@ -6041,7 +6652,7 @@
|
|
|
6041
6652
|
// Returns a boolean indicating if the given tab is identical to the first tab in 'tabsState'.
|
|
6042
6653
|
return tab.value === tabsState[0].value;
|
|
6043
6654
|
};
|
|
6044
|
-
return /*#__PURE__*/React__default.createElement(
|
|
6655
|
+
return /*#__PURE__*/React__default.createElement(Layout.Vertical, Object.assign({
|
|
6045
6656
|
width: "100w",
|
|
6046
6657
|
height: '100%'
|
|
6047
6658
|
}, styles == null ? void 0 : styles.container), /*#__PURE__*/React__default.createElement(Horizontal, Object.assign({
|
|
@@ -6106,7 +6717,7 @@
|
|
|
6106
6717
|
pillShaped: 24
|
|
6107
6718
|
};
|
|
6108
6719
|
|
|
6109
|
-
var _excluded$
|
|
6720
|
+
var _excluded$z = ["children", "shape", "colorScheme", "variant", "isHovered", "setIsHovered", "isDisabled", "isToggle", "setIsToggled", "onToggle"];
|
|
6110
6721
|
var ToggleView = _ref => {
|
|
6111
6722
|
var {
|
|
6112
6723
|
children,
|
|
@@ -6120,7 +6731,7 @@
|
|
|
6120
6731
|
setIsToggled,
|
|
6121
6732
|
onToggle
|
|
6122
6733
|
} = _ref,
|
|
6123
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
6734
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$z);
|
|
6124
6735
|
var toggleColor = !isDisabled ? colorScheme : 'theme.disabled';
|
|
6125
6736
|
var isActive = !!(isToggle || isHovered);
|
|
6126
6737
|
var ToggleVariants = {
|
|
@@ -6162,7 +6773,7 @@
|
|
|
6162
6773
|
}, ToggleVariants[variant], props), children);
|
|
6163
6774
|
};
|
|
6164
6775
|
|
|
6165
|
-
var _excluded$
|
|
6776
|
+
var _excluded$A = ["children", "shape", "colorScheme", "variant", "isDisabled", "isToggled", "onToggle"];
|
|
6166
6777
|
// Destructuring properties from ToggleProps to be used within the ToggleComponent.
|
|
6167
6778
|
var ToggleComponent = _ref => {
|
|
6168
6779
|
var {
|
|
@@ -6175,7 +6786,7 @@
|
|
|
6175
6786
|
isToggled = false,
|
|
6176
6787
|
onToggle
|
|
6177
6788
|
} = _ref,
|
|
6178
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
6789
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$A);
|
|
6179
6790
|
// Initializing toggle state and set state functions using the custom hook useToggleState.
|
|
6180
6791
|
var {
|
|
6181
6792
|
isHovered,
|
|
@@ -6298,6 +6909,7 @@
|
|
|
6298
6909
|
exports.Button = Button;
|
|
6299
6910
|
exports.Center = Center;
|
|
6300
6911
|
exports.Checkbox = Checkbox;
|
|
6912
|
+
exports.ComboBox = ComboBox;
|
|
6301
6913
|
exports.CountryPicker = CountryPicker;
|
|
6302
6914
|
exports.DatePicker = DatePicker;
|
|
6303
6915
|
exports.FileImage = FileImage;
|
|
@@ -6313,6 +6925,7 @@
|
|
|
6313
6925
|
exports.FormikTextArea = FormikTextArea;
|
|
6314
6926
|
exports.FormikTextField = FormikTextField;
|
|
6315
6927
|
exports.Horizontal = Horizontal;
|
|
6928
|
+
exports.Icon = Icon;
|
|
6316
6929
|
exports.Inline = Inline;
|
|
6317
6930
|
exports.Left = Left;
|
|
6318
6931
|
exports.Link = Link;
|