@abgov/react-components 5.4.1 → 6.0.0-alpha.1
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/experimental/form/form-summary.d.ts +2 -1
- package/experimental/form/form.d.ts +10 -21
- package/experimental/form/task-list.d.ts +6 -5
- package/experimental/form/task.d.ts +6 -5
- package/experimental/index.d.ts +2 -2
- package/experimental/resizable-panel/ResizablePanel.d.ts +2 -1
- package/experimental.js +4 -4
- package/experimental.js.map +1 -1
- package/experimental.mjs +4 -4
- package/experimental.mjs.map +1 -1
- package/{icon-1IRcN4Uf.js → icon-DmXlIizF.js} +3 -3
- package/icon-DmXlIizF.js.map +1 -0
- package/{icon-DgSW1II3.mjs → icon-iZ6Uu6WB.mjs} +3 -3
- package/icon-iZ6Uu6WB.mjs.map +1 -0
- package/index.d.ts +60 -61
- package/index.js +241 -257
- package/index.js.map +1 -1
- package/index.mjs +241 -257
- package/index.mjs.map +1 -1
- package/lib/accordion/accordion.d.ts +11 -12
- package/lib/app-header/app-header.d.ts +4 -3
- package/lib/app-header-menu/app-header-menu.d.ts +8 -7
- package/lib/badge/badge.d.ts +10 -10
- package/lib/block/block.d.ts +9 -9
- package/lib/button/button.d.ts +14 -20
- package/lib/button-group/button-group.d.ts +9 -11
- package/lib/calendar/calendar.d.ts +6 -5
- package/lib/callout/callout.d.ts +13 -17
- package/lib/card/card-actions.d.ts +4 -3
- package/lib/card/card-content.d.ts +4 -3
- package/lib/card/card-group.d.ts +4 -3
- package/lib/card/card-image.d.ts +4 -3
- package/lib/card/card.d.ts +6 -4
- package/lib/card/index.d.ts +5 -5
- package/lib/checkbox/checkbox.d.ts +7 -6
- package/lib/chip/chip.d.ts +9 -10
- package/lib/circular-progress/circular-progress.d.ts +9 -11
- package/lib/container/container.d.ts +14 -17
- package/lib/date-picker/date-picker.d.ts +6 -5
- package/lib/details/details.d.ts +6 -6
- package/lib/divider/divider.d.ts +5 -4
- package/lib/drawer/drawer.d.ts +2 -1
- package/lib/dropdown/dropdown-item.d.ts +7 -6
- package/lib/dropdown/dropdown.d.ts +7 -7
- package/lib/fieldset/fieldset.d.ts +7 -6
- package/lib/file-upload-card/file-upload-card.d.ts +8 -6
- package/lib/file-upload-input/file-upload-input.d.ts +8 -7
- package/lib/filter-chip/filter-chip.d.ts +4 -4
- package/lib/footer/footer.d.ts +6 -5
- package/lib/footer-meta-section/footer-meta-section.d.ts +5 -5
- package/lib/footer-nav-section/footer-nav-section.d.ts +5 -4
- package/lib/form-item/form-item.d.ts +11 -12
- package/lib/form-step/form-step.d.ts +7 -7
- package/lib/form-stepper/form-stepper.d.ts +7 -7
- package/lib/grid/grid.d.ts +5 -4
- package/lib/hero-banner/hero-banner-actions.d.ts +4 -3
- package/lib/hero-banner/hero-banner.d.ts +4 -3
- package/lib/icon/icon.d.ts +11 -18
- package/lib/icon-button/icon-button.d.ts +10 -12
- package/lib/input/input.d.ts +39 -42
- package/lib/link/link.d.ts +7 -7
- package/lib/link-button/link-button.d.ts +9 -10
- package/lib/microsite-header/microsite-header.d.ts +12 -14
- package/lib/modal/modal.d.ts +12 -17
- package/lib/notification/notification.d.ts +9 -11
- package/lib/one-column-layout/one-column-layout.d.ts +6 -5
- package/lib/page-block/page-block.d.ts +5 -4
- package/lib/pages/pages.d.ts +6 -5
- package/lib/pagination/pagination.d.ts +7 -6
- package/lib/popover/popover.d.ts +8 -8
- package/lib/radio-group/radio-group.d.ts +9 -9
- package/lib/radio-group/radio.d.ts +5 -4
- package/lib/side-menu/side-menu.d.ts +5 -5
- package/lib/side-menu-group/side-menu-group.d.ts +8 -8
- package/lib/side-menu-heading/side-menu-heading.d.ts +8 -7
- package/lib/skeleton/skeleton.d.ts +10 -12
- package/lib/spacer/spacer.d.ts +9 -9
- package/lib/spinner/spinner.d.ts +10 -10
- package/lib/tab/tab.d.ts +3 -3
- package/lib/table/table-sort-header.d.ts +7 -6
- package/lib/table/table.d.ts +10 -11
- package/lib/tabs/tabs.d.ts +7 -5
- package/lib/text/text.d.ts +11 -16
- package/lib/textarea/textarea.d.ts +9 -10
- package/lib/three-column-layout/three-column-layout.d.ts +5 -4
- package/lib/tooltip/tooltip.d.ts +10 -11
- package/lib/two-column-layout/two-column-layout.d.ts +5 -4
- package/package.json +2 -2
- package/common/styling.d.ts +0 -12
- package/icon-1IRcN4Uf.js.map +0 -1
- package/icon-DgSW1II3.mjs.map +0 -1
package/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useRef, useEffect } from "react";
|
|
3
|
-
import { G } from "./icon-
|
|
4
|
-
function
|
|
3
|
+
import { G } from "./icon-iZ6Uu6WB.mjs";
|
|
4
|
+
function GoabAccordion({
|
|
5
5
|
open,
|
|
6
6
|
heading,
|
|
7
7
|
headingSize,
|
|
@@ -36,9 +36,9 @@ function GoAAccordion({
|
|
|
36
36
|
{
|
|
37
37
|
ref,
|
|
38
38
|
open,
|
|
39
|
-
headingSize,
|
|
39
|
+
headingsize: headingSize,
|
|
40
40
|
heading,
|
|
41
|
-
secondaryText,
|
|
41
|
+
secondarytext: secondaryText,
|
|
42
42
|
iconposition: iconPosition,
|
|
43
43
|
maxwidth: maxWidth,
|
|
44
44
|
testid,
|
|
@@ -53,7 +53,7 @@ function GoAAccordion({
|
|
|
53
53
|
}
|
|
54
54
|
);
|
|
55
55
|
}
|
|
56
|
-
function
|
|
56
|
+
function GoabAppHeader({
|
|
57
57
|
heading,
|
|
58
58
|
url,
|
|
59
59
|
maxContentWidth,
|
|
@@ -93,7 +93,7 @@ function GoAAppHeader({
|
|
|
93
93
|
}
|
|
94
94
|
);
|
|
95
95
|
}
|
|
96
|
-
function
|
|
96
|
+
function GoabAppHeaderMenu(props) {
|
|
97
97
|
return /* @__PURE__ */ jsx(
|
|
98
98
|
"goa-app-header-menu",
|
|
99
99
|
{
|
|
@@ -104,7 +104,7 @@ function GoAAppHeaderMenu(props) {
|
|
|
104
104
|
}
|
|
105
105
|
);
|
|
106
106
|
}
|
|
107
|
-
function
|
|
107
|
+
function GoabBadge({
|
|
108
108
|
type,
|
|
109
109
|
content,
|
|
110
110
|
icon,
|
|
@@ -130,7 +130,7 @@ function GoABadge({
|
|
|
130
130
|
}
|
|
131
131
|
);
|
|
132
132
|
}
|
|
133
|
-
function
|
|
133
|
+
function GoabInfoBadge({
|
|
134
134
|
content,
|
|
135
135
|
testId,
|
|
136
136
|
icon,
|
|
@@ -141,7 +141,7 @@ function GoAInfoBadge({
|
|
|
141
141
|
ariaLabel
|
|
142
142
|
}) {
|
|
143
143
|
return /* @__PURE__ */ jsx(
|
|
144
|
-
|
|
144
|
+
GoabBadge,
|
|
145
145
|
{
|
|
146
146
|
type: "information",
|
|
147
147
|
icon,
|
|
@@ -155,7 +155,7 @@ function GoAInfoBadge({
|
|
|
155
155
|
}
|
|
156
156
|
);
|
|
157
157
|
}
|
|
158
|
-
function
|
|
158
|
+
function GoabSuccessBadge({
|
|
159
159
|
content,
|
|
160
160
|
testId,
|
|
161
161
|
icon,
|
|
@@ -166,7 +166,7 @@ function GoASuccessBadge({
|
|
|
166
166
|
ariaLabel
|
|
167
167
|
}) {
|
|
168
168
|
return /* @__PURE__ */ jsx(
|
|
169
|
-
|
|
169
|
+
GoabBadge,
|
|
170
170
|
{
|
|
171
171
|
type: "success",
|
|
172
172
|
icon,
|
|
@@ -180,7 +180,7 @@ function GoASuccessBadge({
|
|
|
180
180
|
}
|
|
181
181
|
);
|
|
182
182
|
}
|
|
183
|
-
function
|
|
183
|
+
function GoabImportantBadge({
|
|
184
184
|
content,
|
|
185
185
|
testId,
|
|
186
186
|
icon,
|
|
@@ -191,7 +191,7 @@ function GoAImportantBadge({
|
|
|
191
191
|
ariaLabel
|
|
192
192
|
}) {
|
|
193
193
|
return /* @__PURE__ */ jsx(
|
|
194
|
-
|
|
194
|
+
GoabBadge,
|
|
195
195
|
{
|
|
196
196
|
type: "important",
|
|
197
197
|
icon,
|
|
@@ -205,7 +205,7 @@ function GoAImportantBadge({
|
|
|
205
205
|
}
|
|
206
206
|
);
|
|
207
207
|
}
|
|
208
|
-
function
|
|
208
|
+
function GoabEmergencyBadge({
|
|
209
209
|
content,
|
|
210
210
|
testId,
|
|
211
211
|
icon,
|
|
@@ -216,7 +216,7 @@ function GoAEmergencyBadge({
|
|
|
216
216
|
ariaLabel
|
|
217
217
|
}) {
|
|
218
218
|
return /* @__PURE__ */ jsx(
|
|
219
|
-
|
|
219
|
+
GoabBadge,
|
|
220
220
|
{
|
|
221
221
|
type: "emergency",
|
|
222
222
|
icon,
|
|
@@ -230,7 +230,7 @@ function GoAEmergencyBadge({
|
|
|
230
230
|
}
|
|
231
231
|
);
|
|
232
232
|
}
|
|
233
|
-
function
|
|
233
|
+
function GoabBlock(props) {
|
|
234
234
|
return /* @__PURE__ */ jsx(
|
|
235
235
|
"goa-block",
|
|
236
236
|
{
|
|
@@ -246,7 +246,7 @@ function GoABlock(props) {
|
|
|
246
246
|
}
|
|
247
247
|
);
|
|
248
248
|
}
|
|
249
|
-
function
|
|
249
|
+
function GoabButton({
|
|
250
250
|
disabled = false,
|
|
251
251
|
type = "primary",
|
|
252
252
|
size,
|
|
@@ -299,7 +299,7 @@ function GoAButton({
|
|
|
299
299
|
}
|
|
300
300
|
);
|
|
301
301
|
}
|
|
302
|
-
function
|
|
302
|
+
function GoabButtonGroup({
|
|
303
303
|
alignment,
|
|
304
304
|
gap,
|
|
305
305
|
testId,
|
|
@@ -323,7 +323,7 @@ function GoAButtonGroup({
|
|
|
323
323
|
}
|
|
324
324
|
);
|
|
325
325
|
}
|
|
326
|
-
function
|
|
326
|
+
function GoabCalendar({
|
|
327
327
|
name,
|
|
328
328
|
value,
|
|
329
329
|
min,
|
|
@@ -342,7 +342,10 @@ function GoACalendar({
|
|
|
342
342
|
}
|
|
343
343
|
const current = ref.current;
|
|
344
344
|
current.addEventListener("_change", (e) => {
|
|
345
|
-
onChange(
|
|
345
|
+
onChange({
|
|
346
|
+
name: name || "",
|
|
347
|
+
value: e.detail.value
|
|
348
|
+
});
|
|
346
349
|
});
|
|
347
350
|
});
|
|
348
351
|
return /* @__PURE__ */ jsx(
|
|
@@ -361,7 +364,7 @@ function GoACalendar({
|
|
|
361
364
|
}
|
|
362
365
|
);
|
|
363
366
|
}
|
|
364
|
-
const
|
|
367
|
+
const GoabCallout = ({
|
|
365
368
|
heading,
|
|
366
369
|
type = "information",
|
|
367
370
|
iconTheme = "outline",
|
|
@@ -393,7 +396,7 @@ const GoACallout = ({
|
|
|
393
396
|
}
|
|
394
397
|
);
|
|
395
398
|
};
|
|
396
|
-
function
|
|
399
|
+
function GoabCheckbox({
|
|
397
400
|
id,
|
|
398
401
|
name,
|
|
399
402
|
testId,
|
|
@@ -419,8 +422,8 @@ function GoACheckbox({
|
|
|
419
422
|
}
|
|
420
423
|
const current = el.current;
|
|
421
424
|
const listener = (e) => {
|
|
422
|
-
const
|
|
423
|
-
onChange == null ? void 0 : onChange(
|
|
425
|
+
const detail = e.detail;
|
|
426
|
+
onChange == null ? void 0 : onChange(detail);
|
|
424
427
|
};
|
|
425
428
|
current.addEventListener("_change", listener);
|
|
426
429
|
return () => {
|
|
@@ -453,7 +456,7 @@ function GoACheckbox({
|
|
|
453
456
|
}
|
|
454
457
|
);
|
|
455
458
|
}
|
|
456
|
-
const
|
|
459
|
+
const GoabChip = ({
|
|
457
460
|
leadingIcon = "",
|
|
458
461
|
iconTheme = "outline",
|
|
459
462
|
deletable = false,
|
|
@@ -498,7 +501,7 @@ const GoAChip = ({
|
|
|
498
501
|
}
|
|
499
502
|
);
|
|
500
503
|
};
|
|
501
|
-
const
|
|
504
|
+
const GoabCircularProgress = ({
|
|
502
505
|
visible,
|
|
503
506
|
message: message2,
|
|
504
507
|
progress,
|
|
@@ -518,7 +521,7 @@ const GoACircularProgress = ({
|
|
|
518
521
|
}
|
|
519
522
|
);
|
|
520
523
|
};
|
|
521
|
-
function
|
|
524
|
+
function GoabContainer({
|
|
522
525
|
accent,
|
|
523
526
|
heading,
|
|
524
527
|
title,
|
|
@@ -556,7 +559,7 @@ function GoAContainer({
|
|
|
556
559
|
}
|
|
557
560
|
);
|
|
558
561
|
}
|
|
559
|
-
function
|
|
562
|
+
function GoabDatePicker({
|
|
560
563
|
name,
|
|
561
564
|
value,
|
|
562
565
|
error,
|
|
@@ -578,8 +581,8 @@ function GoADatePicker({
|
|
|
578
581
|
}
|
|
579
582
|
const current = ref.current;
|
|
580
583
|
const handleChange = (e) => {
|
|
581
|
-
const
|
|
582
|
-
onChange
|
|
584
|
+
const detail = e.detail;
|
|
585
|
+
onChange(detail);
|
|
583
586
|
};
|
|
584
587
|
current.addEventListener("_change", handleChange);
|
|
585
588
|
return () => {
|
|
@@ -605,7 +608,7 @@ function GoADatePicker({
|
|
|
605
608
|
}
|
|
606
609
|
);
|
|
607
610
|
}
|
|
608
|
-
function
|
|
611
|
+
function GoabDetails(props) {
|
|
609
612
|
return /* @__PURE__ */ jsx(
|
|
610
613
|
"goa-details",
|
|
611
614
|
{
|
|
@@ -621,7 +624,7 @@ function GoADetails(props) {
|
|
|
621
624
|
}
|
|
622
625
|
);
|
|
623
626
|
}
|
|
624
|
-
function
|
|
627
|
+
function GoabDivider(props) {
|
|
625
628
|
return /* @__PURE__ */ jsx(
|
|
626
629
|
"goa-divider",
|
|
627
630
|
{
|
|
@@ -642,7 +645,7 @@ function stringify(value) {
|
|
|
642
645
|
}
|
|
643
646
|
return JSON.stringify(value);
|
|
644
647
|
}
|
|
645
|
-
function
|
|
648
|
+
function GoabDropdown(props) {
|
|
646
649
|
const el = useRef(null);
|
|
647
650
|
useEffect(() => {
|
|
648
651
|
if (!el.current) {
|
|
@@ -650,9 +653,8 @@ function GoADropdown(props) {
|
|
|
650
653
|
}
|
|
651
654
|
const current = el.current;
|
|
652
655
|
const handler = (e) => {
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
(_a = props.onChange) == null ? void 0 : _a.call(props, name, props.multiselect ? values : value);
|
|
656
|
+
const detail = e.detail;
|
|
657
|
+
props.onChange(detail);
|
|
656
658
|
};
|
|
657
659
|
current.addEventListener("_change", handler);
|
|
658
660
|
return () => {
|
|
@@ -687,17 +689,16 @@ function GoADropdown(props) {
|
|
|
687
689
|
}
|
|
688
690
|
);
|
|
689
691
|
}
|
|
690
|
-
function
|
|
692
|
+
function GoabDropdownOption(props) {
|
|
691
693
|
useEffect(() => {
|
|
692
|
-
console.warn("
|
|
694
|
+
console.warn("GoabDropdownOption is deprecated. Please use GoabDropdownItem");
|
|
693
695
|
}, []);
|
|
694
|
-
return /* @__PURE__ */ jsx(
|
|
696
|
+
return /* @__PURE__ */ jsx(GoabDropdownItem, { ...props });
|
|
695
697
|
}
|
|
696
|
-
function
|
|
698
|
+
function GoabDropdownItem({ value, label, filter, name, mountType = "append" }) {
|
|
697
699
|
return /* @__PURE__ */ jsx(
|
|
698
700
|
"goa-dropdown-item",
|
|
699
701
|
{
|
|
700
|
-
"data-testid": testId,
|
|
701
702
|
value,
|
|
702
703
|
label,
|
|
703
704
|
filter,
|
|
@@ -706,7 +707,7 @@ function GoADropdownItem({ value, label, filter, name, testId, mountType = "rese
|
|
|
706
707
|
}
|
|
707
708
|
);
|
|
708
709
|
}
|
|
709
|
-
function
|
|
710
|
+
function GoabFieldset({
|
|
710
711
|
heading,
|
|
711
712
|
buttonText,
|
|
712
713
|
id,
|
|
@@ -723,8 +724,8 @@ function GoAFieldset({
|
|
|
723
724
|
useEffect(() => {
|
|
724
725
|
var _a;
|
|
725
726
|
const _continue = (e) => {
|
|
726
|
-
const
|
|
727
|
-
return onContinue == null ? void 0 : onContinue(
|
|
727
|
+
const event = e.detail;
|
|
728
|
+
return onContinue == null ? void 0 : onContinue(event);
|
|
728
729
|
};
|
|
729
730
|
if (onContinue) {
|
|
730
731
|
(_a = ref.current) == null ? void 0 : _a.addEventListener("_continue", _continue);
|
|
@@ -753,7 +754,7 @@ function GoAFieldset({
|
|
|
753
754
|
}
|
|
754
755
|
);
|
|
755
756
|
}
|
|
756
|
-
function
|
|
757
|
+
function GoabFileUploadCard({
|
|
757
758
|
filename,
|
|
758
759
|
size,
|
|
759
760
|
type,
|
|
@@ -767,8 +768,8 @@ function GoAFileUploadCard({
|
|
|
767
768
|
useEffect(() => {
|
|
768
769
|
if (!el.current) return;
|
|
769
770
|
const current = el.current;
|
|
770
|
-
const deleteHandler = () => onDelete == null ? void 0 : onDelete();
|
|
771
|
-
const cancelHandler = () => onCancel == null ? void 0 : onCancel();
|
|
771
|
+
const deleteHandler = () => onDelete == null ? void 0 : onDelete({ filename });
|
|
772
|
+
const cancelHandler = () => onCancel == null ? void 0 : onCancel({ filename });
|
|
772
773
|
current.addEventListener("_delete", deleteHandler);
|
|
773
774
|
current.addEventListener("_cancel", cancelHandler);
|
|
774
775
|
return () => {
|
|
@@ -789,7 +790,7 @@ function GoAFileUploadCard({
|
|
|
789
790
|
}
|
|
790
791
|
);
|
|
791
792
|
}
|
|
792
|
-
function
|
|
793
|
+
function GoabFileUploadInput({
|
|
793
794
|
variant,
|
|
794
795
|
accept,
|
|
795
796
|
maxFileSize,
|
|
@@ -801,7 +802,8 @@ function GoAFileUploadInput({
|
|
|
801
802
|
if (!el.current) return;
|
|
802
803
|
const current = el.current;
|
|
803
804
|
const handler = (e) => {
|
|
804
|
-
|
|
805
|
+
const detail = e.detail;
|
|
806
|
+
onSelectFile(detail);
|
|
805
807
|
};
|
|
806
808
|
current.addEventListener("_selectFile", handler);
|
|
807
809
|
return () => {
|
|
@@ -819,14 +821,17 @@ function GoAFileUploadInput({
|
|
|
819
821
|
}
|
|
820
822
|
);
|
|
821
823
|
}
|
|
822
|
-
function
|
|
824
|
+
function GoabAppFooter({
|
|
823
825
|
maxContentWidth,
|
|
824
826
|
children,
|
|
825
827
|
testId
|
|
826
828
|
}) {
|
|
827
829
|
return /* @__PURE__ */ jsx("goa-app-footer", { maxcontentwidth: maxContentWidth, testid: testId, children });
|
|
828
830
|
}
|
|
829
|
-
function
|
|
831
|
+
function GoabAppFooterMetaSection({
|
|
832
|
+
testId,
|
|
833
|
+
children
|
|
834
|
+
}) {
|
|
830
835
|
return /* @__PURE__ */ jsx(
|
|
831
836
|
"goa-app-footer-meta-section",
|
|
832
837
|
{
|
|
@@ -836,7 +841,7 @@ function GoAAppFooterMetaSection({ testId, children }) {
|
|
|
836
841
|
}
|
|
837
842
|
);
|
|
838
843
|
}
|
|
839
|
-
function
|
|
844
|
+
function GoabAppFooterNavSection({
|
|
840
845
|
heading,
|
|
841
846
|
maxColumnCount = 1,
|
|
842
847
|
testId,
|
|
@@ -853,7 +858,7 @@ function GoAAppFooterNavSection({
|
|
|
853
858
|
}
|
|
854
859
|
);
|
|
855
860
|
}
|
|
856
|
-
function
|
|
861
|
+
function GoabFormItem({
|
|
857
862
|
children,
|
|
858
863
|
helpText,
|
|
859
864
|
error,
|
|
@@ -891,10 +896,10 @@ function GoAFormItem({
|
|
|
891
896
|
}
|
|
892
897
|
);
|
|
893
898
|
}
|
|
894
|
-
function
|
|
899
|
+
function GoabFormStep(props) {
|
|
895
900
|
return /* @__PURE__ */ jsx("goa-form-step", { text: props.text, status: props.status });
|
|
896
901
|
}
|
|
897
|
-
function
|
|
902
|
+
function GoabFormStepper({
|
|
898
903
|
testId,
|
|
899
904
|
step,
|
|
900
905
|
mt,
|
|
@@ -911,8 +916,8 @@ function GoAFormStepper({
|
|
|
911
916
|
}
|
|
912
917
|
const current = ref.current;
|
|
913
918
|
const changeListener = (e) => {
|
|
914
|
-
const
|
|
915
|
-
onChange == null ? void 0 : onChange(
|
|
919
|
+
const detail = e.detail;
|
|
920
|
+
onChange == null ? void 0 : onChange(detail);
|
|
916
921
|
};
|
|
917
922
|
current.addEventListener("_change", changeListener);
|
|
918
923
|
return () => {
|
|
@@ -933,7 +938,7 @@ function GoAFormStepper({
|
|
|
933
938
|
}
|
|
934
939
|
);
|
|
935
940
|
}
|
|
936
|
-
function
|
|
941
|
+
function GoabGrid({
|
|
937
942
|
gap,
|
|
938
943
|
minChildWidth,
|
|
939
944
|
mt,
|
|
@@ -947,8 +952,8 @@ function GoAGrid({
|
|
|
947
952
|
"goa-grid",
|
|
948
953
|
{
|
|
949
954
|
gap,
|
|
950
|
-
mt,
|
|
951
955
|
minchildwidth: minChildWidth,
|
|
956
|
+
mt,
|
|
952
957
|
mr,
|
|
953
958
|
mb,
|
|
954
959
|
ml,
|
|
@@ -957,7 +962,7 @@ function GoAGrid({
|
|
|
957
962
|
}
|
|
958
963
|
);
|
|
959
964
|
}
|
|
960
|
-
function
|
|
965
|
+
function GoabHeroBanner({
|
|
961
966
|
heading,
|
|
962
967
|
backgroundUrl,
|
|
963
968
|
minHeight,
|
|
@@ -981,12 +986,12 @@ function GoAHeroBanner({
|
|
|
981
986
|
}
|
|
982
987
|
);
|
|
983
988
|
}
|
|
984
|
-
function
|
|
989
|
+
function GoabHeroBannerActions({
|
|
985
990
|
children
|
|
986
991
|
}) {
|
|
987
992
|
return /* @__PURE__ */ jsx("div", { slot: "actions", children });
|
|
988
993
|
}
|
|
989
|
-
function
|
|
994
|
+
function GoabIconButton({
|
|
990
995
|
icon,
|
|
991
996
|
disabled,
|
|
992
997
|
variant = "color",
|
|
@@ -2641,7 +2646,7 @@ function validateTime(hours, minutes, seconds) {
|
|
|
2641
2646
|
function validateTimezone(_hours, minutes) {
|
|
2642
2647
|
return minutes >= 0 && minutes <= 59;
|
|
2643
2648
|
}
|
|
2644
|
-
function
|
|
2649
|
+
function GoabInput({
|
|
2645
2650
|
id,
|
|
2646
2651
|
debounce,
|
|
2647
2652
|
name,
|
|
@@ -2684,23 +2689,23 @@ function GoAInput({
|
|
|
2684
2689
|
}
|
|
2685
2690
|
const current = ref.current;
|
|
2686
2691
|
const changeListener = (e) => {
|
|
2687
|
-
const
|
|
2688
|
-
onChange
|
|
2692
|
+
const detail = e.detail;
|
|
2693
|
+
onChange(detail);
|
|
2689
2694
|
};
|
|
2690
2695
|
const clickListener = () => {
|
|
2691
2696
|
onTrailingIconClick == null ? void 0 : onTrailingIconClick();
|
|
2692
2697
|
};
|
|
2693
2698
|
const focusListener = (e) => {
|
|
2694
|
-
const
|
|
2695
|
-
onFocus == null ? void 0 : onFocus(
|
|
2699
|
+
const detail = e.detail;
|
|
2700
|
+
onFocus == null ? void 0 : onFocus(detail);
|
|
2696
2701
|
};
|
|
2697
2702
|
const blurListener = (e) => {
|
|
2698
|
-
const
|
|
2699
|
-
onBlur == null ? void 0 : onBlur(
|
|
2703
|
+
const detail = e.detail;
|
|
2704
|
+
onBlur == null ? void 0 : onBlur(detail);
|
|
2700
2705
|
};
|
|
2701
2706
|
const keypressListener = (e) => {
|
|
2702
|
-
const
|
|
2703
|
-
onKeyPress == null ? void 0 : onKeyPress(
|
|
2707
|
+
const detail = e.detail;
|
|
2708
|
+
onKeyPress == null ? void 0 : onKeyPress(detail);
|
|
2704
2709
|
};
|
|
2705
2710
|
current.addEventListener("_change", changeListener);
|
|
2706
2711
|
current.addEventListener("_trailingIconClick", clickListener);
|
|
@@ -2755,25 +2760,28 @@ function GoAInput({
|
|
|
2755
2760
|
);
|
|
2756
2761
|
}
|
|
2757
2762
|
const onDateChangeHandler = (onChange) => {
|
|
2758
|
-
return (name, value) => {
|
|
2759
|
-
if (!onChange) return;
|
|
2763
|
+
return ({ name, value }) => {
|
|
2760
2764
|
if (!value) {
|
|
2761
|
-
onChange(name, "");
|
|
2765
|
+
onChange({ name, value: "" });
|
|
2766
|
+
return;
|
|
2767
|
+
}
|
|
2768
|
+
if (typeof value === "string" && isValid(new Date(value))) {
|
|
2769
|
+
onChange({ name, value: parseISO(value) });
|
|
2762
2770
|
return;
|
|
2763
2771
|
}
|
|
2764
|
-
if (isValid(
|
|
2765
|
-
onChange(name,
|
|
2772
|
+
if (isValid(value)) {
|
|
2773
|
+
onChange({ name, value });
|
|
2774
|
+
return;
|
|
2766
2775
|
}
|
|
2767
2776
|
};
|
|
2768
2777
|
};
|
|
2769
2778
|
const onTimeChangeHandler = (onChange) => {
|
|
2770
|
-
return (name, value) => {
|
|
2771
|
-
if (!onChange) return;
|
|
2779
|
+
return ({ name, value }) => {
|
|
2772
2780
|
if (!value) {
|
|
2773
|
-
onChange(name, "");
|
|
2781
|
+
onChange({ name, value: "" });
|
|
2774
2782
|
return;
|
|
2775
2783
|
}
|
|
2776
|
-
onChange(name, value);
|
|
2784
|
+
onChange({ name, value });
|
|
2777
2785
|
};
|
|
2778
2786
|
};
|
|
2779
2787
|
function toString(value, tmpl = "yyyy-MM-dd") {
|
|
@@ -2788,20 +2796,20 @@ function toString(value, tmpl = "yyyy-MM-dd") {
|
|
|
2788
2796
|
}
|
|
2789
2797
|
return format(value, tmpl);
|
|
2790
2798
|
}
|
|
2791
|
-
function
|
|
2792
|
-
return /* @__PURE__ */ jsx(
|
|
2799
|
+
function GoabInputText(props) {
|
|
2800
|
+
return /* @__PURE__ */ jsx(GoabInput, { ...props, type: "text" });
|
|
2793
2801
|
}
|
|
2794
|
-
function
|
|
2795
|
-
return /* @__PURE__ */ jsx(
|
|
2802
|
+
function GoabInputPassword(props) {
|
|
2803
|
+
return /* @__PURE__ */ jsx(GoabInput, { ...props, type: "password" });
|
|
2796
2804
|
}
|
|
2797
|
-
function
|
|
2805
|
+
function GoabInputDate({
|
|
2798
2806
|
value,
|
|
2799
2807
|
min = "",
|
|
2800
2808
|
max = "",
|
|
2801
2809
|
...props
|
|
2802
2810
|
}) {
|
|
2803
2811
|
return /* @__PURE__ */ jsx(
|
|
2804
|
-
|
|
2812
|
+
GoabInput,
|
|
2805
2813
|
{
|
|
2806
2814
|
...props,
|
|
2807
2815
|
type: "date",
|
|
@@ -2812,14 +2820,14 @@ function GoAInputDate({
|
|
|
2812
2820
|
}
|
|
2813
2821
|
);
|
|
2814
2822
|
}
|
|
2815
|
-
function
|
|
2823
|
+
function GoabInputTime({
|
|
2816
2824
|
value,
|
|
2817
2825
|
min = "",
|
|
2818
2826
|
max = "",
|
|
2819
2827
|
...props
|
|
2820
2828
|
}) {
|
|
2821
2829
|
return /* @__PURE__ */ jsx(
|
|
2822
|
-
|
|
2830
|
+
GoabInput,
|
|
2823
2831
|
{
|
|
2824
2832
|
...props,
|
|
2825
2833
|
onChange: onTimeChangeHandler(props.onChange),
|
|
@@ -2828,14 +2836,14 @@ function GoAInputTime({
|
|
|
2828
2836
|
}
|
|
2829
2837
|
);
|
|
2830
2838
|
}
|
|
2831
|
-
function
|
|
2839
|
+
function GoabInputDateTime({
|
|
2832
2840
|
value,
|
|
2833
2841
|
min = "",
|
|
2834
2842
|
max = "",
|
|
2835
2843
|
...props
|
|
2836
2844
|
}) {
|
|
2837
2845
|
return /* @__PURE__ */ jsx(
|
|
2838
|
-
|
|
2846
|
+
GoabInput,
|
|
2839
2847
|
{
|
|
2840
2848
|
...props,
|
|
2841
2849
|
onChange: onDateChangeHandler(props.onChange),
|
|
@@ -2844,60 +2852,56 @@ function GoAInputDateTime({
|
|
|
2844
2852
|
}
|
|
2845
2853
|
);
|
|
2846
2854
|
}
|
|
2847
|
-
function
|
|
2848
|
-
return /* @__PURE__ */ jsx(
|
|
2855
|
+
function GoabInputEmail(props) {
|
|
2856
|
+
return /* @__PURE__ */ jsx(GoabInput, { ...props, type: "email" });
|
|
2849
2857
|
}
|
|
2850
|
-
function
|
|
2851
|
-
return /* @__PURE__ */ jsx(
|
|
2858
|
+
function GoabInputSearch(props) {
|
|
2859
|
+
return /* @__PURE__ */ jsx(GoabInput, { ...props, type: "search", trailingIcon: "search" });
|
|
2852
2860
|
}
|
|
2853
|
-
function
|
|
2854
|
-
return /* @__PURE__ */ jsx(
|
|
2861
|
+
function GoabInputUrl(props) {
|
|
2862
|
+
return /* @__PURE__ */ jsx(GoabInput, { ...props, type: "url" });
|
|
2855
2863
|
}
|
|
2856
|
-
function
|
|
2857
|
-
return /* @__PURE__ */ jsx(
|
|
2864
|
+
function GoabInputTel(props) {
|
|
2865
|
+
return /* @__PURE__ */ jsx(GoabInput, { ...props, type: "tel" });
|
|
2858
2866
|
}
|
|
2859
|
-
function
|
|
2867
|
+
function GoabInputFile(props) {
|
|
2860
2868
|
return /* @__PURE__ */ jsx(
|
|
2861
2869
|
"input",
|
|
2862
2870
|
{
|
|
2863
2871
|
id: props.id,
|
|
2864
2872
|
name: props.name,
|
|
2865
2873
|
type: "file",
|
|
2866
|
-
onChange: (e) => {
|
|
2867
|
-
var _a;
|
|
2868
|
-
return (_a = props.onChange) == null ? void 0 : _a.call(props, e.target.name, e.target.value);
|
|
2869
|
-
},
|
|
2874
|
+
onChange: (e) => props.onChange({ name: e.target.name, value: e.target.value }),
|
|
2870
2875
|
style: { backgroundColor: "revert" }
|
|
2871
2876
|
}
|
|
2872
2877
|
);
|
|
2873
2878
|
}
|
|
2874
|
-
function
|
|
2875
|
-
return /* @__PURE__ */ jsx(
|
|
2879
|
+
function GoabInputMonth(props) {
|
|
2880
|
+
return /* @__PURE__ */ jsx(GoabInput, { ...props, type: "month" });
|
|
2876
2881
|
}
|
|
2877
|
-
function
|
|
2882
|
+
function GoabInputNumber({
|
|
2878
2883
|
min = Number.MIN_VALUE,
|
|
2879
2884
|
max = Number.MAX_VALUE,
|
|
2880
2885
|
value,
|
|
2881
2886
|
...props
|
|
2882
2887
|
}) {
|
|
2883
|
-
const onNumberChange = (name, value2) => {
|
|
2884
|
-
|
|
2885
|
-
(_a = props.onChange) == null ? void 0 : _a.call(props, name, parseFloat(value2));
|
|
2888
|
+
const onNumberChange = ({ name, value: value2 }) => {
|
|
2889
|
+
props.onChange({ name, value: parseFloat(value2) });
|
|
2886
2890
|
};
|
|
2887
|
-
const onFocus = (name, value2) => {
|
|
2891
|
+
const onFocus = ({ name, value: value2 }) => {
|
|
2888
2892
|
var _a;
|
|
2889
|
-
(_a = props.onFocus) == null ? void 0 : _a.call(props, name, parseFloat(value2));
|
|
2893
|
+
(_a = props.onFocus) == null ? void 0 : _a.call(props, { name, value: parseFloat(value2) });
|
|
2890
2894
|
};
|
|
2891
|
-
const onBlur = (name, value2) => {
|
|
2895
|
+
const onBlur = ({ name, value: value2 }) => {
|
|
2892
2896
|
var _a;
|
|
2893
|
-
(_a = props.onBlur) == null ? void 0 : _a.call(props, name, parseFloat(value2));
|
|
2897
|
+
(_a = props.onBlur) == null ? void 0 : _a.call(props, { name, value: parseFloat(value2) });
|
|
2894
2898
|
};
|
|
2895
|
-
const onKeyPress = (name, value2, key) => {
|
|
2899
|
+
const onKeyPress = ({ name, value: value2, key }) => {
|
|
2896
2900
|
var _a;
|
|
2897
|
-
(_a = props.onKeyPress) == null ? void 0 : _a.call(props, name, parseFloat(value2), key);
|
|
2901
|
+
(_a = props.onKeyPress) == null ? void 0 : _a.call(props, { name, value: parseFloat(value2), key: parseInt(key) });
|
|
2898
2902
|
};
|
|
2899
2903
|
return /* @__PURE__ */ jsx(
|
|
2900
|
-
|
|
2904
|
+
GoabInput,
|
|
2901
2905
|
{
|
|
2902
2906
|
...props,
|
|
2903
2907
|
onChange: onNumberChange,
|
|
@@ -2911,8 +2915,8 @@ function GoAInputNumber({
|
|
|
2911
2915
|
}
|
|
2912
2916
|
);
|
|
2913
2917
|
}
|
|
2914
|
-
function
|
|
2915
|
-
return /* @__PURE__ */ jsx(
|
|
2918
|
+
function GoabInputRange(props) {
|
|
2919
|
+
return /* @__PURE__ */ jsx(GoabInput, { ...props, type: "range" });
|
|
2916
2920
|
}
|
|
2917
2921
|
function GoALink(props) {
|
|
2918
2922
|
return /* @__PURE__ */ jsx(
|
|
@@ -2943,7 +2947,7 @@ function GoALinkButton({ type = "primary", ...props }) {
|
|
|
2943
2947
|
}
|
|
2944
2948
|
);
|
|
2945
2949
|
}
|
|
2946
|
-
function
|
|
2950
|
+
function GoabMicrositeHeader({
|
|
2947
2951
|
type,
|
|
2948
2952
|
version,
|
|
2949
2953
|
feedbackUrl,
|
|
@@ -2986,29 +2990,19 @@ function GoAMicrositeHeader({
|
|
|
2986
2990
|
}
|
|
2987
2991
|
);
|
|
2988
2992
|
}
|
|
2989
|
-
function
|
|
2993
|
+
function GoabModal({
|
|
2990
2994
|
heading,
|
|
2991
2995
|
children,
|
|
2992
2996
|
maxWidth,
|
|
2993
2997
|
open,
|
|
2994
2998
|
actions,
|
|
2995
2999
|
transition,
|
|
2996
|
-
type,
|
|
2997
3000
|
calloutVariant,
|
|
2998
3001
|
onClose,
|
|
2999
3002
|
testId,
|
|
3000
|
-
role
|
|
3001
|
-
width
|
|
3003
|
+
role
|
|
3002
3004
|
}) {
|
|
3003
3005
|
const el = useRef(null);
|
|
3004
|
-
useEffect(() => {
|
|
3005
|
-
if (type) {
|
|
3006
|
-
console.warn("GoAModal [type] is deprecated.");
|
|
3007
|
-
}
|
|
3008
|
-
}, [type]);
|
|
3009
|
-
useEffect(() => {
|
|
3010
|
-
maxWidth = width;
|
|
3011
|
-
}, [width]);
|
|
3012
3006
|
useEffect(() => {
|
|
3013
3007
|
if (!el.current) {
|
|
3014
3008
|
return;
|
|
@@ -3041,7 +3035,7 @@ function GoAModal({
|
|
|
3041
3035
|
}
|
|
3042
3036
|
);
|
|
3043
3037
|
}
|
|
3044
|
-
const
|
|
3038
|
+
const GoabNotification = ({
|
|
3045
3039
|
type = "information",
|
|
3046
3040
|
ariaLive,
|
|
3047
3041
|
maxContentWidth,
|
|
@@ -3075,13 +3069,13 @@ const GoANotification = ({
|
|
|
3075
3069
|
}
|
|
3076
3070
|
);
|
|
3077
3071
|
};
|
|
3078
|
-
function
|
|
3072
|
+
function GoabOneColumnLayout(props) {
|
|
3079
3073
|
return /* @__PURE__ */ jsx("goa-one-column-layout", { children: props.children });
|
|
3080
3074
|
}
|
|
3081
|
-
function
|
|
3075
|
+
function GoabPageBlock(props) {
|
|
3082
3076
|
return /* @__PURE__ */ jsx("goa-page-block", { width: props.width, testid: props.testId, children: props.children });
|
|
3083
3077
|
}
|
|
3084
|
-
function
|
|
3078
|
+
function GoabPages(props) {
|
|
3085
3079
|
return /* @__PURE__ */ jsx(
|
|
3086
3080
|
"goa-pages",
|
|
3087
3081
|
{
|
|
@@ -3094,7 +3088,7 @@ function GoAPages(props) {
|
|
|
3094
3088
|
}
|
|
3095
3089
|
);
|
|
3096
3090
|
}
|
|
3097
|
-
function
|
|
3091
|
+
function GoabPagination({ onChange, ...props }) {
|
|
3098
3092
|
const ref = useRef();
|
|
3099
3093
|
useEffect(() => {
|
|
3100
3094
|
if (!ref.current) {
|
|
@@ -3102,8 +3096,8 @@ function GoAPagination({ onChange, ...props }) {
|
|
|
3102
3096
|
}
|
|
3103
3097
|
const current = ref.current;
|
|
3104
3098
|
const changeListener = (e) => {
|
|
3105
|
-
const
|
|
3106
|
-
onChange(
|
|
3099
|
+
const detail = e.detail;
|
|
3100
|
+
onChange(detail);
|
|
3107
3101
|
};
|
|
3108
3102
|
current.addEventListener("_change", changeListener);
|
|
3109
3103
|
return () => {
|
|
@@ -3126,7 +3120,7 @@ function GoAPagination({ onChange, ...props }) {
|
|
|
3126
3120
|
}
|
|
3127
3121
|
);
|
|
3128
3122
|
}
|
|
3129
|
-
function
|
|
3123
|
+
function GoabPopover({
|
|
3130
3124
|
target,
|
|
3131
3125
|
testId,
|
|
3132
3126
|
maxWidth,
|
|
@@ -3160,7 +3154,7 @@ function GoAPopover({
|
|
|
3160
3154
|
}
|
|
3161
3155
|
);
|
|
3162
3156
|
}
|
|
3163
|
-
function
|
|
3157
|
+
function GoabRadioItem({
|
|
3164
3158
|
name,
|
|
3165
3159
|
label,
|
|
3166
3160
|
value,
|
|
@@ -3188,7 +3182,6 @@ function GoARadioItem({
|
|
|
3188
3182
|
error,
|
|
3189
3183
|
disabled,
|
|
3190
3184
|
checked,
|
|
3191
|
-
"data-testid": testId,
|
|
3192
3185
|
arialabel: ariaLabel,
|
|
3193
3186
|
mt,
|
|
3194
3187
|
mr,
|
|
@@ -3201,7 +3194,7 @@ function GoARadioItem({
|
|
|
3201
3194
|
}
|
|
3202
3195
|
);
|
|
3203
3196
|
}
|
|
3204
|
-
function
|
|
3197
|
+
function GoabRadioGroup({
|
|
3205
3198
|
name,
|
|
3206
3199
|
value,
|
|
3207
3200
|
children,
|
|
@@ -3218,15 +3211,14 @@ function GoARadioGroup({
|
|
|
3218
3211
|
}) {
|
|
3219
3212
|
const el = useRef(null);
|
|
3220
3213
|
useEffect(() => {
|
|
3221
|
-
if (!el.current)
|
|
3222
|
-
return;
|
|
3223
|
-
}
|
|
3214
|
+
if (!el.current) return;
|
|
3224
3215
|
const listener = (e) => {
|
|
3225
3216
|
if (!onChange) {
|
|
3226
3217
|
console.warn("Missing onChange function");
|
|
3227
3218
|
return;
|
|
3228
3219
|
}
|
|
3229
|
-
|
|
3220
|
+
const detail = e.detail;
|
|
3221
|
+
onChange(detail);
|
|
3230
3222
|
};
|
|
3231
3223
|
const currentEl = el.current;
|
|
3232
3224
|
currentEl.addEventListener("_change", listener);
|
|
@@ -3253,7 +3245,7 @@ function GoARadioGroup({
|
|
|
3253
3245
|
}
|
|
3254
3246
|
);
|
|
3255
3247
|
}
|
|
3256
|
-
function
|
|
3248
|
+
function GoabSideMenuGroup(props) {
|
|
3257
3249
|
return /* @__PURE__ */ jsx(
|
|
3258
3250
|
"goa-side-menu-group",
|
|
3259
3251
|
{
|
|
@@ -3268,23 +3260,16 @@ function GoASideMenuGroup(props) {
|
|
|
3268
3260
|
}
|
|
3269
3261
|
);
|
|
3270
3262
|
}
|
|
3271
|
-
function
|
|
3272
|
-
return /* @__PURE__ */ jsxs(
|
|
3273
|
-
|
|
3274
|
-
{
|
|
3275
|
-
|
|
3276
|
-
testid: props.testId,
|
|
3277
|
-
children: [
|
|
3278
|
-
props.children,
|
|
3279
|
-
props.meta && /* @__PURE__ */ jsx("span", { slot: "meta", children: props.meta })
|
|
3280
|
-
]
|
|
3281
|
-
}
|
|
3282
|
-
);
|
|
3263
|
+
function GoabSideMenuHeading(props) {
|
|
3264
|
+
return /* @__PURE__ */ jsxs("goa-side-menu-heading", { icon: props.icon, testid: props.testId, children: [
|
|
3265
|
+
props.children,
|
|
3266
|
+
props.meta && /* @__PURE__ */ jsx("span", { slot: "meta", children: props.meta })
|
|
3267
|
+
] });
|
|
3283
3268
|
}
|
|
3284
|
-
function
|
|
3269
|
+
function GoabSideMenu(props) {
|
|
3285
3270
|
return /* @__PURE__ */ jsx("goa-side-menu", { testid: props.testId, children: props.children });
|
|
3286
3271
|
}
|
|
3287
|
-
const
|
|
3272
|
+
const GoabSkeleton = ({
|
|
3288
3273
|
maxWidth,
|
|
3289
3274
|
size,
|
|
3290
3275
|
lineCount,
|
|
@@ -3310,7 +3295,7 @@ const GoASkeleton = ({
|
|
|
3310
3295
|
}
|
|
3311
3296
|
);
|
|
3312
3297
|
};
|
|
3313
|
-
function
|
|
3298
|
+
function GoabSpacer(props) {
|
|
3314
3299
|
return /* @__PURE__ */ jsx(
|
|
3315
3300
|
"goa-spacer",
|
|
3316
3301
|
{
|
|
@@ -3320,7 +3305,7 @@ function GoASpacer(props) {
|
|
|
3320
3305
|
}
|
|
3321
3306
|
);
|
|
3322
3307
|
}
|
|
3323
|
-
function
|
|
3308
|
+
function GoabSpinner({
|
|
3324
3309
|
type,
|
|
3325
3310
|
size,
|
|
3326
3311
|
progress,
|
|
@@ -3338,7 +3323,7 @@ function GoASpinner({
|
|
|
3338
3323
|
}
|
|
3339
3324
|
);
|
|
3340
3325
|
}
|
|
3341
|
-
function
|
|
3326
|
+
function GoabTable({ onSort, ...props }) {
|
|
3342
3327
|
const ref = useRef(null);
|
|
3343
3328
|
useEffect(() => {
|
|
3344
3329
|
if (!ref.current) {
|
|
@@ -3346,8 +3331,8 @@ function GoATable({ onSort, ...props }) {
|
|
|
3346
3331
|
}
|
|
3347
3332
|
const current = ref.current;
|
|
3348
3333
|
const sortListener = (e) => {
|
|
3349
|
-
const
|
|
3350
|
-
onSort == null ? void 0 : onSort(
|
|
3334
|
+
const detail = e.detail;
|
|
3335
|
+
onSort == null ? void 0 : onSort(detail);
|
|
3351
3336
|
};
|
|
3352
3337
|
current.addEventListener("_sort", sortListener);
|
|
3353
3338
|
return () => {
|
|
@@ -3370,14 +3355,14 @@ function GoATable({ onSort, ...props }) {
|
|
|
3370
3355
|
}
|
|
3371
3356
|
);
|
|
3372
3357
|
}
|
|
3373
|
-
function
|
|
3358
|
+
function GoabTableSortHeader({
|
|
3374
3359
|
name,
|
|
3375
3360
|
direction = "none",
|
|
3376
3361
|
children
|
|
3377
3362
|
}) {
|
|
3378
3363
|
return /* @__PURE__ */ jsx("goa-table-sort-header", { name, direction, children });
|
|
3379
3364
|
}
|
|
3380
|
-
function
|
|
3365
|
+
function GoabTabs({
|
|
3381
3366
|
initialTab,
|
|
3382
3367
|
children,
|
|
3383
3368
|
testId,
|
|
@@ -3388,8 +3373,8 @@ function GoATabs({
|
|
|
3388
3373
|
const element = ref.current;
|
|
3389
3374
|
if (element && onChange) {
|
|
3390
3375
|
const handler = (event) => {
|
|
3391
|
-
const
|
|
3392
|
-
onChange(
|
|
3376
|
+
const detail = event.detail;
|
|
3377
|
+
onChange(detail);
|
|
3393
3378
|
};
|
|
3394
3379
|
element.addEventListener("_change", handler);
|
|
3395
3380
|
return () => {
|
|
@@ -3399,13 +3384,13 @@ function GoATabs({
|
|
|
3399
3384
|
}, [onChange]);
|
|
3400
3385
|
return /* @__PURE__ */ jsx("goa-tabs", { ref, initialtab: initialTab, testid: testId, children });
|
|
3401
3386
|
}
|
|
3402
|
-
function
|
|
3387
|
+
function GoabTab({ heading, children }) {
|
|
3403
3388
|
return /* @__PURE__ */ jsxs("goa-tab", { children: [
|
|
3404
3389
|
heading && /* @__PURE__ */ jsx("span", { slot: "heading", children: heading }),
|
|
3405
3390
|
children
|
|
3406
3391
|
] });
|
|
3407
3392
|
}
|
|
3408
|
-
function
|
|
3393
|
+
function GoabText(props) {
|
|
3409
3394
|
return /* @__PURE__ */ jsx(
|
|
3410
3395
|
"goa-text",
|
|
3411
3396
|
{
|
|
@@ -3420,7 +3405,7 @@ function GoAText(props) {
|
|
|
3420
3405
|
}
|
|
3421
3406
|
);
|
|
3422
3407
|
}
|
|
3423
|
-
function
|
|
3408
|
+
function GoabTextarea({
|
|
3424
3409
|
name,
|
|
3425
3410
|
value,
|
|
3426
3411
|
placeholder,
|
|
@@ -3448,8 +3433,8 @@ function GoATextarea({
|
|
|
3448
3433
|
}
|
|
3449
3434
|
const current = el.current;
|
|
3450
3435
|
const listener = (e) => {
|
|
3451
|
-
const
|
|
3452
|
-
onChange
|
|
3436
|
+
const detail = e.detail;
|
|
3437
|
+
onChange(detail);
|
|
3453
3438
|
};
|
|
3454
3439
|
current.addEventListener("_change", listener);
|
|
3455
3440
|
return () => {
|
|
@@ -3462,8 +3447,8 @@ function GoATextarea({
|
|
|
3462
3447
|
}
|
|
3463
3448
|
const current = el.current;
|
|
3464
3449
|
const keypressListener = (e) => {
|
|
3465
|
-
const
|
|
3466
|
-
onKeyPress == null ? void 0 : onKeyPress(
|
|
3450
|
+
const detail = e.detail;
|
|
3451
|
+
onKeyPress == null ? void 0 : onKeyPress(detail);
|
|
3467
3452
|
};
|
|
3468
3453
|
current.addEventListener("_keyPress", keypressListener);
|
|
3469
3454
|
return () => {
|
|
@@ -3494,7 +3479,7 @@ function GoATextarea({
|
|
|
3494
3479
|
}
|
|
3495
3480
|
);
|
|
3496
3481
|
}
|
|
3497
|
-
function
|
|
3482
|
+
function GoabThreeColumnLayout(props) {
|
|
3498
3483
|
return /* @__PURE__ */ jsxs(
|
|
3499
3484
|
"goa-three-column-layout",
|
|
3500
3485
|
{
|
|
@@ -3512,7 +3497,7 @@ function GoAThreeColumnLayout(props) {
|
|
|
3512
3497
|
}
|
|
3513
3498
|
);
|
|
3514
3499
|
}
|
|
3515
|
-
function
|
|
3500
|
+
function GoabTooltip(props) {
|
|
3516
3501
|
return /* @__PURE__ */ jsx(
|
|
3517
3502
|
"goa-tooltip",
|
|
3518
3503
|
{
|
|
@@ -3528,7 +3513,7 @@ function GoATooltip(props) {
|
|
|
3528
3513
|
}
|
|
3529
3514
|
);
|
|
3530
3515
|
}
|
|
3531
|
-
function
|
|
3516
|
+
function GoabTwoColumnLayout(props) {
|
|
3532
3517
|
return /* @__PURE__ */ jsxs(
|
|
3533
3518
|
"goa-two-column-layout",
|
|
3534
3519
|
{
|
|
@@ -3580,85 +3565,84 @@ const GoAFilterChip = ({
|
|
|
3580
3565
|
);
|
|
3581
3566
|
};
|
|
3582
3567
|
export {
|
|
3583
|
-
GoAAccordion,
|
|
3584
|
-
GoAAppFooter,
|
|
3585
|
-
GoAAppFooterMetaSection,
|
|
3586
|
-
GoAAppFooterNavSection,
|
|
3587
|
-
GoAAppHeader,
|
|
3588
|
-
GoAAppHeaderMenu,
|
|
3589
|
-
GoABadge,
|
|
3590
|
-
GoABlock,
|
|
3591
|
-
GoAButton,
|
|
3592
|
-
GoAButtonGroup,
|
|
3593
|
-
GoACalendar,
|
|
3594
|
-
GoACallout,
|
|
3595
|
-
GoACheckbox,
|
|
3596
|
-
GoAChip,
|
|
3597
|
-
GoACircularProgress,
|
|
3598
|
-
GoAContainer,
|
|
3599
|
-
GoADatePicker,
|
|
3600
|
-
GoADetails,
|
|
3601
|
-
GoADivider,
|
|
3602
|
-
GoADropdown,
|
|
3603
|
-
GoADropdownItem,
|
|
3604
|
-
GoADropdownOption,
|
|
3605
|
-
GoAEmergencyBadge,
|
|
3606
|
-
GoAFieldset,
|
|
3607
|
-
GoAFileUploadCard,
|
|
3608
|
-
GoAFileUploadInput,
|
|
3609
3568
|
GoAFilterChip,
|
|
3610
|
-
GoAFormItem,
|
|
3611
|
-
GoAFormStep,
|
|
3612
|
-
GoAFormStepper,
|
|
3613
|
-
GoAGrid,
|
|
3614
|
-
GoAHeroBanner,
|
|
3615
|
-
GoAHeroBannerActions,
|
|
3616
|
-
G as GoAIcon,
|
|
3617
|
-
GoAIconButton,
|
|
3618
|
-
GoAImportantBadge,
|
|
3619
|
-
GoAInfoBadge,
|
|
3620
|
-
GoAInput,
|
|
3621
|
-
GoAInputDate,
|
|
3622
|
-
GoAInputDateTime,
|
|
3623
|
-
GoAInputEmail,
|
|
3624
|
-
GoAInputFile,
|
|
3625
|
-
GoAInputMonth,
|
|
3626
|
-
GoAInputNumber,
|
|
3627
|
-
GoAInputPassword,
|
|
3628
|
-
GoAInputRange,
|
|
3629
|
-
GoAInputSearch,
|
|
3630
|
-
GoAInputTel,
|
|
3631
|
-
GoAInputText,
|
|
3632
|
-
GoAInputTime,
|
|
3633
|
-
GoAInputUrl,
|
|
3634
3569
|
GoALink,
|
|
3635
3570
|
GoALinkButton,
|
|
3636
|
-
|
|
3637
|
-
|
|
3638
|
-
|
|
3639
|
-
|
|
3640
|
-
|
|
3641
|
-
|
|
3642
|
-
|
|
3643
|
-
|
|
3644
|
-
|
|
3645
|
-
|
|
3646
|
-
|
|
3647
|
-
|
|
3648
|
-
|
|
3649
|
-
|
|
3650
|
-
|
|
3651
|
-
|
|
3652
|
-
|
|
3653
|
-
|
|
3654
|
-
|
|
3655
|
-
|
|
3656
|
-
|
|
3657
|
-
|
|
3658
|
-
|
|
3659
|
-
|
|
3660
|
-
|
|
3661
|
-
|
|
3662
|
-
|
|
3571
|
+
GoabAccordion,
|
|
3572
|
+
GoabAppFooter,
|
|
3573
|
+
GoabAppFooterMetaSection,
|
|
3574
|
+
GoabAppFooterNavSection,
|
|
3575
|
+
GoabAppHeader,
|
|
3576
|
+
GoabAppHeaderMenu,
|
|
3577
|
+
GoabBadge,
|
|
3578
|
+
GoabBlock,
|
|
3579
|
+
GoabButton,
|
|
3580
|
+
GoabButtonGroup,
|
|
3581
|
+
GoabCalendar,
|
|
3582
|
+
GoabCallout,
|
|
3583
|
+
GoabCheckbox,
|
|
3584
|
+
GoabChip,
|
|
3585
|
+
GoabCircularProgress,
|
|
3586
|
+
GoabContainer,
|
|
3587
|
+
GoabDatePicker,
|
|
3588
|
+
GoabDetails,
|
|
3589
|
+
GoabDivider,
|
|
3590
|
+
GoabDropdown,
|
|
3591
|
+
GoabDropdownItem,
|
|
3592
|
+
GoabDropdownOption,
|
|
3593
|
+
GoabEmergencyBadge,
|
|
3594
|
+
GoabFieldset,
|
|
3595
|
+
GoabFileUploadCard,
|
|
3596
|
+
GoabFileUploadInput,
|
|
3597
|
+
GoabFormItem,
|
|
3598
|
+
GoabFormStep,
|
|
3599
|
+
GoabFormStepper,
|
|
3600
|
+
GoabGrid,
|
|
3601
|
+
GoabHeroBanner,
|
|
3602
|
+
GoabHeroBannerActions,
|
|
3603
|
+
G as GoabIcon,
|
|
3604
|
+
GoabIconButton,
|
|
3605
|
+
GoabImportantBadge,
|
|
3606
|
+
GoabInfoBadge,
|
|
3607
|
+
GoabInput,
|
|
3608
|
+
GoabInputDate,
|
|
3609
|
+
GoabInputDateTime,
|
|
3610
|
+
GoabInputEmail,
|
|
3611
|
+
GoabInputFile,
|
|
3612
|
+
GoabInputMonth,
|
|
3613
|
+
GoabInputNumber,
|
|
3614
|
+
GoabInputPassword,
|
|
3615
|
+
GoabInputRange,
|
|
3616
|
+
GoabInputSearch,
|
|
3617
|
+
GoabInputTel,
|
|
3618
|
+
GoabInputText,
|
|
3619
|
+
GoabInputTime,
|
|
3620
|
+
GoabInputUrl,
|
|
3621
|
+
GoabMicrositeHeader,
|
|
3622
|
+
GoabModal,
|
|
3623
|
+
GoabNotification,
|
|
3624
|
+
GoabOneColumnLayout,
|
|
3625
|
+
GoabPageBlock,
|
|
3626
|
+
GoabPages,
|
|
3627
|
+
GoabPagination,
|
|
3628
|
+
GoabPopover,
|
|
3629
|
+
GoabRadioGroup,
|
|
3630
|
+
GoabRadioItem,
|
|
3631
|
+
GoabSideMenu,
|
|
3632
|
+
GoabSideMenuGroup,
|
|
3633
|
+
GoabSideMenuHeading,
|
|
3634
|
+
GoabSkeleton,
|
|
3635
|
+
GoabSpacer,
|
|
3636
|
+
GoabSpinner,
|
|
3637
|
+
GoabSuccessBadge,
|
|
3638
|
+
GoabTab,
|
|
3639
|
+
GoabTable,
|
|
3640
|
+
GoabTableSortHeader,
|
|
3641
|
+
GoabTabs,
|
|
3642
|
+
GoabText,
|
|
3643
|
+
GoabTextarea,
|
|
3644
|
+
GoabThreeColumnLayout,
|
|
3645
|
+
GoabTooltip,
|
|
3646
|
+
GoabTwoColumnLayout
|
|
3663
3647
|
};
|
|
3664
3648
|
//# sourceMappingURL=index.mjs.map
|