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,13 +1,8 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Catalog reachability oracle — which entities may be a child of which, and which
|
|
3
|
-
* existing nodes may parent a given entity. Ported from the legacy Entity/Parent
|
|
4
|
-
* dropdown logic (NodeDetails.jsx:226-281 and the FormSpy possibleParents block,
|
|
5
|
-
* NodeDetails.jsx:773-801), with the TB-0171 null-root crash fixed.
|
|
6
|
-
*/
|
|
7
|
-
import { InquiryTree, TreeNode } from './types';
|
|
8
1
|
/** Minimal catalog-object shape the oracle needs (subset of the apiCatalog payload). */
|
|
9
2
|
export interface CatalogObjectProperty {
|
|
10
3
|
name?: string;
|
|
4
|
+
type?: string;
|
|
5
|
+
nullable?: boolean;
|
|
11
6
|
reference?: string | null;
|
|
12
7
|
extendedProperties?: {
|
|
13
8
|
childEntityAssoc?: {
|
|
@@ -29,17 +24,21 @@ export interface CatalogObject {
|
|
|
29
24
|
export declare const MANY_TO_MANY = 2;
|
|
30
25
|
/** Last dot-segment of a fully-qualified entity name ('' for a missing one). */
|
|
31
26
|
export declare const getSanitizedName: (entityName: string | null | undefined) => string;
|
|
27
|
+
/**
|
|
28
|
+
* THE entity-name rule: two names name the same entity when their simple
|
|
29
|
+
* (last dot-segment) names match, ignoring case and surrounding space — so a
|
|
30
|
+
* fully qualified name and its bare simple name agree.
|
|
31
|
+
*/
|
|
32
|
+
export declare const sameEntityName: (a: string, b: string) => boolean;
|
|
33
|
+
/**
|
|
34
|
+
* The catalog object `entityName` names: an exact match first (two entities
|
|
35
|
+
* may share a simple name), else sameEntityName.
|
|
36
|
+
*/
|
|
37
|
+
export declare const findCatalogObject: (catalogObjects: readonly CatalogObject[], entityName: string) => CatalogObject;
|
|
32
38
|
/**
|
|
33
39
|
* Entities legally reachable as children of `parentEntityName`: every entity the
|
|
34
40
|
* parent references directly, plus M2M targets' joining types. Returns [] when the
|
|
35
41
|
* parent entity is not in the catalog (caller cannot judge → skip enforcement).
|
|
36
42
|
*/
|
|
37
43
|
export declare const legalChildEntities: (catalogObjects: CatalogObject[], parentEntityName: string) => CatalogObject[];
|
|
38
|
-
/** Does `candidateParentEntity` reference `childEntityName` (directly or via M2M)? */
|
|
39
|
-
export declare const entityCanParent: (catalogObjects: CatalogObject[], candidateParentEntity: string, childEntityName: string) => boolean;
|
|
40
|
-
/**
|
|
41
|
-
* Existing nodes that may parent a node of entity `childEntityName`. Excludes the
|
|
42
|
-
* node itself and its descendants (cycle prevention — NodeDetails.jsx:788-801).
|
|
43
|
-
*/
|
|
44
|
-
export declare const legalParentNodes: (catalogObjects: CatalogObject[], tree: InquiryTree, childEntityName: string, nodeId?: string) => TreeNode[];
|
|
45
44
|
//# sourceMappingURL=legalChildren.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"legalChildren.d.ts","sourceRoot":"","sources":["../../../src/domain/inquiryTree/legalChildren.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"legalChildren.d.ts","sourceRoot":"","sources":["../../../src/domain/inquiryTree/legalChildren.ts"],"names":[],"mappings":"AAUA,wFAAwF;AACxF,MAAM,WAAW,qBAAqB;IACpC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,kBAAkB,CAAC,EAAE;QACnB,gBAAgB,CAAC,EAAE;YACjB,4EAA4E;YAC5E,WAAW,CAAC,EAAE,MAAM,CAAC;YACrB,WAAW,CAAC,EAAE,MAAM,CAAC;YACrB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;SACxB,GAAG,IAAI,CAAC;QACT,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;KACxB,GAAG,IAAI,CAAC;IACT,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AAED,MAAM,WAAW,aAAa;IAC5B,iBAAiB,EAAE,MAAM,CAAC;IAC1B,UAAU,CAAC,EAAE,qBAAqB,EAAE,CAAC;IACrC,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AAED,uEAAuE;AACvE,eAAO,MAAM,YAAY,IAAI,CAAC;AAE9B,gFAAgF;AAChF,eAAO,MAAM,gBAAgB,EAAE,CAC7B,UAAU,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,KAClC,MAA2B,CAAC;AAEjC;;;;GAIG;AACH,eAAO,MAAM,cAAc,mCAO1B,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,iBAAiB,iFAa7B,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,gFAsB9B,CAAC"}
|
|
@@ -4,16 +4,29 @@
|
|
|
4
4
|
* dropdown logic (NodeDetails.jsx:226-281 and the FormSpy possibleParents block,
|
|
5
5
|
* NodeDetails.jsx:773-801), with the TB-0171 null-root crash fixed.
|
|
6
6
|
*/
|
|
7
|
-
import { isEntityNode } from './types';
|
|
8
7
|
import { getSanitizedName as sanitizeEntityName } from '../../utilities/entities/entityUtilities';
|
|
9
8
|
/** CardinalityTypeEnums.Many_To_Many (unitySystemEnums.ts:171-176). */
|
|
10
9
|
export const MANY_TO_MANY = 2;
|
|
11
10
|
/** Last dot-segment of a fully-qualified entity name ('' for a missing one). */
|
|
12
11
|
export const getSanitizedName = sanitizeEntityName;
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
12
|
+
/**
|
|
13
|
+
* THE entity-name rule: two names name the same entity when their simple
|
|
14
|
+
* (last dot-segment) names match, ignoring case and surrounding space — so a
|
|
15
|
+
* fully qualified name and its bare simple name agree.
|
|
16
|
+
*/
|
|
17
|
+
export const sameEntityName = (a, b) => {
|
|
18
|
+
const simple = (name) => getSanitizedName(name).trim().toLowerCase();
|
|
19
|
+
return !!simple(a) && simple(a) === simple(b);
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* The catalog object `entityName` names: an exact match first (two entities
|
|
23
|
+
* may share a simple name), else sameEntityName.
|
|
24
|
+
*/
|
|
25
|
+
export const findCatalogObject = (catalogObjects, entityName) => {
|
|
26
|
+
var _a;
|
|
27
|
+
if (!catalogObjects || !entityName)
|
|
28
|
+
return undefined;
|
|
29
|
+
return ((_a = catalogObjects.find((candidate) => candidate.catalogObjectName === entityName)) !== null && _a !== void 0 ? _a : catalogObjects.find((candidate) => sameEntityName(candidate.catalogObjectName, entityName)));
|
|
17
30
|
};
|
|
18
31
|
/**
|
|
19
32
|
* Entities legally reachable as children of `parentEntityName`: every entity the
|
|
@@ -29,46 +42,12 @@ export const legalChildEntities = (catalogObjects, parentEntityName) => {
|
|
|
29
42
|
for (const property of parent.properties) {
|
|
30
43
|
if (!property.reference)
|
|
31
44
|
continue;
|
|
32
|
-
referenceNames.push(
|
|
45
|
+
referenceNames.push(property.reference);
|
|
33
46
|
const assoc = (_a = property.extendedProperties) === null || _a === void 0 ? void 0 : _a.childEntityAssoc;
|
|
34
47
|
if ((assoc === null || assoc === void 0 ? void 0 : assoc.Cardinality) === MANY_TO_MANY && assoc.JoiningType) {
|
|
35
|
-
referenceNames.push(
|
|
48
|
+
referenceNames.push(assoc.JoiningType);
|
|
36
49
|
}
|
|
37
50
|
}
|
|
38
|
-
return catalogObjects.filter((candidate) => referenceNames.
|
|
39
|
-
};
|
|
40
|
-
/** Does `candidateParentEntity` reference `childEntityName` (directly or via M2M)? */
|
|
41
|
-
export const entityCanParent = (catalogObjects, candidateParentEntity, childEntityName) => {
|
|
42
|
-
const legal = legalChildEntities(catalogObjects, candidateParentEntity);
|
|
43
|
-
const childName = getSanitizedName(childEntityName);
|
|
44
|
-
return legal.some((entity) => getSanitizedName(entity.catalogObjectName) === childName);
|
|
45
|
-
};
|
|
46
|
-
const descendantIds = (tree, nodeId) => {
|
|
47
|
-
const ids = new Set();
|
|
48
|
-
const collect = (parentId) => {
|
|
49
|
-
for (const node of tree.nodes) {
|
|
50
|
-
if (node.parentId === parentId && !ids.has(node.id)) {
|
|
51
|
-
ids.add(node.id);
|
|
52
|
-
collect(node.id);
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
};
|
|
56
|
-
collect(nodeId);
|
|
57
|
-
return ids;
|
|
58
|
-
};
|
|
59
|
-
/**
|
|
60
|
-
* Existing nodes that may parent a node of entity `childEntityName`. Excludes the
|
|
61
|
-
* node itself and its descendants (cycle prevention — NodeDetails.jsx:788-801).
|
|
62
|
-
*/
|
|
63
|
-
export const legalParentNodes = (catalogObjects, tree, childEntityName, nodeId) => {
|
|
64
|
-
const excluded = nodeId ? descendantIds(tree, nodeId) : new Set();
|
|
65
|
-
return tree.nodes.filter((node) => {
|
|
66
|
-
if (node.isDeleted || !isEntityNode(node))
|
|
67
|
-
return false;
|
|
68
|
-
if (nodeId && (node.id === nodeId || excluded.has(node.id)))
|
|
69
|
-
return false;
|
|
70
|
-
const entity = node.properties.catalogReturnObject;
|
|
71
|
-
return !!entity && entityCanParent(catalogObjects, entity, childEntityName);
|
|
72
|
-
});
|
|
51
|
+
return catalogObjects.filter((candidate) => referenceNames.some((name) => sameEntityName(name, candidate.catalogObjectName)));
|
|
73
52
|
};
|
|
74
53
|
//# sourceMappingURL=legalChildren.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"legalChildren.js","sourceRoot":"","sources":["../../../src/domain/inquiryTree/legalChildren.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,
|
|
1
|
+
{"version":3,"file":"legalChildren.js","sourceRoot":"","sources":["../../../src/domain/inquiryTree/legalChildren.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,EACL,gBAAgB,IAAI,kBAAkB,EACvC,MAAM,0CAA0C,CAAC;AA0BlD,uEAAuE;AACvE,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,CAAC;AAE9B,gFAAgF;AAChF,MAAM,CAAC,MAAM,gBAAgB,GAEf,kBAAkB,CAAC;AAEjC;;;;GAIG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG,CAC5B,CAA4B,EAC5B,CAA4B,EACnB,EAAE,CAAC;IACZ,MAAM,MAAM,GAAG,CAAC,IAA+B,EAAE,EAAE,CACjD,gBAAgB,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,CAAC,WAAW,EAAE,CAAC;IAC9C,OAAO,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,KAAK,MAAM,CAAC,CAAC,CAAC,CAAC;AAAA,CAC/C,CAAC;AAEF;;;GAGG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AAC,CAAC,IAAI,EAAE,EAAE,CAC3B,cAAc,CAAC,IAAI,EAAE,SAAS,CAAC,iBAAiB,CAAC,CAClD,CACF,CAAC;AAAA,CACH,CAAC"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { getSanitizedName as getSanitizedName$1 } from "../../utilities/entities/entityUtilities.mjs";
|
|
2
|
-
import { isEntityNode } from "./types.mjs";
|
|
3
2
|
//#region src/domain/inquiryTree/legalChildren.ts
|
|
4
3
|
/**
|
|
5
4
|
* Catalog reachability oracle — which entities may be a child of which, and which
|
|
@@ -11,9 +10,22 @@ import { isEntityNode } from "./types.mjs";
|
|
|
11
10
|
const MANY_TO_MANY = 2;
|
|
12
11
|
/** Last dot-segment of a fully-qualified entity name ('' for a missing one). */
|
|
13
12
|
const getSanitizedName = getSanitizedName$1;
|
|
13
|
+
/**
|
|
14
|
+
* THE entity-name rule: two names name the same entity when their simple
|
|
15
|
+
* (last dot-segment) names match, ignoring case and surrounding space — so a
|
|
16
|
+
* fully qualified name and its bare simple name agree.
|
|
17
|
+
*/
|
|
18
|
+
const sameEntityName = (a, b) => {
|
|
19
|
+
const simple = (name) => getSanitizedName(name).trim().toLowerCase();
|
|
20
|
+
return !!simple(a) && simple(a) === simple(b);
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* The catalog object `entityName` names: an exact match first (two entities
|
|
24
|
+
* may share a simple name), else sameEntityName.
|
|
25
|
+
*/
|
|
14
26
|
const findCatalogObject = (catalogObjects, entityName) => {
|
|
15
|
-
|
|
16
|
-
return catalogObjects.find((candidate) => candidate.catalogObjectName === entityName
|
|
27
|
+
if (!catalogObjects || !entityName) return void 0;
|
|
28
|
+
return catalogObjects.find((candidate) => candidate.catalogObjectName === entityName) ?? catalogObjects.find((candidate) => sameEntityName(candidate.catalogObjectName, entityName));
|
|
17
29
|
};
|
|
18
30
|
/**
|
|
19
31
|
* Entities legally reachable as children of `parentEntityName`: every entity the
|
|
@@ -26,43 +38,13 @@ const legalChildEntities = (catalogObjects, parentEntityName) => {
|
|
|
26
38
|
const referenceNames = [];
|
|
27
39
|
for (const property of parent.properties) {
|
|
28
40
|
if (!property.reference) continue;
|
|
29
|
-
referenceNames.push(
|
|
41
|
+
referenceNames.push(property.reference);
|
|
30
42
|
const assoc = property.extendedProperties?.childEntityAssoc;
|
|
31
|
-
if (assoc?.Cardinality === 2 && assoc.JoiningType) referenceNames.push(
|
|
43
|
+
if (assoc?.Cardinality === 2 && assoc.JoiningType) referenceNames.push(assoc.JoiningType);
|
|
32
44
|
}
|
|
33
|
-
return catalogObjects.filter((candidate) => referenceNames.
|
|
34
|
-
};
|
|
35
|
-
/** Does `candidateParentEntity` reference `childEntityName` (directly or via M2M)? */
|
|
36
|
-
const entityCanParent = (catalogObjects, candidateParentEntity, childEntityName) => {
|
|
37
|
-
const legal = legalChildEntities(catalogObjects, candidateParentEntity);
|
|
38
|
-
const childName = getSanitizedName(childEntityName);
|
|
39
|
-
return legal.some((entity) => getSanitizedName(entity.catalogObjectName) === childName);
|
|
40
|
-
};
|
|
41
|
-
const descendantIds = (tree, nodeId) => {
|
|
42
|
-
const ids = /* @__PURE__ */ new Set();
|
|
43
|
-
const collect = (parentId) => {
|
|
44
|
-
for (const node of tree.nodes) if (node.parentId === parentId && !ids.has(node.id)) {
|
|
45
|
-
ids.add(node.id);
|
|
46
|
-
collect(node.id);
|
|
47
|
-
}
|
|
48
|
-
};
|
|
49
|
-
collect(nodeId);
|
|
50
|
-
return ids;
|
|
51
|
-
};
|
|
52
|
-
/**
|
|
53
|
-
* Existing nodes that may parent a node of entity `childEntityName`. Excludes the
|
|
54
|
-
* node itself and its descendants (cycle prevention — NodeDetails.jsx:788-801).
|
|
55
|
-
*/
|
|
56
|
-
const legalParentNodes = (catalogObjects, tree, childEntityName, nodeId) => {
|
|
57
|
-
const excluded = nodeId ? descendantIds(tree, nodeId) : /* @__PURE__ */ new Set();
|
|
58
|
-
return tree.nodes.filter((node) => {
|
|
59
|
-
if (node.isDeleted || !isEntityNode(node)) return false;
|
|
60
|
-
if (nodeId && (node.id === nodeId || excluded.has(node.id))) return false;
|
|
61
|
-
const entity = node.properties.catalogReturnObject;
|
|
62
|
-
return !!entity && entityCanParent(catalogObjects, entity, childEntityName);
|
|
63
|
-
});
|
|
45
|
+
return catalogObjects.filter((candidate) => referenceNames.some((name) => sameEntityName(name, candidate.catalogObjectName)));
|
|
64
46
|
};
|
|
65
47
|
//#endregion
|
|
66
|
-
export { MANY_TO_MANY,
|
|
48
|
+
export { MANY_TO_MANY, findCatalogObject, getSanitizedName, legalChildEntities, sameEntityName };
|
|
67
49
|
|
|
68
50
|
//# sourceMappingURL=legalChildren.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"legalChildren.mjs","names":["
|
|
1
|
+
{"version":3,"file":"legalChildren.mjs","names":["getSanitizedName","sanitizeEntityName","CatalogObjectProperty","name","type","nullable","reference","extendedProperties","childEntityAssoc","Cardinality","JoiningType","key","CatalogObject","catalogObjectName","properties","MANY_TO_MANY","entityName","sameEntityName","a","b","simple","trim","toLowerCase","findCatalogObject","catalogObjects","undefined","find","candidate","legalChildEntities","parentEntityName","parent","referenceNames","property","push","assoc","filter","some"],"sources":["../../../src/domain/inquiryTree/legalChildren.ts"],"sourcesContent":["/**\n * Catalog reachability oracle — which entities may be a child of which, and which\n * existing nodes may parent a given entity. Ported from the legacy Entity/Parent\n * dropdown logic (NodeDetails.jsx:226-281 and the FormSpy possibleParents block,\n * NodeDetails.jsx:773-801), with the TB-0171 null-root crash fixed.\n */\nimport {\n getSanitizedName as sanitizeEntityName\n} from '../../utilities/entities/entityUtilities';\n\n/** Minimal catalog-object shape the oracle needs (subset of the apiCatalog payload). */\nexport interface CatalogObjectProperty {\n name?: string;\n type?: string;\n nullable?: boolean;\n reference?: string | null;\n extendedProperties?: {\n childEntityAssoc?: {\n /** CardinalityTypeEnums: 2 = Many_To_Many (unitySystemEnums.ts:171-176). */\n Cardinality?: number;\n JoiningType?: string;\n [key: string]: unknown;\n } | null;\n [key: string]: unknown;\n } | null;\n [key: string]: unknown;\n}\n\nexport interface CatalogObject {\n catalogObjectName: string;\n properties?: CatalogObjectProperty[];\n [key: string]: unknown;\n}\n\n/** CardinalityTypeEnums.Many_To_Many (unitySystemEnums.ts:171-176). */\nexport const MANY_TO_MANY = 2;\n\n/** Last dot-segment of a fully-qualified entity name ('' for a missing one). */\nexport const getSanitizedName: (\n entityName: string | null | undefined\n) => string = sanitizeEntityName;\n\n/**\n * THE entity-name rule: two names name the same entity when their simple\n * (last dot-segment) names match, ignoring case and surrounding space — so a\n * fully qualified name and its bare simple name agree.\n */\nexport const sameEntityName = (\n a: string | null | undefined,\n b: string | null | undefined\n): boolean => {\n const simple = (name: string | null | undefined) =>\n getSanitizedName(name).trim().toLowerCase();\n return !!simple(a) && simple(a) === simple(b);\n};\n\n/**\n * The catalog object `entityName` names: an exact match first (two entities\n * may share a simple name), else sameEntityName.\n */\nexport const findCatalogObject = (\n catalogObjects: readonly CatalogObject[] | null | undefined,\n entityName: string | null | undefined\n): CatalogObject | undefined => {\n if (!catalogObjects || !entityName) return undefined;\n return (\n catalogObjects.find(\n (candidate) => candidate.catalogObjectName === entityName\n ) ??\n catalogObjects.find((candidate) =>\n sameEntityName(candidate.catalogObjectName, entityName)\n )\n );\n};\n\n/**\n * Entities legally reachable as children of `parentEntityName`: every entity the\n * parent references directly, plus M2M targets' joining types. Returns [] when the\n * parent entity is not in the catalog (caller cannot judge → skip enforcement).\n */\nexport const legalChildEntities = (\n catalogObjects: CatalogObject[],\n parentEntityName: string\n): CatalogObject[] => {\n const parent = findCatalogObject(catalogObjects, parentEntityName);\n if (!parent?.properties) return [];\n\n const referenceNames: string[] = [];\n for (const property of parent.properties) {\n if (!property.reference) continue;\n referenceNames.push(property.reference);\n const assoc = property.extendedProperties?.childEntityAssoc;\n if (assoc?.Cardinality === MANY_TO_MANY && assoc.JoiningType) {\n referenceNames.push(assoc.JoiningType);\n }\n }\n\n return catalogObjects.filter((candidate) =>\n referenceNames.some((name) =>\n sameEntityName(name, candidate.catalogObjectName)\n )\n );\n};\n"],"mappings":";;;;;;;;;AAmCA,MAAae,eAAe;;AAG5B,MAAaf,mBAECC;;;;;;AAOd,MAAagB,kBACXC,GACAC,MACY;CACZ,MAAMC,UAAUjB,SACdH,iBAAiBG,KAAK,CAACkB,MAAM,CAACC,aAAa;AAC7C,QAAO,CAAC,CAACF,OAAOF,EAAE,IAAIE,OAAOF,EAAE,KAAKE,OAAOD,EAAE;;;;;;AAO/C,MAAaI,qBACXC,gBACAR,eAC8B;AAC9B,KAAI,CAACQ,kBAAkB,CAACR,WAAY,QAAOS,KAAAA;AAC3C,QACED,eAAeE,MACZC,cAAcA,UAAUd,sBAAsBG,WAChD,IACDQ,eAAeE,MAAMC,cACnBV,eAAeU,UAAUd,mBAAmBG,WAC9C,CAAC;;;;;;;AASL,MAAaY,sBACXJ,gBACAK,qBACoB;CACpB,MAAMC,SAASP,kBAAkBC,gBAAgBK,iBAAiB;AAClE,KAAI,CAACC,QAAQhB,WAAY,QAAO,EAAE;CAElC,MAAMiB,iBAA2B,EAAE;AACnC,MAAK,MAAMC,YAAYF,OAAOhB,YAAY;AACxC,MAAI,CAACkB,SAAS1B,UAAW;AACzByB,iBAAeE,KAAKD,SAAS1B,UAAU;EACvC,MAAM4B,QAAQF,SAASzB,oBAAoBC;AAC3C,MAAI0B,OAAOzB,gBAAAA,KAAgCyB,MAAMxB,YAC/CqB,gBAAeE,KAAKC,MAAMxB,YAAY;;AAI1C,QAAOc,eAAeW,QAAQR,cAC5BI,eAAeK,MAAMjC,SACnBc,eAAed,MAAMwB,UAAUd,kBACjC,CACF,CAAC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* How people read stored names — the one naming behind the builder's structure
|
|
3
|
+
* tree, its issues list, API check and copilot, and the domain's own messages.
|
|
4
|
+
*/
|
|
5
|
+
import { EntityNodeProperties, InquiryTree, TreeNode, ValidationIssue } from './types';
|
|
6
|
+
/**
|
|
7
|
+
* A stored entity/class name as people read it: the last dot-segment, camelCase
|
|
8
|
+
* and separators spaced, storage prefix dropped, capitalized —
|
|
9
|
+
* "Company.Module.WorkOrderHeader" → "Work Order Header", "service_request" →
|
|
10
|
+
* "Service request".
|
|
11
|
+
*/
|
|
12
|
+
export declare const humanizeName: (name: string) => string;
|
|
13
|
+
/**
|
|
14
|
+
* A stored level name for display: one still a class path or raw table name
|
|
15
|
+
* ("Univerus.…Models.Actor", "LUT_Asset_Type") is humanized; a typed name is
|
|
16
|
+
* shown verbatim. '' for an empty name.
|
|
17
|
+
*/
|
|
18
|
+
export declare const nodeDisplayLabel: (name: string) => string;
|
|
19
|
+
type Translate = (key: string) => string;
|
|
20
|
+
/**
|
|
21
|
+
* An entity level's name from its properties (an editor's draft included):
|
|
22
|
+
* its name, else the humanized entity — never `displayName`, the record-label
|
|
23
|
+
* template — else a fallback word through `translate`.
|
|
24
|
+
*/
|
|
25
|
+
export declare const entityLevelName: (properties: Pick<EntityNodeProperties, "catalogReturnObject" | "name">, translate?: Translate) => string;
|
|
26
|
+
/**
|
|
27
|
+
* A level's name as people read it: an entity level's entityLevelName, a group
|
|
28
|
+
* row's label. Never the node id: a level with none gets a fallback word,
|
|
29
|
+
* through `translate` (a UI caller passes its `t`).
|
|
30
|
+
*/
|
|
31
|
+
export declare const levelName: (node: TreeNode, translate?: Translate) => string;
|
|
32
|
+
/**
|
|
33
|
+
* An issue as one line — `"Level": message` when it points at a level of
|
|
34
|
+
* `tree` (a message never names its own), else the message alone.
|
|
35
|
+
*/
|
|
36
|
+
export declare const issueText: (tree: InquiryTree, issue: Pick<ValidationIssue, "message" | "nodeId">, translate?: Translate) => string;
|
|
37
|
+
export {};
|
|
38
|
+
//# sourceMappingURL=names.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"names.d.ts","sourceRoot":"","sources":["../../../src/domain/inquiryTree/names.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,EACL,oBAAoB,EACpB,WAAW,EACX,QAAQ,EACR,eAAe,EAEhB,MAAM,SAAS,CAAC;AAQjB;;;;;GAKG;AACH,eAAO,MAAM,YAAY,0BASxB,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,gBAAgB,0BAG5B,CAAC;AAEF,KAAK,SAAS,GAAG,CAAC,GAAG,EAAE,MAAM,KAAK,MAAM,CAAC;AAGzC;;;;GAIG;AACH,eAAO,MAAM,eAAe,2GAMA,CAAC;AAE7B;;;;GAIG;AACH,eAAO,MAAM,SAAS,mDAQrB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,SAAS,0GAUH,CAAC"}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* How people read stored names — the one naming behind the builder's structure
|
|
3
|
+
* tree, its issues list, API check and copilot, and the domain's own messages.
|
|
4
|
+
*/
|
|
5
|
+
import { isGroupNode } from './types';
|
|
6
|
+
import { getSanitizedName } from './legalChildren';
|
|
7
|
+
import { toWireString } from './wireString';
|
|
8
|
+
/** Storage prefixes (SQL views, lookup tables, product namespaces) that mean
|
|
9
|
+
* nothing to people — stripped for display only. */
|
|
10
|
+
const STORAGE_PREFIX = /^(vw|lut|tbl|udp)\s+/i;
|
|
11
|
+
/**
|
|
12
|
+
* A stored entity/class name as people read it: the last dot-segment, camelCase
|
|
13
|
+
* and separators spaced, storage prefix dropped, capitalized —
|
|
14
|
+
* "Company.Module.WorkOrderHeader" → "Work Order Header", "service_request" →
|
|
15
|
+
* "Service request".
|
|
16
|
+
*/
|
|
17
|
+
export const humanizeName = (name) => {
|
|
18
|
+
const spaced = getSanitizedName(name !== null && name !== void 0 ? name : '')
|
|
19
|
+
.replace(/[_-]+/g, ' ')
|
|
20
|
+
.replace(/([a-z0-9])([A-Z])/g, '$1 $2')
|
|
21
|
+
.replace(/\s+/g, ' ')
|
|
22
|
+
.trim();
|
|
23
|
+
// Never strip a prefix down to nothing ("Vw" alone stays "Vw").
|
|
24
|
+
const base = spaced.replace(STORAGE_PREFIX, '') || spaced;
|
|
25
|
+
return base.replace(/^./, (c) => c.toUpperCase());
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* A stored level name for display: one still a class path or raw table name
|
|
29
|
+
* ("Univerus.…Models.Actor", "LUT_Asset_Type") is humanized; a typed name is
|
|
30
|
+
* shown verbatim. '' for an empty name.
|
|
31
|
+
*/
|
|
32
|
+
export const nodeDisplayLabel = (name) => {
|
|
33
|
+
const raw = String(name !== null && name !== void 0 ? name : '').trim();
|
|
34
|
+
return /[._]/.test(raw) ? humanizeName(raw) : raw;
|
|
35
|
+
};
|
|
36
|
+
const untranslated = (key) => key;
|
|
37
|
+
/**
|
|
38
|
+
* An entity level's name from its properties (an editor's draft included):
|
|
39
|
+
* its name, else the humanized entity — never `displayName`, the record-label
|
|
40
|
+
* template — else a fallback word through `translate`.
|
|
41
|
+
*/
|
|
42
|
+
export const entityLevelName = (properties, translate = untranslated) => nodeDisplayLabel(toWireString(properties.name)) ||
|
|
43
|
+
humanizeName(properties.catalogReturnObject) ||
|
|
44
|
+
translate('Unnamed level');
|
|
45
|
+
/**
|
|
46
|
+
* A level's name as people read it: an entity level's entityLevelName, a group
|
|
47
|
+
* row's label. Never the node id: a level with none gets a fallback word,
|
|
48
|
+
* through `translate` (a UI caller passes its `t`).
|
|
49
|
+
*/
|
|
50
|
+
export const levelName = (node, translate = untranslated) => {
|
|
51
|
+
if (!node)
|
|
52
|
+
return translate('Unknown level');
|
|
53
|
+
if (isGroupNode(node))
|
|
54
|
+
return toWireString(node.properties.label).trim() || translate('Group row');
|
|
55
|
+
return entityLevelName(node.properties, translate);
|
|
56
|
+
};
|
|
57
|
+
/**
|
|
58
|
+
* An issue as one line — `"Level": message` when it points at a level of
|
|
59
|
+
* `tree` (a message never names its own), else the message alone.
|
|
60
|
+
*/
|
|
61
|
+
export const issueText = (tree, issue, translate) => tree && issue.nodeId
|
|
62
|
+
? `"${levelName(tree.nodes.find((node) => node.id === issue.nodeId), translate)}": ${issue.message}`
|
|
63
|
+
: issue.message;
|
|
64
|
+
//# sourceMappingURL=names.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"names.js","sourceRoot":"","sources":["../../../src/domain/inquiryTree/names.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,EAKL,WAAW,EACZ,MAAM,SAAS,CAAC;AACjB,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAE5C;uDACqD;AACrD,MAAM,cAAc,GAAG,uBAAuB,CAAC;AAE/C;;;;;GAKG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,IAA+B,EAAU,EAAE,CAAC;IACvE,MAAM,MAAM,GAAG,gBAAgB,CAAC,IAAI,aAAJ,IAAI,cAAJ,IAAI,GAAI,EAAE,CAAC;SACxC,OAAO,CAAC,QAAQ,EAAE,GAAG,CAAC;SACtB,OAAO,CAAC,oBAAoB,EAAE,OAAO,CAAC;SACtC,OAAO,CAAC,MAAM,EAAE,GAAG,CAAC;SACpB,IAAI,EAAE,CAAC;IACV,gEAAgE;IAChE,MAAM,IAAI,GAAG,MAAM,CAAC,OAAO,CAAC,cAAc,EAAE,EAAE,CAAC,IAAI,MAAM,CAAC;IAC1D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,WAAW,EAAE,CAAC,CAAC;AAAA,CACnD,CAAC;AAEF;;;;GAIG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,IAA+B,EAAU,EAAE,CAAC;IAC3E,MAAM,GAAG,GAAG,MAAM,CAAC,IAAI,aAAJ,IAAI,cAAJ,IAAI,GAAI,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC;IACtC,OAAO,MAAM,CAAC,IAAI,CAAC,G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
1
|
+
import { toWireString } from "./wireString.mjs";
|
|
2
|
+
import { getSanitizedName } from "./legalChildren.mjs";
|
|
3
|
+
import { isGroupNode } from "./types.mjs";
|
|
4
|
+
//#region src/domain/inquiryTree/names.ts
|
|
5
|
+
/**
|
|
6
|
+
* How people read stored names — the one naming behind the builder's structure
|
|
7
|
+
* tree, its issues list, API check and copilot, and the domain's own messages.
|
|
8
|
+
*/
|
|
9
|
+
/** Storage prefixes (SQL views, lookup tables, product namespaces) that mean
|
|
10
|
+
* nothing to people — stripped for display only. */
|
|
11
|
+
const STORAGE_PREFIX = /^(vw|lut|tbl|udp)\s+/i;
|
|
12
|
+
/**
|
|
13
|
+
* A stored entity/class name as people read it: the last dot-segment, camelCase
|
|
14
|
+
* and separators spaced, storage prefix dropped, capitalized —
|
|
15
|
+
* "Company.Module.WorkOrderHeader" → "Work Order Header", "service_request" →
|
|
16
|
+
* "Service request".
|
|
17
|
+
*/
|
|
18
|
+
const humanizeName = (name) => {
|
|
19
|
+
const spaced = getSanitizedName(name ?? "").replace(/[_-]+/g, " ").replace(/([a-z0-9])([A-Z])/g, "$1 $2").replace(/\s+/g, " ").trim();
|
|
20
|
+
return (spaced.replace(STORAGE_PREFIX, "") || spaced).replace(/^./, (c) => c.toUpperCase());
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* A stored level name for display: one still a class path or raw table name
|
|
24
|
+
* ("Univerus.…Models.Actor", "LUT_Asset_Type") is humanized; a typed name is
|
|
25
|
+
* shown verbatim. '' for an empty name.
|
|
26
|
+
*/
|
|
27
|
+
const nodeDisplayLabel = (name) => {
|
|
28
|
+
const raw = String(name ?? "").trim();
|
|
29
|
+
return /[._]/.test(raw) ? humanizeName(raw) : raw;
|
|
30
|
+
};
|
|
31
|
+
const untranslated = (key) => key;
|
|
32
|
+
/**
|
|
33
|
+
* An entity level's name from its properties (an editor's draft included):
|
|
34
|
+
* its name, else the humanized entity — never `displayName`, the record-label
|
|
35
|
+
* template — else a fallback word through `translate`.
|
|
36
|
+
*/
|
|
37
|
+
const entityLevelName = (properties, translate = untranslated) => nodeDisplayLabel(toWireString(properties.name)) || humanizeName(properties.catalogReturnObject) || translate("Unnamed level");
|
|
38
|
+
/**
|
|
39
|
+
* A level's name as people read it: an entity level's entityLevelName, a group
|
|
40
|
+
* row's label. Never the node id: a level with none gets a fallback word,
|
|
41
|
+
* through `translate` (a UI caller passes its `t`).
|
|
42
|
+
*/
|
|
43
|
+
const levelName = (node, translate = untranslated) => {
|
|
44
|
+
if (!node) return translate("Unknown level");
|
|
45
|
+
if (isGroupNode(node)) return toWireString(node.properties.label).trim() || translate("Group row");
|
|
46
|
+
return entityLevelName(node.properties, translate);
|
|
47
|
+
};
|
|
48
|
+
/**
|
|
49
|
+
* An issue as one line — `"Level": message` when it points at a level of
|
|
50
|
+
* `tree` (a message never names its own), else the message alone.
|
|
51
|
+
*/
|
|
52
|
+
const issueText = (tree, issue, translate) => tree && issue.nodeId ? `"${levelName(tree.nodes.find((node) => node.id === issue.nodeId), translate)}": ${issue.message}` : issue.message;
|
|
53
|
+
//#endregion
|
|
54
|
+
export { entityLevelName, humanizeName, issueText, levelName, nodeDisplayLabel };
|
|
55
|
+
|
|
56
|
+
//# sourceMappingURL=names.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"names.mjs","names":["EntityNodeProperties","InquiryTree","TreeNode","ValidationIssue","isGroupNode","getSanitizedName","toWireString","STORAGE_PREFIX","humanizeName","name","spaced","replace","trim","base","c","toUpperCase","nodeDisplayLabel","raw","String","test","Translate","key","untranslated","entityLevelName","properties","Pick","translate","catalogReturnObject","levelName","node","label","issueText","tree","issue","nodeId","nodes","find","id","message"],"sources":["../../../src/domain/inquiryTree/names.ts"],"sourcesContent":["/**\n * How people read stored names — the one naming behind the builder's structure\n * tree, its issues list, API check and copilot, and the domain's own messages.\n */\nimport {\n EntityNodeProperties,\n InquiryTree,\n TreeNode,\n ValidationIssue,\n isGroupNode\n} from './types';\nimport { getSanitizedName } from './legalChildren';\nimport { toWireString } from './wireString';\n\n/** Storage prefixes (SQL views, lookup tables, product namespaces) that mean\n * nothing to people — stripped for display only. */\nconst STORAGE_PREFIX = /^(vw|lut|tbl|udp)\\s+/i;\n\n/**\n * A stored entity/class name as people read it: the last dot-segment, camelCase\n * and separators spaced, storage prefix dropped, capitalized —\n * \"Company.Module.WorkOrderHeader\" → \"Work Order Header\", \"service_request\" →\n * \"Service request\".\n */\nexport const humanizeName = (name: string | null | undefined): string => {\n const spaced = getSanitizedName(name ?? '')\n .replace(/[_-]+/g, ' ')\n .replace(/([a-z0-9])([A-Z])/g, '$1 $2')\n .replace(/\\s+/g, ' ')\n .trim();\n // Never strip a prefix down to nothing (\"Vw\" alone stays \"Vw\").\n const base = spaced.replace(STORAGE_PREFIX, '') || spaced;\n return base.replace(/^./, (c) => c.toUpperCase());\n};\n\n/**\n * A stored level name for display: one still a class path or raw table name\n * (\"Univerus.…Models.Actor\", \"LUT_Asset_Type\") is humanized; a typed name is\n * shown verbatim. '' for an empty name.\n */\nexport const nodeDisplayLabel = (name: string | null | undefined): string => {\n const raw = String(name ?? '').trim();\n return /[._]/.test(raw) ? humanizeName(raw) : raw;\n};\n\ntype Translate = (key: string) => string;\nconst untranslated: Translate = (key) => key;\n\n/**\n * An entity level's name from its properties (an editor's draft included):\n * its name, else the humanized entity — never `displayName`, the record-label\n * template — else a fallback word through `translate`.\n */\nexport const entityLevelName = (\n properties: Pick<EntityNodeProperties, 'name' | 'catalogReturnObject'>,\n translate: Translate = untranslated\n): string =>\n nodeDisplayLabel(toWireString(properties.name)) ||\n humanizeName(properties.catalogReturnObject) ||\n translate('Unnamed level');\n\n/**\n * A level's name as people read it: an entity level's entityLevelName, a group\n * row's label. Never the node id: a level with none gets a fallback word,\n * through `translate` (a UI caller passes its `t`).\n */\nexport const levelName = (\n node: TreeNode | undefined,\n translate: Translate = untranslated\n): string => {\n if (!node) return translate('Unknown level');\n if (isGroupNode(node))\n return toWireString(node.properties.label).trim() || translate('Group row');\n return entityLevelName(node.properties, translate);\n};\n\n/**\n * An issue as one line — `\"Level\": message` when it points at a level of\n * `tree` (a message never names its own), else the message alone.\n */\nexport const issueText = (\n tree: InquiryTree | null | undefined,\n issue: Pick<ValidationIssue, 'nodeId' | 'message'>,\n translate?: Translate\n): string =>\n tree && issue.nodeId\n ? `\"${levelName(\n tree.nodes.find((node) => node.id === issue.nodeId),\n translate\n )}\": ${issue.message}`\n : issue.message;\n"],"mappings":";;;;;;;;;;AAgBA,MAAMO,iBAAiB;;;;;;;AAQvB,MAAaC,gBAAgBC,SAA4C;CACvE,MAAMC,SAASL,iBAAiBI,QAAQ,GAAG,CACxCE,QAAQ,UAAU,IAAI,CACtBA,QAAQ,sBAAsB,QAAQ,CACtCA,QAAQ,QAAQ,IAAI,CACpBC,MAAM;AAGT,SADaF,OAAOC,QAAQJ,gBAAgB,GAAG,IAAIG,QACvCC,QAAQ,OAAOG,MAAMA,EAAEC,aAAa,CAAC;;;;;;;AAQnD,MAAaC,oBAAoBP,SAA4C;CAC3E,MAAMQ,MAAMC,OAAOT,QAAQ,GAAG,CAACG,MAAM;AACrC,QAAO,OAAOO,KAAKF,IAAI,GAAGT,aAAaS,IAAI,GAAGA;;AAIhD,MAAMK,gBAA2BD,QAAQA;;;;;;AAOzC,MAAaE,mBACXC,YACAE,YAAuBJ,iBAEvBN,iBAAiBV,aAAakB,WAAWf,KAAK,CAAC,IAC/CD,aAAagB,WAAWG,oBAAoB,IAC5CD,UAAU,gBAAgB;;;;;;AAO5B,MAAaE,aACXC,MACAH,YAAuBJ,iBACZ;AACX,KAAI,CAACO,KAAM,QAAOH,UAAU,gBAAgB;AAC5C,KAAItB,YAAYyB,KAAK,CACnB,QAAOvB,aAAauB,KAAKL,WAAWM,MAAM,CAAClB,MAAM,IAAIc,UAAU,YAAY;AAC7E,QAAOH,gBAAgBM,KAAKL,YAAYE,UAAU;;;;;;AAOpD,MAAaK,aACXC,MACAC,OACAP,cAEAM,QAAQC,MAAMC,SACV,IAAIN,UACFI,KAAKG,MAAMC,MAAMP,SAASA,KAAKQ,OAAOJ,MAAMC,OAAO,EACnDR,UACD,CAAA,KAAMO,MAAMK,YACbL,MAAMK"}
|
|
@@ -19,14 +19,18 @@ export declare class TreeOperationError extends Error {
|
|
|
19
19
|
export interface AddNodeArgs {
|
|
20
20
|
/** Caller supplies the id (app layer: uuid(); tests: fixed ids) — keeps ops deterministic. */
|
|
21
21
|
id: string;
|
|
22
|
-
parentId: string
|
|
22
|
+
parentId: string;
|
|
23
23
|
properties: EntityNodeProperties;
|
|
24
24
|
}
|
|
25
25
|
/** Append a new entity node (legacy appends — never disturbs existing index joins). */
|
|
26
26
|
export declare const addNode: (tree: InquiryTree, args: AddNodeArgs) => OperationResult;
|
|
27
27
|
/** Merge a partial patch into a node's properties (undefined values remove the key). */
|
|
28
28
|
export declare const updateNodeProperties: (tree: InquiryTree, nodeId: string, patch: Partial<EntityNodeProperties>) => OperationResult;
|
|
29
|
-
/**
|
|
29
|
+
/**
|
|
30
|
+
* Replace a node's properties wholesale (node-config save path). A deleted
|
|
31
|
+
* node comes back (a placeholder re-linked); a live one gains no `isDeleted`
|
|
32
|
+
* key, so editing it and changing it back reads as no change.
|
|
33
|
+
*/
|
|
30
34
|
export declare const replaceNodeProperties: (tree: InquiryTree, nodeId: string, properties: EntityNodeProperties) => OperationResult;
|
|
31
35
|
/** Re-parent a node. Refuses cycles and root demotion/promotion that breaks the single root. */
|
|
32
36
|
export declare const moveNode: (tree: InquiryTree, nodeId: string, newParentId: string) => OperationResult;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../src/domain/inquiryTree/operations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,EAEL,oBAAoB,EACpB,WAAW,EAEX,eAAe,EAEhB,MAAM,SAAS,CAAC;AAEjB,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,WAAW,CAA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vD,eAAO,MAAM,WAAW,yEAqBvB,CAAC;AAEF;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,UAAU,wDA6CtB,CAAC;AAEF,yFAAyF;AACzF,eAAO,MAAM,qBAAqB,wDAwBjC,CAAC"}
|
|
@@ -35,8 +35,8 @@ export const addNode = (tree, args) => {
|
|
|
35
35
|
if (tree.nodes.some((node) => node.id === args.id)) {
|
|
36
36
|
throw new TreeOperationError('duplicate-node-id', `Node id ${args.id} already exists.`, args.id);
|
|
37
37
|
}
|
|
38
|
-
if (args.parentId
|
|
39
|
-
const hasRoot = tree.nodes.some((node) => node.parentId
|
|
38
|
+
if (!args.parentId) {
|
|
39
|
+
const hasRoot = tree.nodes.some((node) => !node.parentId && !node.isDeleted);
|
|
40
40
|
if (hasRoot) {
|
|
41
41
|
throw new TreeOperationError('multiple-roots', 'The tree already has a root node; new nodes need a parent.');
|
|
42
42
|
}
|
|
@@ -71,22 +71,25 @@ export const updateNodeProperties = (tree, nodeId, patch) => {
|
|
|
71
71
|
: candidate);
|
|
72
72
|
return { tree: withNodes(tree, nodes), warnings: [] };
|
|
73
73
|
};
|
|
74
|
-
/**
|
|
74
|
+
/**
|
|
75
|
+
* Replace a node's properties wholesale (node-config save path). A deleted
|
|
76
|
+
* node comes back (a placeholder re-linked); a live one gains no `isDeleted`
|
|
77
|
+
* key, so editing it and changing it back reads as no change.
|
|
78
|
+
*/
|
|
75
79
|
export const replaceNodeProperties = (tree, nodeId, properties) => {
|
|
76
80
|
const node = requireNode(tree, nodeId);
|
|
77
81
|
if (!isEntityNode(node)) {
|
|
78
82
|
throw new TreeOperationError('not-entity-node', `Node ${nodeId} is a group node.`, nodeId);
|
|
79
83
|
}
|
|
80
84
|
const nodes = tree.nodes.map((candidate) => candidate.id === nodeId
|
|
81
|
-
? Object.assign(Object.assign({}, candidate), { properties, isDeleted: false })
|
|
85
|
+
? Object.assign(Object.assign(Object.assign({}, candidate), { properties }), (candidate.isDeleted ? { isDeleted: false } : {}))
|
|
82
86
|
: candidate);
|
|
83
87
|
return { tree: withNodes(tree, nodes), warnings: [] };
|
|
84
88
|
};
|
|
85
89
|
/** Re-parent a node. Refuses cycles and root demotion/promotion that breaks the single root. */
|
|
86
90
|
export const moveNode = (tree, nodeId, newParentId) => {
|
|
87
|
-
|
|
88
|
-
if (newParentId
|
|
89
|
-
requireNode(tree, newParentId);
|
|
91
|
+
requireNode(tree, nodeId);
|
|
92
|
+
if (newParentId) {
|
|
90
93
|
if (newParentId === nodeId) {
|
|
91
94
|
throw new TreeOperationError('cycle', 'A node cannot be its own parent.', nodeId);
|
|
92
95
|
}
|
|
@@ -95,13 +98,12 @@ export const moveNode = (tree, nodeId, newParentId) => {
|
|
|
95
98
|
if (cursor.id === nodeId) {
|
|
96
99
|
throw new TreeOperationError('cycle', 'Cannot move a node under one of its own descendants.', nodeId);
|
|
97
100
|
}
|
|
98
|
-
cursor =
|
|
99
|
-
cursor.parentId
|
|
100
|
-
|
|
101
|
-
: undefined;
|
|
101
|
+
cursor = cursor.parentId
|
|
102
|
+
? tree.nodes.find((n) => n.id === cursor.parentId)
|
|
103
|
+
: undefined;
|
|
102
104
|
}
|
|
103
105
|
}
|
|
104
|
-
else if (tree.nodes.some((n) => n.parentId
|
|
106
|
+
else if (tree.nodes.some((n) => !n.parentId && !n.isDeleted && n.id !== nodeId)) {
|
|
105
107
|
throw new TreeOperationError('multiple-roots', 'The tree already has a root; a second root is not allowed.', nodeId);
|
|
106
108
|
}
|
|
107
109
|
const nodes = tree.nodes.map((candidate) => candidate.id === nodeId
|
|
@@ -142,7 +144,7 @@ export const removeNode = (tree, nodeId) => {
|
|
|
142
144
|
var _a;
|
|
143
145
|
const node = requireNode(tree, nodeId);
|
|
144
146
|
const children = childrenOf(tree, nodeId);
|
|
145
|
-
const isRoot = node.parentId
|
|
147
|
+
const isRoot = !node.parentId;
|
|
146
148
|
if (isRoot && children.length > 1) {
|
|
147
149
|
throw new TreeOperationError('multi-child-root-delete', 'Deleting the root would orphan its children; delete or move them first, or use "Delete Node and Children".', nodeId);
|
|
148
150
|
}
|
|
@@ -153,7 +155,7 @@ export const removeNode = (tree, nodeId) => {
|
|
|
153
155
|
const nodes = tree.nodes.filter((candidate) => candidate.id !== nodeId);
|
|
154
156
|
const reparented = isRoot
|
|
155
157
|
? nodes.map((candidate) => candidate.parentId === nodeId
|
|
156
|
-
? Object.assign(Object.assign({}, candidate), { parentId:
|
|
158
|
+
? Object.assign(Object.assign({}, candidate), { parentId: '' })
|
|
157
159
|
: candidate)
|
|
158
160
|
: nodes;
|
|
159
161
|
return {
|
|
@@ -174,8 +176,7 @@ export const removeNodeAndChildren = (tree, nodeId) => {
|
|
|
174
176
|
while (grew) {
|
|
175
177
|
grew = false;
|
|
176
178
|
for (const node of tree.nodes) {
|
|
177
|
-
if (node.parentId
|
|
178
|
-
toDelete.has(node.parentId) &&
|
|
179
|
+
if (toDelete.has(node.parentId) &&
|
|
179
180
|
!toDelete.has(node.id)) {
|
|
180
181
|
toDelete.add(node.id);
|
|
181
182
|
grew = true;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../src/domain/inquiryTree/operations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,EAML,YAAY,EACb,MAAM,SAAS,CAAC;AAOjB,4FAA0F;AAC1F,MAAM,OAAO,kBAAmB,SAAQ,KAAK;IAC3C,IAAI,CAAS;IACb,MAAM,CAAU;IAEhB,YAAY,IAAY,EAAE,OAAe,EAAE,MAAe,EAAE;QAC1D,KAAK,CAAC,OAAO,CAAC,CAAC;QACf,IAAI,CAAC,IAAI,GAAG,oBAAoB,CAAC;QACjC,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IAAA,CACtB;CACF;AAED,MAAM,WAAW,GAAG,CAAC,IAAiB,EAAE,MAAc,EAAY,EAAE,CAAC;IACnE,MAAM,IAAI,GAAG,I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