udp-react-enterprise-component-library 27.0.0-next.11 → 27.0.0-next.13
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/.tsbuildinfo +1 -1
- package/dist/UI/feedback/PageLoading.d.ts +11 -1
- package/dist/UI/feedback/PageLoading.d.ts.map +1 -1
- package/dist/UI/feedback/PageLoading.js +12 -12
- package/dist/UI/feedback/PageLoading.js.map +1 -1
- package/dist/UI/feedback/PageLoading.mjs +35 -21
- package/dist/UI/feedback/PageLoading.mjs.map +1 -1
- package/dist/UI/feedback/PageLoading.module.css +9 -0
- package/dist/UI/fluent-web-components/UdpIconPicker.d.ts +4 -1
- package/dist/UI/fluent-web-components/UdpIconPicker.d.ts.map +1 -1
- package/dist/UI/fluent-web-components/UdpIconPicker.js +2 -2
- package/dist/UI/fluent-web-components/UdpIconPicker.js.map +1 -1
- package/dist/UI/fluent-web-components/UdpIconPicker.mjs +32 -28
- package/dist/UI/fluent-web-components/UdpIconPicker.mjs.map +1 -1
- package/dist/UI/fluent-web-components/UdpLink.d.ts +6 -0
- package/dist/UI/fluent-web-components/UdpLink.d.ts.map +1 -1
- package/dist/UI/fluent-web-components/UdpLink.js.map +1 -1
- package/dist/UI/fluent-web-components/UdpLink.mjs.map +1 -1
- package/dist/UI/fluent-web-components/index.d.ts +10 -0
- package/dist/UI/fluent-web-components/index.d.ts.map +1 -1
- package/dist/UI/fluent-web-components/index.js +10 -0
- package/dist/UI/fluent-web-components/index.js.map +1 -1
- package/dist/UI/fluent-web-components/shell/UdpShell.d.ts +10 -0
- package/dist/UI/fluent-web-components/shell/UdpShell.d.ts.map +1 -0
- package/dist/UI/fluent-web-components/shell/UdpShell.js +7 -0
- package/dist/UI/fluent-web-components/shell/UdpShell.js.map +1 -0
- package/dist/UI/fluent-web-components/shell/UdpShell.mjs +19 -0
- package/dist/UI/fluent-web-components/shell/UdpShell.mjs.map +1 -0
- package/dist/UI/fluent-web-components/shell/UdpShellAppBar.d.ts +11 -0
- package/dist/UI/fluent-web-components/shell/UdpShellAppBar.d.ts.map +1 -0
- package/dist/UI/fluent-web-components/shell/UdpShellAppBar.js +7 -0
- package/dist/UI/fluent-web-components/shell/UdpShellAppBar.js.map +1 -0
- package/dist/UI/fluent-web-components/shell/UdpShellAppBar.mjs +19 -0
- package/dist/UI/fluent-web-components/shell/UdpShellAppBar.mjs.map +1 -0
- package/dist/UI/fluent-web-components/shell/UdpShellAppBarAction.d.ts +16 -0
- package/dist/UI/fluent-web-components/shell/UdpShellAppBarAction.d.ts.map +1 -0
- package/dist/UI/fluent-web-components/shell/UdpShellAppBarAction.js +7 -0
- package/dist/UI/fluent-web-components/shell/UdpShellAppBarAction.js.map +1 -0
- package/dist/UI/fluent-web-components/shell/UdpShellAppBarAction.mjs +19 -0
- package/dist/UI/fluent-web-components/shell/UdpShellAppBarAction.mjs.map +1 -0
- package/dist/UI/fluent-web-components/shell/UdpShellNav.d.ts +21 -0
- package/dist/UI/fluent-web-components/shell/UdpShellNav.d.ts.map +1 -0
- package/dist/UI/fluent-web-components/shell/UdpShellNav.js +7 -0
- package/dist/UI/fluent-web-components/shell/UdpShellNav.js.map +1 -0
- package/dist/UI/fluent-web-components/shell/UdpShellNav.mjs +19 -0
- package/dist/UI/fluent-web-components/shell/UdpShellNav.mjs.map +1 -0
- package/dist/UI/fluent-web-components/shell/UdpShellRibbon.d.ts +10 -0
- package/dist/UI/fluent-web-components/shell/UdpShellRibbon.d.ts.map +1 -0
- package/dist/UI/fluent-web-components/shell/UdpShellRibbon.js +7 -0
- package/dist/UI/fluent-web-components/shell/UdpShellRibbon.js.map +1 -0
- package/dist/UI/fluent-web-components/shell/UdpShellRibbon.mjs +19 -0
- package/dist/UI/fluent-web-components/shell/UdpShellRibbon.mjs.map +1 -0
- package/dist/UI/fluent-web-components/shell/UdpShellSidebar.d.ts +13 -0
- package/dist/UI/fluent-web-components/shell/UdpShellSidebar.d.ts.map +1 -0
- package/dist/UI/fluent-web-components/shell/UdpShellSidebar.js +7 -0
- package/dist/UI/fluent-web-components/shell/UdpShellSidebar.js.map +1 -0
- package/dist/UI/fluent-web-components/shell/UdpShellSidebar.mjs +19 -0
- package/dist/UI/fluent-web-components/shell/UdpShellSidebar.mjs.map +1 -0
- package/dist/UI/fluent-web-components/types.d.ts +2 -0
- package/dist/UI/fluent-web-components/types.d.ts.map +1 -1
- package/dist/UI/widgets/library/InquiryFindRecordsWidget/InquiryFindRecordsWidget.d.ts +16 -3
- package/dist/UI/widgets/library/InquiryFindRecordsWidget/InquiryFindRecordsWidget.d.ts.map +1 -1
- package/dist/UI/widgets/library/InquiryFindRecordsWidget/InquiryFindRecordsWidget.js +36 -13
- package/dist/UI/widgets/library/InquiryFindRecordsWidget/InquiryFindRecordsWidget.js.map +1 -1
- package/dist/UI/widgets/library/InquiryFindRecordsWidget/InquiryFindRecordsWidget.mjs +119 -62
- package/dist/UI/widgets/library/InquiryFindRecordsWidget/InquiryFindRecordsWidget.mjs.map +1 -1
- package/dist/UI/widgets/library/InquiryFindRecordsWidget/index.mjs +3 -2
- package/dist/UI/widgets/library/InquiryRecentRecordsWidget/InquiryRecentRecordsWidget.d.ts +9 -2
- package/dist/UI/widgets/library/InquiryRecentRecordsWidget/InquiryRecentRecordsWidget.d.ts.map +1 -1
- package/dist/UI/widgets/library/InquiryRecentRecordsWidget/InquiryRecentRecordsWidget.js +18 -18
- package/dist/UI/widgets/library/InquiryRecentRecordsWidget/InquiryRecentRecordsWidget.js.map +1 -1
- package/dist/UI/widgets/library/InquiryRecentRecordsWidget/InquiryRecentRecordsWidget.mjs +79 -67
- package/dist/UI/widgets/library/InquiryRecentRecordsWidget/InquiryRecentRecordsWidget.mjs.map +1 -1
- package/dist/UI/widgets/library/InquiryRemindersWidget/InquiryRemindersWidget.d.ts +8 -2
- package/dist/UI/widgets/library/InquiryRemindersWidget/InquiryRemindersWidget.d.ts.map +1 -1
- package/dist/UI/widgets/library/InquiryRemindersWidget/InquiryRemindersWidget.js +32 -16
- package/dist/UI/widgets/library/InquiryRemindersWidget/InquiryRemindersWidget.js.map +1 -1
- package/dist/UI/widgets/library/InquiryRemindersWidget/InquiryRemindersWidget.mjs +129 -102
- package/dist/UI/widgets/library/InquiryRemindersWidget/InquiryRemindersWidget.mjs.map +1 -1
- package/dist/UI/widgets/library/InquiryRemindersWidget/reminderRowModel.d.ts +3 -2
- package/dist/UI/widgets/library/InquiryRemindersWidget/reminderRowModel.d.ts.map +1 -1
- package/dist/UI/widgets/library/InquiryRemindersWidget/reminderRowModel.js +11 -12
- package/dist/UI/widgets/library/InquiryRemindersWidget/reminderRowModel.js.map +1 -1
- package/dist/UI/widgets/library/InquiryRemindersWidget/reminderRowModel.mjs +6 -4
- package/dist/UI/widgets/library/InquiryRemindersWidget/reminderRowModel.mjs.map +1 -1
- package/dist/UI/widgets/library/InquiryRemindersWidget/useInquiryReminders.d.ts +2 -19
- package/dist/UI/widgets/library/InquiryRemindersWidget/useInquiryReminders.d.ts.map +1 -1
- package/dist/UI/widgets/library/InquiryRemindersWidget/useInquiryReminders.js +4 -5
- package/dist/UI/widgets/library/InquiryRemindersWidget/useInquiryReminders.js.map +1 -1
- package/dist/UI/widgets/library/InquiryRemindersWidget/useInquiryReminders.mjs +5 -4
- package/dist/UI/widgets/library/InquiryRemindersWidget/useInquiryReminders.mjs.map +1 -1
- package/dist/actionPanels/index.d.ts +0 -2
- package/dist/actionPanels/index.d.ts.map +1 -1
- package/dist/actionPanels/index.js +0 -2
- package/dist/actionPanels/index.js.map +1 -1
- package/dist/actionPanels/panelActionFields.d.ts +9 -26
- package/dist/actionPanels/panelActionFields.d.ts.map +1 -1
- package/dist/actionPanels/panelActionFields.js +32 -55
- package/dist/actionPanels/panelActionFields.js.map +1 -1
- package/dist/actionPanels/panelActionFields.mjs +159 -375
- package/dist/actionPanels/panelActionFields.mjs.map +1 -1
- package/dist/actionPanels/panelOperations.d.ts +15 -41
- package/dist/actionPanels/panelOperations.d.ts.map +1 -1
- package/dist/actionPanels/panelOperations.js +51 -89
- package/dist/actionPanels/panelOperations.js.map +1 -1
- package/dist/actionPanels/panelOperations.mjs +37 -92
- package/dist/actionPanels/panelOperations.mjs.map +1 -1
- package/dist/aiAssistant/aiFeatures.d.ts +1 -1
- package/dist/aiAssistant/aiFeatures.d.ts.map +1 -1
- package/dist/aiAssistant/aiFeatures.js +5 -0
- package/dist/aiAssistant/aiFeatures.js.map +1 -1
- package/dist/aiAssistant/aiFeatures.mjs +5 -1
- package/dist/aiAssistant/aiFeatures.mjs.map +1 -1
- package/dist/dashboard/DashboardWidget.d.ts.map +1 -1
- package/dist/dashboard/DashboardWidget.js +1 -1
- package/dist/dashboard/DashboardWidget.js.map +1 -1
- package/dist/dashboard/DashboardWidget.mjs +24 -21
- package/dist/dashboard/DashboardWidget.mjs.map +1 -1
- package/dist/domain/actionPanel/actionTypeMeta.d.ts +15 -2
- package/dist/domain/actionPanel/actionTypeMeta.d.ts.map +1 -1
- package/dist/domain/actionPanel/actionTypeMeta.js +21 -2
- package/dist/domain/actionPanel/actionTypeMeta.js.map +1 -1
- package/dist/domain/actionPanel/actionTypeMeta.mjs +18 -3
- package/dist/domain/actionPanel/actionTypeMeta.mjs.map +1 -1
- package/dist/domain/actionPanel/buttonOrder.d.ts +67 -0
- package/dist/domain/actionPanel/buttonOrder.d.ts.map +1 -0
- package/dist/domain/actionPanel/buttonOrder.js +105 -0
- package/dist/domain/actionPanel/buttonOrder.js.map +1 -0
- package/dist/domain/actionPanel/buttonOrder.mjs +90 -0
- package/dist/domain/actionPanel/buttonOrder.mjs.map +1 -0
- package/dist/domain/actionPanel/index.d.ts +1 -0
- package/dist/domain/actionPanel/index.d.ts.map +1 -1
- package/dist/domain/actionPanel/index.js +1 -0
- package/dist/domain/actionPanel/index.js.map +1 -1
- package/dist/domain/actionPanel/index.mjs +4 -3
- package/dist/domain/actionPanel/serialize.d.ts +6 -2
- package/dist/domain/actionPanel/serialize.d.ts.map +1 -1
- package/dist/domain/actionPanel/serialize.js +10 -3
- package/dist/domain/actionPanel/serialize.js.map +1 -1
- package/dist/domain/actionPanel/serialize.mjs +7 -3
- package/dist/domain/actionPanel/serialize.mjs.map +1 -1
- package/dist/domain/actionPanel/types.d.ts +24 -8
- package/dist/domain/actionPanel/types.d.ts.map +1 -1
- package/dist/domain/actionPanel/types.js.map +1 -1
- package/dist/domain/actionPanel/types.mjs.map +1 -1
- package/dist/domain/inquiryTree/describe.d.ts +15 -3
- package/dist/domain/inquiryTree/describe.d.ts.map +1 -1
- package/dist/domain/inquiryTree/describe.js +32 -28
- package/dist/domain/inquiryTree/describe.js.map +1 -1
- package/dist/domain/inquiryTree/describe.mjs +34 -16
- package/dist/domain/inquiryTree/describe.mjs.map +1 -1
- package/dist/domain/inquiryTree/displayTree.d.ts +75 -97
- package/dist/domain/inquiryTree/displayTree.d.ts.map +1 -1
- package/dist/domain/inquiryTree/displayTree.js +418 -551
- package/dist/domain/inquiryTree/displayTree.js.map +1 -1
- package/dist/domain/inquiryTree/displayTree.mjs +345 -414
- package/dist/domain/inquiryTree/displayTree.mjs.map +1 -1
- package/dist/domain/inquiryTree/groups.d.ts +2 -0
- package/dist/domain/inquiryTree/groups.d.ts.map +1 -1
- package/dist/domain/inquiryTree/groups.js.map +1 -1
- package/dist/domain/inquiryTree/groups.mjs.map +1 -1
- package/dist/domain/inquiryTree/index.d.ts +1 -1
- package/dist/domain/inquiryTree/index.d.ts.map +1 -1
- package/dist/domain/inquiryTree/index.js +1 -1
- package/dist/domain/inquiryTree/index.js.map +1 -1
- package/dist/domain/inquiryTree/index.mjs +12 -12
- package/dist/domain/inquiryTree/lazyLoad.d.ts +20 -129
- package/dist/domain/inquiryTree/lazyLoad.d.ts.map +1 -1
- package/dist/domain/inquiryTree/lazyLoad.js +48 -233
- package/dist/domain/inquiryTree/lazyLoad.js.map +1 -1
- package/dist/domain/inquiryTree/lazyLoad.mjs +32 -187
- package/dist/domain/inquiryTree/lazyLoad.mjs.map +1 -1
- package/dist/domain/inquiryTree/legalChildren.d.ts +13 -14
- package/dist/domain/inquiryTree/legalChildren.d.ts.map +1 -1
- package/dist/domain/inquiryTree/legalChildren.js +21 -42
- package/dist/domain/inquiryTree/legalChildren.js.map +1 -1
- package/dist/domain/inquiryTree/legalChildren.mjs +19 -37
- package/dist/domain/inquiryTree/legalChildren.mjs.map +1 -1
- package/dist/domain/inquiryTree/names.d.ts +38 -0
- package/dist/domain/inquiryTree/names.d.ts.map +1 -0
- package/dist/domain/inquiryTree/names.js +64 -0
- package/dist/domain/inquiryTree/names.js.map +1 -0
- package/dist/domain/inquiryTree/names.mjs +56 -0
- package/dist/domain/inquiryTree/names.mjs.map +1 -0
- package/dist/domain/inquiryTree/operations.d.ts +6 -2
- package/dist/domain/inquiryTree/operations.d.ts.map +1 -1
- package/dist/domain/inquiryTree/operations.js +17 -16
- package/dist/domain/inquiryTree/operations.js.map +1 -1
- package/dist/domain/inquiryTree/operations.mjs +14 -11
- package/dist/domain/inquiryTree/operations.mjs.map +1 -1
- package/dist/domain/inquiryTree/rules.d.ts +3 -4
- package/dist/domain/inquiryTree/rules.d.ts.map +1 -1
- package/dist/domain/inquiryTree/rules.js +3 -13
- package/dist/domain/inquiryTree/rules.js.map +1 -1
- package/dist/domain/inquiryTree/rules.mjs +3 -9
- package/dist/domain/inquiryTree/rules.mjs.map +1 -1
- package/dist/domain/inquiryTree/runtime.d.ts +23 -16
- package/dist/domain/inquiryTree/runtime.d.ts.map +1 -1
- package/dist/domain/inquiryTree/runtime.js +46 -54
- package/dist/domain/inquiryTree/runtime.js.map +1 -1
- package/dist/domain/inquiryTree/runtime.mjs +31 -26
- package/dist/domain/inquiryTree/runtime.mjs.map +1 -1
- package/dist/domain/inquiryTree/serialize.d.ts +20 -29
- package/dist/domain/inquiryTree/serialize.d.ts.map +1 -1
- package/dist/domain/inquiryTree/serialize.js +93 -205
- package/dist/domain/inquiryTree/serialize.js.map +1 -1
- package/dist/domain/inquiryTree/serialize.mjs +89 -180
- package/dist/domain/inquiryTree/serialize.mjs.map +1 -1
- package/dist/domain/inquiryTree/types.d.ts +146 -65
- package/dist/domain/inquiryTree/types.d.ts.map +1 -1
- package/dist/domain/inquiryTree/types.js +5 -0
- package/dist/domain/inquiryTree/types.js.map +1 -1
- package/dist/domain/inquiryTree/types.mjs +3 -1
- package/dist/domain/inquiryTree/types.mjs.map +1 -1
- package/dist/domain/inquiryTree/validate.d.ts +9 -2
- package/dist/domain/inquiryTree/validate.d.ts.map +1 -1
- package/dist/domain/inquiryTree/validate.js +30 -58
- package/dist/domain/inquiryTree/validate.js.map +1 -1
- package/dist/domain/inquiryTree/validate.mjs +29 -44
- package/dist/domain/inquiryTree/validate.mjs.map +1 -1
- package/dist/domain/inquiryTree/view.d.ts +8 -12
- package/dist/domain/inquiryTree/view.d.ts.map +1 -1
- package/dist/domain/inquiryTree/view.js +40 -66
- package/dist/domain/inquiryTree/view.js.map +1 -1
- package/dist/domain/inquiryTree/view.mjs +30 -60
- package/dist/domain/inquiryTree/view.mjs.map +1 -1
- package/dist/domain/inquiryTree/waveLoad.d.ts +32 -48
- package/dist/domain/inquiryTree/waveLoad.d.ts.map +1 -1
- package/dist/domain/inquiryTree/waveLoad.js +75 -90
- package/dist/domain/inquiryTree/waveLoad.js.map +1 -1
- package/dist/domain/inquiryTree/waveLoad.mjs +54 -60
- package/dist/domain/inquiryTree/waveLoad.mjs.map +1 -1
- package/dist/domain/inquiryTree/wireString.d.ts +5 -0
- package/dist/domain/inquiryTree/wireString.d.ts.map +1 -1
- package/dist/domain/inquiryTree/wireString.js +11 -0
- package/dist/domain/inquiryTree/wireString.js.map +1 -1
- package/dist/domain/inquiryTree/wireString.mjs +10 -1
- package/dist/domain/inquiryTree/wireString.mjs.map +1 -1
- package/dist/domain/nodeView/index.mjs +2 -2
- package/dist/domain/nodeView/model.d.ts +35 -30
- package/dist/domain/nodeView/model.d.ts.map +1 -1
- package/dist/domain/nodeView/model.js +108 -69
- package/dist/domain/nodeView/model.js.map +1 -1
- package/dist/domain/nodeView/model.mjs +86 -36
- package/dist/domain/nodeView/model.mjs.map +1 -1
- package/dist/errorBoundary/ErrorBoundary.d.ts +17 -1
- package/dist/errorBoundary/ErrorBoundary.d.ts.map +1 -1
- package/dist/errorBoundary/ErrorBoundary.js +25 -21
- package/dist/errorBoundary/ErrorBoundary.js.map +1 -1
- package/dist/errorBoundary/ErrorBoundary.mjs +22 -34
- package/dist/errorBoundary/ErrorBoundary.mjs.map +1 -1
- package/dist/errorBoundary/ErrorBoundaryFallback.d.ts +10 -0
- package/dist/errorBoundary/ErrorBoundaryFallback.d.ts.map +1 -0
- package/dist/errorBoundary/ErrorBoundaryFallback.js +8 -0
- package/dist/errorBoundary/ErrorBoundaryFallback.js.map +1 -0
- package/dist/errorBoundary/ErrorBoundaryFallback.mjs +91 -0
- package/dist/errorBoundary/ErrorBoundaryFallback.mjs.map +1 -0
- package/dist/icons/legacyIconNames.d.ts.map +1 -1
- package/dist/icons/legacyIconNames.js +46 -1
- package/dist/icons/legacyIconNames.js.map +1 -1
- package/dist/icons/legacyIconNames.mjs +46 -1
- package/dist/icons/legacyIconNames.mjs.map +1 -1
- package/dist/index.mjs +19 -14
- package/dist/inquiry/Inquiry.d.ts +3 -0
- package/dist/inquiry/Inquiry.d.ts.map +1 -1
- package/dist/inquiry/Inquiry.js +3 -0
- package/dist/inquiry/Inquiry.js.map +1 -1
- package/dist/inquiry/Inquiry.mjs +3 -0
- package/dist/inquiry/Inquiry.mjs.map +1 -1
- package/dist/inquiry/InquiryContainer.d.ts.map +1 -1
- package/dist/inquiry/InquiryContainer.js +22 -21
- package/dist/inquiry/InquiryContainer.js.map +1 -1
- package/dist/inquiry/InquiryContainer.mjs +14 -10
- package/dist/inquiry/InquiryContainer.mjs.map +1 -1
- package/dist/inquiry/InquiryTreeMenu.d.ts.map +1 -1
- package/dist/inquiry/InquiryTreeMenu.js +14 -23
- package/dist/inquiry/InquiryTreeMenu.js.map +1 -1
- package/dist/inquiry/InquiryTreeMenu.mjs +20 -20
- package/dist/inquiry/InquiryTreeMenu.mjs.map +1 -1
- package/dist/inquiry/v2/InquiryV2.d.ts +8 -6
- package/dist/inquiry/v2/InquiryV2.d.ts.map +1 -1
- package/dist/inquiry/v2/InquiryV2.js +45 -24
- package/dist/inquiry/v2/InquiryV2.js.map +1 -1
- package/dist/inquiry/v2/InquiryV2.mjs +108 -61
- package/dist/inquiry/v2/InquiryV2.mjs.map +1 -1
- package/dist/inquiry/v2/InquiryV2.module.css +60 -15
- package/dist/inquiry/v2/InquiryWorkspace.d.ts +9 -9
- package/dist/inquiry/v2/InquiryWorkspace.d.ts.map +1 -1
- package/dist/inquiry/v2/InquiryWorkspace.js +531 -408
- package/dist/inquiry/v2/InquiryWorkspace.js.map +1 -1
- package/dist/inquiry/v2/InquiryWorkspace.mjs +524 -408
- package/dist/inquiry/v2/InquiryWorkspace.mjs.map +1 -1
- package/dist/inquiry/v2/ai/InquiryV2Copilot.d.ts +3 -2
- package/dist/inquiry/v2/ai/InquiryV2Copilot.d.ts.map +1 -1
- package/dist/inquiry/v2/ai/InquiryV2Copilot.js +20 -37
- package/dist/inquiry/v2/ai/InquiryV2Copilot.js.map +1 -1
- package/dist/inquiry/v2/ai/InquiryV2Copilot.mjs +19 -31
- package/dist/inquiry/v2/ai/InquiryV2Copilot.mjs.map +1 -1
- package/dist/inquiry/v2/ai/copilotModel.d.ts +6 -14
- package/dist/inquiry/v2/ai/copilotModel.d.ts.map +1 -1
- package/dist/inquiry/v2/ai/copilotModel.js +35 -87
- package/dist/inquiry/v2/ai/copilotModel.js.map +1 -1
- package/dist/inquiry/v2/ai/copilotModel.mjs +23 -47
- package/dist/inquiry/v2/ai/copilotModel.mjs.map +1 -1
- package/dist/inquiry/v2/api/queries.d.ts +46 -73
- package/dist/inquiry/v2/api/queries.d.ts.map +1 -1
- package/dist/inquiry/v2/api/queries.js +151 -210
- package/dist/inquiry/v2/api/queries.js.map +1 -1
- package/dist/inquiry/v2/api/queries.mjs +227 -183
- package/dist/inquiry/v2/api/queries.mjs.map +1 -1
- package/dist/inquiry/v2/capabilities/actions/ActionsCapability.d.ts.map +1 -1
- package/dist/inquiry/v2/capabilities/actions/ActionsCapability.js +103 -32
- package/dist/inquiry/v2/capabilities/actions/ActionsCapability.js.map +1 -1
- package/dist/inquiry/v2/capabilities/actions/ActionsCapability.mjs +92 -32
- package/dist/inquiry/v2/capabilities/actions/ActionsCapability.mjs.map +1 -1
- package/dist/inquiry/v2/capabilities/actions/ActionsCapability.module.css +8 -1
- package/dist/inquiry/v2/capabilities/actions/EntityFormSurface.d.ts +20 -16
- package/dist/inquiry/v2/capabilities/actions/EntityFormSurface.d.ts.map +1 -1
- package/dist/inquiry/v2/capabilities/actions/EntityFormSurface.js +111 -68
- package/dist/inquiry/v2/capabilities/actions/EntityFormSurface.js.map +1 -1
- package/dist/inquiry/v2/capabilities/actions/EntityFormSurface.mjs +108 -142
- package/dist/inquiry/v2/capabilities/actions/EntityFormSurface.mjs.map +1 -1
- package/dist/inquiry/v2/capabilities/actions/RetrieveSurface.mjs +1 -1
- package/dist/inquiry/v2/capabilities/actions/actionModel.d.ts +66 -50
- package/dist/inquiry/v2/capabilities/actions/actionModel.d.ts.map +1 -1
- package/dist/inquiry/v2/capabilities/actions/actionModel.js +141 -66
- package/dist/inquiry/v2/capabilities/actions/actionModel.js.map +1 -1
- package/dist/inquiry/v2/capabilities/actions/actionModel.mjs +115 -53
- package/dist/inquiry/v2/capabilities/actions/actionModel.mjs.map +1 -1
- package/dist/inquiry/v2/capabilities/actions/parentKeyDefaults.d.ts +26 -0
- package/dist/inquiry/v2/capabilities/actions/parentKeyDefaults.d.ts.map +1 -0
- package/dist/inquiry/v2/capabilities/actions/parentKeyDefaults.js +36 -0
- package/dist/inquiry/v2/capabilities/actions/parentKeyDefaults.js.map +1 -0
- package/dist/inquiry/v2/capabilities/actions/parentKeyDefaults.mjs +41 -0
- package/dist/inquiry/v2/capabilities/actions/parentKeyDefaults.mjs.map +1 -0
- package/dist/inquiry/v2/capabilities/actions/runAction.d.ts +3 -2
- package/dist/inquiry/v2/capabilities/actions/runAction.d.ts.map +1 -1
- package/dist/inquiry/v2/capabilities/actions/runAction.js +27 -23
- package/dist/inquiry/v2/capabilities/actions/runAction.js.map +1 -1
- package/dist/inquiry/v2/capabilities/actions/runAction.mjs +26 -20
- package/dist/inquiry/v2/capabilities/actions/runAction.mjs.map +1 -1
- package/dist/inquiry/v2/capabilities/actions/useHeaderFold.d.ts +20 -0
- package/dist/inquiry/v2/capabilities/actions/useHeaderFold.d.ts.map +1 -0
- package/dist/inquiry/v2/capabilities/actions/useHeaderFold.js +112 -0
- package/dist/inquiry/v2/capabilities/actions/useHeaderFold.js.map +1 -0
- package/dist/inquiry/v2/capabilities/actions/useHeaderFold.mjs +118 -0
- package/dist/inquiry/v2/capabilities/actions/useHeaderFold.mjs.map +1 -0
- package/dist/inquiry/v2/capabilities/actions/useSheetPanel.d.ts +25 -1
- package/dist/inquiry/v2/capabilities/actions/useSheetPanel.d.ts.map +1 -1
- package/dist/inquiry/v2/capabilities/actions/useSheetPanel.js +7 -4
- package/dist/inquiry/v2/capabilities/actions/useSheetPanel.js.map +1 -1
- package/dist/inquiry/v2/capabilities/actions/useSheetPanel.mjs +9 -4
- package/dist/inquiry/v2/capabilities/actions/useSheetPanel.mjs.map +1 -1
- package/dist/inquiry/v2/capabilities/alerts/AlertsCapability.d.ts +5 -3
- package/dist/inquiry/v2/capabilities/alerts/AlertsCapability.d.ts.map +1 -1
- package/dist/inquiry/v2/capabilities/alerts/AlertsCapability.js +11 -8
- package/dist/inquiry/v2/capabilities/alerts/AlertsCapability.js.map +1 -1
- package/dist/inquiry/v2/capabilities/alerts/AlertsCapability.mjs +13 -7
- package/dist/inquiry/v2/capabilities/alerts/AlertsCapability.mjs.map +1 -1
- package/dist/inquiry/v2/capabilities/alerts/AlertsCapability.module.css +4 -4
- package/dist/inquiry/v2/capabilities/header/HeaderCapability.d.ts +1 -1
- package/dist/inquiry/v2/capabilities/header/HeaderCapability.d.ts.map +1 -1
- package/dist/inquiry/v2/capabilities/header/HeaderCapability.js +20 -17
- package/dist/inquiry/v2/capabilities/header/HeaderCapability.js.map +1 -1
- package/dist/inquiry/v2/capabilities/header/HeaderCapability.mjs +101 -111
- package/dist/inquiry/v2/capabilities/header/HeaderCapability.mjs.map +1 -1
- package/dist/inquiry/v2/capabilities/header/HeaderCapability.module.css +9 -6
- package/dist/inquiry/v2/capabilities/tabs/TabsCapability.d.ts +2 -1
- package/dist/inquiry/v2/capabilities/tabs/TabsCapability.d.ts.map +1 -1
- package/dist/inquiry/v2/capabilities/tabs/TabsCapability.js +9 -2
- package/dist/inquiry/v2/capabilities/tabs/TabsCapability.js.map +1 -1
- package/dist/inquiry/v2/capabilities/tabs/TabsCapability.mjs +18 -15
- package/dist/inquiry/v2/capabilities/tabs/TabsCapability.mjs.map +1 -1
- package/dist/inquiry/v2/index.d.ts +0 -1
- package/dist/inquiry/v2/index.d.ts.map +1 -1
- package/dist/inquiry/v2/index.js.map +1 -1
- package/dist/inquiry/v2/kernel/ActionRunnerContext.d.ts +3 -3
- package/dist/inquiry/v2/kernel/ActionRunnerContext.d.ts.map +1 -1
- package/dist/inquiry/v2/kernel/ActionRunnerContext.js +11 -5
- package/dist/inquiry/v2/kernel/ActionRunnerContext.js.map +1 -1
- package/dist/inquiry/v2/kernel/ActionRunnerContext.mjs +15 -12
- package/dist/inquiry/v2/kernel/ActionRunnerContext.mjs.map +1 -1
- package/dist/inquiry/v2/kernel/ReadOnlyContext.d.ts +3 -0
- package/dist/inquiry/v2/kernel/ReadOnlyContext.d.ts.map +1 -0
- package/dist/inquiry/v2/kernel/ReadOnlyContext.js +14 -0
- package/dist/inquiry/v2/kernel/ReadOnlyContext.js.map +1 -0
- package/dist/inquiry/v2/kernel/ReadOnlyContext.mjs +20 -0
- package/dist/inquiry/v2/kernel/ReadOnlyContext.mjs.map +1 -0
- package/dist/inquiry/v2/kernel/RecordContext.d.ts +2 -0
- package/dist/inquiry/v2/kernel/RecordContext.d.ts.map +1 -1
- package/dist/inquiry/v2/kernel/RecordContext.js.map +1 -1
- package/dist/inquiry/v2/kernel/RecordContext.mjs.map +1 -1
- package/dist/inquiry/v2/kernel/UdpNodeView.d.ts.map +1 -1
- package/dist/inquiry/v2/kernel/UdpNodeView.js +18 -13
- package/dist/inquiry/v2/kernel/UdpNodeView.js.map +1 -1
- package/dist/inquiry/v2/kernel/UdpNodeView.mjs +177 -140
- package/dist/inquiry/v2/kernel/UdpNodeView.mjs.map +1 -1
- package/dist/inquiry/v2/kernel/UdpNodeView.module.css +56 -5
- package/dist/inquiry/v2/kernel/capabilities.d.ts +0 -2
- package/dist/inquiry/v2/kernel/capabilities.d.ts.map +1 -1
- package/dist/inquiry/v2/kernel/capabilities.js.map +1 -1
- package/dist/inquiry/v2/kernel/capabilities.mjs.map +1 -1
- package/dist/inquiry/v2/landing/InquiryExplorePage.d.ts +26 -37
- package/dist/inquiry/v2/landing/InquiryExplorePage.d.ts.map +1 -1
- package/dist/inquiry/v2/landing/InquiryExplorePage.js +48 -57
- package/dist/inquiry/v2/landing/InquiryExplorePage.js.map +1 -1
- package/dist/inquiry/v2/landing/InquiryExplorePage.mjs +102 -106
- package/dist/inquiry/v2/landing/InquiryExplorePage.mjs.map +1 -1
- package/dist/inquiry/v2/landing/InquiryExplorePage.module.css +58 -6
- package/dist/inquiry/v2/landing/InquiryLanding.d.ts +3 -3
- package/dist/inquiry/v2/landing/InquiryLanding.d.ts.map +1 -1
- package/dist/inquiry/v2/landing/InquiryLanding.js +8 -3
- package/dist/inquiry/v2/landing/InquiryLanding.js.map +1 -1
- package/dist/inquiry/v2/landing/InquiryLanding.mjs +51 -35
- package/dist/inquiry/v2/landing/InquiryLanding.mjs.map +1 -1
- package/dist/inquiry/v2/landing/InquiryLanding.module.css +8 -0
- package/dist/inquiry/v2/page/UdpPageRenderer.d.ts +5 -1
- package/dist/inquiry/v2/page/UdpPageRenderer.d.ts.map +1 -1
- package/dist/inquiry/v2/page/UdpPageRenderer.js +13 -1
- package/dist/inquiry/v2/page/UdpPageRenderer.js.map +1 -1
- package/dist/inquiry/v2/page/UdpPageRenderer.mjs +36 -7
- package/dist/inquiry/v2/page/UdpPageRenderer.mjs.map +1 -1
- package/dist/inquiry/v2/search/InquirySearchPanel.d.ts +1 -7
- package/dist/inquiry/v2/search/InquirySearchPanel.d.ts.map +1 -1
- package/dist/inquiry/v2/search/InquirySearchPanel.js +6 -13
- package/dist/inquiry/v2/search/InquirySearchPanel.js.map +1 -1
- package/dist/inquiry/v2/search/InquirySearchPanel.mjs +4 -8
- package/dist/inquiry/v2/search/InquirySearchPanel.mjs.map +1 -1
- package/dist/inquiry/v2/search/RecordFinder.d.ts +30 -1
- package/dist/inquiry/v2/search/RecordFinder.d.ts.map +1 -1
- package/dist/inquiry/v2/search/RecordFinder.js +43 -20
- package/dist/inquiry/v2/search/RecordFinder.js.map +1 -1
- package/dist/inquiry/v2/search/RecordFinder.mjs +68 -42
- package/dist/inquiry/v2/search/RecordFinder.mjs.map +1 -1
- package/dist/inquiry/v2/search/index.d.ts +3 -3
- package/dist/inquiry/v2/search/index.d.ts.map +1 -1
- package/dist/inquiry/v2/search/index.js +1 -1
- package/dist/inquiry/v2/search/index.js.map +1 -1
- package/dist/inquiry/v2/search/searchModel.d.ts +130 -23
- package/dist/inquiry/v2/search/searchModel.d.ts.map +1 -1
- package/dist/inquiry/v2/search/searchModel.js +237 -36
- package/dist/inquiry/v2/search/searchModel.js.map +1 -1
- package/dist/inquiry/v2/search/searchModel.mjs +207 -34
- package/dist/inquiry/v2/search/searchModel.mjs.map +1 -1
- package/dist/inquiry/v2/search/useInquirySearch.d.ts.map +1 -1
- package/dist/inquiry/v2/search/useInquirySearch.js +46 -19
- package/dist/inquiry/v2/search/useInquirySearch.js.map +1 -1
- package/dist/inquiry/v2/search/useInquirySearch.mjs +83 -84
- package/dist/inquiry/v2/search/useInquirySearch.mjs.map +1 -1
- package/dist/inquiry/v2/tree/InquiryFluentTreeMenu.d.ts +4 -1
- package/dist/inquiry/v2/tree/InquiryFluentTreeMenu.d.ts.map +1 -1
- package/dist/inquiry/v2/tree/InquiryFluentTreeMenu.js +174 -166
- package/dist/inquiry/v2/tree/InquiryFluentTreeMenu.js.map +1 -1
- package/dist/inquiry/v2/tree/InquiryFluentTreeMenu.mjs +343 -325
- package/dist/inquiry/v2/tree/InquiryFluentTreeMenu.mjs.map +1 -1
- package/dist/inquiry/v2/tree/InquiryMenuToolbar.d.ts +3 -1
- package/dist/inquiry/v2/tree/InquiryMenuToolbar.d.ts.map +1 -1
- package/dist/inquiry/v2/tree/InquiryMenuToolbar.js +8 -7
- package/dist/inquiry/v2/tree/InquiryMenuToolbar.js.map +1 -1
- package/dist/inquiry/v2/tree/InquiryMenuToolbar.mjs +68 -72
- package/dist/inquiry/v2/tree/InquiryMenuToolbar.mjs.map +1 -1
- package/dist/inquiry/v2/tree/LoadRecordDialog.d.ts +3 -3
- package/dist/inquiry/v2/tree/LoadRecordDialog.d.ts.map +1 -1
- package/dist/inquiry/v2/tree/LoadRecordDialog.js +12 -7
- package/dist/inquiry/v2/tree/LoadRecordDialog.js.map +1 -1
- package/dist/inquiry/v2/tree/LoadRecordDialog.mjs +48 -33
- package/dist/inquiry/v2/tree/LoadRecordDialog.mjs.map +1 -1
- package/dist/inquiry/v2/tree/NodeList.d.ts.map +1 -1
- package/dist/inquiry/v2/tree/NodeList.js +17 -6
- package/dist/inquiry/v2/tree/NodeList.js.map +1 -1
- package/dist/inquiry/v2/tree/NodeList.mjs +49 -36
- package/dist/inquiry/v2/tree/NodeList.mjs.map +1 -1
- package/dist/inquiry/v2/tree/arrivalModel.d.ts +15 -0
- package/dist/inquiry/v2/tree/arrivalModel.d.ts.map +1 -1
- package/dist/inquiry/v2/tree/arrivalModel.js +14 -1
- package/dist/inquiry/v2/tree/arrivalModel.js.map +1 -1
- package/dist/inquiry/v2/tree/arrivalModel.mjs +12 -1
- package/dist/inquiry/v2/tree/arrivalModel.mjs.map +1 -1
- package/dist/inquiry/v2/tree/branchRefreshModel.d.ts +32 -0
- package/dist/inquiry/v2/tree/branchRefreshModel.d.ts.map +1 -0
- package/dist/inquiry/v2/tree/branchRefreshModel.js +62 -0
- package/dist/inquiry/v2/tree/branchRefreshModel.js.map +1 -0
- package/dist/inquiry/v2/tree/branchRefreshModel.mjs +60 -0
- package/dist/inquiry/v2/tree/branchRefreshModel.mjs.map +1 -0
- package/dist/inquiry/v2/tree/droppedPageModel.d.ts +23 -1
- package/dist/inquiry/v2/tree/droppedPageModel.d.ts.map +1 -1
- package/dist/inquiry/v2/tree/droppedPageModel.js +53 -26
- package/dist/inquiry/v2/tree/droppedPageModel.js.map +1 -1
- package/dist/inquiry/v2/tree/droppedPageModel.mjs +48 -20
- package/dist/inquiry/v2/tree/droppedPageModel.mjs.map +1 -1
- package/dist/inquiry/v2/tree/fluentTreeMenu/treeMenuVisuals.d.ts +7 -12
- package/dist/inquiry/v2/tree/fluentTreeMenu/treeMenuVisuals.d.ts.map +1 -1
- package/dist/inquiry/v2/tree/fluentTreeMenu/treeMenuVisuals.js +44 -15
- package/dist/inquiry/v2/tree/fluentTreeMenu/treeMenuVisuals.js.map +1 -1
- package/dist/inquiry/v2/tree/fluentTreeMenu/treeMenuVisuals.mjs +34 -15
- package/dist/inquiry/v2/tree/fluentTreeMenu/treeMenuVisuals.mjs.map +1 -1
- package/dist/inquiry/v2/tree/fluentTreeMenu/useAggregateBadges.d.ts.map +1 -1
- package/dist/inquiry/v2/tree/fluentTreeMenu/useAggregateBadges.js +7 -18
- package/dist/inquiry/v2/tree/fluentTreeMenu/useAggregateBadges.js.map +1 -1
- package/dist/inquiry/v2/tree/fluentTreeMenu/useAggregateBadges.mjs +6 -14
- package/dist/inquiry/v2/tree/fluentTreeMenu/useAggregateBadges.mjs.map +1 -1
- package/dist/inquiry/v2/tree/fluentTreeMenu/useChildCountBadges.d.ts +20 -16
- package/dist/inquiry/v2/tree/fluentTreeMenu/useChildCountBadges.d.ts.map +1 -1
- package/dist/inquiry/v2/tree/fluentTreeMenu/useChildCountBadges.js +77 -55
- package/dist/inquiry/v2/tree/fluentTreeMenu/useChildCountBadges.js.map +1 -1
- package/dist/inquiry/v2/tree/fluentTreeMenu/useChildCountBadges.mjs +85 -106
- package/dist/inquiry/v2/tree/fluentTreeMenu/useChildCountBadges.mjs.map +1 -1
- package/dist/inquiry/v2/tree/lineageModel.d.ts +18 -1
- package/dist/inquiry/v2/tree/lineageModel.d.ts.map +1 -1
- package/dist/inquiry/v2/tree/lineageModel.js +71 -2
- package/dist/inquiry/v2/tree/lineageModel.js.map +1 -1
- package/dist/inquiry/v2/tree/lineageModel.mjs +53 -3
- package/dist/inquiry/v2/tree/lineageModel.mjs.map +1 -1
- package/dist/inquiry/v2/tree/menuRebuildModel.d.ts +10 -27
- package/dist/inquiry/v2/tree/menuRebuildModel.d.ts.map +1 -1
- package/dist/inquiry/v2/tree/menuRebuildModel.js +8 -58
- package/dist/inquiry/v2/tree/menuRebuildModel.js.map +1 -1
- package/dist/inquiry/v2/tree/menuRebuildModel.mjs +8 -51
- package/dist/inquiry/v2/tree/menuRebuildModel.mjs.map +1 -1
- package/dist/inquiry/v2/tree/pagedChildrenModel.d.ts +26 -0
- package/dist/inquiry/v2/tree/pagedChildrenModel.d.ts.map +1 -0
- package/dist/inquiry/v2/tree/pagedChildrenModel.js +56 -0
- package/dist/inquiry/v2/tree/pagedChildrenModel.js.map +1 -0
- package/dist/inquiry/v2/tree/pagedChildrenModel.mjs +43 -0
- package/dist/inquiry/v2/tree/pagedChildrenModel.mjs.map +1 -0
- package/dist/inquiry/v2/tree/rootRemovalModel.d.ts +7 -0
- package/dist/inquiry/v2/tree/rootRemovalModel.d.ts.map +1 -1
- package/dist/inquiry/v2/tree/rootRemovalModel.js +31 -5
- package/dist/inquiry/v2/tree/rootRemovalModel.js.map +1 -1
- package/dist/inquiry/v2/tree/rootRemovalModel.mjs +21 -4
- package/dist/inquiry/v2/tree/rootRemovalModel.mjs.map +1 -1
- package/dist/inquiry/v2/tree/treeFilterModel.d.ts +0 -2
- package/dist/inquiry/v2/tree/treeFilterModel.d.ts.map +1 -1
- package/dist/inquiry/v2/tree/treeFilterModel.js +0 -7
- package/dist/inquiry/v2/tree/treeFilterModel.js.map +1 -1
- package/dist/inquiry/v2/tree/treeFilterModel.mjs.map +1 -1
- package/dist/inquiry/v2/tree/useInquiryMenu.d.ts +16 -7
- package/dist/inquiry/v2/tree/useInquiryMenu.d.ts.map +1 -1
- package/dist/inquiry/v2/tree/useInquiryMenu.js +401 -163
- package/dist/inquiry/v2/tree/useInquiryMenu.js.map +1 -1
- package/dist/inquiry/v2/tree/useInquiryMenu.mjs +511 -310
- package/dist/inquiry/v2/tree/useInquiryMenu.mjs.map +1 -1
- package/dist/inquiry/v2/tree/waveLoader.d.ts +10 -11
- package/dist/inquiry/v2/tree/waveLoader.d.ts.map +1 -1
- package/dist/inquiry/v2/tree/waveLoader.js +78 -72
- package/dist/inquiry/v2/tree/waveLoader.js.map +1 -1
- package/dist/inquiry/v2/tree/waveLoader.mjs +79 -68
- package/dist/inquiry/v2/tree/waveLoader.mjs.map +1 -1
- package/dist/inquiry/v2/widgets/listRow.module.css +27 -0
- package/dist/inquiry/v2/widgets/widgetRowModel.d.ts +6 -2
- package/dist/inquiry/v2/widgets/widgetRowModel.d.ts.map +1 -1
- package/dist/inquiry/v2/widgets/widgetRowModel.js +49 -14
- package/dist/inquiry/v2/widgets/widgetRowModel.js.map +1 -1
- package/dist/inquiry/v2/widgets/widgetRowModel.mjs +36 -12
- package/dist/inquiry/v2/widgets/widgetRowModel.mjs.map +1 -1
- package/dist/maintenance/UdpTaggedRecordsPage.mjs +1 -1
- package/dist/maintenance/api/lookupApi.mjs +1 -1
- package/dist/maintenance/api/tagsApi.mjs +1 -1
- package/dist/maintenance/config/nodeDefaults.d.ts.map +1 -1
- package/dist/maintenance/config/nodeDefaults.js +16 -5
- package/dist/maintenance/config/nodeDefaults.js.map +1 -1
- package/dist/maintenance/config/nodeDefaults.mjs +14 -5
- package/dist/maintenance/config/nodeDefaults.mjs.map +1 -1
- package/dist/maintenance/config/useEntityConfig.mjs +1 -1
- package/dist/maintenance/config/useLinkedLabels.mjs +1 -1
- package/dist/maintenance/grid/MaintenanceGrid.mjs +1 -1
- package/dist/maintenance/metadata/useEntityMetadata.mjs +1 -1
- package/dist/maintenance/record/ChildTab.mjs +1 -1
- package/dist/maintenance/record/DeleteRecordDialog.mjs +1 -1
- package/dist/maintenance/record/LinkRecordsSheet.mjs +1 -1
- package/dist/maintenance/record/RecordFacts.mjs +1 -1
- package/dist/maintenance/record/RecordSheet.mjs +2 -2
- package/dist/maintenance/record/displayValue.mjs +1 -1
- package/dist/maintenance/record/stampDisplayText.mjs +1 -1
- package/dist/maintenance/settings/UdpEntitySettingsPage.d.ts.map +1 -1
- package/dist/maintenance/settings/UdpEntitySettingsPage.js +3 -0
- package/dist/maintenance/settings/UdpEntitySettingsPage.js.map +1 -1
- package/dist/maintenance/settings/UdpEntitySettingsPage.mjs +2 -0
- package/dist/maintenance/settings/UdpEntitySettingsPage.mjs.map +1 -1
- package/dist/maintenance/settings/useEntityCatalog.mjs +1 -1
- package/dist/maintenanceEngine/tableBrowser/TableColumnDefs.d.ts +4 -5
- package/dist/maintenanceEngine/tableBrowser/TableColumnDefs.d.ts.map +1 -1
- package/dist/page/PageContainer/PageContainer.d.ts.map +1 -1
- package/dist/page/PageContainer/PageContainer.js +4 -11
- package/dist/page/PageContainer/PageContainer.js.map +1 -1
- package/dist/page/PageContainer/PageContainer.mjs +39 -50
- package/dist/page/PageContainer/PageContainer.mjs.map +1 -1
- package/dist/stores/inquiryStore.d.ts +2 -1
- package/dist/stores/inquiryStore.d.ts.map +1 -1
- package/dist/stores/inquiryStore.js +4 -3
- package/dist/stores/inquiryStore.js.map +1 -1
- package/dist/stores/inquiryStore.mjs +18 -11
- package/dist/stores/inquiryStore.mjs.map +1 -1
- package/dist/udp/extraFields/useExtraFieldsGridConfig.d.ts +3 -2
- package/dist/udp/extraFields/useExtraFieldsGridConfig.d.ts.map +1 -1
- package/dist/udp/extraFields/useExtraFieldsGridConfig.js +7 -6
- package/dist/udp/extraFields/useExtraFieldsGridConfig.js.map +1 -1
- package/dist/udp/extraFields/useExtraFieldsGridConfig.mjs +27 -22
- package/dist/udp/extraFields/useExtraFieldsGridConfig.mjs.map +1 -1
- package/dist/udp/fileImportMapping/FileImportMappingWizard.d.ts.map +1 -1
- package/dist/udp/fileImportMapping/FileImportMappingWizard.js +4 -4
- package/dist/udp/fileImportMapping/FileImportMappingWizard.js.map +1 -1
- package/dist/udp/fileImportMapping/FileImportMappingWizard.mjs +10 -9
- package/dist/udp/fileImportMapping/FileImportMappingWizard.mjs.map +1 -1
- package/dist/udp/pages/UdpMaintenanceEnginePage/UdpMaintenanceEnginePage.d.ts.map +1 -1
- package/dist/udp/pages/UdpMaintenanceEnginePage/UdpMaintenanceEnginePage.js +1 -1
- package/dist/udp/pages/UdpMaintenanceEnginePage/UdpMaintenanceEnginePage.js.map +1 -1
- package/dist/udp/pages/UdpMaintenanceEnginePage/UdpMaintenanceEnginePage.mjs +2 -1
- package/dist/udp/pages/UdpMaintenanceEnginePage/UdpMaintenanceEnginePage.mjs.map +1 -1
- package/dist/udp/pages/UdpMaintenanceEnginePage/components/EntitiyTimeLine.mjs +1 -1
- package/dist/udp/pages/UdpTransactionsPage/components/DynamicTransactionDomainForm.d.ts.map +1 -1
- package/dist/udp/pages/UdpTransactionsPage/components/DynamicTransactionDomainForm.js +84 -27
- package/dist/udp/pages/UdpTransactionsPage/components/DynamicTransactionDomainForm.js.map +1 -1
- package/dist/udp/pages/UdpTransactionsPage/components/DynamicTransactionDomainForm.mjs +53 -23
- package/dist/udp/pages/UdpTransactionsPage/components/DynamicTransactionDomainForm.mjs.map +1 -1
- package/dist/udp/pages/UdpTransactionsPage/components/DynamicTransactionDomainFormFields.d.ts.map +1 -1
- package/dist/udp/pages/UdpTransactionsPage/components/DynamicTransactionDomainFormFields.js +45 -32
- package/dist/udp/pages/UdpTransactionsPage/components/DynamicTransactionDomainFormFields.js.map +1 -1
- package/dist/udp/pages/UdpTransactionsPage/components/DynamicTransactionDomainFormFields.mjs +27 -33
- package/dist/udp/pages/UdpTransactionsPage/components/DynamicTransactionDomainFormFields.mjs.map +1 -1
- package/dist/udp/pages/UdpTranslationsPage/UdpTranslationsPage.d.ts.map +1 -1
- package/dist/udp/pages/UdpTranslationsPage/UdpTranslationsPage.js +14 -16
- package/dist/udp/pages/UdpTranslationsPage/UdpTranslationsPage.js.map +1 -1
- package/dist/udp/pages/UdpTranslationsPage/UdpTranslationsPage.mjs +2 -4
- package/dist/udp/pages/UdpTranslationsPage/UdpTranslationsPage.mjs.map +1 -1
- package/dist/udp/utilities/useDateStringColumnDef.d.ts +1 -1
- package/dist/utilities/i18n/locales/es-US.json +24 -9
- package/dist/utilities/i18n/locales/es-US.mjs +25 -8
- package/dist/utilities/i18n/locales/fr-CA.json +24 -9
- package/dist/utilities/i18n/locales/fr-CA.mjs +25 -8
- package/dist/utilities/tree/TreeUtilities.d.ts +10 -10
- package/dist/utilities/tree/TreeUtilities.d.ts.map +1 -1
- package/dist/utilities/tree/TreeUtilities.js +41 -58
- package/dist/utilities/tree/TreeUtilities.js.map +1 -1
- package/dist/utilities/tree/TreeUtilities.mjs +32 -41
- package/dist/utilities/tree/TreeUtilities.mjs.map +1 -1
- package/dist/utilities/tree/lazyLevels.d.ts +32 -0
- package/dist/utilities/tree/lazyLevels.d.ts.map +1 -0
- package/dist/utilities/tree/lazyLevels.js +25 -0
- package/dist/utilities/tree/lazyLevels.js.map +1 -0
- package/dist/utilities/tree/lazyLevels.mjs +16 -0
- package/dist/utilities/tree/lazyLevels.mjs.map +1 -0
- package/dist/utilities/types.d.ts +4 -4
- package/dist/utilities/types.d.ts.map +1 -1
- package/package.json +62 -18
- package/dist/actionPanels/PanelActionForm.d.ts +0 -56
- package/dist/actionPanels/PanelActionForm.d.ts.map +0 -1
- package/dist/actionPanels/PanelActionForm.js +0 -30
- package/dist/actionPanels/PanelActionForm.js.map +0 -1
- package/dist/actionPanels/PanelActionForm.mjs +0 -168
- package/dist/actionPanels/PanelActionForm.mjs.map +0 -1
- package/dist/actionPanels/PanelEditor.d.ts +0 -44
- package/dist/actionPanels/PanelEditor.d.ts.map +0 -1
- package/dist/actionPanels/PanelEditor.js +0 -78
- package/dist/actionPanels/PanelEditor.js.map +0 -1
- package/dist/actionPanels/PanelEditor.mjs +0 -345
- package/dist/actionPanels/PanelEditor.mjs.map +0 -1
- package/dist/actionPanels/panelActionFields.module.css +0 -18
- package/dist/domain/inquiryTree/ruleBindings.d.ts +0 -10
- package/dist/domain/inquiryTree/ruleBindings.d.ts.map +0 -1
- package/dist/domain/inquiryTree/ruleBindings.js +0 -20
- package/dist/domain/inquiryTree/ruleBindings.js.map +0 -1
- package/dist/domain/inquiryTree/ruleBindings.mjs +0 -21
- package/dist/domain/inquiryTree/ruleBindings.mjs.map +0 -1
- package/dist/inquiry/v2/kernel/readOnlyModel.d.ts +0 -17
- package/dist/inquiry/v2/kernel/readOnlyModel.d.ts.map +0 -1
- package/dist/inquiry/v2/kernel/readOnlyModel.js +0 -19
- package/dist/inquiry/v2/kernel/readOnlyModel.js.map +0 -1
- package/dist/inquiry/v2/kernel/readOnlyModel.mjs +0 -21
- package/dist/inquiry/v2/kernel/readOnlyModel.mjs.map +0 -1
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* 2026-07-07: fluent-only with fallback).
|
|
11
11
|
*/
|
|
12
12
|
import { resolveIconName } from '../../../../icons/legacyIconNames';
|
|
13
|
+
import { rowChildState } from '../../../../domain/inquiryTree/displayTree';
|
|
13
14
|
/** Kept under its tree-menu name for existing importers. */
|
|
14
15
|
export { resolveIconName as mapTreeIconName };
|
|
15
16
|
/**
|
|
@@ -19,10 +20,10 @@ export { resolveIconName as mapTreeIconName };
|
|
|
19
20
|
* folders, leaf records as documents.
|
|
20
21
|
*/
|
|
21
22
|
export const fallbackTreeIcon = (node) => {
|
|
22
|
-
var _a
|
|
23
|
+
var _a;
|
|
23
24
|
if (node === null || node === void 0 ? void 0 : node.isGroupNode)
|
|
24
25
|
return 'folder';
|
|
25
|
-
if (((_a = node === null || node === void 0 ? void 0 : node.children) === null || _a === void 0 ? void 0 : _a.length) || (
|
|
26
|
+
if (((_a = node === null || node === void 0 ? void 0 : node.children) === null || _a === void 0 ? void 0 : _a.length) || rowChildState(node) !== 'none')
|
|
26
27
|
return 'folder';
|
|
27
28
|
return 'document';
|
|
28
29
|
};
|
|
@@ -66,31 +67,55 @@ export const resolveTreeItemIcon = (node) => {
|
|
|
66
67
|
return { name: mapped, color: color || undefined };
|
|
67
68
|
};
|
|
68
69
|
/**
|
|
69
|
-
* The row's icon
|
|
70
|
-
*
|
|
71
|
-
*
|
|
72
|
-
* folder/document fallback), so rows are never blank, and the glyph keeps
|
|
73
|
-
* its exact configured hex color.
|
|
70
|
+
* The row's icon for UdpTree's `itemIcon`: the plain glyph, in its exact
|
|
71
|
+
* configured hex color. Every row gets one (typed folder/document fallback), so
|
|
72
|
+
* rows are never blank.
|
|
74
73
|
*
|
|
75
74
|
* The caller picks the glyph size — 'xs' (16px) for the compact view, 'sm'
|
|
76
|
-
* (20px) for the classic view
|
|
77
|
-
* 28px respectively).
|
|
75
|
+
* (20px) for the classic view.
|
|
78
76
|
*/
|
|
79
|
-
export const
|
|
77
|
+
export const resolveTreeRowIcon = (node, size = 'xs') => {
|
|
80
78
|
var _a;
|
|
81
79
|
const icon = resolveTreeItemIcon(node);
|
|
82
80
|
return {
|
|
83
81
|
name: (_a = icon === null || icon === void 0 ? void 0 : icon.name) !== null && _a !== void 0 ? _a : fallbackTreeIcon(node),
|
|
84
82
|
color: icon === null || icon === void 0 ? void 0 : icon.color,
|
|
85
|
-
chip: true,
|
|
86
83
|
size
|
|
87
84
|
};
|
|
88
85
|
};
|
|
86
|
+
/**
|
|
87
|
+
* The udp-fluent-badge palette colour nearest a configured hex, by hue — the
|
|
88
|
+
* badge takes palette names only. Greys and unreadable values are the neutral
|
|
89
|
+
* 'informative'.
|
|
90
|
+
*/
|
|
91
|
+
const badgeColorForHex = (hex) => {
|
|
92
|
+
const match = /^#?([0-9a-f]{6})$/i.exec(String(hex !== null && hex !== void 0 ? hex : '').trim());
|
|
93
|
+
if (!match)
|
|
94
|
+
return 'informative';
|
|
95
|
+
const [r, g, b] = [0, 2, 4].map((start) => parseInt(match[1].slice(start, start + 2), 16) / 255);
|
|
96
|
+
const max = Math.max(r, g, b);
|
|
97
|
+
const chroma = max - Math.min(r, g, b);
|
|
98
|
+
if (chroma < 0.15)
|
|
99
|
+
return 'informative';
|
|
100
|
+
const hue = max === r
|
|
101
|
+
? (((g - b) / chroma + 6) % 6) * 60
|
|
102
|
+
: max === g
|
|
103
|
+
? ((b - r) / chroma + 2) * 60
|
|
104
|
+
: ((r - g) / chroma + 4) * 60;
|
|
105
|
+
if (hue < 15 || hue >= 330)
|
|
106
|
+
return 'danger';
|
|
107
|
+
if (hue < 40)
|
|
108
|
+
return 'severe';
|
|
109
|
+
if (hue < 70)
|
|
110
|
+
return 'warning';
|
|
111
|
+
if (hue < 170)
|
|
112
|
+
return 'success';
|
|
113
|
+
return 'brand';
|
|
114
|
+
};
|
|
89
115
|
/**
|
|
90
116
|
* Conditional adornment as a badge descriptor (icon-only ghost badge) for
|
|
91
|
-
* UdpTree's `itemBadge
|
|
92
|
-
*
|
|
93
|
-
* approximated — acceptable under the fluent-only icon decision.
|
|
117
|
+
* UdpTree's `itemBadge`, in the palette colour nearest the configured hex
|
|
118
|
+
* (badgeColorForHex) — legacy rendered the exact hex.
|
|
94
119
|
*/
|
|
95
120
|
export const resolveTreeItemAdornmentBadge = (node) => {
|
|
96
121
|
const props = (node === null || node === void 0 ? void 0 : node.properties) || {};
|
|
@@ -99,6 +124,10 @@ export const resolveTreeItemAdornmentBadge = (node) => {
|
|
|
99
124
|
const mapped = resolveIconName(props.conditionalNodeAdornmentName, props.conditionalNodeAdornmentType, props.conditionalNodeAdornmentFluentName);
|
|
100
125
|
if (!mapped)
|
|
101
126
|
return null;
|
|
102
|
-
return {
|
|
127
|
+
return {
|
|
128
|
+
appearance: 'ghost',
|
|
129
|
+
color: badgeColorForHex(props.conditionalNodeAdornmentColor),
|
|
130
|
+
startIconName: mapped
|
|
131
|
+
};
|
|
103
132
|
};
|
|
104
133
|
//# sourceMappingURL=treeMenuVisuals.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"treeMenuVisuals.js","sourceRoot":"","sources":["../../../../../src/inquiry/v2/tree/fluentTreeMenu/treeMenuVisuals.js"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AACH,OAAO,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;
|
|
1
|
+
{"version":3,"file":"treeMenuVisuals.js","sourceRoot":"","sources":["../../../../../src/inquiry/v2/tree/fluentTreeMenu/treeMenuVisuals.js"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AACH,OAAO,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AACpE,OAAO,EAAE,aAAa,EAAE,MAAM,4CAA4C,CAAC;AAE3E,4DAA4D;AAC5D,OAAO,EAAE,eAAe,IAAI,eAAe,EAAE,CAAC;AAE9C;;;;;GAKG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,IAAI,EAAE,EAAE,CAAC;;IACxC,IAAI,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,WAAW;QAAE,OAAO,QAAQ,CAAC;IACvC,IAAI,CAAA,MAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,QAAQ,0CAAE,MAAM,KAAI,aAAa,CAAC,IAAI,CAAC,KAAK,MAAM;QAAE,OAAO,QAAQ,CAAC;IAC9E,OAAO,UAAU,CAAC;AAAA,CACnB,CAAC;AAEF;;;;;GAKG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,IAAI,EAAE,EAAE,CAAC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ACL,UAAU,EAAE,OAAO;QACnB,KAAK,EAAE,gBAAgB,CAAC,KAAK,CAAC,6BAA6B,CAAC;QAC5D,aAAa,EAAE,MAAM;KACtB,CAAC;AAAA,CACH,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { rowChildState } from "../../../../domain/inquiryTree/displayTree.mjs";
|
|
1
2
|
import { resolveIconName } from "../../../../icons/legacyIconNames.mjs";
|
|
2
3
|
//#region src/inquiry/v2/tree/fluentTreeMenu/treeMenuVisuals.js
|
|
3
4
|
/**
|
|
@@ -19,7 +20,7 @@ import { resolveIconName } from "../../../../icons/legacyIconNames.mjs";
|
|
|
19
20
|
*/
|
|
20
21
|
const fallbackTreeIcon = (node) => {
|
|
21
22
|
if (node?.isGroupNode) return "folder";
|
|
22
|
-
if (node?.children?.length || node
|
|
23
|
+
if (node?.children?.length || rowChildState(node) !== "none") return "folder";
|
|
23
24
|
return "document";
|
|
24
25
|
};
|
|
25
26
|
/**
|
|
@@ -57,30 +58,48 @@ const resolveTreeItemIcon = (node) => {
|
|
|
57
58
|
};
|
|
58
59
|
};
|
|
59
60
|
/**
|
|
60
|
-
* The row's icon
|
|
61
|
-
*
|
|
62
|
-
*
|
|
63
|
-
* folder/document fallback), so rows are never blank, and the glyph keeps
|
|
64
|
-
* its exact configured hex color.
|
|
61
|
+
* The row's icon for UdpTree's `itemIcon`: the plain glyph, in its exact
|
|
62
|
+
* configured hex color. Every row gets one (typed folder/document fallback), so
|
|
63
|
+
* rows are never blank.
|
|
65
64
|
*
|
|
66
65
|
* The caller picks the glyph size — 'xs' (16px) for the compact view, 'sm'
|
|
67
|
-
* (20px) for the classic view
|
|
68
|
-
* 28px respectively).
|
|
66
|
+
* (20px) for the classic view.
|
|
69
67
|
*/
|
|
70
|
-
const
|
|
68
|
+
const resolveTreeRowIcon = (node, size = "xs") => {
|
|
71
69
|
const icon = resolveTreeItemIcon(node);
|
|
72
70
|
return {
|
|
73
71
|
name: icon?.name ?? fallbackTreeIcon(node),
|
|
74
72
|
color: icon?.color,
|
|
75
|
-
chip: true,
|
|
76
73
|
size
|
|
77
74
|
};
|
|
78
75
|
};
|
|
79
76
|
/**
|
|
77
|
+
* The udp-fluent-badge palette colour nearest a configured hex, by hue — the
|
|
78
|
+
* badge takes palette names only. Greys and unreadable values are the neutral
|
|
79
|
+
* 'informative'.
|
|
80
|
+
*/
|
|
81
|
+
const badgeColorForHex = (hex) => {
|
|
82
|
+
const match = /^#?([0-9a-f]{6})$/i.exec(String(hex ?? "").trim());
|
|
83
|
+
if (!match) return "informative";
|
|
84
|
+
const [r, g, b] = [
|
|
85
|
+
0,
|
|
86
|
+
2,
|
|
87
|
+
4
|
|
88
|
+
].map((start) => parseInt(match[1].slice(start, start + 2), 16) / 255);
|
|
89
|
+
const max = Math.max(r, g, b);
|
|
90
|
+
const chroma = max - Math.min(r, g, b);
|
|
91
|
+
if (chroma < .15) return "informative";
|
|
92
|
+
const hue = max === r ? ((g - b) / chroma + 6) % 6 * 60 : max === g ? ((b - r) / chroma + 2) * 60 : ((r - g) / chroma + 4) * 60;
|
|
93
|
+
if (hue < 15 || hue >= 330) return "danger";
|
|
94
|
+
if (hue < 40) return "severe";
|
|
95
|
+
if (hue < 70) return "warning";
|
|
96
|
+
if (hue < 170) return "success";
|
|
97
|
+
return "brand";
|
|
98
|
+
};
|
|
99
|
+
/**
|
|
80
100
|
* Conditional adornment as a badge descriptor (icon-only ghost badge) for
|
|
81
|
-
* UdpTree's `itemBadge
|
|
82
|
-
*
|
|
83
|
-
* approximated — acceptable under the fluent-only icon decision.
|
|
101
|
+
* UdpTree's `itemBadge`, in the palette colour nearest the configured hex
|
|
102
|
+
* (badgeColorForHex) — legacy rendered the exact hex.
|
|
84
103
|
*/
|
|
85
104
|
const resolveTreeItemAdornmentBadge = (node) => {
|
|
86
105
|
const props = node?.properties || {};
|
|
@@ -89,11 +108,11 @@ const resolveTreeItemAdornmentBadge = (node) => {
|
|
|
89
108
|
if (!mapped) return null;
|
|
90
109
|
return {
|
|
91
110
|
appearance: "ghost",
|
|
92
|
-
color:
|
|
111
|
+
color: badgeColorForHex(props.conditionalNodeAdornmentColor),
|
|
93
112
|
startIconName: mapped
|
|
94
113
|
};
|
|
95
114
|
};
|
|
96
115
|
//#endregion
|
|
97
|
-
export { fallbackTreeIcon, resolveTreeItemAdornmentBadge,
|
|
116
|
+
export { fallbackTreeIcon, resolveTreeItemAdornmentBadge, resolveTreeRowIcon };
|
|
98
117
|
|
|
99
118
|
//# sourceMappingURL=treeMenuVisuals.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"treeMenuVisuals.mjs","names":["resolveIconName","mapTreeIconName","fallbackTreeIcon","node","isGroupNode","children","length","
|
|
1
|
+
{"version":3,"file":"treeMenuVisuals.mjs","names":["resolveIconName","rowChildState","mapTreeIconName","fallbackTreeIcon","node","isGroupNode","children","length","resolveTreeItemIcon","props","properties","name","type","fluentName","color","icon","hex","conditionalNodeIconName","conditionalNodeIconType","conditionalNodeIconFluentName","conditionalNodeIconColor","defaultIcon","mapped","undefined","resolveTreeRowIcon","size","badgeColorForHex","match","exec","String","trim","r","g","b","map","start","parseInt","slice","max","Math","chroma","min","hue","resolveTreeItemAdornmentBadge","conditionalNodeAdornmentName","conditionalNodeAdornmentType","conditionalNodeAdornmentFluentName","appearance","conditionalNodeAdornmentColor","startIconName"],"sources":["../../../../../src/inquiry/v2/tree/fluentTreeMenu/treeMenuVisuals.js"],"sourcesContent":["/**\n * Icon + badge resolution for the UdpTree-based Inquiry tree menu.\n *\n * UdpTree renders row icons inside its shadow DOM as `udp-fluent-icon`, which\n * resolves stencil icon-registry names only. New-format node icons\n * (`type: 'fluent'`, Tree Builder decision 14) pass straight through. Legacy\n * MDL2-era names (the ~1800-entry fluentLibraryIcons registry) and unity SVGs\n * cannot render in the shadow, so they get a best-effort mapping onto the\n * stencil registry and otherwise the generic fallback icon (Jordan,\n * 2026-07-07: fluent-only with fallback).\n */\nimport { resolveIconName } from '../../../../icons/legacyIconNames';\nimport { rowChildState } from '../../../../domain/inquiryTree/displayTree';\n\n/** Kept under its tree-menu name for existing importers. */\nexport { resolveIconName as mapTreeIconName };\n\n/**\n * Fallback for unmapped legacy icon names: pick by what the node *is* so the\n * icon still carries meaning (a bare circle reads as a radio button —\n * Jordan, 2026-07-07). Groups read as folders, parents with children as\n * folders, leaf records as documents.\n */\nexport const fallbackTreeIcon = (node) => {\n if (node?.isGroupNode) return 'folder';\n if (node?.children?.length || rowChildState(node) !== 'none') return 'folder';\n return 'document';\n};\n\n/**\n * Effective icon descriptor for a display node — same precedence as the\n * legacy InquiryTreeMenu.renderTree (conditional override → default; group\n * nodes read properties.icon). Returns `{ name, color }` for UdpTree's\n * `itemIcon`, or null for icon-less rows.\n */\nexport const resolveTreeItemIcon = (node) => {\n const props = node?.properties || {};\n let name;\n let type;\n let fluentName;\n let color;\n\n if (node?.isGroupNode) {\n name = props.icon?.name;\n type = props.icon?.type;\n fluentName = props.icon?.fluentName;\n color = props.icon?.color?.hex;\n } else if (props.conditionalNodeIconName) {\n name = props.conditionalNodeIconName;\n type = props.conditionalNodeIconType;\n fluentName = props.conditionalNodeIconFluentName;\n color = props.conditionalNodeIconColor ?? props.defaultIcon?.color?.hex;\n } else {\n name = props.defaultIcon?.name;\n type = props.defaultIcon?.type;\n fluentName = props.defaultIcon?.fluentName;\n color = props.defaultIcon?.color?.hex;\n }\n\n // Icon-less nodes stay icon-less (legacy parity); only nodes whose\n // configured name can't map onto the registry get the typed fallback.\n if (!name) return null;\n const mapped =\n resolveIconName(name, type, fluentName) ?? fallbackTreeIcon(node);\n return { name: mapped, color: color || undefined };\n};\n\n/**\n * The row's icon for UdpTree's `itemIcon`: the plain glyph, in its exact\n * configured hex color. Every row gets one (typed folder/document fallback), so\n * rows are never blank.\n *\n * The caller picks the glyph size — 'xs' (16px) for the compact view, 'sm'\n * (20px) for the classic view.\n */\nexport const resolveTreeRowIcon = (node, size = 'xs') => {\n const icon = resolveTreeItemIcon(node);\n return {\n name: icon?.name ?? fallbackTreeIcon(node),\n color: icon?.color,\n size\n };\n};\n\n/**\n * The udp-fluent-badge palette colour nearest a configured hex, by hue — the\n * badge takes palette names only. Greys and unreadable values are the neutral\n * 'informative'.\n */\nconst badgeColorForHex = (hex) => {\n const match = /^#?([0-9a-f]{6})$/i.exec(String(hex ?? '').trim());\n if (!match) return 'informative';\n const [r, g, b] = [0, 2, 4].map(\n (start) => parseInt(match[1].slice(start, start + 2), 16) / 255\n );\n const max = Math.max(r, g, b);\n const chroma = max - Math.min(r, g, b);\n if (chroma < 0.15) return 'informative';\n const hue =\n max === r\n ? (((g - b) / chroma + 6) % 6) * 60\n : max === g\n ? ((b - r) / chroma + 2) * 60\n : ((r - g) / chroma + 4) * 60;\n if (hue < 15 || hue >= 330) return 'danger';\n if (hue < 40) return 'severe';\n if (hue < 70) return 'warning';\n if (hue < 170) return 'success';\n return 'brand';\n};\n\n/**\n * Conditional adornment as a badge descriptor (icon-only ghost badge) for\n * UdpTree's `itemBadge`, in the palette colour nearest the configured hex\n * (badgeColorForHex) — legacy rendered the exact hex.\n */\nexport const resolveTreeItemAdornmentBadge = (node) => {\n const props = node?.properties || {};\n if (!props.conditionalNodeAdornmentName) return null;\n const mapped = resolveIconName(\n props.conditionalNodeAdornmentName,\n props.conditionalNodeAdornmentType,\n props.conditionalNodeAdornmentFluentName\n );\n if (!mapped) return null;\n return {\n appearance: 'ghost',\n color: badgeColorForHex(props.conditionalNodeAdornmentColor),\n startIconName: mapped\n };\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAuBA,MAAaG,oBAAoBC,SAAS;AACxC,KAAIA,MAAMC,YAAa,QAAO;AAC9B,KAAID,MAAME,UAAUC,UAAUN,cAAcG,KAAK,KAAK,OAAQ,QAAO;AACrE,QAAO;;;;;;;;AAST,MAAaI,uBAAuBJ,SAAS;CAC3C,MAAMK,QAAQL,MAAMM,cAAc,EAAE;CACpC,IAAIC;CACJ,IAAIC;CACJ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MAAME,MACJJ,QAAQP,MACDC,IAAIC,KAAKO,SAAS,KAAK,IAAK,KAC/BF,QAAQN,MACJC,IAAIF,KAAKS,SAAS,KAAK,OACvBT,IAAIC,KAAKQ,SAAS,KAAK;AACjC,KAAIE,MAAM,MAAMA,OAAO,IAAK,QAAO;AACnC,KAAIA,MAAM,GAAI,QAAO;AACrB,KAAIA,MAAM,GAAI,QAAO;AACrB,KAAIA,MAAM,IAAK,QAAO;AACtB,QAAO;;;;;;;AAQT,MAAaC,iCAAiCvC,SAAS;CACrD,MAAMK,QAAQL,MAAMM,cAAc,EAAE;AACpC,KAAI,CAACD,MAAMmC,6BAA8B,QAAO;CAChD,MAAMtB,SAAStB,gBACbS,MAAMmC,8BACNnC,MAAMoC,8BACNpC,MAAMqC,mCACP;AACD,KAAI,CAACxB,OAAQ,QAAO;AACpB,QAAO;EACLyB,YAAY;EACZjC,OAAOY,iBAAiBjB,MAAMuC,8BAA8B;EAC5DC,eAAe3B;EAChB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useAggregateBadges.d.ts","sourceRoot":"","sources":["../../../../../src/inquiry/v2/tree/fluentTreeMenu/useAggregateBadges.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useAggregateBadges.d.ts","sourceRoot":"","sources":["../../../../../src/inquiry/v2/tree/fluentTreeMenu/useAggregateBadges.js"],"names":[],"mappings":"AA0CA;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,kBAAkB,oBA6D9B,CAAC"}
|
|
@@ -1,35 +1,24 @@
|
|
|
1
1
|
import { useMemo } from 'react';
|
|
2
2
|
import { useQueries } from '@tanstack/react-query';
|
|
3
3
|
import { getThresholdStatus } from '../../../../UI/utilityDisplay/utilities/aggregateUtils';
|
|
4
|
+
import { queryParamsFromRecord } from '../../../../domain/inquiryTree/runtime';
|
|
4
5
|
import { fetchAggregateThresholdValue, inquiryKeys } from '../../api/queries';
|
|
5
6
|
import { dataOfQueries, severityBadge, useMenuQueryClient } from './useChildCountBadges';
|
|
6
7
|
/** Values are live — matches useAggregateThresholdValue's staleTime. */
|
|
7
8
|
const VALUE_STALE_MS = 30_000;
|
|
8
|
-
/** Map node values onto threshold search parameters (legacy TreeUtilities
|
|
9
|
-
* mapNodeObjValuesToSearchParameters :2790 — inlined so the menu carries no
|
|
10
|
-
* TreeUtilities imports; identical semantics). */
|
|
11
|
-
const mapNodeValuesToParams = (nodeObj, paramMappings) => {
|
|
12
|
-
if (!paramMappings || !nodeObj)
|
|
13
|
-
return {};
|
|
14
|
-
const mappings = Object.assign({}, paramMappings);
|
|
15
|
-
Object.keys(mappings).forEach((key) => {
|
|
16
|
-
const nodeObjKey = mappings[key];
|
|
17
|
-
if (nodeObjKey) {
|
|
18
|
-
mappings[key] = nodeObj[nodeObjKey] || '';
|
|
19
|
-
}
|
|
20
|
-
});
|
|
21
|
-
return mappings;
|
|
22
|
-
};
|
|
23
9
|
/** Stable cache key for a param map — same params, same request, one fetch. */
|
|
24
10
|
const paramsKeyOf = (params) => JSON.stringify(Object.keys(params || {})
|
|
25
11
|
.sort()
|
|
26
12
|
.map((key) => [key, params[key]]));
|
|
27
|
-
/** Definition + value → a badge descriptor, or null ("show nothing").
|
|
13
|
+
/** Definition + value → a badge descriptor, or null ("show nothing"). The
|
|
14
|
+
* threshold's name is the badge's tooltip — the bare number says nothing of
|
|
15
|
+
* what it counts. */
|
|
28
16
|
const fetchBadge = async (client, { thresholdId, params }) => {
|
|
17
|
+
var _a;
|
|
29
18
|
const result = await fetchAggregateThresholdValue(client, thresholdId, params).catch(() => null);
|
|
30
19
|
if (!result || result.value === '')
|
|
31
20
|
return null;
|
|
32
|
-
return Object.assign({ content: result.value }, severityBadge(getThresholdStatus(result.threshold, result.value)));
|
|
21
|
+
return Object.assign({ content: result.value, title: ((_a = result.threshold) === null || _a === void 0 ? void 0 : _a.name) || undefined }, severityBadge(getThresholdStatus(result.threshold, result.value)));
|
|
33
22
|
};
|
|
34
23
|
/**
|
|
35
24
|
* Fetches aggregate-threshold values for tree rows that configure one
|
|
@@ -54,7 +43,7 @@ export const useAggregateBadges = (items) => {
|
|
|
54
43
|
})
|
|
55
44
|
.map((item) => {
|
|
56
45
|
const thresholdId = item.node.properties.aggregateThresholdId;
|
|
57
|
-
const params =
|
|
46
|
+
const params = queryParamsFromRecord(item.node.nodeObj, item.node.properties.aggregateThresholdParamMappings);
|
|
58
47
|
return {
|
|
59
48
|
id: item.id,
|
|
60
49
|
thresholdId,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useAggregateBadges.js","sourceRoot":"","sources":["../../../../../src/inquiry/v2/tree/fluentTreeMenu/useAggregateBadges.js"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AACnD,OAAO,EAAE,kBAAkB,EAAE,MAAM,wDAAwD,CAAC;AAC5F,OAAO,EACL,4BAA4B,EAC5B,WAAW,EACZ,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,aAAa,EACb,aAAa,EACb,kBAAkB,EACnB,MAAM,uBAAuB,CAAC;AAE/B,0EAAwE;AACxE,MAAM,cAAc,GAAG,MAAM,CAAC;AAE9B
|
|
1
|
+
{"version":3,"file":"useAggregateBadges.js","sourceRoot":"","sources":["../../../../../src/inquiry/v2/tree/fluentTreeMenu/useAggregateBadges.js"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AACnD,OAAO,EAAE,kBAAkB,EAAE,MAAM,wDAAwD,CAAC;AAC5F,OAAO,EAAE,qBAAqB,EAAE,MAAM,wCAAwC,CAAC;AAC/E,OAAO,EACL,4BAA4B,EAC5B,WAAW,EACZ,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,aAAa,EACb,aAAa,EACb,kBAAkB,EACnB,MA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AW,EAAE,QAAQ;SACtB,CAAC,CAAC;QACH,OAAO,EAAE,aAAa;KACvB,EACD,MAAM,CACP,CAAC;IAEF,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC;QACnB,MAAM,UAAU,GAAG,IAAI,GAAG,EAAE,CAAC;QAC7B,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC,GAAG,CAAC,EAAE,KAAK,EAAE,EAAE,CAAC;;YAC/B,UAAU,CAAC,GAAG,CAAC,GAAG,QAAE,IAAI,CAAC,KAAK,CAAC,mCAAI,IAAI,CAAC,CAAC;QAAA,CAC1C,CAAC,CAAC;QACH,MAAM,MAAM,GAAG,EAAE,CAAC;QAClB,OAAO,CAAC,OAAO,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC;YAC1B,MAAM,KAAK,GAAG,UAAU,CAAC,GAAG,CAAC,GAAG,MAAM,CAAC,WAAW,KAAK,MAAM,CAAC,SAAS,EAAE,CAAC,CAAC;YAC3E,IAAI,KAAK;gBAAE,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,GAAG,KAAK,CAAC;QAAA,CACtC,CAAC,CAAC;QACH,OAAO,MAAM,CAAC;IAAA,CACf,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,CAAC,CAAC,CAAC;AAAA,CAC7B,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { c } from "../../../../reactCompilerRuntime.mjs";
|
|
2
2
|
import { getThresholdStatus } from "../../../../UI/utilityDisplay/utilities/aggregateUtils.mjs";
|
|
3
|
+
import { queryParamsFromRecord } from "../../../../domain/inquiryTree/runtime.mjs";
|
|
3
4
|
import { fetchAggregateThresholdValue, inquiryKeys } from "../../api/queries.mjs";
|
|
4
5
|
import { dataOfQueries, severityBadge, useMenuQueryClient } from "./useChildCountBadges.mjs";
|
|
5
6
|
import "react";
|
|
@@ -7,26 +8,17 @@ import { useQueries } from "@tanstack/react-query";
|
|
|
7
8
|
//#region src/inquiry/v2/tree/fluentTreeMenu/useAggregateBadges.js
|
|
8
9
|
/** Values are live — matches useAggregateThresholdValue's staleTime. */
|
|
9
10
|
const VALUE_STALE_MS = 3e4;
|
|
10
|
-
/** Map node values onto threshold search parameters (legacy TreeUtilities
|
|
11
|
-
* mapNodeObjValuesToSearchParameters :2790 — inlined so the menu carries no
|
|
12
|
-
* TreeUtilities imports; identical semantics). */
|
|
13
|
-
const mapNodeValuesToParams = (nodeObj, paramMappings) => {
|
|
14
|
-
if (!paramMappings || !nodeObj) return {};
|
|
15
|
-
const mappings = { ...paramMappings };
|
|
16
|
-
Object.keys(mappings).forEach((key) => {
|
|
17
|
-
const nodeObjKey = mappings[key];
|
|
18
|
-
if (nodeObjKey) mappings[key] = nodeObj[nodeObjKey] || "";
|
|
19
|
-
});
|
|
20
|
-
return mappings;
|
|
21
|
-
};
|
|
22
11
|
/** Stable cache key for a param map — same params, same request, one fetch. */
|
|
23
12
|
const paramsKeyOf = (params) => JSON.stringify(Object.keys(params || {}).sort().map((key) => [key, params[key]]));
|
|
24
|
-
/** Definition + value → a badge descriptor, or null ("show nothing").
|
|
13
|
+
/** Definition + value → a badge descriptor, or null ("show nothing"). The
|
|
14
|
+
* threshold's name is the badge's tooltip — the bare number says nothing of
|
|
15
|
+
* what it counts. */
|
|
25
16
|
const fetchBadge = async (client, { thresholdId, params }) => {
|
|
26
17
|
const result = await fetchAggregateThresholdValue(client, thresholdId, params).catch(() => null);
|
|
27
18
|
if (!result || result.value === "") return null;
|
|
28
19
|
return {
|
|
29
20
|
content: result.value,
|
|
21
|
+
title: result.threshold?.name || void 0,
|
|
30
22
|
...severityBadge(getThresholdStatus(result.threshold, result.value))
|
|
31
23
|
};
|
|
32
24
|
};
|
|
@@ -109,7 +101,7 @@ function _temp(item) {
|
|
|
109
101
|
}
|
|
110
102
|
function _temp2(item_0) {
|
|
111
103
|
const thresholdId = item_0.node.properties.aggregateThresholdId;
|
|
112
|
-
const params =
|
|
104
|
+
const params = queryParamsFromRecord(item_0.node.nodeObj, item_0.node.properties.aggregateThresholdParamMappings);
|
|
113
105
|
return {
|
|
114
106
|
id: item_0.id,
|
|
115
107
|
thresholdId,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useAggregateBadges.mjs","names":["useMemo","useQueries","getThresholdStatus","fetchAggregateThresholdValue","inquiryKeys","dataOfQueries","severityBadge","useMenuQueryClient","VALUE_STALE_MS","
|
|
1
|
+
{"version":3,"file":"useAggregateBadges.mjs","names":["useMemo","useQueries","getThresholdStatus","queryParamsFromRecord","fetchAggregateThresholdValue","inquiryKeys","dataOfQueries","severityBadge","useMenuQueryClient","VALUE_STALE_MS","paramsKeyOf","params","JSON","stringify","Object","keys","sort","map","key","fetchBadge","client","thresholdId","result","catch","value","content","title","threshold","name","undefined","useAggregateBadges","items","$","_c","t0","filter","_temp","_temp2","targets","t1","byKey","Map","forEach","target","set","paramsKey","Array","from","entries","unique","t2","queries","t3","target_0","queryKey","aggregateBadge","queryFn","staleTime","retry","networkMode","combine","data","badges","badgeByKey","index","target_1","badge","get","id","item","synthetic","node","properties","aggregateThresholdId","item_0","nodeObj","aggregateThresholdParamMappings"],"sources":["../../../../../src/inquiry/v2/tree/fluentTreeMenu/useAggregateBadges.js"],"sourcesContent":["import { useMemo } from 'react';\nimport { useQueries } from '@tanstack/react-query';\nimport { getThresholdStatus } from '../../../../UI/utilityDisplay/utilities/aggregateUtils';\nimport { queryParamsFromRecord } from '../../../../domain/inquiryTree/runtime';\nimport {\n fetchAggregateThresholdValue,\n inquiryKeys\n} from '../../api/queries';\nimport {\n dataOfQueries,\n severityBadge,\n useMenuQueryClient\n} from './useChildCountBadges';\n\n/** Values are live — matches useAggregateThresholdValue's staleTime. */\nconst VALUE_STALE_MS = 30_000;\n\n/** Stable cache key for a param map — same params, same request, one fetch. */\nconst paramsKeyOf = (params) =>\n JSON.stringify(\n Object.keys(params || {})\n .sort()\n .map((key) => [key, params[key]])\n );\n\n/** Definition + value → a badge descriptor, or null (\"show nothing\"). The\n * threshold's name is the badge's tooltip — the bare number says nothing of\n * what it counts. */\nconst fetchBadge = async (client, { thresholdId, params }) => {\n const result = await fetchAggregateThresholdValue(\n client,\n thresholdId,\n params\n ).catch(() => null);\n if (!result || result.value === '') return null;\n return {\n content: result.value,\n title: result.threshold?.name || undefined,\n ...severityBadge(getThresholdStatus(result.threshold, result.value))\n };\n};\n\n/**\n * Fetches aggregate-threshold values for tree rows that configure one\n * (legacy per-row AggregateChip, which self-fetched inside the MUI tree —\n * UdpTree rows render in shadow DOM, so the data must arrive as an\n * `itemBadge` descriptor instead).\n *\n * Returns `{ [nodeId]: { content, color, appearance } }`. One TanStack query\n * per (threshold × params) — remounts, sibling menus and rows sharing a\n * threshold all answer from one cache entry, and a resolved badge stays\n * rendered while a stale one revalidates (no blink). The threshold definition\n * is its own config-cached query (`fetchAggregateThresholdValue`), shared with\n * the v2 node view when a provider is present; legacy\n * hosts without a QueryClientProvider run on the menu's fallback client.\n */\nexport const useAggregateBadges = (items) => {\n const client = useMenuQueryClient();\n\n const targets = useMemo(\n () =>\n items\n .filter(\n (item) =>\n !item.synthetic && item.node?.properties?.aggregateThresholdId\n )\n .map((item) => {\n const thresholdId = item.node.properties.aggregateThresholdId;\n const params = queryParamsFromRecord(\n item.node.nodeObj,\n item.node.properties.aggregateThresholdParamMappings\n );\n return {\n id: item.id,\n thresholdId,\n params,\n paramsKey: paramsKeyOf(params)\n };\n }),\n [items]\n );\n\n const unique = useMemo(() => {\n const byKey = new Map();\n targets.forEach((target) => {\n byKey.set(`${target.thresholdId}::${target.paramsKey}`, target);\n });\n return Array.from(byKey.entries());\n }, [targets]);\n\n const data = useQueries(\n {\n queries: unique.map(([, target]) => ({\n queryKey: inquiryKeys.aggregateBadge(target.thresholdId, target.paramsKey),\n queryFn: () => fetchBadge(client, target),\n staleTime: VALUE_STALE_MS,\n // Badges are decoration: one shot, never parked behind focus/online gates.\n retry: false,\n networkMode: 'always'\n })),\n combine: dataOfQueries\n },\n client\n );\n\n return useMemo(() => {\n const badgeByKey = new Map();\n unique.forEach(([key], index) => {\n badgeByKey.set(key, data[index] ?? null);\n });\n const badges = {};\n targets.forEach((target) => {\n const badge = badgeByKey.get(`${target.thresholdId}::${target.paramsKey}`);\n if (badge) badges[target.id] = badge;\n });\n return badges;\n }, [targets, unique, data]);\n};\n"],"mappings":";;;;;;;;;AAeA,MAAMS,iBAAiB;;AAGvB,MAAMC,eAAeC,WACnBC,KAAKC,UACHC,OAAOC,KAAKJ,UAAU,EAAE,CAAC,CACtBK,MAAM,CACNC,KAAKC,QAAQ,CAACA,KAAKP,OAAOO,KAAK,CACpC,CAAC;;;;AAKH,MAAMC,aAAa,OAAOC,QAAQ,EAAEC,aAAaV,aAAa;CAC5D,MAAMW,SAAS,MAAMlB,6BACnBgB,QACAC,aACAV,OACD,CAACY,YAAY,KAAK;AACnB,KAAI,CAACD,UAAUA,OAAOE,UAAU,GAAI,QAAO;AAC3C,QAAO;EACLC,SAASH,OAAOE;EAChBE,OAAOJ,OAAOK,WAAWC,QAAQC,KAAAA;EACjC,GAAGtB,cAAcL,mBAAmBoB,OAAOK,WAAWL,OAAOE,MAAM,CAAA;EACpE;;;;;;;;;;;;;;;;AAiBH,MAAaM,sBAAqBC,UAAA;CAAA,MAAAC,IAAAC,EAAA,GAAA;CAChC,MAAAb,SAAeZ,oBAAoB;CAAC,IAAA0B;AAAA,KAAAF,EAAA,OAAAD,OAAA;AAIhCG,OAAAH,MAAKI,OAEDC,MAED,CAAAnB,IACIoB,OAYH;AAAAL,IAAA,KAAAD;AAAAC,IAAA,KAAAE;OAAAA,MAAAF,EAAA;CAnBR,MAAAM,UAEIJ;CAmBF,IAAAK;AAAA,KAAAP,EAAA,OAAAM,SAAA;EAGA,MAAAE,wBAAc,IAAIC,KAAK;AACvBH,UAAOI,SAASC,WAAA;AACdH,SAAKI,IAAK,GAAGD,OAAMtB,YAAY,IAAKsB,OAAME,aAAcF,OAAO;IAC/D;AACKJ,OAAAO,MAAKC,KAAMP,M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AAA;CAWxB,MAAArD,cAAoBgD,OAAIE,KAAKC,WAAWC;CACxC,MAAA9D,SAAeR,sBACbkE,OAAIE,KAAKI,SACTN,OAAIE,KAAKC,WAAWI,gCACrB;AAAC,QACK;EAAAR,IACDC,OAAID;EAAG/C;EAAAV;EAAAkC,WAGAnC,YAAYC,OAAM;EAC9B"}
|
|
@@ -10,12 +10,13 @@ export declare const SEVERITY_TO_BADGE_COLOR: {
|
|
|
10
10
|
info: string;
|
|
11
11
|
};
|
|
12
12
|
/**
|
|
13
|
-
* A threshold severity's badge look: tinted
|
|
14
|
-
*
|
|
13
|
+
* A threshold severity's badge look: the tinted chip every row number wears, in
|
|
14
|
+
* the band's color — the quiet informative one when no band matched.
|
|
15
|
+
* @returns {{ color: 'success' | 'danger' | 'warning' | 'informative', appearance: 'tint' }}
|
|
15
16
|
*/
|
|
16
17
|
export declare const severityBadge: (severity: any) => {
|
|
17
18
|
color: "danger" | "informative" | "success" | "warning";
|
|
18
|
-
appearance: "
|
|
19
|
+
appearance: "tint";
|
|
19
20
|
};
|
|
20
21
|
declare const useMenuQueryClient: () => any;
|
|
21
22
|
/** Each query's data only — structurally shared, so it is stable across
|
|
@@ -26,23 +27,26 @@ export declare const useChildCountBadges: (items: any) => {
|
|
|
26
27
|
zeroIds: any[];
|
|
27
28
|
};
|
|
28
29
|
/**
|
|
29
|
-
* Configured
|
|
30
|
-
* child records it has for
|
|
31
|
-
* conditions. Shares query keys with the implicit child
|
|
32
|
-
*
|
|
33
|
-
* fetched — no extra request. A filtered
|
|
34
|
-
* (method × key field × filter hash) for the whole page of rows
|
|
30
|
+
* Configured counts (`countChipsOf(properties)`): each row shows, per count,
|
|
31
|
+
* how many child records it has for that count's child binding, optionally
|
|
32
|
+
* narrowed by an AND of conditions. Shares query keys with the implicit child
|
|
33
|
+
* counts above, so a count with no conditions is answered by the aggregate the
|
|
34
|
+
* chevron already fetched — no extra request. A filtered count adds one
|
|
35
|
+
* aggregate per (method × key field × filter hash) for the whole page of rows,
|
|
36
|
+
* so two counts cost at most two requests, never one per row.
|
|
35
37
|
*
|
|
36
|
-
* Returns `{ [itemId]: { content, color, appearance } }
|
|
37
|
-
*
|
|
38
|
+
* Returns `{ [itemId]: Array<{ content, title, color, appearance }> }` in the
|
|
39
|
+
* level's count order; a count stays off the row until it resolves, and a
|
|
40
|
+
* resolved zero renders as "0". The counted level's name is the badge's
|
|
41
|
+
* tooltip — with several counts on a row the bare numbers say nothing of what
|
|
42
|
+
* each one counts.
|
|
38
43
|
*
|
|
39
44
|
* The child search is derived HERE rather than at display-tree build time,
|
|
40
|
-
* because rows
|
|
41
|
-
* preloaded/eager builders, the legacy lazy-paging fetcher, search-loaded
|
|
42
|
-
* records, group synthesis) and only the lazy ones carry descriptors. Deriving
|
|
45
|
+
* because only rows whose child levels load lazily carry descriptors. Deriving
|
|
43
46
|
* per render also means late-arriving catalog metadata simply re-derives —
|
|
44
|
-
* there is no build
|
|
47
|
+
* there is no build a count can miss. `findLevel` is the menu's config-level
|
|
48
|
+
* lookup by a row's `configNodeId`.
|
|
45
49
|
*/
|
|
46
|
-
export declare const useCountChipBadges: (items: any, {
|
|
50
|
+
export declare const useCountChipBadges: (items: any, { findLevel, catalogObjects, promotedEntities }?: {}) => {};
|
|
47
51
|
export { useMenuQueryClient };
|
|
48
52
|
//# sourceMappingURL=useChildCountBadges.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useChildCountBadges.d.ts","sourceRoot":"","sources":["../../../../../src/inquiry/v2/tree/fluentTreeMenu/useChildCountBadges.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useChildCountBadges.d.ts","sourceRoot":"","sources":["../../../../../src/inquiry/v2/tree/fluentTreeMenu/useChildCountBadges.js"],"names":[],"mappings":"AAuBA;;;;GAIG;AACH,eAAO,MAAM,uBAAuB;;;;;CAKnC,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,aAAa;;;CAGxB,CAAC;AAkJH,QAAA,MAAM,kBAAkB,WAKvB,CAAC;AA2BF;6CAC6C;AAC7C,eAAO,MAAM,aAAa,uBAAoD,CAAC;AA0B/E,eAAO,MAAM,mBAAmB;;;CA6D/B,CAAC;AAQF;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,eAAO,MAAM,kBAAkB,0EAwF9B,CAAC;AAEF,OAAO,EAAE,kBAAkB,EAAE,CAAC"}
|