@iress-oss/ids-components 5.20.0 → 5.20.3
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/CHANGELOG.md +378 -0
- package/README.md +1 -1
- package/dist/{AutocompleteNoResults-CogA3XZs.js → AutocompleteNoResults-B7El1R2l.js} +1 -1
- package/dist/ComboboxHiddenInput-CWfIj-Zz.js +32 -0
- package/dist/{FieldAppendToLabel-CuSREliL.js → FieldAppendToLabel-BTdzhQ7Z.js} +5 -5
- package/dist/InputBase-Hc9D8St6.js +56 -0
- package/dist/Loading.module-BjceG0Wh.js +13 -0
- package/dist/LoadingSuspense-Bwd232Nt.js +5728 -0
- package/dist/LogoFromSrc-CAdoYYud.js +59 -0
- package/dist/MenuItem.module-BQw_K5D4.js +24 -0
- package/dist/Popover.module-ZU-08mVQ.js +11 -0
- package/dist/PopoverProvider-Cvg6ObBO.js +142 -0
- package/dist/{SelectControl-D1SJlplM.js → SelectControl-WoixPfwh.js} +2 -2
- package/dist/SliderTicks-D-B1uIdS.js +74 -0
- package/dist/TabSet.module-4ohNBuQS.js +13 -0
- package/dist/Table.module-BYwGboft.js +32 -0
- package/dist/components/Alert/Alert.js +2 -2
- package/dist/components/Alert/index.js +1 -1
- package/dist/components/Autocomplete/Autocomplete.js +4 -4
- package/dist/components/Autocomplete/components/AutocompleteInstructions.js +7 -7
- package/dist/components/Autocomplete/components/AutocompleteNoResults.js +1 -1
- package/dist/components/Autocomplete/hooks/useAutocompleteSearch.js +36 -35
- package/dist/components/Autocomplete/index.js +1 -1
- package/dist/components/Badge/Badge.js +5 -5
- package/dist/components/Button/Button.js +3 -3
- package/dist/components/Button/CloseButton/CloseButton.js +2 -2
- package/dist/components/Button/index.js +1 -1
- package/dist/components/ButtonGroup/ButtonGroup.js +3 -3
- package/dist/components/ButtonGroup/ButtonGroupProvider.js +22 -22
- package/dist/components/ButtonGroup/hooks/useIDSButtonGroupItem.js +2 -2
- package/dist/components/ButtonGroup/index.js +1 -1
- package/dist/components/Card/helpers/composeIDSCard.js +1 -1
- package/dist/components/Checkbox/Checkbox.js +2 -2
- package/dist/components/Checkbox/helpers/mapCheckboxGroupOptions.js +11 -11
- package/dist/components/Checkbox/index.js +1 -1
- package/dist/components/CheckboxGroup/CheckboxGroup.js +74 -75
- package/dist/components/CheckboxMark/CheckboxMark.js +1 -1
- package/dist/components/CheckboxMark/CheckboxMark.types.js +2 -2
- package/dist/components/Col/Col.js +1 -1
- package/dist/components/Combobox/Combobox.js +4 -4
- package/dist/components/Combobox/MultiCombobox/MultiCombobox.js +4 -4
- package/dist/components/Combobox/components/ComboboxHiddenInput.js +2 -2
- package/dist/components/Combobox/components/ComboboxResults.js +6 -6
- package/dist/components/Combobox/components/ComboboxResultsDescriptor.js +4 -4
- package/dist/components/Combobox/hooks/useComboboxInlineCompletion.js +34 -37
- package/dist/components/Combobox/index.js +1 -1
- package/dist/components/Container/Container.js +1 -1
- package/dist/components/Divider/Divider.js +1 -1
- package/dist/components/Expander/Expander.js +48 -48
- package/dist/components/Field/Field.js +47 -47
- package/dist/components/Field/FieldGroup/FieldGroup.js +59 -59
- package/dist/components/Field/components/FieldAppendToLabel.js +5 -5
- package/dist/components/Filter/Filter.js +4 -4
- package/dist/components/Filter/components/FilterResetButton.js +4 -4
- package/dist/components/Filter/components/FilterSearch.js +4 -4
- package/dist/components/Filter/index.js +1 -1
- package/dist/components/Form/Form.js +1 -1
- package/dist/components/Form/FormField/FormField.js +46 -49
- package/dist/components/Form/FormField/FormFieldset.js +42 -45
- package/dist/components/Form/FormField/helpers/getErrorTypeMessage.js +10 -10
- package/dist/components/Form/HookForm/HookForm.js +2 -2
- package/dist/components/Form/components/FormValidationSummary.js +15 -16
- package/dist/components/Form/index.js +1 -1
- package/dist/components/Hide/Hide.js +2 -2
- package/dist/components/Hide/helpers/composeHideClasses.js +4 -4
- package/dist/components/Hide/index.js +1 -1
- package/dist/components/Icon/Icon.js +4 -4
- package/dist/components/Icon/index.js +1 -1
- package/dist/components/Inline/Inline.js +4 -4
- package/dist/components/Inline/index.js +1 -1
- package/dist/components/Input/ClearButton/ClearButton.js +1 -1
- package/dist/components/Input/Input.js +3 -3
- package/dist/components/Input/InputBase/InputBase.js +2 -2
- 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 +37 -37
- package/dist/components/Menu/Menu.js +1 -1
- package/dist/components/Menu/MenuDivider/MenuDivider.js +4 -4
- package/dist/components/Menu/MenuHeading/MenuHeading.js +3 -3
- package/dist/components/Menu/MenuItem/MenuItem.js +1 -1
- package/dist/components/Menu/MenuItem/hooks/useMenuItemAria.js +7 -7
- package/dist/components/Menu/MenuItem/hooks/useMenuItemButtonProps.js +30 -30
- package/dist/components/Menu/MenuItem/hooks/useMenuItemComposite.js +2 -2
- package/dist/components/Menu/MenuItem/hooks/useMenuItemInteractions.js +47 -49
- package/dist/components/Menu/MenuItem/hooks/useMenuItemRole.js +5 -5
- package/dist/components/Menu/MenuText/MenuText.js +5 -5
- package/dist/components/Menu/helpers/mapMenuItems.js +21 -21
- package/dist/components/Menu/hooks/useMenuAria.js +2 -2
- package/dist/components/Menu/hooks/useMenuComposite.js +6 -6
- package/dist/components/Menu/hooks/useMenuRole.js +10 -10
- package/dist/components/Menu/hooks/useMenuStyles.js +18 -18
- package/dist/components/Menu/index.js +1 -1
- package/dist/components/Modal/Modal.js +3 -3
- package/dist/components/Modal/hooks/useIDSProvidedModal.js +8 -8
- package/dist/components/Modal/index.js +1 -1
- package/dist/components/Navbar/Navbar.js +3 -3
- 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 +3 -3
- package/dist/components/Navbar/index.js +1 -1
- package/dist/components/Panel/Panel.js +1 -1
- package/dist/components/Placeholder/Placeholder.js +20 -20
- package/dist/components/Popover/InputPopover/InputPopover.js +2 -2
- package/dist/components/Popover/InputPopover/InputPopoverActivator.js +40 -43
- package/dist/components/Popover/InputPopover/InputPopoverProvider.js +61 -61
- package/dist/components/Popover/Popover.js +3 -3
- package/dist/components/Popover/PopoverProvider.js +2 -2
- package/dist/components/Popover/components/NestedPopoverActivator.js +1 -1
- package/dist/components/Popover/components/PopoverActivator.js +53 -58
- package/dist/components/Popover/components/PopoverContent.js +31 -31
- package/dist/components/Popover/helpers/composeFloatingProps.js +21 -24
- package/dist/components/Popover/helpers/handlePopoverTabKey.js +2 -2
- package/dist/components/Popover/hooks/usePopover.js +1 -1
- package/dist/components/Popover/hooks/usePopoverActivatorInteractions.js +23 -26
- package/dist/components/Popover/hooks/usePopoverImperativeHandle.js +17 -17
- package/dist/components/Popover/hooks/usePopoverItem.js +13 -14
- package/dist/components/Popover/hooks/usePopoverNavigation.js +22 -22
- package/dist/components/Progress/Progress.js +2 -2
- package/dist/components/Provider/Provider.js +1 -1
- package/dist/components/Radio/Radio.js +2 -2
- package/dist/components/Radio/helpers/mapRadioGroupOptions.js +8 -8
- package/dist/components/Radio/index.js +1 -1
- package/dist/components/RadioGroup/RadioGroup.js +68 -56
- package/dist/components/RadioGroup/index.js +6 -5
- package/dist/components/Readonly/Readonly.js +5 -5
- package/dist/components/Readonly/index.js +1 -1
- package/dist/components/RichSelect/RichSelect.js +3 -3
- package/dist/components/RichSelect/SelectBody/SelectBody.js +4 -4
- package/dist/components/RichSelect/SelectCreate/SelectCreate.js +4 -4
- package/dist/components/RichSelect/SelectHeading/SelectHeading.js +4 -4
- package/dist/components/RichSelect/SelectLabel/SelectLabel.js +2 -2
- package/dist/components/RichSelect/SelectMenu/SelectMenu.js +4 -4
- package/dist/components/RichSelect/SelectMenu/SelectMenuItem.js +4 -4
- package/dist/components/RichSelect/SelectSearch/SelectSearch.js +3 -3
- package/dist/components/RichSelect/SelectSearchInput/SelectSearchInput.js +2 -2
- package/dist/components/RichSelect/SelectTags/SelectTags.js +3 -3
- package/dist/components/RichSelect/components/SelectActivator.js +1 -1
- package/dist/components/RichSelect/components/SelectOptions.js +4 -4
- package/dist/components/RichSelect/index.js +1 -1
- package/dist/components/Row/Row.js +4 -4
- package/dist/components/Row/index.js +1 -1
- package/dist/components/Select/Select.js +3 -3
- package/dist/components/Select/components/SelectControl.js +2 -2
- package/dist/components/Select/components/SelectReadonly.js +4 -4
- package/dist/components/Select/helpers/mapSelectOptions.js +9 -9
- package/dist/components/Select/helpers/nodesToSelectOptions.js +1 -1
- package/dist/components/Select/index.js +1 -1
- package/dist/components/Skeleton/Skeleton.js +11 -11
- package/dist/components/SkipLink/SkipLink.js +2 -2
- package/dist/components/Slideout/Slideout.js +4 -4
- package/dist/components/Slideout/components/SlideoutInner.js +3 -3
- package/dist/components/Slideout/hooks/useIDSProvidedSlideout.js +7 -7
- package/dist/components/Slideout/index.js +1 -1
- package/dist/components/Slider/Slider.js +3 -3
- package/dist/components/Slider/components/SliderTicks.js +2 -2
- package/dist/components/Slider/index.js +1 -1
- package/dist/components/Spinner/Spinner.js +2 -2
- package/dist/components/Spinner/index.js +1 -1
- package/dist/components/Stack/Stack.js +1 -1
- package/dist/components/TabSet/Tab/Tab.js +52 -52
- package/dist/components/TabSet/TabSet.js +24 -24
- package/dist/components/TabSet/TabSetProvider.js +30 -30
- package/dist/components/TabSet/components/TabSetItem.js +31 -32
- package/dist/components/TabSet/helpers/mapTabs.js +19 -19
- package/dist/components/Table/Table.js +3 -3
- package/dist/components/Table/TableBody/TableBody.js +91 -91
- package/dist/components/Table/TableProvider.js +2 -2
- package/dist/components/Table/components/TableEmpty.js +8 -8
- package/dist/components/Table/components/TableHeader.js +2 -2
- package/dist/components/Table/components/TableHeaderCell.js +1 -1
- package/dist/components/Table/components/TableRows.js +34 -34
- package/dist/components/Table/components/TableSortButton.js +3 -3
- package/dist/components/Table/helpers/composeIDSTableColumnDefs.js +22 -22
- package/dist/components/Table/helpers/composeIDSTableInitialSorting.js +2 -2
- package/dist/components/Table/hooks/useIDSTableColumnSort.js +6 -6
- package/dist/components/Table/hooks/useIDSTableColumnStyles.js +14 -15
- package/dist/components/Table/index.js +1 -1
- package/dist/components/Tag/Tag.js +2 -2
- package/dist/components/Tag/TagInput/TagInput.js +1 -1
- package/dist/components/Tag/components/TagListInput/TagListInput.js +2 -2
- package/dist/components/Tag/index.js +1 -1
- package/dist/components/Text/Text.js +1 -1
- package/dist/components/Toaster/Toast/Toast.js +2 -2
- package/dist/components/Toaster/Toast/ToastAnimated.js +3 -3
- package/dist/components/Toaster/Toast/ToastIcon.js +1 -1
- package/dist/components/Toaster/Toaster.js +3 -3
- 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 +25 -25
- package/dist/components/Tooltip/Tooltip.js +3 -3
- package/dist/components/ValidationMessage/ValidationBase/ValidationBase.js +2 -2
- package/dist/components/ValidationMessage/ValidationSummary/ValidationSummary.js +2 -2
- package/dist/constants.js +1 -1
- package/dist/floating-ui.react-DYBeYtOf.js +3464 -0
- package/dist/fuzzysort-BNka47rs.js +395 -0
- package/dist/helpers/dom/closestCrossShadow.js +16 -17
- package/dist/helpers/dom/focusableElements.js +6 -6
- package/dist/helpers/dom/getActiveElement.js +5 -6
- package/dist/helpers/formatting/formatDateTime.js +8 -7
- package/dist/helpers/label-value/composeLabelValueDescriptor.js +8 -8
- package/dist/helpers/label-value/getQueryRangeExclusive.js +1 -1
- package/dist/helpers/label-value/getValueFromLabelValues.js +5 -6
- package/dist/helpers/label-value/highlightQueryInLabel.js +4 -7
- package/dist/helpers/label-value/searchLabelValues.js +1 -1
- package/dist/helpers/responsive/getResponsiveLayoutModifiers.js +4 -4
- package/dist/helpers/transition/getTransitionDuration.js +5 -8
- package/dist/hooks/useAriaRelationship.js +19 -21
- package/dist/hooks/useBreakpoint.js +8 -11
- package/dist/hooks/useControlledState.js +40 -40
- package/dist/{index-BQfnxwrU.js → index-BaVtNOfa.js} +41 -51
- package/dist/{index-Dms7F5NM.js → index-DLnR8XTt.js} +1 -11
- package/dist/{index-2QXL0WYc.js → index-cbHCAGLB.js} +2 -7
- package/dist/{index.esm-BnSuefUA.js → index.esm-CL8gh5wr.js} +1 -5
- package/dist/main.js +159 -158
- package/dist/patterns/Loading/Loading.js +1 -1
- package/dist/patterns/Loading/LoadingSuspense.js +1 -1
- package/dist/patterns/Loading/components/ComponentLoading.js +3 -3
- package/dist/patterns/Loading/components/DefaultLoading.js +3 -3
- package/dist/patterns/Loading/components/LongLoading.js +42 -42
- package/dist/patterns/Loading/components/PageLoading.js +3 -3
- package/dist/patterns/Loading/components/StartUpLoading.js +65 -65
- package/dist/patterns/Loading/components/ValidateLoading.js +3 -3
- package/dist/patterns/Loading/index.js +1 -1
- package/dist/src/components/InputCurrency/InputCurrency.d.ts +1 -2
- package/dist/src/components/RadioGroup/RadioGroup.d.ts +5 -0
- package/dist/src/components/TabSet/TabSet.types.d.ts +1 -1
- package/dist/src/components/Table/Table.types.d.ts +1 -1
- package/dist/src/components/Table/helpers/composeIDSTableColumnDefs.d.ts +1 -1
- package/dist/src/components/Table/helpers/findColumnByKey.d.ts +1 -1
- package/dist/src/components/Toaster/hooks/useToaster.d.ts +1 -1
- package/dist/style.css +1 -1
- package/dist/useIDSButtonGroupItem-BB7Moa3N.js +29 -0
- package/package.json +67 -38
- package/dist/ComboboxHiddenInput-gTOjjF3f.js +0 -32
- package/dist/InputBase-BFK9n82f.js +0 -56
- package/dist/Loading.module-g2pe-Gfx.js +0 -13
- package/dist/LoadingSuspense-D9nGJ3gx.js +0 -5773
- package/dist/LogoFromSrc-BnImWqt6.js +0 -59
- package/dist/MenuItem.module-BxcFZeSh.js +0 -24
- package/dist/Popover.module-BKrF_xRW.js +0 -11
- package/dist/PopoverProvider-d3hhpW2k.js +0 -142
- package/dist/SliderTicks-DQN0Ka4d.js +0 -78
- package/dist/TabSet.module-FRUnHgA1.js +0 -13
- package/dist/Table.module-r-RfIeLI.js +0 -32
- package/dist/floating-ui.react-nmA48tb2.js +0 -3463
- package/dist/fuzzysort-eoXOpoo6.js +0 -395
- package/dist/useIDSButtonGroupItem-VfKx4O-O.js +0 -30
- package/dist/vite.config.d.ts +0 -2
- package/dist/vitest.config.d.ts +0 -2
- package/dist/vitest.setup.d.ts +0 -0
- /package/{LICENSE.txt → LICENSE} +0 -0
package/dist/main.js
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { I as o, a as s, b as t, d as I, c as a, e as p, g as S, h as m, j as x, i as l, k as T, l as f, m as n, n as i, P as E, Q as u, o as
|
|
1
|
+
import { I as o, a as s, b as t, d as I, c as a, e as p, g as S, h as m, j as x, i as l, k as T, l as f, m as n, n as i, P as E, Q as u, o as d, p as O, r as C, q as _, s as A, f as L, t as M, u as N, v as R, w as P, D as c, E as D, x as G, y as g, z as B, A as F, B as U, C as b, F as y, G as v, H as k, J as H, K as V, L as h, M as Y, O as X, T as z, N as Z } from "./LoadingSuspense-Bwd232Nt.js";
|
|
2
2
|
import { ALERT_ICONS as w } from "./components/Alert/Alert.types.js";
|
|
3
3
|
import { useAutocompleteSearch as W } from "./components/Autocomplete/hooks/useAutocompleteSearch.js";
|
|
4
4
|
import { IressBadge as q } from "./components/Badge/Badge.js";
|
|
5
5
|
import { BADGE_MODES as $, BadgeMode as ee } from "./components/Badge/Badge.types.js";
|
|
6
6
|
import { BUTTON_MODES as oe, BUTTON_TYPES as se, ButtonCssClass as te, ButtonMode as Ie, ButtonType as ae } from "./components/Button/Button.types.js";
|
|
7
7
|
import { IressButtonGroup as Se } from "./components/ButtonGroup/ButtonGroup.js";
|
|
8
|
-
import { u as xe } from "./useIDSButtonGroupItem-
|
|
8
|
+
import { u as xe } from "./useIDSButtonGroupItem-BB7Moa3N.js";
|
|
9
9
|
import { CardCssClass as Te, CardSlotClass as fe } from "./components/Card/Card.types.js";
|
|
10
10
|
import { IressCard as ie } from "./components/Card/Card.js";
|
|
11
11
|
import { IressButtonCard as ue } from "./components/Card/components/ButtonCard.js";
|
|
12
|
-
import { IressLinkCard as
|
|
12
|
+
import { IressLinkCard as Oe } from "./components/Card/components/LinkCard.js";
|
|
13
13
|
import { composeIDSCard as _e } from "./components/Card/helpers/composeIDSCard.js";
|
|
14
14
|
import { composeIDSCardSlots as Le } from "./components/Card/helpers/composeIDSCardSlots.js";
|
|
15
|
-
import { CHECKBOX_GROUP_LAYOUTS as Ne, CheckboxGroupLayout as
|
|
15
|
+
import { CHECKBOX_GROUP_LAYOUTS as Ne, CheckboxGroupLayout as Re } from "./components/CheckboxGroup/CheckboxGroup.types.js";
|
|
16
16
|
import { IressCheckboxGroup as ce } from "./components/CheckboxGroup/CheckboxGroup.js";
|
|
17
|
-
import { COL_ALIGN_SELFS as
|
|
17
|
+
import { COL_ALIGN_SELFS as Ge, COL_OFFSETS as ge, COL_SPANS as Be, ColAlignSelf as Fe, ColCssClass as Ue, ColOffset as be, ColSpan as ye } from "./components/Col/Col.types.js";
|
|
18
18
|
import { IressCol as ke } from "./components/Col/Col.js";
|
|
19
19
|
import { ContainerCssClass as Ve } from "./components/Container/Container.types.js";
|
|
20
20
|
import { IressContainer as Ye } from "./components/Container/Container.js";
|
|
@@ -29,10 +29,10 @@ import { IressFormField as Ir } from "./components/Form/FormField/FormField.js";
|
|
|
29
29
|
import { IressFormFieldset as pr } from "./components/Form/FormField/FormFieldset.js";
|
|
30
30
|
import { FormFieldErrorMessages as mr } from "./components/Form/FormField/FormField.types.js";
|
|
31
31
|
import { HideCssClass as lr, HideTypes as Tr } from "./components/Hide/Hide.types.js";
|
|
32
|
-
import { ICON_FLIPS as nr, ICON_ROTATES as ir, ICON_SETS as Er, ICON_SIZES as ur, ICON_SPINS as
|
|
32
|
+
import { ICON_FLIPS as nr, ICON_ROTATES as ir, ICON_SETS as Er, ICON_SIZES as ur, ICON_SPINS as dr, IconFlip as Or, IconRotate as Cr, IconSet as _r, IconSize as Ar, IconSpin as Lr } from "./components/Icon/Icon.types.js";
|
|
33
33
|
import { InlineCssClass as Nr } from "./components/Inline/Inline.types.js";
|
|
34
|
-
import { INPUT_MODES as
|
|
35
|
-
import { IressLabel as
|
|
34
|
+
import { INPUT_MODES as Pr, InputMode as cr } from "./components/Input/Input.types.js";
|
|
35
|
+
import { IressLabel as Gr } from "./components/Label/Label.js";
|
|
36
36
|
import { IressMenu as Br } from "./components/Menu/Menu.js";
|
|
37
37
|
import { MENU_LAYOUTS as Ur, MENU_ROLES as br, MenuLayout as yr, MenuType as vr } from "./components/Menu/Menu.types.js";
|
|
38
38
|
import { MENU_ITEM_ROLES as Hr, MenuItemRole as Vr } from "./components/Menu/MenuItem/MenuItem.types.js";
|
|
@@ -52,106 +52,106 @@ import { IressPlaceholder as io } from "./components/Placeholder/Placeholder.js"
|
|
|
52
52
|
import { POPOVER_TYPES as uo, POPOVER_USE_MAX_HEIGHT as Oo, PopoverCssClass as Co, PopoverType as _o } from "./components/Popover/Popover.types.js";
|
|
53
53
|
import { IressPopover as Lo } from "./components/Popover/Popover.js";
|
|
54
54
|
import { usePopoverItem as No } from "./components/Popover/hooks/usePopoverItem.js";
|
|
55
|
-
import { IressInputPopover as
|
|
55
|
+
import { IressInputPopover as Po } from "./components/Popover/InputPopover/InputPopover.js";
|
|
56
56
|
import { IressProgress as Do } from "./components/Progress/Progress.js";
|
|
57
|
-
import { IressProvider as
|
|
57
|
+
import { IressProvider as go } from "./components/Provider/Provider.js";
|
|
58
58
|
import { RADIO_GROUP_LAYOUTS as Fo, RadioGroupLayout as Uo } from "./components/RadioGroup/RadioGroup.types.js";
|
|
59
|
-
import { IressRadioGroup as yo } from "./components/RadioGroup/RadioGroup.js";
|
|
60
|
-
import { useRichSelectState as
|
|
61
|
-
import { IressSelectBody as
|
|
62
|
-
import { IressSelectCreate as
|
|
63
|
-
import { RowCssClass as
|
|
64
|
-
import { IressSelectOption as
|
|
65
|
-
import { mapSelectOptions as
|
|
66
|
-
import { SKELETON_MODES as
|
|
67
|
-
import { IressSkeleton as
|
|
68
|
-
import { IressSkipLink as
|
|
69
|
-
import { SLIDEOUT_MODES as
|
|
70
|
-
import { I as
|
|
71
|
-
import { useSlideout as
|
|
72
|
-
import { StackCssClass as
|
|
59
|
+
import { IressRadioGroup as yo, shouldFireRadioGroupBlur as vo } from "./components/RadioGroup/RadioGroup.js";
|
|
60
|
+
import { useRichSelectState as Ho } from "./components/RichSelect/hooks/useRichSelectState.js";
|
|
61
|
+
import { IressSelectBody as ho } from "./components/RichSelect/SelectBody/SelectBody.js";
|
|
62
|
+
import { IressSelectCreate as Xo } from "./components/RichSelect/SelectCreate/SelectCreate.js";
|
|
63
|
+
import { RowCssClass as Zo } from "./components/Row/Row.types.js";
|
|
64
|
+
import { IressSelectOption as wo } from "./components/Select/SelectOption/SelectOption.js";
|
|
65
|
+
import { mapSelectOptions as Wo, renderOptionOrOptGroup as jo } from "./components/Select/helpers/mapSelectOptions.js";
|
|
66
|
+
import { SKELETON_MODES as Jo, SkeletonMode as $o } from "./components/Skeleton/Skeleton.types.js";
|
|
67
|
+
import { IressSkeleton as rs } from "./components/Skeleton/Skeleton.js";
|
|
68
|
+
import { IressSkipLink as ss } from "./components/SkipLink/SkipLink.js";
|
|
69
|
+
import { SLIDEOUT_MODES as Is, SLIDEOUT_POSITIONS as as, SLIDEOUT_SIZES as ps, SlideoutMode as Ss, SlideoutPosition as ms, SlideoutSize as xs } from "./components/Slideout/Slideout.types.js";
|
|
70
|
+
import { I as Ts, a as fs } from "./SlideoutProvider-CQh140HM.js";
|
|
71
|
+
import { useSlideout as is } from "./components/Slideout/hooks/useSlideout.js";
|
|
72
|
+
import { StackCssClass as us } from "./components/Stack/Stack.types.js";
|
|
73
73
|
import { IressStack as Os } from "./components/Stack/Stack.js";
|
|
74
|
-
import { TABLE_CELL_FORMATS as
|
|
75
|
-
import { IressTableFormattedValue as
|
|
76
|
-
import { IressTableBody as
|
|
77
|
-
import { IressTab as
|
|
78
|
-
import { TAB_SET_LAYOUTS as
|
|
79
|
-
import { IressTabSet as
|
|
80
|
-
import { mapTabs as
|
|
81
|
-
import { TEXT_ELEMENTS as
|
|
82
|
-
import { IressText as
|
|
83
|
-
import { TOAST_ANIMATION as
|
|
84
|
-
import { TOASTER_ARIA_ATTRIBUTES as
|
|
85
|
-
import { useToaster as
|
|
86
|
-
import { TOGGLE_LAYOUTS as
|
|
87
|
-
import { IressToggle as
|
|
88
|
-
import { IressTooltip as
|
|
89
|
-
import { IressValidationMessage as
|
|
90
|
-
import { IressValidationLink as
|
|
91
|
-
import { IressValidationSummary as
|
|
92
|
-
import { Breakpoint as
|
|
93
|
-
import { generateScopedName as
|
|
94
|
-
import { toArray as
|
|
95
|
-
import { useBreakpoint as
|
|
96
|
-
import { useControlledState as
|
|
97
|
-
import { useIdIfNeeded as
|
|
98
|
-
import { useResponsiveProps as
|
|
99
|
-
import { BREAKPOINTS as
|
|
74
|
+
import { TABLE_CELL_FORMATS as _s, TABLE_COLUMN_ALIGN as As, TABLE_SCOPES as Ls, TableCellFormat as Ms, TableColumnAlign as Ns, TableScope as Rs } from "./components/Table/Table.types.js";
|
|
75
|
+
import { IressTableFormattedValue as cs } from "./components/Table/TableFormattedValue/TableFormattedValue.js";
|
|
76
|
+
import { IressTableBody as Gs } from "./components/Table/TableBody/TableBody.js";
|
|
77
|
+
import { IressTab as Bs } from "./components/TabSet/Tab/Tab.js";
|
|
78
|
+
import { TAB_SET_LAYOUTS as Us, TabSetLayout as bs } from "./components/TabSet/TabSet.types.js";
|
|
79
|
+
import { IressTabSet as vs } from "./components/TabSet/TabSet.js";
|
|
80
|
+
import { mapTabs as Hs } from "./components/TabSet/helpers/mapTabs.js";
|
|
81
|
+
import { TEXT_ELEMENTS as hs } from "./components/Text/Text.types.js";
|
|
82
|
+
import { IressText as Xs } from "./components/Text/Text.js";
|
|
83
|
+
import { TOAST_ANIMATION as Zs, TOAST_STATUS as Ks } from "./components/Toaster/Toast/Toast.types.js";
|
|
84
|
+
import { TOASTER_ARIA_ATTRIBUTES as Qs, TOASTER_POSITION as Ws, TOAST_POSITION_ANIMATION_MATRIX as js, ToasterPosition as qs } from "./components/Toaster/Toaster.types.js";
|
|
85
|
+
import { useToaster as $s } from "./components/Toaster/hooks/useToaster.js";
|
|
86
|
+
import { TOGGLE_LAYOUTS as rt, ToggleLayout as ot } from "./components/Toggle/Toggle.types.js";
|
|
87
|
+
import { IressToggle as tt } from "./components/Toggle/Toggle.js";
|
|
88
|
+
import { IressTooltip as at } from "./components/Tooltip/Tooltip.js";
|
|
89
|
+
import { IressValidationMessage as St } from "./components/ValidationMessage/ValidationMessage.js";
|
|
90
|
+
import { IressValidationLink as xt } from "./components/ValidationMessage/ValidationLink/ValidationLink.js";
|
|
91
|
+
import { IressValidationSummary as Tt } from "./components/ValidationMessage/ValidationSummary/ValidationSummary.js";
|
|
92
|
+
import { Breakpoint as nt, DisplayMode as it, FloatingUIAlign as Et, FormElementType as ut, FormElementWidth as dt, GlobalCSSClass as Ot, GutterSize as Ct, HeadingLevel as _t, HorizontalAlign as At, LoggerLevels as Lt, ModalSize as Mt, PaddingSize as Nt, SystemValidationStatus as Rt, TextAlign as Pt, TextElement as ct, TextFieldType as Dt, TextMode as Gt, TextVariant as gt, VerticalAlign as Bt } from "./enums.js";
|
|
93
|
+
import { generateScopedName as Ut } from "./helpers/utility/generateScopedName.js";
|
|
94
|
+
import { toArray as yt } from "./helpers/formatting/toArray.js";
|
|
95
|
+
import { useBreakpoint as kt } from "./hooks/useBreakpoint.js";
|
|
96
|
+
import { useControlledState as Vt } from "./hooks/useControlledState.js";
|
|
97
|
+
import { useIdIfNeeded as Yt } from "./hooks/useIdIfNeeded.js";
|
|
98
|
+
import { useResponsiveProps as zt, useResponsiveValue as Zt } from "./hooks/useResponsiveProps.js";
|
|
99
|
+
import { BREAKPOINTS as wt, BREAKPOINT_DETAILS as Qt, CSS_IDS_VERSION as Wt, DISPLAY_MODES as jt, FLOATING_UI_ALIGNS as qt, FOCUSABLE_QUERY_SELECTOR as Jt, FORM_ELEMENT_WIDTHS as $t, GRID_SIZE as eI, GUTTER_SIZES as rI, HEADING_LEVELS as oI, HORIZONTAL_ALIGNS as sI, LOGGER_LEVELS as tI, PADDING_SIZES as II, SYSTEM_VALIDATION_STATUSES as aI, TEXT_ALIGNS as pI, TEXT_MODES as SI, TEXT_VARIANTS as mI, VERTICAL_ALIGNS as xI, Z_INDEX as lI } from "./constants.js";
|
|
100
100
|
export {
|
|
101
101
|
w as ALERT_ICONS,
|
|
102
102
|
$ as BADGE_MODES,
|
|
103
|
-
|
|
104
|
-
|
|
103
|
+
wt as BREAKPOINTS,
|
|
104
|
+
Qt as BREAKPOINT_DETAILS,
|
|
105
105
|
oe as BUTTON_MODES,
|
|
106
106
|
se as BUTTON_TYPES,
|
|
107
107
|
ee as BadgeMode,
|
|
108
|
-
|
|
108
|
+
nt as Breakpoint,
|
|
109
109
|
te as ButtonCssClass,
|
|
110
110
|
Ie as ButtonMode,
|
|
111
111
|
ae as ButtonType,
|
|
112
112
|
Ne as CHECKBOX_GROUP_LAYOUTS,
|
|
113
|
-
|
|
114
|
-
|
|
113
|
+
Ge as COL_ALIGN_SELFS,
|
|
114
|
+
ge as COL_OFFSETS,
|
|
115
115
|
Be as COL_SPANS,
|
|
116
|
-
|
|
116
|
+
Wt as CSS_IDS_VERSION,
|
|
117
117
|
Te as CardCssClass,
|
|
118
118
|
fe as CardSlotClass,
|
|
119
|
-
|
|
119
|
+
Re as CheckboxGroupLayout,
|
|
120
120
|
Fe as ColAlignSelf,
|
|
121
121
|
Ue as ColCssClass,
|
|
122
122
|
be as ColOffset,
|
|
123
123
|
ye as ColSpan,
|
|
124
124
|
Ve as ContainerCssClass,
|
|
125
|
-
|
|
126
|
-
|
|
125
|
+
jt as DISPLAY_MODES,
|
|
126
|
+
it as DisplayMode,
|
|
127
127
|
ze as DividerCssClass,
|
|
128
128
|
Qe as EXPANDER_MODES,
|
|
129
129
|
We as ExpanderMode,
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
130
|
+
qt as FLOATING_UI_ALIGNS,
|
|
131
|
+
Jt as FOCUSABLE_QUERY_SELECTOR,
|
|
132
|
+
$t as FORM_ELEMENT_WIDTHS,
|
|
133
|
+
Et as FloatingUIAlign,
|
|
134
134
|
sr as FormDefaultText,
|
|
135
|
-
|
|
136
|
-
|
|
135
|
+
ut as FormElementType,
|
|
136
|
+
dt as FormElementWidth,
|
|
137
137
|
mr as FormFieldErrorMessages,
|
|
138
|
-
|
|
139
|
-
|
|
138
|
+
eI as GRID_SIZE,
|
|
139
|
+
rI as GUTTER_SIZES,
|
|
140
140
|
Ot as GlobalCSSClass,
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
141
|
+
Ct as GutterSize,
|
|
142
|
+
oI as HEADING_LEVELS,
|
|
143
|
+
sI as HORIZONTAL_ALIGNS,
|
|
144
|
+
_t as HeadingLevel,
|
|
145
145
|
lr as HideCssClass,
|
|
146
146
|
Tr as HideTypes,
|
|
147
|
-
|
|
147
|
+
At as HorizontalAlign,
|
|
148
148
|
nr as ICON_FLIPS,
|
|
149
149
|
ir as ICON_ROTATES,
|
|
150
150
|
Er as ICON_SETS,
|
|
151
151
|
ur as ICON_SIZES,
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
152
|
+
dr as ICON_SPINS,
|
|
153
|
+
Pr as INPUT_MODES,
|
|
154
|
+
Or as IconFlip,
|
|
155
155
|
Cr as IconRotate,
|
|
156
156
|
_r as IconSet,
|
|
157
157
|
Ar as IconSize,
|
|
@@ -185,14 +185,14 @@ export {
|
|
|
185
185
|
f as IressInline,
|
|
186
186
|
n as IressInput,
|
|
187
187
|
i as IressInputCurrency,
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
188
|
+
Po as IressInputPopover,
|
|
189
|
+
Gr as IressLabel,
|
|
190
|
+
Oe as IressLinkCard,
|
|
191
191
|
E as IressLoading,
|
|
192
192
|
u as IressLoadingSuspense,
|
|
193
193
|
Br as IressMenu,
|
|
194
|
-
|
|
195
|
-
|
|
194
|
+
d as IressMenuDivider,
|
|
195
|
+
O as IressMenuHeading,
|
|
196
196
|
C as IressMenuItem,
|
|
197
197
|
_ as IressMenuText,
|
|
198
198
|
A as IressModal,
|
|
@@ -204,47 +204,47 @@ export {
|
|
|
204
204
|
io as IressPlaceholder,
|
|
205
205
|
Lo as IressPopover,
|
|
206
206
|
Do as IressProgress,
|
|
207
|
-
|
|
207
|
+
go as IressProvider,
|
|
208
208
|
N as IressRadio,
|
|
209
209
|
yo as IressRadioGroup,
|
|
210
|
-
|
|
211
|
-
|
|
210
|
+
R as IressReadonly,
|
|
211
|
+
P as IressRichSelect,
|
|
212
212
|
c as IressRow,
|
|
213
213
|
D as IressSelect,
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
214
|
+
ho as IressSelectBody,
|
|
215
|
+
Xo as IressSelectCreate,
|
|
216
|
+
G as IressSelectHeading,
|
|
217
|
+
g as IressSelectLabel,
|
|
218
218
|
B as IressSelectMenu,
|
|
219
|
-
|
|
219
|
+
wo as IressSelectOption,
|
|
220
220
|
F as IressSelectSearch,
|
|
221
221
|
U as IressSelectSearchInput,
|
|
222
222
|
b as IressSelectTags,
|
|
223
|
-
|
|
224
|
-
|
|
223
|
+
rs as IressSkeleton,
|
|
224
|
+
ss as IressSkipLink,
|
|
225
225
|
y as IressSlideout,
|
|
226
|
-
|
|
227
|
-
|
|
226
|
+
Ts as IressSlideoutContext,
|
|
227
|
+
fs as IressSlideoutProvider,
|
|
228
228
|
v as IressSlider,
|
|
229
229
|
k as IressSpinner,
|
|
230
230
|
Os as IressStack,
|
|
231
|
-
|
|
232
|
-
|
|
231
|
+
Bs as IressTab,
|
|
232
|
+
vs as IressTabSet,
|
|
233
233
|
H as IressTable,
|
|
234
|
-
|
|
235
|
-
|
|
234
|
+
Gs as IressTableBody,
|
|
235
|
+
cs as IressTableFormattedValue,
|
|
236
236
|
V as IressTag,
|
|
237
237
|
h as IressTagInput,
|
|
238
|
-
|
|
238
|
+
Xs as IressText,
|
|
239
239
|
Y as IressToast,
|
|
240
240
|
X as IressToasterProvider,
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
241
|
+
tt as IressToggle,
|
|
242
|
+
at as IressTooltip,
|
|
243
|
+
xt as IressValidationLink,
|
|
244
|
+
St as IressValidationMessage,
|
|
245
|
+
Tt as IressValidationSummary,
|
|
246
|
+
tI as LOGGER_LEVELS,
|
|
247
|
+
Lt as LoggerLevels,
|
|
248
248
|
Hr as MENU_ITEM_ROLES,
|
|
249
249
|
Ur as MENU_LAYOUTS,
|
|
250
250
|
br as MENU_ROLES,
|
|
@@ -252,74 +252,75 @@ export {
|
|
|
252
252
|
Vr as MenuItemRole,
|
|
253
253
|
yr as MenuLayout,
|
|
254
254
|
vr as MenuType,
|
|
255
|
-
|
|
255
|
+
Mt as ModalSize,
|
|
256
256
|
po as NavbarHorizontalAlign,
|
|
257
|
-
|
|
257
|
+
II as PADDING_SIZES,
|
|
258
258
|
mo as PANEL_BACKGROUNDS,
|
|
259
259
|
uo as POPOVER_TYPES,
|
|
260
260
|
Oo as POPOVER_USE_MAX_HEIGHT,
|
|
261
|
-
|
|
261
|
+
Nt as PaddingSize,
|
|
262
262
|
xo as PanelBackground,
|
|
263
263
|
lo as PanelCssClass,
|
|
264
264
|
Co as PopoverCssClass,
|
|
265
265
|
_o as PopoverType,
|
|
266
266
|
Fo as RADIO_GROUP_LAYOUTS,
|
|
267
267
|
Uo as RadioGroupLayout,
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
268
|
+
Zo as RowCssClass,
|
|
269
|
+
Jo as SKELETON_MODES,
|
|
270
|
+
Is as SLIDEOUT_MODES,
|
|
271
|
+
as as SLIDEOUT_POSITIONS,
|
|
272
|
+
ps as SLIDEOUT_SIZES,
|
|
273
|
+
aI as SYSTEM_VALIDATION_STATUSES,
|
|
274
|
+
$o as SkeletonMode,
|
|
275
|
+
Ss as SlideoutMode,
|
|
276
|
+
ms as SlideoutPosition,
|
|
277
|
+
xs as SlideoutSize,
|
|
278
|
+
us as StackCssClass,
|
|
279
|
+
Rt as SystemValidationStatus,
|
|
280
|
+
_s as TABLE_CELL_FORMATS,
|
|
281
|
+
As as TABLE_COLUMN_ALIGN,
|
|
282
|
+
Ls as TABLE_SCOPES,
|
|
283
|
+
Us as TAB_SET_LAYOUTS,
|
|
284
|
+
pI as TEXT_ALIGNS,
|
|
285
|
+
hs as TEXT_ELEMENTS,
|
|
286
|
+
SI as TEXT_MODES,
|
|
287
|
+
mI as TEXT_VARIANTS,
|
|
288
|
+
Qs as TOASTER_ARIA_ATTRIBUTES,
|
|
289
|
+
Ws as TOASTER_POSITION,
|
|
290
|
+
Zs as TOAST_ANIMATION,
|
|
291
|
+
js as TOAST_POSITION_ANIMATION_MATRIX,
|
|
292
|
+
Ks as TOAST_STATUS,
|
|
293
|
+
rt as TOGGLE_LAYOUTS,
|
|
294
|
+
bs as TabSetLayout,
|
|
295
|
+
Ms as TableCellFormat,
|
|
296
|
+
Ns as TableColumnAlign,
|
|
297
|
+
Rs as TableScope,
|
|
298
298
|
Pt as TextAlign,
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
299
|
+
ct as TextElement,
|
|
300
|
+
Dt as TextFieldType,
|
|
301
|
+
Gt as TextMode,
|
|
302
302
|
gt as TextVariant,
|
|
303
303
|
z as Toast,
|
|
304
304
|
Z as ToasterContext,
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
305
|
+
qs as ToasterPosition,
|
|
306
|
+
ot as ToggleLayout,
|
|
307
|
+
xI as VERTICAL_ALIGNS,
|
|
308
|
+
Bt as VerticalAlign,
|
|
309
|
+
lI as Z_INDEX,
|
|
310
310
|
_e as composeIDSCard,
|
|
311
311
|
Le as composeIDSCardSlots,
|
|
312
|
-
|
|
312
|
+
Ut as generateScopedName,
|
|
313
313
|
Jr as mapMenuItems,
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
314
|
+
Wo as mapSelectOptions,
|
|
315
|
+
Hs as mapTabs,
|
|
316
|
+
jo as renderOptionOrOptGroup,
|
|
317
|
+
vo as shouldFireRadioGroupBlur,
|
|
318
|
+
yt as toArray,
|
|
318
319
|
W as useAutocompleteSearch,
|
|
319
|
-
|
|
320
|
-
|
|
320
|
+
kt as useBreakpoint,
|
|
321
|
+
Vt as useControlledState,
|
|
321
322
|
xe as useIDSButtonGroupItem,
|
|
322
|
-
|
|
323
|
+
Yt as useIdIfNeeded,
|
|
323
324
|
Yr as useMenuItemAria,
|
|
324
325
|
zr as useMenuItemButtonProps,
|
|
325
326
|
Kr as useMenuItemComposite,
|
|
@@ -327,9 +328,9 @@ export {
|
|
|
327
328
|
jr as useMenuItemRole,
|
|
328
329
|
Io as useModal,
|
|
329
330
|
No as usePopoverItem,
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
331
|
+
zt as useResponsiveProps,
|
|
332
|
+
Zt as useResponsiveValue,
|
|
333
|
+
Ho as useRichSelectState,
|
|
334
|
+
is as useSlideout,
|
|
335
|
+
$s as useToaster
|
|
335
336
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "./components/StartUpLoading.js";
|
|
3
|
-
import { P as s } from "../../LoadingSuspense-
|
|
3
|
+
import { P as s } from "../../LoadingSuspense-Bwd232Nt.js";
|
|
4
4
|
import "./hooks/useShouldRenderLoading.js";
|
|
5
5
|
import "./components/LongLoading.js";
|
|
6
6
|
export {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
3
|
import "../../../components/Skeleton/Skeleton.js";
|
|
4
|
-
import { ag as e } from "../../../LoadingSuspense-
|
|
5
|
-
import "../../../Loading.module-
|
|
6
|
-
import "../../../index-
|
|
4
|
+
import { ag as e } from "../../../LoadingSuspense-Bwd232Nt.js";
|
|
5
|
+
import "../../../Loading.module-BjceG0Wh.js";
|
|
6
|
+
import "../../../index-cbHCAGLB.js";
|
|
7
7
|
import "../../../components/Text/Text.js";
|
|
8
8
|
export {
|
|
9
9
|
e as ComponentLoading
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import { ae as e } from "../../../LoadingSuspense-
|
|
3
|
+
import { ae as e } from "../../../LoadingSuspense-Bwd232Nt.js";
|
|
4
4
|
import "../../../components/Text/Text.js";
|
|
5
|
-
import "../../../index-
|
|
6
|
-
import "../../../Loading.module-
|
|
5
|
+
import "../../../index-cbHCAGLB.js";
|
|
6
|
+
import "../../../Loading.module-BjceG0Wh.js";
|
|
7
7
|
export {
|
|
8
8
|
e as DefaultLoading
|
|
9
9
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { jsx as c, jsxs as
|
|
1
|
+
import { jsx as c, jsxs as h } from "react/jsx-runtime";
|
|
2
2
|
import { IressStack as w } from "../../../components/Stack/Stack.js";
|
|
3
3
|
import { useMemo as f, useId as y } from "react";
|
|
4
|
-
import { c as
|
|
5
|
-
import { l as m } from "../../../Loading.module-
|
|
4
|
+
import { c as a } from "../../../index-cbHCAGLB.js";
|
|
5
|
+
import { l as m } from "../../../Loading.module-BjceG0Wh.js";
|
|
6
6
|
import { IressText as M } from "../../../components/Text/Text.js";
|
|
7
7
|
import { IressPanel as S } from "../../../components/Panel/Panel.js";
|
|
8
8
|
import { IressProgress as j } from "../../../components/Progress/Progress.js";
|
|
@@ -10,7 +10,7 @@ import { GlobalCSSClass as L } from "../../../enums.js";
|
|
|
10
10
|
import { propagateTestid as O } from "../../../helpers/utility/propagateTestid.js";
|
|
11
11
|
import { useShowIndicator as C } from "../hooks/useShowIndicator.js";
|
|
12
12
|
import { useEstimatedProgressValue as G } from "../hooks/useEstimatedProgressValue.js";
|
|
13
|
-
const P = "ids-long-loading--root-
|
|
13
|
+
const P = "ids-long-loading--root-v5203", V = "ids-long-loading--panel-v5203", B = "ids-long-loading--dots-v5203", E = "ids-long-loading--check-list-v5203", R = "ids-long-loading--check-list-item-v5203", T = "ids-long-loading--check-list-item__done-v5203", U = "ids-long-loading--checked-v5203", $ = "ids-long-loading--checked__circle-v5203", q = "ids-long-loading--checked__check-v5203", s = {
|
|
14
14
|
root: P,
|
|
15
15
|
panel: V,
|
|
16
16
|
dots: B,
|
|
@@ -21,16 +21,16 @@ const P = "ids-long-loading--root-v5200", V = "ids-long-loading--panel-v5200", B
|
|
|
21
21
|
checked__circle: $,
|
|
22
22
|
checked__check: q
|
|
23
23
|
}, z = () => {
|
|
24
|
-
const
|
|
25
|
-
return /* @__PURE__ */
|
|
24
|
+
const r = y();
|
|
25
|
+
return /* @__PURE__ */ h(
|
|
26
26
|
"svg",
|
|
27
27
|
{
|
|
28
28
|
className: s.checked,
|
|
29
29
|
xmlns: "http://www.w3.org/2000/svg",
|
|
30
30
|
viewBox: "0 0 52 52",
|
|
31
|
-
"aria-labelledby":
|
|
31
|
+
"aria-labelledby": r,
|
|
32
32
|
children: [
|
|
33
|
-
/* @__PURE__ */ c("title", { id:
|
|
33
|
+
/* @__PURE__ */ c("title", { id: r, children: "Finished: " }),
|
|
34
34
|
/* @__PURE__ */ c(
|
|
35
35
|
"circle",
|
|
36
36
|
{
|
|
@@ -53,64 +53,64 @@ const P = "ids-long-loading--root-v5200", V = "ids-long-loading--panel-v5200", B
|
|
|
53
53
|
}
|
|
54
54
|
);
|
|
55
55
|
}, ce = ({
|
|
56
|
-
children:
|
|
57
|
-
className:
|
|
58
|
-
error:
|
|
59
|
-
estimatedFinishTime:
|
|
60
|
-
loaded:
|
|
61
|
-
messageList:
|
|
62
|
-
progress:
|
|
63
|
-
renderProgress:
|
|
64
|
-
timeout:
|
|
56
|
+
children: r,
|
|
57
|
+
className: u,
|
|
58
|
+
error: g,
|
|
59
|
+
estimatedFinishTime: n = 1e4,
|
|
60
|
+
loaded: l,
|
|
61
|
+
messageList: t = {},
|
|
62
|
+
progress: v,
|
|
63
|
+
renderProgress: N = (i) => /* @__PURE__ */ c(j, { ...i }),
|
|
64
|
+
timeout: k,
|
|
65
65
|
...p
|
|
66
66
|
}) => {
|
|
67
|
-
const
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
), I = Math.max(...Object.keys(
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
67
|
+
const i = C(
|
|
68
|
+
l,
|
|
69
|
+
k?.message,
|
|
70
|
+
k?.loaded ?? 1300
|
|
71
|
+
), I = Math.max(...Object.keys(t).map(Number)) + 500, o = G(
|
|
72
|
+
n,
|
|
73
|
+
l,
|
|
74
|
+
v,
|
|
75
75
|
I
|
|
76
76
|
), _ = f(() => {
|
|
77
|
-
const e = Object.keys(
|
|
77
|
+
const e = Object.keys(t), d = e.findIndex(
|
|
78
78
|
(x) => Number(x) > o
|
|
79
79
|
);
|
|
80
|
-
return
|
|
81
|
-
}, [
|
|
80
|
+
return l ? "" : e[d] ?? e[e.length - 1];
|
|
81
|
+
}, [t, l, o]), b = f(() => Object.entries(t).map(([e, d]) => ({
|
|
82
82
|
timecode: Number(e),
|
|
83
|
-
message:
|
|
83
|
+
message: d,
|
|
84
84
|
current: e === _,
|
|
85
85
|
finished: o >= Number(e)
|
|
86
|
-
})), [
|
|
86
|
+
})), [t, _, o]);
|
|
87
87
|
return /* @__PURE__ */ c(
|
|
88
88
|
"div",
|
|
89
89
|
{
|
|
90
|
-
className:
|
|
91
|
-
[m["fade-in--active"]]:
|
|
90
|
+
className: a(s.root, u, m["fade-in"], {
|
|
91
|
+
[m["fade-in--active"]]: i
|
|
92
92
|
}),
|
|
93
93
|
...p,
|
|
94
94
|
children: /* @__PURE__ */ c(
|
|
95
95
|
S,
|
|
96
96
|
{
|
|
97
97
|
"data-testid": O(p["data-testid"], "panel"),
|
|
98
|
-
className:
|
|
99
|
-
[m.error]: !!
|
|
98
|
+
className: a(s.panel, {
|
|
99
|
+
[m.error]: !!g
|
|
100
100
|
}),
|
|
101
|
-
children:
|
|
102
|
-
|
|
103
|
-
|
|
101
|
+
children: g ?? /* @__PURE__ */ h(w, { gutter: "md", children: [
|
|
102
|
+
r,
|
|
103
|
+
N({
|
|
104
104
|
className: s.progress,
|
|
105
105
|
min: 0,
|
|
106
|
-
max:
|
|
107
|
-
value: Math.min(o,
|
|
108
|
-
sectionTitle: `${Math.min(o,
|
|
106
|
+
max: n,
|
|
107
|
+
value: Math.min(o, n),
|
|
108
|
+
sectionTitle: `${Math.min(o, n) / n * 100}% loaded`
|
|
109
109
|
}),
|
|
110
|
-
/* @__PURE__ */ c(M, { variant: "lead", noGutter: !0, children: /* @__PURE__ */ c("ul", { className: s.checkList, children: b.map((e) => /* @__PURE__ */
|
|
110
|
+
/* @__PURE__ */ c(M, { variant: "lead", noGutter: !0, children: /* @__PURE__ */ c("ul", { className: s.checkList, children: b.map((e) => /* @__PURE__ */ h(
|
|
111
111
|
"li",
|
|
112
112
|
{
|
|
113
|
-
className:
|
|
113
|
+
className: a(s.checkListItem, {
|
|
114
114
|
[s.checkListItem__done]: e.finished
|
|
115
115
|
}),
|
|
116
116
|
children: [
|