@northlight/ui 2.32.4 → 2.33.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/es/northlight.d.ts +20 -3
- package/dist/es/northlight.js +547 -460
- package/dist/es/northlight.js.map +1 -1
- package/dist/umd/northlight.cjs +545 -457
- package/dist/umd/northlight.cjs.map +1 -1
- package/dist/umd/northlight.min.cjs +3 -3
- package/dist/umd/northlight.min.cjs.map +1 -1
- package/package.json +2 -2
package/dist/umd/northlight.cjs
CHANGED
|
@@ -4,6 +4,24 @@
|
|
|
4
4
|
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.northlight = {}, global.react, global.React, global.chakraReactSelect, global.ramda, global.focus, global.reactHookForm, global.system, global.tokens, global.icons, global.joi, global.checkbox$1, global.radio$1, global.utils, global.radio, global.checkbox, global.themeTools, global.datepicker, global.datepicker$1, global.date, global.button, global.i18n, global.calendar$1, global.calendar, global.reactRouterDom, global.clickable, global.framerMotion, global.core, global.utilities, global.sortable, global.modifiers, global.reactWindow, global.AutoSizer, global.AvatarEditor, global.reactNumberFormat, global.InputMask, global.yafu));
|
|
5
5
|
})(this, (function (exports, react, React, chakraReactSelect, ramda, focus, reactHookForm, system, tokens, icons, joi, checkbox$1, radio$1, utils, radio, checkbox, themeTools, datepicker, datepicker$1, date, button, i18n, calendar$1, calendar, reactRouterDom, clickable, framerMotion, core, utilities, sortable, modifiers, reactWindow, AutoSizer, AvatarEditor, reactNumberFormat, InputMask, yafu) { 'use strict';
|
|
6
6
|
|
|
7
|
+
var __defProp$2s = Object.defineProperty;
|
|
8
|
+
var __getOwnPropSymbols$2s = Object.getOwnPropertySymbols;
|
|
9
|
+
var __hasOwnProp$2s = Object.prototype.hasOwnProperty;
|
|
10
|
+
var __propIsEnum$2s = Object.prototype.propertyIsEnumerable;
|
|
11
|
+
var __defNormalProp$2s = (obj, key, value) => key in obj ? __defProp$2s(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
12
|
+
var __spreadValues$2s = (a, b) => {
|
|
13
|
+
for (var prop in b || (b = {}))
|
|
14
|
+
if (__hasOwnProp$2s.call(b, prop))
|
|
15
|
+
__defNormalProp$2s(a, prop, b[prop]);
|
|
16
|
+
if (__getOwnPropSymbols$2s)
|
|
17
|
+
for (var prop of __getOwnPropSymbols$2s(b)) {
|
|
18
|
+
if (__propIsEnum$2s.call(b, prop))
|
|
19
|
+
__defNormalProp$2s(a, prop, b[prop]);
|
|
20
|
+
}
|
|
21
|
+
return a;
|
|
22
|
+
};
|
|
23
|
+
const Accordion = (props) => /* @__PURE__ */ React.createElement(react.Accordion, __spreadValues$2s({}, props));
|
|
24
|
+
|
|
7
25
|
var __defProp$2r = Object.defineProperty;
|
|
8
26
|
var __getOwnPropSymbols$2r = Object.getOwnPropertySymbols;
|
|
9
27
|
var __hasOwnProp$2r = Object.prototype.hasOwnProperty;
|
|
@@ -20,7 +38,7 @@
|
|
|
20
38
|
}
|
|
21
39
|
return a;
|
|
22
40
|
};
|
|
23
|
-
const
|
|
41
|
+
const AccordionButton = (props) => /* @__PURE__ */ React.createElement(react.AccordionButton, __spreadValues$2r({}, props));
|
|
24
42
|
|
|
25
43
|
var __defProp$2q = Object.defineProperty;
|
|
26
44
|
var __getOwnPropSymbols$2q = Object.getOwnPropertySymbols;
|
|
@@ -38,7 +56,7 @@
|
|
|
38
56
|
}
|
|
39
57
|
return a;
|
|
40
58
|
};
|
|
41
|
-
const
|
|
59
|
+
const AccordionPanel = (props) => /* @__PURE__ */ React.createElement(react.AccordionPanel, __spreadValues$2q({}, props));
|
|
42
60
|
|
|
43
61
|
var __defProp$2p = Object.defineProperty;
|
|
44
62
|
var __getOwnPropSymbols$2p = Object.getOwnPropertySymbols;
|
|
@@ -56,25 +74,7 @@
|
|
|
56
74
|
}
|
|
57
75
|
return a;
|
|
58
76
|
};
|
|
59
|
-
const
|
|
60
|
-
|
|
61
|
-
var __defProp$2o = Object.defineProperty;
|
|
62
|
-
var __getOwnPropSymbols$2o = Object.getOwnPropertySymbols;
|
|
63
|
-
var __hasOwnProp$2o = Object.prototype.hasOwnProperty;
|
|
64
|
-
var __propIsEnum$2o = Object.prototype.propertyIsEnumerable;
|
|
65
|
-
var __defNormalProp$2o = (obj, key, value) => key in obj ? __defProp$2o(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
66
|
-
var __spreadValues$2o = (a, b) => {
|
|
67
|
-
for (var prop in b || (b = {}))
|
|
68
|
-
if (__hasOwnProp$2o.call(b, prop))
|
|
69
|
-
__defNormalProp$2o(a, prop, b[prop]);
|
|
70
|
-
if (__getOwnPropSymbols$2o)
|
|
71
|
-
for (var prop of __getOwnPropSymbols$2o(b)) {
|
|
72
|
-
if (__propIsEnum$2o.call(b, prop))
|
|
73
|
-
__defNormalProp$2o(a, prop, b[prop]);
|
|
74
|
-
}
|
|
75
|
-
return a;
|
|
76
|
-
};
|
|
77
|
-
const AccordionItem = (props) => /* @__PURE__ */ React.createElement(react.AccordionItem, __spreadValues$2o({}, props));
|
|
77
|
+
const AccordionItem = (props) => /* @__PURE__ */ React.createElement(react.AccordionItem, __spreadValues$2p({}, props));
|
|
78
78
|
|
|
79
79
|
const useDebounce = (value, delay) => {
|
|
80
80
|
const [debouncedValue, setDebouncedValue] = React.useState(value);
|
|
@@ -393,6 +393,24 @@
|
|
|
393
393
|
return fieldError;
|
|
394
394
|
}
|
|
395
395
|
|
|
396
|
+
var __defProp$2o = Object.defineProperty;
|
|
397
|
+
var __getOwnPropSymbols$2o = Object.getOwnPropertySymbols;
|
|
398
|
+
var __hasOwnProp$2o = Object.prototype.hasOwnProperty;
|
|
399
|
+
var __propIsEnum$2o = Object.prototype.propertyIsEnumerable;
|
|
400
|
+
var __defNormalProp$2o = (obj, key, value) => key in obj ? __defProp$2o(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
401
|
+
var __spreadValues$2o = (a, b) => {
|
|
402
|
+
for (var prop in b || (b = {}))
|
|
403
|
+
if (__hasOwnProp$2o.call(b, prop))
|
|
404
|
+
__defNormalProp$2o(a, prop, b[prop]);
|
|
405
|
+
if (__getOwnPropSymbols$2o)
|
|
406
|
+
for (var prop of __getOwnPropSymbols$2o(b)) {
|
|
407
|
+
if (__propIsEnum$2o.call(b, prop))
|
|
408
|
+
__defNormalProp$2o(a, prop, b[prop]);
|
|
409
|
+
}
|
|
410
|
+
return a;
|
|
411
|
+
};
|
|
412
|
+
const passPropsToChild = (child, styles) => React.isValidElement(child) ? React.cloneElement(child, __spreadValues$2o({}, styles)) : child;
|
|
413
|
+
|
|
396
414
|
var __defProp$2n = Object.defineProperty;
|
|
397
415
|
var __getOwnPropSymbols$2n = Object.getOwnPropertySymbols;
|
|
398
416
|
var __hasOwnProp$2n = Object.prototype.hasOwnProperty;
|
|
@@ -409,27 +427,9 @@
|
|
|
409
427
|
}
|
|
410
428
|
return a;
|
|
411
429
|
};
|
|
412
|
-
const passPropsToChild = (child, styles) => React.isValidElement(child) ? React.cloneElement(child, __spreadValues$2n({}, styles)) : child;
|
|
413
|
-
|
|
414
|
-
var __defProp$2m = Object.defineProperty;
|
|
415
|
-
var __getOwnPropSymbols$2m = Object.getOwnPropertySymbols;
|
|
416
|
-
var __hasOwnProp$2m = Object.prototype.hasOwnProperty;
|
|
417
|
-
var __propIsEnum$2m = Object.prototype.propertyIsEnumerable;
|
|
418
|
-
var __defNormalProp$2m = (obj, key, value) => key in obj ? __defProp$2m(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
419
|
-
var __spreadValues$2m = (a, b) => {
|
|
420
|
-
for (var prop in b || (b = {}))
|
|
421
|
-
if (__hasOwnProp$2m.call(b, prop))
|
|
422
|
-
__defNormalProp$2m(a, prop, b[prop]);
|
|
423
|
-
if (__getOwnPropSymbols$2m)
|
|
424
|
-
for (var prop of __getOwnPropSymbols$2m(b)) {
|
|
425
|
-
if (__propIsEnum$2m.call(b, prop))
|
|
426
|
-
__defNormalProp$2m(a, prop, b[prop]);
|
|
427
|
-
}
|
|
428
|
-
return a;
|
|
429
|
-
};
|
|
430
430
|
const getChildrenWithProps = (children, styles, predicate = ramda.T) => {
|
|
431
431
|
const childrenAsArr = React.Children.toArray(children);
|
|
432
|
-
const childrenWithoutFocus = childrenAsArr.map((child, i) => predicate(child, i) ? passPropsToChild(child, __spreadValues$
|
|
432
|
+
const childrenWithoutFocus = childrenAsArr.map((child, i) => predicate(child, i) ? passPropsToChild(child, __spreadValues$2n({}, styles)) : child);
|
|
433
433
|
return childrenWithoutFocus;
|
|
434
434
|
};
|
|
435
435
|
|
|
@@ -503,80 +503,80 @@
|
|
|
503
503
|
};
|
|
504
504
|
};
|
|
505
505
|
|
|
506
|
-
var __defProp$
|
|
506
|
+
var __defProp$2m = Object.defineProperty;
|
|
507
507
|
var __defProps$x = Object.defineProperties;
|
|
508
508
|
var __getOwnPropDescs$x = Object.getOwnPropertyDescriptors;
|
|
509
|
-
var __getOwnPropSymbols$
|
|
510
|
-
var __hasOwnProp$
|
|
511
|
-
var __propIsEnum$
|
|
512
|
-
var __defNormalProp$
|
|
513
|
-
var __spreadValues$
|
|
509
|
+
var __getOwnPropSymbols$2m = Object.getOwnPropertySymbols;
|
|
510
|
+
var __hasOwnProp$2m = Object.prototype.hasOwnProperty;
|
|
511
|
+
var __propIsEnum$2m = Object.prototype.propertyIsEnumerable;
|
|
512
|
+
var __defNormalProp$2m = (obj, key, value) => key in obj ? __defProp$2m(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
513
|
+
var __spreadValues$2m = (a, b) => {
|
|
514
514
|
for (var prop in b || (b = {}))
|
|
515
|
-
if (__hasOwnProp$
|
|
516
|
-
__defNormalProp$
|
|
517
|
-
if (__getOwnPropSymbols$
|
|
518
|
-
for (var prop of __getOwnPropSymbols$
|
|
519
|
-
if (__propIsEnum$
|
|
520
|
-
__defNormalProp$
|
|
515
|
+
if (__hasOwnProp$2m.call(b, prop))
|
|
516
|
+
__defNormalProp$2m(a, prop, b[prop]);
|
|
517
|
+
if (__getOwnPropSymbols$2m)
|
|
518
|
+
for (var prop of __getOwnPropSymbols$2m(b)) {
|
|
519
|
+
if (__propIsEnum$2m.call(b, prop))
|
|
520
|
+
__defNormalProp$2m(a, prop, b[prop]);
|
|
521
521
|
}
|
|
522
522
|
return a;
|
|
523
523
|
};
|
|
524
524
|
var __spreadProps$x = (a, b) => __defProps$x(a, __getOwnPropDescs$x(b));
|
|
525
525
|
const customSelectStyles = {
|
|
526
|
-
container: (provided) => __spreadProps$x(__spreadValues$
|
|
526
|
+
container: (provided) => __spreadProps$x(__spreadValues$2m({}, provided), {
|
|
527
527
|
width: "100%",
|
|
528
528
|
color: "text.default"
|
|
529
529
|
}),
|
|
530
|
-
option: (provided, state) => __spreadProps$x(__spreadValues$
|
|
530
|
+
option: (provided, state) => __spreadProps$x(__spreadValues$2m({}, provided), {
|
|
531
531
|
background: state.isFocused && "background.select.option-focus",
|
|
532
532
|
overflowWrap: "anywhere",
|
|
533
533
|
_active: {
|
|
534
534
|
background: "background.select.option-active"
|
|
535
535
|
}
|
|
536
536
|
}),
|
|
537
|
-
valueContainer: (provided) => __spreadProps$x(__spreadValues$
|
|
537
|
+
valueContainer: (provided) => __spreadProps$x(__spreadValues$2m({}, provided), {
|
|
538
538
|
paddingInlineStart: "padding-inline.select.default"
|
|
539
539
|
}),
|
|
540
|
-
downChevron: (provided) => __spreadProps$x(__spreadValues$
|
|
540
|
+
downChevron: (provided) => __spreadProps$x(__spreadValues$2m({}, provided), {
|
|
541
541
|
color: "icon.select.default"
|
|
542
542
|
}),
|
|
543
|
-
placeholder: (provided) => __spreadProps$x(__spreadValues$
|
|
543
|
+
placeholder: (provided) => __spreadProps$x(__spreadValues$2m({}, provided), {
|
|
544
544
|
color: "text.select.placeholder"
|
|
545
545
|
}),
|
|
546
546
|
multiValue: (provided, state) => {
|
|
547
547
|
var _a;
|
|
548
548
|
const background = state.data.isFixed ? "background.select.option-disabled" : (_a = state.data.color) != null ? _a : provided.bgColor;
|
|
549
|
-
return __spreadProps$x(__spreadValues$
|
|
549
|
+
return __spreadProps$x(__spreadValues$2m({}, provided), {
|
|
550
550
|
bgColor: background,
|
|
551
551
|
color: getContrastColor(background)
|
|
552
552
|
});
|
|
553
553
|
},
|
|
554
|
-
menuList: (provided) => __spreadProps$x(__spreadValues$
|
|
554
|
+
menuList: (provided) => __spreadProps$x(__spreadValues$2m({}, provided), {
|
|
555
555
|
bgColor: "background.default"
|
|
556
556
|
})
|
|
557
557
|
};
|
|
558
558
|
|
|
559
|
-
var __defProp$
|
|
559
|
+
var __defProp$2l = Object.defineProperty;
|
|
560
560
|
var __defProps$w = Object.defineProperties;
|
|
561
561
|
var __getOwnPropDescs$w = Object.getOwnPropertyDescriptors;
|
|
562
|
-
var __getOwnPropSymbols$
|
|
563
|
-
var __hasOwnProp$
|
|
564
|
-
var __propIsEnum$
|
|
565
|
-
var __defNormalProp$
|
|
566
|
-
var __spreadValues$
|
|
562
|
+
var __getOwnPropSymbols$2l = Object.getOwnPropertySymbols;
|
|
563
|
+
var __hasOwnProp$2l = Object.prototype.hasOwnProperty;
|
|
564
|
+
var __propIsEnum$2l = Object.prototype.propertyIsEnumerable;
|
|
565
|
+
var __defNormalProp$2l = (obj, key, value) => key in obj ? __defProp$2l(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
566
|
+
var __spreadValues$2l = (a, b) => {
|
|
567
567
|
for (var prop in b || (b = {}))
|
|
568
|
-
if (__hasOwnProp$
|
|
569
|
-
__defNormalProp$
|
|
570
|
-
if (__getOwnPropSymbols$
|
|
571
|
-
for (var prop of __getOwnPropSymbols$
|
|
572
|
-
if (__propIsEnum$
|
|
573
|
-
__defNormalProp$
|
|
568
|
+
if (__hasOwnProp$2l.call(b, prop))
|
|
569
|
+
__defNormalProp$2l(a, prop, b[prop]);
|
|
570
|
+
if (__getOwnPropSymbols$2l)
|
|
571
|
+
for (var prop of __getOwnPropSymbols$2l(b)) {
|
|
572
|
+
if (__propIsEnum$2l.call(b, prop))
|
|
573
|
+
__defNormalProp$2l(a, prop, b[prop]);
|
|
574
574
|
}
|
|
575
575
|
return a;
|
|
576
576
|
};
|
|
577
577
|
var __spreadProps$w = (a, b) => __defProps$w(a, __getOwnPropDescs$w(b));
|
|
578
|
-
const tagsInputStyles = (isFocused, borderColor) => __spreadProps$w(__spreadValues$
|
|
579
|
-
container: (provided) => __spreadProps$w(__spreadValues$
|
|
578
|
+
const tagsInputStyles = (isFocused, borderColor) => __spreadProps$w(__spreadValues$2l({}, customSelectStyles), {
|
|
579
|
+
container: (provided) => __spreadProps$w(__spreadValues$2l({}, provided), {
|
|
580
580
|
w: "full",
|
|
581
581
|
height: "100%",
|
|
582
582
|
resize: "vertical",
|
|
@@ -589,45 +589,45 @@
|
|
|
589
589
|
color: "text.default",
|
|
590
590
|
boxShadow: isFocused ? `0 0 0 1px ${borderColor}` : "none"
|
|
591
591
|
}),
|
|
592
|
-
control: (provided) => __spreadProps$w(__spreadValues$
|
|
592
|
+
control: (provided) => __spreadProps$w(__spreadValues$2l({}, provided), {
|
|
593
593
|
minHeight: "20",
|
|
594
594
|
height: "100%",
|
|
595
595
|
alignItems: "start"
|
|
596
596
|
}),
|
|
597
|
-
valueContainer: (provided) => __spreadProps$w(__spreadValues$
|
|
597
|
+
valueContainer: (provided) => __spreadProps$w(__spreadValues$2l({}, provided), {
|
|
598
598
|
paddingInlineStart: "padding-inline.select.default",
|
|
599
599
|
overflowY: "auto",
|
|
600
600
|
maxH: "100%"
|
|
601
601
|
})
|
|
602
602
|
});
|
|
603
603
|
|
|
604
|
-
var __defProp$
|
|
604
|
+
var __defProp$2k = Object.defineProperty;
|
|
605
605
|
var __defProps$v = Object.defineProperties;
|
|
606
606
|
var __getOwnPropDescs$v = Object.getOwnPropertyDescriptors;
|
|
607
|
-
var __getOwnPropSymbols$
|
|
608
|
-
var __hasOwnProp$
|
|
609
|
-
var __propIsEnum$
|
|
610
|
-
var __defNormalProp$
|
|
611
|
-
var __spreadValues$
|
|
607
|
+
var __getOwnPropSymbols$2k = Object.getOwnPropertySymbols;
|
|
608
|
+
var __hasOwnProp$2k = Object.prototype.hasOwnProperty;
|
|
609
|
+
var __propIsEnum$2k = Object.prototype.propertyIsEnumerable;
|
|
610
|
+
var __defNormalProp$2k = (obj, key, value) => key in obj ? __defProp$2k(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
611
|
+
var __spreadValues$2k = (a, b) => {
|
|
612
612
|
for (var prop in b || (b = {}))
|
|
613
|
-
if (__hasOwnProp$
|
|
614
|
-
__defNormalProp$
|
|
615
|
-
if (__getOwnPropSymbols$
|
|
616
|
-
for (var prop of __getOwnPropSymbols$
|
|
617
|
-
if (__propIsEnum$
|
|
618
|
-
__defNormalProp$
|
|
613
|
+
if (__hasOwnProp$2k.call(b, prop))
|
|
614
|
+
__defNormalProp$2k(a, prop, b[prop]);
|
|
615
|
+
if (__getOwnPropSymbols$2k)
|
|
616
|
+
for (var prop of __getOwnPropSymbols$2k(b)) {
|
|
617
|
+
if (__propIsEnum$2k.call(b, prop))
|
|
618
|
+
__defNormalProp$2k(a, prop, b[prop]);
|
|
619
619
|
}
|
|
620
620
|
return a;
|
|
621
621
|
};
|
|
622
622
|
var __spreadProps$v = (a, b) => __defProps$v(a, __getOwnPropDescs$v(b));
|
|
623
|
-
var __objRest$
|
|
623
|
+
var __objRest$1Q = (source, exclude) => {
|
|
624
624
|
var target = {};
|
|
625
625
|
for (var prop in source)
|
|
626
|
-
if (__hasOwnProp$
|
|
626
|
+
if (__hasOwnProp$2k.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
627
627
|
target[prop] = source[prop];
|
|
628
|
-
if (source != null && __getOwnPropSymbols$
|
|
629
|
-
for (var prop of __getOwnPropSymbols$
|
|
630
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
628
|
+
if (source != null && __getOwnPropSymbols$2k)
|
|
629
|
+
for (var prop of __getOwnPropSymbols$2k(source)) {
|
|
630
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$2k.call(source, prop))
|
|
631
631
|
target[prop] = source[prop];
|
|
632
632
|
}
|
|
633
633
|
return target;
|
|
@@ -640,7 +640,7 @@
|
|
|
640
640
|
loadingList = () => null,
|
|
641
641
|
"data-testid": testId,
|
|
642
642
|
value = []
|
|
643
|
-
} = _b, rest = __objRest$
|
|
643
|
+
} = _b, rest = __objRest$1Q(_b, [
|
|
644
644
|
"options",
|
|
645
645
|
"onChange",
|
|
646
646
|
"isLoading",
|
|
@@ -708,7 +708,7 @@
|
|
|
708
708
|
};
|
|
709
709
|
return /* @__PURE__ */ React.createElement(react.Box, { w: "full", "data-testid": testId }, /* @__PURE__ */ React.createElement(
|
|
710
710
|
CustomSelect,
|
|
711
|
-
__spreadValues$
|
|
711
|
+
__spreadValues$2k(__spreadProps$v(__spreadValues$2k({
|
|
712
712
|
isMulti: true,
|
|
713
713
|
menuPortalTarget: document.body,
|
|
714
714
|
placeholder: "Type something and press Enter or comma...",
|
|
@@ -741,30 +741,30 @@
|
|
|
741
741
|
));
|
|
742
742
|
}
|
|
743
743
|
|
|
744
|
-
var __defProp$
|
|
745
|
-
var __getOwnPropSymbols$
|
|
746
|
-
var __hasOwnProp$
|
|
747
|
-
var __propIsEnum$
|
|
748
|
-
var __defNormalProp$
|
|
749
|
-
var __spreadValues$
|
|
744
|
+
var __defProp$2j = Object.defineProperty;
|
|
745
|
+
var __getOwnPropSymbols$2j = Object.getOwnPropertySymbols;
|
|
746
|
+
var __hasOwnProp$2j = Object.prototype.hasOwnProperty;
|
|
747
|
+
var __propIsEnum$2j = Object.prototype.propertyIsEnumerable;
|
|
748
|
+
var __defNormalProp$2j = (obj, key, value) => key in obj ? __defProp$2j(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
749
|
+
var __spreadValues$2j = (a, b) => {
|
|
750
750
|
for (var prop in b || (b = {}))
|
|
751
|
-
if (__hasOwnProp$
|
|
752
|
-
__defNormalProp$
|
|
753
|
-
if (__getOwnPropSymbols$
|
|
754
|
-
for (var prop of __getOwnPropSymbols$
|
|
755
|
-
if (__propIsEnum$
|
|
756
|
-
__defNormalProp$
|
|
751
|
+
if (__hasOwnProp$2j.call(b, prop))
|
|
752
|
+
__defNormalProp$2j(a, prop, b[prop]);
|
|
753
|
+
if (__getOwnPropSymbols$2j)
|
|
754
|
+
for (var prop of __getOwnPropSymbols$2j(b)) {
|
|
755
|
+
if (__propIsEnum$2j.call(b, prop))
|
|
756
|
+
__defNormalProp$2j(a, prop, b[prop]);
|
|
757
757
|
}
|
|
758
758
|
return a;
|
|
759
759
|
};
|
|
760
|
-
var __objRest$
|
|
760
|
+
var __objRest$1P = (source, exclude) => {
|
|
761
761
|
var target = {};
|
|
762
762
|
for (var prop in source)
|
|
763
|
-
if (__hasOwnProp$
|
|
763
|
+
if (__hasOwnProp$2j.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
764
764
|
target[prop] = source[prop];
|
|
765
|
-
if (source != null && __getOwnPropSymbols$
|
|
766
|
-
for (var prop of __getOwnPropSymbols$
|
|
767
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
765
|
+
if (source != null && __getOwnPropSymbols$2j)
|
|
766
|
+
for (var prop of __getOwnPropSymbols$2j(source)) {
|
|
767
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$2j.call(source, prop))
|
|
768
768
|
target[prop] = source[prop];
|
|
769
769
|
}
|
|
770
770
|
return target;
|
|
@@ -774,7 +774,7 @@
|
|
|
774
774
|
name,
|
|
775
775
|
image,
|
|
776
776
|
variant = "square"
|
|
777
|
-
} = _b, rest = __objRest$
|
|
777
|
+
} = _b, rest = __objRest$1P(_b, [
|
|
778
778
|
"name",
|
|
779
779
|
"image",
|
|
780
780
|
"variant"
|
|
@@ -783,10 +783,10 @@
|
|
|
783
783
|
const {
|
|
784
784
|
container,
|
|
785
785
|
text
|
|
786
|
-
} = react.useMultiStyleConfig("Avatar", __spreadValues$
|
|
786
|
+
} = react.useMultiStyleConfig("Avatar", __spreadValues$2j({ variant, image }, rest));
|
|
787
787
|
return /* @__PURE__ */ React.createElement(
|
|
788
788
|
react.chakra.div,
|
|
789
|
-
__spreadValues$
|
|
789
|
+
__spreadValues$2j({
|
|
790
790
|
__css: container,
|
|
791
791
|
"data-testid": "organization-logo-test-id"
|
|
792
792
|
}, rest),
|
|
@@ -800,30 +800,30 @@
|
|
|
800
800
|
);
|
|
801
801
|
};
|
|
802
802
|
|
|
803
|
-
var __defProp$
|
|
804
|
-
var __getOwnPropSymbols$
|
|
805
|
-
var __hasOwnProp$
|
|
806
|
-
var __propIsEnum$
|
|
807
|
-
var __defNormalProp$
|
|
808
|
-
var __spreadValues$
|
|
803
|
+
var __defProp$2i = Object.defineProperty;
|
|
804
|
+
var __getOwnPropSymbols$2i = Object.getOwnPropertySymbols;
|
|
805
|
+
var __hasOwnProp$2i = Object.prototype.hasOwnProperty;
|
|
806
|
+
var __propIsEnum$2i = Object.prototype.propertyIsEnumerable;
|
|
807
|
+
var __defNormalProp$2i = (obj, key, value) => key in obj ? __defProp$2i(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
808
|
+
var __spreadValues$2i = (a, b) => {
|
|
809
809
|
for (var prop in b || (b = {}))
|
|
810
|
-
if (__hasOwnProp$
|
|
811
|
-
__defNormalProp$
|
|
812
|
-
if (__getOwnPropSymbols$
|
|
813
|
-
for (var prop of __getOwnPropSymbols$
|
|
814
|
-
if (__propIsEnum$
|
|
815
|
-
__defNormalProp$
|
|
810
|
+
if (__hasOwnProp$2i.call(b, prop))
|
|
811
|
+
__defNormalProp$2i(a, prop, b[prop]);
|
|
812
|
+
if (__getOwnPropSymbols$2i)
|
|
813
|
+
for (var prop of __getOwnPropSymbols$2i(b)) {
|
|
814
|
+
if (__propIsEnum$2i.call(b, prop))
|
|
815
|
+
__defNormalProp$2i(a, prop, b[prop]);
|
|
816
816
|
}
|
|
817
817
|
return a;
|
|
818
818
|
};
|
|
819
|
-
var __objRest$
|
|
819
|
+
var __objRest$1O = (source, exclude) => {
|
|
820
820
|
var target = {};
|
|
821
821
|
for (var prop in source)
|
|
822
|
-
if (__hasOwnProp$
|
|
822
|
+
if (__hasOwnProp$2i.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
823
823
|
target[prop] = source[prop];
|
|
824
|
-
if (source != null && __getOwnPropSymbols$
|
|
825
|
-
for (var prop of __getOwnPropSymbols$
|
|
826
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
824
|
+
if (source != null && __getOwnPropSymbols$2i)
|
|
825
|
+
for (var prop of __getOwnPropSymbols$2i(source)) {
|
|
826
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$2i.call(source, prop))
|
|
827
827
|
target[prop] = source[prop];
|
|
828
828
|
}
|
|
829
829
|
return target;
|
|
@@ -832,12 +832,30 @@
|
|
|
832
832
|
var _b = _a, {
|
|
833
833
|
variant = "success",
|
|
834
834
|
children
|
|
835
|
-
} = _b, rest = __objRest$
|
|
835
|
+
} = _b, rest = __objRest$1O(_b, [
|
|
836
836
|
"variant",
|
|
837
837
|
"children"
|
|
838
838
|
]);
|
|
839
|
-
return /* @__PURE__ */ React.createElement(react.Alert, __spreadValues$
|
|
839
|
+
return /* @__PURE__ */ React.createElement(react.Alert, __spreadValues$2i({ variant }, rest), children);
|
|
840
|
+
};
|
|
841
|
+
|
|
842
|
+
var __defProp$2h = Object.defineProperty;
|
|
843
|
+
var __getOwnPropSymbols$2h = Object.getOwnPropertySymbols;
|
|
844
|
+
var __hasOwnProp$2h = Object.prototype.hasOwnProperty;
|
|
845
|
+
var __propIsEnum$2h = Object.prototype.propertyIsEnumerable;
|
|
846
|
+
var __defNormalProp$2h = (obj, key, value) => key in obj ? __defProp$2h(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
847
|
+
var __spreadValues$2h = (a, b) => {
|
|
848
|
+
for (var prop in b || (b = {}))
|
|
849
|
+
if (__hasOwnProp$2h.call(b, prop))
|
|
850
|
+
__defNormalProp$2h(a, prop, b[prop]);
|
|
851
|
+
if (__getOwnPropSymbols$2h)
|
|
852
|
+
for (var prop of __getOwnPropSymbols$2h(b)) {
|
|
853
|
+
if (__propIsEnum$2h.call(b, prop))
|
|
854
|
+
__defNormalProp$2h(a, prop, b[prop]);
|
|
855
|
+
}
|
|
856
|
+
return a;
|
|
840
857
|
};
|
|
858
|
+
const AspectRatio = (props) => /* @__PURE__ */ React.createElement(react.AspectRatio, __spreadValues$2h({}, props));
|
|
841
859
|
|
|
842
860
|
var __defProp$2g = Object.defineProperty;
|
|
843
861
|
var __getOwnPropSymbols$2g = Object.getOwnPropertySymbols;
|
|
@@ -855,32 +873,14 @@
|
|
|
855
873
|
}
|
|
856
874
|
return a;
|
|
857
875
|
};
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
var __defProp$2f = Object.defineProperty;
|
|
861
|
-
var __getOwnPropSymbols$2f = Object.getOwnPropertySymbols;
|
|
862
|
-
var __hasOwnProp$2f = Object.prototype.hasOwnProperty;
|
|
863
|
-
var __propIsEnum$2f = Object.prototype.propertyIsEnumerable;
|
|
864
|
-
var __defNormalProp$2f = (obj, key, value) => key in obj ? __defProp$2f(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
865
|
-
var __spreadValues$2f = (a, b) => {
|
|
866
|
-
for (var prop in b || (b = {}))
|
|
867
|
-
if (__hasOwnProp$2f.call(b, prop))
|
|
868
|
-
__defNormalProp$2f(a, prop, b[prop]);
|
|
869
|
-
if (__getOwnPropSymbols$2f)
|
|
870
|
-
for (var prop of __getOwnPropSymbols$2f(b)) {
|
|
871
|
-
if (__propIsEnum$2f.call(b, prop))
|
|
872
|
-
__defNormalProp$2f(a, prop, b[prop]);
|
|
873
|
-
}
|
|
874
|
-
return a;
|
|
875
|
-
};
|
|
876
|
-
var __objRest$1M = (source, exclude) => {
|
|
876
|
+
var __objRest$1N = (source, exclude) => {
|
|
877
877
|
var target = {};
|
|
878
878
|
for (var prop in source)
|
|
879
|
-
if (__hasOwnProp$
|
|
879
|
+
if (__hasOwnProp$2g.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
880
880
|
target[prop] = source[prop];
|
|
881
|
-
if (source != null && __getOwnPropSymbols$
|
|
882
|
-
for (var prop of __getOwnPropSymbols$
|
|
883
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
881
|
+
if (source != null && __getOwnPropSymbols$2g)
|
|
882
|
+
for (var prop of __getOwnPropSymbols$2g(source)) {
|
|
883
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$2g.call(source, prop))
|
|
884
884
|
target[prop] = source[prop];
|
|
885
885
|
}
|
|
886
886
|
return target;
|
|
@@ -891,7 +891,7 @@
|
|
|
891
891
|
size,
|
|
892
892
|
color,
|
|
893
893
|
boxSize
|
|
894
|
-
} = _b, rest = __objRest$
|
|
894
|
+
} = _b, rest = __objRest$1N(_b, [
|
|
895
895
|
"as",
|
|
896
896
|
"size",
|
|
897
897
|
"color",
|
|
@@ -901,7 +901,7 @@
|
|
|
901
901
|
const styles = react.useStyleConfig("Icon", { size, color, boxSize });
|
|
902
902
|
return /* @__PURE__ */ React.createElement(
|
|
903
903
|
react.Icon,
|
|
904
|
-
__spreadValues$
|
|
904
|
+
__spreadValues$2g({
|
|
905
905
|
ref,
|
|
906
906
|
sx: styles
|
|
907
907
|
}, rest),
|
|
@@ -916,30 +916,30 @@
|
|
|
916
916
|
return /* @__PURE__ */ React.createElement(react.chakra.span, { sx: badge }, notificationCount > 999 ? "999+" : notificationCount);
|
|
917
917
|
};
|
|
918
918
|
|
|
919
|
-
var __defProp$
|
|
920
|
-
var __getOwnPropSymbols$
|
|
921
|
-
var __hasOwnProp$
|
|
922
|
-
var __propIsEnum$
|
|
923
|
-
var __defNormalProp$
|
|
924
|
-
var __spreadValues$
|
|
919
|
+
var __defProp$2f = Object.defineProperty;
|
|
920
|
+
var __getOwnPropSymbols$2f = Object.getOwnPropertySymbols;
|
|
921
|
+
var __hasOwnProp$2f = Object.prototype.hasOwnProperty;
|
|
922
|
+
var __propIsEnum$2f = Object.prototype.propertyIsEnumerable;
|
|
923
|
+
var __defNormalProp$2f = (obj, key, value) => key in obj ? __defProp$2f(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
924
|
+
var __spreadValues$2f = (a, b) => {
|
|
925
925
|
for (var prop in b || (b = {}))
|
|
926
|
-
if (__hasOwnProp$
|
|
927
|
-
__defNormalProp$
|
|
928
|
-
if (__getOwnPropSymbols$
|
|
929
|
-
for (var prop of __getOwnPropSymbols$
|
|
930
|
-
if (__propIsEnum$
|
|
931
|
-
__defNormalProp$
|
|
926
|
+
if (__hasOwnProp$2f.call(b, prop))
|
|
927
|
+
__defNormalProp$2f(a, prop, b[prop]);
|
|
928
|
+
if (__getOwnPropSymbols$2f)
|
|
929
|
+
for (var prop of __getOwnPropSymbols$2f(b)) {
|
|
930
|
+
if (__propIsEnum$2f.call(b, prop))
|
|
931
|
+
__defNormalProp$2f(a, prop, b[prop]);
|
|
932
932
|
}
|
|
933
933
|
return a;
|
|
934
934
|
};
|
|
935
|
-
var __objRest$
|
|
935
|
+
var __objRest$1M = (source, exclude) => {
|
|
936
936
|
var target = {};
|
|
937
937
|
for (var prop in source)
|
|
938
|
-
if (__hasOwnProp$
|
|
938
|
+
if (__hasOwnProp$2f.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
939
939
|
target[prop] = source[prop];
|
|
940
|
-
if (source != null && __getOwnPropSymbols$
|
|
941
|
-
for (var prop of __getOwnPropSymbols$
|
|
942
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
940
|
+
if (source != null && __getOwnPropSymbols$2f)
|
|
941
|
+
for (var prop of __getOwnPropSymbols$2f(source)) {
|
|
942
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$2f.call(source, prop))
|
|
943
943
|
target[prop] = source[prop];
|
|
944
944
|
}
|
|
945
945
|
return target;
|
|
@@ -952,7 +952,7 @@
|
|
|
952
952
|
image,
|
|
953
953
|
size,
|
|
954
954
|
bgColor
|
|
955
|
-
} = _b, rest = __objRest$
|
|
955
|
+
} = _b, rest = __objRest$1M(_b, [
|
|
956
956
|
"variant",
|
|
957
957
|
"notificationCount",
|
|
958
958
|
"name",
|
|
@@ -967,7 +967,7 @@
|
|
|
967
967
|
name,
|
|
968
968
|
bgColor
|
|
969
969
|
});
|
|
970
|
-
return /* @__PURE__ */ React.createElement(react.Box, __spreadValues$
|
|
970
|
+
return /* @__PURE__ */ React.createElement(react.Box, __spreadValues$2f({ __css: container, "data-testid": "avatar-test-id" }, rest), image ? /* @__PURE__ */ React.createElement(
|
|
971
971
|
react.chakra.img,
|
|
972
972
|
{
|
|
973
973
|
alt: name,
|
|
@@ -984,6 +984,54 @@
|
|
|
984
984
|
), notificationCount > 0 && /* @__PURE__ */ React.createElement(AvatarBadge, { notificationCount }));
|
|
985
985
|
};
|
|
986
986
|
|
|
987
|
+
var __defProp$2e = Object.defineProperty;
|
|
988
|
+
var __getOwnPropSymbols$2e = Object.getOwnPropertySymbols;
|
|
989
|
+
var __hasOwnProp$2e = Object.prototype.hasOwnProperty;
|
|
990
|
+
var __propIsEnum$2e = Object.prototype.propertyIsEnumerable;
|
|
991
|
+
var __defNormalProp$2e = (obj, key, value) => key in obj ? __defProp$2e(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
992
|
+
var __spreadValues$2e = (a, b) => {
|
|
993
|
+
for (var prop in b || (b = {}))
|
|
994
|
+
if (__hasOwnProp$2e.call(b, prop))
|
|
995
|
+
__defNormalProp$2e(a, prop, b[prop]);
|
|
996
|
+
if (__getOwnPropSymbols$2e)
|
|
997
|
+
for (var prop of __getOwnPropSymbols$2e(b)) {
|
|
998
|
+
if (__propIsEnum$2e.call(b, prop))
|
|
999
|
+
__defNormalProp$2e(a, prop, b[prop]);
|
|
1000
|
+
}
|
|
1001
|
+
return a;
|
|
1002
|
+
};
|
|
1003
|
+
var __objRest$1L = (source, exclude) => {
|
|
1004
|
+
var target = {};
|
|
1005
|
+
for (var prop in source)
|
|
1006
|
+
if (__hasOwnProp$2e.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
1007
|
+
target[prop] = source[prop];
|
|
1008
|
+
if (source != null && __getOwnPropSymbols$2e)
|
|
1009
|
+
for (var prop of __getOwnPropSymbols$2e(source)) {
|
|
1010
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$2e.call(source, prop))
|
|
1011
|
+
target[prop] = source[prop];
|
|
1012
|
+
}
|
|
1013
|
+
return target;
|
|
1014
|
+
};
|
|
1015
|
+
const H1$1 = React.forwardRef((_a, ref) => {
|
|
1016
|
+
var _b = _a, {
|
|
1017
|
+
children,
|
|
1018
|
+
sx = {}
|
|
1019
|
+
} = _b, rest = __objRest$1L(_b, [
|
|
1020
|
+
"children",
|
|
1021
|
+
"sx"
|
|
1022
|
+
]);
|
|
1023
|
+
const styles = react.useStyleConfig("H1", { sx });
|
|
1024
|
+
return /* @__PURE__ */ React.createElement(
|
|
1025
|
+
react.Heading,
|
|
1026
|
+
__spreadValues$2e({
|
|
1027
|
+
as: "h1",
|
|
1028
|
+
sx: styles,
|
|
1029
|
+
ref
|
|
1030
|
+
}, rest),
|
|
1031
|
+
children
|
|
1032
|
+
);
|
|
1033
|
+
});
|
|
1034
|
+
|
|
987
1035
|
var __defProp$2d = Object.defineProperty;
|
|
988
1036
|
var __getOwnPropSymbols$2d = Object.getOwnPropertySymbols;
|
|
989
1037
|
var __hasOwnProp$2d = Object.prototype.hasOwnProperty;
|
|
@@ -1012,7 +1060,7 @@
|
|
|
1012
1060
|
}
|
|
1013
1061
|
return target;
|
|
1014
1062
|
};
|
|
1015
|
-
const
|
|
1063
|
+
const H2$1 = React.forwardRef((_a, ref) => {
|
|
1016
1064
|
var _b = _a, {
|
|
1017
1065
|
children,
|
|
1018
1066
|
sx = {}
|
|
@@ -1020,11 +1068,11 @@
|
|
|
1020
1068
|
"children",
|
|
1021
1069
|
"sx"
|
|
1022
1070
|
]);
|
|
1023
|
-
const styles = react.useStyleConfig("
|
|
1071
|
+
const styles = react.useStyleConfig("H2", { sx });
|
|
1024
1072
|
return /* @__PURE__ */ React.createElement(
|
|
1025
1073
|
react.Heading,
|
|
1026
1074
|
__spreadValues$2d({
|
|
1027
|
-
as: "
|
|
1075
|
+
as: "h2",
|
|
1028
1076
|
sx: styles,
|
|
1029
1077
|
ref
|
|
1030
1078
|
}, rest),
|
|
@@ -1060,7 +1108,7 @@
|
|
|
1060
1108
|
}
|
|
1061
1109
|
return target;
|
|
1062
1110
|
};
|
|
1063
|
-
const
|
|
1111
|
+
const H3$1 = React.forwardRef((_a, ref) => {
|
|
1064
1112
|
var _b = _a, {
|
|
1065
1113
|
children,
|
|
1066
1114
|
sx = {}
|
|
@@ -1068,11 +1116,11 @@
|
|
|
1068
1116
|
"children",
|
|
1069
1117
|
"sx"
|
|
1070
1118
|
]);
|
|
1071
|
-
const styles = react.useStyleConfig("
|
|
1119
|
+
const styles = react.useStyleConfig("H3", { sx });
|
|
1072
1120
|
return /* @__PURE__ */ React.createElement(
|
|
1073
1121
|
react.Heading,
|
|
1074
1122
|
__spreadValues$2c({
|
|
1075
|
-
as: "
|
|
1123
|
+
as: "h3",
|
|
1076
1124
|
sx: styles,
|
|
1077
1125
|
ref
|
|
1078
1126
|
}, rest),
|
|
@@ -1108,7 +1156,7 @@
|
|
|
1108
1156
|
}
|
|
1109
1157
|
return target;
|
|
1110
1158
|
};
|
|
1111
|
-
const
|
|
1159
|
+
const H4$1 = React.forwardRef((_a, ref) => {
|
|
1112
1160
|
var _b = _a, {
|
|
1113
1161
|
children,
|
|
1114
1162
|
sx = {}
|
|
@@ -1116,11 +1164,11 @@
|
|
|
1116
1164
|
"children",
|
|
1117
1165
|
"sx"
|
|
1118
1166
|
]);
|
|
1119
|
-
const styles = react.useStyleConfig("
|
|
1167
|
+
const styles = react.useStyleConfig("H4", { sx });
|
|
1120
1168
|
return /* @__PURE__ */ React.createElement(
|
|
1121
1169
|
react.Heading,
|
|
1122
1170
|
__spreadValues$2b({
|
|
1123
|
-
as: "
|
|
1171
|
+
as: "h4",
|
|
1124
1172
|
sx: styles,
|
|
1125
1173
|
ref
|
|
1126
1174
|
}, rest),
|
|
@@ -1156,7 +1204,7 @@
|
|
|
1156
1204
|
}
|
|
1157
1205
|
return target;
|
|
1158
1206
|
};
|
|
1159
|
-
const
|
|
1207
|
+
const H5$1 = React.forwardRef((_a, ref) => {
|
|
1160
1208
|
var _b = _a, {
|
|
1161
1209
|
children,
|
|
1162
1210
|
sx = {}
|
|
@@ -1164,11 +1212,11 @@
|
|
|
1164
1212
|
"children",
|
|
1165
1213
|
"sx"
|
|
1166
1214
|
]);
|
|
1167
|
-
const styles = react.useStyleConfig("
|
|
1215
|
+
const styles = react.useStyleConfig("H5", { sx });
|
|
1168
1216
|
return /* @__PURE__ */ React.createElement(
|
|
1169
1217
|
react.Heading,
|
|
1170
1218
|
__spreadValues$2a({
|
|
1171
|
-
as: "
|
|
1219
|
+
as: "h5",
|
|
1172
1220
|
sx: styles,
|
|
1173
1221
|
ref
|
|
1174
1222
|
}, rest),
|
|
@@ -1204,7 +1252,7 @@
|
|
|
1204
1252
|
}
|
|
1205
1253
|
return target;
|
|
1206
1254
|
};
|
|
1207
|
-
const
|
|
1255
|
+
const H6$1 = React.forwardRef((_a, ref) => {
|
|
1208
1256
|
var _b = _a, {
|
|
1209
1257
|
children,
|
|
1210
1258
|
sx = {}
|
|
@@ -1212,11 +1260,11 @@
|
|
|
1212
1260
|
"children",
|
|
1213
1261
|
"sx"
|
|
1214
1262
|
]);
|
|
1215
|
-
const styles = react.useStyleConfig("
|
|
1263
|
+
const styles = react.useStyleConfig("H6", { sx });
|
|
1216
1264
|
return /* @__PURE__ */ React.createElement(
|
|
1217
1265
|
react.Heading,
|
|
1218
1266
|
__spreadValues$29({
|
|
1219
|
-
as: "
|
|
1267
|
+
as: "h6",
|
|
1220
1268
|
sx: styles,
|
|
1221
1269
|
ref
|
|
1222
1270
|
}, rest),
|
|
@@ -1252,25 +1300,26 @@
|
|
|
1252
1300
|
}
|
|
1253
1301
|
return target;
|
|
1254
1302
|
};
|
|
1255
|
-
const
|
|
1303
|
+
const P$1 = (_a) => {
|
|
1256
1304
|
var _b = _a, {
|
|
1257
1305
|
children,
|
|
1306
|
+
variant = "16",
|
|
1258
1307
|
sx = {}
|
|
1259
1308
|
} = _b, rest = __objRest$1F(_b, [
|
|
1260
1309
|
"children",
|
|
1310
|
+
"variant",
|
|
1261
1311
|
"sx"
|
|
1262
1312
|
]);
|
|
1263
|
-
const styles = react.useStyleConfig("
|
|
1313
|
+
const styles = react.useStyleConfig("P", { variant, sx });
|
|
1264
1314
|
return /* @__PURE__ */ React.createElement(
|
|
1265
|
-
react.
|
|
1315
|
+
react.Text,
|
|
1266
1316
|
__spreadValues$28({
|
|
1267
|
-
|
|
1268
|
-
sx: styles
|
|
1269
|
-
ref
|
|
1317
|
+
variant,
|
|
1318
|
+
sx: styles
|
|
1270
1319
|
}, rest),
|
|
1271
1320
|
children
|
|
1272
1321
|
);
|
|
1273
|
-
}
|
|
1322
|
+
};
|
|
1274
1323
|
|
|
1275
1324
|
var __defProp$27 = Object.defineProperty;
|
|
1276
1325
|
var __getOwnPropSymbols$27 = Object.getOwnPropertySymbols;
|
|
@@ -1300,25 +1349,10 @@
|
|
|
1300
1349
|
}
|
|
1301
1350
|
return target;
|
|
1302
1351
|
};
|
|
1303
|
-
const
|
|
1304
|
-
var _b = _a, {
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
sx = {}
|
|
1308
|
-
} = _b, rest = __objRest$1E(_b, [
|
|
1309
|
-
"children",
|
|
1310
|
-
"variant",
|
|
1311
|
-
"sx"
|
|
1312
|
-
]);
|
|
1313
|
-
const styles = react.useStyleConfig("P", { variant, sx });
|
|
1314
|
-
return /* @__PURE__ */ React.createElement(
|
|
1315
|
-
react.Text,
|
|
1316
|
-
__spreadValues$27({
|
|
1317
|
-
variant,
|
|
1318
|
-
sx: styles
|
|
1319
|
-
}, rest),
|
|
1320
|
-
children
|
|
1321
|
-
);
|
|
1352
|
+
const Blockquote$1 = (_a) => {
|
|
1353
|
+
var _b = _a, { children, sx = {} } = _b, rest = __objRest$1E(_b, ["children", "sx"]);
|
|
1354
|
+
const styles = react.useStyleConfig("Blockquote", { sx });
|
|
1355
|
+
return /* @__PURE__ */ React.createElement(react.Text, __spreadValues$27({ as: "span", sx: styles }, rest), children);
|
|
1322
1356
|
};
|
|
1323
1357
|
|
|
1324
1358
|
var __defProp$26 = Object.defineProperty;
|
|
@@ -1349,10 +1383,23 @@
|
|
|
1349
1383
|
}
|
|
1350
1384
|
return target;
|
|
1351
1385
|
};
|
|
1352
|
-
const
|
|
1353
|
-
var _b = _a, {
|
|
1354
|
-
|
|
1355
|
-
|
|
1386
|
+
const Capitalized$1 = (_a) => {
|
|
1387
|
+
var _b = _a, {
|
|
1388
|
+
children,
|
|
1389
|
+
sx = {}
|
|
1390
|
+
} = _b, rest = __objRest$1D(_b, [
|
|
1391
|
+
"children",
|
|
1392
|
+
"sx"
|
|
1393
|
+
]);
|
|
1394
|
+
const styles = react.useStyleConfig("Capitalized", { sx });
|
|
1395
|
+
return /* @__PURE__ */ React.createElement(
|
|
1396
|
+
react.Text,
|
|
1397
|
+
__spreadValues$26({
|
|
1398
|
+
as: "span",
|
|
1399
|
+
sx: styles
|
|
1400
|
+
}, rest),
|
|
1401
|
+
children
|
|
1402
|
+
);
|
|
1356
1403
|
};
|
|
1357
1404
|
|
|
1358
1405
|
var __defProp$25 = Object.defineProperty;
|
|
@@ -1383,7 +1430,7 @@
|
|
|
1383
1430
|
}
|
|
1384
1431
|
return target;
|
|
1385
1432
|
};
|
|
1386
|
-
const
|
|
1433
|
+
const Lead$1 = (_a) => {
|
|
1387
1434
|
var _b = _a, {
|
|
1388
1435
|
children,
|
|
1389
1436
|
sx = {}
|
|
@@ -1391,7 +1438,7 @@
|
|
|
1391
1438
|
"children",
|
|
1392
1439
|
"sx"
|
|
1393
1440
|
]);
|
|
1394
|
-
const styles = react.useStyleConfig("
|
|
1441
|
+
const styles = react.useStyleConfig("Lead", { sx });
|
|
1395
1442
|
return /* @__PURE__ */ React.createElement(
|
|
1396
1443
|
react.Text,
|
|
1397
1444
|
__spreadValues$25({
|
|
@@ -1430,7 +1477,7 @@
|
|
|
1430
1477
|
}
|
|
1431
1478
|
return target;
|
|
1432
1479
|
};
|
|
1433
|
-
const
|
|
1480
|
+
const Small$1 = (_a) => {
|
|
1434
1481
|
var _b = _a, {
|
|
1435
1482
|
children,
|
|
1436
1483
|
sx = {}
|
|
@@ -1438,11 +1485,11 @@
|
|
|
1438
1485
|
"children",
|
|
1439
1486
|
"sx"
|
|
1440
1487
|
]);
|
|
1441
|
-
const styles = react.useStyleConfig("
|
|
1488
|
+
const styles = react.useStyleConfig("Small", { sx });
|
|
1442
1489
|
return /* @__PURE__ */ React.createElement(
|
|
1443
1490
|
react.Text,
|
|
1444
1491
|
__spreadValues$24({
|
|
1445
|
-
as: "
|
|
1492
|
+
as: "small",
|
|
1446
1493
|
sx: styles
|
|
1447
1494
|
}, rest),
|
|
1448
1495
|
children
|
|
@@ -1477,7 +1524,7 @@
|
|
|
1477
1524
|
}
|
|
1478
1525
|
return target;
|
|
1479
1526
|
};
|
|
1480
|
-
const
|
|
1527
|
+
const Tiny$1 = (_a) => {
|
|
1481
1528
|
var _b = _a, {
|
|
1482
1529
|
children,
|
|
1483
1530
|
sx = {}
|
|
@@ -1485,11 +1532,11 @@
|
|
|
1485
1532
|
"children",
|
|
1486
1533
|
"sx"
|
|
1487
1534
|
]);
|
|
1488
|
-
const styles = react.useStyleConfig("
|
|
1535
|
+
const styles = react.useStyleConfig("Tiny", { sx });
|
|
1489
1536
|
return /* @__PURE__ */ React.createElement(
|
|
1490
1537
|
react.Text,
|
|
1491
1538
|
__spreadValues$23({
|
|
1492
|
-
as: "
|
|
1539
|
+
as: "span",
|
|
1493
1540
|
sx: styles
|
|
1494
1541
|
}, rest),
|
|
1495
1542
|
children
|
|
@@ -1524,24 +1571,27 @@
|
|
|
1524
1571
|
}
|
|
1525
1572
|
return target;
|
|
1526
1573
|
};
|
|
1527
|
-
const
|
|
1574
|
+
const Label$1 = React.forwardRef((_a, ref) => {
|
|
1528
1575
|
var _b = _a, {
|
|
1529
1576
|
children,
|
|
1577
|
+
size = "sm",
|
|
1530
1578
|
sx = {}
|
|
1531
1579
|
} = _b, rest = __objRest$1z(_b, [
|
|
1532
1580
|
"children",
|
|
1581
|
+
"size",
|
|
1533
1582
|
"sx"
|
|
1534
1583
|
]);
|
|
1535
|
-
const styles = react.useStyleConfig("
|
|
1584
|
+
const styles = react.useStyleConfig("Label", { sx, size });
|
|
1536
1585
|
return /* @__PURE__ */ React.createElement(
|
|
1537
|
-
react.
|
|
1586
|
+
react.FormLabel,
|
|
1538
1587
|
__spreadValues$22({
|
|
1539
|
-
|
|
1540
|
-
|
|
1588
|
+
sx: styles,
|
|
1589
|
+
requiredIndicator: /* @__PURE__ */ React.createElement(react.VisuallyHidden, null),
|
|
1590
|
+
ref
|
|
1541
1591
|
}, rest),
|
|
1542
1592
|
children
|
|
1543
1593
|
);
|
|
1544
|
-
};
|
|
1594
|
+
});
|
|
1545
1595
|
|
|
1546
1596
|
var __defProp$21 = Object.defineProperty;
|
|
1547
1597
|
var __getOwnPropSymbols$21 = Object.getOwnPropertySymbols;
|
|
@@ -1571,63 +1621,13 @@
|
|
|
1571
1621
|
}
|
|
1572
1622
|
return target;
|
|
1573
1623
|
};
|
|
1574
|
-
const Label$1 = React.forwardRef((_a, ref) => {
|
|
1575
|
-
var _b = _a, {
|
|
1576
|
-
children,
|
|
1577
|
-
size = "sm",
|
|
1578
|
-
sx = {}
|
|
1579
|
-
} = _b, rest = __objRest$1y(_b, [
|
|
1580
|
-
"children",
|
|
1581
|
-
"size",
|
|
1582
|
-
"sx"
|
|
1583
|
-
]);
|
|
1584
|
-
const styles = react.useStyleConfig("Label", { sx, size });
|
|
1585
|
-
return /* @__PURE__ */ React.createElement(
|
|
1586
|
-
react.FormLabel,
|
|
1587
|
-
__spreadValues$21({
|
|
1588
|
-
sx: styles,
|
|
1589
|
-
requiredIndicator: /* @__PURE__ */ React.createElement(react.VisuallyHidden, null),
|
|
1590
|
-
ref
|
|
1591
|
-
}, rest),
|
|
1592
|
-
children
|
|
1593
|
-
);
|
|
1594
|
-
});
|
|
1595
|
-
|
|
1596
|
-
var __defProp$20 = Object.defineProperty;
|
|
1597
|
-
var __getOwnPropSymbols$20 = Object.getOwnPropertySymbols;
|
|
1598
|
-
var __hasOwnProp$20 = Object.prototype.hasOwnProperty;
|
|
1599
|
-
var __propIsEnum$20 = Object.prototype.propertyIsEnumerable;
|
|
1600
|
-
var __defNormalProp$20 = (obj, key, value) => key in obj ? __defProp$20(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
1601
|
-
var __spreadValues$20 = (a, b) => {
|
|
1602
|
-
for (var prop in b || (b = {}))
|
|
1603
|
-
if (__hasOwnProp$20.call(b, prop))
|
|
1604
|
-
__defNormalProp$20(a, prop, b[prop]);
|
|
1605
|
-
if (__getOwnPropSymbols$20)
|
|
1606
|
-
for (var prop of __getOwnPropSymbols$20(b)) {
|
|
1607
|
-
if (__propIsEnum$20.call(b, prop))
|
|
1608
|
-
__defNormalProp$20(a, prop, b[prop]);
|
|
1609
|
-
}
|
|
1610
|
-
return a;
|
|
1611
|
-
};
|
|
1612
|
-
var __objRest$1x = (source, exclude) => {
|
|
1613
|
-
var target = {};
|
|
1614
|
-
for (var prop in source)
|
|
1615
|
-
if (__hasOwnProp$20.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
1616
|
-
target[prop] = source[prop];
|
|
1617
|
-
if (source != null && __getOwnPropSymbols$20)
|
|
1618
|
-
for (var prop of __getOwnPropSymbols$20(source)) {
|
|
1619
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$20.call(source, prop))
|
|
1620
|
-
target[prop] = source[prop];
|
|
1621
|
-
}
|
|
1622
|
-
return target;
|
|
1623
|
-
};
|
|
1624
1624
|
const NumVal$1 = React.forwardRef(
|
|
1625
1625
|
(_a, ref) => {
|
|
1626
|
-
var _b = _a, { children, size = "sm", sx = {} } = _b, rest = __objRest$
|
|
1626
|
+
var _b = _a, { children, size = "sm", sx = {} } = _b, rest = __objRest$1y(_b, ["children", "size", "sx"]);
|
|
1627
1627
|
const styles = react.useStyleConfig("NumVal", { sx, size });
|
|
1628
1628
|
return /* @__PURE__ */ React.createElement(
|
|
1629
1629
|
react.Text,
|
|
1630
|
-
__spreadValues$
|
|
1630
|
+
__spreadValues$21({
|
|
1631
1631
|
as: "span",
|
|
1632
1632
|
sx: styles,
|
|
1633
1633
|
ref
|
|
@@ -1717,30 +1717,30 @@
|
|
|
1717
1717
|
return { rect, containerRef };
|
|
1718
1718
|
};
|
|
1719
1719
|
|
|
1720
|
-
var __defProp$
|
|
1721
|
-
var __getOwnPropSymbols$
|
|
1722
|
-
var __hasOwnProp$
|
|
1723
|
-
var __propIsEnum$
|
|
1724
|
-
var __defNormalProp$
|
|
1725
|
-
var __spreadValues$
|
|
1720
|
+
var __defProp$20 = Object.defineProperty;
|
|
1721
|
+
var __getOwnPropSymbols$20 = Object.getOwnPropertySymbols;
|
|
1722
|
+
var __hasOwnProp$20 = Object.prototype.hasOwnProperty;
|
|
1723
|
+
var __propIsEnum$20 = Object.prototype.propertyIsEnumerable;
|
|
1724
|
+
var __defNormalProp$20 = (obj, key, value) => key in obj ? __defProp$20(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
1725
|
+
var __spreadValues$20 = (a, b) => {
|
|
1726
1726
|
for (var prop in b || (b = {}))
|
|
1727
|
-
if (__hasOwnProp$
|
|
1728
|
-
__defNormalProp$
|
|
1729
|
-
if (__getOwnPropSymbols$
|
|
1730
|
-
for (var prop of __getOwnPropSymbols$
|
|
1731
|
-
if (__propIsEnum$
|
|
1732
|
-
__defNormalProp$
|
|
1727
|
+
if (__hasOwnProp$20.call(b, prop))
|
|
1728
|
+
__defNormalProp$20(a, prop, b[prop]);
|
|
1729
|
+
if (__getOwnPropSymbols$20)
|
|
1730
|
+
for (var prop of __getOwnPropSymbols$20(b)) {
|
|
1731
|
+
if (__propIsEnum$20.call(b, prop))
|
|
1732
|
+
__defNormalProp$20(a, prop, b[prop]);
|
|
1733
1733
|
}
|
|
1734
1734
|
return a;
|
|
1735
1735
|
};
|
|
1736
|
-
var __objRest$
|
|
1736
|
+
var __objRest$1x = (source, exclude) => {
|
|
1737
1737
|
var target = {};
|
|
1738
1738
|
for (var prop in source)
|
|
1739
|
-
if (__hasOwnProp$
|
|
1739
|
+
if (__hasOwnProp$20.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
1740
1740
|
target[prop] = source[prop];
|
|
1741
|
-
if (source != null && __getOwnPropSymbols$
|
|
1742
|
-
for (var prop of __getOwnPropSymbols$
|
|
1743
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
1741
|
+
if (source != null && __getOwnPropSymbols$20)
|
|
1742
|
+
for (var prop of __getOwnPropSymbols$20(source)) {
|
|
1743
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$20.call(source, prop))
|
|
1744
1744
|
target[prop] = source[prop];
|
|
1745
1745
|
}
|
|
1746
1746
|
return target;
|
|
@@ -1750,7 +1750,7 @@
|
|
|
1750
1750
|
children,
|
|
1751
1751
|
max = Infinity,
|
|
1752
1752
|
spacing = "-4"
|
|
1753
|
-
} = _b, rest = __objRest$
|
|
1753
|
+
} = _b, rest = __objRest$1x(_b, [
|
|
1754
1754
|
"children",
|
|
1755
1755
|
"max",
|
|
1756
1756
|
"spacing"
|
|
@@ -1761,8 +1761,26 @@
|
|
|
1761
1761
|
{ ml: spacing },
|
|
1762
1762
|
(_child, idx) => idx > 0
|
|
1763
1763
|
);
|
|
1764
|
-
return /* @__PURE__ */ React.createElement(react.HStack, __spreadValues$
|
|
1764
|
+
return /* @__PURE__ */ React.createElement(react.HStack, __spreadValues$20({ bgColor: "background.default" }, rest), /* @__PURE__ */ React.createElement(react.HStack, { spacing: 0 }, /* @__PURE__ */ React.createElement(OverflowGroup, { max, onChange: setNbrRemainingAvatars }, childrenWithMargin)), nbrRemainingAvatars > 0 && /* @__PURE__ */ React.createElement(Small$1, { sx: { color: "blue.500" } }, "+", nbrRemainingAvatars));
|
|
1765
|
+
};
|
|
1766
|
+
|
|
1767
|
+
var __defProp$1$ = Object.defineProperty;
|
|
1768
|
+
var __getOwnPropSymbols$1$ = Object.getOwnPropertySymbols;
|
|
1769
|
+
var __hasOwnProp$1$ = Object.prototype.hasOwnProperty;
|
|
1770
|
+
var __propIsEnum$1$ = Object.prototype.propertyIsEnumerable;
|
|
1771
|
+
var __defNormalProp$1$ = (obj, key, value) => key in obj ? __defProp$1$(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
1772
|
+
var __spreadValues$1$ = (a, b) => {
|
|
1773
|
+
for (var prop in b || (b = {}))
|
|
1774
|
+
if (__hasOwnProp$1$.call(b, prop))
|
|
1775
|
+
__defNormalProp$1$(a, prop, b[prop]);
|
|
1776
|
+
if (__getOwnPropSymbols$1$)
|
|
1777
|
+
for (var prop of __getOwnPropSymbols$1$(b)) {
|
|
1778
|
+
if (__propIsEnum$1$.call(b, prop))
|
|
1779
|
+
__defNormalProp$1$(a, prop, b[prop]);
|
|
1780
|
+
}
|
|
1781
|
+
return a;
|
|
1765
1782
|
};
|
|
1783
|
+
const Badge$1 = React.forwardRef((props, ref) => /* @__PURE__ */ React.createElement(react.Badge, __spreadValues$1$({ ref }, props)));
|
|
1766
1784
|
|
|
1767
1785
|
var __defProp$1_ = Object.defineProperty;
|
|
1768
1786
|
var __getOwnPropSymbols$1_ = Object.getOwnPropertySymbols;
|
|
@@ -1780,7 +1798,31 @@
|
|
|
1780
1798
|
}
|
|
1781
1799
|
return a;
|
|
1782
1800
|
};
|
|
1783
|
-
|
|
1801
|
+
var __objRest$1w = (source, exclude) => {
|
|
1802
|
+
var target = {};
|
|
1803
|
+
for (var prop in source)
|
|
1804
|
+
if (__hasOwnProp$1_.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
1805
|
+
target[prop] = source[prop];
|
|
1806
|
+
if (source != null && __getOwnPropSymbols$1_)
|
|
1807
|
+
for (var prop of __getOwnPropSymbols$1_(source)) {
|
|
1808
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$1_.call(source, prop))
|
|
1809
|
+
target[prop] = source[prop];
|
|
1810
|
+
}
|
|
1811
|
+
return target;
|
|
1812
|
+
};
|
|
1813
|
+
const Blinker$1 = (_a) => {
|
|
1814
|
+
var _b = _a, {
|
|
1815
|
+
color = "",
|
|
1816
|
+
size,
|
|
1817
|
+
isBlinking = true
|
|
1818
|
+
} = _b, rest = __objRest$1w(_b, [
|
|
1819
|
+
"color",
|
|
1820
|
+
"size",
|
|
1821
|
+
"isBlinking"
|
|
1822
|
+
]);
|
|
1823
|
+
const styles = react.useStyleConfig("Blinker", { color, size, isBlinking });
|
|
1824
|
+
return /* @__PURE__ */ React.createElement(react.Box, __spreadValues$1_({ sx: styles, "data-testid": "blinker-test-id" }, rest));
|
|
1825
|
+
};
|
|
1784
1826
|
|
|
1785
1827
|
var __defProp$1Z = Object.defineProperty;
|
|
1786
1828
|
var __getOwnPropSymbols$1Z = Object.getOwnPropertySymbols;
|
|
@@ -1810,18 +1852,9 @@
|
|
|
1810
1852
|
}
|
|
1811
1853
|
return target;
|
|
1812
1854
|
};
|
|
1813
|
-
const
|
|
1814
|
-
var
|
|
1815
|
-
|
|
1816
|
-
size,
|
|
1817
|
-
isBlinking = true
|
|
1818
|
-
} = _b, rest = __objRest$1v(_b, [
|
|
1819
|
-
"color",
|
|
1820
|
-
"size",
|
|
1821
|
-
"isBlinking"
|
|
1822
|
-
]);
|
|
1823
|
-
const styles = react.useStyleConfig("Blinker", { color, size, isBlinking });
|
|
1824
|
-
return /* @__PURE__ */ React.createElement(react.Box, __spreadValues$1Z({ sx: styles, "data-testid": "blinker-test-id" }, rest));
|
|
1855
|
+
const Spinner$1 = (_a) => {
|
|
1856
|
+
var rest = __objRest$1v(_a, []);
|
|
1857
|
+
return /* @__PURE__ */ React.createElement(react.Spinner, __spreadValues$1Z({}, rest));
|
|
1825
1858
|
};
|
|
1826
1859
|
|
|
1827
1860
|
var __defProp$1Y = Object.defineProperty;
|
|
@@ -1852,39 +1885,6 @@
|
|
|
1852
1885
|
}
|
|
1853
1886
|
return target;
|
|
1854
1887
|
};
|
|
1855
|
-
const Spinner$1 = (_a) => {
|
|
1856
|
-
var rest = __objRest$1u(_a, []);
|
|
1857
|
-
return /* @__PURE__ */ React.createElement(react.Spinner, __spreadValues$1Y({}, rest));
|
|
1858
|
-
};
|
|
1859
|
-
|
|
1860
|
-
var __defProp$1X = Object.defineProperty;
|
|
1861
|
-
var __getOwnPropSymbols$1X = Object.getOwnPropertySymbols;
|
|
1862
|
-
var __hasOwnProp$1X = Object.prototype.hasOwnProperty;
|
|
1863
|
-
var __propIsEnum$1X = Object.prototype.propertyIsEnumerable;
|
|
1864
|
-
var __defNormalProp$1X = (obj, key, value) => key in obj ? __defProp$1X(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
1865
|
-
var __spreadValues$1X = (a, b) => {
|
|
1866
|
-
for (var prop in b || (b = {}))
|
|
1867
|
-
if (__hasOwnProp$1X.call(b, prop))
|
|
1868
|
-
__defNormalProp$1X(a, prop, b[prop]);
|
|
1869
|
-
if (__getOwnPropSymbols$1X)
|
|
1870
|
-
for (var prop of __getOwnPropSymbols$1X(b)) {
|
|
1871
|
-
if (__propIsEnum$1X.call(b, prop))
|
|
1872
|
-
__defNormalProp$1X(a, prop, b[prop]);
|
|
1873
|
-
}
|
|
1874
|
-
return a;
|
|
1875
|
-
};
|
|
1876
|
-
var __objRest$1t = (source, exclude) => {
|
|
1877
|
-
var target = {};
|
|
1878
|
-
for (var prop in source)
|
|
1879
|
-
if (__hasOwnProp$1X.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
1880
|
-
target[prop] = source[prop];
|
|
1881
|
-
if (source != null && __getOwnPropSymbols$1X)
|
|
1882
|
-
for (var prop of __getOwnPropSymbols$1X(source)) {
|
|
1883
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$1X.call(source, prop))
|
|
1884
|
-
target[prop] = source[prop];
|
|
1885
|
-
}
|
|
1886
|
-
return target;
|
|
1887
|
-
};
|
|
1888
1888
|
const SpinnerSizeMap = {
|
|
1889
1889
|
xs: "xs",
|
|
1890
1890
|
sm: "sm",
|
|
@@ -1893,10 +1893,10 @@
|
|
|
1893
1893
|
};
|
|
1894
1894
|
const Button$1 = React.forwardRef(
|
|
1895
1895
|
(_a, ref) => {
|
|
1896
|
-
var _b = _a, { variant = "default", children, size = "md" } = _b, rest = __objRest$
|
|
1896
|
+
var _b = _a, { variant = "default", children, size = "md" } = _b, rest = __objRest$1u(_b, ["variant", "children", "size"]);
|
|
1897
1897
|
return /* @__PURE__ */ React.createElement(
|
|
1898
1898
|
react.Button,
|
|
1899
|
-
__spreadValues$
|
|
1899
|
+
__spreadValues$1Y({
|
|
1900
1900
|
variant,
|
|
1901
1901
|
ref,
|
|
1902
1902
|
size,
|
|
@@ -1912,30 +1912,30 @@
|
|
|
1912
1912
|
}
|
|
1913
1913
|
);
|
|
1914
1914
|
|
|
1915
|
-
var __defProp$
|
|
1916
|
-
var __getOwnPropSymbols$
|
|
1917
|
-
var __hasOwnProp$
|
|
1918
|
-
var __propIsEnum$
|
|
1919
|
-
var __defNormalProp$
|
|
1920
|
-
var __spreadValues$
|
|
1915
|
+
var __defProp$1X = Object.defineProperty;
|
|
1916
|
+
var __getOwnPropSymbols$1X = Object.getOwnPropertySymbols;
|
|
1917
|
+
var __hasOwnProp$1X = Object.prototype.hasOwnProperty;
|
|
1918
|
+
var __propIsEnum$1X = Object.prototype.propertyIsEnumerable;
|
|
1919
|
+
var __defNormalProp$1X = (obj, key, value) => key in obj ? __defProp$1X(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
1920
|
+
var __spreadValues$1X = (a, b) => {
|
|
1921
1921
|
for (var prop in b || (b = {}))
|
|
1922
|
-
if (__hasOwnProp$
|
|
1923
|
-
__defNormalProp$
|
|
1924
|
-
if (__getOwnPropSymbols$
|
|
1925
|
-
for (var prop of __getOwnPropSymbols$
|
|
1926
|
-
if (__propIsEnum$
|
|
1927
|
-
__defNormalProp$
|
|
1922
|
+
if (__hasOwnProp$1X.call(b, prop))
|
|
1923
|
+
__defNormalProp$1X(a, prop, b[prop]);
|
|
1924
|
+
if (__getOwnPropSymbols$1X)
|
|
1925
|
+
for (var prop of __getOwnPropSymbols$1X(b)) {
|
|
1926
|
+
if (__propIsEnum$1X.call(b, prop))
|
|
1927
|
+
__defNormalProp$1X(a, prop, b[prop]);
|
|
1928
1928
|
}
|
|
1929
1929
|
return a;
|
|
1930
1930
|
};
|
|
1931
|
-
var __objRest$
|
|
1931
|
+
var __objRest$1t = (source, exclude) => {
|
|
1932
1932
|
var target = {};
|
|
1933
1933
|
for (var prop in source)
|
|
1934
|
-
if (__hasOwnProp$
|
|
1934
|
+
if (__hasOwnProp$1X.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
1935
1935
|
target[prop] = source[prop];
|
|
1936
|
-
if (source != null && __getOwnPropSymbols$
|
|
1937
|
-
for (var prop of __getOwnPropSymbols$
|
|
1938
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
1936
|
+
if (source != null && __getOwnPropSymbols$1X)
|
|
1937
|
+
for (var prop of __getOwnPropSymbols$1X(source)) {
|
|
1938
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$1X.call(source, prop))
|
|
1939
1939
|
target[prop] = source[prop];
|
|
1940
1940
|
}
|
|
1941
1941
|
return target;
|
|
@@ -1947,22 +1947,22 @@
|
|
|
1947
1947
|
name,
|
|
1948
1948
|
size = "md",
|
|
1949
1949
|
variant = "default"
|
|
1950
|
-
} = _b, rest = __objRest$
|
|
1950
|
+
} = _b, rest = __objRest$1t(_b, [
|
|
1951
1951
|
"value",
|
|
1952
1952
|
"onChange",
|
|
1953
1953
|
"name",
|
|
1954
1954
|
"size",
|
|
1955
1955
|
"variant"
|
|
1956
1956
|
]);
|
|
1957
|
+
const controlledValue = typeof value === "boolean" ? { isChecked: value } : { value };
|
|
1957
1958
|
return /* @__PURE__ */ React.createElement(
|
|
1958
1959
|
react.Checkbox,
|
|
1959
|
-
__spreadValues$
|
|
1960
|
+
__spreadValues$1X(__spreadValues$1X({
|
|
1960
1961
|
size,
|
|
1961
1962
|
id: name,
|
|
1962
1963
|
onChange,
|
|
1963
|
-
isChecked: value,
|
|
1964
1964
|
variant
|
|
1965
|
-
}, rest)
|
|
1965
|
+
}, controlledValue), rest)
|
|
1966
1966
|
);
|
|
1967
1967
|
};
|
|
1968
1968
|
|
|
@@ -1982,30 +1982,30 @@
|
|
|
1982
1982
|
return newObj;
|
|
1983
1983
|
};
|
|
1984
1984
|
|
|
1985
|
-
var __defProp$
|
|
1986
|
-
var __getOwnPropSymbols$
|
|
1987
|
-
var __hasOwnProp$
|
|
1988
|
-
var __propIsEnum$
|
|
1989
|
-
var __defNormalProp$
|
|
1990
|
-
var __spreadValues$
|
|
1985
|
+
var __defProp$1W = Object.defineProperty;
|
|
1986
|
+
var __getOwnPropSymbols$1W = Object.getOwnPropertySymbols;
|
|
1987
|
+
var __hasOwnProp$1W = Object.prototype.hasOwnProperty;
|
|
1988
|
+
var __propIsEnum$1W = Object.prototype.propertyIsEnumerable;
|
|
1989
|
+
var __defNormalProp$1W = (obj, key, value) => key in obj ? __defProp$1W(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
1990
|
+
var __spreadValues$1W = (a, b) => {
|
|
1991
1991
|
for (var prop in b || (b = {}))
|
|
1992
|
-
if (__hasOwnProp$
|
|
1993
|
-
__defNormalProp$
|
|
1994
|
-
if (__getOwnPropSymbols$
|
|
1995
|
-
for (var prop of __getOwnPropSymbols$
|
|
1996
|
-
if (__propIsEnum$
|
|
1997
|
-
__defNormalProp$
|
|
1992
|
+
if (__hasOwnProp$1W.call(b, prop))
|
|
1993
|
+
__defNormalProp$1W(a, prop, b[prop]);
|
|
1994
|
+
if (__getOwnPropSymbols$1W)
|
|
1995
|
+
for (var prop of __getOwnPropSymbols$1W(b)) {
|
|
1996
|
+
if (__propIsEnum$1W.call(b, prop))
|
|
1997
|
+
__defNormalProp$1W(a, prop, b[prop]);
|
|
1998
1998
|
}
|
|
1999
1999
|
return a;
|
|
2000
2000
|
};
|
|
2001
|
-
var __objRest$
|
|
2001
|
+
var __objRest$1s = (source, exclude) => {
|
|
2002
2002
|
var target = {};
|
|
2003
2003
|
for (var prop in source)
|
|
2004
|
-
if (__hasOwnProp$
|
|
2004
|
+
if (__hasOwnProp$1W.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
2005
2005
|
target[prop] = source[prop];
|
|
2006
|
-
if (source != null && __getOwnPropSymbols$
|
|
2007
|
-
for (var prop of __getOwnPropSymbols$
|
|
2008
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
2006
|
+
if (source != null && __getOwnPropSymbols$1W)
|
|
2007
|
+
for (var prop of __getOwnPropSymbols$1W(source)) {
|
|
2008
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$1W.call(source, prop))
|
|
2009
2009
|
target[prop] = source[prop];
|
|
2010
2010
|
}
|
|
2011
2011
|
return target;
|
|
@@ -2022,7 +2022,7 @@
|
|
|
2022
2022
|
shouldTrim = true,
|
|
2023
2023
|
innerFormStyle = {},
|
|
2024
2024
|
joiSchema
|
|
2025
|
-
} = _b, rest = __objRest$
|
|
2025
|
+
} = _b, rest = __objRest$1s(_b, [
|
|
2026
2026
|
"initialValues",
|
|
2027
2027
|
"onSubmit",
|
|
2028
2028
|
"children",
|
|
@@ -2045,7 +2045,7 @@
|
|
|
2045
2045
|
return joi.joiResolver(joiSchema);
|
|
2046
2046
|
return void 0;
|
|
2047
2047
|
};
|
|
2048
|
-
const newMethods = methods || reactHookForm.useForm(__spreadValues$
|
|
2048
|
+
const newMethods = methods || reactHookForm.useForm(__spreadValues$1W({
|
|
2049
2049
|
defaultValues: initialValues,
|
|
2050
2050
|
resolver: getResolver()
|
|
2051
2051
|
}, formSettings));
|
|
@@ -2071,36 +2071,36 @@
|
|
|
2071
2071
|
newMethods.trigger();
|
|
2072
2072
|
e.preventDefault();
|
|
2073
2073
|
};
|
|
2074
|
-
return /* @__PURE__ */ React.createElement(reactHookForm.FormProvider, __spreadValues$
|
|
2074
|
+
return /* @__PURE__ */ React.createElement(reactHookForm.FormProvider, __spreadValues$1W(__spreadValues$1W({}, newMethods), rest), /* @__PURE__ */ React.createElement("form", { style: __spreadValues$1W({ width: "100%" }, innerFormStyle), onSubmit: handleSubmit }, typeof children === "function" ? children(newMethods) : children));
|
|
2075
2075
|
});
|
|
2076
2076
|
|
|
2077
|
-
var __defProp$
|
|
2077
|
+
var __defProp$1V = Object.defineProperty;
|
|
2078
2078
|
var __defProps$u = Object.defineProperties;
|
|
2079
2079
|
var __getOwnPropDescs$u = Object.getOwnPropertyDescriptors;
|
|
2080
|
-
var __getOwnPropSymbols$
|
|
2081
|
-
var __hasOwnProp$
|
|
2082
|
-
var __propIsEnum$
|
|
2083
|
-
var __defNormalProp$
|
|
2084
|
-
var __spreadValues$
|
|
2080
|
+
var __getOwnPropSymbols$1V = Object.getOwnPropertySymbols;
|
|
2081
|
+
var __hasOwnProp$1V = Object.prototype.hasOwnProperty;
|
|
2082
|
+
var __propIsEnum$1V = Object.prototype.propertyIsEnumerable;
|
|
2083
|
+
var __defNormalProp$1V = (obj, key, value) => key in obj ? __defProp$1V(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2084
|
+
var __spreadValues$1V = (a, b) => {
|
|
2085
2085
|
for (var prop in b || (b = {}))
|
|
2086
|
-
if (__hasOwnProp$
|
|
2087
|
-
__defNormalProp$
|
|
2088
|
-
if (__getOwnPropSymbols$
|
|
2089
|
-
for (var prop of __getOwnPropSymbols$
|
|
2090
|
-
if (__propIsEnum$
|
|
2091
|
-
__defNormalProp$
|
|
2086
|
+
if (__hasOwnProp$1V.call(b, prop))
|
|
2087
|
+
__defNormalProp$1V(a, prop, b[prop]);
|
|
2088
|
+
if (__getOwnPropSymbols$1V)
|
|
2089
|
+
for (var prop of __getOwnPropSymbols$1V(b)) {
|
|
2090
|
+
if (__propIsEnum$1V.call(b, prop))
|
|
2091
|
+
__defNormalProp$1V(a, prop, b[prop]);
|
|
2092
2092
|
}
|
|
2093
2093
|
return a;
|
|
2094
2094
|
};
|
|
2095
2095
|
var __spreadProps$u = (a, b) => __defProps$u(a, __getOwnPropDescs$u(b));
|
|
2096
|
-
var __objRest$
|
|
2096
|
+
var __objRest$1r = (source, exclude) => {
|
|
2097
2097
|
var target = {};
|
|
2098
2098
|
for (var prop in source)
|
|
2099
|
-
if (__hasOwnProp$
|
|
2099
|
+
if (__hasOwnProp$1V.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
2100
2100
|
target[prop] = source[prop];
|
|
2101
|
-
if (source != null && __getOwnPropSymbols$
|
|
2102
|
-
for (var prop of __getOwnPropSymbols$
|
|
2103
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
2101
|
+
if (source != null && __getOwnPropSymbols$1V)
|
|
2102
|
+
for (var prop of __getOwnPropSymbols$1V(source)) {
|
|
2103
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$1V.call(source, prop))
|
|
2104
2104
|
target[prop] = source[prop];
|
|
2105
2105
|
}
|
|
2106
2106
|
return target;
|
|
@@ -2108,12 +2108,12 @@
|
|
|
2108
2108
|
const FormLabel = React.forwardRef((_a, ref) => {
|
|
2109
2109
|
var _b = _a, {
|
|
2110
2110
|
children: label
|
|
2111
|
-
} = _b, rest = __objRest$
|
|
2111
|
+
} = _b, rest = __objRest$1r(_b, [
|
|
2112
2112
|
"children"
|
|
2113
2113
|
]);
|
|
2114
2114
|
return /* @__PURE__ */ React.createElement(
|
|
2115
2115
|
Label$1,
|
|
2116
|
-
__spreadProps$u(__spreadValues$
|
|
2116
|
+
__spreadProps$u(__spreadValues$1V({
|
|
2117
2117
|
size: "sm",
|
|
2118
2118
|
sx: {
|
|
2119
2119
|
width: "80%",
|
|
@@ -2129,30 +2129,30 @@
|
|
|
2129
2129
|
);
|
|
2130
2130
|
});
|
|
2131
2131
|
|
|
2132
|
-
var __defProp$
|
|
2133
|
-
var __getOwnPropSymbols$
|
|
2134
|
-
var __hasOwnProp$
|
|
2135
|
-
var __propIsEnum$
|
|
2136
|
-
var __defNormalProp$
|
|
2137
|
-
var __spreadValues$
|
|
2132
|
+
var __defProp$1U = Object.defineProperty;
|
|
2133
|
+
var __getOwnPropSymbols$1U = Object.getOwnPropertySymbols;
|
|
2134
|
+
var __hasOwnProp$1U = Object.prototype.hasOwnProperty;
|
|
2135
|
+
var __propIsEnum$1U = Object.prototype.propertyIsEnumerable;
|
|
2136
|
+
var __defNormalProp$1U = (obj, key, value) => key in obj ? __defProp$1U(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2137
|
+
var __spreadValues$1U = (a, b) => {
|
|
2138
2138
|
for (var prop in b || (b = {}))
|
|
2139
|
-
if (__hasOwnProp$
|
|
2140
|
-
__defNormalProp$
|
|
2141
|
-
if (__getOwnPropSymbols$
|
|
2142
|
-
for (var prop of __getOwnPropSymbols$
|
|
2143
|
-
if (__propIsEnum$
|
|
2144
|
-
__defNormalProp$
|
|
2139
|
+
if (__hasOwnProp$1U.call(b, prop))
|
|
2140
|
+
__defNormalProp$1U(a, prop, b[prop]);
|
|
2141
|
+
if (__getOwnPropSymbols$1U)
|
|
2142
|
+
for (var prop of __getOwnPropSymbols$1U(b)) {
|
|
2143
|
+
if (__propIsEnum$1U.call(b, prop))
|
|
2144
|
+
__defNormalProp$1U(a, prop, b[prop]);
|
|
2145
2145
|
}
|
|
2146
2146
|
return a;
|
|
2147
2147
|
};
|
|
2148
|
-
var __objRest$
|
|
2148
|
+
var __objRest$1q = (source, exclude) => {
|
|
2149
2149
|
var target = {};
|
|
2150
2150
|
for (var prop in source)
|
|
2151
|
-
if (__hasOwnProp$
|
|
2151
|
+
if (__hasOwnProp$1U.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
2152
2152
|
target[prop] = source[prop];
|
|
2153
|
-
if (source != null && __getOwnPropSymbols$
|
|
2154
|
-
for (var prop of __getOwnPropSymbols$
|
|
2155
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
2153
|
+
if (source != null && __getOwnPropSymbols$1U)
|
|
2154
|
+
for (var prop of __getOwnPropSymbols$1U(source)) {
|
|
2155
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$1U.call(source, prop))
|
|
2156
2156
|
target[prop] = source[prop];
|
|
2157
2157
|
}
|
|
2158
2158
|
return target;
|
|
@@ -2167,7 +2167,7 @@
|
|
|
2167
2167
|
noLabelConnection = false,
|
|
2168
2168
|
validate,
|
|
2169
2169
|
control: passedControl
|
|
2170
|
-
} = _b, rest = __objRest$
|
|
2170
|
+
} = _b, rest = __objRest$1q(_b, [
|
|
2171
2171
|
"name",
|
|
2172
2172
|
"label",
|
|
2173
2173
|
"children",
|
|
@@ -2183,7 +2183,7 @@
|
|
|
2183
2183
|
const fieldError = getFieldError(name, errors);
|
|
2184
2184
|
return /* @__PURE__ */ React.createElement(react.FormControl, { isInvalid: !!fieldError, isRequired, ref }, /* @__PURE__ */ React.createElement(
|
|
2185
2185
|
react.Stack,
|
|
2186
|
-
__spreadValues$
|
|
2186
|
+
__spreadValues$1U({
|
|
2187
2187
|
spacing: "auto",
|
|
2188
2188
|
direction,
|
|
2189
2189
|
alignItems: direction === "column" ? "stretch" : "center"
|
|
@@ -2211,30 +2211,30 @@
|
|
|
2211
2211
|
return setValueRefreshed;
|
|
2212
2212
|
};
|
|
2213
2213
|
|
|
2214
|
-
var __defProp$
|
|
2215
|
-
var __getOwnPropSymbols$
|
|
2216
|
-
var __hasOwnProp$
|
|
2217
|
-
var __propIsEnum$
|
|
2218
|
-
var __defNormalProp$
|
|
2219
|
-
var __spreadValues$
|
|
2214
|
+
var __defProp$1T = Object.defineProperty;
|
|
2215
|
+
var __getOwnPropSymbols$1T = Object.getOwnPropertySymbols;
|
|
2216
|
+
var __hasOwnProp$1T = Object.prototype.hasOwnProperty;
|
|
2217
|
+
var __propIsEnum$1T = Object.prototype.propertyIsEnumerable;
|
|
2218
|
+
var __defNormalProp$1T = (obj, key, value) => key in obj ? __defProp$1T(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2219
|
+
var __spreadValues$1T = (a, b) => {
|
|
2220
2220
|
for (var prop in b || (b = {}))
|
|
2221
|
-
if (__hasOwnProp$
|
|
2222
|
-
__defNormalProp$
|
|
2223
|
-
if (__getOwnPropSymbols$
|
|
2224
|
-
for (var prop of __getOwnPropSymbols$
|
|
2225
|
-
if (__propIsEnum$
|
|
2226
|
-
__defNormalProp$
|
|
2221
|
+
if (__hasOwnProp$1T.call(b, prop))
|
|
2222
|
+
__defNormalProp$1T(a, prop, b[prop]);
|
|
2223
|
+
if (__getOwnPropSymbols$1T)
|
|
2224
|
+
for (var prop of __getOwnPropSymbols$1T(b)) {
|
|
2225
|
+
if (__propIsEnum$1T.call(b, prop))
|
|
2226
|
+
__defNormalProp$1T(a, prop, b[prop]);
|
|
2227
2227
|
}
|
|
2228
2228
|
return a;
|
|
2229
2229
|
};
|
|
2230
|
-
var __objRest$
|
|
2230
|
+
var __objRest$1p = (source, exclude) => {
|
|
2231
2231
|
var target = {};
|
|
2232
2232
|
for (var prop in source)
|
|
2233
|
-
if (__hasOwnProp$
|
|
2233
|
+
if (__hasOwnProp$1T.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
2234
2234
|
target[prop] = source[prop];
|
|
2235
|
-
if (source != null && __getOwnPropSymbols$
|
|
2236
|
-
for (var prop of __getOwnPropSymbols$
|
|
2237
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
2235
|
+
if (source != null && __getOwnPropSymbols$1T)
|
|
2236
|
+
for (var prop of __getOwnPropSymbols$1T(source)) {
|
|
2237
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$1T.call(source, prop))
|
|
2238
2238
|
target[prop] = source[prop];
|
|
2239
2239
|
}
|
|
2240
2240
|
return target;
|
|
@@ -2250,7 +2250,7 @@
|
|
|
2250
2250
|
direction = "row",
|
|
2251
2251
|
labelPlacement = "left",
|
|
2252
2252
|
labelSize = "md"
|
|
2253
|
-
} = _b, rest = __objRest$
|
|
2253
|
+
} = _b, rest = __objRest$1p(_b, [
|
|
2254
2254
|
"name",
|
|
2255
2255
|
"label",
|
|
2256
2256
|
"variant",
|
|
@@ -2285,7 +2285,7 @@
|
|
|
2285
2285
|
},
|
|
2286
2286
|
/* @__PURE__ */ React.createElement(
|
|
2287
2287
|
Checkbox$1,
|
|
2288
|
-
__spreadValues$
|
|
2288
|
+
__spreadValues$1T({
|
|
2289
2289
|
name,
|
|
2290
2290
|
onChange: (e) => {
|
|
2291
2291
|
onChange(e);
|
|
@@ -2302,6 +2302,77 @@
|
|
|
2302
2302
|
);
|
|
2303
2303
|
});
|
|
2304
2304
|
|
|
2305
|
+
var __defProp$1S = Object.defineProperty;
|
|
2306
|
+
var __getOwnPropSymbols$1S = Object.getOwnPropertySymbols;
|
|
2307
|
+
var __hasOwnProp$1S = Object.prototype.hasOwnProperty;
|
|
2308
|
+
var __propIsEnum$1S = Object.prototype.propertyIsEnumerable;
|
|
2309
|
+
var __defNormalProp$1S = (obj, key, value) => key in obj ? __defProp$1S(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2310
|
+
var __spreadValues$1S = (a, b) => {
|
|
2311
|
+
for (var prop in b || (b = {}))
|
|
2312
|
+
if (__hasOwnProp$1S.call(b, prop))
|
|
2313
|
+
__defNormalProp$1S(a, prop, b[prop]);
|
|
2314
|
+
if (__getOwnPropSymbols$1S)
|
|
2315
|
+
for (var prop of __getOwnPropSymbols$1S(b)) {
|
|
2316
|
+
if (__propIsEnum$1S.call(b, prop))
|
|
2317
|
+
__defNormalProp$1S(a, prop, b[prop]);
|
|
2318
|
+
}
|
|
2319
|
+
return a;
|
|
2320
|
+
};
|
|
2321
|
+
var __objRest$1o = (source, exclude) => {
|
|
2322
|
+
var target = {};
|
|
2323
|
+
for (var prop in source)
|
|
2324
|
+
if (__hasOwnProp$1S.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
2325
|
+
target[prop] = source[prop];
|
|
2326
|
+
if (source != null && __getOwnPropSymbols$1S)
|
|
2327
|
+
for (var prop of __getOwnPropSymbols$1S(source)) {
|
|
2328
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$1S.call(source, prop))
|
|
2329
|
+
target[prop] = source[prop];
|
|
2330
|
+
}
|
|
2331
|
+
return target;
|
|
2332
|
+
};
|
|
2333
|
+
const CheckboxGroupField = React.forwardRef((_a, ref) => {
|
|
2334
|
+
var _b = _a, {
|
|
2335
|
+
name,
|
|
2336
|
+
label,
|
|
2337
|
+
children,
|
|
2338
|
+
isRequired,
|
|
2339
|
+
direction,
|
|
2340
|
+
validate,
|
|
2341
|
+
onChange: onChangeCallback = ramda.identity
|
|
2342
|
+
} = _b, rest = __objRest$1o(_b, [
|
|
2343
|
+
"name",
|
|
2344
|
+
"label",
|
|
2345
|
+
"children",
|
|
2346
|
+
"isRequired",
|
|
2347
|
+
"direction",
|
|
2348
|
+
"validate",
|
|
2349
|
+
"onChange"
|
|
2350
|
+
]);
|
|
2351
|
+
return /* @__PURE__ */ React.createElement(react.Box, { w: label ? "full" : "fit-content" }, /* @__PURE__ */ React.createElement(
|
|
2352
|
+
Field,
|
|
2353
|
+
{
|
|
2354
|
+
name,
|
|
2355
|
+
label,
|
|
2356
|
+
isRequired,
|
|
2357
|
+
validate,
|
|
2358
|
+
direction,
|
|
2359
|
+
ref
|
|
2360
|
+
},
|
|
2361
|
+
({ onChange, value }) => /* @__PURE__ */ React.createElement(
|
|
2362
|
+
react.CheckboxGroup,
|
|
2363
|
+
__spreadValues$1S({
|
|
2364
|
+
onChange: (e) => {
|
|
2365
|
+
onChange(e);
|
|
2366
|
+
onChangeCallback(e);
|
|
2367
|
+
},
|
|
2368
|
+
value,
|
|
2369
|
+
"data-testid": "checkbox-group-field-test-id"
|
|
2370
|
+
}, rest),
|
|
2371
|
+
children
|
|
2372
|
+
)
|
|
2373
|
+
));
|
|
2374
|
+
});
|
|
2375
|
+
|
|
2305
2376
|
var __defProp$1R = Object.defineProperty;
|
|
2306
2377
|
var __getOwnPropSymbols$1R = Object.getOwnPropertySymbols;
|
|
2307
2378
|
var __hasOwnProp$1R = Object.prototype.hasOwnProperty;
|
|
@@ -4819,6 +4890,11 @@
|
|
|
4819
4890
|
bgColor: color["destructive-alt"],
|
|
4820
4891
|
[$arrowBg.variable]: color["destructive-alt"]
|
|
4821
4892
|
}),
|
|
4893
|
+
error: ({ theme: { colors: color } }) => ({
|
|
4894
|
+
color: "text.over.error",
|
|
4895
|
+
bgColor: color["destructive-alt"],
|
|
4896
|
+
[$arrowBg.variable]: color["destructive-alt"]
|
|
4897
|
+
}),
|
|
4822
4898
|
ai: ({ theme: { colors: color } }) => ({
|
|
4823
4899
|
bgColor: color.bg.ai.default,
|
|
4824
4900
|
[$arrowBg.variable]: color.bg.ai.default
|
|
@@ -7745,12 +7821,12 @@
|
|
|
7745
7821
|
);
|
|
7746
7822
|
});
|
|
7747
7823
|
|
|
7748
|
-
const
|
|
7824
|
+
const tooltipIconMap = {
|
|
7749
7825
|
success: icons.CheckCircleSolid,
|
|
7750
7826
|
warning: icons.AlertTriangleSolid,
|
|
7751
7827
|
error: icons.AlertCircleSolid,
|
|
7752
|
-
danger: icons.
|
|
7753
|
-
info: icons.
|
|
7828
|
+
danger: icons.AlertOctagonSolid,
|
|
7829
|
+
info: icons.InfoSolid,
|
|
7754
7830
|
ai: icons.BrightnessSolid,
|
|
7755
7831
|
default: icons.HelpCircleSolid,
|
|
7756
7832
|
ghost: icons.HelpCircleSolid
|
|
@@ -7799,7 +7875,7 @@
|
|
|
7799
7875
|
"hasIcon"
|
|
7800
7876
|
]);
|
|
7801
7877
|
const iconVariant = variant;
|
|
7802
|
-
const icon =
|
|
7878
|
+
const icon = tooltipIconMap[iconVariant];
|
|
7803
7879
|
const TooltipContent = /* @__PURE__ */ React.createElement(react.HStack, { alignItems: "flex-start" }, hasIcon && /* @__PURE__ */ React.createElement(Icon$1, { as: icon, color: `icon.toast.${iconVariant}` }), /* @__PURE__ */ React.createElement(react.VStack, { spacing: 0, alignItems: "flex-start" }, /* @__PURE__ */ React.createElement(Label$1, { size: "sm" }, title), /* @__PURE__ */ React.createElement(
|
|
7804
7880
|
P$1,
|
|
7805
7881
|
{
|
|
@@ -13336,6 +13412,17 @@
|
|
|
13336
13412
|
);
|
|
13337
13413
|
});
|
|
13338
13414
|
|
|
13415
|
+
const toastIconMap = {
|
|
13416
|
+
success: icons.CheckCircleSolid,
|
|
13417
|
+
warning: icons.AlertTriangleSolid,
|
|
13418
|
+
error: icons.AlertCircleSolid,
|
|
13419
|
+
danger: icons.AlertCircleSolid,
|
|
13420
|
+
info: icons.BellSolid,
|
|
13421
|
+
ai: icons.BrightnessSolid,
|
|
13422
|
+
default: icons.HelpCircleSolid,
|
|
13423
|
+
ghost: icons.HelpCircleSolid
|
|
13424
|
+
};
|
|
13425
|
+
|
|
13339
13426
|
var __defProp$g = Object.defineProperty;
|
|
13340
13427
|
var __getOwnPropSymbols$g = Object.getOwnPropertySymbols;
|
|
13341
13428
|
var __hasOwnProp$g = Object.prototype.hasOwnProperty;
|
|
@@ -15216,6 +15303,7 @@
|
|
|
15216
15303
|
exports.Carousel = Carousel;
|
|
15217
15304
|
exports.Checkbox = Checkbox$1;
|
|
15218
15305
|
exports.CheckboxField = CheckboxField;
|
|
15306
|
+
exports.CheckboxGroupField = CheckboxGroupField;
|
|
15219
15307
|
exports.Clickable = Clickable;
|
|
15220
15308
|
exports.ClipboardInput = ClipboardInput;
|
|
15221
15309
|
exports.Collapse = Collapse;
|