udp-react-enterprise-component-library 27.0.0-next.12 → 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/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/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/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/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 +10 -12
- 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/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/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/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/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/utilities/useDateStringColumnDef.d.ts +1 -1
- package/dist/utilities/i18n/locales/es-US.json +23 -5
- package/dist/utilities/i18n/locales/es-US.mjs +24 -4
- package/dist/utilities/i18n/locales/fr-CA.json +23 -5
- package/dist/utilities/i18n/locales/fr-CA.mjs +24 -4
- package/package.json +30 -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":"panelActionFields.mjs","names":["React","useMemo","useState","UdpAutocomplete","UdpIconButton","UdpCheckbox","UdpDropdown","UdpFlexbox","UdpIconGrid","UdpPopover","styles","UdpSearchInput","UdpText","UdpTextInput","ACTION_TYPE_META","actionTypeOptions","resolvePanelButtonIcon","ActionConfig","ActionType","PanelButton","buttonPageId","changeActionType","pageOptionId","setButtonApiMethodId","setButtonPageId","setButtonWorkflowId","valueKindOf","ApiMethodOption","PageOption","WorkflowOption","PANEL_FIELD_COLUMNS","PanelButtonFieldProps","value","onChange","next","disabled","NamedOption","label","icon","ActionTypeOption","readOption","raw","T","undefined","patchAction","patch","Partial","action","PanelButtonIconField","t0","$","_c","t1","hideLabel","t2","iconPickerOpen","setIconPickerOpen","iconSearch","setIconSearch","T0","T1","T2","t10","t11","t12","t13","t14","t15","t16","t17","t18","t19","t20","t3","t4","t5","t6","t7","t8","t9","iconName","Symbol","for","iconTrigger","_temp","name","fluentName","replace","t21","t22","t23","event","target","t24","t25","event_0","detail","type","t26","iconGridScroll","t27","iconPopover","t28","t29","PanelButtonLabelField","PanelButtonActionTypeField","unanswered","map","_temp2","typeOptions","find","option_0","option","actionTypeId","selectedType","option_1","PanelButtonValueFieldsProps","apiMethods","pages","workflows","PanelButtonValueFields","kind","meta","method","apiMethodId","selectedApiMethod","currentPageId","page","pageId","selectedPage","apiMethodField","pageField","valueLabel","event_1","textField","workflow","workflowId","selectedWorkflow","event_2","_temp3","workflowField","PanelButtonGroupFieldProps","existingGroupNames","PanelButtonGroupField","Array","from","Set","filter","Boolean","_temp4","groupChoices","groupName","selectedGroup","length","name_0","trim","name_1","PanelButtonFlagFields","showRuleCount","ruleCount","rules","isPrimary","checked","enabled","hideAction","open","workflow_0","String","slice"],"sources":["../../src/actionPanels/panelActionFields.tsx"],"sourcesContent":["/**\n * The individual FIELDS of a panel button, each one a controlled primitive.\n *\n * `PanelActionForm` used to hold all of this inline, which made it the only way\n * to render any of it: a host that wanted the same icon picker and the same\n * flag checkboxes in a DIFFERENT layout had to copy the JSX, and a copy is how\n * two surfaces editing one entity drift apart. Tree Builder's add-button drawer\n * asks the same questions in a different ORDER (identity, then what it does,\n * then that answer's setup, then where it goes) — same controls, same wire\n * contracts, one layout each.\n *\n * So the fields live here and `PanelActionForm` re-composes them into exactly\n * the form it always rendered. Nothing is new: every control below is the code\n * that was in that file, moved, with its reasoning comment attached to it.\n *\n * Each primitive is controlled the same way the form is — `value` is the whole\n * `PanelButton`, `onChange` reports the whole next one — so a host can put them\n * anywhere without learning a per-field contract. The wire rules stay in\n * `panelOperations` (`valueKindOf`, `setButtonApiMethodId`, `setButtonPageId`,\n * `setButtonWorkflowId`, `buttonPageId`, `pageOptionId`, `changeActionType`);\n * nothing here re-derives where a page id is stored.\n */\nimport React, { useMemo, useState } from 'react';\nimport { UdpAutocomplete } from '../UI/fluent-web-components/UdpAutocomplete';\nimport { UdpIconButton } from '../UI/fluent-web-components/UdpIconButton';\nimport { UdpCheckbox } from '../UI/fluent-web-components/UdpCheckbox';\nimport { UdpDropdown } from '../UI/fluent-web-components/UdpDropdown';\nimport { UdpFlexbox } from '../UI/fluent-web-components/UdpFlexbox';\nimport { UdpIconGrid } from '../UI/fluent-web-components/UdpIconGrid';\nimport { UdpPopover } from '../UI/fluent-web-components/UdpPopover';\nimport styles from './panelActionFields.module.css';\nimport { UdpSearchInput } from '../UI/fluent-web-components/UdpSearchInput';\nimport { UdpText } from '../UI/fluent-web-components/UdpText';\nimport { UdpTextInput } from '../UI/fluent-web-components/UdpTextInput';\nimport {\n ACTION_TYPE_META,\n actionTypeOptions,\n resolvePanelButtonIcon\n} from '../domain/actionPanel/actionTypeMeta';\nimport type {\n ActionConfig,\n ActionType,\n PanelButton\n} from '../domain/actionPanel/types';\nimport {\n buttonPageId,\n changeActionType,\n pageOptionId,\n setButtonApiMethodId,\n setButtonPageId,\n setButtonWorkflowId,\n valueKindOf\n} from './panelOperations';\nimport type { ApiMethodOption, PageOption, WorkflowOption } from './types';\n\n/**\n * Two columns once the surface is wide enough; one in a narrow drawer. Exported\n * so a host laying the fields out itself lands on the SAME grid the form uses —\n * two surfaces editing one button must line their fields up identically.\n */\nexport const PANEL_FIELD_COLUMNS = { 0: 1, 480: 2 };\n\n/** What every field primitive takes: the whole button, in and out. */\nexport interface PanelButtonFieldProps {\n value: PanelButton;\n onChange: (next: PanelButton) => void;\n disabled?: boolean;\n}\n\ninterface NamedOption {\n value: string;\n label: string;\n icon?: string;\n}\n\ninterface ActionTypeOption {\n value: ActionType;\n label: string;\n icon: string;\n}\n\n/** Both pickers emit the option object by default, or `''` when cleared. */\nconst readOption = <T,>(raw: unknown): T | null =>\n raw === '' || raw === null || raw === undefined ? null : (raw as T);\n\nconst patchAction = (\n value: PanelButton,\n onChange: (next: PanelButton) => void,\n patch: Partial<ActionConfig>\n) => onChange({ ...value, action: { ...value.action, ...patch } });\n\n/**\n * THE SAME CONTROL the Appearance tab uses to choose an icon, trigger included:\n * a square icon TILE showing the current icon, which opens the `UdpIconGrid`\n * palette in a popover. One click on the icon itself; no field, no name text,\n * no chevron.\n *\n * Both halves of that matter and only the second was fixed the first time. It\n * was a text autocomplete over icon NAMES (you had to know the icon is called\n * \"flash\" before you could find it); replacing the LIST with the palette but\n * leaving a labelled dropdown-shaped trigger in front of it still read as a\n * different control for the same decision. Copy the whole affordance.\n *\n * Picks persist as `{ name, type: 'fluent' }`: the grid emits kebab registry\n * names, and stamping the type is what tells a renderer this is a registry\n * icon rather than a legacy one. Legacy names already stored keep rendering\n * through `resolvePanelButtonIcon` on the tile — they just cannot be picked.\n */\nexport const PanelButtonIconField = ({\n value,\n onChange,\n disabled = false,\n hideLabel = false\n}: PanelButtonFieldProps & {\n /**\n * Drop the visible \"Icon\" caption. For a host that sits the tile snug beside\n * a platform input on one row: the input renders its own label with internal\n * spacing this hand-placed caption cannot match, so the two baselines drift\n * by a few px — instantly visible. On such a composite row the tile goes\n * without a visible label (the aria-label stays) rather than with an\n * almost-aligned one. Default keeps the caption, which the form's grid\n * layout needs so the tile reads as a control and not decoration.\n */\n hideLabel?: boolean;\n}) => {\n const [iconPickerOpen, setIconPickerOpen] = useState(false);\n const [iconSearch, setIconSearch] = useState('');\n // The registry name the tile draws — never the legacy MDL2 `name` a 26.x\n // dual-write stores (\"CirclePlusIcon\") — spoken as words.\n const iconName = resolvePanelButtonIcon(value);\n\n return (\n <UdpFlexbox direction='column' gap='xxs' align='flex-start'>\n {!hideLabel && <UdpText variant='body1'>Icon</UdpText>}\n <UdpPopover\n open={iconPickerOpen}\n toggleOnTriggerClick={false}\n position='bottom-start'\n size='large'\n onPopoverClose={() => setIconPickerOpen(false)}\n >\n <span\n slot='trigger'\n className={styles.iconTrigger}\n onClick={() => !disabled && setIconPickerOpen((open) => !open)}\n >\n <UdpIconButton\n appearance='outline'\n shape='rounded'\n size='medium'\n disabled={disabled}\n iconName={iconName}\n ariaLabel={\n value.icon?.name || value.icon?.fluentName\n ? `Icon: ${iconName.replace(/-/g, ' ')}. Change`\n : 'Choose an icon'\n }\n />\n </span>\n <div slot='content' className={styles.iconPopover}>\n <UdpSearchInput\n placeholder='Search icons'\n controlSize='small'\n value={iconSearch}\n includeErrorPadding={false}\n onChange={(event) => setIconSearch(event.target.value)}\n />\n {/* compact = icon-only tiles, a real palette rather than name cards. */}\n <div className={styles.iconGridScroll}>\n <UdpIconGrid\n compact\n searchKey={iconSearch}\n onIconClick={(event: CustomEvent<unknown>) => {\n if (typeof event.detail !== 'string') return;\n onChange({\n ...value,\n icon: { ...value.icon, name: event.detail, type: 'fluent' }\n });\n setIconPickerOpen(false);\n }}\n />\n </div>\n </div>\n </UdpPopover>\n </UdpFlexbox>\n );\n};\n\n/** The button's label — also the action name on the wire. Required. */\nexport const PanelButtonLabelField = ({\n value,\n onChange,\n disabled = false\n}: PanelButtonFieldProps) => (\n <UdpTextInput\n label='Label'\n required\n value={value.action.name}\n disabled={disabled}\n includeErrorPadding={false}\n onChange={(event) =>\n patchAction(value, onChange, { name: event.target.value })\n }\n />\n);\n\n/**\n * The action type as a dropdown — the icon dropdown that IS the type question on\n * every surface editing a button (thirteen options with their own follow-up\n * fields is the form idiom, not a tile grid). A host that asks the question some\n * other way renders no type row at all (`PanelActionForm`'s\n * `actionTypeField='hidden'`).\n */\nexport const PanelButtonActionTypeField = ({\n value,\n onChange,\n disabled = false,\n unanswered = false\n}: PanelButtonFieldProps & {\n /**\n * Render the field as NOT YET ANSWERED: no selected value, placeholder text\n * instead. Opt-in, because `action.actionTypeId` cannot express \"unanswered\" —\n * it is non-nullable on the wire, so a freshly created button is force-seeded\n * with some type and the field would otherwise show that seed as the user's\n * answer. A host whose surface starts the type question genuinely open (Tree\n * Builder's add-button drawer tracks its own `typePicked` beside the draft)\n * passes this until the first pick; a host editing an existing button, or one\n * happy to present the seed as the current type, leaves it off and the field\n * renders exactly as it always has.\n */\n unanswered?: boolean;\n}) => {\n const typeOptions = useMemo<ActionTypeOption[]>(\n () =>\n actionTypeOptions().map((option) => ({\n value: option.actionTypeId,\n label: option.label,\n icon: option.iconName\n })),\n []\n );\n const selectedType = unanswered\n ? null\n : (typeOptions.find(\n (option) => option.value === value.action.actionTypeId\n ) ?? null);\n\n return (\n <UdpDropdown\n label='Action type'\n /* Only in the unanswered state, so the answered field's markup is\n untouched: with a value selected a placeholder never shows anyway. */\n placeholder={unanswered ? 'Choose an action type' : undefined}\n options={typeOptions}\n optionIcon='icon'\n value={selectedType}\n disabled={disabled}\n onChange={(event) => {\n const option = readOption<ActionTypeOption>(event.target.value);\n if (option) onChange(changeActionType(value, option.value));\n }}\n />\n );\n};\n\nexport interface PanelButtonValueFieldsProps extends PanelButtonFieldProps {\n /** API methods selectable for the API-backed action types. */\n apiMethods?: ApiMethodOption[];\n /** Pages selectable for the page-backed action types. */\n pages?: PageOption[];\n /** Workflows selectable for Start workflow. */\n workflows?: WorkflowOption[];\n}\n\n/**\n * The controls the CURRENT action type needs, and nothing else — a fragment, so\n * they drop straight into whatever grid the host is running:\n * - api / apiAndPage → `action.value` holds the apiMethodId\n * - apiAndPage / page → the page goes in `action.parameters.pageId`\n * - text → `action.value` holds the path / URL / function name\n * - workflow → `action.value` holds the workflowId\n * A type whose `valueKind` is `'none'` contributes NOTHING: callers check\n * `valueKindOf(button) !== 'none'` before giving the region a heading, so a type\n * with no setup never produces an empty section.\n */\nexport const PanelButtonValueFields = ({\n value,\n onChange,\n apiMethods = [],\n pages = [],\n workflows = [],\n disabled = false\n}: PanelButtonValueFieldsProps) => {\n const kind = valueKindOf(value);\n const meta = ACTION_TYPE_META[value.action.actionTypeId];\n\n const selectedApiMethod =\n apiMethods.find(\n (method) => method.apiMethodId === value.action.value\n ) ?? null;\n\n const currentPageId = buttonPageId(value);\n const selectedPage =\n pages.find(\n (page) =>\n pageOptionId(page) === currentPageId || page.pageId === currentPageId\n ) ?? null;\n\n const apiMethodField = (\n <UdpAutocomplete\n label='API method'\n placeholder='Search API methods'\n options={apiMethods}\n optionLabel='name'\n optionValue='apiMethodId'\n value={selectedApiMethod}\n disabled={disabled}\n onChange={(event) => {\n const option = readOption<ApiMethodOption>(event.target.value);\n onChange(setButtonApiMethodId(value, option?.apiMethodId ?? null));\n }}\n />\n );\n\n const pageField = (\n <UdpAutocomplete\n label='Page'\n placeholder='Search pages'\n options={pages}\n optionLabel='name'\n optionValue='pageId'\n value={selectedPage}\n disabled={disabled}\n onChange={(event) => {\n const option = readOption<PageOption>(event.target.value);\n onChange(setButtonPageId(value, option ? pageOptionId(option) : null));\n }}\n />\n );\n\n const textField = (\n <UdpTextInput\n label={meta?.valueLabel ?? 'Value'}\n value={value.action.value ?? ''}\n disabled={disabled}\n onChange={(event) =>\n patchAction(value, onChange, { value: event.target.value })\n }\n />\n );\n\n const selectedWorkflow =\n workflows.find((workflow) => workflow.workflowId === value.action.value) ??\n null;\n\n const workflowField = (\n <UdpAutocomplete\n label='Workflow'\n placeholder='Search workflows'\n options={workflows}\n optionLabel={(workflow: WorkflowOption) =>\n workflow.name || `Unnamed workflow (${String(workflow.workflowId).slice(0, 8)})`\n }\n optionValue='workflowId'\n value={selectedWorkflow}\n disabled={disabled}\n onChange={(event) => {\n const option = readOption<WorkflowOption>(event.target.value);\n onChange(setButtonWorkflowId(value, option?.workflowId ?? null));\n }}\n />\n );\n\n return (\n <>\n {(kind === 'api' || kind === 'apiAndPage') && apiMethodField}\n {(kind === 'page' || kind === 'apiAndPage') && pageField}\n {kind === 'text' && textField}\n {kind === 'workflow' && workflowField}\n </>\n );\n};\n\nexport interface PanelButtonGroupFieldProps extends PanelButtonFieldProps {\n /** Group names suggested by the free-text Group combobox. */\n existingGroupNames?: string[];\n}\n\n/**\n * Group. A combobox only once there is something to pick FROM: with no groups\n * yet the autocomplete opened an empty listbox under a field whose placeholder\n * said \"Ungrouped\", which reads as broken — a dropdown that drops nothing.\n * Typing the first group name is the same gesture in both, so the plain input\n * loses nothing.\n *\n * The guidance is a `popupHint` (the ⓘ on the label), never an inline line:\n * inline helper text under a grid cell is what was overlapping the checkbox\n * row below it, and platform guidance lives in hover tips.\n */\nexport const PanelButtonGroupField = ({\n value,\n onChange,\n existingGroupNames = [],\n disabled = false\n}: PanelButtonGroupFieldProps) => {\n const groupChoices = useMemo<NamedOption[]>(\n () =>\n Array.from(new Set(existingGroupNames.filter(Boolean))).map((name) => ({\n value: name,\n label: name\n })),\n [existingGroupNames]\n );\n const selectedGroup = value.groupName\n ? (groupChoices.find((option) => option.value === value.groupName) ?? {\n value: value.groupName,\n label: value.groupName\n })\n : null;\n\n return groupChoices.length > 0 ? (\n <UdpAutocomplete\n label='Group'\n placeholder='Ungrouped'\n popupHint='Buttons sharing a group render as one section'\n freeForm\n options={groupChoices}\n value={selectedGroup}\n disabled={disabled}\n includeErrorPadding={false}\n onChange={(event) => {\n const raw: unknown = event.target.value;\n const name =\n typeof raw === 'string'\n ? raw\n : (readOption<NamedOption>(raw)?.value ?? '');\n onChange({ ...value, groupName: name.trim() ? name.trim() : null });\n }}\n />\n ) : (\n <UdpTextInput\n label='Group'\n placeholder='Ungrouped'\n popupHint='Buttons sharing a group render as one section'\n value={value.groupName ?? ''}\n disabled={disabled}\n includeErrorPadding={false}\n onChange={(event) => {\n const name = event.target.value;\n onChange({ ...value, groupName: name.trim() ? name.trim() : null });\n }}\n />\n );\n};\n\n/**\n * State, as one left-aligned row. It used to be `space-between` against a\n * disabled \"Visibility rules (0)\" button that could not be pressed and named a\n * feature that does not exist yet — a dead control, and the only reason this row\n * was justified apart.\n *\n * The count stays a count HERE. Editing a condition needs the tenant rule\n * library, the node's field catalog and the builder's rule dialog — none of\n * which a field primitive can reach — so the surface that has them renders the\n * affordance and turns the count off (`showRuleCount`). This row still admits\n * the rules exist for every host that cannot.\n */\nexport const PanelButtonFlagFields = ({\n value,\n onChange,\n disabled = false,\n showRuleCount = true\n}: PanelButtonFieldProps & {\n /**\n * Keep the read-only rule COUNT. Default on, because a host that cannot edit\n * rules still has to admit they exist. A host that renders the condition\n * itself — Tree Builder's button drawer does — passes `false`: the sentence\n * and the count are the same fact said twice, and the count is the half that\n * says less.\n */\n showRuleCount?: boolean;\n}) => {\n const ruleCount = value.action.rules?.length ?? 0;\n\n return (\n <UdpFlexbox direction='row' gap='lg' align='center' wrap='wrap'>\n <UdpCheckbox\n label='Primary'\n checked={value.isPrimary}\n disabled={disabled}\n includeErrorPadding={false}\n onChange={(event) =>\n onChange({ ...value, isPrimary: Boolean(event.target.checked) })\n }\n />\n <UdpCheckbox\n label='Enabled'\n checked={value.enabled}\n disabled={disabled}\n includeErrorPadding={false}\n onChange={(event) =>\n onChange({ ...value, enabled: Boolean(event.target.checked) })\n }\n />\n <UdpCheckbox\n label='Hidden'\n checked={value.hideAction}\n disabled={disabled}\n includeErrorPadding={false}\n onChange={(event) =>\n onChange({ ...value, hideAction: Boolean(event.target.checked) })\n }\n />\n {/* Rules ride through the editor untouched, so a button that already has\n some has to say so — otherwise saving looks like it dropped them.\n A count, not a control: there is nothing to press yet. */}\n {showRuleCount && ruleCount > 0 && (\n <UdpText variant='caption1' muted>\n {ruleCount === 1 ? '1 visibility rule' : `${ruleCount} visibility rules`}\n </UdpText>\n )}\n </UdpFlexbox>\n );\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4DA,MAAa8B,sBAAsB;CAAE,GAAG;CAAG,KAAK;CAAG;;AAsBnD,MAAMU,cAAkBC,QACtBA,QAAQ,MAAMA,QAAQ,QAAQA,QAAQE,KAAAA,IAAY,OAAQF;AAE5D,MAAMG,eACJZ,OACAC,UACAY,UACGZ,SAAS;CAAE,GAAGD;CAAOe,QAAQ;EAAE,GAAGf,MAAMe;EAAQ,GAAGF;EAAM;CAAG,CAAC;;;;;;;;;;;;;;;;;;AAmBlE,MAAaG,wBAAuBC,OAAA;CAAA,MAAAC,IAAAC,EAAA,GAAA;CAAC,MAAA,EAAAnB,OAAAC,UAAAE,UAAAiB,IAAAC,WAAAC,OAAAL;CAGnC,MAAAd,WAAAiB,OAAAT,KAAAA,IAAA,QAAAS;CACA,MAAAC,YAAAC,OAAAX,KAAAA,IAAA,QAAAW;CAaA,MAAA,CAAAC,gBAAAC,qBAA4CtD,SAAS,MAAM;CAC3D,MAAA,CAAAuD,YAAAC,iBAAoCxD,SAAS,GAAG;CAAC,IAAAyD;CAAA,IAAAC;CAAA,IAAAC;CAAA,IAAAC;CAAA,IAAAC;CAAA,IAAAC;CAAA,IAAAC;CAAA,IAAAC;CAAA,IAAAC;CAAA,IAAAC;CAAA,IAAAC;CAAA,IAAAC;CAAA,IAAAC;CAAA,IAAAC;CAAA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,MAAA5B,EAAA,QAAA6B,IAAA;AAnCHjB,QAAA,sBAAA,cAAC,YAAD;GAAsB,WAAA;GAAU,KAAA;GAAW,OAAA;GAAc,MAAA;GAoC5C,EAnCXY,IASAE,IASAE,IAYCC,GAKU;AAAA7B,IAAA,MAAAwB;AAAAxB,IAAA,MAAA0B;AAAA1B,IAAA,MAAA4B;AAAA5B,IAAA,MAAA6B;AAAA7B,IAAA,MAAAY;OAAAA,OAAAZ,EAAA;AAAA,QApCbY;;AAzXgC,SAAAsB,MAAAiF,MAAA;AAAA,QAoC8B,CAACA;;AAqEzB,SAAAzD,OAAAI,QAAA;AAAA,QAqBC;EAAAhF,OAC5BgF,OAAMC;EAAa5E,OACnB2E,OAAM3E;EAAMC,MACb0E,OAAMhC;EACb;;AA+C+B,SAAA2D,OAAA2B,YAAA;AAAA,QA4E9B/B,WAAQlD,QAAR,qBAAsCkF,OAAOhC,WAAQC,WAAY,CAAAgC,MAAO,GAAG,EAAE,CAAA;;AAsChD,SAAAnB,OAAAhE,MAAA;AAAA,QAQwC;EAAArD,OAC9DqD;EAAIhD,OACJgD;EACR"}
|
|
1
|
+
{"version":3,"file":"panelActionFields.mjs","names":["React","useMemo","UdpAutocomplete","UdpIconPicker","UdpCheckbox","UdpDropdown","UdpFlexbox","UdpText","UdpTextInput","ACTION_TYPE_META","actionTypeOptions","resolvePanelButtonIcon","ActionConfig","ActionType","PanelButton","changeActionType","findButtonPage","pageOptionId","setButtonPageId","setButtonValue","valueKindOf","ApiMethodOption","PageOption","WorkflowOption","PanelButtonFieldProps","value","onChange","next","disabled","NamedOption","label","icon","ActionTypeOption","readOption","raw","T","undefined","patchAction","patch","Partial","action","PanelButtonIconField","t0","$","_c","t1","hideLabel","t2","t3","iconName","t4","t5","event","target","name","type","t6","PanelButtonLabelField","PanelButtonActionTypeField","unanswered","Symbol","for","map","_temp","typeOptions","find","option_0","option","actionTypeId","selectedType","option_1","t7","PanelButtonValueFieldsProps","apiMethods","pages","workflows","PanelButtonValueFields","t8","kind","meta","t9","method","apiMethodId","selectedApiMethod","t10","selectedPage","t11","t12","apiMethodField","t13","event_0","t14","pageField","t15","valueLabel","t16","t17","event_1","t18","textField","t19","workflow","workflowId","selectedWorkflow","t20","event_2","t21","_temp2","workflowField","t22","t23","t24","t25","t26","PanelButtonGroupFieldProps","existingGroupNames","PanelButtonGroupField","Array","from","Set","filter","Boolean","_temp3","groupChoices","groupName","selectedGroup","length","name_0","trim","name_1","PanelButtonFlagFields","showRuleCount","ruleCount","rules","isPrimary","checked","enabled","hideAction","workflow_0","String","slice"],"sources":["../../src/actionPanels/panelActionFields.tsx"],"sourcesContent":["/**\n * The individual FIELDS of a panel button, each one a controlled primitive.\n *\n * Hosts compose them in their own layout — Tree Builder's button drawer asks\n * identity, then what it does, then that answer's setup, then where it goes —\n * so every surface editing a button shares the same controls and wire\n * contracts instead of copying JSX.\n *\n * Each primitive is controlled the same way the form is — `value` is the whole\n * `PanelButton`, `onChange` reports the whole next one — so a host can put them\n * anywhere without learning a per-field contract. The wire rules stay in\n * `panelOperations` (`valueKindOf`, `setButtonValue`, `setButtonPageId`,\n * `findButtonPage`, `pageOptionId`, `changeActionType`);\n * nothing here re-derives where a page id is stored.\n */\nimport React, { useMemo } from 'react';\nimport { UdpAutocomplete } from '../UI/fluent-web-components/UdpAutocomplete';\nimport { UdpIconPicker } from '../UI/fluent-web-components/UdpIconPicker';\nimport { UdpCheckbox } from '../UI/fluent-web-components/UdpCheckbox';\nimport { UdpDropdown } from '../UI/fluent-web-components/UdpDropdown';\nimport { UdpFlexbox } from '../UI/fluent-web-components/UdpFlexbox';\nimport { UdpText } from '../UI/fluent-web-components/UdpText';\nimport { UdpTextInput } from '../UI/fluent-web-components/UdpTextInput';\nimport {\n ACTION_TYPE_META,\n actionTypeOptions,\n resolvePanelButtonIcon\n} from '../domain/actionPanel/actionTypeMeta';\nimport type {\n ActionConfig,\n ActionType,\n PanelButton\n} from '../domain/actionPanel/types';\nimport {\n changeActionType,\n findButtonPage,\n pageOptionId,\n setButtonPageId,\n setButtonValue,\n valueKindOf\n} from './panelOperations';\nimport type { ApiMethodOption, PageOption, WorkflowOption } from './types';\n\n/** What every field primitive takes: the whole button, in and out. */\nexport interface PanelButtonFieldProps {\n value: PanelButton;\n onChange: (next: PanelButton) => void;\n disabled?: boolean;\n}\n\ninterface NamedOption {\n value: string;\n label: string;\n icon?: string;\n}\n\ninterface ActionTypeOption {\n value: ActionType;\n label: string;\n icon: string;\n}\n\n/** Both pickers emit the option object by default, or `''` when cleared. */\nconst readOption = <T,>(raw: unknown): T | null =>\n raw === '' || raw === null || raw === undefined ? null : (raw as T);\n\nconst patchAction = (\n value: PanelButton,\n onChange: (next: PanelButton) => void,\n patch: Partial<ActionConfig>\n) => onChange({ ...value, action: { ...value.action, ...patch } });\n\n/**\n * THE SAME CONTROL the Appearance tab uses to choose an icon, trigger included:\n * the library icon picker in its popover form — a square icon TILE showing the\n * current icon, which opens the icon palette in a popover. One click on the icon itself; no field, no name text,\n * no chevron.\n *\n * Both halves of that matter and only the second was fixed the first time. It\n * was a text autocomplete over icon NAMES (you had to know the icon is called\n * \"flash\" before you could find it); replacing the LIST with the palette but\n * leaving a labelled dropdown-shaped trigger in front of it still read as a\n * different control for the same decision. Copy the whole affordance.\n *\n * Picks persist as `{ name, type: 'fluent' }`: the grid emits kebab registry\n * names, and stamping the type is what tells a renderer this is a registry\n * icon rather than a legacy one. Legacy names already stored keep rendering\n * through `resolvePanelButtonIcon` on the tile — they just cannot be picked.\n */\nexport const PanelButtonIconField = ({\n value,\n onChange,\n disabled = false,\n hideLabel = false\n}: PanelButtonFieldProps & {\n /**\n * Drop the visible \"Icon\" caption. For a host that sits the tile snug beside\n * a platform input on one row: the input renders its own label with internal\n * spacing this hand-placed caption cannot match, so the two baselines drift\n * by a few px — instantly visible. On such a composite row the tile goes\n * without a visible label (the aria-label stays) rather than with an\n * almost-aligned one. Default keeps the caption, which the form's grid\n * layout needs so the tile reads as a control and not decoration.\n */\n hideLabel?: boolean;\n}) => {\n // The registry name the tile draws — never the legacy MDL2 `name` a 26.x\n // dual-write stores (\"CirclePlusIcon\").\n const iconName = resolvePanelButtonIcon(value);\n\n return (\n <UdpIconPicker\n presentation='popover'\n label={hideLabel ? undefined : 'Icon'}\n value={iconName}\n size='md'\n disabled={disabled}\n includeErrorPadding={false}\n onChange={(event) => {\n if (!event.target.value) return;\n onChange({\n ...value,\n icon: { ...value.icon, name: event.target.value, type: 'fluent' }\n });\n }}\n />\n );\n};\n\n/** The button's label — also the action name on the wire. Required. */\nexport const PanelButtonLabelField = ({\n value,\n onChange,\n disabled = false\n}: PanelButtonFieldProps) => (\n <UdpTextInput\n label='Label'\n required\n value={value.action.name}\n disabled={disabled}\n includeErrorPadding={false}\n onChange={(event) =>\n patchAction(value, onChange, { name: event.target.value })\n }\n />\n);\n\n/**\n * The action type as a dropdown — the icon dropdown that IS the type question on\n * every surface editing a button (thirteen options with their own follow-up\n * fields is the form idiom, not a tile grid). A host that asks the question some\n * other way simply doesn't render this field.\n */\nexport const PanelButtonActionTypeField = ({\n value,\n onChange,\n disabled = false,\n unanswered = false\n}: PanelButtonFieldProps & {\n /**\n * Render the field as NOT YET ANSWERED: no selected value, placeholder text\n * instead. Opt-in, because `action.actionTypeId` cannot express \"unanswered\" —\n * it is non-nullable on the wire, so a freshly created button is force-seeded\n * with some type and the field would otherwise show that seed as the user's\n * answer. A host whose surface starts the type question genuinely open (Tree\n * Builder's add-button drawer tracks its own `typePicked` beside the draft)\n * passes this until the first pick; a host editing an existing button, or one\n * happy to present the seed as the current type, leaves it off and the field\n * renders exactly as it always has.\n */\n unanswered?: boolean;\n}) => {\n const typeOptions = useMemo<ActionTypeOption[]>(\n () =>\n actionTypeOptions().map((option) => ({\n value: option.actionTypeId,\n label: option.label,\n icon: option.iconName\n })),\n []\n );\n const selectedType = unanswered\n ? null\n : typeOptions.find(\n (option) => option.value === value.action.actionTypeId\n ) ?? null;\n\n return (\n <UdpDropdown\n label='Action type'\n /* Only in the unanswered state, so the answered field's markup is\n untouched: with a value selected a placeholder never shows anyway. */\n placeholder={unanswered ? 'Choose an action type' : undefined}\n options={typeOptions}\n optionIcon='icon'\n value={selectedType}\n disabled={disabled}\n onChange={(event) => {\n const option = readOption<ActionTypeOption>(event.target.value);\n if (option) onChange(changeActionType(value, option.value));\n }}\n />\n );\n};\n\nexport interface PanelButtonValueFieldsProps extends PanelButtonFieldProps {\n /** API methods selectable for the API-backed action types. */\n apiMethods?: ApiMethodOption[];\n /** Pages selectable for the page-backed action types. */\n pages?: PageOption[];\n /** Workflows selectable for Start workflow. */\n workflows?: WorkflowOption[];\n}\n\n/**\n * The controls the CURRENT action type needs, and nothing else — a fragment, so\n * they drop straight into whatever grid the host is running:\n * - api / apiAndPage → `action.value` holds the apiMethodId\n * - apiAndPage / page → the page goes in `action.parameters.pageId`\n * - text → `action.value` holds the path / URL / function name\n * - workflow → `action.value` holds the workflowId\n * A type whose `valueKind` is `'none'` contributes NOTHING: callers check\n * `valueKindOf(button) !== 'none'` before giving the region a heading, so a type\n * with no setup never produces an empty section.\n */\nexport const PanelButtonValueFields = ({\n value,\n onChange,\n apiMethods = [],\n pages = [],\n workflows = [],\n disabled = false\n}: PanelButtonValueFieldsProps) => {\n const kind = valueKindOf(value);\n const meta = ACTION_TYPE_META[value.action.actionTypeId];\n\n const selectedApiMethod =\n apiMethods.find((method) => method.apiMethodId === value.action.value) ??\n null;\n\n const selectedPage = findButtonPage(pages, value) ?? null;\n\n const apiMethodField = (\n <UdpAutocomplete\n label='API method'\n placeholder='Search API methods'\n options={apiMethods}\n optionLabel='name'\n optionValue='apiMethodId'\n value={selectedApiMethod}\n disabled={disabled}\n onChange={(event) => {\n const option = readOption<ApiMethodOption>(event.target.value);\n onChange(setButtonValue(value, option?.apiMethodId ?? null));\n }}\n />\n );\n\n const pageField = (\n <UdpAutocomplete\n label='Page'\n placeholder='Search pages'\n options={pages}\n optionLabel='name'\n optionValue='pageId'\n value={selectedPage}\n disabled={disabled}\n onChange={(event) => {\n const option = readOption<PageOption>(event.target.value);\n onChange(setButtonPageId(value, option ? pageOptionId(option) : null));\n }}\n />\n );\n\n const textField = (\n <UdpTextInput\n label={meta?.valueLabel ?? 'Value'}\n value={value.action.value ?? ''}\n disabled={disabled}\n onChange={(event) => onChange(setButtonValue(value, event.target.value))}\n />\n );\n\n const selectedWorkflow =\n workflows.find((workflow) => workflow.workflowId === value.action.value) ??\n null;\n\n const workflowField = (\n <UdpAutocomplete\n label='Workflow'\n placeholder='Search workflows'\n options={workflows}\n optionLabel={(workflow: WorkflowOption) =>\n workflow.name ||\n `Unnamed workflow (${String(workflow.workflowId).slice(0, 8)})`\n }\n optionValue='workflowId'\n value={selectedWorkflow}\n disabled={disabled}\n onChange={(event) => {\n const option = readOption<WorkflowOption>(event.target.value);\n onChange(setButtonValue(value, option?.workflowId ?? null));\n }}\n />\n );\n\n return (\n <>\n {(kind === 'api' || kind === 'apiAndPage') && apiMethodField}\n {(kind === 'page' || kind === 'apiAndPage') && pageField}\n {kind === 'text' && textField}\n {kind === 'workflow' && workflowField}\n </>\n );\n};\n\nexport interface PanelButtonGroupFieldProps extends PanelButtonFieldProps {\n /** Group names suggested by the free-text Group combobox. */\n existingGroupNames?: string[];\n}\n\n/**\n * Group. A combobox only once there is something to pick FROM: with no groups\n * yet the autocomplete opened an empty listbox under a field whose placeholder\n * said \"Ungrouped\", which reads as broken — a dropdown that drops nothing.\n * Typing the first group name is the same gesture in both, so the plain input\n * loses nothing.\n *\n * The guidance is a `popupHint` (the ⓘ on the label), never an inline line:\n * inline helper text under a grid cell is what was overlapping the checkbox\n * row below it, and platform guidance lives in hover tips.\n */\nexport const PanelButtonGroupField = ({\n value,\n onChange,\n existingGroupNames = [],\n disabled = false\n}: PanelButtonGroupFieldProps) => {\n const groupChoices = useMemo<NamedOption[]>(\n () =>\n Array.from(new Set(existingGroupNames.filter(Boolean))).map((name) => ({\n value: name,\n label: name\n })),\n [existingGroupNames]\n );\n const selectedGroup = value.groupName\n ? groupChoices.find((option) => option.value === value.groupName) ?? {\n value: value.groupName,\n label: value.groupName\n }\n : null;\n\n return groupChoices.length > 0 ? (\n <UdpAutocomplete\n label='Group'\n placeholder='Ungrouped'\n popupHint='Buttons sharing a group render as one menu button in the record header, named after the group'\n freeForm\n options={groupChoices}\n value={selectedGroup}\n disabled={disabled}\n includeErrorPadding={false}\n onChange={(event) => {\n const raw: unknown = event.target.value;\n const name =\n typeof raw === 'string'\n ? raw\n : readOption<NamedOption>(raw)?.value ?? '';\n onChange({ ...value, groupName: name.trim() ? name.trim() : null });\n }}\n />\n ) : (\n <UdpTextInput\n label='Group'\n placeholder='Ungrouped'\n popupHint='Buttons sharing a group render as one menu button in the record header, named after the group'\n value={value.groupName ?? ''}\n disabled={disabled}\n includeErrorPadding={false}\n onChange={(event) => {\n const name = event.target.value;\n onChange({ ...value, groupName: name.trim() ? name.trim() : null });\n }}\n />\n );\n};\n\n/**\n * State, as one left-aligned row. It used to be `space-between` against a\n * disabled \"Visibility rules (0)\" button that could not be pressed and named a\n * feature that does not exist yet — a dead control, and the only reason this row\n * was justified apart.\n *\n * The count stays a count HERE. Editing a condition needs the tenant rule\n * library, the node's field catalog and the builder's rule dialog — none of\n * which a field primitive can reach — so the surface that has them renders the\n * affordance and turns the count off (`showRuleCount`). This row still admits\n * the rules exist for every host that cannot.\n */\nexport const PanelButtonFlagFields = ({\n value,\n onChange,\n disabled = false,\n showRuleCount = true\n}: PanelButtonFieldProps & {\n /**\n * Keep the read-only rule COUNT. Default on, because a host that cannot edit\n * rules still has to admit they exist. A host that renders the condition\n * itself — Tree Builder's button drawer does — passes `false`: the sentence\n * and the count are the same fact said twice, and the count is the half that\n * says less.\n */\n showRuleCount?: boolean;\n}) => {\n const ruleCount = value.action.rules?.length ?? 0;\n\n return (\n <UdpFlexbox direction='row' gap='lg' align='center' wrap='wrap'>\n <UdpCheckbox\n label='Primary'\n checked={value.isPrimary}\n disabled={disabled}\n includeErrorPadding={false}\n onChange={(event) =>\n onChange({ ...value, isPrimary: Boolean(event.target.checked) })\n }\n />\n <UdpCheckbox\n label='Enabled'\n checked={value.enabled}\n disabled={disabled}\n includeErrorPadding={false}\n onChange={(event) =>\n onChange({ ...value, enabled: Boolean(event.target.checked) })\n }\n />\n <UdpCheckbox\n label='Hidden'\n checked={value.hideAction}\n disabled={disabled}\n includeErrorPadding={false}\n onChange={(event) =>\n onChange({ ...value, hideAction: Boolean(event.target.checked) })\n }\n />\n {/* Rules ride through the editor untouched, so a button that already has\n some has to say so — otherwise saving looks like it dropped them.\n A count, not a control: there is nothing to press yet. */}\n {showRuleCount && ruleCount > 0 && (\n <UdpText variant='caption1' muted>\n {ruleCount === 1\n ? '1 visibility rule'\n : `${ruleCount} visibility rules`}\n </UdpText>\n )}\n </UdpFlexbox>\n );\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AA+DA,MAAMiC,cAAkBC,QACtBA,QAAQ,MAAMA,QAAQ,QAAQA,QAAQE,KAAAA,IAAY,OAAQF;AAE5D,MAAMG,eACJZ,OACAC,UACAY,UACGZ,SAAS;CAAE,GAAGD;CAAOe,QAAQ;EAAE,GAAGf,MAAMe;EAAQ,GAAGF;EAAM;CAAG,CAAC;;;;;;;;;;;;;;;;;;AAmBlE,MAAaG,wBAAuBC,OAAA;CAAA,MAAAC,IAAAC,EAAA,GAAA;CAAC,MAAA,EAAAnB,OAAAC,UAAAE,UAAAiB,IAAAC,WAAAC,OAAAL;CAGnC,MAAAd,WAAAiB,OAAAT,KAAAA,IAAA,QAAAS;CACA,MAAAC,YAAAC,OAAAX,KAAAA,IAAA,QAAAW;CAAiB,IAAAC;AAAA,KAAAL,EAAA,OAAAlB,OAAA;AAeAuB,OAAArC,uBAAuBc,MAAM;AAAAkB,IAAA,KAAAlB;AAAAkB,IAAA,KAAAK;OAAAA,MAAAL,EAAA;CAA9C,MAAAM,WAAiBD;CAKN,MAAAE,KAAAJ,YAAAV,KAAAA,IAAA;CAA8B,IAAA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AAzC,EAAA,QAAAO,MAAAP,EAAA,QAAAa,MAAAb,EAAA,QAAAkC,MAAAlC,EAAA,QAAAqC,IAAA;AArCHI,QAAA,sBAAA,cAAC,YAAD;GAAsB,WAAA;GAAU,KAAA;GAAW,OAAA;GAAc,MAAA;GAsC5C,EArCXlC,IASAM,IASAqB,IAYCG,GAOU;AAAArC,IAAA,MAAAO;AAAAP,IAAA,MAAAa;AAAAb,IAAA,MAAAkC;AAAAlC,IAAA,MAAAqC;AAAArC,IAAA,MAAAyC;OAAAA,OAAAzC,EAAA;AAAA,QAtCbyC;;AAzQsC,SAAArB,MAAAI,QAAA;AAAA,QAqBC;EAAA1C,OAC5B0C,OAAMC;EAAatC,OACnBqC,OAAMrC;EAAMC,MACboC,OAAMlB;EACb;;AA+C+B,SAAA0D,OAAA+B,YAAA;AAAA,QAoE9BrC,WAAQ/C,QAAR,qBACqBqF,OAAOtC,WAAQC,WAAY,CAAAsC,MAAO,GAAG,EAAE,CAAA;;AAsC/B,SAAAlB,OAAApE,MAAA;AAAA,QAQwC;EAAA7B,OAC9D6B;EAAIxB,OACJwB;EACR"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Pure logic behind the action-panel editors:
|
|
2
|
+
* Pure logic behind the action-panel editors: group names, new-button
|
|
3
3
|
* defaults, action-type switching and the one-line behaviour summary.
|
|
4
4
|
*
|
|
5
5
|
* No React, no HTTP — kept separate from the components so the rules that are
|
|
@@ -9,44 +9,17 @@
|
|
|
9
9
|
import { ActionValueKind } from '../domain/actionPanel/actionTypeMeta';
|
|
10
10
|
import { ActionType, Panel, PanelButton } from '../domain/actionPanel/types';
|
|
11
11
|
import { ActionLookups, PageOption } from './types';
|
|
12
|
-
/** UI label for the `groupName === null` tail. Never persisted. */
|
|
13
|
-
export declare const UNGROUPED_LABEL = "Ungrouped";
|
|
14
|
-
/** Shown in place of an empty action name. */
|
|
15
|
-
export declare const UNTITLED_BUTTON_LABEL = "Untitled action";
|
|
16
12
|
/**
|
|
17
13
|
* Identity for React keys and single-expand tracking. Persisted rows have an
|
|
18
|
-
* association id; unsaved ones fall back to their position, which
|
|
19
|
-
*
|
|
20
|
-
* the array order).
|
|
14
|
+
* association id; unsaved ones fall back to their position, which reordering
|
|
15
|
+
* keeps stable (moveButtonInOrder rewrites `sequence`, never the array order).
|
|
21
16
|
*/
|
|
22
17
|
export declare const buttonKey: (button: PanelButton, index: number) => string;
|
|
23
|
-
/** A button paired with its position in `panel.buttons`. */
|
|
24
|
-
export interface GroupedPanelButton {
|
|
25
|
-
button: PanelButton;
|
|
26
|
-
/** Position in `panel.buttons` — what the mutating helpers address. */
|
|
27
|
-
index: number;
|
|
28
|
-
}
|
|
29
|
-
/** One group section: same `groupName`, ordered by `sequence`. */
|
|
30
|
-
export interface PanelButtonGroup {
|
|
31
|
-
/** null ⇒ the ungrouped tail. */
|
|
32
|
-
groupName: string | null;
|
|
33
|
-
buttons: GroupedPanelButton[];
|
|
34
|
-
}
|
|
35
18
|
/**
|
|
36
|
-
*
|
|
37
|
-
*
|
|
38
|
-
* section sorted by `sequence` within it.
|
|
19
|
+
* Distinct group names already used in the panel, in the canonical button
|
|
20
|
+
* order — the order the runtime's actions menu sections them in.
|
|
39
21
|
*/
|
|
40
|
-
export declare const groupButtons: (panel: Panel) => PanelButtonGroup[];
|
|
41
|
-
/** Distinct group names already used in the panel, in section order. */
|
|
42
22
|
export declare const panelGroupNames: (panel: Panel) => string[];
|
|
43
|
-
/**
|
|
44
|
-
* Move a button one slot within its group and renumber `sequence` across the
|
|
45
|
-
* whole panel from the flattened group order, so what the editor shows is what
|
|
46
|
-
* `sequence` says. Array order is untouched (keys stay stable). Returns the
|
|
47
|
-
* same panel when the move is not possible.
|
|
48
|
-
*/
|
|
49
|
-
export declare const moveButton: (panel: Panel, index: number, direction: "down" | "up") => Panel;
|
|
50
23
|
/** A brand-new, unsaved button appended to the end of the panel. */
|
|
51
24
|
export declare const newPanelButton: (panel: Panel) => PanelButton;
|
|
52
25
|
/** Which value control this button's action type needs. */
|
|
@@ -54,10 +27,10 @@ export declare const valueKindOf: (button: PanelButton) => ActionValueKind;
|
|
|
54
27
|
/** Does this value kind carry a page in `parameters.pageId`? */
|
|
55
28
|
export declare const usesPage: (kind: ActionValueKind) => boolean;
|
|
56
29
|
/**
|
|
57
|
-
* Switch action type, keeping name /
|
|
58
|
-
*
|
|
59
|
-
*
|
|
60
|
-
* opens a page.
|
|
30
|
+
* Switch action type, keeping name / flags / rules, and an icon the author
|
|
31
|
+
* chose (an unchosen one becomes the new type's). `value` survives only when
|
|
32
|
+
* both types put the same thing in it (legacy behaviour: leaving the API group
|
|
33
|
+
* clears it), and `parameters.pageId` only when the new type still opens a page.
|
|
61
34
|
*/
|
|
62
35
|
export declare const changeActionType: (button: PanelButton, actionTypeId: ActionType) => PanelButton;
|
|
63
36
|
/** The id persisted for a page — legacy rule: the parent page wins. */
|
|
@@ -75,13 +48,14 @@ export declare const buttonPageId: (button: PanelButton) => string;
|
|
|
75
48
|
* API method.
|
|
76
49
|
*/
|
|
77
50
|
export declare const setButtonPageId: (button: PanelButton, pageId: string) => PanelButton;
|
|
78
|
-
/** Write the API method into `value`. */
|
|
79
|
-
export declare const setButtonApiMethodId: (button: PanelButton, apiMethodId: string) => PanelButton;
|
|
80
51
|
/**
|
|
81
|
-
* Write the
|
|
82
|
-
*
|
|
52
|
+
* Write `value`: the API method for the API types, the workflow for Start
|
|
53
|
+
* workflow (the field v1 Tree Builder wrote and the runtime reads,
|
|
54
|
+
* `workflow/{value}/start`), the text for the text types.
|
|
83
55
|
*/
|
|
84
|
-
export declare const
|
|
56
|
+
export declare const setButtonValue: (button: PanelButton, value: string) => PanelButton;
|
|
57
|
+
/** The page option a button points at — under either id legacy persisted. */
|
|
58
|
+
export declare const findButtonPage: (pages: PageOption[], button: PanelButton) => PageOption;
|
|
85
59
|
/**
|
|
86
60
|
* One-line summary of what a button does: type label plus resolved lookup
|
|
87
61
|
* names. Never renders a raw guid — an id with no matching lookup row reads as
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"panelOperations.d.ts","sourceRoot":"","sources":["../../src/actionPanels/panelOperations.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,OAAO,EAEL,eAAe,
|
|
1
|
+
{"version":3,"file":"panelOperations.d.ts","sourceRoot":"","sources":["../../src/actionPanels/panelOperations.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,OAAO,EAEL,eAAe,EAGhB,MAAM,sCAAsC,CAAC;AAG9C,OAAO,EAAE,UAAU,EAAE,KAAK,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAC7E,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAEpD;;;;GAIG;AACH,eAAO,MAAM,SAAS,gDACoB,CAAC;AAK3C;;;GAGG;AACH,eAAO,MAAM,eAAe,4BAM3B,CAAC;AAEF,oEAAoE;AACpE,eAAO,MAAM,cAAc,+BAyB1B,CAAC;AAEF,2DAA2D;AAC3D,eAAO,MAAM,WAAW,0CAC6C,CAAC;AAYtE,gEAAgE;AAChE,eAAO,MAAM,QAAQ,oCACqB,CAAC;AAwB3C;;;;;GAKG;AACH,eAAO,MAAM,gBAAgB,gEAuB5B,CAAC;AAEF,yEAAuE;AACvE,eAAO,MAAM,YAAY,8BACS,CAAC;AAEnC;;;;GAIG;AACH,eAAO,MAAM,YAAY,iCAOxB,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,eAAe,sDAgB3B,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,cAAc,qDAMzB,CAAC;AAEH,+EAA6E;AAC7E,eAAO,MAAM,cAAc,0DAU1B,CAAC;AASF;;;;GAIG;AACH,eAAO,MAAM,cAAc,0DAyD1B,CAAC"}
|
|
@@ -1,90 +1,34 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Pure logic behind the action-panel editors:
|
|
2
|
+
* Pure logic behind the action-panel editors: group names, new-button
|
|
3
3
|
* defaults, action-type switching and the one-line behaviour summary.
|
|
4
4
|
*
|
|
5
5
|
* No React, no HTTP — kept separate from the components so the rules that are
|
|
6
6
|
* easy to get wrong (what a type change clears, where a page id is stored) are
|
|
7
7
|
* unit-tested by `pnpm test:domain` rather than eyeballed in a browser.
|
|
8
8
|
*/
|
|
9
|
-
import { ACTION_TYPE_META, actionTypeLabel } from '../domain/actionPanel/actionTypeMeta';
|
|
9
|
+
import { ACTION_TYPE_META, GENERIC_ACTION_ICON, actionTypeLabel } from '../domain/actionPanel/actionTypeMeta';
|
|
10
|
+
import { resolveIconName } from '../icons/legacyIconNames';
|
|
11
|
+
import { panelButtonOrder } from '../domain/actionPanel/buttonOrder';
|
|
10
12
|
import { ActionType } from '../domain/actionPanel/types';
|
|
11
|
-
/** UI label for the `groupName === null` tail. Never persisted. */
|
|
12
|
-
export const UNGROUPED_LABEL = 'Ungrouped';
|
|
13
|
-
/** Shown in place of an empty action name. */
|
|
14
|
-
export const UNTITLED_BUTTON_LABEL = 'Untitled action';
|
|
15
13
|
/**
|
|
16
14
|
* Identity for React keys and single-expand tracking. Persisted rows have an
|
|
17
|
-
* association id; unsaved ones fall back to their position, which
|
|
18
|
-
*
|
|
19
|
-
* the array order).
|
|
15
|
+
* association id; unsaved ones fall back to their position, which reordering
|
|
16
|
+
* keeps stable (moveButtonInOrder rewrites `sequence`, never the array order).
|
|
20
17
|
*/
|
|
21
18
|
export const buttonKey = (button, index) => {
|
|
22
19
|
var _a;
|
|
23
20
|
return (_a = button.panelActionId) !== null && _a !== void 0 ? _a : `index:${index}`;
|
|
24
21
|
};
|
|
25
22
|
const isNamedGroup = (groupName) => typeof groupName === 'string' && groupName.trim() !== '';
|
|
26
|
-
const bySequence = (a, b) => a.button.sequence - b.button.sequence || a.index - b.index;
|
|
27
23
|
/**
|
|
28
|
-
*
|
|
29
|
-
*
|
|
30
|
-
* section sorted by `sequence` within it.
|
|
24
|
+
* Distinct group names already used in the panel, in the canonical button
|
|
25
|
+
* order — the order the runtime's actions menu sections them in.
|
|
31
26
|
*/
|
|
32
|
-
export const
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
.
|
|
36
|
-
|
|
37
|
-
const groups = [];
|
|
38
|
-
const named = new Map();
|
|
39
|
-
let ungrouped;
|
|
40
|
-
for (const entry of ordered) {
|
|
41
|
-
const groupName = entry.button.groupName;
|
|
42
|
-
if (!isNamedGroup(groupName)) {
|
|
43
|
-
if (!ungrouped)
|
|
44
|
-
ungrouped = { groupName: null, buttons: [] };
|
|
45
|
-
ungrouped.buttons.push(entry);
|
|
46
|
-
continue;
|
|
47
|
-
}
|
|
48
|
-
let group = named.get(groupName);
|
|
49
|
-
if (!group) {
|
|
50
|
-
group = { groupName, buttons: [] };
|
|
51
|
-
named.set(groupName, group);
|
|
52
|
-
groups.push(group);
|
|
53
|
-
}
|
|
54
|
-
group.buttons.push(entry);
|
|
55
|
-
}
|
|
56
|
-
if (ungrouped)
|
|
57
|
-
groups.push(ungrouped);
|
|
58
|
-
return groups;
|
|
59
|
-
};
|
|
60
|
-
/** Distinct group names already used in the panel, in section order. */
|
|
61
|
-
export const panelGroupNames = (panel) => groupButtons(panel)
|
|
62
|
-
.map((group) => group.groupName)
|
|
63
|
-
.filter(isNamedGroup);
|
|
64
|
-
/**
|
|
65
|
-
* Move a button one slot within its group and renumber `sequence` across the
|
|
66
|
-
* whole panel from the flattened group order, so what the editor shows is what
|
|
67
|
-
* `sequence` says. Array order is untouched (keys stay stable). Returns the
|
|
68
|
-
* same panel when the move is not possible.
|
|
69
|
-
*/
|
|
70
|
-
export const moveButton = (panel, index, direction) => {
|
|
71
|
-
const groups = groupButtons(panel);
|
|
72
|
-
const group = groups.find((candidate) => candidate.buttons.some((entry) => entry.index === index));
|
|
73
|
-
if (!group)
|
|
74
|
-
return panel;
|
|
75
|
-
const from = group.buttons.findIndex((entry) => entry.index === index);
|
|
76
|
-
const to = direction === 'up' ? from - 1 : from + 1;
|
|
77
|
-
if (to < 0 || to >= group.buttons.length)
|
|
78
|
-
return panel;
|
|
79
|
-
const reordered = group.buttons.slice();
|
|
80
|
-
[reordered[from], reordered[to]] = [reordered[to], reordered[from]];
|
|
81
|
-
const flattened = groups.flatMap((candidate) => candidate === group ? reordered : candidate.buttons);
|
|
82
|
-
const buttons = panel.buttons.slice();
|
|
83
|
-
flattened.forEach((entry, position) => {
|
|
84
|
-
buttons[entry.index] = Object.assign(Object.assign({}, entry.button), { sequence: position + 1 });
|
|
85
|
-
});
|
|
86
|
-
return Object.assign(Object.assign({}, panel), { buttons });
|
|
87
|
-
};
|
|
27
|
+
export const panelGroupNames = (panel) => [
|
|
28
|
+
...new Set(panelButtonOrder(panel)
|
|
29
|
+
.map((index) => panel.buttons[index].groupName)
|
|
30
|
+
.filter(isNamedGroup))
|
|
31
|
+
];
|
|
88
32
|
/** A brand-new, unsaved button appended to the end of the panel. */
|
|
89
33
|
export const newPanelButton = (panel) => {
|
|
90
34
|
var _a;
|
|
@@ -136,18 +80,32 @@ const withoutPageId = (parameters) => {
|
|
|
136
80
|
return Object.keys(rest).length ? rest : null;
|
|
137
81
|
};
|
|
138
82
|
/**
|
|
139
|
-
*
|
|
140
|
-
*
|
|
141
|
-
|
|
142
|
-
|
|
83
|
+
* Whether a button's icon is still its type's own (or none at all) — an icon
|
|
84
|
+
* nobody chose, which follows the type when the type changes.
|
|
85
|
+
*/
|
|
86
|
+
const iconIsTypeDefault = (button) => {
|
|
87
|
+
var _a, _b, _c;
|
|
88
|
+
const icon = resolveIconName((_a = button.icon) === null || _a === void 0 ? void 0 : _a.name, undefined, (_b = button.icon) === null || _b === void 0 ? void 0 : _b.fluentName);
|
|
89
|
+
return (!icon ||
|
|
90
|
+
icon === GENERIC_ACTION_ICON ||
|
|
91
|
+
icon === ((_c = ACTION_TYPE_META[button.action.actionTypeId]) === null || _c === void 0 ? void 0 : _c.iconName));
|
|
92
|
+
};
|
|
93
|
+
/**
|
|
94
|
+
* Switch action type, keeping name / flags / rules, and an icon the author
|
|
95
|
+
* chose (an unchosen one becomes the new type's). `value` survives only when
|
|
96
|
+
* both types put the same thing in it (legacy behaviour: leaving the API group
|
|
97
|
+
* clears it), and `parameters.pageId` only when the new type still opens a page.
|
|
143
98
|
*/
|
|
144
99
|
export const changeActionType = (button, actionTypeId) => {
|
|
145
|
-
var _a;
|
|
146
|
-
var
|
|
100
|
+
var _a, _b;
|
|
101
|
+
var _c;
|
|
147
102
|
const fromSlot = valueSlot(valueKindOf(button));
|
|
148
|
-
const toKind = (
|
|
103
|
+
const toKind = (_c = (_a = ACTION_TYPE_META[actionTypeId]) === null || _a === void 0 ? void 0 : _a.valueKind) !== null && _c !== void 0 ? _c : 'none';
|
|
149
104
|
const keepValue = fromSlot !== null && fromSlot === valueSlot(toKind);
|
|
150
|
-
|
|
105
|
+
const typeIcon = (_b = ACTION_TYPE_META[actionTypeId]) === null || _b === void 0 ? void 0 : _b.iconName;
|
|
106
|
+
return Object.assign(Object.assign({}, button), { icon: typeIcon && iconIsTypeDefault(button)
|
|
107
|
+
? { name: typeIcon, type: null }
|
|
108
|
+
: button.icon, action: Object.assign(Object.assign({}, button.action), { actionTypeId, value: keepValue ? button.action.value : null, parameters: usesPage(toKind)
|
|
151
109
|
? button.action.parameters
|
|
152
110
|
: withoutPageId(button.action.parameters) }) });
|
|
153
111
|
};
|
|
@@ -182,13 +140,19 @@ export const setButtonPageId = (button, pageId) => {
|
|
|
182
140
|
delete parameters.pageId;
|
|
183
141
|
return Object.assign(Object.assign({}, button), { action: Object.assign(Object.assign({}, button.action), { parameters: Object.keys(parameters).length ? parameters : null }) });
|
|
184
142
|
};
|
|
185
|
-
/** Write the API method into `value`. */
|
|
186
|
-
export const setButtonApiMethodId = (button, apiMethodId) => (Object.assign(Object.assign({}, button), { action: Object.assign(Object.assign({}, button.action), { value: apiMethodId }) }));
|
|
187
143
|
/**
|
|
188
|
-
* Write the
|
|
189
|
-
*
|
|
144
|
+
* Write `value`: the API method for the API types, the workflow for Start
|
|
145
|
+
* workflow (the field v1 Tree Builder wrote and the runtime reads,
|
|
146
|
+
* `workflow/{value}/start`), the text for the text types.
|
|
190
147
|
*/
|
|
191
|
-
export const
|
|
148
|
+
export const setButtonValue = (button, value) => (Object.assign(Object.assign({}, button), { action: Object.assign(Object.assign({}, button.action), { value }) }));
|
|
149
|
+
/** The page option a button points at — under either id legacy persisted. */
|
|
150
|
+
export const findButtonPage = (pages, button) => {
|
|
151
|
+
const pageId = buttonPageId(button);
|
|
152
|
+
return pageId
|
|
153
|
+
? pages === null || pages === void 0 ? void 0 : pages.find((page) => pageOptionId(page) === pageId || page.pageId === pageId)
|
|
154
|
+
: undefined;
|
|
155
|
+
};
|
|
192
156
|
const MAX_SUMMARY_VALUE = 48;
|
|
193
157
|
const truncate = (value) => value.length > MAX_SUMMARY_VALUE
|
|
194
158
|
? `${value.slice(0, MAX_SUMMARY_VALUE - 1)}…`
|
|
@@ -199,8 +163,8 @@ const truncate = (value) => value.length > MAX_SUMMARY_VALUE
|
|
|
199
163
|
* "not found" so a broken reference is visible.
|
|
200
164
|
*/
|
|
201
165
|
export const describeButton = (button, lookups = {}) => {
|
|
202
|
-
var _a, _b, _c, _d, _e, _f
|
|
203
|
-
var
|
|
166
|
+
var _a, _b, _c, _d, _e, _f;
|
|
167
|
+
var _g;
|
|
204
168
|
const kind = valueKindOf(button);
|
|
205
169
|
const parts = [actionTypeLabel(button.action.actionTypeId)];
|
|
206
170
|
if (kind === 'api' || kind === 'apiAndPage') {
|
|
@@ -216,13 +180,11 @@ export const describeButton = (button, lookups = {}) => {
|
|
|
216
180
|
}
|
|
217
181
|
if (usesPage(kind)) {
|
|
218
182
|
const pageId = buttonPageId(button);
|
|
219
|
-
const name =
|
|
220
|
-
? (_d = (_c = lookups.pages) === null || _c === void 0 ? void 0 : _c.find((page) => pageOptionId(page) === pageId || page.pageId === pageId)) === null || _d === void 0 ? void 0 : _d.name
|
|
221
|
-
: undefined;
|
|
183
|
+
const name = (_c = findButtonPage(lookups.pages, button)) === null || _c === void 0 ? void 0 : _c.name;
|
|
222
184
|
parts.push(name ? `Page: ${name}` : pageId ? 'Page not found' : 'No page');
|
|
223
185
|
}
|
|
224
186
|
if (kind === 'text') {
|
|
225
|
-
const valueLabel = (
|
|
187
|
+
const valueLabel = (_g = (_d = ACTION_TYPE_META[button.action.actionTypeId]) === null || _d === void 0 ? void 0 : _d.valueLabel) !== null && _g !== void 0 ? _g : 'Value';
|
|
226
188
|
parts.push(button.action.value
|
|
227
189
|
? truncate(button.action.value)
|
|
228
190
|
: `No ${valueLabel.toLowerCase()}`);
|
|
@@ -230,7 +192,7 @@ export const describeButton = (button, lookups = {}) => {
|
|
|
230
192
|
if (kind === 'workflow') {
|
|
231
193
|
const workflowId = button.action.value;
|
|
232
194
|
const name = workflowId
|
|
233
|
-
? (
|
|
195
|
+
? (_f = (_e = lookups.workflows) === null || _e === void 0 ? void 0 : _e.find((workflow) => workflow.workflowId === workflowId)) === null || _f === void 0 ? void 0 : _f.name
|
|
234
196
|
: undefined;
|
|
235
197
|
parts.push(name
|
|
236
198
|
? `Workflow: ${name}`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"panelOperations.js","sourceRoot":"","sources":["../../src/actionPanels/panelOperations.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,OAAO,EACL,gBAAgB,EAEhB,eAAe,EAChB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"panelOperations.js","sourceRoot":"","sources":["../../src/actionPanels/panelOperations.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,OAAO,EACL,gBAAgB,EAEhB,mBAAmB,EACnB,eAAe,EAChB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAC3D,OAAO,EAAE,gBAAgB,EAAE,MAAM,mCAAmC,CAAC;AACrE,OAAO,EAAE,UAAU,EAAsB,MAAM,6BAA6B,CAAC;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