@iress-oss/ids-components 5.14.0 → 5.14.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AutocompleteNoResults-D-7ik_op.js → AutocompleteNoResults-BJwn3Csz.js} +1 -1
- package/dist/{ComboboxHiddenInput-Bo5hqUzo.js → ComboboxHiddenInput-Dgwi3tti.js} +5 -5
- package/dist/{FieldAppendToLabel-kSkgzhQp.js → FieldAppendToLabel-DOal1Jmq.js} +2 -2
- package/dist/{InputBase-2wLvSYMJ.js → InputBase-DevBiqf2.js} +1 -1
- package/dist/Loading.module-CC_6gnKJ.js +13 -0
- package/dist/{LoadingSuspense-BDiikfSh.js → LoadingSuspense-COCIFlsi.js} +418 -417
- package/dist/LogoFromSrc-0jeEBge9.js +59 -0
- package/dist/MenuItem.module-mlKiHW50.js +24 -0
- package/dist/Popover.module-BVX_vz5-.js +11 -0
- package/dist/{SelectControl-ebML3vaP.js → SelectControl-CrSaqFGs.js} +1 -1
- package/dist/{SliderTicks-Bvc90tyk.js → SliderTicks-C2tiJ8Jz.js} +1 -1
- package/dist/TabSet.module-BdTRhXdV.js +13 -0
- package/dist/Table.module-Dax40UyV.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 +2 -2
- 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 +2 -2
- package/dist/components/Combobox/MultiCombobox/MultiCombobox.js +2 -2
- package/dist/components/Combobox/components/ComboboxHiddenInput.js +1 -1
- package/dist/components/Combobox/components/ComboboxResults.js +3 -3
- package/dist/components/Combobox/components/ComboboxResultsDescriptor.js +1 -1
- 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 +2 -2
- package/dist/components/Filter/Filter.js +2 -2
- package/dist/components/Filter/components/FilterResetButton.js +1 -1
- package/dist/components/Filter/components/FilterSearch.js +1 -1
- package/dist/components/Filter/index.js +1 -1
- package/dist/components/Form/Form.js +1 -1
- package/dist/components/Form/FormField/FormField.js +1 -1
- package/dist/components/Form/FormField/FormFieldset.js +1 -1
- 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 +1 -1
- package/dist/components/Hide/index.js +1 -1
- package/dist/components/Icon/Icon.js +1 -1
- package/dist/components/Icon/index.js +1 -1
- package/dist/components/Inline/Inline.js +1 -1
- 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 +1 -1
- 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 +2 -2
- 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/Popover.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/Progress/Progress.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 +2 -2
- package/dist/components/Readonly/index.js +1 -1
- package/dist/components/RichSelect/RichSelect.js +1 -1
- package/dist/components/RichSelect/SelectBody/SelectBody.js +1 -1
- package/dist/components/RichSelect/SelectCreate/SelectCreate.js +1 -1
- package/dist/components/RichSelect/SelectHeading/SelectHeading.js +1 -1
- package/dist/components/RichSelect/SelectLabel/SelectLabel.js +1 -1
- package/dist/components/RichSelect/SelectMenu/SelectMenu.js +1 -1
- package/dist/components/RichSelect/SelectMenu/SelectMenuItem.js +1 -1
- package/dist/components/RichSelect/SelectSearch/SelectSearch.js +1 -1
- package/dist/components/RichSelect/SelectSearchInput/SelectSearchInput.js +1 -1
- package/dist/components/RichSelect/SelectTags/SelectTags.js +1 -1
- package/dist/components/RichSelect/components/SelectActivator.js +1 -1
- package/dist/components/RichSelect/components/SelectOptions.js +1 -1
- package/dist/components/RichSelect/index.js +1 -1
- package/dist/components/Row/Row.js +1 -1
- 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 +1 -1
- 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 +1 -1
- package/dist/components/Slideout/components/SlideoutInner.js +1 -1
- 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 +2 -2
- package/dist/components/Table/TableBody/TableBody.js +2 -2
- package/dist/components/Table/components/TableEmpty.js +1 -1
- package/dist/components/Table/components/TableHeader.js +1 -1
- package/dist/components/Table/components/TableHeaderCell.js +1 -1
- package/dist/components/Table/components/TableSortButton.js +2 -2
- 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/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/style.css +1 -1
- package/dist/{useIDSButtonGroupItem-D278MaLC.js → useIDSButtonGroupItem-DWuujtfY.js} +1 -1
- package/package.json +1 -1
- package/dist/Loading.module-nxv4vxd0.js +0 -13
- package/dist/LogoFromSrc-RCkIBALM.js +0 -59
- package/dist/MenuItem.module-C1hy3JLs.js +0 -24
- package/dist/Popover.module-BVuEALLH.js +0 -11
- package/dist/TabSet.module-DLn6e1BG.js +0 -13
- package/dist/Table.module-CztzYVfs.js +0 -32
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import { jsx as a, jsxs as L, Fragment as Je } from "react/jsx-runtime";
|
|
2
2
|
import * as hn from "react";
|
|
3
|
-
import G, { forwardRef as ie, useRef as fe, useState as
|
|
3
|
+
import G, { forwardRef as ie, useRef as fe, useState as X, useMemo as Se, useImperativeHandle as Be, useId as gs, useCallback as Fe, useEffect as ee, createElement as fr, useContext as ys, cloneElement as mr, createContext as pn, Suspense as Hs } from "react";
|
|
4
4
|
import { StartUpLoading as vn } from "./patterns/Loading/components/StartUpLoading.js";
|
|
5
5
|
import { c as V } from "./index-2QXL0WYc.js";
|
|
6
6
|
import { IconSpin as gn, IconSize as hr, IconFlip as yn, IconRotate as bn, IconSet as xn } from "./components/Icon/Icon.types.js";
|
|
7
7
|
import { ALERT_ICONS as _n } from "./components/Alert/Alert.types.js";
|
|
8
|
-
import { TextMode as Sn, HeadingLevel as
|
|
8
|
+
import { TextMode as Sn, HeadingLevel as bs, SystemValidationStatus as Nn, GlobalCSSClass as Z, TextFieldType as wn, FormElementWidth as xs, Breakpoint as pr, DisplayMode as In, GutterSize as _s, HorizontalAlign as vr, VerticalAlign as gr, ModalSize as kn, PaddingSize as yr } from "./enums.js";
|
|
9
9
|
import { IressText as qe } from "./components/Text/Text.js";
|
|
10
10
|
import { propagateTestid as T } from "./helpers/utility/propagateTestid.js";
|
|
11
11
|
import { HeadingWithDeprecatedFallback as br } from "./components/HeadingWithDeprecatedFallback/HeadingWithDeprecatedFallback.js";
|
|
12
|
-
import { s as Et, A as
|
|
13
|
-
import { IressPopover as
|
|
12
|
+
import { s as Et, A as Ss } from "./AutocompleteNoResults-BJwn3Csz.js";
|
|
13
|
+
import { IressPopover as Ns } from "./components/Popover/Popover.js";
|
|
14
14
|
import "./components/Popover/PopoverProvider.js";
|
|
15
15
|
import { IressInputPopover as Xt } from "./components/Popover/InputPopover/InputPopover.js";
|
|
16
16
|
import { getFormControlValueAsString as gt } from "./helpers/form/getFormControlValueAsString.js";
|
|
17
17
|
import { ClearButton as Fn } from "./components/Input/ClearButton/ClearButton.js";
|
|
18
|
-
import { b as is, I as An } from "./InputBase-
|
|
18
|
+
import { b as is, I as An } from "./InputBase-DevBiqf2.js";
|
|
19
19
|
import { InputMode as $n } from "./components/Input/Input.types.js";
|
|
20
20
|
import { useControlledState as bt } from "./hooks/useControlledState.js";
|
|
21
21
|
import "./fuzzysort-eoXOpoo6.js";
|
|
22
22
|
import "./components/Badge/Badge.js";
|
|
23
23
|
import { ButtonMode as Vn, ButtonType as Rn, ButtonCssClass as Ce } from "./components/Button/Button.types.js";
|
|
24
|
-
import { u as Ln } from "./useIDSButtonGroupItem-
|
|
24
|
+
import { u as Ln } from "./useIDSButtonGroupItem-DWuujtfY.js";
|
|
25
25
|
import "./components/ButtonGroup/ButtonGroupProvider.js";
|
|
26
26
|
import { IressCard as os } from "./components/Card/Card.js";
|
|
27
27
|
import "./components/CheckboxMark/CheckboxMark.types.js";
|
|
@@ -31,41 +31,41 @@ import { CheckboxGroupContext as Mn } from "./components/CheckboxGroup/CheckboxG
|
|
|
31
31
|
import { toArray as _e } from "./helpers/formatting/toArray.js";
|
|
32
32
|
import "./components/CheckboxGroup/CheckboxGroup.js";
|
|
33
33
|
import { IressCol as _t } from "./components/Col/Col.js";
|
|
34
|
-
import { s as rt, C as xr } from "./ComboboxHiddenInput-
|
|
34
|
+
import { s as rt, C as xr } from "./ComboboxHiddenInput-Dgwi3tti.js";
|
|
35
35
|
import { useRichSelectState as Jt } from "./components/RichSelect/hooks/useRichSelectState.js";
|
|
36
36
|
import { useAutocompleteSearch as Lt } from "./components/Autocomplete/hooks/useAutocompleteSearch.js";
|
|
37
37
|
import { useIdIfNeeded as Ee } from "./hooks/useIdIfNeeded.js";
|
|
38
38
|
import "./components/Expander/Expander.js";
|
|
39
|
-
import { IressDivider as
|
|
39
|
+
import { IressDivider as ws } from "./components/Divider/Divider.js";
|
|
40
40
|
import { FormContext as Cn } from "./components/Form/FormContext.js";
|
|
41
41
|
import { FormValidationSummary as Tn } from "./components/Form/components/FormValidationSummary.js";
|
|
42
42
|
import { InlineCssClass as ht } from "./components/Inline/Inline.types.js";
|
|
43
|
-
import { getResponsiveLayoutModifiers as
|
|
43
|
+
import { getResponsiveLayoutModifiers as Is } from "./helpers/responsive/getResponsiveLayoutModifiers.js";
|
|
44
44
|
import { formatCurrency as zn } from "./helpers/formatting/formatCurrency.js";
|
|
45
45
|
import { IressMenu as _r } from "./components/Menu/Menu.js";
|
|
46
46
|
import "./components/Menu/MenuProvider.js";
|
|
47
|
-
import { s as tt } from "./MenuItem.module-
|
|
47
|
+
import { s as tt } from "./MenuItem.module-mlKiHW50.js";
|
|
48
48
|
import { useMenu as Sr } from "./components/Menu/hooks/useMenu.js";
|
|
49
49
|
import { useMenuItemRole as Nr } from "./components/Menu/MenuItem/hooks/useMenuItemRole.js";
|
|
50
50
|
import { useMenuItemAria as Bn } from "./components/Menu/MenuItem/hooks/useMenuItemAria.js";
|
|
51
51
|
import { useMenuItemButtonProps as En } from "./components/Menu/MenuItem/hooks/useMenuItemButtonProps.js";
|
|
52
52
|
import { useMenuItemInteractions as On } from "./components/Menu/MenuItem/hooks/useMenuItemInteractions.js";
|
|
53
53
|
import { useMenuItemComposite as Hn } from "./components/Menu/MenuItem/hooks/useMenuItemComposite.js";
|
|
54
|
-
import { d as
|
|
54
|
+
import { d as ks, g as wr, h as Ir, i as kr, w as Fs, n as Ut, x as Fr, q as Ar } from "./floating-ui.react-RKRjRgyj.js";
|
|
55
55
|
import { timeStringToNumber as $r } from "./helpers/transition/timeStringToNumber.js";
|
|
56
56
|
import { idsLogger as Zt } from "./helpers/utility/idsLogger.js";
|
|
57
57
|
import { useIDSProvidedModal as Un } from "./components/Modal/hooks/useIDSProvidedModal.js";
|
|
58
58
|
import "./components/Modal/ModalProvider.js";
|
|
59
59
|
import { NavbarHorizontalAlign as Wn } from "./components/Navbar/Navbar.types.js";
|
|
60
|
-
import { IressPanel as
|
|
61
|
-
import { HideCssClass as
|
|
62
|
-
import { BREAKPOINTS as
|
|
60
|
+
import { IressPanel as As } from "./components/Panel/Panel.js";
|
|
61
|
+
import { HideCssClass as Us } from "./components/Hide/Hide.types.js";
|
|
62
|
+
import { BREAKPOINTS as Ws } from "./constants.js";
|
|
63
63
|
import { RadioGroupContext as qn } from "./components/RadioGroup/RadioGroupContext.js";
|
|
64
64
|
import "./components/RadioGroup/RadioGroup.js";
|
|
65
65
|
import { usePopoverItem as Gt } from "./components/Popover/hooks/usePopoverItem.js";
|
|
66
66
|
import { RowCssClass as St } from "./components/Row/Row.types.js";
|
|
67
|
-
import { S as Pn, s as jn } from "./SelectControl-
|
|
68
|
-
import { IressSelectOption as
|
|
67
|
+
import { S as Pn, s as jn } from "./SelectControl-CrSaqFGs.js";
|
|
68
|
+
import { IressSelectOption as qs } from "./components/Select/SelectOption/SelectOption.js";
|
|
69
69
|
import { getValueAsEvent as Ie } from "./helpers/form/getValueAsEvent.js";
|
|
70
70
|
import { getFormControlValueAsStringIfDefined as yt } from "./helpers/form/getFormControlValueAsStringIfDefined.js";
|
|
71
71
|
import { IressSkeleton as xe } from "./components/Skeleton/Skeleton.js";
|
|
@@ -73,10 +73,10 @@ import "./components/SkipLink/SkipLink.js";
|
|
|
73
73
|
import { SlideoutMode as Qn, SlideoutPosition as Kn, SlideoutSize as Yn } from "./components/Slideout/Slideout.types.js";
|
|
74
74
|
import { useIDSProvidedSlideout as Xn } from "./components/Slideout/hooks/useIDSProvidedSlideout.js";
|
|
75
75
|
import "./components/Slideout/SlideoutProvider.js";
|
|
76
|
-
import { s as as, S as Jn } from "./SliderTicks-
|
|
76
|
+
import { s as as, S as Jn } from "./SliderTicks-C2tiJ8Jz.js";
|
|
77
77
|
import { IressStack as lt } from "./components/Stack/Stack.js";
|
|
78
78
|
import { TableScope as Zn } from "./components/Table/Table.types.js";
|
|
79
|
-
import { s as Ke } from "./Table.module-
|
|
79
|
+
import { s as Ke } from "./Table.module-Dax40UyV.js";
|
|
80
80
|
import { TableEmpty as Gn } from "./components/Table/components/TableEmpty.js";
|
|
81
81
|
import { f as ei } from "./index-CtOScEKX.js";
|
|
82
82
|
import { useIDSTableColumnStyles as ti } from "./components/Table/hooks/useIDSTableColumnStyles.js";
|
|
@@ -94,7 +94,7 @@ import "./components/Toggle/Toggle.js";
|
|
|
94
94
|
import "./components/Tooltip/Tooltip.js";
|
|
95
95
|
import "./components/ValidationMessage/ValidationMessage.js";
|
|
96
96
|
import { useSuspenseResource as li, uncacheSuspenseResource as ci } from "./patterns/Loading/hooks/useSuspenseResource.js";
|
|
97
|
-
import { L as Rr, s as we } from "./LogoFromSrc-
|
|
97
|
+
import { L as Rr, s as we } from "./LogoFromSrc-0jeEBge9.js";
|
|
98
98
|
import { getValueFromLabelValues as di } from "./helpers/label-value/getValueFromLabelValues.js";
|
|
99
99
|
import { useFilterFlags as ui } from "./components/Filter/hooks/useFilterFlags.js";
|
|
100
100
|
import { FilterLabel as fi } from "./components/Filter/components/FilterLabel.js";
|
|
@@ -106,43 +106,43 @@ import { handlePopoverTabKey as hi } from "./components/Popover/helpers/handlePo
|
|
|
106
106
|
import { SelectHiddenInput as pi } from "./components/RichSelect/components/SelectHiddenInput.js";
|
|
107
107
|
import { useComboboxInlineCompletion as vi } from "./components/Combobox/hooks/useComboboxInlineCompletion.js";
|
|
108
108
|
import { useAutocompleteFlags as gi } from "./components/Autocomplete/hooks/useAutocompleteFlags.js";
|
|
109
|
-
import { l as Me } from "./Loading.module-
|
|
109
|
+
import { l as Me } from "./Loading.module-CC_6gnKJ.js";
|
|
110
110
|
import { useShouldRenderLoading as yi } from "./patterns/Loading/hooks/useShouldRenderLoading.js";
|
|
111
111
|
import { IressContainer as cs } from "./components/Container/Container.js";
|
|
112
112
|
import { LongLoading as bi } from "./patterns/Loading/components/LongLoading.js";
|
|
113
|
-
const xi = "ids-alert-
|
|
113
|
+
const xi = "ids-alert-v5141", _i = "ids-alert--icon-v5141", Si = "ids-alert--heading-v5141", Ni = "ids-alert--wrapper-v5141", wi = "ids-alert--footer-v5141", Ii = "ids-alert--danger-v5141", ki = "ids-alert--info-v5141", Fi = "ids-alert--success-v5141", Ai = "ids-alert--warning-v5141", ft = {
|
|
114
114
|
alert: xi,
|
|
115
115
|
icon: _i,
|
|
116
116
|
heading: Si,
|
|
117
|
-
"iress-u-text": "ids-alert--iress-u-text-
|
|
117
|
+
"iress-u-text": "ids-alert--iress-u-text-v5141",
|
|
118
118
|
wrapper: Ni,
|
|
119
119
|
footer: wi,
|
|
120
120
|
danger: Ii,
|
|
121
121
|
info: ki,
|
|
122
122
|
success: Fi,
|
|
123
123
|
warning: Ai
|
|
124
|
-
}, $i = "ids-icon-
|
|
124
|
+
}, $i = "ids-icon-v5141", Nt = {
|
|
125
125
|
icon: $i,
|
|
126
|
-
"flip-horizontal": "ids-icon--flip-horizontal-
|
|
127
|
-
"flip-vertical": "ids-icon--flip-vertical-
|
|
128
|
-
"flip-both": "ids-icon--flip-both-
|
|
129
|
-
"rotate-180": "ids-icon--rotate-180-
|
|
130
|
-
"rotate-270": "ids-icon--rotate-270-
|
|
131
|
-
"rotate-90": "ids-icon--rotate-90-
|
|
132
|
-
"spin-half": "ids-icon--spin-half-
|
|
133
|
-
"iress-icon-rotation": "ids-icon--iress-icon-rotation-
|
|
134
|
-
"spin-1": "ids-icon--spin-1-
|
|
135
|
-
"spin-2": "ids-icon--spin-2-
|
|
136
|
-
"spin-3": "ids-icon--spin-3-
|
|
137
|
-
"mode-body": "ids-icon--mode-body-
|
|
138
|
-
"mode-muted": "ids-icon--mode-muted-
|
|
139
|
-
"mode-primary": "ids-icon--mode-primary-
|
|
140
|
-
"mode-info": "ids-icon--mode-info-
|
|
141
|
-
"mode-success": "ids-icon--mode-success-
|
|
142
|
-
"mode-warning": "ids-icon--mode-warning-
|
|
143
|
-
"mode-danger": "ids-icon--mode-danger-
|
|
144
|
-
"mode-positive": "ids-icon--mode-positive-
|
|
145
|
-
"mode-negative": "ids-icon--mode-negative-
|
|
126
|
+
"flip-horizontal": "ids-icon--flip-horizontal-v5141",
|
|
127
|
+
"flip-vertical": "ids-icon--flip-vertical-v5141",
|
|
128
|
+
"flip-both": "ids-icon--flip-both-v5141",
|
|
129
|
+
"rotate-180": "ids-icon--rotate-180-v5141",
|
|
130
|
+
"rotate-270": "ids-icon--rotate-270-v5141",
|
|
131
|
+
"rotate-90": "ids-icon--rotate-90-v5141",
|
|
132
|
+
"spin-half": "ids-icon--spin-half-v5141",
|
|
133
|
+
"iress-icon-rotation": "ids-icon--iress-icon-rotation-v5141",
|
|
134
|
+
"spin-1": "ids-icon--spin-1-v5141",
|
|
135
|
+
"spin-2": "ids-icon--spin-2-v5141",
|
|
136
|
+
"spin-3": "ids-icon--spin-3-v5141",
|
|
137
|
+
"mode-body": "ids-icon--mode-body-v5141",
|
|
138
|
+
"mode-muted": "ids-icon--mode-muted-v5141",
|
|
139
|
+
"mode-primary": "ids-icon--mode-primary-v5141",
|
|
140
|
+
"mode-info": "ids-icon--mode-info-v5141",
|
|
141
|
+
"mode-success": "ids-icon--mode-success-v5141",
|
|
142
|
+
"mode-warning": "ids-icon--mode-warning-v5141",
|
|
143
|
+
"mode-danger": "ids-icon--mode-danger-v5141",
|
|
144
|
+
"mode-positive": "ids-icon--mode-positive-v5141",
|
|
145
|
+
"mode-negative": "ids-icon--mode-negative-v5141"
|
|
146
146
|
}, Vi = ({
|
|
147
147
|
name: e,
|
|
148
148
|
screenreaderText: s,
|
|
@@ -232,9 +232,9 @@ const Dt = ({
|
|
|
232
232
|
]
|
|
233
233
|
}
|
|
234
234
|
);
|
|
235
|
-
Dt.HeadingLevel =
|
|
235
|
+
Dt.HeadingLevel = bs;
|
|
236
236
|
Dt.Status = Nn;
|
|
237
|
-
const Ri = "ids-input-
|
|
237
|
+
const Ri = "ids-input-v5141", Li = "ids-input--readonly-v5141", Di = "ids-input--wrapper-v5141", Mi = "ids-input--addon-v5141", Ci = "ids-input--inline-wrapper-v5141", Ti = "ids-input--internal-v5141", zi = "ids-input--prepend-v5141", Bi = "ids-input--append-v5141", Ei = "ids-input--align-right-v5141", Oi = "ids-input--watermark-v5141", oe = {
|
|
238
238
|
input: Ri,
|
|
239
239
|
readonly: Li,
|
|
240
240
|
wrapper: Di,
|
|
@@ -245,7 +245,7 @@ const Ri = "ids-input-v5140", Li = "ids-input--readonly-v5140", Di = "ids-input-
|
|
|
245
245
|
append: Bi,
|
|
246
246
|
alignRight: Ei,
|
|
247
247
|
watermark: Oi
|
|
248
|
-
}, Hi = "ids-spinner-
|
|
248
|
+
}, Hi = "ids-spinner-v5141", Ui = {
|
|
249
249
|
spinner: Hi
|
|
250
250
|
}, Mt = ({
|
|
251
251
|
className: e,
|
|
@@ -358,7 +358,7 @@ const Ri = "ids-input-v5140", Li = "ids-input--readonly-v5140", Di = "ids-input-
|
|
|
358
358
|
component: "IressInput",
|
|
359
359
|
defaultValue: i,
|
|
360
360
|
value: e.value
|
|
361
|
-
}), x = gt(w), [H, C] =
|
|
361
|
+
}), x = gt(w), [H, C] = X(!1), E = Se(() => g && !H ? g(w) : x, [g, w, x, H]), W = Se(() => g && !H ? "text" : y, [g, H, y]);
|
|
362
362
|
if (Be(
|
|
363
363
|
s,
|
|
364
364
|
() => F.current
|
|
@@ -385,7 +385,7 @@ const Ri = "ids-input-v5140", Li = "ids-input--readonly-v5140", Di = "ids-input-
|
|
|
385
385
|
writable: !1,
|
|
386
386
|
value: { value: "", ..._.target }
|
|
387
387
|
}), n == null || n(D);
|
|
388
|
-
},
|
|
388
|
+
}, J = (_) => {
|
|
389
389
|
const D = _.target.value;
|
|
390
390
|
M(D), d == null || d(_, D);
|
|
391
391
|
}, A = V(
|
|
@@ -414,7 +414,7 @@ const Ri = "ids-input-v5140", Li = "ids-input--readonly-v5140", Di = "ids-input-
|
|
|
414
414
|
[oe.alignRight]: b
|
|
415
415
|
}),
|
|
416
416
|
value: E,
|
|
417
|
-
onChange:
|
|
417
|
+
onChange: J,
|
|
418
418
|
onFocus: (..._) => {
|
|
419
419
|
var D;
|
|
420
420
|
C(!0), (D = S == null ? void 0 : S.onFocus) == null || D.call(S, ..._);
|
|
@@ -442,15 +442,15 @@ const Ri = "ids-input-v5140", Li = "ids-input--readonly-v5140", Di = "ids-input-
|
|
|
442
442
|
) });
|
|
443
443
|
}, Pi = ie(qi), Ge = Pi;
|
|
444
444
|
Ge.Type = wn;
|
|
445
|
-
Ge.Width =
|
|
445
|
+
Ge.Width = xs;
|
|
446
446
|
Ge.InputMode = $n;
|
|
447
|
-
const ji = "ids-rich-select-
|
|
447
|
+
const ji = "ids-rich-select-v5141", Qi = "ids-rich-select--popover-content-v5141", Ki = "ids-rich-select--dropdown-selected-heading-v5141", Yi = "ids-rich-select--dropdown-clear-v5141", Xi = "ids-rich-select--wrapper-v5141", vt = {
|
|
448
448
|
richSelect: ji,
|
|
449
449
|
popoverContent: Qi,
|
|
450
450
|
dropdownSelectedHeading: Ki,
|
|
451
451
|
dropdownClear: Yi,
|
|
452
452
|
wrapper: Xi
|
|
453
|
-
}, Ji = "ids-select-label-
|
|
453
|
+
}, Ji = "ids-select-label-v5141", Zi = "ids-select-label--contents-v5141", Gi = "ids-select-label--placeholder-v5141", eo = "ids-select-label--prepend-v5141", to = "ids-select-label--append-v5141", wt = {
|
|
454
454
|
selectLabel: Ji,
|
|
455
455
|
contents: Zi,
|
|
456
456
|
placeholder: Gi,
|
|
@@ -484,7 +484,7 @@ const ji = "ids-rich-select-v5140", Qi = "ids-rich-select--popover-content-v5140
|
|
|
484
484
|
value: y,
|
|
485
485
|
...$
|
|
486
486
|
}, b) => {
|
|
487
|
-
const S =
|
|
487
|
+
const S = gs(), w = Ln({ value: y ?? (typeof t == "string" || typeof t == "number" || typeof t == "boolean" ? t : void 0) }), M = {
|
|
488
488
|
[Ce.Base]: !0,
|
|
489
489
|
[Ce.Fluid]: i === !0,
|
|
490
490
|
[`${Ce.Mode}--${l}`]: !w,
|
|
@@ -531,7 +531,7 @@ const ji = "ids-rich-select-v5140", Qi = "ids-rich-select--popover-content-v5140
|
|
|
531
531
|
Re.Mode = Vn;
|
|
532
532
|
Re.Type = Rn;
|
|
533
533
|
Re.Fluid = pr;
|
|
534
|
-
const no = "ids-close-button-
|
|
534
|
+
const no = "ids-close-button-v5141", io = {
|
|
535
535
|
closeButton: no
|
|
536
536
|
}, Ct = ie(
|
|
537
537
|
({
|
|
@@ -586,14 +586,14 @@ const oo = ({
|
|
|
586
586
|
]
|
|
587
587
|
}
|
|
588
588
|
);
|
|
589
|
-
}, ao = "ids-select-tags-
|
|
589
|
+
}, ao = "ids-select-tags-v5141", lo = "ids-select-tags--placeholder-v5141", co = "ids-select-tags--prepend-v5141", uo = "ids-select-tags--append-v5141", fo = "ids-select-tags--tag-v5141", mo = "ids-select-tags--tags-list-v5141", ct = {
|
|
590
590
|
selectTags: ao,
|
|
591
591
|
placeholder: lo,
|
|
592
592
|
prepend: co,
|
|
593
593
|
append: uo,
|
|
594
594
|
tag: fo,
|
|
595
595
|
tagsList: mo
|
|
596
|
-
},
|
|
596
|
+
}, Ps = (e, s) => {
|
|
597
597
|
if (!(e != null && e.api.elements.reference) || !s)
|
|
598
598
|
return;
|
|
599
599
|
const t = e.getFocusableActivator(), r = mi(
|
|
@@ -616,12 +616,12 @@ const oo = ({
|
|
|
616
616
|
selectedArray: n,
|
|
617
617
|
selectedOptionsText: o
|
|
618
618
|
}) => {
|
|
619
|
-
const [l, f] =
|
|
619
|
+
const [l, f] = X(!1), d = Dr(), u = Fe(
|
|
620
620
|
(p, g) => {
|
|
621
621
|
t == null || t(
|
|
622
622
|
n.find((y) => y.label === p),
|
|
623
623
|
g
|
|
624
|
-
), g.stopPropagation(),
|
|
624
|
+
), g.stopPropagation(), Ps(d, g);
|
|
625
625
|
},
|
|
626
626
|
[t, d, n]
|
|
627
627
|
), m = Fe(
|
|
@@ -649,7 +649,7 @@ const oo = ({
|
|
|
649
649
|
className: ct.tag,
|
|
650
650
|
"data-testid": T(e, "tag"),
|
|
651
651
|
deleteButton: /* @__PURE__ */ a(
|
|
652
|
-
|
|
652
|
+
Ns,
|
|
653
653
|
{
|
|
654
654
|
activator: /* @__PURE__ */ a(Re, { mode: "tertiary", children: /* @__PURE__ */ a(
|
|
655
655
|
le,
|
|
@@ -660,7 +660,7 @@ const oo = ({
|
|
|
660
660
|
) }),
|
|
661
661
|
onActivated: () => i == null ? void 0 : i(!0),
|
|
662
662
|
onClick: (p) => {
|
|
663
|
-
p.stopPropagation(),
|
|
663
|
+
p.stopPropagation(), Ps(d, p);
|
|
664
664
|
},
|
|
665
665
|
onDeactivated: () => i == null ? void 0 : i(!1),
|
|
666
666
|
children: /* @__PURE__ */ L(_r, { children: [
|
|
@@ -719,8 +719,8 @@ const oo = ({
|
|
|
719
719
|
}, vo = (e, s = {}) => {
|
|
720
720
|
const t = go(s);
|
|
721
721
|
return Object.keys(t).filter((r) => !!t[r]).map((r) => `${e}--${r}`);
|
|
722
|
-
}, go = (e = {}) =>
|
|
723
|
-
(s, t, r) => (s[t] = e[t] ?? s[
|
|
722
|
+
}, go = (e = {}) => Ws.reduce(
|
|
723
|
+
(s, t, r) => (s[t] = e[t] ?? s[Ws[r - 1]], s),
|
|
724
724
|
{}
|
|
725
725
|
), Rt = ({
|
|
726
726
|
children: e,
|
|
@@ -729,7 +729,7 @@ const oo = ({
|
|
|
729
729
|
className: r,
|
|
730
730
|
...i
|
|
731
731
|
}) => {
|
|
732
|
-
const n = t ?
|
|
732
|
+
const n = t ? Us.VisuallyHidden : Us.TotallyHidden;
|
|
733
733
|
return /* @__PURE__ */ a(
|
|
734
734
|
"div",
|
|
735
735
|
{
|
|
@@ -792,10 +792,10 @@ const oo = ({
|
|
|
792
792
|
role: e ? void 0 : "combobox",
|
|
793
793
|
selected: m
|
|
794
794
|
}
|
|
795
|
-
), bo = "ids-select-search-
|
|
795
|
+
), bo = "ids-select-search-v5141", xo = "ids-select-search--content-v5141", js = {
|
|
796
796
|
selectSearch: bo,
|
|
797
797
|
content: xo
|
|
798
|
-
}, _o = "ids-select-body-
|
|
798
|
+
}, _o = "ids-select-body-v5141", So = "ids-select-body--children-v5141", Qs = {
|
|
799
799
|
selectBody: _o,
|
|
800
800
|
children: So
|
|
801
801
|
}, No = ({
|
|
@@ -810,13 +810,13 @@ const oo = ({
|
|
|
810
810
|
{
|
|
811
811
|
...r,
|
|
812
812
|
className: V(
|
|
813
|
-
|
|
814
|
-
|
|
813
|
+
js.selectSearch,
|
|
814
|
+
Qs.selectBody,
|
|
815
815
|
e
|
|
816
816
|
),
|
|
817
817
|
contentClassName: V(
|
|
818
|
-
|
|
819
|
-
|
|
818
|
+
js.content,
|
|
819
|
+
Qs.children,
|
|
820
820
|
s
|
|
821
821
|
),
|
|
822
822
|
displayMode: "inline",
|
|
@@ -865,7 +865,7 @@ const oo = ({
|
|
|
865
865
|
const { formattedLabel: x, ...H } = M;
|
|
866
866
|
return H;
|
|
867
867
|
}
|
|
868
|
-
), p = !s && (!!(l != null && l.length) || o && !t), g = !!m.length && r, y = p && g, $ = fe(null), b =
|
|
868
|
+
), p = !s && (!!(l != null && l.length) || o && !t), g = !!m.length && r, y = p && g, $ = fe(null), b = gs();
|
|
869
869
|
ee(() => {
|
|
870
870
|
d || f == null || f("");
|
|
871
871
|
}, [d, f]);
|
|
@@ -1022,23 +1022,23 @@ const oo = ({
|
|
|
1022
1022
|
width: E = "100perc",
|
|
1023
1023
|
virtualFocus: W,
|
|
1024
1024
|
...U
|
|
1025
|
-
},
|
|
1025
|
+
}, J) => {
|
|
1026
1026
|
nt({
|
|
1027
1027
|
component: "IressRichSelect",
|
|
1028
1028
|
defaultValue: i
|
|
1029
1029
|
});
|
|
1030
|
-
const [A, _] =
|
|
1030
|
+
const [A, _] = X(!1), [D, B] = X(""), { value: O, setValue: q, getValuesString: j, getLabelsString: te } = Jt({
|
|
1031
1031
|
component: "IressRichSelect",
|
|
1032
1032
|
defaultValue: i,
|
|
1033
1033
|
multiple: u,
|
|
1034
1034
|
value: C
|
|
1035
|
-
}), K = fe(null), Q = fe(null), { debouncedQuery: pe, error:
|
|
1035
|
+
}), K = fe(null), Q = fe(null), { debouncedQuery: pe, error: Y, results: ce, stopSearch: ve, loading: ne } = Lt({
|
|
1036
1036
|
debounceThreshold: r,
|
|
1037
1037
|
initialOptions: f,
|
|
1038
1038
|
options: $,
|
|
1039
1039
|
query: D
|
|
1040
1040
|
});
|
|
1041
|
-
Be(
|
|
1041
|
+
Be(J, () => K.current ? {
|
|
1042
1042
|
...K.current,
|
|
1043
1043
|
focus: () => {
|
|
1044
1044
|
var Ne, Ae;
|
|
@@ -1069,14 +1069,14 @@ const oo = ({
|
|
|
1069
1069
|
};
|
|
1070
1070
|
return /* @__PURE__ */ L(Je, { children: [
|
|
1071
1071
|
/* @__PURE__ */ a(
|
|
1072
|
-
|
|
1072
|
+
Ns,
|
|
1073
1073
|
{
|
|
1074
1074
|
...U,
|
|
1075
1075
|
activator: /* @__PURE__ */ a(
|
|
1076
1076
|
yo,
|
|
1077
1077
|
{
|
|
1078
1078
|
async: ae,
|
|
1079
|
-
error:
|
|
1079
|
+
error: Y,
|
|
1080
1080
|
id: l,
|
|
1081
1081
|
loading: ne,
|
|
1082
1082
|
multiSelect: u,
|
|
@@ -1110,7 +1110,7 @@ const oo = ({
|
|
|
1110
1110
|
{
|
|
1111
1111
|
autoHighlight: s,
|
|
1112
1112
|
debouncedQuery: pe,
|
|
1113
|
-
error:
|
|
1113
|
+
error: Y,
|
|
1114
1114
|
initialOptions: f,
|
|
1115
1115
|
loading: ne,
|
|
1116
1116
|
multiSelect: u,
|
|
@@ -1175,7 +1175,7 @@ const $o = ie(
|
|
|
1175
1175
|
role: i = "option",
|
|
1176
1176
|
...n
|
|
1177
1177
|
}) => /* @__PURE__ */ a(
|
|
1178
|
-
|
|
1178
|
+
$s,
|
|
1179
1179
|
{
|
|
1180
1180
|
...n,
|
|
1181
1181
|
className: V(vt.dropdownSelectedHeading, s),
|
|
@@ -1197,13 +1197,13 @@ const $o = ie(
|
|
|
1197
1197
|
), Mr = (e) => {
|
|
1198
1198
|
const s = Sr();
|
|
1199
1199
|
return /* @__PURE__ */ a(
|
|
1200
|
-
|
|
1200
|
+
ws,
|
|
1201
1201
|
{
|
|
1202
1202
|
...e,
|
|
1203
1203
|
role: (s == null ? void 0 : s.role) === "menu" ? void 0 : "presentation"
|
|
1204
1204
|
}
|
|
1205
1205
|
);
|
|
1206
|
-
},
|
|
1206
|
+
}, $s = ({
|
|
1207
1207
|
append: e,
|
|
1208
1208
|
children: s,
|
|
1209
1209
|
className: t,
|
|
@@ -1235,14 +1235,14 @@ const $o = ie(
|
|
|
1235
1235
|
level: t = "h2",
|
|
1236
1236
|
...r
|
|
1237
1237
|
}) => /* @__PURE__ */ a(
|
|
1238
|
-
|
|
1238
|
+
$s,
|
|
1239
1239
|
{
|
|
1240
1240
|
...r,
|
|
1241
1241
|
className: V(s, tt.heading),
|
|
1242
1242
|
children: /* @__PURE__ */ a(t, { children: e })
|
|
1243
1243
|
}
|
|
1244
1244
|
);
|
|
1245
|
-
Cr.Level =
|
|
1245
|
+
Cr.Level = bs;
|
|
1246
1246
|
const Ro = ({
|
|
1247
1247
|
append: e,
|
|
1248
1248
|
canToggle: s,
|
|
@@ -1371,7 +1371,7 @@ const Ro = ({
|
|
|
1371
1371
|
)}-${F}`
|
|
1372
1372
|
}
|
|
1373
1373
|
)),
|
|
1374
|
-
$ && (typeof o == "string" ? /* @__PURE__ */ a(
|
|
1374
|
+
$ && (typeof o == "string" ? /* @__PURE__ */ a($s, { children: o }) : o)
|
|
1375
1375
|
]
|
|
1376
1376
|
}
|
|
1377
1377
|
);
|
|
@@ -1390,7 +1390,7 @@ const Ro = ({
|
|
|
1390
1390
|
(i) => i.value === t || i.value === void 0 && i.label === t
|
|
1391
1391
|
)) ?? s.find(
|
|
1392
1392
|
(i) => i.value === t || i.value === void 0 && i.label === t
|
|
1393
|
-
), zo = "ids-select-search-input-
|
|
1393
|
+
), zo = "ids-select-search-input-v5141", Ks = {
|
|
1394
1394
|
selectSearchInput: zo
|
|
1395
1395
|
}, Tr = ie(
|
|
1396
1396
|
({
|
|
@@ -1409,8 +1409,8 @@ const Ro = ({
|
|
|
1409
1409
|
...d,
|
|
1410
1410
|
tabIndex: void 0,
|
|
1411
1411
|
autoComplete: e,
|
|
1412
|
-
className: V(s,
|
|
1413
|
-
[
|
|
1412
|
+
className: V(s, Ks.selectSearchInput, {
|
|
1413
|
+
[Ks.isActiveInPopover]: f
|
|
1414
1414
|
}),
|
|
1415
1415
|
placeholder: t,
|
|
1416
1416
|
prepend: r,
|
|
@@ -1455,24 +1455,24 @@ const Bo = ie(
|
|
|
1455
1455
|
watermark: E = !0,
|
|
1456
1456
|
...W
|
|
1457
1457
|
}, U) => {
|
|
1458
|
-
const [
|
|
1458
|
+
const [J, A] = X(!1), { value: _, setValue: D } = bt({
|
|
1459
1459
|
component: "IressAutocomplete",
|
|
1460
1460
|
defaultValue: f,
|
|
1461
1461
|
value: C
|
|
1462
|
-
}), [B, O] =
|
|
1462
|
+
}), [B, O] = X(!1), { clearError: q, debouncedQuery: j, error: te, loading: K, results: Q, stopSearch: pe } = Lt({
|
|
1463
1463
|
debounceThreshold: l,
|
|
1464
1464
|
initialOptions: u,
|
|
1465
1465
|
options: S,
|
|
1466
1466
|
query: yt(_)
|
|
1467
|
-
}),
|
|
1467
|
+
}), Y = gi({
|
|
1468
1468
|
debouncedQuery: j,
|
|
1469
1469
|
loading: K,
|
|
1470
1470
|
results: Q,
|
|
1471
1471
|
value: _
|
|
1472
1472
|
});
|
|
1473
1473
|
if (ee(() => {
|
|
1474
|
-
B && !
|
|
1475
|
-
}, [
|
|
1474
|
+
B && !J && Y.showResults && A(!0);
|
|
1475
|
+
}, [Y.showResults, J, B]), ee(() => {
|
|
1476
1476
|
te && A(!0);
|
|
1477
1477
|
}, [te]), H)
|
|
1478
1478
|
return /* @__PURE__ */ a(Ze, { value: _ });
|
|
@@ -1489,7 +1489,7 @@ const Bo = ie(
|
|
|
1489
1489
|
Ie(de == null ? void 0 : de.label),
|
|
1490
1490
|
de == null ? void 0 : de.label,
|
|
1491
1491
|
de
|
|
1492
|
-
), D(de == null ? void 0 : de.label), A(!1);
|
|
1492
|
+
), D(de == null ? void 0 : de.label), A(!1), O(!1);
|
|
1493
1493
|
}, ae = () => {
|
|
1494
1494
|
pe(), q(), A(!1), _ && O(!1);
|
|
1495
1495
|
};
|
|
@@ -1528,10 +1528,10 @@ const Bo = ie(
|
|
|
1528
1528
|
minLength: 0,
|
|
1529
1529
|
onActivated: () => (B || e) && A(!0),
|
|
1530
1530
|
onDeactivated: ae,
|
|
1531
|
-
show:
|
|
1531
|
+
show: J,
|
|
1532
1532
|
type: "listbox",
|
|
1533
1533
|
children: [
|
|
1534
|
-
|
|
1534
|
+
Y.showResults && /* @__PURE__ */ L(Je, { children: [
|
|
1535
1535
|
M,
|
|
1536
1536
|
/* @__PURE__ */ a(
|
|
1537
1537
|
xt,
|
|
@@ -1549,8 +1549,8 @@ const Bo = ie(
|
|
|
1549
1549
|
w
|
|
1550
1550
|
] }),
|
|
1551
1551
|
te && d,
|
|
1552
|
-
|
|
1553
|
-
|
|
1552
|
+
Y.showNoResults && !te && /* @__PURE__ */ a(
|
|
1553
|
+
Ss,
|
|
1554
1554
|
{
|
|
1555
1555
|
noResultsText: g,
|
|
1556
1556
|
styles: Et
|
|
@@ -1562,7 +1562,7 @@ const Bo = ie(
|
|
|
1562
1562
|
}
|
|
1563
1563
|
);
|
|
1564
1564
|
Bo.displayName = "IressAutocomplete";
|
|
1565
|
-
const Eo = "ids-checkbox--label-
|
|
1565
|
+
const Eo = "ids-checkbox--label-v5141", Oo = "ids-checkbox--mark-v5141", Ho = "ids-checkbox--checked-v5141", Uo = "ids-checkbox--indeterminate-v5141", Wo = "ids-checkbox-v5141", qo = "ids-checkbox--hidden-control-v5141", Po = "ids-checkbox--input-v5141", jo = "ids-checkbox--touch-v5141", Qo = "ids-checkbox--hidden-label-v5141", Ko = "ids-checkbox--label-span-v5141", Oe = {
|
|
1566
1566
|
label: Eo,
|
|
1567
1567
|
mark: Oo,
|
|
1568
1568
|
checked: Ho,
|
|
@@ -1594,9 +1594,9 @@ const Eo = "ids-checkbox--label-v5140", Oo = "ids-checkbox--mark-v5140", Ho = "i
|
|
|
1594
1594
|
defaultValue: t,
|
|
1595
1595
|
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."
|
|
1596
1596
|
});
|
|
1597
|
-
const $ = fe(null), b = $.current, S =
|
|
1597
|
+
const $ = fe(null), b = $.current, S = gs(), F = o ?? S, [w, M] = X(
|
|
1598
1598
|
n ?? !1
|
|
1599
|
-
), x =
|
|
1599
|
+
), x = ys(Mn), H = x ? void 0 : t, C = x ? _e(x.value).includes(d) : e, E = (x == null ? void 0 : x.hiddenCheckbox) ?? r, W = (x == null ? void 0 : x.touch) ?? p, U = (x == null ? void 0 : x.readonly) ?? m, J = (x == null ? void 0 : x.name) ?? l, {
|
|
1600
1600
|
value: A,
|
|
1601
1601
|
setValue: _,
|
|
1602
1602
|
isControlled: D
|
|
@@ -1656,7 +1656,7 @@ const Eo = "ids-checkbox--label-v5140", Oo = "ids-checkbox--mark-v5140", Ho = "i
|
|
|
1656
1656
|
className: V(Oe.input, Z.SROnly),
|
|
1657
1657
|
onChange: O,
|
|
1658
1658
|
ref: $,
|
|
1659
|
-
name:
|
|
1659
|
+
name: J
|
|
1660
1660
|
}
|
|
1661
1661
|
),
|
|
1662
1662
|
/* @__PURE__ */ L(
|
|
@@ -1694,7 +1694,7 @@ const Eo = "ids-checkbox--label-v5140", Oo = "ids-checkbox--mark-v5140", Ho = "i
|
|
|
1694
1694
|
Yo
|
|
1695
1695
|
);
|
|
1696
1696
|
Xo.displayName = "IressCheckbox";
|
|
1697
|
-
const
|
|
1697
|
+
const Vs = ({
|
|
1698
1698
|
loading: e,
|
|
1699
1699
|
noResultsText: s = "No results",
|
|
1700
1700
|
results: t = [],
|
|
@@ -1725,8 +1725,8 @@ const $s = ({
|
|
|
1725
1725
|
),
|
|
1726
1726
|
e
|
|
1727
1727
|
] }),
|
|
1728
|
-
i && /* @__PURE__ */ a(
|
|
1729
|
-
] }),
|
|
1728
|
+
i && /* @__PURE__ */ a(Ss, { noResultsText: t, styles: rt })
|
|
1729
|
+
] }), Rs = ie(
|
|
1730
1730
|
({
|
|
1731
1731
|
append: e = /* @__PURE__ */ a(le, { name: "search" }),
|
|
1732
1732
|
autoComplete: s = "off",
|
|
@@ -1757,22 +1757,22 @@ const $s = ({
|
|
|
1757
1757
|
readOnly: E,
|
|
1758
1758
|
required: W,
|
|
1759
1759
|
value: U,
|
|
1760
|
-
watermark:
|
|
1760
|
+
watermark: J = !0,
|
|
1761
1761
|
...A
|
|
1762
1762
|
}, _) => {
|
|
1763
1763
|
nt({
|
|
1764
1764
|
component: "IressCombobox",
|
|
1765
1765
|
defaultValue: l
|
|
1766
1766
|
});
|
|
1767
|
-
const D = Ee({ id: d }), B = `${D}-sr-text`, O = fe(null), [q, j] =
|
|
1767
|
+
const D = Ee({ id: d }), B = `${D}-sr-text`, O = fe(null), [q, j] = X(!1), { value: te, setValue: K, getLabelsString: Q, getValuesString: pe } = Jt({
|
|
1768
1768
|
component: "IressCombobox",
|
|
1769
1769
|
defaultValue: l,
|
|
1770
1770
|
value: U
|
|
1771
|
-
}), [
|
|
1771
|
+
}), [Y, ce] = X(""), [ve, ne] = X(Q()), { debouncedQuery: he, loading: ae, results: se, stopSearch: de } = Lt({
|
|
1772
1772
|
debounceThreshold: o,
|
|
1773
1773
|
initialOptions: u,
|
|
1774
1774
|
options: M,
|
|
1775
|
-
query:
|
|
1775
|
+
query: Y
|
|
1776
1776
|
}), Le = Lr({
|
|
1777
1777
|
debouncedQuery: he,
|
|
1778
1778
|
loading: ae,
|
|
@@ -1795,7 +1795,7 @@ const $s = ({
|
|
|
1795
1795
|
}, Ae = (I) => {
|
|
1796
1796
|
S == null || S(I), ce(""), ne(""), K(void 0), j(!1);
|
|
1797
1797
|
}, it = (I) => {
|
|
1798
|
-
F == null || F(I),
|
|
1798
|
+
F == null || F(I), Y || ce(ve);
|
|
1799
1799
|
}, zt = (I) => {
|
|
1800
1800
|
$ == null || $(I), ne(te ? Q() : "");
|
|
1801
1801
|
}, Bt = (I) => {
|
|
@@ -1837,7 +1837,7 @@ const $s = ({
|
|
|
1837
1837
|
onKeyDown: Bt,
|
|
1838
1838
|
ref: O,
|
|
1839
1839
|
value: ve,
|
|
1840
|
-
watermark:
|
|
1840
|
+
watermark: J
|
|
1841
1841
|
}
|
|
1842
1842
|
),
|
|
1843
1843
|
className: V(r, rt.popover),
|
|
@@ -1879,7 +1879,7 @@ const $s = ({
|
|
|
1879
1879
|
}
|
|
1880
1880
|
),
|
|
1881
1881
|
/* @__PURE__ */ a(
|
|
1882
|
-
|
|
1882
|
+
Vs,
|
|
1883
1883
|
{
|
|
1884
1884
|
"data-testid": T(n, "results-sr-text"),
|
|
1885
1885
|
id: B,
|
|
@@ -1893,10 +1893,10 @@ const $s = ({
|
|
|
1893
1893
|
);
|
|
1894
1894
|
}
|
|
1895
1895
|
);
|
|
1896
|
-
|
|
1897
|
-
|
|
1898
|
-
|
|
1899
|
-
const Jo = "ids-tag-
|
|
1896
|
+
Rs.displayName = "IressCombobox";
|
|
1897
|
+
Rs.DisplayMode = In;
|
|
1898
|
+
Rs.Width = xs;
|
|
1899
|
+
const Jo = "ids-tag-v5141", Zo = "ids-tag--content-v5141", Ys = {
|
|
1900
1900
|
tag: Jo,
|
|
1901
1901
|
content: Zo
|
|
1902
1902
|
}, qt = ({
|
|
@@ -1913,11 +1913,11 @@ const Jo = "ids-tag-v5140", Zo = "ids-tag--content-v5140", Ks = {
|
|
|
1913
1913
|
return /* @__PURE__ */ L(
|
|
1914
1914
|
"div",
|
|
1915
1915
|
{
|
|
1916
|
-
className: V(s, "iress-u-text",
|
|
1916
|
+
className: V(s, "iress-u-text", Ys.tag),
|
|
1917
1917
|
"data-testid": t,
|
|
1918
1918
|
...l,
|
|
1919
1919
|
children: [
|
|
1920
|
-
/* @__PURE__ */ a("span", { ref: f, className:
|
|
1920
|
+
/* @__PURE__ */ a("span", { ref: f, className: Ys.content, children: e }),
|
|
1921
1921
|
r ?? /* @__PURE__ */ a(
|
|
1922
1922
|
Ct,
|
|
1923
1923
|
{
|
|
@@ -1933,24 +1933,24 @@ const Jo = "ids-tag-v5140", Zo = "ids-tag--content-v5140", Ks = {
|
|
|
1933
1933
|
]
|
|
1934
1934
|
}
|
|
1935
1935
|
);
|
|
1936
|
-
}, Go = "ids-tag-list-input--input-
|
|
1936
|
+
}, Go = "ids-tag-list-input--input-v5141", ea = "ids-tag-list-input--readonly-v5141", ta = "ids-tag-list-input-v5141 ids-tag-list-input--input-v5141", sa = "ids-tag-list-input--tag-list-input__label-v5141", ra = "ids-tag-list-input--tag-list-input__items-v5141", na = "ids-tag-list-input--tag-list-input__items-inner-v5141", ia = "ids-tag-list-input--focus-v5141", oa = {
|
|
1937
1937
|
input: Go,
|
|
1938
1938
|
readonly: ea,
|
|
1939
|
-
"ids-field-group--join": "ids-field-group--join-
|
|
1940
|
-
"ids-field-group--fields": "ids-field-group--fields-
|
|
1941
|
-
"ids-field": "ids-field-
|
|
1939
|
+
"ids-field-group--join": "ids-field-group--join-v5141",
|
|
1940
|
+
"ids-field-group--fields": "ids-field-group--fields-v5141",
|
|
1941
|
+
"ids-field": "ids-field-v5141",
|
|
1942
1942
|
tagListInput: ta,
|
|
1943
|
-
"ids-input--addon": "ids-input--addon-
|
|
1944
|
-
"ids-clear-button--clear": "ids-clear-button--clear-
|
|
1943
|
+
"ids-input--addon": "ids-input--addon-v5141",
|
|
1944
|
+
"ids-clear-button--clear": "ids-clear-button--clear-v5141",
|
|
1945
1945
|
tagListInput__label: sa,
|
|
1946
1946
|
tagListInput__items: ra,
|
|
1947
|
-
"ids-input--watermark": "ids-input--watermark-
|
|
1948
|
-
"ids-inline": "ids-inline-
|
|
1949
|
-
"ids-input": "ids-input-
|
|
1947
|
+
"ids-input--watermark": "ids-input--watermark-v5141",
|
|
1948
|
+
"ids-inline": "ids-inline-v5141",
|
|
1949
|
+
"ids-input": "ids-input-v5141",
|
|
1950
1950
|
tagListInput__itemsInner: na,
|
|
1951
|
-
"iress-u-inline": "ids-tag-list-input--iress-u-inline-
|
|
1952
|
-
"ids-tag": "ids-tag-
|
|
1953
|
-
"pseudo-focus": "ids-tag-list-input--pseudo-focus-
|
|
1951
|
+
"iress-u-inline": "ids-tag-list-input--iress-u-inline-v5141",
|
|
1952
|
+
"ids-tag": "ids-tag-v5141",
|
|
1953
|
+
"pseudo-focus": "ids-tag-list-input--pseudo-focus-v5141",
|
|
1954
1954
|
focus: ia
|
|
1955
1955
|
}, et = ({
|
|
1956
1956
|
children: e,
|
|
@@ -1968,12 +1968,12 @@ const Jo = "ids-tag-v5140", Zo = "ids-tag--content-v5140", Ks = {
|
|
|
1968
1968
|
}, f = V(
|
|
1969
1969
|
s,
|
|
1970
1970
|
ht.Base,
|
|
1971
|
-
|
|
1971
|
+
Is(ht.Gutter, t, "none"),
|
|
1972
1972
|
l
|
|
1973
1973
|
);
|
|
1974
1974
|
return /* @__PURE__ */ a("div", { className: f, ...o, children: e });
|
|
1975
1975
|
};
|
|
1976
|
-
et.Gutter =
|
|
1976
|
+
et.Gutter = _s;
|
|
1977
1977
|
et.HorizontalAlign = vr;
|
|
1978
1978
|
et.VerticalAlign = gr;
|
|
1979
1979
|
const aa = ({
|
|
@@ -2009,7 +2009,7 @@ const aa = ({
|
|
|
2009
2009
|
n
|
|
2010
2010
|
]
|
|
2011
2011
|
}
|
|
2012
|
-
),
|
|
2012
|
+
), Ls = ie(
|
|
2013
2013
|
({
|
|
2014
2014
|
append: e,
|
|
2015
2015
|
children: s,
|
|
@@ -2093,7 +2093,7 @@ const aa = ({
|
|
|
2093
2093
|
);
|
|
2094
2094
|
}
|
|
2095
2095
|
);
|
|
2096
|
-
|
|
2096
|
+
Ls.displayName = "TagListInput";
|
|
2097
2097
|
const la = ie(
|
|
2098
2098
|
({
|
|
2099
2099
|
append: e = /* @__PURE__ */ a(le, { name: "search" }),
|
|
@@ -2125,7 +2125,7 @@ const la = ie(
|
|
|
2125
2125
|
required: E,
|
|
2126
2126
|
selectedOptionsTagText: W = "options selected",
|
|
2127
2127
|
type: U = "search",
|
|
2128
|
-
value:
|
|
2128
|
+
value: J,
|
|
2129
2129
|
watermark: A = !0,
|
|
2130
2130
|
..._
|
|
2131
2131
|
}, D) => {
|
|
@@ -2133,18 +2133,18 @@ const la = ie(
|
|
|
2133
2133
|
component: "IressMultiCombobox",
|
|
2134
2134
|
defaultValue: l
|
|
2135
2135
|
});
|
|
2136
|
-
const B = Ee({ id: d }), O = `${B}-sr-text`, [q, j] =
|
|
2136
|
+
const B = Ee({ id: d }), O = `${B}-sr-text`, [q, j] = X(!1), {
|
|
2137
2137
|
value: te,
|
|
2138
2138
|
setValue: K,
|
|
2139
2139
|
getValuesString: Q,
|
|
2140
2140
|
getLabelsArray: pe,
|
|
2141
|
-
getLabelsString:
|
|
2141
|
+
getLabelsString: Y
|
|
2142
2142
|
} = Jt({
|
|
2143
2143
|
component: "IressMultiCombobox",
|
|
2144
2144
|
defaultValue: l,
|
|
2145
2145
|
multiple: !0,
|
|
2146
|
-
value:
|
|
2147
|
-
}), [ce, ve] =
|
|
2146
|
+
value: J
|
|
2147
|
+
}), [ce, ve] = X(""), { debouncedQuery: ne, loading: he, results: ae, stopSearch: se } = Lt({
|
|
2148
2148
|
debounceThreshold: o,
|
|
2149
2149
|
initialOptions: u,
|
|
2150
2150
|
options: F,
|
|
@@ -2155,7 +2155,7 @@ const la = ie(
|
|
|
2155
2155
|
results: ae
|
|
2156
2156
|
});
|
|
2157
2157
|
if (C)
|
|
2158
|
-
return /* @__PURE__ */ a(Ze, { value: Q(), children:
|
|
2158
|
+
return /* @__PURE__ */ a(Ze, { value: Q(), children: Y(", ") });
|
|
2159
2159
|
const Le = (c) => {
|
|
2160
2160
|
ve(c.target.value);
|
|
2161
2161
|
}, Pe = (c) => {
|
|
@@ -2190,7 +2190,7 @@ const la = ie(
|
|
|
2190
2190
|
{
|
|
2191
2191
|
...H,
|
|
2192
2192
|
activator: /* @__PURE__ */ a(
|
|
2193
|
-
|
|
2193
|
+
Ls,
|
|
2194
2194
|
{
|
|
2195
2195
|
..._,
|
|
2196
2196
|
append: e,
|
|
@@ -2255,7 +2255,7 @@ const la = ie(
|
|
|
2255
2255
|
}
|
|
2256
2256
|
),
|
|
2257
2257
|
/* @__PURE__ */ a(
|
|
2258
|
-
|
|
2258
|
+
Vs,
|
|
2259
2259
|
{
|
|
2260
2260
|
"data-testid": T(n, "results-sr-text"),
|
|
2261
2261
|
id: O,
|
|
@@ -2270,7 +2270,7 @@ const la = ie(
|
|
|
2270
2270
|
}
|
|
2271
2271
|
);
|
|
2272
2272
|
la.displayName = "IressMultiCombobox";
|
|
2273
|
-
const ca = "ids-filter-
|
|
2273
|
+
const ca = "ids-filter-v5141", da = "ids-filter--chevron-v5141", ua = "ids-filter--search-input-v5141", fa = "ids-filter--option-list-v5141", ma = "ids-filter--no-results-v5141", ha = "ids-filter--utils-with-reset-v5141", pa = "ids-filter--utils-searchable-v5141", va = "ids-filter--option-content-v5141", ga = "ids-filter--option-meta-v5141", ya = "ids-filter--option-meta-text-v5141", ba = "ids-filter--reset-v5141", Te = {
|
|
2274
2274
|
filter: ca,
|
|
2275
2275
|
chevron: da,
|
|
2276
2276
|
searchInput: ua,
|
|
@@ -2325,7 +2325,7 @@ const Er = ie(
|
|
|
2325
2325
|
}
|
|
2326
2326
|
);
|
|
2327
2327
|
Er.displayName = "FilterResetButton";
|
|
2328
|
-
const
|
|
2328
|
+
const Xs = {
|
|
2329
2329
|
align: "bottom-start"
|
|
2330
2330
|
}, xa = ie(
|
|
2331
2331
|
({
|
|
@@ -2352,7 +2352,7 @@ const Ys = {
|
|
|
2352
2352
|
append: $,
|
|
2353
2353
|
prepend: b,
|
|
2354
2354
|
...S
|
|
2355
|
-
} =
|
|
2355
|
+
} = Xs,
|
|
2356
2356
|
searchable: F,
|
|
2357
2357
|
searchNoResultsText: w,
|
|
2358
2358
|
selectedOptionsText: M,
|
|
@@ -2360,7 +2360,7 @@ const Ys = {
|
|
|
2360
2360
|
visibleResetButton: H,
|
|
2361
2361
|
...C
|
|
2362
2362
|
}, E) => {
|
|
2363
|
-
const W = Ee({ id: n }), U = `${W}-sr-text`,
|
|
2363
|
+
const W = Ee({ id: n }), U = `${W}-sr-text`, J = fe(null), A = Se(
|
|
2364
2364
|
() => F ?? typeof y == "function",
|
|
2365
2365
|
[y, F]
|
|
2366
2366
|
), _ = {
|
|
@@ -2368,22 +2368,22 @@ const Ys = {
|
|
|
2368
2368
|
prepend: /* @__PURE__ */ a(le, { name: "search" }),
|
|
2369
2369
|
watermark: !0,
|
|
2370
2370
|
...l
|
|
2371
|
-
}, D = { ...
|
|
2371
|
+
}, D = { ...Xs, ...S }, { value: B, setValue: O } = Jt({
|
|
2372
2372
|
component: "IressFilter",
|
|
2373
2373
|
defaultValue: i,
|
|
2374
2374
|
multiple: m,
|
|
2375
2375
|
value: x
|
|
2376
|
-
}), [q, j] =
|
|
2376
|
+
}), [q, j] = X(""), [te, K] = X(!1), Q = (se) => {
|
|
2377
2377
|
j(se.target.value);
|
|
2378
2378
|
}, pe = () => {
|
|
2379
2379
|
j("");
|
|
2380
|
-
},
|
|
2380
|
+
}, Y = (se) => {
|
|
2381
2381
|
p == null || p(se), O(se), m || K(!1);
|
|
2382
2382
|
}, ce = () => {
|
|
2383
2383
|
O(void 0), g == null || g(), m || K(!1);
|
|
2384
2384
|
};
|
|
2385
2385
|
Be(E, () => ({
|
|
2386
|
-
element:
|
|
2386
|
+
element: J.current ?? void 0,
|
|
2387
2387
|
clearSearch: () => j(""),
|
|
2388
2388
|
reset: () => O(i)
|
|
2389
2389
|
}));
|
|
@@ -2409,10 +2409,10 @@ const Ys = {
|
|
|
2409
2409
|
}),
|
|
2410
2410
|
"data-testid": t,
|
|
2411
2411
|
id: W,
|
|
2412
|
-
ref:
|
|
2412
|
+
ref: J,
|
|
2413
2413
|
children: [
|
|
2414
2414
|
/* @__PURE__ */ L(
|
|
2415
|
-
|
|
2415
|
+
Ns,
|
|
2416
2416
|
{
|
|
2417
2417
|
...D,
|
|
2418
2418
|
activator: /* @__PURE__ */ L(
|
|
@@ -2445,7 +2445,7 @@ const Ys = {
|
|
|
2445
2445
|
children: [
|
|
2446
2446
|
b,
|
|
2447
2447
|
ae.showHeader && /* @__PURE__ */ L(Je, { children: [
|
|
2448
|
-
/* @__PURE__ */ L(
|
|
2448
|
+
/* @__PURE__ */ L(As, { background: "transparent", children: [
|
|
2449
2449
|
A && /* @__PURE__ */ a(
|
|
2450
2450
|
Br,
|
|
2451
2451
|
{
|
|
@@ -2466,7 +2466,7 @@ const Ys = {
|
|
|
2466
2466
|
}
|
|
2467
2467
|
)
|
|
2468
2468
|
] }),
|
|
2469
|
-
/* @__PURE__ */ a(
|
|
2469
|
+
/* @__PURE__ */ a(ws, { gutter: "none" })
|
|
2470
2470
|
] }),
|
|
2471
2471
|
ae.showResults && /* @__PURE__ */ a(
|
|
2472
2472
|
xt,
|
|
@@ -2477,13 +2477,13 @@ const Ys = {
|
|
|
2477
2477
|
limitDesktop: f,
|
|
2478
2478
|
limitMobile: d,
|
|
2479
2479
|
multiSelect: m,
|
|
2480
|
-
onChange:
|
|
2480
|
+
onChange: Y,
|
|
2481
2481
|
selected: B,
|
|
2482
2482
|
selectedFirst: m
|
|
2483
2483
|
}
|
|
2484
2484
|
),
|
|
2485
2485
|
ae.showNoResults && /* @__PURE__ */ a(
|
|
2486
|
-
|
|
2486
|
+
Ss,
|
|
2487
2487
|
{
|
|
2488
2488
|
noResultsText: w,
|
|
2489
2489
|
styles: Te
|
|
@@ -2495,7 +2495,7 @@ const Ys = {
|
|
|
2495
2495
|
),
|
|
2496
2496
|
e,
|
|
2497
2497
|
/* @__PURE__ */ a(
|
|
2498
|
-
|
|
2498
|
+
Vs,
|
|
2499
2499
|
{
|
|
2500
2500
|
"data-testid": T(t, "results-sr-text"),
|
|
2501
2501
|
id: U,
|
|
@@ -2515,7 +2515,7 @@ const Or = (e) => typeof e == "object";
|
|
|
2515
2515
|
var me = (e) => !ke(e) && !Array.isArray(e) && Or(e) && !dt(e), Hr = (e) => me(e) && e.target ? Tt(e.target) ? e.target.checked : e.target.value : e, _a = (e) => e.substring(0, e.search(/\.\d+(\.|$)/)) || e, Ur = (e, s) => e.has(_a(s)), Sa = (e) => {
|
|
2516
2516
|
const s = e.constructor && e.constructor.prototype;
|
|
2517
2517
|
return me(s) && s.hasOwnProperty("isPrototypeOf");
|
|
2518
|
-
},
|
|
2518
|
+
}, Ds = typeof window < "u" && typeof window.HTMLElement < "u" && typeof document < "u";
|
|
2519
2519
|
function $e(e) {
|
|
2520
2520
|
let s;
|
|
2521
2521
|
const t = Array.isArray(e);
|
|
@@ -2523,7 +2523,7 @@ function $e(e) {
|
|
|
2523
2523
|
s = new Date(e);
|
|
2524
2524
|
else if (e instanceof Set)
|
|
2525
2525
|
s = new Set(e);
|
|
2526
|
-
else if (!(
|
|
2526
|
+
else if (!(Ds && (e instanceof Blob || e instanceof FileList)) && (t || me(e)))
|
|
2527
2527
|
if (s = t ? [] : {}, !t && !Sa(e))
|
|
2528
2528
|
s = e;
|
|
2529
2529
|
else
|
|
@@ -2538,9 +2538,9 @@ var es = (e) => Array.isArray(e) ? e.filter(Boolean) : [], ue = (e) => e === voi
|
|
|
2538
2538
|
return t;
|
|
2539
2539
|
const r = es(s.split(/[,[\].]+?/)).reduce((i, n) => ke(i) ? i : i[n], e);
|
|
2540
2540
|
return ue(r) || r === e ? ue(e[s]) ? t : e[s] : r;
|
|
2541
|
-
}, De = (e) => typeof e == "boolean",
|
|
2541
|
+
}, De = (e) => typeof e == "boolean", Ms = (e) => /^\w*$/.test(e), Wr = (e) => es(e.replace(/["|']|\]/g, "").split(/\.|\[/)), re = (e, s, t) => {
|
|
2542
2542
|
let r = -1;
|
|
2543
|
-
const i =
|
|
2543
|
+
const i = Ms(s) ? [s] : Wr(s), n = i.length, o = n - 1;
|
|
2544
2544
|
for (; ++r < n; ) {
|
|
2545
2545
|
const l = i[r];
|
|
2546
2546
|
let f = t;
|
|
@@ -2593,7 +2593,7 @@ var Pr = (e, s, t, r = !0) => {
|
|
|
2593
2593
|
const { name: i, ...n } = e;
|
|
2594
2594
|
return Ve(n) || Object.keys(n).length >= Object.keys(s).length || Object.keys(n).find((o) => s[o] === (!r || ze.all));
|
|
2595
2595
|
}, $t = (e) => Array.isArray(e) ? e : [e], Qr = (e, s, t) => !e || !s || e === s || $t(e).some((r) => r && (t ? r === s : r.startsWith(s) || s.startsWith(r)));
|
|
2596
|
-
function
|
|
2596
|
+
function Cs(e) {
|
|
2597
2597
|
const s = G.useRef(e);
|
|
2598
2598
|
s.current = e, G.useEffect(() => {
|
|
2599
2599
|
const t = !e.disabled && s.current.subject && s.current.subject.subscribe({
|
|
@@ -2615,7 +2615,7 @@ function wa(e) {
|
|
|
2615
2615
|
isValid: !1,
|
|
2616
2616
|
errors: !1
|
|
2617
2617
|
}), u = G.useRef(i);
|
|
2618
|
-
return u.current = i,
|
|
2618
|
+
return u.current = i, Cs({
|
|
2619
2619
|
disabled: r,
|
|
2620
2620
|
next: (m) => f.current && Qr(u.current, m.name, n) && jr(m, d.current, t._updateFormState) && l({
|
|
2621
2621
|
...t._formState,
|
|
@@ -2629,7 +2629,7 @@ function wa(e) {
|
|
|
2629
2629
|
var We = (e) => typeof e == "string", Kr = (e, s, t, r, i) => We(e) ? (r && s.watch.add(e), R(t, e, i)) : Array.isArray(e) ? e.map((n) => (r && s.watch.add(n), R(t, n))) : (r && (s.watchAll = !0), t);
|
|
2630
2630
|
function Yr(e) {
|
|
2631
2631
|
const s = ts(), { control: t = s.control, name: r, defaultValue: i, disabled: n, exact: o } = e || {}, l = G.useRef(r);
|
|
2632
|
-
l.current = r,
|
|
2632
|
+
l.current = r, Cs({
|
|
2633
2633
|
disabled: n,
|
|
2634
2634
|
subject: t._subjects.values,
|
|
2635
2635
|
next: (u) => {
|
|
@@ -2733,13 +2733,13 @@ var Ia = (e, s, t, r, i) => s ? {
|
|
|
2733
2733
|
...t[e] && t[e].types ? t[e].types : {},
|
|
2734
2734
|
[r]: i || !0
|
|
2735
2735
|
}
|
|
2736
|
-
} : {},
|
|
2736
|
+
} : {}, Js = (e) => ({
|
|
2737
2737
|
isOnSubmit: !e || e === ze.onSubmit,
|
|
2738
2738
|
isOnBlur: e === ze.onBlur,
|
|
2739
2739
|
isOnChange: e === ze.onChange,
|
|
2740
2740
|
isOnAll: e === ze.all,
|
|
2741
2741
|
isOnTouch: e === ze.onTouched
|
|
2742
|
-
}),
|
|
2742
|
+
}), Zs = (e, s, t) => !t && (s.watchAll || s.watch.has(e) || [...s.watch].some((r) => e.startsWith(r) && /^\.\w+/.test(e.slice(r.length))));
|
|
2743
2743
|
const Vt = (e, s, t, r) => {
|
|
2744
2744
|
for (const i of t || Object.keys(e)) {
|
|
2745
2745
|
const n = R(e, i);
|
|
@@ -2760,16 +2760,16 @@ const Vt = (e, s, t, r) => {
|
|
|
2760
2760
|
var ka = (e, s, t) => {
|
|
2761
2761
|
const r = $t(R(e, t));
|
|
2762
2762
|
return re(r, "root", s[t]), re(e, t, r), e;
|
|
2763
|
-
},
|
|
2764
|
-
if (!
|
|
2763
|
+
}, Ts = (e) => e.type === "file", Ye = (e) => typeof e == "function", jt = (e) => {
|
|
2764
|
+
if (!Ds)
|
|
2765
2765
|
return !1;
|
|
2766
2766
|
const s = e ? e.ownerDocument : 0;
|
|
2767
2767
|
return e instanceof (s && s.defaultView ? s.defaultView.HTMLElement : HTMLElement);
|
|
2768
|
-
}, Ot = (e) => We(e),
|
|
2769
|
-
const
|
|
2768
|
+
}, Ot = (e) => We(e), zs = (e) => e.type === "radio", Qt = (e) => e instanceof RegExp;
|
|
2769
|
+
const Gs = {
|
|
2770
2770
|
value: !1,
|
|
2771
2771
|
isValid: !1
|
|
2772
|
-
},
|
|
2772
|
+
}, er = { value: !0, isValid: !0 };
|
|
2773
2773
|
var Xr = (e) => {
|
|
2774
2774
|
if (Array.isArray(e)) {
|
|
2775
2775
|
if (e.length > 1) {
|
|
@@ -2778,20 +2778,20 @@ var Xr = (e) => {
|
|
|
2778
2778
|
}
|
|
2779
2779
|
return e[0].checked && !e[0].disabled ? (
|
|
2780
2780
|
// @ts-expect-error expected to work in the browser
|
|
2781
|
-
e[0].attributes && !ue(e[0].attributes.value) ? ue(e[0].value) || e[0].value === "" ?
|
|
2782
|
-
) :
|
|
2781
|
+
e[0].attributes && !ue(e[0].attributes.value) ? ue(e[0].value) || e[0].value === "" ? er : { value: e[0].value, isValid: !0 } : er
|
|
2782
|
+
) : Gs;
|
|
2783
2783
|
}
|
|
2784
|
-
return
|
|
2784
|
+
return Gs;
|
|
2785
2785
|
};
|
|
2786
|
-
const
|
|
2786
|
+
const tr = {
|
|
2787
2787
|
isValid: !1,
|
|
2788
2788
|
value: null
|
|
2789
2789
|
};
|
|
2790
2790
|
var Jr = (e) => Array.isArray(e) ? e.reduce((s, t) => t && t.checked && !t.disabled ? {
|
|
2791
2791
|
isValid: !0,
|
|
2792
2792
|
value: t.value
|
|
2793
|
-
} : s,
|
|
2794
|
-
function
|
|
2793
|
+
} : s, tr) : tr;
|
|
2794
|
+
function sr(e, s, t = "validate") {
|
|
2795
2795
|
if (Ot(e) || Array.isArray(e) && e.every(Ot) || De(e) && !e)
|
|
2796
2796
|
return {
|
|
2797
2797
|
type: t,
|
|
@@ -2802,13 +2802,13 @@ function tr(e, s, t = "validate") {
|
|
|
2802
2802
|
var mt = (e) => me(e) && !Qt(e) ? e : {
|
|
2803
2803
|
value: e,
|
|
2804
2804
|
message: ""
|
|
2805
|
-
},
|
|
2805
|
+
}, rr = async (e, s, t, r, i) => {
|
|
2806
2806
|
const { ref: n, refs: o, required: l, maxLength: f, minLength: d, min: u, max: m, pattern: p, validate: g, name: y, valueAsNumber: $, mount: b, disabled: S } = e._f, F = R(s, y);
|
|
2807
2807
|
if (!b || S)
|
|
2808
2808
|
return {};
|
|
2809
2809
|
const w = o ? o[0] : n, M = (A) => {
|
|
2810
2810
|
r && w.reportValidity && (w.setCustomValidity(De(A) ? "" : A || ""), w.reportValidity());
|
|
2811
|
-
}, x = {}, H =
|
|
2811
|
+
}, x = {}, H = zs(n), C = Tt(n), E = H || C, W = ($ || Ts(n)) && ue(n.value) && ue(F) || jt(n) && n.value === "" || F === "" || Array.isArray(F) && !F.length, U = Ia.bind(null, y, t, x), J = (A, _, D, B = je.maxLength, O = je.minLength) => {
|
|
2812
2812
|
const q = A ? _ : D;
|
|
2813
2813
|
x[y] = {
|
|
2814
2814
|
type: A ? B : O,
|
|
@@ -2837,12 +2837,12 @@ var mt = (e) => me(e) && !Qt(e) ? e : {
|
|
|
2837
2837
|
const O = n.valueAsDate || new Date(F), q = (K) => /* @__PURE__ */ new Date((/* @__PURE__ */ new Date()).toDateString() + " " + K), j = n.type == "time", te = n.type == "week";
|
|
2838
2838
|
We(D.value) && F && (A = j ? q(F) > q(D.value) : te ? F > D.value : O > new Date(D.value)), We(B.value) && F && (_ = j ? q(F) < q(B.value) : te ? F < B.value : O < new Date(B.value));
|
|
2839
2839
|
}
|
|
2840
|
-
if ((A || _) && (
|
|
2840
|
+
if ((A || _) && (J(!!A, D.message, B.message, je.max, je.min), !t))
|
|
2841
2841
|
return M(x[y].message), x;
|
|
2842
2842
|
}
|
|
2843
2843
|
if ((f || d) && !W && (We(F) || i && Array.isArray(F))) {
|
|
2844
2844
|
const A = mt(f), _ = mt(d), D = !ke(A.value) && F.length > +A.value, B = !ke(_.value) && F.length < +_.value;
|
|
2845
|
-
if ((D || B) && (
|
|
2845
|
+
if ((D || B) && (J(D, A.message, _.message), !t))
|
|
2846
2846
|
return M(x[y].message), x;
|
|
2847
2847
|
}
|
|
2848
2848
|
if (p && !W && We(F)) {
|
|
@@ -2857,7 +2857,7 @@ var mt = (e) => me(e) && !Qt(e) ? e : {
|
|
|
2857
2857
|
}
|
|
2858
2858
|
if (g) {
|
|
2859
2859
|
if (Ye(g)) {
|
|
2860
|
-
const A = await g(F, s), _ =
|
|
2860
|
+
const A = await g(F, s), _ = sr(A, w);
|
|
2861
2861
|
if (_ && (x[y] = {
|
|
2862
2862
|
..._,
|
|
2863
2863
|
...U(je.validate, _.message)
|
|
@@ -2868,7 +2868,7 @@ var mt = (e) => me(e) && !Qt(e) ? e : {
|
|
|
2868
2868
|
for (const _ in g) {
|
|
2869
2869
|
if (!Ve(A) && !t)
|
|
2870
2870
|
break;
|
|
2871
|
-
const D =
|
|
2871
|
+
const D = sr(await g[_](F, s), w, _);
|
|
2872
2872
|
D && (A = {
|
|
2873
2873
|
...D,
|
|
2874
2874
|
...U(_, D.message)
|
|
@@ -2897,7 +2897,7 @@ function Aa(e) {
|
|
|
2897
2897
|
return !0;
|
|
2898
2898
|
}
|
|
2899
2899
|
function ge(e, s) {
|
|
2900
|
-
const t = Array.isArray(s) ? s :
|
|
2900
|
+
const t = Array.isArray(s) ? s : Ms(s) ? [s] : Wr(s), r = t.length === 1 ? e : Fa(e, t), i = t.length - 1, n = t[i];
|
|
2901
2901
|
return r && delete r[n], i !== 0 && (me(r) && Ve(r) || Array.isArray(r) && Aa(r)) && ge(e, t.slice(0, -1)), e;
|
|
2902
2902
|
}
|
|
2903
2903
|
var ds = () => {
|
|
@@ -2940,7 +2940,7 @@ function st(e, s) {
|
|
|
2940
2940
|
}
|
|
2941
2941
|
return !0;
|
|
2942
2942
|
}
|
|
2943
|
-
var Zr = (e) => e.type === "select-multiple", $a = (e) =>
|
|
2943
|
+
var Zr = (e) => e.type === "select-multiple", $a = (e) => zs(e) || Tt(e), us = (e) => jt(e) && e.isConnected, Gr = (e) => {
|
|
2944
2944
|
for (const s in e)
|
|
2945
2945
|
if (Ye(e[s]))
|
|
2946
2946
|
return !0;
|
|
@@ -2964,7 +2964,7 @@ var It = (e, s) => en(e, s, Kt(s)), tn = (e, { valueAsNumber: s, valueAsDate: t,
|
|
|
2964
2964
|
function fs(e) {
|
|
2965
2965
|
const s = e.ref;
|
|
2966
2966
|
if (!(e.refs ? e.refs.every((t) => t.disabled) : s.disabled))
|
|
2967
|
-
return
|
|
2967
|
+
return Ts(s) ? s.files : zs(s) ? Jr(e.refs).value : Zr(s) ? [...s.selectedOptions].map(({ value: t }) => t) : Tt(s) ? Xr(e.refs).value : tn(ue(s.value) ? e.ref.value : s.value, e);
|
|
2968
2968
|
}
|
|
2969
2969
|
var Va = (e, s, t, r) => {
|
|
2970
2970
|
const i = {};
|
|
@@ -2979,11 +2979,11 @@ var Va = (e, s, t, r) => {
|
|
|
2979
2979
|
shouldUseNativeValidation: r
|
|
2980
2980
|
};
|
|
2981
2981
|
}, kt = (e) => ue(e) ? e : Qt(e) ? e.source : me(e) ? Qt(e.value) ? e.value.source : e.value : e;
|
|
2982
|
-
const
|
|
2983
|
-
var Ra = (e) => (!e || !e.validate) && !!(Ye(e.validate) && e.validate.constructor.name ===
|
|
2984
|
-
function
|
|
2982
|
+
const nr = "AsyncFunction";
|
|
2983
|
+
var Ra = (e) => (!e || !e.validate) && !!(Ye(e.validate) && e.validate.constructor.name === nr || me(e.validate) && Object.values(e.validate).find((s) => s.constructor.name === nr)), La = (e) => e.mount && (e.required || e.min || e.max || e.maxLength || e.minLength || e.pattern || e.validate);
|
|
2984
|
+
function ir(e, s, t) {
|
|
2985
2985
|
const r = R(e, t);
|
|
2986
|
-
if (r ||
|
|
2986
|
+
if (r || Ms(t))
|
|
2987
2987
|
return {
|
|
2988
2988
|
error: r,
|
|
2989
2989
|
name: t
|
|
@@ -3050,7 +3050,7 @@ function Ta(e = {}) {
|
|
|
3050
3050
|
values: ds(),
|
|
3051
3051
|
array: ds(),
|
|
3052
3052
|
state: ds()
|
|
3053
|
-
}, p =
|
|
3053
|
+
}, p = Js(s.mode), g = Js(s.reValidateMode), y = s.criteriaMode === ze.all, $ = (c) => (h) => {
|
|
3054
3054
|
clearTimeout(d), d = setTimeout(c, h);
|
|
3055
3055
|
}, b = async (c) => {
|
|
3056
3056
|
if (!e.disabled && (u.isValid || c)) {
|
|
@@ -3161,7 +3161,7 @@ function Ta(e = {}) {
|
|
|
3161
3161
|
if (k) {
|
|
3162
3162
|
const P = l.array.has(k.name), ye = N._f && Ra(N._f);
|
|
3163
3163
|
ye && u.validatingFields && S([I], !0);
|
|
3164
|
-
const be = await
|
|
3164
|
+
const be = await rr(N, n, y, s.shouldUseNativeValidation && !h, P);
|
|
3165
3165
|
if (ye && u.validatingFields && S([I]), be[k.name] && (v.valid = !1, h))
|
|
3166
3166
|
break;
|
|
3167
3167
|
!h && (R(be, k.name) ? P ? ka(t.errors, be, k.name) : re(t.errors, k.name, be[k.name]) : ge(t.errors, k.name));
|
|
@@ -3170,7 +3170,7 @@ function Ta(e = {}) {
|
|
|
3170
3170
|
}
|
|
3171
3171
|
}
|
|
3172
3172
|
return v.valid;
|
|
3173
|
-
},
|
|
3173
|
+
}, J = () => {
|
|
3174
3174
|
for (const c of l.unMount) {
|
|
3175
3175
|
const h = R(r, c);
|
|
3176
3176
|
h && (h._f.refs ? h._f.refs.every((v) => !us(v)) : !us(h._f.ref)) && ne(c);
|
|
@@ -3183,7 +3183,7 @@ function Ta(e = {}) {
|
|
|
3183
3183
|
let N = h;
|
|
3184
3184
|
if (I) {
|
|
3185
3185
|
const k = I._f;
|
|
3186
|
-
k && (!k.disabled && re(n, c, tn(h, k)), N = jt(k.ref) && ke(h) ? "" : h, Zr(k.ref) ? [...k.ref.options].forEach((z) => z.selected = N.includes(z.value)) : k.refs ? Tt(k.ref) ? k.refs.length > 1 ? k.refs.forEach((z) => (!z.defaultChecked || !z.disabled) && (z.checked = Array.isArray(N) ? !!N.find((P) => P === z.value) : N === z.value)) : k.refs[0] && (k.refs[0].checked = !!N) : k.refs.forEach((z) => z.checked = z.value === N) :
|
|
3186
|
+
k && (!k.disabled && re(n, c, tn(h, k)), N = jt(k.ref) && ke(h) ? "" : h, Zr(k.ref) ? [...k.ref.options].forEach((z) => z.selected = N.includes(z.value)) : k.refs ? Tt(k.ref) ? k.refs.length > 1 ? k.refs.forEach((z) => (!z.defaultChecked || !z.disabled) && (z.checked = Array.isArray(N) ? !!N.find((P) => P === z.value) : N === z.value)) : k.refs[0] && (k.refs[0].checked = !!N) : k.refs.forEach((z) => z.checked = z.value === N) : Ts(k.ref) ? k.ref.value = "" : (k.ref.value = N, k.ref.type || m.values.next({
|
|
3187
3187
|
name: c,
|
|
3188
3188
|
values: { ...n }
|
|
3189
3189
|
})));
|
|
@@ -3203,7 +3203,7 @@ function Ta(e = {}) {
|
|
|
3203
3203
|
name: c,
|
|
3204
3204
|
dirtyFields: It(i, n),
|
|
3205
3205
|
isDirty: A(c, k)
|
|
3206
|
-
})) : I && !I._f && !ke(k) ? O(c, k, v) : B(c, k, v),
|
|
3206
|
+
})) : I && !I._f && !ke(k) ? O(c, k, v) : B(c, k, v), Zs(c, l) && m.state.next({ ...t }), m.values.next({
|
|
3207
3207
|
name: o.mount ? c : void 0,
|
|
3208
3208
|
values: { ...n }
|
|
3209
3209
|
});
|
|
@@ -3216,7 +3216,7 @@ function Ta(e = {}) {
|
|
|
3216
3216
|
};
|
|
3217
3217
|
if (N) {
|
|
3218
3218
|
let P, ye;
|
|
3219
|
-
const be = k(), ot = c.type === Pt.BLUR || c.type === Pt.FOCUS_OUT, un = !La(N._f) && !s.resolver && !R(t.errors, v) && !N._f.deps || Da(ot, R(t.touchedFields, v), t.isSubmitted, g, p), rs =
|
|
3219
|
+
const be = k(), ot = c.type === Pt.BLUR || c.type === Pt.FOCUS_OUT, un = !La(N._f) && !s.resolver && !R(t.errors, v) && !N._f.deps || Da(ot, R(t.touchedFields, v), t.isSubmitted, g, p), rs = Zs(v, l, ot);
|
|
3220
3220
|
re(n, v, be), ot ? (N._f.onBlur && N._f.onBlur(c), f && f(0)) : N._f.onChange && N._f.onChange(c);
|
|
3221
3221
|
const ns = H(v, be, ot, !1), fn = !Ve(ns) || rs;
|
|
3222
3222
|
if (!ot && m.values.next({
|
|
@@ -3226,13 +3226,13 @@ function Ta(e = {}) {
|
|
|
3226
3226
|
}), un)
|
|
3227
3227
|
return u.isValid && (e.mode === "onBlur" ? ot && b() : b()), fn && m.state.next({ name: v, ...rs ? {} : ns });
|
|
3228
3228
|
if (!ot && rs && m.state.next({ ...t }), s.resolver) {
|
|
3229
|
-
const { errors:
|
|
3229
|
+
const { errors: Es } = await E([v]);
|
|
3230
3230
|
if (z(be), I) {
|
|
3231
|
-
const mn =
|
|
3232
|
-
P =
|
|
3231
|
+
const mn = ir(t.errors, r, v), Os = ir(Es, r, mn.name || v);
|
|
3232
|
+
P = Os.error, v = Os.name, ye = Ve(Es);
|
|
3233
3233
|
}
|
|
3234
3234
|
} else
|
|
3235
|
-
S([v], !0), P = (await
|
|
3235
|
+
S([v], !0), P = (await rr(N, n, y, s.shouldUseNativeValidation))[v], S([v]), z(be), I && (P ? ye = !1 : u.isValid && (ye = await U(r, !0)));
|
|
3236
3236
|
I && (N._f.deps && K(N._f.deps), C(v, ye, P, ns));
|
|
3237
3237
|
}
|
|
3238
3238
|
}, te = (c, h) => {
|
|
@@ -3264,7 +3264,7 @@ function Ta(e = {}) {
|
|
|
3264
3264
|
error: R((h || t).errors, c),
|
|
3265
3265
|
isValidating: !!R(t.validatingFields, c),
|
|
3266
3266
|
isTouched: !!R((h || t).touchedFields, c)
|
|
3267
|
-
}),
|
|
3267
|
+
}), Y = (c) => {
|
|
3268
3268
|
c && $t(c).forEach((h) => ge(t.errors, h)), m.state.next({
|
|
3269
3269
|
errors: c ? t.errors : {}
|
|
3270
3270
|
});
|
|
@@ -3397,7 +3397,7 @@ function Ta(e = {}) {
|
|
|
3397
3397
|
for (const P of Array.from(z))
|
|
3398
3398
|
R(t.dirtyFields, P) ? re(k, P, R(n, P)) : q(P, R(k, P));
|
|
3399
3399
|
} else {
|
|
3400
|
-
if (
|
|
3400
|
+
if (Ds && ue(c))
|
|
3401
3401
|
for (const z of l.mount) {
|
|
3402
3402
|
const P = R(r, z);
|
|
3403
3403
|
if (P && P._f) {
|
|
@@ -3448,7 +3448,7 @@ function Ta(e = {}) {
|
|
|
3448
3448
|
_getWatch: _,
|
|
3449
3449
|
_getDirty: A,
|
|
3450
3450
|
_updateValid: b,
|
|
3451
|
-
_removeUnmounted:
|
|
3451
|
+
_removeUnmounted: J,
|
|
3452
3452
|
_updateFieldArray: F,
|
|
3453
3453
|
_updateDisabledField: he,
|
|
3454
3454
|
_getFieldArray: D,
|
|
@@ -3513,7 +3513,7 @@ function Ta(e = {}) {
|
|
|
3513
3513
|
getValues: Q,
|
|
3514
3514
|
reset: Ae,
|
|
3515
3515
|
resetField: Pe,
|
|
3516
|
-
clearErrors:
|
|
3516
|
+
clearErrors: Y,
|
|
3517
3517
|
unregister: ne,
|
|
3518
3518
|
setError: ce,
|
|
3519
3519
|
setFocus: (c, h = {}) => {
|
|
@@ -3548,7 +3548,7 @@ function sn(e = {}) {
|
|
|
3548
3548
|
formState: r
|
|
3549
3549
|
});
|
|
3550
3550
|
const n = s.current.control;
|
|
3551
|
-
return n._options = e,
|
|
3551
|
+
return n._options = e, Cs({
|
|
3552
3552
|
subject: n._subjects.state,
|
|
3553
3553
|
next: (o) => {
|
|
3554
3554
|
jr(o, n._proxyFormState, n._updateFormState, !0) && i({ ...n._formState });
|
|
@@ -3574,7 +3574,7 @@ function sn(e = {}) {
|
|
|
3574
3574
|
s.current && (s.current.watch = s.current.watch.bind({}));
|
|
3575
3575
|
}, [r]), s.current.formState = Pr(r, n), s.current;
|
|
3576
3576
|
}
|
|
3577
|
-
const za = "ids-form--alert-
|
|
3577
|
+
const za = "ids-form--alert-v5141", Ba = {
|
|
3578
3578
|
alert: za
|
|
3579
3579
|
}, Ea = ({
|
|
3580
3580
|
alert: e,
|
|
@@ -3591,7 +3591,7 @@ const za = "ids-form--alert-v5140", Ba = {
|
|
|
3591
3591
|
onError: m,
|
|
3592
3592
|
...p
|
|
3593
3593
|
}, g) => {
|
|
3594
|
-
const y = Ee({ id: p.id }), [$, b] =
|
|
3594
|
+
const y = Ee({ id: p.id }), [$, b] = X({}), { handleSubmit: S, reset: F, formState: w } = o, { errors: M, isValid: x } = w, C = !!Object.values(M).length && !f, E = C || e, W = Fe(
|
|
3595
3595
|
(_) => {
|
|
3596
3596
|
S((D) => {
|
|
3597
3597
|
d == null || d(D);
|
|
@@ -3611,9 +3611,9 @@ const za = "ids-form--alert-v5140", Ba = {
|
|
|
3611
3611
|
);
|
|
3612
3612
|
},
|
|
3613
3613
|
[$, o.control._names.mount]
|
|
3614
|
-
),
|
|
3614
|
+
), J = fe(null);
|
|
3615
3615
|
Be(g, () => ({
|
|
3616
|
-
element: (
|
|
3616
|
+
element: (J == null ? void 0 : J.current) ?? void 0,
|
|
3617
3617
|
api: o,
|
|
3618
3618
|
submit: () => W(),
|
|
3619
3619
|
reset: (_) => F(_)
|
|
@@ -3636,7 +3636,7 @@ const za = "ids-form--alert-v5140", Ba = {
|
|
|
3636
3636
|
onSubmit: W,
|
|
3637
3637
|
noValidate: !0,
|
|
3638
3638
|
"data-testid": t,
|
|
3639
|
-
ref:
|
|
3639
|
+
ref: J,
|
|
3640
3640
|
className: V(
|
|
3641
3641
|
p.className,
|
|
3642
3642
|
"iress-u-stack",
|
|
@@ -3716,10 +3716,10 @@ const za = "ids-form--alert-v5140", Ba = {
|
|
|
3716
3716
|
values: p
|
|
3717
3717
|
});
|
|
3718
3718
|
return /* @__PURE__ */ a(Oa, { form: $, ...g, ref: y });
|
|
3719
|
-
}, Ua = ie(Ha),
|
|
3720
|
-
|
|
3721
|
-
|
|
3722
|
-
|
|
3719
|
+
}, Ua = ie(Ha), Bs = Ua;
|
|
3720
|
+
Bs.useForm = sn;
|
|
3721
|
+
Bs.useFormContext = ts;
|
|
3722
|
+
Bs.useWatch = Yr;
|
|
3723
3723
|
const Wa = ie(
|
|
3724
3724
|
(e, s) => {
|
|
3725
3725
|
const {
|
|
@@ -3754,37 +3754,37 @@ const Wa = ie(
|
|
|
3754
3754
|
}
|
|
3755
3755
|
);
|
|
3756
3756
|
Wa.displayName = "IressInputCurrency";
|
|
3757
|
-
const qa = "ids-modal-
|
|
3757
|
+
const qa = "ids-modal-v5141", Pa = "ids-modal--backdrop-v5141", ja = "ids-modal--initial-v5141", Qa = "ids-modal--close-v5141", Ka = "ids-modal--open-v5141", Ya = "ids-modal--unmounted-v5141", Xa = "ids-modal--close-button-v5141", Ja = "ids-modal--footer-v5141", Za = "ids-modal--fixed-footer-v5141", Ga = "ids-modal--content-v5141", He = {
|
|
3758
3758
|
modal: qa,
|
|
3759
3759
|
backdrop: Pa,
|
|
3760
|
-
"size--sm": "ids-modal--size--sm-
|
|
3761
|
-
"size--lg": "ids-modal--size--lg-
|
|
3762
|
-
"size--fullpage": "ids-modal--size--fullpage-
|
|
3763
|
-
"size-xs--fullpage": "ids-modal--size-xs--fullpage-
|
|
3764
|
-
"size-xs--sm": "ids-modal--size-xs--sm-
|
|
3765
|
-
"size-xs--md": "ids-modal--size-xs--md-
|
|
3766
|
-
"size-xs--lg": "ids-modal--size-xs--lg-
|
|
3767
|
-
"size-sm--fullpage": "ids-modal--size-sm--fullpage-
|
|
3768
|
-
"size-sm--sm": "ids-modal--size-sm--sm-
|
|
3769
|
-
"size-sm--md": "ids-modal--size-sm--md-
|
|
3770
|
-
"size-sm--lg": "ids-modal--size-sm--lg-
|
|
3771
|
-
"size-md--fullpage": "ids-modal--size-md--fullpage-
|
|
3772
|
-
"size-md--sm": "ids-modal--size-md--sm-
|
|
3773
|
-
"size-md--md": "ids-modal--size-md--md-
|
|
3774
|
-
"size-md--lg": "ids-modal--size-md--lg-
|
|
3775
|
-
"size-lg--fullpage": "ids-modal--size-lg--fullpage-
|
|
3776
|
-
"size-lg--sm": "ids-modal--size-lg--sm-
|
|
3777
|
-
"size-lg--md": "ids-modal--size-lg--md-
|
|
3778
|
-
"size-lg--lg": "ids-modal--size-lg--lg-
|
|
3779
|
-
"size-xl--fullpage": "ids-modal--size-xl--fullpage-
|
|
3780
|
-
"size-xl--sm": "ids-modal--size-xl--sm-
|
|
3781
|
-
"size-xl--md": "ids-modal--size-xl--md-
|
|
3782
|
-
"size-xl--lg": "ids-modal--size-xl--lg-
|
|
3783
|
-
"size-xxl--fullpage": "ids-modal--size-xxl--fullpage-
|
|
3784
|
-
"size-xxl--sm": "ids-modal--size-xxl--sm-
|
|
3785
|
-
"size-xxl--md": "ids-modal--size-xxl--md-
|
|
3786
|
-
"size-xxl--lg": "ids-modal--size-xxl--lg-
|
|
3787
|
-
static: "ids-modal--static-
|
|
3760
|
+
"size--sm": "ids-modal--size--sm-v5141",
|
|
3761
|
+
"size--lg": "ids-modal--size--lg-v5141",
|
|
3762
|
+
"size--fullpage": "ids-modal--size--fullpage-v5141",
|
|
3763
|
+
"size-xs--fullpage": "ids-modal--size-xs--fullpage-v5141",
|
|
3764
|
+
"size-xs--sm": "ids-modal--size-xs--sm-v5141",
|
|
3765
|
+
"size-xs--md": "ids-modal--size-xs--md-v5141",
|
|
3766
|
+
"size-xs--lg": "ids-modal--size-xs--lg-v5141",
|
|
3767
|
+
"size-sm--fullpage": "ids-modal--size-sm--fullpage-v5141",
|
|
3768
|
+
"size-sm--sm": "ids-modal--size-sm--sm-v5141",
|
|
3769
|
+
"size-sm--md": "ids-modal--size-sm--md-v5141",
|
|
3770
|
+
"size-sm--lg": "ids-modal--size-sm--lg-v5141",
|
|
3771
|
+
"size-md--fullpage": "ids-modal--size-md--fullpage-v5141",
|
|
3772
|
+
"size-md--sm": "ids-modal--size-md--sm-v5141",
|
|
3773
|
+
"size-md--md": "ids-modal--size-md--md-v5141",
|
|
3774
|
+
"size-md--lg": "ids-modal--size-md--lg-v5141",
|
|
3775
|
+
"size-lg--fullpage": "ids-modal--size-lg--fullpage-v5141",
|
|
3776
|
+
"size-lg--sm": "ids-modal--size-lg--sm-v5141",
|
|
3777
|
+
"size-lg--md": "ids-modal--size-lg--md-v5141",
|
|
3778
|
+
"size-lg--lg": "ids-modal--size-lg--lg-v5141",
|
|
3779
|
+
"size-xl--fullpage": "ids-modal--size-xl--fullpage-v5141",
|
|
3780
|
+
"size-xl--sm": "ids-modal--size-xl--sm-v5141",
|
|
3781
|
+
"size-xl--md": "ids-modal--size-xl--md-v5141",
|
|
3782
|
+
"size-xl--lg": "ids-modal--size-xl--lg-v5141",
|
|
3783
|
+
"size-xxl--fullpage": "ids-modal--size-xxl--fullpage-v5141",
|
|
3784
|
+
"size-xxl--sm": "ids-modal--size-xxl--sm-v5141",
|
|
3785
|
+
"size-xxl--md": "ids-modal--size-xxl--md-v5141",
|
|
3786
|
+
"size-xxl--lg": "ids-modal--size-xxl--lg-v5141",
|
|
3787
|
+
static: "ids-modal--static-v5141",
|
|
3788
3788
|
initial: ja,
|
|
3789
3789
|
close: Qa,
|
|
3790
3790
|
open: Ka,
|
|
@@ -3793,6 +3793,14 @@ const qa = "ids-modal-v5140", Pa = "ids-modal--backdrop-v5140", ja = "ids-modal-
|
|
|
3793
3793
|
footer: Ja,
|
|
3794
3794
|
fixedFooter: Za,
|
|
3795
3795
|
content: Ga
|
|
3796
|
+
}, el = "ids-toaster-v5141", vs = {
|
|
3797
|
+
toaster: el,
|
|
3798
|
+
"toaster__bottom-end": "ids-toaster--toaster__bottom-end-v5141",
|
|
3799
|
+
"toaster__bottom-start": "ids-toaster--toaster__bottom-start-v5141",
|
|
3800
|
+
"toaster__bottom-center": "ids-toaster--toaster__bottom-center-v5141",
|
|
3801
|
+
"toaster__top-end": "ids-toaster--toaster__top-end-v5141",
|
|
3802
|
+
"toaster__top-start": "ids-toaster--toaster__top-start-v5141",
|
|
3803
|
+
"toaster__top-center": "ids-toaster--toaster__top-center-v5141"
|
|
3796
3804
|
}, rn = ({
|
|
3797
3805
|
children: e,
|
|
3798
3806
|
className: s,
|
|
@@ -3815,15 +3823,16 @@ const qa = "ids-modal-v5140", Pa = "ids-modal--backdrop-v5140", ja = "ids-modal-
|
|
|
3815
3823
|
style: F,
|
|
3816
3824
|
...w
|
|
3817
3825
|
}) => {
|
|
3818
|
-
const [M, x] =
|
|
3819
|
-
C.show(
|
|
3820
|
-
}, { context: A } =
|
|
3826
|
+
const [M, x] = X(n), H = fe(240), C = Un(w.id), E = Ee({ id: w.id }), W = `${E}--heading`, U = C.opened || $ || M, J = (Y) => {
|
|
3827
|
+
C.show(Y), x(Y), g == null || g(Y);
|
|
3828
|
+
}, { context: A } = ks({
|
|
3821
3829
|
open: U,
|
|
3822
|
-
onOpenChange:
|
|
3830
|
+
onOpenChange: J
|
|
3823
3831
|
}), _ = wr(A, {
|
|
3824
3832
|
enabled: !o,
|
|
3833
|
+
outsidePress: (Y) => !Y.target.closest(`.${vs.toaster}`),
|
|
3825
3834
|
outsidePressEvent: "mousedown"
|
|
3826
|
-
}), D = Ir(A), B = kr([_, D]), { isMounted: O, status: q } =
|
|
3835
|
+
}), D = Ir(A), B = kr([_, D]), { isMounted: O, status: q } = Fs(A, {
|
|
3827
3836
|
duration: {
|
|
3828
3837
|
close: H.current
|
|
3829
3838
|
}
|
|
@@ -3833,16 +3842,16 @@ const qa = "ids-modal-v5140", Pa = "ids-modal--backdrop-v5140", ja = "ids-modal-
|
|
|
3833
3842
|
"IressModal: Please use either IressModalProvider for uncontrolled components, or the show prop for controlled components, rather than both. If you use both, the open state of the modal will become unpredictable. If you want to show a modal by default in uncontrolled mode, use the defaultShow prop."
|
|
3834
3843
|
);
|
|
3835
3844
|
}, [C.opened, $]), ee(() => {
|
|
3836
|
-
var
|
|
3837
|
-
q === "initial" && ((
|
|
3845
|
+
var Y, ce, ve, ne;
|
|
3846
|
+
q === "initial" && ((Y = A.refs.floating) != null && Y.current) && (H.current = $r(
|
|
3838
3847
|
((ce = window.getComputedStyle(A.refs.floating.current, null)) == null ? void 0 : ce.getPropertyValue("--iress-transition-duration")) || ".3s"
|
|
3839
3848
|
) * 0.8), q === "open" && (m == null || m(), (ne = (ve = A.refs.floating) == null ? void 0 : ve.current) == null || ne.focus()), q === "close" && (p == null || p());
|
|
3840
3849
|
}, [q, m, p, A.refs.floating]);
|
|
3841
|
-
const j =
|
|
3850
|
+
const j = Is(
|
|
3842
3851
|
"size",
|
|
3843
3852
|
b,
|
|
3844
3853
|
"fullpage"
|
|
3845
|
-
).map((
|
|
3854
|
+
).map((Y) => He[Y]), te = `iress-p--${y}`, K = V(He.modal, He[q], {
|
|
3846
3855
|
[He.fixedFooter]: l
|
|
3847
3856
|
}), Q = Se(() => typeof d == "string" ? /* @__PURE__ */ a(
|
|
3848
3857
|
qe,
|
|
@@ -3885,7 +3894,7 @@ const qa = "ids-modal-v5140", Pa = "ids-modal--backdrop-v5140", ja = "ids-modal-
|
|
|
3885
3894
|
children: /* @__PURE__ */ L(
|
|
3886
3895
|
"div",
|
|
3887
3896
|
{
|
|
3888
|
-
ref: (
|
|
3897
|
+
ref: (Y) => A.refs.setFloating(Y),
|
|
3889
3898
|
className: K,
|
|
3890
3899
|
id: E,
|
|
3891
3900
|
"data-testid": i,
|
|
@@ -3895,7 +3904,7 @@ const qa = "ids-modal-v5140", Pa = "ids-modal--backdrop-v5140", ja = "ids-modal-
|
|
|
3895
3904
|
!u && /* @__PURE__ */ a(
|
|
3896
3905
|
Ct,
|
|
3897
3906
|
{
|
|
3898
|
-
onClick: () =>
|
|
3907
|
+
onClick: () => J(!1),
|
|
3899
3908
|
screenreaderText: t,
|
|
3900
3909
|
className: He.closeButton,
|
|
3901
3910
|
"data-testid": T(
|
|
@@ -3933,7 +3942,7 @@ const qa = "ids-modal-v5140", Pa = "ids-modal--backdrop-v5140", ja = "ids-modal-
|
|
|
3933
3942
|
};
|
|
3934
3943
|
rn.Size = kn;
|
|
3935
3944
|
rn.Padding = yr;
|
|
3936
|
-
const
|
|
3945
|
+
const tl = ({
|
|
3937
3946
|
logoSrc: e,
|
|
3938
3947
|
logoFound: s,
|
|
3939
3948
|
logoAltText: t,
|
|
@@ -3955,7 +3964,7 @@ const el = ({
|
|
|
3955
3964
|
size: "2x",
|
|
3956
3965
|
className: we.logoIcon
|
|
3957
3966
|
}
|
|
3958
|
-
),
|
|
3967
|
+
), sl = ({
|
|
3959
3968
|
homeUrl: e,
|
|
3960
3969
|
logoSrc: s,
|
|
3961
3970
|
logoFound: t,
|
|
@@ -3969,7 +3978,7 @@ const el = ({
|
|
|
3969
3978
|
className: V(we.logoLink, we.slot),
|
|
3970
3979
|
"data-testid": T(n, "logo-link"),
|
|
3971
3980
|
children: /* @__PURE__ */ a(
|
|
3972
|
-
|
|
3981
|
+
tl,
|
|
3973
3982
|
{
|
|
3974
3983
|
logoSrc: s,
|
|
3975
3984
|
logoFound: t,
|
|
@@ -4003,7 +4012,7 @@ const el = ({
|
|
|
4003
4012
|
"data-testid": p,
|
|
4004
4013
|
...g
|
|
4005
4014
|
}) => {
|
|
4006
|
-
const y = fe(null), [$, b] =
|
|
4015
|
+
const y = fe(null), [$, b] = X(!1), [S, F] = X(!0), [w, M] = X(!0), [x, H] = X({}), C = Fe(() => {
|
|
4007
4016
|
const _ = w, D = {
|
|
4008
4017
|
xs: _,
|
|
4009
4018
|
sm: _,
|
|
@@ -4064,7 +4073,7 @@ const el = ({
|
|
|
4064
4073
|
ref: y,
|
|
4065
4074
|
...g,
|
|
4066
4075
|
children: /* @__PURE__ */ a("header", { children: /* @__PURE__ */ L(
|
|
4067
|
-
|
|
4076
|
+
As,
|
|
4068
4077
|
{
|
|
4069
4078
|
padding: "none",
|
|
4070
4079
|
background: "transparent",
|
|
@@ -4088,7 +4097,7 @@ const el = ({
|
|
|
4088
4097
|
}
|
|
4089
4098
|
) }),
|
|
4090
4099
|
e ? /* @__PURE__ */ a("div", { className: we.logoSlot, children: e }) : /* @__PURE__ */ a(
|
|
4091
|
-
|
|
4100
|
+
sl,
|
|
4092
4101
|
{
|
|
4093
4102
|
homeUrl: l,
|
|
4094
4103
|
logoSrc: u,
|
|
@@ -4139,14 +4148,14 @@ const el = ({
|
|
|
4139
4148
|
};
|
|
4140
4149
|
nn.HorizontalAlign = Wn;
|
|
4141
4150
|
nn.Breakpoint = pr;
|
|
4142
|
-
const
|
|
4143
|
-
radio:
|
|
4144
|
-
input:
|
|
4145
|
-
label:
|
|
4146
|
-
touch:
|
|
4147
|
-
hiddenControl:
|
|
4148
|
-
mark:
|
|
4149
|
-
},
|
|
4151
|
+
const rl = "ids-radio-v5141", nl = "ids-radio--input-v5141", il = "ids-radio--label-v5141", ol = "ids-radio--touch-v5141", al = "ids-radio--hidden-control-v5141", ll = "ids-radio--mark-v5141", pt = {
|
|
4152
|
+
radio: rl,
|
|
4153
|
+
input: nl,
|
|
4154
|
+
label: il,
|
|
4155
|
+
touch: ol,
|
|
4156
|
+
hiddenControl: al,
|
|
4157
|
+
mark: ll
|
|
4158
|
+
}, cl = () => /* @__PURE__ */ a(
|
|
4150
4159
|
"svg",
|
|
4151
4160
|
{
|
|
4152
4161
|
version: "1.1",
|
|
@@ -4155,7 +4164,7 @@ const sl = "ids-radio-v5140", rl = "ids-radio--input-v5140", nl = "ids-radio--la
|
|
|
4155
4164
|
className: pt.mark,
|
|
4156
4165
|
children: /* @__PURE__ */ a("circle", { cx: "100", cy: "100", r: "70" })
|
|
4157
4166
|
}
|
|
4158
|
-
),
|
|
4167
|
+
), dl = ({
|
|
4159
4168
|
checked: e,
|
|
4160
4169
|
children: s,
|
|
4161
4170
|
className: t,
|
|
@@ -4170,7 +4179,7 @@ const sl = "ids-radio-v5140", rl = "ids-radio--input-v5140", nl = "ids-radio--la
|
|
|
4170
4179
|
touch: m,
|
|
4171
4180
|
...p
|
|
4172
4181
|
}, g) => {
|
|
4173
|
-
const y = Ee(p), $ =
|
|
4182
|
+
const y = Ee(p), $ = ys(qn), b = !!$.onChange, F = b ? $.value === u : e ?? i;
|
|
4174
4183
|
if (b ? $.readonly : f)
|
|
4175
4184
|
return F ? /* @__PURE__ */ a(
|
|
4176
4185
|
Ze,
|
|
@@ -4212,13 +4221,13 @@ const sl = "ids-radio-v5140", rl = "ids-radio--input-v5140", nl = "ids-radio--la
|
|
|
4212
4221
|
}
|
|
4213
4222
|
),
|
|
4214
4223
|
/* @__PURE__ */ L("label", { htmlFor: y, className: pt.label, children: [
|
|
4215
|
-
!x && /* @__PURE__ */ a(
|
|
4224
|
+
!x && /* @__PURE__ */ a(cl, { "data-testid": T(r, "mark") }),
|
|
4216
4225
|
s
|
|
4217
4226
|
] })
|
|
4218
4227
|
]
|
|
4219
4228
|
}
|
|
4220
4229
|
);
|
|
4221
|
-
}, Ru = ie(
|
|
4230
|
+
}, Ru = ie(dl), ut = ({
|
|
4222
4231
|
children: e,
|
|
4223
4232
|
className: s,
|
|
4224
4233
|
gutter: t,
|
|
@@ -4231,10 +4240,10 @@ const sl = "ids-radio-v5140", rl = "ids-radio--input-v5140", nl = "ids-radio--la
|
|
|
4231
4240
|
{
|
|
4232
4241
|
className: V(
|
|
4233
4242
|
s,
|
|
4234
|
-
|
|
4243
|
+
Is(
|
|
4235
4244
|
St.Gutter,
|
|
4236
4245
|
t,
|
|
4237
|
-
|
|
4246
|
+
_s.None
|
|
4238
4247
|
),
|
|
4239
4248
|
{
|
|
4240
4249
|
[St.Base]: !0,
|
|
@@ -4247,11 +4256,11 @@ const sl = "ids-radio-v5140", rl = "ids-radio--input-v5140", nl = "ids-radio--la
|
|
|
4247
4256
|
children: e
|
|
4248
4257
|
}
|
|
4249
4258
|
);
|
|
4250
|
-
ut.Gutter =
|
|
4259
|
+
ut.Gutter = _s;
|
|
4251
4260
|
ut.HorizontalAlign = vr;
|
|
4252
4261
|
ut.VerticalAlign = gr;
|
|
4253
4262
|
const Yt = (e) => _e(e).reduce(
|
|
4254
|
-
(s, t = { type:
|
|
4263
|
+
(s, t = { type: qs, props: { label: "" }, key: "" }) => {
|
|
4255
4264
|
var r, i;
|
|
4256
4265
|
if (t.type === "optgroup")
|
|
4257
4266
|
s = [
|
|
@@ -4261,7 +4270,7 @@ const Yt = (e) => _e(e).reduce(
|
|
|
4261
4270
|
children: Yt(t.props.children)
|
|
4262
4271
|
}
|
|
4263
4272
|
];
|
|
4264
|
-
else if ([
|
|
4273
|
+
else if ([qs, "option"].includes(t.type)) {
|
|
4265
4274
|
const n = { ...t.props };
|
|
4266
4275
|
delete n.children;
|
|
4267
4276
|
const o = String(t.props.children);
|
|
@@ -4318,7 +4327,7 @@ const Yt = (e) => _e(e).reduce(
|
|
|
4318
4327
|
}
|
|
4319
4328
|
);
|
|
4320
4329
|
an.displayName = "SelectReadonly";
|
|
4321
|
-
const
|
|
4330
|
+
const ul = ({
|
|
4322
4331
|
children: e,
|
|
4323
4332
|
className: s,
|
|
4324
4333
|
"data-testid": t,
|
|
@@ -4393,9 +4402,9 @@ const dl = ({
|
|
|
4393
4402
|
)
|
|
4394
4403
|
}
|
|
4395
4404
|
);
|
|
4396
|
-
},
|
|
4397
|
-
|
|
4398
|
-
function
|
|
4405
|
+
}, fl = ie(ul);
|
|
4406
|
+
fl.Width = xs;
|
|
4407
|
+
function ml(e) {
|
|
4399
4408
|
function s() {
|
|
4400
4409
|
i && (t.length > 0 && /^[~+>]$/.test(t[t.length - 1]) && t.push(" "), t.push(i));
|
|
4401
4410
|
}
|
|
@@ -4438,23 +4447,23 @@ function fl(e) {
|
|
|
4438
4447
|
}
|
|
4439
4448
|
return t.join("").trim();
|
|
4440
4449
|
}
|
|
4441
|
-
function
|
|
4442
|
-
return
|
|
4450
|
+
function hl(e, s = document, t = null) {
|
|
4451
|
+
return pl(e, !1, s, t);
|
|
4443
4452
|
}
|
|
4444
|
-
function
|
|
4445
|
-
e =
|
|
4453
|
+
function pl(e, s, t, r = null) {
|
|
4454
|
+
e = ml(e);
|
|
4446
4455
|
let i = t.querySelector(e);
|
|
4447
4456
|
return document.head.createShadowRoot || document.head.attachShadow ? i || ms(e, ",").reduce((o, l) => {
|
|
4448
4457
|
if (o)
|
|
4449
4458
|
return o;
|
|
4450
|
-
const f = ms(l.replace(/^\s+/g, "").replace(/\s*([>+~]+)\s*/g, "$1"), " ").filter((g) => !!g).map((g) => ms(g, ">")), d = f.length - 1, u = f[d][f[d].length - 1], m =
|
|
4459
|
+
const f = ms(l.replace(/^\s+/g, "").replace(/\s*([>+~]+)\s*/g, "$1"), " ").filter((g) => !!g).map((g) => ms(g, ">")), d = f.length - 1, u = f[d][f[d].length - 1], m = yl(u, t, r), p = vl(f, d, t);
|
|
4451
4460
|
return o = m.find(p), o || null;
|
|
4452
4461
|
}, null) : i;
|
|
4453
4462
|
}
|
|
4454
|
-
function
|
|
4463
|
+
function vl(e, s, t) {
|
|
4455
4464
|
return (r) => {
|
|
4456
4465
|
let i = s, n = r, o = !1;
|
|
4457
|
-
for (; n && !
|
|
4466
|
+
for (; n && !gl(n); ) {
|
|
4458
4467
|
let l = !0;
|
|
4459
4468
|
if (e[i].length === 1)
|
|
4460
4469
|
l = n.matches(e[i]);
|
|
@@ -4466,14 +4475,14 @@ function pl(e, s, t) {
|
|
|
4466
4475
|
l = !1;
|
|
4467
4476
|
break;
|
|
4468
4477
|
}
|
|
4469
|
-
d =
|
|
4478
|
+
d = or(d, t);
|
|
4470
4479
|
}
|
|
4471
4480
|
}
|
|
4472
4481
|
if (l && i === 0) {
|
|
4473
4482
|
o = !0;
|
|
4474
4483
|
break;
|
|
4475
4484
|
}
|
|
4476
|
-
l && i--, n =
|
|
4485
|
+
l && i--, n = or(n, t);
|
|
4477
4486
|
}
|
|
4478
4487
|
return o;
|
|
4479
4488
|
};
|
|
@@ -4481,14 +4490,14 @@ function pl(e, s, t) {
|
|
|
4481
4490
|
function ms(e, s) {
|
|
4482
4491
|
return e.match(/\\?.|^$/g).reduce((t, r) => (r === '"' && !t.sQuote ? (t.quote ^= 1, t.a[t.a.length - 1] += r) : r === "'" && !t.quote ? (t.sQuote ^= 1, t.a[t.a.length - 1] += r) : !t.quote && !t.sQuote && r === s ? t.a.push("") : t.a[t.a.length - 1] += r, t), { a: [""] }).a;
|
|
4483
4492
|
}
|
|
4484
|
-
function
|
|
4493
|
+
function gl(e) {
|
|
4485
4494
|
return e.nodeType === Node.DOCUMENT_FRAGMENT_NODE || e.nodeType === Node.DOCUMENT_NODE;
|
|
4486
4495
|
}
|
|
4487
|
-
function
|
|
4496
|
+
function or(e, s) {
|
|
4488
4497
|
const t = e.parentNode;
|
|
4489
4498
|
return t && t.host && t.nodeType === 11 ? t.host : t === s ? null : t;
|
|
4490
4499
|
}
|
|
4491
|
-
function
|
|
4500
|
+
function yl(e = null, s, t = null) {
|
|
4492
4501
|
let r = [];
|
|
4493
4502
|
if (t)
|
|
4494
4503
|
r = t;
|
|
@@ -4503,23 +4512,23 @@ function gl(e = null, s, t = null) {
|
|
|
4503
4512
|
}
|
|
4504
4513
|
return e ? r.filter((i) => i.matches(e)) : r;
|
|
4505
4514
|
}
|
|
4506
|
-
const
|
|
4507
|
-
slideout:
|
|
4508
|
-
backdrop:
|
|
4509
|
-
push:
|
|
4510
|
-
"size--sm": "ids-slideout--size--sm-
|
|
4511
|
-
"size--md": "ids-slideout--size--md-
|
|
4512
|
-
"size--lg": "ids-slideout--size--lg-
|
|
4513
|
-
unmounted:
|
|
4514
|
-
initial:
|
|
4515
|
-
close:
|
|
4516
|
-
open:
|
|
4517
|
-
right:
|
|
4518
|
-
left:
|
|
4519
|
-
closeButton:
|
|
4520
|
-
content:
|
|
4521
|
-
footer:
|
|
4522
|
-
},
|
|
4515
|
+
const bl = "ids-slideout-v5141", xl = "ids-slideout--backdrop-v5141", _l = "ids-slideout--push-v5141", Sl = "ids-slideout--unmounted-v5141", Nl = "ids-slideout--initial-v5141", wl = "ids-slideout--close-v5141", Il = "ids-slideout--open-v5141", kl = "ids-slideout--right-v5141", Fl = "ids-slideout--left-v5141", Al = "ids-slideout--close-button-v5141", $l = "ids-slideout--content-v5141", Vl = "ids-slideout--footer-v5141", Ue = {
|
|
4516
|
+
slideout: bl,
|
|
4517
|
+
backdrop: xl,
|
|
4518
|
+
push: _l,
|
|
4519
|
+
"size--sm": "ids-slideout--size--sm-v5141",
|
|
4520
|
+
"size--md": "ids-slideout--size--md-v5141",
|
|
4521
|
+
"size--lg": "ids-slideout--size--lg-v5141",
|
|
4522
|
+
unmounted: Sl,
|
|
4523
|
+
initial: Nl,
|
|
4524
|
+
close: wl,
|
|
4525
|
+
open: Il,
|
|
4526
|
+
right: kl,
|
|
4527
|
+
left: Fl,
|
|
4528
|
+
closeButton: Al,
|
|
4529
|
+
content: $l,
|
|
4530
|
+
footer: Vl
|
|
4531
|
+
}, ar = ({
|
|
4523
4532
|
children: e,
|
|
4524
4533
|
closeText: s,
|
|
4525
4534
|
"data-testid": t,
|
|
@@ -4558,14 +4567,14 @@ const yl = "ids-slideout-v5140", bl = "ids-slideout--backdrop-v5140", xl = "ids-
|
|
|
4558
4567
|
children: i
|
|
4559
4568
|
}
|
|
4560
4569
|
)
|
|
4561
|
-
] }),
|
|
4562
|
-
slideoutPushElement:
|
|
4563
|
-
right:
|
|
4564
|
-
left:
|
|
4565
|
-
open:
|
|
4566
|
-
"size--sm": "ids-slideout-push-element--size--sm-
|
|
4567
|
-
"size--md": "ids-slideout-push-element--size--md-
|
|
4568
|
-
"size--lg": "ids-slideout-push-element--size--lg-
|
|
4570
|
+
] }), Rl = "ids-slideout-push-element-v5141", Ll = "ids-slideout-push-element--right-v5141", Dl = "ids-slideout-push-element--left-v5141", Ml = "ids-slideout-push-element--open-v5141", Qe = {
|
|
4571
|
+
slideoutPushElement: Rl,
|
|
4572
|
+
right: Ll,
|
|
4573
|
+
left: Dl,
|
|
4574
|
+
open: Ml,
|
|
4575
|
+
"size--sm": "ids-slideout-push-element--size--sm-v5141",
|
|
4576
|
+
"size--md": "ids-slideout-push-element--size--md-v5141",
|
|
4577
|
+
"size--lg": "ids-slideout-push-element--size--lg-v5141"
|
|
4569
4578
|
}, ss = ({
|
|
4570
4579
|
backdrop: e,
|
|
4571
4580
|
children: s,
|
|
@@ -4588,17 +4597,17 @@ const yl = "ids-slideout-v5140", bl = "ids-slideout--backdrop-v5140", xl = "ids-
|
|
|
4588
4597
|
style: F,
|
|
4589
4598
|
...w
|
|
4590
4599
|
}) => {
|
|
4591
|
-
const [M, x] =
|
|
4592
|
-
E.show(Q), x(Q), g == null || g(Q,
|
|
4593
|
-
}, { context: _ } =
|
|
4594
|
-
open:
|
|
4600
|
+
const [M, x] = X(o), H = fe(240), C = fe(null), E = Xn(w.id), W = Ee({ id: w.id }), U = `${W}--heading`, J = E.opened || b || M, A = (Q, pe, Y) => {
|
|
4601
|
+
E.show(Q), x(Q), g == null || g(Q, Y);
|
|
4602
|
+
}, { context: _ } = ks({
|
|
4603
|
+
open: J,
|
|
4595
4604
|
onOpenChange: A
|
|
4596
4605
|
}), D = wr(_, {
|
|
4597
4606
|
enabled: !0,
|
|
4598
4607
|
outsidePress: e === !0
|
|
4599
4608
|
}), B = Ir(_, {
|
|
4600
4609
|
enabled: e === !0
|
|
4601
|
-
}), O = kr([D, B]), { isMounted: q, status: j } =
|
|
4610
|
+
}), O = kr([D, B]), { isMounted: q, status: j } = Fs(_, {
|
|
4602
4611
|
duration: H.current
|
|
4603
4612
|
});
|
|
4604
4613
|
ee(() => {
|
|
@@ -4610,19 +4619,19 @@ const yl = "ids-slideout-v5140", bl = "ids-slideout--backdrop-v5140", xl = "ids-
|
|
|
4610
4619
|
C.current = null;
|
|
4611
4620
|
else {
|
|
4612
4621
|
let Q;
|
|
4613
|
-
typeof l == "string" ? Q =
|
|
4622
|
+
typeof l == "string" ? Q = hl(l) : l instanceof Element ? Q = l : Q = l == null ? void 0 : l.current, C.current = Q;
|
|
4614
4623
|
}
|
|
4615
4624
|
return () => {
|
|
4616
4625
|
C.current = null;
|
|
4617
4626
|
};
|
|
4618
4627
|
}, [l, u]), ee(() => {
|
|
4619
|
-
var Q, pe,
|
|
4628
|
+
var Q, pe, Y, ce, ve, ne, he, ae, se;
|
|
4620
4629
|
j === "initial" && ((Q = C == null ? void 0 : C.current) == null || Q.classList.add(
|
|
4621
4630
|
Qe.slideoutPushElement,
|
|
4622
4631
|
Qe[$],
|
|
4623
4632
|
Qe[`size--${S}`]
|
|
4624
4633
|
), (pe = _.refs.floating) != null && pe.current && (H.current = $r(
|
|
4625
|
-
((
|
|
4634
|
+
((Y = window.getComputedStyle(_.refs.floating.current, null)) == null ? void 0 : Y.getPropertyValue("--iress-transition-duration")) || ".3s"
|
|
4626
4635
|
))), j === "open" && (m == null || m(), (ve = (ce = _.refs.floating) == null ? void 0 : ce.current) == null || ve.focus(), (ne = C == null ? void 0 : C.current) == null || ne.classList.add(Qe.open)), j === "close" && (p == null || p(), (he = C == null ? void 0 : C.current) == null || he.classList.remove(Qe.open)), j === "unmounted" && !((ae = C == null ? void 0 : C.current) != null && ae.classList.contains(Qe.open)) && ((se = C == null ? void 0 : C.current) == null || se.classList.remove(
|
|
4627
4636
|
Qe.slideoutPushElement,
|
|
4628
4637
|
Qe[$],
|
|
@@ -4695,14 +4704,14 @@ const yl = "ids-slideout-v5140", bl = "ids-slideout--backdrop-v5140", xl = "ids-
|
|
|
4695
4704
|
{
|
|
4696
4705
|
context: _,
|
|
4697
4706
|
initialFocus: _.refs.floating,
|
|
4698
|
-
children: /* @__PURE__ */ a(
|
|
4707
|
+
children: /* @__PURE__ */ a(ar, { ...K, "data-testid": n })
|
|
4699
4708
|
}
|
|
4700
4709
|
)
|
|
4701
4710
|
}
|
|
4702
4711
|
) });
|
|
4703
4712
|
}
|
|
4704
4713
|
return /* @__PURE__ */ a(Ut, { root: i ?? (E == null ? void 0 : E.container), children: /* @__PURE__ */ a(
|
|
4705
|
-
|
|
4714
|
+
ar,
|
|
4706
4715
|
{
|
|
4707
4716
|
...K,
|
|
4708
4717
|
style: F,
|
|
@@ -4714,11 +4723,11 @@ ss.Mode = Qn;
|
|
|
4714
4723
|
ss.Padding = yr;
|
|
4715
4724
|
ss.Position = Kn;
|
|
4716
4725
|
ss.Size = Yn;
|
|
4717
|
-
const
|
|
4726
|
+
const Cl = (e = 0, s = 10, t = 1) => {
|
|
4718
4727
|
const r = [];
|
|
4719
4728
|
for (let i = e; i <= s; i += t) r.push(i);
|
|
4720
4729
|
return r;
|
|
4721
|
-
},
|
|
4730
|
+
}, Tl = ({
|
|
4722
4731
|
"data-testid": e,
|
|
4723
4732
|
defaultValue: s,
|
|
4724
4733
|
className: t,
|
|
@@ -4737,7 +4746,7 @@ const Ml = (e = 0, s = 10, t = 1) => {
|
|
|
4737
4746
|
component: "IressSelect",
|
|
4738
4747
|
defaultValue: s
|
|
4739
4748
|
});
|
|
4740
|
-
const y = Ee({ id: p == null ? void 0 : p.id }), b = (typeof u == "boolean" ?
|
|
4749
|
+
const y = Ee({ id: p == null ? void 0 : p.id }), b = (typeof u == "boolean" ? Cl(o, n, d) : u ?? []).map(
|
|
4741
4750
|
(x) => typeof x == "number" ? { value: x } : x
|
|
4742
4751
|
), { value: S, setValue: F } = bt({
|
|
4743
4752
|
component: "IressSlider",
|
|
@@ -4799,9 +4808,9 @@ const Ml = (e = 0, s = 10, t = 1) => {
|
|
|
4799
4808
|
]
|
|
4800
4809
|
}
|
|
4801
4810
|
);
|
|
4802
|
-
},
|
|
4803
|
-
|
|
4804
|
-
const
|
|
4811
|
+
}, zl = ie(Tl);
|
|
4812
|
+
zl.displayName = "IressSlider";
|
|
4813
|
+
const Bl = ({
|
|
4805
4814
|
children: e,
|
|
4806
4815
|
label: s = "sortable",
|
|
4807
4816
|
noWrap: t = !0,
|
|
@@ -4830,7 +4839,7 @@ const zl = ({
|
|
|
4830
4839
|
]
|
|
4831
4840
|
}
|
|
4832
4841
|
);
|
|
4833
|
-
},
|
|
4842
|
+
}, El = ({
|
|
4834
4843
|
additionalHeaders: e,
|
|
4835
4844
|
children: s,
|
|
4836
4845
|
columnApi: t,
|
|
@@ -4850,10 +4859,10 @@ const zl = ({
|
|
|
4850
4859
|
headers: e,
|
|
4851
4860
|
...n == null ? void 0 : n.columnProps,
|
|
4852
4861
|
...o,
|
|
4853
|
-
children: t.getCanSort() && n ? /* @__PURE__ */ a(
|
|
4862
|
+
children: t.getCanSort() && n ? /* @__PURE__ */ a(Bl, { ...n == null ? void 0 : n.buttonProps, noWrap: l, children: s }) : s
|
|
4854
4863
|
}
|
|
4855
4864
|
);
|
|
4856
|
-
},
|
|
4865
|
+
}, Ol = ({
|
|
4857
4866
|
additionalHeaders: e,
|
|
4858
4867
|
className: s,
|
|
4859
4868
|
setControlViaRef: t,
|
|
@@ -4873,7 +4882,7 @@ const zl = ({
|
|
|
4873
4882
|
t == null || t(u)(d);
|
|
4874
4883
|
},
|
|
4875
4884
|
children: f.headers.map((d) => /* @__PURE__ */ a(
|
|
4876
|
-
|
|
4885
|
+
El,
|
|
4877
4886
|
{
|
|
4878
4887
|
additionalHeaders: e,
|
|
4879
4888
|
columnApi: d.column,
|
|
@@ -4889,7 +4898,7 @@ const zl = ({
|
|
|
4889
4898
|
},
|
|
4890
4899
|
f.id
|
|
4891
4900
|
)) : null;
|
|
4892
|
-
},
|
|
4901
|
+
}, Hl = ({
|
|
4893
4902
|
caption: e,
|
|
4894
4903
|
children: s,
|
|
4895
4904
|
columns: t,
|
|
@@ -4940,7 +4949,7 @@ const zl = ({
|
|
|
4940
4949
|
children: e
|
|
4941
4950
|
}
|
|
4942
4951
|
),
|
|
4943
|
-
!f && b && /* @__PURE__ */ a("thead", { "data-testid": F, children: /* @__PURE__ */ a(
|
|
4952
|
+
!f && b && /* @__PURE__ */ a("thead", { "data-testid": F, children: /* @__PURE__ */ a(Ol, { tableId: y, testId: F }) }),
|
|
4944
4953
|
b && /* @__PURE__ */ L("tbody", { "data-testid": w, children: [
|
|
4945
4954
|
/* @__PURE__ */ a(
|
|
4946
4955
|
ii,
|
|
@@ -4961,8 +4970,8 @@ const zl = ({
|
|
|
4961
4970
|
}
|
|
4962
4971
|
);
|
|
4963
4972
|
};
|
|
4964
|
-
|
|
4965
|
-
const
|
|
4973
|
+
Hl.Scope = Zn;
|
|
4974
|
+
const Ul = ie(
|
|
4966
4975
|
({
|
|
4967
4976
|
defaultValue: e,
|
|
4968
4977
|
onBlur: s,
|
|
@@ -4974,7 +4983,7 @@ const Hl = ie(
|
|
|
4974
4983
|
value: l,
|
|
4975
4984
|
...f
|
|
4976
4985
|
}, d) => {
|
|
4977
|
-
const [u, m] =
|
|
4986
|
+
const [u, m] = X(""), { value: p, setValue: g } = bt({
|
|
4978
4987
|
component: "IressTagInput",
|
|
4979
4988
|
defaultValue: e,
|
|
4980
4989
|
value: l
|
|
@@ -4992,7 +5001,7 @@ const Hl = ie(
|
|
|
4992
5001
|
[t, r, g, p]
|
|
4993
5002
|
);
|
|
4994
5003
|
return /* @__PURE__ */ a(
|
|
4995
|
-
|
|
5004
|
+
Ls,
|
|
4996
5005
|
{
|
|
4997
5006
|
...f,
|
|
4998
5007
|
onBlur: (w) => {
|
|
@@ -5023,26 +5032,26 @@ const Hl = ie(
|
|
|
5023
5032
|
);
|
|
5024
5033
|
}
|
|
5025
5034
|
);
|
|
5026
|
-
|
|
5027
|
-
const
|
|
5028
|
-
toast:
|
|
5029
|
-
"start-x": "ids-toast--start-x-
|
|
5030
|
-
"end-x": "ids-toast--end-x-
|
|
5031
|
-
open:
|
|
5032
|
-
"start-y": "ids-toast--start-y-
|
|
5033
|
-
"end-y": "ids-toast--end-y-
|
|
5034
|
-
fade:
|
|
5035
|
-
panel:
|
|
5036
|
-
"toast--error": "ids-toast--toast--error-
|
|
5037
|
-
"toast--success": "ids-toast--toast--success-
|
|
5038
|
-
"toast--info": "ids-toast--toast--info-
|
|
5039
|
-
unmounted:
|
|
5040
|
-
"iress-u-text": "ids-toast--iress-u-text-
|
|
5041
|
-
toast__icon:
|
|
5042
|
-
toast__wrapper:
|
|
5043
|
-
toast__footer:
|
|
5044
|
-
"toast__close-button": "ids-toast--toast__close-button-
|
|
5045
|
-
},
|
|
5035
|
+
Ul.displayName = "IressTagInput";
|
|
5036
|
+
const Wl = "ids-toast-v5141", ql = "ids-toast--open-v5141", Pl = "ids-toast--fade-v5141", jl = "ids-toast--panel-v5141", Ql = "ids-toast--unmounted-v5141", Kl = "ids-toast--toast__icon-v5141", Yl = "ids-toast--toast__wrapper-v5141", Xl = "ids-toast--toast__footer-v5141", Xe = {
|
|
5037
|
+
toast: Wl,
|
|
5038
|
+
"start-x": "ids-toast--start-x-v5141",
|
|
5039
|
+
"end-x": "ids-toast--end-x-v5141",
|
|
5040
|
+
open: ql,
|
|
5041
|
+
"start-y": "ids-toast--start-y-v5141",
|
|
5042
|
+
"end-y": "ids-toast--end-y-v5141",
|
|
5043
|
+
fade: Pl,
|
|
5044
|
+
panel: jl,
|
|
5045
|
+
"toast--error": "ids-toast--toast--error-v5141",
|
|
5046
|
+
"toast--success": "ids-toast--toast--success-v5141",
|
|
5047
|
+
"toast--info": "ids-toast--toast--info-v5141",
|
|
5048
|
+
unmounted: Ql,
|
|
5049
|
+
"iress-u-text": "ids-toast--iress-u-text-v5141",
|
|
5050
|
+
toast__icon: Kl,
|
|
5051
|
+
toast__wrapper: Yl,
|
|
5052
|
+
toast__footer: Xl,
|
|
5053
|
+
"toast__close-button": "ids-toast--toast__close-button-v5141"
|
|
5054
|
+
}, Jl = ({ status: e }) => /* @__PURE__ */ a(
|
|
5046
5055
|
le,
|
|
5047
5056
|
{
|
|
5048
5057
|
name: {
|
|
@@ -5055,7 +5064,7 @@ const Ul = "ids-toast-v5140", Wl = "ids-toast--open-v5140", ql = "ids-toast--fad
|
|
|
5055
5064
|
fixedWidth: !0,
|
|
5056
5065
|
className: Xe.toast__icon
|
|
5057
5066
|
}
|
|
5058
|
-
),
|
|
5067
|
+
), Zl = ({
|
|
5059
5068
|
dismissible: e,
|
|
5060
5069
|
onClose: s,
|
|
5061
5070
|
"data-testid": t
|
|
@@ -5070,7 +5079,7 @@ const Ul = "ids-toast-v5140", Wl = "ids-toast--open-v5140", ql = "ids-toast--fad
|
|
|
5070
5079
|
screenreaderText: "Dismiss"
|
|
5071
5080
|
}
|
|
5072
5081
|
);
|
|
5073
|
-
},
|
|
5082
|
+
}, Gl = ({ actions: e }) => e ? /* @__PURE__ */ a("div", { className: Xe.toast__footer, children: e }) : null, ec = ({
|
|
5074
5083
|
heading: e,
|
|
5075
5084
|
dismissible: s = !0,
|
|
5076
5085
|
onClose: t,
|
|
@@ -5086,7 +5095,7 @@ const Ul = "ids-toast-v5140", Wl = "ids-toast--open-v5140", ql = "ids-toast--fad
|
|
|
5086
5095
|
children: [
|
|
5087
5096
|
e,
|
|
5088
5097
|
/* @__PURE__ */ a(
|
|
5089
|
-
|
|
5098
|
+
Zl,
|
|
5090
5099
|
{
|
|
5091
5100
|
"data-testid": T(o, "close-button__button"),
|
|
5092
5101
|
dismissible: s,
|
|
@@ -5094,10 +5103,10 @@ const Ul = "ids-toast-v5140", Wl = "ids-toast--open-v5140", ql = "ids-toast--fad
|
|
|
5094
5103
|
}
|
|
5095
5104
|
),
|
|
5096
5105
|
r ?? i,
|
|
5097
|
-
/* @__PURE__ */ a(
|
|
5106
|
+
/* @__PURE__ */ a(Gl, { actions: n })
|
|
5098
5107
|
]
|
|
5099
5108
|
}
|
|
5100
|
-
),
|
|
5109
|
+
), tc = ({
|
|
5101
5110
|
heading: e,
|
|
5102
5111
|
headingLevel: s,
|
|
5103
5112
|
headingText: t,
|
|
@@ -5118,10 +5127,10 @@ const Ul = "ids-toast-v5140", Wl = "ids-toast--open-v5140", ql = "ids-toast--fad
|
|
|
5118
5127
|
className: V(u, Xe.toast, Xe[`toast--${r}`]),
|
|
5119
5128
|
tabIndex: -1,
|
|
5120
5129
|
ref: p,
|
|
5121
|
-
children: /* @__PURE__ */ a(
|
|
5122
|
-
/* @__PURE__ */ a(
|
|
5130
|
+
children: /* @__PURE__ */ a(As, { className: V(ht.Base, Xe.panel), children: /* @__PURE__ */ L(et, { gutter: "sm", verticalAlign: "top", noWrap: !0, children: [
|
|
5131
|
+
/* @__PURE__ */ a(Jl, { status: r }),
|
|
5123
5132
|
/* @__PURE__ */ a(
|
|
5124
|
-
|
|
5133
|
+
ec,
|
|
5125
5134
|
{
|
|
5126
5135
|
"data-testid": d,
|
|
5127
5136
|
status: r,
|
|
@@ -5144,18 +5153,10 @@ const Ul = "ids-toast-v5140", Wl = "ids-toast--open-v5140", ql = "ids-toast--fad
|
|
|
5144
5153
|
)
|
|
5145
5154
|
] }) })
|
|
5146
5155
|
}
|
|
5147
|
-
), ln = ie(
|
|
5148
|
-
ln.HeadingLevel =
|
|
5149
|
-
const
|
|
5150
|
-
|
|
5151
|
-
"toaster__bottom-end": "ids-toaster--toaster__bottom-end-v5140",
|
|
5152
|
-
"toaster__bottom-start": "ids-toaster--toaster__bottom-start-v5140",
|
|
5153
|
-
"toaster__bottom-center": "ids-toaster--toaster__bottom-center-v5140",
|
|
5154
|
-
"toaster__top-end": "ids-toaster--toaster__top-end-v5140",
|
|
5155
|
-
"toaster__top-start": "ids-toaster--toaster__top-start-v5140",
|
|
5156
|
-
"toaster__top-center": "ids-toaster--toaster__top-center-v5140"
|
|
5157
|
-
}, sc = (e) => {
|
|
5158
|
-
const s = gs(cn);
|
|
5156
|
+
), ln = ie(tc);
|
|
5157
|
+
ln.HeadingLevel = bs;
|
|
5158
|
+
const sc = (e) => {
|
|
5159
|
+
const s = ys(cn);
|
|
5159
5160
|
if (s === void 0)
|
|
5160
5161
|
throw new Error("useToaster must be used within a IressToasterProvider");
|
|
5161
5162
|
const { show: t, setOptions: r, options: i, close: n } = s;
|
|
@@ -5188,10 +5189,10 @@ const tc = "ids-toaster-v5140", ar = {
|
|
|
5188
5189
|
timeout: i = 6e3,
|
|
5189
5190
|
...n
|
|
5190
5191
|
}) => {
|
|
5191
|
-
const [o, l] =
|
|
5192
|
+
const [o, l] = X(!0), f = fe(240), { context: d } = ks({
|
|
5192
5193
|
open: o,
|
|
5193
5194
|
onOpenChange: l
|
|
5194
|
-
}), { isMounted: u, status: m } =
|
|
5195
|
+
}), { isMounted: u, status: m } = Fs(d, {
|
|
5195
5196
|
duration: {
|
|
5196
5197
|
close: f.current
|
|
5197
5198
|
}
|
|
@@ -5240,8 +5241,8 @@ const tc = "ids-toaster-v5140", ar = {
|
|
|
5240
5241
|
{
|
|
5241
5242
|
className: V(
|
|
5242
5243
|
Z.IgnoreStack,
|
|
5243
|
-
|
|
5244
|
-
|
|
5244
|
+
vs.toaster,
|
|
5245
|
+
vs[`toaster__${s}`]
|
|
5245
5246
|
),
|
|
5246
5247
|
gutter: "md",
|
|
5247
5248
|
children: t.map((n) => /* @__PURE__ */ fr(
|
|
@@ -5267,7 +5268,7 @@ const tc = "ids-toaster-v5140", ar = {
|
|
|
5267
5268
|
children: e,
|
|
5268
5269
|
...s
|
|
5269
5270
|
}) => {
|
|
5270
|
-
const [t, r] =
|
|
5271
|
+
const [t, r] = X([]), [i, n] = X({
|
|
5271
5272
|
position: "bottom-end",
|
|
5272
5273
|
...s
|
|
5273
5274
|
}), o = (u) => r((m) => m == null ? void 0 : m.filter((p) => p.id !== u)), l = Fe(
|
|
@@ -5297,7 +5298,7 @@ const tc = "ids-toaster-v5140", ar = {
|
|
|
5297
5298
|
e,
|
|
5298
5299
|
/* @__PURE__ */ a(nc, { toasts: t, ...i })
|
|
5299
5300
|
] });
|
|
5300
|
-
}, ic = "ids-default-loading--position-
|
|
5301
|
+
}, ic = "ids-default-loading--position-v5141", oc = "ids-default-loading--message-v5141", lr = {
|
|
5301
5302
|
position: ic,
|
|
5302
5303
|
message: oc
|
|
5303
5304
|
}, ac = ({
|
|
@@ -5310,7 +5311,7 @@ const tc = "ids-toaster-v5140", ar = {
|
|
|
5310
5311
|
timeout: r = 3e3,
|
|
5311
5312
|
...i
|
|
5312
5313
|
}) => {
|
|
5313
|
-
const [n, o] =
|
|
5314
|
+
const [n, o] = X(!1);
|
|
5314
5315
|
return ee(() => {
|
|
5315
5316
|
const l = setTimeout(() => o(!0), r);
|
|
5316
5317
|
return () => {
|
|
@@ -5339,7 +5340,7 @@ const tc = "ids-toaster-v5140", ar = {
|
|
|
5339
5340
|
)
|
|
5340
5341
|
}
|
|
5341
5342
|
);
|
|
5342
|
-
}, lc = "ids-validate-loading--root-
|
|
5343
|
+
}, lc = "ids-validate-loading--root-v5141", cc = "ids-validate-loading--loading-v5141", dc = "ids-validate-loading--message-v5141", uc = "ids-validate-loading--top-v5141", fc = "ids-validate-loading--right-v5141", Ft = {
|
|
5343
5344
|
root: lc,
|
|
5344
5345
|
loading: cc,
|
|
5345
5346
|
message: dc,
|
|
@@ -5357,7 +5358,7 @@ const tc = "ids-toaster-v5140", ar = {
|
|
|
5357
5358
|
timeout: l = 2500,
|
|
5358
5359
|
...f
|
|
5359
5360
|
}) => {
|
|
5360
|
-
const [d, u] =
|
|
5361
|
+
const [d, u] = X(l === 0 && t);
|
|
5361
5362
|
return ee(() => {
|
|
5362
5363
|
if (!t) {
|
|
5363
5364
|
u(!1);
|
|
@@ -5391,7 +5392,7 @@ const tc = "ids-toaster-v5140", ar = {
|
|
|
5391
5392
|
]
|
|
5392
5393
|
}
|
|
5393
5394
|
) : o({ loading: t, className: Ft.loading });
|
|
5394
|
-
}, hc = "ids-component-loading--root-
|
|
5395
|
+
}, hc = "ids-component-loading--root-v5141", pc = "ids-component-loading--loaded-v5141", vc = "ids-component-loading--message-v5141", gc = "ids-component-loading--overlay-v5141", yc = "ids-component-loading--overlay-strong-v5141", bc = "ids-component-loading--spinner-v5141", at = {
|
|
5395
5396
|
root: hc,
|
|
5396
5397
|
loaded: pc,
|
|
5397
5398
|
message: vc,
|
|
@@ -5410,7 +5411,7 @@ const tc = "ids-toaster-v5140", ar = {
|
|
|
5410
5411
|
update: o,
|
|
5411
5412
|
...l
|
|
5412
5413
|
}) => {
|
|
5413
|
-
const [f, d] =
|
|
5414
|
+
const [f, d] = X(!1), [u, m] = X(!1), p = Se(() => typeof i == "string" && i in cr ? cr[i] : i, [i]);
|
|
5414
5415
|
return ee(() => {
|
|
5415
5416
|
t === !0 && d(!1);
|
|
5416
5417
|
}, [t]), ee(() => {
|
|
@@ -5482,7 +5483,7 @@ const tc = "ids-toaster-v5140", ar = {
|
|
|
5482
5483
|
]
|
|
5483
5484
|
}
|
|
5484
5485
|
);
|
|
5485
|
-
}, _c = "ids-page-loading--root-
|
|
5486
|
+
}, _c = "ids-page-loading--root-v5141", Sc = "ids-page-loading--critical-v5141", Nc = "ids-page-loading--show-critical-v5141", wc = "ids-page-loading--skeleton-v5141", Ic = "ids-page-loading--hide-template-v5141", At = {
|
|
5486
5487
|
root: _c,
|
|
5487
5488
|
critical: Sc,
|
|
5488
5489
|
showCritical: Nc,
|
|
@@ -5506,7 +5507,7 @@ const tc = "ids-toaster-v5140", ar = {
|
|
|
5506
5507
|
/* @__PURE__ */ a(xe, { textVariant: "lead", width: "200px" })
|
|
5507
5508
|
] })
|
|
5508
5509
|
] }),
|
|
5509
|
-
/* @__PURE__ */ a(
|
|
5510
|
+
/* @__PURE__ */ a(ws, {}),
|
|
5510
5511
|
/* @__PURE__ */ L(ut, { gutter: "lg", children: [
|
|
5511
5512
|
/* @__PURE__ */ a(_t, { span: "4", children: /* @__PURE__ */ a(os, { stretch: !0, children: /* @__PURE__ */ L(lt, { gutter: "md", children: [
|
|
5512
5513
|
/* @__PURE__ */ a(xe, { mode: "rect", height: "300px" }),
|
|
@@ -5534,7 +5535,7 @@ const tc = "ids-toaster-v5140", ar = {
|
|
|
5534
5535
|
timeout: n = 500,
|
|
5535
5536
|
...o
|
|
5536
5537
|
}) => {
|
|
5537
|
-
const [l, f] =
|
|
5538
|
+
const [l, f] = X(!1), [d, u] = X(!1), [m, p] = X(!1), g = Se(() => typeof i == "string" && i in dr ? dr[i] : i, [i]);
|
|
5538
5539
|
return ee(() => {
|
|
5539
5540
|
const y = setTimeout(() => f(!0), n);
|
|
5540
5541
|
return () => {
|
|
@@ -5576,7 +5577,7 @@ const dn = ({
|
|
|
5576
5577
|
startFrom: i,
|
|
5577
5578
|
...n
|
|
5578
5579
|
}) => {
|
|
5579
|
-
const o = Se(() => s || (r === "component" || r === "default" || r === "validate" ? 0 : r === "long" ? 1300 : 500), [s, r]), l = Se(() => i || (r === "component" || r === "default" || r === "long" ? 0 : 250), [i, r]), f = fe(!1), [d, u] =
|
|
5580
|
+
const o = Se(() => s || (r === "component" || r === "default" || r === "validate" ? 0 : r === "long" ? 1300 : 500), [s, r]), l = Se(() => i || (r === "component" || r === "default" || r === "long" ? 0 : 250), [i, r]), f = fe(!1), [d, u] = X(!1), m = Ht.shouldRender(d, o, l), [p, g] = X(!1);
|
|
5580
5581
|
ee(() => {
|
|
5581
5582
|
d && !m && (g(!0), t == null || t());
|
|
5582
5583
|
}, [d, t, m]);
|
|
@@ -5593,7 +5594,7 @@ const dn = ({
|
|
|
5593
5594
|
children: p && e
|
|
5594
5595
|
}
|
|
5595
5596
|
),
|
|
5596
|
-
/* @__PURE__ */ a(
|
|
5597
|
+
/* @__PURE__ */ a(Hs, { fallback: null, children: !p && /* @__PURE__ */ a(ur, { onResolved: y, children: !d && e }) })
|
|
5597
5598
|
] }) : /* @__PURE__ */ L(Je, { children: [
|
|
5598
5599
|
m && /* @__PURE__ */ a(
|
|
5599
5600
|
Ht,
|
|
@@ -5603,7 +5604,7 @@ const dn = ({
|
|
|
5603
5604
|
...n
|
|
5604
5605
|
}
|
|
5605
5606
|
),
|
|
5606
|
-
/* @__PURE__ */ a(
|
|
5607
|
+
/* @__PURE__ */ a(Hs, { fallback: null, children: p ? e : /* @__PURE__ */ a(ur, { onResolved: y, children: !d && e }) })
|
|
5607
5608
|
] });
|
|
5608
5609
|
};
|
|
5609
5610
|
dn.use = li;
|
|
@@ -5615,19 +5616,19 @@ const ur = ({
|
|
|
5615
5616
|
e();
|
|
5616
5617
|
}, [e]), s);
|
|
5617
5618
|
export {
|
|
5618
|
-
|
|
5619
|
+
Vs as $,
|
|
5619
5620
|
No as A,
|
|
5620
5621
|
Tr as B,
|
|
5621
5622
|
po as C,
|
|
5622
5623
|
ut as D,
|
|
5623
|
-
|
|
5624
|
+
fl as E,
|
|
5624
5625
|
ss as F,
|
|
5625
|
-
|
|
5626
|
+
zl as G,
|
|
5626
5627
|
Mt as H,
|
|
5627
5628
|
Dt as I,
|
|
5628
|
-
|
|
5629
|
+
Hl as J,
|
|
5629
5630
|
qt as K,
|
|
5630
|
-
|
|
5631
|
+
Ul as L,
|
|
5631
5632
|
ln as M,
|
|
5632
5633
|
cn as N,
|
|
5633
5634
|
Lu as O,
|
|
@@ -5635,9 +5636,9 @@ export {
|
|
|
5635
5636
|
Ht as Q,
|
|
5636
5637
|
dn as R,
|
|
5637
5638
|
Vu as S,
|
|
5638
|
-
|
|
5639
|
-
|
|
5640
|
-
|
|
5639
|
+
tc as T,
|
|
5640
|
+
Qs as U,
|
|
5641
|
+
Ol as V,
|
|
5641
5642
|
vo as W,
|
|
5642
5643
|
go as X,
|
|
5643
5644
|
yo as Y,
|
|
@@ -5645,18 +5646,18 @@ export {
|
|
|
5645
5646
|
Lo as _,
|
|
5646
5647
|
Bo as a,
|
|
5647
5648
|
zr as a0,
|
|
5648
|
-
|
|
5649
|
+
Ls as a1,
|
|
5649
5650
|
Br as a2,
|
|
5650
5651
|
Er as a3,
|
|
5651
|
-
|
|
5652
|
-
|
|
5652
|
+
tl as a4,
|
|
5653
|
+
sl as a5,
|
|
5653
5654
|
Yt as a6,
|
|
5654
5655
|
on as a7,
|
|
5655
5656
|
an as a8,
|
|
5656
|
-
|
|
5657
|
-
|
|
5658
|
-
|
|
5659
|
-
|
|
5657
|
+
ar as a9,
|
|
5658
|
+
Bl as aa,
|
|
5659
|
+
El as ab,
|
|
5660
|
+
Jl as ac,
|
|
5660
5661
|
rc as ad,
|
|
5661
5662
|
nc as ae,
|
|
5662
5663
|
ac as af,
|
|
@@ -5666,10 +5667,10 @@ export {
|
|
|
5666
5667
|
Re as b,
|
|
5667
5668
|
Ct as c,
|
|
5668
5669
|
Xo as d,
|
|
5669
|
-
|
|
5670
|
+
Rs as e,
|
|
5670
5671
|
la as f,
|
|
5671
5672
|
xa as g,
|
|
5672
|
-
|
|
5673
|
+
Bs as h,
|
|
5673
5674
|
Oa as i,
|
|
5674
5675
|
Rt as j,
|
|
5675
5676
|
le as k,
|
|
@@ -5678,7 +5679,7 @@ export {
|
|
|
5678
5679
|
Wa as n,
|
|
5679
5680
|
Mr as o,
|
|
5680
5681
|
Cr as p,
|
|
5681
|
-
|
|
5682
|
+
$s as q,
|
|
5682
5683
|
hs as r,
|
|
5683
5684
|
rn as s,
|
|
5684
5685
|
nn as t,
|