udp-react-enterprise-component-library 26.1.0-beta.13 → 26.1.0-beta.15
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.mjs +2 -2
- package/dist/shell/useShellVisibility.js +5 -5
- package/dist/shell/useShellVisibility.js.map +1 -1
- package/dist/shell/useShellVisibility.mjs +19 -16
- package/dist/shell/useShellVisibility.mjs.map +1 -1
- package/dist/stores/shellStore.d.ts +1 -1
- package/dist/stores/shellStore.d.ts.map +1 -1
- package/dist/stores/shellStore.js +3 -13
- package/dist/stores/shellStore.js.map +1 -1
- package/dist/stores/shellStore.mjs +3 -25
- package/dist/stores/shellStore.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -44,7 +44,7 @@ import { ActionContext } from "./contexts/ActionContext.mjs";
|
|
|
44
44
|
import { getSuccessAction } from "./UI/SuccessAction.mjs";
|
|
45
45
|
import { useHandleAction } from "./actions/utils/actionUtils.mjs";
|
|
46
46
|
import { useCatalogStore } from "./stores/catalogStore.mjs";
|
|
47
|
-
import {
|
|
47
|
+
import { useShellStore, useWithoutShellParam } from "./stores/shellStore.mjs";
|
|
48
48
|
import { useActionState, useActions } from "./hooks/useActions.mjs";
|
|
49
49
|
import { ActionSummaryListItem } from "./actions/actionSummary/ActionSummaryListItem.mjs";
|
|
50
50
|
import { evaluateRule, getPropertyMappingList, getPropertyMappingObj, mapRule, mapRuleData } from "./utilities/rules/RuleUtilities.mjs";
|
|
@@ -531,4 +531,4 @@ import UdpMaintenanceConfigPage from "./udp/pages/UdpMaintenanceConfigPage/UdpMa
|
|
|
531
531
|
import { TransactionAttachmentPdfStitcher } from "./udp/pages/UdpTransactionsPage/components/transactionAttachment/TransactionAttachmentPdfStitcher.mjs";
|
|
532
532
|
import { ConfigService } from "udp-react-stencil-component-library";
|
|
533
533
|
import { ALLOWED_GROUP_OPERATIONS, LogicalSearchOperator, LookupColumnTypeId, LookupTypeId, SearchConstants, SearchGroupingType, SearchOperators, SearchValueType, SortOrder, buildCatalogTree, buildColumnDefsFromCatalog, buildIndices, findNodeByPath, isCatalogModelObject } from "udp-stencil-component-library";
|
|
534
|
-
export { ADUserTypeEnums, ALLOWED_GROUP_OPERATIONS, Accordion, AccountFlags, ActionContext, ActionDispatchContext, ActionForm, ActionModal, ActionPanelPlacement, ActionProvider, ActionSideSheet, ActionSpeedDial, ActionSplitScreen, ActionSummaryCard, ActionSummaryHeader, ActionSummaryListContainer, ActionSummaryListItem, ActionSummaryPopover, ActionWrapper, ActionsRenderer, AddUser, AddressListItem, Adornment, AgTable, AgTableButtons, AlertContainer, AlertFlag, AmChart, AmbientAlert, AmbientAutoComplete, AmbientCard, AmbientCardButton, AmbientCardTitle, AmbientDateRangeSelector, AmbientGridTemplate, AmbientList, AmbientListItem, AmbientPopoverMenuItem, AmbientProjectSwitcher, AmbientSingleDateSelector, AmbientSplitStatCard, AmbientStepper, AmbientSummaryListHeader, AmbientTextField, AmbientToast, AmbientToggleButton, AmbientToggleButtonGroup, AmbientTokenButton, AmbientVisualizationCard, AmbientVisualizer, ApiMethodInstanceUdpGrid, AppMenu, AppMenuItem, AppMenuItemComponent, ApprovalIcon, Attachments, AuthProvider, AuthProviderWrapper, AutoCompletePropertyWidget_exports as AutoCompletePropertyWidget, AvatarAlphabet, BackwardsCompatibleGrid, BarChartWidget_exports as BarChartWidget, BaseSideSheet, BioCard, Block, BooleanPropertyWidget_exports as BooleanPropertyWidget, Box, BreadCrumbMenu, BubbleWidget_exports as BubbleWidget, COLUMN_TYPE_OPTIONS, CardList, CardinalityTypeEnums, ChatContainer, ChatMessage, CheckboxGroup, CheckboxList, ChipAlphabet, CircleGaugeWidget, CircularProgress, CkRichEditor, ClickOpenEnums, ClientSideUdpGrid, ColorKey, CompactCard, CompactDataList, CompactDataListItem, ConfigService, ContainerTypeEnums, ContentContainer, Controls, CoreLayoutFloorplan, CrudForm, CustomMenuPage, DateField, DatePropertyWidget_exports as DatePropertyWidget, DateTimeField, DateTimePropertyWidget_exports as DateTimePropertyWidget, DateTrendWidget_exports as DateTrendWidget, DensePlotWidget_exports as DensePlotWidget, DeviceTypeEnums, DiffChecker, Directory, DirectoryListItem, Divider, DonutChartWidget_exports as DonutChartWidget, DragDropFileUpload, DraggableSidebarTemplate, DynamicContainerWithMenu, EMPTY_GUID, Ellipse, EmptyStateDisplay, EntityAttributeEnums, EntityHeader, ExecuteApiDialog, ExpandRenderer, ExportSidesheet, ExtenderToggle, Field, FieldArrayCard, FieldType, FileUpload, FileViewer, FilterOperators, FilterSearch, FlagBlock, FloatPropertyWidget_exports as FloatPropertyWidget, FluentActivity, FluentActivityRow, FluentButton, FluentCard, FluentCardActions, FluentCardContent, FluentCardHeader, FluentCardText, FluentCheckbox, FluentColorPicker, FluentCompoundButton, FluentDataTable, FluentDatePicker, FluentDateTimePicker, FluentDialog, FluentIcon, FluentIconButton, FluentImageMap, FluentLink, FluentListElement, FluentListItem, FluentMap, FluentMenuListButton, FluentMenuListItem, FluentProfileMenuCard, FluentRadio, FluentRadioGroup, FluentScrollLoadAutocompleteMenu, FluentSearchField, FluentSelectGroupMenu, FluentSelectMenu, FluentSideNav, FluentSimpleSelect, FluentSimpleTab, FluentSimpleTabs, FluentTabPanel, FluentTabUtility, FluentTagField, FluentTagFieldComponent, FluentTextField, FluentTextFieldAutoComplete, FluentTextFieldComponent, FluentTimePicker, FluentTimeline, FluentToggle, FluentUploadButton, FluentUploadIconButton, Form, FormButtons, FormControl, FormControlLabel, FormError, FormHeader, FormSpy, FormSubHeader, FullScreenControl, GaugeWidget, GeoMap, GraphCard, Grid, GridActionBar, GridEnums, GridExcelStyleEnums, GridGroup, GridGroupingHeader, GridGroupingSidebar, GridRow, GridSidebarContainer, GridStateTypeEnums, GridUnit, HeaderExpander, HeaderLayout, HttpStatusCode, IconButtonWithTooltip, IconKey, IconRenderer, IframeContainer, ImageLayer, ImportDataFromFileMapping, IndicatorChip, InfoCard, InputAdornment, InputFieldType, Inquiry, InquiryAdvancedSearch, InquiryAdvancedSearchForm, InquiryContainer, InquiryDashboard, InquiryHeaderControl, InquiryHeaderControlTarget, InquiryHeaderSecondary, InquiryHeaderSecondaryAlert, InquiryHeaderSecondaryAlertTarget, InquiryHeaderSecondaryTarget, InquiryHeaderTitle, InquiryHeaderTitleTarget, InquiryNodeControls, InquirySearchContainer, InquirySearchDatasource, InquirySearchTable, InquiryTreeMenu, InquiryTreeMenuItem, InquiryWrapper, InsightRenderer, IntegerPropertyWidget_exports as IntegerPropertyWidget, ItemDescription, ItemsWidgetCard, JobStatusIdMapping, JobTypeIdMapping, KeyValueTextField, Layers, LayoutUnit, LicenseKey, LineAndSparklinesWidget_exports as LineAndSparklinesWidget, LineGraphWidget_exports as LineGraphWidget, LinearProgress, Link, ListCard, ListElement, ListSearch, LoadingIndicator, LogicalSearchOperator, LogicalSearchOperatorEnums, LoginForm, LookupColumnTypeId, LookupCreationSheet, LookupTypeEnums, LookupTypeId, LookupTypeIdEnums, MAX_FILE_SIZE_MB, Map, MapFilterBar, MapLayout, MapSheet, MenuItemEnums, MenuLoader, MenuProvider, MenuTypeEnums, MttMainTimeline, MttSummary, MttTimeline, MultilineTextPropertyWidget_exports as MultilineTextPropertyWidget, MyExportsPage, NavLink, NestParent, NestWrapper, NestedGrid, NewsCard, NodeActionEnums, NodeActionTriggerEnums, NodeColumnHeader, NodeDetails, NodeGroupOutlierEnums, NodeGroupTypeEnums, NodeList, NodeLoader, Note, Notes, NotesScreen, NotificationElement, NumericPropertyWidget_exports as NumericPropertyWidget, OpenPage, OutlookCallback, OutlookIntegrationBanner, OutlookIntegrationCallbackPage, OutlookIntegrationSideSheet, PAHAdditionalRightComponent, PAHAdditionalTitleComponent, PAHExport, PDFViewer, Page, PageContainer, PageContent, PageForbiddenRoute, PageHeader, PageLoading, PageNotFoundRoute, PageRenderer, PageSectionHeader, PageSectionSpacer, PageStatus, PageSubHeaderAction, PageSubHeaderActionsTarget, PanelPositionEnums, ParamsMappingForm, PasswordResetRedirect, PaymentForm, PaymentMethodTypeEnum, PaymentReversalForm, PaymentTenderTypeEnum, PaymentVendorFactoryEnum, PopoverCard, PowerBIReport, PrimaryActionButton, PrimaryActionHeader, PrivateRoute, ProductEnums, ProductNameEnums, ProgressBarWidget_exports as ProgressBarWidget, Prompt, PropertyField, PropertyFields, PropertyTypeEnum, PublicRoute, QuickViewCard, RecentlyLoadedNodesTable, RecentlyLoadedNodesWidget_exports as RecentlyLoadedNodesWidget, Redirect, RejectIcon, RemindersScreen, RemindersWidget_exports as RemindersWidget, RequiredFieldsMappingForm, RoleIdEnums, RoleNameEnums, RoleTypeEnums, Route, SapFlexibleTemplate, SearchConstants, SearchGroupingType, SearchMethodUdpGrid, SearchOperators, SearchServiceDatasource, SearchSortDirection, SearchValueType, SelectGroupMenu, SelectPropertyWidget_exports as SelectPropertyWidget, ServerSideUdpGrid, SeverityTypeEnums, Shell, ShellDropdown, SideBarTemplate, SideSheet, SideSheetHeader, SiteHeaderRightComponent, SiteHeaderRightComponentTarget, SortOrder, SparklineWidget_exports as SparklineWidget, SparsePlotWidget_exports as SparsePlotWidget, SplitScreenTypeEnums, StandardTitle, Statistic, StatusCellRenderer, StatusChip, StatusLineItem, Sticky, StylizedTitle, SubHeaderAction, SubHeaderActionsTarget, SubmitButton, SummaryBlock, SupportCaseSideSheet, SvgIcon, Switch, TableColumnDefs, TableContainer, TeleportSource, TenantTypeEnums, TestFullStencilPage, TestStencilWrappedComponentsPage, TextPropertyWidget_exports as TextPropertyWidget, ThemeProvider, TicketCard, TileDisplay, TileLayer, TimeField, TimeLine, TimePropertyWidget_exports as TimePropertyWidget, TimelineCalendar, TimelinePreloaderNode, ToggleSection, Token, TokenGroupItem, ToolBarButton, TransactionActionTypeEnums, TransactionAttachmentPdfStitcher, TransactionEventTypeEnums, TransactionUiActionTypeEnums, TreeViewModeEnums, TrimForAvatar, Typography, UdpAccordion, UdpAdvancedSearchBuilder, UdpAppProvider, UdpAutocomplete, UdpAvatar, UdpBadge, UdpBarChart, UdpButton, UdpCalendar, UdpCalendarDayView, UdpCalendarMonthView, UdpCalendarWeekView, UdpCalendarYearView, UdpCard, UdpCheckbox, UdpChip, UdpCompoundButton, UdpContainer, UdpContainerQuery, UdpContainerQueryGrid, UdpCounterBadge, UdpCrudFormFields, UdpDateInput, UdpDatePicker, UdpDateRangeSelector, UdpDateSelector, UdpDateTimeInput, UdpDetailList, UdpDetailListItem, UdpDialog, UdpDivider, UdpDonutChart, UdpDrawer, UdpDropdown, UdpDurationInput, UdpEnums, UdpFlexbox, UdpFormRenderer, UdpFormsBuilderPage, UdpFormsListPage, UdpFormsSubmissionGrid, UdpFormsSubmissionGridManagerPage, UdpFormsSubmissionGridResponderPage, UdpGridTemplate, UdpIcon, UdpIconButton, UdpIconGrid, UdpImage, UdpKeywordEnums, UdpKpiCard, UdpKpiCards, UdpLineChart, UdpLink, UdpList, UdpListItem, UdpLookupManagementPage, UdpMaintenanceConfigPage, UdpMaintenanceEnginePage, UdpMap, UdpMapComponent, UdpMapToolbar, UdpMenu, UdpMessageBar, UdpPageEnums, UdpPages, UdpPagesLazy, UdpPagesLoaders, UdpPopover, UdpPrimaryActionHeader, UdpPrivateForm, UdpProgressBar, UdpPublicForm, UdpRadioGroup, UdpReminderFiledForType, UdpRoutes, UdpSearchEnums, UdpSearchInput, UdpSlider, UdpSpinner, UdpStepper, UdpSwatchPicker, UdpSwitch, UdpTabPanel, UdpTabUtility, UdpTablist, UdpTabs, UdpText, UdpTextInput, UdpTextarea, UdpTimeInput, UdpTimeSelector, UdpTimeline, UdpTimelineConnector, UdpTimelineContent, UdpTimelineDot, UdpTimelineItem, UdpTimelineSeparator, UdpToggleButton, UdpTooltip, UdpTransactionActionEnums, UdpTransactionEmailForm, UdpTransactionTypesPage, UdpTransactionsPage, UdpTree, UdpTreeContext, UdpTreeItem, UdpVerticalSpacer, UnityFluentIcon, UnityIcon, UnityProducts, User, UserContext, UserDispatchContext, UserForm, UserFormFields, UtilityBar, UtilityBarInport, UtilityBarInportTarget, UtilityTabHeader, VectorLayer, VerticalEnums, VisibilityTypeEnums, WidgetCard, WorkOrderCard, WorkflowContainer, ZoomControl, acquireAccessToken, allowedExtensions, apiMutate, apiResponseArrayToOptions, arrayMutators, buildCatalogTree, buildColumnDefsFromCatalog, buildIndices, camelToPascalCaseWithSpace, checkAndAuthenticate, checkNodeIsHidden, clearGridState, clearStoredExternalPath, clearStoredPath, clearStoredTenant, collapseAllNodes, colors, constructBusinessObjectArrFromTree, constructDynamicNodeGroups, constructDynamicNodeGroups2, constructPreloadedTree, constructStaticNodeGroups, corporateColors, corporateColorsHint, createTimeline, createUser, createUserFromUserObject, csvStrToArray, csvStrToArrayOfObjects, defaultColumnActionsDef, deleteGridState, deleteNode, deleteNodeAndChildren, disconnect, ensureOutlookStatusLoaded, evaluateRule, exchangeAuthorizationCode, executeQueryAdHoc, executeQueryInstance, executeQueryInstanceWithApiMethodInstance, executeQueryWithParameters, expandAllNodes, findAllParentIds, findHomeRouteSlug, findLastNode, findNodeById, findNodeByIdAndLabel, findNodeByPath, findNodesByIdAndLabel, findTermByType, fluentLibraryIcons, formatBytes, mttFunctions_exports as formatDataWithTimelineCategoryNameOrderedByDate, formatDateToLocaleString, formatTreeLabel, formatTreeMenuItem, generatePath, getAccessToken, getAllChildrenNodesToDelete, getApiAccessScope, getApiMethodIdByPath, getAuthorizeUrl, getBaseMethod, getCommonEntityName, getCurrentThemeMode, getDisplayDetails, getDisplayName, getEntityAttributes, getFieldValuesForProperties, getFullyQualifiedName, getGridState, getHeaderTitle, getI18nInstance, getIconFromName, getLazyLoadChildrenArr, getLoginRequest, getMenuItemsRecursively, getMergedConfig, getNodeIdForRightBorder, getOrderedDynamicGroups, getOutlookRedirectUri, getOutlookStatus, getPathObject, getPathParametersObj, getPrimaryKeyValues, getPropertiesForFieldValues, getPropertyMappingList, getPropertyMappingObj, getRatio, getRouteRolesMapAndMenuActiveMap, getSanitizedName, getSearchIdentifiers, getSearchObject, getSearchValueString, getSignInAuthProvider, getStatus, getStoredExternalPath, getStoredPath, getStoredTenant, getSuccessAction, getTokenRequest, getUnityIconFromName, greyScale, handleResponseErrors, initSignInAuthProvider, initializeUnityI18n, isCatalogModelObject, isOutlookConnected, loginRedirect, makeDynamicGroupStructures, makeDynamicTreeStructure, makeTreeStaticGroupStructure, makeTreeStructure, mapNodeGroupChildren, mapNodeObjValuesToSearchParameters, mapRule, mapRuleData, matchPath, onFirstDataRendered, parseSearchParamsIntoFilterObjects, pluralize, processCatalogObjectKeysInOrder, processItemForDynamicNodeGroups, processItemForStaticNodeGroup, processObjIndex, processObjectToTree, processOrderedTreeData, processReferences, productCategoryColors, refreshOutlookStatus, removeWhiteSpace, resetOutlookStatus, saveGridState, searchForMatchingNode, searchTree, sendMail, setOutlookDisconnected, setThemeMode, storeCurrentPath, storeExternalPath, storeInitialPath, storeInitialTenant, storePath, storeRedirectPath, storeTenant, subscribeOutlookStatus, toLowerFirstChar, toTitleCase, toUpperFirstChar, toUtcDate, toggleHeader, transformMenuPageTree, trimStringAfter, unityIcons, updateTreeIds, useAccessToken, useActionState, useActions, useAgGridApi, useAllTeleporters, useApiCatalog, useAuthedUser, useAxiosGet, useAxiosGetQuery, useAxiosMutate, useCatalogStore, useControlZoom, useConvertFilterModelToSearchFilters, useCrudActions, useCurrentPageReturnTo, useDateLocale, useDefaultFormValues, useDynamicListCalculation, useExport, useField, useFieldChangeListener, useFluentIcon, useForm, useFormState, useGridClear, useGridFormat, useHandleAction, useHandleAxiosSnackbar, useHistory, useIsAuthed, useIsUnityAuthenticated, useItemSubCard, useLocation, useLoginAction, useLogoutAction, useLookups, useLookupsStore, useMenuContext, useNoticeUpdate, useOutlook, usePageContext, useParams, usePosition, useProductVersion, useProductsStore, usePromotedLookupMethods, usePromotedMethodEntity, useQueryExecutors, useQuickFilter, useRouteMatch, useScreenControl, useSearchFilterParamsMap, useServerSideDatasource, useSetInitialShellVisibility, useSetLocationState, useShellStore, useSingleLogout, useStyles, useSystemColor, useTags, useTenant, useTenantStore, useTheme, useTypeScale, useUdpExport, useUdpWebSocket, useUser, useUserActions, useWorkflowStore, verticalPrimary, verticalSecondary, whitelistedPaths, withRouter };
|
|
534
|
+
export { ADUserTypeEnums, ALLOWED_GROUP_OPERATIONS, Accordion, AccountFlags, ActionContext, ActionDispatchContext, ActionForm, ActionModal, ActionPanelPlacement, ActionProvider, ActionSideSheet, ActionSpeedDial, ActionSplitScreen, ActionSummaryCard, ActionSummaryHeader, ActionSummaryListContainer, ActionSummaryListItem, ActionSummaryPopover, ActionWrapper, ActionsRenderer, AddUser, AddressListItem, Adornment, AgTable, AgTableButtons, AlertContainer, AlertFlag, AmChart, AmbientAlert, AmbientAutoComplete, AmbientCard, AmbientCardButton, AmbientCardTitle, AmbientDateRangeSelector, AmbientGridTemplate, AmbientList, AmbientListItem, AmbientPopoverMenuItem, AmbientProjectSwitcher, AmbientSingleDateSelector, AmbientSplitStatCard, AmbientStepper, AmbientSummaryListHeader, AmbientTextField, AmbientToast, AmbientToggleButton, AmbientToggleButtonGroup, AmbientTokenButton, AmbientVisualizationCard, AmbientVisualizer, ApiMethodInstanceUdpGrid, AppMenu, AppMenuItem, AppMenuItemComponent, ApprovalIcon, Attachments, AuthProvider, AuthProviderWrapper, AutoCompletePropertyWidget_exports as AutoCompletePropertyWidget, AvatarAlphabet, BackwardsCompatibleGrid, BarChartWidget_exports as BarChartWidget, BaseSideSheet, BioCard, Block, BooleanPropertyWidget_exports as BooleanPropertyWidget, Box, BreadCrumbMenu, BubbleWidget_exports as BubbleWidget, COLUMN_TYPE_OPTIONS, CardList, CardinalityTypeEnums, ChatContainer, ChatMessage, CheckboxGroup, CheckboxList, ChipAlphabet, CircleGaugeWidget, CircularProgress, CkRichEditor, ClickOpenEnums, ClientSideUdpGrid, ColorKey, CompactCard, CompactDataList, CompactDataListItem, ConfigService, ContainerTypeEnums, ContentContainer, Controls, CoreLayoutFloorplan, CrudForm, CustomMenuPage, DateField, DatePropertyWidget_exports as DatePropertyWidget, DateTimeField, DateTimePropertyWidget_exports as DateTimePropertyWidget, DateTrendWidget_exports as DateTrendWidget, DensePlotWidget_exports as DensePlotWidget, DeviceTypeEnums, DiffChecker, Directory, DirectoryListItem, Divider, DonutChartWidget_exports as DonutChartWidget, DragDropFileUpload, DraggableSidebarTemplate, DynamicContainerWithMenu, EMPTY_GUID, Ellipse, EmptyStateDisplay, EntityAttributeEnums, EntityHeader, ExecuteApiDialog, ExpandRenderer, ExportSidesheet, ExtenderToggle, Field, FieldArrayCard, FieldType, FileUpload, FileViewer, FilterOperators, FilterSearch, FlagBlock, FloatPropertyWidget_exports as FloatPropertyWidget, FluentActivity, FluentActivityRow, FluentButton, FluentCard, FluentCardActions, FluentCardContent, FluentCardHeader, FluentCardText, FluentCheckbox, FluentColorPicker, FluentCompoundButton, FluentDataTable, FluentDatePicker, FluentDateTimePicker, FluentDialog, FluentIcon, FluentIconButton, FluentImageMap, FluentLink, FluentListElement, FluentListItem, FluentMap, FluentMenuListButton, FluentMenuListItem, FluentProfileMenuCard, FluentRadio, FluentRadioGroup, FluentScrollLoadAutocompleteMenu, FluentSearchField, FluentSelectGroupMenu, FluentSelectMenu, FluentSideNav, FluentSimpleSelect, FluentSimpleTab, FluentSimpleTabs, FluentTabPanel, FluentTabUtility, FluentTagField, FluentTagFieldComponent, FluentTextField, FluentTextFieldAutoComplete, FluentTextFieldComponent, FluentTimePicker, FluentTimeline, FluentToggle, FluentUploadButton, FluentUploadIconButton, Form, FormButtons, FormControl, FormControlLabel, FormError, FormHeader, FormSpy, FormSubHeader, FullScreenControl, GaugeWidget, GeoMap, GraphCard, Grid, GridActionBar, GridEnums, GridExcelStyleEnums, GridGroup, GridGroupingHeader, GridGroupingSidebar, GridRow, GridSidebarContainer, GridStateTypeEnums, GridUnit, HeaderExpander, HeaderLayout, HttpStatusCode, IconButtonWithTooltip, IconKey, IconRenderer, IframeContainer, ImageLayer, ImportDataFromFileMapping, IndicatorChip, InfoCard, InputAdornment, InputFieldType, Inquiry, InquiryAdvancedSearch, InquiryAdvancedSearchForm, InquiryContainer, InquiryDashboard, InquiryHeaderControl, InquiryHeaderControlTarget, InquiryHeaderSecondary, InquiryHeaderSecondaryAlert, InquiryHeaderSecondaryAlertTarget, InquiryHeaderSecondaryTarget, InquiryHeaderTitle, InquiryHeaderTitleTarget, InquiryNodeControls, InquirySearchContainer, InquirySearchDatasource, InquirySearchTable, InquiryTreeMenu, InquiryTreeMenuItem, InquiryWrapper, InsightRenderer, IntegerPropertyWidget_exports as IntegerPropertyWidget, ItemDescription, ItemsWidgetCard, JobStatusIdMapping, JobTypeIdMapping, KeyValueTextField, Layers, LayoutUnit, LicenseKey, LineAndSparklinesWidget_exports as LineAndSparklinesWidget, LineGraphWidget_exports as LineGraphWidget, LinearProgress, Link, ListCard, ListElement, ListSearch, LoadingIndicator, LogicalSearchOperator, LogicalSearchOperatorEnums, LoginForm, LookupColumnTypeId, LookupCreationSheet, LookupTypeEnums, LookupTypeId, LookupTypeIdEnums, MAX_FILE_SIZE_MB, Map, MapFilterBar, MapLayout, MapSheet, MenuItemEnums, MenuLoader, MenuProvider, MenuTypeEnums, MttMainTimeline, MttSummary, MttTimeline, MultilineTextPropertyWidget_exports as MultilineTextPropertyWidget, MyExportsPage, NavLink, NestParent, NestWrapper, NestedGrid, NewsCard, NodeActionEnums, NodeActionTriggerEnums, NodeColumnHeader, NodeDetails, NodeGroupOutlierEnums, NodeGroupTypeEnums, NodeList, NodeLoader, Note, Notes, NotesScreen, NotificationElement, NumericPropertyWidget_exports as NumericPropertyWidget, OpenPage, OutlookCallback, OutlookIntegrationBanner, OutlookIntegrationCallbackPage, OutlookIntegrationSideSheet, PAHAdditionalRightComponent, PAHAdditionalTitleComponent, PAHExport, PDFViewer, Page, PageContainer, PageContent, PageForbiddenRoute, PageHeader, PageLoading, PageNotFoundRoute, PageRenderer, PageSectionHeader, PageSectionSpacer, PageStatus, PageSubHeaderAction, PageSubHeaderActionsTarget, PanelPositionEnums, ParamsMappingForm, PasswordResetRedirect, PaymentForm, PaymentMethodTypeEnum, PaymentReversalForm, PaymentTenderTypeEnum, PaymentVendorFactoryEnum, PopoverCard, PowerBIReport, PrimaryActionButton, PrimaryActionHeader, PrivateRoute, ProductEnums, ProductNameEnums, ProgressBarWidget_exports as ProgressBarWidget, Prompt, PropertyField, PropertyFields, PropertyTypeEnum, PublicRoute, QuickViewCard, RecentlyLoadedNodesTable, RecentlyLoadedNodesWidget_exports as RecentlyLoadedNodesWidget, Redirect, RejectIcon, RemindersScreen, RemindersWidget_exports as RemindersWidget, RequiredFieldsMappingForm, RoleIdEnums, RoleNameEnums, RoleTypeEnums, Route, SapFlexibleTemplate, SearchConstants, SearchGroupingType, SearchMethodUdpGrid, SearchOperators, SearchServiceDatasource, SearchSortDirection, SearchValueType, SelectGroupMenu, SelectPropertyWidget_exports as SelectPropertyWidget, ServerSideUdpGrid, SeverityTypeEnums, Shell, ShellDropdown, SideBarTemplate, SideSheet, SideSheetHeader, SiteHeaderRightComponent, SiteHeaderRightComponentTarget, SortOrder, SparklineWidget_exports as SparklineWidget, SparsePlotWidget_exports as SparsePlotWidget, SplitScreenTypeEnums, StandardTitle, Statistic, StatusCellRenderer, StatusChip, StatusLineItem, Sticky, StylizedTitle, SubHeaderAction, SubHeaderActionsTarget, SubmitButton, SummaryBlock, SupportCaseSideSheet, SvgIcon, Switch, TableColumnDefs, TableContainer, TeleportSource, TenantTypeEnums, TestFullStencilPage, TestStencilWrappedComponentsPage, TextPropertyWidget_exports as TextPropertyWidget, ThemeProvider, TicketCard, TileDisplay, TileLayer, TimeField, TimeLine, TimePropertyWidget_exports as TimePropertyWidget, TimelineCalendar, TimelinePreloaderNode, ToggleSection, Token, TokenGroupItem, ToolBarButton, TransactionActionTypeEnums, TransactionAttachmentPdfStitcher, TransactionEventTypeEnums, TransactionUiActionTypeEnums, TreeViewModeEnums, TrimForAvatar, Typography, UdpAccordion, UdpAdvancedSearchBuilder, UdpAppProvider, UdpAutocomplete, UdpAvatar, UdpBadge, UdpBarChart, UdpButton, UdpCalendar, UdpCalendarDayView, UdpCalendarMonthView, UdpCalendarWeekView, UdpCalendarYearView, UdpCard, UdpCheckbox, UdpChip, UdpCompoundButton, UdpContainer, UdpContainerQuery, UdpContainerQueryGrid, UdpCounterBadge, UdpCrudFormFields, UdpDateInput, UdpDatePicker, UdpDateRangeSelector, UdpDateSelector, UdpDateTimeInput, UdpDetailList, UdpDetailListItem, UdpDialog, UdpDivider, UdpDonutChart, UdpDrawer, UdpDropdown, UdpDurationInput, UdpEnums, UdpFlexbox, UdpFormRenderer, UdpFormsBuilderPage, UdpFormsListPage, UdpFormsSubmissionGrid, UdpFormsSubmissionGridManagerPage, UdpFormsSubmissionGridResponderPage, UdpGridTemplate, UdpIcon, UdpIconButton, UdpIconGrid, UdpImage, UdpKeywordEnums, UdpKpiCard, UdpKpiCards, UdpLineChart, UdpLink, UdpList, UdpListItem, UdpLookupManagementPage, UdpMaintenanceConfigPage, UdpMaintenanceEnginePage, UdpMap, UdpMapComponent, UdpMapToolbar, UdpMenu, UdpMessageBar, UdpPageEnums, UdpPages, UdpPagesLazy, UdpPagesLoaders, UdpPopover, UdpPrimaryActionHeader, UdpPrivateForm, UdpProgressBar, UdpPublicForm, UdpRadioGroup, UdpReminderFiledForType, UdpRoutes, UdpSearchEnums, UdpSearchInput, UdpSlider, UdpSpinner, UdpStepper, UdpSwatchPicker, UdpSwitch, UdpTabPanel, UdpTabUtility, UdpTablist, UdpTabs, UdpText, UdpTextInput, UdpTextarea, UdpTimeInput, UdpTimeSelector, UdpTimeline, UdpTimelineConnector, UdpTimelineContent, UdpTimelineDot, UdpTimelineItem, UdpTimelineSeparator, UdpToggleButton, UdpTooltip, UdpTransactionActionEnums, UdpTransactionEmailForm, UdpTransactionTypesPage, UdpTransactionsPage, UdpTree, UdpTreeContext, UdpTreeItem, UdpVerticalSpacer, UnityFluentIcon, UnityIcon, UnityProducts, User, UserContext, UserDispatchContext, UserForm, UserFormFields, UtilityBar, UtilityBarInport, UtilityBarInportTarget, UtilityTabHeader, VectorLayer, VerticalEnums, VisibilityTypeEnums, WidgetCard, WorkOrderCard, WorkflowContainer, ZoomControl, acquireAccessToken, allowedExtensions, apiMutate, apiResponseArrayToOptions, arrayMutators, buildCatalogTree, buildColumnDefsFromCatalog, buildIndices, camelToPascalCaseWithSpace, checkAndAuthenticate, checkNodeIsHidden, clearGridState, clearStoredExternalPath, clearStoredPath, clearStoredTenant, collapseAllNodes, colors, constructBusinessObjectArrFromTree, constructDynamicNodeGroups, constructDynamicNodeGroups2, constructPreloadedTree, constructStaticNodeGroups, corporateColors, corporateColorsHint, createTimeline, createUser, createUserFromUserObject, csvStrToArray, csvStrToArrayOfObjects, defaultColumnActionsDef, deleteGridState, deleteNode, deleteNodeAndChildren, disconnect, ensureOutlookStatusLoaded, evaluateRule, exchangeAuthorizationCode, executeQueryAdHoc, executeQueryInstance, executeQueryInstanceWithApiMethodInstance, executeQueryWithParameters, expandAllNodes, findAllParentIds, findHomeRouteSlug, findLastNode, findNodeById, findNodeByIdAndLabel, findNodeByPath, findNodesByIdAndLabel, findTermByType, fluentLibraryIcons, formatBytes, mttFunctions_exports as formatDataWithTimelineCategoryNameOrderedByDate, formatDateToLocaleString, formatTreeLabel, formatTreeMenuItem, generatePath, getAccessToken, getAllChildrenNodesToDelete, getApiAccessScope, getApiMethodIdByPath, getAuthorizeUrl, getBaseMethod, getCommonEntityName, getCurrentThemeMode, getDisplayDetails, getDisplayName, getEntityAttributes, getFieldValuesForProperties, getFullyQualifiedName, getGridState, getHeaderTitle, getI18nInstance, getIconFromName, getLazyLoadChildrenArr, getLoginRequest, getMenuItemsRecursively, getMergedConfig, getNodeIdForRightBorder, getOrderedDynamicGroups, getOutlookRedirectUri, getOutlookStatus, getPathObject, getPathParametersObj, getPrimaryKeyValues, getPropertiesForFieldValues, getPropertyMappingList, getPropertyMappingObj, getRatio, getRouteRolesMapAndMenuActiveMap, getSanitizedName, getSearchIdentifiers, getSearchObject, getSearchValueString, getSignInAuthProvider, getStatus, getStoredExternalPath, getStoredPath, getStoredTenant, getSuccessAction, getTokenRequest, getUnityIconFromName, greyScale, handleResponseErrors, initSignInAuthProvider, initializeUnityI18n, isCatalogModelObject, isOutlookConnected, loginRedirect, makeDynamicGroupStructures, makeDynamicTreeStructure, makeTreeStaticGroupStructure, makeTreeStructure, mapNodeGroupChildren, mapNodeObjValuesToSearchParameters, mapRule, mapRuleData, matchPath, onFirstDataRendered, parseSearchParamsIntoFilterObjects, pluralize, processCatalogObjectKeysInOrder, processItemForDynamicNodeGroups, processItemForStaticNodeGroup, processObjIndex, processObjectToTree, processOrderedTreeData, processReferences, productCategoryColors, refreshOutlookStatus, removeWhiteSpace, resetOutlookStatus, saveGridState, searchForMatchingNode, searchTree, sendMail, setOutlookDisconnected, setThemeMode, storeCurrentPath, storeExternalPath, storeInitialPath, storeInitialTenant, storePath, storeRedirectPath, storeTenant, subscribeOutlookStatus, toLowerFirstChar, toTitleCase, toUpperFirstChar, toUtcDate, toggleHeader, transformMenuPageTree, trimStringAfter, unityIcons, updateTreeIds, useAccessToken, useActionState, useActions, useAgGridApi, useAllTeleporters, useApiCatalog, useAuthedUser, useAxiosGet, useAxiosGetQuery, useAxiosMutate, useCatalogStore, useControlZoom, useConvertFilterModelToSearchFilters, useCrudActions, useCurrentPageReturnTo, useDateLocale, useDefaultFormValues, useDynamicListCalculation, useExport, useField, useFieldChangeListener, useFluentIcon, useForm, useFormState, useGridClear, useGridFormat, useHandleAction, useHandleAxiosSnackbar, useHistory, useIsAuthed, useIsUnityAuthenticated, useItemSubCard, useLocation, useLoginAction, useLogoutAction, useLookups, useLookupsStore, useMenuContext, useNoticeUpdate, useOutlook, usePageContext, useParams, usePosition, useProductVersion, useProductsStore, usePromotedLookupMethods, usePromotedMethodEntity, useQueryExecutors, useQuickFilter, useRouteMatch, useScreenControl, useSearchFilterParamsMap, useServerSideDatasource, useSetLocationState, useShellStore, useSingleLogout, useStyles, useSystemColor, useTags, useTenant, useTenantStore, useTheme, useTypeScale, useUdpExport, useUdpWebSocket, useUser, useUserActions, useWithoutShellParam, useWorkflowStore, verticalPrimary, verticalSecondary, whitelistedPaths, withRouter };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useEffect, useRef } from 'react';
|
|
2
|
-
import { useShellStore,
|
|
2
|
+
import { useShellStore, useWithoutShellParam } from '../stores/shellStore';
|
|
3
3
|
/**
|
|
4
4
|
* Controls shell visibility based on layout flags, user presence, and route metadata.
|
|
5
5
|
* Returns the effective hidden state that callers should use for rendering.
|
|
@@ -7,10 +7,9 @@ import { useShellStore, useSetInitialShellVisibility } from '../stores/shellStor
|
|
|
7
7
|
export const useShellVisibility = ({ hideLayout, isPublicRoute, hasUser }) => {
|
|
8
8
|
const { shellHidden, setShellHidden } = useShellStore();
|
|
9
9
|
const shellHiddenBaselineRef = useRef();
|
|
10
|
-
|
|
11
|
-
useSetInitialShellVisibility();
|
|
10
|
+
const withoutShell = useWithoutShellParam();
|
|
12
11
|
const syncShellHiddenWithRouteState = () => {
|
|
13
|
-
const shouldForceHideShell = hideLayout || isPublicRoute || !hasUser;
|
|
12
|
+
const shouldForceHideShell = hideLayout || isPublicRoute || !hasUser || withoutShell;
|
|
14
13
|
if (shouldForceHideShell) {
|
|
15
14
|
if (shellHiddenBaselineRef.current === undefined) {
|
|
16
15
|
shellHiddenBaselineRef.current = shellHidden;
|
|
@@ -36,9 +35,10 @@ export const useShellVisibility = ({ hideLayout, isPublicRoute, hasUser }) => {
|
|
|
36
35
|
hideLayout,
|
|
37
36
|
isPublicRoute,
|
|
38
37
|
hasUser,
|
|
38
|
+
withoutShell,
|
|
39
39
|
setShellHidden,
|
|
40
40
|
shellHidden
|
|
41
41
|
]);
|
|
42
|
-
return shellHidden || hideLayout || isPublicRoute || !hasUser;
|
|
42
|
+
return shellHidden || hideLayout || isPublicRoute || !hasUser || withoutShell;
|
|
43
43
|
};
|
|
44
44
|
//# sourceMappingURL=useShellVisibility.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useShellVisibility.js","sourceRoot":"","sources":["../../src/shell/useShellVisibility.js"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAC1C,OAAO,EAAE,aAAa,EAAE,
|
|
1
|
+
{"version":3,"file":"useShellVisibility.js","sourceRoot":"","sources":["../../src/shell/useShellVisibility.js"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAC1C,OAAO,EAAE,aAAa,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAE3E;;;GAGG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,EAAE,UAAU,EAAE,aAAa,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC;IAC5E,MAAM,EAAE,WAAW,EAAE,cAAc,EAAE,GAAG,aAAa,EAAE,CAAC;IACxD,MAAM,sBAAsB,GAAG,MAAM,EAAE,CAAC;IACxC,MAAM,YAAY,GAAG,oBAAoB,EAAE,CAAC;IAE5C,MAAM,6BAA6B,GAAG,GAAG,EAAE,CAAC;QAC1C,MAAM,oBAAoB,GACxB,UAAU,IAAI,aAAa,IAAI,CAAC,OAAO,IAAI,YAAY,CAAC;QAE1D,IAAI,oBAAoB,EAAE,CAAC;YACzB,IAAI,sBAAsB,CAAC,OAAO,KAAK,SAAS,EAAE,CAAC;gBACjD,sBAAsB,CAAC,OAAO,GAAG,WAAW,CAAC;YAC/C,CAAC;YACD,IAAI,CAAC,WAAW,EAAE,CAAC;gBACjB,cAAc,CAAC,IAAI,CAAC,CAAC;YACvB,CAAC;QACH,CAAC;aAAM,IAAI,sBAAsB,CAAC,OAAO,KAAK,SAAS,EAAE,CAAC;YACxD,IAAI,WAAW,KAAK,sBAAsB,CAAC,OAAO,EAAE,CAAC;gBACnD,cAAc,CAAC,sBAAsB,CAAC,OAAO,CAAC,CAAC;YACjD,CAAC;iBAAM,CAAC;gBACN,cAAc,CAAC,KAAK,CAAC,CAAC;YACxB,CAAC;YACD,sBAAsB,CAAC,OAAO,GAAG,SAAS,CAAC;QAC7C,CAAC;aAAM,IAAI,WAAW,EAAE,CAAC;YACvB,cAAc,CAAC,KAAK,CAAC,CAAC;QACxB,CAAC;IAAA,CACF,CAAC;IAEF,SAAS,CAAC,6BAA6B,EAAE;QACvC,UAAU;QACV,aAAa;QACb,OAAO;QACP,YAAY;QACZ,cAAc;QACd,WAAW;KACZ,CAAC,CAAC;IAEH,OAAO,WAAW,IAAI,UAAU,IAAI,aAAa,IAAI,CAAC,OAAO,IAAI,YAAY,CAAC;AAAA,CAC/E,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { useShellStore, useWithoutShellParam } from "../stores/shellStore.mjs";
|
|
2
2
|
import { c } from "react-compiler-runtime";
|
|
3
3
|
import { useEffect, useRef } from "react";
|
|
4
4
|
//#region src/shell/useShellVisibility.js
|
|
@@ -7,15 +7,15 @@ import { useEffect, useRef } from "react";
|
|
|
7
7
|
* Returns the effective hidden state that callers should use for rendering.
|
|
8
8
|
*/
|
|
9
9
|
const useShellVisibility = (t0) => {
|
|
10
|
-
const $ = c(
|
|
10
|
+
const $ = c(14);
|
|
11
11
|
const { hideLayout, isPublicRoute, hasUser } = t0;
|
|
12
12
|
const { shellHidden, setShellHidden } = useShellStore();
|
|
13
13
|
const shellHiddenBaselineRef = useRef();
|
|
14
|
-
|
|
14
|
+
const withoutShell = useWithoutShellParam();
|
|
15
15
|
let t1;
|
|
16
|
-
if ($[0] !== hasUser || $[1] !== hideLayout || $[2] !== isPublicRoute || $[3] !== setShellHidden || $[4] !== shellHidden) {
|
|
16
|
+
if ($[0] !== hasUser || $[1] !== hideLayout || $[2] !== isPublicRoute || $[3] !== setShellHidden || $[4] !== shellHidden || $[5] !== withoutShell) {
|
|
17
17
|
t1 = () => {
|
|
18
|
-
if (hideLayout || isPublicRoute || !hasUser) {
|
|
18
|
+
if (hideLayout || isPublicRoute || !hasUser || withoutShell) {
|
|
19
19
|
if (shellHiddenBaselineRef.current === void 0) shellHiddenBaselineRef.current = shellHidden;
|
|
20
20
|
if (!shellHidden) setShellHidden(true);
|
|
21
21
|
} else if (shellHiddenBaselineRef.current !== void 0) {
|
|
@@ -29,27 +29,30 @@ const useShellVisibility = (t0) => {
|
|
|
29
29
|
$[2] = isPublicRoute;
|
|
30
30
|
$[3] = setShellHidden;
|
|
31
31
|
$[4] = shellHidden;
|
|
32
|
-
$[5] =
|
|
33
|
-
|
|
32
|
+
$[5] = withoutShell;
|
|
33
|
+
$[6] = t1;
|
|
34
|
+
} else t1 = $[6];
|
|
34
35
|
const syncShellHiddenWithRouteState = t1;
|
|
35
36
|
let t2;
|
|
36
|
-
if ($[
|
|
37
|
+
if ($[7] !== hasUser || $[8] !== hideLayout || $[9] !== isPublicRoute || $[10] !== setShellHidden || $[11] !== shellHidden || $[12] !== withoutShell) {
|
|
37
38
|
t2 = [
|
|
38
39
|
hideLayout,
|
|
39
40
|
isPublicRoute,
|
|
40
41
|
hasUser,
|
|
42
|
+
withoutShell,
|
|
41
43
|
setShellHidden,
|
|
42
44
|
shellHidden
|
|
43
45
|
];
|
|
44
|
-
$[
|
|
45
|
-
$[
|
|
46
|
-
$[
|
|
47
|
-
$[
|
|
48
|
-
$[
|
|
49
|
-
$[
|
|
50
|
-
|
|
46
|
+
$[7] = hasUser;
|
|
47
|
+
$[8] = hideLayout;
|
|
48
|
+
$[9] = isPublicRoute;
|
|
49
|
+
$[10] = setShellHidden;
|
|
50
|
+
$[11] = shellHidden;
|
|
51
|
+
$[12] = withoutShell;
|
|
52
|
+
$[13] = t2;
|
|
53
|
+
} else t2 = $[13];
|
|
51
54
|
useEffect(syncShellHiddenWithRouteState, t2);
|
|
52
|
-
return shellHidden || hideLayout || isPublicRoute || !hasUser;
|
|
55
|
+
return shellHidden || hideLayout || isPublicRoute || !hasUser || withoutShell;
|
|
53
56
|
};
|
|
54
57
|
//#endregion
|
|
55
58
|
export { useShellVisibility };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useShellVisibility.mjs","names":["useEffect","useRef","useShellStore","
|
|
1
|
+
{"version":3,"file":"useShellVisibility.mjs","names":["useEffect","useRef","useShellStore","useWithoutShellParam","useShellVisibility","t0","$","_c","hideLayout","isPublicRoute","hasUser","shellHidden","setShellHidden","shellHiddenBaselineRef","withoutShell","t1","shouldForceHideShell","current","undefined","syncShellHiddenWithRouteState","t2"],"sources":["../../src/shell/useShellVisibility.js"],"sourcesContent":["import { useEffect, useRef } from 'react';\nimport { useShellStore, useWithoutShellParam } from '../stores/shellStore';\n\n/**\n * Controls shell visibility based on layout flags, user presence, and route metadata.\n * Returns the effective hidden state that callers should use for rendering.\n */\nexport const useShellVisibility = ({ hideLayout, isPublicRoute, hasUser }) => {\n const { shellHidden, setShellHidden } = useShellStore();\n const shellHiddenBaselineRef = useRef();\n const withoutShell = useWithoutShellParam();\n\n const syncShellHiddenWithRouteState = () => {\n const shouldForceHideShell =\n hideLayout || isPublicRoute || !hasUser || withoutShell;\n\n if (shouldForceHideShell) {\n if (shellHiddenBaselineRef.current === undefined) {\n shellHiddenBaselineRef.current = shellHidden;\n }\n if (!shellHidden) {\n setShellHidden(true);\n }\n } else if (shellHiddenBaselineRef.current !== undefined) {\n if (shellHidden !== shellHiddenBaselineRef.current) {\n setShellHidden(shellHiddenBaselineRef.current);\n } else {\n setShellHidden(false);\n }\n shellHiddenBaselineRef.current = undefined;\n } else if (shellHidden) {\n setShellHidden(false);\n }\n };\n\n useEffect(syncShellHiddenWithRouteState, [\n hideLayout,\n isPublicRoute,\n hasUser,\n withoutShell,\n setShellHidden,\n shellHidden\n ]);\n\n return shellHidden || hideLayout || isPublicRoute || !hasUser || withoutShell;\n};\n"],"mappings":";;;;;;;;AAOA,MAAaI,sBAAqBC,OAAA;CAAA,MAAAC,IAAAC,EAAA,GAAA;CAAC,MAAA,EAAAC,YAAAC,eAAAC,YAAAL;CACjC,MAAA,EAAAM,aAAAC,mBAAwCV,eAAe;CACvD,MAAAW,yBAA+BZ,QAAQ;CACvC,MAAAa,eAAqBX,sBAAsB;CAAC,IAAAY;AAAA,KAAAT,EAAA,OAAAI,WAAAJ,EAAA,OAAAE,cAAAF,EAAA,OAAAG,iBAAAH,EAAA,OAAAM,kBAAAN,EAAA,OAAAK,eAAAL,EAAA,OAAAQ,cAAA;AAENC,aAAA;AAIpC,OAFEP,cAAAC,iBAAA,CAAgCC,WAAhCI,cAEsB;AACtB,QAAID,uBAAsBI,YAAaC,KAAAA,EACrCL,wBAAsBI,UAAWN;AAEnC,QAAI,CAACA,YACHC,gBAAe,KAAK;cAEbC,uBAAsBI,YAAaC,KAAAA,GAAS;AACrD,QAAIP,gBAAgBE,uBAAsBI,QACxCL,gBAAeC,uBAAsBI,QAAS;QAE9CL,gBAAe,MAAM;AAEvBC,2BAAsBI,UAAWC,KAAAA;cACxBP,YACTC,gBAAe,MAAM;;AAExBN,IAAA,KAAAI;AAAAJ,IAAA,KAAAE;AAAAF,IAAA,KAAAG;AAAAH,IAAA,KAAAM;AAAAN,IAAA,KAAAK;AAAAL,IAAA,KAAAQ;AAAAR,IAAA,KAAAS;OAAAA,MAAAT,EAAA;CArBD,MAAAa,gCAAsCJ;CAqBpC,IAAAK;AAAA,KAAAd,EAAA,OAAAI,WAAAJ,EAAA,OAAAE,cAAAF,EAAA,OAAAG,iBAAAH,EAAA,QAAAM,kBAAAN,EAAA,QAAAK,eAAAL,EAAA,QAAAQ,cAAA;AAEuCM,OAAA;GACvCZ;GACAC;GACAC;GACAI;GACAF;GACAD;GACD;AAAAL,IAAA,KAAAI;AAAAJ,IAAA,KAAAE;AAAAF,IAAA,KAAAG;AAAAH,IAAA,MAAAM;AAAAN,IAAA,MAAAK;AAAAL,IAAA,MAAAQ;AAAAR,IAAA,MAAAc;OAAAA,MAAAd,EAAA;AAPDN,WAAUmB,+BAA+BC,GAOvC;AAAA,QAEKT,eAAAH,cAAAC,iBAAA,CAA+CC,WAA/CI"}
|
|
@@ -17,6 +17,6 @@ export declare const useShellStore: import("zustand").UseBoundStore<Omit<import(
|
|
|
17
17
|
type: string;
|
|
18
18
|
}>(partial: Partial<ShellState> | ShellState | ((state: ShellState) => Partial<ShellState> | ShellState), replace?: boolean, action?: A): void;
|
|
19
19
|
}>;
|
|
20
|
-
export declare const
|
|
20
|
+
export declare const useWithoutShellParam: () => boolean;
|
|
21
21
|
export {};
|
|
22
22
|
//# sourceMappingURL=shellStore.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shellStore.d.ts","sourceRoot":"","sources":["../../src/stores/shellStore.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"shellStore.d.ts","sourceRoot":"","sources":["../../src/stores/shellStore.ts"],"names":[],"mappings":"AAIA,UAAU,UAAU;IAClB,0BAA0B,EAAE,OAAO,GAAG,IAAI,GAAG,SAAS,CAAC;IACvD,6BAA6B,EAAE,CAAC,0BAA0B,EAAE,OAAO,KAAK,IAAI,CAAC;IAC7E,kBAAkB,EAAE,OAAO,GAAG,IAAI,GAAG,SAAS,CAAC;IAC/C,qBAAqB,EAAE,CAAC,kBAAkB,EAAE,OAAO,KAAK,IAAI,CAAC;IAC7D,gBAAgB,EAAE,CAAC,aAAa,EAAE,CAAC,CAAC,EAAE,MAAM,KAAK,OAAO,KAAK,IAAI,CAAC;IAClE,aAAa,EAAE,CAAC,CAAC,EAAE,MAAM,KAAK,OAAO,CAAC;IACtC,YAAY,EAAE,CAAC,SAAS,EAAE,CAAC,CAAC,EAAE,MAAM,KAAK,GAAG,KAAK,IAAI,CAAC;IACtD,SAAS,EAAE,CAAC,CAAC,EAAE,MAAM,KAAK,GAAG,CAAC;IAC9B,WAAW,EAAE,OAAO,GAAG,IAAI,GAAG,SAAS,CAAC;IACxC,cAAc,EAAE,CAAC,WAAW,EAAE,OAAO,KAAK,IAAI,CAAC;IAC/C,kBAAkB,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAC9C,qBAAqB,EAAE,CAAC,WAAW,EAAE,MAAM,KAAK,IAAI,CAAC;CACtD;AAED,eAAO,MAAM,aAAa;;;;EA+BzB,CAAC;AAEF,eAAO,MAAM,oBAAoB,EAAE,MAAM,OAMxC,CAAC"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { useEffect } from 'react';
|
|
2
1
|
import { create } from 'zustand';
|
|
3
2
|
import { devtools } from 'zustand/middleware';
|
|
4
3
|
export const useShellStore = create()(devtools((set) => ({
|
|
@@ -25,18 +24,9 @@ export const useShellStore = create()(devtools((set) => ({
|
|
|
25
24
|
currentContainerId: null,
|
|
26
25
|
setCurrentContainerId: (currentContainerId) => set((state) => ({ currentContainerId: currentContainerId }))
|
|
27
26
|
})));
|
|
28
|
-
export const
|
|
27
|
+
export const useWithoutShellParam = () => {
|
|
29
28
|
const searchParams = new URLSearchParams(window.location.search);
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
? true
|
|
33
|
-
: false
|
|
34
|
-
: false;
|
|
35
|
-
const setShellHidden = useShellStore((state) => state.setShellHidden);
|
|
36
|
-
useEffect(() => {
|
|
37
|
-
if (withoutShell) {
|
|
38
|
-
setShellHidden(true);
|
|
39
|
-
}
|
|
40
|
-
}, [setShellHidden, withoutShell]);
|
|
29
|
+
return (searchParams.has('withoutShell') &&
|
|
30
|
+
searchParams.get('withoutShell') === 'true');
|
|
41
31
|
};
|
|
42
32
|
//# sourceMappingURL=shellStore.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shellStore.js","sourceRoot":"","sources":["../../src/stores/shellStore.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"shellStore.js","sourceRoot":"","sources":["../../src/stores/shellStore.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AACjC,OAAO,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAkB9C,MAAM,CAAC,MAAM,aAAa,GAAG,MAAM,EAAc,CAC/C,QAAQ,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC;IACjB,0BAA0B,EAAE,KAAK;IACjC,6BAA6B,EAAE,CAAC,0BAA0B,EAAE,EAAE,CAC5D,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;QACd,0BAA0B,EAAE,0BAA0B;KACvD,CAAC,CAAC;IACL,kBAAkB,EAAE,IAAI;IACxB,qBAAqB,EAAE,CAAC,kBAAkB,EAAE,EAAE,CAC5C,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;QACd,kBAAkB,EAAE,kBAAkB;KACvC,CAAC,CAAC;IACL,aAAa,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,KAAK;IAC3B,gBAAgB,EAAE,CAAC,aAAa,EAAE,EAAE,CAClC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;QACd,aAAa,EAAE,aAAa;KAC7B,CAAC,CAAC;IACL,SAAS,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,IAAI;IACtB,YAAY,EAAE,CAAC,SAAS,EAAE,EAAE,CAC1B,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;QACd,SAAS,EAAE,SAAS;KACrB,CAAC,CAAC;IACL,WAAW,EAAE,KAAK;IAClB,cAAc,EAAE,CAAC,WAAW,EAAE,EAAE,CAC9B,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;QACd,WAAW,EAAE,WAAW;KACzB,CAAC,CAAC;IACL,kBAAkB,EAAE,IAAI;IACxB,qBAAqB,EAAE,CAAC,kBAAkB,EAAE,EAAE,CAC5C,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,CAAC,CAAC;CAC/D,CAAC,CAAC,CACJ,CAAC;AAEF,MAAM,CAAC,MAAM,oBAAoB,GAAkB,GAAG,EAAE,CAAC;IACvD,MAAM,YAAY,GAAG,IAAI,eAAe,CAAC,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC;IACjE,OAAO,CACL,YAAY,CAAC,GAAG,CAAC,cAAc,CAAC;QAChC,YAAY,CAAC,GAAG,CAAC,cAAc,CAAC,KAAK,MAAM,CAC5C,CAAC;AAAA,CACH,CAAC"}
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import { c } from "react-compiler-runtime";
|
|
2
|
-
import { useEffect } from "react";
|
|
3
1
|
import { create } from "zustand";
|
|
4
2
|
import { devtools } from "zustand/middleware";
|
|
5
3
|
//#region src/stores/shellStore.ts
|
|
@@ -17,31 +15,11 @@ const useShellStore = create()(devtools((set) => ({
|
|
|
17
15
|
currentContainerId: null,
|
|
18
16
|
setCurrentContainerId: (currentContainerId) => set((state) => ({ currentContainerId }))
|
|
19
17
|
})));
|
|
20
|
-
const
|
|
21
|
-
const $ = c(3);
|
|
18
|
+
const useWithoutShellParam = () => {
|
|
22
19
|
const searchParams = new URLSearchParams(window.location.search);
|
|
23
|
-
|
|
24
|
-
const setShellHidden = useShellStore(_temp);
|
|
25
|
-
let t0;
|
|
26
|
-
let t1;
|
|
27
|
-
if ($[0] !== setShellHidden) {
|
|
28
|
-
t0 = () => {
|
|
29
|
-
if (withoutShell) setShellHidden(true);
|
|
30
|
-
};
|
|
31
|
-
t1 = [setShellHidden, withoutShell];
|
|
32
|
-
$[0] = setShellHidden;
|
|
33
|
-
$[1] = t0;
|
|
34
|
-
$[2] = t1;
|
|
35
|
-
} else {
|
|
36
|
-
t0 = $[1];
|
|
37
|
-
t1 = $[2];
|
|
38
|
-
}
|
|
39
|
-
useEffect(t0, t1);
|
|
20
|
+
return searchParams.has("withoutShell") && searchParams.get("withoutShell") === "true";
|
|
40
21
|
};
|
|
41
|
-
function _temp(state) {
|
|
42
|
-
return state.setShellHidden;
|
|
43
|
-
}
|
|
44
22
|
//#endregion
|
|
45
|
-
export {
|
|
23
|
+
export { useShellStore, useWithoutShellParam };
|
|
46
24
|
|
|
47
25
|
//# sourceMappingURL=shellStore.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shellStore.mjs","names":["
|
|
1
|
+
{"version":3,"file":"shellStore.mjs","names":["create","devtools","ContainerTypeEnums","ShellState","subHeaderActionHasChildren","setSubHeaderActionHasChildren","navigationExpanded","setNavigationExpanded","setIsValidWidget","isValidWidget","a","setGetWidget","getWidget","shellHidden","setShellHidden","currentContainerId","setCurrentContainerId","containerId","useShellStore","set","state","useWithoutShellParam","searchParams","URLSearchParams","window","location","search","has","get"],"sources":["../../src/stores/shellStore.ts"],"sourcesContent":["import { create } from 'zustand';\nimport { devtools } from 'zustand/middleware';\nimport { ContainerTypeEnums } from '../enums/unitySystemEnums';\n\ninterface ShellState {\n subHeaderActionHasChildren: boolean | null | undefined;\n setSubHeaderActionHasChildren: (subHeaderActionHasChildren: boolean) => void;\n navigationExpanded: boolean | null | undefined;\n setNavigationExpanded: (navigationExpanded: boolean) => void;\n setIsValidWidget: (isValidWidget: (a: string) => boolean) => void;\n isValidWidget: (a: string) => boolean;\n setGetWidget: (getWidget: (a: string) => any) => void;\n getWidget: (a: string) => any;\n shellHidden: boolean | null | undefined;\n setShellHidden: (shellHidden: boolean) => void;\n currentContainerId: string | null | undefined;\n setCurrentContainerId: (containerId: string) => void;\n}\n\nexport const useShellStore = create<ShellState>()(\n devtools((set) => ({\n subHeaderActionHasChildren: false,\n setSubHeaderActionHasChildren: (subHeaderActionHasChildren) =>\n set((state) => ({\n subHeaderActionHasChildren: subHeaderActionHasChildren\n })),\n navigationExpanded: true,\n setNavigationExpanded: (navigationExpanded) =>\n set((state) => ({\n navigationExpanded: navigationExpanded\n })),\n isValidWidget: (a) => false,\n setIsValidWidget: (isValidWidget) =>\n set((state) => ({\n isValidWidget: isValidWidget\n })),\n getWidget: (a) => null,\n setGetWidget: (getWidget) =>\n set((state) => ({\n getWidget: getWidget\n })),\n shellHidden: false,\n setShellHidden: (shellHidden) =>\n set((state) => ({\n shellHidden: shellHidden\n })),\n currentContainerId: null,\n setCurrentContainerId: (currentContainerId) =>\n set((state) => ({ currentContainerId: currentContainerId }))\n }))\n);\n\nexport const useWithoutShellParam: () => boolean = () => {\n const searchParams = new URLSearchParams(window.location.search);\n return (\n searchParams.has('withoutShell') &&\n searchParams.get('withoutShell') === 'true'\n );\n};\n"],"mappings":";;;AAmBA,MAAakB,gBAAgBlB,QAAoB,CAC/CC,UAAUkB,SAAS;CACjBf,4BAA4B;CAC5BC,gCAAgCD,+BAC9Be,KAAKC,WAAW,EACchB,4BAC7B,EAAE;CACLE,oBAAoB;CACpBC,wBAAwBD,uBACtBa,KAAKC,WAAW,EACMd,oBACrB,EAAE;CACLG,gBAAgBC,MAAM;CACtBF,mBAAmBC,kBACjBU,KAAKC,WAAW,EACCX,eAChB,EAAE;CACLG,YAAYF,MAAM;CAClBC,eAAeC,cACbO,KAAKC,WAAW,EACHR,WACZ,EAAE;CACLC,aAAa;CACbC,iBAAiBD,gBACfM,KAAKC,WAAW,EACDP,aACd,EAAE;CACLE,oBAAoB;CACpBC,wBAAwBD,uBACtBI,KAAKC,WAAW,EAAsBL,oBAAoB,EAAC;CAC9D,EACH,CAAC;AAED,MAAaM,6BAA4C;CACvD,MAAMC,eAAe,IAAIC,gBAAgBC,OAAOC,SAASC,OAAO;AAChE,QACEJ,aAAaK,IAAI,eAAe,IAChCL,aAAaM,IAAI,eAAe,KAAK"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "udp-react-enterprise-component-library",
|
|
3
|
-
"version": "26.1.0-beta.
|
|
3
|
+
"version": "26.1.0-beta.15",
|
|
4
4
|
"description": "React-based UI component library implementing Fluent UI design for Univerus internal projects",
|
|
5
5
|
"author": "Univerus",
|
|
6
6
|
"license": "MIT",
|
|
@@ -3676,7 +3676,7 @@
|
|
|
3676
3676
|
"@tanstack/react-query": "^5",
|
|
3677
3677
|
"@tanstack/react-query-devtools": "^5",
|
|
3678
3678
|
"udp-react-stencil-component-library": "^26.0.0",
|
|
3679
|
-
"udp-stencil-component-library": "^26.1.0-beta.
|
|
3679
|
+
"udp-stencil-component-library": "^26.1.0-beta.13",
|
|
3680
3680
|
"axios": "^0.27.2",
|
|
3681
3681
|
"axios-hooks": "^2.1.0",
|
|
3682
3682
|
"broadcast-channel": "^4.17.0",
|