opus-react 0.2.5 → 0.2.7
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/README.md +200 -23
- package/dist/index.cjs +82 -57
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +20 -2
- package/dist/index.d.ts +20 -2
- package/dist/index.js +144 -122
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -427,7 +427,7 @@ var init_setupFireBarrelScene = __esm({
|
|
|
427
427
|
});
|
|
428
428
|
|
|
429
429
|
// ../../components/fields/Button/Button.module.css
|
|
430
|
-
var Button_default = {"
|
|
430
|
+
var Button_default = {"button":"opus_lZkc26_button","info":"opus_lZkc26_info","success":"opus_lZkc26_success","light":"opus_lZkc26_light","dark":"opus_lZkc26_dark","link":"opus_lZkc26_link","secondary":"opus_lZkc26_secondary","danger":"opus_lZkc26_danger","primary":"opus_lZkc26_primary","warning":"opus_lZkc26_warning"};
|
|
431
431
|
|
|
432
432
|
// ../../components/fields/Button/Button.tsx
|
|
433
433
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -451,7 +451,7 @@ import { createContext, useContext, useMemo } from "react";
|
|
|
451
451
|
import { useEffect, useId, useRef, useState } from "react";
|
|
452
452
|
|
|
453
453
|
// ../../components/Tooltip/Tooltip.module.css
|
|
454
|
-
var Tooltip_default = {"root":"opus_R70RbH_root","
|
|
454
|
+
var Tooltip_default = {"root":"opus_R70RbH_root","popup":"opus_R70RbH_popup","trigger":"opus_R70RbH_trigger"};
|
|
455
455
|
|
|
456
456
|
// ../../components/Tooltip/Tooltip.tsx
|
|
457
457
|
import { jsx as jsx2, jsxs } from "react/jsx-runtime";
|
|
@@ -516,7 +516,7 @@ function Tooltip({ content, label = "More information" }) {
|
|
|
516
516
|
}
|
|
517
517
|
|
|
518
518
|
// ../../components/fields/FieldShell/FieldShell.module.css
|
|
519
|
-
var FieldShell_default = {"
|
|
519
|
+
var FieldShell_default = {"error":"opus_zNi12Z_error","fitContent":"opus_zNi12Z_fitContent","root":"opus_zNi12Z_root","controlFlagged":"opus_zNi12Z_controlFlagged","labelLeft":"opus_zNi12Z_labelLeft","flaggedStart":"opus_zNi12Z_flaggedStart","stacked":"opus_zNi12Z_stacked","compactControl":"opus_zNi12Z_compactControl","labelFlagged":"opus_zNi12Z_labelFlagged","label":"opus_zNi12Z_label","required":"opus_zNi12Z_required","flaggedCenter":"opus_zNi12Z_flaggedCenter","stackedRight":"opus_zNi12Z_stackedRight","labelRight":"opus_zNi12Z_labelRight","stackedLeft":"opus_zNi12Z_stackedLeft","errorFlagged":"opus_zNi12Z_errorFlagged","visuallyHidden":"opus_zNi12Z_visuallyHidden","flagged":"opus_zNi12Z_flagged","control":"opus_zNi12Z_control"};
|
|
520
520
|
|
|
521
521
|
// ../../components/fields/FieldShell/FieldShell.tsx
|
|
522
522
|
import { Fragment, jsx as jsx3, jsxs as jsxs2 } from "react/jsx-runtime";
|
|
@@ -641,7 +641,7 @@ function FieldShell({
|
|
|
641
641
|
}
|
|
642
642
|
|
|
643
643
|
// ../../components/fields/CheckboxField/CheckboxField.module.css
|
|
644
|
-
var CheckboxField_default = {"shell":"opus_g-5tlR_shell","
|
|
644
|
+
var CheckboxField_default = {"shell":"opus_g-5tlR_shell","toggle":"opus_g-5tlR_toggle","visual":"opus_g-5tlR_visual","nativeInput":"opus_g-5tlR_nativeInput","square":"opus_g-5tlR_square","round":"opus_g-5tlR_round","error":"opus_g-5tlR_error"};
|
|
645
645
|
|
|
646
646
|
// ../../components/fields/CheckboxField/CheckboxField.tsx
|
|
647
647
|
import { jsx as jsx4, jsxs as jsxs3 } from "react/jsx-runtime";
|
|
@@ -698,7 +698,7 @@ function CheckboxField({
|
|
|
698
698
|
}
|
|
699
699
|
|
|
700
700
|
// ../../components/fields/ColorField/ColorField.module.css
|
|
701
|
-
var ColorField_default = {"
|
|
701
|
+
var ColorField_default = {"swatch":"opus_Z7jeX4_swatch","error":"opus_Z7jeX4_error","value":"opus_Z7jeX4_value","nativeInput":"opus_Z7jeX4_nativeInput","icon":"opus_Z7jeX4_icon","picker":"opus_Z7jeX4_picker"};
|
|
702
702
|
|
|
703
703
|
// ../../components/fields/ColorField/ColorField.tsx
|
|
704
704
|
import { jsx as jsx5, jsxs as jsxs4 } from "react/jsx-runtime";
|
|
@@ -748,7 +748,7 @@ function ColorField({
|
|
|
748
748
|
}
|
|
749
749
|
|
|
750
750
|
// ../../components/fields/DateField/DateField.module.css
|
|
751
|
-
var DateField_default = {"
|
|
751
|
+
var DateField_default = {"error":"opus_G3y11z_error","input":"opus_G3y11z_input"};
|
|
752
752
|
|
|
753
753
|
// ../../components/fields/DateField/DateField.tsx
|
|
754
754
|
import { jsx as jsx6 } from "react/jsx-runtime";
|
|
@@ -791,7 +791,7 @@ function DateField({
|
|
|
791
791
|
}
|
|
792
792
|
|
|
793
793
|
// ../../components/fields/HiddenField/HiddenField.module.css
|
|
794
|
-
var HiddenField_default = {"
|
|
794
|
+
var HiddenField_default = {"note":"opus_kL1YXS_note","meta":"opus_kL1YXS_meta","preview":"opus_kL1YXS_preview"};
|
|
795
795
|
|
|
796
796
|
// ../../components/fields/HiddenField/HiddenField.tsx
|
|
797
797
|
import { jsx as jsx7, jsxs as jsxs5 } from "react/jsx-runtime";
|
|
@@ -839,7 +839,7 @@ function HiddenField({
|
|
|
839
839
|
}
|
|
840
840
|
|
|
841
841
|
// ../../components/fields/FileField/FileField.module.css
|
|
842
|
-
var FileField_default = {"drop":"opus_aOsPA7_drop","wrapper":"opus_aOsPA7_wrapper","
|
|
842
|
+
var FileField_default = {"content":"opus_aOsPA7_content","drop":"opus_aOsPA7_drop","wrapper":"opus_aOsPA7_wrapper","hint":"opus_aOsPA7_hint","footnote":"opus_aOsPA7_footnote","title":"opus_aOsPA7_title","dropError":"opus_aOsPA7_dropError","input":"opus_aOsPA7_input","icon":"opus_aOsPA7_icon","dragging":"opus_aOsPA7_dragging","iconSvg":"opus_aOsPA7_iconSvg","action":"opus_aOsPA7_action"};
|
|
843
843
|
|
|
844
844
|
// ../../components/fields/FileField/FileField.tsx
|
|
845
845
|
import {
|
|
@@ -979,7 +979,7 @@ function FileField({
|
|
|
979
979
|
import { useEffect as useEffect2, useState as useState3 } from "react";
|
|
980
980
|
|
|
981
981
|
// ../../components/fields/NumberField/NumberField.module.css
|
|
982
|
-
var NumberField_default = {"
|
|
982
|
+
var NumberField_default = {"input":"opus_L272Dk_input","button":"opus_L272Dk_button","error":"opus_L272Dk_error","stepper":"opus_L272Dk_stepper"};
|
|
983
983
|
|
|
984
984
|
// ../../components/fields/numericUtils.ts
|
|
985
985
|
function decimalPlacesFromStep(step) {
|
|
@@ -1147,7 +1147,7 @@ function NumberField({
|
|
|
1147
1147
|
import { createContext as createContext2, useContext as useContext2, useId as useId2 } from "react";
|
|
1148
1148
|
|
|
1149
1149
|
// ../../components/fields/RadioGroup/RadioGroup.module.css
|
|
1150
|
-
var RadioGroup_default = {"choice":"opus_O-1nor_choice","options":"opus_O-1nor_options","
|
|
1150
|
+
var RadioGroup_default = {"choice":"opus_O-1nor_choice","options":"opus_O-1nor_options","option":"opus_O-1nor_option","square":"opus_O-1nor_square","error":"opus_O-1nor_error","shell":"opus_O-1nor_shell","round":"opus_O-1nor_round","nativeInput":"opus_O-1nor_nativeInput","visual":"opus_O-1nor_visual"};
|
|
1151
1151
|
|
|
1152
1152
|
// ../../components/fields/RadioGroup/RadioGroup.tsx
|
|
1153
1153
|
import { jsx as jsx10, jsxs as jsxs8 } from "react/jsx-runtime";
|
|
@@ -1244,7 +1244,7 @@ function Radio({ children, error, name, shape, value, defaultChecked }) {
|
|
|
1244
1244
|
import { useId as useId3, useRef as useRef3, useState as useState4 } from "react";
|
|
1245
1245
|
|
|
1246
1246
|
// ../../components/fields/ChipInputField/ChipInputField.module.css
|
|
1247
|
-
var ChipInputField_default = {"
|
|
1247
|
+
var ChipInputField_default = {"field":"opus_IOOYwh_field","error":"opus_IOOYwh_error","remove":"opus_IOOYwh_remove","shell":"opus_IOOYwh_shell","input":"opus_IOOYwh_input","chip":"opus_IOOYwh_chip","disabled":"opus_IOOYwh_disabled","chipLabel":"opus_IOOYwh_chipLabel","readOnly":"opus_IOOYwh_readOnly"};
|
|
1248
1248
|
|
|
1249
1249
|
// ../../components/fields/ChipInputField/ChipInputField.tsx
|
|
1250
1250
|
import { jsx as jsx11, jsxs as jsxs9 } from "react/jsx-runtime";
|
|
@@ -1380,7 +1380,7 @@ function ChipInput({
|
|
|
1380
1380
|
var ChipInputField = ChipInput;
|
|
1381
1381
|
|
|
1382
1382
|
// ../../components/fields/RangeField/RangeField.module.css
|
|
1383
|
-
var RangeField_default = {"
|
|
1383
|
+
var RangeField_default = {"footer":"opus_iRHQuG_footer","slider":"opus_iRHQuG_slider","topRow":"opus_iRHQuG_topRow","value":"opus_iRHQuG_value","fieldLabel":"opus_iRHQuG_fieldLabel","error":"opus_iRHQuG_error","wrap":"opus_iRHQuG_wrap"};
|
|
1384
1384
|
|
|
1385
1385
|
// ../../components/fields/RangeField/RangeField.tsx
|
|
1386
1386
|
import { jsx as jsx12, jsxs as jsxs10 } from "react/jsx-runtime";
|
|
@@ -1503,7 +1503,7 @@ function SelectField({
|
|
|
1503
1503
|
}
|
|
1504
1504
|
|
|
1505
1505
|
// ../../components/fields/SwitchField/SwitchField.module.css
|
|
1506
|
-
var SwitchField_default = {"
|
|
1506
|
+
var SwitchField_default = {"track":"opus_t9NLEA_track","shell":"opus_t9NLEA_shell","toggle":"opus_t9NLEA_toggle","error":"opus_t9NLEA_error"};
|
|
1507
1507
|
|
|
1508
1508
|
// ../../components/fields/SwitchField/SwitchField.tsx
|
|
1509
1509
|
import { jsx as jsx14 } from "react/jsx-runtime";
|
|
@@ -1552,7 +1552,7 @@ function SwitchField({
|
|
|
1552
1552
|
import { useId as useId4 } from "react";
|
|
1553
1553
|
|
|
1554
1554
|
// ../../components/fields/TextAreaField/TextAreaField.module.css
|
|
1555
|
-
var TextAreaField_default = {"
|
|
1555
|
+
var TextAreaField_default = {"textarea":"opus_FjhWmh_textarea","inlineCount":"opus_FjhWmh_inlineCount","inputWrap":"opus_FjhWmh_inputWrap","footer":"opus_FjhWmh_footer","error":"opus_FjhWmh_error","withCount":"opus_FjhWmh_withCount","footerError":"opus_FjhWmh_footerError","externalCount":"opus_FjhWmh_externalCount","field":"opus_FjhWmh_field"};
|
|
1556
1556
|
|
|
1557
1557
|
// ../../components/fields/TextAreaField/TextAreaField.tsx
|
|
1558
1558
|
import { jsx as jsx15, jsxs as jsxs11 } from "react/jsx-runtime";
|
|
@@ -1680,7 +1680,7 @@ import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
|
|
|
1680
1680
|
import { faMoon, faSun } from "@fortawesome/free-solid-svg-icons";
|
|
1681
1681
|
|
|
1682
1682
|
// ../../components/fields/ThemeToggleField/ThemeToggleField.module.css
|
|
1683
|
-
var ThemeToggleField_default = {"
|
|
1683
|
+
var ThemeToggleField_default = {"toggle":"opus_SwerMA_toggle","indicator":"opus_SwerMA_indicator","option":"opus_SwerMA_option","active":"opus_SwerMA_active"};
|
|
1684
1684
|
|
|
1685
1685
|
// ../../components/fields/ThemeToggleField/ThemeToggleField.tsx
|
|
1686
1686
|
import { jsx as jsx17, jsxs as jsxs12 } from "react/jsx-runtime";
|
|
@@ -1768,7 +1768,7 @@ function AlertStatusIcon({ markClassName, status, svgClassName }) {
|
|
|
1768
1768
|
}
|
|
1769
1769
|
|
|
1770
1770
|
// ../../components/OpusThemeProvider/OpusThemeProvider.tsx
|
|
1771
|
-
import { createContext as createContext3, useContext as useContext3 } from "react";
|
|
1771
|
+
import { createContext as createContext3, useContext as useContext3, useEffect as useEffect3 } from "react";
|
|
1772
1772
|
import { jsx as jsx19 } from "react/jsx-runtime";
|
|
1773
1773
|
var OpusThemeContext = createContext3(null);
|
|
1774
1774
|
function resolveDocumentTheme() {
|
|
@@ -1785,12 +1785,31 @@ function useOpusTheme() {
|
|
|
1785
1785
|
}
|
|
1786
1786
|
return resolveDocumentTheme();
|
|
1787
1787
|
}
|
|
1788
|
-
function OpusThemeProvider({
|
|
1788
|
+
function OpusThemeProvider({
|
|
1789
|
+
children,
|
|
1790
|
+
theme,
|
|
1791
|
+
applyToDocument = true
|
|
1792
|
+
}) {
|
|
1793
|
+
useEffect3(() => {
|
|
1794
|
+
if (!applyToDocument || typeof document === "undefined") {
|
|
1795
|
+
return;
|
|
1796
|
+
}
|
|
1797
|
+
const root = document.documentElement;
|
|
1798
|
+
const previous = root.getAttribute("data-theme");
|
|
1799
|
+
root.setAttribute("data-theme", theme);
|
|
1800
|
+
return () => {
|
|
1801
|
+
if (previous === null) {
|
|
1802
|
+
root.removeAttribute("data-theme");
|
|
1803
|
+
} else {
|
|
1804
|
+
root.setAttribute("data-theme", previous);
|
|
1805
|
+
}
|
|
1806
|
+
};
|
|
1807
|
+
}, [applyToDocument, theme]);
|
|
1789
1808
|
return /* @__PURE__ */ jsx19(OpusThemeContext.Provider, { value: theme, children });
|
|
1790
1809
|
}
|
|
1791
1810
|
|
|
1792
1811
|
// ../../components/Alert/Alert.module.css
|
|
1793
|
-
var Alert_default = {"
|
|
1812
|
+
var Alert_default = {"dismiss":"opus_eh3eeT_dismiss","title":"opus_eh3eeT_title","iconFlagged":"opus_eh3eeT_iconFlagged","icon":"opus_eh3eeT_icon","iconMark":"opus_eh3eeT_iconMark","dismissIcon":"opus_eh3eeT_dismissIcon","content":"opus_eh3eeT_content","iconSvg":"opus_eh3eeT_iconSvg","alert":"opus_eh3eeT_alert","description":"opus_eh3eeT_description"};
|
|
1794
1813
|
|
|
1795
1814
|
// ../../components/Alert/Alert.tsx
|
|
1796
1815
|
import { jsx as jsx20, jsxs as jsxs13 } from "react/jsx-runtime";
|
|
@@ -1842,10 +1861,10 @@ function Alert({
|
|
|
1842
1861
|
}
|
|
1843
1862
|
|
|
1844
1863
|
// ../../components/Dialog/Dialog.tsx
|
|
1845
|
-
import { useEffect as
|
|
1864
|
+
import { useEffect as useEffect5, useId as useId5, useRef as useRef5, useState as useState5 } from "react";
|
|
1846
1865
|
|
|
1847
1866
|
// ../../lib/a11y/useOverlayAccessibility.ts
|
|
1848
|
-
import { useEffect as
|
|
1867
|
+
import { useEffect as useEffect4, useRef as useRef4 } from "react";
|
|
1849
1868
|
var FOCUSABLE_SELECTOR = [
|
|
1850
1869
|
"a[href]",
|
|
1851
1870
|
"button:not([disabled])",
|
|
@@ -1866,7 +1885,7 @@ function useOverlayAccessibility(active, containerRef, {
|
|
|
1866
1885
|
trapFocus = true
|
|
1867
1886
|
} = {}) {
|
|
1868
1887
|
const previouslyFocusedRef = useRef4(null);
|
|
1869
|
-
|
|
1888
|
+
useEffect4(() => {
|
|
1870
1889
|
if (!active) {
|
|
1871
1890
|
return;
|
|
1872
1891
|
}
|
|
@@ -1880,7 +1899,7 @@ function useOverlayAccessibility(active, containerRef, {
|
|
|
1880
1899
|
document.body.style.overflow = previousOverflow;
|
|
1881
1900
|
};
|
|
1882
1901
|
}, [active, lockScroll]);
|
|
1883
|
-
|
|
1902
|
+
useEffect4(() => {
|
|
1884
1903
|
if (!active) {
|
|
1885
1904
|
return;
|
|
1886
1905
|
}
|
|
@@ -1899,7 +1918,7 @@ function useOverlayAccessibility(active, containerRef, {
|
|
|
1899
1918
|
});
|
|
1900
1919
|
return () => window.cancelAnimationFrame(frame);
|
|
1901
1920
|
}, [active, containerRef, initialFocusRef]);
|
|
1902
|
-
|
|
1921
|
+
useEffect4(() => {
|
|
1903
1922
|
if (!active || !restoreFocus) {
|
|
1904
1923
|
return;
|
|
1905
1924
|
}
|
|
@@ -1908,7 +1927,7 @@ function useOverlayAccessibility(active, containerRef, {
|
|
|
1908
1927
|
(_b2 = (_a2 = previouslyFocusedRef.current) == null ? void 0 : _a2.focus) == null ? void 0 : _b2.call(_a2);
|
|
1909
1928
|
};
|
|
1910
1929
|
}, [active, restoreFocus]);
|
|
1911
|
-
|
|
1930
|
+
useEffect4(() => {
|
|
1912
1931
|
if (!active || !trapFocus) {
|
|
1913
1932
|
return;
|
|
1914
1933
|
}
|
|
@@ -1939,7 +1958,7 @@ function useOverlayAccessibility(active, containerRef, {
|
|
|
1939
1958
|
}
|
|
1940
1959
|
|
|
1941
1960
|
// ../../components/Dialog/Dialog.module.css
|
|
1942
|
-
var Dialog_default = {"
|
|
1961
|
+
var Dialog_default = {"backdropIn":"opus_sz-ZGI_backdropIn","iconMark":"opus_sz-ZGI_iconMark","icon":"opus_sz-ZGI_icon","description":"opus_sz-ZGI_description","body":"opus_sz-ZGI_body","dialogOut":"opus_sz-ZGI_dialogOut","iconSvg":"opus_sz-ZGI_iconSvg","actions":"opus_sz-ZGI_actions","dialog":"opus_sz-ZGI_dialog","content":"opus_sz-ZGI_content","visuallyHidden":"opus_sz-ZGI_visuallyHidden","dialogIn":"opus_sz-ZGI_dialogIn","backdrop":"opus_sz-ZGI_backdrop","title":"opus_sz-ZGI_title","backdropOut":"opus_sz-ZGI_backdropOut"};
|
|
1943
1962
|
|
|
1944
1963
|
// ../../components/Dialog/Dialog.tsx
|
|
1945
1964
|
import { jsx as jsx21, jsxs as jsxs14 } from "react/jsx-runtime";
|
|
@@ -1989,7 +2008,7 @@ function Dialog({
|
|
|
1989
2008
|
const [rendered, setRendered] = useState5(open);
|
|
1990
2009
|
const [phase, setPhase] = useState5("opening");
|
|
1991
2010
|
useOverlayAccessibility(open && rendered, panelRef);
|
|
1992
|
-
|
|
2011
|
+
useEffect5(() => {
|
|
1993
2012
|
let timeout;
|
|
1994
2013
|
const frame = window.requestAnimationFrame(() => {
|
|
1995
2014
|
if (open) {
|
|
@@ -2007,7 +2026,7 @@ function Dialog({
|
|
|
2007
2026
|
}
|
|
2008
2027
|
};
|
|
2009
2028
|
}, [open]);
|
|
2010
|
-
|
|
2029
|
+
useEffect5(() => {
|
|
2011
2030
|
if (!open || !dismissOnEscape) {
|
|
2012
2031
|
return;
|
|
2013
2032
|
}
|
|
@@ -2067,10 +2086,10 @@ function Dialog({
|
|
|
2067
2086
|
}
|
|
2068
2087
|
|
|
2069
2088
|
// ../../components/Modal/Modal.tsx
|
|
2070
|
-
import { useEffect as
|
|
2089
|
+
import { useEffect as useEffect6, useId as useId6, useRef as useRef6, useState as useState6 } from "react";
|
|
2071
2090
|
|
|
2072
2091
|
// ../../components/Modal/Modal.module.css
|
|
2073
|
-
var Modal_default = {"
|
|
2092
|
+
var Modal_default = {"description":"opus_LQbzGS_description","closeIcon":"opus_LQbzGS_closeIcon","modal":"opus_LQbzGS_modal","footer":"opus_LQbzGS_footer","modalBackdropIn":"opus_LQbzGS_modalBackdropIn","title":"opus_LQbzGS_title","modalPanelIn":"opus_LQbzGS_modalPanelIn","heading":"opus_LQbzGS_heading","backdrop":"opus_LQbzGS_backdrop","header":"opus_LQbzGS_header","actions":"opus_LQbzGS_actions","body":"opus_LQbzGS_body","modalPanelOut":"opus_LQbzGS_modalPanelOut","modalBackdropOut":"opus_LQbzGS_modalBackdropOut","footerContent":"opus_LQbzGS_footerContent","close":"opus_LQbzGS_close"};
|
|
2074
2093
|
|
|
2075
2094
|
// ../../components/Modal/Modal.tsx
|
|
2076
2095
|
import { Fragment as Fragment3, jsx as jsx22, jsxs as jsxs15 } from "react/jsx-runtime";
|
|
@@ -2097,7 +2116,7 @@ function Modal({
|
|
|
2097
2116
|
useOverlayAccessibility(open && rendered, panelRef, {
|
|
2098
2117
|
initialFocusRef: closeButton ? closeRef : void 0
|
|
2099
2118
|
});
|
|
2100
|
-
|
|
2119
|
+
useEffect6(() => {
|
|
2101
2120
|
let timeout;
|
|
2102
2121
|
const frame = window.requestAnimationFrame(() => {
|
|
2103
2122
|
if (open) {
|
|
@@ -2115,7 +2134,7 @@ function Modal({
|
|
|
2115
2134
|
}
|
|
2116
2135
|
};
|
|
2117
2136
|
}, [open]);
|
|
2118
|
-
|
|
2137
|
+
useEffect6(() => {
|
|
2119
2138
|
if (!open || !dismissOnEscape) {
|
|
2120
2139
|
return;
|
|
2121
2140
|
}
|
|
@@ -2198,10 +2217,10 @@ function ModalDefaultActions({ onClose }) {
|
|
|
2198
2217
|
}
|
|
2199
2218
|
|
|
2200
2219
|
// ../../components/Drawer/Drawer.tsx
|
|
2201
|
-
import { useEffect as
|
|
2220
|
+
import { useEffect as useEffect7, useId as useId7, useRef as useRef7, useState as useState7 } from "react";
|
|
2202
2221
|
|
|
2203
2222
|
// ../../components/Drawer/Drawer.module.css
|
|
2204
|
-
var Drawer_default = {"
|
|
2223
|
+
var Drawer_default = {"drawer":"opus_0CaGbZ_drawer","drawerOutRight":"opus_0CaGbZ_drawerOutRight","drawerBackdropIn":"opus_0CaGbZ_drawerBackdropIn","drawerOutLeft":"opus_0CaGbZ_drawerOutLeft","close":"opus_0CaGbZ_close","footerContent":"opus_0CaGbZ_footerContent","drawerInBottom":"opus_0CaGbZ_drawerInBottom","heading":"opus_0CaGbZ_heading","description":"opus_0CaGbZ_description","drawerBackdropOut":"opus_0CaGbZ_drawerBackdropOut","drawerInRight":"opus_0CaGbZ_drawerInRight","drawerOutBottom":"opus_0CaGbZ_drawerOutBottom","body":"opus_0CaGbZ_body","header":"opus_0CaGbZ_header","title":"opus_0CaGbZ_title","closeIcon":"opus_0CaGbZ_closeIcon","drawerOutTop":"opus_0CaGbZ_drawerOutTop","footer":"opus_0CaGbZ_footer","actions":"opus_0CaGbZ_actions","backdrop":"opus_0CaGbZ_backdrop","drawerInLeft":"opus_0CaGbZ_drawerInLeft","drawerInTop":"opus_0CaGbZ_drawerInTop"};
|
|
2205
2224
|
|
|
2206
2225
|
// ../../components/Drawer/Drawer.tsx
|
|
2207
2226
|
import { Fragment as Fragment4, jsx as jsx23, jsxs as jsxs16 } from "react/jsx-runtime";
|
|
@@ -2228,7 +2247,7 @@ function Drawer({
|
|
|
2228
2247
|
useOverlayAccessibility(open && rendered, panelRef, {
|
|
2229
2248
|
initialFocusRef: closeButton ? closeRef : void 0
|
|
2230
2249
|
});
|
|
2231
|
-
|
|
2250
|
+
useEffect7(() => {
|
|
2232
2251
|
let timeout;
|
|
2233
2252
|
const frame = window.requestAnimationFrame(() => {
|
|
2234
2253
|
if (open) {
|
|
@@ -2246,7 +2265,7 @@ function Drawer({
|
|
|
2246
2265
|
}
|
|
2247
2266
|
};
|
|
2248
2267
|
}, [open]);
|
|
2249
|
-
|
|
2268
|
+
useEffect7(() => {
|
|
2250
2269
|
if (!open || !dismissOnEscape) {
|
|
2251
2270
|
return;
|
|
2252
2271
|
}
|
|
@@ -2334,14 +2353,14 @@ import {
|
|
|
2334
2353
|
cloneElement,
|
|
2335
2354
|
isValidElement,
|
|
2336
2355
|
useCallback,
|
|
2337
|
-
useEffect as
|
|
2356
|
+
useEffect as useEffect8,
|
|
2338
2357
|
useId as useId8,
|
|
2339
2358
|
useRef as useRef8,
|
|
2340
2359
|
useState as useState8
|
|
2341
2360
|
} from "react";
|
|
2342
2361
|
|
|
2343
2362
|
// ../../components/Popover/Popover.module.css
|
|
2344
|
-
var Popover_default = {"
|
|
2363
|
+
var Popover_default = {"root":"opus_yq4OU0_root","content":"opus_yq4OU0_content","arrow":"opus_yq4OU0_arrow","popoverIn":"opus_yq4OU0_popoverIn","panel":"opus_yq4OU0_panel","title":"opus_yq4OU0_title"};
|
|
2345
2364
|
|
|
2346
2365
|
// ../../components/Popover/Popover.tsx
|
|
2347
2366
|
import { jsx as jsx24, jsxs as jsxs17 } from "react/jsx-runtime";
|
|
@@ -2389,7 +2408,7 @@ function Popover({
|
|
|
2389
2408
|
}
|
|
2390
2409
|
onOpenChange == null ? void 0 : onOpenChange(nextOpen);
|
|
2391
2410
|
}, [controlled, onOpenChange]);
|
|
2392
|
-
|
|
2411
|
+
useEffect8(() => {
|
|
2393
2412
|
if (!visible) {
|
|
2394
2413
|
return;
|
|
2395
2414
|
}
|
|
@@ -2447,7 +2466,7 @@ import {
|
|
|
2447
2466
|
cloneElement as cloneElement2,
|
|
2448
2467
|
isValidElement as isValidElement2,
|
|
2449
2468
|
useCallback as useCallback4,
|
|
2450
|
-
useEffect as
|
|
2469
|
+
useEffect as useEffect11,
|
|
2451
2470
|
useId as useId10,
|
|
2452
2471
|
useLayoutEffect as useLayoutEffect2,
|
|
2453
2472
|
useRef as useRef11,
|
|
@@ -2459,14 +2478,14 @@ import { createPortal as createPortal2 } from "react-dom";
|
|
|
2459
2478
|
import {
|
|
2460
2479
|
useCallback as useCallback3,
|
|
2461
2480
|
useContext as useContext5,
|
|
2462
|
-
useEffect as
|
|
2481
|
+
useEffect as useEffect10,
|
|
2463
2482
|
useMemo as useMemo2,
|
|
2464
2483
|
useRef as useRef10,
|
|
2465
2484
|
useState as useState10
|
|
2466
2485
|
} from "react";
|
|
2467
2486
|
|
|
2468
2487
|
// ../../components/MegaMenu/MegaMenu.tsx
|
|
2469
|
-
import { useCallback as useCallback2, useEffect as
|
|
2488
|
+
import { useCallback as useCallback2, useEffect as useEffect9, useId as useId9, useLayoutEffect, useRef as useRef9, useState as useState9 } from "react";
|
|
2470
2489
|
import { createPortal } from "react-dom";
|
|
2471
2490
|
|
|
2472
2491
|
// ../../components/TopNavigation/TopNavigationContext.tsx
|
|
@@ -2508,7 +2527,7 @@ function resolveMegaMenuPortalStyle(root, inTopNavigation) {
|
|
|
2508
2527
|
}
|
|
2509
2528
|
|
|
2510
2529
|
// ../../components/MegaMenu/MegaMenu.module.css
|
|
2511
|
-
var MegaMenu_default = {"
|
|
2530
|
+
var MegaMenu_default = {"menuBar":"opus_Y_ikQV_menuBar","megaMenuOut":"opus_Y_ikQV_megaMenuOut","item":"opus_Y_ikQV_item","eyebrow":"opus_Y_ikQV_eyebrow","sections":"opus_Y_ikQV_sections","featured":"opus_Y_ikQV_featured","panel":"opus_Y_ikQV_panel","itemCopy":"opus_Y_ikQV_itemCopy","root":"opus_Y_ikQV_root","itemIcon":"opus_Y_ikQV_itemIcon","trigger":"opus_Y_ikQV_trigger","featuredAction":"opus_Y_ikQV_featuredAction","section":"opus_Y_ikQV_section","items":"opus_Y_ikQV_items","megaMenuIn":"opus_Y_ikQV_megaMenuIn","panelContent":"opus_Y_ikQV_panelContent"};
|
|
2512
2531
|
|
|
2513
2532
|
// ../../components/MegaMenu/MegaMenu.tsx
|
|
2514
2533
|
import { jsx as jsx25, jsxs as jsxs18 } from "react/jsx-runtime";
|
|
@@ -2764,7 +2783,7 @@ function MegaMenu({
|
|
|
2764
2783
|
setActive(menuId2);
|
|
2765
2784
|
setVisible(true, menuId2);
|
|
2766
2785
|
}, [setActive, setVisible]);
|
|
2767
|
-
|
|
2786
|
+
useEffect9(() => {
|
|
2768
2787
|
const timeout = window.setTimeout(() => setPortalReady(true), 0);
|
|
2769
2788
|
return () => window.clearTimeout(timeout);
|
|
2770
2789
|
}, []);
|
|
@@ -2788,7 +2807,7 @@ function MegaMenu({
|
|
|
2788
2807
|
window.removeEventListener("scroll", updatePosition, true);
|
|
2789
2808
|
};
|
|
2790
2809
|
}, [inTopNavigation, isStaticPanel, phase, renderPanel]);
|
|
2791
|
-
|
|
2810
|
+
useEffect9(() => {
|
|
2792
2811
|
if (isStaticPanel || !visible) {
|
|
2793
2812
|
return;
|
|
2794
2813
|
}
|
|
@@ -2811,7 +2830,7 @@ function MegaMenu({
|
|
|
2811
2830
|
window.removeEventListener("keydown", handleKeyDown);
|
|
2812
2831
|
};
|
|
2813
2832
|
}, [isStaticPanel, resolvedCloseOnEscape, resolvedCloseOnOutside, setVisible, visible]);
|
|
2814
|
-
|
|
2833
|
+
useEffect9(() => {
|
|
2815
2834
|
if (isStaticPanel) {
|
|
2816
2835
|
return;
|
|
2817
2836
|
}
|
|
@@ -2833,7 +2852,7 @@ function MegaMenu({
|
|
|
2833
2852
|
};
|
|
2834
2853
|
}, [isStaticPanel, visible]);
|
|
2835
2854
|
const activeConfigId = activeConfig == null ? void 0 : activeConfig.id;
|
|
2836
|
-
|
|
2855
|
+
useEffect9(() => {
|
|
2837
2856
|
if (!inTopNavigation || isStaticPanel || !activeConfigId || !registerMenuPresent) {
|
|
2838
2857
|
return;
|
|
2839
2858
|
}
|
|
@@ -2951,7 +2970,7 @@ function MegaMenu({
|
|
|
2951
2970
|
}
|
|
2952
2971
|
|
|
2953
2972
|
// ../../components/TopNavigation/TopNavigation.module.css
|
|
2954
|
-
var TopNavigation_default = {"
|
|
2973
|
+
var TopNavigation_default = {"menuSlotMega":"opus_OIomR6_menuSlotMega","nav":"opus_OIomR6_nav","bar":"opus_OIomR6_bar","menuTrigger":"opus_OIomR6_menuTrigger","menuSlot":"opus_OIomR6_menuSlot"};
|
|
2955
2974
|
|
|
2956
2975
|
// ../../components/TopNavigation/TopNavigation.tsx
|
|
2957
2976
|
import { Fragment as Fragment5, jsx as jsx26 } from "react/jsx-runtime";
|
|
@@ -3215,7 +3234,7 @@ function TopNavigation({
|
|
|
3215
3234
|
return next;
|
|
3216
3235
|
});
|
|
3217
3236
|
}, []);
|
|
3218
|
-
|
|
3237
|
+
useEffect10(() => clearCloseTimeout, [clearCloseTimeout]);
|
|
3219
3238
|
const contextValue = useMemo2(
|
|
3220
3239
|
() => ({
|
|
3221
3240
|
activeMenu,
|
|
@@ -3308,7 +3327,7 @@ function handleMenuKeyDown(event, menu, onEscape) {
|
|
|
3308
3327
|
}
|
|
3309
3328
|
|
|
3310
3329
|
// ../../components/DropdownMenu/DropdownMenu.module.css
|
|
3311
|
-
var DropdownMenu_default = {"
|
|
3330
|
+
var DropdownMenu_default = {"label":"opus_UUVDVQ_label","icon":"opus_UUVDVQ_icon","dropdownOut":"opus_UUVDVQ_dropdownOut","menu":"opus_UUVDVQ_menu","shortcut":"opus_UUVDVQ_shortcut","root":"opus_UUVDVQ_root","dropdownIn":"opus_UUVDVQ_dropdownIn","item":"opus_UUVDVQ_item"};
|
|
3312
3331
|
|
|
3313
3332
|
// ../../components/DropdownMenu/DropdownMenu.tsx
|
|
3314
3333
|
import { jsx as jsx27, jsxs as jsxs19 } from "react/jsx-runtime";
|
|
@@ -3447,12 +3466,12 @@ function DropdownMenu({
|
|
|
3447
3466
|
}
|
|
3448
3467
|
scheduleHoverClose();
|
|
3449
3468
|
};
|
|
3450
|
-
|
|
3469
|
+
useEffect11(() => {
|
|
3451
3470
|
return () => {
|
|
3452
3471
|
clearHoverCloseTimeout();
|
|
3453
3472
|
};
|
|
3454
3473
|
}, [clearHoverCloseTimeout]);
|
|
3455
|
-
|
|
3474
|
+
useEffect11(() => {
|
|
3456
3475
|
const timeout = window.setTimeout(() => setPortalReady(true), 0);
|
|
3457
3476
|
return () => window.clearTimeout(timeout);
|
|
3458
3477
|
}, []);
|
|
@@ -3484,7 +3503,7 @@ function DropdownMenu({
|
|
|
3484
3503
|
window.removeEventListener("scroll", updatePosition, true);
|
|
3485
3504
|
};
|
|
3486
3505
|
}, [placement, renderMenu, resolvedElevated, phase]);
|
|
3487
|
-
|
|
3506
|
+
useEffect11(() => {
|
|
3488
3507
|
let timeout;
|
|
3489
3508
|
const frame = window.requestAnimationFrame(() => {
|
|
3490
3509
|
if (visible) {
|
|
@@ -3502,14 +3521,14 @@ function DropdownMenu({
|
|
|
3502
3521
|
}
|
|
3503
3522
|
};
|
|
3504
3523
|
}, [visible]);
|
|
3505
|
-
|
|
3524
|
+
useEffect11(() => {
|
|
3506
3525
|
if (!inTopNavigation || !navigationId || !registerMenuPresent) {
|
|
3507
3526
|
return;
|
|
3508
3527
|
}
|
|
3509
3528
|
registerMenuPresent(navigationId, renderMenu);
|
|
3510
3529
|
return () => registerMenuPresent(navigationId, false);
|
|
3511
3530
|
}, [inTopNavigation, navigationId, registerMenuPresent, renderMenu]);
|
|
3512
|
-
|
|
3531
|
+
useEffect11(() => {
|
|
3513
3532
|
if (!visible) {
|
|
3514
3533
|
return;
|
|
3515
3534
|
}
|
|
@@ -3519,7 +3538,7 @@ function DropdownMenu({
|
|
|
3519
3538
|
});
|
|
3520
3539
|
return () => window.cancelAnimationFrame(frame);
|
|
3521
3540
|
}, [visible]);
|
|
3522
|
-
|
|
3541
|
+
useEffect11(() => {
|
|
3523
3542
|
if (!visible) {
|
|
3524
3543
|
return;
|
|
3525
3544
|
}
|
|
@@ -3639,7 +3658,7 @@ import {
|
|
|
3639
3658
|
createContext as createContext5,
|
|
3640
3659
|
useCallback as useCallback5,
|
|
3641
3660
|
useContext as useContext6,
|
|
3642
|
-
useEffect as
|
|
3661
|
+
useEffect as useEffect12,
|
|
3643
3662
|
useId as useId11,
|
|
3644
3663
|
useLayoutEffect as useLayoutEffect3,
|
|
3645
3664
|
useRef as useRef12,
|
|
@@ -3648,7 +3667,7 @@ import {
|
|
|
3648
3667
|
import { createPortal as createPortal3 } from "react-dom";
|
|
3649
3668
|
|
|
3650
3669
|
// ../../components/ContextMenu/ContextMenu.module.css
|
|
3651
|
-
var ContextMenu_default = {"backdrop":"opus_nMhhae_backdrop","
|
|
3670
|
+
var ContextMenu_default = {"backdrop":"opus_nMhhae_backdrop","contextMenuBackdropIn":"opus_nMhhae_contextMenuBackdropIn","menu":"opus_nMhhae_menu","target":"opus_nMhhae_target","layer":"opus_nMhhae_layer","contextMenuIn":"opus_nMhhae_contextMenuIn"};
|
|
3652
3671
|
|
|
3653
3672
|
// ../../components/ContextMenu/ContextMenuProvider.tsx
|
|
3654
3673
|
import { jsx as jsx28, jsxs as jsxs20 } from "react/jsx-runtime";
|
|
@@ -3710,7 +3729,7 @@ function ContextMenuProvider({
|
|
|
3710
3729
|
);
|
|
3711
3730
|
const controlled = open !== void 0;
|
|
3712
3731
|
const visible = controlled ? Boolean(open) : Boolean(activeMenu);
|
|
3713
|
-
|
|
3732
|
+
useEffect12(() => {
|
|
3714
3733
|
setMounted(true);
|
|
3715
3734
|
}, []);
|
|
3716
3735
|
const close = useCallback5(() => {
|
|
@@ -3748,7 +3767,7 @@ function ContextMenuProvider({
|
|
|
3748
3767
|
},
|
|
3749
3768
|
[onOpenChange, theme]
|
|
3750
3769
|
);
|
|
3751
|
-
|
|
3770
|
+
useEffect12(() => {
|
|
3752
3771
|
var _a3, _b3;
|
|
3753
3772
|
if (!controlled || !open || activeMenu) {
|
|
3754
3773
|
return;
|
|
@@ -3767,7 +3786,7 @@ function ContextMenuProvider({
|
|
|
3767
3786
|
rect.top + rect.height / 2
|
|
3768
3787
|
);
|
|
3769
3788
|
}, [activeMenu, controlled, open, openFromTarget]);
|
|
3770
|
-
|
|
3789
|
+
useEffect12(() => {
|
|
3771
3790
|
if (controlled && !open) {
|
|
3772
3791
|
setActiveMenu(null);
|
|
3773
3792
|
setAdjustedPosition(null);
|
|
@@ -3787,7 +3806,7 @@ function ContextMenuProvider({
|
|
|
3787
3806
|
)
|
|
3788
3807
|
);
|
|
3789
3808
|
}, [activeMenu, visible]);
|
|
3790
|
-
|
|
3809
|
+
useEffect12(() => {
|
|
3791
3810
|
if (!visible || !menuRef.current) {
|
|
3792
3811
|
return;
|
|
3793
3812
|
}
|
|
@@ -3801,7 +3820,7 @@ function ContextMenuProvider({
|
|
|
3801
3820
|
});
|
|
3802
3821
|
return () => window.cancelAnimationFrame(frame);
|
|
3803
3822
|
}, [visible, activeMenu == null ? void 0 : activeMenu.targetId]);
|
|
3804
|
-
|
|
3823
|
+
useEffect12(() => {
|
|
3805
3824
|
if (!visible) {
|
|
3806
3825
|
return;
|
|
3807
3826
|
}
|
|
@@ -3905,7 +3924,7 @@ function ContextMenuTarget({
|
|
|
3905
3924
|
const targetId = useId11();
|
|
3906
3925
|
const targetRef = useRef12(null);
|
|
3907
3926
|
const { activeTargetId, isOpen, menuId, openFromTarget, registerTarget } = useContextMenu();
|
|
3908
|
-
|
|
3927
|
+
useEffect12(
|
|
3909
3928
|
() => registerTarget(targetId, {
|
|
3910
3929
|
getElement: () => targetRef.current,
|
|
3911
3930
|
items,
|
|
@@ -3949,7 +3968,7 @@ ContextMenuTarget.displayName = "ContextMenuTarget";
|
|
|
3949
3968
|
|
|
3950
3969
|
// ../../components/CommandPalette/CommandPalette.tsx
|
|
3951
3970
|
import {
|
|
3952
|
-
useEffect as
|
|
3971
|
+
useEffect as useEffect13,
|
|
3953
3972
|
useId as useId12,
|
|
3954
3973
|
useMemo as useMemo3,
|
|
3955
3974
|
useRef as useRef13,
|
|
@@ -3959,7 +3978,7 @@ import { faMagnifyingGlass } from "@fortawesome/free-solid-svg-icons";
|
|
|
3959
3978
|
import { FontAwesomeIcon as FontAwesomeIcon2 } from "@fortawesome/react-fontawesome";
|
|
3960
3979
|
|
|
3961
3980
|
// ../../components/CommandPalette/CommandPalette.module.css
|
|
3962
|
-
var CommandPalette_default = {"
|
|
3981
|
+
var CommandPalette_default = {"searchWrap":"opus_k1ypuy_searchWrap","group":"opus_k1ypuy_group","searchInput":"opus_k1ypuy_searchInput","visuallyHidden":"opus_k1ypuy_visuallyHidden","commandPalettePanelIn":"opus_k1ypuy_commandPalettePanelIn","itemMain":"opus_k1ypuy_itemMain","searchIcon":"opus_k1ypuy_searchIcon","searchIconSvg":"opus_k1ypuy_searchIconSvg","groupLabel":"opus_k1ypuy_groupLabel","item":"opus_k1ypuy_item","panel":"opus_k1ypuy_panel","itemLabel":"opus_k1ypuy_itemLabel","empty":"opus_k1ypuy_empty","results":"opus_k1ypuy_results","shortcut":"opus_k1ypuy_shortcut","footer":"opus_k1ypuy_footer","commandPalettePanelOut":"opus_k1ypuy_commandPalettePanelOut","commandPaletteBackdropIn":"opus_k1ypuy_commandPaletteBackdropIn","commandPaletteBackdropOut":"opus_k1ypuy_commandPaletteBackdropOut","backdrop":"opus_k1ypuy_backdrop","itemDescription":"opus_k1ypuy_itemDescription"};
|
|
3963
3982
|
|
|
3964
3983
|
// ../../components/CommandPalette/CommandPalette.tsx
|
|
3965
3984
|
import { jsx as jsx29, jsxs as jsxs21 } from "react/jsx-runtime";
|
|
@@ -4029,7 +4048,7 @@ function CommandPalette({
|
|
|
4029
4048
|
() => groupedItems.flatMap((group) => group.items),
|
|
4030
4049
|
[groupedItems]
|
|
4031
4050
|
);
|
|
4032
|
-
|
|
4051
|
+
useEffect13(() => {
|
|
4033
4052
|
let timeout;
|
|
4034
4053
|
const frame = window.requestAnimationFrame(() => {
|
|
4035
4054
|
if (open) {
|
|
@@ -4047,7 +4066,7 @@ function CommandPalette({
|
|
|
4047
4066
|
}
|
|
4048
4067
|
};
|
|
4049
4068
|
}, [open]);
|
|
4050
|
-
|
|
4069
|
+
useEffect13(() => {
|
|
4051
4070
|
if (!open) {
|
|
4052
4071
|
return;
|
|
4053
4072
|
}
|
|
@@ -4059,12 +4078,12 @@ function CommandPalette({
|
|
|
4059
4078
|
});
|
|
4060
4079
|
return () => window.cancelAnimationFrame(frame);
|
|
4061
4080
|
}, [open]);
|
|
4062
|
-
|
|
4081
|
+
useEffect13(() => {
|
|
4063
4082
|
if (activeIndex >= flatItems.length) {
|
|
4064
4083
|
setActiveIndex(Math.max(0, flatItems.length - 1));
|
|
4065
4084
|
}
|
|
4066
4085
|
}, [activeIndex, flatItems.length]);
|
|
4067
|
-
|
|
4086
|
+
useEffect13(() => {
|
|
4068
4087
|
var _a2;
|
|
4069
4088
|
if (!open || flatItems.length === 0) {
|
|
4070
4089
|
return;
|
|
@@ -4078,7 +4097,7 @@ function CommandPalette({
|
|
|
4078
4097
|
);
|
|
4079
4098
|
element == null ? void 0 : element.scrollIntoView({ block: "nearest" });
|
|
4080
4099
|
}, [activeIndex, flatItems, listboxId, open]);
|
|
4081
|
-
|
|
4100
|
+
useEffect13(() => {
|
|
4082
4101
|
if (!open || !dismissOnEscape) {
|
|
4083
4102
|
return;
|
|
4084
4103
|
}
|
|
@@ -4299,7 +4318,7 @@ function AccordionGroup({
|
|
|
4299
4318
|
}
|
|
4300
4319
|
|
|
4301
4320
|
// ../../components/Accordion/Accordion.module.css
|
|
4302
|
-
var Accordion_default = {"
|
|
4321
|
+
var Accordion_default = {"trigger":"opus_WNZQMV_trigger","panelInner":"opus_WNZQMV_panelInner","standalone":"opus_WNZQMV_standalone","content":"opus_WNZQMV_content","panel":"opus_WNZQMV_panel","item":"opus_WNZQMV_item","triggerLabel":"opus_WNZQMV_triggerLabel","chevron":"opus_WNZQMV_chevron"};
|
|
4303
4322
|
|
|
4304
4323
|
// ../../components/Accordion/Accordion.tsx
|
|
4305
4324
|
import { jsx as jsx31, jsxs as jsxs22 } from "react/jsx-runtime";
|
|
@@ -4392,7 +4411,7 @@ import {
|
|
|
4392
4411
|
} from "react";
|
|
4393
4412
|
|
|
4394
4413
|
// ../../components/ShowMore/ShowMore.module.css
|
|
4395
|
-
var ShowMore_default = {"chevron":"opus_dSk-ve_chevron","
|
|
4414
|
+
var ShowMore_default = {"chevron":"opus_dSk-ve_chevron","inner":"opus_dSk-ve_inner","root":"opus_dSk-ve_root","toggleLabel":"opus_dSk-ve_toggleLabel","contentShell":"opus_dSk-ve_contentShell","toggle":"opus_dSk-ve_toggle","showMoreLabelIn":"opus_dSk-ve_showMoreLabelIn"};
|
|
4396
4415
|
|
|
4397
4416
|
// ../../components/ShowMore/ShowMore.tsx
|
|
4398
4417
|
import { jsx as jsx32, jsxs as jsxs23 } from "react/jsx-runtime";
|
|
@@ -4496,7 +4515,7 @@ function ShowMore({
|
|
|
4496
4515
|
}
|
|
4497
4516
|
|
|
4498
4517
|
// ../../components/Toast/Toast.module.css
|
|
4499
|
-
var Toast_default = {"
|
|
4518
|
+
var Toast_default = {"content":"opus_cklQPW_content","dismissIcon":"opus_cklQPW_dismissIcon","toast":"opus_cklQPW_toast","title":"opus_cklQPW_title","progressBar":"opus_cklQPW_progressBar","toastProgress":"opus_cklQPW_toastProgress","dismiss":"opus_cklQPW_dismiss","body":"opus_cklQPW_body","description":"opus_cklQPW_description","iconMark":"opus_cklQPW_iconMark","progressTrack":"opus_cklQPW_progressTrack","iconSvg":"opus_cklQPW_iconSvg","icon":"opus_cklQPW_icon","main":"opus_cklQPW_main"};
|
|
4500
4519
|
|
|
4501
4520
|
// ../../components/Toast/Toast.tsx
|
|
4502
4521
|
import { jsx as jsx33, jsxs as jsxs24 } from "react/jsx-runtime";
|
|
@@ -4569,14 +4588,14 @@ import {
|
|
|
4569
4588
|
createContext as createContext7,
|
|
4570
4589
|
useCallback as useCallback9,
|
|
4571
4590
|
useContext as useContext8,
|
|
4572
|
-
useEffect as
|
|
4591
|
+
useEffect as useEffect14,
|
|
4573
4592
|
useLayoutEffect as useLayoutEffect5,
|
|
4574
4593
|
useRef as useRef15,
|
|
4575
4594
|
useState as useState17
|
|
4576
4595
|
} from "react";
|
|
4577
4596
|
|
|
4578
4597
|
// ../../components/ToastProvider/ToastProvider.module.css
|
|
4579
|
-
var ToastProvider_default = {"viewportTop":"opus_z3pSp7_viewportTop","itemSurface":"opus_z3pSp7_itemSurface","
|
|
4598
|
+
var ToastProvider_default = {"viewportTop":"opus_z3pSp7_viewportTop","itemSurface":"opus_z3pSp7_itemSurface","viewportBottom":"opus_z3pSp7_viewportBottom","viewportLeft":"opus_z3pSp7_viewportLeft","item":"opus_z3pSp7_item","viewportRight":"opus_z3pSp7_viewportRight","itemClip":"opus_z3pSp7_itemClip","viewport":"opus_z3pSp7_viewport","itemBackdrop":"opus_z3pSp7_itemBackdrop"};
|
|
4580
4599
|
|
|
4581
4600
|
// ../../components/ToastProvider/ToastProvider.tsx
|
|
4582
4601
|
import { jsx as jsx34, jsxs as jsxs25 } from "react/jsx-runtime";
|
|
@@ -4644,10 +4663,10 @@ function useAutoDismiss({
|
|
|
4644
4663
|
const remainingRef = useRef15(duration != null ? duration : 0);
|
|
4645
4664
|
const timerRef = useRef15(void 0);
|
|
4646
4665
|
const startedAtRef = useRef15(0);
|
|
4647
|
-
|
|
4666
|
+
useEffect14(() => {
|
|
4648
4667
|
remainingRef.current = duration != null ? duration : 0;
|
|
4649
4668
|
}, [duration, active]);
|
|
4650
|
-
|
|
4669
|
+
useEffect14(() => {
|
|
4651
4670
|
if (!active || !duration || duration <= 0) {
|
|
4652
4671
|
return;
|
|
4653
4672
|
}
|
|
@@ -4946,7 +4965,7 @@ function ToastProvider({
|
|
|
4946
4965
|
import { useId as useId15, useState as useState18 } from "react";
|
|
4947
4966
|
|
|
4948
4967
|
// ../../components/Tabs/Tabs.module.css
|
|
4949
|
-
var Tabs_default = {"
|
|
4968
|
+
var Tabs_default = {"root":"opus_ADVJmy_root","panel":"opus_ADVJmy_panel","tab":"opus_ADVJmy_tab","list":"opus_ADVJmy_list"};
|
|
4950
4969
|
|
|
4951
4970
|
// ../../components/Tabs/Tabs.tsx
|
|
4952
4971
|
import { jsx as jsx35, jsxs as jsxs26 } from "react/jsx-runtime";
|
|
@@ -5060,7 +5079,7 @@ function Tabs({
|
|
|
5060
5079
|
}
|
|
5061
5080
|
|
|
5062
5081
|
// ../../components/Card/Card.module.css
|
|
5063
|
-
var Card_default = {"
|
|
5082
|
+
var Card_default = {"heading":"opus_qWo1sP_heading","title":"opus_qWo1sP_title","card":"opus_qWo1sP_card","body":"opus_qWo1sP_body","actions":"opus_qWo1sP_actions","media":"opus_qWo1sP_media","eyebrow":"opus_qWo1sP_eyebrow","footerContent":"opus_qWo1sP_footerContent","content":"opus_qWo1sP_content","footer":"opus_qWo1sP_footer"};
|
|
5064
5083
|
|
|
5065
5084
|
// ../../components/Card/Card.tsx
|
|
5066
5085
|
import { jsx as jsx36, jsxs as jsxs27 } from "react/jsx-runtime";
|
|
@@ -5091,7 +5110,7 @@ function Card({
|
|
|
5091
5110
|
}
|
|
5092
5111
|
|
|
5093
5112
|
// ../../components/dashboardMetricCardLayout/dashboardMetricCardLayout.module.css
|
|
5094
|
-
var dashboardMetricCardLayout_default = {"header":"opus_6_sptY_header","iconPlaceholder":"opus_6_sptY_iconPlaceholder","
|
|
5113
|
+
var dashboardMetricCardLayout_default = {"header":"opus_6_sptY_header","iconPlaceholder":"opus_6_sptY_iconPlaceholder","shell":"opus_6_sptY_shell","value":"opus_6_sptY_value","iconSlot":"opus_6_sptY_iconSlot","label":"opus_6_sptY_label","metaPlaceholder":"opus_6_sptY_metaPlaceholder","metaSlot":"opus_6_sptY_metaSlot"};
|
|
5095
5114
|
|
|
5096
5115
|
// ../../components/StatCard/StatCard.module.css
|
|
5097
5116
|
var StatCard_default = {"change":"opus_KIXsQY_change"};
|
|
@@ -5121,7 +5140,7 @@ function StatCard({
|
|
|
5121
5140
|
}
|
|
5122
5141
|
|
|
5123
5142
|
// ../../components/Gauge/Gauge.module.css
|
|
5124
|
-
var Gauge_default = {"
|
|
5143
|
+
var Gauge_default = {"widget":"opus_t6IuQe_widget","gauge":"opus_t6IuQe_gauge","header":"opus_t6IuQe_header","footerValue":"opus_t6IuQe_footerValue","title":"opus_t6IuQe_title","gaugeSlot":"opus_t6IuQe_gaugeSlot","footer":"opus_t6IuQe_footer","body":"opus_t6IuQe_body","gaugeValue":"opus_t6IuQe_gaugeValue","footerLabel":"opus_t6IuQe_footerLabel","gaugeTrack":"opus_t6IuQe_gaugeTrack","footerItem":"opus_t6IuQe_footerItem","heading":"opus_t6IuQe_heading","gaugeCenter":"opus_t6IuQe_gaugeCenter","footerTrend":"opus_t6IuQe_footerTrend","subtitle":"opus_t6IuQe_subtitle","summary":"opus_t6IuQe_summary","gaugeSvg":"opus_t6IuQe_gaugeSvg","change":"opus_t6IuQe_change"};
|
|
5125
5144
|
|
|
5126
5145
|
// ../../components/Gauge/Gauge.tsx
|
|
5127
5146
|
import { jsx as jsx38, jsxs as jsxs29 } from "react/jsx-runtime";
|
|
@@ -5255,7 +5274,7 @@ function Gauge({
|
|
|
5255
5274
|
import { useId as useId16 } from "react";
|
|
5256
5275
|
|
|
5257
5276
|
// ../../components/Sparkline/Sparkline.module.css
|
|
5258
|
-
var Sparkline_default = {"
|
|
5277
|
+
var Sparkline_default = {"line":"opus_xXtB87_line","svg":"opus_xXtB87_svg","label":"opus_xXtB87_label","area":"opus_xXtB87_area","endPoint":"opus_xXtB87_endPoint","sparkline":"opus_xXtB87_sparkline","chart":"opus_xXtB87_chart"};
|
|
5259
5278
|
|
|
5260
5279
|
// ../../components/Sparkline/Sparkline.tsx
|
|
5261
5280
|
import { jsx as jsx39, jsxs as jsxs30 } from "react/jsx-runtime";
|
|
@@ -5321,7 +5340,7 @@ function Sparkline({
|
|
|
5321
5340
|
}
|
|
5322
5341
|
|
|
5323
5342
|
// ../../components/ProgressRing/ProgressRing.module.css
|
|
5324
|
-
var ProgressRing_default = {"
|
|
5343
|
+
var ProgressRing_default = {"svg":"opus_YxX6Hh_svg","center":"opus_YxX6Hh_center","value":"opus_YxX6Hh_value","track":"opus_YxX6Hh_track","ring":"opus_YxX6Hh_ring"};
|
|
5325
5344
|
|
|
5326
5345
|
// ../../components/ProgressRing/ProgressRing.tsx
|
|
5327
5346
|
import { jsx as jsx40, jsxs as jsxs31 } from "react/jsx-runtime";
|
|
@@ -5354,7 +5373,7 @@ function ProgressRing({ label, max = 100, value }) {
|
|
|
5354
5373
|
}
|
|
5355
5374
|
|
|
5356
5375
|
// ../../components/ProgressBar/ProgressBar.module.css
|
|
5357
|
-
var ProgressBar_default = {"
|
|
5376
|
+
var ProgressBar_default = {"track":"opus_q04AvA_track","value":"opus_q04AvA_value","header":"opus_q04AvA_header","bar":"opus_q04AvA_bar","fill":"opus_q04AvA_fill","label":"opus_q04AvA_label"};
|
|
5358
5377
|
|
|
5359
5378
|
// ../../components/ProgressBar/ProgressBar.tsx
|
|
5360
5379
|
import { jsx as jsx41, jsxs as jsxs32 } from "react/jsx-runtime";
|
|
@@ -5374,7 +5393,7 @@ function ProgressBar({ label, max = 100, value }) {
|
|
|
5374
5393
|
}
|
|
5375
5394
|
|
|
5376
5395
|
// ../../components/Speedometer/Speedometer.module.css
|
|
5377
|
-
var Speedometer_default = {"
|
|
5396
|
+
var Speedometer_default = {"needle":"opus__jpB7z_needle","center":"opus__jpB7z_center","track":"opus__jpB7z_track","hub":"opus__jpB7z_hub","svg":"opus__jpB7z_svg","value":"opus__jpB7z_value","speedometer":"opus__jpB7z_speedometer"};
|
|
5378
5397
|
|
|
5379
5398
|
// ../../components/Speedometer/Speedometer.tsx
|
|
5380
5399
|
import { jsx as jsx42, jsxs as jsxs33 } from "react/jsx-runtime";
|
|
@@ -5407,7 +5426,7 @@ function Speedometer({ label, max = 100, value }) {
|
|
|
5407
5426
|
}
|
|
5408
5427
|
|
|
5409
5428
|
// ../../components/MetricTile/MetricTile.module.css
|
|
5410
|
-
var MetricTile_default = {"
|
|
5429
|
+
var MetricTile_default = {"tile":"opus_-dz9KL_tile","sparklineRail":"opus_-dz9KL_sparklineRail","sparklineReserve":"opus_-dz9KL_sparklineReserve"};
|
|
5411
5430
|
|
|
5412
5431
|
// ../../components/MetricTile/MetricTile.tsx
|
|
5413
5432
|
import { jsx as jsx43, jsxs as jsxs34 } from "react/jsx-runtime";
|
|
@@ -5450,7 +5469,7 @@ function TrendBadge({ direction, value }) {
|
|
|
5450
5469
|
}
|
|
5451
5470
|
|
|
5452
5471
|
// ../../components/Panel/Panel.module.css
|
|
5453
|
-
var Panel_default = {"header":"opus_JZHUc__header","
|
|
5472
|
+
var Panel_default = {"header":"opus_JZHUc__header","footer":"opus_JZHUc__footer","description":"opus_JZHUc__description","heading":"opus_JZHUc__heading","body":"opus_JZHUc__body","title":"opus_JZHUc__title","panel":"opus_JZHUc__panel","headerActions":"opus_JZHUc__headerActions"};
|
|
5454
5473
|
|
|
5455
5474
|
// ../../components/Panel/Panel.tsx
|
|
5456
5475
|
import { jsx as jsx45, jsxs as jsxs37 } from "react/jsx-runtime";
|
|
@@ -5634,7 +5653,7 @@ function resolveSectionGapVars(gap = "md") {
|
|
|
5634
5653
|
}
|
|
5635
5654
|
|
|
5636
5655
|
// ../../components/Section/Section.module.css
|
|
5637
|
-
var Section_default = {"
|
|
5656
|
+
var Section_default = {"row":"opus_FajZiH_row","column":"opus_FajZiH_column","header":"opus_FajZiH_header","section":"opus_FajZiH_section","title":"opus_FajZiH_title","description":"opus_FajZiH_description","body":"opus_FajZiH_body"};
|
|
5638
5657
|
|
|
5639
5658
|
// ../../components/Section/Section.tsx
|
|
5640
5659
|
import { jsx as jsx46, jsxs as jsxs38 } from "react/jsx-runtime";
|
|
@@ -5715,7 +5734,7 @@ var Section = Object.assign(SectionRoot, {
|
|
|
5715
5734
|
});
|
|
5716
5735
|
|
|
5717
5736
|
// ../../components/Table/Table.module.css
|
|
5718
|
-
var Table_default = {"
|
|
5737
|
+
var Table_default = {"visuallyHidden":"opus_2q7S14_visuallyHidden","wrap":"opus_2q7S14_wrap","caption":"opus_2q7S14_caption","empty":"opus_2q7S14_empty","table":"opus_2q7S14_table"};
|
|
5719
5738
|
|
|
5720
5739
|
// ../../components/Table/Table.tsx
|
|
5721
5740
|
import { jsx as jsx47, jsxs as jsxs39 } from "react/jsx-runtime";
|
|
@@ -5749,7 +5768,7 @@ import { faFilter } from "@fortawesome/free-solid-svg-icons";
|
|
|
5749
5768
|
import { FontAwesomeIcon as FontAwesomeIcon3 } from "@fortawesome/react-fontawesome";
|
|
5750
5769
|
|
|
5751
5770
|
// ../../components/DataGrid/DataGrid.module.css
|
|
5752
|
-
var DataGrid_default = {"
|
|
5771
|
+
var DataGrid_default = {"sortButton":"opus_zN0bNb_sortButton","wrap":"opus_zN0bNb_wrap","menuHost":"opus_zN0bNb_menuHost","headerLabel":"opus_zN0bNb_headerLabel","sortButtonLabel":"opus_zN0bNb_sortButtonLabel","sortIndicator":"opus_zN0bNb_sortIndicator","caption":"opus_zN0bNb_caption","frame":"opus_zN0bNb_frame","menuSection":"opus_zN0bNb_menuSection","menuFilterIcon":"opus_zN0bNb_menuFilterIcon","menuAction":"opus_zN0bNb_menuAction","columnResizeHandle":"opus_zN0bNb_columnResizeHandle","headerMenu":"opus_zN0bNb_headerMenu","menuLabel":"opus_zN0bNb_menuLabel","filterInput":"opus_zN0bNb_filterInput","rowHeader":"opus_zN0bNb_rowHeader","corner":"opus_zN0bNb_corner","headerCell":"opus_zN0bNb_headerCell","visuallyHidden":"opus_zN0bNb_visuallyHidden","grid":"opus_zN0bNb_grid","menuButton":"opus_zN0bNb_menuButton","empty":"opus_zN0bNb_empty","menuChevron":"opus_zN0bNb_menuChevron","sortIndicatorButton":"opus_zN0bNb_sortIndicatorButton","gridBody":"opus_zN0bNb_gridBody","headerControls":"opus_zN0bNb_headerControls"};
|
|
5753
5772
|
|
|
5754
5773
|
// ../../components/DataGrid/DataGrid.tsx
|
|
5755
5774
|
import { jsx as jsx48, jsxs as jsxs40 } from "react/jsx-runtime";
|
|
@@ -6377,7 +6396,7 @@ var GridHeaderMenu = forwardRef(function GridHeaderMenu2({
|
|
|
6377
6396
|
});
|
|
6378
6397
|
|
|
6379
6398
|
// ../../components/Chart/Chart.tsx
|
|
6380
|
-
import { useEffect as
|
|
6399
|
+
import { useEffect as useEffect15, useId as useId17, useRef as useRef17, useState as useState20 } from "react";
|
|
6381
6400
|
|
|
6382
6401
|
// ../../components/Chart/sankeyLayout.ts
|
|
6383
6402
|
var demoSankeyNodes = [
|
|
@@ -8692,7 +8711,7 @@ function SpecializedChart(props) {
|
|
|
8692
8711
|
}
|
|
8693
8712
|
|
|
8694
8713
|
// ../../components/Chart/Chart.module.css
|
|
8695
|
-
var Chart_default = {"
|
|
8714
|
+
var Chart_default = {"slice":"opus_L6guCK_slice","header":"opus_L6guCK_header","axisGuide":"opus_L6guCK_axisGuide","seriesB":"opus_L6guCK_seriesB","graphLabel":"opus_L6guCK_graphLabel","mapRegion":"opus_L6guCK_mapRegion","chart":"opus_L6guCK_chart","ridge":"opus_L6guCK_ridge","axisLabels":"opus_L6guCK_axisLabels","seriesE":"opus_L6guCK_seriesE","land":"opus_L6guCK_land","funnel":"opus_L6guCK_funnel","seriesF":"opus_L6guCK_seriesF","mapValue":"opus_L6guCK_mapValue","sankeyNode":"opus_L6guCK_sankeyNode","wick":"opus_L6guCK_wick","packLabel":"opus_L6guCK_packLabel","ring":"opus_L6guCK_ring","axes":"opus_L6guCK_axes","sankeyLabelBox":"opus_L6guCK_sankeyLabelBox","graphNode":"opus_L6guCK_graphNode","graphLinkColored":"opus_L6guCK_graphLinkColored","mapLand":"opus_L6guCK_mapLand","bar":"opus_L6guCK_bar","seriesA":"opus_L6guCK_seriesA","radarArea":"opus_L6guCK_radarArea","funnelText":"opus_L6guCK_funnelText","packParent":"opus_L6guCK_packParent","valueLabel":"opus_L6guCK_valueLabel","seriesD":"opus_L6guCK_seriesD","legendItem":"opus_L6guCK_legendItem","axisTitle":"opus_L6guCK_axisTitle","treemapLabel":"opus_L6guCK_treemapLabel","sankeyLink":"opus_L6guCK_sankeyLink","line":"opus_L6guCK_line","point":"opus_L6guCK_point","sankeySideValue":"opus_L6guCK_sankeySideValue","grid":"opus_L6guCK_grid","funnelGuide":"opus_L6guCK_funnelGuide","seriesC":"opus_L6guCK_seriesC","mapLabel":"opus_L6guCK_mapLabel","axisTick":"opus_L6guCK_axisTick","sankeySideName":"opus_L6guCK_sankeySideName","legendSwatch":"opus_L6guCK_legendSwatch","treemapGroupLabel":"opus_L6guCK_treemapGroupLabel","radarGrid":"opus_L6guCK_radarGrid","violin":"opus_L6guCK_violin","graphLink":"opus_L6guCK_graphLink","title":"opus_L6guCK_title","link":"opus_L6guCK_link","svg":"opus_L6guCK_svg","area":"opus_L6guCK_area","sankeySideLabel":"opus_L6guCK_sankeySideLabel","meta":"opus_L6guCK_meta","sankeyCenterLabel":"opus_L6guCK_sankeyCenterLabel","axisLine":"opus_L6guCK_axisLine","legend":"opus_L6guCK_legend","graphNodeRing":"opus_L6guCK_graphNodeRing"};
|
|
8696
8715
|
|
|
8697
8716
|
// ../../components/Chart/Chart.tsx
|
|
8698
8717
|
import { Fragment as Fragment6, jsx as jsx50, jsxs as jsxs42 } from "react/jsx-runtime";
|
|
@@ -9610,7 +9629,7 @@ function Chart({
|
|
|
9610
9629
|
})
|
|
9611
9630
|
) : variant === "stacked-area" ? stackedSeriesMax(series) : useDomainAxis ? yDomain.max : max;
|
|
9612
9631
|
const axisMin = useDomainAxis ? yDomain.min : 0;
|
|
9613
|
-
|
|
9632
|
+
useEffect15(() => {
|
|
9614
9633
|
const svg = svgRef.current;
|
|
9615
9634
|
if (!svg) {
|
|
9616
9635
|
return;
|
|
@@ -9792,7 +9811,7 @@ function Chart({
|
|
|
9792
9811
|
}
|
|
9793
9812
|
|
|
9794
9813
|
// ../../components/Skeleton/Skeleton.module.css
|
|
9795
|
-
var Skeleton_default = {"
|
|
9814
|
+
var Skeleton_default = {"tableCell":"opus_27r9Md_tableCell","skeletonShimmer":"opus_27r9Md_skeletonShimmer","avatarContent":"opus_27r9Md_avatarContent","tableRow":"opus_27r9Md_tableRow","avatar":"opus_27r9Md_avatar","skeleton":"opus_27r9Md_skeleton","line":"opus_27r9Md_line","skeletonPulse":"opus_27r9Md_skeletonPulse","stack":"opus_27r9Md_stack","media":"opus_27r9Md_media"};
|
|
9796
9815
|
|
|
9797
9816
|
// ../../components/Skeleton/Skeleton.tsx
|
|
9798
9817
|
import { jsx as jsx51, jsxs as jsxs43 } from "react/jsx-runtime";
|
|
@@ -9833,17 +9852,17 @@ function Skeleton({
|
|
|
9833
9852
|
}
|
|
9834
9853
|
|
|
9835
9854
|
// ../../components/Carousel/Carousel.tsx
|
|
9836
|
-
import { useCallback as useCallback12, useEffect as
|
|
9855
|
+
import { useCallback as useCallback12, useEffect as useEffect17, useMemo as useMemo7, useRef as useRef19, useState as useState22 } from "react";
|
|
9837
9856
|
import { faChevronLeft, faChevronRight } from "@fortawesome/free-solid-svg-icons";
|
|
9838
9857
|
import { FontAwesomeIcon as FontAwesomeIcon5 } from "@fortawesome/react-fontawesome";
|
|
9839
9858
|
|
|
9840
9859
|
// ../../components/Lightbox/Lightbox.tsx
|
|
9841
|
-
import { useCallback as useCallback11, useEffect as
|
|
9860
|
+
import { useCallback as useCallback11, useEffect as useEffect16, useRef as useRef18, useState as useState21 } from "react";
|
|
9842
9861
|
import { faXmark } from "@fortawesome/free-solid-svg-icons";
|
|
9843
9862
|
import { FontAwesomeIcon as FontAwesomeIcon4 } from "@fortawesome/react-fontawesome";
|
|
9844
9863
|
|
|
9845
9864
|
// ../../components/Lightbox/Lightbox.module.css
|
|
9846
|
-
var Lightbox_default = {"
|
|
9865
|
+
var Lightbox_default = {"panel":"opus_s7Rpyv_panel","frame":"opus_s7Rpyv_frame","lightboxPanelOut":"opus_s7Rpyv_lightboxPanelOut","lightboxFadeOut":"opus_s7Rpyv_lightboxFadeOut","lightbox":"opus_s7Rpyv_lightbox","lightboxPanelIn":"opus_s7Rpyv_lightboxPanelIn","trigger":"opus_s7Rpyv_trigger","image":"opus_s7Rpyv_image","overlay":"opus_s7Rpyv_overlay","lightboxFadeIn":"opus_s7Rpyv_lightboxFadeIn","close":"opus_s7Rpyv_close","closeIcon":"opus_s7Rpyv_closeIcon","caption":"opus_s7Rpyv_caption"};
|
|
9847
9866
|
|
|
9848
9867
|
// ../../components/Lightbox/Lightbox.tsx
|
|
9849
9868
|
import { jsx as jsx52, jsxs as jsxs44 } from "react/jsx-runtime";
|
|
@@ -9876,7 +9895,7 @@ function Lightbox({
|
|
|
9876
9895
|
initialFocusRef: closeRef,
|
|
9877
9896
|
restoreFocus: true
|
|
9878
9897
|
});
|
|
9879
|
-
|
|
9898
|
+
useEffect16(() => {
|
|
9880
9899
|
if (!isOpen || !dismissOnEscape) {
|
|
9881
9900
|
return;
|
|
9882
9901
|
}
|
|
@@ -9888,7 +9907,7 @@ function Lightbox({
|
|
|
9888
9907
|
window.addEventListener("keydown", handleKeyDown);
|
|
9889
9908
|
return () => window.removeEventListener("keydown", handleKeyDown);
|
|
9890
9909
|
}, [dismissOnEscape, isOpen, setOpen]);
|
|
9891
|
-
|
|
9910
|
+
useEffect16(() => {
|
|
9892
9911
|
if (isOpen) {
|
|
9893
9912
|
const timeout2 = window.setTimeout(() => setIsRendered(true), 0);
|
|
9894
9913
|
return () => window.clearTimeout(timeout2);
|
|
@@ -9958,7 +9977,7 @@ function Lightbox({
|
|
|
9958
9977
|
}
|
|
9959
9978
|
|
|
9960
9979
|
// ../../components/Carousel/Carousel.module.css
|
|
9961
|
-
var Carousel_default = {"
|
|
9980
|
+
var Carousel_default = {"empty":"opus_N4occJ_empty","caption":"opus_N4occJ_caption","carousel":"opus_N4occJ_carousel","slide":"opus_N4occJ_slide","image":"opus_N4occJ_image","track":"opus_N4occJ_track","footer":"opus_N4occJ_footer","nav":"opus_N4occJ_nav","navIcon":"opus_N4occJ_navIcon","pips":"opus_N4occJ_pips","stage":"opus_N4occJ_stage","pip":"opus_N4occJ_pip","visuallyHidden":"opus_N4occJ_visuallyHidden"};
|
|
9962
9981
|
|
|
9963
9982
|
// ../../components/Carousel/Carousel.tsx
|
|
9964
9983
|
import { Fragment as Fragment7, jsx as jsx53, jsxs as jsxs45 } from "react/jsx-runtime";
|
|
@@ -10015,7 +10034,7 @@ function Carousel({
|
|
|
10015
10034
|
const [transitionEnabled, setTransitionEnabled] = useState22(true);
|
|
10016
10035
|
const [isAnimating, setIsAnimating] = useState22(false);
|
|
10017
10036
|
const isJumpingRef = useRef19(false);
|
|
10018
|
-
|
|
10037
|
+
useEffect17(() => {
|
|
10019
10038
|
if (images.length === 0) {
|
|
10020
10039
|
return;
|
|
10021
10040
|
}
|
|
@@ -10210,7 +10229,7 @@ function Carousel({
|
|
|
10210
10229
|
}
|
|
10211
10230
|
|
|
10212
10231
|
// ../../components/ImageThumbnail/ImageThumbnail.module.css
|
|
10213
|
-
var ImageThumbnail_default = {"caption":"opus_Gp1o-9_caption","
|
|
10232
|
+
var ImageThumbnail_default = {"caption":"opus_Gp1o-9_caption","image":"opus_Gp1o-9_image","thumbnail":"opus_Gp1o-9_thumbnail","figure":"opus_Gp1o-9_figure"};
|
|
10214
10233
|
|
|
10215
10234
|
// ../../components/ImageThumbnail/ImageThumbnail.tsx
|
|
10216
10235
|
import { jsx as jsx54, jsxs as jsxs46 } from "react/jsx-runtime";
|
|
@@ -10279,13 +10298,13 @@ function ImageGallery({
|
|
|
10279
10298
|
}
|
|
10280
10299
|
|
|
10281
10300
|
// ../../components/ModelViewer/ModelViewer.tsx
|
|
10282
|
-
import { createElement, useCallback as useCallback13, useEffect as
|
|
10301
|
+
import { createElement, useCallback as useCallback13, useEffect as useEffect19, useRef as useRef21, useState as useState24 } from "react";
|
|
10283
10302
|
|
|
10284
10303
|
// ../../components/ModelViewer/FireBarrelModelViewer.tsx
|
|
10285
|
-
import { useEffect as
|
|
10304
|
+
import { useEffect as useEffect18, useRef as useRef20, useState as useState23 } from "react";
|
|
10286
10305
|
|
|
10287
10306
|
// ../../components/ModelViewer/ModelViewer.module.css
|
|
10288
|
-
var ModelViewer_default = {"model":"opus_f7gfHI_model","
|
|
10307
|
+
var ModelViewer_default = {"model":"opus_f7gfHI_model","caption":"opus_f7gfHI_caption","canvasHost":"opus_f7gfHI_canvasHost","stage":"opus_f7gfHI_stage","viewer":"opus_f7gfHI_viewer","loading":"opus_f7gfHI_loading"};
|
|
10289
10308
|
|
|
10290
10309
|
// ../../components/ModelViewer/FireBarrelModelViewer.tsx
|
|
10291
10310
|
import { jsx as jsx56, jsxs as jsxs47 } from "react/jsx-runtime";
|
|
@@ -10299,7 +10318,7 @@ function FireBarrelModelViewer({
|
|
|
10299
10318
|
const canvasHostRef = useRef20(null);
|
|
10300
10319
|
const [failed, setFailed] = useState23(false);
|
|
10301
10320
|
const [loading, setLoading] = useState23(true);
|
|
10302
|
-
|
|
10321
|
+
useEffect18(() => {
|
|
10303
10322
|
const canvasHost = canvasHostRef.current;
|
|
10304
10323
|
if (!canvasHost) {
|
|
10305
10324
|
return;
|
|
@@ -10443,7 +10462,7 @@ function StandardModelViewer({
|
|
|
10443
10462
|
const setViewerRef = useCallback13((node) => {
|
|
10444
10463
|
viewerRef.current = node;
|
|
10445
10464
|
}, []);
|
|
10446
|
-
|
|
10465
|
+
useEffect19(() => {
|
|
10447
10466
|
let mounted = true;
|
|
10448
10467
|
loadModelViewer().then(() => {
|
|
10449
10468
|
if (mounted) {
|
|
@@ -10458,7 +10477,7 @@ function StandardModelViewer({
|
|
|
10458
10477
|
mounted = false;
|
|
10459
10478
|
};
|
|
10460
10479
|
}, []);
|
|
10461
|
-
|
|
10480
|
+
useEffect19(() => {
|
|
10462
10481
|
if (!ready || failed || !asset.autoplay) {
|
|
10463
10482
|
return;
|
|
10464
10483
|
}
|
|
@@ -10498,12 +10517,12 @@ function StandardModelViewer({
|
|
|
10498
10517
|
}
|
|
10499
10518
|
|
|
10500
10519
|
// ../../components/ModelLightbox/ModelLightbox.tsx
|
|
10501
|
-
import { useCallback as useCallback14, useEffect as
|
|
10520
|
+
import { useCallback as useCallback14, useEffect as useEffect20, useRef as useRef22, useState as useState25 } from "react";
|
|
10502
10521
|
import { faXmark as faXmark2 } from "@fortawesome/free-solid-svg-icons";
|
|
10503
10522
|
import { FontAwesomeIcon as FontAwesomeIcon6 } from "@fortawesome/react-fontawesome";
|
|
10504
10523
|
|
|
10505
10524
|
// ../../components/ModelLightbox/ModelLightbox.module.css
|
|
10506
|
-
var ModelLightbox_default = {"
|
|
10525
|
+
var ModelLightbox_default = {"closeIcon":"opus_YYKGIB_closeIcon","frame":"opus_YYKGIB_frame","modelLightboxFadeIn":"opus_YYKGIB_modelLightboxFadeIn","modelLightboxFadeOut":"opus_YYKGIB_modelLightboxFadeOut","lightbox":"opus_YYKGIB_lightbox","modelLightboxPanelIn":"opus_YYKGIB_modelLightboxPanelIn","overlay":"opus_YYKGIB_overlay","trigger":"opus_YYKGIB_trigger","modelLightboxPanelOut":"opus_YYKGIB_modelLightboxPanelOut","close":"opus_YYKGIB_close"};
|
|
10507
10526
|
|
|
10508
10527
|
// ../../components/ModelLightbox/ModelLightbox.tsx
|
|
10509
10528
|
import { jsx as jsx58, jsxs as jsxs49 } from "react/jsx-runtime";
|
|
@@ -10533,7 +10552,7 @@ function ModelLightbox({
|
|
|
10533
10552
|
initialFocusRef: closeRef,
|
|
10534
10553
|
restoreFocus: true
|
|
10535
10554
|
});
|
|
10536
|
-
|
|
10555
|
+
useEffect20(() => {
|
|
10537
10556
|
if (!isOpen || !dismissOnEscape) {
|
|
10538
10557
|
return;
|
|
10539
10558
|
}
|
|
@@ -10545,7 +10564,7 @@ function ModelLightbox({
|
|
|
10545
10564
|
window.addEventListener("keydown", handleKeyDown);
|
|
10546
10565
|
return () => window.removeEventListener("keydown", handleKeyDown);
|
|
10547
10566
|
}, [dismissOnEscape, isOpen, setOpen]);
|
|
10548
|
-
|
|
10567
|
+
useEffect20(() => {
|
|
10549
10568
|
if (isOpen) {
|
|
10550
10569
|
const timeout2 = window.setTimeout(() => setIsRendered(true), 0);
|
|
10551
10570
|
return () => window.clearTimeout(timeout2);
|
|
@@ -10608,7 +10627,7 @@ function ModelLightbox({
|
|
|
10608
10627
|
}
|
|
10609
10628
|
|
|
10610
10629
|
// ../../components/ModelThumbnail/ModelThumbnail.module.css
|
|
10611
|
-
var ModelThumbnail_default = {"
|
|
10630
|
+
var ModelThumbnail_default = {"staticThumbnail":"opus_NkO9Yb_staticThumbnail","caption":"opus_NkO9Yb_caption","content":"opus_NkO9Yb_content"};
|
|
10612
10631
|
|
|
10613
10632
|
// ../../components/ModelThumbnail/ModelThumbnail.tsx
|
|
10614
10633
|
import { jsx as jsx59, jsxs as jsxs50 } from "react/jsx-runtime";
|
|
@@ -10643,7 +10662,7 @@ function ModelThumbnail({
|
|
|
10643
10662
|
}
|
|
10644
10663
|
|
|
10645
10664
|
// ../../components/ModelGallery/ModelGallery.module.css
|
|
10646
|
-
var ModelGallery_default = {"
|
|
10665
|
+
var ModelGallery_default = {"empty":"opus_8llAjm_empty","gallery":"opus_8llAjm_gallery"};
|
|
10647
10666
|
|
|
10648
10667
|
// ../../components/ModelGallery/ModelGallery.tsx
|
|
10649
10668
|
import { jsx as jsx60 } from "react/jsx-runtime";
|
|
@@ -10726,7 +10745,7 @@ function CatalogIcon({ iconName }) {
|
|
|
10726
10745
|
}
|
|
10727
10746
|
|
|
10728
10747
|
// ../../components/EmptyState/EmptyState.module.css
|
|
10729
|
-
var EmptyState_default = {"
|
|
10748
|
+
var EmptyState_default = {"root":"opus_1KckGY_root","actions":"opus_1KckGY_actions","copy":"opus_1KckGY_copy","iconWrap":"opus_1KckGY_iconWrap","description":"opus_1KckGY_description","title":"opus_1KckGY_title"};
|
|
10730
10749
|
|
|
10731
10750
|
// ../../components/EmptyState/EmptyState.tsx
|
|
10732
10751
|
import { jsx as jsx62, jsxs as jsxs51 } from "react/jsx-runtime";
|
|
@@ -10767,7 +10786,7 @@ import {
|
|
|
10767
10786
|
} from "react";
|
|
10768
10787
|
|
|
10769
10788
|
// ../../components/Sidebar/Sidebar.module.css
|
|
10770
|
-
var Sidebar_default = {"
|
|
10789
|
+
var Sidebar_default = {"sidebar":"opus_4Pogux_sidebar","footer":"opus_4Pogux_footer","groupChevronOpen":"opus_4Pogux_groupChevronOpen","groupItemsWrap":"opus_4Pogux_groupItemsWrap","headerInner":"opus_4Pogux_headerInner","groupLabel":"opus_4Pogux_groupLabel","layout":"opus_4Pogux_layout","body":"opus_4Pogux_body","groupToggle":"opus_4Pogux_groupToggle","groupItems":"opus_4Pogux_groupItems","link":"opus_4Pogux_link","groupHeader":"opus_4Pogux_groupHeader","groupChevron":"opus_4Pogux_groupChevron","visuallyHidden":"opus_4Pogux_visuallyHidden","main":"opus_4Pogux_main","header":"opus_4Pogux_header","nav":"opus_4Pogux_nav","linkActive":"opus_4Pogux_linkActive","group":"opus_4Pogux_group","headerTitle":"opus_4Pogux_headerTitle"};
|
|
10771
10790
|
|
|
10772
10791
|
// ../../components/Sidebar/Sidebar.tsx
|
|
10773
10792
|
import { Fragment as Fragment8, jsx as jsx63, jsxs as jsxs52 } from "react/jsx-runtime";
|
|
@@ -10873,7 +10892,7 @@ function SidebarLayout({ children, collapsed = false, main, side = "left" }) {
|
|
|
10873
10892
|
}
|
|
10874
10893
|
|
|
10875
10894
|
// ../../components/AccentColorPicker/AccentColorPicker.tsx
|
|
10876
|
-
import { useCallback as useCallback15, useEffect as
|
|
10895
|
+
import { useCallback as useCallback15, useEffect as useEffect21, useMemo as useMemo8, useState as useState27 } from "react";
|
|
10877
10896
|
|
|
10878
10897
|
// ../../components/AccentColorPicker/AccentColorPicker.module.css
|
|
10879
10898
|
var AccentColorPicker_default = {"swatch":"opus_scMnrW_swatch","swatches":"opus_scMnrW_swatches"};
|
|
@@ -10914,7 +10933,7 @@ function applyDocumentAccent(accent) {
|
|
|
10914
10933
|
}
|
|
10915
10934
|
function useAccentPreference() {
|
|
10916
10935
|
const [accent, setAccentState] = useState27(DEFAULT_ACCENT_COLOR);
|
|
10917
|
-
|
|
10936
|
+
useEffect21(() => {
|
|
10918
10937
|
const timeout = window.setTimeout(() => {
|
|
10919
10938
|
const stored = window.localStorage.getItem(ACCENT_STORAGE_KEY);
|
|
10920
10939
|
if (isAccentColor(stored)) {
|
|
@@ -10978,11 +10997,11 @@ function AccentColorPicker({
|
|
|
10978
10997
|
}
|
|
10979
10998
|
|
|
10980
10999
|
// ../../components/IconPicker/IconPicker.tsx
|
|
10981
|
-
import { useEffect as
|
|
11000
|
+
import { useEffect as useEffect22, useId as useId19, useMemo as useMemo9, useRef as useRef23, useState as useState28 } from "react";
|
|
10982
11001
|
import { FontAwesomeIcon as FontAwesomeIcon8 } from "@fortawesome/react-fontawesome";
|
|
10983
11002
|
|
|
10984
11003
|
// ../../components/IconPicker/IconPicker.module.css
|
|
10985
|
-
var IconPicker_default = {"
|
|
11004
|
+
var IconPicker_default = {"triggerIcon":"opus_4E-Oa1_triggerIcon","menu":"opus_4E-Oa1_menu","triggerLabel":"opus_4E-Oa1_triggerLabel","grid":"opus_4E-Oa1_grid","option":"opus_4E-Oa1_option","empty":"opus_4E-Oa1_empty","trigger":"opus_4E-Oa1_trigger","search":"opus_4E-Oa1_search","root":"opus_4E-Oa1_root","optionIcon":"opus_4E-Oa1_optionIcon","chevron":"opus_4E-Oa1_chevron"};
|
|
10986
11005
|
|
|
10987
11006
|
// ../../components/IconPicker/IconPicker.tsx
|
|
10988
11007
|
import { jsx as jsx65, jsxs as jsxs53 } from "react/jsx-runtime";
|
|
@@ -11002,7 +11021,7 @@ function IconPicker({
|
|
|
11002
11021
|
const listboxId = useId19();
|
|
11003
11022
|
const selected = getFontAwesomeIconOption(value);
|
|
11004
11023
|
const filteredIcons = useMemo9(() => filterFontAwesomeIcons(query), [query]);
|
|
11005
|
-
|
|
11024
|
+
useEffect22(() => {
|
|
11006
11025
|
if (!open) {
|
|
11007
11026
|
return;
|
|
11008
11027
|
}
|
|
@@ -11160,6 +11179,7 @@ export {
|
|
|
11160
11179
|
TopNavigationMenu,
|
|
11161
11180
|
TrendBadge,
|
|
11162
11181
|
accentColors,
|
|
11182
|
+
cartesianSpecializedVariants,
|
|
11163
11183
|
createAccentStyle,
|
|
11164
11184
|
defaultMegaMenuFeatured,
|
|
11165
11185
|
defaultMegaMenuMenus,
|
|
@@ -11167,12 +11187,14 @@ export {
|
|
|
11167
11187
|
defaultTopNavigationBarMenus,
|
|
11168
11188
|
defaultTopNavigationMegaMenus,
|
|
11169
11189
|
defaultTopNavigationMenus,
|
|
11190
|
+
demoSankeyLinks,
|
|
11170
11191
|
fieldInputAriaProps,
|
|
11171
11192
|
useAccentPreference,
|
|
11172
11193
|
useContextMenu,
|
|
11173
11194
|
useFieldShellAria,
|
|
11174
11195
|
useOpusTheme,
|
|
11175
11196
|
useToast,
|
|
11176
|
-
useTopNavigation
|
|
11197
|
+
useTopNavigation,
|
|
11198
|
+
worldMapRegionIds
|
|
11177
11199
|
};
|
|
11178
11200
|
//# sourceMappingURL=index.js.map
|