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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"view.js","sourceRoot":"","sources":["../../../src/domain/inquiryTree/view.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"view.js","sourceRoot":"","sources":["../../../src/domain/inquiryTree/view.ts"],"names":[],"mappings":"AAOA,yFAAuF;AACvF;;;;;GAKG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG,CAC1B,OAAe,EACuB,EAAE,CAAC;IACzC,MAAM,IAAI,GAAG,OAAO,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;IAClC,IAAI,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AAE,CACvC,CAAC;IAAA,CACH,CAAC;IACF,MAAM,IAAI,GAAG,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;IAC9C,2EAA2E;IAC3E,uBAAuB;IACvB,OAAO,IAAI,CAAC,MAAM,CAChB,CAAC,WAAW,EAAE,IAAI,EAAE,CAAC,EAAE,EAAE,CACvB,WAAW;QACX,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,SAAS,IAAI,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC;QAC/D,IAAI,CAAC,IAAI,EACX,EAAE,CACH,CAAC;AAAA,CACH,CAAC"}
|
|
@@ -1,10 +1,4 @@
|
|
|
1
|
-
import { isEntityNode } from "./types.mjs";
|
|
2
1
|
//#region src/domain/inquiryTree/view.ts
|
|
3
|
-
/**
|
|
4
|
-
* Shared read utilities over the typed tree — non-mutating counterparts of the
|
|
5
|
-
* legacy TreeUtils display helpers. Designed for reuse by the Inquiry renderer
|
|
6
|
-
* during inquiry-modernization and by the AI copilot's describe tools.
|
|
7
|
-
*/
|
|
8
2
|
/** Nested view wrapper — the canonical node is referenced, never copied or mutated. */
|
|
9
3
|
/**
|
|
10
4
|
* `[n]` in a path segment such as `items[2]` — the text between the first
|
|
@@ -39,39 +33,16 @@ const buildTreeView = (tree) => {
|
|
|
39
33
|
const roots = [];
|
|
40
34
|
for (const wrapper of wrappers.values()) {
|
|
41
35
|
const parentId = wrapper.node.parentId;
|
|
42
|
-
const parent = parentId
|
|
36
|
+
const parent = parentId ? wrappers.get(parentId) : void 0;
|
|
43
37
|
if (parent) parent.children.push(wrapper);
|
|
44
|
-
else if (parentId
|
|
38
|
+
else if (!parentId) roots.push(wrapper);
|
|
45
39
|
}
|
|
46
40
|
return roots;
|
|
47
41
|
};
|
|
48
42
|
const findNode = (tree, nodeId) => tree.nodes.find((node) => node.id === nodeId);
|
|
49
43
|
const findNodeIndex = (tree, nodeId) => tree.nodes.findIndex((node) => node.id === nodeId);
|
|
50
44
|
const getChildren = (tree, nodeId) => tree.nodes.filter((node) => node.parentId === nodeId && !node.isDeleted);
|
|
51
|
-
const getRoot = (tree) => tree.nodes.find((node) => node.parentId
|
|
52
|
-
const getAncestorIds = (tree, nodeId) => {
|
|
53
|
-
const ids = [];
|
|
54
|
-
let current = findNode(tree, nodeId);
|
|
55
|
-
const seen = new Set([nodeId]);
|
|
56
|
-
while (current && current.parentId !== null) {
|
|
57
|
-
if (seen.has(current.parentId)) break;
|
|
58
|
-
ids.push(current.parentId);
|
|
59
|
-
seen.add(current.parentId);
|
|
60
|
-
current = findNode(tree, current.parentId);
|
|
61
|
-
}
|
|
62
|
-
return ids;
|
|
63
|
-
};
|
|
64
|
-
const getDescendantIds = (tree, nodeId) => {
|
|
65
|
-
const ids = [];
|
|
66
|
-
const collect = (parentId) => {
|
|
67
|
-
for (const node of tree.nodes) if (node.parentId === parentId && !ids.includes(node.id)) {
|
|
68
|
-
ids.push(node.id);
|
|
69
|
-
collect(node.id);
|
|
70
|
-
}
|
|
71
|
-
};
|
|
72
|
-
collect(nodeId);
|
|
73
|
-
return ids;
|
|
74
|
-
};
|
|
45
|
+
const getRoot = (tree) => tree.nodes.find((node) => !node.parentId && !node.isDeleted);
|
|
75
46
|
/**
|
|
76
47
|
* Wire DateTime values arrive as ISO-8601 strings (`2024-11-08T00:00:00`).
|
|
77
48
|
* The label template stores field names only, so there is no field-type info at
|
|
@@ -109,12 +80,15 @@ const toDisplayValue = (value) => {
|
|
|
109
80
|
};
|
|
110
81
|
/**
|
|
111
82
|
* Resolve a display template against a data object — port of the legacy
|
|
112
|
-
* formatTreeLabel (TreeUtils.js:1484-1560), quirks preserved on purpose (
|
|
113
|
-
*
|
|
114
|
-
*
|
|
83
|
+
* formatTreeLabel (TreeUtils.js:1484-1560), quirks preserved on purpose (all-quotes
|
|
84
|
+
* stripping, `[n]` indexes ignored at position 0) because Inquiry labels must
|
|
85
|
+
* render identically.
|
|
115
86
|
*
|
|
116
87
|
* Deliberate behaviour changes (approved), both carried by the legacy resolver too
|
|
117
88
|
* so v1 and v2 still render the same:
|
|
89
|
+
* - quoted literals render as written — a space is added only between two
|
|
90
|
+
* adjacent fields — and the label is built from its parts, so a value is
|
|
91
|
+
* never substituted into an earlier literal or value;
|
|
118
92
|
* - resolved ISO-8601 DateTime values render as locale dates, not wire strings;
|
|
119
93
|
* - a field's stamped `<field>LookupValue` wins over its raw value, so an FK
|
|
120
94
|
* label chip renders the lookup's display text (stamping is v2-only, which
|
|
@@ -122,7 +96,7 @@ const toDisplayValue = (value) => {
|
|
|
122
96
|
*/
|
|
123
97
|
const formatTreeLabel = (label, obj) => {
|
|
124
98
|
const keys = (label?.split("+"))?.map((field) => field.trim());
|
|
125
|
-
if (!keys) return
|
|
99
|
+
if (!keys) return "";
|
|
126
100
|
const skippableKeys = [];
|
|
127
101
|
const updatedKeys = keys.map((key, index) => {
|
|
128
102
|
if (key.charAt(0) === "\"") {
|
|
@@ -151,32 +125,28 @@ const formatTreeLabel = (label, obj) => {
|
|
|
151
125
|
}
|
|
152
126
|
values.push(toDisplayValue(readLabelValue(obj, property)));
|
|
153
127
|
}
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
};
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
const
|
|
166
|
-
const
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
if (
|
|
170
|
-
|
|
171
|
-
return;
|
|
172
|
-
}
|
|
173
|
-
if (key) keys.push(key);
|
|
174
|
-
current.children.forEach(walk);
|
|
128
|
+
const parts = updatedKeys.map((key, k) => {
|
|
129
|
+
const isLiteral = skippableKeys.includes(k);
|
|
130
|
+
return {
|
|
131
|
+
isLiteral,
|
|
132
|
+
text: isLiteral ? key : values[k] ? String(values[k]) : ""
|
|
133
|
+
};
|
|
134
|
+
});
|
|
135
|
+
const fieldBeside = (k, step) => {
|
|
136
|
+
for (let i = k + step; i >= 0 && i < parts.length; i += step) if (!parts[i].isLiteral) return parts[i];
|
|
137
|
+
return null;
|
|
138
|
+
};
|
|
139
|
+
const lastField = parts.reduce((last, part, k) => part.isLiteral ? last : k, -1);
|
|
140
|
+
const keeps = (k) => {
|
|
141
|
+
const part = parts[k];
|
|
142
|
+
if (!part.isLiteral) return part.text !== "";
|
|
143
|
+
if (k > lastField && lastField > 0 && parts[lastField - 1].isLiteral && !keeps(lastField - 1)) return false;
|
|
144
|
+
return [fieldBeside(k, -1), fieldBeside(k, 1)].every((field) => !field || field.text !== "");
|
|
175
145
|
};
|
|
176
|
-
|
|
177
|
-
return
|
|
146
|
+
const kept = parts.filter((_, k) => keeps(k));
|
|
147
|
+
return kept.reduce((displayName, part, k) => displayName + (k > 0 && !part.isLiteral && !kept[k - 1].isLiteral ? " " : "") + part.text, "");
|
|
178
148
|
};
|
|
179
149
|
//#endregion
|
|
180
|
-
export { bracketIndex, buildTreeView,
|
|
150
|
+
export { bracketIndex, buildTreeView, findNode, findNodeIndex, formatTreeLabel, getChildren, getRoot };
|
|
181
151
|
|
|
182
152
|
//# sourceMappingURL=view.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"view.mjs","names":["InquiryTree","TreeNode","isEntityNode","bracketIndex","segment","index","at","open","indexOf","close","slice","TreeViewNode","node","children","buildTreeView","tree","wrappers","Map","nodes","forEach","isDeleted","set","id","roots","wrapper","values","parentId","parent","get","undefined","push","findNode","nodeId","find","findNodeIndex","findIndex","getChildren","filter","getRoot","getAncestorIds","ids","current","seen","Set","has","add","getDescendantIds","collect","includes","ISO_DATE_TIME","formatDateTimeValue","value","date","Date","Number","isNaN","getTime","hasTimeOfDay","getHours","getMinutes","getSeconds","toLocaleString","year","month","day","hour","minute","toLocaleDateString","readLabelValue","source","Record","property","toDisplayValue","toString","test","formatTreeLabel","label","obj","fields","split","keys","map","field","trim","skippableKeys","updatedKeys","key","charAt","replace","j","length","constructedValue","bracket","arrIndex","parseInt","objIndex","formattedProperty","substring","container","displayName","join","k","String","catalogObjectKeysInOrder","view","Array","walk","properties","catalogObjectKey"],"sources":["../../../src/domain/inquiryTree/view.ts"],"sourcesContent":["/**\n * Shared read utilities over the typed tree — non-mutating counterparts of the\n * legacy TreeUtils display helpers. Designed for reuse by the Inquiry renderer\n * during inquiry-modernization and by the AI copilot's describe tools.\n */\nimport { InquiryTree, TreeNode, isEntityNode } from './types';\n\n/** Nested view wrapper — the canonical node is referenced, never copied or mutated. */\n/**\n * `[n]` in a path segment such as `items[2]` — the text between the first\n * bracket pair and where it starts. Index arithmetic instead of a regex: an\n * unanchored `/\\[([^\\]]*)\\]/` rescans from every `[` and CodeQL flags it as\n * polynomial on adversarial paths.\n */\nexport const bracketIndex = (\n segment: string\n): { index: string; at: number } | null => {\n const open = segment.indexOf('[');\n if (open === -1) return null;\n const close = segment.indexOf(']', open + 1);\n if (close === -1) return null;\n return { index: segment.slice(open + 1, close), at: open };\n};\n\nexport interface TreeViewNode {\n node: TreeNode;\n /** Flat-array index — the backend's panel/node-action join key (§2). */\n index: number;\n children: TreeViewNode[];\n}\n\n/**\n * Flat → nested, without mutating nodes (legacy makeTreeStructure mutated in place).\n * Soft-deleted nodes are skipped; children keep flat-array order.\n */\nexport const buildTreeView = (tree: InquiryTree): TreeViewNode[] => {\n const wrappers = new Map<string, TreeViewNode>();\n tree.nodes.forEach((node, index) => {\n if (node.isDeleted) return;\n wrappers.set(node.id, { node, index, children: [] });\n });\n const roots: TreeViewNode[] = [];\n for (const wrapper of wrappers.values()) {\n const parentId = wrapper.node.parentId;\n const parent = parentId !== null ? wrappers.get(parentId) : undefined;\n if (parent) {\n parent.children.push(wrapper);\n } else if (parentId === null) {\n roots.push(wrapper);\n }\n // Nodes pointing at a missing/deleted parent are unreachable — validation reports them.\n }\n return roots;\n};\n\nexport const findNode = (\n tree: InquiryTree,\n nodeId: string\n): TreeNode | undefined => tree.nodes.find((node) => node.id === nodeId);\n\nexport const findNodeIndex = (tree: InquiryTree, nodeId: string): number =>\n tree.nodes.findIndex((node) => node.id === nodeId);\n\nexport const getChildren = (tree: InquiryTree, nodeId: string): TreeNode[] =>\n tree.nodes.filter((node) => node.parentId === nodeId && !node.isDeleted);\n\nexport const getRoot = (tree: InquiryTree): TreeNode | undefined =>\n tree.nodes.find((node) => node.parentId === null && !node.isDeleted);\n\nexport const getAncestorIds = (tree: InquiryTree, nodeId: string): string[] => {\n const ids: string[] = [];\n let current = findNode(tree, nodeId);\n const seen = new Set<string>([nodeId]);\n while (current && current.parentId !== null) {\n if (seen.has(current.parentId)) break; // cycle guard — validation reports it\n ids.push(current.parentId);\n seen.add(current.parentId);\n current = findNode(tree, current.parentId);\n }\n return ids;\n};\n\nexport const getDescendantIds = (\n tree: InquiryTree,\n nodeId: string\n): string[] => {\n const ids: string[] = [];\n const collect = (parentId: string): void => {\n for (const node of tree.nodes) {\n if (node.parentId === parentId && !ids.includes(node.id)) {\n ids.push(node.id);\n collect(node.id);\n }\n }\n };\n collect(nodeId);\n return ids;\n};\n\n/**\n * Wire DateTime values arrive as ISO-8601 strings (`2024-11-08T00:00:00`).\n * The label template stores field names only, so there is no field-type info at\n * this layer — the anchored shape below is what identifies them.\n */\nconst ISO_DATE_TIME =\n /^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}(:\\d{2}(\\.\\d+)?)?(Z|[+-]\\d{2}:?\\d{2})?$/;\n\n/** Locale date, plus the time when it is not midnight. */\nconst formatDateTimeValue = (value: string): string => {\n const date = new Date(value);\n if (Number.isNaN(date.getTime())) return value;\n const hasTimeOfDay =\n date.getHours() !== 0 || date.getMinutes() !== 0 || date.getSeconds() !== 0;\n return hasTimeOfDay\n ? date.toLocaleString(undefined, {\n year: 'numeric',\n month: 'short',\n day: 'numeric',\n hour: 'numeric',\n minute: '2-digit'\n })\n : date.toLocaleDateString(undefined, {\n year: 'numeric',\n month: 'short',\n day: 'numeric'\n });\n};\n\n/**\n * Read a template property, preferring the lookup display text the data layer\n * stamps beside it (`<field>LookupValue` — the same rule nodeView's\n * readRecordValue applies). A label chip on a FK field (`positionId`) then\n * renders the resolved name; unstamped fields read exactly as before.\n */\nconst readLabelValue = (\n source: Record<string, unknown> | undefined,\n property: string\n): unknown => source?.[`${property}LookupValue`] ?? source?.[property];\n\n/** Value → display string: legacy boolean/number stringify, plus DateTime formatting. */\nconst toDisplayValue = (value: unknown): unknown => {\n if (typeof value === 'boolean' || typeof value === 'number') {\n return value.toString();\n }\n if (typeof value === 'string' && ISO_DATE_TIME.test(value)) {\n return formatDateTimeValue(value);\n }\n return value;\n};\n\n/**\n * Resolve a display template against a data object — port of the legacy\n * formatTreeLabel (TreeUtils.js:1484-1560), quirks preserved on purpose (in-string\n * substring replacement, all-quotes stripping, `[n]` indexes ignored at position 0)\n * because Inquiry labels must render identically.\n *\n * Deliberate behaviour changes (approved), both carried by the legacy resolver too\n * so v1 and v2 still render the same:\n * - resolved ISO-8601 DateTime values render as locale dates, not wire strings;\n * - a field's stamped `<field>LookupValue` wins over its raw value, so an FK\n * label chip renders the lookup's display text (stamping is v2-only, which\n * leaves the legacy resolver's behaviour unchanged).\n */\nexport const formatTreeLabel = (\n label: string | null | undefined,\n obj: Record<string, unknown>\n): string => {\n const fields = label?.split('+');\n const keys = fields?.map((field) => field.trim());\n if (!keys) return label as unknown as string;\n\n const skippableKeys: number[] = [];\n const updatedKeys = keys.map((key, index) => {\n if (key.charAt(0) === '\"') {\n skippableKeys.push(index);\n return key.replace(/\"/g, '');\n }\n return key;\n });\n\n const values: unknown[] = [];\n for (let j = 0; j < keys.length; j++) {\n const property = keys[j];\n if (property && property.split('.').length > 1) {\n let constructedValue: unknown = null;\n for (const segment of property.split('.')) {\n const bracket = bracketIndex(segment);\n const arrIndex = bracket ? parseInt(bracket.index, 10) : null;\n const objIndex = bracket ? bracket.at : null;\n if (typeof arrIndex === 'number' && objIndex) {\n const formattedProperty = segment.substring(0, objIndex);\n const container = constructedValue\n ? (constructedValue as Record<string, unknown>)[formattedProperty]\n : obj[formattedProperty];\n if (container) constructedValue = (container as unknown[])[arrIndex];\n } else {\n constructedValue = readLabelValue(\n constructedValue\n ? (constructedValue as Record<string, unknown>)\n : obj,\n segment\n );\n }\n }\n values.push(toDisplayValue(constructedValue));\n continue;\n }\n values.push(toDisplayValue(readLabelValue(obj, property)));\n }\n\n let displayName = updatedKeys.join('+');\n for (let k = 0; k < updatedKeys.length; k++) {\n if (skippableKeys.includes(k)) continue;\n displayName = displayName.replace(\n updatedKeys[k],\n // Legacy parity: TreeUtils stringified whatever the field held, objects\n // included — labels must render identically.\n // eslint-disable-next-line @typescript-eslint/no-base-to-string\n values[k] ? String(values[k]) : ''\n );\n }\n return displayName.split('+').join(' ');\n};\n\n/**\n * Pre-order catalogObjectKeys — port of processCatalogObjectKeysInOrder\n * (TreeUtils.js:355-368), used by the renderer to walk query results.\n */\nexport const catalogObjectKeysInOrder = (\n view: TreeViewNode\n): Array<string | undefined> => {\n const keys: Array<string | undefined> = [];\n const walk = (current: TreeViewNode): void => {\n const key = isEntityNode(current.node)\n ? current.node.properties.catalogObjectKey\n : undefined;\n if (current.children.length === 0) {\n keys.push(key);\n return;\n }\n if (key) keys.push(key);\n current.children.forEach(walk);\n };\n walk(view);\n return keys;\n};\n"],"mappings":";;;;;;;;;;;;;;AAcA,MAAaG,gBACXC,YACyC;CACzC,MAAMG,OAAOH,QAAQI,QAAQ,IAAI;AACjC,KAAID,SAAS,GAAI,QAAO;CACxB,MAAME,QAAQL,QAAQI,QAAQ,KAAKD,OAAO,EAAE;AAC5C,KAAIE,UAAU,GAAI,QAAO;AACzB,QAAO;EAAEJ,OAAOD,QAAQM,MAAMH,OAAO,GAAGE,MAAM;EAAEH,IAAIC;EAAM;;;;;;AAc5D,MAAaO,iBAAiBC,SAA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AAI,CAACqB,KAAK,IAAI;;;;;;AAOzC,MAAaG,4BACXC,SAC8B;CAC9B,MAAMxB,OAAkC,EAAE;CAC1C,MAAM0B,QAAQjE,YAAgC;EAC5C,MAAM6C,MAAMpF,aAAauC,QAAQ7B,KAAK,GAClC6B,QAAQ7B,KAAK+F,WAAWC,mBACxB/E,KAAAA;AACJ,MAAIY,QAAQ5B,SAAS6E,WAAW,GAAG;AACjCV,QAAKlD,KAAKwD,IAAI;AACd;;AAEF,MAAIA,IAAKN,MAAKlD,KAAKwD,IAAI;AACvB7C,UAAQ5B,SAASM,QAAQuF,KAAK;;AAEhCA,MAAKF,KAAK;AACV,QAAOxB"}
|
|
1
|
+
{"version":3,"file":"view.mjs","names":["InquiryTree","TreeNode","bracketIndex","segment","index","at","open","indexOf","close","slice","TreeViewNode","node","children","buildTreeView","tree","wrappers","Map","nodes","forEach","isDeleted","set","id","roots","wrapper","values","parentId","parent","get","undefined","push","findNode","nodeId","find","findNodeIndex","findIndex","getChildren","filter","getRoot","ISO_DATE_TIME","formatDateTimeValue","value","date","Date","Number","isNaN","getTime","hasTimeOfDay","getHours","getMinutes","getSeconds","toLocaleString","year","month","day","hour","minute","toLocaleDateString","readLabelValue","source","Record","property","toDisplayValue","toString","test","formatTreeLabel","label","obj","fields","split","keys","map","field","trim","skippableKeys","updatedKeys","key","charAt","replace","j","length","constructedValue","bracket","arrIndex","parseInt","objIndex","formattedProperty","substring","container","parts","k","isLiteral","includes","text","String","fieldBeside","step","i","lastField","reduce","last","part","keeps","every","kept","_","displayName"],"sources":["../../../src/domain/inquiryTree/view.ts"],"sourcesContent":["/**\n * Shared read utilities over the typed tree — non-mutating counterparts of the\n * legacy TreeUtils display helpers, used by the builder, the Inquiry viewer and\n * the copilots' describe tools.\n */\nimport { InquiryTree, TreeNode } from './types';\n\n/** Nested view wrapper — the canonical node is referenced, never copied or mutated. */\n/**\n * `[n]` in a path segment such as `items[2]` — the text between the first\n * bracket pair and where it starts. Index arithmetic instead of a regex: an\n * unanchored `/\\[([^\\]]*)\\]/` rescans from every `[` and CodeQL flags it as\n * polynomial on adversarial paths.\n */\nexport const bracketIndex = (\n segment: string\n): { index: string; at: number } | null => {\n const open = segment.indexOf('[');\n if (open === -1) return null;\n const close = segment.indexOf(']', open + 1);\n if (close === -1) return null;\n return { index: segment.slice(open + 1, close), at: open };\n};\n\nexport interface TreeViewNode {\n node: TreeNode;\n /** Flat-array index — the backend's panel/node-action join key (§2). */\n index: number;\n children: TreeViewNode[];\n}\n\n/**\n * Flat → nested, without mutating nodes (legacy makeTreeStructure mutated in place).\n * Soft-deleted nodes are skipped; children keep flat-array order.\n */\nexport const buildTreeView = (tree: InquiryTree): TreeViewNode[] => {\n const wrappers = new Map<string, TreeViewNode>();\n tree.nodes.forEach((node, index) => {\n if (node.isDeleted) return;\n wrappers.set(node.id, { node, index, children: [] });\n });\n const roots: TreeViewNode[] = [];\n for (const wrapper of wrappers.values()) {\n const parentId = wrapper.node.parentId;\n const parent = parentId ? wrappers.get(parentId) : undefined;\n if (parent) {\n parent.children.push(wrapper);\n } else if (!parentId) {\n roots.push(wrapper);\n }\n // Nodes pointing at a missing/deleted parent are unreachable — validation reports them.\n }\n return roots;\n};\n\nexport const findNode = (\n tree: InquiryTree,\n nodeId: string\n): TreeNode | undefined => tree.nodes.find((node) => node.id === nodeId);\n\nexport const findNodeIndex = (tree: InquiryTree, nodeId: string): number =>\n tree.nodes.findIndex((node) => node.id === nodeId);\n\nexport const getChildren = (tree: InquiryTree, nodeId: string): TreeNode[] =>\n tree.nodes.filter((node) => node.parentId === nodeId && !node.isDeleted);\n\nexport const getRoot = (tree: InquiryTree): TreeNode | undefined =>\n tree.nodes.find((node) => !node.parentId && !node.isDeleted);\n/**\n * Wire DateTime values arrive as ISO-8601 strings (`2024-11-08T00:00:00`).\n * The label template stores field names only, so there is no field-type info at\n * this layer — the anchored shape below is what identifies them.\n */\nconst ISO_DATE_TIME =\n /^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}(:\\d{2}(\\.\\d+)?)?(Z|[+-]\\d{2}:?\\d{2})?$/;\n\n/** Locale date, plus the time when it is not midnight. */\nconst formatDateTimeValue = (value: string): string => {\n const date = new Date(value);\n if (Number.isNaN(date.getTime())) return value;\n const hasTimeOfDay =\n date.getHours() !== 0 || date.getMinutes() !== 0 || date.getSeconds() !== 0;\n return hasTimeOfDay\n ? date.toLocaleString(undefined, {\n year: 'numeric',\n month: 'short',\n day: 'numeric',\n hour: 'numeric',\n minute: '2-digit'\n })\n : date.toLocaleDateString(undefined, {\n year: 'numeric',\n month: 'short',\n day: 'numeric'\n });\n};\n\n/**\n * Read a template property, preferring the lookup display text the data layer\n * stamps beside it (`<field>LookupValue` — the same rule nodeView's\n * readRecordValue applies). A label chip on a FK field (`positionId`) then\n * renders the resolved name; unstamped fields read exactly as before.\n */\nconst readLabelValue = (\n source: Record<string, unknown> | undefined,\n property: string\n): unknown => source?.[`${property}LookupValue`] ?? source?.[property];\n\n/** Value → display string: legacy boolean/number stringify, plus DateTime formatting. */\nconst toDisplayValue = (value: unknown): unknown => {\n if (typeof value === 'boolean' || typeof value === 'number') {\n return value.toString();\n }\n if (typeof value === 'string' && ISO_DATE_TIME.test(value)) {\n return formatDateTimeValue(value);\n }\n return value;\n};\n\n/**\n * Resolve a display template against a data object — port of the legacy\n * formatTreeLabel (TreeUtils.js:1484-1560), quirks preserved on purpose (all-quotes\n * stripping, `[n]` indexes ignored at position 0) because Inquiry labels must\n * render identically.\n *\n * Deliberate behaviour changes (approved), both carried by the legacy resolver too\n * so v1 and v2 still render the same:\n * - quoted literals render as written — a space is added only between two\n * adjacent fields — and the label is built from its parts, so a value is\n * never substituted into an earlier literal or value;\n * - resolved ISO-8601 DateTime values render as locale dates, not wire strings;\n * - a field's stamped `<field>LookupValue` wins over its raw value, so an FK\n * label chip renders the lookup's display text (stamping is v2-only, which\n * leaves the legacy resolver's behaviour unchanged).\n */\nexport const formatTreeLabel = (\n label: string | null | undefined,\n obj: Record<string, unknown>\n): string => {\n const fields = label?.split('+');\n const keys = fields?.map((field) => field.trim());\n if (!keys) return '';\n\n const skippableKeys: number[] = [];\n const updatedKeys = keys.map((key, index) => {\n if (key.charAt(0) === '\"') {\n skippableKeys.push(index);\n return key.replace(/\"/g, '');\n }\n return key;\n });\n\n const values: unknown[] = [];\n for (let j = 0; j < keys.length; j++) {\n const property = keys[j];\n if (property && property.split('.').length > 1) {\n let constructedValue: unknown = null;\n for (const segment of property.split('.')) {\n const bracket = bracketIndex(segment);\n const arrIndex = bracket ? parseInt(bracket.index, 10) : null;\n const objIndex = bracket ? bracket.at : null;\n if (typeof arrIndex === 'number' && objIndex) {\n const formattedProperty = segment.substring(0, objIndex);\n const container = constructedValue\n ? (constructedValue as Record<string, unknown>)[formattedProperty]\n : obj[formattedProperty];\n if (container) constructedValue = (container as unknown[])[arrIndex];\n } else {\n constructedValue = readLabelValue(\n constructedValue\n ? (constructedValue as Record<string, unknown>)\n : obj,\n segment\n );\n }\n }\n values.push(toDisplayValue(constructedValue));\n continue;\n }\n values.push(toDisplayValue(readLabelValue(obj, property)));\n }\n\n const parts = updatedKeys.map((key, k) => {\n const isLiteral = skippableKeys.includes(k);\n // Legacy parity: TreeUtils stringified whatever the field held, objects\n // included — labels must render identically.\n // eslint-disable-next-line @typescript-eslint/no-base-to-string\n const text = isLiteral ? key : values[k] ? String(values[k]) : '';\n return { isLiteral, text };\n });\n // A literal joins the fields beside it, so it renders only when every field\n // next to it has a value (\"start + \" to \" + end\" with no end → \"start\").\n const fieldBeside = (k: number, step: 1 | -1) => {\n for (let i = k + step; i >= 0 && i < parts.length; i += step) {\n if (!parts[i].isLiteral) return parts[i];\n }\n return null;\n };\n const lastField = parts.reduce((last, part, k) => (part.isLiteral ? last : k), -1);\n const keeps = (k: number): boolean => {\n const part = parts[k];\n if (!part.isLiteral) return part.text !== '';\n // A closing literal goes with the one that opens the last field\n // (\"name + \" (\" + code + \")\"\" with no name → \"code\", not \"code)\").\n if (k > lastField && lastField > 0 && parts[lastField - 1].isLiteral && !keeps(lastField - 1)) {\n return false;\n }\n return [fieldBeside(k, -1), fieldBeside(k, 1)].every(\n (field) => !field || field.text !== ''\n );\n };\n const kept = parts.filter((_, k) => keeps(k));\n // Quoted literals render exactly as written; a space is added only between\n // two adjacent fields.\n return kept.reduce(\n (displayName, part, k) =>\n displayName +\n (k > 0 && !part.isLiteral && !kept[k - 1].isLiteral ? ' ' : '') +\n part.text,\n ''\n );\n};\n"],"mappings":";;;;;;;;AAcA,MAAaE,gBACXC,YACyC;CACzC,MAAMG,OAAOH,QAAQI,QAAQ,IAAI;AACjC,KAAID,SAAS,GAAI,QAAO;CACxB,MAAME,QAAQL,QAAQI,QAAQ,KAAKD,OAAO,EAAE;AAC5C,KAAIE,UAAU,GAAI,QAAO;AACzB,QAAO;EAAEJ,OAAOD,QAAQM,MAAMH,OAAO,GAAGE,MAAM;EAAEH,IAAIC;EAAM;;;;;;AAc5D,MAAaO,iBAAiBC,SAAsC;CAClE,MAAMC,2BAAW,IAAIC,KAA2B;AAChDF,MAAKG,MAAMC,SAASP,MAAMP,UAAU;AAClC,MAAIO,KAAKQ,UAAW;AACpBJ,WAASK,IAAIT,KAAKU,IAAI;GAAEV;GAAMP;GAAOQ,UAAU,EAAA;GAAI,CAAC;GACpD;CACF,MAAMU,QAAwB,EAAE;AAChC,MAAK,MAAMC,WAAWR,SAASS,QAAQ,EAAE;EACvC,MAAMC,WAAWF,QAAQZ,KAAKc;EAC9B,MAAMC,SAASD,WAAWV,SAASY,IAAIF,SAAS,GAAGG,KAAAA;AACnD,MAAIF,OACFA,QAAOd,SAASiB,KAAKN,QAAQ;WACpB,CAACE,SACVH,OAAMO,KAAKN,QAAQ;;AAIvB,QAAOD;;AAGT,MAAaQ,YACXhB,MACAiB,WACyBjB,KAAKG,MAAMe,MAAMrB,SAASA,KAAKU,OAAOU,OAAO;AAExE,MAAaE,iBAAiBnB,MAAmBiB,WAC/CjB,KAAKG,MAAMiB,WAAWvB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,QAAOF,MAAMQ;AAExC,SAAO;;CAET,MAAMC,YAAYT,MAAMU,QAAQC,MAAMC,MAAMX,MAAOW,KAAKV,YAAYS,OAAOV,GAAI,GAAG;CAClF,MAAMY,SAASZ,MAAuB;EACpC,MAAMW,OAAOZ,MAAMC;AACnB,MAAI,CAACW,KAAKV,UAAW,QAAOU,KAAKR,SAAS;AAG1C,MAAIH,IAAIQ,aAAaA,YAAY,KAAKT,MAAMS,YAAY,GAAGP,aAAa,CAACW,MAAMJ,YAAY,EAAE,CAC3F,QAAO;AAET,SAAO,CAACH,YAAYL,GAAG,GAAG,EAAEK,YAAYL,GAAG,EAAE,CAAC,CAACa,OAC5C/B,UAAU,CAACA,SAASA,MAAMqB,SAAS,GACrC;;CAEH,MAAMW,OAAOf,MAAMpD,QAAQoE,GAAGf,MAAMY,MAAMZ,EAAE,CAAC;AAG7C,QAAOc,KAAKL,QACTO,aAAaL,MAAMX,MAClBgB,eACChB,IAAI,KAAK,CAACW,KAAKV,aAAa,CAACa,KAAKd,IAAI,GAAGC,YAAY,MAAM,MAC5DU,KAAKR,MACP,GACD"}
|
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
* CONFIG DECIDES LOADING, NOT DATA:
|
|
5
5
|
* - the ROOT level's `properties.noOfNodesDisplayed` is the initial record
|
|
6
6
|
* count for the root page (default 25);
|
|
7
|
-
* - a
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
7
|
+
* - a level's child levels are LAZY when the level sets `properties.lazyLoad`
|
|
8
|
+
* — collapsed, fetched on expand — and EAGER otherwise: fetched up front,
|
|
9
|
+
* in breadth-first waves, rendered expanded. One setting on the parent,
|
|
10
|
+
* the one both builders store and v1 reads (`loadsChildrenLazily`).
|
|
11
11
|
*
|
|
12
12
|
* ONE REQUEST PER LEVEL PER WAVE. A wave fetches a whole level for ALL loaded
|
|
13
13
|
* parent rows at once — `parentFK IN (v1,v2,…)` ordered by the parent FK — and
|
|
@@ -24,25 +24,26 @@
|
|
|
24
24
|
*/
|
|
25
25
|
import { LazyFilterElement, ManyToManyKey, PromotedEntity } from './lazyLoad';
|
|
26
26
|
import { CatalogObject } from './legalChildren';
|
|
27
|
-
|
|
28
|
-
// graph must stay one-way.
|
|
29
|
-
import type { DisplayNode } from './displayTree';
|
|
27
|
+
import { DisplayNode } from './displayTree';
|
|
30
28
|
/* ------------------------------------------------------------------ config */
|
|
31
29
|
/** Root page size when the root level carries no (or a junk) count. */
|
|
32
30
|
export declare const DEFAULT_ROOT_RECORD_COUNT = 25;
|
|
33
31
|
/**
|
|
34
|
-
* Rows
|
|
35
|
-
*
|
|
36
|
-
* every level below the root pages through Show More anyway.
|
|
32
|
+
* Rows per parent in one request page: an eager level's batch pages by it until
|
|
33
|
+
* the level is whole; a lazy level uses it when its parent sets no page size.
|
|
37
34
|
*/
|
|
38
35
|
export declare const CHILD_PAGE_SIZE = 50;
|
|
36
|
+
/**
|
|
37
|
+
* The page a lazy child level fetches per expand / Show More — the PARENT
|
|
38
|
+
* level's `properties.noOfNodesDisplayed` ("Records per page"), as the legacy
|
|
39
|
+
* runtime reads it. Junk, zero, negatives and absence all mean CHILD_PAGE_SIZE.
|
|
40
|
+
*/
|
|
41
|
+
export declare const parseLazyPageSize: (parentNode: DisplayNode) => number;
|
|
39
42
|
/**
|
|
40
43
|
* The root level's initial record count — `properties.noOfNodesDisplayed`,
|
|
41
44
|
* parsed as an integer. Junk, zero, negatives and absence all mean the default.
|
|
42
45
|
*/
|
|
43
46
|
export declare const parseInitialRecordCount: (rootNode: DisplayNode) => number;
|
|
44
|
-
/** THE load-mode rule: a level is eager only when its config says so. */
|
|
45
|
-
export declare const isEagerLevel: (node: DisplayNode) => boolean;
|
|
46
47
|
/* ------------------------------------------------------------ wave planning */
|
|
47
48
|
/** One eager level to fetch in a wave, with the level whose rows parent it. */
|
|
48
49
|
export interface EagerLevelPlan {
|
|
@@ -63,31 +64,20 @@ export type EagerWave = EagerLevelPlan[];
|
|
|
63
64
|
*/
|
|
64
65
|
export declare const planEagerWaves: (origin: DisplayNode) => EagerWave[];
|
|
65
66
|
/**
|
|
66
|
-
* The rows
|
|
67
|
-
*
|
|
68
|
-
*
|
|
69
|
-
* A parent renders EXPANDED as soon as ONE of its levels is eager
|
|
70
|
-
* (makeTreeStructure's parentsOfEagerLevels seed), so the user never toggles it
|
|
71
|
-
* — and the lazy fetch hangs off exactly that toggle. Eager children present is
|
|
72
|
-
* not the same as loaded: the eager/lazy split is per LEVEL, so these rows still
|
|
73
|
-
* owe their lazy levels a fetch, and without this list they would never get one.
|
|
67
|
+
* The lazy rows flagged OPEN but not loaded — what the menu owes a fetch
|
|
68
|
+
* without an expand event to hang it off.
|
|
74
69
|
*
|
|
75
|
-
*
|
|
76
|
-
*
|
|
77
|
-
*
|
|
78
|
-
*
|
|
79
|
-
* loaded record.
|
|
70
|
+
* A lazy row is composed closed, and the user's expand is its fetch. Rows
|
|
71
|
+
* opened any OTHER way — a rebuild replaying the user's expansion
|
|
72
|
+
* (menuRebuildModel), the copilot's expand_node — never fire that event, so
|
|
73
|
+
* without this list their lazy levels would never be asked for.
|
|
80
74
|
*
|
|
81
75
|
* Pure and display-shaped, so the viewer's effect stays a one-liner: fetch each
|
|
82
76
|
* row through the SAME path an expand takes (one request per lazy level, one
|
|
83
|
-
* parent value, cached), which marks it
|
|
84
|
-
*
|
|
85
|
-
*
|
|
86
|
-
*
|
|
87
|
-
* WHO CALLS IT is the load-mode gate. 'legacy-data' composes rows of the same
|
|
88
|
-
* shape, and v1 has always left them to their expand — so only the owner that
|
|
89
|
-
* plans its own levels (the v2 viewer, via the menu's injected `loadChildren`)
|
|
90
|
-
* asks this question. Nothing here changes what v1 renders or fetches.
|
|
77
|
+
* parent value, cached), which marks it 'loaded' — and that is what stops both
|
|
78
|
+
* a re-expand and this collector from asking twice, a zero-result level
|
|
79
|
+
* included. A FAILED fetch leaves the row open in 'error'; it is not collected
|
|
80
|
+
* again — the next expand is the retry.
|
|
91
81
|
*/
|
|
92
82
|
export declare const collectPreExpandedLazyRows: (roots: DisplayNode[]) => DisplayNode[];
|
|
93
83
|
/* ----------------------------------------------------------- child fetching */
|
|
@@ -137,12 +127,6 @@ export interface ChildLevelFetchPlan {
|
|
|
137
127
|
/** Parent ref key → why that parent has no request (un-promoted child, …). */
|
|
138
128
|
errorsByParentKey: Record<string, string>;
|
|
139
129
|
}
|
|
140
|
-
/**
|
|
141
|
-
* The lean search body every child fetch posts: `keyField IN (values)` ordered
|
|
142
|
-
* by `keyField` so the server groups a parent's rows together. No eager
|
|
143
|
-
* nesting — the next wave fetches the next level.
|
|
144
|
-
*/
|
|
145
|
-
export declare const buildBulkChildRequestData: (keyField: string, keyValues: string[], pageSize: number, pageNumber?: number) => Record<string, unknown>;
|
|
146
130
|
/**
|
|
147
131
|
* The second-step body of a many-to-many fetch: one IN filter per joining key
|
|
148
132
|
* over every joining row the first step returned
|
|
@@ -183,19 +167,19 @@ export declare const sliceManyToManyChildRows: (request: ManyToManyChildFetch, j
|
|
|
183
167
|
/**
|
|
184
168
|
* Write one wave's rows onto their parents under the level's association key
|
|
185
169
|
* and return the refs for the next wave. The parent rows are the runtime's own
|
|
186
|
-
* private copies
|
|
187
|
-
*
|
|
188
|
-
*
|
|
170
|
+
* private copies, so this mutates them in place — the same association shape
|
|
171
|
+
* the display composer walks, just filled by the wave loader instead of by a
|
|
172
|
+
* nested server response. The fetched rows are cache data and become the next
|
|
173
|
+
* wave's parents, so each is copied before anything is grafted onto it.
|
|
189
174
|
*/
|
|
190
175
|
export declare const graftChildRows: (parents: ParentRowRef[], catalogObjectKey: string, rowsByParentKey: Record<string, Record<string, unknown>[]>) => ParentRowRef[];
|
|
191
176
|
/* ---------------------------------------------------------- entry by record */
|
|
192
177
|
/**
|
|
193
|
-
* Identifier `=` filters for
|
|
194
|
-
*
|
|
195
|
-
*
|
|
196
|
-
*
|
|
197
|
-
* every other search the tree builds.
|
|
178
|
+
* Identifier `=` filters for one record: its identifier values, in the order
|
|
179
|
+
* the catalog lists the entity's search identifiers. Values travel as a list;
|
|
180
|
+
* only a URL parameter joins them with commas, and its reader splits it back.
|
|
181
|
+
* Field names go upper-first like every other search the tree builds.
|
|
198
182
|
*/
|
|
199
|
-
export declare const buildRecordEntryFilterElements: (identifiers: string[],
|
|
183
|
+
export declare const buildRecordEntryFilterElements: (identifiers: string[], values: unknown[]) => LazyFilterElement[];
|
|
200
184
|
export {};
|
|
201
185
|
//# sourceMappingURL=waveLoad.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"waveLoad.d.ts","sourceRoot":"","sources":["../../../src/domain/inquiryTree/waveLoad.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,OAAO,EAEL,iBAAiB,EACjB,aAAa,EACb,cAAc,
|
|
1
|
+
{"version":3,"file":"waveLoad.d.ts","sourceRoot":"","sources":["../../../src/domain/inquiryTree/waveLoad.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,OAAO,EAEL,iBAAiB,EACjB,aAAa,EACb,cAAc,EAMf,MAAM,YAAY,CAAC;AACpB,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EACL,WAAW,EAGZ,MAAM,eAAe,CAAC;AAMvB,+EAA+E;AAE/E,uEAAuE;AACvE,eAAO,MAAM,yBAAyB,KAAK,CAAC;AAE5C;;;GAGG;AACH,eAAO,MAAM,eAAe,KAAK,CAAC;AAElC;;;;GAIG;AACH,eAAO,MAAM,iBAAiB,qCAQ7B,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,uBAAuB,mCAUnC,CAAC;AAEF,gFAAgF;AAEhF,+EAA+E;AAC/E,MAAM,WAAW,cAAc;IAC7B,sDAAsD;IACtD,UAAU,EAAE,WAAW,CAAC;IACxB,sDAAsD;IACtD,SAAS,EAAE,WAAW,CAAC;IACvB,+EAA+E;IAC/E,gBAAgB,EAAE,MAAM,CAA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