opus-react 0.3.1 → 0.3.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/index.cjs +695 -532
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +245 -20
- package/dist/index.css.map +1 -1
- package/dist/index.d.cts +21 -3
- package/dist/index.d.ts +21 -3
- package/dist/index.js +832 -671
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -628,6 +628,7 @@ __export(src_exports, {
|
|
|
628
628
|
UpcomingTasks: () => UpcomingTasks,
|
|
629
629
|
UserProfileWidget: () => UserProfileWidget,
|
|
630
630
|
VisuallyHidden: () => VisuallyHidden,
|
|
631
|
+
WelcomeMessage: () => WelcomeMessage,
|
|
631
632
|
accentColors: () => accentColors,
|
|
632
633
|
cartesianSpecializedVariants: () => cartesianSpecializedVariants,
|
|
633
634
|
countryCodeToFlag: () => countryCodeToFlag,
|
|
@@ -640,6 +641,7 @@ __export(src_exports, {
|
|
|
640
641
|
defaultTopNavigationMenus: () => defaultTopNavigationMenus,
|
|
641
642
|
demoSankeyLinks: () => demoSankeyLinks,
|
|
642
643
|
fieldInputAriaProps: () => fieldInputAriaProps,
|
|
644
|
+
getWelcomeGreeting: () => getWelcomeGreeting,
|
|
643
645
|
googleFonts: () => googleFonts,
|
|
644
646
|
phoneCountries: () => countries,
|
|
645
647
|
useAccentPreference: () => useAccentPreference,
|
|
@@ -660,7 +662,7 @@ __export(src_exports, {
|
|
|
660
662
|
module.exports = __toCommonJS(src_exports);
|
|
661
663
|
|
|
662
664
|
// ../../components/fields/shared/inputControlSizes.module.css
|
|
663
|
-
var inputControlSizes_default = {"
|
|
665
|
+
var inputControlSizes_default = {"sizeLg":"opus_8ChDQJ_sizeLg","sizeSm":"opus_8ChDQJ_sizeSm","sizeMd":"opus_8ChDQJ_sizeMd"};
|
|
664
666
|
|
|
665
667
|
// ../../components/fields/shared/inputControlSizes.ts
|
|
666
668
|
var inputControlSizeClassName = {
|
|
@@ -670,7 +672,7 @@ var inputControlSizeClassName = {
|
|
|
670
672
|
};
|
|
671
673
|
|
|
672
674
|
// ../../components/fields/Button/Button.module.css
|
|
673
|
-
var Button_default = {"
|
|
675
|
+
var Button_default = {"light":"opus_lZkc26_light","success":"opus_lZkc26_success","danger":"opus_lZkc26_danger","secondary":"opus_lZkc26_secondary","warning":"opus_lZkc26_warning","info":"opus_lZkc26_info","dark":"opus_lZkc26_dark","link":"opus_lZkc26_link","button":"opus_lZkc26_button","primary":"opus_lZkc26_primary"};
|
|
674
676
|
|
|
675
677
|
// ../../components/fields/Button/Button.tsx
|
|
676
678
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
@@ -712,7 +714,7 @@ var import_react = require("react");
|
|
|
712
714
|
var import_react_dom = require("react-dom");
|
|
713
715
|
|
|
714
716
|
// ../../components/Tooltip/Tooltip.module.css
|
|
715
|
-
var Tooltip_default = {"
|
|
717
|
+
var Tooltip_default = {"right":"opus_R70RbH_right","popup":"opus_R70RbH_popup","bottom":"opus_R70RbH_bottom","root":"opus_R70RbH_root","triggerWrap":"opus_R70RbH_triggerWrap","left":"opus_R70RbH_left","top":"opus_R70RbH_top","arrow":"opus_R70RbH_arrow","trigger":"opus_R70RbH_trigger"};
|
|
716
718
|
|
|
717
719
|
// ../../components/Tooltip/Tooltip.tsx
|
|
718
720
|
var import_jsx_runtime2 = require("react/jsx-runtime");
|
|
@@ -881,7 +883,7 @@ function Tooltip({
|
|
|
881
883
|
}
|
|
882
884
|
|
|
883
885
|
// ../../components/fields/FieldShell/FieldShell.module.css
|
|
884
|
-
var FieldShell_default = {"
|
|
886
|
+
var FieldShell_default = {"visuallyHidden":"opus_zNi12Z_visuallyHidden","labelLeft":"opus_zNi12Z_labelLeft","error":"opus_zNi12Z_error","stacked":"opus_zNi12Z_stacked","root":"opus_zNi12Z_root","stackedRight":"opus_zNi12Z_stackedRight","labelRight":"opus_zNi12Z_labelRight","compactControl":"opus_zNi12Z_compactControl","errorFlagged":"opus_zNi12Z_errorFlagged","control":"opus_zNi12Z_control","labelFlagged":"opus_zNi12Z_labelFlagged","flaggedCenter":"opus_zNi12Z_flaggedCenter","label":"opus_zNi12Z_label","stackedLeft":"opus_zNi12Z_stackedLeft","required":"opus_zNi12Z_required","flaggedStart":"opus_zNi12Z_flaggedStart","flagged":"opus_zNi12Z_flagged","fitContent":"opus_zNi12Z_fitContent","controlFlagged":"opus_zNi12Z_controlFlagged"};
|
|
885
887
|
|
|
886
888
|
// ../../components/fields/FieldShell/FieldShell.tsx
|
|
887
889
|
var import_jsx_runtime3 = require("react/jsx-runtime");
|
|
@@ -1006,10 +1008,10 @@ function FieldShell({
|
|
|
1006
1008
|
}
|
|
1007
1009
|
|
|
1008
1010
|
// ../../components/fields/CheckboxField/CheckboxField.module.css
|
|
1009
|
-
var CheckboxField_default = {"
|
|
1011
|
+
var CheckboxField_default = {"shell":"opus_g-5tlR_shell","toggle":"opus_g-5tlR_toggle","square":"opus_g-5tlR_square","round":"opus_g-5tlR_round","error":"opus_g-5tlR_error","nativeInput":"opus_g-5tlR_nativeInput","visual":"opus_g-5tlR_visual","toggleLabel":"opus_g-5tlR_toggleLabel"};
|
|
1010
1012
|
|
|
1011
1013
|
// ../../components/fields/shared/choiceControlSizes.module.css
|
|
1012
|
-
var choiceControlSizes_default = {"sizeSm":"opus_4er5Uc_sizeSm","
|
|
1014
|
+
var choiceControlSizes_default = {"sizeSm":"opus_4er5Uc_sizeSm","sizeMd":"opus_4er5Uc_sizeMd","sizeLg":"opus_4er5Uc_sizeLg"};
|
|
1013
1015
|
|
|
1014
1016
|
// ../../components/fields/shared/choiceControlSizes.ts
|
|
1015
1017
|
var choiceControlSizeClassName = {
|
|
@@ -1079,7 +1081,7 @@ function CheckboxField({
|
|
|
1079
1081
|
}
|
|
1080
1082
|
|
|
1081
1083
|
// ../../components/fields/ColorField/ColorField.module.css
|
|
1082
|
-
var ColorField_default = {"
|
|
1084
|
+
var ColorField_default = {"icon":"opus_Z7jeX4_icon","error":"opus_Z7jeX4_error","nativeInput":"opus_Z7jeX4_nativeInput","swatch":"opus_Z7jeX4_swatch","picker":"opus_Z7jeX4_picker","value":"opus_Z7jeX4_value"};
|
|
1083
1085
|
|
|
1084
1086
|
// ../../components/fields/ColorField/ColorField.tsx
|
|
1085
1087
|
var import_jsx_runtime5 = require("react/jsx-runtime");
|
|
@@ -1140,7 +1142,7 @@ function ColorField({
|
|
|
1140
1142
|
}
|
|
1141
1143
|
|
|
1142
1144
|
// ../../components/fields/DateField/DateField.module.css
|
|
1143
|
-
var DateField_default = {"
|
|
1145
|
+
var DateField_default = {"error":"opus_G3y11z_error","input":"opus_G3y11z_input"};
|
|
1144
1146
|
|
|
1145
1147
|
// ../../components/fields/DateField/DateField.tsx
|
|
1146
1148
|
var import_jsx_runtime6 = require("react/jsx-runtime");
|
|
@@ -1188,7 +1190,7 @@ function DateField({
|
|
|
1188
1190
|
}
|
|
1189
1191
|
|
|
1190
1192
|
// ../../components/fields/HiddenField/HiddenField.module.css
|
|
1191
|
-
var HiddenField_default = {"preview":"opus_kL1YXS_preview","
|
|
1193
|
+
var HiddenField_default = {"preview":"opus_kL1YXS_preview","note":"opus_kL1YXS_note","meta":"opus_kL1YXS_meta"};
|
|
1192
1194
|
|
|
1193
1195
|
// ../../components/fields/HiddenField/HiddenField.tsx
|
|
1194
1196
|
var import_jsx_runtime7 = require("react/jsx-runtime");
|
|
@@ -1237,7 +1239,7 @@ function HiddenField({
|
|
|
1237
1239
|
}
|
|
1238
1240
|
|
|
1239
1241
|
// ../../components/fields/FileField/FileField.module.css
|
|
1240
|
-
var FileField_default = {"
|
|
1242
|
+
var FileField_default = {"wrapper":"opus_aOsPA7_wrapper","dragging":"opus_aOsPA7_dragging","icon":"opus_aOsPA7_icon","title":"opus_aOsPA7_title","iconSvg":"opus_aOsPA7_iconSvg","hint":"opus_aOsPA7_hint","action":"opus_aOsPA7_action","drop":"opus_aOsPA7_drop","dropError":"opus_aOsPA7_dropError","input":"opus_aOsPA7_input","footnote":"opus_aOsPA7_footnote","content":"opus_aOsPA7_content"};
|
|
1241
1243
|
|
|
1242
1244
|
// ../../components/fields/FileField/FileField.tsx
|
|
1243
1245
|
var import_react3 = require("react");
|
|
@@ -1495,7 +1497,7 @@ async function cropCircularImage(image, viewportSize, outputSize, state, fileNam
|
|
|
1495
1497
|
}
|
|
1496
1498
|
|
|
1497
1499
|
// ../../components/fields/ImageCropUploadField/ImageCropUploadField.module.css
|
|
1498
|
-
var ImageCropUploadField_default = {"
|
|
1500
|
+
var ImageCropUploadField_default = {"zoomRow":"opus_itxBv9_zoomRow","previewTitle":"opus_itxBv9_previewTitle","dropHint":"opus_itxBv9_dropHint","dropIcon":"opus_itxBv9_dropIcon","previewCopy":"opus_itxBv9_previewCopy","root":"opus_itxBv9_root","editor":"opus_itxBv9_editor","viewportDragging":"opus_itxBv9_viewportDragging","dropContent":"opus_itxBv9_dropContent","instruction":"opus_itxBv9_instruction","actions":"opus_itxBv9_actions","previewFrame":"opus_itxBv9_previewFrame","changeLink":"opus_itxBv9_changeLink","hiddenInput":"opus_itxBv9_hiddenInput","viewportImage":"opus_itxBv9_viewportImage","dropTitle":"opus_itxBv9_dropTitle","zoomSlider":"opus_itxBv9_zoomSlider","dropAction":"opus_itxBv9_dropAction","zoomButton":"opus_itxBv9_zoomButton","drop":"opus_itxBv9_drop","viewport":"opus_itxBv9_viewport","previewImage":"opus_itxBv9_previewImage","previewRow":"opus_itxBv9_previewRow","previewHint":"opus_itxBv9_previewHint","zoomLabel":"opus_itxBv9_zoomLabel","previewCameraButton":"opus_itxBv9_previewCameraButton","dropIconSvg":"opus_itxBv9_dropIconSvg","viewportRing":"opus_itxBv9_viewportRing","dropError":"opus_itxBv9_dropError","dragging":"opus_itxBv9_dragging","previewCard":"opus_itxBv9_previewCard"};
|
|
1499
1501
|
|
|
1500
1502
|
// ../../components/fields/ImageCropUploadField/ImageCropUploadField.tsx
|
|
1501
1503
|
var import_jsx_runtime10 = require("react/jsx-runtime");
|
|
@@ -1919,7 +1921,7 @@ function ImageCropUploadField({
|
|
|
1919
1921
|
var import_react5 = require("react");
|
|
1920
1922
|
|
|
1921
1923
|
// ../../components/fields/NumberField/NumberField.module.css
|
|
1922
|
-
var NumberField_default = {"input":"opus_L272Dk_input","
|
|
1924
|
+
var NumberField_default = {"input":"opus_L272Dk_input","error":"opus_L272Dk_error","button":"opus_L272Dk_button","stepper":"opus_L272Dk_stepper"};
|
|
1923
1925
|
|
|
1924
1926
|
// ../../components/fields/numericUtils.ts
|
|
1925
1927
|
function decimalPlacesFromStep(step) {
|
|
@@ -2098,7 +2100,7 @@ function NumberField({
|
|
|
2098
2100
|
var import_react6 = require("react");
|
|
2099
2101
|
|
|
2100
2102
|
// ../../components/fields/RadioGroup/RadioGroup.module.css
|
|
2101
|
-
var RadioGroup_default = {"options":"opus_O-1nor_options","
|
|
2103
|
+
var RadioGroup_default = {"options":"opus_O-1nor_options","error":"opus_O-1nor_error","nativeInput":"opus_O-1nor_nativeInput","round":"opus_O-1nor_round","shell":"opus_O-1nor_shell","option":"opus_O-1nor_option","choice":"opus_O-1nor_choice","visual":"opus_O-1nor_visual","square":"opus_O-1nor_square"};
|
|
2102
2104
|
|
|
2103
2105
|
// ../../components/fields/RadioGroup/RadioGroup.tsx
|
|
2104
2106
|
var import_jsx_runtime12 = require("react/jsx-runtime");
|
|
@@ -2196,7 +2198,7 @@ function Radio({ children, error, name, shape, value, defaultChecked }) {
|
|
|
2196
2198
|
var import_react7 = require("react");
|
|
2197
2199
|
|
|
2198
2200
|
// ../../components/fields/ChipInputField/ChipInputField.module.css
|
|
2199
|
-
var ChipInputField_default = {"
|
|
2201
|
+
var ChipInputField_default = {"input":"opus_IOOYwh_input","chipLabel":"opus_IOOYwh_chipLabel","chip":"opus_IOOYwh_chip","shell":"opus_IOOYwh_shell","field":"opus_IOOYwh_field","disabled":"opus_IOOYwh_disabled","error":"opus_IOOYwh_error","remove":"opus_IOOYwh_remove","readOnly":"opus_IOOYwh_readOnly"};
|
|
2200
2202
|
|
|
2201
2203
|
// ../../components/fields/ChipInputField/ChipInputField.tsx
|
|
2202
2204
|
var import_jsx_runtime13 = require("react/jsx-runtime");
|
|
@@ -2333,7 +2335,7 @@ function ChipInput({
|
|
|
2333
2335
|
var ChipInputField = ChipInput;
|
|
2334
2336
|
|
|
2335
2337
|
// ../../components/fields/ChoiceChipsField/ChoiceChipsField.module.css
|
|
2336
|
-
var ChoiceChipsField_default = {"
|
|
2338
|
+
var ChoiceChipsField_default = {"indicator":"opus_X6xFEA_indicator","selected":"opus_X6xFEA_selected","disabled":"opus_X6xFEA_disabled","optionDisabled":"opus_X6xFEA_optionDisabled","shell":"opus_X6xFEA_shell","chip":"opus_X6xFEA_chip","root":"opus_X6xFEA_root"};
|
|
2337
2339
|
|
|
2338
2340
|
// ../../components/fields/ChoiceChipsField/ChoiceChipsField.tsx
|
|
2339
2341
|
var import_jsx_runtime14 = require("react/jsx-runtime");
|
|
@@ -2419,7 +2421,7 @@ function ChoiceChips({
|
|
|
2419
2421
|
var ChoiceChipsField = ChoiceChips;
|
|
2420
2422
|
|
|
2421
2423
|
// ../../components/fields/RangeField/RangeField.module.css
|
|
2422
|
-
var RangeField_default = {"value":"opus_iRHQuG_value","
|
|
2424
|
+
var RangeField_default = {"value":"opus_iRHQuG_value","footer":"opus_iRHQuG_footer","wrap":"opus_iRHQuG_wrap","fieldLabel":"opus_iRHQuG_fieldLabel","topRow":"opus_iRHQuG_topRow","slider":"opus_iRHQuG_slider","error":"opus_iRHQuG_error"};
|
|
2423
2425
|
|
|
2424
2426
|
// ../../components/fields/RangeField/RangeField.tsx
|
|
2425
2427
|
var import_jsx_runtime15 = require("react/jsx-runtime");
|
|
@@ -2492,7 +2494,7 @@ function RangeField({
|
|
|
2492
2494
|
}
|
|
2493
2495
|
|
|
2494
2496
|
// ../../components/fields/SelectField/SelectField.module.css
|
|
2495
|
-
var SelectField_default = {"
|
|
2497
|
+
var SelectField_default = {"wrap":"opus_m2ObG0_wrap","select":"opus_m2ObG0_select","error":"opus_m2ObG0_error"};
|
|
2496
2498
|
|
|
2497
2499
|
// ../../components/fields/SelectField/SelectField.tsx
|
|
2498
2500
|
var import_jsx_runtime16 = require("react/jsx-runtime");
|
|
@@ -2537,7 +2539,7 @@ function SelectField({
|
|
|
2537
2539
|
}
|
|
2538
2540
|
|
|
2539
2541
|
// ../../components/fields/SwitchField/SwitchField.module.css
|
|
2540
|
-
var SwitchField_default = {"
|
|
2542
|
+
var SwitchField_default = {"error":"opus_t9NLEA_error","shell":"opus_t9NLEA_shell","toggle":"opus_t9NLEA_toggle","track":"opus_t9NLEA_track"};
|
|
2541
2543
|
|
|
2542
2544
|
// ../../components/fields/SwitchField/SwitchField.tsx
|
|
2543
2545
|
var import_jsx_runtime17 = require("react/jsx-runtime");
|
|
@@ -2589,7 +2591,7 @@ function SwitchField({
|
|
|
2589
2591
|
var import_react8 = require("react");
|
|
2590
2592
|
|
|
2591
2593
|
// ../../components/fields/TextAreaField/TextAreaField.module.css
|
|
2592
|
-
var TextAreaField_default = {"
|
|
2594
|
+
var TextAreaField_default = {"field":"opus_FjhWmh_field","inputWrap":"opus_FjhWmh_inputWrap","error":"opus_FjhWmh_error","footerError":"opus_FjhWmh_footerError","withCount":"opus_FjhWmh_withCount","textarea":"opus_FjhWmh_textarea","inlineCount":"opus_FjhWmh_inlineCount","footer":"opus_FjhWmh_footer","externalCount":"opus_FjhWmh_externalCount"};
|
|
2593
2595
|
|
|
2594
2596
|
// ../../components/fields/TextAreaField/TextAreaField.tsx
|
|
2595
2597
|
var import_jsx_runtime18 = require("react/jsx-runtime");
|
|
@@ -2670,7 +2672,7 @@ var import_react_fontawesome2 = require("@fortawesome/react-fontawesome");
|
|
|
2670
2672
|
var import_free_solid_svg_icons2 = require("@fortawesome/free-solid-svg-icons");
|
|
2671
2673
|
|
|
2672
2674
|
// ../../components/fields/RichTextField/RichTextField.module.css
|
|
2673
|
-
var RichTextField_default = {"
|
|
2675
|
+
var RichTextField_default = {"toolbar":"opus_6HFqZH_toolbar","colorSwatch":"opus_6HFqZH_colorSwatch","colorInput":"opus_6HFqZH_colorInput","readOnly":"opus_6HFqZH_readOnly","field":"opus_6HFqZH_field","error":"opus_6HFqZH_error","modalField":"opus_6HFqZH_modalField","modalLabel":"opus_6HFqZH_modalLabel","modalInput":"opus_6HFqZH_modalInput","divider":"opus_6HFqZH_divider","toolbarButton":"opus_6HFqZH_toolbarButton","modalNumber":"opus_6HFqZH_modalNumber","modalDimensionField":"opus_6HFqZH_modalDimensionField","editorShell":"opus_6HFqZH_editorShell","modalTitle":"opus_6HFqZH_modalTitle","modalTimes":"opus_6HFqZH_modalTimes","toolbarIcon":"opus_6HFqZH_toolbarIcon","editor":"opus_6HFqZH_editor","modalConfirm":"opus_6HFqZH_modalConfirm","toolbarButtonActive":"opus_6HFqZH_toolbarButtonActive","modalCancel":"opus_6HFqZH_modalCancel","modal":"opus_6HFqZH_modal","modalOverlay":"opus_6HFqZH_modalOverlay","blockSelect":"opus_6HFqZH_blockSelect","modalActions":"opus_6HFqZH_modalActions","modalDimensions":"opus_6HFqZH_modalDimensions"};
|
|
2674
2676
|
|
|
2675
2677
|
// ../../components/fields/RichTextField/RichTextField.tsx
|
|
2676
2678
|
var import_jsx_runtime19 = require("react/jsx-runtime");
|
|
@@ -3319,7 +3321,7 @@ var import_react_fontawesome4 = require("@fortawesome/react-fontawesome");
|
|
|
3319
3321
|
var import_free_solid_svg_icons4 = require("@fortawesome/free-solid-svg-icons");
|
|
3320
3322
|
|
|
3321
3323
|
// ../../components/fields/shared/fieldControl.module.css
|
|
3322
|
-
var fieldControl_default = {"prefixIcon":"opus_1Q5xBh_prefixIcon","
|
|
3324
|
+
var fieldControl_default = {"prefixIcon":"opus_1Q5xBh_prefixIcon","error":"opus_1Q5xBh_error","chevron":"opus_1Q5xBh_chevron","triggerOpen":"opus_1Q5xBh_triggerOpen","searchWrapError":"opus_1Q5xBh_searchWrapError","groupLabel":"opus_1Q5xBh_groupLabel","panel":"opus_1Q5xBh_panel","placeholder":"opus_1Q5xBh_placeholder","searchWrap":"opus_1Q5xBh_searchWrap","passwordToggle":"opus_1Q5xBh_passwordToggle","trigger":"opus_1Q5xBh_trigger","passwordWrap":"opus_1Q5xBh_passwordWrap","prefixIconSvg":"opus_1Q5xBh_prefixIconSvg","endAdornment":"opus_1Q5xBh_endAdornment","passwordInput":"opus_1Q5xBh_passwordInput","passwordToggleSlot":"opus_1Q5xBh_passwordToggleSlot","searchInput":"opus_1Q5xBh_searchInput","search":"opus_1Q5xBh_search","option":"opus_1Q5xBh_option","actionButton":"opus_1Q5xBh_actionButton","triggerError":"opus_1Q5xBh_triggerError","input":"opus_1Q5xBh_input","panelFooter":"opus_1Q5xBh_panelFooter","list":"opus_1Q5xBh_list","actionButtonPrimary":"opus_1Q5xBh_actionButtonPrimary"};
|
|
3323
3325
|
|
|
3324
3326
|
// ../../components/fields/shared/PasswordToggle.tsx
|
|
3325
3327
|
var import_react_fontawesome3 = require("@fortawesome/react-fontawesome");
|
|
@@ -3428,7 +3430,7 @@ var import_react_fontawesome5 = require("@fortawesome/react-fontawesome");
|
|
|
3428
3430
|
var import_free_solid_svg_icons5 = require("@fortawesome/free-solid-svg-icons");
|
|
3429
3431
|
|
|
3430
3432
|
// ../../components/fields/ThemeToggleField/ThemeToggleField.module.css
|
|
3431
|
-
var ThemeToggleField_default = {"
|
|
3433
|
+
var ThemeToggleField_default = {"toggle":"opus_SwerMA_toggle","active":"opus_SwerMA_active","option":"opus_SwerMA_option","indicator":"opus_SwerMA_indicator"};
|
|
3432
3434
|
|
|
3433
3435
|
// ../../components/fields/ThemeToggleField/ThemeToggleField.tsx
|
|
3434
3436
|
var import_jsx_runtime22 = require("react/jsx-runtime");
|
|
@@ -3770,7 +3772,7 @@ function MultiSelectField({
|
|
|
3770
3772
|
var import_react13 = require("react");
|
|
3771
3773
|
|
|
3772
3774
|
// ../../components/fields/TransferListField/TransferListField.module.css
|
|
3773
|
-
var TransferListField_default = {"
|
|
3775
|
+
var TransferListField_default = {"columnHeader":"opus_NPBFZk_columnHeader","root":"opus_NPBFZk_root","column":"opus_NPBFZk_column","list":"opus_NPBFZk_list","itemActive":"opus_NPBFZk_itemActive","item":"opus_NPBFZk_item","controls":"opus_NPBFZk_controls","controlButton":"opus_NPBFZk_controlButton"};
|
|
3774
3776
|
|
|
3775
3777
|
// ../../components/fields/TransferListField/TransferListField.tsx
|
|
3776
3778
|
var import_jsx_runtime25 = require("react/jsx-runtime");
|
|
@@ -3892,7 +3894,7 @@ var import_react_fontawesome6 = require("@fortawesome/react-fontawesome");
|
|
|
3892
3894
|
var import_free_solid_svg_icons6 = require("@fortawesome/free-solid-svg-icons");
|
|
3893
3895
|
|
|
3894
3896
|
// ../../components/fields/PasswordStrengthField/PasswordStrengthField.module.css
|
|
3895
|
-
var PasswordStrengthField_default = {"
|
|
3897
|
+
var PasswordStrengthField_default = {"meterTrack":"opus_S1A372_meterTrack","requirementIcon":"opus_S1A372_requirementIcon","meterWrap":"opus_S1A372_meterWrap","meterLabel":"opus_S1A372_meterLabel","requirementMet":"opus_S1A372_requirementMet","meterFill":"opus_S1A372_meterFill","requirements":"opus_S1A372_requirements","root":"opus_S1A372_root","requirement":"opus_S1A372_requirement"};
|
|
3896
3898
|
|
|
3897
3899
|
// ../../components/fields/PasswordStrengthField/PasswordStrengthField.tsx
|
|
3898
3900
|
var import_jsx_runtime26 = require("react/jsx-runtime");
|
|
@@ -4001,7 +4003,7 @@ function PasswordStrengthField({
|
|
|
4001
4003
|
}
|
|
4002
4004
|
|
|
4003
4005
|
// ../../components/fields/RatingField/RatingField.module.css
|
|
4004
|
-
var RatingField_default = {"
|
|
4006
|
+
var RatingField_default = {"numeric":"opus_0tdNUz_numeric","symbol":"opus_0tdNUz_symbol","symbolActive":"opus_0tdNUz_symbolActive","root":"opus_0tdNUz_root","numericActive":"opus_0tdNUz_numericActive"};
|
|
4005
4007
|
|
|
4006
4008
|
// ../../components/fields/RatingField/RatingField.tsx
|
|
4007
4009
|
var import_jsx_runtime27 = require("react/jsx-runtime");
|
|
@@ -4077,7 +4079,7 @@ function RatingField({
|
|
|
4077
4079
|
}
|
|
4078
4080
|
|
|
4079
4081
|
// ../../components/fields/SegmentedControlField/SegmentedControlField.module.css
|
|
4080
|
-
var SegmentedControlField_default = {"
|
|
4082
|
+
var SegmentedControlField_default = {"segmentActive":"opus_ZHwfiN_segmentActive","root":"opus_ZHwfiN_root","segment":"opus_ZHwfiN_segment"};
|
|
4081
4083
|
|
|
4082
4084
|
// ../../components/fields/SegmentedControlField/SegmentedControlField.tsx
|
|
4083
4085
|
var import_jsx_runtime28 = require("react/jsx-runtime");
|
|
@@ -4133,7 +4135,7 @@ function SegmentedControlField({
|
|
|
4133
4135
|
var import_react15 = require("react");
|
|
4134
4136
|
|
|
4135
4137
|
// ../../components/fields/SliderRangeField/SliderRangeField.module.css
|
|
4136
|
-
var SliderRangeField_default = {"root":"opus_k3d0sS_root","
|
|
4138
|
+
var SliderRangeField_default = {"root":"opus_k3d0sS_root","track":"opus_k3d0sS_track","footer":"opus_k3d0sS_footer","slider":"opus_k3d0sS_slider","trackWrap":"opus_k3d0sS_trackWrap","value":"opus_k3d0sS_value","header":"opus_k3d0sS_header"};
|
|
4137
4139
|
|
|
4138
4140
|
// ../../components/fields/SliderRangeField/SliderRangeField.tsx
|
|
4139
4141
|
var import_jsx_runtime29 = require("react/jsx-runtime");
|
|
@@ -4231,7 +4233,7 @@ function SliderRangeField({
|
|
|
4231
4233
|
var import_react16 = require("react");
|
|
4232
4234
|
|
|
4233
4235
|
// ../../components/fields/PhoneNumberField/PhoneNumberField.module.css
|
|
4234
|
-
var PhoneNumberField_default = {"
|
|
4236
|
+
var PhoneNumberField_default = {"countryWrap":"opus_WC4gnN_countryWrap","country":"opus_WC4gnN_country","flag":"opus_WC4gnN_flag","panel":"opus_WC4gnN_panel","countryValue":"opus_WC4gnN_countryValue","code":"opus_WC4gnN_code","optionDial":"opus_WC4gnN_optionDial","optionActive":"opus_WC4gnN_optionActive","root":"opus_WC4gnN_root","dial":"opus_WC4gnN_dial","optionLabel":"opus_WC4gnN_optionLabel","option":"opus_WC4gnN_option","empty":"opus_WC4gnN_empty","chevron":"opus_WC4gnN_chevron"};
|
|
4235
4237
|
|
|
4236
4238
|
// ../../components/fields/PhoneNumberField/countries.ts
|
|
4237
4239
|
function countryCodeToFlag(code) {
|
|
@@ -4636,7 +4638,7 @@ function PhoneNumberField({
|
|
|
4636
4638
|
var import_react17 = require("react");
|
|
4637
4639
|
|
|
4638
4640
|
// ../../components/fields/CountryPickerField/CountryPickerField.module.css
|
|
4639
|
-
var CountryPickerField_default = {"
|
|
4641
|
+
var CountryPickerField_default = {"empty":"opus_O7qqfR_empty","triggerValue":"opus_O7qqfR_triggerValue","optionCode":"opus_O7qqfR_optionCode","option":"opus_O7qqfR_option","flag":"opus_O7qqfR_flag","root":"opus_O7qqfR_root","optionLabel":"opus_O7qqfR_optionLabel","optionActive":"opus_O7qqfR_optionActive"};
|
|
4640
4642
|
|
|
4641
4643
|
// ../../components/fields/CountryPickerField/CountryPickerField.tsx
|
|
4642
4644
|
var import_jsx_runtime31 = require("react/jsx-runtime");
|
|
@@ -4926,7 +4928,7 @@ function TreeSelectField({
|
|
|
4926
4928
|
var import_react19 = require("react");
|
|
4927
4929
|
|
|
4928
4930
|
// ../../components/fields/CascaderField/CascaderField.module.css
|
|
4929
|
-
var CascaderField_default = {"
|
|
4931
|
+
var CascaderField_default = {"column":"opus_1Fg59A_column","option":"opus_1Fg59A_option","root":"opus_1Fg59A_root","panel":"opus_1Fg59A_panel","optionActive":"opus_1Fg59A_optionActive"};
|
|
4930
4932
|
|
|
4931
4933
|
// ../../components/fields/CascaderField/CascaderField.tsx
|
|
4932
4934
|
var import_jsx_runtime33 = require("react/jsx-runtime");
|
|
@@ -5141,7 +5143,7 @@ function OpusThemeProvider({
|
|
|
5141
5143
|
}
|
|
5142
5144
|
|
|
5143
5145
|
// ../../components/Alert/Alert.module.css
|
|
5144
|
-
var Alert_default = {"
|
|
5146
|
+
var Alert_default = {"iconFlagged":"opus_eh3eeT_iconFlagged","content":"opus_eh3eeT_content","description":"opus_eh3eeT_description","icon":"opus_eh3eeT_icon","iconMark":"opus_eh3eeT_iconMark","title":"opus_eh3eeT_title","dismiss":"opus_eh3eeT_dismiss","dismissIcon":"opus_eh3eeT_dismissIcon","alert":"opus_eh3eeT_alert","iconSvg":"opus_eh3eeT_iconSvg"};
|
|
5145
5147
|
|
|
5146
5148
|
// ../../components/Alert/Alert.tsx
|
|
5147
5149
|
var import_jsx_runtime36 = require("react/jsx-runtime");
|
|
@@ -5336,7 +5338,7 @@ function useOverlayAccessibility(active, containerRef, {
|
|
|
5336
5338
|
}
|
|
5337
5339
|
|
|
5338
5340
|
// ../../components/Dialog/Dialog.module.css
|
|
5339
|
-
var Dialog_default = {"
|
|
5341
|
+
var Dialog_default = {"dialog":"opus_sz-ZGI_dialog","dialogOut":"opus_sz-ZGI_dialogOut","description":"opus_sz-ZGI_description","title":"opus_sz-ZGI_title","body":"opus_sz-ZGI_body","backdrop":"opus_sz-ZGI_backdrop","backdropOut":"opus_sz-ZGI_backdropOut","icon":"opus_sz-ZGI_icon","iconMark":"opus_sz-ZGI_iconMark","backdropIn":"opus_sz-ZGI_backdropIn","iconSvg":"opus_sz-ZGI_iconSvg","content":"opus_sz-ZGI_content","actions":"opus_sz-ZGI_actions","visuallyHidden":"opus_sz-ZGI_visuallyHidden","dialogIn":"opus_sz-ZGI_dialogIn"};
|
|
5340
5342
|
|
|
5341
5343
|
// ../../components/Dialog/Dialog.tsx
|
|
5342
5344
|
var import_jsx_runtime38 = require("react/jsx-runtime");
|
|
@@ -5467,7 +5469,7 @@ function Dialog({
|
|
|
5467
5469
|
var import_react24 = require("react");
|
|
5468
5470
|
|
|
5469
5471
|
// ../../components/Modal/Modal.module.css
|
|
5470
|
-
var Modal_default = {"modalPanelOut":"opus_LQbzGS_modalPanelOut","
|
|
5472
|
+
var Modal_default = {"modalPanelOut":"opus_LQbzGS_modalPanelOut","footer":"opus_LQbzGS_footer","close":"opus_LQbzGS_close","backdrop":"opus_LQbzGS_backdrop","modal":"opus_LQbzGS_modal","description":"opus_LQbzGS_description","closeIcon":"opus_LQbzGS_closeIcon","modalBackdropIn":"opus_LQbzGS_modalBackdropIn","header":"opus_LQbzGS_header","title":"opus_LQbzGS_title","modalBackdropOut":"opus_LQbzGS_modalBackdropOut","modalPanelIn":"opus_LQbzGS_modalPanelIn","heading":"opus_LQbzGS_heading","body":"opus_LQbzGS_body","footerContent":"opus_LQbzGS_footerContent","actions":"opus_LQbzGS_actions"};
|
|
5471
5473
|
|
|
5472
5474
|
// ../../components/Modal/Modal.tsx
|
|
5473
5475
|
var import_jsx_runtime39 = require("react/jsx-runtime");
|
|
@@ -5598,7 +5600,7 @@ function ModalDefaultActions({ onClose }) {
|
|
|
5598
5600
|
var import_react25 = require("react");
|
|
5599
5601
|
|
|
5600
5602
|
// ../../components/Drawer/Drawer.module.css
|
|
5601
|
-
var Drawer_default = {"
|
|
5603
|
+
var Drawer_default = {"footer":"opus_0CaGbZ_footer","drawerOutLeft":"opus_0CaGbZ_drawerOutLeft","close":"opus_0CaGbZ_close","backdrop":"opus_0CaGbZ_backdrop","drawerInRight":"opus_0CaGbZ_drawerInRight","title":"opus_0CaGbZ_title","closeIcon":"opus_0CaGbZ_closeIcon","drawerInBottom":"opus_0CaGbZ_drawerInBottom","footerContent":"opus_0CaGbZ_footerContent","drawerBackdropOut":"opus_0CaGbZ_drawerBackdropOut","drawer":"opus_0CaGbZ_drawer","description":"opus_0CaGbZ_description","drawerBackdropIn":"opus_0CaGbZ_drawerBackdropIn","drawerInLeft":"opus_0CaGbZ_drawerInLeft","drawerOutRight":"opus_0CaGbZ_drawerOutRight","heading":"opus_0CaGbZ_heading","body":"opus_0CaGbZ_body","header":"opus_0CaGbZ_header","drawerOutTop":"opus_0CaGbZ_drawerOutTop","drawerOutBottom":"opus_0CaGbZ_drawerOutBottom","actions":"opus_0CaGbZ_actions","drawerInTop":"opus_0CaGbZ_drawerInTop"};
|
|
5602
5604
|
|
|
5603
5605
|
// ../../components/Drawer/Drawer.tsx
|
|
5604
5606
|
var import_jsx_runtime40 = require("react/jsx-runtime");
|
|
@@ -5730,7 +5732,7 @@ function DrawerDefaultActions({ onClose }) {
|
|
|
5730
5732
|
var import_react26 = require("react");
|
|
5731
5733
|
|
|
5732
5734
|
// ../../components/Popover/Popover.module.css
|
|
5733
|
-
var Popover_default = {"
|
|
5735
|
+
var Popover_default = {"root":"opus_yq4OU0_root","popoverIn":"opus_yq4OU0_popoverIn","panel":"opus_yq4OU0_panel","content":"opus_yq4OU0_content","title":"opus_yq4OU0_title","arrow":"opus_yq4OU0_arrow"};
|
|
5734
5736
|
|
|
5735
5737
|
// ../../components/Popover/Popover.tsx
|
|
5736
5738
|
var import_jsx_runtime41 = require("react/jsx-runtime");
|
|
@@ -5904,7 +5906,7 @@ function resolveMegaMenuPortalStyle(root, inTopNavigation) {
|
|
|
5904
5906
|
}
|
|
5905
5907
|
|
|
5906
5908
|
// ../../components/MegaMenu/MegaMenu.module.css
|
|
5907
|
-
var MegaMenu_default = {"
|
|
5909
|
+
var MegaMenu_default = {"eyebrow":"opus_Y_ikQV_eyebrow","itemIcon":"opus_Y_ikQV_itemIcon","item":"opus_Y_ikQV_item","megaMenuIn":"opus_Y_ikQV_megaMenuIn","root":"opus_Y_ikQV_root","items":"opus_Y_ikQV_items","trigger":"opus_Y_ikQV_trigger","panel":"opus_Y_ikQV_panel","menuBar":"opus_Y_ikQV_menuBar","featured":"opus_Y_ikQV_featured","featuredAction":"opus_Y_ikQV_featuredAction","section":"opus_Y_ikQV_section","itemCopy":"opus_Y_ikQV_itemCopy","megaMenuOut":"opus_Y_ikQV_megaMenuOut","sections":"opus_Y_ikQV_sections","panelContent":"opus_Y_ikQV_panelContent"};
|
|
5908
5910
|
|
|
5909
5911
|
// ../../components/MegaMenu/MegaMenu.tsx
|
|
5910
5912
|
var import_jsx_runtime42 = require("react/jsx-runtime");
|
|
@@ -6346,7 +6348,7 @@ function MegaMenu({
|
|
|
6346
6348
|
}
|
|
6347
6349
|
|
|
6348
6350
|
// ../../components/TopNavigation/TopNavigation.module.css
|
|
6349
|
-
var TopNavigation_default = {"
|
|
6351
|
+
var TopNavigation_default = {"nav":"opus_OIomR6_nav","menuSlot":"opus_OIomR6_menuSlot","menuSlotMega":"opus_OIomR6_menuSlotMega","menuTrigger":"opus_OIomR6_menuTrigger","bar":"opus_OIomR6_bar"};
|
|
6350
6352
|
|
|
6351
6353
|
// ../../components/TopNavigation/TopNavigation.tsx
|
|
6352
6354
|
var import_jsx_runtime43 = require("react/jsx-runtime");
|
|
@@ -6703,7 +6705,7 @@ function handleMenuKeyDown(event, menu, onEscape) {
|
|
|
6703
6705
|
}
|
|
6704
6706
|
|
|
6705
6707
|
// ../../components/DropdownMenu/DropdownMenu.module.css
|
|
6706
|
-
var DropdownMenu_default = {"
|
|
6708
|
+
var DropdownMenu_default = {"menu":"opus_UUVDVQ_menu","dropdownOut":"opus_UUVDVQ_dropdownOut","icon":"opus_UUVDVQ_icon","item":"opus_UUVDVQ_item","root":"opus_UUVDVQ_root","dropdownIn":"opus_UUVDVQ_dropdownIn","label":"opus_UUVDVQ_label","shortcut":"opus_UUVDVQ_shortcut"};
|
|
6707
6709
|
|
|
6708
6710
|
// ../../components/DropdownMenu/DropdownMenu.tsx
|
|
6709
6711
|
var import_jsx_runtime44 = require("react/jsx-runtime");
|
|
@@ -7034,7 +7036,7 @@ var import_react31 = require("react");
|
|
|
7034
7036
|
var import_react_dom5 = require("react-dom");
|
|
7035
7037
|
|
|
7036
7038
|
// ../../components/ContextMenu/ContextMenu.module.css
|
|
7037
|
-
var ContextMenu_default = {"
|
|
7039
|
+
var ContextMenu_default = {"layer":"opus_nMhhae_layer","target":"opus_nMhhae_target","menu":"opus_nMhhae_menu","contextMenuBackdropIn":"opus_nMhhae_contextMenuBackdropIn","contextMenuIn":"opus_nMhhae_contextMenuIn","backdrop":"opus_nMhhae_backdrop"};
|
|
7038
7040
|
|
|
7039
7041
|
// ../../components/ContextMenu/ContextMenuProvider.tsx
|
|
7040
7042
|
var import_jsx_runtime45 = require("react/jsx-runtime");
|
|
@@ -7341,7 +7343,7 @@ var import_free_solid_svg_icons7 = require("@fortawesome/free-solid-svg-icons");
|
|
|
7341
7343
|
var import_react_fontawesome7 = require("@fortawesome/react-fontawesome");
|
|
7342
7344
|
|
|
7343
7345
|
// ../../components/CommandPalette/CommandPalette.module.css
|
|
7344
|
-
var CommandPalette_default = {"
|
|
7346
|
+
var CommandPalette_default = {"group":"opus_k1ypuy_group","commandPalettePanelIn":"opus_k1ypuy_commandPalettePanelIn","panel":"opus_k1ypuy_panel","searchIcon":"opus_k1ypuy_searchIcon","footer":"opus_k1ypuy_footer","visuallyHidden":"opus_k1ypuy_visuallyHidden","itemLabel":"opus_k1ypuy_itemLabel","backdrop":"opus_k1ypuy_backdrop","results":"opus_k1ypuy_results","commandPalettePanelOut":"opus_k1ypuy_commandPalettePanelOut","groupLabel":"opus_k1ypuy_groupLabel","searchInput":"opus_k1ypuy_searchInput","shortcut":"opus_k1ypuy_shortcut","empty":"opus_k1ypuy_empty","searchWrap":"opus_k1ypuy_searchWrap","searchIconSvg":"opus_k1ypuy_searchIconSvg","commandPaletteBackdropOut":"opus_k1ypuy_commandPaletteBackdropOut","item":"opus_k1ypuy_item","commandPaletteBackdropIn":"opus_k1ypuy_commandPaletteBackdropIn","itemMain":"opus_k1ypuy_itemMain","itemDescription":"opus_k1ypuy_itemDescription"};
|
|
7345
7347
|
|
|
7346
7348
|
// ../../components/CommandPalette/CommandPalette.tsx
|
|
7347
7349
|
var import_jsx_runtime46 = require("react/jsx-runtime");
|
|
@@ -7677,7 +7679,7 @@ function AccordionGroup({
|
|
|
7677
7679
|
}
|
|
7678
7680
|
|
|
7679
7681
|
// ../../components/Accordion/Accordion.module.css
|
|
7680
|
-
var Accordion_default = {"trigger":"opus_WNZQMV_trigger","
|
|
7682
|
+
var Accordion_default = {"trigger":"opus_WNZQMV_trigger","chevron":"opus_WNZQMV_chevron","panelInner":"opus_WNZQMV_panelInner","panel":"opus_WNZQMV_panel","item":"opus_WNZQMV_item","standalone":"opus_WNZQMV_standalone","triggerLabel":"opus_WNZQMV_triggerLabel","content":"opus_WNZQMV_content"};
|
|
7681
7683
|
|
|
7682
7684
|
// ../../components/Accordion/Accordion.tsx
|
|
7683
7685
|
var import_jsx_runtime48 = require("react/jsx-runtime");
|
|
@@ -7764,7 +7766,7 @@ function Accordion({
|
|
|
7764
7766
|
var import_react35 = require("react");
|
|
7765
7767
|
|
|
7766
7768
|
// ../../components/ShowMore/ShowMore.module.css
|
|
7767
|
-
var ShowMore_default = {"
|
|
7769
|
+
var ShowMore_default = {"chevron":"opus_dSk-ve_chevron","toggleLabel":"opus_dSk-ve_toggleLabel","inner":"opus_dSk-ve_inner","toggle":"opus_dSk-ve_toggle","root":"opus_dSk-ve_root","contentShell":"opus_dSk-ve_contentShell","showMoreLabelIn":"opus_dSk-ve_showMoreLabelIn"};
|
|
7768
7770
|
|
|
7769
7771
|
// ../../components/ShowMore/ShowMore.tsx
|
|
7770
7772
|
var import_jsx_runtime49 = require("react/jsx-runtime");
|
|
@@ -7868,7 +7870,7 @@ function ShowMore({
|
|
|
7868
7870
|
}
|
|
7869
7871
|
|
|
7870
7872
|
// ../../components/Toast/Toast.module.css
|
|
7871
|
-
var Toast_default = {"
|
|
7873
|
+
var Toast_default = {"main":"opus_cklQPW_main","progressTrack":"opus_cklQPW_progressTrack","iconSvg":"opus_cklQPW_iconSvg","toast":"opus_cklQPW_toast","body":"opus_cklQPW_body","icon":"opus_cklQPW_icon","title":"opus_cklQPW_title","dismissIcon":"opus_cklQPW_dismissIcon","description":"opus_cklQPW_description","iconMark":"opus_cklQPW_iconMark","content":"opus_cklQPW_content","toastProgress":"opus_cklQPW_toastProgress","progressBar":"opus_cklQPW_progressBar","dismiss":"opus_cklQPW_dismiss"};
|
|
7872
7874
|
|
|
7873
7875
|
// ../../components/Toast/Toast.tsx
|
|
7874
7876
|
var import_jsx_runtime50 = require("react/jsx-runtime");
|
|
@@ -7940,7 +7942,7 @@ function Toast({
|
|
|
7940
7942
|
var import_react36 = require("react");
|
|
7941
7943
|
|
|
7942
7944
|
// ../../components/ToastProvider/ToastProvider.module.css
|
|
7943
|
-
var ToastProvider_default = {"
|
|
7945
|
+
var ToastProvider_default = {"viewportLeft":"opus_z3pSp7_viewportLeft","itemBackdrop":"opus_z3pSp7_itemBackdrop","viewportTop":"opus_z3pSp7_viewportTop","item":"opus_z3pSp7_item","viewportBottom":"opus_z3pSp7_viewportBottom","viewportRight":"opus_z3pSp7_viewportRight","viewport":"opus_z3pSp7_viewport","itemClip":"opus_z3pSp7_itemClip","itemSurface":"opus_z3pSp7_itemSurface"};
|
|
7944
7946
|
|
|
7945
7947
|
// ../../components/ToastProvider/ToastProvider.tsx
|
|
7946
7948
|
var import_jsx_runtime51 = require("react/jsx-runtime");
|
|
@@ -8310,7 +8312,7 @@ function ToastProvider({
|
|
|
8310
8312
|
var import_react37 = require("react");
|
|
8311
8313
|
|
|
8312
8314
|
// ../../components/Tabs/Tabs.module.css
|
|
8313
|
-
var Tabs_default = {"root":"opus_ADVJmy_root","tab":"opus_ADVJmy_tab","
|
|
8315
|
+
var Tabs_default = {"root":"opus_ADVJmy_root","tab":"opus_ADVJmy_tab","panel":"opus_ADVJmy_panel","list":"opus_ADVJmy_list"};
|
|
8314
8316
|
|
|
8315
8317
|
// ../../components/Tabs/Tabs.tsx
|
|
8316
8318
|
var import_jsx_runtime52 = require("react/jsx-runtime");
|
|
@@ -8424,7 +8426,7 @@ function Tabs({
|
|
|
8424
8426
|
}
|
|
8425
8427
|
|
|
8426
8428
|
// ../../components/Card/Card.module.css
|
|
8427
|
-
var Card_default = {"
|
|
8429
|
+
var Card_default = {"heading":"opus_qWo1sP_heading","body":"opus_qWo1sP_body","media":"opus_qWo1sP_media","card":"opus_qWo1sP_card","actions":"opus_qWo1sP_actions","title":"opus_qWo1sP_title","footerContent":"opus_qWo1sP_footerContent","footer":"opus_qWo1sP_footer","content":"opus_qWo1sP_content","eyebrow":"opus_qWo1sP_eyebrow"};
|
|
8428
8430
|
|
|
8429
8431
|
// ../../components/Card/Card.tsx
|
|
8430
8432
|
var import_jsx_runtime53 = require("react/jsx-runtime");
|
|
@@ -8455,7 +8457,7 @@ function Card({
|
|
|
8455
8457
|
}
|
|
8456
8458
|
|
|
8457
8459
|
// ../../components/dashboardMetricCardLayout/dashboardMetricCardLayout.module.css
|
|
8458
|
-
var dashboardMetricCardLayout_default = {"
|
|
8460
|
+
var dashboardMetricCardLayout_default = {"iconPlaceholder":"opus_6_sptY_iconPlaceholder","metaSlot":"opus_6_sptY_metaSlot","label":"opus_6_sptY_label","header":"opus_6_sptY_header","metaPlaceholder":"opus_6_sptY_metaPlaceholder","value":"opus_6_sptY_value","iconSlot":"opus_6_sptY_iconSlot","shell":"opus_6_sptY_shell"};
|
|
8459
8461
|
|
|
8460
8462
|
// ../../components/StatCard/StatCard.module.css
|
|
8461
8463
|
var StatCard_default = {"change":"opus_KIXsQY_change"};
|
|
@@ -8485,7 +8487,7 @@ function StatCard({
|
|
|
8485
8487
|
}
|
|
8486
8488
|
|
|
8487
8489
|
// ../../components/Gauge/Gauge.module.css
|
|
8488
|
-
var Gauge_default = {"
|
|
8490
|
+
var Gauge_default = {"footer":"opus_t6IuQe_footer","footerValue":"opus_t6IuQe_footerValue","gaugeValue":"opus_t6IuQe_gaugeValue","gaugeTrack":"opus_t6IuQe_gaugeTrack","subtitle":"opus_t6IuQe_subtitle","footerTrend":"opus_t6IuQe_footerTrend","footerLabel":"opus_t6IuQe_footerLabel","footerItem":"opus_t6IuQe_footerItem","gaugeSlot":"opus_t6IuQe_gaugeSlot","summary":"opus_t6IuQe_summary","gaugeSvg":"opus_t6IuQe_gaugeSvg","gauge":"opus_t6IuQe_gauge","change":"opus_t6IuQe_change","heading":"opus_t6IuQe_heading","widget":"opus_t6IuQe_widget","header":"opus_t6IuQe_header","title":"opus_t6IuQe_title","body":"opus_t6IuQe_body","gaugeCenter":"opus_t6IuQe_gaugeCenter"};
|
|
8489
8491
|
|
|
8490
8492
|
// ../../components/Gauge/Gauge.tsx
|
|
8491
8493
|
var import_jsx_runtime55 = require("react/jsx-runtime");
|
|
@@ -8619,7 +8621,7 @@ function Gauge({
|
|
|
8619
8621
|
var import_react38 = require("react");
|
|
8620
8622
|
|
|
8621
8623
|
// ../../components/Sparkline/Sparkline.module.css
|
|
8622
|
-
var Sparkline_default = {"
|
|
8624
|
+
var Sparkline_default = {"endPoint":"opus_xXtB87_endPoint","svg":"opus_xXtB87_svg","sparkline":"opus_xXtB87_sparkline","line":"opus_xXtB87_line","label":"opus_xXtB87_label","chart":"opus_xXtB87_chart","area":"opus_xXtB87_area"};
|
|
8623
8625
|
|
|
8624
8626
|
// ../../components/Sparkline/Sparkline.tsx
|
|
8625
8627
|
var import_jsx_runtime56 = require("react/jsx-runtime");
|
|
@@ -8686,7 +8688,7 @@ function Sparkline({
|
|
|
8686
8688
|
}
|
|
8687
8689
|
|
|
8688
8690
|
// ../../components/ProgressRing/ProgressRing.module.css
|
|
8689
|
-
var ProgressRing_default = {"
|
|
8691
|
+
var ProgressRing_default = {"center":"opus_YxX6Hh_center","value":"opus_YxX6Hh_value","svg":"opus_YxX6Hh_svg","track":"opus_YxX6Hh_track","ring":"opus_YxX6Hh_ring"};
|
|
8690
8692
|
|
|
8691
8693
|
// ../../components/ProgressRing/ProgressRing.tsx
|
|
8692
8694
|
var import_jsx_runtime57 = require("react/jsx-runtime");
|
|
@@ -8719,7 +8721,7 @@ function ProgressRing({ label, max = 100, value }) {
|
|
|
8719
8721
|
}
|
|
8720
8722
|
|
|
8721
8723
|
// ../../components/ProgressBar/ProgressBar.module.css
|
|
8722
|
-
var ProgressBar_default = {"
|
|
8724
|
+
var ProgressBar_default = {"value":"opus_q04AvA_value","track":"opus_q04AvA_track","bar":"opus_q04AvA_bar","header":"opus_q04AvA_header","fill":"opus_q04AvA_fill","label":"opus_q04AvA_label"};
|
|
8723
8725
|
|
|
8724
8726
|
// ../../components/ProgressBar/ProgressBar.tsx
|
|
8725
8727
|
var import_jsx_runtime58 = require("react/jsx-runtime");
|
|
@@ -8739,7 +8741,7 @@ function ProgressBar({ label, max = 100, value }) {
|
|
|
8739
8741
|
}
|
|
8740
8742
|
|
|
8741
8743
|
// ../../components/Speedometer/Speedometer.module.css
|
|
8742
|
-
var Speedometer_default = {"
|
|
8744
|
+
var Speedometer_default = {"svg":"opus__jpB7z_svg","speedometer":"opus__jpB7z_speedometer","center":"opus__jpB7z_center","hub":"opus__jpB7z_hub","value":"opus__jpB7z_value","track":"opus__jpB7z_track","needle":"opus__jpB7z_needle"};
|
|
8743
8745
|
|
|
8744
8746
|
// ../../components/Speedometer/Speedometer.tsx
|
|
8745
8747
|
var import_jsx_runtime59 = require("react/jsx-runtime");
|
|
@@ -8772,7 +8774,7 @@ function Speedometer({ label, max = 100, value }) {
|
|
|
8772
8774
|
}
|
|
8773
8775
|
|
|
8774
8776
|
// ../../components/MetricTile/MetricTile.module.css
|
|
8775
|
-
var MetricTile_default = {"
|
|
8777
|
+
var MetricTile_default = {"topRow":"opus_-dz9KL_topRow","sparklineSlot":"opus_-dz9KL_sparklineSlot","tile":"opus_-dz9KL_tile"};
|
|
8776
8778
|
|
|
8777
8779
|
// ../../components/MetricTile/MetricTile.tsx
|
|
8778
8780
|
var import_jsx_runtime60 = require("react/jsx-runtime");
|
|
@@ -8789,7 +8791,7 @@ function MetricTile({ density = "comfortable", icon, label, sparkline, value })
|
|
|
8789
8791
|
}
|
|
8790
8792
|
|
|
8791
8793
|
// ../../components/StatusIndicator/StatusIndicator.module.css
|
|
8792
|
-
var StatusIndicator_default = {"
|
|
8794
|
+
var StatusIndicator_default = {"indicator":"opus_ZfaAEC_indicator","dot":"opus_ZfaAEC_dot"};
|
|
8793
8795
|
|
|
8794
8796
|
// ../../components/StatusIndicator/StatusIndicator.tsx
|
|
8795
8797
|
var import_jsx_runtime61 = require("react/jsx-runtime");
|
|
@@ -8814,7 +8816,7 @@ function TrendBadge({ direction, value }) {
|
|
|
8814
8816
|
}
|
|
8815
8817
|
|
|
8816
8818
|
// ../../components/Panel/Panel.module.css
|
|
8817
|
-
var Panel_default = {"
|
|
8819
|
+
var Panel_default = {"heading":"opus_JZHUc__heading","header":"opus_JZHUc__header","title":"opus_JZHUc__title","footer":"opus_JZHUc__footer","headerActions":"opus_JZHUc__headerActions","description":"opus_JZHUc__description","panel":"opus_JZHUc__panel","body":"opus_JZHUc__body"};
|
|
8818
8820
|
|
|
8819
8821
|
// ../../components/Panel/Panel.tsx
|
|
8820
8822
|
var import_jsx_runtime63 = require("react/jsx-runtime");
|
|
@@ -9009,7 +9011,7 @@ function resolveSectionGapVars(gap = "md") {
|
|
|
9009
9011
|
}
|
|
9010
9012
|
|
|
9011
9013
|
// ../../components/Section/Section.module.css
|
|
9012
|
-
var Section_default = {"
|
|
9014
|
+
var Section_default = {"row":"opus_FajZiH_row","header":"opus_FajZiH_header","description":"opus_FajZiH_description","title":"opus_FajZiH_title","column":"opus_FajZiH_column","body":"opus_FajZiH_body","section":"opus_FajZiH_section"};
|
|
9013
9015
|
|
|
9014
9016
|
// ../../components/Section/Section.tsx
|
|
9015
9017
|
var import_jsx_runtime64 = require("react/jsx-runtime");
|
|
@@ -9090,7 +9092,7 @@ var Section = Object.assign(SectionRoot, {
|
|
|
9090
9092
|
});
|
|
9091
9093
|
|
|
9092
9094
|
// ../../components/Table/Table.module.css
|
|
9093
|
-
var Table_default = {"wrap":"opus_2q7S14_wrap","
|
|
9095
|
+
var Table_default = {"wrap":"opus_2q7S14_wrap","caption":"opus_2q7S14_caption","empty":"opus_2q7S14_empty","table":"opus_2q7S14_table","visuallyHidden":"opus_2q7S14_visuallyHidden"};
|
|
9094
9096
|
|
|
9095
9097
|
// ../../components/Table/Table.tsx
|
|
9096
9098
|
var import_jsx_runtime65 = require("react/jsx-runtime");
|
|
@@ -9312,7 +9314,7 @@ function buildPivotGrid(sourceRows, config2) {
|
|
|
9312
9314
|
}
|
|
9313
9315
|
|
|
9314
9316
|
// ../../components/DataGrid/DataGrid.module.css
|
|
9315
|
-
var DataGrid_default = {"
|
|
9317
|
+
var DataGrid_default = {"grid":"opus_zN0bNb_grid","menuButton":"opus_zN0bNb_menuButton","headerCell":"opus_zN0bNb_headerCell","rowHeaderInner":"opus_zN0bNb_rowHeaderInner","sortIndicatorButton":"opus_zN0bNb_sortIndicatorButton","headerMenu":"opus_zN0bNb_headerMenu","sortButton":"opus_zN0bNb_sortButton","sortIndicator":"opus_zN0bNb_sortIndicator","corner":"opus_zN0bNb_corner","detailCell":"opus_zN0bNb_detailCell","expandButton":"opus_zN0bNb_expandButton","menuHost":"opus_zN0bNb_menuHost","menuLabel":"opus_zN0bNb_menuLabel","groupRow":"opus_zN0bNb_groupRow","menuSection":"opus_zN0bNb_menuSection","infiniteFooter":"opus_zN0bNb_infiniteFooter","filterInput":"opus_zN0bNb_filterInput","detailRow":"opus_zN0bNb_detailRow","empty":"opus_zN0bNb_empty","wrap":"opus_zN0bNb_wrap","sortButtonLabel":"opus_zN0bNb_sortButtonLabel","columnResizeHandle":"opus_zN0bNb_columnResizeHandle","groupButton":"opus_zN0bNb_groupButton","spacerRow":"opus_zN0bNb_spacerRow","rowHeaderLabel":"opus_zN0bNb_rowHeaderLabel","menuChevron":"opus_zN0bNb_menuChevron","chevron":"opus_zN0bNb_chevron","headerControls":"opus_zN0bNb_headerControls","menuFilterIcon":"opus_zN0bNb_menuFilterIcon","menuAction":"opus_zN0bNb_menuAction","gridBody":"opus_zN0bNb_gridBody","expandSpacer":"opus_zN0bNb_expandSpacer","rowHeader":"opus_zN0bNb_rowHeader","headerLabel":"opus_zN0bNb_headerLabel","groupCount":"opus_zN0bNb_groupCount","frame":"opus_zN0bNb_frame","caption":"opus_zN0bNb_caption","visuallyHidden":"opus_zN0bNb_visuallyHidden","groupCell":"opus_zN0bNb_groupCell"};
|
|
9316
9318
|
|
|
9317
9319
|
// ../../components/DataGrid/DataGrid.tsx
|
|
9318
9320
|
var import_jsx_runtime66 = require("react/jsx-runtime");
|
|
@@ -12878,7 +12880,7 @@ function SpecializedChart(props) {
|
|
|
12878
12880
|
}
|
|
12879
12881
|
|
|
12880
12882
|
// ../../components/Chart/Chart.module.css
|
|
12881
|
-
var Chart_default = {"
|
|
12883
|
+
var Chart_default = {"seriesE":"opus_L6guCK_seriesE","radarArea":"opus_L6guCK_radarArea","sankeySideLabel":"opus_L6guCK_sankeySideLabel","line":"opus_L6guCK_line","legendSwatch":"opus_L6guCK_legendSwatch","sankeyLabelBox":"opus_L6guCK_sankeyLabelBox","funnel":"opus_L6guCK_funnel","mapValue":"opus_L6guCK_mapValue","wick":"opus_L6guCK_wick","graphLink":"opus_L6guCK_graphLink","ring":"opus_L6guCK_ring","funnelText":"opus_L6guCK_funnelText","grid":"opus_L6guCK_grid","seriesF":"opus_L6guCK_seriesF","seriesC":"opus_L6guCK_seriesC","funnelGuide":"opus_L6guCK_funnelGuide","header":"opus_L6guCK_header","svg":"opus_L6guCK_svg","bar":"opus_L6guCK_bar","axisGuide":"opus_L6guCK_axisGuide","mapLand":"opus_L6guCK_mapLand","packLabel":"opus_L6guCK_packLabel","sankeyCenterLabel":"opus_L6guCK_sankeyCenterLabel","sankeySideName":"opus_L6guCK_sankeySideName","point":"opus_L6guCK_point","treemapLabel":"opus_L6guCK_treemapLabel","sankeyNode":"opus_L6guCK_sankeyNode","land":"opus_L6guCK_land","mapRegion":"opus_L6guCK_mapRegion","legend":"opus_L6guCK_legend","meta":"opus_L6guCK_meta","link":"opus_L6guCK_link","ridge":"opus_L6guCK_ridge","title":"opus_L6guCK_title","legendItem":"opus_L6guCK_legendItem","treemapGroupLabel":"opus_L6guCK_treemapGroupLabel","graphNodeRing":"opus_L6guCK_graphNodeRing","axisLabels":"opus_L6guCK_axisLabels","graphNode":"opus_L6guCK_graphNode","sankeySideValue":"opus_L6guCK_sankeySideValue","packParent":"opus_L6guCK_packParent","valueLabel":"opus_L6guCK_valueLabel","slice":"opus_L6guCK_slice","axisTitle":"opus_L6guCK_axisTitle","mapLabel":"opus_L6guCK_mapLabel","sankeyLink":"opus_L6guCK_sankeyLink","seriesD":"opus_L6guCK_seriesD","axisTick":"opus_L6guCK_axisTick","seriesA":"opus_L6guCK_seriesA","graphLinkColored":"opus_L6guCK_graphLinkColored","chart":"opus_L6guCK_chart","graphLabel":"opus_L6guCK_graphLabel","area":"opus_L6guCK_area","violin":"opus_L6guCK_violin","axes":"opus_L6guCK_axes","seriesB":"opus_L6guCK_seriesB","axisLine":"opus_L6guCK_axisLine","radarGrid":"opus_L6guCK_radarGrid"};
|
|
12882
12884
|
|
|
12883
12885
|
// ../../components/Chart/Chart.tsx
|
|
12884
12886
|
var import_jsx_runtime68 = require("react/jsx-runtime");
|
|
@@ -14017,7 +14019,7 @@ function Chart({
|
|
|
14017
14019
|
}
|
|
14018
14020
|
|
|
14019
14021
|
// ../../components/Skeleton/Skeleton.module.css
|
|
14020
|
-
var Skeleton_default = {"
|
|
14022
|
+
var Skeleton_default = {"line":"opus_27r9Md_line","tableRow":"opus_27r9Md_tableRow","skeletonShimmer":"opus_27r9Md_skeletonShimmer","stack":"opus_27r9Md_stack","media":"opus_27r9Md_media","skeletonPulse":"opus_27r9Md_skeletonPulse","avatarContent":"opus_27r9Md_avatarContent","skeleton":"opus_27r9Md_skeleton","tableCell":"opus_27r9Md_tableCell","avatar":"opus_27r9Md_avatar"};
|
|
14021
14023
|
|
|
14022
14024
|
// ../../components/Skeleton/Skeleton.tsx
|
|
14023
14025
|
var import_jsx_runtime69 = require("react/jsx-runtime");
|
|
@@ -14068,7 +14070,7 @@ var import_free_solid_svg_icons9 = require("@fortawesome/free-solid-svg-icons");
|
|
|
14068
14070
|
var import_react_fontawesome9 = require("@fortawesome/react-fontawesome");
|
|
14069
14071
|
|
|
14070
14072
|
// ../../components/Lightbox/Lightbox.module.css
|
|
14071
|
-
var Lightbox_default = {"
|
|
14073
|
+
var Lightbox_default = {"lightboxFadeOut":"opus_s7Rpyv_lightboxFadeOut","panel":"opus_s7Rpyv_panel","close":"opus_s7Rpyv_close","lightboxPanelIn":"opus_s7Rpyv_lightboxPanelIn","trigger":"opus_s7Rpyv_trigger","overlay":"opus_s7Rpyv_overlay","lightboxFadeIn":"opus_s7Rpyv_lightboxFadeIn","frame":"opus_s7Rpyv_frame","image":"opus_s7Rpyv_image","closeIcon":"opus_s7Rpyv_closeIcon","lightbox":"opus_s7Rpyv_lightbox","lightboxPanelOut":"opus_s7Rpyv_lightboxPanelOut","caption":"opus_s7Rpyv_caption"};
|
|
14072
14074
|
|
|
14073
14075
|
// ../../components/Lightbox/Lightbox.tsx
|
|
14074
14076
|
var import_jsx_runtime70 = require("react/jsx-runtime");
|
|
@@ -14183,7 +14185,7 @@ function Lightbox({
|
|
|
14183
14185
|
}
|
|
14184
14186
|
|
|
14185
14187
|
// ../../components/Carousel/Carousel.module.css
|
|
14186
|
-
var Carousel_default = {"
|
|
14188
|
+
var Carousel_default = {"caption":"opus_N4occJ_caption","empty":"opus_N4occJ_empty","pips":"opus_N4occJ_pips","stage":"opus_N4occJ_stage","visuallyHidden":"opus_N4occJ_visuallyHidden","pip":"opus_N4occJ_pip","nav":"opus_N4occJ_nav","image":"opus_N4occJ_image","carousel":"opus_N4occJ_carousel","track":"opus_N4occJ_track","navIcon":"opus_N4occJ_navIcon","slide":"opus_N4occJ_slide","footer":"opus_N4occJ_footer"};
|
|
14187
14189
|
|
|
14188
14190
|
// ../../components/Carousel/Carousel.tsx
|
|
14189
14191
|
var import_jsx_runtime71 = require("react/jsx-runtime");
|
|
@@ -14435,7 +14437,7 @@ function Carousel({
|
|
|
14435
14437
|
}
|
|
14436
14438
|
|
|
14437
14439
|
// ../../components/ImageThumbnail/ImageThumbnail.module.css
|
|
14438
|
-
var ImageThumbnail_default = {"
|
|
14440
|
+
var ImageThumbnail_default = {"thumbnail":"opus_Gp1o-9_thumbnail","image":"opus_Gp1o-9_image","figure":"opus_Gp1o-9_figure","caption":"opus_Gp1o-9_caption"};
|
|
14439
14441
|
|
|
14440
14442
|
// ../../components/ImageThumbnail/ImageThumbnail.tsx
|
|
14441
14443
|
var import_jsx_runtime72 = require("react/jsx-runtime");
|
|
@@ -14474,7 +14476,7 @@ function ImageThumbnail({
|
|
|
14474
14476
|
}
|
|
14475
14477
|
|
|
14476
14478
|
// ../../components/ImageGallery/ImageGallery.module.css
|
|
14477
|
-
var ImageGallery_default = {"
|
|
14479
|
+
var ImageGallery_default = {"empty":"opus_bezg4E_empty","gallery":"opus_bezg4E_gallery"};
|
|
14478
14480
|
|
|
14479
14481
|
// ../../components/ImageGallery/ImageGallery.tsx
|
|
14480
14482
|
var import_jsx_runtime73 = require("react/jsx-runtime");
|
|
@@ -14510,7 +14512,7 @@ var import_react44 = require("react");
|
|
|
14510
14512
|
var import_react43 = require("react");
|
|
14511
14513
|
|
|
14512
14514
|
// ../../components/ModelViewer/ModelViewer.module.css
|
|
14513
|
-
var ModelViewer_default = {"
|
|
14515
|
+
var ModelViewer_default = {"stage":"opus_f7gfHI_stage","model":"opus_f7gfHI_model","caption":"opus_f7gfHI_caption","loading":"opus_f7gfHI_loading","canvasHost":"opus_f7gfHI_canvasHost","viewer":"opus_f7gfHI_viewer"};
|
|
14514
14516
|
|
|
14515
14517
|
// ../../components/ModelViewer/FireBarrelModelViewer.tsx
|
|
14516
14518
|
var import_jsx_runtime74 = require("react/jsx-runtime");
|
|
@@ -14728,7 +14730,7 @@ var import_free_solid_svg_icons11 = require("@fortawesome/free-solid-svg-icons")
|
|
|
14728
14730
|
var import_react_fontawesome11 = require("@fortawesome/react-fontawesome");
|
|
14729
14731
|
|
|
14730
14732
|
// ../../components/ModelLightbox/ModelLightbox.module.css
|
|
14731
|
-
var ModelLightbox_default = {"modelLightboxFadeOut":"opus_YYKGIB_modelLightboxFadeOut","
|
|
14733
|
+
var ModelLightbox_default = {"modelLightboxFadeOut":"opus_YYKGIB_modelLightboxFadeOut","lightbox":"opus_YYKGIB_lightbox","overlay":"opus_YYKGIB_overlay","trigger":"opus_YYKGIB_trigger","frame":"opus_YYKGIB_frame","modelLightboxPanelIn":"opus_YYKGIB_modelLightboxPanelIn","modelLightboxPanelOut":"opus_YYKGIB_modelLightboxPanelOut","close":"opus_YYKGIB_close","closeIcon":"opus_YYKGIB_closeIcon","modelLightboxFadeIn":"opus_YYKGIB_modelLightboxFadeIn"};
|
|
14732
14734
|
|
|
14733
14735
|
// ../../components/ModelLightbox/ModelLightbox.tsx
|
|
14734
14736
|
var import_jsx_runtime76 = require("react/jsx-runtime");
|
|
@@ -14833,7 +14835,7 @@ function ModelLightbox({
|
|
|
14833
14835
|
}
|
|
14834
14836
|
|
|
14835
14837
|
// ../../components/ModelThumbnail/ModelThumbnail.module.css
|
|
14836
|
-
var ModelThumbnail_default = {"
|
|
14838
|
+
var ModelThumbnail_default = {"content":"opus_NkO9Yb_content","caption":"opus_NkO9Yb_caption","staticThumbnail":"opus_NkO9Yb_staticThumbnail"};
|
|
14837
14839
|
|
|
14838
14840
|
// ../../components/ModelThumbnail/ModelThumbnail.tsx
|
|
14839
14841
|
var import_jsx_runtime77 = require("react/jsx-runtime");
|
|
@@ -14903,7 +14905,7 @@ function ModelGallery({
|
|
|
14903
14905
|
var import_react46 = require("react");
|
|
14904
14906
|
|
|
14905
14907
|
// ../../components/EmptyState/EmptyState.module.css
|
|
14906
|
-
var EmptyState_default = {"
|
|
14908
|
+
var EmptyState_default = {"copy":"opus_1KckGY_copy","description":"opus_1KckGY_description","actions":"opus_1KckGY_actions","iconWrap":"opus_1KckGY_iconWrap","root":"opus_1KckGY_root","title":"opus_1KckGY_title"};
|
|
14907
14909
|
|
|
14908
14910
|
// ../../components/EmptyState/EmptyState.tsx
|
|
14909
14911
|
var import_jsx_runtime79 = require("react/jsx-runtime");
|
|
@@ -14955,7 +14957,7 @@ function Badge({
|
|
|
14955
14957
|
}
|
|
14956
14958
|
|
|
14957
14959
|
// ../../components/Divider/Divider.module.css
|
|
14958
|
-
var Divider_default = {"
|
|
14960
|
+
var Divider_default = {"divider":"opus_ux1i0D_divider","line":"opus_ux1i0D_line","label":"opus_ux1i0D_label","labelled":"opus_ux1i0D_labelled"};
|
|
14959
14961
|
|
|
14960
14962
|
// ../../components/Divider/Divider.tsx
|
|
14961
14963
|
var import_jsx_runtime81 = require("react/jsx-runtime");
|
|
@@ -14997,7 +14999,7 @@ function Divider({
|
|
|
14997
14999
|
var import_react47 = require("react");
|
|
14998
15000
|
|
|
14999
15001
|
// ../../components/Avatar/Avatar.module.css
|
|
15000
|
-
var Avatar_default = {"avatar":"opus_jsRWxO_avatar","
|
|
15002
|
+
var Avatar_default = {"avatar":"opus_jsRWxO_avatar","image":"opus_jsRWxO_image","initials":"opus_jsRWxO_initials"};
|
|
15001
15003
|
|
|
15002
15004
|
// ../../components/Avatar/Avatar.tsx
|
|
15003
15005
|
var import_jsx_runtime82 = (
|
|
@@ -15047,7 +15049,7 @@ function Avatar({
|
|
|
15047
15049
|
}
|
|
15048
15050
|
|
|
15049
15051
|
// ../../components/AvatarGroup/AvatarGroup.module.css
|
|
15050
|
-
var AvatarGroup_default = {"
|
|
15052
|
+
var AvatarGroup_default = {"group":"opus_Vv36ne_group","overflow":"opus_Vv36ne_overflow","item":"opus_Vv36ne_item"};
|
|
15051
15053
|
|
|
15052
15054
|
// ../../components/AvatarGroup/AvatarGroup.tsx
|
|
15053
15055
|
var import_jsx_runtime83 = require("react/jsx-runtime");
|
|
@@ -15073,7 +15075,7 @@ function AvatarGroup({ items, max = 4, size = "md" }) {
|
|
|
15073
15075
|
}
|
|
15074
15076
|
|
|
15075
15077
|
// ../../components/Statistic/Statistic.module.css
|
|
15076
|
-
var Statistic_default = {"
|
|
15078
|
+
var Statistic_default = {"value":"opus_vCN1bv_value","label":"opus_vCN1bv_label","affix":"opus_vCN1bv_affix","trend":"opus_vCN1bv_trend","root":"opus_vCN1bv_root"};
|
|
15077
15079
|
|
|
15078
15080
|
// ../../components/Statistic/Statistic.tsx
|
|
15079
15081
|
var import_jsx_runtime84 = require("react/jsx-runtime");
|
|
@@ -15100,7 +15102,7 @@ function Statistic({
|
|
|
15100
15102
|
}
|
|
15101
15103
|
|
|
15102
15104
|
// ../../components/List/List.module.css
|
|
15103
|
-
var List_default = {"
|
|
15105
|
+
var List_default = {"list":"opus_ys3xlo_list","description":"opus_ys3xlo_description","body":"opus_ys3xlo_body","head":"opus_ys3xlo_head","title":"opus_ys3xlo_title","icon":"opus_ys3xlo_icon","item":"opus_ys3xlo_item","meta":"opus_ys3xlo_meta"};
|
|
15104
15106
|
|
|
15105
15107
|
// ../../components/List/List.tsx
|
|
15106
15108
|
var import_jsx_runtime85 = require("react/jsx-runtime");
|
|
@@ -15119,7 +15121,7 @@ function List({ density = "comfortable", items, ordered = false }) {
|
|
|
15119
15121
|
}
|
|
15120
15122
|
|
|
15121
15123
|
// ../../components/DescriptionList/DescriptionList.module.css
|
|
15122
|
-
var DescriptionList_default = {"
|
|
15124
|
+
var DescriptionList_default = {"list":"opus_FY8OsC_list","row":"opus_FY8OsC_row","term":"opus_FY8OsC_term","details":"opus_FY8OsC_details"};
|
|
15123
15125
|
|
|
15124
15126
|
// ../../components/DescriptionList/DescriptionList.tsx
|
|
15125
15127
|
var import_jsx_runtime86 = require("react/jsx-runtime");
|
|
@@ -15137,7 +15139,7 @@ function DescriptionList({
|
|
|
15137
15139
|
var import_react48 = require("react");
|
|
15138
15140
|
|
|
15139
15141
|
// ../../components/PropertyGrid/PropertyGrid.module.css
|
|
15140
|
-
var PropertyGrid_default = {"
|
|
15142
|
+
var PropertyGrid_default = {"grid":"opus_Bnfsue_grid","copy":"opus_Bnfsue_copy","label":"opus_Bnfsue_label","value":"opus_Bnfsue_value","valueCell":"opus_Bnfsue_valueCell","row":"opus_Bnfsue_row"};
|
|
15141
15143
|
|
|
15142
15144
|
// ../../components/PropertyGrid/PropertyGrid.tsx
|
|
15143
15145
|
var import_jsx_runtime87 = require("react/jsx-runtime");
|
|
@@ -15203,7 +15205,7 @@ function Stack({
|
|
|
15203
15205
|
var import_react49 = require("react");
|
|
15204
15206
|
|
|
15205
15207
|
// ../../components/Columns/Columns.module.css
|
|
15206
|
-
var Columns_default = {"
|
|
15208
|
+
var Columns_default = {"cell":"opus_dI4yQh_cell","root":"opus_dI4yQh_root"};
|
|
15207
15209
|
|
|
15208
15210
|
// ../../components/Columns/Columns.tsx
|
|
15209
15211
|
var import_jsx_runtime89 = require("react/jsx-runtime");
|
|
@@ -15261,7 +15263,7 @@ function Grid2({
|
|
|
15261
15263
|
var import_react50 = require("react");
|
|
15262
15264
|
|
|
15263
15265
|
// ../../components/ResizeHandle/ResizeHandle.module.css
|
|
15264
|
-
var ResizeHandle_default = {"
|
|
15266
|
+
var ResizeHandle_default = {"grip":"opus_PaKREB_grip","dot":"opus_PaKREB_dot","handle":"opus_PaKREB_handle"};
|
|
15265
15267
|
|
|
15266
15268
|
// ../../components/ResizeHandle/ResizeHandle.tsx
|
|
15267
15269
|
var import_jsx_runtime91 = require("react/jsx-runtime");
|
|
@@ -15298,7 +15300,7 @@ function ResizeHandle(_a2) {
|
|
|
15298
15300
|
}
|
|
15299
15301
|
|
|
15300
15302
|
// ../../components/Splitter/Splitter.module.css
|
|
15301
|
-
var Splitter_default = {"
|
|
15303
|
+
var Splitter_default = {"root":"opus_Khgx9s_root","srOnly":"opus_Khgx9s_srOnly","pane":"opus_Khgx9s_pane"};
|
|
15302
15304
|
|
|
15303
15305
|
// ../../components/Splitter/Splitter.tsx
|
|
15304
15306
|
var import_jsx_runtime92 = require("react/jsx-runtime");
|
|
@@ -15408,7 +15410,7 @@ function Splitter({
|
|
|
15408
15410
|
var import_react51 = require("react");
|
|
15409
15411
|
|
|
15410
15412
|
// ../../components/ResizablePanel/ResizablePanel.module.css
|
|
15411
|
-
var ResizablePanel_default = {"
|
|
15413
|
+
var ResizablePanel_default = {"root":"opus_kVJ122_root","handle":"opus_kVJ122_handle","body":"opus_kVJ122_body"};
|
|
15412
15414
|
|
|
15413
15415
|
// ../../components/ResizablePanel/ResizablePanel.tsx
|
|
15414
15416
|
var import_jsx_runtime93 = require("react/jsx-runtime");
|
|
@@ -15491,7 +15493,7 @@ function ResizablePanel({
|
|
|
15491
15493
|
}
|
|
15492
15494
|
|
|
15493
15495
|
// ../../components/DockLayout/DockLayout.module.css
|
|
15494
|
-
var DockLayout_default = {"
|
|
15496
|
+
var DockLayout_default = {"middle":"opus_3zzL8C_middle","root":"opus_3zzL8C_root","bottom":"opus_3zzL8C_bottom","top":"opus_3zzL8C_top","left":"opus_3zzL8C_left","right":"opus_3zzL8C_right","center":"opus_3zzL8C_center"};
|
|
15495
15497
|
|
|
15496
15498
|
// ../../components/DockLayout/DockLayout.tsx
|
|
15497
15499
|
var import_jsx_runtime94 = require("react/jsx-runtime");
|
|
@@ -15522,7 +15524,7 @@ var import_react53 = require("react");
|
|
|
15522
15524
|
var import_react52 = require("react");
|
|
15523
15525
|
|
|
15524
15526
|
// ../../components/CustomScrollbar/CustomScrollbar.module.css
|
|
15525
|
-
var CustomScrollbar_default = {"viewport":"opus_I9wQcM_viewport","
|
|
15527
|
+
var CustomScrollbar_default = {"viewport":"opus_I9wQcM_viewport","thumb":"opus_I9wQcM_thumb","root":"opus_I9wQcM_root","cornerDot":"opus_I9wQcM_cornerDot","track":"opus_I9wQcM_track","content":"opus_I9wQcM_content"};
|
|
15526
15528
|
|
|
15527
15529
|
// ../../components/CustomScrollbar/CustomScrollbar.tsx
|
|
15528
15530
|
var import_jsx_runtime95 = require("react/jsx-runtime");
|
|
@@ -16260,7 +16262,7 @@ function Spacer({ axis = "y", className, flex = false, size = 16, style }) {
|
|
|
16260
16262
|
}
|
|
16261
16263
|
|
|
16262
16264
|
// ../../components/Breadcrumb/Breadcrumb.module.css
|
|
16263
|
-
var Breadcrumb_default = {"
|
|
16265
|
+
var Breadcrumb_default = {"root":"opus_FwZfXe_root","separator":"opus_FwZfXe_separator","list":"opus_FwZfXe_list","link":"opus_FwZfXe_link","current":"opus_FwZfXe_current","item":"opus_FwZfXe_item"};
|
|
16264
16266
|
|
|
16265
16267
|
// ../../components/Breadcrumb/Breadcrumb.tsx
|
|
16266
16268
|
var import_jsx_runtime101 = require("react/jsx-runtime");
|
|
@@ -16288,7 +16290,7 @@ function Breadcrumb({ ariaLabel = "Breadcrumb", items, onNavigate, separator = "
|
|
|
16288
16290
|
}
|
|
16289
16291
|
|
|
16290
16292
|
// ../../components/Pagination/Pagination.module.css
|
|
16291
|
-
var Pagination_default = {"
|
|
16293
|
+
var Pagination_default = {"button":"opus_VkXUKR_button","ellipsis":"opus_VkXUKR_ellipsis","root":"opus_VkXUKR_root","active":"opus_VkXUKR_active"};
|
|
16292
16294
|
|
|
16293
16295
|
// ../../components/Pagination/Pagination.tsx
|
|
16294
16296
|
var import_jsx_runtime102 = require("react/jsx-runtime");
|
|
@@ -16353,7 +16355,7 @@ function Pagination({ page, pageCount, onPageChange, siblingCount = 1 }) {
|
|
|
16353
16355
|
}
|
|
16354
16356
|
|
|
16355
16357
|
// ../../components/PageHeader/PageHeader.module.css
|
|
16356
|
-
var PageHeader_default = {"
|
|
16358
|
+
var PageHeader_default = {"breadcrumbs":"opus_1pSVfU_breadcrumbs","actions":"opus_1pSVfU_actions","title":"opus_1pSVfU_title","row":"opus_1pSVfU_row","eyebrow":"opus_1pSVfU_eyebrow","root":"opus_1pSVfU_root","copy":"opus_1pSVfU_copy","description":"opus_1pSVfU_description"};
|
|
16357
16359
|
|
|
16358
16360
|
// ../../components/PageHeader/PageHeader.tsx
|
|
16359
16361
|
var import_jsx_runtime103 = require("react/jsx-runtime");
|
|
@@ -16372,7 +16374,7 @@ function PageHeader({ actions, breadcrumbs, description, eyebrow, title }) {
|
|
|
16372
16374
|
}
|
|
16373
16375
|
|
|
16374
16376
|
// ../../components/Toolbar/Toolbar.module.css
|
|
16375
|
-
var Toolbar_default = {"
|
|
16377
|
+
var Toolbar_default = {"root":"opus_lO-IAD_root","cluster":"opus_lO-IAD_cluster","end":"opus_lO-IAD_end"};
|
|
16376
16378
|
|
|
16377
16379
|
// ../../components/Toolbar/Toolbar.tsx
|
|
16378
16380
|
var import_jsx_runtime104 = require("react/jsx-runtime");
|
|
@@ -16394,7 +16396,7 @@ function Toolbar({ children, className, dense = false, end, label, start }) {
|
|
|
16394
16396
|
}
|
|
16395
16397
|
|
|
16396
16398
|
// ../../components/BottomNavigation/BottomNavigation.module.css
|
|
16397
|
-
var BottomNavigation_default = {"
|
|
16399
|
+
var BottomNavigation_default = {"icon":"opus_Yqcmor_icon","active":"opus_Yqcmor_active","item":"opus_Yqcmor_item","root":"opus_Yqcmor_root","label":"opus_Yqcmor_label"};
|
|
16398
16400
|
|
|
16399
16401
|
// ../../components/BottomNavigation/BottomNavigation.tsx
|
|
16400
16402
|
var import_jsx_runtime105 = require("react/jsx-runtime");
|
|
@@ -16424,7 +16426,7 @@ function BottomNavigation({ items, onChange, value }) {
|
|
|
16424
16426
|
}
|
|
16425
16427
|
|
|
16426
16428
|
// ../../components/NavigationRail/NavigationRail.module.css
|
|
16427
|
-
var NavigationRail_default = {"root":"opus_E7mR15_root","
|
|
16429
|
+
var NavigationRail_default = {"root":"opus_E7mR15_root","item":"opus_E7mR15_item","active":"opus_E7mR15_active","icon":"opus_E7mR15_icon","label":"opus_E7mR15_label","srOnly":"opus_E7mR15_srOnly"};
|
|
16428
16430
|
|
|
16429
16431
|
// ../../components/NavigationRail/NavigationRail.tsx
|
|
16430
16432
|
var import_jsx_runtime106 = require("react/jsx-runtime");
|
|
@@ -16467,7 +16469,7 @@ function NavigationRail({ collapsed = false, items, onChange, value }) {
|
|
|
16467
16469
|
var import_react54 = require("react");
|
|
16468
16470
|
|
|
16469
16471
|
// ../../components/SplitButton/SplitButton.module.css
|
|
16470
|
-
var SplitButton_default = {"
|
|
16472
|
+
var SplitButton_default = {"menu":"opus_TVuiQN_menu","caret":"opus_TVuiQN_caret","menuItem":"opus_TVuiQN_menuItem","root":"opus_TVuiQN_root","main":"opus_TVuiQN_main"};
|
|
16471
16473
|
|
|
16472
16474
|
// ../../components/SplitButton/SplitButton.tsx
|
|
16473
16475
|
var import_jsx_runtime107 = require("react/jsx-runtime");
|
|
@@ -16532,7 +16534,7 @@ function SplitButton({
|
|
|
16532
16534
|
}
|
|
16533
16535
|
|
|
16534
16536
|
// ../../components/FloatingActionButton/FloatingActionButton.module.css
|
|
16535
|
-
var FloatingActionButton_default = {"
|
|
16537
|
+
var FloatingActionButton_default = {"srOnly":"opus_UXPLpX_srOnly","root":"opus_UXPLpX_root","label":"opus_UXPLpX_label","icon":"opus_UXPLpX_icon"};
|
|
16536
16538
|
|
|
16537
16539
|
// ../../components/FloatingActionButton/FloatingActionButton.tsx
|
|
16538
16540
|
var import_jsx_runtime108 = require("react/jsx-runtime");
|
|
@@ -16573,6 +16575,9 @@ function FloatingActionButton(_a2) {
|
|
|
16573
16575
|
);
|
|
16574
16576
|
}
|
|
16575
16577
|
|
|
16578
|
+
// ../../components/Tiles/Tiles.tsx
|
|
16579
|
+
var import_react55 = require("react");
|
|
16580
|
+
|
|
16576
16581
|
// ../../components/Tile/TileGradientDefs.module.css
|
|
16577
16582
|
var TileGradientDefs_default = {"defs":"opus_mMiLIb_defs"};
|
|
16578
16583
|
|
|
@@ -16604,7 +16609,7 @@ function TileGradientDefs() {
|
|
|
16604
16609
|
}
|
|
16605
16610
|
|
|
16606
16611
|
// ../../components/Tile/Tile.module.css
|
|
16607
|
-
var Tile_default = {"label":"opus_wypm8k_label","
|
|
16612
|
+
var Tile_default = {"label":"opus_wypm8k_label","tile":"opus_wypm8k_tile","icon":"opus_wypm8k_icon"};
|
|
16608
16613
|
|
|
16609
16614
|
// ../../components/Tile/Tile.tsx
|
|
16610
16615
|
var import_jsx_runtime110 = require("react/jsx-runtime");
|
|
@@ -16637,45 +16642,85 @@ function Tile({
|
|
|
16637
16642
|
}
|
|
16638
16643
|
|
|
16639
16644
|
// ../../components/Tiles/Tiles.module.css
|
|
16640
|
-
var Tiles_default = {"row":"opus_zD82gC_row","
|
|
16645
|
+
var Tiles_default = {"tile":"opus_zD82gC_tile","tileItem":"opus_zD82gC_tileItem","row":"opus_zD82gC_row","previousButton":"opus_zD82gC_previousButton","viewport":"opus_zD82gC_viewport","moreButton":"opus_zD82gC_moreButton","nextButton":"opus_zD82gC_nextButton"};
|
|
16641
16646
|
|
|
16642
16647
|
// ../../components/Tiles/Tiles.tsx
|
|
16643
16648
|
var import_jsx_runtime111 = require("react/jsx-runtime");
|
|
16644
16649
|
var defaultToneForIndex = (index) => index % 2 === 0 ? "purple" : "blue";
|
|
16645
16650
|
function Tiles({ className, items, layout = "fill" }) {
|
|
16646
|
-
const
|
|
16647
|
-
|
|
16648
|
-
|
|
16649
|
-
|
|
16650
|
-
|
|
16651
|
-
|
|
16652
|
-
|
|
16653
|
-
|
|
16654
|
-
|
|
16655
|
-
|
|
16656
|
-
|
|
16657
|
-
|
|
16658
|
-
|
|
16659
|
-
|
|
16660
|
-
|
|
16661
|
-
|
|
16662
|
-
|
|
16663
|
-
|
|
16664
|
-
|
|
16665
|
-
|
|
16666
|
-
|
|
16667
|
-
|
|
16668
|
-
|
|
16669
|
-
|
|
16670
|
-
|
|
16671
|
-
|
|
16672
|
-
|
|
16673
|
-
|
|
16674
|
-
)
|
|
16651
|
+
const rowRef = (0, import_react55.useRef)(null);
|
|
16652
|
+
const [hasPrevious, setHasPrevious] = (0, import_react55.useState)(false);
|
|
16653
|
+
const [hasMore, setHasMore] = (0, import_react55.useState)(false);
|
|
16654
|
+
const rowStyle = layout === "fill" && items.length > 0 ? { gridTemplateColumns: `repeat(${items.length}, minmax(var(--tile-width), 1fr))` } : void 0;
|
|
16655
|
+
const updateOverflow = (0, import_react55.useCallback)(() => {
|
|
16656
|
+
const row = rowRef.current;
|
|
16657
|
+
if (!row) return;
|
|
16658
|
+
setHasPrevious(row.scrollLeft > 2);
|
|
16659
|
+
setHasMore(row.scrollWidth - row.scrollLeft - row.clientWidth > 2);
|
|
16660
|
+
}, []);
|
|
16661
|
+
(0, import_react55.useEffect)(() => {
|
|
16662
|
+
const row = rowRef.current;
|
|
16663
|
+
if (!row) return;
|
|
16664
|
+
updateOverflow();
|
|
16665
|
+
const observer = new ResizeObserver(updateOverflow);
|
|
16666
|
+
observer.observe(row);
|
|
16667
|
+
Array.from(row.children).forEach((child) => observer.observe(child));
|
|
16668
|
+
row.addEventListener("scroll", updateOverflow, { passive: true });
|
|
16669
|
+
return () => {
|
|
16670
|
+
observer.disconnect();
|
|
16671
|
+
row.removeEventListener("scroll", updateOverflow);
|
|
16672
|
+
};
|
|
16673
|
+
}, [items, layout, updateOverflow]);
|
|
16674
|
+
const scrollTiles = (direction) => {
|
|
16675
|
+
const row = rowRef.current;
|
|
16676
|
+
if (!row) return;
|
|
16677
|
+
row.scrollBy({ left: direction * Math.max(row.clientWidth * 0.75, 120), behavior: "smooth" });
|
|
16678
|
+
};
|
|
16679
|
+
return /* @__PURE__ */ (0, import_jsx_runtime111.jsxs)("div", { className: Tiles_default.viewport, children: [
|
|
16680
|
+
/* @__PURE__ */ (0, import_jsx_runtime111.jsxs)("div", { className: [Tiles_default.row, className].filter(Boolean).join(" "), "data-layout": layout, ref: rowRef, role: "list", style: rowStyle, children: [
|
|
16681
|
+
/* @__PURE__ */ (0, import_jsx_runtime111.jsx)(TileGradientDefs, {}),
|
|
16682
|
+
items.map((item, index) => {
|
|
16683
|
+
var _a2;
|
|
16684
|
+
const tone = (_a2 = item.tone) != null ? _a2 : defaultToneForIndex(index);
|
|
16685
|
+
return /* @__PURE__ */ (0, import_jsx_runtime111.jsx)("div", { className: Tiles_default.tileItem, role: "listitem", children: /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(
|
|
16686
|
+
Tile,
|
|
16687
|
+
{
|
|
16688
|
+
className: Tiles_default.tile,
|
|
16689
|
+
href: item.href,
|
|
16690
|
+
icon: item.icon,
|
|
16691
|
+
label: item.label,
|
|
16692
|
+
onClick: item.onClick,
|
|
16693
|
+
tone,
|
|
16694
|
+
withGradients: false
|
|
16695
|
+
}
|
|
16696
|
+
) }, item.id);
|
|
16697
|
+
})
|
|
16698
|
+
] }),
|
|
16699
|
+
hasPrevious ? /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(
|
|
16700
|
+
"button",
|
|
16701
|
+
{
|
|
16702
|
+
"aria-label": "Show previous tiles",
|
|
16703
|
+
className: [Tiles_default.moreButton, Tiles_default.previousButton].join(" "),
|
|
16704
|
+
onClick: () => scrollTiles(-1),
|
|
16705
|
+
type: "button",
|
|
16706
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(CatalogIcon, { iconName: "chevron-left" })
|
|
16707
|
+
}
|
|
16708
|
+
) : null,
|
|
16709
|
+
hasMore ? /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(
|
|
16710
|
+
"button",
|
|
16711
|
+
{
|
|
16712
|
+
"aria-label": "Show more tiles",
|
|
16713
|
+
className: [Tiles_default.moreButton, Tiles_default.nextButton].join(" "),
|
|
16714
|
+
onClick: () => scrollTiles(1),
|
|
16715
|
+
type: "button",
|
|
16716
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(CatalogIcon, { iconName: "chevron-right" })
|
|
16717
|
+
}
|
|
16718
|
+
) : null
|
|
16719
|
+
] });
|
|
16675
16720
|
}
|
|
16676
16721
|
|
|
16677
16722
|
// ../../components/StatTile/StatTile.module.css
|
|
16678
|
-
var StatTile_default = {"
|
|
16723
|
+
var StatTile_default = {"icon":"opus_8DpwUV_icon","trend":"opus_8DpwUV_trend","statTile":"opus_8DpwUV_statTile","body":"opus_8DpwUV_body","comparison":"opus_8DpwUV_comparison","label":"opus_8DpwUV_label","value":"opus_8DpwUV_value","meta":"opus_8DpwUV_meta"};
|
|
16679
16724
|
|
|
16680
16725
|
// ../../components/StatTile/StatTile.tsx
|
|
16681
16726
|
var import_jsx_runtime112 = require("react/jsx-runtime");
|
|
@@ -16688,6 +16733,7 @@ function StatTile({
|
|
|
16688
16733
|
role,
|
|
16689
16734
|
tone = "blue",
|
|
16690
16735
|
trend,
|
|
16736
|
+
trendTone,
|
|
16691
16737
|
trendValue,
|
|
16692
16738
|
value
|
|
16693
16739
|
}) {
|
|
@@ -16699,7 +16745,7 @@ function StatTile({
|
|
|
16699
16745
|
/* @__PURE__ */ (0, import_jsx_runtime112.jsx)("p", { className: StatTile_default.label, children: label }),
|
|
16700
16746
|
/* @__PURE__ */ (0, import_jsx_runtime112.jsx)("p", { className: StatTile_default.value, children: value }),
|
|
16701
16747
|
showTrend || comparison ? /* @__PURE__ */ (0, import_jsx_runtime112.jsxs)("div", { className: StatTile_default.meta, children: [
|
|
16702
|
-
showTrend ? /* @__PURE__ */ (0, import_jsx_runtime112.jsxs)("span", { className: StatTile_default.trend, "data-trend": trend, children: [
|
|
16748
|
+
showTrend ? /* @__PURE__ */ (0, import_jsx_runtime112.jsxs)("span", { className: StatTile_default.trend, "data-trend": trend, "data-trend-tone": trendTone, children: [
|
|
16703
16749
|
/* @__PURE__ */ (0, import_jsx_runtime112.jsx)("span", { "aria-hidden": "true", children: trend === "up" ? "\u2191" : "\u2193" }),
|
|
16704
16750
|
/* @__PURE__ */ (0, import_jsx_runtime112.jsx)("span", { children: trendValue })
|
|
16705
16751
|
] }) : null,
|
|
@@ -16725,48 +16771,92 @@ function StatTile({
|
|
|
16725
16771
|
return /* @__PURE__ */ (0, import_jsx_runtime112.jsx)("article", { className: classNames, "data-tone": tone, role, children: content });
|
|
16726
16772
|
}
|
|
16727
16773
|
|
|
16774
|
+
// ../../components/StatTiles/StatTiles.tsx
|
|
16775
|
+
var import_react56 = require("react");
|
|
16776
|
+
|
|
16728
16777
|
// ../../components/StatTiles/StatTiles.module.css
|
|
16729
|
-
var StatTiles_default = {"row":"opus_uhJd8v_row","statTile":"opus_uhJd8v_statTile","statTileItem":"opus_uhJd8v_statTileItem"};
|
|
16778
|
+
var StatTiles_default = {"nextButton":"opus_uhJd8v_nextButton","moreButton":"opus_uhJd8v_moreButton","row":"opus_uhJd8v_row","viewport":"opus_uhJd8v_viewport","statTile":"opus_uhJd8v_statTile","previousButton":"opus_uhJd8v_previousButton","statTileItem":"opus_uhJd8v_statTileItem"};
|
|
16730
16779
|
|
|
16731
16780
|
// ../../components/StatTiles/StatTiles.tsx
|
|
16732
16781
|
var import_jsx_runtime113 = require("react/jsx-runtime");
|
|
16733
16782
|
var defaultToneForIndex2 = (index) => index % 2 === 0 ? "purple" : "blue";
|
|
16734
16783
|
function StatTiles({ className, items, layout = "fill" }) {
|
|
16735
|
-
const
|
|
16736
|
-
|
|
16784
|
+
const rowRef = (0, import_react56.useRef)(null);
|
|
16785
|
+
const [hasPrevious, setHasPrevious] = (0, import_react56.useState)(false);
|
|
16786
|
+
const [hasMore, setHasMore] = (0, import_react56.useState)(false);
|
|
16787
|
+
const rowStyle = layout === "fill" && items.length > 0 ? { gridTemplateColumns: `repeat(${items.length}, minmax(var(--stat-tile-min), 1fr))` } : void 0;
|
|
16788
|
+
const updateOverflow = (0, import_react56.useCallback)(() => {
|
|
16789
|
+
const row = rowRef.current;
|
|
16790
|
+
if (!row) return;
|
|
16791
|
+
setHasPrevious(row.scrollLeft > 2);
|
|
16792
|
+
setHasMore(row.scrollWidth - row.scrollLeft - row.clientWidth > 2);
|
|
16793
|
+
}, []);
|
|
16794
|
+
(0, import_react56.useEffect)(() => {
|
|
16795
|
+
const row = rowRef.current;
|
|
16796
|
+
if (!row) return;
|
|
16797
|
+
updateOverflow();
|
|
16798
|
+
const observer = new ResizeObserver(updateOverflow);
|
|
16799
|
+
observer.observe(row);
|
|
16800
|
+
Array.from(row.children).forEach((child) => observer.observe(child));
|
|
16801
|
+
row.addEventListener("scroll", updateOverflow, { passive: true });
|
|
16802
|
+
return () => {
|
|
16803
|
+
observer.disconnect();
|
|
16804
|
+
row.removeEventListener("scroll", updateOverflow);
|
|
16805
|
+
};
|
|
16806
|
+
}, [items, layout, updateOverflow]);
|
|
16807
|
+
const scrollTiles = (direction) => {
|
|
16808
|
+
const row = rowRef.current;
|
|
16809
|
+
if (!row) return;
|
|
16810
|
+
row.scrollBy({ left: direction * Math.max(row.clientWidth * 0.75, 120), behavior: "smooth" });
|
|
16811
|
+
};
|
|
16812
|
+
return /* @__PURE__ */ (0, import_jsx_runtime113.jsxs)(
|
|
16737
16813
|
"div",
|
|
16738
16814
|
{
|
|
16739
|
-
className:
|
|
16740
|
-
"data-
|
|
16741
|
-
|
|
16742
|
-
|
|
16743
|
-
|
|
16744
|
-
|
|
16745
|
-
const tone = (_a2 = item.tone) != null ? _a2 : defaultToneForIndex2(index);
|
|
16746
|
-
return /* @__PURE__ */ (0, import_jsx_runtime113.jsx)("div", { className: StatTiles_default.statTileItem, role: "listitem", children: /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
|
|
16747
|
-
StatTile,
|
|
16815
|
+
className: StatTiles_default.viewport,
|
|
16816
|
+
"data-has-more": hasMore ? "true" : "false",
|
|
16817
|
+
"data-has-previous": hasPrevious ? "true" : "false",
|
|
16818
|
+
children: [
|
|
16819
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
|
|
16820
|
+
"div",
|
|
16748
16821
|
{
|
|
16749
|
-
className: StatTiles_default.
|
|
16750
|
-
|
|
16751
|
-
|
|
16752
|
-
|
|
16753
|
-
|
|
16754
|
-
|
|
16755
|
-
|
|
16756
|
-
|
|
16757
|
-
|
|
16822
|
+
className: [StatTiles_default.row, className].filter(Boolean).join(" "),
|
|
16823
|
+
"data-layout": layout,
|
|
16824
|
+
ref: rowRef,
|
|
16825
|
+
role: "list",
|
|
16826
|
+
style: rowStyle,
|
|
16827
|
+
children: items.map((item, index) => {
|
|
16828
|
+
var _a2;
|
|
16829
|
+
const tone = (_a2 = item.tone) != null ? _a2 : defaultToneForIndex2(index);
|
|
16830
|
+
return /* @__PURE__ */ (0, import_jsx_runtime113.jsx)("div", { className: StatTiles_default.statTileItem, role: "listitem", children: /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
|
|
16831
|
+
StatTile,
|
|
16832
|
+
{
|
|
16833
|
+
className: StatTiles_default.statTile,
|
|
16834
|
+
comparison: item.comparison,
|
|
16835
|
+
icon: item.icon,
|
|
16836
|
+
label: item.label,
|
|
16837
|
+
onClick: item.onClick,
|
|
16838
|
+
tone,
|
|
16839
|
+
trend: item.trend,
|
|
16840
|
+
trendTone: item.trendTone,
|
|
16841
|
+
trendValue: item.trendValue,
|
|
16842
|
+
value: item.value
|
|
16843
|
+
}
|
|
16844
|
+
) }, item.id);
|
|
16845
|
+
})
|
|
16758
16846
|
}
|
|
16759
|
-
)
|
|
16760
|
-
|
|
16847
|
+
),
|
|
16848
|
+
hasPrevious ? /* @__PURE__ */ (0, import_jsx_runtime113.jsx)("button", { "aria-label": "Show previous metrics", className: [StatTiles_default.moreButton, StatTiles_default.previousButton].join(" "), onClick: () => scrollTiles(-1), type: "button", children: /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(CatalogIcon, { iconName: "chevron-left" }) }) : null,
|
|
16849
|
+
hasMore ? /* @__PURE__ */ (0, import_jsx_runtime113.jsx)("button", { "aria-label": "Show more metrics", className: [StatTiles_default.moreButton, StatTiles_default.nextButton].join(" "), onClick: () => scrollTiles(1), type: "button", children: /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(CatalogIcon, { iconName: "chevron-right" }) }) : null
|
|
16850
|
+
]
|
|
16761
16851
|
}
|
|
16762
16852
|
);
|
|
16763
16853
|
}
|
|
16764
16854
|
|
|
16765
16855
|
// ../../components/PipelineOverview/PipelineOverview.tsx
|
|
16766
|
-
var
|
|
16856
|
+
var import_react57 = require("react");
|
|
16767
16857
|
|
|
16768
16858
|
// ../../components/PipelineOverview/PipelineOverview.module.css
|
|
16769
|
-
var PipelineOverview_default = {"
|
|
16859
|
+
var PipelineOverview_default = {"legendCopy":"opus_1ScjMZ_legendCopy","totalValue":"opus_1ScjMZ_totalValue","legend":"opus_1ScjMZ_legend","periodSelect":"opus_1ScjMZ_periodSelect","total":"opus_1ScjMZ_total","periodChevron":"opus_1ScjMZ_periodChevron","periodLabel":"opus_1ScjMZ_periodLabel","legendValue":"opus_1ScjMZ_legendValue","root":"opus_1ScjMZ_root","funnelSvg":"opus_1ScjMZ_funnelSvg","period":"opus_1ScjMZ_period","footer":"opus_1ScjMZ_footer","body":"opus_1ScjMZ_body","legendLabel":"opus_1ScjMZ_legendLabel","totalLabel":"opus_1ScjMZ_totalLabel","funnel":"opus_1ScjMZ_funnel","legendItem":"opus_1ScjMZ_legendItem","legendDot":"opus_1ScjMZ_legendDot"};
|
|
16770
16860
|
|
|
16771
16861
|
// ../../components/PipelineOverview/PipelineOverview.tsx
|
|
16772
16862
|
var import_jsx_runtime114 = require("react/jsx-runtime");
|
|
@@ -16906,11 +16996,11 @@ function funnelWidthForValue(value, maxValue2) {
|
|
|
16906
16996
|
return Math.max(FUNNEL_MAX_WIDTH * FUNNEL_MIN_SCALE, FUNNEL_MAX_WIDTH * scale);
|
|
16907
16997
|
}
|
|
16908
16998
|
function FunnelChart({ stages }) {
|
|
16909
|
-
const baseId = (0,
|
|
16999
|
+
const baseId = (0, import_react57.useId)().replace(/:/g, "");
|
|
16910
17000
|
const stageCount = stages.length;
|
|
16911
17001
|
const segmentHeight = (FUNNEL_VIEW_HEIGHT - SEGMENT_GAP * (stageCount - 1)) / stageCount;
|
|
16912
17002
|
const maxValue2 = Math.max(...stages.map((stage) => stage.value), 1);
|
|
16913
|
-
const segments = (0,
|
|
17003
|
+
const segments = (0, import_react57.useMemo)(() => {
|
|
16914
17004
|
return stages.map((stage, index) => {
|
|
16915
17005
|
const next = stages[index + 1];
|
|
16916
17006
|
const topWidth = funnelWidthForValue(stage.value, maxValue2);
|
|
@@ -17057,7 +17147,7 @@ function PipelineOverview({
|
|
|
17057
17147
|
}
|
|
17058
17148
|
|
|
17059
17149
|
// ../../components/DealsOverTime/DealsOverTime.tsx
|
|
17060
|
-
var
|
|
17150
|
+
var import_react58 = require("react");
|
|
17061
17151
|
|
|
17062
17152
|
// ../../lib/controls/dealsOverTimePalettes.ts
|
|
17063
17153
|
var dealsOverTimePalettes = {
|
|
@@ -17099,7 +17189,7 @@ function getDealsOverTimePalette(palette) {
|
|
|
17099
17189
|
}
|
|
17100
17190
|
|
|
17101
17191
|
// ../../components/DealsOverTime/DealsOverTime.module.css
|
|
17102
|
-
var DealsOverTime_default = {"
|
|
17192
|
+
var DealsOverTime_default = {"axisLabel":"opus_Hn1LW1_axisLabel","periodLabel":"opus_Hn1LW1_periodLabel","header":"opus_Hn1LW1_header","pointSolid":"opus_Hn1LW1_pointSolid","hitTarget":"opus_Hn1LW1_hitTarget","tooltipDate":"opus_Hn1LW1_tooltipDate","tooltip":"opus_Hn1LW1_tooltip","chartWrap":"opus_Hn1LW1_chartWrap","period":"opus_Hn1LW1_period","periodSelect":"opus_Hn1LW1_periodSelect","title":"opus_Hn1LW1_title","lineGlowSoft":"opus_Hn1LW1_lineGlowSoft","pointRing":"opus_Hn1LW1_pointRing","root":"opus_Hn1LW1_root","pointCore":"opus_Hn1LW1_pointCore","gridLine":"opus_Hn1LW1_gridLine","tooltipValue":"opus_Hn1LW1_tooltipValue","lineGlowMid":"opus_Hn1LW1_lineGlowMid","line":"opus_Hn1LW1_line","pointGlow":"opus_Hn1LW1_pointGlow","area":"opus_Hn1LW1_area","chart":"opus_Hn1LW1_chart"};
|
|
17103
17193
|
|
|
17104
17194
|
// ../../components/DealsOverTime/DealsOverTime.tsx
|
|
17105
17195
|
var import_jsx_runtime115 = require("react/jsx-runtime");
|
|
@@ -17149,9 +17239,9 @@ function plotX(index, count, plotLeft, plotRight) {
|
|
|
17149
17239
|
return start + index / (count - 1) * span;
|
|
17150
17240
|
}
|
|
17151
17241
|
function useChartWidth(minWidth = CHART_MIN_WIDTH, fallback = CHART_DEFAULT_WIDTH) {
|
|
17152
|
-
const wrapRef = (0,
|
|
17153
|
-
const [chartWidth, setChartWidth] = (0,
|
|
17154
|
-
(0,
|
|
17242
|
+
const wrapRef = (0, import_react58.useRef)(null);
|
|
17243
|
+
const [chartWidth, setChartWidth] = (0, import_react58.useState)(fallback);
|
|
17244
|
+
(0, import_react58.useEffect)(() => {
|
|
17155
17245
|
const node = wrapRef.current;
|
|
17156
17246
|
if (!node) {
|
|
17157
17247
|
return;
|
|
@@ -17174,20 +17264,20 @@ function DealsOverTimeChart({
|
|
|
17174
17264
|
valueLabel = "Deals"
|
|
17175
17265
|
}) {
|
|
17176
17266
|
var _a2, _b2, _c2;
|
|
17177
|
-
const areaGradientId = (0,
|
|
17178
|
-
const areaMaskGradientId = (0,
|
|
17179
|
-
const areaMaskId = (0,
|
|
17180
|
-
const lineFadeGradientId = (0,
|
|
17181
|
-
const lineGlowSoftFilterId = (0,
|
|
17182
|
-
const lineGlowMidFilterId = (0,
|
|
17183
|
-
const pointGlowFilterId = (0,
|
|
17184
|
-
const [activeIndex, setActiveIndex] = (0,
|
|
17267
|
+
const areaGradientId = (0, import_react58.useId)();
|
|
17268
|
+
const areaMaskGradientId = (0, import_react58.useId)();
|
|
17269
|
+
const areaMaskId = (0, import_react58.useId)();
|
|
17270
|
+
const lineFadeGradientId = (0, import_react58.useId)();
|
|
17271
|
+
const lineGlowSoftFilterId = (0, import_react58.useId)();
|
|
17272
|
+
const lineGlowMidFilterId = (0, import_react58.useId)();
|
|
17273
|
+
const pointGlowFilterId = (0, import_react58.useId)();
|
|
17274
|
+
const [activeIndex, setActiveIndex] = (0, import_react58.useState)(null);
|
|
17185
17275
|
const { chartWidth, wrapRef } = useChartWidth();
|
|
17186
17276
|
const colors = getDealsOverTimePalette(palette);
|
|
17187
17277
|
const plotBottom = CHART_HEIGHT - PLOT_BOTTOM;
|
|
17188
17278
|
const plotRight = chartWidth - PLOT_RIGHT;
|
|
17189
17279
|
const plotHeight = plotBottom - PLOT_TOP;
|
|
17190
|
-
const yTicks = (0,
|
|
17280
|
+
const yTicks = (0, import_react58.useMemo)(() => {
|
|
17191
17281
|
const step = 20;
|
|
17192
17282
|
const ticks = [];
|
|
17193
17283
|
for (let value = 0; value <= maxValue2; value += step) {
|
|
@@ -17198,7 +17288,7 @@ function DealsOverTimeChart({
|
|
|
17198
17288
|
}
|
|
17199
17289
|
return ticks;
|
|
17200
17290
|
}, [maxValue2]);
|
|
17201
|
-
const points = (0,
|
|
17291
|
+
const points = (0, import_react58.useMemo)(() => {
|
|
17202
17292
|
if (!data.length) {
|
|
17203
17293
|
return [];
|
|
17204
17294
|
}
|
|
@@ -17208,7 +17298,7 @@ function DealsOverTimeChart({
|
|
|
17208
17298
|
return { datum, x, y };
|
|
17209
17299
|
});
|
|
17210
17300
|
}, [chartWidth, data, maxValue2, plotBottom, plotHeight, plotRight]);
|
|
17211
|
-
const renderPoints = (0,
|
|
17301
|
+
const renderPoints = (0, import_react58.useMemo)(() => {
|
|
17212
17302
|
if (!points.length) {
|
|
17213
17303
|
return [];
|
|
17214
17304
|
}
|
|
@@ -17441,7 +17531,7 @@ function DealsOverTime({
|
|
|
17441
17531
|
title = "Deals Over Time",
|
|
17442
17532
|
valueLabel = "Deals"
|
|
17443
17533
|
}) {
|
|
17444
|
-
const periodId = (0,
|
|
17534
|
+
const periodId = (0, import_react58.useId)();
|
|
17445
17535
|
const resolvedMax = Math.max(1, maxValue2);
|
|
17446
17536
|
return /* @__PURE__ */ (0, import_jsx_runtime115.jsxs)("div", { className: [DealsOverTime_default.root, className].filter(Boolean).join(" "), "data-palette": palette, children: [
|
|
17447
17537
|
/* @__PURE__ */ (0, import_jsx_runtime115.jsxs)("header", { className: DealsOverTime_default.header, children: [
|
|
@@ -17465,10 +17555,10 @@ function DealsOverTime({
|
|
|
17465
17555
|
}
|
|
17466
17556
|
|
|
17467
17557
|
// ../../components/UpcomingTasks/UpcomingTasks.tsx
|
|
17468
|
-
var
|
|
17558
|
+
var import_react59 = require("react");
|
|
17469
17559
|
|
|
17470
17560
|
// ../../components/DashboardListWidget/shared.module.css
|
|
17471
|
-
var shared_default = {"
|
|
17561
|
+
var shared_default = {"footer":"opus_8R-PJ3_footer","iconWrap":"opus_8R-PJ3_iconWrap","list":"opus_8R-PJ3_list","itemAction":"opus_8R-PJ3_itemAction","footerAction":"opus_8R-PJ3_footerAction","footerIcon":"opus_8R-PJ3_footerIcon"};
|
|
17472
17562
|
|
|
17473
17563
|
// ../../components/DashboardListWidget/DashboardListFooter.tsx
|
|
17474
17564
|
var import_jsx_runtime116 = require("react/jsx-runtime");
|
|
@@ -17481,7 +17571,7 @@ function DashboardListFooter({ footerHref, footerLabel, onFooterClick }) {
|
|
|
17481
17571
|
}
|
|
17482
17572
|
|
|
17483
17573
|
// ../../components/UpcomingTasks/UpcomingTasks.module.css
|
|
17484
|
-
var UpcomingTasks_default = {"
|
|
17574
|
+
var UpcomingTasks_default = {"root":"opus_mFTWWU_root","title":"opus_mFTWWU_title","header":"opus_mFTWWU_header","item":"opus_mFTWWU_item","list":"opus_mFTWWU_list","taskCheckbox":"opus_mFTWWU_taskCheckbox","itemTitle":"opus_mFTWWU_itemTitle","itemAction":"opus_mFTWWU_itemAction","itemSubtitle":"opus_mFTWWU_itemSubtitle","time":"opus_mFTWWU_time","itemBody":"opus_mFTWWU_itemBody","copy":"opus_mFTWWU_copy"};
|
|
17485
17575
|
|
|
17486
17576
|
// ../../components/UpcomingTasks/UpcomingTasks.tsx
|
|
17487
17577
|
var import_jsx_runtime117 = require("react/jsx-runtime");
|
|
@@ -17502,15 +17592,15 @@ function UpcomingTasks({
|
|
|
17502
17592
|
tasks,
|
|
17503
17593
|
title = "Upcoming Tasks"
|
|
17504
17594
|
}) {
|
|
17505
|
-
const [localCompleted, setLocalCompleted] = (0,
|
|
17506
|
-
const isTaskCompleted = (0,
|
|
17595
|
+
const [localCompleted, setLocalCompleted] = (0, import_react59.useState)({});
|
|
17596
|
+
const isTaskCompleted = (0, import_react59.useCallback)(
|
|
17507
17597
|
(task) => {
|
|
17508
17598
|
var _a2, _b2;
|
|
17509
17599
|
return (_b2 = (_a2 = task.completed) != null ? _a2 : localCompleted[task.id]) != null ? _b2 : false;
|
|
17510
17600
|
},
|
|
17511
17601
|
[localCompleted]
|
|
17512
17602
|
);
|
|
17513
|
-
const handleTaskCompleteChange = (0,
|
|
17603
|
+
const handleTaskCompleteChange = (0, import_react59.useCallback)(
|
|
17514
17604
|
(task, completed) => {
|
|
17515
17605
|
onTaskCompleteChange == null ? void 0 : onTaskCompleteChange(task, completed);
|
|
17516
17606
|
if (onTaskCompleteChange === void 0) {
|
|
@@ -17566,7 +17656,7 @@ function UpcomingTasks({
|
|
|
17566
17656
|
}
|
|
17567
17657
|
|
|
17568
17658
|
// ../../components/RecentActivity/RecentActivity.module.css
|
|
17569
|
-
var RecentActivity_default = {"
|
|
17659
|
+
var RecentActivity_default = {"item":"opus_PR08Ax_item","header":"opus_PR08Ax_header","copy":"opus_PR08Ax_copy","itemTitle":"opus_PR08Ax_itemTitle","itemSubtitle":"opus_PR08Ax_itemSubtitle","time":"opus_PR08Ax_time","itemAction":"opus_PR08Ax_itemAction","iconWrap":"opus_PR08Ax_iconWrap","title":"opus_PR08Ax_title","root":"opus_PR08Ax_root","list":"opus_PR08Ax_list"};
|
|
17570
17660
|
|
|
17571
17661
|
// ../../components/RecentActivity/RecentActivity.tsx
|
|
17572
17662
|
var import_jsx_runtime118 = require("react/jsx-runtime");
|
|
@@ -17619,10 +17709,10 @@ function RecentActivity({
|
|
|
17619
17709
|
}
|
|
17620
17710
|
|
|
17621
17711
|
// ../../components/NoteComposer/NoteComposer.tsx
|
|
17622
|
-
var
|
|
17712
|
+
var import_react62 = require("react");
|
|
17623
17713
|
|
|
17624
17714
|
// ../../components/EmojiPicker/EmojiPicker.tsx
|
|
17625
|
-
var
|
|
17715
|
+
var import_react60 = require("react");
|
|
17626
17716
|
var import_react_dom6 = require("react-dom");
|
|
17627
17717
|
|
|
17628
17718
|
// ../../lib/emojiCatalog.generated.ts
|
|
@@ -39352,7 +39442,7 @@ function opusThemeTokens(theme) {
|
|
|
39352
39442
|
}
|
|
39353
39443
|
|
|
39354
39444
|
// ../../components/EmojiPicker/EmojiPicker.module.css
|
|
39355
|
-
var EmojiPicker_default = {"panel":"opus__tyRxw_panel","
|
|
39445
|
+
var EmojiPicker_default = {"panel":"opus__tyRxw_panel","root":"opus__tyRxw_root","search":"opus__tyRxw_search","empty":"opus__tyRxw_empty","emojiButton":"opus__tyRxw_emojiButton","categoryButton":"opus__tyRxw_categoryButton","categories":"opus__tyRxw_categories","srOnly":"opus__tyRxw_srOnly","searchHint":"opus__tyRxw_searchHint","grid":"opus__tyRxw_grid"};
|
|
39356
39446
|
|
|
39357
39447
|
// ../../components/EmojiPicker/EmojiPicker.tsx
|
|
39358
39448
|
var import_jsx_runtime119 = require("react/jsx-runtime");
|
|
@@ -39361,9 +39451,9 @@ function resolveDefaultCategory(recentEmojis) {
|
|
|
39361
39451
|
return recentEmojis.length ? "recent" : DEFAULT_CATEGORY;
|
|
39362
39452
|
}
|
|
39363
39453
|
function mergeTrigger3(trigger, triggerProps, triggerClassName) {
|
|
39364
|
-
if ((0,
|
|
39454
|
+
if ((0, import_react60.isValidElement)(trigger)) {
|
|
39365
39455
|
const element = trigger;
|
|
39366
|
-
return (0,
|
|
39456
|
+
return (0, import_react60.cloneElement)(element, __spreadProps(__spreadValues({}, triggerProps), {
|
|
39367
39457
|
className: [element.props.className, triggerClassName].filter(Boolean).join(" ") || void 0,
|
|
39368
39458
|
onClick: () => {
|
|
39369
39459
|
var _a2, _b2;
|
|
@@ -39389,25 +39479,25 @@ function EmojiPicker({
|
|
|
39389
39479
|
triggerClassName
|
|
39390
39480
|
}) {
|
|
39391
39481
|
const theme = useOpusTheme();
|
|
39392
|
-
const panelId = (0,
|
|
39393
|
-
const rootRef = (0,
|
|
39394
|
-
const panelRef = (0,
|
|
39395
|
-
const searchRef = (0,
|
|
39396
|
-
const [internalOpen, setInternalOpen] = (0,
|
|
39397
|
-
const [portalReady, setPortalReady] = (0,
|
|
39398
|
-
const [portalStyle, setPortalStyle] = (0,
|
|
39399
|
-
const [query, setQuery] = (0,
|
|
39400
|
-
const [activeCategory, setActiveCategory] = (0,
|
|
39401
|
-
const [recentEmojis, setRecentEmojis] = (0,
|
|
39482
|
+
const panelId = (0, import_react60.useId)();
|
|
39483
|
+
const rootRef = (0, import_react60.useRef)(null);
|
|
39484
|
+
const panelRef = (0, import_react60.useRef)(null);
|
|
39485
|
+
const searchRef = (0, import_react60.useRef)(null);
|
|
39486
|
+
const [internalOpen, setInternalOpen] = (0, import_react60.useState)(defaultOpen);
|
|
39487
|
+
const [portalReady, setPortalReady] = (0, import_react60.useState)(false);
|
|
39488
|
+
const [portalStyle, setPortalStyle] = (0, import_react60.useState)(null);
|
|
39489
|
+
const [query, setQuery] = (0, import_react60.useState)("");
|
|
39490
|
+
const [activeCategory, setActiveCategory] = (0, import_react60.useState)(DEFAULT_CATEGORY);
|
|
39491
|
+
const [recentEmojis, setRecentEmojis] = (0, import_react60.useState)([]);
|
|
39402
39492
|
const controlled = open !== void 0;
|
|
39403
39493
|
const visible = controlled ? open : internalOpen;
|
|
39404
39494
|
const hasRecentEmojis = recentEmojis.length > 0;
|
|
39405
39495
|
const searching = query.trim().length > 0;
|
|
39406
|
-
const filteredEmojis = (0,
|
|
39496
|
+
const filteredEmojis = (0, import_react60.useMemo)(
|
|
39407
39497
|
() => filterEmojiCatalog(query, activeCategory, recentEmojis),
|
|
39408
39498
|
[activeCategory, query, recentEmojis]
|
|
39409
39499
|
);
|
|
39410
|
-
const categoryTabs = (0,
|
|
39500
|
+
const categoryTabs = (0, import_react60.useMemo)(
|
|
39411
39501
|
() => hasRecentEmojis ? [
|
|
39412
39502
|
{
|
|
39413
39503
|
iconName: RECENT_EMOJI_CATEGORY.iconName,
|
|
@@ -39454,7 +39544,7 @@ function EmojiPicker({
|
|
|
39454
39544
|
onSelect(emoji);
|
|
39455
39545
|
setVisible(false);
|
|
39456
39546
|
};
|
|
39457
|
-
(0,
|
|
39547
|
+
(0, import_react60.useEffect)(() => {
|
|
39458
39548
|
if (!visible) {
|
|
39459
39549
|
return;
|
|
39460
39550
|
}
|
|
@@ -39462,11 +39552,11 @@ function EmojiPicker({
|
|
|
39462
39552
|
setRecentEmojis(nextRecentEmojis);
|
|
39463
39553
|
setActiveCategory(resolveDefaultCategory(nextRecentEmojis));
|
|
39464
39554
|
}, [visible]);
|
|
39465
|
-
(0,
|
|
39555
|
+
(0, import_react60.useEffect)(() => {
|
|
39466
39556
|
const timeout = window.setTimeout(() => setPortalReady(true), 0);
|
|
39467
39557
|
return () => window.clearTimeout(timeout);
|
|
39468
39558
|
}, []);
|
|
39469
|
-
(0,
|
|
39559
|
+
(0, import_react60.useLayoutEffect)(() => {
|
|
39470
39560
|
if (!visible || !rootRef.current) {
|
|
39471
39561
|
setPortalStyle(null);
|
|
39472
39562
|
return;
|
|
@@ -39493,7 +39583,7 @@ function EmojiPicker({
|
|
|
39493
39583
|
window.removeEventListener("scroll", updatePosition, true);
|
|
39494
39584
|
};
|
|
39495
39585
|
}, [placement, visible, query, activeCategory, searching, recentEmojis.length, categoryTabs.length]);
|
|
39496
|
-
(0,
|
|
39586
|
+
(0, import_react60.useEffect)(() => {
|
|
39497
39587
|
if (!visible) {
|
|
39498
39588
|
return;
|
|
39499
39589
|
}
|
|
@@ -39627,10 +39717,10 @@ function EmojiPicker({
|
|
|
39627
39717
|
}
|
|
39628
39718
|
|
|
39629
39719
|
// ../../components/NoteTag/NoteTag.tsx
|
|
39630
|
-
var
|
|
39720
|
+
var import_react61 = require("react");
|
|
39631
39721
|
|
|
39632
39722
|
// ../../components/NoteTag/NoteTag.module.css
|
|
39633
|
-
var NoteTag_default = {"
|
|
39723
|
+
var NoteTag_default = {"options":"opus__ZnbtA_options","removeButton":"opus__ZnbtA_removeButton","picker":"opus__ZnbtA_picker","tag":"opus__ZnbtA_tag","menuHeader":"opus__ZnbtA_menuHeader","list":"opus__ZnbtA_list","option":"opus__ZnbtA_option","menu":"opus__ZnbtA_menu"};
|
|
39634
39724
|
|
|
39635
39725
|
// ../../components/NoteTag/NoteTag.tsx
|
|
39636
39726
|
var import_jsx_runtime120 = require("react/jsx-runtime");
|
|
@@ -39712,10 +39802,10 @@ function NoteTagPicker({
|
|
|
39712
39802
|
options = DEFAULT_NOTE_TAG_OPTIONS,
|
|
39713
39803
|
selectedTags
|
|
39714
39804
|
}) {
|
|
39715
|
-
const rootRef = (0,
|
|
39716
|
-
const [isOpen, setIsOpen] = (0,
|
|
39717
|
-
const selectedKeys = (0,
|
|
39718
|
-
(0,
|
|
39805
|
+
const rootRef = (0, import_react61.useRef)(null);
|
|
39806
|
+
const [isOpen, setIsOpen] = (0, import_react61.useState)(false);
|
|
39807
|
+
const selectedKeys = (0, import_react61.useMemo)(() => new Set(selectedTags.map(getTagKey)), [selectedTags]);
|
|
39808
|
+
(0, import_react61.useEffect)(() => {
|
|
39719
39809
|
if (!isOpen) {
|
|
39720
39810
|
return;
|
|
39721
39811
|
}
|
|
@@ -39780,7 +39870,7 @@ function NoteTagPicker({
|
|
|
39780
39870
|
}
|
|
39781
39871
|
|
|
39782
39872
|
// ../../components/NoteComposer/NoteComposer.module.css
|
|
39783
|
-
var NoteComposer_default = {"
|
|
39873
|
+
var NoteComposer_default = {"saveButton":"opus_pQVlNo_saveButton","selectedTags":"opus_pQVlNo_selectedTags","tools":"opus_pQVlNo_tools","textarea":"opus_pQVlNo_textarea","root":"opus_pQVlNo_root","footer":"opus_pQVlNo_footer","toolButton":"opus_pQVlNo_toolButton"};
|
|
39784
39874
|
|
|
39785
39875
|
// ../../components/NoteComposer/NoteComposer.tsx
|
|
39786
39876
|
var import_jsx_runtime121 = require("react/jsx-runtime");
|
|
@@ -39804,11 +39894,11 @@ function NoteComposer({
|
|
|
39804
39894
|
tagOptions = DEFAULT_NOTE_TAG_OPTIONS,
|
|
39805
39895
|
value
|
|
39806
39896
|
}) {
|
|
39807
|
-
const textareaRef = (0,
|
|
39808
|
-
const selectionRef = (0,
|
|
39809
|
-
const pendingCaretRef = (0,
|
|
39810
|
-
const [internalValue, setInternalValue] = (0,
|
|
39811
|
-
const [internalTags, setInternalTags] = (0,
|
|
39897
|
+
const textareaRef = (0, import_react62.useRef)(null);
|
|
39898
|
+
const selectionRef = (0, import_react62.useRef)({ end: 0, start: 0 });
|
|
39899
|
+
const pendingCaretRef = (0, import_react62.useRef)(null);
|
|
39900
|
+
const [internalValue, setInternalValue] = (0, import_react62.useState)(defaultValue);
|
|
39901
|
+
const [internalTags, setInternalTags] = (0, import_react62.useState)([]);
|
|
39812
39902
|
const currentValue = value != null ? value : internalValue;
|
|
39813
39903
|
const currentTags = selectedTags != null ? selectedTags : internalTags;
|
|
39814
39904
|
const setValue = (nextValue) => {
|
|
@@ -39869,7 +39959,7 @@ function NoteComposer({
|
|
|
39869
39959
|
onEmojiSelect == null ? void 0 : onEmojiSelect(emoji);
|
|
39870
39960
|
pendingCaretRef.current = nextCaret;
|
|
39871
39961
|
};
|
|
39872
|
-
(0,
|
|
39962
|
+
(0, import_react62.useLayoutEffect)(() => {
|
|
39873
39963
|
if (pendingCaretRef.current === null) {
|
|
39874
39964
|
return;
|
|
39875
39965
|
}
|
|
@@ -39978,13 +40068,13 @@ function NoteComposer({
|
|
|
39978
40068
|
}
|
|
39979
40069
|
|
|
39980
40070
|
// ../../components/NotesActivity/NotesActivity.tsx
|
|
39981
|
-
var
|
|
40071
|
+
var import_react64 = require("react");
|
|
39982
40072
|
|
|
39983
40073
|
// ../../components/ContentTimeline/ContentTimeline.tsx
|
|
39984
|
-
var
|
|
40074
|
+
var import_react63 = require("react");
|
|
39985
40075
|
|
|
39986
40076
|
// ../../components/ContentTimeline/ContentTimeline.module.css
|
|
39987
|
-
var ContentTimeline_default = {"
|
|
40077
|
+
var ContentTimeline_default = {"time":"opus_vApy-v_time","tags":"opus_vApy-v_tags","list":"opus_vApy-v_list","title":"opus_vApy-v_title","content":"opus_vApy-v_content","tag":"opus_vApy-v_tag","children":"opus_vApy-v_children","description":"opus_vApy-v_description","markerSlot":"opus_vApy-v_markerSlot","line":"opus_vApy-v_line","item":"opus_vApy-v_item","body":"opus_vApy-v_body","metaRow":"opus_vApy-v_metaRow","itemAction":"opus_vApy-v_itemAction","statusDot":"opus_vApy-v_statusDot","itemFooter":"opus_vApy-v_itemFooter","rail":"opus_vApy-v_rail","head":"opus_vApy-v_head","dot":"opus_vApy-v_dot","groupLabel":"opus_vApy-v_groupLabel"};
|
|
39988
40078
|
|
|
39989
40079
|
// ../../components/ContentTimeline/ContentTimeline.tsx
|
|
39990
40080
|
var import_jsx_runtime122 = require("react/jsx-runtime");
|
|
@@ -40083,7 +40173,7 @@ function ContentTimeline({ groups, items, onItemClick, onItemDoubleClick, varian
|
|
|
40083
40173
|
const resolvedGroups = groups != null ? groups : items ? [{ items }] : [];
|
|
40084
40174
|
return /* @__PURE__ */ (0, import_jsx_runtime122.jsx)("ol", { className: ContentTimeline_default.list, "data-content-timeline-list": "true", children: resolvedGroups.map((group, groupIndex) => {
|
|
40085
40175
|
var _a2;
|
|
40086
|
-
return /* @__PURE__ */ (0, import_jsx_runtime122.jsxs)(
|
|
40176
|
+
return /* @__PURE__ */ (0, import_jsx_runtime122.jsxs)(import_react63.Fragment, { children: [
|
|
40087
40177
|
group.label ? /* @__PURE__ */ (0, import_jsx_runtime122.jsx)("li", { "aria-hidden": "true", className: ContentTimeline_default.groupLabel, children: group.label }) : null,
|
|
40088
40178
|
group.items.map(
|
|
40089
40179
|
(item, index) => renderTimelineItem({
|
|
@@ -40101,7 +40191,7 @@ function ContentTimeline({ groups, items, onItemClick, onItemDoubleClick, varian
|
|
|
40101
40191
|
}
|
|
40102
40192
|
|
|
40103
40193
|
// ../../components/NotesActivity/NotesActivity.module.css
|
|
40104
|
-
var NotesActivity_default = {"composer":"opus_ThZ-Bi_composer","
|
|
40194
|
+
var NotesActivity_default = {"composer":"opus_ThZ-Bi_composer","tabIcon":"opus_ThZ-Bi_tabIcon","replyBlock":"opus_ThZ-Bi_replyBlock","notesActivityEnterFromLeft":"opus_ThZ-Bi_notesActivityEnterFromLeft","footer":"opus_ThZ-Bi_footer","replyTags":"opus_ThZ-Bi_replyTags","replyInputShell":"opus_ThZ-Bi_replyInputShell","root":"opus_ThZ-Bi_root","notesActivityEnterFromRight":"opus_ThZ-Bi_notesActivityEnterFromRight","threadConnectors":"opus_ThZ-Bi_threadConnectors","replyTools":"opus_ThZ-Bi_replyTools","tabs":"opus_ThZ-Bi_tabs","replyInput":"opus_ThZ-Bi_replyInput","tab":"opus_ThZ-Bi_tab","replyToolButton":"opus_ThZ-Bi_replyToolButton","footerAction":"opus_ThZ-Bi_footerAction","feed":"opus_ThZ-Bi_feed","replyComposer":"opus_ThZ-Bi_replyComposer","footerIcon":"opus_ThZ-Bi_footerIcon","threadItems":"opus_ThZ-Bi_threadItems"};
|
|
40105
40195
|
|
|
40106
40196
|
// ../../components/NotesActivity/NotesActivity.tsx
|
|
40107
40197
|
var import_jsx_runtime123 = require("react/jsx-runtime");
|
|
@@ -40125,9 +40215,9 @@ function ThreadedTimeline({
|
|
|
40125
40215
|
onItemClick,
|
|
40126
40216
|
onItemDoubleClick
|
|
40127
40217
|
}) {
|
|
40128
|
-
const rootRef = (0,
|
|
40129
|
-
const [connectorPaths, setConnectorPaths] = (0,
|
|
40130
|
-
const measureConnectors = (0,
|
|
40218
|
+
const rootRef = (0, import_react64.useRef)(null);
|
|
40219
|
+
const [connectorPaths, setConnectorPaths] = (0, import_react64.useState)([]);
|
|
40220
|
+
const measureConnectors = (0, import_react64.useCallback)(() => {
|
|
40131
40221
|
const root = rootRef.current;
|
|
40132
40222
|
if (!root) {
|
|
40133
40223
|
return;
|
|
@@ -40174,7 +40264,7 @@ function ThreadedTimeline({
|
|
|
40174
40264
|
return nextPaths;
|
|
40175
40265
|
});
|
|
40176
40266
|
}, []);
|
|
40177
|
-
(0,
|
|
40267
|
+
(0, import_react64.useLayoutEffect)(() => {
|
|
40178
40268
|
const root = rootRef.current;
|
|
40179
40269
|
if (!root) {
|
|
40180
40270
|
return;
|
|
@@ -40234,9 +40324,9 @@ function InlineReplyComposer({
|
|
|
40234
40324
|
tagOptions,
|
|
40235
40325
|
value
|
|
40236
40326
|
}) {
|
|
40237
|
-
const textareaRef = (0,
|
|
40327
|
+
const textareaRef = (0, import_react64.useRef)(null);
|
|
40238
40328
|
const hasTools = showAttach || showEmoji || showMention || showTags;
|
|
40239
|
-
(0,
|
|
40329
|
+
(0, import_react64.useLayoutEffect)(() => {
|
|
40240
40330
|
const textarea = textareaRef.current;
|
|
40241
40331
|
if (!textarea) {
|
|
40242
40332
|
return;
|
|
@@ -40245,7 +40335,7 @@ function InlineReplyComposer({
|
|
|
40245
40335
|
const cursor = textarea.value.length;
|
|
40246
40336
|
textarea.setSelectionRange(cursor, cursor);
|
|
40247
40337
|
}, []);
|
|
40248
|
-
(0,
|
|
40338
|
+
(0, import_react64.useLayoutEffect)(() => {
|
|
40249
40339
|
const textarea = textareaRef.current;
|
|
40250
40340
|
if (!textarea) {
|
|
40251
40341
|
return;
|
|
@@ -40468,35 +40558,35 @@ function NotesActivity({
|
|
|
40468
40558
|
showMention = true,
|
|
40469
40559
|
showTags = true
|
|
40470
40560
|
}) {
|
|
40471
|
-
const singleClickTimerRef = (0,
|
|
40472
|
-
const [internalActiveTab, setInternalActiveTab] = (0,
|
|
40561
|
+
const singleClickTimerRef = (0, import_react64.useRef)(null);
|
|
40562
|
+
const [internalActiveTab, setInternalActiveTab] = (0, import_react64.useState)(defaultTab);
|
|
40473
40563
|
const activeTab = controlledActiveTab != null ? controlledActiveTab : internalActiveTab;
|
|
40474
|
-
const [activeReplyNoteId, setActiveReplyNoteId] = (0,
|
|
40564
|
+
const [activeReplyNoteId, setActiveReplyNoteId] = (0, import_react64.useState)(
|
|
40475
40565
|
null
|
|
40476
40566
|
);
|
|
40477
|
-
const [commentsByNoteId, setCommentsByNoteId] = (0,
|
|
40567
|
+
const [commentsByNoteId, setCommentsByNoteId] = (0, import_react64.useState)(
|
|
40478
40568
|
{}
|
|
40479
40569
|
);
|
|
40480
|
-
const [createdNotes, setCreatedNotes] = (0,
|
|
40481
|
-
const [draftsByNoteId, setDraftsByNoteId] = (0,
|
|
40570
|
+
const [createdNotes, setCreatedNotes] = (0, import_react64.useState)([]);
|
|
40571
|
+
const [draftsByNoteId, setDraftsByNoteId] = (0, import_react64.useState)(
|
|
40482
40572
|
{}
|
|
40483
40573
|
);
|
|
40484
|
-
const [draftTagsByNoteId, setDraftTagsByNoteId] = (0,
|
|
40485
|
-
const [topDraft, setTopDraft] = (0,
|
|
40486
|
-
const [topTags, setTopTags] = (0,
|
|
40487
|
-
const allItems = (0,
|
|
40574
|
+
const [draftTagsByNoteId, setDraftTagsByNoteId] = (0, import_react64.useState)({});
|
|
40575
|
+
const [topDraft, setTopDraft] = (0, import_react64.useState)("");
|
|
40576
|
+
const [topTags, setTopTags] = (0, import_react64.useState)([]);
|
|
40577
|
+
const allItems = (0, import_react64.useMemo)(
|
|
40488
40578
|
() => [...createdNotes, ...items],
|
|
40489
40579
|
[createdNotes, items]
|
|
40490
40580
|
);
|
|
40491
|
-
const visibleItems = (0,
|
|
40581
|
+
const visibleItems = (0, import_react64.useMemo)(
|
|
40492
40582
|
() => activeTab === "activity" ? allItems.filter((item) => item.kind === "activity") : allItems,
|
|
40493
40583
|
[activeTab, allItems]
|
|
40494
40584
|
);
|
|
40495
|
-
const groupedItems = (0,
|
|
40585
|
+
const groupedItems = (0, import_react64.useMemo)(
|
|
40496
40586
|
() => groupItemsByDate(visibleItems),
|
|
40497
40587
|
[visibleItems]
|
|
40498
40588
|
);
|
|
40499
|
-
const replyTargetsById = (0,
|
|
40589
|
+
const replyTargetsById = (0, import_react64.useMemo)(() => {
|
|
40500
40590
|
var _a2;
|
|
40501
40591
|
const map = /* @__PURE__ */ new Map();
|
|
40502
40592
|
for (const item of allItems) {
|
|
@@ -40631,14 +40721,14 @@ function NotesActivity({
|
|
|
40631
40721
|
setActiveReplyNoteId(null);
|
|
40632
40722
|
onOpenTask == null ? void 0 : onOpenTask(source);
|
|
40633
40723
|
};
|
|
40634
|
-
(0,
|
|
40724
|
+
(0, import_react64.useEffect)(() => {
|
|
40635
40725
|
return () => {
|
|
40636
40726
|
if (singleClickTimerRef.current !== null) {
|
|
40637
40727
|
window.clearTimeout(singleClickTimerRef.current);
|
|
40638
40728
|
}
|
|
40639
40729
|
};
|
|
40640
40730
|
}, []);
|
|
40641
|
-
(0,
|
|
40731
|
+
(0, import_react64.useEffect)(() => {
|
|
40642
40732
|
if (!activeReplyNoteId) {
|
|
40643
40733
|
return;
|
|
40644
40734
|
}
|
|
@@ -40665,128 +40755,136 @@ function NotesActivity({
|
|
|
40665
40755
|
/* @__PURE__ */ (0, import_jsx_runtime123.jsx)("span", { children: activeFooterLabel }),
|
|
40666
40756
|
/* @__PURE__ */ (0, import_jsx_runtime123.jsx)("span", { "aria-hidden": "true", className: NotesActivity_default.footerIcon, children: /* @__PURE__ */ (0, import_jsx_runtime123.jsx)(CatalogIcon, { iconName: "arrow-right" }) })
|
|
40667
40757
|
] });
|
|
40668
|
-
return /* @__PURE__ */ (0, import_jsx_runtime123.jsxs)(
|
|
40669
|
-
|
|
40670
|
-
|
|
40671
|
-
|
|
40672
|
-
|
|
40673
|
-
|
|
40674
|
-
|
|
40675
|
-
|
|
40676
|
-
"
|
|
40677
|
-
{
|
|
40678
|
-
"aria-selected": activeTab === tab,
|
|
40679
|
-
className: NotesActivity_default.tab,
|
|
40680
|
-
"data-active": activeTab === tab,
|
|
40681
|
-
onClick: () => setTab(tab),
|
|
40682
|
-
role: "tab",
|
|
40683
|
-
type: "button",
|
|
40684
|
-
children: [
|
|
40685
|
-
/* @__PURE__ */ (0, import_jsx_runtime123.jsx)("span", { "aria-hidden": "true", className: NotesActivity_default.tabIcon, children: /* @__PURE__ */ (0, import_jsx_runtime123.jsx)(
|
|
40686
|
-
CatalogIcon,
|
|
40687
|
-
{
|
|
40688
|
-
iconName: tab === "notes" ? "note-sticky" : "clock-rotate-left"
|
|
40689
|
-
}
|
|
40690
|
-
) }),
|
|
40691
|
-
tab === "notes" ? "Notes" : "Activity"
|
|
40692
|
-
]
|
|
40693
|
-
},
|
|
40694
|
-
tab
|
|
40695
|
-
))
|
|
40696
|
-
}
|
|
40697
|
-
),
|
|
40698
|
-
activeTab === "notes" ? /* @__PURE__ */ (0, import_jsx_runtime123.jsx)(
|
|
40699
|
-
NoteComposer,
|
|
40700
|
-
{
|
|
40701
|
-
className: NotesActivity_default.composer,
|
|
40702
|
-
onAttachClick: onNoteAttachClick,
|
|
40703
|
-
onChange: setTopDraft,
|
|
40704
|
-
onEmojiSelect: onNoteEmojiSelect,
|
|
40705
|
-
onMentionClick: onNoteMentionClick,
|
|
40706
|
-
onSave: handleTopLevelSave,
|
|
40707
|
-
onTagsChange: setTopTags,
|
|
40708
|
-
placeholder: composerPlaceholder,
|
|
40709
|
-
saveButtonLabel,
|
|
40710
|
-
selectedTags: topTags,
|
|
40711
|
-
showAttach,
|
|
40712
|
-
showEmoji,
|
|
40713
|
-
showMention,
|
|
40714
|
-
showTags,
|
|
40715
|
-
tagOptions: noteTagOptions,
|
|
40716
|
-
value: topDraft
|
|
40717
|
-
}
|
|
40718
|
-
) : null,
|
|
40719
|
-
/* @__PURE__ */ (0, import_jsx_runtime123.jsx)(
|
|
40720
|
-
CustomScrollbar,
|
|
40721
|
-
{
|
|
40722
|
-
label: "Notes and activity feed",
|
|
40723
|
-
className: NotesActivity_default.feed,
|
|
40724
|
-
orientation: "vertical",
|
|
40725
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime123.jsx)(
|
|
40726
|
-
ContentTimeline,
|
|
40758
|
+
return /* @__PURE__ */ (0, import_jsx_runtime123.jsxs)(
|
|
40759
|
+
"div",
|
|
40760
|
+
{
|
|
40761
|
+
className: [NotesActivity_default.root, className].filter(Boolean).join(" "),
|
|
40762
|
+
"data-active-tab": activeTab,
|
|
40763
|
+
"data-density": density,
|
|
40764
|
+
children: [
|
|
40765
|
+
/* @__PURE__ */ (0, import_jsx_runtime123.jsx)(
|
|
40766
|
+
"div",
|
|
40727
40767
|
{
|
|
40728
|
-
|
|
40729
|
-
|
|
40730
|
-
|
|
40731
|
-
|
|
40732
|
-
|
|
40733
|
-
|
|
40734
|
-
|
|
40735
|
-
|
|
40736
|
-
|
|
40737
|
-
|
|
40738
|
-
|
|
40768
|
+
"aria-label": "Notes and activity",
|
|
40769
|
+
className: NotesActivity_default.tabs,
|
|
40770
|
+
role: "tablist",
|
|
40771
|
+
children: ["notes", "activity"].map((tab) => /* @__PURE__ */ (0, import_jsx_runtime123.jsxs)(
|
|
40772
|
+
"button",
|
|
40773
|
+
{
|
|
40774
|
+
"aria-selected": activeTab === tab,
|
|
40775
|
+
className: NotesActivity_default.tab,
|
|
40776
|
+
"data-active": activeTab === tab,
|
|
40777
|
+
onClick: () => setTab(tab),
|
|
40778
|
+
role: "tab",
|
|
40779
|
+
type: "button",
|
|
40780
|
+
children: [
|
|
40781
|
+
/* @__PURE__ */ (0, import_jsx_runtime123.jsx)("span", { "aria-hidden": "true", className: NotesActivity_default.tabIcon, children: /* @__PURE__ */ (0, import_jsx_runtime123.jsx)(
|
|
40782
|
+
CatalogIcon,
|
|
40739
40783
|
{
|
|
40740
|
-
|
|
40741
|
-
onChange: (value) => {
|
|
40742
|
-
setDraftsByNoteId((current) => __spreadProps(__spreadValues({}, current), {
|
|
40743
|
-
[item.id]: value
|
|
40744
|
-
}));
|
|
40745
|
-
},
|
|
40746
|
-
onEmojiSelect: onNoteEmojiSelect,
|
|
40747
|
-
onMentionClick: onNoteMentionClick,
|
|
40748
|
-
onSubmit: (event) => handleThreadSubmit(item.id, event),
|
|
40749
|
-
onTagsChange: (tags) => {
|
|
40750
|
-
setDraftTagsByNoteId((current) => __spreadProps(__spreadValues({}, current), {
|
|
40751
|
-
[item.id]: tags
|
|
40752
|
-
}));
|
|
40753
|
-
},
|
|
40754
|
-
selectedTags: (_a2 = draftTagsByNoteId[item.id]) != null ? _a2 : [],
|
|
40755
|
-
showAttach,
|
|
40756
|
-
showEmoji,
|
|
40757
|
-
showMention,
|
|
40758
|
-
showTags,
|
|
40759
|
-
tagOptions: noteTagOptions,
|
|
40760
|
-
value: (_b2 = draftsByNoteId[item.id]) != null ? _b2 : ""
|
|
40784
|
+
iconName: tab === "notes" ? "note-sticky" : "clock-rotate-left"
|
|
40761
40785
|
}
|
|
40762
|
-
)
|
|
40763
|
-
|
|
40764
|
-
|
|
40765
|
-
|
|
40766
|
-
|
|
40767
|
-
|
|
40768
|
-
onItemDoubleClick: onOpenTask ? handleTimelineDoubleClick : void 0
|
|
40786
|
+
) }),
|
|
40787
|
+
tab === "notes" ? "Notes" : "Activity"
|
|
40788
|
+
]
|
|
40789
|
+
},
|
|
40790
|
+
tab
|
|
40791
|
+
))
|
|
40769
40792
|
}
|
|
40770
|
-
)
|
|
40771
|
-
|
|
40772
|
-
|
|
40773
|
-
|
|
40774
|
-
|
|
40775
|
-
|
|
40776
|
-
|
|
40777
|
-
|
|
40778
|
-
|
|
40779
|
-
|
|
40780
|
-
|
|
40781
|
-
|
|
40782
|
-
|
|
40793
|
+
),
|
|
40794
|
+
activeTab === "notes" ? /* @__PURE__ */ (0, import_jsx_runtime123.jsx)(
|
|
40795
|
+
NoteComposer,
|
|
40796
|
+
{
|
|
40797
|
+
className: NotesActivity_default.composer,
|
|
40798
|
+
onAttachClick: onNoteAttachClick,
|
|
40799
|
+
onChange: setTopDraft,
|
|
40800
|
+
onEmojiSelect: onNoteEmojiSelect,
|
|
40801
|
+
onMentionClick: onNoteMentionClick,
|
|
40802
|
+
onSave: handleTopLevelSave,
|
|
40803
|
+
onTagsChange: setTopTags,
|
|
40804
|
+
placeholder: composerPlaceholder,
|
|
40805
|
+
saveButtonLabel,
|
|
40806
|
+
selectedTags: topTags,
|
|
40807
|
+
showAttach,
|
|
40808
|
+
showEmoji,
|
|
40809
|
+
showMention,
|
|
40810
|
+
showTags,
|
|
40811
|
+
tagOptions: noteTagOptions,
|
|
40812
|
+
value: topDraft
|
|
40813
|
+
}
|
|
40814
|
+
) : null,
|
|
40815
|
+
/* @__PURE__ */ (0, import_jsx_runtime123.jsx)(
|
|
40816
|
+
CustomScrollbar,
|
|
40817
|
+
{
|
|
40818
|
+
label: "Notes and activity feed",
|
|
40819
|
+
className: NotesActivity_default.feed,
|
|
40820
|
+
orientation: "vertical",
|
|
40821
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime123.jsx)(
|
|
40822
|
+
ContentTimeline,
|
|
40823
|
+
{
|
|
40824
|
+
groups: groupedItems.map((group) => ({
|
|
40825
|
+
items: toTimelineItems(group.items, {
|
|
40826
|
+
activeReplyNoteId,
|
|
40827
|
+
commentsByNoteId,
|
|
40828
|
+
enableReply: activeTab === "notes",
|
|
40829
|
+
onItemClick: activeTab === "notes" || onItemClick ? handleTimelineClick : void 0,
|
|
40830
|
+
onItemDoubleClick: onOpenTask ? handleTimelineDoubleClick : void 0,
|
|
40831
|
+
renderReplyComposer: (item) => {
|
|
40832
|
+
var _a2, _b2;
|
|
40833
|
+
return /* @__PURE__ */ (0, import_jsx_runtime123.jsx)(
|
|
40834
|
+
InlineReplyComposer,
|
|
40835
|
+
{
|
|
40836
|
+
onAttachClick: onNoteAttachClick,
|
|
40837
|
+
onChange: (value) => {
|
|
40838
|
+
setDraftsByNoteId((current) => __spreadProps(__spreadValues({}, current), {
|
|
40839
|
+
[item.id]: value
|
|
40840
|
+
}));
|
|
40841
|
+
},
|
|
40842
|
+
onEmojiSelect: onNoteEmojiSelect,
|
|
40843
|
+
onMentionClick: onNoteMentionClick,
|
|
40844
|
+
onSubmit: (event) => handleThreadSubmit(item.id, event),
|
|
40845
|
+
onTagsChange: (tags) => {
|
|
40846
|
+
setDraftTagsByNoteId((current) => __spreadProps(__spreadValues({}, current), {
|
|
40847
|
+
[item.id]: tags
|
|
40848
|
+
}));
|
|
40849
|
+
},
|
|
40850
|
+
selectedTags: (_a2 = draftTagsByNoteId[item.id]) != null ? _a2 : [],
|
|
40851
|
+
showAttach,
|
|
40852
|
+
showEmoji,
|
|
40853
|
+
showMention,
|
|
40854
|
+
showTags,
|
|
40855
|
+
tagOptions: noteTagOptions,
|
|
40856
|
+
value: (_b2 = draftsByNoteId[item.id]) != null ? _b2 : ""
|
|
40857
|
+
}
|
|
40858
|
+
);
|
|
40859
|
+
}
|
|
40860
|
+
}),
|
|
40861
|
+
label: group.dateGroup
|
|
40862
|
+
})),
|
|
40863
|
+
onItemClick: activeTab === "notes" || onItemClick ? handleTimelineClick : void 0,
|
|
40864
|
+
onItemDoubleClick: onOpenTask ? handleTimelineDoubleClick : void 0
|
|
40865
|
+
}
|
|
40866
|
+
)
|
|
40867
|
+
}
|
|
40868
|
+
),
|
|
40869
|
+
/* @__PURE__ */ (0, import_jsx_runtime123.jsx)("footer", { className: NotesActivity_default.footer, children: activeFooterHref ? /* @__PURE__ */ (0, import_jsx_runtime123.jsx)("a", { className: NotesActivity_default.footerAction, href: activeFooterHref, children: footerContent }) : /* @__PURE__ */ (0, import_jsx_runtime123.jsx)(
|
|
40870
|
+
"button",
|
|
40871
|
+
{
|
|
40872
|
+
className: NotesActivity_default.footerAction,
|
|
40873
|
+
onClick: activeFooterClick,
|
|
40874
|
+
type: "button",
|
|
40875
|
+
children: footerContent
|
|
40876
|
+
}
|
|
40877
|
+
) })
|
|
40878
|
+
]
|
|
40879
|
+
}
|
|
40880
|
+
);
|
|
40783
40881
|
}
|
|
40784
40882
|
|
|
40785
40883
|
// ../../components/TopPerformingUsers/TopPerformingUsers.tsx
|
|
40786
|
-
var
|
|
40884
|
+
var import_react65 = require("react");
|
|
40787
40885
|
|
|
40788
40886
|
// ../../components/TopPerformingUsers/TopPerformingUsers.module.css
|
|
40789
|
-
var TopPerformingUsers_default = {"
|
|
40887
|
+
var TopPerformingUsers_default = {"row":"opus_sYx0a6_row","root":"opus_sYx0a6_root","barFill":"opus_sYx0a6_barFill","list":"opus_sYx0a6_list","title":"opus_sYx0a6_title","item":"opus_sYx0a6_item","itemAction":"opus_sYx0a6_itemAction","barTrack":"opus_sYx0a6_barTrack","value":"opus_sYx0a6_value","header":"opus_sYx0a6_header","name":"opus_sYx0a6_name"};
|
|
40790
40888
|
|
|
40791
40889
|
// ../../components/TopPerformingUsers/TopPerformingUsers.tsx
|
|
40792
40890
|
var import_jsx_runtime124 = require("react/jsx-runtime");
|
|
@@ -40825,7 +40923,7 @@ function TopPerformingUsers({
|
|
|
40825
40923
|
title = "Top Performing People",
|
|
40826
40924
|
users
|
|
40827
40925
|
}) {
|
|
40828
|
-
const maxValue2 = (0,
|
|
40926
|
+
const maxValue2 = (0, import_react65.useMemo)(
|
|
40829
40927
|
() => Math.max(1, ...users.slice(0, 3).map((user) => user.value)),
|
|
40830
40928
|
[users]
|
|
40831
40929
|
);
|
|
@@ -40845,7 +40943,7 @@ function TopPerformingUsers({
|
|
|
40845
40943
|
}
|
|
40846
40944
|
|
|
40847
40945
|
// ../../components/UserProfileWidget/UserProfileWidget.module.css
|
|
40848
|
-
var UserProfileWidget_default = {"
|
|
40946
|
+
var UserProfileWidget_default = {"name":"opus_zjR1aT_name","copy":"opus_zjR1aT_copy","role":"opus_zjR1aT_role","chevronButton":"opus_zjR1aT_chevronButton","chevron":"opus_zjR1aT_chevron","avatarButton":"opus_zjR1aT_avatarButton","root":"opus_zjR1aT_root"};
|
|
40849
40947
|
|
|
40850
40948
|
// ../../components/UserProfileWidget/UserProfileWidget.tsx
|
|
40851
40949
|
var import_jsx_runtime125 = require("react/jsx-runtime");
|
|
@@ -40913,7 +41011,7 @@ function UserProfileWidget({
|
|
|
40913
41011
|
}
|
|
40914
41012
|
|
|
40915
41013
|
// ../../components/UserProfileWidget/ProfilePhotoUploadModal.tsx
|
|
40916
|
-
var
|
|
41014
|
+
var import_react66 = require("react");
|
|
40917
41015
|
var import_jsx_runtime126 = require("react/jsx-runtime");
|
|
40918
41016
|
var defaultUserProfilePhotoUploadOptions = {
|
|
40919
41017
|
changeButtonLabel: "Change photo",
|
|
@@ -40937,10 +41035,10 @@ function ProfilePhotoUploadModal({
|
|
|
40937
41035
|
value
|
|
40938
41036
|
}) {
|
|
40939
41037
|
var _a2;
|
|
40940
|
-
const [draftPhoto, setDraftPhoto] = (0,
|
|
40941
|
-
const [cropAvailability, setCropAvailability] = (0,
|
|
41038
|
+
const [draftPhoto, setDraftPhoto] = (0, import_react66.useState)(value != null ? value : "");
|
|
41039
|
+
const [cropAvailability, setCropAvailability] = (0, import_react66.useState)(null);
|
|
40942
41040
|
const resolvedOptions = __spreadValues(__spreadValues({}, defaultUserProfilePhotoUploadOptions), options);
|
|
40943
|
-
(0,
|
|
41041
|
+
(0, import_react66.useEffect)(() => {
|
|
40944
41042
|
if (open) {
|
|
40945
41043
|
setDraftPhoto(value != null ? value : "");
|
|
40946
41044
|
setCropAvailability(null);
|
|
@@ -41094,10 +41192,10 @@ function DashboardContentContainer({
|
|
|
41094
41192
|
}
|
|
41095
41193
|
|
|
41096
41194
|
// ../../components/PropertyInspector/PropertyInspector.tsx
|
|
41097
|
-
var
|
|
41195
|
+
var import_react67 = require("react");
|
|
41098
41196
|
|
|
41099
41197
|
// ../../components/PropertyInspector/PropertyInspector.module.css
|
|
41100
|
-
var PropertyInspector_default = {"
|
|
41198
|
+
var PropertyInspector_default = {"group":"opus_IrN8Z8_group","checkbox":"opus_IrN8Z8_checkbox","root":"opus_IrN8Z8_root","search":"opus_IrN8Z8_search","searchRow":"opus_IrN8Z8_searchRow","rows":"opus_IrN8Z8_rows","value":"opus_IrN8Z8_value","input":"opus_IrN8Z8_input","select":"opus_IrN8Z8_select","label":"opus_IrN8Z8_label","valueCell":"opus_IrN8Z8_valueCell","groupHeader":"opus_IrN8Z8_groupHeader","row":"opus_IrN8Z8_row"};
|
|
41101
41199
|
|
|
41102
41200
|
// ../../components/PropertyInspector/PropertyInspector.tsx
|
|
41103
41201
|
var import_jsx_runtime129 = require("react/jsx-runtime");
|
|
@@ -41110,9 +41208,9 @@ function formatDisplay(value) {
|
|
|
41110
41208
|
return String(value);
|
|
41111
41209
|
}
|
|
41112
41210
|
function PropertyInspector({ items, onChange, searchable = false }) {
|
|
41113
|
-
const [query, setQuery] = (0,
|
|
41114
|
-
const [collapsed, setCollapsed] = (0,
|
|
41115
|
-
const filtered = (0,
|
|
41211
|
+
const [query, setQuery] = (0, import_react67.useState)("");
|
|
41212
|
+
const [collapsed, setCollapsed] = (0, import_react67.useState)(/* @__PURE__ */ new Set());
|
|
41213
|
+
const filtered = (0, import_react67.useMemo)(() => {
|
|
41116
41214
|
const needle = query.trim().toLowerCase();
|
|
41117
41215
|
if (!needle) return items;
|
|
41118
41216
|
return items.filter(
|
|
@@ -41122,7 +41220,7 @@ function PropertyInspector({ items, onChange, searchable = false }) {
|
|
|
41122
41220
|
}
|
|
41123
41221
|
);
|
|
41124
41222
|
}, [items, query]);
|
|
41125
|
-
const groups = (0,
|
|
41223
|
+
const groups = (0, import_react67.useMemo)(() => {
|
|
41126
41224
|
var _a2, _b2;
|
|
41127
41225
|
const map = /* @__PURE__ */ new Map();
|
|
41128
41226
|
for (const item of filtered) {
|
|
@@ -41214,10 +41312,10 @@ function PropertyInspector({ items, onChange, searchable = false }) {
|
|
|
41214
41312
|
}
|
|
41215
41313
|
|
|
41216
41314
|
// ../../components/FilterBuilder/FilterBuilder.tsx
|
|
41217
|
-
var
|
|
41315
|
+
var import_react68 = require("react");
|
|
41218
41316
|
|
|
41219
41317
|
// ../../components/FilterBuilder/FilterBuilder.module.css
|
|
41220
|
-
var FilterBuilder_default = {"
|
|
41318
|
+
var FilterBuilder_default = {"empty":"opus_CtJDHh_empty","remove":"opus_CtJDHh_remove","add":"opus_CtJDHh_add","root":"opus_CtJDHh_root","header":"opus_CtJDHh_header","expression":"opus_CtJDHh_expression","select":"opus_CtJDHh_select","outputLabel":"opus_CtJDHh_outputLabel","list":"opus_CtJDHh_list","joiner":"opus_CtJDHh_joiner","payload":"opus_CtJDHh_payload","input":"opus_CtJDHh_input","row":"opus_CtJDHh_row","title":"opus_CtJDHh_title","joinerSpacer":"opus_CtJDHh_joinerSpacer","output":"opus_CtJDHh_output","valuePlaceholder":"opus_CtJDHh_valuePlaceholder"};
|
|
41221
41319
|
|
|
41222
41320
|
// ../../components/FilterBuilder/FilterBuilder.tsx
|
|
41223
41321
|
var import_jsx_runtime130 = require("react/jsx-runtime");
|
|
@@ -41257,11 +41355,11 @@ function FilterBuilder({ conditions, fields, onChange }) {
|
|
|
41257
41355
|
function update(id, patch) {
|
|
41258
41356
|
onChange(conditions.map((condition) => condition.id === id ? __spreadValues(__spreadValues({}, condition), patch) : condition));
|
|
41259
41357
|
}
|
|
41260
|
-
const expression = (0,
|
|
41358
|
+
const expression = (0, import_react68.useMemo)(() => {
|
|
41261
41359
|
if (conditions.length === 0) return "No filters applied";
|
|
41262
41360
|
return conditions.map(formatCondition).join(" AND ");
|
|
41263
41361
|
}, [conditions]);
|
|
41264
|
-
const payload = (0,
|
|
41362
|
+
const payload = (0, import_react68.useMemo)(
|
|
41265
41363
|
() => conditions.map(
|
|
41266
41364
|
({ field, operator, value }) => operator === "empty" ? { field, operator } : { field, operator, value }
|
|
41267
41365
|
),
|
|
@@ -41324,10 +41422,10 @@ function FilterBuilder({ conditions, fields, onChange }) {
|
|
|
41324
41422
|
}
|
|
41325
41423
|
|
|
41326
41424
|
// ../../components/QueryBuilder/QueryBuilder.tsx
|
|
41327
|
-
var
|
|
41425
|
+
var import_react69 = require("react");
|
|
41328
41426
|
|
|
41329
41427
|
// ../../components/QueryBuilder/QueryBuilder.module.css
|
|
41330
|
-
var QueryBuilder_default = {"
|
|
41428
|
+
var QueryBuilder_default = {"root":"opus_b7dZwd_root","output":"opus_b7dZwd_output","expression":"opus_b7dZwd_expression","payload":"opus_b7dZwd_payload","row":"opus_b7dZwd_row","select":"opus_b7dZwd_select","chipSpacer":"opus_b7dZwd_chipSpacer","empty":"opus_b7dZwd_empty","toolbar":"opus_b7dZwd_toolbar","selectNarrow":"opus_b7dZwd_selectNarrow","remove":"opus_b7dZwd_remove","list":"opus_b7dZwd_list","combinator":"opus_b7dZwd_combinator","chip":"opus_b7dZwd_chip","outputLabel":"opus_b7dZwd_outputLabel","add":"opus_b7dZwd_add","input":"opus_b7dZwd_input"};
|
|
41331
41429
|
|
|
41332
41430
|
// ../../components/QueryBuilder/QueryBuilder.tsx
|
|
41333
41431
|
var import_jsx_runtime131 = require("react/jsx-runtime");
|
|
@@ -41366,13 +41464,13 @@ function QueryBuilder({ fields, group, onChange }) {
|
|
|
41366
41464
|
rules: group.rules.map((rule) => rule.id === id ? __spreadValues(__spreadValues({}, rule), patch) : rule)
|
|
41367
41465
|
}));
|
|
41368
41466
|
}
|
|
41369
|
-
const expression = (0,
|
|
41467
|
+
const expression = (0, import_react69.useMemo)(() => {
|
|
41370
41468
|
if (group.rules.length === 0) return "Empty query";
|
|
41371
41469
|
const joiner = ` ${group.combinator.toUpperCase()} `;
|
|
41372
41470
|
const body = group.rules.map(formatRule).join(joiner);
|
|
41373
41471
|
return group.rules.length > 1 ? `(${body})` : body;
|
|
41374
41472
|
}, [group]);
|
|
41375
|
-
const payload = (0,
|
|
41473
|
+
const payload = (0, import_react69.useMemo)(
|
|
41376
41474
|
() => ({
|
|
41377
41475
|
combinator: group.combinator,
|
|
41378
41476
|
rules: group.rules.map(({ field, operator, value }) => ({ field, operator, value }))
|
|
@@ -41451,10 +41549,10 @@ function QueryBuilder({ fields, group, onChange }) {
|
|
|
41451
41549
|
}
|
|
41452
41550
|
|
|
41453
41551
|
// ../../components/RuleBuilder/RuleBuilder.tsx
|
|
41454
|
-
var
|
|
41552
|
+
var import_react70 = require("react");
|
|
41455
41553
|
|
|
41456
41554
|
// ../../components/RuleBuilder/RuleBuilder.module.css
|
|
41457
|
-
var RuleBuilder_default = {"
|
|
41555
|
+
var RuleBuilder_default = {"cardTop":"opus_O61tUk_cardTop","action":"opus_O61tUk_action","expression":"opus_O61tUk_expression","field":"opus_O61tUk_field","subtitle":"opus_O61tUk_subtitle","add":"opus_O61tUk_add","outputLabel":"opus_O61tUk_outputLabel","name":"opus_O61tUk_name","input":"opus_O61tUk_input","priority":"opus_O61tUk_priority","select":"opus_O61tUk_select","enabled":"opus_O61tUk_enabled","title":"opus_O61tUk_title","actions":"opus_O61tUk_actions","output":"opus_O61tUk_output","card":"opus_O61tUk_card","empty":"opus_O61tUk_empty","header":"opus_O61tUk_header","root":"opus_O61tUk_root","payload":"opus_O61tUk_payload","list":"opus_O61tUk_list"};
|
|
41458
41556
|
|
|
41459
41557
|
// ../../components/RuleBuilder/RuleBuilder.tsx
|
|
41460
41558
|
var import_jsx_runtime132 = require("react/jsx-runtime");
|
|
@@ -41482,12 +41580,12 @@ function RuleBuilder({ onChange, rules }) {
|
|
|
41482
41580
|
next.splice(target, 0, item);
|
|
41483
41581
|
onChange(next.map((rule, priority) => __spreadProps(__spreadValues({}, rule), { priority: priority + 1 })));
|
|
41484
41582
|
}
|
|
41485
|
-
const expression = (0,
|
|
41583
|
+
const expression = (0, import_react70.useMemo)(() => {
|
|
41486
41584
|
const active = rules.filter((rule) => rule.enabled);
|
|
41487
41585
|
if (active.length === 0) return "No active rules";
|
|
41488
41586
|
return active.map((rule) => `#${rule.priority} IF ${rule.conditions || "\u2026"} THEN ${rule.effect}`).join(" \u2192 ");
|
|
41489
41587
|
}, [rules]);
|
|
41490
|
-
const payload = (0,
|
|
41588
|
+
const payload = (0, import_react70.useMemo)(
|
|
41491
41589
|
() => rules.map(({ name, conditions, effect, enabled, priority }) => ({
|
|
41492
41590
|
priority,
|
|
41493
41591
|
name,
|
|
@@ -41597,7 +41695,7 @@ function RuleBuilder({ onChange, rules }) {
|
|
|
41597
41695
|
}
|
|
41598
41696
|
|
|
41599
41697
|
// ../../components/PermissionsMatrix/PermissionsMatrix.module.css
|
|
41600
|
-
var PermissionsMatrix_default = {"
|
|
41698
|
+
var PermissionsMatrix_default = {"select":"opus_x-xBrX_select","corner":"opus_x-xBrX_corner","scroll":"opus_x-xBrX_scroll","cell":"opus_x-xBrX_cell","head":"opus_x-xBrX_head","rowHead":"opus_x-xBrX_rowHead","root":"opus_x-xBrX_root","table":"opus_x-xBrX_table"};
|
|
41601
41699
|
|
|
41602
41700
|
// ../../components/PermissionsMatrix/PermissionsMatrix.tsx
|
|
41603
41701
|
var import_jsx_runtime133 = require("react/jsx-runtime");
|
|
@@ -41630,10 +41728,10 @@ function PermissionsMatrix({ onChange, permissions, resources, roles }) {
|
|
|
41630
41728
|
}
|
|
41631
41729
|
|
|
41632
41730
|
// ../../components/DualListBuilder/DualListBuilder.tsx
|
|
41633
|
-
var
|
|
41731
|
+
var import_react71 = require("react");
|
|
41634
41732
|
|
|
41635
41733
|
// ../../components/DualListBuilder/DualListBuilder.module.css
|
|
41636
|
-
var DualListBuilder_default = {"
|
|
41734
|
+
var DualListBuilder_default = {"control":"opus_P6crEX_control","output":"opus_P6crEX_output","itemActive":"opus_P6crEX_itemActive","controls":"opus_P6crEX_controls","searchRow":"opus_P6crEX_searchRow","outputLabel":"opus_P6crEX_outputLabel","count":"opus_P6crEX_count","columns":"opus_P6crEX_columns","item":"opus_P6crEX_item","expression":"opus_P6crEX_expression","columnTitle":"opus_P6crEX_columnTitle","payload":"opus_P6crEX_payload","column":"opus_P6crEX_column","list":"opus_P6crEX_list","root":"opus_P6crEX_root","search":"opus_P6crEX_search"};
|
|
41637
41735
|
|
|
41638
41736
|
// ../../components/DualListBuilder/DualListBuilder.tsx
|
|
41639
41737
|
var import_jsx_runtime134 = require("react/jsx-runtime");
|
|
@@ -41644,12 +41742,12 @@ function DualListBuilder({
|
|
|
41644
41742
|
selectedIds,
|
|
41645
41743
|
selectedTitle = "Selected"
|
|
41646
41744
|
}) {
|
|
41647
|
-
const [query, setQuery] = (0,
|
|
41648
|
-
const [activeAvailable, setActiveAvailable] = (0,
|
|
41649
|
-
const [activeSelected, setActiveSelected] = (0,
|
|
41650
|
-
const byId = (0,
|
|
41651
|
-
const selectedSet = (0,
|
|
41652
|
-
const availableItems = (0,
|
|
41745
|
+
const [query, setQuery] = (0, import_react71.useState)("");
|
|
41746
|
+
const [activeAvailable, setActiveAvailable] = (0, import_react71.useState)([]);
|
|
41747
|
+
const [activeSelected, setActiveSelected] = (0, import_react71.useState)([]);
|
|
41748
|
+
const byId = (0, import_react71.useMemo)(() => new Map(available.map((item) => [item.id, item])), [available]);
|
|
41749
|
+
const selectedSet = (0, import_react71.useMemo)(() => new Set(selectedIds), [selectedIds]);
|
|
41750
|
+
const availableItems = (0, import_react71.useMemo)(() => {
|
|
41653
41751
|
const needle = query.trim().toLowerCase();
|
|
41654
41752
|
return available.filter((item) => {
|
|
41655
41753
|
if (selectedSet.has(item.id)) return false;
|
|
@@ -41658,11 +41756,11 @@ function DualListBuilder({
|
|
|
41658
41756
|
});
|
|
41659
41757
|
}, [available, query, selectedSet]);
|
|
41660
41758
|
const selectedItems = selectedIds.map((id) => byId.get(id)).filter(Boolean);
|
|
41661
|
-
const expression = (0,
|
|
41759
|
+
const expression = (0, import_react71.useMemo)(() => {
|
|
41662
41760
|
if (selectedItems.length === 0) return "Nothing selected";
|
|
41663
41761
|
return selectedItems.map((item) => item.label).join(" \u2192 ");
|
|
41664
41762
|
}, [selectedItems]);
|
|
41665
|
-
const payload = (0,
|
|
41763
|
+
const payload = (0, import_react71.useMemo)(
|
|
41666
41764
|
() => selectedItems.map(({ id, label }) => ({ id, label })),
|
|
41667
41765
|
[selectedItems]
|
|
41668
41766
|
);
|
|
@@ -41759,10 +41857,10 @@ function ListColumn2({
|
|
|
41759
41857
|
}
|
|
41760
41858
|
|
|
41761
41859
|
// ../../components/Scheduler/Scheduler.tsx
|
|
41762
|
-
var
|
|
41860
|
+
var import_react72 = require("react");
|
|
41763
41861
|
|
|
41764
41862
|
// ../../components/Scheduler/Scheduler.module.css
|
|
41765
|
-
var Scheduler_default = {"
|
|
41863
|
+
var Scheduler_default = {"eventTime":"opus_ZqbdMc_eventTime","dayHead":"opus_ZqbdMc_dayHead","event":"opus_ZqbdMc_event","eventTitle":"opus_ZqbdMc_eventTitle","cell":"opus_ZqbdMc_cell","corner":"opus_ZqbdMc_corner","grid":"opus_ZqbdMc_grid","time":"opus_ZqbdMc_time","root":"opus_ZqbdMc_root"};
|
|
41766
41864
|
|
|
41767
41865
|
// ../../components/Scheduler/Scheduler.tsx
|
|
41768
41866
|
var import_jsx_runtime135 = require("react/jsx-runtime");
|
|
@@ -41773,7 +41871,7 @@ function Scheduler({
|
|
|
41773
41871
|
events,
|
|
41774
41872
|
startHour = 9
|
|
41775
41873
|
}) {
|
|
41776
|
-
const hours = (0,
|
|
41874
|
+
const hours = (0, import_react72.useMemo)(() => {
|
|
41777
41875
|
const list = [];
|
|
41778
41876
|
for (let hour = startHour; hour <= endHour; hour += 1) list.push(hour);
|
|
41779
41877
|
return list;
|
|
@@ -41827,16 +41925,16 @@ function formatHour(hour) {
|
|
|
41827
41925
|
}
|
|
41828
41926
|
|
|
41829
41927
|
// ../../components/KanbanBoard/KanbanBoard.tsx
|
|
41830
|
-
var
|
|
41928
|
+
var import_react73 = require("react");
|
|
41831
41929
|
|
|
41832
41930
|
// ../../components/KanbanBoard/KanbanBoard.module.css
|
|
41833
|
-
var KanbanBoard_default = {"
|
|
41931
|
+
var KanbanBoard_default = {"columnTitle":"opus_EUh8ei_columnTitle","cards":"opus_EUh8ei_cards","card":"opus_EUh8ei_card","cardMeta":"opus_EUh8ei_cardMeta","cardTitle":"opus_EUh8ei_cardTitle","root":"opus_EUh8ei_root","column":"opus_EUh8ei_column","count":"opus_EUh8ei_count","columnHeader":"opus_EUh8ei_columnHeader"};
|
|
41834
41932
|
|
|
41835
41933
|
// ../../components/KanbanBoard/KanbanBoard.tsx
|
|
41836
41934
|
var import_jsx_runtime136 = require("react/jsx-runtime");
|
|
41837
41935
|
function KanbanBoard({ cards, columns, onChange }) {
|
|
41838
|
-
const [draggingId, setDraggingId] = (0,
|
|
41839
|
-
const cardLookup = (0,
|
|
41936
|
+
const [draggingId, setDraggingId] = (0, import_react73.useState)(null);
|
|
41937
|
+
const cardLookup = (0, import_react73.useMemo)(() => cards, [cards]);
|
|
41840
41938
|
function moveCard(cardId, toColumnId) {
|
|
41841
41939
|
if (!onChange) return;
|
|
41842
41940
|
const next = columns.map((column) => __spreadProps(__spreadValues({}, column), {
|
|
@@ -41897,7 +41995,7 @@ function KanbanBoard({ cards, columns, onChange }) {
|
|
|
41897
41995
|
}
|
|
41898
41996
|
|
|
41899
41997
|
// ../../components/Calendar/Calendar.tsx
|
|
41900
|
-
var
|
|
41998
|
+
var import_react75 = require("react");
|
|
41901
41999
|
|
|
41902
42000
|
// ../../components/Calendar/calendarTime.ts
|
|
41903
42001
|
function formatEventTimeRange(startTime, endTime) {
|
|
@@ -41936,10 +42034,10 @@ function sortEventsByTime(events) {
|
|
|
41936
42034
|
}
|
|
41937
42035
|
|
|
41938
42036
|
// ../../components/Calendar/CalendarDayModal.tsx
|
|
41939
|
-
var
|
|
42037
|
+
var import_react74 = require("react");
|
|
41940
42038
|
|
|
41941
42039
|
// ../../components/Calendar/Calendar.module.css
|
|
41942
|
-
var Calendar_default = {"
|
|
42040
|
+
var Calendar_default = {"dayModalHeading":"opus_IjCc5M_dayModalHeading","dayModalList":"opus_IjCc5M_dayModalList","nav":"opus_IjCc5M_nav","monthSelect":"opus_IjCc5M_monthSelect","dayModalItemTime":"opus_IjCc5M_dayModalItemTime","dayModalEmpty":"opus_IjCc5M_dayModalEmpty","dayModalDot":"opus_IjCc5M_dayModalDot","root":"opus_IjCc5M_root","dayModalItem":"opus_IjCc5M_dayModalItem","weekdays":"opus_IjCc5M_weekdays","dot":"opus_IjCc5M_dot","dayModalFieldRow":"opus_IjCc5M_dayModalFieldRow","toolbar":"opus_IjCc5M_toolbar","dayModalItemBody":"opus_IjCc5M_dayModalItemBody","dayModal":"opus_IjCc5M_dayModal","dayNumber":"opus_IjCc5M_dayNumber","picker":"opus_IjCc5M_picker","weekday":"opus_IjCc5M_weekday","label":"opus_IjCc5M_label","dayModalNotice":"opus_IjCc5M_dayModalNotice","select":"opus_IjCc5M_select","empty":"opus_IjCc5M_empty","dayModalSection":"opus_IjCc5M_dayModalSection","day":"opus_IjCc5M_day","pickerField":"opus_IjCc5M_pickerField","yearSelect":"opus_IjCc5M_yearSelect","selected":"opus_IjCc5M_selected","srOnly":"opus_IjCc5M_srOnly","dayModalItemMeta":"opus_IjCc5M_dayModalItemMeta","grid":"opus_IjCc5M_grid","events":"opus_IjCc5M_events","dayModalItemTitle":"opus_IjCc5M_dayModalItemTitle","dayModalForm":"opus_IjCc5M_dayModalForm","today":"opus_IjCc5M_today","eventLabel":"opus_IjCc5M_eventLabel","event":"opus_IjCc5M_event","moreEvents":"opus_IjCc5M_moreEvents"};
|
|
41943
42041
|
|
|
41944
42042
|
// ../../components/Calendar/CalendarDayModal.tsx
|
|
41945
42043
|
var import_jsx_runtime137 = require("react/jsx-runtime");
|
|
@@ -41960,13 +42058,13 @@ function formatDayLabel(dateKey) {
|
|
|
41960
42058
|
});
|
|
41961
42059
|
}
|
|
41962
42060
|
function CalendarDayModal({ dateKey, events, onBookEvent, onClose }) {
|
|
41963
|
-
const [title, setTitle] = (0,
|
|
41964
|
-
const [startTime, setStartTime] = (0,
|
|
41965
|
-
const [endTime, setEndTime] = (0,
|
|
41966
|
-
const [toneLabel, setToneLabel] = (0,
|
|
41967
|
-
const [notice, setNotice] = (0,
|
|
41968
|
-
const scheduledEvents = (0,
|
|
41969
|
-
(0,
|
|
42061
|
+
const [title, setTitle] = (0, import_react74.useState)("");
|
|
42062
|
+
const [startTime, setStartTime] = (0, import_react74.useState)("09:00");
|
|
42063
|
+
const [endTime, setEndTime] = (0, import_react74.useState)("10:00");
|
|
42064
|
+
const [toneLabel, setToneLabel] = (0, import_react74.useState)("Meeting");
|
|
42065
|
+
const [notice, setNotice] = (0, import_react74.useState)(null);
|
|
42066
|
+
const scheduledEvents = (0, import_react74.useMemo)(() => sortEventsByTime(events), [events]);
|
|
42067
|
+
(0, import_react74.useEffect)(() => {
|
|
41970
42068
|
setTitle("");
|
|
41971
42069
|
setStartTime("09:00");
|
|
41972
42070
|
setEndTime("10:00");
|
|
@@ -42100,27 +42198,27 @@ function Calendar({
|
|
|
42100
42198
|
year: controlledYear
|
|
42101
42199
|
}) {
|
|
42102
42200
|
var _a2;
|
|
42103
|
-
const today = (0,
|
|
42104
|
-
const [cursor, setCursor] = (0,
|
|
42201
|
+
const today = (0, import_react75.useMemo)(() => /* @__PURE__ */ new Date(), []);
|
|
42202
|
+
const [cursor, setCursor] = (0, import_react75.useState)(() => ({
|
|
42105
42203
|
year: controlledYear != null ? controlledYear : today.getFullYear(),
|
|
42106
42204
|
month: controlledMonth != null ? controlledMonth : today.getMonth()
|
|
42107
42205
|
}));
|
|
42108
|
-
const [internalSelected, setInternalSelected] = (0,
|
|
42109
|
-
const [activeDayKey, setActiveDayKey] = (0,
|
|
42110
|
-
const [bookedEvents, setBookedEvents] = (0,
|
|
42206
|
+
const [internalSelected, setInternalSelected] = (0, import_react75.useState)();
|
|
42207
|
+
const [activeDayKey, setActiveDayKey] = (0, import_react75.useState)(null);
|
|
42208
|
+
const [bookedEvents, setBookedEvents] = (0, import_react75.useState)([]);
|
|
42111
42209
|
const year = controlledYear != null ? controlledYear : cursor.year;
|
|
42112
42210
|
const month = controlledMonth != null ? controlledMonth : cursor.month;
|
|
42113
42211
|
const isControlled = controlledYear != null && controlledMonth != null;
|
|
42114
42212
|
const activeSelected = selectedDate != null ? selectedDate : internalSelected;
|
|
42115
|
-
const allEvents = (0,
|
|
42116
|
-
const yearOptions = (0,
|
|
42213
|
+
const allEvents = (0, import_react75.useMemo)(() => [...events, ...bookedEvents], [bookedEvents, events]);
|
|
42214
|
+
const yearOptions = (0, import_react75.useMemo)(() => {
|
|
42117
42215
|
const minYear = today.getFullYear() - 20;
|
|
42118
42216
|
const maxYear = today.getFullYear() + 20;
|
|
42119
42217
|
const start = Math.min(minYear, year);
|
|
42120
42218
|
const end = Math.max(maxYear, year);
|
|
42121
42219
|
return Array.from({ length: end - start + 1 }, (_, index) => start + index);
|
|
42122
42220
|
}, [today, year]);
|
|
42123
|
-
const eventsByDate = (0,
|
|
42221
|
+
const eventsByDate = (0, import_react75.useMemo)(() => {
|
|
42124
42222
|
var _a3;
|
|
42125
42223
|
const map = /* @__PURE__ */ new Map();
|
|
42126
42224
|
for (const event of allEvents) {
|
|
@@ -42131,7 +42229,7 @@ function Calendar({
|
|
|
42131
42229
|
return map;
|
|
42132
42230
|
}, [allEvents]);
|
|
42133
42231
|
const activeDayEvents = activeDayKey ? sortEventsByTime((_a2 = eventsByDate.get(activeDayKey)) != null ? _a2 : []) : [];
|
|
42134
|
-
const cells = (0,
|
|
42232
|
+
const cells = (0, import_react75.useMemo)(() => {
|
|
42135
42233
|
const first = new Date(year, month, 1);
|
|
42136
42234
|
const startOffset = first.getDay();
|
|
42137
42235
|
const daysInMonth = new Date(year, month + 1, 0).getDate();
|
|
@@ -42263,10 +42361,10 @@ function Calendar({
|
|
|
42263
42361
|
}
|
|
42264
42362
|
|
|
42265
42363
|
// ../../components/ResourcePlanner/ResourcePlanner.tsx
|
|
42266
|
-
var
|
|
42364
|
+
var import_react76 = require("react");
|
|
42267
42365
|
|
|
42268
42366
|
// ../../components/ResourcePlanner/ResourcePlanner.module.css
|
|
42269
|
-
var ResourcePlanner_default = {"
|
|
42367
|
+
var ResourcePlanner_default = {"block":"opus_9Mof8o_block","track":"opus_9Mof8o_track","hour":"opus_9Mof8o_hour","root":"opus_9Mof8o_root","corner":"opus_9Mof8o_corner","resource":"opus_9Mof8o_resource","row":"opus_9Mof8o_row","header":"opus_9Mof8o_header","scroll":"opus_9Mof8o_scroll","lanes":"opus_9Mof8o_lanes","lane":"opus_9Mof8o_lane"};
|
|
42270
42368
|
|
|
42271
42369
|
// ../../components/ResourcePlanner/ResourcePlanner.tsx
|
|
42272
42370
|
var import_jsx_runtime139 = require("react/jsx-runtime");
|
|
@@ -42276,7 +42374,7 @@ function ResourcePlanner({
|
|
|
42276
42374
|
resources,
|
|
42277
42375
|
startHour = 8
|
|
42278
42376
|
}) {
|
|
42279
|
-
const hours = (0,
|
|
42377
|
+
const hours = (0, import_react76.useMemo)(() => {
|
|
42280
42378
|
const list = [];
|
|
42281
42379
|
for (let hour = startHour; hour <= endHour; hour += 1) list.push(hour);
|
|
42282
42380
|
return list;
|
|
@@ -42319,10 +42417,10 @@ function ResourcePlanner({
|
|
|
42319
42417
|
}
|
|
42320
42418
|
|
|
42321
42419
|
// ../../components/TreeView/TreeView.tsx
|
|
42322
|
-
var
|
|
42420
|
+
var import_react77 = require("react");
|
|
42323
42421
|
|
|
42324
42422
|
// ../../components/TreeView/TreeView.module.css
|
|
42325
|
-
var TreeView_default = {"
|
|
42423
|
+
var TreeView_default = {"toggle":"opus_NlkzXy_toggle","tree":"opus_NlkzXy_tree","leafMark":"opus_NlkzXy_leafMark","label":"opus_NlkzXy_label","node":"opus_NlkzXy_node","children":"opus_NlkzXy_children","row":"opus_NlkzXy_row"};
|
|
42326
42424
|
|
|
42327
42425
|
// ../../components/TreeView/TreeView.tsx
|
|
42328
42426
|
var import_jsx_runtime140 = require("react/jsx-runtime");
|
|
@@ -42374,8 +42472,8 @@ function TreeNode({
|
|
|
42374
42472
|
] });
|
|
42375
42473
|
}
|
|
42376
42474
|
function TreeView({ defaultExpandedIds, nodes }) {
|
|
42377
|
-
const fallbackIds = (0,
|
|
42378
|
-
const [expandedIds, setExpandedIds] = (0,
|
|
42475
|
+
const fallbackIds = (0, import_react77.useMemo)(() => collectExpandableIds(nodes).slice(0, 2), [nodes]);
|
|
42476
|
+
const [expandedIds, setExpandedIds] = (0, import_react77.useState)(
|
|
42379
42477
|
() => new Set(defaultExpandedIds != null ? defaultExpandedIds : fallbackIds)
|
|
42380
42478
|
);
|
|
42381
42479
|
function toggle(id) {
|
|
@@ -42402,7 +42500,7 @@ function TreeView({ defaultExpandedIds, nodes }) {
|
|
|
42402
42500
|
}
|
|
42403
42501
|
|
|
42404
42502
|
// ../../components/MasonryGrid/MasonryGrid.module.css
|
|
42405
|
-
var MasonryGrid_default = {"
|
|
42503
|
+
var MasonryGrid_default = {"grid":"opus_Fxxd7-_grid","body":"opus_Fxxd7-_body","title":"opus_Fxxd7-_title","card":"opus_Fxxd7-_card"};
|
|
42406
42504
|
|
|
42407
42505
|
// ../../components/MasonryGrid/MasonryGrid.tsx
|
|
42408
42506
|
var import_jsx_runtime141 = require("react/jsx-runtime");
|
|
@@ -42437,10 +42535,10 @@ function MasonryGrid({ columns = 3, gap = 12, items }) {
|
|
|
42437
42535
|
}
|
|
42438
42536
|
|
|
42439
42537
|
// ../../components/JsonViewer/JsonViewer.tsx
|
|
42440
|
-
var
|
|
42538
|
+
var import_react78 = require("react");
|
|
42441
42539
|
|
|
42442
42540
|
// ../../components/JsonViewer/JsonViewer.module.css
|
|
42443
|
-
var JsonViewer_default = {"
|
|
42541
|
+
var JsonViewer_default = {"block":"opus_uLDgXq_block","string":"opus_uLDgXq_string","number":"opus_uLDgXq_number","boolean":"opus_uLDgXq_boolean","null":"opus_uLDgXq_null","root":"opus_uLDgXq_root","chevron":"opus_uLDgXq_chevron","toggleLine":"opus_uLDgXq_toggleLine","key":"opus_uLDgXq_key","line":"opus_uLDgXq_line","summary":"opus_uLDgXq_summary","children":"opus_uLDgXq_children"};
|
|
42444
42542
|
|
|
42445
42543
|
// ../../components/JsonViewer/JsonViewer.tsx
|
|
42446
42544
|
var import_jsx_runtime142 = require("react/jsx-runtime");
|
|
@@ -42468,7 +42566,7 @@ function PrimitiveValue({ value }) {
|
|
|
42468
42566
|
}
|
|
42469
42567
|
function JsonNode({ collapsedDepth, depth, name, value }) {
|
|
42470
42568
|
const isExpandable = Array.isArray(value) || isPlainObject(value);
|
|
42471
|
-
const [open, setOpen] = (0,
|
|
42569
|
+
const [open, setOpen] = (0, import_react78.useState)(depth < collapsedDepth);
|
|
42472
42570
|
if (!isExpandable) {
|
|
42473
42571
|
return /* @__PURE__ */ (0, import_jsx_runtime142.jsxs)("div", { className: JsonViewer_default.line, style: { paddingLeft: `${depth * 14}px` }, children: [
|
|
42474
42572
|
name !== void 0 ? /* @__PURE__ */ (0, import_jsx_runtime142.jsxs)("span", { className: JsonViewer_default.key, children: [
|
|
@@ -42512,7 +42610,7 @@ function JsonNode({ collapsedDepth, depth, name, value }) {
|
|
|
42512
42610
|
] });
|
|
42513
42611
|
}
|
|
42514
42612
|
function JsonViewer({ collapsedDepth = 1, value }) {
|
|
42515
|
-
const parsed = (0,
|
|
42613
|
+
const parsed = (0, import_react78.useMemo)(() => value, [value]);
|
|
42516
42614
|
return /* @__PURE__ */ (0, import_jsx_runtime142.jsx)("div", { className: JsonViewer_default.root, children: /* @__PURE__ */ (0, import_jsx_runtime142.jsx)(JsonNode, { collapsedDepth: Math.max(0, collapsedDepth), depth: 0, value: parsed }) });
|
|
42517
42615
|
}
|
|
42518
42616
|
|
|
@@ -42560,10 +42658,10 @@ function Spinner({ label = "Loading", size = "md", tone = "accent" }) {
|
|
|
42560
42658
|
}
|
|
42561
42659
|
|
|
42562
42660
|
// ../../components/Clock/Clock.tsx
|
|
42563
|
-
var
|
|
42661
|
+
var import_react79 = require("react");
|
|
42564
42662
|
|
|
42565
42663
|
// ../../components/Clock/Clock.module.css
|
|
42566
|
-
var Clock_default = {"
|
|
42664
|
+
var Clock_default = {"tick":"opus_Lj91mC_tick","hand":"opus_Lj91mC_hand","loading":"opus_Lj91mC_loading","minuteHand":"opus_Lj91mC_minuteHand","face":"opus_Lj91mC_face","digitalTime":"opus_Lj91mC_digitalTime","hourHand":"opus_Lj91mC_hourHand","secondHand":"opus_Lj91mC_secondHand","centreDot":"opus_Lj91mC_centreDot","centreDotInner":"opus_Lj91mC_centreDotInner","date":"opus_Lj91mC_date","number":"opus_Lj91mC_number","root":"opus_Lj91mC_root"};
|
|
42567
42665
|
|
|
42568
42666
|
// ../../components/Clock/Clock.tsx
|
|
42569
42667
|
var import_jsx_runtime145 = require("react/jsx-runtime");
|
|
@@ -42573,8 +42671,8 @@ function Clock({
|
|
|
42573
42671
|
showDigital = true,
|
|
42574
42672
|
size = "md"
|
|
42575
42673
|
}) {
|
|
42576
|
-
const [time, setTime] = (0,
|
|
42577
|
-
(0,
|
|
42674
|
+
const [time, setTime] = (0, import_react79.useState)(null);
|
|
42675
|
+
(0, import_react79.useEffect)(() => {
|
|
42578
42676
|
setTime(/* @__PURE__ */ new Date());
|
|
42579
42677
|
const interval = window.setInterval(() => {
|
|
42580
42678
|
setTime(/* @__PURE__ */ new Date());
|
|
@@ -42682,7 +42780,7 @@ function VisuallyHidden({ as = "span", children }) {
|
|
|
42682
42780
|
}
|
|
42683
42781
|
|
|
42684
42782
|
// ../../components/FocusTrap/FocusTrap.tsx
|
|
42685
|
-
var
|
|
42783
|
+
var import_react80 = require("react");
|
|
42686
42784
|
|
|
42687
42785
|
// ../../components/FocusTrap/FocusTrap.module.css
|
|
42688
42786
|
var FocusTrap_default = {"trap":"opus_fJckCZ_trap"};
|
|
@@ -42695,9 +42793,9 @@ function FocusTrap({
|
|
|
42695
42793
|
initialFocusRef,
|
|
42696
42794
|
restoreFocus = true
|
|
42697
42795
|
}) {
|
|
42698
|
-
const containerRef = (0,
|
|
42699
|
-
const previouslyFocusedRef = (0,
|
|
42700
|
-
(0,
|
|
42796
|
+
const containerRef = (0, import_react80.useRef)(null);
|
|
42797
|
+
const previouslyFocusedRef = (0, import_react80.useRef)(null);
|
|
42798
|
+
(0, import_react80.useEffect)(() => {
|
|
42701
42799
|
if (!active) {
|
|
42702
42800
|
return;
|
|
42703
42801
|
}
|
|
@@ -42723,7 +42821,7 @@ function FocusTrap({
|
|
|
42723
42821
|
}
|
|
42724
42822
|
};
|
|
42725
42823
|
}, [active, initialFocusRef, restoreFocus]);
|
|
42726
|
-
(0,
|
|
42824
|
+
(0, import_react80.useEffect)(() => {
|
|
42727
42825
|
if (!active) {
|
|
42728
42826
|
return;
|
|
42729
42827
|
}
|
|
@@ -42762,7 +42860,7 @@ function FocusTrap({
|
|
|
42762
42860
|
}
|
|
42763
42861
|
|
|
42764
42862
|
// ../../components/KeyboardShortcut/KeyboardShortcut.module.css
|
|
42765
|
-
var KeyboardShortcut_default = {"
|
|
42863
|
+
var KeyboardShortcut_default = {"shortcut":"opus_pZh5vX_shortcut","key":"opus_pZh5vX_key","plus":"opus_pZh5vX_plus"};
|
|
42766
42864
|
|
|
42767
42865
|
// ../../components/KeyboardShortcut/KeyboardShortcut.tsx
|
|
42768
42866
|
var import_jsx_runtime148 = require("react/jsx-runtime");
|
|
@@ -42774,9 +42872,9 @@ function KeyboardShortcut({ keys, size = "md" }) {
|
|
|
42774
42872
|
}
|
|
42775
42873
|
|
|
42776
42874
|
// ../../components/HotkeyManager/HotkeyManager.tsx
|
|
42777
|
-
var
|
|
42875
|
+
var import_react81 = require("react");
|
|
42778
42876
|
var import_jsx_runtime149 = require("react/jsx-runtime");
|
|
42779
|
-
var HotkeyManagerContext = (0,
|
|
42877
|
+
var HotkeyManagerContext = (0, import_react81.createContext)(null);
|
|
42780
42878
|
function matchesCombo(event, combo) {
|
|
42781
42879
|
const key = event.key.length === 1 ? event.key.toLowerCase() : event.key;
|
|
42782
42880
|
const expected = combo.key.length === 1 ? combo.key.toLowerCase() : combo.key;
|
|
@@ -42792,13 +42890,13 @@ function shortcutsEqual(a, b) {
|
|
|
42792
42890
|
});
|
|
42793
42891
|
}
|
|
42794
42892
|
function HotkeyManager({ children, enabled = true }) {
|
|
42795
|
-
const handlersRef = (0,
|
|
42796
|
-
const [shortcuts, setShortcuts] = (0,
|
|
42797
|
-
const syncShortcuts = (0,
|
|
42893
|
+
const handlersRef = (0, import_react81.useRef)(/* @__PURE__ */ new Map());
|
|
42894
|
+
const [shortcuts, setShortcuts] = (0, import_react81.useState)([]);
|
|
42895
|
+
const syncShortcuts = (0, import_react81.useCallback)(() => {
|
|
42798
42896
|
const next = Array.from(handlersRef.current.values()).map((entry) => entry.combo);
|
|
42799
42897
|
setShortcuts((current) => shortcutsEqual(current, next) ? current : next);
|
|
42800
42898
|
}, []);
|
|
42801
|
-
const register = (0,
|
|
42899
|
+
const register = (0, import_react81.useCallback)(
|
|
42802
42900
|
(combo, handler) => {
|
|
42803
42901
|
handlersRef.current.set(combo.id, { combo, handler });
|
|
42804
42902
|
syncShortcuts();
|
|
@@ -42809,7 +42907,7 @@ function HotkeyManager({ children, enabled = true }) {
|
|
|
42809
42907
|
},
|
|
42810
42908
|
[syncShortcuts]
|
|
42811
42909
|
);
|
|
42812
|
-
(0,
|
|
42910
|
+
(0, import_react81.useEffect)(() => {
|
|
42813
42911
|
if (!enabled) {
|
|
42814
42912
|
return;
|
|
42815
42913
|
}
|
|
@@ -42834,16 +42932,16 @@ function HotkeyManager({ children, enabled = true }) {
|
|
|
42834
42932
|
window.addEventListener("keydown", onKeyDown);
|
|
42835
42933
|
return () => window.removeEventListener("keydown", onKeyDown);
|
|
42836
42934
|
}, [enabled]);
|
|
42837
|
-
const value = (0,
|
|
42935
|
+
const value = (0, import_react81.useMemo)(() => ({ register, shortcuts }), [register, shortcuts]);
|
|
42838
42936
|
return /* @__PURE__ */ (0, import_jsx_runtime149.jsx)(HotkeyManagerContext.Provider, { value, children });
|
|
42839
42937
|
}
|
|
42840
42938
|
function useHotkey(combo, handler) {
|
|
42841
|
-
const context = (0,
|
|
42939
|
+
const context = (0, import_react81.useContext)(HotkeyManagerContext);
|
|
42842
42940
|
const register = context == null ? void 0 : context.register;
|
|
42843
|
-
const handlerRef = (0,
|
|
42941
|
+
const handlerRef = (0, import_react81.useRef)(handler);
|
|
42844
42942
|
handlerRef.current = handler;
|
|
42845
42943
|
const { alt, ctrl, description, enabled, id, key, meta, shift } = combo;
|
|
42846
|
-
(0,
|
|
42944
|
+
(0, import_react81.useEffect)(() => {
|
|
42847
42945
|
if (!register) {
|
|
42848
42946
|
return;
|
|
42849
42947
|
}
|
|
@@ -42856,7 +42954,7 @@ function useHotkey(combo, handler) {
|
|
|
42856
42954
|
}, [alt, ctrl, description, enabled, id, key, meta, register, shift]);
|
|
42857
42955
|
}
|
|
42858
42956
|
function useHotkeyManager() {
|
|
42859
|
-
const context = (0,
|
|
42957
|
+
const context = (0, import_react81.useContext)(HotkeyManagerContext);
|
|
42860
42958
|
if (!context) {
|
|
42861
42959
|
throw new Error("useHotkeyManager must be used within HotkeyManager");
|
|
42862
42960
|
}
|
|
@@ -42864,7 +42962,7 @@ function useHotkeyManager() {
|
|
|
42864
42962
|
}
|
|
42865
42963
|
|
|
42866
42964
|
// ../../components/CopyButton/CopyButton.tsx
|
|
42867
|
-
var
|
|
42965
|
+
var import_react82 = require("react");
|
|
42868
42966
|
|
|
42869
42967
|
// ../../components/CopyButton/CopyButton.module.css
|
|
42870
42968
|
var CopyButton_default = {"wrap":"opus_Ij6tWr_wrap"};
|
|
@@ -42896,15 +42994,15 @@ function CopyButton({
|
|
|
42896
42994
|
variant = "secondary",
|
|
42897
42995
|
onCopied
|
|
42898
42996
|
}) {
|
|
42899
|
-
const [copied, setCopied] = (0,
|
|
42900
|
-
(0,
|
|
42997
|
+
const [copied, setCopied] = (0, import_react82.useState)(false);
|
|
42998
|
+
(0, import_react82.useEffect)(() => {
|
|
42901
42999
|
if (!copied) {
|
|
42902
43000
|
return;
|
|
42903
43001
|
}
|
|
42904
43002
|
const timer = window.setTimeout(() => setCopied(false), resetMs);
|
|
42905
43003
|
return () => window.clearTimeout(timer);
|
|
42906
43004
|
}, [copied, resetMs]);
|
|
42907
|
-
const handleCopy = (0,
|
|
43005
|
+
const handleCopy = (0, import_react82.useCallback)(async () => {
|
|
42908
43006
|
try {
|
|
42909
43007
|
await writeClipboard(value);
|
|
42910
43008
|
setCopied(true);
|
|
@@ -42917,9 +43015,9 @@ function CopyButton({
|
|
|
42917
43015
|
}
|
|
42918
43016
|
|
|
42919
43017
|
// ../../components/Clipboard/Clipboard.tsx
|
|
42920
|
-
var
|
|
43018
|
+
var import_react83 = require("react");
|
|
42921
43019
|
var import_jsx_runtime151 = require("react/jsx-runtime");
|
|
42922
|
-
var ClipboardContext = (0,
|
|
43020
|
+
var ClipboardContext = (0, import_react83.createContext)(null);
|
|
42923
43021
|
async function fallbackWrite(value) {
|
|
42924
43022
|
const textarea = document.createElement("textarea");
|
|
42925
43023
|
textarea.value = value;
|
|
@@ -42932,8 +43030,8 @@ async function fallbackWrite(value) {
|
|
|
42932
43030
|
document.body.removeChild(textarea);
|
|
42933
43031
|
}
|
|
42934
43032
|
function ClipboardProvider({ children }) {
|
|
42935
|
-
const [lastCopied, setLastCopied] = (0,
|
|
42936
|
-
const writeText = (0,
|
|
43033
|
+
const [lastCopied, setLastCopied] = (0, import_react83.useState)(null);
|
|
43034
|
+
const writeText = (0, import_react83.useCallback)(async (value2) => {
|
|
42937
43035
|
var _a2;
|
|
42938
43036
|
if ((_a2 = navigator.clipboard) == null ? void 0 : _a2.writeText) {
|
|
42939
43037
|
await navigator.clipboard.writeText(value2);
|
|
@@ -42942,21 +43040,21 @@ function ClipboardProvider({ children }) {
|
|
|
42942
43040
|
}
|
|
42943
43041
|
setLastCopied(value2);
|
|
42944
43042
|
}, []);
|
|
42945
|
-
const readText = (0,
|
|
43043
|
+
const readText = (0, import_react83.useCallback)(async () => {
|
|
42946
43044
|
var _a2;
|
|
42947
43045
|
if ((_a2 = navigator.clipboard) == null ? void 0 : _a2.readText) {
|
|
42948
43046
|
return navigator.clipboard.readText();
|
|
42949
43047
|
}
|
|
42950
43048
|
return lastCopied != null ? lastCopied : "";
|
|
42951
43049
|
}, [lastCopied]);
|
|
42952
|
-
const value = (0,
|
|
43050
|
+
const value = (0, import_react83.useMemo)(
|
|
42953
43051
|
() => ({ lastCopied, readText, writeText }),
|
|
42954
43052
|
[lastCopied, readText, writeText]
|
|
42955
43053
|
);
|
|
42956
43054
|
return /* @__PURE__ */ (0, import_jsx_runtime151.jsx)(ClipboardContext.Provider, { value, children });
|
|
42957
43055
|
}
|
|
42958
43056
|
function useClipboard() {
|
|
42959
|
-
const context = (0,
|
|
43057
|
+
const context = (0, import_react83.useContext)(ClipboardContext);
|
|
42960
43058
|
if (!context) {
|
|
42961
43059
|
throw new Error("useClipboard must be used within ClipboardProvider");
|
|
42962
43060
|
}
|
|
@@ -42987,13 +43085,13 @@ function ThemeSwitcher({
|
|
|
42987
43085
|
}
|
|
42988
43086
|
|
|
42989
43087
|
// ../../components/ResizeObserver/ResizeObserver.tsx
|
|
42990
|
-
var
|
|
43088
|
+
var import_react84 = require("react");
|
|
42991
43089
|
var import_jsx_runtime153 = require("react/jsx-runtime");
|
|
42992
43090
|
function ResizeObserver2(_a2) {
|
|
42993
43091
|
var _b2 = _a2, { children, className, onResize, style } = _b2, rest = __objRest(_b2, ["children", "className", "onResize", "style"]);
|
|
42994
|
-
const ref = (0,
|
|
42995
|
-
const [size, setSize] = (0,
|
|
42996
|
-
(0,
|
|
43092
|
+
const ref = (0, import_react84.useRef)(null);
|
|
43093
|
+
const [size, setSize] = (0, import_react84.useState)({ width: 0, height: 0 });
|
|
43094
|
+
(0, import_react84.useEffect)(() => {
|
|
42997
43095
|
const node = ref.current;
|
|
42998
43096
|
if (!node || typeof window.ResizeObserver === "undefined") {
|
|
42999
43097
|
return;
|
|
@@ -43016,8 +43114,8 @@ function ResizeObserver2(_a2) {
|
|
|
43016
43114
|
return /* @__PURE__ */ (0, import_jsx_runtime153.jsx)("div", __spreadProps(__spreadValues({ className, ref, style }, rest), { children: children(size) }));
|
|
43017
43115
|
}
|
|
43018
43116
|
function useResizeObserver(targetRef) {
|
|
43019
|
-
const [size, setSize] = (0,
|
|
43020
|
-
(0,
|
|
43117
|
+
const [size, setSize] = (0, import_react84.useState)({ width: 0, height: 0 });
|
|
43118
|
+
(0, import_react84.useEffect)(() => {
|
|
43021
43119
|
const node = targetRef.current;
|
|
43022
43120
|
if (!node || typeof window.ResizeObserver === "undefined") {
|
|
43023
43121
|
return;
|
|
@@ -43039,7 +43137,7 @@ function useResizeObserver(targetRef) {
|
|
|
43039
43137
|
}
|
|
43040
43138
|
|
|
43041
43139
|
// ../../components/IntersectionObserver/IntersectionObserver.tsx
|
|
43042
|
-
var
|
|
43140
|
+
var import_react85 = require("react");
|
|
43043
43141
|
var import_jsx_runtime154 = require("react/jsx-runtime");
|
|
43044
43142
|
function IntersectionObserver2({
|
|
43045
43143
|
children,
|
|
@@ -43048,9 +43146,9 @@ function IntersectionObserver2({
|
|
|
43048
43146
|
threshold = 0.25,
|
|
43049
43147
|
onChange
|
|
43050
43148
|
}) {
|
|
43051
|
-
const ref = (0,
|
|
43052
|
-
const [isIntersecting, setIsIntersecting] = (0,
|
|
43053
|
-
(0,
|
|
43149
|
+
const ref = (0, import_react85.useRef)(null);
|
|
43150
|
+
const [isIntersecting, setIsIntersecting] = (0, import_react85.useState)(false);
|
|
43151
|
+
(0, import_react85.useEffect)(() => {
|
|
43054
43152
|
const node = ref.current;
|
|
43055
43153
|
if (!node || typeof window.IntersectionObserver === "undefined") {
|
|
43056
43154
|
return;
|
|
@@ -43073,8 +43171,8 @@ function IntersectionObserver2({
|
|
|
43073
43171
|
}
|
|
43074
43172
|
function useIntersectionObserver(targetRef, options = {}) {
|
|
43075
43173
|
const { rootMargin = "0px", threshold = 0.25 } = options;
|
|
43076
|
-
const [isIntersecting, setIsIntersecting] = (0,
|
|
43077
|
-
(0,
|
|
43174
|
+
const [isIntersecting, setIsIntersecting] = (0, import_react85.useState)(false);
|
|
43175
|
+
(0, import_react85.useEffect)(() => {
|
|
43078
43176
|
const node = targetRef.current;
|
|
43079
43177
|
if (!node || typeof window.IntersectionObserver === "undefined") {
|
|
43080
43178
|
return;
|
|
@@ -43096,22 +43194,22 @@ function useIntersectionObserver(targetRef, options = {}) {
|
|
|
43096
43194
|
}
|
|
43097
43195
|
|
|
43098
43196
|
// ../../components/Sidebar/Sidebar.tsx
|
|
43099
|
-
var
|
|
43197
|
+
var import_react86 = require("react");
|
|
43100
43198
|
|
|
43101
43199
|
// ../../components/Sidebar/Sidebar.module.css
|
|
43102
|
-
var Sidebar_default = {"
|
|
43200
|
+
var Sidebar_default = {"collapsedTooltip":"opus_4Pogux_collapsedTooltip","groupHeader":"opus_4Pogux_groupHeader","footer":"opus_4Pogux_footer","groupItems":"opus_4Pogux_groupItems","icon":"opus_4Pogux_icon","headerInner":"opus_4Pogux_headerInner","overflowTooltip":"opus_4Pogux_overflowTooltip","groupChevronOpen":"opus_4Pogux_groupChevronOpen","visuallyHidden":"opus_4Pogux_visuallyHidden","linkLabel":"opus_4Pogux_linkLabel","collapsedGroup":"opus_4Pogux_collapsedGroup","main":"opus_4Pogux_main","layout":"opus_4Pogux_layout","collapsedGroupChevron":"opus_4Pogux_collapsedGroupChevron","groupChevron":"opus_4Pogux_groupChevron","sidebar":"opus_4Pogux_sidebar","body":"opus_4Pogux_body","nav":"opus_4Pogux_nav","group":"opus_4Pogux_group","groupLabel":"opus_4Pogux_groupLabel","link":"opus_4Pogux_link","collapsedGroupWrap":"opus_4Pogux_collapsedGroupWrap","overflowLabel":"opus_4Pogux_overflowLabel","headerTitle":"opus_4Pogux_headerTitle","bodyContent":"opus_4Pogux_bodyContent","groupItemsWrap":"opus_4Pogux_groupItemsWrap","header":"opus_4Pogux_header","collapsedSubmenu":"opus_4Pogux_collapsedSubmenu","linkActive":"opus_4Pogux_linkActive","collapsedGroupChevronOpen":"opus_4Pogux_collapsedGroupChevronOpen"};
|
|
43103
43201
|
|
|
43104
43202
|
// ../../components/Sidebar/Sidebar.tsx
|
|
43105
43203
|
var import_jsx_runtime155 = require("react/jsx-runtime");
|
|
43106
|
-
var SidebarContext = (0,
|
|
43204
|
+
var SidebarContext = (0, import_react86.createContext)({
|
|
43107
43205
|
collapsed: false,
|
|
43108
43206
|
density: "comfortable"
|
|
43109
43207
|
});
|
|
43110
43208
|
var SIDEBAR_STORAGE_PREFIX = "opus-sidebar-state";
|
|
43111
43209
|
function SidebarOverflowLabel({ label }) {
|
|
43112
|
-
const labelRef = (0,
|
|
43113
|
-
const [overflowing, setOverflowing] = (0,
|
|
43114
|
-
(0,
|
|
43210
|
+
const labelRef = (0, import_react86.useRef)(null);
|
|
43211
|
+
const [overflowing, setOverflowing] = (0, import_react86.useState)(false);
|
|
43212
|
+
(0, import_react86.useEffect)(() => {
|
|
43115
43213
|
const element = labelRef.current;
|
|
43116
43214
|
if (!element) {
|
|
43117
43215
|
return;
|
|
@@ -43217,17 +43315,17 @@ function Sidebar({
|
|
|
43217
43315
|
storageKey
|
|
43218
43316
|
}) {
|
|
43219
43317
|
var _a2;
|
|
43220
|
-
const resolvedStorageKey = (0,
|
|
43318
|
+
const resolvedStorageKey = (0, import_react86.useMemo)(
|
|
43221
43319
|
() => `${SIDEBAR_STORAGE_PREFIX}:${storageKey != null ? storageKey : hashString(`${navLabel}:${serialiseSidebarMenu(menu)}`)}`,
|
|
43222
43320
|
[menu, navLabel, storageKey]
|
|
43223
43321
|
);
|
|
43224
|
-
const [persistedState, setPersistedState] = (0,
|
|
43322
|
+
const [persistedState, setPersistedState] = (0, import_react86.useState)(
|
|
43225
43323
|
{}
|
|
43226
43324
|
);
|
|
43227
|
-
const [motionReady, setMotionReady] = (0,
|
|
43228
|
-
const [internalActiveItem, setInternalActiveItem] = (0,
|
|
43325
|
+
const [motionReady, setMotionReady] = (0, import_react86.useState)(!persistState);
|
|
43326
|
+
const [internalActiveItem, setInternalActiveItem] = (0, import_react86.useState)(defaultActiveItem);
|
|
43229
43327
|
const effectiveActiveItem = activeItem != null ? activeItem : persistState ? (_a2 = persistedState.activeItem) != null ? _a2 : internalActiveItem : internalActiveItem;
|
|
43230
|
-
(0,
|
|
43328
|
+
(0, import_react86.useEffect)(() => {
|
|
43231
43329
|
if (!persistState) {
|
|
43232
43330
|
const readyTimeout = window.setTimeout(() => setMotionReady(true), 0);
|
|
43233
43331
|
return () => window.clearTimeout(readyTimeout);
|
|
@@ -43256,7 +43354,7 @@ function Sidebar({
|
|
|
43256
43354
|
}
|
|
43257
43355
|
};
|
|
43258
43356
|
}, [persistState, resolvedStorageKey]);
|
|
43259
|
-
const updatePersistedState = (0,
|
|
43357
|
+
const updatePersistedState = (0, import_react86.useCallback)(
|
|
43260
43358
|
(next) => {
|
|
43261
43359
|
if (!persistState) {
|
|
43262
43360
|
return;
|
|
@@ -43269,7 +43367,7 @@ function Sidebar({
|
|
|
43269
43367
|
},
|
|
43270
43368
|
[persistState, resolvedStorageKey]
|
|
43271
43369
|
);
|
|
43272
|
-
const setSidebarActiveItem = (0,
|
|
43370
|
+
const setSidebarActiveItem = (0, import_react86.useCallback)(
|
|
43273
43371
|
(itemId) => {
|
|
43274
43372
|
if (persistState) {
|
|
43275
43373
|
updatePersistedState((current) => __spreadProps(__spreadValues({}, current), {
|
|
@@ -43282,14 +43380,14 @@ function Sidebar({
|
|
|
43282
43380
|
},
|
|
43283
43381
|
[activeItem, persistState, updatePersistedState]
|
|
43284
43382
|
);
|
|
43285
|
-
const getGroupOpenState = (0,
|
|
43383
|
+
const getGroupOpenState = (0, import_react86.useCallback)(
|
|
43286
43384
|
(groupId, fallback) => {
|
|
43287
43385
|
var _a3, _b2;
|
|
43288
43386
|
return (_b2 = (_a3 = persistedState.groups) == null ? void 0 : _a3[groupId]) != null ? _b2 : fallback;
|
|
43289
43387
|
},
|
|
43290
43388
|
[persistedState.groups]
|
|
43291
43389
|
);
|
|
43292
|
-
const setGroupOpenState = (0,
|
|
43390
|
+
const setGroupOpenState = (0, import_react86.useCallback)(
|
|
43293
43391
|
(groupId, open) => {
|
|
43294
43392
|
updatePersistedState((current) => __spreadProps(__spreadValues({}, current), {
|
|
43295
43393
|
groups: __spreadProps(__spreadValues({}, current.groups), {
|
|
@@ -43355,7 +43453,7 @@ function Sidebar({
|
|
|
43355
43453
|
);
|
|
43356
43454
|
}
|
|
43357
43455
|
function SidebarHeader({ children, title }) {
|
|
43358
|
-
const { collapsed } = (0,
|
|
43456
|
+
const { collapsed } = (0, import_react86.useContext)(SidebarContext);
|
|
43359
43457
|
return /* @__PURE__ */ (0, import_jsx_runtime155.jsxs)("div", { className: Sidebar_default.headerInner, children: [
|
|
43360
43458
|
/* @__PURE__ */ (0, import_jsx_runtime155.jsx)("h2", { className: collapsed ? Sidebar_default.visuallyHidden : Sidebar_default.headerTitle, children: title }),
|
|
43361
43459
|
children
|
|
@@ -43381,7 +43479,7 @@ function SidebarLink({
|
|
|
43381
43479
|
collapsed,
|
|
43382
43480
|
onSelect: onSidebarSelect,
|
|
43383
43481
|
setActiveItem
|
|
43384
|
-
} = (0,
|
|
43482
|
+
} = (0, import_react86.useContext)(SidebarContext);
|
|
43385
43483
|
const isActive = active != null ? active : itemId ? activeItem === itemId : false;
|
|
43386
43484
|
const className = [Sidebar_default.link, isActive ? Sidebar_default.linkActive : ""].filter(Boolean).join(" ");
|
|
43387
43485
|
const label = typeof children === "string" ? children : null;
|
|
@@ -43511,16 +43609,16 @@ function SidebarGroup({
|
|
|
43511
43609
|
getGroupOpenState,
|
|
43512
43610
|
onCollapsedGroupSelect,
|
|
43513
43611
|
setGroupOpenState
|
|
43514
|
-
} = (0,
|
|
43612
|
+
} = (0, import_react86.useContext)(SidebarContext);
|
|
43515
43613
|
const listId = createGroupListId(label, id);
|
|
43516
|
-
const [open, setOpen] = (0,
|
|
43614
|
+
const [open, setOpen] = (0, import_react86.useState)(
|
|
43517
43615
|
() => {
|
|
43518
43616
|
var _a2;
|
|
43519
43617
|
return (_a2 = getGroupOpenState == null ? void 0 : getGroupOpenState(listId, defaultOpen)) != null ? _a2 : defaultOpen;
|
|
43520
43618
|
}
|
|
43521
43619
|
);
|
|
43522
|
-
const [collapsedOpen, setCollapsedOpen] = (0,
|
|
43523
|
-
(0,
|
|
43620
|
+
const [collapsedOpen, setCollapsedOpen] = (0, import_react86.useState)(false);
|
|
43621
|
+
(0, import_react86.useEffect)(() => {
|
|
43524
43622
|
const timeout = window.setTimeout(() => {
|
|
43525
43623
|
var _a2;
|
|
43526
43624
|
setOpen((_a2 = getGroupOpenState == null ? void 0 : getGroupOpenState(listId, defaultOpen)) != null ? _a2 : defaultOpen);
|
|
@@ -43651,10 +43749,10 @@ function SidebarLayout({
|
|
|
43651
43749
|
}
|
|
43652
43750
|
|
|
43653
43751
|
// ../../components/AccentColorPicker/AccentColorPicker.tsx
|
|
43654
|
-
var
|
|
43752
|
+
var import_react87 = require("react");
|
|
43655
43753
|
|
|
43656
43754
|
// ../../components/AccentColorPicker/AccentColorPicker.module.css
|
|
43657
|
-
var AccentColorPicker_default = {"
|
|
43755
|
+
var AccentColorPicker_default = {"swatch":"opus_scMnrW_swatch","swatches":"opus_scMnrW_swatches"};
|
|
43658
43756
|
|
|
43659
43757
|
// ../../components/AccentColorPicker/AccentColorPicker.tsx
|
|
43660
43758
|
var import_jsx_runtime156 = require("react/jsx-runtime");
|
|
@@ -43691,8 +43789,8 @@ function applyDocumentAccent(accent) {
|
|
|
43691
43789
|
);
|
|
43692
43790
|
}
|
|
43693
43791
|
function useAccentPreference() {
|
|
43694
|
-
const [accent, setAccentState] = (0,
|
|
43695
|
-
(0,
|
|
43792
|
+
const [accent, setAccentState] = (0, import_react87.useState)(DEFAULT_ACCENT_COLOR);
|
|
43793
|
+
(0, import_react87.useEffect)(() => {
|
|
43696
43794
|
const timeout = window.setTimeout(() => {
|
|
43697
43795
|
const stored = window.localStorage.getItem(ACCENT_STORAGE_KEY);
|
|
43698
43796
|
if (isAccentColor(stored)) {
|
|
@@ -43704,7 +43802,7 @@ function useAccentPreference() {
|
|
|
43704
43802
|
}, 0);
|
|
43705
43803
|
return () => window.clearTimeout(timeout);
|
|
43706
43804
|
}, []);
|
|
43707
|
-
const setAccent = (0,
|
|
43805
|
+
const setAccent = (0, import_react87.useCallback)((next) => {
|
|
43708
43806
|
if (!isAccentColor(next)) {
|
|
43709
43807
|
return;
|
|
43710
43808
|
}
|
|
@@ -43712,7 +43810,7 @@ function useAccentPreference() {
|
|
|
43712
43810
|
applyDocumentAccent(next);
|
|
43713
43811
|
window.localStorage.setItem(ACCENT_STORAGE_KEY, next);
|
|
43714
43812
|
}, []);
|
|
43715
|
-
const accentStyle = (0,
|
|
43813
|
+
const accentStyle = (0, import_react87.useMemo)(() => createAccentStyle(accent), [accent]);
|
|
43716
43814
|
return { accent, accentStyle, setAccent };
|
|
43717
43815
|
}
|
|
43718
43816
|
function AccentColorPicker({
|
|
@@ -43758,11 +43856,11 @@ function AccentColorPicker({
|
|
|
43758
43856
|
}
|
|
43759
43857
|
|
|
43760
43858
|
// ../../components/IconPicker/IconPicker.tsx
|
|
43761
|
-
var
|
|
43859
|
+
var import_react88 = require("react");
|
|
43762
43860
|
var import_react_fontawesome13 = require("@fortawesome/react-fontawesome");
|
|
43763
43861
|
|
|
43764
43862
|
// ../../components/IconPicker/IconPicker.module.css
|
|
43765
|
-
var IconPicker_default = {"
|
|
43863
|
+
var IconPicker_default = {"trigger":"opus_4E-Oa1_trigger","grid":"opus_4E-Oa1_grid","optionIcon":"opus_4E-Oa1_optionIcon","search":"opus_4E-Oa1_search","triggerIcon":"opus_4E-Oa1_triggerIcon","option":"opus_4E-Oa1_option","empty":"opus_4E-Oa1_empty","menu":"opus_4E-Oa1_menu","chevron":"opus_4E-Oa1_chevron","root":"opus_4E-Oa1_root","triggerLabel":"opus_4E-Oa1_triggerLabel"};
|
|
43766
43864
|
|
|
43767
43865
|
// ../../components/IconPicker/IconPicker.tsx
|
|
43768
43866
|
var import_jsx_runtime157 = require("react/jsx-runtime");
|
|
@@ -43776,14 +43874,14 @@ function IconPicker({
|
|
|
43776
43874
|
searchPlaceholder = "Search icons",
|
|
43777
43875
|
value
|
|
43778
43876
|
}) {
|
|
43779
|
-
const [open, setOpen] = (0,
|
|
43780
|
-
const [query, setQuery] = (0,
|
|
43781
|
-
const rootRef = (0,
|
|
43782
|
-
const searchRef = (0,
|
|
43783
|
-
const listboxId = (0,
|
|
43877
|
+
const [open, setOpen] = (0, import_react88.useState)(false);
|
|
43878
|
+
const [query, setQuery] = (0, import_react88.useState)("");
|
|
43879
|
+
const rootRef = (0, import_react88.useRef)(null);
|
|
43880
|
+
const searchRef = (0, import_react88.useRef)(null);
|
|
43881
|
+
const listboxId = (0, import_react88.useId)();
|
|
43784
43882
|
const selected = getFontAwesomeIconOption(value);
|
|
43785
|
-
const filteredIcons = (0,
|
|
43786
|
-
(0,
|
|
43883
|
+
const filteredIcons = (0, import_react88.useMemo)(() => filterFontAwesomeIcons(query), [query]);
|
|
43884
|
+
(0, import_react88.useEffect)(() => {
|
|
43787
43885
|
if (!open) {
|
|
43788
43886
|
return;
|
|
43789
43887
|
}
|
|
@@ -43865,7 +43963,7 @@ function IconPicker({
|
|
|
43865
43963
|
}
|
|
43866
43964
|
|
|
43867
43965
|
// ../../components/IconBadge/IconBadge.module.css
|
|
43868
|
-
var IconBadge_default = {"
|
|
43966
|
+
var IconBadge_default = {"root":"opus_H9TUGj_root","icon":"opus_H9TUGj_icon","badge":"opus_H9TUGj_badge"};
|
|
43869
43967
|
|
|
43870
43968
|
// ../../components/IconBadge/IconBadge.tsx
|
|
43871
43969
|
var import_jsx_runtime158 = require("react/jsx-runtime");
|
|
@@ -43926,10 +44024,10 @@ function IconBadge({
|
|
|
43926
44024
|
}
|
|
43927
44025
|
|
|
43928
44026
|
// ../../components/ApplicationHeader/ApplicationHeader.tsx
|
|
43929
|
-
var
|
|
44027
|
+
var import_react89 = require("react");
|
|
43930
44028
|
|
|
43931
44029
|
// ../../components/ApplicationHeader/ApplicationHeader.module.css
|
|
43932
|
-
var ApplicationHeader_default = {"
|
|
44030
|
+
var ApplicationHeader_default = {"createButton":"opus_TjZbi8_createButton","content":"opus_TjZbi8_content","root":"opus_TjZbi8_root","actions":"opus_TjZbi8_actions","actionGroup":"opus_TjZbi8_actionGroup","brand":"opus_TjZbi8_brand","logo":"opus_TjZbi8_logo","search":"opus_TjZbi8_search","createMenuIcon":"opus_TjZbi8_createMenuIcon","profile":"opus_TjZbi8_profile"};
|
|
43933
44031
|
|
|
43934
44032
|
// ../../components/ApplicationHeader/ApplicationHeader.tsx
|
|
43935
44033
|
var import_jsx_runtime159 = require("react/jsx-runtime");
|
|
@@ -43951,7 +44049,7 @@ function ApplicationHeader({
|
|
|
43951
44049
|
searchValue = "",
|
|
43952
44050
|
showSearch = true
|
|
43953
44051
|
}) {
|
|
43954
|
-
const searchInputRef = (0,
|
|
44052
|
+
const searchInputRef = (0, import_react89.useRef)(null);
|
|
43955
44053
|
const notificationActions = actions.filter((action) => action.group === "notification" || action.count !== void 0);
|
|
43956
44054
|
const utilityActions = actions.filter((action) => action.group === "utility" || action.group === void 0 && action.count === void 0);
|
|
43957
44055
|
const handleSearchChange = (event) => {
|
|
@@ -43964,7 +44062,7 @@ function ApplicationHeader({
|
|
|
43964
44062
|
label: item.label,
|
|
43965
44063
|
onSelect: item.onSelect
|
|
43966
44064
|
}));
|
|
43967
|
-
(0,
|
|
44065
|
+
(0, import_react89.useEffect)(() => {
|
|
43968
44066
|
var _a2;
|
|
43969
44067
|
if (!showSearch) {
|
|
43970
44068
|
return;
|
|
@@ -44067,7 +44165,7 @@ function ApplicationHeader({
|
|
|
44067
44165
|
}
|
|
44068
44166
|
|
|
44069
44167
|
// ../../components/ApplicationFooter/ApplicationFooter.module.css
|
|
44070
|
-
var ApplicationFooter_default = {"
|
|
44168
|
+
var ApplicationFooter_default = {"version":"opus_mphyzH_version","logo":"opus_mphyzH_logo","product":"opus_mphyzH_product","actions":"opus_mphyzH_actions","brand":"opus_mphyzH_brand","action":"opus_mphyzH_action","root":"opus_mphyzH_root","copyright":"opus_mphyzH_copyright","actionSlot":"opus_mphyzH_actionSlot"};
|
|
44071
44169
|
|
|
44072
44170
|
// ../../components/ApplicationFooter/ApplicationFooter.tsx
|
|
44073
44171
|
var import_jsx_runtime160 = require("react/jsx-runtime");
|
|
@@ -44090,8 +44188,71 @@ function ApplicationFooter({ actions = [], brandAlt = "Opus", brandSrc = "/opus-
|
|
|
44090
44188
|
] });
|
|
44091
44189
|
}
|
|
44092
44190
|
|
|
44191
|
+
// ../../components/WelcomeMessage/WelcomeMessage.tsx
|
|
44192
|
+
var import_react90 = require("react");
|
|
44193
|
+
|
|
44194
|
+
// ../../components/WelcomeMessage/WelcomeMessage.module.css
|
|
44195
|
+
var WelcomeMessage_default = {"heading":"opus_cZqjKS_heading","subtitle":"opus_cZqjKS_subtitle","welcome-wave":"opus_cZqjKS_welcome-wave","root":"opus_cZqjKS_root","wave":"opus_cZqjKS_wave"};
|
|
44196
|
+
|
|
44197
|
+
// ../../components/WelcomeMessage/WelcomeMessage.tsx
|
|
44198
|
+
var import_jsx_runtime161 = require("react/jsx-runtime");
|
|
44199
|
+
function toDate(value) {
|
|
44200
|
+
if (value instanceof Date) return value;
|
|
44201
|
+
if (value !== void 0) return new Date(value);
|
|
44202
|
+
return /* @__PURE__ */ new Date();
|
|
44203
|
+
}
|
|
44204
|
+
function getHour(date, timeZone) {
|
|
44205
|
+
var _a2;
|
|
44206
|
+
if (!timeZone) return date.getHours();
|
|
44207
|
+
const hour = (_a2 = new Intl.DateTimeFormat("en-GB", {
|
|
44208
|
+
hour: "2-digit",
|
|
44209
|
+
hourCycle: "h23",
|
|
44210
|
+
timeZone
|
|
44211
|
+
}).formatToParts(date).find((part) => part.type === "hour")) == null ? void 0 : _a2.value;
|
|
44212
|
+
return Number(hour != null ? hour : date.getHours());
|
|
44213
|
+
}
|
|
44214
|
+
function getWelcomeGreeting(hour) {
|
|
44215
|
+
if (hour >= 5 && hour < 12) return "morning";
|
|
44216
|
+
if (hour >= 12 && hour < 17) return "afternoon";
|
|
44217
|
+
return "evening";
|
|
44218
|
+
}
|
|
44219
|
+
function WelcomeMessage({
|
|
44220
|
+
as: Heading = "h1",
|
|
44221
|
+
className,
|
|
44222
|
+
date,
|
|
44223
|
+
greeting,
|
|
44224
|
+
name,
|
|
44225
|
+
showWave = true,
|
|
44226
|
+
subtitle = "Here\u2019s what\u2019s happening with your CRM today.",
|
|
44227
|
+
timeZone,
|
|
44228
|
+
updateInterval = 6e4
|
|
44229
|
+
}) {
|
|
44230
|
+
const [currentDate, setCurrentDate] = (0, import_react90.useState)(() => toDate(date));
|
|
44231
|
+
(0, import_react90.useEffect)(() => {
|
|
44232
|
+
if (date !== void 0) {
|
|
44233
|
+
setCurrentDate(toDate(date));
|
|
44234
|
+
return;
|
|
44235
|
+
}
|
|
44236
|
+
const interval = window.setInterval(() => setCurrentDate(/* @__PURE__ */ new Date()), updateInterval);
|
|
44237
|
+
return () => window.clearInterval(interval);
|
|
44238
|
+
}, [date, updateInterval]);
|
|
44239
|
+
const resolvedGreeting = (0, import_react90.useMemo)(
|
|
44240
|
+
() => greeting != null ? greeting : `Good ${getWelcomeGreeting(getHour(currentDate, timeZone))}`,
|
|
44241
|
+
[currentDate, greeting, timeZone]
|
|
44242
|
+
);
|
|
44243
|
+
return /* @__PURE__ */ (0, import_jsx_runtime161.jsxs)("div", { className: [WelcomeMessage_default.root, className].filter(Boolean).join(" "), children: [
|
|
44244
|
+
/* @__PURE__ */ (0, import_jsx_runtime161.jsxs)(Heading, { className: WelcomeMessage_default.heading, suppressHydrationWarning: true, children: [
|
|
44245
|
+
resolvedGreeting,
|
|
44246
|
+
", ",
|
|
44247
|
+
name,
|
|
44248
|
+
showWave ? /* @__PURE__ */ (0, import_jsx_runtime161.jsx)("span", { "aria-hidden": "true", className: WelcomeMessage_default.wave, children: "\u{1F44B}" }) : null
|
|
44249
|
+
] }),
|
|
44250
|
+
subtitle ? /* @__PURE__ */ (0, import_jsx_runtime161.jsx)("p", { className: WelcomeMessage_default.subtitle, children: subtitle }) : null
|
|
44251
|
+
] });
|
|
44252
|
+
}
|
|
44253
|
+
|
|
44093
44254
|
// ../../components/FontPicker/FontPicker.tsx
|
|
44094
|
-
var
|
|
44255
|
+
var import_react91 = require("react");
|
|
44095
44256
|
|
|
44096
44257
|
// ../../components/FontPicker/googleFonts.ts
|
|
44097
44258
|
var googleFonts = [
|
|
@@ -44203,10 +44364,10 @@ var googleFonts = [
|
|
|
44203
44364
|
];
|
|
44204
44365
|
|
|
44205
44366
|
// ../../components/FontPicker/FontPicker.module.css
|
|
44206
|
-
var FontPicker_default = {"
|
|
44367
|
+
var FontPicker_default = {"optionPreview":"opus_ub1fhz_optionPreview","triggerText":"opus_ub1fhz_triggerText","chevron":"opus_ub1fhz_chevron","options":"opus_ub1fhz_options","label":"opus_ub1fhz_label","dropdown":"opus_ub1fhz_dropdown","search":"opus_ub1fhz_search","optionName":"opus_ub1fhz_optionName","searchWrap":"opus_ub1fhz_searchWrap","empty":"opus_ub1fhz_empty","trigger":"opus_ub1fhz_trigger","option":"opus_ub1fhz_option","picker":"opus_ub1fhz_picker","field":"opus_ub1fhz_field"};
|
|
44207
44368
|
|
|
44208
44369
|
// ../../components/FontPicker/FontPicker.tsx
|
|
44209
|
-
var
|
|
44370
|
+
var import_jsx_runtime162 = require("react/jsx-runtime");
|
|
44210
44371
|
var FONT_STORAGE_KEY = "opus-components-font";
|
|
44211
44372
|
var DEFAULT_FONT_FAMILY = "Space Grotesk";
|
|
44212
44373
|
var fontSet = new Set(googleFonts);
|
|
@@ -44254,8 +44415,8 @@ function applyDocumentFont(family) {
|
|
|
44254
44415
|
loadSelectedFont(family);
|
|
44255
44416
|
}
|
|
44256
44417
|
function useFontPreference() {
|
|
44257
|
-
const [fontFamily, setFontFamilyState] = (0,
|
|
44258
|
-
(0,
|
|
44418
|
+
const [fontFamily, setFontFamilyState] = (0, import_react91.useState)(DEFAULT_FONT_FAMILY);
|
|
44419
|
+
(0, import_react91.useEffect)(() => {
|
|
44259
44420
|
const timeout = window.setTimeout(() => {
|
|
44260
44421
|
const stored = window.localStorage.getItem(FONT_STORAGE_KEY);
|
|
44261
44422
|
const initial = isGoogleFont(stored) ? stored : DEFAULT_FONT_FAMILY;
|
|
@@ -44264,7 +44425,7 @@ function useFontPreference() {
|
|
|
44264
44425
|
}, 0);
|
|
44265
44426
|
return () => window.clearTimeout(timeout);
|
|
44266
44427
|
}, []);
|
|
44267
|
-
const setFontFamily = (0,
|
|
44428
|
+
const setFontFamily = (0, import_react91.useCallback)((next) => {
|
|
44268
44429
|
if (!isGoogleFont(next)) return;
|
|
44269
44430
|
setFontFamilyState(next);
|
|
44270
44431
|
applyDocumentFont(next);
|
|
@@ -44273,15 +44434,15 @@ function useFontPreference() {
|
|
|
44273
44434
|
return { fontFamily, setFontFamily };
|
|
44274
44435
|
}
|
|
44275
44436
|
function FontPicker({ id, onChange, value }) {
|
|
44276
|
-
const [open, setOpen] = (0,
|
|
44277
|
-
const [query, setQuery] = (0,
|
|
44278
|
-
const rootRef = (0,
|
|
44279
|
-
const searchRef = (0,
|
|
44280
|
-
const filteredFonts = (0,
|
|
44437
|
+
const [open, setOpen] = (0, import_react91.useState)(false);
|
|
44438
|
+
const [query, setQuery] = (0, import_react91.useState)("");
|
|
44439
|
+
const rootRef = (0, import_react91.useRef)(null);
|
|
44440
|
+
const searchRef = (0, import_react91.useRef)(null);
|
|
44441
|
+
const filteredFonts = (0, import_react91.useMemo)(() => {
|
|
44281
44442
|
const normalized = query.trim().toLocaleLowerCase();
|
|
44282
44443
|
return normalized ? googleFonts.filter((font) => font.toLocaleLowerCase().includes(normalized)) : googleFonts;
|
|
44283
44444
|
}, [query]);
|
|
44284
|
-
(0,
|
|
44445
|
+
(0, import_react91.useEffect)(() => {
|
|
44285
44446
|
var _a2;
|
|
44286
44447
|
if (!open) return;
|
|
44287
44448
|
loadFontLinks(googleFonts);
|
|
@@ -44300,10 +44461,10 @@ function FontPicker({ id, onChange, value }) {
|
|
|
44300
44461
|
document.removeEventListener("keydown", closeOnEscape);
|
|
44301
44462
|
};
|
|
44302
44463
|
}, [open]);
|
|
44303
|
-
return /* @__PURE__ */ (0,
|
|
44304
|
-
/* @__PURE__ */ (0,
|
|
44305
|
-
/* @__PURE__ */ (0,
|
|
44306
|
-
/* @__PURE__ */ (0,
|
|
44464
|
+
return /* @__PURE__ */ (0, import_jsx_runtime162.jsxs)("div", { className: FontPicker_default.field, ref: rootRef, children: [
|
|
44465
|
+
/* @__PURE__ */ (0, import_jsx_runtime162.jsx)("span", { className: FontPicker_default.label, children: "Font" }),
|
|
44466
|
+
/* @__PURE__ */ (0, import_jsx_runtime162.jsxs)("div", { className: FontPicker_default.picker, children: [
|
|
44467
|
+
/* @__PURE__ */ (0, import_jsx_runtime162.jsxs)(
|
|
44307
44468
|
"button",
|
|
44308
44469
|
{
|
|
44309
44470
|
"aria-controls": `${id}-options`,
|
|
@@ -44315,13 +44476,13 @@ function FontPicker({ id, onChange, value }) {
|
|
|
44315
44476
|
type: "button",
|
|
44316
44477
|
onClick: () => setOpen((current) => !current),
|
|
44317
44478
|
children: [
|
|
44318
|
-
/* @__PURE__ */ (0,
|
|
44319
|
-
/* @__PURE__ */ (0,
|
|
44479
|
+
/* @__PURE__ */ (0, import_jsx_runtime162.jsx)("span", { className: FontPicker_default.triggerText, children: value }),
|
|
44480
|
+
/* @__PURE__ */ (0, import_jsx_runtime162.jsx)("span", { "aria-hidden": "true", className: FontPicker_default.chevron })
|
|
44320
44481
|
]
|
|
44321
44482
|
}
|
|
44322
44483
|
),
|
|
44323
|
-
open ? /* @__PURE__ */ (0,
|
|
44324
|
-
/* @__PURE__ */ (0,
|
|
44484
|
+
open ? /* @__PURE__ */ (0, import_jsx_runtime162.jsxs)("div", { className: FontPicker_default.dropdown, children: [
|
|
44485
|
+
/* @__PURE__ */ (0, import_jsx_runtime162.jsx)("div", { className: FontPicker_default.searchWrap, children: /* @__PURE__ */ (0, import_jsx_runtime162.jsx)(
|
|
44325
44486
|
"input",
|
|
44326
44487
|
{
|
|
44327
44488
|
"aria-label": "Search Google Fonts",
|
|
@@ -44333,10 +44494,10 @@ function FontPicker({ id, onChange, value }) {
|
|
|
44333
44494
|
onChange: (event) => setQuery(event.target.value)
|
|
44334
44495
|
}
|
|
44335
44496
|
) }),
|
|
44336
|
-
/* @__PURE__ */ (0,
|
|
44497
|
+
/* @__PURE__ */ (0, import_jsx_runtime162.jsxs)("div", { "aria-label": "Google Fonts", className: FontPicker_default.options, id: `${id}-options`, role: "listbox", children: [
|
|
44337
44498
|
filteredFonts.map((font) => {
|
|
44338
44499
|
const selected = font === value;
|
|
44339
|
-
return /* @__PURE__ */ (0,
|
|
44500
|
+
return /* @__PURE__ */ (0, import_jsx_runtime162.jsxs)(
|
|
44340
44501
|
"button",
|
|
44341
44502
|
{
|
|
44342
44503
|
"aria-selected": selected,
|
|
@@ -44351,14 +44512,14 @@ function FontPicker({ id, onChange, value }) {
|
|
|
44351
44512
|
setQuery("");
|
|
44352
44513
|
},
|
|
44353
44514
|
children: [
|
|
44354
|
-
/* @__PURE__ */ (0,
|
|
44355
|
-
/* @__PURE__ */ (0,
|
|
44515
|
+
/* @__PURE__ */ (0, import_jsx_runtime162.jsx)("span", { className: FontPicker_default.optionName, children: font }),
|
|
44516
|
+
/* @__PURE__ */ (0, import_jsx_runtime162.jsx)("span", { className: FontPicker_default.optionPreview, children: "The quick brown fox" })
|
|
44356
44517
|
]
|
|
44357
44518
|
},
|
|
44358
44519
|
font
|
|
44359
44520
|
);
|
|
44360
44521
|
}),
|
|
44361
|
-
filteredFonts.length === 0 ? /* @__PURE__ */ (0,
|
|
44522
|
+
filteredFonts.length === 0 ? /* @__PURE__ */ (0, import_jsx_runtime162.jsx)("p", { className: FontPicker_default.empty, children: "No matching fonts" }) : null
|
|
44362
44523
|
] })
|
|
44363
44524
|
] }) : null
|
|
44364
44525
|
] })
|
|
@@ -44542,6 +44703,7 @@ function FontPicker({ id, onChange, value }) {
|
|
|
44542
44703
|
UpcomingTasks,
|
|
44543
44704
|
UserProfileWidget,
|
|
44544
44705
|
VisuallyHidden,
|
|
44706
|
+
WelcomeMessage,
|
|
44545
44707
|
accentColors,
|
|
44546
44708
|
cartesianSpecializedVariants,
|
|
44547
44709
|
countryCodeToFlag,
|
|
@@ -44554,6 +44716,7 @@ function FontPicker({ id, onChange, value }) {
|
|
|
44554
44716
|
defaultTopNavigationMenus,
|
|
44555
44717
|
demoSankeyLinks,
|
|
44556
44718
|
fieldInputAriaProps,
|
|
44719
|
+
getWelcomeGreeting,
|
|
44557
44720
|
googleFonts,
|
|
44558
44721
|
phoneCountries,
|
|
44559
44722
|
useAccentPreference,
|