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
|
@@ -602,6 +602,8 @@ var inquiry = {
|
|
|
602
602
|
"actions": {
|
|
603
603
|
"createSucceeded": "{{entityName}} a été créé.",
|
|
604
604
|
"deleteConfirmation": "Voulez-vous vraiment supprimer cet enregistrement {{entityName}}\xA0? Cette action est irréversible.",
|
|
605
|
+
"deleteFailed": "Impossible de supprimer cet enregistrement {{entityName}}.",
|
|
606
|
+
"deleteSucceeded": "{{entityName}} a été supprimé.",
|
|
605
607
|
"deleteTitle": "Supprimer {{entityName}}",
|
|
606
608
|
"executeFailed": "Impossible d’exécuter {{label}}.",
|
|
607
609
|
"executeSucceeded": "{{label}} a été exécuté avec succès.",
|
|
@@ -657,10 +659,17 @@ var inquiry = {
|
|
|
657
659
|
"title": "Copilote"
|
|
658
660
|
},
|
|
659
661
|
"deepLink": {
|
|
660
|
-
"
|
|
662
|
+
"failed": "Impossible d’ouvrir l’enregistrement lié.",
|
|
663
|
+
"incomplete": "Impossible d’ouvrir l’enregistrement lié — le lien n’identifie pas un seul enregistrement.",
|
|
664
|
+
"notFound": "Impossible d’ouvrir l’enregistrement lié — aucun enregistrement unique n’y correspond.",
|
|
661
665
|
"unresolved": "Impossible d’ouvrir l’enregistrement lié — cet arbre ne reconnaît pas « {{key}} »."
|
|
662
666
|
},
|
|
663
|
-
"drop": {
|
|
667
|
+
"drop": {
|
|
668
|
+
"executeFailed": "Impossible d’exécuter {{name}}.",
|
|
669
|
+
"executed": "{{name}} exécuté avec succès.",
|
|
670
|
+
"methodsUnavailable": "Impossible de charger les méthodes d’API de cette action de dépôt.",
|
|
671
|
+
"unsupportedAction": "Cette action de dépôt n’est pas encore prise en charge par cette visionneuse."
|
|
672
|
+
},
|
|
664
673
|
"emptyNodeView": "Rien n’est configuré à afficher pour cet enregistrement.",
|
|
665
674
|
"emptyRecordPane": "Sélectionnez un enregistrement dans l'arborescence ou utilisez Charger pour en ajouter un.",
|
|
666
675
|
"emptyRecordPaneNoTree": "Aucun enregistrement à afficher.",
|
|
@@ -671,11 +680,15 @@ var inquiry = {
|
|
|
671
680
|
"title": "Exécuter l'API ci-dessous"
|
|
672
681
|
},
|
|
673
682
|
"filter": {
|
|
674
|
-
"emptyTree": "Rien de chargé pour le moment",
|
|
675
683
|
"loadFromSearch": "Charger « {{text}} » depuis la recherche {{entity}}",
|
|
676
684
|
"notInTree": "Absent de l'arborescence.",
|
|
677
685
|
"placeholder": "Filtrer l'arborescence"
|
|
678
686
|
},
|
|
687
|
+
"header": {
|
|
688
|
+
"collapse": "Réduire les détails",
|
|
689
|
+
"expand": "Afficher les détails",
|
|
690
|
+
"tags": "Étiquettes"
|
|
691
|
+
},
|
|
679
692
|
"load": {
|
|
680
693
|
"alreadyLoaded": "déjà chargé",
|
|
681
694
|
"alreadyLoadedNotice": "{{label}} est déjà chargé.",
|
|
@@ -693,9 +706,9 @@ var inquiry = {
|
|
|
693
706
|
"page": {
|
|
694
707
|
"loadFailed": "Impossible de charger la page.",
|
|
695
708
|
"missingFieldValue": "Le champ {{field}} n’a pas de valeur",
|
|
709
|
+
"previewPlaceholder": "Le contenu de la page s'affiche dans Inquiry.",
|
|
696
710
|
"unknownWidget": "Composant inconnu « {{widgetType}} »"
|
|
697
711
|
},
|
|
698
|
-
"query": { "droppedParamFilters": "Plus d’enregistrements sont affichés que ce que définit la requête de cette arborescence : ses filtres enregistrés sur {{fields}} ont été ignorés, car la valeur de leurs paramètres est indisponible." },
|
|
699
712
|
"recentlyLoaded": {
|
|
700
713
|
"columns": {
|
|
701
714
|
"dateLoaded": "Date de chargement",
|
|
@@ -705,10 +718,15 @@ var inquiry = {
|
|
|
705
718
|
"noData": "Aucune donnée chargée récemment.",
|
|
706
719
|
"title": "Chargés récemment"
|
|
707
720
|
},
|
|
721
|
+
"record": { "region": "Enregistrement" },
|
|
708
722
|
"search": { "failed": "Cette recherche n'a pas pu être exécutée. Essayez d'autres champs de recherche." },
|
|
709
723
|
"tree": {
|
|
724
|
+
"blankGroup": "(Vide)",
|
|
725
|
+
"loading": "Chargement…",
|
|
726
|
+
"noChildren": "Aucun enregistrement",
|
|
710
727
|
"nothingLoaded": "Aucun enregistrement chargé. Utilisez Charger pour en ajouter un à l’arborescence.",
|
|
711
728
|
"recordsFailed": "Impossible de charger les enregistrements. Actualisez pour réessayer.",
|
|
729
|
+
"showMore": "Afficher plus",
|
|
712
730
|
"showMoreRecords": "Afficher {{amount}} de plus"
|
|
713
731
|
},
|
|
714
732
|
"widgets": {
|
|
@@ -717,6 +735,7 @@ var inquiry = {
|
|
|
717
735
|
"clear": "Effacer la recherche",
|
|
718
736
|
"noMatches": "Aucun enregistrement correspondant.",
|
|
719
737
|
"notSearchable": "Cette page n’affiche pas d’arbre d’interrogation pouvant faire l’objet d’une recherche.",
|
|
738
|
+
"results": "Résultats",
|
|
720
739
|
"searchLabel": "Rechercher des enregistrements",
|
|
721
740
|
"title": "Rechercher des enregistrements"
|
|
722
741
|
},
|
|
@@ -1782,6 +1801,7 @@ var ui = {
|
|
|
1782
1801
|
"reminders": {
|
|
1783
1802
|
"complete": "Terminer",
|
|
1784
1803
|
"completed": "Terminé",
|
|
1804
|
+
"dueToday": "Dû aujourd’hui",
|
|
1785
1805
|
"overdueDays": "En retard de {{days}} j",
|
|
1786
1806
|
"retrieveError": "Impossible de récupérer les rappels",
|
|
1787
1807
|
"searchMethodNotPromoted": "Méthode de recherche ReminderFiledFor non promue",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "udp-react-enterprise-component-library",
|
|
3
|
-
"version": "27.0.0-next.
|
|
3
|
+
"version": "27.0.0-next.13",
|
|
4
4
|
"description": "React-based UI component library implementing Fluent UI design for Univerus internal projects",
|
|
5
5
|
"author": "Univerus",
|
|
6
6
|
"license": "MIT",
|
|
@@ -21,14 +21,6 @@
|
|
|
21
21
|
"types": "./dist/actionPanels/panelActionFields.d.ts",
|
|
22
22
|
"default": "./dist/actionPanels/panelActionFields.mjs"
|
|
23
23
|
},
|
|
24
|
-
"./actionPanels/PanelActionForm": {
|
|
25
|
-
"types": "./dist/actionPanels/PanelActionForm.d.ts",
|
|
26
|
-
"default": "./dist/actionPanels/PanelActionForm.mjs"
|
|
27
|
-
},
|
|
28
|
-
"./actionPanels/PanelEditor": {
|
|
29
|
-
"types": "./dist/actionPanels/PanelEditor.d.ts",
|
|
30
|
-
"default": "./dist/actionPanels/PanelEditor.mjs"
|
|
31
|
-
},
|
|
32
24
|
"./actionPanels/panelOperations": {
|
|
33
25
|
"types": "./dist/actionPanels/panelOperations.d.ts",
|
|
34
26
|
"default": "./dist/actionPanels/panelOperations.mjs"
|
|
@@ -397,6 +389,10 @@
|
|
|
397
389
|
"types": "./dist/domain/actionPanel/actionTypeMeta.d.ts",
|
|
398
390
|
"default": "./dist/domain/actionPanel/actionTypeMeta.mjs"
|
|
399
391
|
},
|
|
392
|
+
"./domain/actionPanel/buttonOrder": {
|
|
393
|
+
"types": "./dist/domain/actionPanel/buttonOrder.d.ts",
|
|
394
|
+
"default": "./dist/domain/actionPanel/buttonOrder.mjs"
|
|
395
|
+
},
|
|
400
396
|
"./domain/actionPanel/serialize": {
|
|
401
397
|
"types": "./dist/domain/actionPanel/serialize.d.ts",
|
|
402
398
|
"default": "./dist/domain/actionPanel/serialize.mjs"
|
|
@@ -433,14 +429,14 @@
|
|
|
433
429
|
"types": "./dist/domain/inquiryTree/legalChildren.d.ts",
|
|
434
430
|
"default": "./dist/domain/inquiryTree/legalChildren.mjs"
|
|
435
431
|
},
|
|
432
|
+
"./domain/inquiryTree/names": {
|
|
433
|
+
"types": "./dist/domain/inquiryTree/names.d.ts",
|
|
434
|
+
"default": "./dist/domain/inquiryTree/names.mjs"
|
|
435
|
+
},
|
|
436
436
|
"./domain/inquiryTree/operations": {
|
|
437
437
|
"types": "./dist/domain/inquiryTree/operations.d.ts",
|
|
438
438
|
"default": "./dist/domain/inquiryTree/operations.mjs"
|
|
439
439
|
},
|
|
440
|
-
"./domain/inquiryTree/ruleBindings": {
|
|
441
|
-
"types": "./dist/domain/inquiryTree/ruleBindings.d.ts",
|
|
442
|
-
"default": "./dist/domain/inquiryTree/ruleBindings.mjs"
|
|
443
|
-
},
|
|
444
440
|
"./domain/inquiryTree/rules": {
|
|
445
441
|
"types": "./dist/domain/inquiryTree/rules.d.ts",
|
|
446
442
|
"default": "./dist/domain/inquiryTree/rules.mjs"
|
|
@@ -797,6 +793,10 @@
|
|
|
797
793
|
"types": "./dist/inquiry/v2/capabilities/actions/EntityFormSurface.d.ts",
|
|
798
794
|
"default": "./dist/inquiry/v2/capabilities/actions/EntityFormSurface.mjs"
|
|
799
795
|
},
|
|
796
|
+
"./inquiry/v2/capabilities/actions/parentKeyDefaults": {
|
|
797
|
+
"types": "./dist/inquiry/v2/capabilities/actions/parentKeyDefaults.d.ts",
|
|
798
|
+
"default": "./dist/inquiry/v2/capabilities/actions/parentKeyDefaults.mjs"
|
|
799
|
+
},
|
|
800
800
|
"./inquiry/v2/capabilities/actions/RetrieveSurface": {
|
|
801
801
|
"types": "./dist/inquiry/v2/capabilities/actions/RetrieveSurface.d.ts",
|
|
802
802
|
"default": "./dist/inquiry/v2/capabilities/actions/RetrieveSurface.mjs"
|
|
@@ -809,6 +809,10 @@
|
|
|
809
809
|
"types": "./dist/inquiry/v2/capabilities/actions/sheetPanelModel.d.ts",
|
|
810
810
|
"default": "./dist/inquiry/v2/capabilities/actions/sheetPanelModel.mjs"
|
|
811
811
|
},
|
|
812
|
+
"./inquiry/v2/capabilities/actions/useHeaderFold": {
|
|
813
|
+
"types": "./dist/inquiry/v2/capabilities/actions/useHeaderFold.d.ts",
|
|
814
|
+
"default": "./dist/inquiry/v2/capabilities/actions/useHeaderFold.mjs"
|
|
815
|
+
},
|
|
812
816
|
"./inquiry/v2/capabilities/actions/useSheetPanel": {
|
|
813
817
|
"types": "./dist/inquiry/v2/capabilities/actions/useSheetPanel.d.ts",
|
|
814
818
|
"default": "./dist/inquiry/v2/capabilities/actions/useSheetPanel.mjs"
|
|
@@ -845,9 +849,9 @@
|
|
|
845
849
|
"types": "./dist/inquiry/v2/kernel/capabilities.d.ts",
|
|
846
850
|
"default": "./dist/inquiry/v2/kernel/capabilities.mjs"
|
|
847
851
|
},
|
|
848
|
-
"./inquiry/v2/kernel/
|
|
849
|
-
"types": "./dist/inquiry/v2/kernel/
|
|
850
|
-
"default": "./dist/inquiry/v2/kernel/
|
|
852
|
+
"./inquiry/v2/kernel/ReadOnlyContext": {
|
|
853
|
+
"types": "./dist/inquiry/v2/kernel/ReadOnlyContext.d.ts",
|
|
854
|
+
"default": "./dist/inquiry/v2/kernel/ReadOnlyContext.mjs"
|
|
851
855
|
},
|
|
852
856
|
"./inquiry/v2/kernel/RecordContext": {
|
|
853
857
|
"types": "./dist/inquiry/v2/kernel/RecordContext.d.ts",
|
|
@@ -901,6 +905,10 @@
|
|
|
901
905
|
"types": "./dist/inquiry/v2/tree/arrivalModel.d.ts",
|
|
902
906
|
"default": "./dist/inquiry/v2/tree/arrivalModel.mjs"
|
|
903
907
|
},
|
|
908
|
+
"./inquiry/v2/tree/branchRefreshModel": {
|
|
909
|
+
"types": "./dist/inquiry/v2/tree/branchRefreshModel.d.ts",
|
|
910
|
+
"default": "./dist/inquiry/v2/tree/branchRefreshModel.mjs"
|
|
911
|
+
},
|
|
904
912
|
"./inquiry/v2/tree/droppedPageModel": {
|
|
905
913
|
"types": "./dist/inquiry/v2/tree/droppedPageModel.d.ts",
|
|
906
914
|
"default": "./dist/inquiry/v2/tree/droppedPageModel.mjs"
|
|
@@ -949,6 +957,10 @@
|
|
|
949
957
|
"types": "./dist/inquiry/v2/tree/NodeList.d.ts",
|
|
950
958
|
"default": "./dist/inquiry/v2/tree/NodeList.mjs"
|
|
951
959
|
},
|
|
960
|
+
"./inquiry/v2/tree/pagedChildrenModel": {
|
|
961
|
+
"types": "./dist/inquiry/v2/tree/pagedChildrenModel.d.ts",
|
|
962
|
+
"default": "./dist/inquiry/v2/tree/pagedChildrenModel.mjs"
|
|
963
|
+
},
|
|
952
964
|
"./inquiry/v2/tree/rootPagingModel": {
|
|
953
965
|
"types": "./dist/inquiry/v2/tree/rootPagingModel.d.ts",
|
|
954
966
|
"default": "./dist/inquiry/v2/tree/rootPagingModel.mjs"
|
|
@@ -5015,8 +5027,8 @@
|
|
|
5015
5027
|
"@microlink/react-json-view": "^1.31.20",
|
|
5016
5028
|
"@tanstack/react-query": "^5",
|
|
5017
5029
|
"@tanstack/react-query-devtools": "^5",
|
|
5018
|
-
"udp-react-stencil-component-library": "
|
|
5019
|
-
"udp-stencil-component-library": "
|
|
5030
|
+
"udp-react-stencil-component-library": "27.0.0-next.0",
|
|
5031
|
+
"udp-stencil-component-library": "27.0.0-next.0",
|
|
5020
5032
|
"axios": "^0.31.1",
|
|
5021
5033
|
"axios-hooks": "^2.1.0",
|
|
5022
5034
|
"broadcast-channel": "^4.17.0",
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Edit one panel button: label, icon, action type, the value controls that type
|
|
3
|
-
* needs, its group and its flags. Controlled — every keystroke is reported
|
|
4
|
-
* through `onChange`; the host owns saving.
|
|
5
|
-
*
|
|
6
|
-
* THE DEFAULT LAYOUT of the button fields, and only that. Every control it
|
|
7
|
-
* renders is a primitive from `panelActionFields`, composed here into the one
|
|
8
|
-
* grid this form has always shown. A host that needs the same controls in a
|
|
9
|
-
* different arrangement (Tree Builder's add-button drawer interleaves them with
|
|
10
|
-
* its type and position tile groups) composes those primitives itself rather
|
|
11
|
-
* than copying this JSX — one implementation of the icon picker, the flags row
|
|
12
|
-
* and the value controls, two layouts.
|
|
13
|
-
*
|
|
14
|
-
* Value controls follow the wire contract:
|
|
15
|
-
* - api / apiAndPage → `action.value` holds the apiMethodId
|
|
16
|
-
* - apiAndPage / page → the page goes in `action.parameters.pageId`
|
|
17
|
-
* - text → `action.value` holds the path / URL / function name
|
|
18
|
-
* - workflow → `action.value` holds the workflowId
|
|
19
|
-
* Rules ride through untouched; editing them arrives in a later slice.
|
|
20
|
-
*
|
|
21
|
-
* ONE opt-in exists, for hosts that ask the type question themselves:
|
|
22
|
-
* `actionTypeField='hidden'` drops the Action type row entirely. Default is the
|
|
23
|
-
* picker, so the panel editor's drawer is untouched.
|
|
24
|
-
*/
|
|
25
|
-
import React from 'react';
|
|
26
|
-
import type { PanelButton } from '../domain/actionPanel/types';
|
|
27
|
-
import type { ApiMethodOption, PageOption, WorkflowOption } from './types';
|
|
28
|
-
export interface PanelActionFormProps {
|
|
29
|
-
value: PanelButton;
|
|
30
|
-
onChange: (next: PanelButton) => void;
|
|
31
|
-
/** API methods selectable for the API-backed action types. */
|
|
32
|
-
apiMethods?: ApiMethodOption[];
|
|
33
|
-
/** Pages selectable for the page-backed action types. */
|
|
34
|
-
pages?: PageOption[];
|
|
35
|
-
/** Workflows selectable for Start workflow. */
|
|
36
|
-
workflows?: WorkflowOption[];
|
|
37
|
-
/** Group names suggested by the free-text Group combobox. */
|
|
38
|
-
existingGroupNames?: string[];
|
|
39
|
-
disabled?: boolean;
|
|
40
|
-
/**
|
|
41
|
-
* Whether this form ASKS for the action type.
|
|
42
|
-
*
|
|
43
|
-
* `'picker'` (default) renders the Action type dropdown, exactly as it always
|
|
44
|
-
* has. `'hidden'` leaves the row out altogether — for a host that puts the
|
|
45
|
-
* type question on the same surface as this form (Tree Builder's add-button
|
|
46
|
-
* drawer picks it from a tile group right above the fields). Repeating it here
|
|
47
|
-
* would either be a second control answering one question or a static line
|
|
48
|
-
* labelling the same fact twice.
|
|
49
|
-
*
|
|
50
|
-
* Either way the value controls follow the current type: hiding the row hides
|
|
51
|
-
* the question, not the consequences of the answer.
|
|
52
|
-
*/
|
|
53
|
-
actionTypeField?: 'picker' | 'hidden';
|
|
54
|
-
}
|
|
55
|
-
export declare const PanelActionForm: ({ value, onChange, apiMethods, pages, workflows, existingGroupNames, disabled, actionTypeField }: PanelActionFormProps) => React.JSX.Element;
|
|
56
|
-
//# sourceMappingURL=PanelActionForm.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PanelActionForm.d.ts","sourceRoot":"","sources":["../../src/actionPanels/PanelActionForm.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAU/D,OAAO,KAAK,EAAE,eAAe,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAE3E,MAAM,WAAW,oBAAoB;IACnC,KAAK,EAAE,WAAW,CAAC;IACnB,QAAQ,EAAE,CAAC,IAAI,EAAE,WAAW,KAAK,IAAI,CAAC;IACtC,8DAA8D;IAC9D,UAAU,CAAC,EAAE,eAAe,EAAE,CAAC;IAC/B,yDAAyD;IACzD,KAAK,CAAC,EAAE,UAAU,EAAE,CAAC;IACrB,+CAA+C;IAC/C,SAAS,CAAC,EAAE,cAAc,EAAE,CAAC;IAC7B,6DAA6D;IAC7D,kBAAkB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC9B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;;;;;;;;;;OAYG;IACH,eAAe,CAAC,EAAE,QAAQ,GAAG,QAAQ,CAAC;CACvC;AAED,eAAO,MAAM,eAAe,+IA2D3B,CAAC"}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Edit one panel button: label, icon, action type, the value controls that type
|
|
3
|
-
* needs, its group and its flags. Controlled — every keystroke is reported
|
|
4
|
-
* through `onChange`; the host owns saving.
|
|
5
|
-
*
|
|
6
|
-
* THE DEFAULT LAYOUT of the button fields, and only that. Every control it
|
|
7
|
-
* renders is a primitive from `panelActionFields`, composed here into the one
|
|
8
|
-
* grid this form has always shown. A host that needs the same controls in a
|
|
9
|
-
* different arrangement (Tree Builder's add-button drawer interleaves them with
|
|
10
|
-
* its type and position tile groups) composes those primitives itself rather
|
|
11
|
-
* than copying this JSX — one implementation of the icon picker, the flags row
|
|
12
|
-
* and the value controls, two layouts.
|
|
13
|
-
*
|
|
14
|
-
* Value controls follow the wire contract:
|
|
15
|
-
* - api / apiAndPage → `action.value` holds the apiMethodId
|
|
16
|
-
* - apiAndPage / page → the page goes in `action.parameters.pageId`
|
|
17
|
-
* - text → `action.value` holds the path / URL / function name
|
|
18
|
-
* - workflow → `action.value` holds the workflowId
|
|
19
|
-
* Rules ride through untouched; editing them arrives in a later slice.
|
|
20
|
-
*
|
|
21
|
-
* ONE opt-in exists, for hosts that ask the type question themselves:
|
|
22
|
-
* `actionTypeField='hidden'` drops the Action type row entirely. Default is the
|
|
23
|
-
* picker, so the panel editor's drawer is untouched.
|
|
24
|
-
*/
|
|
25
|
-
import React from 'react';
|
|
26
|
-
import { UdpContainerQueryGrid } from '../UI/fluent-web-components/UdpContainerQueryGrid';
|
|
27
|
-
import { UdpFlexbox } from '../UI/fluent-web-components/UdpFlexbox';
|
|
28
|
-
import { PANEL_FIELD_COLUMNS, PanelButtonActionTypeField, PanelButtonFlagFields, PanelButtonGroupField, PanelButtonIconField, PanelButtonLabelField, PanelButtonValueFields } from './panelActionFields';
|
|
29
|
-
export const PanelActionForm = ({ value, onChange, apiMethods = [], pages = [], workflows = [], existingGroupNames = [], disabled = false, actionTypeField = 'picker' }) => (React.createElement(UdpFlexbox, { direction: "column", gap: "md" }, React.createElement(UdpContainerQueryGrid, { columns: PANEL_FIELD_COLUMNS }, React.createElement(PanelButtonIconField, { value: value, onChange: onChange, disabled: disabled }), React.createElement(PanelButtonLabelField, { value: value, onChange: onChange, disabled: disabled }), actionTypeField === 'picker' && (React.createElement(PanelButtonActionTypeField, { value: value, onChange: onChange, disabled: disabled })), React.createElement(PanelButtonValueFields, { value: value, onChange: onChange, apiMethods: apiMethods, pages: pages, workflows: workflows, disabled: disabled }), React.createElement(PanelButtonGroupField, { value: value, onChange: onChange, existingGroupNames: existingGroupNames, disabled: disabled })), React.createElement(PanelButtonFlagFields, { value: value, onChange: onChange, disabled: disabled })));
|
|
30
|
-
//# sourceMappingURL=PanelActionForm.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PanelActionForm.js","sourceRoot":"","sources":["../../src/actionPanels/PanelActionForm.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,qBAAqB,EAAE,MAAM,mDAAmD,CAAC;AAC1F,OAAO,EAAE,UAAU,EAAE,MAAM,wCAAwC,CAAC;AAEpE,OAAO,EACL,mBAAmB,EACnB,0BAA0B,EAC1B,qBAAqB,EACrB,qBAAqB,EACrB,oBAAoB,EACpB,qBAAqB,EACrB,sBAAsB,EACvB,MAAM,qBAAqB,CAAC;AA+B7B,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,EAC9B,KAAK,EACL,QAAQ,EACR,UAAU,GAAG,EAAE,EACf,KAAK,GAAG,EAAE,EACV,SAAS,GAAG,EAAE,EACd,kBAAkB,GAAG,EAAE,EACvB,QAAQ,GAAG,KAAK,EAChB,eAAe,GAAG,QAAQ,EACL,EAAE,EAAE,CAAC,CAC1B,oBAAC,UAAU,IAAC,SAAS,EAAC,QAAQ,EAAC,GAAG,EAAC,IAAI,IAQrC,oBAAC,qBAAqB,IAAC,OAAO,EAAE,mBAAmB,IACjD,oBAAC,oBAAoB,IACnB,KAAK,EAAE,KAAK,EACZ,QAAQ,EAAE,QAAQ,EAClB,QAAQ,EAAE,QAAQ,GAClB,EACF,oBAAC,qBAAqB,IACpB,KAAK,EAAE,KAAK,EACZ,QAAQ,EAAE,QAAQ,EAClB,QAAQ,EAAE,QAAQ,GAClB,EACD,eAAe,KAAK,QAAQ,IAAI,CAC/B,oBAAC,0BAA0B,IACzB,KAAK,EAAE,KAAK,EACZ,QAAQ,EAAE,QAAQ,EAClB,QAAQ,EAAE,QAAQ,GAClB,CACH,EACD,oBAAC,sBAAsB,IACrB,KAAK,EAAE,KAAK,EACZ,QAAQ,EAAE,QAAQ,EAClB,UAAU,EAAE,UAAU,EACtB,KAAK,EAAE,KAAK,EACZ,SAAS,EAAE,SAAS,EACpB,QAAQ,EAAE,QAAQ,GAClB,EACF,oBAAC,qBAAqB,IACpB,KAAK,EAAE,KAAK,EACZ,QAAQ,EAAE,QAAQ,EAClB,kBAAkB,EAAE,kBAAkB,EACtC,QAAQ,EAAE,QAAQ,GAClB,CACoB,EAGxB,oBAAC,qBAAqB,IACpB,KAAK,EAAE,KAAK,EACZ,QAAQ,EAAE,QAAQ,EAClB,QAAQ,EAAE,QAAQ,GAClB,CACS,CACd,CAAC"}
|
|
@@ -1,168 +0,0 @@
|
|
|
1
|
-
import { c } from "../reactCompilerRuntime.mjs";
|
|
2
|
-
import { UdpContainerQueryGrid } from "../UI/fluent-web-components/UdpContainerQueryGrid.mjs";
|
|
3
|
-
import { UdpFlexbox } from "../UI/fluent-web-components/UdpFlexbox.mjs";
|
|
4
|
-
import { PANEL_FIELD_COLUMNS, PanelButtonActionTypeField, PanelButtonFlagFields, PanelButtonGroupField, PanelButtonIconField, PanelButtonLabelField, PanelButtonValueFields } from "./panelActionFields.mjs";
|
|
5
|
-
import React from "react";
|
|
6
|
-
//#region src/actionPanels/PanelActionForm.tsx
|
|
7
|
-
/**
|
|
8
|
-
* Edit one panel button: label, icon, action type, the value controls that type
|
|
9
|
-
* needs, its group and its flags. Controlled — every keystroke is reported
|
|
10
|
-
* through `onChange`; the host owns saving.
|
|
11
|
-
*
|
|
12
|
-
* THE DEFAULT LAYOUT of the button fields, and only that. Every control it
|
|
13
|
-
* renders is a primitive from `panelActionFields`, composed here into the one
|
|
14
|
-
* grid this form has always shown. A host that needs the same controls in a
|
|
15
|
-
* different arrangement (Tree Builder's add-button drawer interleaves them with
|
|
16
|
-
* its type and position tile groups) composes those primitives itself rather
|
|
17
|
-
* than copying this JSX — one implementation of the icon picker, the flags row
|
|
18
|
-
* and the value controls, two layouts.
|
|
19
|
-
*
|
|
20
|
-
* Value controls follow the wire contract:
|
|
21
|
-
* - api / apiAndPage → `action.value` holds the apiMethodId
|
|
22
|
-
* - apiAndPage / page → the page goes in `action.parameters.pageId`
|
|
23
|
-
* - text → `action.value` holds the path / URL / function name
|
|
24
|
-
* - workflow → `action.value` holds the workflowId
|
|
25
|
-
* Rules ride through untouched; editing them arrives in a later slice.
|
|
26
|
-
*
|
|
27
|
-
* ONE opt-in exists, for hosts that ask the type question themselves:
|
|
28
|
-
* `actionTypeField='hidden'` drops the Action type row entirely. Default is the
|
|
29
|
-
* picker, so the panel editor's drawer is untouched.
|
|
30
|
-
*/
|
|
31
|
-
const PanelActionForm = (t0) => {
|
|
32
|
-
const $ = c(43);
|
|
33
|
-
const { value, onChange, apiMethods: t1, pages: t2, workflows: t3, existingGroupNames: t4, disabled: t5, actionTypeField: t6 } = t0;
|
|
34
|
-
let t7;
|
|
35
|
-
if ($[0] !== t1) {
|
|
36
|
-
t7 = t1 === void 0 ? [] : t1;
|
|
37
|
-
$[0] = t1;
|
|
38
|
-
$[1] = t7;
|
|
39
|
-
} else t7 = $[1];
|
|
40
|
-
const apiMethods = t7;
|
|
41
|
-
let t8;
|
|
42
|
-
if ($[2] !== t2) {
|
|
43
|
-
t8 = t2 === void 0 ? [] : t2;
|
|
44
|
-
$[2] = t2;
|
|
45
|
-
$[3] = t8;
|
|
46
|
-
} else t8 = $[3];
|
|
47
|
-
const pages = t8;
|
|
48
|
-
let t9;
|
|
49
|
-
if ($[4] !== t3) {
|
|
50
|
-
t9 = t3 === void 0 ? [] : t3;
|
|
51
|
-
$[4] = t3;
|
|
52
|
-
$[5] = t9;
|
|
53
|
-
} else t9 = $[5];
|
|
54
|
-
const workflows = t9;
|
|
55
|
-
let t10;
|
|
56
|
-
if ($[6] !== t4) {
|
|
57
|
-
t10 = t4 === void 0 ? [] : t4;
|
|
58
|
-
$[6] = t4;
|
|
59
|
-
$[7] = t10;
|
|
60
|
-
} else t10 = $[7];
|
|
61
|
-
const existingGroupNames = t10;
|
|
62
|
-
const disabled = t5 === void 0 ? false : t5;
|
|
63
|
-
const actionTypeField = t6 === void 0 ? "picker" : t6;
|
|
64
|
-
let t11;
|
|
65
|
-
let t12;
|
|
66
|
-
if ($[8] !== disabled || $[9] !== onChange || $[10] !== value) {
|
|
67
|
-
t11 = /* @__PURE__ */ React.createElement(PanelButtonIconField, {
|
|
68
|
-
value,
|
|
69
|
-
onChange,
|
|
70
|
-
disabled
|
|
71
|
-
});
|
|
72
|
-
t12 = /* @__PURE__ */ React.createElement(PanelButtonLabelField, {
|
|
73
|
-
value,
|
|
74
|
-
onChange,
|
|
75
|
-
disabled
|
|
76
|
-
});
|
|
77
|
-
$[8] = disabled;
|
|
78
|
-
$[9] = onChange;
|
|
79
|
-
$[10] = value;
|
|
80
|
-
$[11] = t11;
|
|
81
|
-
$[12] = t12;
|
|
82
|
-
} else {
|
|
83
|
-
t11 = $[11];
|
|
84
|
-
t12 = $[12];
|
|
85
|
-
}
|
|
86
|
-
let t13;
|
|
87
|
-
if ($[13] !== actionTypeField || $[14] !== disabled || $[15] !== onChange || $[16] !== value) {
|
|
88
|
-
t13 = actionTypeField === "picker" && /* @__PURE__ */ React.createElement(PanelButtonActionTypeField, {
|
|
89
|
-
value,
|
|
90
|
-
onChange,
|
|
91
|
-
disabled
|
|
92
|
-
});
|
|
93
|
-
$[13] = actionTypeField;
|
|
94
|
-
$[14] = disabled;
|
|
95
|
-
$[15] = onChange;
|
|
96
|
-
$[16] = value;
|
|
97
|
-
$[17] = t13;
|
|
98
|
-
} else t13 = $[17];
|
|
99
|
-
let t14;
|
|
100
|
-
if ($[18] !== apiMethods || $[19] !== disabled || $[20] !== onChange || $[21] !== pages || $[22] !== value || $[23] !== workflows) {
|
|
101
|
-
t14 = /* @__PURE__ */ React.createElement(PanelButtonValueFields, {
|
|
102
|
-
value,
|
|
103
|
-
onChange,
|
|
104
|
-
apiMethods,
|
|
105
|
-
pages,
|
|
106
|
-
workflows,
|
|
107
|
-
disabled
|
|
108
|
-
});
|
|
109
|
-
$[18] = apiMethods;
|
|
110
|
-
$[19] = disabled;
|
|
111
|
-
$[20] = onChange;
|
|
112
|
-
$[21] = pages;
|
|
113
|
-
$[22] = value;
|
|
114
|
-
$[23] = workflows;
|
|
115
|
-
$[24] = t14;
|
|
116
|
-
} else t14 = $[24];
|
|
117
|
-
let t15;
|
|
118
|
-
if ($[25] !== disabled || $[26] !== existingGroupNames || $[27] !== onChange || $[28] !== value) {
|
|
119
|
-
t15 = /* @__PURE__ */ React.createElement(PanelButtonGroupField, {
|
|
120
|
-
value,
|
|
121
|
-
onChange,
|
|
122
|
-
existingGroupNames,
|
|
123
|
-
disabled
|
|
124
|
-
});
|
|
125
|
-
$[25] = disabled;
|
|
126
|
-
$[26] = existingGroupNames;
|
|
127
|
-
$[27] = onChange;
|
|
128
|
-
$[28] = value;
|
|
129
|
-
$[29] = t15;
|
|
130
|
-
} else t15 = $[29];
|
|
131
|
-
let t16;
|
|
132
|
-
if ($[30] !== t11 || $[31] !== t12 || $[32] !== t13 || $[33] !== t14 || $[34] !== t15) {
|
|
133
|
-
t16 = /* @__PURE__ */ React.createElement(UdpContainerQueryGrid, { columns: PANEL_FIELD_COLUMNS }, t11, t12, t13, t14, t15);
|
|
134
|
-
$[30] = t11;
|
|
135
|
-
$[31] = t12;
|
|
136
|
-
$[32] = t13;
|
|
137
|
-
$[33] = t14;
|
|
138
|
-
$[34] = t15;
|
|
139
|
-
$[35] = t16;
|
|
140
|
-
} else t16 = $[35];
|
|
141
|
-
let t17;
|
|
142
|
-
if ($[36] !== disabled || $[37] !== onChange || $[38] !== value) {
|
|
143
|
-
t17 = /* @__PURE__ */ React.createElement(PanelButtonFlagFields, {
|
|
144
|
-
value,
|
|
145
|
-
onChange,
|
|
146
|
-
disabled
|
|
147
|
-
});
|
|
148
|
-
$[36] = disabled;
|
|
149
|
-
$[37] = onChange;
|
|
150
|
-
$[38] = value;
|
|
151
|
-
$[39] = t17;
|
|
152
|
-
} else t17 = $[39];
|
|
153
|
-
let t18;
|
|
154
|
-
if ($[40] !== t16 || $[41] !== t17) {
|
|
155
|
-
t18 = /* @__PURE__ */ React.createElement(UdpFlexbox, {
|
|
156
|
-
direction: "column",
|
|
157
|
-
gap: "md"
|
|
158
|
-
}, t16, t17);
|
|
159
|
-
$[40] = t16;
|
|
160
|
-
$[41] = t17;
|
|
161
|
-
$[42] = t18;
|
|
162
|
-
} else t18 = $[42];
|
|
163
|
-
return t18;
|
|
164
|
-
};
|
|
165
|
-
//#endregion
|
|
166
|
-
export { PanelActionForm };
|
|
167
|
-
|
|
168
|
-
//# sourceMappingURL=PanelActionForm.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PanelActionForm.mjs","names":["React","UdpContainerQueryGrid","UdpFlexbox","PanelButton","PANEL_FIELD_COLUMNS","PanelButtonActionTypeField","PanelButtonFlagFields","PanelButtonGroupField","PanelButtonIconField","PanelButtonLabelField","PanelButtonValueFields","ApiMethodOption","PageOption","WorkflowOption","PanelActionFormProps","value","onChange","next","apiMethods","pages","workflows","existingGroupNames","disabled","actionTypeField","PanelActionForm","t0","$","_c","t1","t2","t3","t4","t5","t6","t7","undefined","t8","t9","t10","t11","t12","t13","t14","t15","t16","t17","t18"],"sources":["../../src/actionPanels/PanelActionForm.tsx"],"sourcesContent":["/**\n * Edit one panel button: label, icon, action type, the value controls that type\n * needs, its group and its flags. Controlled — every keystroke is reported\n * through `onChange`; the host owns saving.\n *\n * THE DEFAULT LAYOUT of the button fields, and only that. Every control it\n * renders is a primitive from `panelActionFields`, composed here into the one\n * grid this form has always shown. A host that needs the same controls in a\n * different arrangement (Tree Builder's add-button drawer interleaves them with\n * its type and position tile groups) composes those primitives itself rather\n * than copying this JSX — one implementation of the icon picker, the flags row\n * and the value controls, two layouts.\n *\n * Value controls follow the wire contract:\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 * Rules ride through untouched; editing them arrives in a later slice.\n *\n * ONE opt-in exists, for hosts that ask the type question themselves:\n * `actionTypeField='hidden'` drops the Action type row entirely. Default is the\n * picker, so the panel editor's drawer is untouched.\n */\nimport React from 'react';\nimport { UdpContainerQueryGrid } from '../UI/fluent-web-components/UdpContainerQueryGrid';\nimport { UdpFlexbox } from '../UI/fluent-web-components/UdpFlexbox';\nimport type { PanelButton } from '../domain/actionPanel/types';\nimport {\n PANEL_FIELD_COLUMNS,\n PanelButtonActionTypeField,\n PanelButtonFlagFields,\n PanelButtonGroupField,\n PanelButtonIconField,\n PanelButtonLabelField,\n PanelButtonValueFields\n} from './panelActionFields';\nimport type { ApiMethodOption, PageOption, WorkflowOption } from './types';\n\nexport interface PanelActionFormProps {\n value: PanelButton;\n onChange: (next: PanelButton) => void;\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 /** Group names suggested by the free-text Group combobox. */\n existingGroupNames?: string[];\n disabled?: boolean;\n /**\n * Whether this form ASKS for the action type.\n *\n * `'picker'` (default) renders the Action type dropdown, exactly as it always\n * has. `'hidden'` leaves the row out altogether — for a host that puts the\n * type question on the same surface as this form (Tree Builder's add-button\n * drawer picks it from a tile group right above the fields). Repeating it here\n * would either be a second control answering one question or a static line\n * labelling the same fact twice.\n *\n * Either way the value controls follow the current type: hiding the row hides\n * the question, not the consequences of the answer.\n */\n actionTypeField?: 'picker' | 'hidden';\n}\n\nexport const PanelActionForm = ({\n value,\n onChange,\n apiMethods = [],\n pages = [],\n workflows = [],\n existingGroupNames = [],\n disabled = false,\n actionTypeField = 'picker'\n}: PanelActionFormProps) => (\n <UdpFlexbox direction='column' gap='md'>\n {/* ONE grid for every control, no exceptions. The icon tile and the Label\n field used to be a flex row above this grid, which is why nothing lined\n up: the Label input started 40px in from the tile beside it and matched\n no other left edge on the form, and the grid's own columns started\n somewhere else again. A control that opts out of the grid because it is\n an awkward size is what a ragged form is made of — the tile takes a\n normal cell and simply does not fill it. */}\n <UdpContainerQueryGrid columns={PANEL_FIELD_COLUMNS}>\n <PanelButtonIconField\n value={value}\n onChange={onChange}\n disabled={disabled}\n />\n <PanelButtonLabelField\n value={value}\n onChange={onChange}\n disabled={disabled}\n />\n {actionTypeField === 'picker' && (\n <PanelButtonActionTypeField\n value={value}\n onChange={onChange}\n disabled={disabled}\n />\n )}\n <PanelButtonValueFields\n value={value}\n onChange={onChange}\n apiMethods={apiMethods}\n pages={pages}\n workflows={workflows}\n disabled={disabled}\n />\n <PanelButtonGroupField\n value={value}\n onChange={onChange}\n existingGroupNames={existingGroupNames}\n disabled={disabled}\n />\n </UdpContainerQueryGrid>\n\n {/* State, on the same left edge as the grid above. */}\n <PanelButtonFlagFields\n value={value}\n onChange={onChange}\n disabled={disabled}\n />\n </UdpFlexbox>\n);\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmEA,MAAawB,mBAAkBC,OAAA;CAAA,MAAAC,IAAAC,EAAA,GAAA;CAAC,MAAA,EAAAZ,OAAAC,UAAAE,YAAAU,IAAAT,OAAAU,IAAAT,WAAAU,IAAAT,oBAAAU,IAAAT,UAAAU,IAAAT,iBAAAU,OAAAR;CAST,IAAAS;AAAA,KAAAR,EAAA,OAAAE,IAAA;AANrBM,OAAAN,OAAAO,KAAAA,IAAA,EAAe,GAAfP;AAAeF,IAAA,KAAAE;AAAAF,IAAA,KAAAQ;OAA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lB,EAAA;CAAA,IAAAmB;AAAA,KAAAnB,EAAA,QAAAJ,YAAAI,EAAA,QAAAV,YAAAU,EAAA,QAAAX,OAAA;AAGxB8B,QAAA,sBAAA,cAAC,uBAAD;GACS9B;GACGC;GACAM;GACV,CAAA;AAAAI,IAAA,MAAAJ;AAAAI,IAAA,MAAAV;AAAAU,IAAA,MAAAX;AAAAW,IAAA,MAAAmB;OAAAA,OAAAnB,EAAA;CAAA,IAAAoB;AAAA,KAAApB,EAAA,QAAAkB,OAAAlB,EAAA,QAAAmB,KAAA;AA/CJC,QAAA,sBAAA,cAAC,YAAD;GAAsB,WAAA;GAAa,KAAA;GAgDtB,EAxCXF,KAmCAC,IAKW;AAAAnB,IAAA,MAAAkB;AAAAlB,IAAA,MAAAmB;AAAAnB,IAAA,MAAAoB;OAAAA,OAAApB,EAAA;AAAA,QAhDboB"}
|
|
@@ -1,44 +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 from 'react';
|
|
22
|
-
import type { Panel, PanelButton } from '../domain/actionPanel/types';
|
|
23
|
-
import type { ApiMethodOption, PageOption, WorkflowOption } from './types';
|
|
24
|
-
export interface PanelEditorProps {
|
|
25
|
-
value: Panel;
|
|
26
|
-
onChange: (next: Panel) => void;
|
|
27
|
-
/**
|
|
28
|
-
* Called when a row is removed, in addition to `onChange` with the button
|
|
29
|
-
* filtered out — hosts collect these to build the save payload's
|
|
30
|
-
* `actionsToDelete`.
|
|
31
|
-
*/
|
|
32
|
-
onRemoveButton?: (button: PanelButton) => void;
|
|
33
|
-
apiMethods?: ApiMethodOption[];
|
|
34
|
-
pages?: PageOption[];
|
|
35
|
-
workflows?: WorkflowOption[];
|
|
36
|
-
/** Extra group suggestions on top of the ones the panel already uses. */
|
|
37
|
-
existingGroupNames?: string[];
|
|
38
|
-
/** Read-only rendering: no add, remove, reorder or field edits. */
|
|
39
|
-
viewOnly?: boolean;
|
|
40
|
-
/** For hosts that render the panel name themselves (e.g. a drawer title). */
|
|
41
|
-
hideNameField?: boolean;
|
|
42
|
-
}
|
|
43
|
-
export declare const PanelEditor: ({ value, onChange, onRemoveButton, apiMethods, pages, workflows, existingGroupNames, viewOnly, hideNameField }: PanelEditorProps) => React.JSX.Element;
|
|
44
|
-
//# sourceMappingURL=PanelEditor.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PanelEditor.d.ts","sourceRoot":"","sources":["../../src/actionPanels/PanelEditor.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,OAAO,KAAmB,MAAM,OAAO,CAAC;AAWxC,OAAO,KAAK,EAAE,KAAK,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAYtE,OAAO,KAAK,EAAE,eAAe,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAE3E,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE,KAAK,CAAC;IACb,QAAQ,EAAE,CAAC,IAAI,EAAE,KAAK,KAAK,IAAI,CAAC;IAChC;;;;OAIG;IACH,cAAc,CAAC,EAAE,CAAC,MAAM,EAAE,WAAW,KAAK,IAAI,CAAC;IAC/C,UAAU,CAAC,EAAE,eAAe,EAAE,CAAC;IAC/B,KAAK,CAAC,EAAE,UAAU,EAAE,CAAC;IACrB,SAAS,CAAC,EAAE,cAAc,EAAE,CAAC;IAC7B,yEAAyE;IACzE,kBAAkB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC9B,mEAAmE;IACnE,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,6EAA6E;IAC7E,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB;AAED,eAAO,MAAM,WAAW,yJAwNvB,CAAC"}
|
|
@@ -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,OAAO,EACL,eAAe,EACf,qBAAqB,EACrB,SAAS,EACT,cAAc,EACd,YAAY,EACZ,UAAU,EACV,cAAc,EACd,eAAe,EAChB,MAAM,mBAAmB,CAAC;AAuB3B,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,EAC1B,KAAK,EACL,QAAQ,EACR,cAAc,EACd,UAAU,GAAG,EAAE,EACf,KAAK,GAAG,EAAE,EACV,SAAS,GAAG,EAAE,EACd,kBAAkB,GAAG,EAAE,EACvB,QAAQ,GAAG,KAAK,EAChB,aAAa,GAAG,KAA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