@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
|
@@ -16,9 +16,11 @@ var reactRouterDom = require('react-router-dom');
|
|
|
16
16
|
require('core-js/modules/es.array.includes.js');
|
|
17
17
|
require('core-js/modules/es.string.includes.js');
|
|
18
18
|
require('core-js/modules/es.string.starts-with.js');
|
|
19
|
+
var Icon$1 = require('src/components/Icon/Icon');
|
|
19
20
|
var format = _interopDefault(require('date-fns/format'));
|
|
20
21
|
var formik = require('formik');
|
|
21
22
|
var zustand = require('zustand');
|
|
23
|
+
var Layout = require('src/components/Layout');
|
|
22
24
|
|
|
23
25
|
var Top = props => (/*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
|
|
24
26
|
marginBottom: "auto"
|
|
@@ -50,33 +52,33 @@ function _objectWithoutPropertiesLoose(r, e) {
|
|
|
50
52
|
|
|
51
53
|
var HeadingSizes = {
|
|
52
54
|
h1: {
|
|
53
|
-
fontSize: 96,
|
|
54
|
-
lineHeight: 112,
|
|
55
|
-
letterSpacing: -1.5
|
|
56
|
-
},
|
|
57
|
-
h2: {
|
|
58
55
|
fontSize: 60,
|
|
59
56
|
lineHeight: 71,
|
|
60
57
|
letterSpacing: -0.5
|
|
61
58
|
},
|
|
62
|
-
|
|
59
|
+
h2: {
|
|
63
60
|
fontSize: 48,
|
|
64
61
|
lineHeight: 57,
|
|
65
62
|
letterSpacing: 0
|
|
66
63
|
},
|
|
67
|
-
|
|
64
|
+
h3: {
|
|
68
65
|
fontSize: 34,
|
|
69
66
|
lineHeight: 40,
|
|
70
67
|
letterSpacing: 0.25
|
|
71
68
|
},
|
|
72
|
-
|
|
69
|
+
h4: {
|
|
73
70
|
fontSize: 24,
|
|
74
71
|
lineHeight: 28,
|
|
75
72
|
letterSpacing: 0
|
|
76
73
|
},
|
|
74
|
+
h5: {
|
|
75
|
+
fontSize: 18,
|
|
76
|
+
lineHeight: 22,
|
|
77
|
+
letterSpacing: 0.15
|
|
78
|
+
},
|
|
77
79
|
h6: {
|
|
78
|
-
fontSize:
|
|
79
|
-
lineHeight:
|
|
80
|
+
fontSize: 14,
|
|
81
|
+
lineHeight: 18,
|
|
80
82
|
letterSpacing: 0.15
|
|
81
83
|
}
|
|
82
84
|
};
|
|
@@ -171,12 +173,11 @@ var TextComponent = props => {
|
|
|
171
173
|
var Text = TextComponent;
|
|
172
174
|
|
|
173
175
|
var _excluded$1 = ["justifyContent", "isReversed"];
|
|
174
|
-
|
|
175
|
-
var VerticalView = _ref => {
|
|
176
|
+
var VerticalView = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
176
177
|
var {
|
|
177
|
-
// Sets a default alignment for content within the
|
|
178
|
+
// Sets a default alignment for content within the Vertical container to 'flex-start'
|
|
178
179
|
justifyContent = 'flex-start',
|
|
179
|
-
// Determines the direction in which the
|
|
180
|
+
// Determines the direction in which the Vertical elements are stacked, default not reversed
|
|
180
181
|
isReversed = false
|
|
181
182
|
} = _ref,
|
|
182
183
|
props = _objectWithoutPropertiesLoose(_ref, _excluded$1);
|
|
@@ -184,447 +185,1083 @@ var VerticalView = _ref => {
|
|
|
184
185
|
display: "flex",
|
|
185
186
|
justifyContent: justifyContent,
|
|
186
187
|
flexDirection: isReversed ? 'column-reverse' : 'column'
|
|
187
|
-
}, props
|
|
188
|
-
|
|
188
|
+
}, props, {
|
|
189
|
+
ref: ref
|
|
190
|
+
}));
|
|
191
|
+
});
|
|
192
|
+
VerticalView.displayName = 'VerticalView';
|
|
189
193
|
|
|
190
|
-
|
|
191
|
-
var VerticalComponent = props => (
|
|
192
|
-
/*#__PURE__*/
|
|
193
|
-
// Renders the VerticalView component, passing all of the received props through to it.
|
|
194
|
-
React__default.createElement(VerticalView, Object.assign({}, props)));
|
|
195
|
-
// Exports the VerticalComponent as Vertical for use in other parts of the application.
|
|
196
|
-
var Vertical = VerticalComponent;
|
|
194
|
+
var Vertical = props => (/*#__PURE__*/React__default.createElement(VerticalView, Object.assign({}, props)));
|
|
197
195
|
|
|
198
|
-
|
|
199
|
-
var
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
//
|
|
204
|
-
|
|
196
|
+
var _excluded$2 = ["justifyContent", "isReversed"];
|
|
197
|
+
var HorizontalView = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
198
|
+
var {
|
|
199
|
+
// Sets a default alignment for content within the Horizontal container to 'flex-start'
|
|
200
|
+
justifyContent = 'flex-start',
|
|
201
|
+
// Determines the direction in which the Horizontal elements are stacked, default not reversed
|
|
202
|
+
isReversed = false
|
|
203
|
+
} = _ref,
|
|
204
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$2);
|
|
205
|
+
return /*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
|
|
206
|
+
display: "flex",
|
|
207
|
+
justifyContent: justifyContent,
|
|
208
|
+
flexDirection: isReversed ? 'row-reverse' : 'row'
|
|
209
|
+
}, props, {
|
|
210
|
+
ref: ref
|
|
211
|
+
}));
|
|
212
|
+
});
|
|
213
|
+
HorizontalView.displayName = 'Horizontal';
|
|
205
214
|
|
|
206
|
-
|
|
207
|
-
var CenterView = props => (
|
|
208
|
-
/*#__PURE__*/
|
|
209
|
-
// Renders a 'View' component with display flex and center alignment applied on both axes, passing all received props.
|
|
210
|
-
React__default.createElement(appStudio.View, Object.assign({
|
|
211
|
-
display: "flex",
|
|
212
|
-
justifyContent: "center",
|
|
213
|
-
alignItems: "center"
|
|
214
|
-
}, props)));
|
|
215
|
+
var Horizontal = props => (/*#__PURE__*/React__default.createElement(HorizontalView, Object.assign({}, props)));
|
|
215
216
|
|
|
216
|
-
|
|
217
|
-
var
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
217
|
+
var _excluded$3 = ["isReversed"];
|
|
218
|
+
var CenterView = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
219
|
+
var props = _objectWithoutPropertiesLoose(_ref, _excluded$3);
|
|
220
|
+
return /*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
|
|
221
|
+
display: "flex",
|
|
222
|
+
justifyContent: "center",
|
|
223
|
+
alignItems: "center"
|
|
224
|
+
}, props, {
|
|
225
|
+
ref: ref
|
|
226
|
+
}));
|
|
227
|
+
});
|
|
228
|
+
CenterView.displayName = 'Center';
|
|
229
|
+
|
|
230
|
+
var Center = props => (/*#__PURE__*/React__default.createElement(CenterView, Object.assign({}, props)));
|
|
223
231
|
|
|
224
|
-
var _excluded$
|
|
225
|
-
|
|
232
|
+
var _excluded$4 = ["size", "color"],
|
|
233
|
+
_excluded2 = ["size", "color"],
|
|
234
|
+
_excluded3 = ["size", "color"],
|
|
235
|
+
_excluded4 = ["size", "color"],
|
|
236
|
+
_excluded5 = ["size", "color"],
|
|
237
|
+
_excluded6 = ["size", "color"],
|
|
238
|
+
_excluded7 = ["size", "color"],
|
|
239
|
+
_excluded8 = ["size", "color"],
|
|
240
|
+
_excluded9 = ["size", "color"],
|
|
241
|
+
_excluded10 = ["size", "color"],
|
|
242
|
+
_excluded11 = ["size", "color"],
|
|
243
|
+
_excluded12 = ["size", "color"],
|
|
244
|
+
_excluded13 = ["size", "color"],
|
|
245
|
+
_excluded14 = ["size", "color"],
|
|
246
|
+
_excluded15 = ["size", "color"],
|
|
247
|
+
_excluded16 = ["size", "color"],
|
|
248
|
+
_excluded17 = ["size", "color"],
|
|
249
|
+
_excluded18 = ["size", "color"],
|
|
250
|
+
_excluded19 = ["size", "color"],
|
|
251
|
+
_excluded20 = ["size", "color"],
|
|
252
|
+
_excluded21 = ["size", "color"],
|
|
253
|
+
_excluded22 = ["size", "color"],
|
|
254
|
+
_excluded23 = ["size", "color"],
|
|
255
|
+
_excluded24 = ["size", "color"],
|
|
256
|
+
_excluded25 = ["size", "color"],
|
|
257
|
+
_excluded26 = ["size", "color"],
|
|
258
|
+
_excluded27 = ["size", "color"],
|
|
259
|
+
_excluded28 = ["size", "color"],
|
|
260
|
+
_excluded29 = ["size", "color"],
|
|
261
|
+
_excluded30 = ["size", "color"],
|
|
262
|
+
_excluded31 = ["size", "color"],
|
|
263
|
+
_excluded32 = ["size", "color"],
|
|
264
|
+
_excluded33 = ["size", "color"],
|
|
265
|
+
_excluded34 = ["size", "color"],
|
|
266
|
+
_excluded35 = ["size", "color"],
|
|
267
|
+
_excluded36 = ["size", "color"],
|
|
268
|
+
_excluded37 = ["size", "color"],
|
|
269
|
+
_excluded38 = ["size", "color"],
|
|
270
|
+
_excluded39 = ["size", "color"],
|
|
271
|
+
_excluded40 = ["size", "color"],
|
|
272
|
+
_excluded41 = ["size", "color"],
|
|
273
|
+
_excluded42 = ["size", "color"],
|
|
274
|
+
_excluded43 = ["size", "color"],
|
|
275
|
+
_excluded44 = ["size", "color"],
|
|
276
|
+
_excluded45 = ["size", "color"],
|
|
277
|
+
_excluded46 = ["size", "color"],
|
|
278
|
+
_excluded47 = ["size", "color"],
|
|
279
|
+
_excluded48 = ["size", "color"],
|
|
280
|
+
_excluded49 = ["size", "color"],
|
|
281
|
+
_excluded50 = ["size", "color"];
|
|
282
|
+
// Default wrapper component for consistent sizing
|
|
283
|
+
var IconWrapper = _ref => {
|
|
226
284
|
var {
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
285
|
+
size,
|
|
286
|
+
color = 'black',
|
|
287
|
+
transform,
|
|
288
|
+
orientation,
|
|
289
|
+
children
|
|
290
|
+
} = _ref;
|
|
231
291
|
return /*#__PURE__*/React__default.createElement(Center, {
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
fill: "
|
|
252
|
-
|
|
253
|
-
}, /*#__PURE__*/React__default.createElement("g", {
|
|
254
|
-
id: "Dribbble-Light-Preview",
|
|
255
|
-
transform: "translate(-220.000000, -6684.000000)",
|
|
256
|
-
fill: "#000000"
|
|
257
|
-
}, /*#__PURE__*/React__default.createElement("g", {
|
|
258
|
-
id: "icons",
|
|
259
|
-
transform: "translate(56.000000, 160.000000)"
|
|
292
|
+
size: size,
|
|
293
|
+
lineHeight: size,
|
|
294
|
+
color: color,
|
|
295
|
+
display: "flex",
|
|
296
|
+
transform: transform ? transform : orientation == 'left' ? 'rotate(-90deg)' : orientation == 'right' ? 'rotate(90deg)' : orientation == 'up' ? 'rotate(0deg)' : orientation == 'down' ? 'rotate(180deg)' : 'none'
|
|
297
|
+
}, children);
|
|
298
|
+
};
|
|
299
|
+
var ChevronIcon = _ref2 => {
|
|
300
|
+
var {
|
|
301
|
+
size = 24,
|
|
302
|
+
color = 'currentColor'
|
|
303
|
+
} = _ref2,
|
|
304
|
+
props = _objectWithoutPropertiesLoose(_ref2, _excluded$4);
|
|
305
|
+
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
306
|
+
size: size,
|
|
307
|
+
color: color
|
|
308
|
+
}, props), /*#__PURE__*/React__default.createElement("svg", {
|
|
309
|
+
width: "16",
|
|
310
|
+
height: "16",
|
|
311
|
+
fill: "currentColor",
|
|
312
|
+
viewBox: "0 0 24 24"
|
|
260
313
|
}, /*#__PURE__*/React__default.createElement("path", {
|
|
261
|
-
d: "
|
|
262
|
-
|
|
263
|
-
})))))));
|
|
314
|
+
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"
|
|
315
|
+
})));
|
|
264
316
|
};
|
|
265
|
-
|
|
266
|
-
var _excluded$3 = ["size", "color"];
|
|
267
|
-
var ArrowUpSvg = _ref => {
|
|
317
|
+
var CheckIcon = _ref3 => {
|
|
268
318
|
var {
|
|
269
|
-
size =
|
|
270
|
-
color = '
|
|
271
|
-
} =
|
|
272
|
-
props = _objectWithoutPropertiesLoose(
|
|
273
|
-
return /*#__PURE__*/React__default.createElement(
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
}, /*#__PURE__*/React__default.createElement("svg",
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
id: "SVGRepo_bgCarrier",
|
|
284
|
-
strokeWidth: "0"
|
|
285
|
-
}), /*#__PURE__*/React__default.createElement("g", {
|
|
286
|
-
id: "SVGRepo_tracerCarrier",
|
|
319
|
+
size = 24,
|
|
320
|
+
color = 'currentColor'
|
|
321
|
+
} = _ref3,
|
|
322
|
+
props = _objectWithoutPropertiesLoose(_ref3, _excluded2);
|
|
323
|
+
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
324
|
+
size: size,
|
|
325
|
+
color: color
|
|
326
|
+
}, props), /*#__PURE__*/React__default.createElement("svg", {
|
|
327
|
+
viewBox: "0 0 24 24",
|
|
328
|
+
fill: "none",
|
|
329
|
+
stroke: 'currentColor',
|
|
330
|
+
strokeWidth: "1"
|
|
331
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
332
|
+
d: "M17.0001 9L10 16L7 13",
|
|
287
333
|
strokeLinecap: "round",
|
|
288
334
|
strokeLinejoin: "round"
|
|
289
|
-
})
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
335
|
+
})));
|
|
336
|
+
};
|
|
337
|
+
var CloseIcon = _ref4 => {
|
|
338
|
+
var {
|
|
339
|
+
size = 24,
|
|
340
|
+
color = 'currentColor'
|
|
341
|
+
} = _ref4,
|
|
342
|
+
props = _objectWithoutPropertiesLoose(_ref4, _excluded3);
|
|
343
|
+
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
344
|
+
size: size,
|
|
345
|
+
color: color
|
|
346
|
+
}, props), /*#__PURE__*/React__default.createElement("svg", {
|
|
347
|
+
viewBox: "0 0 24 24",
|
|
348
|
+
fill: 'currentColor'
|
|
349
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
350
|
+
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"
|
|
351
|
+
})));
|
|
352
|
+
};
|
|
353
|
+
var CloseEyeIcon = _ref5 => {
|
|
354
|
+
var {
|
|
355
|
+
size = 24,
|
|
356
|
+
color = 'currentColor'
|
|
357
|
+
} = _ref5,
|
|
358
|
+
props = _objectWithoutPropertiesLoose(_ref5, _excluded4);
|
|
359
|
+
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
360
|
+
size: size,
|
|
361
|
+
color: color
|
|
362
|
+
}, props), /*#__PURE__*/React__default.createElement("svg", {
|
|
363
|
+
viewBox: "0 0 24 24",
|
|
364
|
+
fill: color,
|
|
365
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
366
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
367
|
+
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",
|
|
368
|
+
fill: "currentColor"
|
|
369
|
+
})));
|
|
370
|
+
};
|
|
371
|
+
var DustBinIcon = _ref6 => {
|
|
372
|
+
var {
|
|
373
|
+
size = 24,
|
|
374
|
+
color = 'currentColor'
|
|
375
|
+
} = _ref6,
|
|
376
|
+
props = _objectWithoutPropertiesLoose(_ref6, _excluded5);
|
|
377
|
+
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
378
|
+
size: size,
|
|
379
|
+
color: color
|
|
380
|
+
}, props), /*#__PURE__*/React__default.createElement("svg", {
|
|
381
|
+
viewBox: "0 0 24 24",
|
|
382
|
+
fill: 'currentColor'
|
|
383
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
384
|
+
d: "M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM19 4h-3.5l-1-1h-5l-1 1H5v2h14V4z"
|
|
385
|
+
})));
|
|
386
|
+
};
|
|
387
|
+
var EditIcon = _ref7 => {
|
|
388
|
+
var {
|
|
389
|
+
size = 24,
|
|
390
|
+
color = 'currentColor'
|
|
391
|
+
} = _ref7,
|
|
392
|
+
props = _objectWithoutPropertiesLoose(_ref7, _excluded6);
|
|
393
|
+
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
394
|
+
size: size,
|
|
395
|
+
color: color
|
|
396
|
+
}, props), /*#__PURE__*/React__default.createElement("svg", {
|
|
397
|
+
viewBox: "0 0 24 24",
|
|
295
398
|
fill: "none",
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
id: "Dribbble-Light-Preview",
|
|
299
|
-
transform: "translate(-260.000000, -6684.000000)",
|
|
300
|
-
fill: "#000000"
|
|
301
|
-
}, /*#__PURE__*/React__default.createElement("g", {
|
|
302
|
-
id: "icons",
|
|
303
|
-
transform: "translate(56.000000, 160.000000)"
|
|
399
|
+
stroke: 'currentColor',
|
|
400
|
+
strokeWidth: "1"
|
|
304
401
|
}, /*#__PURE__*/React__default.createElement("path", {
|
|
305
|
-
d: "
|
|
306
|
-
|
|
307
|
-
})))))));
|
|
402
|
+
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"
|
|
403
|
+
})));
|
|
308
404
|
};
|
|
309
|
-
|
|
310
|
-
var _excluded$4 = ["size", "color"];
|
|
311
|
-
var CheckSvg = _ref => {
|
|
405
|
+
var ExternalLinkIcon = _ref8 => {
|
|
312
406
|
var {
|
|
313
|
-
size =
|
|
314
|
-
color = '
|
|
315
|
-
} =
|
|
316
|
-
props = _objectWithoutPropertiesLoose(
|
|
317
|
-
return /*#__PURE__*/React__default.createElement(
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
}, /*#__PURE__*/React__default.createElement("svg",
|
|
321
|
-
|
|
322
|
-
|
|
407
|
+
size = 24,
|
|
408
|
+
color = 'currentColor'
|
|
409
|
+
} = _ref8,
|
|
410
|
+
props = _objectWithoutPropertiesLoose(_ref8, _excluded7);
|
|
411
|
+
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
412
|
+
size: size,
|
|
413
|
+
color: color
|
|
414
|
+
}, props), /*#__PURE__*/React__default.createElement("svg", {
|
|
415
|
+
viewBox: "0 0 24 24",
|
|
416
|
+
fill: 'currentColor'
|
|
417
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
418
|
+
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"
|
|
419
|
+
})));
|
|
420
|
+
};
|
|
421
|
+
var MinusIcon = _ref9 => {
|
|
422
|
+
var {
|
|
423
|
+
size = 24,
|
|
424
|
+
color = 'currentColor'
|
|
425
|
+
} = _ref9,
|
|
426
|
+
props = _objectWithoutPropertiesLoose(_ref9, _excluded8);
|
|
427
|
+
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
428
|
+
padding: 2,
|
|
429
|
+
size: size,
|
|
430
|
+
color: color
|
|
431
|
+
}, props), /*#__PURE__*/React__default.createElement("svg", {
|
|
323
432
|
viewBox: "0 0 24 24",
|
|
324
433
|
fill: "none",
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
id: "SVGRepo_bgCarrier",
|
|
328
|
-
strokeWidth: "0"
|
|
329
|
-
}), /*#__PURE__*/React__default.createElement("g", {
|
|
330
|
-
id: "SVGRepo_tracerCarrier",
|
|
331
|
-
strokeLinecap: "round",
|
|
332
|
-
strokeLinejoin: "round",
|
|
333
|
-
stroke: "#CCCCCC",
|
|
334
|
-
strokeWidth: "0.048"
|
|
335
|
-
}), /*#__PURE__*/React__default.createElement("g", {
|
|
336
|
-
id: "SVGRepo_iconCarrier"
|
|
434
|
+
stroke: 'currentColor',
|
|
435
|
+
strokeWidth: "2"
|
|
337
436
|
}, /*#__PURE__*/React__default.createElement("path", {
|
|
338
|
-
d: "
|
|
339
|
-
stroke: color,
|
|
340
|
-
strokeWidth: "1.5",
|
|
437
|
+
d: "M7 12h10",
|
|
341
438
|
strokeLinecap: "round",
|
|
342
439
|
strokeLinejoin: "round"
|
|
343
|
-
})))
|
|
440
|
+
})));
|
|
344
441
|
};
|
|
345
|
-
|
|
346
|
-
var _excluded$5 = ["size", "color"];
|
|
347
|
-
var CloseSvg = _ref => {
|
|
442
|
+
var InfoIcon = _ref10 => {
|
|
348
443
|
var {
|
|
349
|
-
size =
|
|
350
|
-
color = '
|
|
351
|
-
} =
|
|
352
|
-
props = _objectWithoutPropertiesLoose(
|
|
353
|
-
return /*#__PURE__*/React__default.createElement(
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
}, /*#__PURE__*/React__default.createElement("svg",
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
viewBox: "0 0 1024 1024",
|
|
360
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
361
|
-
fill: "#000000"
|
|
362
|
-
}, props), /*#__PURE__*/React__default.createElement("g", {
|
|
363
|
-
id: "SVGRepo_bgCarrier",
|
|
364
|
-
strokeWidth: "0"
|
|
365
|
-
}), /*#__PURE__*/React__default.createElement("g", {
|
|
366
|
-
id: "SVGRepo_tracerCarrier",
|
|
367
|
-
strokeLinecap: "round",
|
|
368
|
-
strokeLinejoin: "round"
|
|
369
|
-
}), /*#__PURE__*/React__default.createElement("g", {
|
|
370
|
-
id: "SVGRepo_iconCarrier"
|
|
444
|
+
size = 24,
|
|
445
|
+
color = 'currentColor'
|
|
446
|
+
} = _ref10,
|
|
447
|
+
props = _objectWithoutPropertiesLoose(_ref10, _excluded9);
|
|
448
|
+
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
449
|
+
size: size,
|
|
450
|
+
color: color
|
|
451
|
+
}, props), /*#__PURE__*/React__default.createElement("svg", {
|
|
452
|
+
viewBox: "0 0 24 24",
|
|
453
|
+
fill: 'currentColor'
|
|
371
454
|
}, /*#__PURE__*/React__default.createElement("path", {
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
}))));
|
|
455
|
+
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"
|
|
456
|
+
})));
|
|
375
457
|
};
|
|
376
|
-
|
|
377
|
-
var _excluded$6 = ["size", "color"];
|
|
378
|
-
var CloseEyeSvg = _ref => {
|
|
458
|
+
var OpenEyeIcon = _ref11 => {
|
|
379
459
|
var {
|
|
380
|
-
size =
|
|
381
|
-
color = '
|
|
382
|
-
} =
|
|
383
|
-
props = _objectWithoutPropertiesLoose(
|
|
384
|
-
return /*#__PURE__*/React__default.createElement(
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
}, /*#__PURE__*/React__default.createElement("svg",
|
|
460
|
+
size = 24,
|
|
461
|
+
color = 'currentColor'
|
|
462
|
+
} = _ref11,
|
|
463
|
+
props = _objectWithoutPropertiesLoose(_ref11, _excluded10);
|
|
464
|
+
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
465
|
+
size: size,
|
|
466
|
+
color: color
|
|
467
|
+
}, props), /*#__PURE__*/React__default.createElement("svg", {
|
|
468
|
+
viewBox: "0 0 24 24",
|
|
469
|
+
fill: 'currentColor'
|
|
470
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
471
|
+
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"
|
|
472
|
+
})));
|
|
473
|
+
};
|
|
474
|
+
var PlusIcon = _ref12 => {
|
|
475
|
+
var {
|
|
476
|
+
size = 24,
|
|
477
|
+
color = 'currentColor'
|
|
478
|
+
} = _ref12,
|
|
479
|
+
props = _objectWithoutPropertiesLoose(_ref12, _excluded11);
|
|
480
|
+
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
481
|
+
size: size,
|
|
482
|
+
color: color
|
|
483
|
+
}, props), /*#__PURE__*/React__default.createElement("svg", {
|
|
484
|
+
viewBox: "0 0 24 24",
|
|
485
|
+
fill: 'currentColor'
|
|
486
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
487
|
+
d: "M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
|
|
488
|
+
})));
|
|
489
|
+
};
|
|
490
|
+
var SpinnerIcon = _ref13 => {
|
|
491
|
+
var {
|
|
492
|
+
size = 24,
|
|
493
|
+
color = 'currentColor'
|
|
494
|
+
} = _ref13,
|
|
495
|
+
props = _objectWithoutPropertiesLoose(_ref13, _excluded12);
|
|
496
|
+
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
497
|
+
size: size,
|
|
498
|
+
color: color
|
|
499
|
+
}, props), /*#__PURE__*/React__default.createElement("svg", {
|
|
388
500
|
viewBox: "0 0 24 24",
|
|
389
501
|
fill: "none",
|
|
390
502
|
xmlns: "http://www.w3.org/2000/svg"
|
|
391
|
-
},
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
}), /*#__PURE__*/React__default.createElement("
|
|
399
|
-
|
|
503
|
+
}, /*#__PURE__*/React__default.createElement("circle", {
|
|
504
|
+
cx: "12",
|
|
505
|
+
cy: "12",
|
|
506
|
+
r: "10",
|
|
507
|
+
stroke: color,
|
|
508
|
+
strokeWidth: "2",
|
|
509
|
+
opacity: "0.3"
|
|
510
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
511
|
+
d: "M22 12a10 10 0 1 1-4.93-8.62",
|
|
512
|
+
stroke: color,
|
|
513
|
+
strokeWidth: "2",
|
|
514
|
+
strokeLinecap: "round"
|
|
515
|
+
})));
|
|
516
|
+
};
|
|
517
|
+
var ProfileIcon = _ref14 => {
|
|
518
|
+
var {
|
|
519
|
+
size = 24,
|
|
520
|
+
color = 'currentColor'
|
|
521
|
+
} = _ref14,
|
|
522
|
+
props = _objectWithoutPropertiesLoose(_ref14, _excluded13);
|
|
523
|
+
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
524
|
+
size: size,
|
|
525
|
+
color: color
|
|
526
|
+
}, props), /*#__PURE__*/React__default.createElement("svg", {
|
|
527
|
+
viewBox: "0 0 24 24",
|
|
528
|
+
fill: 'currentColor'
|
|
400
529
|
}, /*#__PURE__*/React__default.createElement("path", {
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
fill: color
|
|
405
|
-
}))));
|
|
530
|
+
fill: "currentColor",
|
|
531
|
+
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"
|
|
532
|
+
})));
|
|
406
533
|
};
|
|
407
|
-
|
|
408
|
-
var _excluded$7 = ["size", "color"];
|
|
409
|
-
var ExternalLinkSvg = _ref => {
|
|
534
|
+
var ArrowIcon = _ref15 => {
|
|
410
535
|
var {
|
|
411
|
-
size =
|
|
412
|
-
color = '
|
|
413
|
-
} =
|
|
414
|
-
props = _objectWithoutPropertiesLoose(
|
|
415
|
-
return /*#__PURE__*/React__default.createElement(
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
}, /*#__PURE__*/React__default.createElement("svg",
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
536
|
+
size = 24,
|
|
537
|
+
color = 'currentColor'
|
|
538
|
+
} = _ref15,
|
|
539
|
+
props = _objectWithoutPropertiesLoose(_ref15, _excluded14);
|
|
540
|
+
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
541
|
+
size: size,
|
|
542
|
+
color: color
|
|
543
|
+
}, props), /*#__PURE__*/React__default.createElement("svg", {
|
|
544
|
+
viewBox: "0 0 24 24",
|
|
545
|
+
fill: 'currentColor'
|
|
546
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
547
|
+
d: "M12 4l7 7h-4v7h-6v-7H5l7-7z"
|
|
548
|
+
})));
|
|
549
|
+
};
|
|
550
|
+
var SearchIcon = _ref16 => {
|
|
551
|
+
var {
|
|
552
|
+
size = 24,
|
|
553
|
+
color = 'currentColor'
|
|
554
|
+
} = _ref16,
|
|
555
|
+
props = _objectWithoutPropertiesLoose(_ref16, _excluded15);
|
|
556
|
+
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
557
|
+
size: size,
|
|
558
|
+
color: color
|
|
559
|
+
}, props), /*#__PURE__*/React__default.createElement("svg", {
|
|
560
|
+
viewBox: "0 0 24 24",
|
|
561
|
+
fill: 'currentColor'
|
|
562
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
563
|
+
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"
|
|
564
|
+
})));
|
|
565
|
+
};
|
|
566
|
+
var SuccessIcon = _ref17 => {
|
|
567
|
+
var {
|
|
568
|
+
size = 24,
|
|
569
|
+
color = 'currentColor'
|
|
570
|
+
} = _ref17,
|
|
571
|
+
props = _objectWithoutPropertiesLoose(_ref17, _excluded16);
|
|
572
|
+
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
573
|
+
size: size,
|
|
574
|
+
color: color
|
|
575
|
+
}, props), /*#__PURE__*/React__default.createElement("svg", {
|
|
576
|
+
viewBox: "0 0 24 24",
|
|
577
|
+
fill: 'currentColor'
|
|
578
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
579
|
+
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"
|
|
580
|
+
})));
|
|
581
|
+
};
|
|
582
|
+
var TickIcon = _ref18 => {
|
|
583
|
+
var {
|
|
584
|
+
size = 24,
|
|
585
|
+
color = 'currentColor'
|
|
586
|
+
} = _ref18,
|
|
587
|
+
props = _objectWithoutPropertiesLoose(_ref18, _excluded17);
|
|
588
|
+
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
589
|
+
size: size,
|
|
590
|
+
color: color
|
|
591
|
+
}, props), /*#__PURE__*/React__default.createElement("svg", {
|
|
592
|
+
viewBox: "0 0 24 24",
|
|
593
|
+
fill: "none",
|
|
594
|
+
stroke: 'currentColor',
|
|
595
|
+
strokeWidth: "2"
|
|
596
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
597
|
+
d: "M5 13l4 4L19 7",
|
|
430
598
|
strokeLinecap: "round",
|
|
431
599
|
strokeLinejoin: "round"
|
|
432
|
-
})
|
|
433
|
-
|
|
600
|
+
})));
|
|
601
|
+
};
|
|
602
|
+
var NotificationIcon = _ref19 => {
|
|
603
|
+
var {
|
|
604
|
+
size = 24,
|
|
605
|
+
color = 'currentColor'
|
|
606
|
+
} = _ref19,
|
|
607
|
+
props = _objectWithoutPropertiesLoose(_ref19, _excluded18);
|
|
608
|
+
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
609
|
+
size: size,
|
|
610
|
+
color: color
|
|
611
|
+
}, props), /*#__PURE__*/React__default.createElement("svg", {
|
|
612
|
+
viewBox: "0 0 24 24",
|
|
613
|
+
fill: "none",
|
|
614
|
+
stroke: 'currentColor',
|
|
615
|
+
strokeWidth: "1"
|
|
434
616
|
}, /*#__PURE__*/React__default.createElement("path", {
|
|
435
|
-
d: "
|
|
617
|
+
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"
|
|
618
|
+
})));
|
|
619
|
+
};
|
|
620
|
+
var SettingsIcon = _ref20 => {
|
|
621
|
+
var {
|
|
622
|
+
size = 24,
|
|
623
|
+
color = 'currentColor'
|
|
624
|
+
} = _ref20,
|
|
625
|
+
props = _objectWithoutPropertiesLoose(_ref20, _excluded19);
|
|
626
|
+
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
627
|
+
size: size,
|
|
628
|
+
color: color
|
|
629
|
+
}, props), /*#__PURE__*/React__default.createElement("svg", {
|
|
630
|
+
viewBox: "0 0 24 24",
|
|
631
|
+
fill: "none",
|
|
632
|
+
stroke: 'currentColor',
|
|
633
|
+
strokeWidth: "1"
|
|
634
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
635
|
+
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"
|
|
636
|
+
})));
|
|
637
|
+
};
|
|
638
|
+
var CalendarIcon = _ref21 => {
|
|
639
|
+
var {
|
|
640
|
+
size = 24,
|
|
641
|
+
color = 'currentColor'
|
|
642
|
+
} = _ref21,
|
|
643
|
+
props = _objectWithoutPropertiesLoose(_ref21, _excluded20);
|
|
644
|
+
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
645
|
+
size: size,
|
|
646
|
+
color: color
|
|
647
|
+
}, props), /*#__PURE__*/React__default.createElement("svg", {
|
|
648
|
+
viewBox: "0 0 24 24",
|
|
649
|
+
fill: "none",
|
|
650
|
+
stroke: 'currentColor',
|
|
651
|
+
strokeWidth: "1"
|
|
652
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
653
|
+
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"
|
|
654
|
+
})));
|
|
655
|
+
};
|
|
656
|
+
var AddIcon = _ref22 => {
|
|
657
|
+
var {
|
|
658
|
+
size = 24,
|
|
659
|
+
color = 'currentColor'
|
|
660
|
+
} = _ref22,
|
|
661
|
+
props = _objectWithoutPropertiesLoose(_ref22, _excluded21);
|
|
662
|
+
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
663
|
+
size: size,
|
|
664
|
+
color: color
|
|
665
|
+
}, props), /*#__PURE__*/React__default.createElement("svg", {
|
|
666
|
+
width: "16",
|
|
667
|
+
height: "16",
|
|
668
|
+
fill: "currentColor",
|
|
669
|
+
viewBox: "0 0 24 24"
|
|
670
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
671
|
+
d: "M22.286 11.143h-9.429V1.715h-1.714v9.428H1.714v1.715h9.429v9.428h1.714v-9.428h9.429v-1.715Z"
|
|
672
|
+
})));
|
|
673
|
+
};
|
|
674
|
+
var DownloadIcon = _ref23 => {
|
|
675
|
+
var {
|
|
676
|
+
size = 24,
|
|
677
|
+
color = 'currentColor'
|
|
678
|
+
} = _ref23,
|
|
679
|
+
props = _objectWithoutPropertiesLoose(_ref23, _excluded22);
|
|
680
|
+
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
681
|
+
size: size,
|
|
682
|
+
color: color
|
|
683
|
+
}, props), /*#__PURE__*/React__default.createElement("svg", {
|
|
684
|
+
viewBox: "0 0 24 24",
|
|
685
|
+
fill: "none",
|
|
686
|
+
stroke: 'currentColor',
|
|
687
|
+
strokeWidth: "1"
|
|
688
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
689
|
+
d: "M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z"
|
|
690
|
+
})));
|
|
691
|
+
};
|
|
692
|
+
var UploadIcon = _ref24 => {
|
|
693
|
+
var {
|
|
694
|
+
size = 24,
|
|
695
|
+
color = 'currentColor'
|
|
696
|
+
} = _ref24,
|
|
697
|
+
props = _objectWithoutPropertiesLoose(_ref24, _excluded23);
|
|
698
|
+
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
699
|
+
size: size,
|
|
700
|
+
color: color
|
|
701
|
+
}, props), /*#__PURE__*/React__default.createElement("svg", {
|
|
702
|
+
viewBox: "0 0 24 24",
|
|
703
|
+
fill: "none",
|
|
704
|
+
stroke: 'currentColor',
|
|
705
|
+
strokeWidth: "1"
|
|
706
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
707
|
+
d: "M9 16h6v-6h4l-7-7-7 7h4v6zm-4 2h14v2H5v-2z"
|
|
708
|
+
})));
|
|
709
|
+
};
|
|
710
|
+
var BookmarkIcon = _ref25 => {
|
|
711
|
+
var {
|
|
712
|
+
size = 24,
|
|
713
|
+
color = 'currentColor'
|
|
714
|
+
} = _ref25,
|
|
715
|
+
props = _objectWithoutPropertiesLoose(_ref25, _excluded24);
|
|
716
|
+
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
717
|
+
size: size,
|
|
718
|
+
color: color
|
|
719
|
+
}, props), /*#__PURE__*/React__default.createElement("svg", {
|
|
720
|
+
viewBox: "0 0 24 24",
|
|
721
|
+
fill: "none",
|
|
722
|
+
stroke: 'currentColor',
|
|
723
|
+
strokeWidth: "1"
|
|
724
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
725
|
+
d: "M17 3H7c-1.1 0-2 .9-2 2v16l7-3 7 3V5c0-1.1-.9-2-2-2z"
|
|
726
|
+
})));
|
|
727
|
+
};
|
|
728
|
+
var HomeIcon = _ref26 => {
|
|
729
|
+
var {
|
|
730
|
+
size = 24,
|
|
731
|
+
color = 'currentColor'
|
|
732
|
+
} = _ref26,
|
|
733
|
+
props = _objectWithoutPropertiesLoose(_ref26, _excluded25);
|
|
734
|
+
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
735
|
+
size: size,
|
|
736
|
+
color: color
|
|
737
|
+
}, props), /*#__PURE__*/React__default.createElement("svg", {
|
|
738
|
+
viewBox: "0 0 24 24",
|
|
739
|
+
fill: "none",
|
|
740
|
+
stroke: 'currentColor',
|
|
741
|
+
strokeWidth: "1"
|
|
742
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
743
|
+
d: "M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8h5z"
|
|
744
|
+
})));
|
|
745
|
+
};
|
|
746
|
+
var MenuIcon = _ref27 => {
|
|
747
|
+
var {
|
|
748
|
+
size = 24,
|
|
749
|
+
color = 'currentColor'
|
|
750
|
+
} = _ref27,
|
|
751
|
+
props = _objectWithoutPropertiesLoose(_ref27, _excluded26);
|
|
752
|
+
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
753
|
+
size: size,
|
|
754
|
+
color: color
|
|
755
|
+
}, props), /*#__PURE__*/React__default.createElement("svg", {
|
|
756
|
+
viewBox: "0 0 24 24",
|
|
757
|
+
fill: "none",
|
|
758
|
+
stroke: 'currentColor',
|
|
759
|
+
strokeWidth: "1"
|
|
760
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
761
|
+
d: "M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z"
|
|
762
|
+
})));
|
|
763
|
+
};
|
|
764
|
+
var ShareIcon = _ref28 => {
|
|
765
|
+
var {
|
|
766
|
+
size = 24,
|
|
767
|
+
color = 'currentColor'
|
|
768
|
+
} = _ref28,
|
|
769
|
+
props = _objectWithoutPropertiesLoose(_ref28, _excluded27);
|
|
770
|
+
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
771
|
+
size: size,
|
|
772
|
+
color: color
|
|
773
|
+
}, props), /*#__PURE__*/React__default.createElement("svg", {
|
|
774
|
+
viewBox: "0 0 24 24",
|
|
775
|
+
fill: "none",
|
|
776
|
+
stroke: 'currentColor',
|
|
777
|
+
strokeWidth: "1"
|
|
778
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
779
|
+
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"
|
|
780
|
+
})));
|
|
781
|
+
};
|
|
782
|
+
var FilterIcon = _ref29 => {
|
|
783
|
+
var {
|
|
784
|
+
size = 24,
|
|
785
|
+
color = 'currentColor'
|
|
786
|
+
} = _ref29,
|
|
787
|
+
props = _objectWithoutPropertiesLoose(_ref29, _excluded28);
|
|
788
|
+
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
789
|
+
size: size,
|
|
790
|
+
color: color
|
|
791
|
+
}, props), /*#__PURE__*/React__default.createElement("svg", {
|
|
792
|
+
viewBox: "0 0 24 24",
|
|
793
|
+
fill: "none",
|
|
794
|
+
stroke: 'currentColor',
|
|
795
|
+
strokeWidth: "1"
|
|
796
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
797
|
+
d: "M10 18h4v-2h-4v2zM3 6v2h18V6H3zm3 7h12v-2H6v2z"
|
|
798
|
+
})));
|
|
799
|
+
};
|
|
800
|
+
var RefreshIcon = _ref30 => {
|
|
801
|
+
var {
|
|
802
|
+
size = 24,
|
|
803
|
+
color = 'currentColor'
|
|
804
|
+
} = _ref30,
|
|
805
|
+
props = _objectWithoutPropertiesLoose(_ref30, _excluded29);
|
|
806
|
+
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
807
|
+
size: size,
|
|
808
|
+
color: color
|
|
809
|
+
}, props), /*#__PURE__*/React__default.createElement("svg", {
|
|
810
|
+
viewBox: "0 0 24 24",
|
|
811
|
+
fill: "none",
|
|
812
|
+
stroke: 'currentColor',
|
|
813
|
+
strokeWidth: "1"
|
|
814
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
815
|
+
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"
|
|
816
|
+
})));
|
|
817
|
+
};
|
|
818
|
+
var CopyIcon = _ref31 => {
|
|
819
|
+
var {
|
|
820
|
+
size = 24,
|
|
821
|
+
color = 'currentColor'
|
|
822
|
+
} = _ref31,
|
|
823
|
+
props = _objectWithoutPropertiesLoose(_ref31, _excluded30);
|
|
824
|
+
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
825
|
+
size: size,
|
|
826
|
+
color: color
|
|
827
|
+
}, props), /*#__PURE__*/React__default.createElement("svg", {
|
|
828
|
+
viewBox: "0 0 24 24",
|
|
829
|
+
fill: "none",
|
|
830
|
+
stroke: 'currentColor',
|
|
831
|
+
strokeWidth: "1"
|
|
832
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
833
|
+
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"
|
|
834
|
+
})));
|
|
835
|
+
};
|
|
836
|
+
var SaveIcon = _ref32 => {
|
|
837
|
+
var {
|
|
838
|
+
size = 24,
|
|
839
|
+
color = 'currentColor'
|
|
840
|
+
} = _ref32,
|
|
841
|
+
props = _objectWithoutPropertiesLoose(_ref32, _excluded31);
|
|
842
|
+
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
843
|
+
size: size,
|
|
844
|
+
color: color
|
|
845
|
+
}, props), /*#__PURE__*/React__default.createElement("svg", {
|
|
846
|
+
viewBox: "0 0 24 24",
|
|
847
|
+
fill: "none",
|
|
848
|
+
stroke: 'currentColor',
|
|
849
|
+
strokeWidth: "1"
|
|
850
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
851
|
+
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"
|
|
852
|
+
})));
|
|
853
|
+
};
|
|
854
|
+
var PrintIcon = _ref33 => {
|
|
855
|
+
var {
|
|
856
|
+
size = 24,
|
|
857
|
+
color = 'currentColor'
|
|
858
|
+
} = _ref33,
|
|
859
|
+
props = _objectWithoutPropertiesLoose(_ref33, _excluded32);
|
|
860
|
+
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
861
|
+
size: size,
|
|
862
|
+
color: color
|
|
863
|
+
}, props), /*#__PURE__*/React__default.createElement("svg", {
|
|
864
|
+
viewBox: "0 0 24 24",
|
|
865
|
+
fill: "none",
|
|
866
|
+
stroke: 'currentColor',
|
|
867
|
+
strokeWidth: "1"
|
|
868
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
869
|
+
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"
|
|
870
|
+
})));
|
|
871
|
+
};
|
|
872
|
+
var LockIcon = _ref34 => {
|
|
873
|
+
var {
|
|
874
|
+
size = 24,
|
|
875
|
+
color = 'currentColor'
|
|
876
|
+
} = _ref34,
|
|
877
|
+
props = _objectWithoutPropertiesLoose(_ref34, _excluded33);
|
|
878
|
+
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
879
|
+
size: size,
|
|
880
|
+
color: color
|
|
881
|
+
}, props), /*#__PURE__*/React__default.createElement("svg", {
|
|
882
|
+
viewBox: "0 0 24 24",
|
|
883
|
+
fill: "none",
|
|
884
|
+
stroke: 'currentColor',
|
|
885
|
+
strokeWidth: "1"
|
|
886
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
887
|
+
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"
|
|
888
|
+
})));
|
|
889
|
+
};
|
|
890
|
+
// Previous icons remain the same...
|
|
891
|
+
var UnlockIcon = _ref35 => {
|
|
892
|
+
var {
|
|
893
|
+
size = 24,
|
|
894
|
+
color = 'currentColor'
|
|
895
|
+
} = _ref35,
|
|
896
|
+
props = _objectWithoutPropertiesLoose(_ref35, _excluded34);
|
|
897
|
+
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
898
|
+
size: size,
|
|
899
|
+
color: color
|
|
900
|
+
}, props), /*#__PURE__*/React__default.createElement("svg", {
|
|
901
|
+
viewBox: "0 0 24 24",
|
|
902
|
+
fill: "none",
|
|
903
|
+
stroke: 'currentColor',
|
|
904
|
+
strokeWidth: "1"
|
|
905
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
906
|
+
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"
|
|
907
|
+
})));
|
|
908
|
+
};
|
|
909
|
+
var StarIcon = _ref36 => {
|
|
910
|
+
var {
|
|
911
|
+
size = 24,
|
|
912
|
+
color = 'currentColor'
|
|
913
|
+
} = _ref36,
|
|
914
|
+
props = _objectWithoutPropertiesLoose(_ref36, _excluded35);
|
|
915
|
+
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
916
|
+
size: size,
|
|
917
|
+
color: color
|
|
918
|
+
}, props), /*#__PURE__*/React__default.createElement("svg", {
|
|
919
|
+
viewBox: "0 0 24 24",
|
|
920
|
+
fill: "none",
|
|
921
|
+
stroke: 'currentColor',
|
|
922
|
+
strokeWidth: "1"
|
|
923
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
924
|
+
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"
|
|
925
|
+
})));
|
|
926
|
+
};
|
|
927
|
+
var HeartIcon = _ref37 => {
|
|
928
|
+
var {
|
|
929
|
+
size = 24,
|
|
930
|
+
color = 'currentColor'
|
|
931
|
+
} = _ref37,
|
|
932
|
+
props = _objectWithoutPropertiesLoose(_ref37, _excluded36);
|
|
933
|
+
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
934
|
+
size: size,
|
|
935
|
+
color: color
|
|
936
|
+
}, props), /*#__PURE__*/React__default.createElement("svg", {
|
|
937
|
+
viewBox: "0 0 24 24",
|
|
938
|
+
fill: "none",
|
|
939
|
+
stroke: 'currentColor',
|
|
940
|
+
strokeWidth: "1"
|
|
941
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
942
|
+
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"
|
|
943
|
+
})));
|
|
944
|
+
};
|
|
945
|
+
var ThumbUpIcon = _ref38 => {
|
|
946
|
+
var {
|
|
947
|
+
size = 24,
|
|
948
|
+
color = 'currentColor'
|
|
949
|
+
} = _ref38,
|
|
950
|
+
props = _objectWithoutPropertiesLoose(_ref38, _excluded37);
|
|
951
|
+
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
952
|
+
size: size,
|
|
953
|
+
color: color
|
|
954
|
+
}, props), /*#__PURE__*/React__default.createElement("svg", {
|
|
955
|
+
viewBox: "0 0 24 24",
|
|
956
|
+
fill: "none",
|
|
957
|
+
stroke: 'currentColor',
|
|
958
|
+
strokeWidth: "1"
|
|
959
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
960
|
+
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"
|
|
961
|
+
})));
|
|
962
|
+
};
|
|
963
|
+
var ThumbDownIcon = _ref39 => {
|
|
964
|
+
var {
|
|
965
|
+
size = 24,
|
|
966
|
+
color = 'currentColor'
|
|
967
|
+
} = _ref39,
|
|
968
|
+
props = _objectWithoutPropertiesLoose(_ref39, _excluded38);
|
|
969
|
+
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
970
|
+
size: size,
|
|
971
|
+
color: color
|
|
972
|
+
}, props), /*#__PURE__*/React__default.createElement("svg", {
|
|
973
|
+
viewBox: "0 0 24 24",
|
|
974
|
+
fill: "none",
|
|
975
|
+
stroke: 'currentColor',
|
|
976
|
+
strokeWidth: "1"
|
|
977
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
978
|
+
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"
|
|
979
|
+
})));
|
|
980
|
+
};
|
|
981
|
+
var LocationIcon = _ref40 => {
|
|
982
|
+
var {
|
|
983
|
+
size = 24,
|
|
984
|
+
color = 'currentColor'
|
|
985
|
+
} = _ref40,
|
|
986
|
+
props = _objectWithoutPropertiesLoose(_ref40, _excluded39);
|
|
987
|
+
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
988
|
+
size: size,
|
|
989
|
+
color: color
|
|
990
|
+
}, props), /*#__PURE__*/React__default.createElement("svg", {
|
|
991
|
+
viewBox: "0 0 24 24",
|
|
992
|
+
fill: "none",
|
|
993
|
+
stroke: 'currentColor',
|
|
994
|
+
strokeWidth: "1"
|
|
995
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
996
|
+
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"
|
|
997
|
+
})));
|
|
998
|
+
};
|
|
999
|
+
var ClockIcon = _ref41 => {
|
|
1000
|
+
var {
|
|
1001
|
+
size = 24,
|
|
1002
|
+
color = 'currentColor'
|
|
1003
|
+
} = _ref41,
|
|
1004
|
+
props = _objectWithoutPropertiesLoose(_ref41, _excluded40);
|
|
1005
|
+
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1006
|
+
size: size,
|
|
1007
|
+
color: color
|
|
1008
|
+
}, props), /*#__PURE__*/React__default.createElement("svg", {
|
|
1009
|
+
viewBox: "0 0 24 24",
|
|
1010
|
+
fill: "none",
|
|
1011
|
+
stroke: 'currentColor',
|
|
1012
|
+
strokeWidth: "1"
|
|
1013
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
1014
|
+
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"
|
|
1015
|
+
})));
|
|
1016
|
+
};
|
|
1017
|
+
var CameraIcon = _ref42 => {
|
|
1018
|
+
var {
|
|
1019
|
+
size = 24,
|
|
1020
|
+
color = 'currentColor'
|
|
1021
|
+
} = _ref42,
|
|
1022
|
+
props = _objectWithoutPropertiesLoose(_ref42, _excluded41);
|
|
1023
|
+
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1024
|
+
size: size,
|
|
1025
|
+
color: color
|
|
1026
|
+
}, props), /*#__PURE__*/React__default.createElement("svg", {
|
|
1027
|
+
viewBox: "0 0 24 24",
|
|
1028
|
+
fill: "none",
|
|
1029
|
+
stroke: 'currentColor',
|
|
1030
|
+
strokeWidth: "1"
|
|
1031
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
1032
|
+
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"
|
|
436
1033
|
}), /*#__PURE__*/React__default.createElement("path", {
|
|
437
|
-
d: "
|
|
1034
|
+
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"
|
|
1035
|
+
})));
|
|
1036
|
+
};
|
|
1037
|
+
var MicrophoneIcon = _ref43 => {
|
|
1038
|
+
var {
|
|
1039
|
+
size = 24,
|
|
1040
|
+
color = 'currentColor'
|
|
1041
|
+
} = _ref43,
|
|
1042
|
+
props = _objectWithoutPropertiesLoose(_ref43, _excluded42);
|
|
1043
|
+
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1044
|
+
size: size,
|
|
1045
|
+
color: color
|
|
1046
|
+
}, props), /*#__PURE__*/React__default.createElement("svg", {
|
|
1047
|
+
viewBox: "0 0 24 24",
|
|
1048
|
+
fill: "none",
|
|
1049
|
+
stroke: 'currentColor',
|
|
1050
|
+
strokeWidth: "1"
|
|
1051
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
1052
|
+
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"
|
|
438
1053
|
}), /*#__PURE__*/React__default.createElement("path", {
|
|
439
|
-
d: "
|
|
440
|
-
})))
|
|
1054
|
+
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"
|
|
1055
|
+
})));
|
|
441
1056
|
};
|
|
442
|
-
|
|
443
|
-
var _excluded$8 = ["size", "color"];
|
|
444
|
-
var IndeterminateSvg = _ref => {
|
|
1057
|
+
var WifiIcon = _ref44 => {
|
|
445
1058
|
var {
|
|
446
|
-
size =
|
|
447
|
-
color = '
|
|
448
|
-
} =
|
|
449
|
-
props = _objectWithoutPropertiesLoose(
|
|
450
|
-
return /*#__PURE__*/React__default.createElement(
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
}, /*#__PURE__*/React__default.createElement("svg",
|
|
1059
|
+
size = 24,
|
|
1060
|
+
color = 'currentColor'
|
|
1061
|
+
} = _ref44,
|
|
1062
|
+
props = _objectWithoutPropertiesLoose(_ref44, _excluded43);
|
|
1063
|
+
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1064
|
+
size: size,
|
|
1065
|
+
color: color
|
|
1066
|
+
}, props), /*#__PURE__*/React__default.createElement("svg", {
|
|
454
1067
|
viewBox: "0 0 24 24",
|
|
455
1068
|
fill: "none",
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
id: "SVGRepo_bgCarrier",
|
|
459
|
-
strokeWidth: "0"
|
|
460
|
-
}), /*#__PURE__*/React__default.createElement("g", {
|
|
461
|
-
id: "SVGRepo_tracerCarrier",
|
|
462
|
-
strokeLinecap: "round",
|
|
463
|
-
strokeLinejoin: "round"
|
|
464
|
-
}), /*#__PURE__*/React__default.createElement("g", {
|
|
465
|
-
id: "SVGRepo_iconCarrier"
|
|
1069
|
+
stroke: 'currentColor',
|
|
1070
|
+
strokeWidth: "1"
|
|
466
1071
|
}, /*#__PURE__*/React__default.createElement("path", {
|
|
467
|
-
d: "
|
|
468
|
-
|
|
469
|
-
strokeWidth: "1.5",
|
|
470
|
-
strokeLinecap: "round",
|
|
471
|
-
strokeLinejoin: "round"
|
|
472
|
-
}), ' ')));
|
|
1072
|
+
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"
|
|
1073
|
+
})));
|
|
473
1074
|
};
|
|
474
|
-
|
|
475
|
-
var _excluded$9 = ["size", "color"];
|
|
476
|
-
var OpenEyeSvg = _ref => {
|
|
1075
|
+
var BluetoothIcon = _ref45 => {
|
|
477
1076
|
var {
|
|
478
|
-
size =
|
|
479
|
-
color = '
|
|
480
|
-
} =
|
|
481
|
-
props = _objectWithoutPropertiesLoose(
|
|
482
|
-
return /*#__PURE__*/React__default.createElement(
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
}, /*#__PURE__*/React__default.createElement("svg",
|
|
1077
|
+
size = 24,
|
|
1078
|
+
color = 'currentColor'
|
|
1079
|
+
} = _ref45,
|
|
1080
|
+
props = _objectWithoutPropertiesLoose(_ref45, _excluded44);
|
|
1081
|
+
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1082
|
+
size: size,
|
|
1083
|
+
color: color
|
|
1084
|
+
}, props), /*#__PURE__*/React__default.createElement("svg", {
|
|
1085
|
+
viewBox: "0 0 24 24",
|
|
1086
|
+
fill: 'currentColor'
|
|
1087
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
1088
|
+
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"
|
|
1089
|
+
})));
|
|
1090
|
+
};
|
|
1091
|
+
var BatteryIcon = _ref46 => {
|
|
1092
|
+
var {
|
|
1093
|
+
size = 24,
|
|
1094
|
+
color = 'currentColor'
|
|
1095
|
+
} = _ref46,
|
|
1096
|
+
props = _objectWithoutPropertiesLoose(_ref46, _excluded45);
|
|
1097
|
+
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1098
|
+
size: size,
|
|
1099
|
+
color: color
|
|
1100
|
+
}, props), /*#__PURE__*/React__default.createElement("svg", {
|
|
486
1101
|
viewBox: "0 0 24 24",
|
|
487
1102
|
fill: "none",
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
id: "SVGRepo_bgCarrier",
|
|
491
|
-
strokeWidth: "0"
|
|
492
|
-
}), /*#__PURE__*/React__default.createElement("g", {
|
|
493
|
-
id: "SVGRepo_tracerCarrier",
|
|
494
|
-
strokeLinecap: "round",
|
|
495
|
-
strokeLinejoin: "round"
|
|
496
|
-
}), /*#__PURE__*/React__default.createElement("g", {
|
|
497
|
-
id: "SVGRepo_iconCarrier"
|
|
1103
|
+
stroke: 'currentColor',
|
|
1104
|
+
strokeWidth: "1"
|
|
498
1105
|
}, /*#__PURE__*/React__default.createElement("path", {
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
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",
|
|
502
|
-
fill: color
|
|
503
|
-
}))));
|
|
1106
|
+
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"
|
|
1107
|
+
})));
|
|
504
1108
|
};
|
|
505
|
-
|
|
506
|
-
var
|
|
507
|
-
var WarningSvg = _ref => {
|
|
1109
|
+
// More modern UI icons
|
|
1110
|
+
var SunIcon = _ref47 => {
|
|
508
1111
|
var {
|
|
509
|
-
size =
|
|
510
|
-
color = '
|
|
511
|
-
} =
|
|
512
|
-
props = _objectWithoutPropertiesLoose(
|
|
513
|
-
return /*#__PURE__*/React__default.createElement(
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
}, /*#__PURE__*/React__default.createElement("svg",
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
}), /*#__PURE__*/React__default.createElement("g", {
|
|
529
|
-
id: "SVGRepo_iconCarrier"
|
|
530
|
-
}, /*#__PURE__*/React__default.createElement("g", null, /*#__PURE__*/React__default.createElement("g", null, /*#__PURE__*/React__default.createElement("g", null, /*#__PURE__*/React__default.createElement("path", {
|
|
531
|
-
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"
|
|
532
|
-
})))))));
|
|
1112
|
+
size = 24,
|
|
1113
|
+
color = 'currentColor'
|
|
1114
|
+
} = _ref47,
|
|
1115
|
+
props = _objectWithoutPropertiesLoose(_ref47, _excluded46);
|
|
1116
|
+
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1117
|
+
size: size,
|
|
1118
|
+
color: color
|
|
1119
|
+
}, props), /*#__PURE__*/React__default.createElement("svg", {
|
|
1120
|
+
viewBox: "0 0 24 24",
|
|
1121
|
+
fill: "none",
|
|
1122
|
+
stroke: 'currentColor',
|
|
1123
|
+
strokeWidth: "1"
|
|
1124
|
+
}, /*#__PURE__*/React__default.createElement("circle", {
|
|
1125
|
+
cx: "12",
|
|
1126
|
+
cy: "12",
|
|
1127
|
+
r: "5"
|
|
1128
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
1129
|
+
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"
|
|
1130
|
+
})));
|
|
533
1131
|
};
|
|
534
|
-
|
|
535
|
-
var _excluded$b = ["size", "color"];
|
|
536
|
-
var SuccessSvg = _ref => {
|
|
1132
|
+
var MoonIcon = _ref48 => {
|
|
537
1133
|
var {
|
|
538
|
-
size =
|
|
1134
|
+
size = 24,
|
|
1135
|
+
color = 'currentColor'
|
|
1136
|
+
} = _ref48,
|
|
1137
|
+
props = _objectWithoutPropertiesLoose(_ref48, _excluded47);
|
|
1138
|
+
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1139
|
+
size: size,
|
|
1140
|
+
color: color
|
|
1141
|
+
}, props), /*#__PURE__*/React__default.createElement("svg", {
|
|
1142
|
+
viewBox: "0 0 24 24",
|
|
1143
|
+
fill: "none",
|
|
1144
|
+
stroke: 'currentColor',
|
|
1145
|
+
strokeWidth: "1"
|
|
1146
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
1147
|
+
d: "M21 12.79A9 9 0 1111.21 3 7 7 0 0021 12.79z"
|
|
1148
|
+
})));
|
|
1149
|
+
};
|
|
1150
|
+
var ErrorIcon = _ref49 => {
|
|
1151
|
+
var {
|
|
1152
|
+
size = 24,
|
|
539
1153
|
color = 'white'
|
|
540
|
-
} =
|
|
541
|
-
props = _objectWithoutPropertiesLoose(
|
|
542
|
-
return /*#__PURE__*/React__default.createElement(
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
}, /*#__PURE__*/React__default.createElement("svg",
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
}
|
|
554
|
-
id: "SVGRepo_bgCarrier"
|
|
555
|
-
}), /*#__PURE__*/React__default.createElement("g", {
|
|
556
|
-
id: "SVGRepo_tracerCarrier"
|
|
557
|
-
}), /*#__PURE__*/React__default.createElement("g", {
|
|
558
|
-
id: "SVGRepo_iconCarrier"
|
|
559
|
-
}, /*#__PURE__*/React__default.createElement("g", null, /*#__PURE__*/React__default.createElement("g", null, /*#__PURE__*/React__default.createElement("path", {
|
|
560
|
-
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",
|
|
561
|
-
fill: color
|
|
562
|
-
}))))));
|
|
1154
|
+
} = _ref49,
|
|
1155
|
+
props = _objectWithoutPropertiesLoose(_ref49, _excluded48);
|
|
1156
|
+
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1157
|
+
size: size,
|
|
1158
|
+
color: color
|
|
1159
|
+
}, props), /*#__PURE__*/React__default.createElement("svg", {
|
|
1160
|
+
viewBox: "0 0 510 510"
|
|
1161
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
1162
|
+
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"
|
|
1163
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
1164
|
+
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"
|
|
1165
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
1166
|
+
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"
|
|
1167
|
+
})));
|
|
563
1168
|
};
|
|
564
|
-
|
|
565
|
-
var _excluded$c = ["size", "color"];
|
|
566
|
-
var InfoSvg = _ref => {
|
|
1169
|
+
var WarningIcon = _ref50 => {
|
|
567
1170
|
var {
|
|
568
|
-
size =
|
|
1171
|
+
size = 24,
|
|
569
1172
|
color = 'white'
|
|
570
|
-
} =
|
|
571
|
-
props = _objectWithoutPropertiesLoose(
|
|
572
|
-
return /*#__PURE__*/React__default.createElement(
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
}, /*#__PURE__*/React__default.createElement("svg",
|
|
576
|
-
height: size + "px",
|
|
577
|
-
width: size + "px",
|
|
1173
|
+
} = _ref50,
|
|
1174
|
+
props = _objectWithoutPropertiesLoose(_ref50, _excluded49);
|
|
1175
|
+
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1176
|
+
size: size,
|
|
1177
|
+
color: color
|
|
1178
|
+
}, props), /*#__PURE__*/React__default.createElement("svg", {
|
|
578
1179
|
version: "1.1",
|
|
579
1180
|
id: "Capa_1",
|
|
580
1181
|
xmlns: "http://www.w3.org/2000/svg",
|
|
581
1182
|
viewBox: "0 0 192.146 192.146",
|
|
582
|
-
fill:
|
|
583
|
-
},
|
|
1183
|
+
fill: 'currentColor'
|
|
1184
|
+
}, /*#__PURE__*/React__default.createElement("g", {
|
|
584
1185
|
id: "SVGRepo_bgCarrier"
|
|
585
1186
|
}), /*#__PURE__*/React__default.createElement("g", {
|
|
586
1187
|
id: "SVGRepo_tracerCarrier"
|
|
587
1188
|
}), /*#__PURE__*/React__default.createElement("g", {
|
|
588
1189
|
id: "SVGRepo_iconCarrier"
|
|
589
1190
|
}, /*#__PURE__*/React__default.createElement("g", null, /*#__PURE__*/React__default.createElement("g", null, /*#__PURE__*/React__default.createElement("g", null, /*#__PURE__*/React__default.createElement("path", {
|
|
590
|
-
d: "
|
|
1191
|
+
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"
|
|
591
1192
|
})))))));
|
|
592
1193
|
};
|
|
593
|
-
|
|
594
|
-
var _excluded$d = ["size", "color"];
|
|
595
|
-
var ErrorSvg = _ref => {
|
|
1194
|
+
var CloudIcon = _ref51 => {
|
|
596
1195
|
var {
|
|
597
|
-
size =
|
|
598
|
-
color = '
|
|
599
|
-
} =
|
|
600
|
-
props = _objectWithoutPropertiesLoose(
|
|
601
|
-
return /*#__PURE__*/React__default.createElement(
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
}, /*#__PURE__*/React__default.createElement("svg",
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
1196
|
+
size = 24,
|
|
1197
|
+
color = 'currentColor'
|
|
1198
|
+
} = _ref51,
|
|
1199
|
+
props = _objectWithoutPropertiesLoose(_ref51, _excluded50);
|
|
1200
|
+
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1201
|
+
size: size,
|
|
1202
|
+
color: color
|
|
1203
|
+
}, props), /*#__PURE__*/React__default.createElement("svg", {
|
|
1204
|
+
viewBox: "0 0 24 24",
|
|
1205
|
+
fill: "none",
|
|
1206
|
+
stroke: 'currentColor',
|
|
1207
|
+
strokeWidth: "1"
|
|
1208
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
1209
|
+
d: "M18 10h-1.26A8 8 0 109 20h9a5 5 0 000-10z"
|
|
1210
|
+
})));
|
|
1211
|
+
};
|
|
1212
|
+
|
|
1213
|
+
var Icon = {
|
|
1214
|
+
__proto__: null,
|
|
1215
|
+
ChevronIcon: ChevronIcon,
|
|
1216
|
+
CheckIcon: CheckIcon,
|
|
1217
|
+
CloseIcon: CloseIcon,
|
|
1218
|
+
CloseEyeIcon: CloseEyeIcon,
|
|
1219
|
+
DustBinIcon: DustBinIcon,
|
|
1220
|
+
EditIcon: EditIcon,
|
|
1221
|
+
ExternalLinkIcon: ExternalLinkIcon,
|
|
1222
|
+
MinusIcon: MinusIcon,
|
|
1223
|
+
InfoIcon: InfoIcon,
|
|
1224
|
+
OpenEyeIcon: OpenEyeIcon,
|
|
1225
|
+
PlusIcon: PlusIcon,
|
|
1226
|
+
SpinnerIcon: SpinnerIcon,
|
|
1227
|
+
ProfileIcon: ProfileIcon,
|
|
1228
|
+
ArrowIcon: ArrowIcon,
|
|
1229
|
+
SearchIcon: SearchIcon,
|
|
1230
|
+
SuccessIcon: SuccessIcon,
|
|
1231
|
+
TickIcon: TickIcon,
|
|
1232
|
+
NotificationIcon: NotificationIcon,
|
|
1233
|
+
SettingsIcon: SettingsIcon,
|
|
1234
|
+
CalendarIcon: CalendarIcon,
|
|
1235
|
+
AddIcon: AddIcon,
|
|
1236
|
+
DownloadIcon: DownloadIcon,
|
|
1237
|
+
UploadIcon: UploadIcon,
|
|
1238
|
+
BookmarkIcon: BookmarkIcon,
|
|
1239
|
+
HomeIcon: HomeIcon,
|
|
1240
|
+
MenuIcon: MenuIcon,
|
|
1241
|
+
ShareIcon: ShareIcon,
|
|
1242
|
+
FilterIcon: FilterIcon,
|
|
1243
|
+
RefreshIcon: RefreshIcon,
|
|
1244
|
+
CopyIcon: CopyIcon,
|
|
1245
|
+
SaveIcon: SaveIcon,
|
|
1246
|
+
PrintIcon: PrintIcon,
|
|
1247
|
+
LockIcon: LockIcon,
|
|
1248
|
+
UnlockIcon: UnlockIcon,
|
|
1249
|
+
StarIcon: StarIcon,
|
|
1250
|
+
HeartIcon: HeartIcon,
|
|
1251
|
+
ThumbUpIcon: ThumbUpIcon,
|
|
1252
|
+
ThumbDownIcon: ThumbDownIcon,
|
|
1253
|
+
LocationIcon: LocationIcon,
|
|
1254
|
+
ClockIcon: ClockIcon,
|
|
1255
|
+
CameraIcon: CameraIcon,
|
|
1256
|
+
MicrophoneIcon: MicrophoneIcon,
|
|
1257
|
+
WifiIcon: WifiIcon,
|
|
1258
|
+
BluetoothIcon: BluetoothIcon,
|
|
1259
|
+
BatteryIcon: BatteryIcon,
|
|
1260
|
+
SunIcon: SunIcon,
|
|
1261
|
+
MoonIcon: MoonIcon,
|
|
1262
|
+
ErrorIcon: ErrorIcon,
|
|
1263
|
+
WarningIcon: WarningIcon,
|
|
1264
|
+
CloudIcon: CloudIcon
|
|
628
1265
|
};
|
|
629
1266
|
|
|
630
1267
|
// Define a constant object 'Themes' exporting various theme styles.
|
|
@@ -706,7 +1343,7 @@ var AlertView = _ref => {
|
|
|
706
1343
|
flexWrap: "nowrap"
|
|
707
1344
|
}, styles == null ? void 0 : styles.container), /*#__PURE__*/React__default.createElement(View, {
|
|
708
1345
|
alignSelf: 'center'
|
|
709
|
-
}, icon ? icon : (/*#__PURE__*/React__default.createElement(
|
|
1346
|
+
}, icon ? icon : (/*#__PURE__*/React__default.createElement(WarningIcon, {
|
|
710
1347
|
size: 24,
|
|
711
1348
|
color: (_styles$icon$color = styles == null ? void 0 : styles.icon.color) != null ? _styles$icon$color : Themes[variant].content.color
|
|
712
1349
|
}))), /*#__PURE__*/React__default.createElement(Vertical, {
|
|
@@ -740,7 +1377,7 @@ var AlertComponent = _ref => {
|
|
|
740
1377
|
// Exporting the AlertComponent as 'Alert' for use in other parts of the application.
|
|
741
1378
|
var Alert = AlertComponent;
|
|
742
1379
|
|
|
743
|
-
var _excluded$
|
|
1380
|
+
var _excluded$5 = ["ratio", "children"];
|
|
744
1381
|
// Declaration of a functional component named AspectRatioView.
|
|
745
1382
|
var AspectRatioView = _ref => {
|
|
746
1383
|
var {
|
|
@@ -750,7 +1387,7 @@ var AspectRatioView = _ref => {
|
|
|
750
1387
|
children
|
|
751
1388
|
// Spread the rest of the props to inherit additional properties.
|
|
752
1389
|
} = _ref,
|
|
753
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
1390
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$5);
|
|
754
1391
|
return /*#__PURE__*/React__default.createElement(Center, Object.assign({
|
|
755
1392
|
width: '100%',
|
|
756
1393
|
position: "relative",
|
|
@@ -766,14 +1403,14 @@ var AspectRatioView = _ref => {
|
|
|
766
1403
|
}, children));
|
|
767
1404
|
};
|
|
768
1405
|
|
|
769
|
-
var _excluded$
|
|
1406
|
+
var _excluded$6 = ["ratio", "children"];
|
|
770
1407
|
// Declaration of the AspectRatioComponent functional component with destructured props.
|
|
771
1408
|
var AspectRatioComponent = _ref => {
|
|
772
1409
|
var {
|
|
773
1410
|
ratio,
|
|
774
1411
|
children
|
|
775
1412
|
} = _ref,
|
|
776
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
1413
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$6);
|
|
777
1414
|
// Beginning of the return statement in the functional component.
|
|
778
1415
|
return /*#__PURE__*/React__default.createElement(AspectRatioView, Object.assign({
|
|
779
1416
|
ratio: ratio
|
|
@@ -1043,7 +1680,7 @@ var IconSizes = {
|
|
|
1043
1680
|
'6xl': 64
|
|
1044
1681
|
};
|
|
1045
1682
|
|
|
1046
|
-
var _excluded$
|
|
1683
|
+
var _excluded$7 = ["children", "href", "iconSize", "underline", "isHovered", "isExternal", "styles", "setIsHovered"];
|
|
1047
1684
|
// Component definition for 'LinkView', a functional component with props defined by 'LinkViewProps'.
|
|
1048
1685
|
var LinkView = _ref => {
|
|
1049
1686
|
var {
|
|
@@ -1066,7 +1703,7 @@ var LinkView = _ref => {
|
|
|
1066
1703
|
// Setter function for the hover state, noop function provided by default.
|
|
1067
1704
|
setIsHovered = () => {}
|
|
1068
1705
|
} = _ref,
|
|
1069
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
1706
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$7);
|
|
1070
1707
|
// Function to handle mouse enter/leave events to toggle hover state.
|
|
1071
1708
|
var handleHover = () => {
|
|
1072
1709
|
if (underline === 'hover') setIsHovered(true);
|
|
@@ -1082,7 +1719,7 @@ var LinkView = _ref => {
|
|
|
1082
1719
|
gap: 3,
|
|
1083
1720
|
alignItems: "center",
|
|
1084
1721
|
flexWrap: "nowrap"
|
|
1085
|
-
}, children, isExternal && (/*#__PURE__*/React__default.createElement(
|
|
1722
|
+
}, children, isExternal && (/*#__PURE__*/React__default.createElement(ExternalLinkIcon, {
|
|
1086
1723
|
size: IconSizes[iconSize],
|
|
1087
1724
|
style: styles.icon
|
|
1088
1725
|
})))));
|
|
@@ -1107,9 +1744,9 @@ var ButtonSizes = {
|
|
|
1107
1744
|
paddingBottom: 8,
|
|
1108
1745
|
paddingLeft: 12,
|
|
1109
1746
|
paddingRight: 12,
|
|
1110
|
-
fontWeight:
|
|
1111
|
-
fontSize:
|
|
1112
|
-
lineHeight:
|
|
1747
|
+
fontWeight: 400,
|
|
1748
|
+
fontSize: 11,
|
|
1749
|
+
lineHeight: 14,
|
|
1113
1750
|
letterSpacing: 1.25
|
|
1114
1751
|
},
|
|
1115
1752
|
sm: {
|
|
@@ -1118,10 +1755,10 @@ var ButtonSizes = {
|
|
|
1118
1755
|
paddingBottom: 10,
|
|
1119
1756
|
paddingLeft: 16,
|
|
1120
1757
|
paddingRight: 16,
|
|
1121
|
-
fontWeight:
|
|
1122
|
-
fontSize:
|
|
1758
|
+
fontWeight: 400,
|
|
1759
|
+
fontSize: 12,
|
|
1123
1760
|
// Establishes style configuration for medium (md) button size.
|
|
1124
|
-
lineHeight:
|
|
1761
|
+
lineHeight: 16,
|
|
1125
1762
|
letterSpacing: 1.25
|
|
1126
1763
|
},
|
|
1127
1764
|
md: {
|
|
@@ -1131,9 +1768,9 @@ var ButtonSizes = {
|
|
|
1131
1768
|
paddingLeft: 18,
|
|
1132
1769
|
paddingRight: 18,
|
|
1133
1770
|
// Establishes style configuration for large (lg) button size.
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
lineHeight:
|
|
1771
|
+
fontSize: 14,
|
|
1772
|
+
fontWeight: 400,
|
|
1773
|
+
lineHeight: 18,
|
|
1137
1774
|
letterSpacing: 1.25
|
|
1138
1775
|
},
|
|
1139
1776
|
lg: {
|
|
@@ -1143,8 +1780,8 @@ var ButtonSizes = {
|
|
|
1143
1780
|
// Establishes style configuration for extra-large (xl) button size.
|
|
1144
1781
|
paddingLeft: 22,
|
|
1145
1782
|
paddingRight: 22,
|
|
1146
|
-
fontWeight:
|
|
1147
|
-
fontSize:
|
|
1783
|
+
fontWeight: 400,
|
|
1784
|
+
fontSize: 18,
|
|
1148
1785
|
lineHeight: 24,
|
|
1149
1786
|
letterSpacing: 1.25
|
|
1150
1787
|
},
|
|
@@ -1158,10 +1795,10 @@ var ButtonSizes = {
|
|
|
1158
1795
|
// Sets the border-radius for a rounded button shape to '4'.
|
|
1159
1796
|
paddingRight: 26,
|
|
1160
1797
|
// Sets the border-radius for a pill-shaped button to '24'.
|
|
1161
|
-
fontWeight:
|
|
1162
|
-
fontSize:
|
|
1798
|
+
fontWeight: 400,
|
|
1799
|
+
fontSize: 22,
|
|
1163
1800
|
// Defines a constant 'IconSizes' as a mapping from 'Size' to corresponding 'CSSProperties' for icons.
|
|
1164
|
-
lineHeight:
|
|
1801
|
+
lineHeight: 28,
|
|
1165
1802
|
// Sets the width, height, and padding for icons of extra-small size.
|
|
1166
1803
|
letterSpacing: 1.25
|
|
1167
1804
|
}
|
|
@@ -1224,17 +1861,17 @@ var DefaultSpeeds = {
|
|
|
1224
1861
|
slow: 300
|
|
1225
1862
|
};
|
|
1226
1863
|
|
|
1227
|
-
var _excluded$
|
|
1228
|
-
_excluded2 = ["size", "speed", "color"],
|
|
1229
|
-
_excluded3 = ["size", "speed", "color"],
|
|
1230
|
-
_excluded4 = ["size", "children", "textColor", "loaderColor", "type", "speed", "textPosition"];
|
|
1864
|
+
var _excluded$8 = ["size", "speed", "color"],
|
|
1865
|
+
_excluded2$1 = ["size", "speed", "color"],
|
|
1866
|
+
_excluded3$1 = ["size", "speed", "color"],
|
|
1867
|
+
_excluded4$1 = ["size", "children", "textColor", "loaderColor", "type", "speed", "textPosition"];
|
|
1231
1868
|
var DefaultSpinner = _ref => {
|
|
1232
1869
|
var {
|
|
1233
1870
|
size = 'md',
|
|
1234
1871
|
speed = 'normal',
|
|
1235
1872
|
color = 'theme.loading'
|
|
1236
1873
|
} = _ref,
|
|
1237
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
1874
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$8);
|
|
1238
1875
|
var theme = appStudio.useTheme();
|
|
1239
1876
|
var colorStyle = theme.getColor(color);
|
|
1240
1877
|
var sizeStyle = typeof size === 'number' ? size : DefaultSizes[size];
|
|
@@ -1277,7 +1914,7 @@ var Dotted = _ref2 => {
|
|
|
1277
1914
|
speed = 'normal',
|
|
1278
1915
|
color = 'theme.loading'
|
|
1279
1916
|
} = _ref2,
|
|
1280
|
-
props = _objectWithoutPropertiesLoose(_ref2, _excluded2);
|
|
1917
|
+
props = _objectWithoutPropertiesLoose(_ref2, _excluded2$1);
|
|
1281
1918
|
var theme = appStudio.useTheme();
|
|
1282
1919
|
var colorStyle = theme.getColor(color);
|
|
1283
1920
|
var sizeStyle = typeof size === 'number' ? size : DefaultSizes[size];
|
|
@@ -1319,7 +1956,7 @@ var Quarter = _ref3 => {
|
|
|
1319
1956
|
speed = 'normal',
|
|
1320
1957
|
color = 'theme.loading'
|
|
1321
1958
|
} = _ref3,
|
|
1322
|
-
props = _objectWithoutPropertiesLoose(_ref3, _excluded3);
|
|
1959
|
+
props = _objectWithoutPropertiesLoose(_ref3, _excluded3$1);
|
|
1323
1960
|
var theme = appStudio.useTheme();
|
|
1324
1961
|
var colorStyle = theme.getColor(color);
|
|
1325
1962
|
var sizeStyle = typeof size === 'number' ? size : DefaultSizes[size];
|
|
@@ -1358,7 +1995,7 @@ var LoaderView = _ref4 => {
|
|
|
1358
1995
|
speed = 'normal',
|
|
1359
1996
|
textPosition = 'right'
|
|
1360
1997
|
} = _ref4,
|
|
1361
|
-
props = _objectWithoutPropertiesLoose(_ref4, _excluded4);
|
|
1998
|
+
props = _objectWithoutPropertiesLoose(_ref4, _excluded4$1);
|
|
1362
1999
|
var style = {
|
|
1363
2000
|
size,
|
|
1364
2001
|
speed,
|
|
@@ -1387,7 +2024,7 @@ React__default.createElement(LoaderView, Object.assign({}, props)));
|
|
|
1387
2024
|
// Exports the LoaderComponent as Loader, making it available for use in other parts of the application.
|
|
1388
2025
|
var Loader = LoaderComponent;
|
|
1389
2026
|
|
|
1390
|
-
var _excluded$
|
|
2027
|
+
var _excluded$9 = ["icon", "shadow", "children", "ariaLabel", "externalHref", "isAuto", "isFilled", "isIconRounded", "isLoading", "isDisabled", "size", "variant", "iconPosition", "colorScheme", "shape", "onClick", "loaderProps", "loaderPosition", "effect", "isHovered", "setIsHovered"];
|
|
1391
2028
|
var contrast = /*#__PURE__*/require('contrast');
|
|
1392
2029
|
var ButtonView = _ref => {
|
|
1393
2030
|
var _props$onClick;
|
|
@@ -1423,7 +2060,7 @@ var ButtonView = _ref => {
|
|
|
1423
2060
|
setIsHovered = () => {}
|
|
1424
2061
|
// Defines CSS properties for 'outline' variant of the button with conditional styles based on reverse state.
|
|
1425
2062
|
} = _ref,
|
|
1426
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
2063
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$9);
|
|
1427
2064
|
var {
|
|
1428
2065
|
getColor
|
|
1429
2066
|
} = appStudio.useTheme();
|
|
@@ -1538,14 +2175,14 @@ var ButtonComponent = props => {
|
|
|
1538
2175
|
};
|
|
1539
2176
|
var Button = ButtonComponent;
|
|
1540
2177
|
|
|
1541
|
-
var _excluded$
|
|
1542
|
-
_excluded2$
|
|
2178
|
+
var _excluded$a = ["src", "color"],
|
|
2179
|
+
_excluded2$2 = ["path"];
|
|
1543
2180
|
var FileSVG = _ref => {
|
|
1544
2181
|
var {
|
|
1545
2182
|
src,
|
|
1546
2183
|
color
|
|
1547
2184
|
} = _ref,
|
|
1548
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
2185
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$a);
|
|
1549
2186
|
var {
|
|
1550
2187
|
getColor
|
|
1551
2188
|
} = appStudio.useTheme();
|
|
@@ -1563,7 +2200,7 @@ var FileImage = _ref2 => {
|
|
|
1563
2200
|
var {
|
|
1564
2201
|
path
|
|
1565
2202
|
} = _ref2,
|
|
1566
|
-
props = _objectWithoutPropertiesLoose(_ref2, _excluded2$
|
|
2203
|
+
props = _objectWithoutPropertiesLoose(_ref2, _excluded2$2);
|
|
1567
2204
|
return /*#__PURE__*/React__default.createElement(appStudio.Image, Object.assign({
|
|
1568
2205
|
src: path
|
|
1569
2206
|
}, props));
|
|
@@ -1613,7 +2250,7 @@ var useItemState = () => {
|
|
|
1613
2250
|
};
|
|
1614
2251
|
};
|
|
1615
2252
|
|
|
1616
|
-
var _excluded$
|
|
2253
|
+
var _excluded$b = ["children", "styles"];
|
|
1617
2254
|
var HelperText = _ref => {
|
|
1618
2255
|
var {
|
|
1619
2256
|
children,
|
|
@@ -1621,7 +2258,7 @@ var HelperText = _ref => {
|
|
|
1621
2258
|
helperText: {}
|
|
1622
2259
|
}
|
|
1623
2260
|
} = _ref,
|
|
1624
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
2261
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$b);
|
|
1625
2262
|
return /*#__PURE__*/React__default.createElement(Text, Object.assign({
|
|
1626
2263
|
size: "xs",
|
|
1627
2264
|
marginVertical: 0,
|
|
@@ -1630,7 +2267,7 @@ var HelperText = _ref => {
|
|
|
1630
2267
|
}, styles['helperText'], props), children);
|
|
1631
2268
|
};
|
|
1632
2269
|
|
|
1633
|
-
var _excluded$
|
|
2270
|
+
var _excluded$c = ["children", "helperText", "error", "styles"];
|
|
1634
2271
|
var FieldContainer = _ref => {
|
|
1635
2272
|
var {
|
|
1636
2273
|
children,
|
|
@@ -1638,7 +2275,7 @@ var FieldContainer = _ref => {
|
|
|
1638
2275
|
error = false,
|
|
1639
2276
|
styles
|
|
1640
2277
|
} = _ref,
|
|
1641
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
2278
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$c);
|
|
1642
2279
|
return /*#__PURE__*/React__default.createElement(Vertical, Object.assign({
|
|
1643
2280
|
gap: 5,
|
|
1644
2281
|
position: "relative"
|
|
@@ -1697,7 +2334,7 @@ var PaddingWithoutLabel = {
|
|
|
1697
2334
|
paddingRight: 36
|
|
1698
2335
|
};
|
|
1699
2336
|
|
|
1700
|
-
var _excluded$
|
|
2337
|
+
var _excluded$d = ["label", "shadow", "children", "value", "size", "shape", "variant", "error", "isWithLabel", "isFocused", "isHovered", "isDisabled", "isReadOnly", "colorScheme", "styles"];
|
|
1701
2338
|
var FieldContent = _ref => {
|
|
1702
2339
|
var {
|
|
1703
2340
|
shadow,
|
|
@@ -1716,7 +2353,7 @@ var FieldContent = _ref => {
|
|
|
1716
2353
|
pickerBox: {}
|
|
1717
2354
|
}
|
|
1718
2355
|
} = _ref,
|
|
1719
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
2356
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$d);
|
|
1720
2357
|
var isInteractive = (isHovered || isFocused) && !isDisabled;
|
|
1721
2358
|
var color = error ? 'error' : isInteractive ? colorScheme : 'midgray';
|
|
1722
2359
|
return /*#__PURE__*/React__default.createElement(Horizontal, Object.assign({
|
|
@@ -1737,12 +2374,12 @@ var FieldContent = _ref => {
|
|
|
1737
2374
|
}, isWithLabel ? PadddingWithLabel : PaddingWithoutLabel, shadow, Shapes[shape], InputVariants[variant], styles['box'], props), children);
|
|
1738
2375
|
};
|
|
1739
2376
|
|
|
1740
|
-
var _excluded$
|
|
2377
|
+
var _excluded$e = ["children"];
|
|
1741
2378
|
var FieldIcons = _ref => {
|
|
1742
2379
|
var {
|
|
1743
2380
|
children
|
|
1744
2381
|
} = _ref,
|
|
1745
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
2382
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$e);
|
|
1746
2383
|
return /*#__PURE__*/React__default.createElement(Center, Object.assign({
|
|
1747
2384
|
gap: 10,
|
|
1748
2385
|
right: 16,
|
|
@@ -1794,7 +2431,7 @@ var HeadingSizes$1 = {
|
|
|
1794
2431
|
}
|
|
1795
2432
|
};
|
|
1796
2433
|
|
|
1797
|
-
var _excluded$
|
|
2434
|
+
var _excluded$f = ["children", "heading", "isItalic", "isUnderlined", "isStriked", "weight", "size"];
|
|
1798
2435
|
var LabelView = _ref => {
|
|
1799
2436
|
var {
|
|
1800
2437
|
children,
|
|
@@ -1810,7 +2447,7 @@ var LabelView = _ref => {
|
|
|
1810
2447
|
size = 'sm'
|
|
1811
2448
|
// The fontSize prop for the Element is determined by the 'size' prop passed to LabelView.
|
|
1812
2449
|
} = _ref,
|
|
1813
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
2450
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$f);
|
|
1814
2451
|
// The fontStyle prop toggles between 'italic' and 'normal' based on the 'isItalic' boolean prop.
|
|
1815
2452
|
var headingStyles = heading ? HeadingSizes$1[heading] : {};
|
|
1816
2453
|
// fontWeight is derived from the Typography module, ensuring consistent font weighting across the app.
|
|
@@ -1842,7 +2479,7 @@ React__default.createElement(LabelView, Object.assign({}, props))
|
|
|
1842
2479
|
var Label = LabelComponent;
|
|
1843
2480
|
// Export the 'LabelComponent' as 'Label' to be reused throughout the project.
|
|
1844
2481
|
|
|
1845
|
-
var _excluded$
|
|
2482
|
+
var _excluded$g = ["children", "size", "error", "color", "styles", "helperText"];
|
|
1846
2483
|
var FieldLabel = _ref => {
|
|
1847
2484
|
var {
|
|
1848
2485
|
children,
|
|
@@ -1853,7 +2490,7 @@ var FieldLabel = _ref => {
|
|
|
1853
2490
|
label: {}
|
|
1854
2491
|
}
|
|
1855
2492
|
} = _ref,
|
|
1856
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
2493
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$g);
|
|
1857
2494
|
return /*#__PURE__*/React__default.createElement(Label, Object.assign({
|
|
1858
2495
|
top: 6,
|
|
1859
2496
|
zIndex: 1000,
|
|
@@ -1866,12 +2503,12 @@ var FieldLabel = _ref => {
|
|
|
1866
2503
|
}, styles['label'], props), children);
|
|
1867
2504
|
};
|
|
1868
2505
|
|
|
1869
|
-
var _excluded$
|
|
2506
|
+
var _excluded$h = ["children"];
|
|
1870
2507
|
var FieldWrapper = _ref => {
|
|
1871
2508
|
var {
|
|
1872
2509
|
children
|
|
1873
2510
|
} = _ref,
|
|
1874
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
2511
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$h);
|
|
1875
2512
|
return /*#__PURE__*/React__default.createElement(Vertical, Object.assign({
|
|
1876
2513
|
width: "100%"
|
|
1877
2514
|
}, props), children);
|
|
@@ -1887,10 +2524,10 @@ var IconSizes$2 = {
|
|
|
1887
2524
|
xl: 16
|
|
1888
2525
|
};
|
|
1889
2526
|
|
|
1890
|
-
var _excluded$
|
|
1891
|
-
_excluded2$
|
|
1892
|
-
_excluded3$
|
|
1893
|
-
_excluded4$
|
|
2527
|
+
var _excluded$i = ["isHovered", "setIsHovered", "option", "size", "callback", "style"],
|
|
2528
|
+
_excluded2$3 = ["id", "name", "value", "onChange", "isMulti", "isDisabled", "isReadOnly", "options"],
|
|
2529
|
+
_excluded3$2 = ["option", "size", "removeOption"],
|
|
2530
|
+
_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"];
|
|
1894
2531
|
// Defines a component to render individual selection items within a list.
|
|
1895
2532
|
var Item = _ref => {
|
|
1896
2533
|
var {
|
|
@@ -1901,7 +2538,7 @@ var Item = _ref => {
|
|
|
1901
2538
|
callback = () => {},
|
|
1902
2539
|
style
|
|
1903
2540
|
} = _ref,
|
|
1904
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
2541
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$i);
|
|
1905
2542
|
// Handles the click event on an option by invoking the callback with the selected option's value.
|
|
1906
2543
|
var handleOptionClick = option => callback(option);
|
|
1907
2544
|
// Toggles the hover state on the item.
|
|
@@ -1966,7 +2603,7 @@ var HiddenSelect = _ref3 => {
|
|
|
1966
2603
|
isReadOnly = false,
|
|
1967
2604
|
options = []
|
|
1968
2605
|
} = _ref3,
|
|
1969
|
-
props = _objectWithoutPropertiesLoose(_ref3, _excluded2$
|
|
2606
|
+
props = _objectWithoutPropertiesLoose(_ref3, _excluded2$3);
|
|
1970
2607
|
var handleChange = event => {
|
|
1971
2608
|
if (onChange) onChange(event);
|
|
1972
2609
|
};
|
|
@@ -2056,7 +2693,7 @@ var MultiSelect = _ref5 => {
|
|
|
2056
2693
|
size = 'md',
|
|
2057
2694
|
removeOption = () => {}
|
|
2058
2695
|
} = _ref5,
|
|
2059
|
-
props = _objectWithoutPropertiesLoose(_ref5, _excluded3$
|
|
2696
|
+
props = _objectWithoutPropertiesLoose(_ref5, _excluded3$2);
|
|
2060
2697
|
var handleClick = () => removeOption(option);
|
|
2061
2698
|
return /*#__PURE__*/React__default.createElement(Horizontal, Object.assign({
|
|
2062
2699
|
gap: 10,
|
|
@@ -2068,7 +2705,7 @@ var MultiSelect = _ref5 => {
|
|
|
2068
2705
|
onClick: event => event.stopPropagation()
|
|
2069
2706
|
}, props), /*#__PURE__*/React__default.createElement(Text, {
|
|
2070
2707
|
size: size
|
|
2071
|
-
}, option), /*#__PURE__*/React__default.createElement(
|
|
2708
|
+
}, option), /*#__PURE__*/React__default.createElement(CloseIcon, {
|
|
2072
2709
|
role: "close-button",
|
|
2073
2710
|
color: "inherit",
|
|
2074
2711
|
size: IconSizes$2[size],
|
|
@@ -2112,7 +2749,7 @@ var SelectView = _ref6 => {
|
|
|
2112
2749
|
setHighlightedIndex,
|
|
2113
2750
|
highlightedIndex
|
|
2114
2751
|
} = _ref6,
|
|
2115
|
-
props = _objectWithoutPropertiesLoose(_ref6, _excluded4$
|
|
2752
|
+
props = _objectWithoutPropertiesLoose(_ref6, _excluded4$2);
|
|
2116
2753
|
var isWithLabel = !!(isFocused && label);
|
|
2117
2754
|
var handleHover = () => setIsHovered(!isHovered);
|
|
2118
2755
|
var handleFocus = () => setIsFocused(true);
|
|
@@ -2182,12 +2819,14 @@ var SelectView = _ref6 => {
|
|
|
2182
2819
|
isDisabled: isDisabled,
|
|
2183
2820
|
placeholder: placeholder,
|
|
2184
2821
|
removeOption: handleRemoveOption
|
|
2185
|
-
})), /*#__PURE__*/React__default.createElement(FieldIcons, null, !isReadOnly && !isDisabled && (/*#__PURE__*/React__default.createElement(React__default.Fragment, null, hide ? (/*#__PURE__*/React__default.createElement(
|
|
2822
|
+
})), /*#__PURE__*/React__default.createElement(FieldIcons, null, !isReadOnly && !isDisabled && (/*#__PURE__*/React__default.createElement(React__default.Fragment, null, hide ? (/*#__PURE__*/React__default.createElement(ChevronIcon, {
|
|
2186
2823
|
color: "inherit",
|
|
2187
2824
|
size: IconSizes$2[size],
|
|
2188
|
-
style: styles.icon
|
|
2189
|
-
|
|
2825
|
+
style: styles.icon,
|
|
2826
|
+
orientation: "down"
|
|
2827
|
+
})) : (/*#__PURE__*/React__default.createElement(ChevronIcon, {
|
|
2190
2828
|
color: "inherit",
|
|
2829
|
+
orientation: "up",
|
|
2191
2830
|
size: IconSizes$2[size],
|
|
2192
2831
|
style: styles.icon
|
|
2193
2832
|
})))))), !hide && (/*#__PURE__*/React__default.createElement(DropDown, {
|
|
@@ -2356,7 +2995,7 @@ var SliderPadding = {
|
|
|
2356
2995
|
}
|
|
2357
2996
|
};
|
|
2358
2997
|
|
|
2359
|
-
var _excluded$
|
|
2998
|
+
var _excluded$j = ["id", "name", "label", "inActiveChild", "activeChild", "labelPosition", "shadow", "size", "colorScheme", "value", "isHovered", "isDisabled", "isReadOnly", "on", "setOn", "onChange", "setValue", "setIsHovered", "helperText", "styles"];
|
|
2360
2999
|
var SwitchContent = props => /*#__PURE__*/React__default.createElement(appStudio.Input, Object.assign({
|
|
2361
3000
|
type: "checkbox"
|
|
2362
3001
|
}, props));
|
|
@@ -2386,7 +3025,7 @@ var SwitchView = _ref => {
|
|
|
2386
3025
|
label: {}
|
|
2387
3026
|
}
|
|
2388
3027
|
} = _ref,
|
|
2389
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
3028
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$j);
|
|
2390
3029
|
var handleToggle = event => {
|
|
2391
3030
|
if (!isReadOnly) {
|
|
2392
3031
|
setValue(!value);
|
|
@@ -2476,7 +3115,7 @@ var useTextAreaState = _ref => {
|
|
|
2476
3115
|
// Export of the useTextAreaState hook for external usage.
|
|
2477
3116
|
};
|
|
2478
3117
|
|
|
2479
|
-
var _excluded$
|
|
3118
|
+
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"];
|
|
2480
3119
|
var TextAreaView = _ref => {
|
|
2481
3120
|
var {
|
|
2482
3121
|
id,
|
|
@@ -2516,7 +3155,7 @@ var TextAreaView = _ref => {
|
|
|
2516
3155
|
field: {}
|
|
2517
3156
|
}
|
|
2518
3157
|
} = _ref,
|
|
2519
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
3158
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$k);
|
|
2520
3159
|
var isWithLabel = !!(isFocused && label);
|
|
2521
3160
|
var fieldStyles = Object.assign({
|
|
2522
3161
|
margin: 0,
|
|
@@ -2646,7 +3285,7 @@ var useTextFieldState = _ref => {
|
|
|
2646
3285
|
};
|
|
2647
3286
|
};
|
|
2648
3287
|
|
|
2649
|
-
var _excluded$
|
|
3288
|
+
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"];
|
|
2650
3289
|
var TextFieldInput = props => /*#__PURE__*/React__default.createElement(appStudio.Input, Object.assign({
|
|
2651
3290
|
type: "text"
|
|
2652
3291
|
}, props));
|
|
@@ -2689,7 +3328,7 @@ var TextFieldView = _ref => {
|
|
|
2689
3328
|
onFocus,
|
|
2690
3329
|
onBlur = () => {}
|
|
2691
3330
|
} = _ref,
|
|
2692
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
3331
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$l);
|
|
2693
3332
|
var {
|
|
2694
3333
|
getColor
|
|
2695
3334
|
} = appStudio.useTheme();
|
|
@@ -2785,7 +3424,7 @@ var TextFieldView = _ref => {
|
|
|
2785
3424
|
}, fieldStyles, props, {
|
|
2786
3425
|
onChange: handleChange,
|
|
2787
3426
|
value: value
|
|
2788
|
-
}))), (rightChild || isClearable && value) && (/*#__PURE__*/React__default.createElement(FieldIcons, null, isClearable && value && !isReadOnly && !isDisabled && (/*#__PURE__*/React__default.createElement(
|
|
3427
|
+
}))), (rightChild || isClearable && value) && (/*#__PURE__*/React__default.createElement(FieldIcons, null, isClearable && value && !isReadOnly && !isDisabled && (/*#__PURE__*/React__default.createElement(CloseIcon, {
|
|
2789
3428
|
size: appStudio.Typography.fontSizes[size],
|
|
2790
3429
|
color: IconColor,
|
|
2791
3430
|
onClick: handleClear
|
|
@@ -2870,7 +3509,7 @@ var IconSizes$3 = {
|
|
|
2870
3509
|
'6xl': 60
|
|
2871
3510
|
};
|
|
2872
3511
|
|
|
2873
|
-
var _excluded$
|
|
3512
|
+
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"];
|
|
2874
3513
|
var CheckboxView = _ref => {
|
|
2875
3514
|
var {
|
|
2876
3515
|
id,
|
|
@@ -2898,7 +3537,7 @@ var CheckboxView = _ref => {
|
|
|
2898
3537
|
},
|
|
2899
3538
|
infoText
|
|
2900
3539
|
} = _ref,
|
|
2901
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
3540
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$m);
|
|
2902
3541
|
var handleHover = () => setIsHovered(!isHovered);
|
|
2903
3542
|
var handleChange = () => {
|
|
2904
3543
|
if (!isReadOnly && !isDisabled) {
|
|
@@ -2945,8 +3584,12 @@ var CheckboxView = _ref => {
|
|
|
2945
3584
|
alignItems: "center"
|
|
2946
3585
|
}, labelPosition === 'left' && label && (/*#__PURE__*/React__default.createElement(Text, Object.assign({
|
|
2947
3586
|
size: size
|
|
2948
|
-
}, styles == null ? void 0 : styles.label), label)), /*#__PURE__*/React__default.createElement(Center, Object.assign({}, checkboxStyle.checkbox), isIndeterminate ? (/*#__PURE__*/React__default.createElement(
|
|
2949
|
-
size: IconSizes$3[size]
|
|
3587
|
+
}, styles == null ? void 0 : styles.label), label)), /*#__PURE__*/React__default.createElement(Center, Object.assign({}, checkboxStyle.checkbox), isIndeterminate ? (/*#__PURE__*/React__default.createElement(MinusIcon, {
|
|
3588
|
+
size: IconSizes$3[size],
|
|
3589
|
+
color: "white"
|
|
3590
|
+
})) : (isChecked || isSelected) && (icon != null ? icon : /*#__PURE__*/React__default.createElement(TickIcon, {
|
|
3591
|
+
size: IconSizes$3[size],
|
|
3592
|
+
color: "white"
|
|
2950
3593
|
}))), labelPosition === 'right' && label && (/*#__PURE__*/React__default.createElement(Text, Object.assign({
|
|
2951
3594
|
size: size
|
|
2952
3595
|
}, styles == null ? void 0 : styles.label), label))), infoText && (/*#__PURE__*/React__default.createElement(Text, Object.assign({
|
|
@@ -4453,11 +5096,11 @@ var IconSizes$4 = {
|
|
|
4453
5096
|
xl: 16
|
|
4454
5097
|
};
|
|
4455
5098
|
|
|
4456
|
-
var _excluded$
|
|
4457
|
-
_excluded2$
|
|
4458
|
-
_excluded3$
|
|
5099
|
+
var _excluded$n = ["size"],
|
|
5100
|
+
_excluded2$4 = ["size"],
|
|
5101
|
+
_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"];
|
|
4459
5102
|
var CountryList = _ref => {
|
|
4460
|
-
var props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
5103
|
+
var props = _objectWithoutPropertiesLoose(_ref, _excluded$n);
|
|
4461
5104
|
return /*#__PURE__*/React__default.createElement(appStudio.Element, Object.assign({
|
|
4462
5105
|
as: "ul"
|
|
4463
5106
|
}, props));
|
|
@@ -4466,7 +5109,7 @@ var CountrySelector = props => (/*#__PURE__*/React__default.createElement(appStu
|
|
|
4466
5109
|
type: "country"
|
|
4467
5110
|
}, props)));
|
|
4468
5111
|
var CountryItem = _ref2 => {
|
|
4469
|
-
var props = _objectWithoutPropertiesLoose(_ref2, _excluded2$
|
|
5112
|
+
var props = _objectWithoutPropertiesLoose(_ref2, _excluded2$4);
|
|
4470
5113
|
return /*#__PURE__*/React__default.createElement(appStudio.Element, Object.assign({
|
|
4471
5114
|
as: "li"
|
|
4472
5115
|
}, props));
|
|
@@ -4490,6 +5133,7 @@ var DropDownItem = _ref3 => {
|
|
|
4490
5133
|
margin: 0,
|
|
4491
5134
|
role: "DropDownItem",
|
|
4492
5135
|
listStyleType: "none",
|
|
5136
|
+
fontWeight: "normal",
|
|
4493
5137
|
paddingVertical: 6,
|
|
4494
5138
|
paddingHorizontal: 12,
|
|
4495
5139
|
onMouseEnter: handleHover,
|
|
@@ -4568,7 +5212,7 @@ var CountryPickerView = _ref5 => {
|
|
|
4568
5212
|
box: {}
|
|
4569
5213
|
}
|
|
4570
5214
|
} = _ref5,
|
|
4571
|
-
props = _objectWithoutPropertiesLoose(_ref5, _excluded3$
|
|
5215
|
+
props = _objectWithoutPropertiesLoose(_ref5, _excluded3$3);
|
|
4572
5216
|
var {
|
|
4573
5217
|
getColor
|
|
4574
5218
|
} = appStudio.useTheme();
|
|
@@ -4653,11 +5297,13 @@ var CountryPickerView = _ref5 => {
|
|
|
4653
5297
|
}, fieldStyles, props, {
|
|
4654
5298
|
value: value,
|
|
4655
5299
|
onChange: handleChange
|
|
4656
|
-
}))), /*#__PURE__*/React__default.createElement(FieldIcons, null, hide ? (/*#__PURE__*/React__default.createElement(
|
|
5300
|
+
}))), /*#__PURE__*/React__default.createElement(FieldIcons, null, hide ? (/*#__PURE__*/React__default.createElement(Icon$1.ChevronIcon, {
|
|
5301
|
+
orientation: "down",
|
|
4657
5302
|
size: IconSizes$4[size],
|
|
4658
5303
|
color: IconColor,
|
|
4659
5304
|
style: styles['icon']
|
|
4660
|
-
})) : (/*#__PURE__*/React__default.createElement(
|
|
5305
|
+
})) : (/*#__PURE__*/React__default.createElement(Icon$1.ChevronIcon, {
|
|
5306
|
+
orientation: "up",
|
|
4661
5307
|
size: IconSizes$4[size],
|
|
4662
5308
|
color: IconColor,
|
|
4663
5309
|
style: styles['icon']
|
|
@@ -4693,7 +5339,7 @@ var useDatePickerState = () => {
|
|
|
4693
5339
|
};
|
|
4694
5340
|
};
|
|
4695
5341
|
|
|
4696
|
-
var _excluded$
|
|
5342
|
+
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"];
|
|
4697
5343
|
var DatePickerContent = props => /*#__PURE__*/React__default.createElement(appStudio.Input, Object.assign({
|
|
4698
5344
|
type: "date"
|
|
4699
5345
|
}, props));
|
|
@@ -4727,7 +5373,7 @@ var DatePickerView = _ref => {
|
|
|
4727
5373
|
onChange,
|
|
4728
5374
|
onChangeText
|
|
4729
5375
|
} = _ref,
|
|
4730
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
5376
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$o);
|
|
4731
5377
|
var isWithLabel = !!(isFocused && label);
|
|
4732
5378
|
var handleHover = () => setIsHovered(!isHovered);
|
|
4733
5379
|
var handleFocus = () => setIsFocused(true);
|
|
@@ -4815,42 +5461,240 @@ var usePasswordState = props => {
|
|
|
4815
5461
|
}, props, textFieldStates);
|
|
4816
5462
|
};
|
|
4817
5463
|
|
|
4818
|
-
var _excluded$
|
|
4819
|
-
_excluded2$
|
|
4820
|
-
var PasswordComponent = _ref => {
|
|
5464
|
+
var _excluded$p = ["visibleIcon", "hiddenIcon"],
|
|
5465
|
+
_excluded2$5 = ["isVisible", "setIsVisible"];
|
|
5466
|
+
var PasswordComponent = _ref => {
|
|
5467
|
+
var {
|
|
5468
|
+
visibleIcon = /*#__PURE__*/React__default.createElement(OpenEyeIcon, {
|
|
5469
|
+
size: 14
|
|
5470
|
+
}),
|
|
5471
|
+
hiddenIcon = /*#__PURE__*/React__default.createElement(CloseEyeIcon, {
|
|
5472
|
+
size: 14
|
|
5473
|
+
})
|
|
5474
|
+
} = _ref,
|
|
5475
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$p);
|
|
5476
|
+
var _usePasswordState = usePasswordState(props),
|
|
5477
|
+
{
|
|
5478
|
+
isVisible,
|
|
5479
|
+
setIsVisible
|
|
5480
|
+
} = _usePasswordState,
|
|
5481
|
+
passwordProps = _objectWithoutPropertiesLoose(_usePasswordState, _excluded2$5);
|
|
5482
|
+
return /*#__PURE__*/React__default.createElement(TextFieldView, Object.assign({}, passwordProps, {
|
|
5483
|
+
type: isVisible ? 'text' : 'password',
|
|
5484
|
+
isClearable: false,
|
|
5485
|
+
rightChild: /*#__PURE__*/React__default.createElement(appStudio.View, {
|
|
5486
|
+
onClick: () => {
|
|
5487
|
+
if (!props.isDisabled) {
|
|
5488
|
+
setIsVisible(!isVisible);
|
|
5489
|
+
}
|
|
5490
|
+
}
|
|
5491
|
+
}, isVisible ? visibleIcon : hiddenIcon)
|
|
5492
|
+
}));
|
|
5493
|
+
};
|
|
5494
|
+
/**
|
|
5495
|
+
* To allow users to securely enter sensitive information
|
|
5496
|
+
*/
|
|
5497
|
+
var Password = PasswordComponent;
|
|
5498
|
+
|
|
5499
|
+
// Defines the useComboBoxState hook with parameters for the list of items and optional placeholder texts.
|
|
5500
|
+
var useComboBoxState = (items, placeholder, searchPlaceholder) => {
|
|
5501
|
+
// State hook for filtered items with initial state set to the items passed to the hook.
|
|
5502
|
+
var [filteredItems, setFilteredItems] = React.useState(items);
|
|
5503
|
+
// State hook to track the selected item with an initial state based on the placeholder or the first item.
|
|
5504
|
+
var [selectedItem, setSelectedItem] = React.useState(placeholder ? {
|
|
5505
|
+
value: placeholder,
|
|
5506
|
+
label: placeholder
|
|
5507
|
+
} : items[0]);
|
|
5508
|
+
// State hook for highlighted index in the dropdown list, initialized to 0.
|
|
5509
|
+
var [highlightedIndex, setHighlightedIndex] = React.useState(0);
|
|
5510
|
+
// State hook for search query with an initial state based on the searchPlaceholder or empty string.
|
|
5511
|
+
var [searchQuery, setSearchQuery] = React.useState(searchPlaceholder != null ? searchPlaceholder : '');
|
|
5512
|
+
// State hook to manage dropdown visibility, starts as false (hidden).
|
|
5513
|
+
var [isDropdownVisible, setIsDropdownVisible] = React.useState(false);
|
|
5514
|
+
// Start of object returned by the useComboBoxState hook containing all state and state updater functions.
|
|
5515
|
+
return {
|
|
5516
|
+
filteredItems,
|
|
5517
|
+
setFilteredItems,
|
|
5518
|
+
selectedItem,
|
|
5519
|
+
setSelectedItem,
|
|
5520
|
+
highlightedIndex,
|
|
5521
|
+
setHighlightedIndex,
|
|
5522
|
+
searchQuery,
|
|
5523
|
+
setSearchQuery,
|
|
5524
|
+
isDropdownVisible,
|
|
5525
|
+
setIsDropdownVisible
|
|
5526
|
+
};
|
|
5527
|
+
};
|
|
5528
|
+
|
|
5529
|
+
var _excluded$q = ["placeholder", "items", "showTick", "onSelect", "searchEnabled", "left", "right", "label", "filteredItems", "setSelectedItem", "selectedItem", "highlightedIndex", "setHighlightedIndex", "searchQuery", "setSearchQuery", "setFilteredItems", "styles", "isDropdownVisible", "setIsDropdownVisible"];
|
|
5530
|
+
// Defines the functional component 'ComboBoxView' with destructured props.
|
|
5531
|
+
var ComboBoxView = _ref => {
|
|
5532
|
+
var {
|
|
5533
|
+
placeholder,
|
|
5534
|
+
items,
|
|
5535
|
+
showTick = true,
|
|
5536
|
+
onSelect,
|
|
5537
|
+
searchEnabled = true,
|
|
5538
|
+
left,
|
|
5539
|
+
right,
|
|
5540
|
+
label,
|
|
5541
|
+
filteredItems,
|
|
5542
|
+
setSelectedItem,
|
|
5543
|
+
selectedItem,
|
|
5544
|
+
highlightedIndex,
|
|
5545
|
+
setHighlightedIndex,
|
|
5546
|
+
searchQuery,
|
|
5547
|
+
setSearchQuery,
|
|
5548
|
+
setFilteredItems,
|
|
5549
|
+
styles,
|
|
5550
|
+
isDropdownVisible,
|
|
5551
|
+
setIsDropdownVisible
|
|
5552
|
+
// Collects all further props not destructured explicitly.
|
|
5553
|
+
} = _ref,
|
|
5554
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$q);
|
|
5555
|
+
// Sets up an effect to handle clicking outside the dropdown to close it.
|
|
5556
|
+
React.useEffect(() => {
|
|
5557
|
+
var handleClickOutside = event => {
|
|
5558
|
+
var path = event.composedPath();
|
|
5559
|
+
var isOutside = !path.some(element => (element == null ? void 0 : element.id) === 'combobox-dropdown');
|
|
5560
|
+
if (isOutside) {
|
|
5561
|
+
setIsDropdownVisible(false);
|
|
5562
|
+
}
|
|
5563
|
+
};
|
|
5564
|
+
document.addEventListener('mousedown', handleClickOutside);
|
|
5565
|
+
return () => document.removeEventListener('mousedown', handleClickOutside);
|
|
5566
|
+
}, []);
|
|
5567
|
+
// Defines 'handleSearch' to filter items based on the user's query.
|
|
5568
|
+
var handleSearch = query => {
|
|
5569
|
+
setSearchQuery(query);
|
|
5570
|
+
if (query === '') {
|
|
5571
|
+
setFilteredItems(items);
|
|
5572
|
+
} else {
|
|
5573
|
+
var filtered = items.filter(item => item.label.toLowerCase().includes(query.toLowerCase()));
|
|
5574
|
+
setFilteredItems(filtered);
|
|
5575
|
+
}
|
|
5576
|
+
setHighlightedIndex(0);
|
|
5577
|
+
};
|
|
5578
|
+
// Defines 'handleSelect' to handle item selection and close the dropdown.
|
|
5579
|
+
var handleSelect = item => {
|
|
5580
|
+
setSelectedItem(item);
|
|
5581
|
+
onSelect == null || onSelect(item);
|
|
5582
|
+
setIsDropdownVisible(false);
|
|
5583
|
+
};
|
|
5584
|
+
// Starts the JSX returned by the component representing the combobox.
|
|
5585
|
+
return /*#__PURE__*/React__default.createElement(Horizontal, Object.assign({
|
|
5586
|
+
role: "combobox",
|
|
5587
|
+
flexWrap: "nowrap",
|
|
5588
|
+
gap: 15,
|
|
5589
|
+
alignItems: "center",
|
|
5590
|
+
width: "100%"
|
|
5591
|
+
}, props), label && (/*#__PURE__*/React__default.createElement(Text, {
|
|
5592
|
+
styles: styles == null ? void 0 : styles.label,
|
|
5593
|
+
htmlFor: props.id
|
|
5594
|
+
}, label)), /*#__PURE__*/React__default.createElement(View, {
|
|
5595
|
+
position: "relative"
|
|
5596
|
+
}, /*#__PURE__*/React__default.createElement(Horizontal, Object.assign({
|
|
5597
|
+
cursor: "pointer",
|
|
5598
|
+
backgroundColor: "white",
|
|
5599
|
+
boxShadow: "rgba(0, 0, 0, 0.16) 0px 1px 4px",
|
|
5600
|
+
padding: "12px",
|
|
5601
|
+
display: "flex",
|
|
5602
|
+
alignItems: "center",
|
|
5603
|
+
borderRadius: "4px",
|
|
5604
|
+
justifyContent: "space-between",
|
|
5605
|
+
minWidth: 300,
|
|
5606
|
+
flexWrap: "nowrap"
|
|
5607
|
+
}, styles == null ? void 0 : styles.container), /*#__PURE__*/React__default.createElement(Horizontal, Object.assign({
|
|
5608
|
+
gap: 15,
|
|
5609
|
+
alignItems: "center",
|
|
5610
|
+
position: "relative",
|
|
5611
|
+
width: "100%",
|
|
5612
|
+
onClick: () => setIsDropdownVisible(!isDropdownVisible)
|
|
5613
|
+
}, styles == null ? void 0 : styles.labelContainer), left, /*#__PURE__*/React__default.createElement(Text, Object.assign({
|
|
5614
|
+
weight: "medium",
|
|
5615
|
+
flexGrow: 1
|
|
5616
|
+
}, styles == null ? void 0 : styles.label), selectedItem.label)), right, isDropdownVisible && (/*#__PURE__*/React__default.createElement(View, Object.assign({
|
|
5617
|
+
id: "combobox-dropdown",
|
|
5618
|
+
position: "absolute",
|
|
5619
|
+
backgroundColor: "white",
|
|
5620
|
+
boxShadow: "rgba(0, 0 ,0 ,0.16) 0px 1px 4px",
|
|
5621
|
+
width: "100%",
|
|
5622
|
+
overflowY: "auto",
|
|
5623
|
+
zIndex: 10000,
|
|
5624
|
+
bottom: -8,
|
|
5625
|
+
left: 0,
|
|
5626
|
+
transform: "translateY(100%)",
|
|
5627
|
+
marginTop: "4px",
|
|
5628
|
+
borderRadius: "4px"
|
|
5629
|
+
}, styles == null ? void 0 : styles.dropdown), searchEnabled && (/*#__PURE__*/React__default.createElement(TextFieldView, {
|
|
5630
|
+
id: props.id,
|
|
5631
|
+
name: props.name,
|
|
5632
|
+
width: "100%",
|
|
5633
|
+
type: "search",
|
|
5634
|
+
value: searchQuery,
|
|
5635
|
+
onChange: value => handleSearch(value),
|
|
5636
|
+
hint: placeholder,
|
|
5637
|
+
isClearable: false,
|
|
5638
|
+
leftChild: /*#__PURE__*/React__default.createElement(Icon$1.SearchIcon, {
|
|
5639
|
+
size: 12
|
|
5640
|
+
}),
|
|
5641
|
+
styles: {
|
|
5642
|
+
box: Object.assign({
|
|
5643
|
+
width: '100%',
|
|
5644
|
+
padding: '6px 12px',
|
|
5645
|
+
borderBottom: filteredItems.length > 0 ? '1px solid #ccc' : '1px solid transparent'
|
|
5646
|
+
}, styles == null ? void 0 : styles.text)
|
|
5647
|
+
}
|
|
5648
|
+
})), filteredItems.length > 0 && (/*#__PURE__*/React__default.createElement(View, {
|
|
5649
|
+
margin: 0,
|
|
5650
|
+
padding: 4
|
|
5651
|
+
}, filteredItems.map((item, index) => (/*#__PURE__*/React__default.createElement(Horizontal, Object.assign({
|
|
5652
|
+
justifyContent: "space-between",
|
|
5653
|
+
key: item.value,
|
|
5654
|
+
padding: "12px",
|
|
5655
|
+
cursor: "pointer",
|
|
5656
|
+
borderRadius: 4,
|
|
5657
|
+
backgroundColor: index === highlightedIndex ? 'color.gray.100' : 'transparent',
|
|
5658
|
+
onMouseEnter: () => setHighlightedIndex(index),
|
|
5659
|
+
onClick: () => handleSelect(item)
|
|
5660
|
+
}, 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, {
|
|
5661
|
+
size: 20
|
|
5662
|
+
}))))))))))));
|
|
5663
|
+
};
|
|
5664
|
+
|
|
5665
|
+
var _excluded$r = ["id", "name", "items", "placeholder", "searchPlaceholder"];
|
|
5666
|
+
// Defines the ComboBoxComponent functional component with ComboBoxProps
|
|
5667
|
+
var ComboBoxComponent = _ref => {
|
|
4821
5668
|
var {
|
|
4822
|
-
|
|
4823
|
-
|
|
4824
|
-
|
|
4825
|
-
|
|
4826
|
-
|
|
4827
|
-
|
|
5669
|
+
// Destructures 'id' from component props
|
|
5670
|
+
id,
|
|
5671
|
+
// Destructures 'name' from component props
|
|
5672
|
+
name,
|
|
5673
|
+
// Destructures 'items' from component props, used to populate combobox
|
|
5674
|
+
items,
|
|
5675
|
+
// Destructures 'placeholder' from component props, displayed when no item selected
|
|
5676
|
+
placeholder,
|
|
5677
|
+
// Destructures 'searchPlaceholder' from component props, used as the search field placeholder
|
|
5678
|
+
searchPlaceholder
|
|
5679
|
+
// Destructures the rest of the props not explicitly defined
|
|
4828
5680
|
} = _ref,
|
|
4829
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
4830
|
-
|
|
4831
|
-
|
|
4832
|
-
|
|
4833
|
-
|
|
4834
|
-
|
|
4835
|
-
|
|
4836
|
-
|
|
4837
|
-
|
|
4838
|
-
|
|
4839
|
-
|
|
4840
|
-
|
|
4841
|
-
if (!props.isDisabled) {
|
|
4842
|
-
setIsVisible(!isVisible);
|
|
4843
|
-
}
|
|
4844
|
-
}
|
|
4845
|
-
}, isVisible ? visibleIcon : hiddenIcon)
|
|
4846
|
-
}));
|
|
5681
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$r);
|
|
5682
|
+
// Initializes ComboBox state using custom hook with items and placeholders
|
|
5683
|
+
var state = useComboBoxState(items, placeholder, searchPlaceholder);
|
|
5684
|
+
return (
|
|
5685
|
+
/*#__PURE__*/
|
|
5686
|
+
// Render ComboBoxView with passed and state props
|
|
5687
|
+
React__default.createElement(ComboBoxView, Object.assign({
|
|
5688
|
+
id: id,
|
|
5689
|
+
name: name,
|
|
5690
|
+
items: items
|
|
5691
|
+
}, state, props))
|
|
5692
|
+
);
|
|
4847
5693
|
};
|
|
4848
|
-
|
|
4849
|
-
|
|
4850
|
-
*/
|
|
4851
|
-
var Password = PasswordComponent;
|
|
5694
|
+
// Exports the ComboBoxComponent as ComboBox
|
|
5695
|
+
var ComboBox = ComboBoxComponent;
|
|
4852
5696
|
|
|
4853
|
-
var _excluded$
|
|
5697
|
+
var _excluded$s = ["children", "autoFocus", "initFocus", "onChange"];
|
|
4854
5698
|
var FocusContext = /*#__PURE__*/React.createContext({
|
|
4855
5699
|
active: false,
|
|
4856
5700
|
focusNextInput: () => {},
|
|
@@ -4866,7 +5710,7 @@ var FormikForm = _ref => {
|
|
|
4866
5710
|
initFocus,
|
|
4867
5711
|
onChange = () => {}
|
|
4868
5712
|
} = _ref,
|
|
4869
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
5713
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$s);
|
|
4870
5714
|
var formik$1 = formik.useFormikContext();
|
|
4871
5715
|
React.useEffect(() => {
|
|
4872
5716
|
onChange(formik$1.values);
|
|
@@ -4914,7 +5758,7 @@ var FormikForm = _ref => {
|
|
|
4914
5758
|
}, /*#__PURE__*/React__default.createElement(appStudio.Form, Object.assign({}, props), children));
|
|
4915
5759
|
};
|
|
4916
5760
|
|
|
4917
|
-
var _excluded$
|
|
5761
|
+
var _excluded$t = ["name", "type"];
|
|
4918
5762
|
var getInputTypeProps = type => {
|
|
4919
5763
|
switch (type) {
|
|
4920
5764
|
case 'email':
|
|
@@ -4953,7 +5797,7 @@ var useFormikInput = _ref => {
|
|
|
4953
5797
|
name,
|
|
4954
5798
|
type
|
|
4955
5799
|
} = _ref,
|
|
4956
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
5800
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$t);
|
|
4957
5801
|
var focus = useFormFocus();
|
|
4958
5802
|
var {
|
|
4959
5803
|
touched,
|
|
@@ -4997,13 +5841,13 @@ var useFormikInput = _ref => {
|
|
|
4997
5841
|
} : {});
|
|
4998
5842
|
};
|
|
4999
5843
|
|
|
5000
|
-
var _excluded$
|
|
5844
|
+
var _excluded$u = ["value"];
|
|
5001
5845
|
var CheckboxComponent$1 = props => {
|
|
5002
5846
|
var _useFormikInput = useFormikInput(props),
|
|
5003
5847
|
{
|
|
5004
5848
|
value
|
|
5005
5849
|
} = _useFormikInput,
|
|
5006
|
-
formProps = _objectWithoutPropertiesLoose(_useFormikInput, _excluded$
|
|
5850
|
+
formProps = _objectWithoutPropertiesLoose(_useFormikInput, _excluded$u);
|
|
5007
5851
|
formProps.isChecked = value;
|
|
5008
5852
|
var checkboxStates = useCheckboxState(props);
|
|
5009
5853
|
return /*#__PURE__*/React__default.createElement(CheckboxView, Object.assign({}, checkboxStates, formProps));
|
|
@@ -5061,11 +5905,11 @@ var TextAreaComponent$1 = props => {
|
|
|
5061
5905
|
*/
|
|
5062
5906
|
var FormikTextArea = TextAreaComponent$1;
|
|
5063
5907
|
|
|
5064
|
-
var _excluded$
|
|
5908
|
+
var _excluded$v = ["value"];
|
|
5065
5909
|
var TextFieldComponent$1 = props => {
|
|
5066
5910
|
var formProps = useFormikInput(props);
|
|
5067
5911
|
var _useTextFieldState = useTextFieldState(props),
|
|
5068
|
-
textFieldStates = _objectWithoutPropertiesLoose(_useTextFieldState, _excluded$
|
|
5912
|
+
textFieldStates = _objectWithoutPropertiesLoose(_useTextFieldState, _excluded$v);
|
|
5069
5913
|
return /*#__PURE__*/React__default.createElement(TextFieldView, Object.assign({}, textFieldStates, formProps));
|
|
5070
5914
|
};
|
|
5071
5915
|
/**
|
|
@@ -5073,25 +5917,25 @@ var TextFieldComponent$1 = props => {
|
|
|
5073
5917
|
*/
|
|
5074
5918
|
var FormikTextField = TextFieldComponent$1;
|
|
5075
5919
|
|
|
5076
|
-
var _excluded$
|
|
5077
|
-
_excluded2$
|
|
5920
|
+
var _excluded$w = ["visibleIcon", "hiddenIcon"],
|
|
5921
|
+
_excluded2$6 = ["isVisible", "setIsVisible"];
|
|
5078
5922
|
var PasswordComponent$1 = _ref => {
|
|
5079
5923
|
var {
|
|
5080
|
-
visibleIcon = /*#__PURE__*/React__default.createElement(
|
|
5924
|
+
visibleIcon = /*#__PURE__*/React__default.createElement(OpenEyeIcon, {
|
|
5081
5925
|
size: 14
|
|
5082
5926
|
}),
|
|
5083
|
-
hiddenIcon = /*#__PURE__*/React__default.createElement(
|
|
5927
|
+
hiddenIcon = /*#__PURE__*/React__default.createElement(CloseEyeIcon, {
|
|
5084
5928
|
size: 14
|
|
5085
5929
|
})
|
|
5086
5930
|
} = _ref,
|
|
5087
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
5931
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$w);
|
|
5088
5932
|
var formProps = useFormikInput(props);
|
|
5089
5933
|
var _usePasswordState = usePasswordState(formProps),
|
|
5090
5934
|
{
|
|
5091
5935
|
isVisible,
|
|
5092
5936
|
setIsVisible
|
|
5093
5937
|
} = _usePasswordState,
|
|
5094
|
-
passwordProps = _objectWithoutPropertiesLoose(_usePasswordState, _excluded2$
|
|
5938
|
+
passwordProps = _objectWithoutPropertiesLoose(_usePasswordState, _excluded2$6);
|
|
5095
5939
|
return /*#__PURE__*/React__default.createElement(TextFieldView, Object.assign({}, passwordProps, {
|
|
5096
5940
|
type: isVisible ? 'text' : 'password',
|
|
5097
5941
|
isClearable: false,
|
|
@@ -5109,245 +5953,14 @@ var PasswordComponent$1 = _ref => {
|
|
|
5109
5953
|
*/
|
|
5110
5954
|
var FormikPassword = PasswordComponent$1;
|
|
5111
5955
|
|
|
5112
|
-
|
|
5113
|
-
var
|
|
5114
|
-
// State hook for filtered items with initial state set to the items passed to the hook.
|
|
5115
|
-
var [filteredItems, setFilteredItems] = React.useState(items);
|
|
5116
|
-
// State hook to track the selected item with an initial state based on the placeholder or the first item.
|
|
5117
|
-
var [selectedItem, setSelectedItem] = React.useState(placeholder ? {
|
|
5118
|
-
value: placeholder,
|
|
5119
|
-
label: placeholder
|
|
5120
|
-
} : items[0]);
|
|
5121
|
-
// State hook for highlighted index in the dropdown list, initialized to 0.
|
|
5122
|
-
var [highlightedIndex, setHighlightedIndex] = React.useState(0);
|
|
5123
|
-
// State hook for search query with an initial state based on the searchPlaceholder or empty string.
|
|
5124
|
-
var [searchQuery, setSearchQuery] = React.useState(searchPlaceholder != null ? searchPlaceholder : '');
|
|
5125
|
-
// State hook to manage dropdown visibility, starts as false (hidden).
|
|
5126
|
-
var [isDropdownVisible, setIsDropdownVisible] = React.useState(false);
|
|
5127
|
-
// Start of object returned by the useComboBoxState hook containing all state and state updater functions.
|
|
5128
|
-
return {
|
|
5129
|
-
filteredItems,
|
|
5130
|
-
setFilteredItems,
|
|
5131
|
-
selectedItem,
|
|
5132
|
-
setSelectedItem,
|
|
5133
|
-
highlightedIndex,
|
|
5134
|
-
setHighlightedIndex,
|
|
5135
|
-
searchQuery,
|
|
5136
|
-
setSearchQuery,
|
|
5137
|
-
isDropdownVisible,
|
|
5138
|
-
setIsDropdownVisible
|
|
5139
|
-
};
|
|
5140
|
-
};
|
|
5141
|
-
|
|
5142
|
-
var _excluded$E = ["size", "color"];
|
|
5143
|
-
var TickSvg = _ref => {
|
|
5144
|
-
var {
|
|
5145
|
-
size = 16,
|
|
5146
|
-
color = '#c0c0c0'
|
|
5147
|
-
} = _ref,
|
|
5148
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$E);
|
|
5149
|
-
return /*#__PURE__*/React__default.createElement(Center, {
|
|
5150
|
-
width: size + "px",
|
|
5151
|
-
height: size + "px"
|
|
5152
|
-
}, /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
5153
|
-
width: size + "px",
|
|
5154
|
-
height: size + "px",
|
|
5155
|
-
viewBox: "0 -0.5 25 25",
|
|
5156
|
-
fill: "none",
|
|
5157
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
5158
|
-
}, props), /*#__PURE__*/React__default.createElement("g", {
|
|
5159
|
-
id: "SVGRepo_bgCarrier",
|
|
5160
|
-
strokeWidth: "0"
|
|
5161
|
-
}), /*#__PURE__*/React__default.createElement("g", {
|
|
5162
|
-
id: "SVGRepo_tracerCarrier",
|
|
5163
|
-
strokeLinecap: "round",
|
|
5164
|
-
strokeLinejoin: "round"
|
|
5165
|
-
}), /*#__PURE__*/React__default.createElement("g", {
|
|
5166
|
-
id: "SVGRepo_iconCarrier"
|
|
5167
|
-
}, ' ', /*#__PURE__*/React__default.createElement("path", {
|
|
5168
|
-
d: "M5.5 12.5L10.167 17L19.5 8",
|
|
5169
|
-
stroke: "#444444",
|
|
5170
|
-
strokeWidth: "1.5",
|
|
5171
|
-
strokeLinecap: "round",
|
|
5172
|
-
strokeLinejoin: "round"
|
|
5173
|
-
}), ' ')));
|
|
5174
|
-
};
|
|
5175
|
-
|
|
5176
|
-
var _excluded$F = ["size", "color"];
|
|
5177
|
-
var SearchLoopSvg = _ref => {
|
|
5178
|
-
var {
|
|
5179
|
-
size = 14,
|
|
5180
|
-
color = '#c0c0c0'
|
|
5181
|
-
} = _ref,
|
|
5182
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$F);
|
|
5183
|
-
return /*#__PURE__*/React__default.createElement(Center, {
|
|
5184
|
-
width: size + "px",
|
|
5185
|
-
height: size + "px"
|
|
5186
|
-
}, /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
5187
|
-
fill: "#c0c0c0",
|
|
5188
|
-
width: size + "px",
|
|
5189
|
-
height: size + "px",
|
|
5190
|
-
version: "1.1",
|
|
5191
|
-
id: "Capa_1",
|
|
5192
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
5193
|
-
viewBox: "0 0 488.4 488.4",
|
|
5194
|
-
stroke: color
|
|
5195
|
-
}, props), /*#__PURE__*/React__default.createElement("g", {
|
|
5196
|
-
id: "SVGRepo_bgCarrier",
|
|
5197
|
-
strokeWidth: "9.279599999999999"
|
|
5198
|
-
}), /*#__PURE__*/React__default.createElement("g", {
|
|
5199
|
-
id: "SVGRepo_tracerCarrier",
|
|
5200
|
-
strokeLinecap: "round",
|
|
5201
|
-
strokeLinejoin: "round"
|
|
5202
|
-
}), /*#__PURE__*/React__default.createElement("g", {
|
|
5203
|
-
id: "SVGRepo_iconCarrier"
|
|
5204
|
-
}, /*#__PURE__*/React__default.createElement("g", null, /*#__PURE__*/React__default.createElement("g", null, /*#__PURE__*/React__default.createElement("path", {
|
|
5205
|
-
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"
|
|
5206
|
-
}), ' ')))));
|
|
5207
|
-
};
|
|
5208
|
-
|
|
5209
|
-
var _excluded$G = ["placeholder", "items", "showTick", "onSelect", "searchEnabled", "left", "right", "label", "filteredItems", "setSelectedItem", "selectedItem", "highlightedIndex", "setHighlightedIndex", "searchQuery", "setSearchQuery", "setFilteredItems", "styles", "isDropdownVisible", "setIsDropdownVisible"];
|
|
5210
|
-
// Defines the functional component 'ComboBoxView' with destructured props.
|
|
5211
|
-
var ComboBoxView = _ref => {
|
|
5212
|
-
var {
|
|
5213
|
-
placeholder,
|
|
5214
|
-
items,
|
|
5215
|
-
showTick = true,
|
|
5216
|
-
onSelect,
|
|
5217
|
-
searchEnabled = true,
|
|
5218
|
-
left,
|
|
5219
|
-
right,
|
|
5220
|
-
label,
|
|
5221
|
-
filteredItems,
|
|
5222
|
-
setSelectedItem,
|
|
5223
|
-
selectedItem,
|
|
5224
|
-
highlightedIndex,
|
|
5225
|
-
setHighlightedIndex,
|
|
5226
|
-
searchQuery,
|
|
5227
|
-
setSearchQuery,
|
|
5228
|
-
setFilteredItems,
|
|
5229
|
-
styles,
|
|
5230
|
-
isDropdownVisible,
|
|
5231
|
-
setIsDropdownVisible
|
|
5232
|
-
// Collects all further props not destructured explicitly.
|
|
5233
|
-
} = _ref,
|
|
5234
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$G);
|
|
5235
|
-
// Sets up an effect to handle clicking outside the dropdown to close it.
|
|
5236
|
-
React.useEffect(() => {
|
|
5237
|
-
var handleClickOutside = event => {
|
|
5238
|
-
var path = event.composedPath();
|
|
5239
|
-
var isOutside = !path.some(element => (element == null ? void 0 : element.id) === 'combobox-dropdown');
|
|
5240
|
-
if (isOutside) {
|
|
5241
|
-
setIsDropdownVisible(false);
|
|
5242
|
-
}
|
|
5243
|
-
};
|
|
5244
|
-
document.addEventListener('mousedown', handleClickOutside);
|
|
5245
|
-
return () => document.removeEventListener('mousedown', handleClickOutside);
|
|
5246
|
-
}, []);
|
|
5247
|
-
// Defines 'handleSearch' to filter items based on the user's query.
|
|
5248
|
-
var handleSearch = query => {
|
|
5249
|
-
setSearchQuery(query);
|
|
5250
|
-
if (query === '') {
|
|
5251
|
-
setFilteredItems(items);
|
|
5252
|
-
} else {
|
|
5253
|
-
var filtered = items.filter(item => item.label.toLowerCase().includes(query.toLowerCase()));
|
|
5254
|
-
setFilteredItems(filtered);
|
|
5255
|
-
}
|
|
5256
|
-
setHighlightedIndex(0);
|
|
5257
|
-
};
|
|
5258
|
-
// Defines 'handleSelect' to handle item selection and close the dropdown.
|
|
5259
|
-
var handleSelect = item => {
|
|
5260
|
-
setSelectedItem(item);
|
|
5261
|
-
onSelect == null || onSelect(item);
|
|
5262
|
-
setIsDropdownVisible(false);
|
|
5263
|
-
};
|
|
5264
|
-
// Starts the JSX returned by the component representing the combobox.
|
|
5265
|
-
return /*#__PURE__*/React__default.createElement(Horizontal, Object.assign({
|
|
5266
|
-
role: "combobox",
|
|
5267
|
-
flexWrap: "nowrap",
|
|
5268
|
-
gap: 15,
|
|
5269
|
-
alignItems: "center",
|
|
5270
|
-
width: "100%"
|
|
5271
|
-
}, props), label && (/*#__PURE__*/React__default.createElement(Text, {
|
|
5272
|
-
styles: styles == null ? void 0 : styles.label,
|
|
5273
|
-
htmlFor: props.id
|
|
5274
|
-
}, label)), /*#__PURE__*/React__default.createElement(View, {
|
|
5275
|
-
position: "relative"
|
|
5276
|
-
}, /*#__PURE__*/React__default.createElement(Horizontal, Object.assign({
|
|
5277
|
-
cursor: "pointer",
|
|
5278
|
-
backgroundColor: "white",
|
|
5279
|
-
boxShadow: "rgba(0, 0, 0, 0.16) 0px 1px 4px",
|
|
5280
|
-
padding: "12px",
|
|
5281
|
-
display: "flex",
|
|
5282
|
-
alignItems: "center",
|
|
5283
|
-
borderRadius: "4px",
|
|
5284
|
-
justifyContent: "space-between",
|
|
5285
|
-
minWidth: 300,
|
|
5286
|
-
flexWrap: "nowrap"
|
|
5287
|
-
}, styles == null ? void 0 : styles.container), /*#__PURE__*/React__default.createElement(Horizontal, Object.assign({
|
|
5288
|
-
gap: 15,
|
|
5289
|
-
alignItems: "center",
|
|
5290
|
-
position: "relative",
|
|
5291
|
-
width: "100%",
|
|
5292
|
-
onClick: () => setIsDropdownVisible(!isDropdownVisible)
|
|
5293
|
-
}, styles == null ? void 0 : styles.labelContainer), left, /*#__PURE__*/React__default.createElement(Text, Object.assign({
|
|
5294
|
-
weight: "medium",
|
|
5295
|
-
flexGrow: 1
|
|
5296
|
-
}, styles == null ? void 0 : styles.label), selectedItem.label)), right, isDropdownVisible && (/*#__PURE__*/React__default.createElement(View, Object.assign({
|
|
5297
|
-
id: "combobox-dropdown",
|
|
5298
|
-
position: "absolute",
|
|
5299
|
-
backgroundColor: "white",
|
|
5300
|
-
boxShadow: "rgba(0, 0 ,0 ,0.16) 0px 1px 4px",
|
|
5301
|
-
width: "100%",
|
|
5302
|
-
overflowY: "auto",
|
|
5303
|
-
zIndex: 10000,
|
|
5304
|
-
bottom: -8,
|
|
5305
|
-
left: 0,
|
|
5306
|
-
transform: "translateY(100%)",
|
|
5307
|
-
marginTop: "4px",
|
|
5308
|
-
borderRadius: "4px"
|
|
5309
|
-
}, styles == null ? void 0 : styles.dropdown), searchEnabled && (/*#__PURE__*/React__default.createElement(TextFieldView, {
|
|
5310
|
-
id: props.id,
|
|
5311
|
-
name: props.name,
|
|
5312
|
-
width: "100%",
|
|
5313
|
-
type: "search",
|
|
5314
|
-
value: searchQuery,
|
|
5315
|
-
onChange: value => handleSearch(value),
|
|
5316
|
-
hint: placeholder,
|
|
5317
|
-
isClearable: false,
|
|
5318
|
-
leftChild: /*#__PURE__*/React__default.createElement(SearchLoopSvg, {
|
|
5319
|
-
size: 12
|
|
5320
|
-
}),
|
|
5321
|
-
styles: {
|
|
5322
|
-
box: Object.assign({
|
|
5323
|
-
width: '100%',
|
|
5324
|
-
padding: '6px 12px',
|
|
5325
|
-
borderBottom: filteredItems.length > 0 ? '1px solid #ccc' : '1px solid transparent'
|
|
5326
|
-
}, styles == null ? void 0 : styles.text)
|
|
5327
|
-
}
|
|
5328
|
-
})), filteredItems.length > 0 && (/*#__PURE__*/React__default.createElement(View, {
|
|
5329
|
-
margin: 0,
|
|
5330
|
-
padding: 4
|
|
5331
|
-
}, filteredItems.map((item, index) => (/*#__PURE__*/React__default.createElement(Horizontal, Object.assign({
|
|
5332
|
-
justifyContent: "space-between",
|
|
5333
|
-
key: item.value,
|
|
5334
|
-
padding: "12px",
|
|
5335
|
-
cursor: "pointer",
|
|
5336
|
-
borderRadius: 4,
|
|
5337
|
-
backgroundColor: index === highlightedIndex ? 'color.gray.100' : 'transparent',
|
|
5338
|
-
onMouseEnter: () => setHighlightedIndex(index),
|
|
5339
|
-
onClick: () => handleSelect(item)
|
|
5340
|
-
}, 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))))))))))));
|
|
5341
|
-
};
|
|
5342
|
-
|
|
5343
|
-
var _excluded$H = ["items", "placeholder", "searchPlaceholder"];
|
|
5344
|
-
var ComboBoxComponent = _ref => {
|
|
5956
|
+
var _excluded$x = ["items", "placeholder", "searchPlaceholder"];
|
|
5957
|
+
var ComboBoxComponent$1 = _ref => {
|
|
5345
5958
|
var {
|
|
5346
5959
|
items,
|
|
5347
5960
|
placeholder,
|
|
5348
5961
|
searchPlaceholder
|
|
5349
5962
|
} = _ref,
|
|
5350
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
5963
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$x);
|
|
5351
5964
|
var formProps = useFormikInput(props);
|
|
5352
5965
|
var ComboBoxStates = useComboBoxState(items, placeholder, searchPlaceholder);
|
|
5353
5966
|
// Ensure the onChange function from formProps is being called when an item is selected
|
|
@@ -5361,7 +5974,7 @@ var ComboBoxComponent = _ref => {
|
|
|
5361
5974
|
/**
|
|
5362
5975
|
* ComboBox allows users to select one or more options from a list of choices.
|
|
5363
5976
|
*/
|
|
5364
|
-
var FormikComboBox = ComboBoxComponent;
|
|
5977
|
+
var FormikComboBox = ComboBoxComponent$1;
|
|
5365
5978
|
|
|
5366
5979
|
// Create your store with the initial state and actions.
|
|
5367
5980
|
var useMessageStore = /*#__PURE__*/zustand.create(set => ({
|
|
@@ -5415,14 +6028,14 @@ var Themes$1 = {
|
|
|
5415
6028
|
},
|
|
5416
6029
|
icon: {
|
|
5417
6030
|
color: 'color.blue.500',
|
|
5418
|
-
name: '
|
|
6031
|
+
name: 'InformationIcon'
|
|
5419
6032
|
},
|
|
5420
6033
|
content: {
|
|
5421
6034
|
color: 'color.blue.500'
|
|
5422
6035
|
},
|
|
5423
6036
|
close: {
|
|
5424
6037
|
color: 'color.blue.500',
|
|
5425
|
-
name: '
|
|
6038
|
+
name: 'CloseIcon'
|
|
5426
6039
|
}
|
|
5427
6040
|
},
|
|
5428
6041
|
success: {
|
|
@@ -5432,14 +6045,14 @@ var Themes$1 = {
|
|
|
5432
6045
|
},
|
|
5433
6046
|
icon: {
|
|
5434
6047
|
color: 'color.green.500',
|
|
5435
|
-
name: '
|
|
6048
|
+
name: 'CheckCircleIcon'
|
|
5436
6049
|
},
|
|
5437
6050
|
content: {
|
|
5438
6051
|
color: 'color.green.500'
|
|
5439
6052
|
},
|
|
5440
6053
|
close: {
|
|
5441
6054
|
color: 'color.green.500',
|
|
5442
|
-
name: '
|
|
6055
|
+
name: 'CloseIcon'
|
|
5443
6056
|
}
|
|
5444
6057
|
},
|
|
5445
6058
|
error: {
|
|
@@ -5449,14 +6062,14 @@ var Themes$1 = {
|
|
|
5449
6062
|
},
|
|
5450
6063
|
icon: {
|
|
5451
6064
|
color: 'color.red.500',
|
|
5452
|
-
name: '
|
|
6065
|
+
name: 'ErrrorIcon'
|
|
5453
6066
|
},
|
|
5454
6067
|
content: {
|
|
5455
6068
|
color: 'color.red.500'
|
|
5456
6069
|
},
|
|
5457
6070
|
close: {
|
|
5458
6071
|
color: 'color.red.500',
|
|
5459
|
-
name: '
|
|
6072
|
+
name: 'CloseIcon'
|
|
5460
6073
|
}
|
|
5461
6074
|
},
|
|
5462
6075
|
warning: {
|
|
@@ -5466,14 +6079,14 @@ var Themes$1 = {
|
|
|
5466
6079
|
},
|
|
5467
6080
|
icon: {
|
|
5468
6081
|
color: 'color.orange.500',
|
|
5469
|
-
name: '
|
|
6082
|
+
name: 'ErrrorIcon'
|
|
5470
6083
|
},
|
|
5471
6084
|
content: {
|
|
5472
6085
|
color: 'color.orange.500'
|
|
5473
6086
|
},
|
|
5474
6087
|
close: {
|
|
5475
6088
|
color: 'color.orange.500',
|
|
5476
|
-
name: '
|
|
6089
|
+
name: 'CloseIcon'
|
|
5477
6090
|
}
|
|
5478
6091
|
}
|
|
5479
6092
|
};
|
|
@@ -5520,19 +6133,19 @@ var MessageView = _ref => {
|
|
|
5520
6133
|
error: '#ef4444'
|
|
5521
6134
|
}[variant];
|
|
5522
6135
|
var iconComponent = {
|
|
5523
|
-
info: /*#__PURE__*/React__default.createElement(
|
|
6136
|
+
info: /*#__PURE__*/React__default.createElement(InfoIcon, Object.assign({
|
|
5524
6137
|
size: 24,
|
|
5525
6138
|
color: iconColor
|
|
5526
6139
|
}, styles == null ? void 0 : styles.icon)),
|
|
5527
|
-
success: /*#__PURE__*/React__default.createElement(
|
|
6140
|
+
success: /*#__PURE__*/React__default.createElement(SuccessIcon, Object.assign({
|
|
5528
6141
|
size: 24,
|
|
5529
6142
|
color: iconColor
|
|
5530
6143
|
}, styles == null ? void 0 : styles.icon)),
|
|
5531
|
-
warning: /*#__PURE__*/React__default.createElement(
|
|
6144
|
+
warning: /*#__PURE__*/React__default.createElement(WarningIcon, Object.assign({
|
|
5532
6145
|
size: 24,
|
|
5533
6146
|
color: iconColor
|
|
5534
6147
|
}, styles == null ? void 0 : styles.icon)),
|
|
5535
|
-
error: /*#__PURE__*/React__default.createElement(
|
|
6148
|
+
error: /*#__PURE__*/React__default.createElement(ErrorIcon, Object.assign({
|
|
5536
6149
|
size: 24,
|
|
5537
6150
|
color: iconColor
|
|
5538
6151
|
}, styles == null ? void 0 : styles.icon))
|
|
@@ -5573,7 +6186,7 @@ var MessageView = _ref => {
|
|
|
5573
6186
|
onClick: () => {
|
|
5574
6187
|
hide();
|
|
5575
6188
|
}
|
|
5576
|
-
}, styles == null || (_styles$closingIcon = styles.closingIcon) == null ? void 0 : _styles$closingIcon.container), /*#__PURE__*/React__default.createElement(
|
|
6189
|
+
}, styles == null || (_styles$closingIcon = styles.closingIcon) == null ? void 0 : _styles$closingIcon.container), /*#__PURE__*/React__default.createElement(CloseIcon, Object.assign({
|
|
5577
6190
|
size: 18,
|
|
5578
6191
|
color: iconColor
|
|
5579
6192
|
}, styles == null || (_styles$closingIcon2 = styles.closingIcon) == null ? void 0 : _styles$closingIcon2.icon)))));
|
|
@@ -5716,11 +6329,11 @@ var HeaderIconSizes = {
|
|
|
5716
6329
|
xl: 28
|
|
5717
6330
|
};
|
|
5718
6331
|
|
|
5719
|
-
var _excluded$
|
|
5720
|
-
_excluded2$
|
|
5721
|
-
_excluded3$
|
|
5722
|
-
_excluded4$
|
|
5723
|
-
_excluded5 = ["children"];
|
|
6332
|
+
var _excluded$y = ["children", "blur", "isOpen", "isClosePrevented", "onClose", "position"],
|
|
6333
|
+
_excluded2$7 = ["children", "shadow", "isFullScreen", "shape"],
|
|
6334
|
+
_excluded3$4 = ["children", "buttonColor", "iconSize", "buttonPosition"],
|
|
6335
|
+
_excluded4$3 = ["children"],
|
|
6336
|
+
_excluded5$1 = ["children"];
|
|
5724
6337
|
var ModalOverlay = _ref => {
|
|
5725
6338
|
var {
|
|
5726
6339
|
children,
|
|
@@ -5730,7 +6343,7 @@ var ModalOverlay = _ref => {
|
|
|
5730
6343
|
onClose = () => {},
|
|
5731
6344
|
position = 'center'
|
|
5732
6345
|
} = _ref,
|
|
5733
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
6346
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$y);
|
|
5734
6347
|
var handleClick = () => {
|
|
5735
6348
|
if (!isClosePrevented) onClose();
|
|
5736
6349
|
};
|
|
@@ -5763,7 +6376,7 @@ var ModalContainer = _ref2 => {
|
|
|
5763
6376
|
isFullScreen = false,
|
|
5764
6377
|
shape = 'rounded'
|
|
5765
6378
|
} = _ref2,
|
|
5766
|
-
props = _objectWithoutPropertiesLoose(_ref2, _excluded2$
|
|
6379
|
+
props = _objectWithoutPropertiesLoose(_ref2, _excluded2$7);
|
|
5767
6380
|
var defaultShadow = typeof document !== undefined ? {
|
|
5768
6381
|
boxShadow: '0px 2px 8px rgba(0, 0, 0, 0.3)'
|
|
5769
6382
|
} : {
|
|
@@ -5794,12 +6407,12 @@ var ModalHeader = _ref3 => {
|
|
|
5794
6407
|
iconSize = 'md',
|
|
5795
6408
|
buttonPosition = 'right'
|
|
5796
6409
|
} = _ref3,
|
|
5797
|
-
props = _objectWithoutPropertiesLoose(_ref3, _excluded3$
|
|
6410
|
+
props = _objectWithoutPropertiesLoose(_ref3, _excluded3$4);
|
|
5798
6411
|
var onClose = props.onClose ? props.onClose : hideModal;
|
|
5799
6412
|
var buttonIcon = /*#__PURE__*/React__default.createElement(Button, {
|
|
5800
6413
|
onClick: onClose,
|
|
5801
6414
|
colorScheme: "transparent",
|
|
5802
|
-
icon: /*#__PURE__*/React__default.createElement(
|
|
6415
|
+
icon: /*#__PURE__*/React__default.createElement(CloseIcon, {
|
|
5803
6416
|
size: HeaderIconSizes[iconSize],
|
|
5804
6417
|
color: buttonColor
|
|
5805
6418
|
}),
|
|
@@ -5819,7 +6432,7 @@ var ModalBody = _ref4 => {
|
|
|
5819
6432
|
var {
|
|
5820
6433
|
children
|
|
5821
6434
|
} = _ref4,
|
|
5822
|
-
props = _objectWithoutPropertiesLoose(_ref4, _excluded4$
|
|
6435
|
+
props = _objectWithoutPropertiesLoose(_ref4, _excluded4$3);
|
|
5823
6436
|
var defaultBorder = {
|
|
5824
6437
|
borderBottomWidth: 2,
|
|
5825
6438
|
borderTopWidth: 2,
|
|
@@ -5835,7 +6448,7 @@ var ModalFooter = _ref5 => {
|
|
|
5835
6448
|
var {
|
|
5836
6449
|
children
|
|
5837
6450
|
} = _ref5,
|
|
5838
|
-
props = _objectWithoutPropertiesLoose(_ref5, _excluded5);
|
|
6451
|
+
props = _objectWithoutPropertiesLoose(_ref5, _excluded5$1);
|
|
5839
6452
|
return /*#__PURE__*/React__default.createElement(Horizontal, Object.assign({
|
|
5840
6453
|
marginTop: "auto",
|
|
5841
6454
|
alignItems: "center",
|
|
@@ -6054,7 +6667,7 @@ var TabsView = props => {
|
|
|
6054
6667
|
// Returns a boolean indicating if the given tab is identical to the first tab in 'tabsState'.
|
|
6055
6668
|
return tab.value === tabsState[0].value;
|
|
6056
6669
|
};
|
|
6057
|
-
return /*#__PURE__*/React__default.createElement(
|
|
6670
|
+
return /*#__PURE__*/React__default.createElement(Layout.Vertical, Object.assign({
|
|
6058
6671
|
width: "100w",
|
|
6059
6672
|
height: '100%'
|
|
6060
6673
|
}, styles == null ? void 0 : styles.container), /*#__PURE__*/React__default.createElement(Horizontal, Object.assign({
|
|
@@ -6119,7 +6732,7 @@ var ToggleShapes = {
|
|
|
6119
6732
|
pillShaped: 24
|
|
6120
6733
|
};
|
|
6121
6734
|
|
|
6122
|
-
var _excluded$
|
|
6735
|
+
var _excluded$z = ["children", "shape", "colorScheme", "variant", "isHovered", "setIsHovered", "isDisabled", "isToggle", "setIsToggled", "onToggle"];
|
|
6123
6736
|
var ToggleView = _ref => {
|
|
6124
6737
|
var {
|
|
6125
6738
|
children,
|
|
@@ -6133,7 +6746,7 @@ var ToggleView = _ref => {
|
|
|
6133
6746
|
setIsToggled,
|
|
6134
6747
|
onToggle
|
|
6135
6748
|
} = _ref,
|
|
6136
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
6749
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$z);
|
|
6137
6750
|
var toggleColor = !isDisabled ? colorScheme : 'theme.disabled';
|
|
6138
6751
|
var isActive = !!(isToggle || isHovered);
|
|
6139
6752
|
var ToggleVariants = {
|
|
@@ -6175,7 +6788,7 @@ var ToggleView = _ref => {
|
|
|
6175
6788
|
}, ToggleVariants[variant], props), children);
|
|
6176
6789
|
};
|
|
6177
6790
|
|
|
6178
|
-
var _excluded$
|
|
6791
|
+
var _excluded$A = ["children", "shape", "colorScheme", "variant", "isDisabled", "isToggled", "onToggle"];
|
|
6179
6792
|
// Destructuring properties from ToggleProps to be used within the ToggleComponent.
|
|
6180
6793
|
var ToggleComponent = _ref => {
|
|
6181
6794
|
var {
|
|
@@ -6188,7 +6801,7 @@ var ToggleComponent = _ref => {
|
|
|
6188
6801
|
isToggled = false,
|
|
6189
6802
|
onToggle
|
|
6190
6803
|
} = _ref,
|
|
6191
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
6804
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$A);
|
|
6192
6805
|
// Initializing toggle state and set state functions using the custom hook useToggleState.
|
|
6193
6806
|
var {
|
|
6194
6807
|
isHovered,
|
|
@@ -6311,6 +6924,7 @@ exports.Bottom = Bottom;
|
|
|
6311
6924
|
exports.Button = Button;
|
|
6312
6925
|
exports.Center = Center;
|
|
6313
6926
|
exports.Checkbox = Checkbox;
|
|
6927
|
+
exports.ComboBox = ComboBox;
|
|
6314
6928
|
exports.CountryPicker = CountryPicker;
|
|
6315
6929
|
exports.DatePicker = DatePicker;
|
|
6316
6930
|
exports.FileImage = FileImage;
|
|
@@ -6326,6 +6940,7 @@ exports.FormikSwitch = FormikSwitch;
|
|
|
6326
6940
|
exports.FormikTextArea = FormikTextArea;
|
|
6327
6941
|
exports.FormikTextField = FormikTextField;
|
|
6328
6942
|
exports.Horizontal = Horizontal;
|
|
6943
|
+
exports.Icon = Icon;
|
|
6329
6944
|
exports.Inline = Inline;
|
|
6330
6945
|
exports.Left = Left;
|
|
6331
6946
|
exports.Link = Link;
|