@iress-oss/ids-components 5.19.0 → 5.20.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/{AutocompleteNoResults-D_adOX6J.js → AutocompleteNoResults-CogA3XZs.js} +1 -1
- package/dist/{ComboboxHiddenInput-DgbYej-J.js → ComboboxHiddenInput-gTOjjF3f.js} +5 -5
- package/dist/{FieldAppendToLabel-B-8fGGeb.js → FieldAppendToLabel-CuSREliL.js} +11 -10
- package/dist/{InputBase-Bn5cQ5z1.js → InputBase-BFK9n82f.js} +1 -1
- package/dist/Loading.module-g2pe-Gfx.js +13 -0
- package/dist/{LoadingSuspense-U4UZBhSB.js → LoadingSuspense-D9nGJ3gx.js} +1037 -1036
- package/dist/LogoFromSrc-BnImWqt6.js +59 -0
- package/dist/MenuItem.module-BxcFZeSh.js +24 -0
- package/dist/Popover.module-BKrF_xRW.js +11 -0
- package/dist/{PopoverProvider-BCmddfo7.js → PopoverProvider-d3hhpW2k.js} +4 -4
- package/dist/{SelectControl-3oO2h0ri.js → SelectControl-D1SJlplM.js} +1 -1
- package/dist/{SliderTicks-BkIFXa6K.js → SliderTicks-DQN0Ka4d.js} +1 -1
- package/dist/TabSet.module-FRUnHgA1.js +13 -0
- package/dist/Table.module-r-RfIeLI.js +32 -0
- package/dist/components/Alert/Alert.js +1 -1
- package/dist/components/Alert/index.js +1 -1
- package/dist/components/Autocomplete/Autocomplete.js +5 -4
- package/dist/components/Autocomplete/components/AutocompleteNoResults.js +1 -1
- package/dist/components/Autocomplete/index.js +1 -1
- package/dist/components/Badge/Badge.js +4 -4
- package/dist/components/Button/Button.js +2 -2
- package/dist/components/Button/CloseButton/CloseButton.js +1 -1
- package/dist/components/Button/index.js +1 -1
- package/dist/components/ButtonGroup/ButtonGroup.js +2 -2
- package/dist/components/ButtonGroup/hooks/useIDSButtonGroupItem.js +1 -1
- package/dist/components/ButtonGroup/index.js +1 -1
- package/dist/components/Checkbox/Checkbox.js +1 -1
- package/dist/components/Checkbox/helpers/mapCheckboxGroupOptions.js +1 -1
- package/dist/components/Checkbox/index.js +1 -1
- package/dist/components/CheckboxGroup/CheckboxGroup.js +6 -6
- package/dist/components/CheckboxMark/CheckboxMark.types.js +2 -2
- package/dist/components/Combobox/Combobox.js +5 -4
- package/dist/components/Combobox/MultiCombobox/MultiCombobox.js +5 -4
- package/dist/components/Combobox/components/ComboboxHiddenInput.js +1 -1
- package/dist/components/Combobox/components/ComboboxResults.js +6 -5
- package/dist/components/Combobox/components/ComboboxResultsDescriptor.js +4 -3
- package/dist/components/Combobox/index.js +1 -1
- package/dist/components/Expander/Expander.js +1 -1
- package/dist/components/Field/Field.js +1 -1
- package/dist/components/Field/FieldGroup/FieldGroup.js +2 -2
- package/dist/components/Field/components/FieldAppendToLabel.js +5 -4
- package/dist/components/Filter/Filter.js +5 -4
- package/dist/components/Filter/components/FilterResetButton.js +4 -3
- package/dist/components/Filter/components/FilterSearch.js +4 -3
- package/dist/components/Filter/index.js +1 -1
- package/dist/components/Form/Form.js +1 -1
- package/dist/components/Form/FormField/FormField.js +5 -4
- package/dist/components/Form/FormField/FormFieldset.js +11 -10
- package/dist/components/Form/HookForm/HookForm.js +1 -1
- package/dist/components/Form/index.js +1 -1
- package/dist/components/Hide/Hide.js +1 -1
- package/dist/components/Hide/helpers/composeHideClasses.js +5 -4
- package/dist/components/Hide/index.js +1 -1
- package/dist/components/Icon/Icon.js +4 -3
- package/dist/components/Icon/index.js +1 -1
- package/dist/components/Inline/Inline.js +4 -3
- package/dist/components/Inline/index.js +1 -1
- package/dist/components/Input/ClearButton/ClearButton.js +1 -1
- package/dist/components/Input/Input.js +2 -2
- package/dist/components/Input/InputBase/InputBase.js +1 -1
- package/dist/components/Input/index.js +1 -1
- package/dist/components/InputCurrency/InputCurrency.js +1 -1
- package/dist/components/InputCurrency/index.js +1 -1
- package/dist/components/Label/LabelBase/LabelBase.js +1 -1
- package/dist/components/Menu/MenuDivider/MenuDivider.js +4 -3
- package/dist/components/Menu/MenuHeading/MenuHeading.js +2 -2
- package/dist/components/Menu/MenuItem/MenuItem.js +1 -1
- package/dist/components/Menu/MenuItem/hooks/useMenuItemButtonProps.js +1 -1
- package/dist/components/Menu/MenuItem/hooks/useMenuItemComposite.js +1 -1
- package/dist/components/Menu/MenuText/MenuText.js +5 -4
- package/dist/components/Menu/helpers/mapMenuItems.js +1 -1
- package/dist/components/Menu/hooks/useMenuStyles.js +3 -3
- package/dist/components/Menu/index.js +1 -1
- package/dist/components/Modal/Modal.js +1 -1
- package/dist/components/Modal/index.js +1 -1
- package/dist/components/Navbar/Navbar.js +2 -2
- package/dist/components/Navbar/components/HomeLinkContent.js +2 -2
- package/dist/components/Navbar/components/LogoFromSrc.js +1 -1
- package/dist/components/Navbar/components/NavbarLogo.js +2 -2
- package/dist/components/Navbar/index.js +1 -1
- package/dist/components/Placeholder/Placeholder.js +1 -1
- package/dist/components/Popover/InputPopover/InputPopover.js +1 -1
- package/dist/components/Popover/InputPopover/InputPopoverActivator.js +1 -1
- package/dist/components/Popover/InputPopover/InputPopoverProvider.js +1 -1
- package/dist/components/Popover/Popover.js +2 -2
- package/dist/components/Popover/PopoverProvider.js +1 -1
- package/dist/components/Popover/components/PopoverActivator.js +1 -1
- package/dist/components/Popover/components/PopoverContent.js +1 -1
- package/dist/components/Popover/helpers/handlePopoverTabKey.js +1 -1
- package/dist/components/Popover/hooks/usePopover.js +1 -1
- package/dist/components/Progress/Progress.js +1 -1
- package/dist/components/Provider/Provider.js +1 -1
- package/dist/components/Radio/Radio.js +1 -1
- package/dist/components/Radio/helpers/mapRadioGroupOptions.js +1 -1
- package/dist/components/Radio/index.js +1 -1
- package/dist/components/RadioGroup/RadioGroup.js +3 -3
- package/dist/components/Readonly/Readonly.js +5 -4
- package/dist/components/Readonly/index.js +1 -1
- package/dist/components/RichSelect/RichSelect.js +4 -3
- package/dist/components/RichSelect/SelectBody/SelectBody.js +5 -4
- package/dist/components/RichSelect/SelectCreate/SelectCreate.js +5 -4
- package/dist/components/RichSelect/SelectHeading/SelectHeading.js +4 -3
- package/dist/components/RichSelect/SelectLabel/SelectLabel.js +1 -1
- package/dist/components/RichSelect/SelectMenu/SelectMenu.js +4 -3
- package/dist/components/RichSelect/SelectMenu/SelectMenuItem.js +4 -3
- package/dist/components/RichSelect/SelectSearch/SelectSearch.js +3 -2
- package/dist/components/RichSelect/SelectSearchInput/SelectSearchInput.js +1 -1
- package/dist/components/RichSelect/SelectTags/SelectTags.js +3 -2
- package/dist/components/RichSelect/components/SelectActivator.js +1 -1
- package/dist/components/RichSelect/components/SelectOptions.js +4 -3
- package/dist/components/RichSelect/index.js +1 -1
- package/dist/components/Row/Row.js +4 -3
- package/dist/components/Row/index.js +1 -1
- package/dist/components/Select/Select.js +2 -2
- package/dist/components/Select/components/SelectControl.js +1 -1
- package/dist/components/Select/components/SelectReadonly.js +4 -3
- package/dist/components/Select/helpers/mapSelectOptions.js +1 -1
- package/dist/components/Select/helpers/nodesToSelectOptions.js +1 -1
- package/dist/components/Select/index.js +1 -1
- package/dist/components/Skeleton/Skeleton.js +2 -2
- package/dist/components/SkipLink/SkipLink.js +1 -1
- package/dist/components/Slideout/Slideout.js +2 -2
- package/dist/components/Slideout/components/SlideoutInner.js +2 -2
- package/dist/components/Slideout/index.js +1 -1
- package/dist/components/Slider/Slider.js +2 -2
- package/dist/components/Slider/components/SliderTicks.js +1 -1
- package/dist/components/Slider/index.js +1 -1
- package/dist/components/Spinner/Spinner.js +1 -1
- package/dist/components/Spinner/index.js +1 -1
- package/dist/components/TabSet/Tab/Tab.js +1 -1
- package/dist/components/TabSet/TabSet.js +1 -1
- package/dist/components/TabSet/components/TabSetItem.js +1 -1
- package/dist/components/Table/Table.js +4 -3
- package/dist/components/Table/TableBody/TableBody.js +2 -2
- package/dist/components/Table/TableProvider.js +29 -25
- package/dist/components/Table/components/TableEmpty.js +1 -1
- package/dist/components/Table/components/TableHeader.js +2 -2
- package/dist/components/Table/components/TableHeaderCell.js +1 -1
- package/dist/components/Table/components/TableRows.js +1 -1
- package/dist/components/Table/components/TableSortButton.js +2 -2
- package/dist/components/Table/helpers/composeIDSTableColumnDefs.js +5 -5
- package/dist/components/Table/hooks/useIDSTableColumnStyles.js +1 -1
- package/dist/components/Table/index.js +1 -1
- package/dist/components/Tag/Tag.js +1 -1
- package/dist/components/Tag/TagInput/TagInput.js +1 -1
- package/dist/components/Tag/components/TagListInput/TagListInput.js +1 -1
- package/dist/components/Tag/index.js +1 -1
- package/dist/components/Toaster/Toast/Toast.js +1 -1
- package/dist/components/Toaster/Toast/ToastAnimated.js +1 -1
- package/dist/components/Toaster/Toast/ToastIcon.js +1 -1
- package/dist/components/Toaster/Toaster.js +1 -1
- package/dist/components/Toaster/ToasterProvider.js +1 -1
- package/dist/components/Toaster/hooks/useToaster.js +1 -1
- package/dist/components/Toaster/index.js +1 -1
- package/dist/components/Toggle/Toggle.js +3 -3
- package/dist/components/Tooltip/Tooltip.js +1 -1
- package/dist/components/ValidationMessage/ValidationBase/ValidationBase.js +1 -1
- package/dist/components/ValidationMessage/ValidationSummary/ValidationSummary.js +1 -1
- package/dist/constants.js +1 -1
- package/dist/{index-CmsyHM_3.js → index-BQfnxwrU.js} +2 -2
- package/dist/{index-CtOScEKX.js → index-Dms7F5NM.js} +8 -8
- package/dist/main.js +2 -2
- package/dist/patterns/Loading/Loading.js +1 -1
- package/dist/patterns/Loading/LoadingSuspense.js +1 -1
- package/dist/patterns/Loading/components/ComponentLoading.js +2 -2
- package/dist/patterns/Loading/components/DefaultLoading.js +2 -2
- package/dist/patterns/Loading/components/LongLoading.js +2 -2
- package/dist/patterns/Loading/components/PageLoading.js +2 -2
- package/dist/patterns/Loading/components/StartUpLoading.js +2 -2
- package/dist/patterns/Loading/components/ValidateLoading.js +2 -2
- package/dist/patterns/Loading/index.js +1 -1
- package/dist/src/components/Table/Table.d.ts +7 -6
- package/dist/src/components/Table/Table.types.d.ts +10 -1
- package/dist/src/components/Table/TableProvider.d.ts +5 -2
- package/dist/style.css +1 -1
- package/dist/{useIDSButtonGroupItem-DmWrryOR.js → useIDSButtonGroupItem-VfKx4O-O.js} +1 -1
- package/package.json +1 -1
- package/dist/Loading.module-DV-X9MgR.js +0 -13
- package/dist/LogoFromSrc-CpUGDF0Z.js +0 -59
- package/dist/MenuItem.module-CEkjIjoS.js +0 -24
- package/dist/Popover.module-CVRr72JE.js +0 -11
- package/dist/TabSet.module-BRO3CmMd.js +0 -13
- package/dist/Table.module-fgDgW5gS.js +0 -32
|
@@ -1,150 +1,150 @@
|
|
|
1
1
|
import { jsx as a, jsxs as D, Fragment as Te } from "react/jsx-runtime";
|
|
2
|
-
import * as
|
|
3
|
-
import ne, { forwardRef as ae, useRef as le, useState as X, useMemo as Ne, useImperativeHandle as Ee, useId as ps, useCallback as ye, useEffect as Z, createElement as
|
|
4
|
-
import { StartUpLoading as
|
|
2
|
+
import * as mn from "react";
|
|
3
|
+
import ne, { forwardRef as ae, useRef as le, useState as X, useMemo as Ne, useImperativeHandle as Ee, useId as ps, useCallback as ye, useEffect as Z, createElement as ur, useContext as vs, cloneElement as fr, createContext as hn, Suspense as Os } from "react";
|
|
4
|
+
import { StartUpLoading as pn } from "./patterns/Loading/components/StartUpLoading.js";
|
|
5
5
|
import { c as V } from "./index-2QXL0WYc.js";
|
|
6
|
-
import { IconSpin as
|
|
7
|
-
import { ALERT_ICONS as
|
|
8
|
-
import { TextMode as
|
|
6
|
+
import { IconSpin as vn, IconSize as mr, IconFlip as gn, IconRotate as yn, IconSet as bn } from "./components/Icon/Icon.types.js";
|
|
7
|
+
import { ALERT_ICONS as xn } from "./components/Alert/Alert.types.js";
|
|
8
|
+
import { TextMode as _n, HeadingLevel as gs, SystemValidationStatus as Nn, GlobalCSSClass as re, TextFieldType as Sn, FormElementWidth as ys, Breakpoint as hr, DisplayMode as In, GutterSize as bs, HorizontalAlign as pr, VerticalAlign as vr, ModalSize as wn, PaddingSize as gr } from "./enums.js";
|
|
9
9
|
import { IressText as qe } from "./components/Text/Text.js";
|
|
10
10
|
import { propagateTestid as H } from "./helpers/utility/propagateTestid.js";
|
|
11
|
-
import { HeadingWithDeprecatedFallback as
|
|
12
|
-
import { s as St, A as xs } from "./AutocompleteNoResults-
|
|
11
|
+
import { HeadingWithDeprecatedFallback as yr } from "./components/HeadingWithDeprecatedFallback/HeadingWithDeprecatedFallback.js";
|
|
12
|
+
import { s as St, A as xs } from "./AutocompleteNoResults-CogA3XZs.js";
|
|
13
13
|
import { IressPopover as _s } from "./components/Popover/Popover.js";
|
|
14
|
-
import { s as Ue } from "./PopoverProvider-
|
|
14
|
+
import { s as Ue } from "./PopoverProvider-d3hhpW2k.js";
|
|
15
15
|
import { IressInputPopover as Xt } from "./components/Popover/InputPopover/InputPopover.js";
|
|
16
16
|
import { getFormControlValueAsString as bt } from "./helpers/form/getFormControlValueAsString.js";
|
|
17
|
-
import { ClearButton as
|
|
18
|
-
import { b as is, I as
|
|
19
|
-
import { InputMode as
|
|
17
|
+
import { ClearButton as kn } from "./components/Input/ClearButton/ClearButton.js";
|
|
18
|
+
import { b as is, I as Fn } from "./InputBase-BFK9n82f.js";
|
|
19
|
+
import { InputMode as Vn } from "./components/Input/Input.types.js";
|
|
20
20
|
import { useControlledState as _t } from "./hooks/useControlledState.js";
|
|
21
21
|
import "./fuzzysort-eoXOpoo6.js";
|
|
22
22
|
import "./components/Badge/Badge.js";
|
|
23
|
-
import { ButtonMode as
|
|
24
|
-
import { u as
|
|
23
|
+
import { ButtonMode as An, ButtonType as $n, ButtonCssClass as Ce } from "./components/Button/Button.types.js";
|
|
24
|
+
import { u as Rn } from "./useIDSButtonGroupItem-VfKx4O-O.js";
|
|
25
25
|
import "./components/ButtonGroup/ButtonGroupProvider.js";
|
|
26
26
|
import { IressCard as as } from "./components/Card/Card.js";
|
|
27
27
|
import "./components/CheckboxMark/CheckboxMark.types.js";
|
|
28
|
-
import { IressCheckboxMark as
|
|
28
|
+
import { IressCheckboxMark as Ln } from "./components/CheckboxMark/CheckboxMark.js";
|
|
29
29
|
import { useNoDefaultValueInForms as at } from "./components/Form/hooks/useNoDefaultValueInForms.js";
|
|
30
|
-
import { CheckboxGroupContext as
|
|
30
|
+
import { CheckboxGroupContext as Dn } from "./components/CheckboxGroup/CheckboxGroupContext.js";
|
|
31
31
|
import { toArray as _e } from "./helpers/formatting/toArray.js";
|
|
32
32
|
import "./components/CheckboxGroup/CheckboxGroup.js";
|
|
33
33
|
import { IressCol as Rt } from "./components/Col/Col.js";
|
|
34
|
-
import { s as it, C as
|
|
34
|
+
import { s as it, C as br } from "./ComboboxHiddenInput-gTOjjF3f.js";
|
|
35
35
|
import { useRichSelectState as Jt } from "./components/RichSelect/hooks/useRichSelectState.js";
|
|
36
36
|
import { useAutocompleteSearch as Ct } from "./components/Autocomplete/hooks/useAutocompleteSearch.js";
|
|
37
37
|
import { useIdIfNeeded as He } from "./hooks/useIdIfNeeded.js";
|
|
38
38
|
import "./components/Expander/Expander.js";
|
|
39
39
|
import { IressDivider as Ns } from "./components/Divider/Divider.js";
|
|
40
|
-
import { FormContext as
|
|
41
|
-
import { FormValidationSummary as
|
|
40
|
+
import { FormContext as Mn } from "./components/Form/FormContext.js";
|
|
41
|
+
import { FormValidationSummary as Cn } from "./components/Form/components/FormValidationSummary.js";
|
|
42
42
|
import { InlineCssClass as gt } from "./components/Inline/Inline.types.js";
|
|
43
43
|
import { getResponsiveLayoutModifiers as Ss } from "./helpers/responsive/getResponsiveLayoutModifiers.js";
|
|
44
|
-
import { formatCurrency as
|
|
45
|
-
import { IressMenu as
|
|
44
|
+
import { formatCurrency as Bn } from "./helpers/formatting/formatCurrency.js";
|
|
45
|
+
import { IressMenu as xr } from "./components/Menu/Menu.js";
|
|
46
46
|
import "./components/Menu/MenuProvider.js";
|
|
47
|
-
import { s as rt } from "./MenuItem.module-
|
|
48
|
-
import { useMenu as
|
|
49
|
-
import { useMenuItemRole as
|
|
50
|
-
import { useMenuItemAria as
|
|
51
|
-
import { useMenuItemButtonProps as
|
|
52
|
-
import { useMenuItemInteractions as
|
|
53
|
-
import { useMenuItemComposite as
|
|
54
|
-
import { i as Is, k as
|
|
55
|
-
import { timeStringToNumber as
|
|
47
|
+
import { s as rt } from "./MenuItem.module-BxcFZeSh.js";
|
|
48
|
+
import { useMenu as _r } from "./components/Menu/hooks/useMenu.js";
|
|
49
|
+
import { useMenuItemRole as Nr } from "./components/Menu/MenuItem/hooks/useMenuItemRole.js";
|
|
50
|
+
import { useMenuItemAria as zn } from "./components/Menu/MenuItem/hooks/useMenuItemAria.js";
|
|
51
|
+
import { useMenuItemButtonProps as Tn } from "./components/Menu/MenuItem/hooks/useMenuItemButtonProps.js";
|
|
52
|
+
import { useMenuItemInteractions as En } from "./components/Menu/MenuItem/hooks/useMenuItemInteractions.js";
|
|
53
|
+
import { useMenuItemComposite as Hn } from "./components/Menu/MenuItem/hooks/useMenuItemComposite.js";
|
|
54
|
+
import { i as Is, k as Sr, l as Ir, m as wr, w as ws, e as Wt, x as kr, g as Fr } from "./floating-ui.react-nmA48tb2.js";
|
|
55
|
+
import { timeStringToNumber as Vr } from "./helpers/transition/timeStringToNumber.js";
|
|
56
56
|
import { idsLogger as Zt } from "./helpers/utility/idsLogger.js";
|
|
57
|
-
import { useIDSProvidedModal as
|
|
57
|
+
import { useIDSProvidedModal as On } from "./components/Modal/hooks/useIDSProvidedModal.js";
|
|
58
58
|
import "./components/Modal/ModalProvider.js";
|
|
59
|
-
import { NavbarHorizontalAlign as
|
|
59
|
+
import { NavbarHorizontalAlign as Wn } from "./components/Navbar/Navbar.types.js";
|
|
60
60
|
import { IressPanel as ks } from "./components/Panel/Panel.js";
|
|
61
|
-
import { HideCssClass as
|
|
62
|
-
import { BREAKPOINTS as
|
|
63
|
-
import { TOASTER_ARIA_ATTRIBUTES as os, TOAST_POSITION_ANIMATION_MATRIX as
|
|
61
|
+
import { HideCssClass as Ws } from "./components/Hide/Hide.types.js";
|
|
62
|
+
import { BREAKPOINTS as Us } from "./constants.js";
|
|
63
|
+
import { TOASTER_ARIA_ATTRIBUTES as os, TOAST_POSITION_ANIMATION_MATRIX as Un } from "./components/Toaster/Toaster.types.js";
|
|
64
64
|
import { IressStack as dt } from "./components/Stack/Stack.js";
|
|
65
|
-
import { getTransitionDuration as
|
|
66
|
-
import { SlideoutMode as
|
|
67
|
-
import { q as
|
|
68
|
-
import { useIDSProvidedSlideout as
|
|
65
|
+
import { getTransitionDuration as Pn } from "./helpers/transition/getTransitionDuration.js";
|
|
66
|
+
import { SlideoutMode as qn, SlideoutPosition as jn, SlideoutSize as Qn } from "./components/Slideout/Slideout.types.js";
|
|
67
|
+
import { q as Kn } from "./SlideoutProvider-CQh140HM.js";
|
|
68
|
+
import { useIDSProvidedSlideout as Yn } from "./components/Slideout/hooks/useIDSProvidedSlideout.js";
|
|
69
69
|
import "react-dom";
|
|
70
|
-
import { RadioGroupContext as
|
|
70
|
+
import { RadioGroupContext as Xn } from "./components/RadioGroup/RadioGroupContext.js";
|
|
71
71
|
import "./components/RadioGroup/RadioGroup.js";
|
|
72
72
|
import { usePopoverItem as Gt } from "./components/Popover/hooks/usePopoverItem.js";
|
|
73
73
|
import { RowCssClass as It } from "./components/Row/Row.types.js";
|
|
74
|
-
import { S as
|
|
75
|
-
import { IressSelectOption as
|
|
74
|
+
import { S as Jn, s as Zn } from "./SelectControl-D1SJlplM.js";
|
|
75
|
+
import { IressSelectOption as Ps } from "./components/Select/SelectOption/SelectOption.js";
|
|
76
76
|
import { getValueAsEvent as ke } from "./helpers/form/getValueAsEvent.js";
|
|
77
77
|
import { getFormControlValueAsStringIfDefined as xt } from "./helpers/form/getFormControlValueAsStringIfDefined.js";
|
|
78
78
|
import { IressSkeleton as xe } from "./components/Skeleton/Skeleton.js";
|
|
79
79
|
import "./components/SkipLink/SkipLink.js";
|
|
80
|
-
import { s as ls, S as
|
|
81
|
-
import { TableScope as
|
|
82
|
-
import { s as Ye } from "./Table.module-
|
|
83
|
-
import { TableEmpty as
|
|
84
|
-
import { f as
|
|
85
|
-
import { useIDSTableColumnStyles as
|
|
86
|
-
import { useIDSTableColumnSort as
|
|
87
|
-
import { useTable as
|
|
88
|
-
import { IressTableProvider as
|
|
89
|
-
import { hasColumns as
|
|
90
|
-
import { TableRows as
|
|
80
|
+
import { s as ls, S as Gn } from "./SliderTicks-DQN0Ka4d.js";
|
|
81
|
+
import { TableScope as ei } from "./components/Table/Table.types.js";
|
|
82
|
+
import { s as Ye } from "./Table.module-r-RfIeLI.js";
|
|
83
|
+
import { TableEmpty as ti } from "./components/Table/components/TableEmpty.js";
|
|
84
|
+
import { f as si } from "./index-Dms7F5NM.js";
|
|
85
|
+
import { useIDSTableColumnStyles as ri } from "./components/Table/hooks/useIDSTableColumnStyles.js";
|
|
86
|
+
import { useIDSTableColumnSort as ni } from "./components/Table/hooks/useIDSTableColumnSort.js";
|
|
87
|
+
import { useTable as Fs } from "./components/Table/hooks/useTable.js";
|
|
88
|
+
import { IressTableProvider as ii } from "./components/Table/TableProvider.js";
|
|
89
|
+
import { hasColumns as ai } from "./components/Table/helpers/hasColumns.js";
|
|
90
|
+
import { TableRows as oi } from "./components/Table/components/TableRows.js";
|
|
91
91
|
import "./components/Table/TableContext.js";
|
|
92
92
|
import "./components/TabSet/Tab/Tab.js";
|
|
93
93
|
import "./components/TabSet/TabSet.js";
|
|
94
94
|
import "./components/Toggle/Toggle.js";
|
|
95
95
|
import "./components/Tooltip/Tooltip.js";
|
|
96
96
|
import "./components/ValidationMessage/ValidationMessage.js";
|
|
97
|
-
import { useSuspenseResource as
|
|
98
|
-
import { L as Ar, s as Ie } from "./LogoFromSrc-
|
|
99
|
-
import { getValueFromLabelValues as
|
|
100
|
-
import { useFilterFlags as
|
|
101
|
-
import { FilterLabel as
|
|
97
|
+
import { useSuspenseResource as li, uncacheSuspenseResource as ci } from "./patterns/Loading/hooks/useSuspenseResource.js";
|
|
98
|
+
import { L as Ar, s as Ie } from "./LogoFromSrc-BnImWqt6.js";
|
|
99
|
+
import { getValueFromLabelValues as di } from "./helpers/label-value/getValueFromLabelValues.js";
|
|
100
|
+
import { useFilterFlags as ui } from "./components/Filter/hooks/useFilterFlags.js";
|
|
101
|
+
import { FilterLabel as fi } from "./components/Filter/components/FilterLabel.js";
|
|
102
102
|
import { composeLabelValueDescriptor as Ut } from "./helpers/label-value/composeLabelValueDescriptor.js";
|
|
103
103
|
import { useComboboxFlags as $r } from "./components/Combobox/hooks/useComboboxFlags.js";
|
|
104
104
|
import { usePopover as Rr } from "./components/Popover/hooks/usePopover.js";
|
|
105
|
-
import { focusableElements as
|
|
106
|
-
import { handlePopoverTabKey as
|
|
107
|
-
import { SelectHiddenInput as
|
|
108
|
-
import { useComboboxInlineCompletion as
|
|
109
|
-
import { AutocompleteInstructions as
|
|
110
|
-
import { l as Me } from "./Loading.module-
|
|
111
|
-
import { useShouldRenderLoading as
|
|
112
|
-
import { IressContainer as
|
|
113
|
-
import { LongLoading as
|
|
114
|
-
const
|
|
115
|
-
alert:
|
|
116
|
-
icon:
|
|
117
|
-
heading:
|
|
118
|
-
"iress-u-text": "ids-alert--iress-u-text-
|
|
119
|
-
wrapper:
|
|
120
|
-
footer:
|
|
121
|
-
danger:
|
|
122
|
-
info:
|
|
123
|
-
success:
|
|
124
|
-
warning:
|
|
125
|
-
},
|
|
126
|
-
icon:
|
|
127
|
-
"flip-horizontal": "ids-icon--flip-horizontal-
|
|
128
|
-
"flip-vertical": "ids-icon--flip-vertical-
|
|
129
|
-
"flip-both": "ids-icon--flip-both-
|
|
130
|
-
"rotate-180": "ids-icon--rotate-180-
|
|
131
|
-
"rotate-270": "ids-icon--rotate-270-
|
|
132
|
-
"rotate-90": "ids-icon--rotate-90-
|
|
133
|
-
"spin-half": "ids-icon--spin-half-
|
|
134
|
-
"iress-icon-rotation": "ids-icon--iress-icon-rotation-
|
|
135
|
-
"spin-1": "ids-icon--spin-1-
|
|
136
|
-
"spin-2": "ids-icon--spin-2-
|
|
137
|
-
"spin-3": "ids-icon--spin-3-
|
|
138
|
-
"mode-body": "ids-icon--mode-body-
|
|
139
|
-
"mode-muted": "ids-icon--mode-muted-
|
|
140
|
-
"mode-primary": "ids-icon--mode-primary-
|
|
141
|
-
"mode-info": "ids-icon--mode-info-
|
|
142
|
-
"mode-success": "ids-icon--mode-success-
|
|
143
|
-
"mode-warning": "ids-icon--mode-warning-
|
|
144
|
-
"mode-danger": "ids-icon--mode-danger-
|
|
145
|
-
"mode-positive": "ids-icon--mode-positive-
|
|
146
|
-
"mode-negative": "ids-icon--mode-negative-
|
|
147
|
-
},
|
|
105
|
+
import { focusableElements as mi } from "./helpers/dom/focusableElements.js";
|
|
106
|
+
import { handlePopoverTabKey as hi } from "./components/Popover/helpers/handlePopoverTabKey.js";
|
|
107
|
+
import { SelectHiddenInput as pi } from "./components/RichSelect/components/SelectHiddenInput.js";
|
|
108
|
+
import { useComboboxInlineCompletion as vi } from "./components/Combobox/hooks/useComboboxInlineCompletion.js";
|
|
109
|
+
import { AutocompleteInstructions as gi } from "./components/Autocomplete/components/AutocompleteInstructions.js";
|
|
110
|
+
import { l as Me } from "./Loading.module-g2pe-Gfx.js";
|
|
111
|
+
import { useShouldRenderLoading as yi } from "./patterns/Loading/hooks/useShouldRenderLoading.js";
|
|
112
|
+
import { IressContainer as Vs } from "./components/Container/Container.js";
|
|
113
|
+
import { LongLoading as bi } from "./patterns/Loading/components/LongLoading.js";
|
|
114
|
+
const xi = "ids-alert-v5200", _i = "ids-alert--icon-v5200", Ni = "ids-alert--heading-v5200", Si = "ids-alert--wrapper-v5200", Ii = "ids-alert--footer-v5200", wi = "ids-alert--danger-v5200", ki = "ids-alert--info-v5200", Fi = "ids-alert--success-v5200", Vi = "ids-alert--warning-v5200", pt = {
|
|
115
|
+
alert: xi,
|
|
116
|
+
icon: _i,
|
|
117
|
+
heading: Ni,
|
|
118
|
+
"iress-u-text": "ids-alert--iress-u-text-v5200",
|
|
119
|
+
wrapper: Si,
|
|
120
|
+
footer: Ii,
|
|
121
|
+
danger: wi,
|
|
122
|
+
info: ki,
|
|
123
|
+
success: Fi,
|
|
124
|
+
warning: Vi
|
|
125
|
+
}, Ai = "ids-icon-v5200", wt = {
|
|
126
|
+
icon: Ai,
|
|
127
|
+
"flip-horizontal": "ids-icon--flip-horizontal-v5200",
|
|
128
|
+
"flip-vertical": "ids-icon--flip-vertical-v5200",
|
|
129
|
+
"flip-both": "ids-icon--flip-both-v5200",
|
|
130
|
+
"rotate-180": "ids-icon--rotate-180-v5200",
|
|
131
|
+
"rotate-270": "ids-icon--rotate-270-v5200",
|
|
132
|
+
"rotate-90": "ids-icon--rotate-90-v5200",
|
|
133
|
+
"spin-half": "ids-icon--spin-half-v5200",
|
|
134
|
+
"iress-icon-rotation": "ids-icon--iress-icon-rotation-v5200",
|
|
135
|
+
"spin-1": "ids-icon--spin-1-v5200",
|
|
136
|
+
"spin-2": "ids-icon--spin-2-v5200",
|
|
137
|
+
"spin-3": "ids-icon--spin-3-v5200",
|
|
138
|
+
"mode-body": "ids-icon--mode-body-v5200",
|
|
139
|
+
"mode-muted": "ids-icon--mode-muted-v5200",
|
|
140
|
+
"mode-primary": "ids-icon--mode-primary-v5200",
|
|
141
|
+
"mode-info": "ids-icon--mode-info-v5200",
|
|
142
|
+
"mode-success": "ids-icon--mode-success-v5200",
|
|
143
|
+
"mode-warning": "ids-icon--mode-warning-v5200",
|
|
144
|
+
"mode-danger": "ids-icon--mode-danger-v5200",
|
|
145
|
+
"mode-positive": "ids-icon--mode-positive-v5200",
|
|
146
|
+
"mode-negative": "ids-icon--mode-negative-v5200"
|
|
147
|
+
}, $i = ({
|
|
148
148
|
name: e,
|
|
149
149
|
screenreaderText: s,
|
|
150
150
|
set: t = "fal",
|
|
@@ -179,15 +179,15 @@ const bi = "ids-alert-v5190", xi = "ids-alert--icon-v5190", _i = "ids-alert--hea
|
|
|
179
179
|
}
|
|
180
180
|
);
|
|
181
181
|
}, de = ae(
|
|
182
|
-
|
|
182
|
+
$i
|
|
183
183
|
);
|
|
184
184
|
de.displayName = "IressIcon";
|
|
185
|
-
de.Spin =
|
|
186
|
-
de.Size =
|
|
187
|
-
de.Flip =
|
|
188
|
-
de.Rotate =
|
|
189
|
-
de.Set =
|
|
190
|
-
de.Mode =
|
|
185
|
+
de.Spin = vn;
|
|
186
|
+
de.Size = mr;
|
|
187
|
+
de.Flip = gn;
|
|
188
|
+
de.Rotate = yn;
|
|
189
|
+
de.Set = bn;
|
|
190
|
+
de.Mode = _n;
|
|
191
191
|
const Bt = ({
|
|
192
192
|
children: e,
|
|
193
193
|
className: s,
|
|
@@ -209,7 +209,7 @@ const Bt = ({
|
|
|
209
209
|
/* @__PURE__ */ a(
|
|
210
210
|
de,
|
|
211
211
|
{
|
|
212
|
-
name:
|
|
212
|
+
name: xn[o],
|
|
213
213
|
screenreaderText: `${o}: `,
|
|
214
214
|
size: "lg",
|
|
215
215
|
fixedWidth: !0,
|
|
@@ -218,7 +218,7 @@ const Bt = ({
|
|
|
218
218
|
),
|
|
219
219
|
/* @__PURE__ */ D("div", { className: pt.wrapper, children: [
|
|
220
220
|
(r ?? n) && /* @__PURE__ */ a("div", { className: pt.heading, children: /* @__PURE__ */ a(
|
|
221
|
-
|
|
221
|
+
yr,
|
|
222
222
|
{
|
|
223
223
|
component: "IressAlert",
|
|
224
224
|
heading: r,
|
|
@@ -234,20 +234,20 @@ const Bt = ({
|
|
|
234
234
|
}
|
|
235
235
|
);
|
|
236
236
|
Bt.HeadingLevel = gs;
|
|
237
|
-
Bt.Status =
|
|
238
|
-
const
|
|
239
|
-
input:
|
|
240
|
-
readonly:
|
|
241
|
-
wrapper:
|
|
242
|
-
addon:
|
|
243
|
-
inlineWrapper:
|
|
244
|
-
internal:
|
|
245
|
-
prepend:
|
|
246
|
-
append:
|
|
247
|
-
alignRight:
|
|
248
|
-
watermark:
|
|
249
|
-
},
|
|
250
|
-
spinner:
|
|
237
|
+
Bt.Status = Nn;
|
|
238
|
+
const Ri = "ids-input-v5200", Li = "ids-input--readonly-v5200", Di = "ids-input--wrapper-v5200", Mi = "ids-input--addon-v5200", Ci = "ids-input--inline-wrapper-v5200", Bi = "ids-input--internal-v5200", zi = "ids-input--prepend-v5200", Ti = "ids-input--append-v5200", Ei = "ids-input--align-right-v5200", Hi = "ids-input--watermark-v5200", oe = {
|
|
239
|
+
input: Ri,
|
|
240
|
+
readonly: Li,
|
|
241
|
+
wrapper: Di,
|
|
242
|
+
addon: Mi,
|
|
243
|
+
inlineWrapper: Ci,
|
|
244
|
+
internal: Bi,
|
|
245
|
+
prepend: zi,
|
|
246
|
+
append: Ti,
|
|
247
|
+
alignRight: Ei,
|
|
248
|
+
watermark: Hi
|
|
249
|
+
}, Oi = "ids-spinner-v5200", Wi = {
|
|
250
|
+
spinner: Oi
|
|
251
251
|
}, zt = ({
|
|
252
252
|
className: e,
|
|
253
253
|
name: s = "spinner-third",
|
|
@@ -257,11 +257,11 @@ const $i = "ids-input-v5190", Ri = "ids-input--readonly-v5190", Li = "ids-input-
|
|
|
257
257
|
de,
|
|
258
258
|
{
|
|
259
259
|
...r,
|
|
260
|
-
className: V(e,
|
|
260
|
+
className: V(e, Wi.spinner),
|
|
261
261
|
name: s,
|
|
262
262
|
spin: t
|
|
263
263
|
}
|
|
264
|
-
),
|
|
264
|
+
), Ui = ({
|
|
265
265
|
append: e,
|
|
266
266
|
children: s,
|
|
267
267
|
className: t,
|
|
@@ -281,7 +281,7 @@ const $i = "ids-input-v5190", Ri = "ids-input--readonly-v5190", Li = "ids-input-
|
|
|
281
281
|
component: "IressReadonly",
|
|
282
282
|
defaultValue: i
|
|
283
283
|
});
|
|
284
|
-
const
|
|
284
|
+
const N = V(
|
|
285
285
|
oe.input,
|
|
286
286
|
oe.readonly,
|
|
287
287
|
t,
|
|
@@ -299,8 +299,8 @@ const $i = "ids-input-v5190", Ri = "ids-input--readonly-v5190", Li = "ids-input-
|
|
|
299
299
|
[`${re.Width}--${d}`]: d && !(d != null && d.includes("perc")),
|
|
300
300
|
[is.readonlyAlignRight]: h
|
|
301
301
|
}
|
|
302
|
-
), x = xt(i),
|
|
303
|
-
return /* @__PURE__ */ D("div", { className:
|
|
302
|
+
), x = xt(i), k = xt(f);
|
|
303
|
+
return /* @__PURE__ */ D("div", { className: N, "data-testid": r, style: l, children: [
|
|
304
304
|
/* @__PURE__ */ D(
|
|
305
305
|
"div",
|
|
306
306
|
{
|
|
@@ -309,7 +309,7 @@ const $i = "ids-input-v5190", Ri = "ids-input--readonly-v5190", Li = "ids-input-
|
|
|
309
309
|
}),
|
|
310
310
|
children: [
|
|
311
311
|
o && /* @__PURE__ */ a("div", { className: `${oe.addon} ${oe.prepend}`, children: o }),
|
|
312
|
-
/* @__PURE__ */ a("div", { className: b, children: s ??
|
|
312
|
+
/* @__PURE__ */ a("div", { className: b, children: s ?? k ?? x }),
|
|
313
313
|
/* @__PURE__ */ a("div", { className: oe.internal, children: n && /* @__PURE__ */ a(
|
|
314
314
|
zt,
|
|
315
315
|
{
|
|
@@ -328,11 +328,11 @@ const $i = "ids-input-v5190", Ri = "ids-input--readonly-v5190", Li = "ids-input-
|
|
|
328
328
|
type: "hidden",
|
|
329
329
|
ref: y,
|
|
330
330
|
"data-testid": H(r, "input"),
|
|
331
|
-
value:
|
|
331
|
+
value: k
|
|
332
332
|
}
|
|
333
333
|
)
|
|
334
334
|
] });
|
|
335
|
-
}, Ze = ae(
|
|
335
|
+
}, Ze = ae(Ui), Pi = (e, s) => {
|
|
336
336
|
const {
|
|
337
337
|
loading: t = !1,
|
|
338
338
|
clearable: r = !1,
|
|
@@ -347,7 +347,7 @@ const $i = "ids-input-v5190", Ri = "ids-input--readonly-v5190", Li = "ids-input-
|
|
|
347
347
|
readOnly: h,
|
|
348
348
|
formatter: g,
|
|
349
349
|
type: y,
|
|
350
|
-
inline:
|
|
350
|
+
inline: N,
|
|
351
351
|
alignRight: b,
|
|
352
352
|
...x
|
|
353
353
|
} = e;
|
|
@@ -355,21 +355,21 @@ const $i = "ids-input-v5190", Ri = "ids-input--readonly-v5190", Li = "ids-input-
|
|
|
355
355
|
component: "IressInput",
|
|
356
356
|
defaultValue: i
|
|
357
357
|
});
|
|
358
|
-
const
|
|
358
|
+
const k = le(null), I = le(null), { value: B, setValue: S } = _t({
|
|
359
359
|
component: "IressInput",
|
|
360
360
|
defaultValue: i,
|
|
361
361
|
value: e.value
|
|
362
|
-
}), q = bt(
|
|
362
|
+
}), q = bt(B), [Q, j] = X(!1), M = Ne(() => g && !Q ? g(B) : q, [g, B, q, Q]), O = Ne(() => g && !Q ? "text" : y, [g, Q, y]);
|
|
363
363
|
if (Ee(
|
|
364
364
|
s,
|
|
365
|
-
() =>
|
|
365
|
+
() => k.current
|
|
366
366
|
), h)
|
|
367
367
|
return /* @__PURE__ */ a(
|
|
368
368
|
Ze,
|
|
369
369
|
{
|
|
370
370
|
...x,
|
|
371
371
|
defaultValue: void 0,
|
|
372
|
-
value:
|
|
372
|
+
value: B,
|
|
373
373
|
alignRight: b,
|
|
374
374
|
append: m,
|
|
375
375
|
className: f,
|
|
@@ -378,7 +378,7 @@ const $i = "ids-input-v5190", Ri = "ids-input--readonly-v5190", Li = "ids-input-
|
|
|
378
378
|
);
|
|
379
379
|
const te = (R) => {
|
|
380
380
|
var U;
|
|
381
|
-
|
|
381
|
+
S(""), (U = k.current) == null || U.focus();
|
|
382
382
|
const A = new Event("change", {
|
|
383
383
|
bubbles: !0
|
|
384
384
|
});
|
|
@@ -388,7 +388,7 @@ const $i = "ids-input-v5190", Ri = "ids-input--readonly-v5190", Li = "ids-input-
|
|
|
388
388
|
}), n == null || n(A);
|
|
389
389
|
}, C = (R) => {
|
|
390
390
|
const A = R.target.value;
|
|
391
|
-
|
|
391
|
+
S(A), d == null || d(R, A);
|
|
392
392
|
}, $ = V(
|
|
393
393
|
oe.input,
|
|
394
394
|
f,
|
|
@@ -402,12 +402,12 @@ const $i = "ids-input-v5190", Ri = "ids-input--readonly-v5190", Li = "ids-input-
|
|
|
402
402
|
"div",
|
|
403
403
|
{
|
|
404
404
|
className: V(oe.wrapper, re.FormElementInner, {
|
|
405
|
-
[oe.inlineWrapper]:
|
|
405
|
+
[oe.inlineWrapper]: N
|
|
406
406
|
}),
|
|
407
407
|
children: [
|
|
408
408
|
l && /* @__PURE__ */ a("div", { className: `${oe.addon} ${oe.prepend}`, children: l }),
|
|
409
409
|
/* @__PURE__ */ a(
|
|
410
|
-
|
|
410
|
+
Fn,
|
|
411
411
|
{
|
|
412
412
|
...x,
|
|
413
413
|
className: V({
|
|
@@ -418,18 +418,18 @@ const $i = "ids-input-v5190", Ri = "ids-input--readonly-v5190", Li = "ids-input-
|
|
|
418
418
|
onChange: C,
|
|
419
419
|
onFocus: (R) => {
|
|
420
420
|
var A;
|
|
421
|
-
j(!0), (A = x == null ? void 0 : x.onFocus) == null || A.call(x, R),
|
|
421
|
+
j(!0), (A = x == null ? void 0 : x.onFocus) == null || A.call(x, R), I.current ? I.current = null : queueMicrotask(() => R.target.select());
|
|
422
422
|
},
|
|
423
423
|
onMouseDown: (R) => {
|
|
424
424
|
var A;
|
|
425
|
-
(A = x == null ? void 0 : x.onMouseDown) == null || A.call(x, R),
|
|
425
|
+
(A = x == null ? void 0 : x.onMouseDown) == null || A.call(x, R), I.current = !0;
|
|
426
426
|
},
|
|
427
427
|
onBlur: (...R) => {
|
|
428
428
|
var A;
|
|
429
429
|
j(!1), (A = x == null ? void 0 : x.onBlur) == null || A.call(x, ...R);
|
|
430
430
|
},
|
|
431
431
|
type: O,
|
|
432
|
-
ref:
|
|
432
|
+
ref: k
|
|
433
433
|
}
|
|
434
434
|
),
|
|
435
435
|
/* @__PURE__ */ D("div", { className: oe.internal, children: [
|
|
@@ -439,30 +439,30 @@ const $i = "ids-input-v5190", Ri = "ids-input--readonly-v5190", Li = "ids-input-
|
|
|
439
439
|
screenreaderText: t === !0 ? "loading" : t
|
|
440
440
|
}
|
|
441
441
|
),
|
|
442
|
-
q && r && /* @__PURE__ */ a(
|
|
442
|
+
q && r && /* @__PURE__ */ a(kn, { onClick: te })
|
|
443
443
|
] }),
|
|
444
444
|
m && /* @__PURE__ */ a("div", { className: `${oe.addon} ${oe.append}`, children: m })
|
|
445
445
|
]
|
|
446
446
|
}
|
|
447
447
|
) });
|
|
448
|
-
},
|
|
449
|
-
Ge.Type =
|
|
448
|
+
}, qi = ae(Pi), Ge = qi;
|
|
449
|
+
Ge.Type = Sn;
|
|
450
450
|
Ge.Width = ys;
|
|
451
|
-
Ge.InputMode =
|
|
452
|
-
const
|
|
453
|
-
richSelect:
|
|
454
|
-
popoverContent:
|
|
455
|
-
autoWidth:
|
|
456
|
-
dropdownSelectedHeading:
|
|
457
|
-
dropdownClear:
|
|
458
|
-
wrapper:
|
|
459
|
-
},
|
|
460
|
-
selectLabel:
|
|
461
|
-
contents:
|
|
462
|
-
placeholder:
|
|
463
|
-
prepend:
|
|
464
|
-
append:
|
|
465
|
-
},
|
|
451
|
+
Ge.InputMode = Vn;
|
|
452
|
+
const ji = "ids-rich-select-v5200", Qi = "ids-rich-select--popover-content-v5200", Ki = "ids-rich-select--auto-width-v5200", Yi = "ids-rich-select--dropdown-selected-heading-v5200", Xi = "ids-rich-select--dropdown-clear-v5200", Ji = "ids-rich-select--wrapper-v5200", ut = {
|
|
453
|
+
richSelect: ji,
|
|
454
|
+
popoverContent: Qi,
|
|
455
|
+
autoWidth: Ki,
|
|
456
|
+
dropdownSelectedHeading: Yi,
|
|
457
|
+
dropdownClear: Xi,
|
|
458
|
+
wrapper: Ji
|
|
459
|
+
}, Zi = "ids-select-label-v5200", Gi = "ids-select-label--contents-v5200", ea = "ids-select-label--placeholder-v5200", ta = "ids-select-label--prepend-v5200", sa = "ids-select-label--append-v5200", kt = {
|
|
460
|
+
selectLabel: Zi,
|
|
461
|
+
contents: Gi,
|
|
462
|
+
placeholder: ea,
|
|
463
|
+
prepend: ta,
|
|
464
|
+
append: sa
|
|
465
|
+
}, ra = ({
|
|
466
466
|
loading: e,
|
|
467
467
|
...s
|
|
468
468
|
}) => e ? /* @__PURE__ */ a(
|
|
@@ -472,7 +472,7 @@ const qi = "ids-rich-select-v5190", ji = "ids-rich-select--popover-content-v5190
|
|
|
472
472
|
fixedWidth: !0,
|
|
473
473
|
screenreaderText: e === !0 ? "Loading" : e
|
|
474
474
|
}
|
|
475
|
-
) : null,
|
|
475
|
+
) : null, na = ({
|
|
476
476
|
append: e,
|
|
477
477
|
attrs: s,
|
|
478
478
|
children: t,
|
|
@@ -488,35 +488,35 @@ const qi = "ids-rich-select-v5190", ji = "ids-rich-select--popover-content-v5190
|
|
|
488
488
|
noWrap: h = !1,
|
|
489
489
|
onClick: g,
|
|
490
490
|
value: y,
|
|
491
|
-
...
|
|
491
|
+
...N
|
|
492
492
|
}, b) => {
|
|
493
|
-
const x = ps(),
|
|
493
|
+
const x = ps(), I = Rn({ value: y ?? (typeof t == "string" || typeof t == "number" || typeof t == "boolean" ? t : void 0) }), B = {
|
|
494
494
|
[Ce.Base]: !0,
|
|
495
495
|
[Ce.Fluid]: i === !0,
|
|
496
|
-
[`${Ce.Mode}--${l}`]: !
|
|
496
|
+
[`${Ce.Mode}--${l}`]: !I,
|
|
497
497
|
[Ce.NoWrap]: h === !0,
|
|
498
498
|
[Ce.Loading]: o,
|
|
499
499
|
[`${Ce.Fluid}--${i}`]: typeof i == "string"
|
|
500
|
-
},
|
|
500
|
+
}, S = n === void 0 ? "button" : "a", q = S === "button" ? {
|
|
501
501
|
type: u,
|
|
502
502
|
"aria-describedby": o ? x : void 0
|
|
503
503
|
} : { href: n, rel: d, target: f }, Q = (j) => {
|
|
504
|
-
o || (g == null || g(j),
|
|
504
|
+
o || (g == null || g(j), I == null || I.toggle());
|
|
505
505
|
};
|
|
506
506
|
return /* @__PURE__ */ D(
|
|
507
|
-
|
|
507
|
+
S,
|
|
508
508
|
{
|
|
509
509
|
className: V(
|
|
510
510
|
r,
|
|
511
|
-
|
|
511
|
+
I == null ? void 0 : I.className,
|
|
512
512
|
re.FormElement,
|
|
513
513
|
re.FormElementInner,
|
|
514
|
-
|
|
514
|
+
B
|
|
515
515
|
),
|
|
516
516
|
...q,
|
|
517
517
|
...s,
|
|
518
|
-
...
|
|
519
|
-
...
|
|
518
|
+
...I == null ? void 0 : I.props,
|
|
519
|
+
...N,
|
|
520
520
|
onClick: Q,
|
|
521
521
|
ref: b,
|
|
522
522
|
children: [
|
|
@@ -527,18 +527,18 @@ const qi = "ids-rich-select-v5190", ji = "ids-rich-select--popover-content-v5190
|
|
|
527
527
|
children: m
|
|
528
528
|
}
|
|
529
529
|
),
|
|
530
|
-
/* @__PURE__ */ a(
|
|
530
|
+
/* @__PURE__ */ a(ra, { loading: o, id: x }),
|
|
531
531
|
t,
|
|
532
532
|
e
|
|
533
533
|
]
|
|
534
534
|
}
|
|
535
535
|
);
|
|
536
|
-
}, Re = ae(
|
|
537
|
-
Re.Mode =
|
|
538
|
-
Re.Type =
|
|
539
|
-
Re.Fluid =
|
|
540
|
-
const
|
|
541
|
-
closeButton:
|
|
536
|
+
}, Re = ae(na);
|
|
537
|
+
Re.Mode = An;
|
|
538
|
+
Re.Type = $n;
|
|
539
|
+
Re.Fluid = hr;
|
|
540
|
+
const ia = "ids-close-button-v5200", aa = {
|
|
541
|
+
closeButton: ia
|
|
542
542
|
}, Tt = ae(
|
|
543
543
|
({
|
|
544
544
|
screenreaderText: e = "Close button",
|
|
@@ -547,7 +547,7 @@ const na = "ids-close-button-v5190", ia = {
|
|
|
547
547
|
}, r) => /* @__PURE__ */ a(
|
|
548
548
|
Re,
|
|
549
549
|
{
|
|
550
|
-
className: V(s,
|
|
550
|
+
className: V(s, aa.closeButton),
|
|
551
551
|
mode: "tertiary",
|
|
552
552
|
...t,
|
|
553
553
|
ref: r,
|
|
@@ -556,7 +556,7 @@ const na = "ids-close-button-v5190", ia = {
|
|
|
556
556
|
)
|
|
557
557
|
);
|
|
558
558
|
Tt.displayName = "IressCloseButton";
|
|
559
|
-
const
|
|
559
|
+
const oa = ({
|
|
560
560
|
append: e = /* @__PURE__ */ a(de, { name: "chevron-down", size: "xs" }),
|
|
561
561
|
className: s,
|
|
562
562
|
placeholder: t,
|
|
@@ -592,17 +592,17 @@ const aa = ({
|
|
|
592
592
|
]
|
|
593
593
|
}
|
|
594
594
|
);
|
|
595
|
-
},
|
|
596
|
-
selectTags:
|
|
597
|
-
placeholder:
|
|
598
|
-
prepend:
|
|
599
|
-
append:
|
|
600
|
-
tag:
|
|
601
|
-
tagsList:
|
|
602
|
-
},
|
|
595
|
+
}, la = "ids-select-tags-v5200", ca = "ids-select-tags--placeholder-v5200", da = "ids-select-tags--prepend-v5200", ua = "ids-select-tags--append-v5200", fa = "ids-select-tags--tag-v5200", ma = "ids-select-tags--tags-list-v5200", ct = {
|
|
596
|
+
selectTags: la,
|
|
597
|
+
placeholder: ca,
|
|
598
|
+
prepend: da,
|
|
599
|
+
append: ua,
|
|
600
|
+
tag: fa,
|
|
601
|
+
tagsList: ma
|
|
602
|
+
}, qs = (e, s) => {
|
|
603
603
|
if (!(e != null && e.api.elements.reference) || !s)
|
|
604
604
|
return;
|
|
605
|
-
const t = e.getFocusableActivator(), r =
|
|
605
|
+
const t = e.getFocusableActivator(), r = mi(
|
|
606
606
|
e.api.elements.reference
|
|
607
607
|
).filter((i) => i !== t);
|
|
608
608
|
if (r.length < 1)
|
|
@@ -613,7 +613,7 @@ const aa = ({
|
|
|
613
613
|
), o = Math.max(i - 1, 0);
|
|
614
614
|
!n[o] && n[0] ? n[0].focus() : n[0] ? n[o].focus() : t == null || t.focus();
|
|
615
615
|
}
|
|
616
|
-
},
|
|
616
|
+
}, ha = ({
|
|
617
617
|
"data-testid": e,
|
|
618
618
|
limit: s = 5,
|
|
619
619
|
onDelete: t,
|
|
@@ -627,7 +627,7 @@ const aa = ({
|
|
|
627
627
|
t == null || t(
|
|
628
628
|
n.find((y) => y.label === h),
|
|
629
629
|
g
|
|
630
|
-
), g.stopPropagation(),
|
|
630
|
+
), g.stopPropagation(), qs(d, g);
|
|
631
631
|
},
|
|
632
632
|
[t, d, n]
|
|
633
633
|
), u = ye(
|
|
@@ -666,10 +666,10 @@ const aa = ({
|
|
|
666
666
|
) }),
|
|
667
667
|
onActivated: () => i == null ? void 0 : i(!0),
|
|
668
668
|
onClick: (h) => {
|
|
669
|
-
h.stopPropagation(),
|
|
669
|
+
h.stopPropagation(), qs(d, h);
|
|
670
670
|
},
|
|
671
671
|
onDeactivated: () => i == null ? void 0 : i(!1),
|
|
672
|
-
children: /* @__PURE__ */ D(
|
|
672
|
+
children: /* @__PURE__ */ D(xr, { children: [
|
|
673
673
|
/* @__PURE__ */ a(fs, { onClick: () => m(!0), children: "Expand all" }),
|
|
674
674
|
/* @__PURE__ */ a(fs, { onClick: u, children: "Delete all" })
|
|
675
675
|
] })
|
|
@@ -678,7 +678,7 @@ const aa = ({
|
|
|
678
678
|
children: Ut(n, o)
|
|
679
679
|
}
|
|
680
680
|
);
|
|
681
|
-
},
|
|
681
|
+
}, pa = ({
|
|
682
682
|
append: e = /* @__PURE__ */ a(Re, { mode: "tertiary", role: "combobox", "aria-label": "Select", children: /* @__PURE__ */ a(de, { name: "chevron-down", size: "xs" }) }),
|
|
683
683
|
className: s,
|
|
684
684
|
"data-testid": t,
|
|
@@ -707,7 +707,7 @@ const aa = ({
|
|
|
707
707
|
m && /* @__PURE__ */ a("span", { className: ct.prepend, children: m }),
|
|
708
708
|
g && /* @__PURE__ */ a("span", { className: V(ct.placeholder), children: l }),
|
|
709
709
|
y && /* @__PURE__ */ a(et, { gutter: "sm", className: ct.tagsList, children: /* @__PURE__ */ a(
|
|
710
|
-
|
|
710
|
+
ha,
|
|
711
711
|
{
|
|
712
712
|
"data-testid": t,
|
|
713
713
|
limit: r,
|
|
@@ -722,11 +722,11 @@ const aa = ({
|
|
|
722
722
|
]
|
|
723
723
|
}
|
|
724
724
|
);
|
|
725
|
-
},
|
|
726
|
-
const t =
|
|
725
|
+
}, va = (e, s = {}) => {
|
|
726
|
+
const t = ga(s);
|
|
727
727
|
return Object.keys(t).filter((r) => !!t[r]).map((r) => `${e}--${r}`);
|
|
728
|
-
},
|
|
729
|
-
(s, t, r) => (s[t] = e[t] ?? s[
|
|
728
|
+
}, ga = (e = {}) => Us.reduce(
|
|
729
|
+
(s, t, r) => (s[t] = e[t] ?? s[Us[r - 1]], s),
|
|
730
730
|
{}
|
|
731
731
|
), Mt = ({
|
|
732
732
|
children: e,
|
|
@@ -735,16 +735,16 @@ const aa = ({
|
|
|
735
735
|
className: r,
|
|
736
736
|
...i
|
|
737
737
|
}) => {
|
|
738
|
-
const n = t ?
|
|
738
|
+
const n = t ? Ws.VisuallyHidden : Ws.TotallyHidden;
|
|
739
739
|
return /* @__PURE__ */ a(
|
|
740
740
|
"div",
|
|
741
741
|
{
|
|
742
|
-
className: V(r,
|
|
742
|
+
className: V(r, va(n, s)),
|
|
743
743
|
...i,
|
|
744
744
|
children: e
|
|
745
745
|
}
|
|
746
746
|
);
|
|
747
|
-
},
|
|
747
|
+
}, ya = ({
|
|
748
748
|
async: e,
|
|
749
749
|
id: s,
|
|
750
750
|
error: t,
|
|
@@ -765,7 +765,7 @@ const aa = ({
|
|
|
765
765
|
show: f,
|
|
766
766
|
value: u
|
|
767
767
|
}) : i ? /* @__PURE__ */ a(
|
|
768
|
-
|
|
768
|
+
pa,
|
|
769
769
|
{
|
|
770
770
|
append: /* @__PURE__ */ D(Re, { mode: "tertiary", role: e ? void 0 : "combobox", children: [
|
|
771
771
|
/* @__PURE__ */ a(de, { name: "chevron-down", size: "xs" }),
|
|
@@ -791,20 +791,20 @@ const aa = ({
|
|
|
791
791
|
selected: u
|
|
792
792
|
}
|
|
793
793
|
) : /* @__PURE__ */ a(
|
|
794
|
-
|
|
794
|
+
oa,
|
|
795
795
|
{
|
|
796
796
|
id: s,
|
|
797
797
|
placeholder: o,
|
|
798
798
|
role: e ? void 0 : "combobox",
|
|
799
799
|
selected: u
|
|
800
800
|
}
|
|
801
|
-
),
|
|
802
|
-
selectSearch:
|
|
803
|
-
content:
|
|
804
|
-
},
|
|
805
|
-
selectBody:
|
|
806
|
-
children:
|
|
807
|
-
},
|
|
801
|
+
), ba = "ids-select-search-v5200", xa = "ids-select-search--content-v5200", js = {
|
|
802
|
+
selectSearch: ba,
|
|
803
|
+
content: xa
|
|
804
|
+
}, _a = "ids-select-body-v5200", Na = "ids-select-body--children-v5200", Qs = {
|
|
805
|
+
selectBody: _a,
|
|
806
|
+
children: Na
|
|
807
|
+
}, Sa = ({
|
|
808
808
|
className: e,
|
|
809
809
|
contentClassName: s,
|
|
810
810
|
onKeyDown: t,
|
|
@@ -816,23 +816,23 @@ const aa = ({
|
|
|
816
816
|
{
|
|
817
817
|
...r,
|
|
818
818
|
className: V(
|
|
819
|
-
|
|
820
|
-
|
|
819
|
+
js.selectSearch,
|
|
820
|
+
Qs.selectBody,
|
|
821
821
|
e
|
|
822
822
|
),
|
|
823
823
|
contentClassName: V(
|
|
824
|
-
|
|
825
|
-
|
|
824
|
+
js.content,
|
|
825
|
+
Qs.children,
|
|
826
826
|
s
|
|
827
827
|
),
|
|
828
828
|
displayMode: "inline",
|
|
829
829
|
onKeyDown: (n) => {
|
|
830
|
-
t == null || t(n), i &&
|
|
830
|
+
t == null || t(n), i && hi(i, n);
|
|
831
831
|
},
|
|
832
832
|
show: !0
|
|
833
833
|
}
|
|
834
834
|
);
|
|
835
|
-
},
|
|
835
|
+
}, Ia = ({
|
|
836
836
|
minSearchLength: e = 1,
|
|
837
837
|
multiSelect: s,
|
|
838
838
|
onChange: t,
|
|
@@ -859,11 +859,11 @@ const aa = ({
|
|
|
859
859
|
selected: n,
|
|
860
860
|
hideSelectedItems: s
|
|
861
861
|
}
|
|
862
|
-
),
|
|
862
|
+
), wa = ({ error: e }) => e ? /* @__PURE__ */ a(Bt, { className: "iress-m--sm", status: "danger", children: typeof e == "string" ? e : /* @__PURE__ */ D(Te, { children: [
|
|
863
863
|
"An unknown error occurred.",
|
|
864
864
|
/* @__PURE__ */ a("br", {}),
|
|
865
865
|
" Please contact support if the error persists."
|
|
866
|
-
] }) }) : null,
|
|
866
|
+
] }) }) : null, ka = ({
|
|
867
867
|
autoHighlight: e,
|
|
868
868
|
error: s,
|
|
869
869
|
loading: t,
|
|
@@ -884,13 +884,13 @@ const aa = ({
|
|
|
884
884
|
const { formattedLabel: j, ...M } = Q;
|
|
885
885
|
return M;
|
|
886
886
|
}
|
|
887
|
-
),
|
|
887
|
+
), N = !s && (!!(m != null && m.length) || l && !t), b = !!y.length && i, x = N && b, k = le(null), I = ps();
|
|
888
888
|
Z(() => {
|
|
889
889
|
f || d == null || d("");
|
|
890
890
|
}, [f, d]);
|
|
891
|
-
const
|
|
891
|
+
const B = b ? y.length + 1 : 0, q = l && N ? B : b ? 1 : 0;
|
|
892
892
|
return /* @__PURE__ */ D(
|
|
893
|
-
|
|
893
|
+
Sa,
|
|
894
894
|
{
|
|
895
895
|
activator: /* @__PURE__ */ a(
|
|
896
896
|
Mr,
|
|
@@ -898,7 +898,7 @@ const aa = ({
|
|
|
898
898
|
"aria-label": "Search",
|
|
899
899
|
loading: t,
|
|
900
900
|
onChange: (Q) => d == null ? void 0 : d(Q.target.value),
|
|
901
|
-
ref:
|
|
901
|
+
ref: k,
|
|
902
902
|
placeholder: "Search and select",
|
|
903
903
|
value: l
|
|
904
904
|
}
|
|
@@ -910,16 +910,16 @@ const aa = ({
|
|
|
910
910
|
b && /* @__PURE__ */ a(
|
|
911
911
|
Nt,
|
|
912
912
|
{
|
|
913
|
-
"aria-labelledby":
|
|
913
|
+
"aria-labelledby": I,
|
|
914
914
|
heading: /* @__PURE__ */ a(
|
|
915
|
-
|
|
915
|
+
$a,
|
|
916
916
|
{
|
|
917
917
|
clearAll: !0,
|
|
918
918
|
onClearAll: (Q) => {
|
|
919
919
|
var j;
|
|
920
|
-
o == null || o(Q), (j =
|
|
920
|
+
o == null || o(Q), (j = k.current) == null || j.focus();
|
|
921
921
|
},
|
|
922
|
-
children: /* @__PURE__ */ D("h2", { id:
|
|
922
|
+
children: /* @__PURE__ */ D("h2", { id: I, children: [
|
|
923
923
|
"Selected (",
|
|
924
924
|
y.length,
|
|
925
925
|
")"
|
|
@@ -933,8 +933,8 @@ const aa = ({
|
|
|
933
933
|
}
|
|
934
934
|
),
|
|
935
935
|
x && /* @__PURE__ */ a(Lr, { gutter: "none" }),
|
|
936
|
-
|
|
937
|
-
|
|
936
|
+
N && /* @__PURE__ */ a(
|
|
937
|
+
Ia,
|
|
938
938
|
{
|
|
939
939
|
minSearchLength: r,
|
|
940
940
|
multiSelect: i,
|
|
@@ -946,11 +946,11 @@ const aa = ({
|
|
|
946
946
|
shouldShowNoResults: g
|
|
947
947
|
}
|
|
948
948
|
),
|
|
949
|
-
/* @__PURE__ */ a(
|
|
949
|
+
/* @__PURE__ */ a(wa, { error: s })
|
|
950
950
|
]
|
|
951
951
|
}
|
|
952
952
|
);
|
|
953
|
-
},
|
|
953
|
+
}, Fa = ({
|
|
954
954
|
autoHighlight: e,
|
|
955
955
|
debouncedQuery: s,
|
|
956
956
|
error: t,
|
|
@@ -966,22 +966,22 @@ const aa = ({
|
|
|
966
966
|
results: h,
|
|
967
967
|
setQuery: g,
|
|
968
968
|
setShow: y,
|
|
969
|
-
setValue:
|
|
969
|
+
setValue: N,
|
|
970
970
|
show: b,
|
|
971
971
|
value: x,
|
|
972
|
-
shouldShowInstructions:
|
|
973
|
-
shouldShowNoResults:
|
|
972
|
+
shouldShowInstructions: k,
|
|
973
|
+
shouldShowNoResults: I
|
|
974
974
|
}) => {
|
|
975
|
-
const
|
|
975
|
+
const B = typeof m == "function", S = r ?? (B ? [] : m), q = h.length ? h : S, Q = ye(
|
|
976
976
|
(O) => {
|
|
977
|
-
|
|
977
|
+
N(O), l == null || l(ke(O), O), o || y(!1);
|
|
978
978
|
},
|
|
979
|
-
[y,
|
|
979
|
+
[y, N, l, o]
|
|
980
980
|
), j = ye(
|
|
981
981
|
(O) => {
|
|
982
|
-
O.stopPropagation(),
|
|
982
|
+
O.stopPropagation(), N([]), l == null || l(ke([]), []);
|
|
983
983
|
},
|
|
984
|
-
[
|
|
984
|
+
[N, l]
|
|
985
985
|
), M = Ne(
|
|
986
986
|
() => ({
|
|
987
987
|
close: () => y(!1),
|
|
@@ -990,7 +990,7 @@ const aa = ({
|
|
|
990
990
|
loading: i,
|
|
991
991
|
query: d,
|
|
992
992
|
results: q,
|
|
993
|
-
setValue:
|
|
993
|
+
setValue: N,
|
|
994
994
|
setQuery: g,
|
|
995
995
|
show: b,
|
|
996
996
|
value: x
|
|
@@ -1003,14 +1003,14 @@ const aa = ({
|
|
|
1003
1003
|
d,
|
|
1004
1004
|
g,
|
|
1005
1005
|
y,
|
|
1006
|
-
|
|
1006
|
+
N,
|
|
1007
1007
|
b,
|
|
1008
1008
|
x
|
|
1009
1009
|
]
|
|
1010
1010
|
);
|
|
1011
|
-
return f ? f(M) :
|
|
1011
|
+
return f ? f(M) : B ? /* @__PURE__ */ D(Te, { children: [
|
|
1012
1012
|
/* @__PURE__ */ a(
|
|
1013
|
-
|
|
1013
|
+
ka,
|
|
1014
1014
|
{
|
|
1015
1015
|
autoHighlight: e,
|
|
1016
1016
|
error: t,
|
|
@@ -1024,8 +1024,8 @@ const aa = ({
|
|
|
1024
1024
|
setQuery: g,
|
|
1025
1025
|
show: b,
|
|
1026
1026
|
value: x,
|
|
1027
|
-
shouldShowInstructions:
|
|
1028
|
-
shouldShowNoResults:
|
|
1027
|
+
shouldShowInstructions: k,
|
|
1028
|
+
shouldShowNoResults: I
|
|
1029
1029
|
}
|
|
1030
1030
|
),
|
|
1031
1031
|
u == null ? void 0 : u(M)
|
|
@@ -1042,7 +1042,7 @@ const aa = ({
|
|
|
1042
1042
|
),
|
|
1043
1043
|
u == null ? void 0 : u(M)
|
|
1044
1044
|
] });
|
|
1045
|
-
},
|
|
1045
|
+
}, Va = ae(
|
|
1046
1046
|
({
|
|
1047
1047
|
align: e = "bottom-start",
|
|
1048
1048
|
autoHighlight: s = !0,
|
|
@@ -1059,13 +1059,13 @@ const aa = ({
|
|
|
1059
1059
|
multiSelect: h,
|
|
1060
1060
|
onActivated: g,
|
|
1061
1061
|
onDeactivated: y,
|
|
1062
|
-
onChange:
|
|
1062
|
+
onChange: N,
|
|
1063
1063
|
onBlur: b,
|
|
1064
1064
|
options: x,
|
|
1065
|
-
placeholder:
|
|
1066
|
-
readonly:
|
|
1067
|
-
renderHiddenInput:
|
|
1068
|
-
renderLabel:
|
|
1065
|
+
placeholder: k,
|
|
1066
|
+
readonly: I,
|
|
1067
|
+
renderHiddenInput: B,
|
|
1068
|
+
renderLabel: S,
|
|
1069
1069
|
renderOptions: q,
|
|
1070
1070
|
renderOptionsFooter: Q,
|
|
1071
1071
|
required: j,
|
|
@@ -1079,7 +1079,7 @@ const aa = ({
|
|
|
1079
1079
|
component: "IressRichSelect",
|
|
1080
1080
|
defaultValue: i
|
|
1081
1081
|
});
|
|
1082
|
-
const [A, U] = X(!1), [K, J] = X(""), [G,
|
|
1082
|
+
const [A, U] = X(!1), [K, J] = X(""), [G, z] = X(
|
|
1083
1083
|
void 0
|
|
1084
1084
|
), { value: se, setValue: ce, getValuesString: he, getLabelsString: W } = Jt({
|
|
1085
1085
|
component: "IressRichSelect",
|
|
@@ -1118,7 +1118,7 @@ const aa = ({
|
|
|
1118
1118
|
const v = Y.current.getActivator();
|
|
1119
1119
|
if (v) {
|
|
1120
1120
|
const F = v.getBoundingClientRect();
|
|
1121
|
-
|
|
1121
|
+
z(F.width);
|
|
1122
1122
|
}
|
|
1123
1123
|
}
|
|
1124
1124
|
} else
|
|
@@ -1127,12 +1127,12 @@ const aa = ({
|
|
|
1127
1127
|
const tt = ye(
|
|
1128
1128
|
(v) => {
|
|
1129
1129
|
if (!b) return;
|
|
1130
|
-
const F = v.currentTarget,
|
|
1131
|
-
!A && (!
|
|
1130
|
+
const F = v.currentTarget, w = v.relatedTarget;
|
|
1131
|
+
!A && (!w || !F.contains(w)) && b(v), v.stopPropagation();
|
|
1132
1132
|
},
|
|
1133
1133
|
[b, A]
|
|
1134
1134
|
);
|
|
1135
|
-
if (
|
|
1135
|
+
if (I)
|
|
1136
1136
|
return /* @__PURE__ */ a(Ze, { value: he(), children: W(", ") });
|
|
1137
1137
|
const Qe = typeof x == "function", st = C ?? !Qe, ht = M ?? (Qe ? void 0 : "listbox"), c = () => {
|
|
1138
1138
|
U(!0);
|
|
@@ -1145,16 +1145,16 @@ const aa = ({
|
|
|
1145
1145
|
{
|
|
1146
1146
|
...$,
|
|
1147
1147
|
activator: /* @__PURE__ */ a(
|
|
1148
|
-
|
|
1148
|
+
ya,
|
|
1149
1149
|
{
|
|
1150
1150
|
async: Qe,
|
|
1151
1151
|
error: ge,
|
|
1152
1152
|
id: l,
|
|
1153
1153
|
loading: we,
|
|
1154
1154
|
multiSelect: h,
|
|
1155
|
-
onChange:
|
|
1156
|
-
placeholder:
|
|
1157
|
-
renderLabel:
|
|
1155
|
+
onChange: N,
|
|
1156
|
+
placeholder: k,
|
|
1157
|
+
renderLabel: S,
|
|
1158
1158
|
setValue: ce,
|
|
1159
1159
|
setShow: U,
|
|
1160
1160
|
show: A,
|
|
@@ -1183,7 +1183,7 @@ const aa = ({
|
|
|
1183
1183
|
children: /* @__PURE__ */ D("div", { className: ut.wrapper, children: [
|
|
1184
1184
|
o,
|
|
1185
1185
|
/* @__PURE__ */ a(
|
|
1186
|
-
|
|
1186
|
+
Fa,
|
|
1187
1187
|
{
|
|
1188
1188
|
autoHighlight: s,
|
|
1189
1189
|
debouncedQuery: fe,
|
|
@@ -1192,7 +1192,7 @@ const aa = ({
|
|
|
1192
1192
|
loading: we,
|
|
1193
1193
|
minSearchLength: f,
|
|
1194
1194
|
multiSelect: h,
|
|
1195
|
-
onChange:
|
|
1195
|
+
onChange: N,
|
|
1196
1196
|
options: x,
|
|
1197
1197
|
query: K,
|
|
1198
1198
|
renderOptions: q,
|
|
@@ -1212,12 +1212,12 @@ const aa = ({
|
|
|
1212
1212
|
}
|
|
1213
1213
|
),
|
|
1214
1214
|
/* @__PURE__ */ a(
|
|
1215
|
-
|
|
1215
|
+
pi,
|
|
1216
1216
|
{
|
|
1217
1217
|
"data-testid": $["data-testid"],
|
|
1218
1218
|
getValuesString: he,
|
|
1219
1219
|
name: u,
|
|
1220
|
-
renderHiddenInput:
|
|
1220
|
+
renderHiddenInput: B,
|
|
1221
1221
|
required: j,
|
|
1222
1222
|
value: se,
|
|
1223
1223
|
ref: P
|
|
@@ -1226,8 +1226,8 @@ const aa = ({
|
|
|
1226
1226
|
] });
|
|
1227
1227
|
}
|
|
1228
1228
|
);
|
|
1229
|
-
|
|
1230
|
-
const
|
|
1229
|
+
Va.displayName = "IressRichSelect";
|
|
1230
|
+
const Aa = ae(
|
|
1231
1231
|
(e, s) => {
|
|
1232
1232
|
const t = le(null), { isActiveInPopover: r, ...i } = Gt("", {
|
|
1233
1233
|
onKeyDown: e.onKeyDown
|
|
@@ -1248,7 +1248,7 @@ const Va = ae(
|
|
|
1248
1248
|
}
|
|
1249
1249
|
);
|
|
1250
1250
|
}
|
|
1251
|
-
),
|
|
1251
|
+
), $a = ({
|
|
1252
1252
|
children: e,
|
|
1253
1253
|
className: s,
|
|
1254
1254
|
clearAll: t,
|
|
@@ -1256,7 +1256,7 @@ const Va = ae(
|
|
|
1256
1256
|
role: i = "option",
|
|
1257
1257
|
...n
|
|
1258
1258
|
}) => /* @__PURE__ */ a(
|
|
1259
|
-
|
|
1259
|
+
As,
|
|
1260
1260
|
{
|
|
1261
1261
|
...n,
|
|
1262
1262
|
className: V(ut.dropdownSelectedHeading, s),
|
|
@@ -1264,7 +1264,7 @@ const Va = ae(
|
|
|
1264
1264
|
children: /* @__PURE__ */ D(et, { horizontalAlign: "between", verticalAlign: "middle", children: [
|
|
1265
1265
|
e,
|
|
1266
1266
|
t && /* @__PURE__ */ a(
|
|
1267
|
-
|
|
1267
|
+
Aa,
|
|
1268
1268
|
{
|
|
1269
1269
|
onClick: r,
|
|
1270
1270
|
onKeyDown: (o) => {
|
|
@@ -1276,7 +1276,7 @@ const Va = ae(
|
|
|
1276
1276
|
] })
|
|
1277
1277
|
}
|
|
1278
1278
|
), Lr = (e) => {
|
|
1279
|
-
const s =
|
|
1279
|
+
const s = _r();
|
|
1280
1280
|
return /* @__PURE__ */ a(
|
|
1281
1281
|
Ns,
|
|
1282
1282
|
{
|
|
@@ -1284,7 +1284,7 @@ const Va = ae(
|
|
|
1284
1284
|
role: (s == null ? void 0 : s.role) === "menu" ? void 0 : "presentation"
|
|
1285
1285
|
}
|
|
1286
1286
|
);
|
|
1287
|
-
},
|
|
1287
|
+
}, As = ({
|
|
1288
1288
|
append: e,
|
|
1289
1289
|
children: s,
|
|
1290
1290
|
className: t,
|
|
@@ -1293,7 +1293,7 @@ const Va = ae(
|
|
|
1293
1293
|
role: n,
|
|
1294
1294
|
...o
|
|
1295
1295
|
}) => {
|
|
1296
|
-
const l =
|
|
1296
|
+
const l = _r(), m = Nr() ?? n;
|
|
1297
1297
|
return /* @__PURE__ */ D(
|
|
1298
1298
|
qe,
|
|
1299
1299
|
{
|
|
@@ -1316,7 +1316,7 @@ const Va = ae(
|
|
|
1316
1316
|
level: t = "h2",
|
|
1317
1317
|
...r
|
|
1318
1318
|
}) => /* @__PURE__ */ a(
|
|
1319
|
-
|
|
1319
|
+
As,
|
|
1320
1320
|
{
|
|
1321
1321
|
...r,
|
|
1322
1322
|
className: V(s, rt.heading),
|
|
@@ -1324,7 +1324,7 @@ const Va = ae(
|
|
|
1324
1324
|
}
|
|
1325
1325
|
);
|
|
1326
1326
|
Dr.Level = gs;
|
|
1327
|
-
const
|
|
1327
|
+
const Ra = ({
|
|
1328
1328
|
append: e,
|
|
1329
1329
|
canToggle: s,
|
|
1330
1330
|
children: t,
|
|
@@ -1338,14 +1338,14 @@ const $a = ({
|
|
|
1338
1338
|
value: f,
|
|
1339
1339
|
...u
|
|
1340
1340
|
}, h) => {
|
|
1341
|
-
const g =
|
|
1341
|
+
const g = Nr() ?? m, y = zn({ selected: d, value: f }), { isActiveInPopover: N, ...b } = En({
|
|
1342
1342
|
canToggle: s,
|
|
1343
1343
|
onClick: n,
|
|
1344
1344
|
onKeyDown: o,
|
|
1345
1345
|
role: g,
|
|
1346
1346
|
selected: d,
|
|
1347
1347
|
value: f
|
|
1348
|
-
}), x =
|
|
1348
|
+
}), x = Tn(
|
|
1349
1349
|
{
|
|
1350
1350
|
append: e,
|
|
1351
1351
|
children: t,
|
|
@@ -1357,13 +1357,13 @@ const $a = ({
|
|
|
1357
1357
|
selected: d,
|
|
1358
1358
|
value: f
|
|
1359
1359
|
},
|
|
1360
|
-
|
|
1361
|
-
),
|
|
1362
|
-
return Ee(h, () =>
|
|
1360
|
+
N
|
|
1361
|
+
), k = le(null);
|
|
1362
|
+
return Ee(h, () => k.current), Hn(
|
|
1363
1363
|
/* @__PURE__ */ a(Re, { ...y, ...b, ...x, ...u }),
|
|
1364
1364
|
g
|
|
1365
1365
|
);
|
|
1366
|
-
}, fs = ae(
|
|
1366
|
+
}, fs = ae(Ra), La = ({
|
|
1367
1367
|
className: e,
|
|
1368
1368
|
divider: s,
|
|
1369
1369
|
formattedLabel: t,
|
|
@@ -1379,16 +1379,16 @@ const $a = ({
|
|
|
1379
1379
|
prepend: h,
|
|
1380
1380
|
role: g,
|
|
1381
1381
|
selected: y,
|
|
1382
|
-
"data-testid":
|
|
1382
|
+
"data-testid": N,
|
|
1383
1383
|
"aria-describedby": b,
|
|
1384
1384
|
"aria-label": x,
|
|
1385
|
-
"aria-labelledby":
|
|
1386
|
-
id:
|
|
1385
|
+
"aria-labelledby": k,
|
|
1386
|
+
id: I
|
|
1387
1387
|
// Extended LabelValueMeta properties are automatically ignored
|
|
1388
1388
|
}) => {
|
|
1389
1389
|
if (s)
|
|
1390
1390
|
return /* @__PURE__ */ a(Lr, {});
|
|
1391
|
-
const
|
|
1391
|
+
const B = r !== void 0 ? r : o;
|
|
1392
1392
|
return /* @__PURE__ */ D(
|
|
1393
1393
|
fs,
|
|
1394
1394
|
{
|
|
@@ -1403,14 +1403,14 @@ const $a = ({
|
|
|
1403
1403
|
role: g,
|
|
1404
1404
|
selected: y,
|
|
1405
1405
|
value: l ?? n,
|
|
1406
|
-
"data-testid":
|
|
1406
|
+
"data-testid": N,
|
|
1407
1407
|
"aria-describedby": b,
|
|
1408
1408
|
"aria-label": x,
|
|
1409
|
-
"aria-labelledby":
|
|
1410
|
-
id:
|
|
1409
|
+
"aria-labelledby": k,
|
|
1410
|
+
id: I,
|
|
1411
1411
|
children: [
|
|
1412
1412
|
t ?? n,
|
|
1413
|
-
|
|
1413
|
+
B && /* @__PURE__ */ a("span", { className: "iress-display--block", children: B })
|
|
1414
1414
|
]
|
|
1415
1415
|
}
|
|
1416
1416
|
);
|
|
@@ -1428,19 +1428,19 @@ const $a = ({
|
|
|
1428
1428
|
...f
|
|
1429
1429
|
}) => {
|
|
1430
1430
|
const h = `${He({ id: f.id })}--label`, g = Ne(
|
|
1431
|
-
() =>
|
|
1431
|
+
() => di(m, n),
|
|
1432
1432
|
[n, m]
|
|
1433
1433
|
), y = Ne(() => {
|
|
1434
|
-
let x = d ?
|
|
1434
|
+
let x = d ? Da(t, m, g) : t;
|
|
1435
1435
|
if (s) {
|
|
1436
|
-
const
|
|
1436
|
+
const k = _e(g);
|
|
1437
1437
|
x = x.filter(
|
|
1438
|
-
(
|
|
1439
|
-
xt(
|
|
1438
|
+
(I) => !k.includes(
|
|
1439
|
+
xt(I.value) ?? I.label
|
|
1440
1440
|
)
|
|
1441
1441
|
);
|
|
1442
1442
|
}
|
|
1443
|
-
return
|
|
1443
|
+
return Ma(x, r, i);
|
|
1444
1444
|
}, [
|
|
1445
1445
|
s,
|
|
1446
1446
|
t,
|
|
@@ -1449,19 +1449,19 @@ const $a = ({
|
|
|
1449
1449
|
g,
|
|
1450
1450
|
m,
|
|
1451
1451
|
d
|
|
1452
|
-
]),
|
|
1452
|
+
]), N = y.length === 0, b = ye(
|
|
1453
1453
|
(x) => {
|
|
1454
|
-
const
|
|
1454
|
+
const k = Ca(
|
|
1455
1455
|
t,
|
|
1456
1456
|
m,
|
|
1457
1457
|
x
|
|
1458
1458
|
);
|
|
1459
|
-
l == null || l(n ?
|
|
1459
|
+
l == null || l(n ? k : k[0]);
|
|
1460
1460
|
},
|
|
1461
1461
|
[t, n, l, m]
|
|
1462
1462
|
);
|
|
1463
1463
|
return /* @__PURE__ */ D(
|
|
1464
|
-
|
|
1464
|
+
xr,
|
|
1465
1465
|
{
|
|
1466
1466
|
...f,
|
|
1467
1467
|
"aria-labelledby": typeof e == "string" ? h : f["aria-labelledby"],
|
|
@@ -1471,37 +1471,37 @@ const $a = ({
|
|
|
1471
1471
|
selected: g,
|
|
1472
1472
|
children: [
|
|
1473
1473
|
typeof e == "string" ? /* @__PURE__ */ a(Dr, { id: h, children: e }) : e,
|
|
1474
|
-
y.map((x,
|
|
1475
|
-
|
|
1474
|
+
y.map((x, k) => /* @__PURE__ */ ur(
|
|
1475
|
+
La,
|
|
1476
1476
|
{
|
|
1477
1477
|
...x,
|
|
1478
1478
|
"data-testid": H(f == null ? void 0 : f["data-testid"], "menu-item"),
|
|
1479
1479
|
key: `${bt(
|
|
1480
1480
|
x.value ?? x.label
|
|
1481
|
-
)}-${
|
|
1481
|
+
)}-${k}`
|
|
1482
1482
|
}
|
|
1483
1483
|
)),
|
|
1484
|
-
|
|
1484
|
+
N && (typeof o == "string" ? /* @__PURE__ */ a(As, { children: o }) : o)
|
|
1485
1485
|
]
|
|
1486
1486
|
}
|
|
1487
1487
|
);
|
|
1488
|
-
},
|
|
1488
|
+
}, Da = (e, s, t) => {
|
|
1489
1489
|
const r = _e(s), i = _e(t), n = e.filter(
|
|
1490
1490
|
(o) => !i.includes(o.value ?? o.label)
|
|
1491
1491
|
);
|
|
1492
1492
|
return r.length && n.length ? r.concat([{ label: "", value: "", divider: !0 }]).concat(n) : r.concat(n);
|
|
1493
|
-
},
|
|
1493
|
+
}, Ma = (e, s, t) => e.map((r, i) => ({
|
|
1494
1494
|
...r,
|
|
1495
1495
|
hiddenOnMobile: t ? i > t - 1 : !1
|
|
1496
|
-
})).slice(0, s ?? e.length),
|
|
1496
|
+
})).slice(0, s ?? e.length), Ca = (e, s, t) => {
|
|
1497
1497
|
const r = _e(s);
|
|
1498
|
-
return _e(t).map((i) =>
|
|
1499
|
-
},
|
|
1498
|
+
return _e(t).map((i) => Ba(e, r, i)).filter((i) => i !== void 0);
|
|
1499
|
+
}, Ba = (e, s, t) => (e == null ? void 0 : e.find(
|
|
1500
1500
|
(i) => i.value === t || i.value === void 0 && i.label === t
|
|
1501
1501
|
)) ?? s.find(
|
|
1502
1502
|
(i) => i.value === t || i.value === void 0 && i.label === t
|
|
1503
|
-
),
|
|
1504
|
-
selectSearchInput:
|
|
1503
|
+
), za = "ids-select-search-input-v5200", Ks = {
|
|
1504
|
+
selectSearchInput: za
|
|
1505
1505
|
}, Mr = ae(
|
|
1506
1506
|
({
|
|
1507
1507
|
autoComplete: e = "off",
|
|
@@ -1519,8 +1519,8 @@ const $a = ({
|
|
|
1519
1519
|
...d,
|
|
1520
1520
|
tabIndex: void 0,
|
|
1521
1521
|
autoComplete: e,
|
|
1522
|
-
className: V(s,
|
|
1523
|
-
[
|
|
1522
|
+
className: V(s, Ks.selectSearchInput, {
|
|
1523
|
+
[Ks.isActiveInPopover]: m
|
|
1524
1524
|
}),
|
|
1525
1525
|
placeholder: t,
|
|
1526
1526
|
prepend: r,
|
|
@@ -1534,7 +1534,7 @@ const $a = ({
|
|
|
1534
1534
|
}
|
|
1535
1535
|
);
|
|
1536
1536
|
Mr.displayName = "IressSelectSearchInput";
|
|
1537
|
-
const
|
|
1537
|
+
const Ta = ae(
|
|
1538
1538
|
({
|
|
1539
1539
|
alwaysShowOnFocus: e,
|
|
1540
1540
|
append: s = /* @__PURE__ */ a(de, { name: "search" }),
|
|
@@ -1551,14 +1551,14 @@ const za = ae(
|
|
|
1551
1551
|
limitMobile: h = 6,
|
|
1552
1552
|
minSearchLength: g,
|
|
1553
1553
|
noResultsText: y,
|
|
1554
|
-
onChange:
|
|
1554
|
+
onChange: N,
|
|
1555
1555
|
onClear: b,
|
|
1556
1556
|
onFocus: x,
|
|
1557
|
-
options:
|
|
1557
|
+
options: k,
|
|
1558
1558
|
popoverProps: {
|
|
1559
|
-
autoHighlight:
|
|
1560
|
-
append:
|
|
1561
|
-
prepend:
|
|
1559
|
+
autoHighlight: I = !1,
|
|
1560
|
+
append: B,
|
|
1561
|
+
prepend: S,
|
|
1562
1562
|
...q
|
|
1563
1563
|
} = {},
|
|
1564
1564
|
readOnly: Q,
|
|
@@ -1573,7 +1573,7 @@ const za = ae(
|
|
|
1573
1573
|
}), [U, K] = X(!1), {
|
|
1574
1574
|
clearError: J,
|
|
1575
1575
|
debouncedQuery: G,
|
|
1576
|
-
error:
|
|
1576
|
+
error: z,
|
|
1577
1577
|
loading: se,
|
|
1578
1578
|
results: ce,
|
|
1579
1579
|
stopSearch: he,
|
|
@@ -1583,17 +1583,17 @@ const za = ae(
|
|
|
1583
1583
|
debounceThreshold: l,
|
|
1584
1584
|
initialOptions: f,
|
|
1585
1585
|
minSearchLength: g,
|
|
1586
|
-
options:
|
|
1586
|
+
options: k,
|
|
1587
1587
|
query: xt(R)
|
|
1588
1588
|
});
|
|
1589
1589
|
if (Z(() => {
|
|
1590
1590
|
U && !C && ce.length > 0 && $(!0);
|
|
1591
1591
|
}, [ce.length, C, U]), Z(() => {
|
|
1592
|
-
|
|
1593
|
-
}, [
|
|
1592
|
+
z && $(!0);
|
|
1593
|
+
}, [z]), Q)
|
|
1594
1594
|
return /* @__PURE__ */ a(Ze, { value: R });
|
|
1595
1595
|
const P = (we, ue) => {
|
|
1596
|
-
|
|
1596
|
+
N == null || N(we, ue), A(ue), K(!0);
|
|
1597
1597
|
}, fe = (we) => {
|
|
1598
1598
|
b == null || b(we), A("");
|
|
1599
1599
|
}, ge = (we) => {
|
|
@@ -1601,7 +1601,7 @@ const za = ae(
|
|
|
1601
1601
|
}, Se = (we) => {
|
|
1602
1602
|
var Ve;
|
|
1603
1603
|
const ue = (Ve = _e(we)) == null ? void 0 : Ve[0];
|
|
1604
|
-
|
|
1604
|
+
N == null || N(
|
|
1605
1605
|
ke(ue == null ? void 0 : ue.label),
|
|
1606
1606
|
ue == null ? void 0 : ue.label,
|
|
1607
1607
|
ue
|
|
@@ -1630,7 +1630,7 @@ const za = ae(
|
|
|
1630
1630
|
ref: te
|
|
1631
1631
|
}
|
|
1632
1632
|
),
|
|
1633
|
-
autoHighlight:
|
|
1633
|
+
autoHighlight: I,
|
|
1634
1634
|
className: V(
|
|
1635
1635
|
i,
|
|
1636
1636
|
q.className,
|
|
@@ -1648,7 +1648,7 @@ const za = ae(
|
|
|
1648
1648
|
type: "listbox",
|
|
1649
1649
|
children: [
|
|
1650
1650
|
ce.length > 0 && /* @__PURE__ */ D(Te, { children: [
|
|
1651
|
-
|
|
1651
|
+
S,
|
|
1652
1652
|
/* @__PURE__ */ a(
|
|
1653
1653
|
Nt,
|
|
1654
1654
|
{
|
|
@@ -1662,17 +1662,17 @@ const za = ae(
|
|
|
1662
1662
|
selected: { label: G }
|
|
1663
1663
|
}
|
|
1664
1664
|
),
|
|
1665
|
-
|
|
1665
|
+
B
|
|
1666
1666
|
] }),
|
|
1667
|
-
|
|
1668
|
-
W && !
|
|
1669
|
-
|
|
1667
|
+
z && d,
|
|
1668
|
+
W && !z && /* @__PURE__ */ a(
|
|
1669
|
+
gi,
|
|
1670
1670
|
{
|
|
1671
1671
|
minSearchLength: g ?? 1,
|
|
1672
1672
|
styles: St
|
|
1673
1673
|
}
|
|
1674
1674
|
),
|
|
1675
|
-
Y && !
|
|
1675
|
+
Y && !z && /* @__PURE__ */ a(
|
|
1676
1676
|
xs,
|
|
1677
1677
|
{
|
|
1678
1678
|
noResultsText: y,
|
|
@@ -1684,19 +1684,19 @@ const za = ae(
|
|
|
1684
1684
|
);
|
|
1685
1685
|
}
|
|
1686
1686
|
);
|
|
1687
|
-
|
|
1688
|
-
const
|
|
1689
|
-
label:
|
|
1690
|
-
mark:
|
|
1691
|
-
checked:
|
|
1692
|
-
indeterminate:
|
|
1693
|
-
checkbox:
|
|
1694
|
-
hiddenControl:
|
|
1695
|
-
input:
|
|
1696
|
-
touch:
|
|
1697
|
-
hiddenLabel:
|
|
1698
|
-
labelSpan:
|
|
1699
|
-
},
|
|
1687
|
+
Ta.displayName = "IressAutocomplete";
|
|
1688
|
+
const Ea = "ids-checkbox--label-v5200", Ha = "ids-checkbox--mark-v5200", Oa = "ids-checkbox--checked-v5200", Wa = "ids-checkbox--indeterminate-v5200", Ua = "ids-checkbox-v5200", Pa = "ids-checkbox--hidden-control-v5200", qa = "ids-checkbox--input-v5200", ja = "ids-checkbox--touch-v5200", Qa = "ids-checkbox--hidden-label-v5200", Ka = "ids-checkbox--label-span-v5200", Oe = {
|
|
1689
|
+
label: Ea,
|
|
1690
|
+
mark: Ha,
|
|
1691
|
+
checked: Oa,
|
|
1692
|
+
indeterminate: Wa,
|
|
1693
|
+
checkbox: Ua,
|
|
1694
|
+
hiddenControl: Pa,
|
|
1695
|
+
input: qa,
|
|
1696
|
+
touch: ja,
|
|
1697
|
+
hiddenLabel: Qa,
|
|
1698
|
+
labelSpan: Ka
|
|
1699
|
+
}, Ya = ({
|
|
1700
1700
|
checked: e,
|
|
1701
1701
|
className: s,
|
|
1702
1702
|
defaultChecked: t,
|
|
@@ -1717,9 +1717,9 @@ const Ta = "ids-checkbox--label-v5190", Ea = "ids-checkbox--mark-v5190", Ha = "i
|
|
|
1717
1717
|
defaultValue: t,
|
|
1718
1718
|
message: "Using the `defaultChecked` prop on an `IressCheckbox` inside an `IressForm` component is not supported. Please use the `defaultValue` prop on the `IressFormField`, or use `defaultValues` on the `IressForm` component (recommended) to ensure a single source of truth for your form."
|
|
1719
1719
|
});
|
|
1720
|
-
const
|
|
1720
|
+
const N = le(null), b = N.current, x = ps(), k = o ?? x, [I, B] = X(
|
|
1721
1721
|
n ?? !1
|
|
1722
|
-
),
|
|
1722
|
+
), S = vs(Dn), q = S ? void 0 : t, Q = S ? _e(S.value).includes(d) : e, j = (S == null ? void 0 : S.hiddenCheckbox) ?? r, M = (S == null ? void 0 : S.touch) ?? h, O = (S == null ? void 0 : S.readonly) ?? u, te = (S == null ? void 0 : S.name) ?? l, {
|
|
1723
1723
|
value: C,
|
|
1724
1724
|
setValue: $,
|
|
1725
1725
|
isControlled: R
|
|
@@ -1728,12 +1728,12 @@ const Ta = "ids-checkbox--label-v5190", Ea = "ids-checkbox--mark-v5190", Ha = "i
|
|
|
1728
1728
|
propName: "checked",
|
|
1729
1729
|
defaultValue: q,
|
|
1730
1730
|
value: Q
|
|
1731
|
-
}), A = R ? n :
|
|
1731
|
+
}), A = R ? n : I, U = ye(
|
|
1732
1732
|
(K) => {
|
|
1733
1733
|
var J;
|
|
1734
|
-
R ||
|
|
1734
|
+
R || B(!1), $(K.target.checked), m == null || m(K, d), (J = S == null ? void 0 : S.onChange) == null || J.call(S, K, d);
|
|
1735
1735
|
},
|
|
1736
|
-
[
|
|
1736
|
+
[S, R, m, $, d]
|
|
1737
1737
|
);
|
|
1738
1738
|
return Ee(y, () => ({
|
|
1739
1739
|
// React hook form requires the focus, blur, input
|
|
@@ -1773,25 +1773,25 @@ const Ta = "ids-checkbox--label-v5190", Ea = "ids-checkbox--mark-v5190", Ha = "i
|
|
|
1773
1773
|
...g,
|
|
1774
1774
|
value: bt(d),
|
|
1775
1775
|
type: "checkbox",
|
|
1776
|
-
id:
|
|
1776
|
+
id: k,
|
|
1777
1777
|
defaultChecked: R ? void 0 : C,
|
|
1778
1778
|
checked: R ? C : void 0,
|
|
1779
1779
|
className: V(Oe.input, re.SROnly),
|
|
1780
1780
|
onChange: U,
|
|
1781
|
-
ref:
|
|
1781
|
+
ref: N,
|
|
1782
1782
|
name: te
|
|
1783
1783
|
}
|
|
1784
1784
|
),
|
|
1785
1785
|
/* @__PURE__ */ D(
|
|
1786
1786
|
"label",
|
|
1787
1787
|
{
|
|
1788
|
-
htmlFor:
|
|
1788
|
+
htmlFor: k,
|
|
1789
1789
|
className: V({
|
|
1790
1790
|
[Oe.label]: !0
|
|
1791
1791
|
}),
|
|
1792
1792
|
children: [
|
|
1793
1793
|
!j && /* @__PURE__ */ a(
|
|
1794
|
-
|
|
1794
|
+
Ln,
|
|
1795
1795
|
{
|
|
1796
1796
|
className: Oe.mark,
|
|
1797
1797
|
checked: C,
|
|
@@ -1813,11 +1813,11 @@ const Ta = "ids-checkbox--label-v5190", Ea = "ids-checkbox--mark-v5190", Ha = "i
|
|
|
1813
1813
|
]
|
|
1814
1814
|
}
|
|
1815
1815
|
);
|
|
1816
|
-
},
|
|
1817
|
-
|
|
1816
|
+
}, Xa = ae(
|
|
1817
|
+
Ya
|
|
1818
1818
|
);
|
|
1819
|
-
|
|
1820
|
-
const
|
|
1819
|
+
Xa.displayName = "IressCheckbox";
|
|
1820
|
+
const $s = ({
|
|
1821
1821
|
loading: e,
|
|
1822
1822
|
noResultsText: s = "No results",
|
|
1823
1823
|
results: t = [],
|
|
@@ -1849,7 +1849,7 @@ const As = ({
|
|
|
1849
1849
|
e
|
|
1850
1850
|
] }),
|
|
1851
1851
|
i && /* @__PURE__ */ a(xs, { noResultsText: t, styles: it })
|
|
1852
|
-
] }),
|
|
1852
|
+
] }), Rs = ae(
|
|
1853
1853
|
({
|
|
1854
1854
|
append: e = /* @__PURE__ */ a(de, { name: "search" }),
|
|
1855
1855
|
autoComplete: s = "off",
|
|
@@ -1866,14 +1866,14 @@ const As = ({
|
|
|
1866
1866
|
limitMobile: h = 6,
|
|
1867
1867
|
name: g,
|
|
1868
1868
|
noResultsText: y,
|
|
1869
|
-
onBlur:
|
|
1869
|
+
onBlur: N,
|
|
1870
1870
|
onChange: b,
|
|
1871
1871
|
onClear: x,
|
|
1872
|
-
onFocus:
|
|
1873
|
-
onKeyDown:
|
|
1874
|
-
options:
|
|
1872
|
+
onFocus: k,
|
|
1873
|
+
onKeyDown: I,
|
|
1874
|
+
options: B,
|
|
1875
1875
|
popoverProps: {
|
|
1876
|
-
append:
|
|
1876
|
+
append: S,
|
|
1877
1877
|
prepend: q,
|
|
1878
1878
|
...Q
|
|
1879
1879
|
} = {},
|
|
@@ -1887,7 +1887,7 @@ const As = ({
|
|
|
1887
1887
|
component: "IressCombobox",
|
|
1888
1888
|
defaultValue: l
|
|
1889
1889
|
});
|
|
1890
|
-
const R = He({ id: d }), A = `${R}-sr-text`, U = le(null), [K, J] = X(!1), { value: G, setValue:
|
|
1890
|
+
const R = He({ id: d }), A = `${R}-sr-text`, U = le(null), [K, J] = X(!1), { value: G, setValue: z, getLabelsString: se, getValuesString: ce } = Jt({
|
|
1891
1891
|
component: "IressCombobox",
|
|
1892
1892
|
defaultValue: l,
|
|
1893
1893
|
value: O
|
|
@@ -1903,13 +1903,13 @@ const As = ({
|
|
|
1903
1903
|
} = Ct({
|
|
1904
1904
|
debounceThreshold: o,
|
|
1905
1905
|
initialOptions: f,
|
|
1906
|
-
options:
|
|
1906
|
+
options: B,
|
|
1907
1907
|
query: he
|
|
1908
1908
|
}), Qe = $r({
|
|
1909
1909
|
debouncedQuery: fe,
|
|
1910
1910
|
loading: ge,
|
|
1911
1911
|
results: Se
|
|
1912
|
-
}), st =
|
|
1912
|
+
}), st = vi({
|
|
1913
1913
|
autoSelect: t,
|
|
1914
1914
|
debouncedQuery: fe,
|
|
1915
1915
|
debounceThreshold: o,
|
|
@@ -1917,25 +1917,25 @@ const As = ({
|
|
|
1917
1917
|
queryRef: U,
|
|
1918
1918
|
results: Se,
|
|
1919
1919
|
setTypedQuery: P,
|
|
1920
|
-
setValue:
|
|
1920
|
+
setValue: z
|
|
1921
1921
|
});
|
|
1922
1922
|
if (j)
|
|
1923
1923
|
return /* @__PURE__ */ a(Ze, { value: ce(), children: se() });
|
|
1924
1924
|
const ht = (E) => {
|
|
1925
1925
|
const ee = E.target.value;
|
|
1926
|
-
W(ee), P(ee), ee || (
|
|
1926
|
+
W(ee), P(ee), ee || (z(void 0), b == null || b(ke(void 0), void 0), f && J(!0));
|
|
1927
1927
|
}, c = (E) => {
|
|
1928
|
-
x == null || x(E), W(""), P(""),
|
|
1928
|
+
x == null || x(E), W(""), P(""), z(void 0), J(!1);
|
|
1929
1929
|
}, p = (E) => {
|
|
1930
|
-
|
|
1930
|
+
k == null || k(E), he || W(Y);
|
|
1931
1931
|
}, v = (E) => {
|
|
1932
|
-
|
|
1932
|
+
N == null || N(E), P(G ? se() : "");
|
|
1933
1933
|
}, F = (E) => {
|
|
1934
|
-
|
|
1935
|
-
},
|
|
1934
|
+
I == null || I(E), st.setKeyPressed(E.nativeEvent);
|
|
1935
|
+
}, w = (E) => {
|
|
1936
1936
|
var pe;
|
|
1937
1937
|
const ee = (pe = _e(E)) == null ? void 0 : pe[0];
|
|
1938
|
-
|
|
1938
|
+
z(ee), b == null || b(ke(ee), ee), P(ee == null ? void 0 : ee.label), J(!1);
|
|
1939
1939
|
}, _ = () => {
|
|
1940
1940
|
J(!1), je();
|
|
1941
1941
|
}, T = (E) => {
|
|
@@ -1984,12 +1984,12 @@ const As = ({
|
|
|
1984
1984
|
children: /* @__PURE__ */ a(
|
|
1985
1985
|
Cr,
|
|
1986
1986
|
{
|
|
1987
|
-
append:
|
|
1987
|
+
append: S,
|
|
1988
1988
|
dataTestId: n,
|
|
1989
1989
|
limitDesktop: u,
|
|
1990
1990
|
limitMobile: h,
|
|
1991
1991
|
noResultsText: y,
|
|
1992
|
-
onChange:
|
|
1992
|
+
onChange: w,
|
|
1993
1993
|
prepend: q,
|
|
1994
1994
|
items: Se,
|
|
1995
1995
|
selected: G,
|
|
@@ -2000,7 +2000,7 @@ const As = ({
|
|
|
2000
2000
|
}
|
|
2001
2001
|
),
|
|
2002
2002
|
/* @__PURE__ */ a(
|
|
2003
|
-
|
|
2003
|
+
br,
|
|
2004
2004
|
{
|
|
2005
2005
|
hiddenInputProps: m,
|
|
2006
2006
|
dataTestId: n,
|
|
@@ -2011,7 +2011,7 @@ const As = ({
|
|
|
2011
2011
|
}
|
|
2012
2012
|
),
|
|
2013
2013
|
/* @__PURE__ */ a(
|
|
2014
|
-
|
|
2014
|
+
$s,
|
|
2015
2015
|
{
|
|
2016
2016
|
"data-testid": H(n, "results-sr-text"),
|
|
2017
2017
|
id: A,
|
|
@@ -2025,12 +2025,12 @@ const As = ({
|
|
|
2025
2025
|
);
|
|
2026
2026
|
}
|
|
2027
2027
|
);
|
|
2028
|
-
|
|
2029
|
-
|
|
2030
|
-
|
|
2031
|
-
const
|
|
2032
|
-
tag:
|
|
2033
|
-
content:
|
|
2028
|
+
Rs.displayName = "IressCombobox";
|
|
2029
|
+
Rs.DisplayMode = In;
|
|
2030
|
+
Rs.Width = ys;
|
|
2031
|
+
const Ja = "ids-tag-v5200", Za = "ids-tag--content-v5200", Ys = {
|
|
2032
|
+
tag: Ja,
|
|
2033
|
+
content: Za
|
|
2034
2034
|
}, Pt = ({
|
|
2035
2035
|
children: e,
|
|
2036
2036
|
className: s,
|
|
@@ -2045,11 +2045,11 @@ const Xa = "ids-tag-v5190", Ja = "ids-tag--content-v5190", Ks = {
|
|
|
2045
2045
|
return /* @__PURE__ */ D(
|
|
2046
2046
|
"div",
|
|
2047
2047
|
{
|
|
2048
|
-
className: V(s, "iress-u-text",
|
|
2048
|
+
className: V(s, "iress-u-text", Ys.tag),
|
|
2049
2049
|
"data-testid": t,
|
|
2050
2050
|
...l,
|
|
2051
2051
|
children: [
|
|
2052
|
-
/* @__PURE__ */ a("span", { ref: m, className:
|
|
2052
|
+
/* @__PURE__ */ a("span", { ref: m, className: Ys.content, children: e }),
|
|
2053
2053
|
r ?? /* @__PURE__ */ a(
|
|
2054
2054
|
Tt,
|
|
2055
2055
|
{
|
|
@@ -2065,25 +2065,25 @@ const Xa = "ids-tag-v5190", Ja = "ids-tag--content-v5190", Ks = {
|
|
|
2065
2065
|
]
|
|
2066
2066
|
}
|
|
2067
2067
|
);
|
|
2068
|
-
},
|
|
2069
|
-
input:
|
|
2070
|
-
readonly:
|
|
2071
|
-
"ids-field-group--join": "ids-field-group--join-
|
|
2072
|
-
"ids-field-group--fields": "ids-field-group--fields-
|
|
2073
|
-
"ids-field": "ids-field-
|
|
2074
|
-
tagListInput:
|
|
2075
|
-
"ids-input--addon": "ids-input--addon-
|
|
2076
|
-
"ids-clear-button--clear": "ids-clear-button--clear-
|
|
2077
|
-
tagListInput__label:
|
|
2078
|
-
tagListInput__items:
|
|
2079
|
-
"ids-input--watermark": "ids-input--watermark-
|
|
2080
|
-
"ids-inline": "ids-inline-
|
|
2081
|
-
"ids-input": "ids-input-
|
|
2082
|
-
tagListInput__itemsInner:
|
|
2083
|
-
"iress-u-inline": "ids-tag-list-input--iress-u-inline-
|
|
2084
|
-
"ids-tag": "ids-tag-
|
|
2085
|
-
"pseudo-focus": "ids-tag-list-input--pseudo-focus-
|
|
2086
|
-
focus:
|
|
2068
|
+
}, Ga = "ids-tag-list-input--input-v5200", eo = "ids-tag-list-input--readonly-v5200", to = "ids-tag-list-input-v5200 ids-tag-list-input--input-v5200", so = "ids-tag-list-input--tag-list-input__label-v5200", ro = "ids-tag-list-input--tag-list-input__items-v5200", no = "ids-tag-list-input--tag-list-input__items-inner-v5200", io = "ids-tag-list-input--focus-v5200", ao = {
|
|
2069
|
+
input: Ga,
|
|
2070
|
+
readonly: eo,
|
|
2071
|
+
"ids-field-group--join": "ids-field-group--join-v5200",
|
|
2072
|
+
"ids-field-group--fields": "ids-field-group--fields-v5200",
|
|
2073
|
+
"ids-field": "ids-field-v5200",
|
|
2074
|
+
tagListInput: to,
|
|
2075
|
+
"ids-input--addon": "ids-input--addon-v5200",
|
|
2076
|
+
"ids-clear-button--clear": "ids-clear-button--clear-v5200",
|
|
2077
|
+
tagListInput__label: so,
|
|
2078
|
+
tagListInput__items: ro,
|
|
2079
|
+
"ids-input--watermark": "ids-input--watermark-v5200",
|
|
2080
|
+
"ids-inline": "ids-inline-v5200",
|
|
2081
|
+
"ids-input": "ids-input-v5200",
|
|
2082
|
+
tagListInput__itemsInner: no,
|
|
2083
|
+
"iress-u-inline": "ids-tag-list-input--iress-u-inline-v5200",
|
|
2084
|
+
"ids-tag": "ids-tag-v5200",
|
|
2085
|
+
"pseudo-focus": "ids-tag-list-input--pseudo-focus-v5200",
|
|
2086
|
+
focus: io
|
|
2087
2087
|
}, et = ({
|
|
2088
2088
|
children: e,
|
|
2089
2089
|
className: s,
|
|
@@ -2106,9 +2106,9 @@ const Xa = "ids-tag-v5190", Ja = "ids-tag--content-v5190", Ks = {
|
|
|
2106
2106
|
return /* @__PURE__ */ a("div", { className: m, ...o, children: e });
|
|
2107
2107
|
};
|
|
2108
2108
|
et.Gutter = bs;
|
|
2109
|
-
et.HorizontalAlign =
|
|
2110
|
-
et.VerticalAlign =
|
|
2111
|
-
const
|
|
2109
|
+
et.HorizontalAlign = pr;
|
|
2110
|
+
et.VerticalAlign = vr;
|
|
2111
|
+
const oo = ({
|
|
2112
2112
|
"data-testid": e,
|
|
2113
2113
|
deleteButton: s,
|
|
2114
2114
|
onTagDelete: t,
|
|
@@ -2141,7 +2141,7 @@ const ao = ({
|
|
|
2141
2141
|
n
|
|
2142
2142
|
]
|
|
2143
2143
|
}
|
|
2144
|
-
),
|
|
2144
|
+
), Ls = ae(
|
|
2145
2145
|
({
|
|
2146
2146
|
append: e,
|
|
2147
2147
|
children: s,
|
|
@@ -2158,8 +2158,8 @@ const ao = ({
|
|
|
2158
2158
|
tagLimit: h = 5,
|
|
2159
2159
|
watermark: g,
|
|
2160
2160
|
...y
|
|
2161
|
-
},
|
|
2162
|
-
const b = (x) => (f == null ? void 0 : f[x]) ??
|
|
2161
|
+
}, N) => {
|
|
2162
|
+
const b = (x) => (f == null ? void 0 : f[x]) ?? ao[x];
|
|
2163
2163
|
return /* @__PURE__ */ a(
|
|
2164
2164
|
"div",
|
|
2165
2165
|
{
|
|
@@ -2184,7 +2184,7 @@ const ao = ({
|
|
|
2184
2184
|
),
|
|
2185
2185
|
/* @__PURE__ */ a("div", { className: b("tagListInput__itemsInner"), children: /* @__PURE__ */ D(et, { gutter: "xs", verticalAlign: "middle", children: [
|
|
2186
2186
|
/* @__PURE__ */ a(
|
|
2187
|
-
|
|
2187
|
+
oo,
|
|
2188
2188
|
{
|
|
2189
2189
|
"data-testid": r,
|
|
2190
2190
|
deleteButton: i,
|
|
@@ -2204,7 +2204,7 @@ const ao = ({
|
|
|
2204
2204
|
className: b("tagListInput__element"),
|
|
2205
2205
|
autoComplete: "off",
|
|
2206
2206
|
"data-testid": H(r, "input"),
|
|
2207
|
-
ref:
|
|
2207
|
+
ref: N
|
|
2208
2208
|
}
|
|
2209
2209
|
)
|
|
2210
2210
|
] }) }),
|
|
@@ -2225,8 +2225,8 @@ const ao = ({
|
|
|
2225
2225
|
);
|
|
2226
2226
|
}
|
|
2227
2227
|
);
|
|
2228
|
-
|
|
2229
|
-
const
|
|
2228
|
+
Ls.displayName = "TagListInput";
|
|
2229
|
+
const lo = ae(
|
|
2230
2230
|
({
|
|
2231
2231
|
append: e = /* @__PURE__ */ a(de, { name: "search" }),
|
|
2232
2232
|
autoComplete: s = "off",
|
|
@@ -2243,14 +2243,14 @@ const oo = ae(
|
|
|
2243
2243
|
limitMobile: h = 6,
|
|
2244
2244
|
multiOptionTagLimit: g = 4,
|
|
2245
2245
|
name: y,
|
|
2246
|
-
noResultsText:
|
|
2246
|
+
noResultsText: N,
|
|
2247
2247
|
onChange: b,
|
|
2248
2248
|
onClear: x,
|
|
2249
|
-
options:
|
|
2249
|
+
options: k,
|
|
2250
2250
|
popoverProps: {
|
|
2251
|
-
autoHighlight:
|
|
2252
|
-
append:
|
|
2253
|
-
prepend:
|
|
2251
|
+
autoHighlight: I = !1,
|
|
2252
|
+
append: B,
|
|
2253
|
+
prepend: S,
|
|
2254
2254
|
...q
|
|
2255
2255
|
} = {},
|
|
2256
2256
|
readOnly: Q,
|
|
@@ -2267,7 +2267,7 @@ const oo = ae(
|
|
|
2267
2267
|
});
|
|
2268
2268
|
const A = He({ id: d }), U = `${A}-sr-text`, [K, J] = X(!1), {
|
|
2269
2269
|
value: G,
|
|
2270
|
-
setValue:
|
|
2270
|
+
setValue: z,
|
|
2271
2271
|
getValuesString: se,
|
|
2272
2272
|
getLabelsArray: ce,
|
|
2273
2273
|
getLabelsString: he
|
|
@@ -2288,7 +2288,7 @@ const oo = ae(
|
|
|
2288
2288
|
} = Ct({
|
|
2289
2289
|
debounceThreshold: o,
|
|
2290
2290
|
initialOptions: f,
|
|
2291
|
-
options:
|
|
2291
|
+
options: k,
|
|
2292
2292
|
query: W
|
|
2293
2293
|
}), tt = $r({
|
|
2294
2294
|
debouncedQuery: P,
|
|
@@ -2297,26 +2297,26 @@ const oo = ae(
|
|
|
2297
2297
|
});
|
|
2298
2298
|
if (Q)
|
|
2299
2299
|
return /* @__PURE__ */ a(Ze, { value: se(), children: he(", ") });
|
|
2300
|
-
const Qe = (
|
|
2301
|
-
Y(
|
|
2302
|
-
}, st = (
|
|
2303
|
-
x == null || x(
|
|
2304
|
-
}, ht = (
|
|
2305
|
-
if (!W &&
|
|
2300
|
+
const Qe = (w) => {
|
|
2301
|
+
Y(w.target.value);
|
|
2302
|
+
}, st = (w) => {
|
|
2303
|
+
x == null || x(w), Y(""), z([]);
|
|
2304
|
+
}, ht = (w) => {
|
|
2305
|
+
if (!W && w.key === "Backspace") {
|
|
2306
2306
|
const _ = _e(G).slice(0, -1);
|
|
2307
|
-
b == null || b(ke(_), _),
|
|
2307
|
+
b == null || b(ke(_), _), z(_);
|
|
2308
2308
|
}
|
|
2309
|
-
}, c = (
|
|
2310
|
-
const _ = [], T = _e(
|
|
2309
|
+
}, c = (w) => {
|
|
2310
|
+
const _ = [], T = _e(w).filter((E) => {
|
|
2311
2311
|
const ee = E.value ?? E.label;
|
|
2312
2312
|
return _.includes(ee) ? !1 : (_.push(ee), !0);
|
|
2313
2313
|
});
|
|
2314
|
-
b == null || b(ke(T), T),
|
|
2315
|
-
}, p = (
|
|
2316
|
-
const _ = _e(G).filter((T) => T.label !==
|
|
2317
|
-
b == null || b(ke(_), _),
|
|
2314
|
+
b == null || b(ke(T), T), z(T);
|
|
2315
|
+
}, p = (w) => {
|
|
2316
|
+
const _ = _e(G).filter((T) => T.label !== w);
|
|
2317
|
+
b == null || b(ke(_), _), z(_);
|
|
2318
2318
|
}, v = () => {
|
|
2319
|
-
b == null || b(ke([]), []),
|
|
2319
|
+
b == null || b(ke([]), []), z([]);
|
|
2320
2320
|
}, F = () => {
|
|
2321
2321
|
J(!1), Se();
|
|
2322
2322
|
};
|
|
@@ -2331,7 +2331,7 @@ const oo = ae(
|
|
|
2331
2331
|
{
|
|
2332
2332
|
...q,
|
|
2333
2333
|
activator: /* @__PURE__ */ a(
|
|
2334
|
-
|
|
2334
|
+
Ls,
|
|
2335
2335
|
{
|
|
2336
2336
|
...$,
|
|
2337
2337
|
append: e,
|
|
@@ -2355,7 +2355,7 @@ const oo = ae(
|
|
|
2355
2355
|
watermark: C
|
|
2356
2356
|
}
|
|
2357
2357
|
),
|
|
2358
|
-
autoHighlight:
|
|
2358
|
+
autoHighlight: I,
|
|
2359
2359
|
className: V(r, it.input),
|
|
2360
2360
|
contentClassName: it.popoverContent,
|
|
2361
2361
|
onActivated: () => J(!0),
|
|
@@ -2366,15 +2366,15 @@ const oo = ae(
|
|
|
2366
2366
|
children: /* @__PURE__ */ a(
|
|
2367
2367
|
Cr,
|
|
2368
2368
|
{
|
|
2369
|
-
append:
|
|
2369
|
+
append: B,
|
|
2370
2370
|
changeOnBlur: t,
|
|
2371
2371
|
dataTestId: n,
|
|
2372
2372
|
limitDesktop: u,
|
|
2373
2373
|
limitMobile: h,
|
|
2374
2374
|
multiSelect: !0,
|
|
2375
|
-
noResultsText:
|
|
2375
|
+
noResultsText: N,
|
|
2376
2376
|
onChange: c,
|
|
2377
|
-
prepend:
|
|
2377
|
+
prepend: S,
|
|
2378
2378
|
items: ge,
|
|
2379
2379
|
selected: G,
|
|
2380
2380
|
selectedFirst: !0,
|
|
@@ -2385,7 +2385,7 @@ const oo = ae(
|
|
|
2385
2385
|
}
|
|
2386
2386
|
),
|
|
2387
2387
|
/* @__PURE__ */ a(
|
|
2388
|
-
|
|
2388
|
+
br,
|
|
2389
2389
|
{
|
|
2390
2390
|
hiddenInputProps: m,
|
|
2391
2391
|
dataTestId: n,
|
|
@@ -2396,12 +2396,12 @@ const oo = ae(
|
|
|
2396
2396
|
}
|
|
2397
2397
|
),
|
|
2398
2398
|
/* @__PURE__ */ a(
|
|
2399
|
-
|
|
2399
|
+
$s,
|
|
2400
2400
|
{
|
|
2401
2401
|
"data-testid": H(n, "results-sr-text"),
|
|
2402
2402
|
id: U,
|
|
2403
2403
|
loading: fe,
|
|
2404
|
-
noResultsText:
|
|
2404
|
+
noResultsText: N,
|
|
2405
2405
|
results: ge
|
|
2406
2406
|
}
|
|
2407
2407
|
)
|
|
@@ -2410,19 +2410,19 @@ const oo = ae(
|
|
|
2410
2410
|
);
|
|
2411
2411
|
}
|
|
2412
2412
|
);
|
|
2413
|
-
|
|
2414
|
-
const
|
|
2415
|
-
filter:
|
|
2416
|
-
chevron:
|
|
2417
|
-
searchInput:
|
|
2418
|
-
optionList:
|
|
2419
|
-
noResults:
|
|
2420
|
-
utilsWithReset:
|
|
2421
|
-
utilsSearchable:
|
|
2422
|
-
optionContent:
|
|
2423
|
-
optionMeta:
|
|
2424
|
-
optionMetaText:
|
|
2425
|
-
reset:
|
|
2413
|
+
lo.displayName = "IressMultiCombobox";
|
|
2414
|
+
const co = "ids-filter-v5200", uo = "ids-filter--chevron-v5200", fo = "ids-filter--search-input-v5200", mo = "ids-filter--option-list-v5200", ho = "ids-filter--no-results-v5200", po = "ids-filter--utils-with-reset-v5200", vo = "ids-filter--utils-searchable-v5200", go = "ids-filter--option-content-v5200", yo = "ids-filter--option-meta-v5200", bo = "ids-filter--option-meta-text-v5200", xo = "ids-filter--reset-v5200", Be = {
|
|
2415
|
+
filter: co,
|
|
2416
|
+
chevron: uo,
|
|
2417
|
+
searchInput: fo,
|
|
2418
|
+
optionList: mo,
|
|
2419
|
+
noResults: ho,
|
|
2420
|
+
utilsWithReset: po,
|
|
2421
|
+
utilsSearchable: vo,
|
|
2422
|
+
optionContent: go,
|
|
2423
|
+
optionMeta: yo,
|
|
2424
|
+
optionMetaText: bo,
|
|
2425
|
+
reset: xo
|
|
2426
2426
|
}, Br = ae(
|
|
2427
2427
|
(e, s) => {
|
|
2428
2428
|
const t = le(null), { isActiveInPopover: r, ...i } = Gt();
|
|
@@ -2466,9 +2466,9 @@ const zr = ae(
|
|
|
2466
2466
|
}
|
|
2467
2467
|
);
|
|
2468
2468
|
zr.displayName = "FilterResetButton";
|
|
2469
|
-
const
|
|
2469
|
+
const Xs = {
|
|
2470
2470
|
align: "bottom-start"
|
|
2471
|
-
},
|
|
2471
|
+
}, _o = ae(
|
|
2472
2472
|
({
|
|
2473
2473
|
children: e,
|
|
2474
2474
|
className: s,
|
|
@@ -2490,38 +2490,38 @@ const Ys = {
|
|
|
2490
2490
|
onReset: g,
|
|
2491
2491
|
options: y,
|
|
2492
2492
|
popoverProps: {
|
|
2493
|
-
append:
|
|
2493
|
+
append: N,
|
|
2494
2494
|
prepend: b,
|
|
2495
2495
|
...x
|
|
2496
|
-
} =
|
|
2497
|
-
searchable:
|
|
2498
|
-
searchNoResultsText:
|
|
2499
|
-
selectedOptionsText:
|
|
2500
|
-
value:
|
|
2496
|
+
} = Xs,
|
|
2497
|
+
searchable: k,
|
|
2498
|
+
searchNoResultsText: I,
|
|
2499
|
+
selectedOptionsText: B,
|
|
2500
|
+
value: S,
|
|
2501
2501
|
visibleResetButton: q,
|
|
2502
2502
|
...Q
|
|
2503
2503
|
}, j) => {
|
|
2504
2504
|
const M = He({ id: n }), O = `${M}-sr-text`, te = le(null), C = Ne(
|
|
2505
|
-
() =>
|
|
2506
|
-
[y,
|
|
2505
|
+
() => k ?? typeof y == "function",
|
|
2506
|
+
[y, k]
|
|
2507
2507
|
), $ = {
|
|
2508
2508
|
clearable: !0,
|
|
2509
2509
|
prepend: /* @__PURE__ */ a(de, { name: "search" }),
|
|
2510
2510
|
watermark: !0,
|
|
2511
2511
|
...l
|
|
2512
|
-
}, R = { ...
|
|
2512
|
+
}, R = { ...Xs, ...x }, { value: A, setValue: U } = Jt({
|
|
2513
2513
|
component: "IressFilter",
|
|
2514
2514
|
defaultValue: i,
|
|
2515
2515
|
multiple: u,
|
|
2516
|
-
value:
|
|
2517
|
-
}), [K, J] = X(""), [G,
|
|
2516
|
+
value: S
|
|
2517
|
+
}), [K, J] = X(""), [G, z] = X(!1), se = (Ve) => {
|
|
2518
2518
|
J(Ve.target.value);
|
|
2519
2519
|
}, ce = () => {
|
|
2520
2520
|
J("");
|
|
2521
2521
|
}, he = (Ve) => {
|
|
2522
|
-
h == null || h(Ve), U(Ve), u ||
|
|
2522
|
+
h == null || h(Ve), U(Ve), u || z(!1);
|
|
2523
2523
|
}, W = () => {
|
|
2524
|
-
U(void 0), g == null || g(), u ||
|
|
2524
|
+
U(void 0), g == null || g(), u || z(!1);
|
|
2525
2525
|
};
|
|
2526
2526
|
Ee(j, () => ({
|
|
2527
2527
|
element: te.current ?? void 0,
|
|
@@ -2541,7 +2541,7 @@ const Ys = {
|
|
|
2541
2541
|
initialOptions: o ?? (typeof y == "function" ? void 0 : y),
|
|
2542
2542
|
options: y,
|
|
2543
2543
|
query: K
|
|
2544
|
-
}), ue =
|
|
2544
|
+
}), ue = ui({
|
|
2545
2545
|
debouncedQuery: Y,
|
|
2546
2546
|
loading: P,
|
|
2547
2547
|
results: fe,
|
|
@@ -2554,7 +2554,7 @@ const Ys = {
|
|
|
2554
2554
|
...Q,
|
|
2555
2555
|
className: V(s, Be.filter, {
|
|
2556
2556
|
[Be.multiSelect]: u,
|
|
2557
|
-
[Be.searchable]:
|
|
2557
|
+
[Be.searchable]: k
|
|
2558
2558
|
}),
|
|
2559
2559
|
"data-testid": t,
|
|
2560
2560
|
id: M,
|
|
@@ -2572,13 +2572,13 @@ const Ys = {
|
|
|
2572
2572
|
t,
|
|
2573
2573
|
"activator-button__button"
|
|
2574
2574
|
),
|
|
2575
|
-
onClick: () =>
|
|
2575
|
+
onClick: () => z(!0),
|
|
2576
2576
|
children: [
|
|
2577
2577
|
/* @__PURE__ */ a(
|
|
2578
|
-
|
|
2578
|
+
fi,
|
|
2579
2579
|
{
|
|
2580
2580
|
label: f,
|
|
2581
|
-
selectedOptionsText:
|
|
2581
|
+
selectedOptionsText: B,
|
|
2582
2582
|
value: A
|
|
2583
2583
|
}
|
|
2584
2584
|
),
|
|
@@ -2588,8 +2588,8 @@ const Ys = {
|
|
|
2588
2588
|
),
|
|
2589
2589
|
"data-testid": H(t, "popover"),
|
|
2590
2590
|
show: G,
|
|
2591
|
-
onActivated: () =>
|
|
2592
|
-
onDeactivated: () =>
|
|
2591
|
+
onActivated: () => z(!0),
|
|
2592
|
+
onDeactivated: () => z(!1),
|
|
2593
2593
|
type: "listbox",
|
|
2594
2594
|
children: [
|
|
2595
2595
|
b,
|
|
@@ -2634,22 +2634,22 @@ const Ys = {
|
|
|
2634
2634
|
ue.showNoResults && /* @__PURE__ */ a(
|
|
2635
2635
|
xs,
|
|
2636
2636
|
{
|
|
2637
|
-
noResultsText:
|
|
2637
|
+
noResultsText: I,
|
|
2638
2638
|
styles: Be
|
|
2639
2639
|
}
|
|
2640
2640
|
),
|
|
2641
|
-
|
|
2641
|
+
N
|
|
2642
2642
|
]
|
|
2643
2643
|
}
|
|
2644
2644
|
),
|
|
2645
2645
|
e,
|
|
2646
2646
|
/* @__PURE__ */ a(
|
|
2647
|
-
|
|
2647
|
+
$s,
|
|
2648
2648
|
{
|
|
2649
2649
|
"data-testid": H(t, "results-sr-text"),
|
|
2650
2650
|
id: O,
|
|
2651
2651
|
loading: P,
|
|
2652
|
-
noResultsText:
|
|
2652
|
+
noResultsText: I,
|
|
2653
2653
|
results: fe
|
|
2654
2654
|
}
|
|
2655
2655
|
)
|
|
@@ -2658,13 +2658,13 @@ const Ys = {
|
|
|
2658
2658
|
);
|
|
2659
2659
|
}
|
|
2660
2660
|
);
|
|
2661
|
-
|
|
2661
|
+
_o.displayName = "IressFilter";
|
|
2662
2662
|
var Et = (e) => e.type === "checkbox", ft = (e) => e instanceof Date, Fe = (e) => e == null;
|
|
2663
2663
|
const Tr = (e) => typeof e == "object";
|
|
2664
|
-
var ve = (e) => !Fe(e) && !Array.isArray(e) && Tr(e) && !ft(e), Er = (e) => ve(e) && e.target ? Et(e.target) ? e.target.checked : e.target.value : e,
|
|
2664
|
+
var ve = (e) => !Fe(e) && !Array.isArray(e) && Tr(e) && !ft(e), Er = (e) => ve(e) && e.target ? Et(e.target) ? e.target.checked : e.target.value : e, No = (e) => e.substring(0, e.search(/\.\d+(\.|$)/)) || e, Hr = (e, s) => e.has(No(s)), So = (e) => {
|
|
2665
2665
|
const s = e.constructor && e.constructor.prototype;
|
|
2666
2666
|
return ve(s) && s.hasOwnProperty("isPrototypeOf");
|
|
2667
|
-
},
|
|
2667
|
+
}, Ds = typeof window < "u" && typeof window.HTMLElement < "u" && typeof document < "u";
|
|
2668
2668
|
function Ae(e) {
|
|
2669
2669
|
let s;
|
|
2670
2670
|
const t = Array.isArray(e);
|
|
@@ -2672,8 +2672,8 @@ function Ae(e) {
|
|
|
2672
2672
|
s = new Date(e);
|
|
2673
2673
|
else if (e instanceof Set)
|
|
2674
2674
|
s = new Set(e);
|
|
2675
|
-
else if (!(
|
|
2676
|
-
if (s = t ? [] : {}, !t && !
|
|
2675
|
+
else if (!(Ds && (e instanceof Blob || e instanceof FileList)) && (t || ve(e)))
|
|
2676
|
+
if (s = t ? [] : {}, !t && !So(e))
|
|
2677
2677
|
s = e;
|
|
2678
2678
|
else
|
|
2679
2679
|
for (const r in e)
|
|
@@ -2687,9 +2687,9 @@ var es = (e) => Array.isArray(e) ? e.filter(Boolean) : [], me = (e) => e === voi
|
|
|
2687
2687
|
return t;
|
|
2688
2688
|
const r = es(s.split(/[,[\].]+?/)).reduce((i, n) => Fe(i) ? i : i[n], e);
|
|
2689
2689
|
return me(r) || r === e ? me(e[s]) ? t : e[s] : r;
|
|
2690
|
-
}, De = (e) => typeof e == "boolean",
|
|
2690
|
+
}, De = (e) => typeof e == "boolean", Ms = (e) => /^\w*$/.test(e), Or = (e) => es(e.replace(/["|']|\]/g, "").split(/\.|\[/)), ie = (e, s, t) => {
|
|
2691
2691
|
let r = -1;
|
|
2692
|
-
const i =
|
|
2692
|
+
const i = Ms(s) ? [s] : Or(s), n = i.length, o = n - 1;
|
|
2693
2693
|
for (; ++r < n; ) {
|
|
2694
2694
|
const l = i[r];
|
|
2695
2695
|
let m = t;
|
|
@@ -2721,7 +2721,7 @@ const qt = {
|
|
|
2721
2721
|
pattern: "pattern",
|
|
2722
2722
|
required: "required",
|
|
2723
2723
|
validate: "validate"
|
|
2724
|
-
}, Wr = ne.createContext(null), ts = () => ne.useContext(Wr),
|
|
2724
|
+
}, Wr = ne.createContext(null), ts = () => ne.useContext(Wr), Io = (e) => {
|
|
2725
2725
|
const { children: s, ...t } = e;
|
|
2726
2726
|
return ne.createElement(Wr.Provider, { value: t }, s);
|
|
2727
2727
|
};
|
|
@@ -2742,7 +2742,7 @@ var Ur = (e, s, t, r = !0) => {
|
|
|
2742
2742
|
const { name: i, ...n } = e;
|
|
2743
2743
|
return $e(n) || Object.keys(n).length >= Object.keys(s).length || Object.keys(n).find((o) => s[o] === (!r || ze.all));
|
|
2744
2744
|
}, Lt = (e) => Array.isArray(e) ? e : [e], qr = (e, s, t) => !e || !s || e === s || Lt(e).some((r) => r && (t ? r === s : r.startsWith(s) || s.startsWith(r)));
|
|
2745
|
-
function
|
|
2745
|
+
function Cs(e) {
|
|
2746
2746
|
const s = ne.useRef(e);
|
|
2747
2747
|
s.current = e, ne.useEffect(() => {
|
|
2748
2748
|
const t = !e.disabled && s.current.subject && s.current.subject.subscribe({
|
|
@@ -2753,7 +2753,7 @@ function Ms(e) {
|
|
|
2753
2753
|
};
|
|
2754
2754
|
}, [e.disabled]);
|
|
2755
2755
|
}
|
|
2756
|
-
function
|
|
2756
|
+
function wo(e) {
|
|
2757
2757
|
const s = ts(), { control: t = s.control, disabled: r, name: i, exact: n } = e || {}, [o, l] = ne.useState(t._formState), m = ne.useRef(!0), d = ne.useRef({
|
|
2758
2758
|
isDirty: !1,
|
|
2759
2759
|
isLoading: !1,
|
|
@@ -2764,7 +2764,7 @@ function Io(e) {
|
|
|
2764
2764
|
isValid: !1,
|
|
2765
2765
|
errors: !1
|
|
2766
2766
|
}), f = ne.useRef(i);
|
|
2767
|
-
return f.current = i,
|
|
2767
|
+
return f.current = i, Cs({
|
|
2768
2768
|
disabled: r,
|
|
2769
2769
|
next: (u) => m.current && qr(f.current, u.name, n) && Pr(u, d.current, t._updateFormState) && l({
|
|
2770
2770
|
...t._formState,
|
|
@@ -2778,7 +2778,7 @@ function Io(e) {
|
|
|
2778
2778
|
var Pe = (e) => typeof e == "string", jr = (e, s, t, r, i) => Pe(e) ? (r && s.watch.add(e), L(t, e, i)) : Array.isArray(e) ? e.map((n) => (r && s.watch.add(n), L(t, n))) : (r && (s.watchAll = !0), t);
|
|
2779
2779
|
function Qr(e) {
|
|
2780
2780
|
const s = ts(), { control: t = s.control, name: r, defaultValue: i, disabled: n, exact: o } = e || {}, l = ne.useRef(r);
|
|
2781
|
-
l.current = r,
|
|
2781
|
+
l.current = r, Cs({
|
|
2782
2782
|
disabled: n,
|
|
2783
2783
|
subject: t._subjects.values,
|
|
2784
2784
|
next: (f) => {
|
|
@@ -2788,13 +2788,13 @@ function Qr(e) {
|
|
|
2788
2788
|
const [m, d] = ne.useState(t._getWatch(r, i));
|
|
2789
2789
|
return ne.useEffect(() => t._removeUnmounted()), m;
|
|
2790
2790
|
}
|
|
2791
|
-
function
|
|
2791
|
+
function gu(e) {
|
|
2792
2792
|
const s = ts(), { name: t, disabled: r, control: i = s.control, shouldUnregister: n } = e, o = Hr(i._names.array, t), l = Qr({
|
|
2793
2793
|
control: i,
|
|
2794
2794
|
name: t,
|
|
2795
2795
|
defaultValue: L(i._formValues, t, L(i._defaultValues, t, e.defaultValue)),
|
|
2796
2796
|
exact: !0
|
|
2797
|
-
}), m =
|
|
2797
|
+
}), m = wo({
|
|
2798
2798
|
control: i,
|
|
2799
2799
|
name: t,
|
|
2800
2800
|
exact: !0
|
|
@@ -2876,19 +2876,19 @@ function pu(e) {
|
|
|
2876
2876
|
})
|
|
2877
2877
|
};
|
|
2878
2878
|
}
|
|
2879
|
-
var
|
|
2879
|
+
var ko = (e, s, t, r, i) => s ? {
|
|
2880
2880
|
...t[e],
|
|
2881
2881
|
types: {
|
|
2882
2882
|
...t[e] && t[e].types ? t[e].types : {},
|
|
2883
2883
|
[r]: i || !0
|
|
2884
2884
|
}
|
|
2885
|
-
} : {},
|
|
2885
|
+
} : {}, Js = (e) => ({
|
|
2886
2886
|
isOnSubmit: !e || e === ze.onSubmit,
|
|
2887
2887
|
isOnBlur: e === ze.onBlur,
|
|
2888
2888
|
isOnChange: e === ze.onChange,
|
|
2889
2889
|
isOnAll: e === ze.all,
|
|
2890
2890
|
isOnTouch: e === ze.onTouched
|
|
2891
|
-
}),
|
|
2891
|
+
}), Zs = (e, s, t) => !t && (s.watchAll || s.watch.has(e) || [...s.watch].some((r) => e.startsWith(r) && /^\.\w+/.test(e.slice(r.length))));
|
|
2892
2892
|
const Dt = (e, s, t, r) => {
|
|
2893
2893
|
for (const i of t || Object.keys(e)) {
|
|
2894
2894
|
const n = L(e, i);
|
|
@@ -2906,19 +2906,19 @@ const Dt = (e, s, t, r) => {
|
|
|
2906
2906
|
}
|
|
2907
2907
|
}
|
|
2908
2908
|
};
|
|
2909
|
-
var
|
|
2909
|
+
var Fo = (e, s, t) => {
|
|
2910
2910
|
const r = Lt(L(e, t));
|
|
2911
2911
|
return ie(r, "root", s[t]), ie(e, t, r), e;
|
|
2912
|
-
},
|
|
2913
|
-
if (!
|
|
2912
|
+
}, Bs = (e) => e.type === "file", Xe = (e) => typeof e == "function", jt = (e) => {
|
|
2913
|
+
if (!Ds)
|
|
2914
2914
|
return !1;
|
|
2915
2915
|
const s = e ? e.ownerDocument : 0;
|
|
2916
2916
|
return e instanceof (s && s.defaultView ? s.defaultView.HTMLElement : HTMLElement);
|
|
2917
|
-
}, Ht = (e) => Pe(e),
|
|
2918
|
-
const
|
|
2917
|
+
}, Ht = (e) => Pe(e), zs = (e) => e.type === "radio", Qt = (e) => e instanceof RegExp;
|
|
2918
|
+
const Gs = {
|
|
2919
2919
|
value: !1,
|
|
2920
2920
|
isValid: !1
|
|
2921
|
-
},
|
|
2921
|
+
}, er = { value: !0, isValid: !0 };
|
|
2922
2922
|
var Kr = (e) => {
|
|
2923
2923
|
if (Array.isArray(e)) {
|
|
2924
2924
|
if (e.length > 1) {
|
|
@@ -2927,20 +2927,20 @@ var Kr = (e) => {
|
|
|
2927
2927
|
}
|
|
2928
2928
|
return e[0].checked && !e[0].disabled ? (
|
|
2929
2929
|
// @ts-expect-error expected to work in the browser
|
|
2930
|
-
e[0].attributes && !me(e[0].attributes.value) ? me(e[0].value) || e[0].value === "" ?
|
|
2931
|
-
) :
|
|
2930
|
+
e[0].attributes && !me(e[0].attributes.value) ? me(e[0].value) || e[0].value === "" ? er : { value: e[0].value, isValid: !0 } : er
|
|
2931
|
+
) : Gs;
|
|
2932
2932
|
}
|
|
2933
|
-
return
|
|
2933
|
+
return Gs;
|
|
2934
2934
|
};
|
|
2935
|
-
const
|
|
2935
|
+
const tr = {
|
|
2936
2936
|
isValid: !1,
|
|
2937
2937
|
value: null
|
|
2938
2938
|
};
|
|
2939
2939
|
var Yr = (e) => Array.isArray(e) ? e.reduce((s, t) => t && t.checked && !t.disabled ? {
|
|
2940
2940
|
isValid: !0,
|
|
2941
2941
|
value: t.value
|
|
2942
|
-
} : s,
|
|
2943
|
-
function
|
|
2942
|
+
} : s, tr) : tr;
|
|
2943
|
+
function sr(e, s, t = "validate") {
|
|
2944
2944
|
if (Ht(e) || Array.isArray(e) && e.every(Ht) || De(e) && !e)
|
|
2945
2945
|
return {
|
|
2946
2946
|
type: t,
|
|
@@ -2951,103 +2951,103 @@ function tr(e, s, t = "validate") {
|
|
|
2951
2951
|
var vt = (e) => ve(e) && !Qt(e) ? e : {
|
|
2952
2952
|
value: e,
|
|
2953
2953
|
message: ""
|
|
2954
|
-
},
|
|
2955
|
-
const { ref: n, refs: o, required: l, maxLength: m, minLength: d, min: f, max: u, pattern: h, validate: g, name: y, valueAsNumber:
|
|
2954
|
+
}, rr = async (e, s, t, r, i) => {
|
|
2955
|
+
const { ref: n, refs: o, required: l, maxLength: m, minLength: d, min: f, max: u, pattern: h, validate: g, name: y, valueAsNumber: N, mount: b, disabled: x } = e._f, k = L(s, y);
|
|
2956
2956
|
if (!b || x)
|
|
2957
2957
|
return {};
|
|
2958
|
-
const
|
|
2959
|
-
r &&
|
|
2960
|
-
},
|
|
2958
|
+
const I = o ? o[0] : n, B = (C) => {
|
|
2959
|
+
r && I.reportValidity && (I.setCustomValidity(De(C) ? "" : C || ""), I.reportValidity());
|
|
2960
|
+
}, S = {}, q = zs(n), Q = Et(n), j = q || Q, M = (N || Bs(n)) && me(n.value) && me(k) || jt(n) && n.value === "" || k === "" || Array.isArray(k) && !k.length, O = ko.bind(null, y, t, S), te = (C, $, R, A = Ke.maxLength, U = Ke.minLength) => {
|
|
2961
2961
|
const K = C ? $ : R;
|
|
2962
|
-
|
|
2962
|
+
S[y] = {
|
|
2963
2963
|
type: C ? A : U,
|
|
2964
2964
|
message: K,
|
|
2965
2965
|
ref: n,
|
|
2966
2966
|
...O(C ? A : U, K)
|
|
2967
2967
|
};
|
|
2968
2968
|
};
|
|
2969
|
-
if (i ? !Array.isArray(
|
|
2969
|
+
if (i ? !Array.isArray(k) || !k.length : l && (!j && (M || Fe(k)) || De(k) && !k || Q && !Kr(o).isValid || q && !Yr(o).isValid)) {
|
|
2970
2970
|
const { value: C, message: $ } = Ht(l) ? { value: !!l, message: l } : vt(l);
|
|
2971
|
-
if (C && (
|
|
2971
|
+
if (C && (S[y] = {
|
|
2972
2972
|
type: Ke.required,
|
|
2973
2973
|
message: $,
|
|
2974
|
-
ref:
|
|
2974
|
+
ref: I,
|
|
2975
2975
|
...O(Ke.required, $)
|
|
2976
2976
|
}, !t))
|
|
2977
|
-
return
|
|
2977
|
+
return B($), S;
|
|
2978
2978
|
}
|
|
2979
2979
|
if (!M && (!Fe(f) || !Fe(u))) {
|
|
2980
2980
|
let C, $;
|
|
2981
2981
|
const R = vt(u), A = vt(f);
|
|
2982
|
-
if (!Fe(
|
|
2983
|
-
const U = n.valueAsNumber ||
|
|
2982
|
+
if (!Fe(k) && !isNaN(k)) {
|
|
2983
|
+
const U = n.valueAsNumber || k && +k;
|
|
2984
2984
|
Fe(R.value) || (C = U > R.value), Fe(A.value) || ($ = U < A.value);
|
|
2985
2985
|
} else {
|
|
2986
|
-
const U = n.valueAsDate || new Date(
|
|
2987
|
-
Pe(R.value) &&
|
|
2986
|
+
const U = n.valueAsDate || new Date(k), K = (z) => /* @__PURE__ */ new Date((/* @__PURE__ */ new Date()).toDateString() + " " + z), J = n.type == "time", G = n.type == "week";
|
|
2987
|
+
Pe(R.value) && k && (C = J ? K(k) > K(R.value) : G ? k > R.value : U > new Date(R.value)), Pe(A.value) && k && ($ = J ? K(k) < K(A.value) : G ? k < A.value : U < new Date(A.value));
|
|
2988
2988
|
}
|
|
2989
2989
|
if ((C || $) && (te(!!C, R.message, A.message, Ke.max, Ke.min), !t))
|
|
2990
|
-
return
|
|
2990
|
+
return B(S[y].message), S;
|
|
2991
2991
|
}
|
|
2992
|
-
if ((m || d) && !M && (Pe(
|
|
2993
|
-
const C = vt(m), $ = vt(d), R = !Fe(C.value) &&
|
|
2992
|
+
if ((m || d) && !M && (Pe(k) || i && Array.isArray(k))) {
|
|
2993
|
+
const C = vt(m), $ = vt(d), R = !Fe(C.value) && k.length > +C.value, A = !Fe($.value) && k.length < +$.value;
|
|
2994
2994
|
if ((R || A) && (te(R, C.message, $.message), !t))
|
|
2995
|
-
return
|
|
2995
|
+
return B(S[y].message), S;
|
|
2996
2996
|
}
|
|
2997
|
-
if (h && !M && Pe(
|
|
2997
|
+
if (h && !M && Pe(k)) {
|
|
2998
2998
|
const { value: C, message: $ } = vt(h);
|
|
2999
|
-
if (Qt(C) && !
|
|
2999
|
+
if (Qt(C) && !k.match(C) && (S[y] = {
|
|
3000
3000
|
type: Ke.pattern,
|
|
3001
3001
|
message: $,
|
|
3002
3002
|
ref: n,
|
|
3003
3003
|
...O(Ke.pattern, $)
|
|
3004
3004
|
}, !t))
|
|
3005
|
-
return
|
|
3005
|
+
return B($), S;
|
|
3006
3006
|
}
|
|
3007
3007
|
if (g) {
|
|
3008
3008
|
if (Xe(g)) {
|
|
3009
|
-
const C = await g(
|
|
3010
|
-
if ($ && (
|
|
3009
|
+
const C = await g(k, s), $ = sr(C, I);
|
|
3010
|
+
if ($ && (S[y] = {
|
|
3011
3011
|
...$,
|
|
3012
3012
|
...O(Ke.validate, $.message)
|
|
3013
3013
|
}, !t))
|
|
3014
|
-
return
|
|
3014
|
+
return B($.message), S;
|
|
3015
3015
|
} else if (ve(g)) {
|
|
3016
3016
|
let C = {};
|
|
3017
3017
|
for (const $ in g) {
|
|
3018
3018
|
if (!$e(C) && !t)
|
|
3019
3019
|
break;
|
|
3020
|
-
const R =
|
|
3020
|
+
const R = sr(await g[$](k, s), I, $);
|
|
3021
3021
|
R && (C = {
|
|
3022
3022
|
...R,
|
|
3023
3023
|
...O($, R.message)
|
|
3024
|
-
},
|
|
3024
|
+
}, B(R.message), t && (S[y] = C));
|
|
3025
3025
|
}
|
|
3026
|
-
if (!$e(C) && (
|
|
3027
|
-
ref:
|
|
3026
|
+
if (!$e(C) && (S[y] = {
|
|
3027
|
+
ref: I,
|
|
3028
3028
|
...C
|
|
3029
3029
|
}, !t))
|
|
3030
|
-
return
|
|
3030
|
+
return S;
|
|
3031
3031
|
}
|
|
3032
3032
|
}
|
|
3033
|
-
return
|
|
3033
|
+
return B(!0), S;
|
|
3034
3034
|
};
|
|
3035
|
-
function
|
|
3035
|
+
function Vo(e, s) {
|
|
3036
3036
|
const t = s.slice(0, -1).length;
|
|
3037
3037
|
let r = 0;
|
|
3038
3038
|
for (; r < t; )
|
|
3039
3039
|
e = me(e) ? r++ : e[s[r++]];
|
|
3040
3040
|
return e;
|
|
3041
3041
|
}
|
|
3042
|
-
function
|
|
3042
|
+
function Ao(e) {
|
|
3043
3043
|
for (const s in e)
|
|
3044
3044
|
if (e.hasOwnProperty(s) && !me(e[s]))
|
|
3045
3045
|
return !1;
|
|
3046
3046
|
return !0;
|
|
3047
3047
|
}
|
|
3048
3048
|
function be(e, s) {
|
|
3049
|
-
const t = Array.isArray(s) ? s :
|
|
3050
|
-
return r && delete r[n], i !== 0 && (ve(r) && $e(r) || Array.isArray(r) &&
|
|
3049
|
+
const t = Array.isArray(s) ? s : Ms(s) ? [s] : Or(s), r = t.length === 1 ? e : Vo(e, t), i = t.length - 1, n = t[i];
|
|
3050
|
+
return r && delete r[n], i !== 0 && (ve(r) && $e(r) || Array.isArray(r) && Ao(r)) && be(e, t.slice(0, -1)), e;
|
|
3051
3051
|
}
|
|
3052
3052
|
var cs = () => {
|
|
3053
3053
|
let e = [];
|
|
@@ -3089,7 +3089,7 @@ function nt(e, s) {
|
|
|
3089
3089
|
}
|
|
3090
3090
|
return !0;
|
|
3091
3091
|
}
|
|
3092
|
-
var Xr = (e) => e.type === "select-multiple",
|
|
3092
|
+
var Xr = (e) => e.type === "select-multiple", $o = (e) => zs(e) || Et(e), ds = (e) => jt(e) && e.isConnected, Jr = (e) => {
|
|
3093
3093
|
for (const s in e)
|
|
3094
3094
|
if (Xe(e[s]))
|
|
3095
3095
|
return !0;
|
|
@@ -3113,9 +3113,9 @@ var Ft = (e, s) => Zr(e, s, Kt(s)), Gr = (e, { valueAsNumber: s, valueAsDate: t,
|
|
|
3113
3113
|
function us(e) {
|
|
3114
3114
|
const s = e.ref;
|
|
3115
3115
|
if (!(e.refs ? e.refs.every((t) => t.disabled) : s.disabled))
|
|
3116
|
-
return
|
|
3116
|
+
return Bs(s) ? s.files : zs(s) ? Yr(e.refs).value : Xr(s) ? [...s.selectedOptions].map(({ value: t }) => t) : Et(s) ? Kr(e.refs).value : Gr(me(s.value) ? e.ref.value : s.value, e);
|
|
3117
3117
|
}
|
|
3118
|
-
var
|
|
3118
|
+
var Ro = (e, s, t, r) => {
|
|
3119
3119
|
const i = {};
|
|
3120
3120
|
for (const n of e) {
|
|
3121
3121
|
const o = L(s, n);
|
|
@@ -3128,11 +3128,11 @@ var $o = (e, s, t, r) => {
|
|
|
3128
3128
|
shouldUseNativeValidation: r
|
|
3129
3129
|
};
|
|
3130
3130
|
}, Vt = (e) => me(e) ? e : Qt(e) ? e.source : ve(e) ? Qt(e.value) ? e.value.source : e.value : e;
|
|
3131
|
-
const
|
|
3132
|
-
var
|
|
3133
|
-
function
|
|
3131
|
+
const nr = "AsyncFunction";
|
|
3132
|
+
var Lo = (e) => (!e || !e.validate) && !!(Xe(e.validate) && e.validate.constructor.name === nr || ve(e.validate) && Object.values(e.validate).find((s) => s.constructor.name === nr)), Do = (e) => e.mount && (e.required || e.min || e.max || e.maxLength || e.minLength || e.pattern || e.validate);
|
|
3133
|
+
function ir(e, s, t) {
|
|
3134
3134
|
const r = L(e, t);
|
|
3135
|
-
if (r ||
|
|
3135
|
+
if (r || Ms(t))
|
|
3136
3136
|
return {
|
|
3137
3137
|
error: r,
|
|
3138
3138
|
name: t
|
|
@@ -3153,15 +3153,15 @@ function nr(e, s, t) {
|
|
|
3153
3153
|
name: t
|
|
3154
3154
|
};
|
|
3155
3155
|
}
|
|
3156
|
-
var
|
|
3157
|
-
const
|
|
3156
|
+
var Mo = (e, s, t, r, i) => i.isOnAll ? !1 : !t && i.isOnTouch ? !(s || e) : (t ? r.isOnBlur : i.isOnBlur) ? !e : (t ? r.isOnChange : i.isOnChange) ? e : !0, Co = (e, s) => !es(L(e, s)).length && be(e, s);
|
|
3157
|
+
const Bo = {
|
|
3158
3158
|
mode: ze.onSubmit,
|
|
3159
3159
|
reValidateMode: ze.onChange,
|
|
3160
3160
|
shouldFocusError: !0
|
|
3161
3161
|
};
|
|
3162
|
-
function
|
|
3162
|
+
function zo(e = {}) {
|
|
3163
3163
|
let s = {
|
|
3164
|
-
...
|
|
3164
|
+
...Bo,
|
|
3165
3165
|
...e
|
|
3166
3166
|
}, t = {
|
|
3167
3167
|
submitCount: 0,
|
|
@@ -3199,7 +3199,7 @@ function Bo(e = {}) {
|
|
|
3199
3199
|
values: cs(),
|
|
3200
3200
|
array: cs(),
|
|
3201
3201
|
state: cs()
|
|
3202
|
-
}, h =
|
|
3202
|
+
}, h = Js(s.mode), g = Js(s.reValidateMode), y = s.criteriaMode === ze.all, N = (c) => (p) => {
|
|
3203
3203
|
clearTimeout(d), d = setTimeout(c, p);
|
|
3204
3204
|
}, b = async (c) => {
|
|
3205
3205
|
if (!e.disabled && (f.isValid || c)) {
|
|
@@ -3215,19 +3215,19 @@ function Bo(e = {}) {
|
|
|
3215
3215
|
validatingFields: t.validatingFields,
|
|
3216
3216
|
isValidating: !$e(t.validatingFields)
|
|
3217
3217
|
}));
|
|
3218
|
-
},
|
|
3218
|
+
}, k = (c, p = [], v, F, w = !0, _ = !0) => {
|
|
3219
3219
|
if (F && v && !e.disabled) {
|
|
3220
3220
|
if (o.action = !0, _ && Array.isArray(L(r, c))) {
|
|
3221
3221
|
const T = v(L(r, c), F.argA, F.argB);
|
|
3222
|
-
|
|
3222
|
+
w && ie(r, c, T);
|
|
3223
3223
|
}
|
|
3224
3224
|
if (_ && Array.isArray(L(t.errors, c))) {
|
|
3225
3225
|
const T = v(L(t.errors, c), F.argA, F.argB);
|
|
3226
|
-
|
|
3226
|
+
w && ie(t.errors, c, T), Co(t.errors, c);
|
|
3227
3227
|
}
|
|
3228
3228
|
if (f.touchedFields && _ && Array.isArray(L(t.touchedFields, c))) {
|
|
3229
3229
|
const T = v(L(t.touchedFields, c), F.argA, F.argB);
|
|
3230
|
-
|
|
3230
|
+
w && ie(t.touchedFields, c, T);
|
|
3231
3231
|
}
|
|
3232
3232
|
f.dirtyFields && (t.dirtyFields = Ft(i, n)), u.state.next({
|
|
3233
3233
|
name: c,
|
|
@@ -3238,22 +3238,22 @@ function Bo(e = {}) {
|
|
|
3238
3238
|
});
|
|
3239
3239
|
} else
|
|
3240
3240
|
ie(n, c, p);
|
|
3241
|
-
},
|
|
3241
|
+
}, I = (c, p) => {
|
|
3242
3242
|
ie(t.errors, c, p), u.state.next({
|
|
3243
3243
|
errors: t.errors
|
|
3244
3244
|
});
|
|
3245
|
-
},
|
|
3245
|
+
}, B = (c) => {
|
|
3246
3246
|
t.errors = c, u.state.next({
|
|
3247
3247
|
errors: t.errors,
|
|
3248
3248
|
isValid: !1
|
|
3249
3249
|
});
|
|
3250
|
-
},
|
|
3251
|
-
const
|
|
3252
|
-
if (
|
|
3250
|
+
}, S = (c, p, v, F) => {
|
|
3251
|
+
const w = L(r, c);
|
|
3252
|
+
if (w) {
|
|
3253
3253
|
const _ = L(n, c, me(v) ? L(i, c) : v);
|
|
3254
|
-
me(_) || F && F.defaultChecked || p ? ie(n, c, p ? _ : us(
|
|
3254
|
+
me(_) || F && F.defaultChecked || p ? ie(n, c, p ? _ : us(w._f)) : A(c, _), o.mount && b();
|
|
3255
3255
|
}
|
|
3256
|
-
}, q = (c, p, v, F,
|
|
3256
|
+
}, q = (c, p, v, F, w) => {
|
|
3257
3257
|
let _ = !1, T = !1;
|
|
3258
3258
|
const E = {
|
|
3259
3259
|
name: c
|
|
@@ -3269,12 +3269,12 @@ function Bo(e = {}) {
|
|
|
3269
3269
|
const pe = L(t.touchedFields, c);
|
|
3270
3270
|
pe || (ie(t.touchedFields, c, v), E.touchedFields = t.touchedFields, _ = _ || f.touchedFields && pe !== v);
|
|
3271
3271
|
}
|
|
3272
|
-
_ &&
|
|
3272
|
+
_ && w && u.state.next(E);
|
|
3273
3273
|
}
|
|
3274
3274
|
return _ ? E : {};
|
|
3275
3275
|
}, Q = (c, p, v, F) => {
|
|
3276
|
-
const
|
|
3277
|
-
if (e.delayError && v ? (m =
|
|
3276
|
+
const w = L(t.errors, c), _ = f.isValid && De(p) && t.isValid !== p;
|
|
3277
|
+
if (e.delayError && v ? (m = N(() => I(c, v)), m(e.delayError)) : (clearTimeout(d), m = null, v ? ie(t.errors, c, v) : be(t.errors, c)), (v ? !nt(w, v) : w) || !$e(F) || _) {
|
|
3278
3278
|
const T = {
|
|
3279
3279
|
...F,
|
|
3280
3280
|
..._ && De(p) ? { isValid: p } : {},
|
|
@@ -3288,7 +3288,7 @@ function Bo(e = {}) {
|
|
|
3288
3288
|
}
|
|
3289
3289
|
}, j = async (c) => {
|
|
3290
3290
|
x(c, !0);
|
|
3291
|
-
const p = await s.resolver(n, s.context,
|
|
3291
|
+
const p = await s.resolver(n, s.context, Ro(c || l.mount, r, s.criteriaMode, s.shouldUseNativeValidation));
|
|
3292
3292
|
return x(c), p;
|
|
3293
3293
|
}, M = async (c) => {
|
|
3294
3294
|
const { errors: p } = await j(c);
|
|
@@ -3304,16 +3304,16 @@ function Bo(e = {}) {
|
|
|
3304
3304
|
valid: !0
|
|
3305
3305
|
}) => {
|
|
3306
3306
|
for (const F in c) {
|
|
3307
|
-
const
|
|
3308
|
-
if (
|
|
3309
|
-
const { _f: _, ...T } =
|
|
3307
|
+
const w = c[F];
|
|
3308
|
+
if (w) {
|
|
3309
|
+
const { _f: _, ...T } = w;
|
|
3310
3310
|
if (_) {
|
|
3311
|
-
const E = l.array.has(_.name), ee =
|
|
3311
|
+
const E = l.array.has(_.name), ee = w._f && Lo(w._f);
|
|
3312
3312
|
ee && f.validatingFields && x([F], !0);
|
|
3313
|
-
const pe = await
|
|
3313
|
+
const pe = await rr(w, n, y, s.shouldUseNativeValidation && !p, E);
|
|
3314
3314
|
if (ee && f.validatingFields && x([F]), pe[_.name] && (v.valid = !1, p))
|
|
3315
3315
|
break;
|
|
3316
|
-
!p && (L(pe, _.name) ? E ?
|
|
3316
|
+
!p && (L(pe, _.name) ? E ? Fo(t.errors, pe, _.name) : ie(t.errors, _.name, pe[_.name]) : be(t.errors, _.name));
|
|
3317
3317
|
}
|
|
3318
3318
|
!$e(T) && await O(T, p, v);
|
|
3319
3319
|
}
|
|
@@ -3329,30 +3329,30 @@ function Bo(e = {}) {
|
|
|
3329
3329
|
...o.mount ? n : me(p) ? i : Pe(c) ? { [c]: p } : p
|
|
3330
3330
|
}, v, p), R = (c) => es(L(o.mount ? n : i, c, e.shouldUnregister ? L(i, c, []) : [])), A = (c, p, v = {}) => {
|
|
3331
3331
|
const F = L(r, c);
|
|
3332
|
-
let
|
|
3332
|
+
let w = p;
|
|
3333
3333
|
if (F) {
|
|
3334
3334
|
const _ = F._f;
|
|
3335
|
-
_ && (!_.disabled && ie(n, c, Gr(p, _)),
|
|
3335
|
+
_ && (!_.disabled && ie(n, c, Gr(p, _)), w = jt(_.ref) && Fe(p) ? "" : p, Xr(_.ref) ? [..._.ref.options].forEach((T) => T.selected = w.includes(T.value)) : _.refs ? Et(_.ref) ? _.refs.length > 1 ? _.refs.forEach((T) => (!T.defaultChecked || !T.disabled) && (T.checked = Array.isArray(w) ? !!w.find((E) => E === T.value) : w === T.value)) : _.refs[0] && (_.refs[0].checked = !!w) : _.refs.forEach((T) => T.checked = T.value === w) : Bs(_.ref) ? _.ref.value = "" : (_.ref.value = w, _.ref.type || u.values.next({
|
|
3336
3336
|
name: c,
|
|
3337
3337
|
values: { ...n }
|
|
3338
3338
|
})));
|
|
3339
3339
|
}
|
|
3340
|
-
(v.shouldDirty || v.shouldTouch) && q(c,
|
|
3340
|
+
(v.shouldDirty || v.shouldTouch) && q(c, w, v.shouldTouch, v.shouldDirty, !0), v.shouldValidate && z(c);
|
|
3341
3341
|
}, U = (c, p, v) => {
|
|
3342
3342
|
for (const F in p) {
|
|
3343
|
-
const
|
|
3344
|
-
(l.array.has(c) || ve(
|
|
3343
|
+
const w = p[F], _ = `${c}.${F}`, T = L(r, _);
|
|
3344
|
+
(l.array.has(c) || ve(w) || T && !T._f) && !ft(w) ? U(_, w, v) : A(_, w, v);
|
|
3345
3345
|
}
|
|
3346
3346
|
}, K = (c, p, v = {}) => {
|
|
3347
|
-
const F = L(r, c),
|
|
3348
|
-
ie(n, c, _),
|
|
3347
|
+
const F = L(r, c), w = l.array.has(c), _ = Ae(p);
|
|
3348
|
+
ie(n, c, _), w ? (u.array.next({
|
|
3349
3349
|
name: c,
|
|
3350
3350
|
values: { ...n }
|
|
3351
3351
|
}), (f.isDirty || f.dirtyFields) && v.shouldDirty && u.state.next({
|
|
3352
3352
|
name: c,
|
|
3353
3353
|
dirtyFields: Ft(i, n),
|
|
3354
3354
|
isDirty: C(c, _)
|
|
3355
|
-
})) : F && !F._f && !Fe(_) ? U(c, _, v) : A(c, _, v),
|
|
3355
|
+
})) : F && !F._f && !Fe(_) ? U(c, _, v) : A(c, _, v), Zs(c, l) && u.state.next({ ...t }), u.values.next({
|
|
3356
3356
|
name: o.mount ? c : void 0,
|
|
3357
3357
|
values: { ...n }
|
|
3358
3358
|
});
|
|
@@ -3360,40 +3360,40 @@ function Bo(e = {}) {
|
|
|
3360
3360
|
o.mount = !0;
|
|
3361
3361
|
const p = c.target;
|
|
3362
3362
|
let v = p.name, F = !0;
|
|
3363
|
-
const
|
|
3363
|
+
const w = L(r, v), _ = () => p.type ? us(w._f) : Er(c), T = (E) => {
|
|
3364
3364
|
F = Number.isNaN(E) || ft(E) && isNaN(E.getTime()) || nt(E, L(n, v, E));
|
|
3365
3365
|
};
|
|
3366
|
-
if (
|
|
3366
|
+
if (w) {
|
|
3367
3367
|
let E, ee;
|
|
3368
|
-
const pe = _(), ot = c.type === qt.BLUR || c.type === qt.FOCUS_OUT,
|
|
3369
|
-
ie(n, v, pe), ot ? (
|
|
3370
|
-
const ns = q(v, pe, ot, !1),
|
|
3368
|
+
const pe = _(), ot = c.type === qt.BLUR || c.type === qt.FOCUS_OUT, dn = !Do(w._f) && !s.resolver && !L(t.errors, v) && !w._f.deps || Mo(ot, L(t.touchedFields, v), t.isSubmitted, g, h), rs = Zs(v, l, ot);
|
|
3369
|
+
ie(n, v, pe), ot ? (w._f.onBlur && w._f.onBlur(c), m && m(0)) : w._f.onChange && w._f.onChange(c);
|
|
3370
|
+
const ns = q(v, pe, ot, !1), un = !$e(ns) || rs;
|
|
3371
3371
|
if (!ot && u.values.next({
|
|
3372
3372
|
name: v,
|
|
3373
3373
|
type: c.type,
|
|
3374
3374
|
values: { ...n }
|
|
3375
|
-
}),
|
|
3376
|
-
return f.isValid && (e.mode === "onBlur" ? ot && b() : b()),
|
|
3375
|
+
}), dn)
|
|
3376
|
+
return f.isValid && (e.mode === "onBlur" ? ot && b() : b()), un && u.state.next({ name: v, ...rs ? {} : ns });
|
|
3377
3377
|
if (!ot && rs && u.state.next({ ...t }), s.resolver) {
|
|
3378
|
-
const { errors:
|
|
3378
|
+
const { errors: Es } = await j([v]);
|
|
3379
3379
|
if (T(pe), F) {
|
|
3380
|
-
const
|
|
3381
|
-
E =
|
|
3380
|
+
const fn = ir(t.errors, r, v), Hs = ir(Es, r, fn.name || v);
|
|
3381
|
+
E = Hs.error, v = Hs.name, ee = $e(Es);
|
|
3382
3382
|
}
|
|
3383
3383
|
} else
|
|
3384
|
-
x([v], !0), E = (await
|
|
3385
|
-
F && (
|
|
3384
|
+
x([v], !0), E = (await rr(w, n, y, s.shouldUseNativeValidation))[v], x([v]), T(pe), F && (E ? ee = !1 : f.isValid && (ee = await O(r, !0)));
|
|
3385
|
+
F && (w._f.deps && z(w._f.deps), Q(v, ee, E, ns));
|
|
3386
3386
|
}
|
|
3387
3387
|
}, G = (c, p) => {
|
|
3388
3388
|
if (L(t.errors, p) && c.focus)
|
|
3389
3389
|
return c.focus(), 1;
|
|
3390
|
-
},
|
|
3390
|
+
}, z = async (c, p = {}) => {
|
|
3391
3391
|
let v, F;
|
|
3392
|
-
const
|
|
3392
|
+
const w = Lt(c);
|
|
3393
3393
|
if (s.resolver) {
|
|
3394
|
-
const _ = await M(me(c) ? c :
|
|
3395
|
-
v = $e(_), F = c ? !
|
|
3396
|
-
} else c ? (F = (await Promise.all(
|
|
3394
|
+
const _ = await M(me(c) ? c : w);
|
|
3395
|
+
v = $e(_), F = c ? !w.some((T) => L(_, T)) : v;
|
|
3396
|
+
} else c ? (F = (await Promise.all(w.map(async (_) => {
|
|
3397
3397
|
const T = L(r, _);
|
|
3398
3398
|
return await O(T && T._f ? { [_]: T } : T);
|
|
3399
3399
|
}))).every(Boolean), !(!F && !t.isValid) && b()) : F = v = await O(r);
|
|
@@ -3401,7 +3401,7 @@ function Bo(e = {}) {
|
|
|
3401
3401
|
...!Pe(c) || f.isValid && v !== t.isValid ? {} : { name: c },
|
|
3402
3402
|
...s.resolver || !c ? { isValid: v } : {},
|
|
3403
3403
|
errors: t.errors
|
|
3404
|
-
}), p.shouldFocus && !F && Dt(r, G, c ?
|
|
3404
|
+
}), p.shouldFocus && !F && Dt(r, G, c ? w : l.mount), F;
|
|
3405
3405
|
}, se = (c) => {
|
|
3406
3406
|
const p = {
|
|
3407
3407
|
...o.mount ? n : i
|
|
@@ -3418,7 +3418,7 @@ function Bo(e = {}) {
|
|
|
3418
3418
|
errors: c ? t.errors : {}
|
|
3419
3419
|
});
|
|
3420
3420
|
}, W = (c, p, v) => {
|
|
3421
|
-
const F = (L(r, c, { _f: {} })._f || {}).ref,
|
|
3421
|
+
const F = (L(r, c, { _f: {} })._f || {}).ref, w = L(t.errors, c) || {}, { ref: _, message: T, type: E, ...ee } = w;
|
|
3422
3422
|
ie(t.errors, c, {
|
|
3423
3423
|
...ee,
|
|
3424
3424
|
...p,
|
|
@@ -3439,9 +3439,9 @@ function Bo(e = {}) {
|
|
|
3439
3439
|
...t,
|
|
3440
3440
|
...p.keepDirty ? { isDirty: C() } : {}
|
|
3441
3441
|
}), !p.keepIsValid && b();
|
|
3442
|
-
}, fe = ({ disabled: c, name: p, field: v, fields: F, value:
|
|
3442
|
+
}, fe = ({ disabled: c, name: p, field: v, fields: F, value: w }) => {
|
|
3443
3443
|
if (De(c) && o.mount || c) {
|
|
3444
|
-
const _ = c ? void 0 : me(
|
|
3444
|
+
const _ = c ? void 0 : me(w) ? us(v ? v._f : L(F, p)._f) : w;
|
|
3445
3445
|
ie(n, p, _), q(p, _, !1, !1, !0);
|
|
3446
3446
|
}
|
|
3447
3447
|
}, ge = (c, p = {}) => {
|
|
@@ -3460,7 +3460,7 @@ function Bo(e = {}) {
|
|
|
3460
3460
|
disabled: De(p.disabled) ? p.disabled : e.disabled,
|
|
3461
3461
|
name: c,
|
|
3462
3462
|
value: p.value
|
|
3463
|
-
}) :
|
|
3463
|
+
}) : S(c, !0, p.value), {
|
|
3464
3464
|
...F ? { disabled: p.disabled || e.disabled } : {},
|
|
3465
3465
|
...s.progressive ? {
|
|
3466
3466
|
required: !!p.required,
|
|
@@ -3473,10 +3473,10 @@ function Bo(e = {}) {
|
|
|
3473
3473
|
name: c,
|
|
3474
3474
|
onChange: J,
|
|
3475
3475
|
onBlur: J,
|
|
3476
|
-
ref: (
|
|
3477
|
-
if (
|
|
3476
|
+
ref: (w) => {
|
|
3477
|
+
if (w) {
|
|
3478
3478
|
ge(c, p), v = L(r, c);
|
|
3479
|
-
const _ = me(
|
|
3479
|
+
const _ = me(w.value) && w.querySelectorAll && w.querySelectorAll("input,select,textarea")[0] || w, T = $o(_), E = v._f.refs || [];
|
|
3480
3480
|
if (T ? E.find((ee) => ee === _) : _ === v._f.ref)
|
|
3481
3481
|
return;
|
|
3482
3482
|
ie(r, c, {
|
|
@@ -3491,7 +3491,7 @@ function Bo(e = {}) {
|
|
|
3491
3491
|
ref: { type: _.type, name: c }
|
|
3492
3492
|
} : { ref: _ }
|
|
3493
3493
|
}
|
|
3494
|
-
}),
|
|
3494
|
+
}), S(c, !1, void 0, _);
|
|
3495
3495
|
} else
|
|
3496
3496
|
v = L(r, c, {}), v._f && (v._f.mount = !1), (s.shouldUnregister || p.shouldUnregister) && !(Hr(l.array, c) && o.action) && l.unMount.add(c);
|
|
3497
3497
|
}
|
|
@@ -3499,19 +3499,19 @@ function Bo(e = {}) {
|
|
|
3499
3499
|
}, Se = () => s.shouldFocusError && Dt(r, G, l.mount), je = (c) => {
|
|
3500
3500
|
De(c) && (u.state.next({ disabled: c }), Dt(r, (p, v) => {
|
|
3501
3501
|
const F = L(r, v);
|
|
3502
|
-
F && (p.disabled = F._f.disabled || c, Array.isArray(F._f.refs) && F._f.refs.forEach((
|
|
3503
|
-
|
|
3502
|
+
F && (p.disabled = F._f.disabled || c, Array.isArray(F._f.refs) && F._f.refs.forEach((w) => {
|
|
3503
|
+
w.disabled = F._f.disabled || c;
|
|
3504
3504
|
}));
|
|
3505
3505
|
}, 0, !1));
|
|
3506
3506
|
}, we = (c, p) => async (v) => {
|
|
3507
3507
|
let F;
|
|
3508
3508
|
v && (v.preventDefault && v.preventDefault(), v.persist && v.persist());
|
|
3509
|
-
let
|
|
3509
|
+
let w = Ae(n);
|
|
3510
3510
|
if (u.state.next({
|
|
3511
3511
|
isSubmitting: !0
|
|
3512
3512
|
}), s.resolver) {
|
|
3513
3513
|
const { errors: _, values: T } = await j();
|
|
3514
|
-
t.errors = _,
|
|
3514
|
+
t.errors = _, w = T;
|
|
3515
3515
|
} else
|
|
3516
3516
|
await O(r);
|
|
3517
3517
|
if (be(t.errors, "root"), $e(t.errors)) {
|
|
@@ -3519,7 +3519,7 @@ function Bo(e = {}) {
|
|
|
3519
3519
|
errors: {}
|
|
3520
3520
|
});
|
|
3521
3521
|
try {
|
|
3522
|
-
await c(
|
|
3522
|
+
await c(w, v);
|
|
3523
3523
|
} catch (_) {
|
|
3524
3524
|
F = _;
|
|
3525
3525
|
}
|
|
@@ -3536,7 +3536,7 @@ function Bo(e = {}) {
|
|
|
3536
3536
|
}, ue = (c, p = {}) => {
|
|
3537
3537
|
L(r, c) && (me(p.defaultValue) ? K(c, Ae(L(i, c))) : (K(c, p.defaultValue), ie(i, c, Ae(p.defaultValue))), p.keepTouched || be(t.touchedFields, c), p.keepDirty || (be(t.dirtyFields, c), t.isDirty = p.defaultValue ? C(c, Ae(L(i, c))) : C()), p.keepError || (be(t.errors, c), f.isValid && b()), u.state.next({ ...t }));
|
|
3538
3538
|
}, Ve = (c, p = {}) => {
|
|
3539
|
-
const v = c ? Ae(c) : i, F = Ae(v),
|
|
3539
|
+
const v = c ? Ae(c) : i, F = Ae(v), w = $e(c), _ = w ? i : F;
|
|
3540
3540
|
if (p.keepDefaultValues || (i = v), !p.keepValues) {
|
|
3541
3541
|
if (p.keepDirtyValues) {
|
|
3542
3542
|
const T = /* @__PURE__ */ new Set([
|
|
@@ -3546,7 +3546,7 @@ function Bo(e = {}) {
|
|
|
3546
3546
|
for (const E of Array.from(T))
|
|
3547
3547
|
L(t.dirtyFields, E) ? ie(_, E, L(n, E)) : K(E, L(_, E));
|
|
3548
3548
|
} else {
|
|
3549
|
-
if (
|
|
3549
|
+
if (Ds && me(c))
|
|
3550
3550
|
for (const T of l.mount) {
|
|
3551
3551
|
const E = L(r, T);
|
|
3552
3552
|
if (E && E._f) {
|
|
@@ -3577,9 +3577,9 @@ function Bo(e = {}) {
|
|
|
3577
3577
|
focus: ""
|
|
3578
3578
|
}, o.mount = !f.isValid || !!p.keepIsValid || !!p.keepDirtyValues, o.watch = !!e.shouldUnregister, u.state.next({
|
|
3579
3579
|
submitCount: p.keepSubmitCount ? t.submitCount : 0,
|
|
3580
|
-
isDirty:
|
|
3580
|
+
isDirty: w ? !1 : p.keepDirty ? t.isDirty : !!(p.keepDefaultValues && !nt(c, i)),
|
|
3581
3581
|
isSubmitted: p.keepIsSubmitted ? t.isSubmitted : !1,
|
|
3582
|
-
dirtyFields:
|
|
3582
|
+
dirtyFields: w ? {} : p.keepDirtyValues ? p.keepDefaultValues && n ? Ft(i, n) : t.dirtyFields : p.keepDefaultValues && c ? Ft(i, c) : p.keepDirty ? t.dirtyFields : {},
|
|
3583
3583
|
touchedFields: p.keepTouched ? t.touchedFields : {},
|
|
3584
3584
|
errors: p.keepErrors ? t.errors : {},
|
|
3585
3585
|
isSubmitSuccessful: p.keepIsSubmitSuccessful ? t.isSubmitSuccessful : !1,
|
|
@@ -3598,7 +3598,7 @@ function Bo(e = {}) {
|
|
|
3598
3598
|
_getDirty: C,
|
|
3599
3599
|
_updateValid: b,
|
|
3600
3600
|
_removeUnmounted: te,
|
|
3601
|
-
_updateFieldArray:
|
|
3601
|
+
_updateFieldArray: k,
|
|
3602
3602
|
_updateDisabledField: fe,
|
|
3603
3603
|
_getFieldArray: R,
|
|
3604
3604
|
_reset: Ve,
|
|
@@ -3616,7 +3616,7 @@ function Bo(e = {}) {
|
|
|
3616
3616
|
_disableForm: je,
|
|
3617
3617
|
_subjects: u,
|
|
3618
3618
|
_proxyFormState: f,
|
|
3619
|
-
_setErrors:
|
|
3619
|
+
_setErrors: B,
|
|
3620
3620
|
get _fields() {
|
|
3621
3621
|
return r;
|
|
3622
3622
|
},
|
|
@@ -3654,7 +3654,7 @@ function Bo(e = {}) {
|
|
|
3654
3654
|
};
|
|
3655
3655
|
}
|
|
3656
3656
|
},
|
|
3657
|
-
trigger:
|
|
3657
|
+
trigger: z,
|
|
3658
3658
|
register: ge,
|
|
3659
3659
|
handleSubmit: we,
|
|
3660
3660
|
watch: Y,
|
|
@@ -3668,8 +3668,8 @@ function Bo(e = {}) {
|
|
|
3668
3668
|
setFocus: (c, p = {}) => {
|
|
3669
3669
|
const v = L(r, c), F = v && v._f;
|
|
3670
3670
|
if (F) {
|
|
3671
|
-
const
|
|
3672
|
-
|
|
3671
|
+
const w = F.refs ? F.refs[0] : F.ref;
|
|
3672
|
+
w.focus && (w.focus(), p.shouldSelect && w.select());
|
|
3673
3673
|
}
|
|
3674
3674
|
},
|
|
3675
3675
|
getFieldState: ce
|
|
@@ -3693,11 +3693,11 @@ function en(e = {}) {
|
|
|
3693
3693
|
defaultValues: Xe(e.defaultValues) ? void 0 : e.defaultValues
|
|
3694
3694
|
});
|
|
3695
3695
|
s.current || (s.current = {
|
|
3696
|
-
...
|
|
3696
|
+
...zo(e),
|
|
3697
3697
|
formState: r
|
|
3698
3698
|
});
|
|
3699
3699
|
const n = s.current.control;
|
|
3700
|
-
return n._options = e,
|
|
3700
|
+
return n._options = e, Cs({
|
|
3701
3701
|
subject: n._subjects.state,
|
|
3702
3702
|
next: (o) => {
|
|
3703
3703
|
Pr(o, n._proxyFormState, n._updateFormState, !0) && i({ ...n._formState });
|
|
@@ -3723,9 +3723,9 @@ function en(e = {}) {
|
|
|
3723
3723
|
s.current && (s.current.watch = s.current.watch.bind({}));
|
|
3724
3724
|
}, [r]), s.current.formState = Ur(r, n), s.current;
|
|
3725
3725
|
}
|
|
3726
|
-
const
|
|
3727
|
-
alert:
|
|
3728
|
-
},
|
|
3726
|
+
const To = "ids-form--alert-v5200", Eo = {
|
|
3727
|
+
alert: To
|
|
3728
|
+
}, Ho = ({
|
|
3729
3729
|
alert: e,
|
|
3730
3730
|
children: s,
|
|
3731
3731
|
"data-testid": t,
|
|
@@ -3741,40 +3741,40 @@ const zo = "ids-form--alert-v5190", To = {
|
|
|
3741
3741
|
updateErrorSummaryOnSubmit: h,
|
|
3742
3742
|
...g
|
|
3743
3743
|
}, y) => {
|
|
3744
|
-
const
|
|
3744
|
+
const N = He({ id: g.id }), [b, x] = X({}), { handleSubmit: k, reset: I, formState: B } = o, S = le(null), { isValid: q, isSubmitted: Q } = B, j = le({}), [M, O] = X(!1), C = !!Object.values(b).filter((z) => !!z).length && !m, $ = C || e;
|
|
3745
3745
|
Z(() => {
|
|
3746
3746
|
h && M && Q && (x(() => j.current), O(!1));
|
|
3747
3747
|
}, [h, M, Q]);
|
|
3748
3748
|
const R = ye(
|
|
3749
|
-
(
|
|
3750
|
-
u == null || u(
|
|
3749
|
+
(z) => {
|
|
3750
|
+
u == null || u(z), setTimeout(() => {
|
|
3751
3751
|
var se;
|
|
3752
|
-
return (se =
|
|
3752
|
+
return (se = S == null ? void 0 : S.current) == null ? void 0 : se.focus();
|
|
3753
3753
|
}), h && O(!0);
|
|
3754
3754
|
},
|
|
3755
3755
|
[u, h]
|
|
3756
3756
|
), A = ye(
|
|
3757
|
-
(
|
|
3758
|
-
|
|
3757
|
+
(z) => {
|
|
3758
|
+
k((se) => {
|
|
3759
3759
|
d == null || d(se), x({}), j.current = {};
|
|
3760
|
-
}, R)(
|
|
3760
|
+
}, R)(z);
|
|
3761
3761
|
},
|
|
3762
|
-
[R,
|
|
3762
|
+
[R, k, d]
|
|
3763
3763
|
), U = ye(
|
|
3764
|
-
(
|
|
3765
|
-
j.current =
|
|
3764
|
+
(z) => {
|
|
3765
|
+
j.current = z();
|
|
3766
3766
|
},
|
|
3767
3767
|
[]
|
|
3768
3768
|
), K = ye(
|
|
3769
|
-
(
|
|
3770
|
-
if (se === b[
|
|
3769
|
+
(z, se) => {
|
|
3770
|
+
if (se === b[z] || !se && !b[z])
|
|
3771
3771
|
return;
|
|
3772
3772
|
const ce = h ? U : x, he = h ? j.current : b;
|
|
3773
3773
|
ce(
|
|
3774
3774
|
() => [...o.control._names.mount.values()].reduce(
|
|
3775
3775
|
(W, Y) => ({
|
|
3776
3776
|
...W,
|
|
3777
|
-
[Y]: Y ===
|
|
3777
|
+
[Y]: Y === z ? se : he[Y]
|
|
3778
3778
|
}),
|
|
3779
3779
|
{}
|
|
3780
3780
|
)
|
|
@@ -3791,23 +3791,23 @@ const zo = "ids-form--alert-v5190", To = {
|
|
|
3791
3791
|
element: (J == null ? void 0 : J.current) ?? void 0,
|
|
3792
3792
|
api: o,
|
|
3793
3793
|
submit: () => A(),
|
|
3794
|
-
reset: (
|
|
3794
|
+
reset: (z) => I(z)
|
|
3795
3795
|
})), Z(() => {
|
|
3796
3796
|
f == null || f(q);
|
|
3797
3797
|
}, [q, f]);
|
|
3798
3798
|
const G = Ne(
|
|
3799
3799
|
() => ({
|
|
3800
|
-
id:
|
|
3800
|
+
id: N,
|
|
3801
3801
|
errorMessages: b,
|
|
3802
3802
|
setErrorMessage: K
|
|
3803
3803
|
}),
|
|
3804
|
-
[b,
|
|
3804
|
+
[b, N, K]
|
|
3805
3805
|
);
|
|
3806
|
-
return /* @__PURE__ */ a(
|
|
3806
|
+
return /* @__PURE__ */ a(Mn.Provider, { value: G, children: /* @__PURE__ */ a(Io, { ...o, children: /* @__PURE__ */ D(
|
|
3807
3807
|
"form",
|
|
3808
3808
|
{
|
|
3809
3809
|
...g,
|
|
3810
|
-
id:
|
|
3810
|
+
id: N,
|
|
3811
3811
|
onSubmit: A,
|
|
3812
3812
|
noValidate: !0,
|
|
3813
3813
|
"data-testid": t,
|
|
@@ -3824,10 +3824,10 @@ const zo = "ids-form--alert-v5190", To = {
|
|
|
3824
3824
|
role: "alert",
|
|
3825
3825
|
tabIndex: -1,
|
|
3826
3826
|
className: V({
|
|
3827
|
-
[
|
|
3827
|
+
[Eo.alert]: !0,
|
|
3828
3828
|
[re.Hidden]: !$
|
|
3829
3829
|
}),
|
|
3830
|
-
ref:
|
|
3830
|
+
ref: S,
|
|
3831
3831
|
children: [
|
|
3832
3832
|
C ? /* @__PURE__ */ a(
|
|
3833
3833
|
Bt,
|
|
@@ -3837,7 +3837,7 @@ const zo = "ids-form--alert-v5190", To = {
|
|
|
3837
3837
|
headingText: i,
|
|
3838
3838
|
headingLevel: n,
|
|
3839
3839
|
children: /* @__PURE__ */ a(
|
|
3840
|
-
|
|
3840
|
+
Cn,
|
|
3841
3841
|
{
|
|
3842
3842
|
"data-testid": H(t, "error-summary")
|
|
3843
3843
|
}
|
|
@@ -3860,7 +3860,7 @@ const zo = "ids-form--alert-v5190", To = {
|
|
|
3860
3860
|
]
|
|
3861
3861
|
}
|
|
3862
3862
|
) }) });
|
|
3863
|
-
},
|
|
3863
|
+
}, Oo = ae(Ho), Wo = ({
|
|
3864
3864
|
defaultValues: e,
|
|
3865
3865
|
context: s,
|
|
3866
3866
|
criteriaMode: t,
|
|
@@ -3876,7 +3876,7 @@ const zo = "ids-form--alert-v5190", To = {
|
|
|
3876
3876
|
values: h,
|
|
3877
3877
|
...g
|
|
3878
3878
|
}, y) => {
|
|
3879
|
-
const
|
|
3879
|
+
const N = en({
|
|
3880
3880
|
defaultValues: e,
|
|
3881
3881
|
context: s,
|
|
3882
3882
|
criteriaMode: t,
|
|
@@ -3891,12 +3891,12 @@ const zo = "ids-form--alert-v5190", To = {
|
|
|
3891
3891
|
shouldUnregister: u,
|
|
3892
3892
|
values: h
|
|
3893
3893
|
});
|
|
3894
|
-
return /* @__PURE__ */ a(
|
|
3895
|
-
},
|
|
3896
|
-
|
|
3897
|
-
|
|
3898
|
-
|
|
3899
|
-
const
|
|
3894
|
+
return /* @__PURE__ */ a(Oo, { form: N, ...g, ref: y });
|
|
3895
|
+
}, Uo = ae(Wo), Ts = Uo;
|
|
3896
|
+
Ts.useForm = en;
|
|
3897
|
+
Ts.useFormContext = ts;
|
|
3898
|
+
Ts.useWatch = Qr;
|
|
3899
|
+
const Po = ae(
|
|
3900
3900
|
(e, s) => {
|
|
3901
3901
|
const {
|
|
3902
3902
|
locale: t = "en-AU",
|
|
@@ -3912,7 +3912,7 @@ const Uo = ae(
|
|
|
3912
3912
|
Ge,
|
|
3913
3913
|
{
|
|
3914
3914
|
className: m,
|
|
3915
|
-
formatter: (f) =>
|
|
3915
|
+
formatter: (f) => Bn({
|
|
3916
3916
|
value: f,
|
|
3917
3917
|
locale: t,
|
|
3918
3918
|
currencyCode: r,
|
|
@@ -3929,54 +3929,54 @@ const Uo = ae(
|
|
|
3929
3929
|
);
|
|
3930
3930
|
}
|
|
3931
3931
|
);
|
|
3932
|
-
|
|
3933
|
-
const
|
|
3934
|
-
modal:
|
|
3935
|
-
backdrop:
|
|
3936
|
-
"size--sm": "ids-modal--size--sm-
|
|
3937
|
-
"size--lg": "ids-modal--size--lg-
|
|
3938
|
-
"size--fullpage": "ids-modal--size--fullpage-
|
|
3939
|
-
"size-xs--fullpage": "ids-modal--size-xs--fullpage-
|
|
3940
|
-
"size-xs--sm": "ids-modal--size-xs--sm-
|
|
3941
|
-
"size-xs--md": "ids-modal--size-xs--md-
|
|
3942
|
-
"size-xs--lg": "ids-modal--size-xs--lg-
|
|
3943
|
-
"size-sm--fullpage": "ids-modal--size-sm--fullpage-
|
|
3944
|
-
"size-sm--sm": "ids-modal--size-sm--sm-
|
|
3945
|
-
"size-sm--md": "ids-modal--size-sm--md-
|
|
3946
|
-
"size-sm--lg": "ids-modal--size-sm--lg-
|
|
3947
|
-
"size-md--fullpage": "ids-modal--size-md--fullpage-
|
|
3948
|
-
"size-md--sm": "ids-modal--size-md--sm-
|
|
3949
|
-
"size-md--md": "ids-modal--size-md--md-
|
|
3950
|
-
"size-md--lg": "ids-modal--size-md--lg-
|
|
3951
|
-
"size-lg--fullpage": "ids-modal--size-lg--fullpage-
|
|
3952
|
-
"size-lg--sm": "ids-modal--size-lg--sm-
|
|
3953
|
-
"size-lg--md": "ids-modal--size-lg--md-
|
|
3954
|
-
"size-lg--lg": "ids-modal--size-lg--lg-
|
|
3955
|
-
"size-xl--fullpage": "ids-modal--size-xl--fullpage-
|
|
3956
|
-
"size-xl--sm": "ids-modal--size-xl--sm-
|
|
3957
|
-
"size-xl--md": "ids-modal--size-xl--md-
|
|
3958
|
-
"size-xl--lg": "ids-modal--size-xl--lg-
|
|
3959
|
-
"size-xxl--fullpage": "ids-modal--size-xxl--fullpage-
|
|
3960
|
-
"size-xxl--sm": "ids-modal--size-xxl--sm-
|
|
3961
|
-
"size-xxl--md": "ids-modal--size-xxl--md-
|
|
3962
|
-
"size-xxl--lg": "ids-modal--size-xxl--lg-
|
|
3963
|
-
static: "ids-modal--static-
|
|
3964
|
-
initial:
|
|
3965
|
-
close:
|
|
3966
|
-
open:
|
|
3967
|
-
unmounted:
|
|
3968
|
-
closeButton:
|
|
3969
|
-
footer:
|
|
3970
|
-
fixedFooter:
|
|
3971
|
-
content:
|
|
3972
|
-
},
|
|
3973
|
-
toaster:
|
|
3974
|
-
"toaster__bottom-end": "ids-toaster--toaster__bottom-end-
|
|
3975
|
-
"toaster__bottom-start": "ids-toaster--toaster__bottom-start-
|
|
3976
|
-
"toaster__bottom-center": "ids-toaster--toaster__bottom-center-
|
|
3977
|
-
"toaster__top-end": "ids-toaster--toaster__top-end-
|
|
3978
|
-
"toaster__top-start": "ids-toaster--toaster__top-start-
|
|
3979
|
-
"toaster__top-center": "ids-toaster--toaster__top-center-
|
|
3932
|
+
Po.displayName = "IressInputCurrency";
|
|
3933
|
+
const qo = "ids-modal-v5200", jo = "ids-modal--backdrop-v5200", Qo = "ids-modal--initial-v5200", Ko = "ids-modal--close-v5200", Yo = "ids-modal--open-v5200", Xo = "ids-modal--unmounted-v5200", Jo = "ids-modal--close-button-v5200", Zo = "ids-modal--footer-v5200", Go = "ids-modal--fixed-footer-v5200", el = "ids-modal--content-v5200", We = {
|
|
3934
|
+
modal: qo,
|
|
3935
|
+
backdrop: jo,
|
|
3936
|
+
"size--sm": "ids-modal--size--sm-v5200",
|
|
3937
|
+
"size--lg": "ids-modal--size--lg-v5200",
|
|
3938
|
+
"size--fullpage": "ids-modal--size--fullpage-v5200",
|
|
3939
|
+
"size-xs--fullpage": "ids-modal--size-xs--fullpage-v5200",
|
|
3940
|
+
"size-xs--sm": "ids-modal--size-xs--sm-v5200",
|
|
3941
|
+
"size-xs--md": "ids-modal--size-xs--md-v5200",
|
|
3942
|
+
"size-xs--lg": "ids-modal--size-xs--lg-v5200",
|
|
3943
|
+
"size-sm--fullpage": "ids-modal--size-sm--fullpage-v5200",
|
|
3944
|
+
"size-sm--sm": "ids-modal--size-sm--sm-v5200",
|
|
3945
|
+
"size-sm--md": "ids-modal--size-sm--md-v5200",
|
|
3946
|
+
"size-sm--lg": "ids-modal--size-sm--lg-v5200",
|
|
3947
|
+
"size-md--fullpage": "ids-modal--size-md--fullpage-v5200",
|
|
3948
|
+
"size-md--sm": "ids-modal--size-md--sm-v5200",
|
|
3949
|
+
"size-md--md": "ids-modal--size-md--md-v5200",
|
|
3950
|
+
"size-md--lg": "ids-modal--size-md--lg-v5200",
|
|
3951
|
+
"size-lg--fullpage": "ids-modal--size-lg--fullpage-v5200",
|
|
3952
|
+
"size-lg--sm": "ids-modal--size-lg--sm-v5200",
|
|
3953
|
+
"size-lg--md": "ids-modal--size-lg--md-v5200",
|
|
3954
|
+
"size-lg--lg": "ids-modal--size-lg--lg-v5200",
|
|
3955
|
+
"size-xl--fullpage": "ids-modal--size-xl--fullpage-v5200",
|
|
3956
|
+
"size-xl--sm": "ids-modal--size-xl--sm-v5200",
|
|
3957
|
+
"size-xl--md": "ids-modal--size-xl--md-v5200",
|
|
3958
|
+
"size-xl--lg": "ids-modal--size-xl--lg-v5200",
|
|
3959
|
+
"size-xxl--fullpage": "ids-modal--size-xxl--fullpage-v5200",
|
|
3960
|
+
"size-xxl--sm": "ids-modal--size-xxl--sm-v5200",
|
|
3961
|
+
"size-xxl--md": "ids-modal--size-xxl--md-v5200",
|
|
3962
|
+
"size-xxl--lg": "ids-modal--size-xxl--lg-v5200",
|
|
3963
|
+
static: "ids-modal--static-v5200",
|
|
3964
|
+
initial: Qo,
|
|
3965
|
+
close: Ko,
|
|
3966
|
+
open: Yo,
|
|
3967
|
+
unmounted: Xo,
|
|
3968
|
+
closeButton: Jo,
|
|
3969
|
+
footer: Zo,
|
|
3970
|
+
fixedFooter: Go,
|
|
3971
|
+
content: el
|
|
3972
|
+
}, tl = "ids-toaster-v5200", hs = {
|
|
3973
|
+
toaster: tl,
|
|
3974
|
+
"toaster__bottom-end": "ids-toaster--toaster__bottom-end-v5200",
|
|
3975
|
+
"toaster__bottom-start": "ids-toaster--toaster__bottom-start-v5200",
|
|
3976
|
+
"toaster__bottom-center": "ids-toaster--toaster__bottom-center-v5200",
|
|
3977
|
+
"toaster__top-end": "ids-toaster--toaster__top-end-v5200",
|
|
3978
|
+
"toaster__top-start": "ids-toaster--toaster__top-start-v5200",
|
|
3979
|
+
"toaster__top-center": "ids-toaster--toaster__top-center-v5200"
|
|
3980
3980
|
}, tn = ({
|
|
3981
3981
|
children: e,
|
|
3982
3982
|
className: s,
|
|
@@ -3993,24 +3993,24 @@ const Po = "ids-modal-v5190", qo = "ids-modal--backdrop-v5190", jo = "ids-modal-
|
|
|
3993
3993
|
onExited: h,
|
|
3994
3994
|
onShowChange: g,
|
|
3995
3995
|
onStatus: y,
|
|
3996
|
-
onTransitionEnd:
|
|
3996
|
+
onTransitionEnd: N,
|
|
3997
3997
|
padding: b = "md",
|
|
3998
3998
|
show: x,
|
|
3999
|
-
size:
|
|
4000
|
-
static:
|
|
4001
|
-
style:
|
|
4002
|
-
...
|
|
3999
|
+
size: k = "md",
|
|
4000
|
+
static: I,
|
|
4001
|
+
style: B,
|
|
4002
|
+
...S
|
|
4003
4003
|
}) => {
|
|
4004
|
-
const [q, Q] = X(n), j = le(240), M =
|
|
4004
|
+
const [q, Q] = X(n), j = le(240), M = On(S.id), O = He({ id: S.id }), te = `${O}--heading`, C = M.opened || x || q, $ = (P) => {
|
|
4005
4005
|
M.show(P), Q(P), g == null || g(P);
|
|
4006
4006
|
}, { context: R } = Is({
|
|
4007
4007
|
open: C,
|
|
4008
4008
|
onOpenChange: $
|
|
4009
|
-
}), A =
|
|
4009
|
+
}), A = Sr(R, {
|
|
4010
4010
|
enabled: !o,
|
|
4011
4011
|
outsidePress: (P) => !P.target.closest(`.${hs.toaster}`),
|
|
4012
4012
|
outsidePressEvent: "mousedown"
|
|
4013
|
-
}), U =
|
|
4013
|
+
}), U = Ir(R), K = wr([A, U]), { isMounted: J, status: G } = ws(R, {
|
|
4014
4014
|
duration: {
|
|
4015
4015
|
close: j.current
|
|
4016
4016
|
}
|
|
@@ -4023,13 +4023,13 @@ const Po = "ids-modal-v5190", qo = "ids-modal--backdrop-v5190", jo = "ids-modal-
|
|
|
4023
4023
|
y == null || y(G);
|
|
4024
4024
|
}, [G, y]), Z(() => {
|
|
4025
4025
|
var P, fe;
|
|
4026
|
-
G === "initial" && ((P = R.refs.floating) != null && P.current) && (j.current =
|
|
4026
|
+
G === "initial" && ((P = R.refs.floating) != null && P.current) && (j.current = Vr(
|
|
4027
4027
|
((fe = window.getComputedStyle(R.refs.floating.current, null)) == null ? void 0 : fe.getPropertyValue("--iress-transition-duration")) || ".3s"
|
|
4028
4028
|
) * 1.2);
|
|
4029
4029
|
}, [G, R.refs.floating]);
|
|
4030
|
-
const
|
|
4030
|
+
const z = Ss(
|
|
4031
4031
|
"size",
|
|
4032
|
-
|
|
4032
|
+
k,
|
|
4033
4033
|
"fullpage"
|
|
4034
4034
|
).map((P) => We[P]), se = `iress-p--${b}`, ce = V(We.modal, We[G], {
|
|
4035
4035
|
[We.fixedFooter]: l
|
|
@@ -4041,15 +4041,15 @@ const Po = "ids-modal-v5190", qo = "ids-modal--backdrop-v5190", jo = "ids-modal-
|
|
|
4041
4041
|
"data-testid": H(i, "heading"),
|
|
4042
4042
|
children: d
|
|
4043
4043
|
}
|
|
4044
|
-
) : d ?
|
|
4044
|
+
) : d ? fr(d, {
|
|
4045
4045
|
id: te
|
|
4046
4046
|
}) : null, [i, te, d]), W = ye(
|
|
4047
4047
|
(P) => {
|
|
4048
4048
|
var ge, Se;
|
|
4049
|
-
|
|
4049
|
+
N == null || N(P), !(!(P.propertyName === "opacity" || !P.propertyName) || P.target !== P.currentTarget) && (G === "open" ? (u == null || u(), (Se = (ge = R.refs.floating) == null ? void 0 : ge.current) == null || Se.focus()) : G === "close" && (h == null || h()));
|
|
4050
4050
|
},
|
|
4051
4051
|
[
|
|
4052
|
-
|
|
4052
|
+
N,
|
|
4053
4053
|
G,
|
|
4054
4054
|
u,
|
|
4055
4055
|
R.refs.floating,
|
|
@@ -4059,30 +4059,30 @@ const Po = "ids-modal-v5190", qo = "ids-modal--backdrop-v5190", jo = "ids-modal-
|
|
|
4059
4059
|
if (!J) return null;
|
|
4060
4060
|
const Y = {
|
|
4061
4061
|
position: "var(--iress-position, fixed)",
|
|
4062
|
-
...
|
|
4062
|
+
...B
|
|
4063
4063
|
};
|
|
4064
4064
|
return /* @__PURE__ */ a(Wt, { root: r ?? (M == null ? void 0 : M.container), children: /* @__PURE__ */ a(
|
|
4065
|
-
|
|
4065
|
+
kr,
|
|
4066
4066
|
{
|
|
4067
4067
|
className: V(
|
|
4068
4068
|
s,
|
|
4069
4069
|
We.backdrop,
|
|
4070
4070
|
We[G],
|
|
4071
|
-
|
|
4071
|
+
z,
|
|
4072
4072
|
re.IgnoreStack,
|
|
4073
4073
|
{
|
|
4074
|
-
[We.static]:
|
|
4074
|
+
[We.static]: I
|
|
4075
4075
|
}
|
|
4076
4076
|
),
|
|
4077
4077
|
"data-testid": H(i, "backdrop"),
|
|
4078
|
-
lockScroll: !
|
|
4078
|
+
lockScroll: !I,
|
|
4079
4079
|
style: Y,
|
|
4080
4080
|
children: /* @__PURE__ */ a(
|
|
4081
|
-
|
|
4081
|
+
Fr,
|
|
4082
4082
|
{
|
|
4083
4083
|
context: R,
|
|
4084
4084
|
initialFocus: R.refs.floating,
|
|
4085
|
-
disabled:
|
|
4085
|
+
disabled: I,
|
|
4086
4086
|
children: /* @__PURE__ */ D(
|
|
4087
4087
|
"div",
|
|
4088
4088
|
{
|
|
@@ -4091,7 +4091,7 @@ const Po = "ids-modal-v5190", qo = "ids-modal--backdrop-v5190", jo = "ids-modal-
|
|
|
4091
4091
|
id: O,
|
|
4092
4092
|
"data-testid": i,
|
|
4093
4093
|
"aria-labelledby": he ? te : void 0,
|
|
4094
|
-
...K.getFloatingProps(
|
|
4094
|
+
...K.getFloatingProps(S),
|
|
4095
4095
|
onTransitionEnd: W,
|
|
4096
4096
|
children: [
|
|
4097
4097
|
!f && /* @__PURE__ */ a(
|
|
@@ -4133,9 +4133,9 @@ const Po = "ids-modal-v5190", qo = "ids-modal--backdrop-v5190", jo = "ids-modal-
|
|
|
4133
4133
|
}
|
|
4134
4134
|
) });
|
|
4135
4135
|
};
|
|
4136
|
-
tn.Size =
|
|
4137
|
-
tn.Padding =
|
|
4138
|
-
const
|
|
4136
|
+
tn.Size = wn;
|
|
4137
|
+
tn.Padding = gr;
|
|
4138
|
+
const sl = ({
|
|
4139
4139
|
logoSrc: e,
|
|
4140
4140
|
logoFound: s,
|
|
4141
4141
|
logoAltText: t,
|
|
@@ -4157,7 +4157,7 @@ const tl = ({
|
|
|
4157
4157
|
size: "2x",
|
|
4158
4158
|
className: Ie.logoIcon
|
|
4159
4159
|
}
|
|
4160
|
-
),
|
|
4160
|
+
), rl = ({
|
|
4161
4161
|
homeUrl: e,
|
|
4162
4162
|
logoSrc: s,
|
|
4163
4163
|
logoFound: t,
|
|
@@ -4171,7 +4171,7 @@ const tl = ({
|
|
|
4171
4171
|
className: V(Ie.logoLink, Ie.slot),
|
|
4172
4172
|
"data-testid": H(n, "logo-link"),
|
|
4173
4173
|
children: /* @__PURE__ */ a(
|
|
4174
|
-
|
|
4174
|
+
sl,
|
|
4175
4175
|
{
|
|
4176
4176
|
logoSrc: s,
|
|
4177
4177
|
logoFound: t,
|
|
@@ -4205,8 +4205,8 @@ const tl = ({
|
|
|
4205
4205
|
"data-testid": h,
|
|
4206
4206
|
...g
|
|
4207
4207
|
}) => {
|
|
4208
|
-
const y = le(null), [
|
|
4209
|
-
const $ =
|
|
4208
|
+
const y = le(null), [N, b] = X(!1), [x, k] = X(!0), [I, B] = X(!0), [S, q] = X({}), Q = ye(() => {
|
|
4209
|
+
const $ = I, R = {
|
|
4210
4210
|
xs: $,
|
|
4211
4211
|
sm: $,
|
|
4212
4212
|
md: $,
|
|
@@ -4218,7 +4218,7 @@ const tl = ({
|
|
|
4218
4218
|
for (U in R)
|
|
4219
4219
|
A && (R[U] = !1), U === i && (A = !0);
|
|
4220
4220
|
q(R);
|
|
4221
|
-
}, [i,
|
|
4221
|
+
}, [i, I]);
|
|
4222
4222
|
Z(() => {
|
|
4223
4223
|
Q(), s && b(!0), f !== "" && d === "" && Zt(
|
|
4224
4224
|
"IressNavbar: You've supplied a logo but no alt text, which is a failure of WCAG Level A Success Criterion 1.1.1 - Non-text content. Set the logoAltText prop to add alt text to the logo.",
|
|
@@ -4247,7 +4247,7 @@ const tl = ({
|
|
|
4247
4247
|
U < 0 && window.scrollBy(0, U);
|
|
4248
4248
|
}
|
|
4249
4249
|
}, O = () => {
|
|
4250
|
-
|
|
4250
|
+
B(!I), Q();
|
|
4251
4251
|
}, C = (() => {
|
|
4252
4252
|
const $ = ["xs", "sm", "md", "lg", "xl", "xxl"], A = $.indexOf(i) + 1;
|
|
4253
4253
|
return A >= $.length ? {} : {
|
|
@@ -4285,19 +4285,19 @@ const tl = ({
|
|
|
4285
4285
|
),
|
|
4286
4286
|
"aria-label": "Toggle navigation",
|
|
4287
4287
|
"aria-controls": "iress-navbar__nav-slot",
|
|
4288
|
-
"aria-expanded": !
|
|
4288
|
+
"aria-expanded": !I,
|
|
4289
4289
|
children: /* @__PURE__ */ a(de, { name: "bars", size: "2x" })
|
|
4290
4290
|
}
|
|
4291
4291
|
) }),
|
|
4292
4292
|
e ? /* @__PURE__ */ a("div", { className: Ie.logoSlot, children: e }) : /* @__PURE__ */ a(
|
|
4293
|
-
|
|
4293
|
+
rl,
|
|
4294
4294
|
{
|
|
4295
4295
|
homeUrl: l,
|
|
4296
4296
|
logoSrc: f,
|
|
4297
4297
|
logoFound: x,
|
|
4298
4298
|
logoAltText: d,
|
|
4299
4299
|
dataTestid: h,
|
|
4300
|
-
onError: () =>
|
|
4300
|
+
onError: () => k(!1)
|
|
4301
4301
|
}
|
|
4302
4302
|
),
|
|
4303
4303
|
/* @__PURE__ */ D(
|
|
@@ -4312,7 +4312,7 @@ const tl = ({
|
|
|
4312
4312
|
}),
|
|
4313
4313
|
children: [
|
|
4314
4314
|
r,
|
|
4315
|
-
|
|
4315
|
+
N && (i !== void 0 ? /* @__PURE__ */ a(Mt, { hiddenOn: S, className: Ie.navHide, children: /* @__PURE__ */ a(
|
|
4316
4316
|
"nav",
|
|
4317
4317
|
{
|
|
4318
4318
|
"aria-label": u,
|
|
@@ -4339,27 +4339,27 @@ const tl = ({
|
|
|
4339
4339
|
}
|
|
4340
4340
|
);
|
|
4341
4341
|
};
|
|
4342
|
-
sn.HorizontalAlign =
|
|
4343
|
-
sn.Breakpoint =
|
|
4344
|
-
const
|
|
4345
|
-
toast:
|
|
4346
|
-
"start-x": "ids-toast--start-x-
|
|
4347
|
-
"end-x": "ids-toast--end-x-
|
|
4348
|
-
open:
|
|
4349
|
-
"start-y": "ids-toast--start-y-
|
|
4350
|
-
"end-y": "ids-toast--end-y-
|
|
4351
|
-
fade:
|
|
4352
|
-
panel:
|
|
4353
|
-
"toast--error": "ids-toast--toast--error-
|
|
4354
|
-
"toast--success": "ids-toast--toast--success-
|
|
4355
|
-
"toast--info": "ids-toast--toast--info-
|
|
4356
|
-
unmounted:
|
|
4357
|
-
"iress-u-text": "ids-toast--iress-u-text-
|
|
4358
|
-
toast__icon:
|
|
4359
|
-
toast__wrapper:
|
|
4360
|
-
toast__footer:
|
|
4361
|
-
"toast__close-button": "ids-toast--toast__close-button-
|
|
4362
|
-
},
|
|
4342
|
+
sn.HorizontalAlign = Wn;
|
|
4343
|
+
sn.Breakpoint = hr;
|
|
4344
|
+
const nl = "ids-toast-v5200", il = "ids-toast--open-v5200", al = "ids-toast--fade-v5200", ol = "ids-toast--panel-v5200", ll = "ids-toast--unmounted-v5200", cl = "ids-toast--toast__icon-v5200", dl = "ids-toast--toast__wrapper-v5200", ul = "ids-toast--toast__footer-v5200", Je = {
|
|
4345
|
+
toast: nl,
|
|
4346
|
+
"start-x": "ids-toast--start-x-v5200",
|
|
4347
|
+
"end-x": "ids-toast--end-x-v5200",
|
|
4348
|
+
open: il,
|
|
4349
|
+
"start-y": "ids-toast--start-y-v5200",
|
|
4350
|
+
"end-y": "ids-toast--end-y-v5200",
|
|
4351
|
+
fade: al,
|
|
4352
|
+
panel: ol,
|
|
4353
|
+
"toast--error": "ids-toast--toast--error-v5200",
|
|
4354
|
+
"toast--success": "ids-toast--toast--success-v5200",
|
|
4355
|
+
"toast--info": "ids-toast--toast--info-v5200",
|
|
4356
|
+
unmounted: ll,
|
|
4357
|
+
"iress-u-text": "ids-toast--iress-u-text-v5200",
|
|
4358
|
+
toast__icon: cl,
|
|
4359
|
+
toast__wrapper: dl,
|
|
4360
|
+
toast__footer: ul,
|
|
4361
|
+
"toast__close-button": "ids-toast--toast__close-button-v5200"
|
|
4362
|
+
}, fl = ({ status: e }) => /* @__PURE__ */ a(
|
|
4363
4363
|
de,
|
|
4364
4364
|
{
|
|
4365
4365
|
name: {
|
|
@@ -4368,11 +4368,11 @@ const rl = "ids-toast-v5190", nl = "ids-toast--open-v5190", il = "ids-toast--fad
|
|
|
4368
4368
|
info: "info-square"
|
|
4369
4369
|
}[e],
|
|
4370
4370
|
screenreaderText: `${e}: `,
|
|
4371
|
-
size:
|
|
4371
|
+
size: mr.Lg,
|
|
4372
4372
|
fixedWidth: !0,
|
|
4373
4373
|
className: Je.toast__icon
|
|
4374
4374
|
}
|
|
4375
|
-
),
|
|
4375
|
+
), ml = ({
|
|
4376
4376
|
dismissible: e,
|
|
4377
4377
|
onClose: s,
|
|
4378
4378
|
"data-testid": t
|
|
@@ -4387,7 +4387,7 @@ const rl = "ids-toast-v5190", nl = "ids-toast--open-v5190", il = "ids-toast--fad
|
|
|
4387
4387
|
screenreaderText: "Dismiss"
|
|
4388
4388
|
}
|
|
4389
4389
|
);
|
|
4390
|
-
},
|
|
4390
|
+
}, hl = ({ actions: e }) => e ? /* @__PURE__ */ a("div", { className: Je.toast__footer, children: e }) : null, pl = ({
|
|
4391
4391
|
heading: e,
|
|
4392
4392
|
dismissible: s = !0,
|
|
4393
4393
|
onClose: t,
|
|
@@ -4403,7 +4403,7 @@ const rl = "ids-toast-v5190", nl = "ids-toast--open-v5190", il = "ids-toast--fad
|
|
|
4403
4403
|
children: [
|
|
4404
4404
|
e,
|
|
4405
4405
|
/* @__PURE__ */ a(
|
|
4406
|
-
|
|
4406
|
+
ml,
|
|
4407
4407
|
{
|
|
4408
4408
|
"data-testid": H(o, "close-button__button"),
|
|
4409
4409
|
dismissible: s,
|
|
@@ -4411,10 +4411,10 @@ const rl = "ids-toast-v5190", nl = "ids-toast--open-v5190", il = "ids-toast--fad
|
|
|
4411
4411
|
}
|
|
4412
4412
|
),
|
|
4413
4413
|
r ?? i,
|
|
4414
|
-
/* @__PURE__ */ a(
|
|
4414
|
+
/* @__PURE__ */ a(hl, { actions: n })
|
|
4415
4415
|
]
|
|
4416
4416
|
}
|
|
4417
|
-
),
|
|
4417
|
+
), vl = ({
|
|
4418
4418
|
heading: e,
|
|
4419
4419
|
headingLevel: s,
|
|
4420
4420
|
headingText: t,
|
|
@@ -4436,14 +4436,14 @@ const rl = "ids-toast-v5190", nl = "ids-toast--open-v5190", il = "ids-toast--fad
|
|
|
4436
4436
|
tabIndex: -1,
|
|
4437
4437
|
ref: h,
|
|
4438
4438
|
children: /* @__PURE__ */ a(ks, { className: V(gt.Base, Je.panel), children: /* @__PURE__ */ D(et, { gutter: "sm", verticalAlign: "top", noWrap: !0, children: [
|
|
4439
|
-
/* @__PURE__ */ a(
|
|
4439
|
+
/* @__PURE__ */ a(fl, { status: r }),
|
|
4440
4440
|
/* @__PURE__ */ a(
|
|
4441
|
-
|
|
4441
|
+
pl,
|
|
4442
4442
|
{
|
|
4443
4443
|
"data-testid": d,
|
|
4444
4444
|
status: r,
|
|
4445
4445
|
heading: /* @__PURE__ */ a(
|
|
4446
|
-
|
|
4446
|
+
yr,
|
|
4447
4447
|
{
|
|
4448
4448
|
component: "IressToast",
|
|
4449
4449
|
heading: e,
|
|
@@ -4461,9 +4461,9 @@ const rl = "ids-toast-v5190", nl = "ids-toast--open-v5190", il = "ids-toast--fad
|
|
|
4461
4461
|
)
|
|
4462
4462
|
] }) })
|
|
4463
4463
|
}
|
|
4464
|
-
), rn = ae(
|
|
4464
|
+
), rn = ae(vl);
|
|
4465
4465
|
rn.HeadingLevel = gs;
|
|
4466
|
-
const
|
|
4466
|
+
const gl = ({
|
|
4467
4467
|
animation: e,
|
|
4468
4468
|
className: s,
|
|
4469
4469
|
onClose: t,
|
|
@@ -4485,7 +4485,7 @@ const vl = ({
|
|
|
4485
4485
|
}, i);
|
|
4486
4486
|
}, [r, i]), Z(() => {
|
|
4487
4487
|
var h;
|
|
4488
|
-
u === "initial" && (m.current =
|
|
4488
|
+
u === "initial" && (m.current = Pn(
|
|
4489
4489
|
d.refs.floating.current
|
|
4490
4490
|
)), u === "open" && ((h = d.refs.floating.current) == null || h.focus());
|
|
4491
4491
|
}, [u, d.refs.floating]), f ? /* @__PURE__ */ a(
|
|
@@ -4503,7 +4503,7 @@ const vl = ({
|
|
|
4503
4503
|
ref: (h) => d.refs.setFloating(h)
|
|
4504
4504
|
}
|
|
4505
4505
|
) : !1;
|
|
4506
|
-
},
|
|
4506
|
+
}, yl = ({
|
|
4507
4507
|
container: e,
|
|
4508
4508
|
position: s = "bottom-end",
|
|
4509
4509
|
toasts: t = []
|
|
@@ -4527,11 +4527,11 @@ const vl = ({
|
|
|
4527
4527
|
hs[`toaster__${s}`]
|
|
4528
4528
|
),
|
|
4529
4529
|
gutter: "md",
|
|
4530
|
-
children: t.map((n) => /* @__PURE__ */
|
|
4531
|
-
|
|
4530
|
+
children: t.map((n) => /* @__PURE__ */ ur(
|
|
4531
|
+
gl,
|
|
4532
4532
|
{
|
|
4533
4533
|
...n,
|
|
4534
|
-
animation:
|
|
4534
|
+
animation: Un[s],
|
|
4535
4535
|
key: n.id,
|
|
4536
4536
|
onClose: (o) => {
|
|
4537
4537
|
r == null || r.close(n.id, o);
|
|
@@ -4543,9 +4543,9 @@ const vl = ({
|
|
|
4543
4543
|
}
|
|
4544
4544
|
) })
|
|
4545
4545
|
] }) : e ? null : /* @__PURE__ */ a("div", { ref: i, ...os });
|
|
4546
|
-
}, nn =
|
|
4546
|
+
}, nn = hn(
|
|
4547
4547
|
void 0
|
|
4548
|
-
),
|
|
4548
|
+
), yu = ({
|
|
4549
4549
|
children: e,
|
|
4550
4550
|
...s
|
|
4551
4551
|
}) => {
|
|
@@ -4553,17 +4553,17 @@ const vl = ({
|
|
|
4553
4553
|
position: "bottom-end",
|
|
4554
4554
|
...s
|
|
4555
4555
|
}), o = (u, h) => r((g) => {
|
|
4556
|
-
var
|
|
4556
|
+
var N;
|
|
4557
4557
|
const y = g == null ? void 0 : g.find((b) => b.id === u);
|
|
4558
|
-
return (
|
|
4558
|
+
return (N = y == null ? void 0 : y.onClose) == null || N.call(y, h), g == null ? void 0 : g.filter((b) => b.id !== u);
|
|
4559
4559
|
}), l = ye(
|
|
4560
4560
|
(u) => {
|
|
4561
4561
|
var y;
|
|
4562
4562
|
const h = `${(/* @__PURE__ */ new Date()).getTime()}`, g = (y = i.position) == null ? void 0 : y.includes("top");
|
|
4563
|
-
return r((
|
|
4564
|
-
...g ? [] :
|
|
4563
|
+
return r((N = []) => [
|
|
4564
|
+
...g ? [] : N,
|
|
4565
4565
|
{ ...u, id: h },
|
|
4566
|
-
...g ?
|
|
4566
|
+
...g ? N : []
|
|
4567
4567
|
]), h;
|
|
4568
4568
|
},
|
|
4569
4569
|
[i.position]
|
|
@@ -4591,9 +4591,9 @@ const vl = ({
|
|
|
4591
4591
|
);
|
|
4592
4592
|
return /* @__PURE__ */ D(nn.Provider, { value: f, children: [
|
|
4593
4593
|
e,
|
|
4594
|
-
/* @__PURE__ */ a(
|
|
4594
|
+
/* @__PURE__ */ a(yl, { toasts: t, ...i })
|
|
4595
4595
|
] });
|
|
4596
|
-
},
|
|
4596
|
+
}, ar = ({
|
|
4597
4597
|
children: e,
|
|
4598
4598
|
closeText: s,
|
|
4599
4599
|
"data-testid": t,
|
|
@@ -4632,14 +4632,14 @@ const vl = ({
|
|
|
4632
4632
|
children: i
|
|
4633
4633
|
}
|
|
4634
4634
|
)
|
|
4635
|
-
] }),
|
|
4636
|
-
slideoutPushElement:
|
|
4637
|
-
right:
|
|
4638
|
-
left:
|
|
4639
|
-
open:
|
|
4640
|
-
"size--sm": "ids-slideout-push-element--size--sm-
|
|
4641
|
-
"size--md": "ids-slideout-push-element--size--md-
|
|
4642
|
-
"size--lg": "ids-slideout-push-element--size--lg-
|
|
4635
|
+
] }), bl = "ids-slideout-push-element-v5200", xl = "ids-slideout-push-element--right-v5200", _l = "ids-slideout-push-element--left-v5200", Nl = "ids-slideout-push-element--open-v5200", Le = {
|
|
4636
|
+
slideoutPushElement: bl,
|
|
4637
|
+
right: xl,
|
|
4638
|
+
left: _l,
|
|
4639
|
+
open: Nl,
|
|
4640
|
+
"size--sm": "ids-slideout-push-element--size--sm-v5200",
|
|
4641
|
+
"size--md": "ids-slideout-push-element--size--md-v5200",
|
|
4642
|
+
"size--lg": "ids-slideout-push-element--size--lg-v5200"
|
|
4643
4643
|
}, ss = ({
|
|
4644
4644
|
backdrop: e,
|
|
4645
4645
|
children: s,
|
|
@@ -4656,79 +4656,79 @@ const vl = ({
|
|
|
4656
4656
|
onExited: h,
|
|
4657
4657
|
onShowChange: g,
|
|
4658
4658
|
onStatus: y,
|
|
4659
|
-
onTransitionEnd:
|
|
4659
|
+
onTransitionEnd: N,
|
|
4660
4660
|
padding: b = "md",
|
|
4661
4661
|
position: x = "right",
|
|
4662
|
-
show:
|
|
4663
|
-
size:
|
|
4664
|
-
style:
|
|
4665
|
-
...
|
|
4662
|
+
show: k,
|
|
4663
|
+
size: I = "sm",
|
|
4664
|
+
style: B,
|
|
4665
|
+
...S
|
|
4666
4666
|
}) => {
|
|
4667
|
-
const [q, Q] = X(o), j = le(240), M = le(null), O =
|
|
4667
|
+
const [q, Q] = X(o), j = le(240), M = le(null), O = Yn(S.id), te = He({ id: S.id }), C = `${te}--heading`, $ = O.opened || k || q, R = (W, Y, P) => {
|
|
4668
4668
|
O.show(W), Q(W), g == null || g(W, P);
|
|
4669
4669
|
}, { context: A } = Is({
|
|
4670
4670
|
open: $,
|
|
4671
4671
|
onOpenChange: R
|
|
4672
|
-
}), U =
|
|
4672
|
+
}), U = Sr(A, {
|
|
4673
4673
|
enabled: !0,
|
|
4674
4674
|
outsidePress: e === !0
|
|
4675
|
-
}), K =
|
|
4675
|
+
}), K = Ir(A, {
|
|
4676
4676
|
enabled: e === !0
|
|
4677
|
-
}), J =
|
|
4677
|
+
}), J = wr([U, K]), { isMounted: G, status: z } = ws(A, {
|
|
4678
4678
|
duration: j.current
|
|
4679
4679
|
});
|
|
4680
4680
|
Z(() => {
|
|
4681
|
-
O.opened &&
|
|
4681
|
+
O.opened && k && Zt(
|
|
4682
4682
|
"IressSlideout: Please use either IressSlideoutProvider for uncontrolled components, or the show prop for controlled components, rather than both. If you use both, the open state of the slideout will become unpredictable. If you want to show a slideout by default in uncontrolled mode, use the defaultShow prop."
|
|
4683
4683
|
);
|
|
4684
|
-
}, [O.opened,
|
|
4685
|
-
y == null || y(
|
|
4686
|
-
}, [
|
|
4684
|
+
}, [O.opened, k]), Z(() => {
|
|
4685
|
+
y == null || y(z);
|
|
4686
|
+
}, [z, y]), Z(() => {
|
|
4687
4687
|
if (f === "overlay")
|
|
4688
4688
|
M.current = null;
|
|
4689
4689
|
else {
|
|
4690
4690
|
let W;
|
|
4691
|
-
typeof l == "string" ? W =
|
|
4691
|
+
typeof l == "string" ? W = Kn(l) : l instanceof Element ? W = l : W = l == null ? void 0 : l.current, M.current = W;
|
|
4692
4692
|
}
|
|
4693
4693
|
return () => {
|
|
4694
4694
|
M.current = null;
|
|
4695
4695
|
};
|
|
4696
4696
|
}, [l, f]), Z(() => {
|
|
4697
4697
|
var W, Y, P;
|
|
4698
|
-
|
|
4698
|
+
z === "initial" && ((W = M == null ? void 0 : M.current) == null || W.classList.add(
|
|
4699
4699
|
Le.slideoutPushElement,
|
|
4700
4700
|
Le[x],
|
|
4701
|
-
Le[`size--${
|
|
4702
|
-
), (Y = A.refs.floating) != null && Y.current && (j.current =
|
|
4701
|
+
Le[`size--${I}`]
|
|
4702
|
+
), (Y = A.refs.floating) != null && Y.current && (j.current = Vr(
|
|
4703
4703
|
((P = window.getComputedStyle(A.refs.floating.current, null)) == null ? void 0 : P.getPropertyValue("--iress-transition-duration")) || ".3s"
|
|
4704
4704
|
) * 1.2));
|
|
4705
|
-
}, [A.refs.floating, x,
|
|
4705
|
+
}, [A.refs.floating, x, I, z]), Z(() => {
|
|
4706
4706
|
var W, Y, P;
|
|
4707
|
-
|
|
4708
|
-
}, [A.refs.floating, u,
|
|
4707
|
+
z === "open" && ((Y = (W = A.refs.floating) == null ? void 0 : W.current) == null || Y.focus(), (P = M == null ? void 0 : M.current) == null || P.classList.add(Le.open));
|
|
4708
|
+
}, [A.refs.floating, u, z]), Z(() => {
|
|
4709
4709
|
var W;
|
|
4710
|
-
|
|
4711
|
-
}, [h,
|
|
4710
|
+
z === "close" && ((W = M == null ? void 0 : M.current) == null || W.classList.remove(Le.open));
|
|
4711
|
+
}, [h, z]), Z(() => {
|
|
4712
4712
|
var W, Y;
|
|
4713
|
-
|
|
4713
|
+
z === "unmounted" && !((W = M == null ? void 0 : M.current) != null && W.classList.contains(Le.open)) && ((Y = M == null ? void 0 : M.current) == null || Y.classList.remove(
|
|
4714
4714
|
Le.slideoutPushElement,
|
|
4715
4715
|
Le[x],
|
|
4716
|
-
Le[`size--${
|
|
4716
|
+
Le[`size--${I}`]
|
|
4717
4717
|
));
|
|
4718
|
-
}, [x,
|
|
4719
|
-
|
|
4718
|
+
}, [x, I, z]), Z(() => {
|
|
4719
|
+
z === "open" && (M != null && M.current) && (M.current.classList.remove(
|
|
4720
4720
|
Le["size--sm"],
|
|
4721
4721
|
Le["size--md"],
|
|
4722
4722
|
Le["size--lg"]
|
|
4723
|
-
), M.current.classList.add(Le[`size--${
|
|
4724
|
-
}, [
|
|
4723
|
+
), M.current.classList.add(Le[`size--${I}`]));
|
|
4724
|
+
}, [I, z, M]);
|
|
4725
4725
|
const se = ye(
|
|
4726
4726
|
(W) => {
|
|
4727
|
-
|
|
4727
|
+
N == null || N(W);
|
|
4728
4728
|
const Y = x === "right" ? "right" : "left";
|
|
4729
|
-
!(W.propertyName === Y || W.propertyName === "opacity" || !W.propertyName) || W.target !== W.currentTarget || (
|
|
4729
|
+
!(W.propertyName === Y || W.propertyName === "opacity" || !W.propertyName) || W.target !== W.currentTarget || (z === "open" ? u == null || u() : z === "close" && (h == null || h()));
|
|
4730
4730
|
},
|
|
4731
|
-
[
|
|
4731
|
+
[N, x, z, u, h]
|
|
4732
4732
|
), ce = Ne(() => typeof d == "string" ? /* @__PURE__ */ a(
|
|
4733
4733
|
qe,
|
|
4734
4734
|
{
|
|
@@ -4737,7 +4737,7 @@ const vl = ({
|
|
|
4737
4737
|
element: "h2",
|
|
4738
4738
|
children: d
|
|
4739
4739
|
}
|
|
4740
|
-
) : d ?
|
|
4740
|
+
) : d ? fr(d, {
|
|
4741
4741
|
id: C
|
|
4742
4742
|
}) : null, [n, C, d]);
|
|
4743
4743
|
if (!G) return null;
|
|
@@ -4746,9 +4746,9 @@ const vl = ({
|
|
|
4746
4746
|
children: s,
|
|
4747
4747
|
className: V(
|
|
4748
4748
|
Ue.slideout,
|
|
4749
|
-
Ue[
|
|
4749
|
+
Ue[z],
|
|
4750
4750
|
Ue[x],
|
|
4751
|
-
Ue[`size--${
|
|
4751
|
+
Ue[`size--${I}`],
|
|
4752
4752
|
re.IgnoreStack,
|
|
4753
4753
|
{
|
|
4754
4754
|
[Ue.push]: f === "push" && M.current,
|
|
@@ -4763,58 +4763,58 @@ const vl = ({
|
|
|
4763
4763
|
id: te,
|
|
4764
4764
|
onOpenChange: R,
|
|
4765
4765
|
padding: b,
|
|
4766
|
-
...J.getFloatingProps(
|
|
4766
|
+
...J.getFloatingProps(S),
|
|
4767
4767
|
onTransitionEnd: se
|
|
4768
4768
|
};
|
|
4769
4769
|
if (e) {
|
|
4770
4770
|
const W = {
|
|
4771
4771
|
position: "var(--iress-position, fixed)",
|
|
4772
|
-
...
|
|
4772
|
+
...B
|
|
4773
4773
|
};
|
|
4774
4774
|
return /* @__PURE__ */ a(Wt, { root: i ?? (O == null ? void 0 : O.container), children: /* @__PURE__ */ a(
|
|
4775
|
-
|
|
4775
|
+
kr,
|
|
4776
4776
|
{
|
|
4777
4777
|
className: V(
|
|
4778
4778
|
t,
|
|
4779
4779
|
Ue.backdrop,
|
|
4780
|
-
Ue[
|
|
4780
|
+
Ue[z],
|
|
4781
4781
|
re.IgnoreStack
|
|
4782
4782
|
),
|
|
4783
4783
|
"data-testid": H(n, "backdrop"),
|
|
4784
4784
|
lockScroll: !0,
|
|
4785
4785
|
style: W,
|
|
4786
4786
|
children: /* @__PURE__ */ a(
|
|
4787
|
-
|
|
4787
|
+
Fr,
|
|
4788
4788
|
{
|
|
4789
4789
|
context: A,
|
|
4790
4790
|
initialFocus: A.refs.floating,
|
|
4791
|
-
children: /* @__PURE__ */ a(
|
|
4791
|
+
children: /* @__PURE__ */ a(ar, { ...he, "data-testid": n })
|
|
4792
4792
|
}
|
|
4793
4793
|
)
|
|
4794
4794
|
}
|
|
4795
4795
|
) });
|
|
4796
4796
|
}
|
|
4797
4797
|
return /* @__PURE__ */ a(Wt, { root: i ?? (O == null ? void 0 : O.container), children: /* @__PURE__ */ a(
|
|
4798
|
-
|
|
4798
|
+
ar,
|
|
4799
4799
|
{
|
|
4800
4800
|
...he,
|
|
4801
|
-
style:
|
|
4801
|
+
style: B,
|
|
4802
4802
|
"data-testid": n
|
|
4803
4803
|
}
|
|
4804
4804
|
) });
|
|
4805
4805
|
};
|
|
4806
|
-
ss.Mode =
|
|
4807
|
-
ss.Padding =
|
|
4808
|
-
ss.Position =
|
|
4809
|
-
ss.Size =
|
|
4810
|
-
const
|
|
4811
|
-
radio:
|
|
4812
|
-
input:
|
|
4813
|
-
label:
|
|
4814
|
-
touch:
|
|
4815
|
-
hiddenControl:
|
|
4816
|
-
mark:
|
|
4817
|
-
},
|
|
4806
|
+
ss.Mode = qn;
|
|
4807
|
+
ss.Padding = gr;
|
|
4808
|
+
ss.Position = jn;
|
|
4809
|
+
ss.Size = Qn;
|
|
4810
|
+
const Sl = "ids-radio-v5200", Il = "ids-radio--input-v5200", wl = "ids-radio--label-v5200", kl = "ids-radio--touch-v5200", Fl = "ids-radio--hidden-control-v5200", Vl = "ids-radio--mark-v5200", yt = {
|
|
4811
|
+
radio: Sl,
|
|
4812
|
+
input: Il,
|
|
4813
|
+
label: wl,
|
|
4814
|
+
touch: kl,
|
|
4815
|
+
hiddenControl: Fl,
|
|
4816
|
+
mark: Vl
|
|
4817
|
+
}, Al = () => /* @__PURE__ */ a(
|
|
4818
4818
|
"svg",
|
|
4819
4819
|
{
|
|
4820
4820
|
version: "1.1",
|
|
@@ -4823,7 +4823,7 @@ const Nl = "ids-radio-v5190", Sl = "ids-radio--input-v5190", Il = "ids-radio--la
|
|
|
4823
4823
|
className: yt.mark,
|
|
4824
4824
|
children: /* @__PURE__ */ a("circle", { cx: "100", cy: "100", r: "70" })
|
|
4825
4825
|
}
|
|
4826
|
-
),
|
|
4826
|
+
), $l = ({
|
|
4827
4827
|
checked: e,
|
|
4828
4828
|
children: s,
|
|
4829
4829
|
className: t,
|
|
@@ -4838,9 +4838,9 @@ const Nl = "ids-radio-v5190", Sl = "ids-radio--input-v5190", Il = "ids-radio--la
|
|
|
4838
4838
|
touch: u,
|
|
4839
4839
|
...h
|
|
4840
4840
|
}, g) => {
|
|
4841
|
-
const y = He(h),
|
|
4842
|
-
if (b ?
|
|
4843
|
-
return
|
|
4841
|
+
const y = He(h), N = vs(Xn), b = !!N.onChange, k = b ? N.value === f : e ?? i;
|
|
4842
|
+
if (b ? N.readonly : m)
|
|
4843
|
+
return k ? /* @__PURE__ */ a(
|
|
4844
4844
|
Ze,
|
|
4845
4845
|
{
|
|
4846
4846
|
...h,
|
|
@@ -4849,14 +4849,14 @@ const Nl = "ids-radio-v5190", Sl = "ids-radio--input-v5190", Il = "ids-radio--la
|
|
|
4849
4849
|
children: s
|
|
4850
4850
|
}
|
|
4851
4851
|
) : null;
|
|
4852
|
-
const
|
|
4852
|
+
const B = N.name ?? o, S = N.hiddenRadio ?? n, q = N.required ?? d, Q = N.touch ?? u;
|
|
4853
4853
|
return /* @__PURE__ */ D(
|
|
4854
4854
|
"div",
|
|
4855
4855
|
{
|
|
4856
4856
|
"data-testid": r,
|
|
4857
4857
|
className: V(t, {
|
|
4858
4858
|
[yt.radio]: !0,
|
|
4859
|
-
[yt.hiddenControl]:
|
|
4859
|
+
[yt.hiddenControl]: S,
|
|
4860
4860
|
[yt.touch]: Q
|
|
4861
4861
|
}),
|
|
4862
4862
|
children: [
|
|
@@ -4866,27 +4866,27 @@ const Nl = "ids-radio-v5190", Sl = "ids-radio--input-v5190", Il = "ids-radio--la
|
|
|
4866
4866
|
...h,
|
|
4867
4867
|
type: "radio",
|
|
4868
4868
|
id: y,
|
|
4869
|
-
name:
|
|
4869
|
+
name: B,
|
|
4870
4870
|
ref: g,
|
|
4871
4871
|
className: yt.input,
|
|
4872
4872
|
"data-testid": H(r, "input"),
|
|
4873
4873
|
onChange: (j) => {
|
|
4874
4874
|
var M;
|
|
4875
|
-
l == null || l(j, f), (M =
|
|
4875
|
+
l == null || l(j, f), (M = N.onChange) == null || M.call(N, j, f);
|
|
4876
4876
|
},
|
|
4877
4877
|
value: String(f),
|
|
4878
|
-
checked:
|
|
4878
|
+
checked: k,
|
|
4879
4879
|
required: q
|
|
4880
4880
|
}
|
|
4881
4881
|
),
|
|
4882
4882
|
/* @__PURE__ */ D("label", { htmlFor: y, className: yt.label, children: [
|
|
4883
|
-
!
|
|
4883
|
+
!S && /* @__PURE__ */ a(Al, { "data-testid": H(r, "mark") }),
|
|
4884
4884
|
s
|
|
4885
4885
|
] })
|
|
4886
4886
|
]
|
|
4887
4887
|
}
|
|
4888
4888
|
);
|
|
4889
|
-
},
|
|
4889
|
+
}, bu = ae($l), mt = ({
|
|
4890
4890
|
children: e,
|
|
4891
4891
|
className: s,
|
|
4892
4892
|
gutter: t,
|
|
@@ -4916,10 +4916,10 @@ const Nl = "ids-radio-v5190", Sl = "ids-radio--input-v5190", Il = "ids-radio--la
|
|
|
4916
4916
|
}
|
|
4917
4917
|
);
|
|
4918
4918
|
mt.Gutter = bs;
|
|
4919
|
-
mt.HorizontalAlign =
|
|
4920
|
-
mt.VerticalAlign =
|
|
4919
|
+
mt.HorizontalAlign = pr;
|
|
4920
|
+
mt.VerticalAlign = vr;
|
|
4921
4921
|
const Yt = (e) => _e(e).reduce(
|
|
4922
|
-
(s, t = { type:
|
|
4922
|
+
(s, t = { type: Ps, props: { label: "" }, key: "" }) => {
|
|
4923
4923
|
var r, i;
|
|
4924
4924
|
if (t.type === "optgroup")
|
|
4925
4925
|
s = [
|
|
@@ -4929,7 +4929,7 @@ const Yt = (e) => _e(e).reduce(
|
|
|
4929
4929
|
children: Yt(t.props.children)
|
|
4930
4930
|
}
|
|
4931
4931
|
];
|
|
4932
|
-
else if ([
|
|
4932
|
+
else if ([Ps, "option"].includes(t.type)) {
|
|
4933
4933
|
const n = { ...t.props };
|
|
4934
4934
|
delete n.children;
|
|
4935
4935
|
const o = String(t.props.children);
|
|
@@ -4986,7 +4986,7 @@ const Yt = (e) => _e(e).reduce(
|
|
|
4986
4986
|
}
|
|
4987
4987
|
);
|
|
4988
4988
|
on.displayName = "SelectReadonly";
|
|
4989
|
-
const
|
|
4989
|
+
const Rl = ({
|
|
4990
4990
|
children: e,
|
|
4991
4991
|
className: s,
|
|
4992
4992
|
"data-testid": t,
|
|
@@ -5006,7 +5006,7 @@ const $l = ({
|
|
|
5006
5006
|
component: "IressSelect",
|
|
5007
5007
|
defaultValue: o,
|
|
5008
5008
|
value: n
|
|
5009
|
-
}),
|
|
5009
|
+
}), N = mn.useCallback(
|
|
5010
5010
|
(b) => an(
|
|
5011
5011
|
b,
|
|
5012
5012
|
Yt(e)
|
|
@@ -5019,7 +5019,7 @@ const $l = ({
|
|
|
5019
5019
|
"data-testid": t,
|
|
5020
5020
|
className: V(
|
|
5021
5021
|
s,
|
|
5022
|
-
|
|
5022
|
+
Zn.select,
|
|
5023
5023
|
re.FormElement,
|
|
5024
5024
|
{
|
|
5025
5025
|
[re.IgnoreStack]: !!l,
|
|
@@ -5040,18 +5040,18 @@ const $l = ({
|
|
|
5040
5040
|
children: e
|
|
5041
5041
|
}
|
|
5042
5042
|
) : /* @__PURE__ */ a(
|
|
5043
|
-
|
|
5043
|
+
Jn,
|
|
5044
5044
|
{
|
|
5045
5045
|
...d,
|
|
5046
5046
|
"data-testid": H(t, "select"),
|
|
5047
5047
|
id: u,
|
|
5048
5048
|
onChange: (b) => {
|
|
5049
|
-
const x =
|
|
5049
|
+
const x = N(b.currentTarget.value);
|
|
5050
5050
|
y(x), r == null || r(b, x);
|
|
5051
5051
|
},
|
|
5052
5052
|
ref: (b) => {
|
|
5053
5053
|
if (h.current = b, !g && (b != null && b.value)) {
|
|
5054
|
-
const x =
|
|
5054
|
+
const x = N(b.value);
|
|
5055
5055
|
y(x), r == null || r(ke(b.value), x);
|
|
5056
5056
|
}
|
|
5057
5057
|
},
|
|
@@ -5061,13 +5061,13 @@ const $l = ({
|
|
|
5061
5061
|
)
|
|
5062
5062
|
}
|
|
5063
5063
|
);
|
|
5064
|
-
},
|
|
5065
|
-
|
|
5066
|
-
const
|
|
5064
|
+
}, Ll = ae(Rl);
|
|
5065
|
+
Ll.Width = ys;
|
|
5066
|
+
const Dl = (e = 0, s = 10, t = 1) => {
|
|
5067
5067
|
const r = [];
|
|
5068
5068
|
for (let i = e; i <= s; i += t) r.push(i);
|
|
5069
5069
|
return r;
|
|
5070
|
-
},
|
|
5070
|
+
}, Ml = ({
|
|
5071
5071
|
"data-testid": e,
|
|
5072
5072
|
defaultValue: s,
|
|
5073
5073
|
className: t,
|
|
@@ -5086,18 +5086,18 @@ const Ll = (e = 0, s = 10, t = 1) => {
|
|
|
5086
5086
|
component: "IressSelect",
|
|
5087
5087
|
defaultValue: s
|
|
5088
5088
|
});
|
|
5089
|
-
const y = He({ id: h == null ? void 0 : h.id }), b = (typeof f == "boolean" ?
|
|
5090
|
-
(
|
|
5091
|
-
), { value: x, setValue:
|
|
5089
|
+
const y = He({ id: h == null ? void 0 : h.id }), b = (typeof f == "boolean" ? Dl(o, n, d) : f ?? []).map(
|
|
5090
|
+
(S) => typeof S == "number" ? { value: S } : S
|
|
5091
|
+
), { value: x, setValue: k } = _t({
|
|
5092
5092
|
component: "IressSlider",
|
|
5093
5093
|
defaultValue: u ? void 0 : s ?? o,
|
|
5094
5094
|
value: u
|
|
5095
|
-
}),
|
|
5096
|
-
const
|
|
5097
|
-
return r ? r(x ?? 0,
|
|
5098
|
-
}, [b, r, x, m]),
|
|
5099
|
-
const
|
|
5100
|
-
return `calc(${
|
|
5095
|
+
}), I = ye(() => {
|
|
5096
|
+
const S = b == null ? void 0 : b.find((q) => q.value === x);
|
|
5097
|
+
return r ? r(x ?? 0, S, m) : (S == null ? void 0 : S.label) ?? x;
|
|
5098
|
+
}, [b, r, x, m]), B = ye(() => {
|
|
5099
|
+
const S = Number(((x ?? 0) - o) * 100 / (n - o));
|
|
5100
|
+
return `calc(${S}% + ((var(--iress-thumb-width) / 2) - ${S * 0.285}px))`;
|
|
5101
5101
|
}, [n, o, x]);
|
|
5102
5102
|
return m ? /* @__PURE__ */ a(
|
|
5103
5103
|
Ze,
|
|
@@ -5105,18 +5105,18 @@ const Ll = (e = 0, s = 10, t = 1) => {
|
|
|
5105
5105
|
"data-testid": H(e, "slider"),
|
|
5106
5106
|
name: h == null ? void 0 : h.name,
|
|
5107
5107
|
value: x,
|
|
5108
|
-
children:
|
|
5108
|
+
children: I()
|
|
5109
5109
|
}
|
|
5110
5110
|
) : /* @__PURE__ */ D(
|
|
5111
5111
|
"div",
|
|
5112
5112
|
{
|
|
5113
5113
|
className: V(t, ls.slider),
|
|
5114
5114
|
style: {
|
|
5115
|
-
"--iress-thumb-value-offset":
|
|
5115
|
+
"--iress-thumb-value-offset": B()
|
|
5116
5116
|
},
|
|
5117
5117
|
"data-testid": e,
|
|
5118
5118
|
children: [
|
|
5119
|
-
!i && /* @__PURE__ */ a("output", { className: ls.thumbValue, children:
|
|
5119
|
+
!i && /* @__PURE__ */ a("output", { className: ls.thumbValue, children: I() }),
|
|
5120
5120
|
/* @__PURE__ */ a(
|
|
5121
5121
|
"input",
|
|
5122
5122
|
{
|
|
@@ -5127,8 +5127,8 @@ const Ll = (e = 0, s = 10, t = 1) => {
|
|
|
5127
5127
|
...h,
|
|
5128
5128
|
value: x,
|
|
5129
5129
|
type: "range",
|
|
5130
|
-
onChange: (
|
|
5131
|
-
l == null || l(
|
|
5130
|
+
onChange: (S) => {
|
|
5131
|
+
l == null || l(S, Number(S.target.value)), k(Number(S.target.value));
|
|
5132
5132
|
},
|
|
5133
5133
|
ref: g,
|
|
5134
5134
|
list: `${y}--markers`,
|
|
@@ -5136,7 +5136,7 @@ const Ll = (e = 0, s = 10, t = 1) => {
|
|
|
5136
5136
|
}
|
|
5137
5137
|
),
|
|
5138
5138
|
/* @__PURE__ */ a(
|
|
5139
|
-
|
|
5139
|
+
Gn,
|
|
5140
5140
|
{
|
|
5141
5141
|
tickLabels: b,
|
|
5142
5142
|
id: `${y}--markers`,
|
|
@@ -5148,9 +5148,9 @@ const Ll = (e = 0, s = 10, t = 1) => {
|
|
|
5148
5148
|
]
|
|
5149
5149
|
}
|
|
5150
5150
|
);
|
|
5151
|
-
},
|
|
5152
|
-
|
|
5153
|
-
const
|
|
5151
|
+
}, Cl = ae(Ml);
|
|
5152
|
+
Cl.displayName = "IressSlider";
|
|
5153
|
+
const Bl = ({
|
|
5154
5154
|
children: e,
|
|
5155
5155
|
label: s = "sortable",
|
|
5156
5156
|
noWrap: t = !0,
|
|
@@ -5179,7 +5179,7 @@ const Cl = ({
|
|
|
5179
5179
|
]
|
|
5180
5180
|
}
|
|
5181
5181
|
);
|
|
5182
|
-
},
|
|
5182
|
+
}, zl = ({
|
|
5183
5183
|
additionalHeaders: e,
|
|
5184
5184
|
children: s,
|
|
5185
5185
|
columnApi: t,
|
|
@@ -5187,10 +5187,10 @@ const Cl = ({
|
|
|
5187
5187
|
...i
|
|
5188
5188
|
}) => {
|
|
5189
5189
|
var m, d;
|
|
5190
|
-
const n =
|
|
5190
|
+
const n = ni({
|
|
5191
5191
|
columnApi: t,
|
|
5192
5192
|
columnKey: t.id
|
|
5193
|
-
}), o =
|
|
5193
|
+
}), o = ri({ columnKey: t.id }), l = (d = (m = Fs()) == null ? void 0 : m.getColumnByKey(t.id)) == null ? void 0 : d.noWrap;
|
|
5194
5194
|
return /* @__PURE__ */ a(
|
|
5195
5195
|
"th",
|
|
5196
5196
|
{
|
|
@@ -5199,10 +5199,10 @@ const Cl = ({
|
|
|
5199
5199
|
headers: e,
|
|
5200
5200
|
...n == null ? void 0 : n.columnProps,
|
|
5201
5201
|
...o,
|
|
5202
|
-
children: t.getCanSort() && n ? /* @__PURE__ */ a(
|
|
5202
|
+
children: t.getCanSort() && n ? /* @__PURE__ */ a(Bl, { ...n == null ? void 0 : n.buttonProps, noWrap: l, children: s }) : s
|
|
5203
5203
|
}
|
|
5204
5204
|
);
|
|
5205
|
-
},
|
|
5205
|
+
}, Tl = ({
|
|
5206
5206
|
additionalHeaders: e,
|
|
5207
5207
|
className: s,
|
|
5208
5208
|
setControlViaRef: t,
|
|
@@ -5210,7 +5210,7 @@ const Cl = ({
|
|
|
5210
5210
|
testId: i
|
|
5211
5211
|
}) => {
|
|
5212
5212
|
var l;
|
|
5213
|
-
const n =
|
|
5213
|
+
const n = Fs(), o = n == null ? void 0 : n.api.getHeaderGroups();
|
|
5214
5214
|
return (l = n == null ? void 0 : n.api.getFlatHeaders()) != null && l.length ? o.map((m) => /* @__PURE__ */ a(
|
|
5215
5215
|
"tr",
|
|
5216
5216
|
{
|
|
@@ -5222,7 +5222,7 @@ const Cl = ({
|
|
|
5222
5222
|
t == null || t(f)(d);
|
|
5223
5223
|
},
|
|
5224
5224
|
children: m.headers.map((d) => /* @__PURE__ */ a(
|
|
5225
|
-
|
|
5225
|
+
zl,
|
|
5226
5226
|
{
|
|
5227
5227
|
additionalHeaders: e,
|
|
5228
5228
|
columnApi: d.column,
|
|
@@ -5231,14 +5231,14 @@ const Cl = ({
|
|
|
5231
5231
|
i == null ? void 0 : i.replace("thead", "header"),
|
|
5232
5232
|
d.id
|
|
5233
5233
|
),
|
|
5234
|
-
children: d.isPlaceholder ? null :
|
|
5234
|
+
children: d.isPlaceholder ? null : si(d.column.columnDef.header, d.getContext())
|
|
5235
5235
|
},
|
|
5236
5236
|
d.id
|
|
5237
5237
|
))
|
|
5238
5238
|
},
|
|
5239
5239
|
m.id
|
|
5240
5240
|
)) : null;
|
|
5241
|
-
},
|
|
5241
|
+
}, El = ({
|
|
5242
5242
|
caption: e,
|
|
5243
5243
|
children: s,
|
|
5244
5244
|
columns: t,
|
|
@@ -5253,13 +5253,13 @@ const Cl = ({
|
|
|
5253
5253
|
rows: u = [],
|
|
5254
5254
|
scope: h,
|
|
5255
5255
|
...g
|
|
5256
|
-
}) => {
|
|
5257
|
-
const
|
|
5256
|
+
}, y) => {
|
|
5257
|
+
const N = He({ id: g.id }), b = `${N}--caption`, x = (o && ai(t)) ?? !!(u != null && u.length), k = s ?? x;
|
|
5258
5258
|
t && !Array.isArray(t) && Zt(
|
|
5259
5259
|
"IressTable: Passing columns as an object is deprecated and will be removed in a future version. Please use an array instead.",
|
|
5260
5260
|
"warn"
|
|
5261
5261
|
);
|
|
5262
|
-
const
|
|
5262
|
+
const I = H(n, "thead"), B = H(n, "tbody");
|
|
5263
5263
|
return /* @__PURE__ */ a(
|
|
5264
5264
|
"div",
|
|
5265
5265
|
{
|
|
@@ -5267,7 +5267,7 @@ const Cl = ({
|
|
|
5267
5267
|
[Ye.compact]: r
|
|
5268
5268
|
}),
|
|
5269
5269
|
"data-testid": n,
|
|
5270
|
-
children:
|
|
5270
|
+
children: k && /* @__PURE__ */ a(ii, { columns: t, rows: u, ref: y, children: /* @__PURE__ */ D(
|
|
5271
5271
|
"table",
|
|
5272
5272
|
{
|
|
5273
5273
|
...g,
|
|
@@ -5275,13 +5275,13 @@ const Cl = ({
|
|
|
5275
5275
|
[Ye.hover]: d,
|
|
5276
5276
|
[Ye.hiddenHeader]: m
|
|
5277
5277
|
}),
|
|
5278
|
-
id:
|
|
5278
|
+
id: N,
|
|
5279
5279
|
"data-testid": H(n, "table"),
|
|
5280
5280
|
children: [
|
|
5281
5281
|
/* @__PURE__ */ a(
|
|
5282
5282
|
"caption",
|
|
5283
5283
|
{
|
|
5284
|
-
id:
|
|
5284
|
+
id: b,
|
|
5285
5285
|
className: V(Ye.caption, {
|
|
5286
5286
|
[re.SROnly]: l
|
|
5287
5287
|
}),
|
|
@@ -5289,19 +5289,19 @@ const Cl = ({
|
|
|
5289
5289
|
children: e
|
|
5290
5290
|
}
|
|
5291
5291
|
),
|
|
5292
|
-
!m &&
|
|
5293
|
-
|
|
5292
|
+
!m && x && /* @__PURE__ */ a("thead", { "data-testid": I, children: /* @__PURE__ */ a(Tl, { tableId: N, testId: I }) }),
|
|
5293
|
+
x && /* @__PURE__ */ D("tbody", { "data-testid": B, children: [
|
|
5294
5294
|
/* @__PURE__ */ a(
|
|
5295
|
-
|
|
5295
|
+
oi,
|
|
5296
5296
|
{
|
|
5297
|
-
testId:
|
|
5298
|
-
tableId:
|
|
5297
|
+
testId: B,
|
|
5298
|
+
tableId: N,
|
|
5299
5299
|
rowProps: f,
|
|
5300
5300
|
scope: h,
|
|
5301
5301
|
hiddenHeader: m
|
|
5302
5302
|
}
|
|
5303
5303
|
),
|
|
5304
|
-
/* @__PURE__ */ a(
|
|
5304
|
+
/* @__PURE__ */ a(ti, { children: o })
|
|
5305
5305
|
] }),
|
|
5306
5306
|
s
|
|
5307
5307
|
]
|
|
@@ -5309,9 +5309,10 @@ const Cl = ({
|
|
|
5309
5309
|
) })
|
|
5310
5310
|
}
|
|
5311
5311
|
);
|
|
5312
|
-
};
|
|
5313
|
-
|
|
5314
|
-
|
|
5312
|
+
}, Hl = ae(El), ln = Hl;
|
|
5313
|
+
ln.Scope = ei;
|
|
5314
|
+
ln.useTable = Fs;
|
|
5315
|
+
const Ol = ae(
|
|
5315
5316
|
({
|
|
5316
5317
|
defaultValue: e,
|
|
5317
5318
|
onBlur: s,
|
|
@@ -5328,42 +5329,42 @@ const El = ae(
|
|
|
5328
5329
|
defaultValue: e,
|
|
5329
5330
|
value: l
|
|
5330
5331
|
}), y = ye(
|
|
5331
|
-
(
|
|
5332
|
-
if (!
|
|
5332
|
+
(I = "") => {
|
|
5333
|
+
if (!I)
|
|
5333
5334
|
return;
|
|
5334
|
-
if (h != null && h.includes(
|
|
5335
|
-
r == null || r(
|
|
5335
|
+
if (h != null && h.includes(I)) {
|
|
5336
|
+
r == null || r(I);
|
|
5336
5337
|
return;
|
|
5337
5338
|
}
|
|
5338
|
-
const
|
|
5339
|
-
t == null || t(ke(
|
|
5339
|
+
const B = [...h ?? [], I];
|
|
5340
|
+
t == null || t(ke(B), B), g(B);
|
|
5340
5341
|
},
|
|
5341
5342
|
[t, r, g, h]
|
|
5342
5343
|
);
|
|
5343
5344
|
return /* @__PURE__ */ a(
|
|
5344
|
-
|
|
5345
|
+
Ls,
|
|
5345
5346
|
{
|
|
5346
5347
|
...m,
|
|
5347
|
-
onBlur: (
|
|
5348
|
-
s == null || s(
|
|
5348
|
+
onBlur: (I) => {
|
|
5349
|
+
s == null || s(I), y(I.currentTarget.value);
|
|
5349
5350
|
},
|
|
5350
|
-
onChange: (
|
|
5351
|
-
onKeyDown: (
|
|
5352
|
-
if (i == null || i(
|
|
5353
|
-
const
|
|
5354
|
-
t == null || t(ke(
|
|
5355
|
-
} else if (
|
|
5356
|
-
const
|
|
5357
|
-
y(
|
|
5351
|
+
onChange: (I) => u(I.currentTarget.value),
|
|
5352
|
+
onKeyDown: (I) => {
|
|
5353
|
+
if (i == null || i(I), I.key === "Backspace" && !f) {
|
|
5354
|
+
const B = h == null ? void 0 : h.slice(0, -1);
|
|
5355
|
+
t == null || t(ke(B), B), g(B);
|
|
5356
|
+
} else if (I.key === "Enter") {
|
|
5357
|
+
const B = I.currentTarget;
|
|
5358
|
+
y(B.value), u("");
|
|
5358
5359
|
}
|
|
5359
5360
|
},
|
|
5360
|
-
onTagDelete: (
|
|
5361
|
-
n == null || n(
|
|
5362
|
-
const
|
|
5363
|
-
t == null || t(ke(
|
|
5361
|
+
onTagDelete: (I) => {
|
|
5362
|
+
n == null || n(I);
|
|
5363
|
+
const B = h == null ? void 0 : h.filter((S) => S !== I);
|
|
5364
|
+
t == null || t(ke(B), B), g(B);
|
|
5364
5365
|
},
|
|
5365
|
-
onTagDeleteAll: (
|
|
5366
|
-
o == null || o(
|
|
5366
|
+
onTagDeleteAll: (I) => {
|
|
5367
|
+
o == null || o(I), t == null || t(ke([]), []), g([]);
|
|
5367
5368
|
},
|
|
5368
5369
|
ref: d,
|
|
5369
5370
|
tags: h,
|
|
@@ -5372,11 +5373,11 @@ const El = ae(
|
|
|
5372
5373
|
);
|
|
5373
5374
|
}
|
|
5374
5375
|
);
|
|
5375
|
-
|
|
5376
|
-
const
|
|
5377
|
-
position:
|
|
5378
|
-
message:
|
|
5379
|
-
},
|
|
5376
|
+
Ol.displayName = "IressTagInput";
|
|
5377
|
+
const Wl = "ids-default-loading--position-v5200", Ul = "ids-default-loading--message-v5200", or = {
|
|
5378
|
+
position: Wl,
|
|
5379
|
+
message: Ul
|
|
5380
|
+
}, Pl = ({
|
|
5380
5381
|
children: e = /* @__PURE__ */ D(et, { gutter: "sm", verticalAlign: "middle", children: [
|
|
5381
5382
|
/* @__PURE__ */ a(zt, {}),
|
|
5382
5383
|
" This is taking longer than expected..."
|
|
@@ -5397,7 +5398,7 @@ const Hl = "ids-default-loading--position-v5190", Ol = "ids-default-loading--mes
|
|
|
5397
5398
|
{
|
|
5398
5399
|
...i,
|
|
5399
5400
|
className: V(
|
|
5400
|
-
|
|
5401
|
+
or.position,
|
|
5401
5402
|
s,
|
|
5402
5403
|
Me["fade-in"],
|
|
5403
5404
|
{
|
|
@@ -5407,7 +5408,7 @@ const Hl = "ids-default-loading--position-v5190", Ol = "ids-default-loading--mes
|
|
|
5407
5408
|
children: /* @__PURE__ */ a(
|
|
5408
5409
|
qe,
|
|
5409
5410
|
{
|
|
5410
|
-
className: V(
|
|
5411
|
+
className: V(or.message, Me["slide-in"], {
|
|
5411
5412
|
[Me["slide-in--active"]]: n
|
|
5412
5413
|
}),
|
|
5413
5414
|
children: n ? e : t
|
|
@@ -5415,13 +5416,13 @@ const Hl = "ids-default-loading--position-v5190", Ol = "ids-default-loading--mes
|
|
|
5415
5416
|
)
|
|
5416
5417
|
}
|
|
5417
5418
|
);
|
|
5418
|
-
},
|
|
5419
|
-
root:
|
|
5420
|
-
loading:
|
|
5421
|
-
message:
|
|
5422
|
-
top:
|
|
5423
|
-
right:
|
|
5424
|
-
},
|
|
5419
|
+
}, ql = "ids-validate-loading--root-v5200", jl = "ids-validate-loading--loading-v5200", Ql = "ids-validate-loading--message-v5200", Kl = "ids-validate-loading--top-v5200", Yl = "ids-validate-loading--right-v5200", At = {
|
|
5420
|
+
root: ql,
|
|
5421
|
+
loading: jl,
|
|
5422
|
+
message: Ql,
|
|
5423
|
+
top: Kl,
|
|
5424
|
+
right: Yl
|
|
5425
|
+
}, Xl = ({
|
|
5425
5426
|
children: e,
|
|
5426
5427
|
className: s,
|
|
5427
5428
|
loading: t = !1,
|
|
@@ -5467,16 +5468,16 @@ const Hl = "ids-default-loading--position-v5190", Ol = "ids-default-loading--mes
|
|
|
5467
5468
|
]
|
|
5468
5469
|
}
|
|
5469
5470
|
) : o({ loading: t, className: At.loading });
|
|
5470
|
-
},
|
|
5471
|
-
root:
|
|
5472
|
-
loaded:
|
|
5473
|
-
message:
|
|
5474
|
-
overlay:
|
|
5475
|
-
overlayStrong:
|
|
5476
|
-
spinner:
|
|
5477
|
-
},
|
|
5471
|
+
}, Jl = "ids-component-loading--root-v5200", Zl = "ids-component-loading--loaded-v5200", Gl = "ids-component-loading--message-v5200", ec = "ids-component-loading--overlay-v5200", tc = "ids-component-loading--overlay-strong-v5200", sc = "ids-component-loading--spinner-v5200", lt = {
|
|
5472
|
+
root: Jl,
|
|
5473
|
+
loaded: Zl,
|
|
5474
|
+
message: Gl,
|
|
5475
|
+
overlay: ec,
|
|
5476
|
+
overlayStrong: tc,
|
|
5477
|
+
spinner: sc
|
|
5478
|
+
}, lr = {
|
|
5478
5479
|
chart: /* @__PURE__ */ a(xe, { mode: "rect", height: "250px" })
|
|
5479
|
-
},
|
|
5480
|
+
}, rc = ({
|
|
5480
5481
|
children: e,
|
|
5481
5482
|
className: s,
|
|
5482
5483
|
loaded: t,
|
|
@@ -5486,7 +5487,7 @@ const Hl = "ids-default-loading--position-v5190", Ol = "ids-default-loading--mes
|
|
|
5486
5487
|
update: o,
|
|
5487
5488
|
...l
|
|
5488
5489
|
}) => {
|
|
5489
|
-
const [m, d] = X(!1), [f, u] = X(!1), h = Ne(() => typeof i == "string" && i in
|
|
5490
|
+
const [m, d] = X(!1), [f, u] = X(!1), h = Ne(() => typeof i == "string" && i in lr ? lr[i] : i, [i]);
|
|
5490
5491
|
return Z(() => {
|
|
5491
5492
|
t === !0 && d(!1);
|
|
5492
5493
|
}, [t]), Z(() => {
|
|
@@ -5558,20 +5559,20 @@ const Hl = "ids-default-loading--position-v5190", Ol = "ids-default-loading--mes
|
|
|
5558
5559
|
]
|
|
5559
5560
|
}
|
|
5560
5561
|
);
|
|
5561
|
-
},
|
|
5562
|
-
root:
|
|
5563
|
-
critical:
|
|
5564
|
-
showCritical:
|
|
5565
|
-
skeleton:
|
|
5566
|
-
hideTemplate:
|
|
5567
|
-
},
|
|
5562
|
+
}, nc = "ids-page-loading--root-v5200", ic = "ids-page-loading--critical-v5200", ac = "ids-page-loading--show-critical-v5200", oc = "ids-page-loading--skeleton-v5200", lc = "ids-page-loading--hide-template-v5200", $t = {
|
|
5563
|
+
root: nc,
|
|
5564
|
+
critical: ic,
|
|
5565
|
+
showCritical: ac,
|
|
5566
|
+
skeleton: oc,
|
|
5567
|
+
hideTemplate: lc
|
|
5568
|
+
}, cc = () => /* @__PURE__ */ a(Vs, { children: /* @__PURE__ */ a(mt, { gutter: "lg", verticalAlign: "stretch", children: /* @__PURE__ */ a(Rt, { children: /* @__PURE__ */ D(dt, { gutter: "md", children: [
|
|
5568
5569
|
/* @__PURE__ */ a(xe, { textVariant: "h2", width: "75%" }),
|
|
5569
5570
|
/* @__PURE__ */ a(xe, { mode: "rect", height: "200px" })
|
|
5570
|
-
] }) }) }) }),
|
|
5571
|
+
] }) }) }) }), dc = () => /* @__PURE__ */ a(Vs, { children: /* @__PURE__ */ a(mt, { gutter: "lg", verticalAlign: "stretch", children: /* @__PURE__ */ a(Rt, { children: /* @__PURE__ */ D(dt, { gutter: "md", children: [
|
|
5571
5572
|
/* @__PURE__ */ a(xe, { textVariant: "h2", width: "75%" }),
|
|
5572
5573
|
/* @__PURE__ */ a(xe, { mode: "rect", height: "200px" }),
|
|
5573
5574
|
/* @__PURE__ */ a(xe, { textVariant: "body", width: "100px" })
|
|
5574
|
-
] }) }) }) }),
|
|
5575
|
+
] }) }) }) }), uc = () => /* @__PURE__ */ a(Vs, { children: /* @__PURE__ */ D(dt, { gutter: "lg", children: [
|
|
5575
5576
|
/* @__PURE__ */ D(mt, { horizontalAlign: "between", verticalAlign: "middle", children: [
|
|
5576
5577
|
/* @__PURE__ */ a(xe, { textVariant: "h1", width: "25%" }),
|
|
5577
5578
|
/* @__PURE__ */ D(et, { gutter: "lg", children: [
|
|
@@ -5597,11 +5598,11 @@ const Hl = "ids-default-loading--position-v5190", Ol = "ids-default-loading--mes
|
|
|
5597
5598
|
/* @__PURE__ */ a(xe, { textVariant: "body", width: "50%" })
|
|
5598
5599
|
] }) }) })
|
|
5599
5600
|
] })
|
|
5600
|
-
] }) }),
|
|
5601
|
-
page:
|
|
5602
|
-
form:
|
|
5603
|
-
dashboard:
|
|
5604
|
-
},
|
|
5601
|
+
] }) }), cr = {
|
|
5602
|
+
page: cc,
|
|
5603
|
+
form: dc,
|
|
5604
|
+
dashboard: uc
|
|
5605
|
+
}, fc = ({
|
|
5605
5606
|
className: e,
|
|
5606
5607
|
critical: s,
|
|
5607
5608
|
loaded: t,
|
|
@@ -5611,8 +5612,8 @@ const Hl = "ids-default-loading--position-v5190", Ol = "ids-default-loading--mes
|
|
|
5611
5612
|
...o
|
|
5612
5613
|
}) => {
|
|
5613
5614
|
const [l, m] = X(!1), [d, f] = X(!1), [u, h] = X(!1), g = Ne(() => {
|
|
5614
|
-
if (typeof i == "string" && i in
|
|
5615
|
-
const y =
|
|
5615
|
+
if (typeof i == "string" && i in cr) {
|
|
5616
|
+
const y = cr[i];
|
|
5616
5617
|
return /* @__PURE__ */ a(y, {});
|
|
5617
5618
|
}
|
|
5618
5619
|
return i;
|
|
@@ -5648,9 +5649,9 @@ const Hl = "ids-default-loading--position-v5190", Ol = "ids-default-loading--mes
|
|
|
5648
5649
|
]
|
|
5649
5650
|
}
|
|
5650
5651
|
);
|
|
5651
|
-
}, Ot = ({ pattern: e, ...s }) => e === "component" ? /* @__PURE__ */ a(
|
|
5652
|
-
Ot.shouldRender =
|
|
5653
|
-
const
|
|
5652
|
+
}, Ot = ({ pattern: e, ...s }) => e === "component" ? /* @__PURE__ */ a(rc, { ...s }) : e === "long" ? /* @__PURE__ */ a(bi, { ...s }) : e === "page" ? /* @__PURE__ */ a(fc, { ...s }) : e === "start-up" ? /* @__PURE__ */ a(pn, { ...s }) : e === "validate" ? /* @__PURE__ */ a(Xl, { ...s }) : /* @__PURE__ */ a(Pl, { ...s });
|
|
5653
|
+
Ot.shouldRender = yi;
|
|
5654
|
+
const cn = ({
|
|
5654
5655
|
children: e,
|
|
5655
5656
|
delay: s,
|
|
5656
5657
|
onLoaded: t,
|
|
@@ -5675,7 +5676,7 @@ const ln = ({
|
|
|
5675
5676
|
children: h && e
|
|
5676
5677
|
}
|
|
5677
5678
|
),
|
|
5678
|
-
/* @__PURE__ */ a(
|
|
5679
|
+
/* @__PURE__ */ a(Os, { fallback: null, children: !h && /* @__PURE__ */ a(dr, { onResolved: y, children: !d && e }) })
|
|
5679
5680
|
] }) : /* @__PURE__ */ D(Te, { children: [
|
|
5680
5681
|
u && /* @__PURE__ */ a(
|
|
5681
5682
|
Ot,
|
|
@@ -5685,12 +5686,12 @@ const ln = ({
|
|
|
5685
5686
|
...n
|
|
5686
5687
|
}
|
|
5687
5688
|
),
|
|
5688
|
-
/* @__PURE__ */ a(
|
|
5689
|
+
/* @__PURE__ */ a(Os, { fallback: null, children: h ? e : /* @__PURE__ */ a(dr, { onResolved: y, children: !d && e }) })
|
|
5689
5690
|
] });
|
|
5690
5691
|
};
|
|
5691
|
-
|
|
5692
|
-
|
|
5693
|
-
const
|
|
5692
|
+
cn.use = li;
|
|
5693
|
+
cn.uncache = ci;
|
|
5694
|
+
const dr = ({
|
|
5694
5695
|
onResolved: e,
|
|
5695
5696
|
children: s
|
|
5696
5697
|
}) => (Z(() => {
|
|
@@ -5698,75 +5699,75 @@ const cr = ({
|
|
|
5698
5699
|
}, [e]), s);
|
|
5699
5700
|
export {
|
|
5700
5701
|
Cr as $,
|
|
5701
|
-
|
|
5702
|
+
Sa as A,
|
|
5702
5703
|
Mr as B,
|
|
5703
|
-
|
|
5704
|
+
pa as C,
|
|
5704
5705
|
mt as D,
|
|
5705
|
-
|
|
5706
|
+
Ll as E,
|
|
5706
5707
|
ss as F,
|
|
5707
|
-
|
|
5708
|
+
Cl as G,
|
|
5708
5709
|
zt as H,
|
|
5709
5710
|
Bt as I,
|
|
5710
|
-
|
|
5711
|
+
ln as J,
|
|
5711
5712
|
Pt as K,
|
|
5712
|
-
|
|
5713
|
+
Ol as L,
|
|
5713
5714
|
rn as M,
|
|
5714
5715
|
nn as N,
|
|
5715
|
-
|
|
5716
|
+
yu as O,
|
|
5716
5717
|
Ot as P,
|
|
5717
|
-
|
|
5718
|
-
|
|
5719
|
-
|
|
5720
|
-
|
|
5721
|
-
|
|
5722
|
-
|
|
5723
|
-
|
|
5724
|
-
|
|
5725
|
-
|
|
5726
|
-
|
|
5727
|
-
|
|
5728
|
-
|
|
5729
|
-
|
|
5718
|
+
cn as Q,
|
|
5719
|
+
gu as R,
|
|
5720
|
+
Qs as S,
|
|
5721
|
+
vl as T,
|
|
5722
|
+
Tl as U,
|
|
5723
|
+
va as V,
|
|
5724
|
+
ga as W,
|
|
5725
|
+
ya as X,
|
|
5726
|
+
Fa as Y,
|
|
5727
|
+
La as Z,
|
|
5728
|
+
$s as _,
|
|
5729
|
+
Ta as a,
|
|
5730
|
+
Ls as a0,
|
|
5730
5731
|
Br as a1,
|
|
5731
5732
|
zr as a2,
|
|
5732
|
-
|
|
5733
|
-
|
|
5734
|
-
|
|
5735
|
-
|
|
5736
|
-
|
|
5737
|
-
|
|
5733
|
+
sl as a3,
|
|
5734
|
+
rl as a4,
|
|
5735
|
+
fl as a5,
|
|
5736
|
+
gl as a6,
|
|
5737
|
+
yl as a7,
|
|
5738
|
+
ar as a8,
|
|
5738
5739
|
Yt as a9,
|
|
5739
5740
|
an as aa,
|
|
5740
5741
|
on as ab,
|
|
5741
|
-
|
|
5742
|
-
|
|
5743
|
-
|
|
5744
|
-
|
|
5745
|
-
|
|
5746
|
-
|
|
5742
|
+
Bl as ac,
|
|
5743
|
+
zl as ad,
|
|
5744
|
+
Pl as ae,
|
|
5745
|
+
Xl as af,
|
|
5746
|
+
rc as ag,
|
|
5747
|
+
fc as ah,
|
|
5747
5748
|
Re as b,
|
|
5748
5749
|
Tt as c,
|
|
5749
|
-
|
|
5750
|
-
|
|
5751
|
-
|
|
5752
|
-
|
|
5753
|
-
|
|
5754
|
-
|
|
5750
|
+
Xa as d,
|
|
5751
|
+
Rs as e,
|
|
5752
|
+
lo as f,
|
|
5753
|
+
_o as g,
|
|
5754
|
+
Ts as h,
|
|
5755
|
+
Oo as i,
|
|
5755
5756
|
Mt as j,
|
|
5756
5757
|
de as k,
|
|
5757
5758
|
et as l,
|
|
5758
5759
|
Ge as m,
|
|
5759
|
-
|
|
5760
|
+
Po as n,
|
|
5760
5761
|
Lr as o,
|
|
5761
5762
|
Dr as p,
|
|
5762
|
-
|
|
5763
|
+
As as q,
|
|
5763
5764
|
fs as r,
|
|
5764
5765
|
tn as s,
|
|
5765
5766
|
sn as t,
|
|
5766
|
-
|
|
5767
|
+
bu as u,
|
|
5767
5768
|
Ze as v,
|
|
5768
|
-
|
|
5769
|
-
|
|
5770
|
-
|
|
5769
|
+
Va as w,
|
|
5770
|
+
$a as x,
|
|
5771
|
+
oa as y,
|
|
5771
5772
|
Nt as z
|
|
5772
5773
|
};
|