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
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Inquiry v2 search — pure model (no React, no HTTP, no .js helpers), so it
|
|
3
3
|
* runs under the node:test domain harness (`pnpm test:domain`). This is the
|
|
4
|
-
* search consumer's brain: it derives what is searchable from a
|
|
5
|
-
* stamps the quick-search text into the node's filter templates,
|
|
6
|
-
* Data Builder query's own filters/columns off the
|
|
7
|
-
* the result columns, decides whether a quick search
|
|
8
|
-
* maps the root node's searchConfiguration into the
|
|
9
|
-
* UdpAdvancedSearchBuilder's catalog schema.
|
|
4
|
+
* search consumer's brain: it derives what is searchable from a tree and its
|
|
5
|
+
* linked trees, stamps the quick-search text into the node's filter templates,
|
|
6
|
+
* parses the Data Builder query's own filters/columns off the
|
|
7
|
+
* apiMethodInstance, orders the result columns, decides whether a quick search
|
|
8
|
+
* is even worth firing, and maps the root node's searchConfiguration into the
|
|
9
|
+
* shared UdpAdvancedSearchBuilder's catalog schema.
|
|
10
10
|
*
|
|
11
11
|
* The actual request assembly (composeSearchFilters + getSearchObject) and the
|
|
12
12
|
* fetch live in the hook — those pull in the shared .js composer and the
|
|
@@ -21,9 +21,13 @@
|
|
|
21
21
|
* api/instanceBodyModel — which this file simply calls per entity.
|
|
22
22
|
*/
|
|
23
23
|
import { ApiMethodInstanceWire, InstanceBodyFilters, QueryFilterGroup, SearchFilterElement } from '../api/instanceBodyModel';
|
|
24
|
+
import type { CatalogObject } from '../../../domain/inquiryTree/legalChildren';
|
|
25
|
+
import type { LazyFilterElement } from '../../../domain/inquiryTree/lazyLoad';
|
|
24
26
|
import type { DisplayNode } from '../../../domain/inquiryTree/displayTree';
|
|
25
|
-
import type { SearchConfigEntry } from '../../../domain/inquiryTree/types';
|
|
27
|
+
import type { InquiryTree, SearchConfigEntry, TreeNode } from '../../../domain/inquiryTree/types';
|
|
26
28
|
export type { ApiMethodInstanceWire, InstanceBodyFilters, QueryFilterGroup, QueryOrderElement, SearchFilterElement } from '../api/instanceBodyModel';
|
|
29
|
+
/** The trees a tree's levels link to, by the levels' `associatedTreeId`. */
|
|
30
|
+
export type LinkedTrees = Readonly<Record<string, InquiryTree>>;
|
|
27
31
|
/* ----------------------------------------------------------------- wire types */
|
|
28
32
|
/** A column off the query's catalogModification (the visible result columns). */
|
|
29
33
|
export interface QueryColumn {
|
|
@@ -38,18 +42,28 @@ export interface QueryColumn {
|
|
|
38
42
|
};
|
|
39
43
|
[key: string]: unknown;
|
|
40
44
|
}
|
|
41
|
-
/** The subset of a detailed inquiry tree the search derivation needs. */
|
|
42
|
-
export interface SearchTreeWire {
|
|
43
|
-
treeStructure?: Array<Record<string, unknown>>;
|
|
44
|
-
apiMethodInstance?: ApiMethodInstanceWire;
|
|
45
|
-
[key: string]: unknown;
|
|
46
|
-
}
|
|
47
45
|
/** A derived, ready-to-search entity (root always; primary-search children). */
|
|
48
46
|
export interface SearchableEntity {
|
|
49
47
|
/** Stable identity for keys/selection. */
|
|
50
48
|
key: string;
|
|
49
|
+
/** Display text for a page of this entity's results (lookups, linked records' labels). */
|
|
50
|
+
stampRows?: (rows: Array<Record<string, unknown>>,
|
|
51
|
+
/** The response's own lookup config (api/queries LookupsMap). */
|
|
52
|
+
lookupsMap?: Record<string, unknown> | null) => Promise<Array<Record<string, unknown>>>;
|
|
51
53
|
/** catalogReturnObject — the entity the results belong to. */
|
|
52
54
|
entityName: string;
|
|
55
|
+
/**
|
|
56
|
+
* A many-to-many level's joining view (`joiningEntityName`) and the level
|
|
57
|
+
* entity's property that references it (`joiningEntityCatalogObjectKey`).
|
|
58
|
+
* Rows read through the view carry the VIEW's businessObjectKey, not the
|
|
59
|
+
* level entity's. Absent on every other level.
|
|
60
|
+
*/
|
|
61
|
+
joiningView?: {
|
|
62
|
+
entityName: string;
|
|
63
|
+
associationKey: string;
|
|
64
|
+
};
|
|
65
|
+
/** The level's configured identifier map, whose keys its links are written in. */
|
|
66
|
+
associatedTreePrimaryKeyMap?: Record<string, string> | null;
|
|
53
67
|
/** Group-header label for the results section (often plural: "Resources"). */
|
|
54
68
|
displayName: string;
|
|
55
69
|
/**
|
|
@@ -60,8 +74,6 @@ export interface SearchableEntity {
|
|
|
60
74
|
*/
|
|
61
75
|
entityNoun: string;
|
|
62
76
|
apiMethodId: string;
|
|
63
|
-
/** For the single-result auto-load preference (matches the tree's own query). */
|
|
64
|
-
apiMethodInstanceId: string;
|
|
65
77
|
/** Tree filter templates (unstamped) — quick search stamps the text in. */
|
|
66
78
|
quickSearchTemplates: SearchFilterElement[];
|
|
67
79
|
/**
|
|
@@ -80,7 +92,10 @@ export interface SearchableEntity {
|
|
|
80
92
|
columnsByField: ColumnTypeIndex;
|
|
81
93
|
/** Root-only advanced-search configuration (null for associated entities). */
|
|
82
94
|
searchConfiguration: SearchConfigEntry[] | null;
|
|
83
|
-
/**
|
|
95
|
+
/**
|
|
96
|
+
* The tree level a loaded result is composed against — NESTED, so the record
|
|
97
|
+
* arrives with its child levels (an associated entity's are its own tree's).
|
|
98
|
+
*/
|
|
84
99
|
rootNode: DisplayNode;
|
|
85
100
|
isRoot: boolean;
|
|
86
101
|
}
|
|
@@ -92,8 +107,6 @@ export interface ResultColumn {
|
|
|
92
107
|
export type ColumnTypeIndex = Map<string, {
|
|
93
108
|
type?: string | null;
|
|
94
109
|
}>;
|
|
95
|
-
/** Last dotted segment: 'A.B.Models.Actor' → 'Actor'. */
|
|
96
|
-
export declare const simpleEntityName: (entityName: string) => string;
|
|
97
110
|
/**
|
|
98
111
|
* The search API's field-name casing rule: catalog/config names are camelCase,
|
|
99
112
|
* filter elements are Pascal-cased. Exported because the copilot builds filter
|
|
@@ -241,6 +254,18 @@ export declare const mapAdvancedSearch: (detail: AdvancedSearchWire) => {
|
|
|
241
254
|
/* --------------------------------------------------- searchable-set derivation */
|
|
242
255
|
/** A scalar as text — strings and numbers only; anything else is blank. */
|
|
243
256
|
export declare const asString: (value: unknown) => string;
|
|
257
|
+
/**
|
|
258
|
+
* A tree's nested root — its flat nodes composed into the display seed the
|
|
259
|
+
* composer and the wave planner walk, so a record loaded at it carries its own
|
|
260
|
+
* child levels.
|
|
261
|
+
*/
|
|
262
|
+
export declare const nestedRootOf: (nodes: readonly TreeNode[]) => DisplayNode;
|
|
263
|
+
/**
|
|
264
|
+
* What the tree is called on screen: the root level's `inquiryTitle` (the Tree
|
|
265
|
+
* Builder's "Page title" — v1 reads it off the top node too), else the tree's
|
|
266
|
+
* own name, else blank.
|
|
267
|
+
*/
|
|
268
|
+
export declare const treeTitleOf: (tree: InquiryTree) => string;
|
|
244
269
|
/**
|
|
245
270
|
* The catalog entity as a singular noun, straight off `catalogReturnObject`
|
|
246
271
|
* ("Univerus.….Models.Resource" → "Resource"). The config node's own name is
|
|
@@ -259,12 +284,94 @@ export declare const entityNounOf: (entityName: string) => string;
|
|
|
259
284
|
export declare const friendlyEntityName: (name: unknown, entityName: string) => string;
|
|
260
285
|
/**
|
|
261
286
|
* The searchable set: the root node's entity ALWAYS (tree's own
|
|
262
|
-
* apiMethodInstance), plus every child node with
|
|
263
|
-
* `
|
|
264
|
-
*
|
|
265
|
-
*
|
|
287
|
+
* apiMethodInstance), plus every child node with `properties.isPrimarySearch`
|
|
288
|
+
* whose `associatedTreeId` names a tree in `linkedTrees` (that tree's
|
|
289
|
+
* apiMethodInstance + root node). Reproduces InquiryContainer.jsx
|
|
290
|
+
* `searchItems`.
|
|
291
|
+
*/
|
|
292
|
+
export declare const deriveSearchableEntities: (tree: InquiryTree, linkedTrees: Readonly<Record<string, InquiryTree>>, paramValues?: Record<string, string>) => SearchableEntity[];
|
|
293
|
+
/* ------------------------------------------------------ ?node deep link rule */
|
|
294
|
+
/** The searchable level a key or entity name opens at. */
|
|
295
|
+
export interface KeyLevel {
|
|
296
|
+
/** The level — null when no level, or several, read the key's entity. */
|
|
297
|
+
entity: SearchableEntity | null;
|
|
298
|
+
/** Several levels read the key's joining view, so it names no one level. */
|
|
299
|
+
ambiguous: boolean;
|
|
300
|
+
}
|
|
301
|
+
/**
|
|
302
|
+
* Which searchable level a `businessObjectKey` — or a bare entity name — opens
|
|
303
|
+
* at. The key's prefix is the record's fully qualified class name: the level
|
|
304
|
+
* whose own entity it is wins (an exact match over a simple-name one, v1's
|
|
305
|
+
* lookup rule); else the ONE level whose joining view it is. One reader for
|
|
306
|
+
* every door that arrives with a key or name: the `?node` deep link, a
|
|
307
|
+
* widget's loadInquiryNode and the recently-loaded history.
|
|
308
|
+
*/
|
|
309
|
+
export declare const levelForBusinessObjectKey: (entities: SearchableEntity[], businessObjectKey: string) => KeyLevel;
|
|
310
|
+
/** The record a `?node` + `?nodeSearch` deep link names. */
|
|
311
|
+
export interface DeepLinkTarget extends KeyLevel {
|
|
312
|
+
/** Its `=` filters — empty until the catalog is in hand, or when unresolved. */
|
|
313
|
+
filterElements: LazyFilterElement[];
|
|
314
|
+
}
|
|
315
|
+
/**
|
|
316
|
+
* Resolve a deep link: `?node` is the row's businessObjectKey and `?nodeSearch`
|
|
317
|
+
* the comma-joined values of its level's search identifiers
|
|
318
|
+
* (getLevelSearchIdentifiers) — what every writer (v1, earlier builds, this one)
|
|
319
|
+
* puts there.
|
|
320
|
+
* - The level is the one whose own entity is the key's entity; else the ONE
|
|
321
|
+
* level whose joining view it is (several → ambiguous).
|
|
322
|
+
* - The filters are the level's identifiers paired with `?nodeSearch`, blank or
|
|
323
|
+
* missing values dropped (a row read through a joining view can lack one).
|
|
324
|
+
* - A joining-view key also ANDs the joined values it carries that are not
|
|
325
|
+
* already identifiers — extra precision, never a reason to reject.
|
|
326
|
+
* No filter left leaves the link unresolved. Whether the filters name exactly
|
|
327
|
+
* one record is the fetch's call (rowForIdentifierSet).
|
|
328
|
+
*/
|
|
329
|
+
export declare const resolveDeepLink: (entities: SearchableEntity[], catalogObjects: CatalogObject[], { businessObjectKey, nodeSearch }: {
|
|
330
|
+
businessObjectKey: string;
|
|
331
|
+
nodeSearch: string;
|
|
332
|
+
}) => DeepLinkTarget;
|
|
333
|
+
/** An identifier value as comparable text; anything non-scalar is blank. */
|
|
334
|
+
export declare const asText: (value: unknown) => string;
|
|
335
|
+
/**
|
|
336
|
+
* Whether an identifier filter carries a value. A row read through a joining
|
|
337
|
+
* view can lack one, and `Field = ''` matches nothing, so every door that
|
|
338
|
+
* names a record by identifiers (a link, a widget, the history) drops the
|
|
339
|
+
* blank ones; whether what is left names exactly one record is the fetch's call.
|
|
340
|
+
*/
|
|
341
|
+
export declare const hasIdentifierValue: (filter: {
|
|
342
|
+
searchValue?: unknown;
|
|
343
|
+
}) => boolean;
|
|
344
|
+
type Row = Record<string, unknown>;
|
|
345
|
+
/**
|
|
346
|
+
* The row an identifier search answers for one identifier set: the ONE fetched
|
|
347
|
+
* row carrying every value in the set. A lone set's lone row is its answer even
|
|
348
|
+
* when its columns are named differently. An empty set (nothing was searched),
|
|
349
|
+
* no match, or several matches is no answer — never the first of many.
|
|
350
|
+
*/
|
|
351
|
+
export declare const rowForIdentifierSet: (rows: Row[], set: Row[], lone: boolean) => Row;
|
|
352
|
+
/**
|
|
353
|
+
* Each set's row from ONE fetch of the searched sets OR'd, asking for one row
|
|
354
|
+
* more than there are sets (fetchRecordsByIdentifierSets). A short page holds
|
|
355
|
+
* every match, so each set's answer is rowForIdentifierSet's. A full page may
|
|
356
|
+
* have cut matches off, so only a set with several matches on it is decided
|
|
357
|
+
* (null); the rest are `undefined` — unproven, to be fetched alone.
|
|
358
|
+
*/
|
|
359
|
+
export declare const rowsForIdentifierSets: (rows: Row[], sets: Row[][]) => Row[];
|
|
360
|
+
/**
|
|
361
|
+
* Each identifier set's row — null when none, or several, match. One OR'd
|
|
362
|
+
* `fetchRows` of every set, then one more per set a full page left unproven,
|
|
363
|
+
* fetched alone: a lone set's page always decides it, so a load costs at most
|
|
364
|
+
* one request plus one per set.
|
|
365
|
+
*/
|
|
366
|
+
export declare const resolveIdentifierSets: (fetchRows: (sets: Row[][]) => Promise<Row[]>, sets: Row[][]) => Promise<Row[]>;
|
|
367
|
+
/**
|
|
368
|
+
* A record's refresh, from a lone identifier fetch (two rows asked for): its
|
|
369
|
+
* one row, or — when several match — the one that is still this record (same
|
|
370
|
+
* businessObjectKey). `null` when nothing matches (the record is gone);
|
|
371
|
+
* `undefined` when the identifiers no longer pick it out, which leaves the
|
|
372
|
+
* branch as it is.
|
|
266
373
|
*/
|
|
267
|
-
export declare const
|
|
374
|
+
export declare const refreshedRow: (rows: Row[], businessObjectKey: unknown) => Row;
|
|
268
375
|
/* ------------------------------------------------- ?searchValue arrival rule */
|
|
269
376
|
/**
|
|
270
377
|
* What the viewer does with a `?searchValue=` term it arrived with (v1's
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"searchModel.d.ts","sourceRoot":"","sources":["../../../../src/inquiry/v2/search/searchModel.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,OAAO,EACL,qBAAqB,EACrB,mBAAmB,EACnB,gBAAgB,EAChB,mBAAmB,EAEpB,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"searchModel.d.ts","sourceRoot":"","sources":["../../../../src/inquiry/v2/search/searchModel.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Inquiry v2 search — pure model (no React, no HTTP, no .js helpers), so it
|
|
3
3
|
* runs under the node:test domain harness (`pnpm test:domain`). This is the
|
|
4
|
-
* search consumer's brain: it derives what is searchable from a
|
|
5
|
-
* stamps the quick-search text into the node's filter templates,
|
|
6
|
-
* Data Builder query's own filters/columns off the
|
|
7
|
-
* the result columns, decides whether a quick search
|
|
8
|
-
* maps the root node's searchConfiguration into the
|
|
9
|
-
* UdpAdvancedSearchBuilder's catalog schema.
|
|
4
|
+
* search consumer's brain: it derives what is searchable from a tree and its
|
|
5
|
+
* linked trees, stamps the quick-search text into the node's filter templates,
|
|
6
|
+
* parses the Data Builder query's own filters/columns off the
|
|
7
|
+
* apiMethodInstance, orders the result columns, decides whether a quick search
|
|
8
|
+
* is even worth firing, and maps the root node's searchConfiguration into the
|
|
9
|
+
* shared UdpAdvancedSearchBuilder's catalog schema.
|
|
10
10
|
*
|
|
11
11
|
* The actual request assembly (composeSearchFilters + getSearchObject) and the
|
|
12
12
|
* fetch live in the hook — those pull in the shared .js composer and the
|
|
@@ -22,13 +22,15 @@
|
|
|
22
22
|
*/
|
|
23
23
|
import { resolveInstanceBodyFilters } from '../api/instanceBodyModel';
|
|
24
24
|
import { LogicalSearchOperatorEnums } from '../../../enums/unitySystemEnums';
|
|
25
|
-
import { getSanitizedName } from '../../../
|
|
25
|
+
import { findCatalogObject, getSanitizedName, sameEntityName } from '../../../domain/inquiryTree/legalChildren';
|
|
26
26
|
import { toUpperFirstChar } from '../../../utilities/input/StringUtilities';
|
|
27
|
-
import { resolveDisplayName } from '../../../domain/inquiryTree/runtime';
|
|
27
|
+
import { getLevelSearchIdentifiers, resolveDisplayName } from '../../../domain/inquiryTree/runtime';
|
|
28
|
+
import { buildRecordEntryFilterElements } from '../../../domain/inquiryTree/waveLoad';
|
|
29
|
+
import { makeDisplayTreeStructure } from '../../../domain/inquiryTree/displayTree';
|
|
30
|
+
import { getRoot } from '../../../domain/inquiryTree/view';
|
|
31
|
+
import { isEntityNode } from '../../../domain/inquiryTree/types';
|
|
28
32
|
/* --------------------------------------------------------------- tiny helpers */
|
|
29
33
|
const isNonEmptyString = (v) => typeof v === 'string' && v.trim().length > 0;
|
|
30
|
-
/** Last dotted segment: 'A.B.Models.Actor' → 'Actor'. */
|
|
31
|
-
export const simpleEntityName = (entityName) => getSanitizedName(entityName);
|
|
32
34
|
/**
|
|
33
35
|
* The search API's field-name casing rule: catalog/config names are camelCase,
|
|
34
36
|
* filter elements are Pascal-cased. Exported because the copilot builds filter
|
|
@@ -329,9 +331,27 @@ export const mapAdvancedSearch = (detail) => {
|
|
|
329
331
|
/* --------------------------------------------------- searchable-set derivation */
|
|
330
332
|
/** A scalar as text — strings and numbers only; anything else is blank. */
|
|
331
333
|
export const asString = (value) => typeof value === 'string' || typeof value === 'number' ? String(value) : '';
|
|
332
|
-
|
|
334
|
+
/**
|
|
335
|
+
* A tree's nested root — its flat nodes composed into the display seed the
|
|
336
|
+
* composer and the wave planner walk, so a record loaded at it carries its own
|
|
337
|
+
* child levels.
|
|
338
|
+
*/
|
|
339
|
+
export const nestedRootOf = (nodes) => {
|
|
333
340
|
var _a;
|
|
334
|
-
|
|
341
|
+
if (!(nodes === null || nodes === void 0 ? void 0 : nodes.length))
|
|
342
|
+
return null;
|
|
343
|
+
const nested = makeDisplayTreeStructure(nodes);
|
|
344
|
+
return (_a = (Array.isArray(nested) ? nested[0] : nested)) !== null && _a !== void 0 ? _a : null;
|
|
345
|
+
};
|
|
346
|
+
/**
|
|
347
|
+
* What the tree is called on screen: the root level's `inquiryTitle` (the Tree
|
|
348
|
+
* Builder's "Page title" — v1 reads it off the top node too), else the tree's
|
|
349
|
+
* own name, else blank.
|
|
350
|
+
*/
|
|
351
|
+
export const treeTitleOf = (tree) => {
|
|
352
|
+
const root = tree && getRoot(tree);
|
|
353
|
+
const title = root && isEntityNode(root) ? root.properties.inquiryTitle : '';
|
|
354
|
+
return asString(title).trim() || asString(tree === null || tree === void 0 ? void 0 : tree.name).trim();
|
|
335
355
|
};
|
|
336
356
|
/**
|
|
337
357
|
* The catalog entity as a singular noun, straight off `catalogReturnObject`
|
|
@@ -339,7 +359,7 @@ const findWireRoot = (structure) => {
|
|
|
339
359
|
* usually the plural set it shows ("Resources"), which breaks any sentence about
|
|
340
360
|
* a single record — so prose uses this and group headers use `displayName`.
|
|
341
361
|
*/
|
|
342
|
-
export const entityNounOf = (entityName) => humanizeFieldName(
|
|
362
|
+
export const entityNounOf = (entityName) => humanizeFieldName(getSanitizedName(entityName));
|
|
343
363
|
/**
|
|
344
364
|
* The entity's noun as a PERSON reads it. The config node's own name wins
|
|
345
365
|
* ("Assets", "Open Works Requests"), but a name that is really the entity's
|
|
@@ -352,25 +372,32 @@ export const friendlyEntityName = (name, entityName) => {
|
|
|
352
372
|
const raw = asString(name);
|
|
353
373
|
if (raw && raw !== entityName && !raw.includes('.'))
|
|
354
374
|
return raw;
|
|
355
|
-
return humanizeFieldName(
|
|
375
|
+
return humanizeFieldName(getSanitizedName(entityName));
|
|
356
376
|
};
|
|
357
377
|
const makeEntity = (node, instance, treeRootForBuild, isRoot, paramValues) => {
|
|
358
378
|
var _a;
|
|
359
|
-
var _b, _c
|
|
360
|
-
const props =
|
|
379
|
+
var _b, _c;
|
|
380
|
+
const props = node.properties;
|
|
361
381
|
const entityName = asString(props.catalogReturnObject);
|
|
362
382
|
const apiMethodId = asString(instance === null || instance === void 0 ? void 0 : instance.apiMethodId);
|
|
363
383
|
if (!entityName || !apiMethodId)
|
|
364
384
|
return null;
|
|
365
|
-
const searchConfiguration = (
|
|
385
|
+
const searchConfiguration = (_c = (_b = (_a = treeRootForBuild.properties) === null || _a === void 0 ? void 0 : _a['searchConfiguration']) !== null && _b !== void 0 ? _b : props.searchConfiguration) !== null && _c !== void 0 ? _c : null;
|
|
366
386
|
const queryColumns = parseQueryColumns(instance);
|
|
387
|
+
const joiningEntityName = asString(props.joiningEntityName);
|
|
367
388
|
return {
|
|
368
|
-
key:
|
|
389
|
+
key: node.id || entityName,
|
|
369
390
|
entityName,
|
|
391
|
+
joiningView: joiningEntityName
|
|
392
|
+
? {
|
|
393
|
+
entityName: joiningEntityName,
|
|
394
|
+
associationKey: asString(props.joiningEntityCatalogObjectKey)
|
|
395
|
+
}
|
|
396
|
+
: undefined,
|
|
397
|
+
associatedTreePrimaryKeyMap: props.associatedTreePrimaryKeyMap,
|
|
370
398
|
displayName: friendlyEntityName(props.name, entityName),
|
|
371
399
|
entityNoun: entityNounOf(entityName),
|
|
372
400
|
apiMethodId,
|
|
373
|
-
apiMethodInstanceId: asString(instance === null || instance === void 0 ? void 0 : instance.apiMethodInstanceId),
|
|
374
401
|
quickSearchTemplates: quickSearchTemplatesFor(searchConfiguration),
|
|
375
402
|
instanceFilters: resolveInstanceBodyFilters(instance, paramValues),
|
|
376
403
|
resultColumns: deriveResultColumns(queryColumns, searchConfiguration),
|
|
@@ -382,40 +409,214 @@ const makeEntity = (node, instance, treeRootForBuild, isRoot, paramValues) => {
|
|
|
382
409
|
};
|
|
383
410
|
/**
|
|
384
411
|
* The searchable set: the root node's entity ALWAYS (tree's own
|
|
385
|
-
* apiMethodInstance), plus every child node with
|
|
386
|
-
* `
|
|
387
|
-
*
|
|
388
|
-
*
|
|
412
|
+
* apiMethodInstance), plus every child node with `properties.isPrimarySearch`
|
|
413
|
+
* whose `associatedTreeId` names a tree in `linkedTrees` (that tree's
|
|
414
|
+
* apiMethodInstance + root node). Reproduces InquiryContainer.jsx
|
|
415
|
+
* `searchItems`.
|
|
389
416
|
*/
|
|
390
417
|
export const deriveSearchableEntities = (tree,
|
|
418
|
+
/** The levels' linked trees (useLinkedTrees); null: the root alone. */
|
|
419
|
+
linkedTrees,
|
|
391
420
|
/**
|
|
392
421
|
* Values the entities' saved `params.*` filters resolve against. Omit and
|
|
393
422
|
* every placeholder drops (and is reported through `instanceFilters`).
|
|
394
423
|
*/
|
|
395
424
|
paramValues) => {
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
if (!(structure === null || structure === void 0 ? void 0 : structure.length))
|
|
425
|
+
const ownRoot = nestedRootOf(tree === null || tree === void 0 ? void 0 : tree.nodes);
|
|
426
|
+
if (!tree || !ownRoot)
|
|
399
427
|
return [];
|
|
400
428
|
const entities = [];
|
|
401
|
-
for (const node of
|
|
402
|
-
|
|
429
|
+
for (const node of tree.nodes) {
|
|
430
|
+
if (!isEntityNode(node))
|
|
431
|
+
continue;
|
|
432
|
+
const props = node.properties;
|
|
403
433
|
if (!node.parentId) {
|
|
404
|
-
const entity = makeEntity(node, tree
|
|
434
|
+
const entity = makeEntity(node, tree.wrapper.apiMethodInstance, ownRoot, true, paramValues);
|
|
405
435
|
if (entity)
|
|
406
436
|
entities.push(entity);
|
|
407
437
|
continue;
|
|
408
438
|
}
|
|
409
|
-
const associated = props.
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
439
|
+
const associated = props.isPrimarySearch && props.associatedTreeId
|
|
440
|
+
? linkedTrees === null || linkedTrees === void 0 ? void 0 : linkedTrees[props.associatedTreeId]
|
|
441
|
+
: undefined;
|
|
442
|
+
if (!associated)
|
|
443
|
+
continue;
|
|
444
|
+
// The ASSOCIATED tree's nested root: a hit loads in shaped by that tree,
|
|
445
|
+
// with its own child levels — and with this level's
|
|
446
|
+
// associatedTreePrimaryKeyMap, so its links are written in the
|
|
447
|
+
// identifiers resolveDeepLink reads them in.
|
|
448
|
+
const treeRoot = nestedRootOf(associated.nodes);
|
|
449
|
+
if (!treeRoot)
|
|
450
|
+
continue;
|
|
451
|
+
const entity = makeEntity(node, associated.wrapper.apiMethodInstance, props.associatedTreePrimaryKeyMap
|
|
452
|
+
? Object.assign(Object.assign({}, treeRoot), { properties: Object.assign(Object.assign({}, treeRoot.properties), { associatedTreePrimaryKeyMap: props.associatedTreePrimaryKeyMap }) }) : treeRoot, false, paramValues);
|
|
453
|
+
if (entity)
|
|
454
|
+
entities.push(entity);
|
|
416
455
|
}
|
|
417
456
|
return entities;
|
|
418
457
|
};
|
|
458
|
+
/**
|
|
459
|
+
* Which searchable level a `businessObjectKey` — or a bare entity name — opens
|
|
460
|
+
* at. The key's prefix is the record's fully qualified class name: the level
|
|
461
|
+
* whose own entity it is wins (an exact match over a simple-name one, v1's
|
|
462
|
+
* lookup rule); else the ONE level whose joining view it is. One reader for
|
|
463
|
+
* every door that arrives with a key or name: the `?node` deep link, a
|
|
464
|
+
* widget's loadInquiryNode and the recently-loaded history.
|
|
465
|
+
*/
|
|
466
|
+
export const levelForBusinessObjectKey = (entities, businessObjectKey) => {
|
|
467
|
+
var _a;
|
|
468
|
+
const fullyQualifiedName = businessObjectKey.split('|')[0];
|
|
469
|
+
const own = (_a = entities.find((entity) => entity.entityName === fullyQualifiedName)) !== null && _a !== void 0 ? _a : entities.find((entity) => sameEntityName(entity.entityName, fullyQualifiedName));
|
|
470
|
+
if (own)
|
|
471
|
+
return { entity: own, ambiguous: false };
|
|
472
|
+
const viewLevels = entities.filter((entity) => {
|
|
473
|
+
var _a;
|
|
474
|
+
return sameEntityName((_a = entity.joiningView) === null || _a === void 0 ? void 0 : _a.entityName, fullyQualifiedName);
|
|
475
|
+
});
|
|
476
|
+
return {
|
|
477
|
+
entity: viewLevels.length === 1 ? viewLevels[0] : null,
|
|
478
|
+
ambiguous: viewLevels.length > 1
|
|
479
|
+
};
|
|
480
|
+
};
|
|
481
|
+
/**
|
|
482
|
+
* A joining-view key's joined values as `=` filters on the level's entity,
|
|
483
|
+
* blank ones dropped. The key lists the view's values in the view's
|
|
484
|
+
* businessObjectKeyFieldNames order; the association the level is configured
|
|
485
|
+
* through pairs each level field with a view field in `Keys` ('LevelField,
|
|
486
|
+
* ViewField' — the level's own field first, lazyLoad's order).
|
|
487
|
+
*/
|
|
488
|
+
const joiningViewFilters = (catalogObjects, levelEntityName, joiningView, keyValues) => {
|
|
489
|
+
var _a, _b, _c, _d, _e, _f;
|
|
490
|
+
const viewFields = asString((_a = findCatalogObject(catalogObjects, joiningView.entityName)) === null || _a === void 0 ? void 0 : _a.businessObjectKeyFieldNames)
|
|
491
|
+
.split(',')
|
|
492
|
+
.map((field) => field.trim().toLowerCase())
|
|
493
|
+
.filter(Boolean);
|
|
494
|
+
const pairs = (_f = (_e = (_d = (_c = (_b = findCatalogObject(catalogObjects, levelEntityName)) === null || _b === void 0 ? void 0 : _b.properties) === null || _c === void 0 ? void 0 : _c.find((property) => property.name === joiningView.associationKey)) === null || _d === void 0 ? void 0 : _d.extendedProperties) === null || _e === void 0 ? void 0 : _e.childEntityAssoc) === null || _f === void 0 ? void 0 : _f.Keys;
|
|
495
|
+
return (Array.isArray(pairs) ? pairs : [])
|
|
496
|
+
.map((pair) => {
|
|
497
|
+
var _a;
|
|
498
|
+
const [levelField = '', viewField = ''] = String(pair)
|
|
499
|
+
.split(',')
|
|
500
|
+
.map((field) => field.trim());
|
|
501
|
+
return {
|
|
502
|
+
searchField: toUpperFirstChar(levelField),
|
|
503
|
+
searchOperator: '=',
|
|
504
|
+
searchValue: (_a = keyValues[viewFields.indexOf(viewField.toLowerCase())]) !== null && _a !== void 0 ? _a : ''
|
|
505
|
+
};
|
|
506
|
+
})
|
|
507
|
+
.filter((filter) => filter.searchField && filter.searchValue !== '');
|
|
508
|
+
};
|
|
509
|
+
/**
|
|
510
|
+
* Resolve a deep link: `?node` is the row's businessObjectKey and `?nodeSearch`
|
|
511
|
+
* the comma-joined values of its level's search identifiers
|
|
512
|
+
* (getLevelSearchIdentifiers) — what every writer (v1, earlier builds, this one)
|
|
513
|
+
* puts there.
|
|
514
|
+
* - The level is the one whose own entity is the key's entity; else the ONE
|
|
515
|
+
* level whose joining view it is (several → ambiguous).
|
|
516
|
+
* - The filters are the level's identifiers paired with `?nodeSearch`, blank or
|
|
517
|
+
* missing values dropped (a row read through a joining view can lack one).
|
|
518
|
+
* - A joining-view key also ANDs the joined values it carries that are not
|
|
519
|
+
* already identifiers — extra precision, never a reason to reject.
|
|
520
|
+
* No filter left leaves the link unresolved. Whether the filters name exactly
|
|
521
|
+
* one record is the fetch's call (rowForIdentifierSet).
|
|
522
|
+
*/
|
|
523
|
+
export const resolveDeepLink = (entities, catalogObjects, { businessObjectKey, nodeSearch }) => {
|
|
524
|
+
var _a;
|
|
525
|
+
const [keyEntityName, keyValues = ''] = businessObjectKey.split('|');
|
|
526
|
+
const { entity, ambiguous } = levelForBusinessObjectKey(entities, keyEntityName);
|
|
527
|
+
if (!entity || !(catalogObjects === null || catalogObjects === void 0 ? void 0 : catalogObjects.length)) {
|
|
528
|
+
return { entity, ambiguous, filterElements: [] };
|
|
529
|
+
}
|
|
530
|
+
const identifiers = buildRecordEntryFilterElements(getLevelSearchIdentifiers(catalogObjects, {
|
|
531
|
+
catalogReturnObject: entity.entityName,
|
|
532
|
+
associatedTreePrimaryKeyMap: entity.associatedTreePrimaryKeyMap
|
|
533
|
+
}), nodeSearch ? nodeSearch.split(',') : []).filter(hasIdentifierValue);
|
|
534
|
+
const joiningView = sameEntityName((_a = entity.joiningView) === null || _a === void 0 ? void 0 : _a.entityName, keyEntityName)
|
|
535
|
+
? entity.joiningView
|
|
536
|
+
: null;
|
|
537
|
+
const named = new Set(identifiers.map((filter) => filter.searchField.toLowerCase()));
|
|
538
|
+
const joined = joiningView
|
|
539
|
+
? joiningViewFilters(catalogObjects, entity.entityName, joiningView, keyValues.split(',')).filter((filter) => !named.has(filter.searchField.toLowerCase()))
|
|
540
|
+
: [];
|
|
541
|
+
return { entity, ambiguous, filterElements: [...identifiers, ...joined] };
|
|
542
|
+
};
|
|
543
|
+
/** An identifier value as comparable text; anything non-scalar is blank. */
|
|
544
|
+
export const asText = (value) => typeof value === 'string' || typeof value === 'number' || typeof value === 'boolean'
|
|
545
|
+
? String(value)
|
|
546
|
+
: '';
|
|
547
|
+
/**
|
|
548
|
+
* Whether an identifier filter carries a value. A row read through a joining
|
|
549
|
+
* view can lack one, and `Field = ''` matches nothing, so every door that
|
|
550
|
+
* names a record by identifiers (a link, a widget, the history) drops the
|
|
551
|
+
* blank ones; whether what is left names exactly one record is the fetch's call.
|
|
552
|
+
*/
|
|
553
|
+
export const hasIdentifierValue = (filter) => asText(filter.searchValue) !== '';
|
|
554
|
+
/** The rows carrying every value in `set` (field names matched case-insensitively). */
|
|
555
|
+
const rowsMatching = (rows, set) => rows.filter((row) => {
|
|
556
|
+
const keys = new Map(Object.keys(row).map((key) => [key.toLowerCase(), key]));
|
|
557
|
+
return set.every((element) => {
|
|
558
|
+
const key = keys.get(asText(element.searchField).toLowerCase());
|
|
559
|
+
return key !== undefined && asText(row[key]) === asText(element.searchValue);
|
|
560
|
+
});
|
|
561
|
+
});
|
|
562
|
+
/**
|
|
563
|
+
* The row an identifier search answers for one identifier set: the ONE fetched
|
|
564
|
+
* row carrying every value in the set. A lone set's lone row is its answer even
|
|
565
|
+
* when its columns are named differently. An empty set (nothing was searched),
|
|
566
|
+
* no match, or several matches is no answer — never the first of many.
|
|
567
|
+
*/
|
|
568
|
+
export const rowForIdentifierSet = (rows, set, lone) => {
|
|
569
|
+
if (!set.length)
|
|
570
|
+
return null;
|
|
571
|
+
const matches = rowsMatching(rows, set);
|
|
572
|
+
if (matches.length === 1)
|
|
573
|
+
return matches[0];
|
|
574
|
+
return lone && rows.length === 1 ? rows[0] : null;
|
|
575
|
+
};
|
|
576
|
+
/**
|
|
577
|
+
* Each set's row from ONE fetch of the searched sets OR'd, asking for one row
|
|
578
|
+
* more than there are sets (fetchRecordsByIdentifierSets). A short page holds
|
|
579
|
+
* every match, so each set's answer is rowForIdentifierSet's. A full page may
|
|
580
|
+
* have cut matches off, so only a set with several matches on it is decided
|
|
581
|
+
* (null); the rest are `undefined` — unproven, to be fetched alone.
|
|
582
|
+
*/
|
|
583
|
+
export const rowsForIdentifierSets = (rows, sets) => {
|
|
584
|
+
const searched = sets.filter((set) => set.length).length;
|
|
585
|
+
const lone = searched === 1;
|
|
586
|
+
const complete = lone || rows.length <= searched;
|
|
587
|
+
return sets.map((set) => {
|
|
588
|
+
if (complete || !set.length)
|
|
589
|
+
return rowForIdentifierSet(rows, set, lone);
|
|
590
|
+
return rowsMatching(rows, set).length > 1 ? null : undefined;
|
|
591
|
+
});
|
|
592
|
+
};
|
|
593
|
+
/**
|
|
594
|
+
* Each identifier set's row — null when none, or several, match. One OR'd
|
|
595
|
+
* `fetchRows` of every set, then one more per set a full page left unproven,
|
|
596
|
+
* fetched alone: a lone set's page always decides it, so a load costs at most
|
|
597
|
+
* one request plus one per set.
|
|
598
|
+
*/
|
|
599
|
+
export const resolveIdentifierSets = async (fetchRows, sets) => {
|
|
600
|
+
const rows = await fetchRows(sets);
|
|
601
|
+
return Promise.all(rowsForIdentifierSets(rows, sets).map(async (row, index) => row !== undefined
|
|
602
|
+
? row
|
|
603
|
+
: rowForIdentifierSet(await fetchRows([sets[index]]), sets[index], true)));
|
|
604
|
+
};
|
|
605
|
+
/**
|
|
606
|
+
* A record's refresh, from a lone identifier fetch (two rows asked for): its
|
|
607
|
+
* one row, or — when several match — the one that is still this record (same
|
|
608
|
+
* businessObjectKey). `null` when nothing matches (the record is gone);
|
|
609
|
+
* `undefined` when the identifiers no longer pick it out, which leaves the
|
|
610
|
+
* branch as it is.
|
|
611
|
+
*/
|
|
612
|
+
export const refreshedRow = (rows, businessObjectKey) => {
|
|
613
|
+
var _a;
|
|
614
|
+
if (rows.length < 2)
|
|
615
|
+
return (_a = rows[0]) !== null && _a !== void 0 ? _a : null;
|
|
616
|
+
return businessObjectKey == null
|
|
617
|
+
? undefined
|
|
618
|
+
: rows.find((row) => row.businessObjectKey === businessObjectKey);
|
|
619
|
+
};
|
|
419
620
|
export const decideSearchValueOutcome = ({ term, minChars, isPending, isSettled, isTimedOut, hasSingleResult }) => {
|
|
420
621
|
const trimmed = term.trim();
|
|
421
622
|
// Nothing to honor: the caller only runs this flow for a real term.
|