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,78 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The panel editing surface without drawer chrome: name, then the buttons as
|
|
3
|
-
* grouped rows that open into the action form. Hosts supply their own
|
|
4
|
-
* drawer/page shell and footer (Save / Cancel) — this component only reports
|
|
5
|
-
* changes.
|
|
6
|
-
*
|
|
7
|
-
* Buttons are objects, not form rows: each shows its icon, name, a one-line
|
|
8
|
-
* summary of what it does (resolved names, never guids) and its state badges.
|
|
9
|
-
* `groupName` renders as sections because that is what the inquiry runtime does
|
|
10
|
-
* with it; "Ungrouped" is a UI label for the null tail, never stored.
|
|
11
|
-
*
|
|
12
|
-
* Composition — the same grammar the Tree Builder inspector uses for its own
|
|
13
|
-
* panel rows: a display-only `UdpList selectionMode="none" showDivider` of
|
|
14
|
-
* `UdpListItem size="small"`, state badges and controls in each row's `end`
|
|
15
|
-
* slot (the list ignores clicks there, so the row's own buttons stay usable).
|
|
16
|
-
* The open button's form is a `UdpCard` under its group's list rather than
|
|
17
|
-
* inside the row: `UdpList`'s slot takes list items only, and a form inside a
|
|
18
|
-
* row's default slot would collapse it on every click (the item treats any
|
|
19
|
-
* non-`end` click as its action).
|
|
20
|
-
*/
|
|
21
|
-
import React, { useState } from 'react';
|
|
22
|
-
import { UdpBadge } from '../UI/fluent-web-components/UdpBadge';
|
|
23
|
-
import { UdpButton } from '../UI/fluent-web-components/UdpButton';
|
|
24
|
-
import { UdpCard } from '../UI/fluent-web-components/UdpCard';
|
|
25
|
-
import { UdpFlexbox } from '../UI/fluent-web-components/UdpFlexbox';
|
|
26
|
-
import { UdpIconButton } from '../UI/fluent-web-components/UdpIconButton';
|
|
27
|
-
import { UdpList } from '../UI/fluent-web-components/UdpList';
|
|
28
|
-
import { UdpListItem } from '../UI/fluent-web-components/UdpListItem';
|
|
29
|
-
import { UdpText } from '../UI/fluent-web-components/UdpText';
|
|
30
|
-
import { UdpTextInput } from '../UI/fluent-web-components/UdpTextInput';
|
|
31
|
-
import { resolvePanelButtonIcon } from '../domain/actionPanel/actionTypeMeta';
|
|
32
|
-
import { PanelActionForm } from './PanelActionForm';
|
|
33
|
-
import { UNGROUPED_LABEL, UNTITLED_BUTTON_LABEL, buttonKey, describeButton, groupButtons, moveButton, newPanelButton, panelGroupNames } from './panelOperations';
|
|
34
|
-
export const PanelEditor = ({ value, onChange, onRemoveButton, apiMethods = [], pages = [], workflows = [], existingGroupNames = [], viewOnly = false, hideNameField = false }) => {
|
|
35
|
-
const [expandedKey, setExpandedKey] = useState(null);
|
|
36
|
-
const groups = groupButtons(value);
|
|
37
|
-
const groupSuggestions = Array.from(new Set([...panelGroupNames(value), ...existingGroupNames]));
|
|
38
|
-
const patchButton = (index, next) => {
|
|
39
|
-
const buttons = value.buttons.slice();
|
|
40
|
-
buttons[index] = next;
|
|
41
|
-
onChange(Object.assign(Object.assign({}, value), { buttons }));
|
|
42
|
-
};
|
|
43
|
-
const handleAdd = () => {
|
|
44
|
-
const button = newPanelButton(value);
|
|
45
|
-
const buttons = [...value.buttons, button];
|
|
46
|
-
onChange(Object.assign(Object.assign({}, value), { buttons }));
|
|
47
|
-
setExpandedKey(buttonKey(button, buttons.length - 1));
|
|
48
|
-
};
|
|
49
|
-
const handleRemove = (index) => {
|
|
50
|
-
const button = value.buttons[index];
|
|
51
|
-
onChange(Object.assign(Object.assign({}, value), { buttons: value.buttons.filter((_, position) => position !== index) }));
|
|
52
|
-
setExpandedKey(null);
|
|
53
|
-
onRemoveButton === null || onRemoveButton === void 0 ? void 0 : onRemoveButton(button);
|
|
54
|
-
};
|
|
55
|
-
return (React.createElement(UdpFlexbox, { direction: "column", gap: "md" }, !hideNameField && (React.createElement(UdpTextInput, { label: "Name", required: true, value: value.name, disabled: viewOnly, onChange: (event) => onChange(Object.assign(Object.assign({}, value), { name: event.target.value })) })), value.buttons.length === 0 && (React.createElement(UdpText, { variant: "body1", block: true }, "This panel has no buttons yet")), groups.map((group) => {
|
|
56
|
-
var _a, _b;
|
|
57
|
-
// The open row's form renders under the list of the group it belongs to.
|
|
58
|
-
const open = group.buttons
|
|
59
|
-
.map((entry, position) => (Object.assign(Object.assign({}, entry), { position })))
|
|
60
|
-
.find((entry) => buttonKey(entry.button, entry.index) === expandedKey);
|
|
61
|
-
const openName = open
|
|
62
|
-
? open.button.action.name || UNTITLED_BUTTON_LABEL
|
|
63
|
-
: '';
|
|
64
|
-
return (React.createElement(UdpFlexbox, { key: (_a = group.groupName) !== null && _a !== void 0 ? _a : '__ungrouped__', direction: "column", gap: "xs" }, React.createElement(UdpText, { variant: "caption1Strong", block: true }, (_b = group.groupName) !== null && _b !== void 0 ? _b : UNGROUPED_LABEL), React.createElement(UdpList, { selectionMode: "none", showDivider: true }, group.buttons.map((entry, position) => {
|
|
65
|
-
var _a;
|
|
66
|
-
var _b;
|
|
67
|
-
const { button, index } = entry;
|
|
68
|
-
const key = buttonKey(button, index);
|
|
69
|
-
const expanded = expandedKey === key;
|
|
70
|
-
const name = button.action.name || UNTITLED_BUTTON_LABEL;
|
|
71
|
-
const ruleCount = (_b = (_a = button.action.rules) === null || _a === void 0 ? void 0 : _a.length) !== null && _b !== void 0 ? _b : 0;
|
|
72
|
-
return (React.createElement(UdpListItem, { key: key, value: key, size: "small", startIconName: resolvePanelButtonIcon(button), label: name, subtitle: describeButton(button, { apiMethods, pages, workflows }) }, React.createElement(UdpFlexbox, { slot: "end", direction: "row", gap: "xs", align: "center", wrap: "nowrap" }, button.isPrimary && (React.createElement(UdpBadge, { appearance: "tint", color: "brand", size: "small" }, "Primar")), ruleCount > 0 && (React.createElement(UdpBadge, { appearance: "outline", color: "warning", size: "small", startIconName: "options" }, `${ruleCount} ${ruleCount === 1 ? 'rule' : 'rules'}`)), button.hideAction && (React.createElement(UdpBadge, { appearance: "outline", color: "subtle", size: "small", startIconName: "eye-off" }, "Hidde")), button.enabled === false && (React.createElement(UdpBadge, { appearance: "ghost", color: "subtle", size: "small" }, "Disable")), !viewOnly && (React.createElement(React.Fragment, null, React.createElement(UdpIconButton, { appearance: "transparent", size: "small", iconName: "chevron-up", ariaLabel: `Move ${name} up`, disabled: position === 0, onClick: () => onChange(moveButton(value, index, 'up')) }), React.createElement(UdpIconButton, { appearance: "transparent", size: "small", iconName: "chevron-down", ariaLabel: `Move ${name} down`, disabled: position === group.buttons.length - 1, onClick: () => onChange(moveButton(value, index, 'down')) }))), React.createElement(UdpIconButton, { appearance: "transparent", size: "small", iconName: expanded ? 'dismiss' : 'edit', ariaLabel: expanded
|
|
73
|
-
? `Close ${name} settings`
|
|
74
|
-
: `Edit ${name} settings`, onClick: () => setExpandedKey(expanded ? null : key) }))));
|
|
75
|
-
})), open && (React.createElement(UdpCard, { appearance: "outline", label: openName }, !viewOnly && (React.createElement(UdpIconButton, { slot: "header-action", appearance: "transparent", iconName: "delete", ariaLabel: `Remove ${openName}`, onClick: () => handleRemove(open.index) })), React.createElement(PanelActionForm, { value: open.button, onChange: (next) => patchButton(open.index, next), apiMethods: apiMethods, pages: pages, workflows: workflows, existingGroupNames: groupSuggestions, disabled: viewOnly })))));
|
|
76
|
-
}), !viewOnly && (React.createElement(UdpFlexbox, { direction: "row", gap: "sm" }, React.createElement(UdpButton, { appearance: "outline", startIconName: "add", onClick: handleAdd }, "Add butto")))));
|
|
77
|
-
};
|
|
78
|
-
//# sourceMappingURL=PanelEditor.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PanelEditor.js","sourceRoot":"","sources":["../../src/actionPanels/PanelEditor.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,sCAAsC,CAAC;AAChE,OAAO,EAAE,SAAS,EAAE,MAAM,uCAAuC,CAAC;AAClE,OAAO,EAAE,OAAO,EAAE,MAAM,qCAAqC,CAAC;AAC9D,OAAO,EAAE,UAAU,EAAE,MAAM,wCAAwC,CAAC;AACpE,OAAO,EAAE,aAAa,EAAE,MAAM,2CAA2C,CAAC;AAC1E,OAAO,EAAE,OAAO,EAAE,MAAM,qCAAqC,CAAC;AAC9D,OAAO,EAAE,WAAW,EAAE,MAAM,yCAAyC,CAAC;AACtE,OAAO,EAAE,OAAO,EAAE,MAAM,qCAAqC,CAAC;AAC9D,OAAO,EAAE,YAAY,EAAE,MAAM,0CAA0C,CAAC;AACxE,OAAO,EAAE,sBAAsB,EAAE,MAAM,sCAAsC,CAAC;AAE9E,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAA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EAAC,GAAG,EAAC,IAAI,IAClC,oBAAC,SAAS,IACR,UAAU,EAAC,SAAS,EACpB,aAAa,EAAC,KAAK,EACnB,OAAO,EAAE,SAAS,gBAGR,CACD,CACd,CACU,CACd,CAAC;AAAA,CACH,CAAC"}
|
|
@@ -1,345 +0,0 @@
|
|
|
1
|
-
import { c } from "../reactCompilerRuntime.mjs";
|
|
2
|
-
import { UdpBadge } from "../UI/fluent-web-components/UdpBadge.mjs";
|
|
3
|
-
import { UdpButton } from "../UI/fluent-web-components/UdpButton.mjs";
|
|
4
|
-
import { UdpCard } from "../UI/fluent-web-components/UdpCard.mjs";
|
|
5
|
-
import { UdpFlexbox } from "../UI/fluent-web-components/UdpFlexbox.mjs";
|
|
6
|
-
import { UdpIconButton } from "../UI/fluent-web-components/UdpIconButton.mjs";
|
|
7
|
-
import { UdpText } from "../UI/fluent-web-components/UdpText.mjs";
|
|
8
|
-
import { UdpTextInput } from "../UI/fluent-web-components/UdpTextInput.mjs";
|
|
9
|
-
import { UdpList } from "../UI/fluent-web-components/UdpList.mjs";
|
|
10
|
-
import { UdpListItem } from "../UI/fluent-web-components/UdpListItem.mjs";
|
|
11
|
-
import { resolvePanelButtonIcon } from "../domain/actionPanel/actionTypeMeta.mjs";
|
|
12
|
-
import { buttonKey, describeButton, groupButtons, moveButton, newPanelButton, panelGroupNames } from "./panelOperations.mjs";
|
|
13
|
-
import { PanelActionForm } from "./PanelActionForm.mjs";
|
|
14
|
-
import React, { useState } from "react";
|
|
15
|
-
//#region src/actionPanels/PanelEditor.tsx
|
|
16
|
-
/**
|
|
17
|
-
* The panel editing surface without drawer chrome: name, then the buttons as
|
|
18
|
-
* grouped rows that open into the action form. Hosts supply their own
|
|
19
|
-
* drawer/page shell and footer (Save / Cancel) — this component only reports
|
|
20
|
-
* changes.
|
|
21
|
-
*
|
|
22
|
-
* Buttons are objects, not form rows: each shows its icon, name, a one-line
|
|
23
|
-
* summary of what it does (resolved names, never guids) and its state badges.
|
|
24
|
-
* `groupName` renders as sections because that is what the inquiry runtime does
|
|
25
|
-
* with it; "Ungrouped" is a UI label for the null tail, never stored.
|
|
26
|
-
*
|
|
27
|
-
* Composition — the same grammar the Tree Builder inspector uses for its own
|
|
28
|
-
* panel rows: a display-only `UdpList selectionMode="none" showDivider` of
|
|
29
|
-
* `UdpListItem size="small"`, state badges and controls in each row's `end`
|
|
30
|
-
* slot (the list ignores clicks there, so the row's own buttons stay usable).
|
|
31
|
-
* The open button's form is a `UdpCard` under its group's list rather than
|
|
32
|
-
* inside the row: `UdpList`'s slot takes list items only, and a form inside a
|
|
33
|
-
* row's default slot would collapse it on every click (the item treats any
|
|
34
|
-
* non-`end` click as its action).
|
|
35
|
-
*/
|
|
36
|
-
const PanelEditor = (t0) => {
|
|
37
|
-
const $ = c(69);
|
|
38
|
-
const { value, onChange, onRemoveButton, apiMethods: t1, pages: t2, workflows: t3, existingGroupNames: t4, viewOnly: t5, hideNameField: t6 } = t0;
|
|
39
|
-
let t7;
|
|
40
|
-
if ($[0] !== t1) {
|
|
41
|
-
t7 = t1 === void 0 ? [] : t1;
|
|
42
|
-
$[0] = t1;
|
|
43
|
-
$[1] = t7;
|
|
44
|
-
} else t7 = $[1];
|
|
45
|
-
const apiMethods = t7;
|
|
46
|
-
let t8;
|
|
47
|
-
if ($[2] !== t2) {
|
|
48
|
-
t8 = t2 === void 0 ? [] : t2;
|
|
49
|
-
$[2] = t2;
|
|
50
|
-
$[3] = t8;
|
|
51
|
-
} else t8 = $[3];
|
|
52
|
-
const pages = t8;
|
|
53
|
-
let t9;
|
|
54
|
-
if ($[4] !== t3) {
|
|
55
|
-
t9 = t3 === void 0 ? [] : t3;
|
|
56
|
-
$[4] = t3;
|
|
57
|
-
$[5] = t9;
|
|
58
|
-
} else t9 = $[5];
|
|
59
|
-
const workflows = t9;
|
|
60
|
-
let t10;
|
|
61
|
-
if ($[6] !== t4) {
|
|
62
|
-
t10 = t4 === void 0 ? [] : t4;
|
|
63
|
-
$[6] = t4;
|
|
64
|
-
$[7] = t10;
|
|
65
|
-
} else t10 = $[7];
|
|
66
|
-
const existingGroupNames = t10;
|
|
67
|
-
const viewOnly = t5 === void 0 ? false : t5;
|
|
68
|
-
const hideNameField = t6 === void 0 ? false : t6;
|
|
69
|
-
const [expandedKey, setExpandedKey] = useState(null);
|
|
70
|
-
let T0;
|
|
71
|
-
let handleAdd;
|
|
72
|
-
let t11;
|
|
73
|
-
let t12;
|
|
74
|
-
let t13;
|
|
75
|
-
let t14;
|
|
76
|
-
let t15;
|
|
77
|
-
if ($[8] !== apiMethods || $[9] !== existingGroupNames || $[10] !== expandedKey || $[11] !== hideNameField || $[12] !== onChange || $[13] !== onRemoveButton || $[14] !== pages || $[15] !== value || $[16] !== viewOnly || $[17] !== workflows) {
|
|
78
|
-
const groups = groupButtons(value);
|
|
79
|
-
let t16;
|
|
80
|
-
if ($[25] !== existingGroupNames || $[26] !== value) {
|
|
81
|
-
const t17 = [...panelGroupNames(value), ...existingGroupNames];
|
|
82
|
-
let t18;
|
|
83
|
-
if ($[28] !== t17) {
|
|
84
|
-
t18 = new Set(t17);
|
|
85
|
-
$[28] = t17;
|
|
86
|
-
$[29] = t18;
|
|
87
|
-
} else t18 = $[29];
|
|
88
|
-
t16 = Array.from(t18);
|
|
89
|
-
$[25] = existingGroupNames;
|
|
90
|
-
$[26] = value;
|
|
91
|
-
$[27] = t16;
|
|
92
|
-
} else t16 = $[27];
|
|
93
|
-
const groupSuggestions = t16;
|
|
94
|
-
let t17;
|
|
95
|
-
if ($[30] !== onChange || $[31] !== value) {
|
|
96
|
-
t17 = (index, next) => {
|
|
97
|
-
const buttons = value.buttons.slice();
|
|
98
|
-
buttons[index] = next;
|
|
99
|
-
onChange({
|
|
100
|
-
...value,
|
|
101
|
-
buttons
|
|
102
|
-
});
|
|
103
|
-
};
|
|
104
|
-
$[30] = onChange;
|
|
105
|
-
$[31] = value;
|
|
106
|
-
$[32] = t17;
|
|
107
|
-
} else t17 = $[32];
|
|
108
|
-
const patchButton = t17;
|
|
109
|
-
let t18;
|
|
110
|
-
if ($[33] !== onChange || $[34] !== value) {
|
|
111
|
-
t18 = () => {
|
|
112
|
-
const button = newPanelButton(value);
|
|
113
|
-
const buttons_0 = [...value.buttons, button];
|
|
114
|
-
onChange({
|
|
115
|
-
...value,
|
|
116
|
-
buttons: buttons_0
|
|
117
|
-
});
|
|
118
|
-
setExpandedKey(buttonKey(button, buttons_0.length - 1));
|
|
119
|
-
};
|
|
120
|
-
$[33] = onChange;
|
|
121
|
-
$[34] = value;
|
|
122
|
-
$[35] = t18;
|
|
123
|
-
} else t18 = $[35];
|
|
124
|
-
handleAdd = t18;
|
|
125
|
-
let t19;
|
|
126
|
-
if ($[36] !== onChange || $[37] !== onRemoveButton || $[38] !== value) {
|
|
127
|
-
t19 = (index_0) => {
|
|
128
|
-
const button_0 = value.buttons[index_0];
|
|
129
|
-
onChange({
|
|
130
|
-
...value,
|
|
131
|
-
buttons: value.buttons.filter((_, position) => position !== index_0)
|
|
132
|
-
});
|
|
133
|
-
setExpandedKey(null);
|
|
134
|
-
onRemoveButton?.(button_0);
|
|
135
|
-
};
|
|
136
|
-
$[36] = onChange;
|
|
137
|
-
$[37] = onRemoveButton;
|
|
138
|
-
$[38] = value;
|
|
139
|
-
$[39] = t19;
|
|
140
|
-
} else t19 = $[39];
|
|
141
|
-
const handleRemove = t19;
|
|
142
|
-
T0 = UdpFlexbox;
|
|
143
|
-
t11 = "column";
|
|
144
|
-
t12 = "md";
|
|
145
|
-
if ($[40] !== hideNameField || $[41] !== onChange || $[42] !== value || $[43] !== viewOnly) {
|
|
146
|
-
t13 = !hideNameField && /* @__PURE__ */ React.createElement(UdpTextInput, {
|
|
147
|
-
label: "Name",
|
|
148
|
-
required: true,
|
|
149
|
-
value: value.name,
|
|
150
|
-
disabled: viewOnly,
|
|
151
|
-
onChange: (event) => onChange({
|
|
152
|
-
...value,
|
|
153
|
-
name: event.target.value
|
|
154
|
-
})
|
|
155
|
-
});
|
|
156
|
-
$[40] = hideNameField;
|
|
157
|
-
$[41] = onChange;
|
|
158
|
-
$[42] = value;
|
|
159
|
-
$[43] = viewOnly;
|
|
160
|
-
$[44] = t13;
|
|
161
|
-
} else t13 = $[44];
|
|
162
|
-
if ($[45] !== value.buttons.length) {
|
|
163
|
-
t14 = value.buttons.length === 0 && /* @__PURE__ */ React.createElement(UdpText, {
|
|
164
|
-
variant: "body1",
|
|
165
|
-
block: true
|
|
166
|
-
}, "This panel has no buttons yet.");
|
|
167
|
-
$[45] = value.buttons.length;
|
|
168
|
-
$[46] = t14;
|
|
169
|
-
} else t14 = $[46];
|
|
170
|
-
let t20;
|
|
171
|
-
if ($[47] !== apiMethods || $[48] !== expandedKey || $[49] !== groupSuggestions || $[50] !== handleRemove || $[51] !== onChange || $[52] !== pages || $[53] !== patchButton || $[54] !== value || $[55] !== viewOnly || $[56] !== workflows) {
|
|
172
|
-
t20 = (group) => {
|
|
173
|
-
const open = group.buttons.map(_temp).find((entry_0) => buttonKey(entry_0.button, entry_0.index) === expandedKey);
|
|
174
|
-
const openName = open ? open.button.action.name || "Untitled action" : "";
|
|
175
|
-
return /* @__PURE__ */ React.createElement(UdpFlexbox, {
|
|
176
|
-
key: group.groupName ?? "__ungrouped__",
|
|
177
|
-
direction: "column",
|
|
178
|
-
gap: "xs"
|
|
179
|
-
}, /* @__PURE__ */ React.createElement(UdpText, {
|
|
180
|
-
variant: "caption1Strong",
|
|
181
|
-
block: true
|
|
182
|
-
}, group.groupName ?? "Ungrouped"), /* @__PURE__ */ React.createElement(UdpList, {
|
|
183
|
-
selectionMode: "none",
|
|
184
|
-
showDivider: true
|
|
185
|
-
}, group.buttons.map((entry_1, position_1) => {
|
|
186
|
-
const { button: button_1, index: index_1 } = entry_1;
|
|
187
|
-
const key = buttonKey(button_1, index_1);
|
|
188
|
-
const expanded = expandedKey === key;
|
|
189
|
-
const name = button_1.action.name || "Untitled action";
|
|
190
|
-
const ruleCount = button_1.action.rules?.length ?? 0;
|
|
191
|
-
return /* @__PURE__ */ React.createElement(UdpListItem, {
|
|
192
|
-
key,
|
|
193
|
-
value: key,
|
|
194
|
-
size: "small",
|
|
195
|
-
startIconName: resolvePanelButtonIcon(button_1),
|
|
196
|
-
label: name,
|
|
197
|
-
subtitle: describeButton(button_1, {
|
|
198
|
-
apiMethods,
|
|
199
|
-
pages,
|
|
200
|
-
workflows
|
|
201
|
-
})
|
|
202
|
-
}, /* @__PURE__ */ React.createElement(UdpFlexbox, {
|
|
203
|
-
slot: "end",
|
|
204
|
-
direction: "row",
|
|
205
|
-
gap: "xs",
|
|
206
|
-
align: "center",
|
|
207
|
-
wrap: "nowrap"
|
|
208
|
-
}, button_1.isPrimary && /* @__PURE__ */ React.createElement(UdpBadge, {
|
|
209
|
-
appearance: "tint",
|
|
210
|
-
color: "brand",
|
|
211
|
-
size: "small"
|
|
212
|
-
}, "Primary"), ruleCount > 0 && /* @__PURE__ */ React.createElement(UdpBadge, {
|
|
213
|
-
appearance: "outline",
|
|
214
|
-
color: "warning",
|
|
215
|
-
size: "small",
|
|
216
|
-
startIconName: "options"
|
|
217
|
-
}, `${ruleCount} ${ruleCount === 1 ? "rule" : "rules"}`), button_1.hideAction && /* @__PURE__ */ React.createElement(UdpBadge, {
|
|
218
|
-
appearance: "outline",
|
|
219
|
-
color: "subtle",
|
|
220
|
-
size: "small",
|
|
221
|
-
startIconName: "eye-off"
|
|
222
|
-
}, "Hidden"), button_1.enabled === false && /* @__PURE__ */ React.createElement(UdpBadge, {
|
|
223
|
-
appearance: "ghost",
|
|
224
|
-
color: "subtle",
|
|
225
|
-
size: "small"
|
|
226
|
-
}, "Disabled"), !viewOnly && /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(UdpIconButton, {
|
|
227
|
-
appearance: "transparent",
|
|
228
|
-
size: "small",
|
|
229
|
-
iconName: "chevron-up",
|
|
230
|
-
ariaLabel: `Move ${name} up`,
|
|
231
|
-
disabled: position_1 === 0,
|
|
232
|
-
onClick: () => onChange(moveButton(value, index_1, "up"))
|
|
233
|
-
}), /* @__PURE__ */ React.createElement(UdpIconButton, {
|
|
234
|
-
appearance: "transparent",
|
|
235
|
-
size: "small",
|
|
236
|
-
iconName: "chevron-down",
|
|
237
|
-
ariaLabel: `Move ${name} down`,
|
|
238
|
-
disabled: position_1 === group.buttons.length - 1,
|
|
239
|
-
onClick: () => onChange(moveButton(value, index_1, "down"))
|
|
240
|
-
})), /* @__PURE__ */ React.createElement(UdpIconButton, {
|
|
241
|
-
appearance: "transparent",
|
|
242
|
-
size: "small",
|
|
243
|
-
iconName: expanded ? "dismiss" : "edit",
|
|
244
|
-
ariaLabel: expanded ? `Close ${name} settings` : `Edit ${name} settings`,
|
|
245
|
-
onClick: () => setExpandedKey(expanded ? null : key)
|
|
246
|
-
})));
|
|
247
|
-
})), open && /* @__PURE__ */ React.createElement(UdpCard, {
|
|
248
|
-
appearance: "outline",
|
|
249
|
-
label: openName
|
|
250
|
-
}, !viewOnly && /* @__PURE__ */ React.createElement(UdpIconButton, {
|
|
251
|
-
slot: "header-action",
|
|
252
|
-
appearance: "transparent",
|
|
253
|
-
iconName: "delete",
|
|
254
|
-
ariaLabel: `Remove ${openName}`,
|
|
255
|
-
onClick: () => handleRemove(open.index)
|
|
256
|
-
}), /* @__PURE__ */ React.createElement(PanelActionForm, {
|
|
257
|
-
value: open.button,
|
|
258
|
-
onChange: (next_0) => patchButton(open.index, next_0),
|
|
259
|
-
apiMethods,
|
|
260
|
-
pages,
|
|
261
|
-
workflows,
|
|
262
|
-
existingGroupNames: groupSuggestions,
|
|
263
|
-
disabled: viewOnly
|
|
264
|
-
})));
|
|
265
|
-
};
|
|
266
|
-
$[47] = apiMethods;
|
|
267
|
-
$[48] = expandedKey;
|
|
268
|
-
$[49] = groupSuggestions;
|
|
269
|
-
$[50] = handleRemove;
|
|
270
|
-
$[51] = onChange;
|
|
271
|
-
$[52] = pages;
|
|
272
|
-
$[53] = patchButton;
|
|
273
|
-
$[54] = value;
|
|
274
|
-
$[55] = viewOnly;
|
|
275
|
-
$[56] = workflows;
|
|
276
|
-
$[57] = t20;
|
|
277
|
-
} else t20 = $[57];
|
|
278
|
-
t15 = groups.map(t20);
|
|
279
|
-
$[8] = apiMethods;
|
|
280
|
-
$[9] = existingGroupNames;
|
|
281
|
-
$[10] = expandedKey;
|
|
282
|
-
$[11] = hideNameField;
|
|
283
|
-
$[12] = onChange;
|
|
284
|
-
$[13] = onRemoveButton;
|
|
285
|
-
$[14] = pages;
|
|
286
|
-
$[15] = value;
|
|
287
|
-
$[16] = viewOnly;
|
|
288
|
-
$[17] = workflows;
|
|
289
|
-
$[18] = T0;
|
|
290
|
-
$[19] = handleAdd;
|
|
291
|
-
$[20] = t11;
|
|
292
|
-
$[21] = t12;
|
|
293
|
-
$[22] = t13;
|
|
294
|
-
$[23] = t14;
|
|
295
|
-
$[24] = t15;
|
|
296
|
-
} else {
|
|
297
|
-
T0 = $[18];
|
|
298
|
-
handleAdd = $[19];
|
|
299
|
-
t11 = $[20];
|
|
300
|
-
t12 = $[21];
|
|
301
|
-
t13 = $[22];
|
|
302
|
-
t14 = $[23];
|
|
303
|
-
t15 = $[24];
|
|
304
|
-
}
|
|
305
|
-
let t16;
|
|
306
|
-
if ($[58] !== handleAdd || $[59] !== viewOnly) {
|
|
307
|
-
t16 = !viewOnly && /* @__PURE__ */ React.createElement(UdpFlexbox, {
|
|
308
|
-
direction: "row",
|
|
309
|
-
gap: "sm"
|
|
310
|
-
}, /* @__PURE__ */ React.createElement(UdpButton, {
|
|
311
|
-
appearance: "outline",
|
|
312
|
-
startIconName: "add",
|
|
313
|
-
onClick: handleAdd
|
|
314
|
-
}, "Add button"));
|
|
315
|
-
$[58] = handleAdd;
|
|
316
|
-
$[59] = viewOnly;
|
|
317
|
-
$[60] = t16;
|
|
318
|
-
} else t16 = $[60];
|
|
319
|
-
let t17;
|
|
320
|
-
if ($[61] !== T0 || $[62] !== t11 || $[63] !== t12 || $[64] !== t13 || $[65] !== t14 || $[66] !== t15 || $[67] !== t16) {
|
|
321
|
-
t17 = /* @__PURE__ */ React.createElement(T0, {
|
|
322
|
-
direction: t11,
|
|
323
|
-
gap: t12
|
|
324
|
-
}, t13, t14, t15, t16);
|
|
325
|
-
$[61] = T0;
|
|
326
|
-
$[62] = t11;
|
|
327
|
-
$[63] = t12;
|
|
328
|
-
$[64] = t13;
|
|
329
|
-
$[65] = t14;
|
|
330
|
-
$[66] = t15;
|
|
331
|
-
$[67] = t16;
|
|
332
|
-
$[68] = t17;
|
|
333
|
-
} else t17 = $[68];
|
|
334
|
-
return t17;
|
|
335
|
-
};
|
|
336
|
-
function _temp(entry, position_0) {
|
|
337
|
-
return {
|
|
338
|
-
...entry,
|
|
339
|
-
position: position_0
|
|
340
|
-
};
|
|
341
|
-
}
|
|
342
|
-
//#endregion
|
|
343
|
-
export { PanelEditor };
|
|
344
|
-
|
|
345
|
-
//# sourceMappingURL=PanelEditor.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PanelEditor.mjs","names":["React","useState","UdpBadge","UdpButton","UdpCard","UdpFlexbox","UdpIconButton","UdpList","UdpListItem","UdpText","UdpTextInput","resolvePanelButtonIcon","Panel","PanelButton","PanelActionForm","UNGROUPED_LABEL","UNTITLED_BUTTON_LABEL","buttonKey","describeButton","groupButtons","moveButton","newPanelButton","panelGroupNames","ApiMethodOption","PageOption","WorkflowOption","PanelEditorProps","value","onChange","next","onRemoveButton","button","apiMethods","pages","workflows","existingGroupNames","viewOnly","hideNameField","PanelEditor","t0","$","_c","t1","t2","t3","t4","t5","t6","t7","undefined","t8","t9","t10","expandedKey","setExpandedKey","T0","handleAdd","t11","t12","t13","t14","t15","groups","t16","t17","t18","Set","Array","from","groupSuggestions","index","buttons","slice","patchButton","buttons_0","length","t19","index_0","button_0","filter","_","position","handleRemove","name","event","target","t20","group","open","map","_temp","find","entry_0","entry","openName","action","groupName","entry_1","position_1","button_1","index_1","key","expanded","ruleCount","rules","isPrimary","hideAction","enabled","next_0","position_0"],"sources":["../../src/actionPanels/PanelEditor.tsx"],"sourcesContent":["/**\n * The panel editing surface without drawer chrome: name, then the buttons as\n * grouped rows that open into the action form. Hosts supply their own\n * drawer/page shell and footer (Save / Cancel) — this component only reports\n * changes.\n *\n * Buttons are objects, not form rows: each shows its icon, name, a one-line\n * summary of what it does (resolved names, never guids) and its state badges.\n * `groupName` renders as sections because that is what the inquiry runtime does\n * with it; \"Ungrouped\" is a UI label for the null tail, never stored.\n *\n * Composition — the same grammar the Tree Builder inspector uses for its own\n * panel rows: a display-only `UdpList selectionMode=\"none\" showDivider` of\n * `UdpListItem size=\"small\"`, state badges and controls in each row's `end`\n * slot (the list ignores clicks there, so the row's own buttons stay usable).\n * The open button's form is a `UdpCard` under its group's list rather than\n * inside the row: `UdpList`'s slot takes list items only, and a form inside a\n * row's default slot would collapse it on every click (the item treats any\n * non-`end` click as its action).\n */\nimport React, { useState } from 'react';\nimport { UdpBadge } from '../UI/fluent-web-components/UdpBadge';\nimport { UdpButton } from '../UI/fluent-web-components/UdpButton';\nimport { UdpCard } from '../UI/fluent-web-components/UdpCard';\nimport { UdpFlexbox } from '../UI/fluent-web-components/UdpFlexbox';\nimport { UdpIconButton } from '../UI/fluent-web-components/UdpIconButton';\nimport { UdpList } from '../UI/fluent-web-components/UdpList';\nimport { UdpListItem } from '../UI/fluent-web-components/UdpListItem';\nimport { UdpText } from '../UI/fluent-web-components/UdpText';\nimport { UdpTextInput } from '../UI/fluent-web-components/UdpTextInput';\nimport { resolvePanelButtonIcon } from '../domain/actionPanel/actionTypeMeta';\nimport type { Panel, PanelButton } from '../domain/actionPanel/types';\nimport { PanelActionForm } from './PanelActionForm';\nimport {\n UNGROUPED_LABEL,\n UNTITLED_BUTTON_LABEL,\n buttonKey,\n describeButton,\n groupButtons,\n moveButton,\n newPanelButton,\n panelGroupNames\n} from './panelOperations';\nimport type { ApiMethodOption, PageOption, WorkflowOption } from './types';\n\nexport interface PanelEditorProps {\n value: Panel;\n onChange: (next: Panel) => void;\n /**\n * Called when a row is removed, in addition to `onChange` with the button\n * filtered out — hosts collect these to build the save payload's\n * `actionsToDelete`.\n */\n onRemoveButton?: (button: PanelButton) => void;\n apiMethods?: ApiMethodOption[];\n pages?: PageOption[];\n workflows?: WorkflowOption[];\n /** Extra group suggestions on top of the ones the panel already uses. */\n existingGroupNames?: string[];\n /** Read-only rendering: no add, remove, reorder or field edits. */\n viewOnly?: boolean;\n /** For hosts that render the panel name themselves (e.g. a drawer title). */\n hideNameField?: boolean;\n}\n\nexport const PanelEditor = ({\n value,\n onChange,\n onRemoveButton,\n apiMethods = [],\n pages = [],\n workflows = [],\n existingGroupNames = [],\n viewOnly = false,\n hideNameField = false\n}: PanelEditorProps) => {\n const [expandedKey, setExpandedKey] = useState<string | null>(null);\n\n const groups = groupButtons(value);\n const groupSuggestions = Array.from(\n new Set([...panelGroupNames(value), ...existingGroupNames])\n );\n\n const patchButton = (index: number, next: PanelButton) => {\n const buttons = value.buttons.slice();\n buttons[index] = next;\n onChange({ ...value, buttons });\n };\n\n const handleAdd = () => {\n const button = newPanelButton(value);\n const buttons = [...value.buttons, button];\n onChange({ ...value, buttons });\n setExpandedKey(buttonKey(button, buttons.length - 1));\n };\n\n const handleRemove = (index: number) => {\n const button = value.buttons[index];\n onChange({\n ...value,\n buttons: value.buttons.filter((_, position) => position !== index)\n });\n setExpandedKey(null);\n onRemoveButton?.(button);\n };\n\n return (\n <UdpFlexbox direction='column' gap='md'>\n {!hideNameField && (\n <UdpTextInput\n label='Name'\n required\n value={value.name}\n disabled={viewOnly}\n onChange={(event) => onChange({ ...value, name: event.target.value })}\n />\n )}\n\n {value.buttons.length === 0 && (\n <UdpText variant='body1' block>\n This panel has no buttons yet.\n </UdpText>\n )}\n\n {groups.map((group) => {\n // The open row's form renders under the list of the group it belongs to.\n const open = group.buttons\n .map((entry, position) => ({ ...entry, position }))\n .find((entry) => buttonKey(entry.button, entry.index) === expandedKey);\n const openName = open\n ? open.button.action.name || UNTITLED_BUTTON_LABEL\n : '';\n\n return (\n <UdpFlexbox\n key={group.groupName ?? '__ungrouped__'}\n direction='column'\n gap='xs'\n >\n <UdpText variant='caption1Strong' block>\n {group.groupName ?? UNGROUPED_LABEL}\n </UdpText>\n\n <UdpList selectionMode='none' showDivider>\n {group.buttons.map((entry, position) => {\n const { button, index } = entry;\n const key = buttonKey(button, index);\n const expanded = expandedKey === key;\n const name = button.action.name || UNTITLED_BUTTON_LABEL;\n const ruleCount = button.action.rules?.length ?? 0;\n\n return (\n <UdpListItem\n key={key}\n value={key}\n size='small'\n startIconName={resolvePanelButtonIcon(button)}\n label={name}\n subtitle={describeButton(button, { apiMethods, pages, workflows })}\n >\n <UdpFlexbox\n slot='end'\n direction='row'\n gap='xs'\n align='center'\n wrap='nowrap'\n >\n {button.isPrimary && (\n <UdpBadge appearance='tint' color='brand' size='small'>\n Primary\n </UdpBadge>\n )}\n {ruleCount > 0 && (\n <UdpBadge\n appearance='outline'\n color='warning'\n size='small'\n startIconName='options'\n >\n {`${ruleCount} ${ruleCount === 1 ? 'rule' : 'rules'}`}\n </UdpBadge>\n )}\n {button.hideAction && (\n <UdpBadge\n appearance='outline'\n color='subtle'\n size='small'\n startIconName='eye-off'\n >\n Hidden\n </UdpBadge>\n )}\n {button.enabled === false && (\n <UdpBadge\n appearance='ghost'\n color='subtle'\n size='small'\n >\n Disabled\n </UdpBadge>\n )}\n {!viewOnly && (\n <>\n <UdpIconButton\n appearance='transparent'\n size='small'\n iconName='chevron-up'\n ariaLabel={`Move ${name} up`}\n disabled={position === 0}\n onClick={() =>\n onChange(moveButton(value, index, 'up'))\n }\n />\n <UdpIconButton\n appearance='transparent'\n size='small'\n iconName='chevron-down'\n ariaLabel={`Move ${name} down`}\n disabled={position === group.buttons.length - 1}\n onClick={() =>\n onChange(moveButton(value, index, 'down'))\n }\n />\n </>\n )}\n <UdpIconButton\n appearance='transparent'\n size='small'\n iconName={expanded ? 'dismiss' : 'edit'}\n ariaLabel={\n expanded\n ? `Close ${name} settings`\n : `Edit ${name} settings`\n }\n onClick={() => setExpandedKey(expanded ? null : key)}\n />\n </UdpFlexbox>\n </UdpListItem>\n );\n })}\n </UdpList>\n\n {open && (\n <UdpCard appearance='outline' label={openName}>\n {!viewOnly && (\n <UdpIconButton\n slot='header-action'\n appearance='transparent'\n iconName='delete'\n ariaLabel={`Remove ${openName}`}\n onClick={() => handleRemove(open.index)}\n />\n )}\n <PanelActionForm\n value={open.button}\n onChange={(next) => patchButton(open.index, next)}\n apiMethods={apiMethods}\n pages={pages}\n workflows={workflows}\n existingGroupNames={groupSuggestions}\n disabled={viewOnly}\n />\n </UdpCard>\n )}\n </UdpFlexbox>\n );\n })}\n\n {!viewOnly && (\n <UdpFlexbox direction='row' gap='sm'>\n <UdpButton\n appearance='outline'\n startIconName='add'\n onClick={handleAdd}\n >\n Add button\n </UdpButton>\n </UdpFlexbox>\n )}\n </UdpFlexbox>\n );\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiEA,MAAasC,eAAcC,OAAA;CAAA,MAAAC,IAAAC,EAAA,GAAA;CAAC,MAAA,EAAAd,OAAAC,UAAAE,gBAAAE,YAAAU,IAAAT,OAAAU,IAAAT,WAAAU,IAAAT,oBAAAU,IAAAT,UAAAU,IAAAT,eAAAU,OAAAR;CAUT,IAAAS;AAAA,KAAAR,EAAA,OAAAE,IAAA;AANjBM,OAAAN,OAAAO,KAAAA,IAAA,EAAe,GAAfP;AAAeF,IAAA,KAAAE;AAAAF,IAAA,KAAAQ;OAAAA,MAAAR,EAAA;CAAf,MAAAR,aAAAgB;CAAe,IAAAE;AAAA,KAAAV,EAAA,OAAAG,IAAA;AACfO,OAAAP,OAAAM,KAAAA,IAAA,EAAU,GAAVN;AAAUH,IAAA,KAAAG;AAAAH,IAAA,KAAAU;OAAAA,MAAAV,EAAA;CAAV,MAAAP,QAAAiB;CAAU,IAAAC;AAAA,KAAAX,EAAA,OAAAI,IAA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uB;AAAAvB,IAAA,MAAAwB;OAAAA,OAAAxB,EAAA;AAAA,QA5KbwB;;AA1CuB,SAAA0B,MAAAG,OAAAgB,YAAA;AAAA,QA8DU;EAAA,GAAKhB;EAAKZ,UAAEA;EAAU"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/* Icon picker: the popover trigger wraps an icon button, so it sizes to it. */
|
|
2
|
-
.iconTrigger {
|
|
3
|
-
display: inline-flex;
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
/* Popover body: search on top, the icon palette scrolling beneath it. */
|
|
7
|
-
.iconPopover {
|
|
8
|
-
width: 396px;
|
|
9
|
-
padding: 12px;
|
|
10
|
-
display: flex;
|
|
11
|
-
flex-direction: column;
|
|
12
|
-
gap: 8px;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.iconGridScroll {
|
|
16
|
-
max-height: 300px;
|
|
17
|
-
overflow-y: auto;
|
|
18
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The inquiryTreeRule bindings a tree references — every `inquiryTreeRuleId`
|
|
3
|
-
* anywhere in a node's properties (conditional icons, groups, drop actions…).
|
|
4
|
-
* A binding is a row of this tree's own; the save deletes the ones the
|
|
5
|
-
* baseline referenced and the working tree no longer does. Same walk the
|
|
6
|
-
* backend does when it copies a node's configuration.
|
|
7
|
-
*/
|
|
8
|
-
import { InquiryTree } from './types';
|
|
9
|
-
export declare const ruleBindingIds: (tree: InquiryTree) => Set<string>;
|
|
10
|
-
//# sourceMappingURL=ruleBindings.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ruleBindings.d.ts","sourceRoot":"","sources":["../../../src/domain/inquiryTree/ruleBindings.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAiBtC,eAAO,MAAM,cAAc,oCAI1B,CAAC"}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
const isGuid = (value) => typeof value === 'string' &&
|
|
2
|
-
/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i.test(value);
|
|
3
|
-
const collect = (value, into) => {
|
|
4
|
-
if (Array.isArray(value)) {
|
|
5
|
-
value.forEach((entry) => collect(entry, into));
|
|
6
|
-
return;
|
|
7
|
-
}
|
|
8
|
-
if (!value || typeof value !== 'object')
|
|
9
|
-
return;
|
|
10
|
-
const record = value;
|
|
11
|
-
if (isGuid(record.inquiryTreeRuleId))
|
|
12
|
-
into.add(record.inquiryTreeRuleId);
|
|
13
|
-
Object.values(record).forEach((entry) => collect(entry, into));
|
|
14
|
-
};
|
|
15
|
-
export const ruleBindingIds = (tree) => {
|
|
16
|
-
const ids = new Set();
|
|
17
|
-
tree.nodes.forEach((node) => collect(node.properties, ids));
|
|
18
|
-
return ids;
|
|
19
|
-
};
|
|
20
|
-
//# sourceMappingURL=ruleBindings.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ruleBindings.js","sourceRoot":"","sources":["../../../src/domain/inquiryTree/ruleBindings.ts"],"names":[],"mappings":"AASA,MAAM,MAAM,GAAG,CAAC,KAAc,EAAmB,EAAE,CACjD,OAAO,KAAK,KAAK,QAAQ;IACzB,iEAAiE,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;AAEhF,MAAM,OAAO,GAAG,CAAC,KAAc,EAAE,IAAiB,EAAQ,EAAE,CAAC;IAC3D,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC;QACzB,KAAK,CAAC,OAAO,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,OAAO,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC,CAAC;QAC/C,OAAO;IACT,CAAC;IACD,IAAI,CAAC,KAAK,IAAI,OAAO,KAAK,KAAK,QAAQ;QAAE,OAAO;IAChD,MAAM,MAAM,GAAG,KAAgC,CAAC;IAChD,IAAI,MAAM,CAAC,MAAM,CAAC,iBAAiB,CAAC;QAAE,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,iBAAiB,CAAC,CAAC;IACzE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,OAAO,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,OAAO,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC,CAAC;AAAA,CAChE,CAAC;AAEF,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,IAAiB,EAAe,EAAE,CAAC;IAChE,MAAM,GAAG,GAAG,IAAI,GAAG,EAAU,CAAC;IAC9B,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,UAAU,EAAE,GAAG,CAAC,CAAC,CAAC;IAC5D,OAAO,GAAG,CAAC;AAAA,CACZ,CAAC"}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
//#region src/domain/inquiryTree/ruleBindings.ts
|
|
2
|
-
const isGuid = (value) => typeof value === "string" && /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i.test(value);
|
|
3
|
-
const collect = (value, into) => {
|
|
4
|
-
if (Array.isArray(value)) {
|
|
5
|
-
value.forEach((entry) => collect(entry, into));
|
|
6
|
-
return;
|
|
7
|
-
}
|
|
8
|
-
if (!value || typeof value !== "object") return;
|
|
9
|
-
const record = value;
|
|
10
|
-
if (isGuid(record.inquiryTreeRuleId)) into.add(record.inquiryTreeRuleId);
|
|
11
|
-
Object.values(record).forEach((entry) => collect(entry, into));
|
|
12
|
-
};
|
|
13
|
-
const ruleBindingIds = (tree) => {
|
|
14
|
-
const ids = /* @__PURE__ */ new Set();
|
|
15
|
-
tree.nodes.forEach((node) => collect(node.properties, ids));
|
|
16
|
-
return ids;
|
|
17
|
-
};
|
|
18
|
-
//#endregion
|
|
19
|
-
export { ruleBindingIds };
|
|
20
|
-
|
|
21
|
-
//# sourceMappingURL=ruleBindings.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ruleBindings.mjs","names":["InquiryTree","isGuid","value","test","collect","into","Set","Array","isArray","forEach","entry","record","Record","inquiryTreeRuleId","add","Object","values","ruleBindingIds","tree","ids","nodes","node","properties"],"sources":["../../../src/domain/inquiryTree/ruleBindings.ts"],"sourcesContent":["/**\n * The inquiryTreeRule bindings a tree references — every `inquiryTreeRuleId`\n * anywhere in a node's properties (conditional icons, groups, drop actions…).\n * A binding is a row of this tree's own; the save deletes the ones the\n * baseline referenced and the working tree no longer does. Same walk the\n * backend does when it copies a node's configuration.\n */\nimport { InquiryTree } from './types';\n\nconst isGuid = (value: unknown): value is string =>\n typeof value === 'string' &&\n /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i.test(value);\n\nconst collect = (value: unknown, into: Set<string>): void => {\n if (Array.isArray(value)) {\n value.forEach((entry) => collect(entry, into));\n return;\n }\n if (!value || typeof value !== 'object') return;\n const record = value as Record<string, unknown>;\n if (isGuid(record.inquiryTreeRuleId)) into.add(record.inquiryTreeRuleId);\n Object.values(record).forEach((entry) => collect(entry, into));\n};\n\nexport const ruleBindingIds = (tree: InquiryTree): Set<string> => {\n const ids = new Set<string>();\n tree.nodes.forEach((node) => collect(node.properties, ids));\n return ids;\n};\n"],"mappings":";AASA,MAAMC,UAAUC,UACd,OAAOA,UAAU,YACjB,kEAAkEC,KAAKD,MAAM;AAE/E,MAAME,WAAWF,OAAgBG,SAA4B;AAC3D,KAAIE,MAAMC,QAAQN,MAAM,EAAE;AACxBA,QAAMO,SAASC,UAAUN,QAAQM,OAAOL,KAAK,CAAC;AAC9C;;AAEF,KAAI,CAACH,SAAS,OAAOA,UAAU,SAAU;CACzC,MAAMS,SAAST;AACf,KAAID,OAAOU,OAAOE,kBAAkB,CAAER,MAAKS,IAAIH,OAAOE,kBAAkB;AACxEE,QAAOC,OAAOL,OAAO,CAACF,SAASC,UAAUN,QAAQM,OAAOL,KAAK,CAAC;;AAGhE,MAAaY,kBAAkBC,SAAmC;CAChE,MAAMC,sBAAM,IAAIb,KAAa;AAC7BY,MAAKE,MAAMX,SAASY,SAASjB,QAAQiB,KAAKC,YAAYH,IAAI,CAAC;AAC3D,QAAOA"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* THE read-only signal for a workspace — the Tree Builder's preview. A
|
|
3
|
-
* read-only view acts on nothing live: rows neither drag nor accept drops (so
|
|
4
|
-
* no drop action runs), loads write no recently-loaded history, and the record
|
|
5
|
-
* view mounts without its actions capability.
|
|
6
|
-
*
|
|
7
|
-
* `readOnly` says so explicitly. An allowlist without `'actions'` still means
|
|
8
|
-
* the same thing, because that is how the Tree Builder asks for a preview
|
|
9
|
-
* today; no allowlist is the full viewer.
|
|
10
|
-
*
|
|
11
|
-
* Takes plain strings so this stays free of the capability manifest's lazy
|
|
12
|
-
* React imports (it is tested in the domain harness).
|
|
13
|
-
*/
|
|
14
|
-
export declare const isReadOnlyView: (readOnly: boolean, capabilities: readonly string[]) => boolean;
|
|
15
|
-
/** The kernel allowlist for a view: a read-only one never mounts `actions`. */
|
|
16
|
-
export declare const viewCapabilities: <K extends string>(readOnly: boolean, capabilities: K[], allKeys: readonly K[]) => K[];
|
|
17
|
-
//# sourceMappingURL=readOnlyModel.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"readOnlyModel.d.ts","sourceRoot":"","sources":["../../../../src/inquiry/v2/kernel/readOnlyModel.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,cAAc,iEAGsD,CAAC;AAElF,+EAA+E;AAC/E,eAAO,MAAM,gBAAgB,GAAI,CAAC,oFAOhB,CAAC"}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* THE read-only signal for a workspace — the Tree Builder's preview. A
|
|
3
|
-
* read-only view acts on nothing live: rows neither drag nor accept drops (so
|
|
4
|
-
* no drop action runs), loads write no recently-loaded history, and the record
|
|
5
|
-
* view mounts without its actions capability.
|
|
6
|
-
*
|
|
7
|
-
* `readOnly` says so explicitly. An allowlist without `'actions'` still means
|
|
8
|
-
* the same thing, because that is how the Tree Builder asks for a preview
|
|
9
|
-
* today; no allowlist is the full viewer.
|
|
10
|
-
*
|
|
11
|
-
* Takes plain strings so this stays free of the capability manifest's lazy
|
|
12
|
-
* React imports (it is tested in the domain harness).
|
|
13
|
-
*/
|
|
14
|
-
export const isReadOnlyView = (readOnly, capabilities) => !!readOnly || (!!capabilities && !capabilities.includes('actions'));
|
|
15
|
-
/** The kernel allowlist for a view: a read-only one never mounts `actions`. */
|
|
16
|
-
export const viewCapabilities = (readOnly, capabilities, allKeys) => readOnly
|
|
17
|
-
? (capabilities !== null && capabilities !== void 0 ? capabilities : allKeys).filter((key) => key !== 'actions')
|
|
18
|
-
: capabilities;
|
|
19
|
-
//# sourceMappingURL=readOnlyModel.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"readOnlyModel.js","sourceRoot":"","sources":["../../../../src/inquiry/v2/kernel/readOnlyModel.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG,CAC5B,QAA6B,EAC7B,YAAkD,EACzC,EAAE,CAAC,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,CAAC,YAAY,IAAI,CAAC,YAAY,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC,CAAC;AAElF,+EAA+E;AAC/E,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAC9B,QAAiB,EACjB,YAA6B,EAC7B,OAAqB,EACJ,EAAE,CACnB,QAAQ;IACN,CAAC,CAAC,CAAC,YAAY,aAAZ,YAAY,cAAZ,YAAY,GAAI,OAAO,CAAC,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,KAAK,SAAS,CAAC;IAC9D,CAAC,CAAC,YAAY,CAAC"}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
//#region src/inquiry/v2/kernel/readOnlyModel.ts
|
|
2
|
-
/**
|
|
3
|
-
* THE read-only signal for a workspace — the Tree Builder's preview. A
|
|
4
|
-
* read-only view acts on nothing live: rows neither drag nor accept drops (so
|
|
5
|
-
* no drop action runs), loads write no recently-loaded history, and the record
|
|
6
|
-
* view mounts without its actions capability.
|
|
7
|
-
*
|
|
8
|
-
* `readOnly` says so explicitly. An allowlist without `'actions'` still means
|
|
9
|
-
* the same thing, because that is how the Tree Builder asks for a preview
|
|
10
|
-
* today; no allowlist is the full viewer.
|
|
11
|
-
*
|
|
12
|
-
* Takes plain strings so this stays free of the capability manifest's lazy
|
|
13
|
-
* React imports (it is tested in the domain harness).
|
|
14
|
-
*/
|
|
15
|
-
const isReadOnlyView = (readOnly, capabilities) => !!readOnly || !!capabilities && !capabilities.includes("actions");
|
|
16
|
-
/** The kernel allowlist for a view: a read-only one never mounts `actions`. */
|
|
17
|
-
const viewCapabilities = (readOnly, capabilities, allKeys) => readOnly ? (capabilities ?? allKeys).filter((key) => key !== "actions") : capabilities;
|
|
18
|
-
//#endregion
|
|
19
|
-
export { isReadOnlyView, viewCapabilities };
|
|
20
|
-
|
|
21
|
-
//# sourceMappingURL=readOnlyModel.mjs.map
|