@iress-oss/ids-components 5.14.0 → 5.14.2
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-CA3kLIMp.js} +1 -1
- package/dist/{ComboboxHiddenInput-Bo5hqUzo.js → ComboboxHiddenInput-3nXQLXWs.js} +5 -5
- package/dist/{FieldAppendToLabel-kSkgzhQp.js → FieldAppendToLabel-fLFwdVe0.js} +2 -2
- package/dist/{InputBase-2wLvSYMJ.js → InputBase-Gu84XDiJ.js} +1 -1
- package/dist/Loading.module-BoPWGcXe.js +13 -0
- package/dist/{LoadingSuspense-BDiikfSh.js → LoadingSuspense-CbdTDOzY.js} +849 -842
- package/dist/LogoFromSrc-C3T9li5n.js +59 -0
- package/dist/MenuItem.module-36-M9GIW.js +24 -0
- package/dist/Popover.module-qeMQ2uo5.js +11 -0
- package/dist/{SelectControl-ebML3vaP.js → SelectControl-CzcS0y-K.js} +1 -1
- package/dist/{SliderTicks-Bvc90tyk.js → SliderTicks-Dfc9Q2il.js} +1 -1
- package/dist/TabSet.module-BduoH_21.js +13 -0
- package/dist/Table.module-CONHit0r.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/hooks/useAutocompleteSearch.js +84 -82
- 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/Menu.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 +2 -2
- 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 +2 -2
- package/dist/components/Modal/index.js +1 -1
- package/dist/components/Navbar/Navbar.js +2 -2
- package/dist/components/Navbar/components/HomeLinkContent.js +2 -2
- package/dist/components/Navbar/components/LogoFromSrc.js +1 -1
- package/dist/components/Navbar/components/NavbarLogo.js +2 -2
- package/dist/components/Navbar/index.js +1 -1
- package/dist/components/Placeholder/Placeholder.js +1 -1
- package/dist/components/Popover/InputPopover/InputPopover.js +1 -1
- package/dist/components/Popover/InputPopover/InputPopoverActivator.js +1 -1
- package/dist/components/Popover/InputPopover/InputPopoverProvider.js +1 -1
- package/dist/components/Popover/Popover.js +1 -1
- package/dist/components/Popover/PopoverProvider.js +1 -1
- package/dist/components/Popover/components/NestedPopoverActivator.js +1 -1
- package/dist/components/Popover/components/PopoverActivator.js +1 -1
- package/dist/components/Popover/components/PopoverContent.js +2 -2
- package/dist/components/Popover/helpers/handlePopoverTabKey.js +1 -1
- package/dist/components/Popover/hooks/usePopoverItem.js +1 -1
- package/dist/components/Popover/hooks/usePopoverNavigation.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 +2 -2
- 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 +2 -2
- package/dist/components/TabSet/components/TabSetItem.js +2 -2
- 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 +2 -2
- package/dist/components/Toaster/Toast/ToastIcon.js +1 -1
- package/dist/components/Toaster/Toaster.js +2 -2
- 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 +2 -2
- 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/{floating-ui.react-RKRjRgyj.js → floating-ui.react-DfZ-vbiG.js} +766 -756
- 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-DUZ2VDnl.js} +1 -1
- package/package.json +5 -3
- 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
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { jsx as s } from "react/jsx-runtime";
|
|
2
|
+
import { propagateTestid as a } from "./helpers/utility/propagateTestid.js";
|
|
3
|
+
const e = "ids-navbar-v5142", d = "ids-navbar--logo-image-v5142", r = "ids-navbar--panel-v5142", v = "ids-navbar--logo-slot-v5142", l = "ids-navbar--content-v5142", p = "ids-navbar--content-between-v5142", b = "ids-navbar--content-end-v5142", c = "ids-navbar--toggle-button-v5142", g = "ids-navbar--logo-icon-v5142", m = "ids-navbar--slot-v5142", u = "ids-navbar--logo-link-v5142", k = "ids-navbar--fixed-v5142", x = "ids-navbar--nav-hide-v5142", f = {
|
|
4
|
+
navbar: e,
|
|
5
|
+
"ids-icon": "ids-icon-v5142",
|
|
6
|
+
"ids-field": "ids-field-v5142",
|
|
7
|
+
"ids-field-group": "ids-field-group-v5142",
|
|
8
|
+
logoImage: d,
|
|
9
|
+
panel: r,
|
|
10
|
+
logoSlot: v,
|
|
11
|
+
"ids-menu--inline": "ids-menu--inline-v5142",
|
|
12
|
+
"ids-menuItem": "ids-menu-item-v5142",
|
|
13
|
+
"ids-badge--host": "ids-badge--host-v5142",
|
|
14
|
+
"ids-popover": "ids-popover-v5142",
|
|
15
|
+
"ids-combobox": "ids-combobox-v5142",
|
|
16
|
+
"ids-popover--activator": "ids-popover--activator-v5142",
|
|
17
|
+
"ids-popover--content": "ids-popover--content-v5142",
|
|
18
|
+
"ids-label": "ids-label-v5142",
|
|
19
|
+
"ids-select": "ids-select-v5142",
|
|
20
|
+
"ids-input": "ids-input-v5142",
|
|
21
|
+
"ids-tagListInput": "ids-tag-list-input-v5142",
|
|
22
|
+
"ids-input--wrapper": "ids-input--wrapper-v5142",
|
|
23
|
+
"ids-panel--background-transparent": "ids-panel--background-transparent-v5142",
|
|
24
|
+
"iress—background--transparent": "ids-navbar--iress—background--transparent-v5142",
|
|
25
|
+
content: l,
|
|
26
|
+
contentBetween: p,
|
|
27
|
+
contentEnd: b,
|
|
28
|
+
toggleButton: c,
|
|
29
|
+
logoIcon: g,
|
|
30
|
+
slot: m,
|
|
31
|
+
logoLink: u,
|
|
32
|
+
fixed: k,
|
|
33
|
+
"breakpoint--xs": "ids-navbar--breakpoint--xs-v5142",
|
|
34
|
+
navHide: x,
|
|
35
|
+
"ids-menuItem--selected": "ids-menu-item--selected-v5142",
|
|
36
|
+
"breakpoint--sm": "ids-navbar--breakpoint--sm-v5142",
|
|
37
|
+
"breakpoint--md": "ids-navbar--breakpoint--md-v5142",
|
|
38
|
+
"breakpoint--lg": "ids-navbar--breakpoint--lg-v5142",
|
|
39
|
+
"breakpoint--xl": "ids-navbar--breakpoint--xl-v5142",
|
|
40
|
+
"breakpoint--xxl": "ids-navbar--breakpoint--xxl-v5142"
|
|
41
|
+
}, L = ({
|
|
42
|
+
logoSrc: n,
|
|
43
|
+
logoAltText: o,
|
|
44
|
+
onError: t,
|
|
45
|
+
dataTestid: i
|
|
46
|
+
}) => /* @__PURE__ */ s(
|
|
47
|
+
"img",
|
|
48
|
+
{
|
|
49
|
+
src: n,
|
|
50
|
+
className: f.logoImage,
|
|
51
|
+
"data-testid": a(i, "logo"),
|
|
52
|
+
alt: o,
|
|
53
|
+
onError: t
|
|
54
|
+
}
|
|
55
|
+
);
|
|
56
|
+
export {
|
|
57
|
+
L,
|
|
58
|
+
f as s
|
|
59
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
const e = "ids-menu-item-v5142", t = "ids-menu-item--text-v5142", n = "ids-menu-item--selected-v5142", i = "ids-menu-item--multi-select-v5142", m = "ids-menu-item--button-v5142", s = "ids-menu-item--text-append-v5142", d = "ids-menu-item--text-prepend-v5142", c = "ids-menu-item--heading-v5142", u = "ids-menu-item--contents-v5142", o = "ids-menu-item--append-v5142", v = "ids-menu-item--divider-v5142", l = "ids-menu-item--no-wrap-v5142", a = "ids-menu-item--list-item-v5142", p = "ids-menu-item--checkbox-mark-v5142", x = {
|
|
2
|
+
menuItem: e,
|
|
3
|
+
text: t,
|
|
4
|
+
"menu--nav": "ids-menu-item--menu--nav-v5142",
|
|
5
|
+
selected: n,
|
|
6
|
+
multiSelect: i,
|
|
7
|
+
"menu--inline": "ids-menu-item--menu--inline-v5142",
|
|
8
|
+
"menu--inline-equal-width": "ids-menu-item--menu--inline-equal-width-v5142",
|
|
9
|
+
button: m,
|
|
10
|
+
textAppend: s,
|
|
11
|
+
textPrepend: d,
|
|
12
|
+
heading: c,
|
|
13
|
+
"menu--stack": "ids-menu-item--menu--stack-v5142",
|
|
14
|
+
contents: u,
|
|
15
|
+
append: o,
|
|
16
|
+
"ids-checkbox-label": "ids-checkbox-label-v5142",
|
|
17
|
+
divider: v,
|
|
18
|
+
noWrap: l,
|
|
19
|
+
listItem: a,
|
|
20
|
+
checkboxMark: p
|
|
21
|
+
};
|
|
22
|
+
export {
|
|
23
|
+
x as s
|
|
24
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
const t = "ids-popover-v5142", o = "ids-popover--portal-v5142", p = "ids-popover--has-input-activator-v5142", a = "ids-popover--input-activator-portal-v5142", r = "ids-popover--content-v5142", v = "ids-popover--activator-v5142", s = {
|
|
2
|
+
popover: t,
|
|
3
|
+
portal: o,
|
|
4
|
+
hasInputActivator: p,
|
|
5
|
+
inputActivatorPortal: a,
|
|
6
|
+
content: r,
|
|
7
|
+
activator: v
|
|
8
|
+
};
|
|
9
|
+
export {
|
|
10
|
+
s
|
|
11
|
+
};
|
|
@@ -3,7 +3,7 @@ import { c as t } from "./index-2QXL0WYc.js";
|
|
|
3
3
|
import { forwardRef as f } from "react";
|
|
4
4
|
import { GlobalCSSClass as r } from "./enums.js";
|
|
5
5
|
import { getFormControlValueAsStringIfDefined as l } from "./helpers/form/getFormControlValueAsStringIfDefined.js";
|
|
6
|
-
const v = "ids-select-
|
|
6
|
+
const v = "ids-select-v5142", S = "ids-select--wrapper-v5142", u = "ids-select--element-v5142", o = {
|
|
7
7
|
select: v,
|
|
8
8
|
wrapper: S,
|
|
9
9
|
element: u
|
|
@@ -4,7 +4,7 @@ import { useMemo as k } from "react";
|
|
|
4
4
|
import { GlobalCSSClass as n } from "./enums.js";
|
|
5
5
|
import { propagateTestid as p } from "./helpers/utility/propagateTestid.js";
|
|
6
6
|
import { BREAKPOINTS as u } from "./constants.js";
|
|
7
|
-
const M = "ids-slider-
|
|
7
|
+
const M = "ids-slider-v5142", N = "ids-slider--control-v5142", S = "ids-slider--tick-mark-list-v5142", f = "ids-slider--tick-mark-v5142", h = "ids-slider--tick-mark-label-v5142", O = "ids-slider--thumb-value-v5142", l = {
|
|
8
8
|
slider: M,
|
|
9
9
|
control: N,
|
|
10
10
|
tickMarkList: S,
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
const t = "ids-tab-set-v5142", s = "ids-tab-set--list-v5142", e = "ids-tab-set--panel-v5142", a = "ids-tab-set--list-item-v5142", i = {
|
|
2
|
+
tabSet: t,
|
|
3
|
+
list: s,
|
|
4
|
+
"layout--top-left": "ids-tab-set--layout--top-left-v5142",
|
|
5
|
+
"layout--top-center": "ids-tab-set--layout--top-center-v5142",
|
|
6
|
+
"layout--top-right": "ids-tab-set--layout--top-right-v5142",
|
|
7
|
+
panel: e,
|
|
8
|
+
"ids-badge": "ids-badge-v5142",
|
|
9
|
+
listItem: a
|
|
10
|
+
};
|
|
11
|
+
export {
|
|
12
|
+
i as s
|
|
13
|
+
};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
const e = "ids-table-v5142", t = "ids-table--compact-v5142", o = "ids-table--row-group-header-v5142", r = "ids-table--row-group-column-headers-v5142", s = "ids-table--divider-v5142", d = "ids-table--hover-v5142", i = "ids-table--wrapper-v5142", c = "ids-table--sort-button-v5142", l = "ids-table--sort-button-no-wrap-v5142", a = "ids-table--sort-icon-v5142", n = "ids-table--hidden-header-v5142", v = "ids-table--activator-v5142", b = {
|
|
2
|
+
table: e,
|
|
3
|
+
compact: t,
|
|
4
|
+
rowGroupHeader: o,
|
|
5
|
+
rowGroupColumnHeaders: r,
|
|
6
|
+
divider: s,
|
|
7
|
+
"cell--number": "ids-table--cell--number-v5142",
|
|
8
|
+
"cell--center": "ids-table--cell--center-v5142",
|
|
9
|
+
"cell--left": "ids-table--cell--left-v5142",
|
|
10
|
+
"cell--currency": "ids-table--cell--currency-v5142",
|
|
11
|
+
"cell--right": "ids-table--cell--right-v5142",
|
|
12
|
+
"ids-input--formControl": "ids-input--form-control-v5142",
|
|
13
|
+
"ids-field": "ids-field-v5142",
|
|
14
|
+
"ids-checkbox": "ids-checkbox-v5142",
|
|
15
|
+
"ids-checkbox--label": "ids-checkbox--label-v5142",
|
|
16
|
+
"ids-checkbox--input": "ids-checkbox--input-v5142",
|
|
17
|
+
"ids-checkbox--mark": "ids-checkbox--mark-v5142",
|
|
18
|
+
"ids-label--hidden": "ids-label--hidden-v5142",
|
|
19
|
+
"ids-field--input-container": "ids-field--input-container-v5142",
|
|
20
|
+
"iress-view-mode-compact": "ids-table--iress-view-mode-compact-v5142",
|
|
21
|
+
hover: d,
|
|
22
|
+
wrapper: i,
|
|
23
|
+
sortButton: c,
|
|
24
|
+
sortButtonNoWrap: l,
|
|
25
|
+
sortIcon: a,
|
|
26
|
+
hiddenHeader: n,
|
|
27
|
+
activator: v,
|
|
28
|
+
"pseudo-hover": "ids-table--pseudo-hover-v5142"
|
|
29
|
+
};
|
|
30
|
+
export {
|
|
31
|
+
b as s
|
|
32
|
+
};
|
|
@@ -2,7 +2,7 @@ import "react/jsx-runtime";
|
|
|
2
2
|
import "../../index-2QXL0WYc.js";
|
|
3
3
|
import "./Alert.types.js";
|
|
4
4
|
import "../../enums.js";
|
|
5
|
-
import { I as a } from "../../LoadingSuspense-
|
|
5
|
+
import { I as a } from "../../LoadingSuspense-CbdTDOzY.js";
|
|
6
6
|
import "../Text/Text.js";
|
|
7
7
|
import "../../helpers/utility/propagateTestid.js";
|
|
8
8
|
import "../HeadingWithDeprecatedFallback/HeadingWithDeprecatedFallback.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "../../index-2QXL0WYc.js";
|
|
3
|
-
import "../../AutocompleteNoResults-
|
|
3
|
+
import "../../AutocompleteNoResults-CA3kLIMp.js";
|
|
4
4
|
import "../Popover/Popover.js";
|
|
5
5
|
import "react";
|
|
6
6
|
import "../Popover/PopoverProvider.js";
|
|
7
7
|
import "../Popover/InputPopover/InputPopover.js";
|
|
8
|
-
import { a as P } from "../../LoadingSuspense-
|
|
8
|
+
import { a as P } from "../../LoadingSuspense-CbdTDOzY.js";
|
|
9
9
|
import "../../hooks/useControlledState.js";
|
|
10
10
|
import "../../helpers/utility/propagateTestid.js";
|
|
11
11
|
import "../../helpers/formatting/toArray.js";
|
|
@@ -1,112 +1,114 @@
|
|
|
1
|
-
import { useRef as o, useState as
|
|
2
|
-
import { searchLabelValues as
|
|
3
|
-
import { highlightQueryInLabelValue as
|
|
4
|
-
function
|
|
5
|
-
var m = this,
|
|
6
|
-
|
|
7
|
-
var
|
|
1
|
+
import { useRef as o, useState as T, useCallback as I, useEffect as M, useMemo as P } from "react";
|
|
2
|
+
import { searchLabelValues as j } from "../../../helpers/label-value/searchLabelValues.js";
|
|
3
|
+
import { highlightQueryInLabelValue as z } from "../../../helpers/label-value/highlightQueryInLabelValue.js";
|
|
4
|
+
function B(n, r, u, s) {
|
|
5
|
+
var m = this, t = o(null), a = o(0), i = o(0), e = o(null), h = o([]), f = o(), v = o(), d = o(n), p = o(!0);
|
|
6
|
+
d.current = n;
|
|
7
|
+
var A = typeof window < "u", w = !r && r !== 0 && A;
|
|
8
8
|
if (typeof n != "function") throw new TypeError("Expected a function");
|
|
9
9
|
r = +r || 0;
|
|
10
|
-
var
|
|
11
|
-
|
|
12
|
-
return
|
|
13
|
-
|
|
10
|
+
var S = !!(u = u || {}).leading, W = !("trailing" in u) || !!u.trailing, g = "maxWait" in u, b = "debounceOnServer" in u && !!u.debounceOnServer, y = g ? Math.max(+u.maxWait || 0, r) : null;
|
|
11
|
+
M(function() {
|
|
12
|
+
return p.current = !0, function() {
|
|
13
|
+
p.current = !1;
|
|
14
14
|
};
|
|
15
15
|
}, []);
|
|
16
|
-
var
|
|
17
|
-
var
|
|
18
|
-
var l =
|
|
19
|
-
return
|
|
20
|
-
}, x = function(
|
|
21
|
-
w && cancelAnimationFrame(
|
|
22
|
-
},
|
|
23
|
-
if (!
|
|
24
|
-
var l =
|
|
25
|
-
return !
|
|
26
|
-
},
|
|
27
|
-
return
|
|
28
|
-
},
|
|
16
|
+
var V = P(function() {
|
|
17
|
+
var D = function(c) {
|
|
18
|
+
var l = h.current, F = f.current;
|
|
19
|
+
return h.current = f.current = null, a.current = c, i.current = i.current || c, v.current = d.current.apply(F, l);
|
|
20
|
+
}, x = function(c, l) {
|
|
21
|
+
w && cancelAnimationFrame(e.current), e.current = w ? requestAnimationFrame(c) : setTimeout(c, l);
|
|
22
|
+
}, L = function(c) {
|
|
23
|
+
if (!p.current) return !1;
|
|
24
|
+
var l = c - t.current;
|
|
25
|
+
return !t.current || l >= r || l < 0 || g && c - a.current >= y;
|
|
26
|
+
}, O = function(c) {
|
|
27
|
+
return e.current = null, W && h.current ? D(c) : (h.current = f.current = null, v.current);
|
|
28
|
+
}, R = function c() {
|
|
29
29
|
var l = Date.now();
|
|
30
|
-
if (
|
|
31
|
-
if (
|
|
32
|
-
var
|
|
33
|
-
x(
|
|
30
|
+
if (S && i.current === a.current && k(), L(l)) return O(l);
|
|
31
|
+
if (p.current) {
|
|
32
|
+
var F = r - (l - t.current), C = g ? Math.min(F, y - (l - a.current)) : F;
|
|
33
|
+
x(c, C);
|
|
34
34
|
}
|
|
35
|
-
},
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
35
|
+
}, k = function() {
|
|
36
|
+
s && s({});
|
|
37
|
+
}, E = function() {
|
|
38
|
+
if (A || b) {
|
|
39
|
+
var c = Date.now(), l = L(c);
|
|
40
|
+
if (h.current = [].slice.call(arguments), f.current = m, t.current = c, l) {
|
|
41
|
+
if (!e.current && p.current) return a.current = t.current, x(R, r), S ? D(t.current) : v.current;
|
|
42
|
+
if (g) return x(R, r), D(t.current);
|
|
41
43
|
}
|
|
42
|
-
return
|
|
44
|
+
return e.current || x(R, r), v.current;
|
|
43
45
|
}
|
|
44
46
|
};
|
|
45
|
-
return
|
|
46
|
-
|
|
47
|
-
},
|
|
48
|
-
return !!
|
|
49
|
-
},
|
|
50
|
-
return
|
|
51
|
-
},
|
|
52
|
-
}, [
|
|
53
|
-
return
|
|
47
|
+
return E.cancel = function() {
|
|
48
|
+
e.current && (w ? cancelAnimationFrame(e.current) : clearTimeout(e.current)), a.current = 0, h.current = t.current = f.current = e.current = null;
|
|
49
|
+
}, E.isPending = function() {
|
|
50
|
+
return !!e.current;
|
|
51
|
+
}, E.flush = function() {
|
|
52
|
+
return e.current ? O(Date.now()) : v.current;
|
|
53
|
+
}, E;
|
|
54
|
+
}, [S, g, r, y, W, w, A, b, s]);
|
|
55
|
+
return V;
|
|
54
56
|
}
|
|
55
|
-
function
|
|
57
|
+
function G(n, r) {
|
|
56
58
|
return n === r;
|
|
57
59
|
}
|
|
58
|
-
function
|
|
59
|
-
var
|
|
60
|
-
|
|
61
|
-
}, [
|
|
62
|
-
return
|
|
60
|
+
function H(n, r, u) {
|
|
61
|
+
var s = G, m = o(n), t = T({})[1], a = B(I(function(e) {
|
|
62
|
+
m.current = e, t({});
|
|
63
|
+
}, [t]), r, u, t), i = o(n);
|
|
64
|
+
return s(i.current, n) || (a(n), i.current = n), [m.current, a];
|
|
63
65
|
}
|
|
64
|
-
const
|
|
66
|
+
const Y = ({
|
|
65
67
|
debounceThreshold: n = 500,
|
|
66
68
|
initialOptions: r = [],
|
|
67
|
-
options:
|
|
68
|
-
query:
|
|
69
|
+
options: u = [],
|
|
70
|
+
query: s = ""
|
|
69
71
|
}) => {
|
|
70
|
-
const [
|
|
71
|
-
return
|
|
72
|
-
|
|
73
|
-
}, [
|
|
74
|
-
if (typeof
|
|
75
|
-
|
|
76
|
-
h,
|
|
77
|
-
s,
|
|
78
|
-
e,
|
|
72
|
+
const [m, t] = T(!1), [a, i] = T(!1), [e, h] = T([]), [f] = H(s, n), v = o("");
|
|
73
|
+
return M(() => {
|
|
74
|
+
s && t(!0);
|
|
75
|
+
}, [s]), M(() => {
|
|
76
|
+
if (typeof u == "function") {
|
|
77
|
+
J(
|
|
79
78
|
v,
|
|
80
|
-
|
|
81
|
-
|
|
79
|
+
f,
|
|
80
|
+
u,
|
|
81
|
+
h,
|
|
82
|
+
t,
|
|
83
|
+
i
|
|
82
84
|
);
|
|
83
85
|
return;
|
|
84
86
|
}
|
|
85
|
-
|
|
86
|
-
}, [
|
|
87
|
-
clearError: () =>
|
|
88
|
-
debouncedQuery:
|
|
89
|
-
error:
|
|
90
|
-
loading:
|
|
91
|
-
results:
|
|
87
|
+
v.current !== f && (v.current = f, h(j(f, u)), t(!1), i(!1));
|
|
88
|
+
}, [f, m, u]), {
|
|
89
|
+
clearError: () => i(!1),
|
|
90
|
+
debouncedQuery: f,
|
|
91
|
+
error: a,
|
|
92
|
+
loading: m,
|
|
93
|
+
results: f ? e : r ?? [],
|
|
92
94
|
stopSearch: () => {
|
|
93
|
-
|
|
95
|
+
t(!1), i(!1);
|
|
94
96
|
}
|
|
95
97
|
};
|
|
96
|
-
},
|
|
98
|
+
}, J = async (n, r, u, s, m, t) => {
|
|
97
99
|
if (n.current === r) return;
|
|
98
100
|
if (n.current = r, !r) {
|
|
99
|
-
|
|
101
|
+
m(!1), t(!1);
|
|
100
102
|
return;
|
|
101
103
|
}
|
|
102
|
-
let
|
|
103
|
-
const
|
|
104
|
-
(
|
|
104
|
+
let a = !1;
|
|
105
|
+
const i = await u(r).catch(
|
|
106
|
+
(e) => (a = K(e), [])
|
|
105
107
|
);
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
),
|
|
109
|
-
},
|
|
108
|
+
s(
|
|
109
|
+
i.map((e) => z(e, r))
|
|
110
|
+
), t(a), m(!1);
|
|
111
|
+
}, K = (n) => n instanceof Error && n.message ? n.message : typeof n == "string" ? n : !0;
|
|
110
112
|
export {
|
|
111
|
-
|
|
113
|
+
Y as useAutocompleteSearch
|
|
112
114
|
};
|
|
@@ -2,7 +2,7 @@ import { jsx as r, jsxs as b } from "react/jsx-runtime";
|
|
|
2
2
|
import { BadgeMode as l } from "./Badge.types.js";
|
|
3
3
|
import { c as v } from "../../index-2QXL0WYc.js";
|
|
4
4
|
import { propagateTestid as p } from "../../helpers/utility/propagateTestid.js";
|
|
5
|
-
const u = "ids-badge--base-
|
|
5
|
+
const u = "ids-badge--base-v5142", m = "ids-badge--pill-v5142", f = "ids-badge--success-v5142", h = "ids-badge--warning-v5142", k = "ids-badge--danger-v5142", N = "ids-badge--info-v5142", w = "ids-badge--positive-v5142", x = "ids-badge--negative-v5142", B = "ids-badge-v5142", M = "ids-badge--host-v5142", s = {
|
|
6
6
|
base: u,
|
|
7
7
|
pill: m,
|
|
8
8
|
success: f,
|
|
@@ -11,10 +11,10 @@ const u = "ids-badge--base-v5140", m = "ids-badge--pill-v5140", f = "ids-badge--
|
|
|
11
11
|
info: N,
|
|
12
12
|
positive: w,
|
|
13
13
|
negative: x,
|
|
14
|
-
"background-default": "ids-badge--background-default-
|
|
15
|
-
"background-alt": "ids-badge--background-alt-
|
|
14
|
+
"background-default": "ids-badge--background-default-v5142",
|
|
15
|
+
"background-alt": "ids-badge--background-alt-v5142",
|
|
16
16
|
badge: B,
|
|
17
|
-
"ids-icon": "ids-icon-
|
|
17
|
+
"ids-icon": "ids-icon-v5142",
|
|
18
18
|
host: M
|
|
19
19
|
}, t = ({
|
|
20
20
|
children: i,
|
|
@@ -2,9 +2,9 @@ import "react/jsx-runtime";
|
|
|
2
2
|
import "react";
|
|
3
3
|
import "../../index-2QXL0WYc.js";
|
|
4
4
|
import "./Button.types.js";
|
|
5
|
-
import { b as a } from "../../LoadingSuspense-
|
|
5
|
+
import { b as a } from "../../LoadingSuspense-CbdTDOzY.js";
|
|
6
6
|
import "../../enums.js";
|
|
7
|
-
import "../../useIDSButtonGroupItem-
|
|
7
|
+
import "../../useIDSButtonGroupItem-DUZ2VDnl.js";
|
|
8
8
|
export {
|
|
9
9
|
a as IressButton
|
|
10
10
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BUTTON_MODES as s, BUTTON_TYPES as e, ButtonCssClass as B, ButtonMode as r, ButtonType as T } from "./Button.types.js";
|
|
2
|
-
import { b as u, c as a } from "../../LoadingSuspense-
|
|
2
|
+
import { b as u, c as a } from "../../LoadingSuspense-CbdTDOzY.js";
|
|
3
3
|
export {
|
|
4
4
|
s as BUTTON_MODES,
|
|
5
5
|
e as BUTTON_TYPES,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsx as o, jsxs as d } from "react/jsx-runtime";
|
|
2
2
|
import { c as n } from "../../index-2QXL0WYc.js";
|
|
3
|
-
import { s } from "../../useIDSButtonGroupItem-
|
|
3
|
+
import { s } from "../../useIDSButtonGroupItem-DUZ2VDnl.js";
|
|
4
4
|
import G, { useMemo as _ } from "react";
|
|
5
5
|
import { toArray as g } from "../../helpers/formatting/toArray.js";
|
|
6
6
|
import { useIdIfNeeded as x } from "../../hooks/useIdIfNeeded.js";
|
|
7
7
|
import { IressButtonGroupProvider as B } from "./ButtonGroupProvider.js";
|
|
8
8
|
import { propagateTestid as u } from "../../helpers/utility/propagateTestid.js";
|
|
9
|
-
import { b as I } from "../../LoadingSuspense-
|
|
9
|
+
import { b as I } from "../../LoadingSuspense-CbdTDOzY.js";
|
|
10
10
|
import { GlobalCSSClass as S } from "../../enums.js";
|
|
11
11
|
const w = ({
|
|
12
12
|
children: c,
|
|
@@ -5,7 +5,7 @@ import "../../enums.js";
|
|
|
5
5
|
import "../../helpers/form/getFormControlValueAsString.js";
|
|
6
6
|
import "../CheckboxMark/CheckboxMark.types.js";
|
|
7
7
|
import "../CheckboxMark/CheckboxMark.js";
|
|
8
|
-
import { d as f } from "../../LoadingSuspense-
|
|
8
|
+
import { d as f } from "../../LoadingSuspense-CbdTDOzY.js";
|
|
9
9
|
import "../../hooks/useControlledState.js";
|
|
10
10
|
import "../Form/hooks/useNoDefaultValueInForms.js";
|
|
11
11
|
import "../CheckboxGroup/CheckboxGroupContext.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
|
2
|
-
import { d as p } from "../../../LoadingSuspense-
|
|
2
|
+
import { d as p } from "../../../LoadingSuspense-CbdTDOzY.js";
|
|
3
3
|
import { idsLogger as i } from "../../../helpers/utility/idsLogger.js";
|
|
4
4
|
import { getFormControlValueAsString as d } from "../../../helpers/form/getFormControlValueAsString.js";
|
|
5
5
|
const h = (r) => r != null && r.length ? (i(
|
|
@@ -6,18 +6,18 @@ import { CheckboxGroupLayout as w } from "./CheckboxGroup.types.js";
|
|
|
6
6
|
import { useControlledState as A } from "../../hooks/useControlledState.js";
|
|
7
7
|
import { useNoDefaultValueInForms as D } from "../Form/hooks/useNoDefaultValueInForms.js";
|
|
8
8
|
import { CheckboxGroupContext as H } from "./CheckboxGroupContext.js";
|
|
9
|
-
const M = "ids-checkbox-group-
|
|
9
|
+
const M = "ids-checkbox-group-v5142", z = "ids-checkbox-group--full-v5142", B = "ids-checkbox-group--block-v5142", J = "ids-checkbox-group--stack-v5142", K = "ids-checkbox-group--inline-v5142", O = "ids-checkbox-group--readonly-v5142", u = {
|
|
10
10
|
checkboxGroup: M,
|
|
11
11
|
full: z,
|
|
12
12
|
block: B,
|
|
13
13
|
stack: J,
|
|
14
|
-
"ids-checkbox": "ids-checkbox-
|
|
15
|
-
"ids-input--readonly": "ids-input--readonly-
|
|
16
|
-
"ids-checkbox--label": "ids-checkbox--label-
|
|
17
|
-
"ids-checkbox--label-span": "ids-checkbox--label-span-
|
|
14
|
+
"ids-checkbox": "ids-checkbox-v5142",
|
|
15
|
+
"ids-input--readonly": "ids-input--readonly-v5142",
|
|
16
|
+
"ids-checkbox--label": "ids-checkbox--label-v5142",
|
|
17
|
+
"ids-checkbox--label-span": "ids-checkbox--label-span-v5142",
|
|
18
18
|
inline: K,
|
|
19
19
|
readonly: O,
|
|
20
|
-
"ids-input-base--readonly": "ids-input-base--readonly-
|
|
20
|
+
"ids-input-base--readonly": "ids-input-base--readonly-v5142"
|
|
21
21
|
}, h = S(
|
|
22
22
|
({
|
|
23
23
|
className: v,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
const c = "ids-checkbox-mark-
|
|
1
|
+
const c = "ids-checkbox-mark-v5142", k = "ids-checkbox-mark--checked-v5142", t = "ids-checkbox-mark--indeterminate-v5142", a = {
|
|
2
2
|
checkboxMark: c,
|
|
3
3
|
checked: k,
|
|
4
4
|
indeterminate: t
|
|
5
|
-
}, n = "ids-checkbox-mark-
|
|
5
|
+
}, n = "ids-checkbox-mark-v5142", r = "ids-checkbox-mark--indeterminate-mark-v5142", i = "ids-checkbox-mark--checked-mark-v5142", s = "ids-checkbox-mark--checked-v5142", d = "ids-checkbox-mark--indeterminate-v5142", e = {
|
|
6
6
|
checkboxMark: n,
|
|
7
7
|
indeterminateMark: r,
|
|
8
8
|
checkedMark: i,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
3
|
import "../../index-2QXL0WYc.js";
|
|
4
|
-
import "../../ComboboxHiddenInput-
|
|
4
|
+
import "../../ComboboxHiddenInput-3nXQLXWs.js";
|
|
5
5
|
import "../../helpers/utility/propagateTestid.js";
|
|
6
6
|
import "../../helpers/formatting/toArray.js";
|
|
7
7
|
import "../Popover/Popover.js";
|
|
@@ -9,7 +9,7 @@ import "../Popover/PopoverProvider.js";
|
|
|
9
9
|
import "../Popover/InputPopover/InputPopover.js";
|
|
10
10
|
import "../../enums.js";
|
|
11
11
|
import "../RichSelect/hooks/useRichSelectState.js";
|
|
12
|
-
import { e as S } from "../../LoadingSuspense-
|
|
12
|
+
import { e as S } from "../../LoadingSuspense-CbdTDOzY.js";
|
|
13
13
|
import "../Autocomplete/hooks/useAutocompleteSearch.js";
|
|
14
14
|
import "../Badge/Badge.js";
|
|
15
15
|
import "../../hooks/useIdIfNeeded.js";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
3
|
import "../../../index-2QXL0WYc.js";
|
|
4
|
-
import "../../../ComboboxHiddenInput-
|
|
4
|
+
import "../../../ComboboxHiddenInput-3nXQLXWs.js";
|
|
5
5
|
import "../../../helpers/utility/propagateTestid.js";
|
|
6
6
|
import "../../../helpers/formatting/toArray.js";
|
|
7
7
|
import "../../Popover/Popover.js";
|
|
8
8
|
import "../../Popover/PopoverProvider.js";
|
|
9
9
|
import "../../Popover/InputPopover/InputPopover.js";
|
|
10
10
|
import "../../RichSelect/hooks/useRichSelectState.js";
|
|
11
|
-
import { f as Q } from "../../../LoadingSuspense-
|
|
11
|
+
import { f as Q } from "../../../LoadingSuspense-CbdTDOzY.js";
|
|
12
12
|
import "../../Autocomplete/hooks/useAutocompleteSearch.js";
|
|
13
13
|
import "../../Badge/Badge.js";
|
|
14
14
|
import "../../../hooks/useIdIfNeeded.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
|
-
import { C as b } from "../../../ComboboxHiddenInput-
|
|
2
|
+
import { C as b } from "../../../ComboboxHiddenInput-3nXQLXWs.js";
|
|
3
3
|
import "../../../helpers/utility/propagateTestid.js";
|
|
4
4
|
import "../../../index-2QXL0WYc.js";
|
|
5
5
|
import "react";
|