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
|
@@ -3,48 +3,28 @@ import { UdpAutocomplete } from "../UI/fluent-web-components/UdpAutocomplete.mjs
|
|
|
3
3
|
import { UdpCheckbox } from "../UI/fluent-web-components/UdpCheckbox.mjs";
|
|
4
4
|
import { UdpDropdown } from "../UI/fluent-web-components/UdpDropdown.mjs";
|
|
5
5
|
import { UdpFlexbox } from "../UI/fluent-web-components/UdpFlexbox.mjs";
|
|
6
|
-
import { UdpIconButton } from "../UI/fluent-web-components/UdpIconButton.mjs";
|
|
7
|
-
import { UdpPopover } from "../UI/fluent-web-components/UdpPopover.mjs";
|
|
8
|
-
import { UdpSearchInput } from "../UI/fluent-web-components/UdpSearchInput.mjs";
|
|
9
6
|
import { UdpText } from "../UI/fluent-web-components/UdpText.mjs";
|
|
10
7
|
import { UdpTextInput } from "../UI/fluent-web-components/UdpTextInput.mjs";
|
|
11
|
-
import {
|
|
8
|
+
import { UdpIconPicker } from "../UI/fluent-web-components/UdpIconPicker.mjs";
|
|
12
9
|
import { ACTION_TYPE_META, actionTypeOptions, resolvePanelButtonIcon } from "../domain/actionPanel/actionTypeMeta.mjs";
|
|
13
|
-
import {
|
|
14
|
-
import React
|
|
15
|
-
import styles from "./panelActionFields.module.css";
|
|
10
|
+
import { changeActionType, findButtonPage, pageOptionId, setButtonPageId, setButtonValue, valueKindOf } from "./panelOperations.mjs";
|
|
11
|
+
import React from "react";
|
|
16
12
|
//#region src/actionPanels/panelActionFields.tsx
|
|
17
13
|
/**
|
|
18
14
|
* The individual FIELDS of a panel button, each one a controlled primitive.
|
|
19
15
|
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*
|
|
23
|
-
*
|
|
24
|
-
* asks the same questions in a different ORDER (identity, then what it does,
|
|
25
|
-
* then that answer's setup, then where it goes) — same controls, same wire
|
|
26
|
-
* contracts, one layout each.
|
|
27
|
-
*
|
|
28
|
-
* So the fields live here and `PanelActionForm` re-composes them into exactly
|
|
29
|
-
* the form it always rendered. Nothing is new: every control below is the code
|
|
30
|
-
* that was in that file, moved, with its reasoning comment attached to it.
|
|
16
|
+
* Hosts compose them in their own layout — Tree Builder's button drawer asks
|
|
17
|
+
* identity, then what it does, then that answer's setup, then where it goes —
|
|
18
|
+
* so every surface editing a button shares the same controls and wire
|
|
19
|
+
* contracts instead of copying JSX.
|
|
31
20
|
*
|
|
32
21
|
* Each primitive is controlled the same way the form is — `value` is the whole
|
|
33
22
|
* `PanelButton`, `onChange` reports the whole next one — so a host can put them
|
|
34
23
|
* anywhere without learning a per-field contract. The wire rules stay in
|
|
35
|
-
* `panelOperations` (`valueKindOf`, `
|
|
36
|
-
* `
|
|
24
|
+
* `panelOperations` (`valueKindOf`, `setButtonValue`, `setButtonPageId`,
|
|
25
|
+
* `findButtonPage`, `pageOptionId`, `changeActionType`);
|
|
37
26
|
* nothing here re-derives where a page id is stored.
|
|
38
27
|
*/
|
|
39
|
-
/**
|
|
40
|
-
* Two columns once the surface is wide enough; one in a narrow drawer. Exported
|
|
41
|
-
* so a host laying the fields out itself lands on the SAME grid the form uses —
|
|
42
|
-
* two surfaces editing one button must line their fields up identically.
|
|
43
|
-
*/
|
|
44
|
-
const PANEL_FIELD_COLUMNS = {
|
|
45
|
-
0: 1,
|
|
46
|
-
480: 2
|
|
47
|
-
};
|
|
48
28
|
/** Both pickers emit the option object by default, or `''` when cleared. */
|
|
49
29
|
const readOption = (raw) => raw === "" || raw === null || raw === void 0 ? null : raw;
|
|
50
30
|
const patchAction = (value, onChange, patch) => onChange({
|
|
@@ -56,8 +36,8 @@ const patchAction = (value, onChange, patch) => onChange({
|
|
|
56
36
|
});
|
|
57
37
|
/**
|
|
58
38
|
* THE SAME CONTROL the Appearance tab uses to choose an icon, trigger included:
|
|
59
|
-
*
|
|
60
|
-
* palette in a popover. One click on the icon itself; no field, no name text,
|
|
39
|
+
* the library icon picker in its popover form — a square icon TILE showing the
|
|
40
|
+
* current icon, which opens the icon palette in a popover. One click on the icon itself; no field, no name text,
|
|
61
41
|
* no chevron.
|
|
62
42
|
*
|
|
63
43
|
* Both halves of that matter and only the second was fixed the first time. It
|
|
@@ -72,238 +52,53 @@ const patchAction = (value, onChange, patch) => onChange({
|
|
|
72
52
|
* through `resolvePanelButtonIcon` on the tile — they just cannot be picked.
|
|
73
53
|
*/
|
|
74
54
|
const PanelButtonIconField = (t0) => {
|
|
75
|
-
const $ = c(
|
|
55
|
+
const $ = c(10);
|
|
76
56
|
const { value, onChange, disabled: t1, hideLabel: t2 } = t0;
|
|
77
57
|
const disabled = t1 === void 0 ? false : t1;
|
|
78
58
|
const hideLabel = t2 === void 0 ? false : t2;
|
|
79
|
-
const [iconPickerOpen, setIconPickerOpen] = useState(false);
|
|
80
|
-
const [iconSearch, setIconSearch] = useState("");
|
|
81
|
-
let T0;
|
|
82
|
-
let T1;
|
|
83
|
-
let T2;
|
|
84
|
-
let t10;
|
|
85
|
-
let t11;
|
|
86
|
-
let t12;
|
|
87
|
-
let t13;
|
|
88
|
-
let t14;
|
|
89
|
-
let t15;
|
|
90
|
-
let t16;
|
|
91
|
-
let t17;
|
|
92
|
-
let t18;
|
|
93
|
-
let t19;
|
|
94
|
-
let t20;
|
|
95
59
|
let t3;
|
|
96
|
-
|
|
60
|
+
if ($[0] !== value) {
|
|
61
|
+
t3 = resolvePanelButtonIcon(value);
|
|
62
|
+
$[0] = value;
|
|
63
|
+
$[1] = t3;
|
|
64
|
+
} else t3 = $[1];
|
|
65
|
+
const iconName = t3;
|
|
66
|
+
const t4 = hideLabel ? void 0 : "Icon";
|
|
97
67
|
let t5;
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
let t9;
|
|
102
|
-
if ($[0] !== disabled || $[1] !== hideLabel || $[2] !== iconPickerOpen || $[3] !== value) {
|
|
103
|
-
const iconName = resolvePanelButtonIcon(value);
|
|
104
|
-
T2 = UdpFlexbox;
|
|
105
|
-
t17 = "column";
|
|
106
|
-
t18 = "xxs";
|
|
107
|
-
t19 = "flex-start";
|
|
108
|
-
if ($[25] !== hideLabel) {
|
|
109
|
-
t20 = !hideLabel && /* @__PURE__ */ React.createElement(UdpText, { variant: "body1" }, "Icon");
|
|
110
|
-
$[25] = hideLabel;
|
|
111
|
-
$[26] = t20;
|
|
112
|
-
} else t20 = $[26];
|
|
113
|
-
T1 = UdpPopover;
|
|
114
|
-
t12 = iconPickerOpen;
|
|
115
|
-
t13 = false;
|
|
116
|
-
t14 = "bottom-start";
|
|
117
|
-
t15 = "large";
|
|
118
|
-
if ($[27] === Symbol.for("react.memo_cache_sentinel")) {
|
|
119
|
-
t16 = () => setIconPickerOpen(false);
|
|
120
|
-
$[27] = t16;
|
|
121
|
-
} else t16 = $[27];
|
|
122
|
-
t9 = "trigger";
|
|
123
|
-
t10 = styles.iconTrigger;
|
|
124
|
-
if ($[28] !== disabled) {
|
|
125
|
-
t11 = () => !disabled && setIconPickerOpen(_temp);
|
|
126
|
-
$[28] = disabled;
|
|
127
|
-
$[29] = t11;
|
|
128
|
-
} else t11 = $[29];
|
|
129
|
-
T0 = UdpIconButton;
|
|
130
|
-
t3 = "outline";
|
|
131
|
-
t4 = "rounded";
|
|
132
|
-
t5 = "medium";
|
|
133
|
-
t6 = disabled;
|
|
134
|
-
t7 = iconName;
|
|
135
|
-
t8 = value.icon?.name || value.icon?.fluentName ? `Icon: ${iconName.replace(/-/g, " ")}. Change` : "Choose an icon";
|
|
136
|
-
$[0] = disabled;
|
|
137
|
-
$[1] = hideLabel;
|
|
138
|
-
$[2] = iconPickerOpen;
|
|
139
|
-
$[3] = value;
|
|
140
|
-
$[4] = T0;
|
|
141
|
-
$[5] = T1;
|
|
142
|
-
$[6] = T2;
|
|
143
|
-
$[7] = t10;
|
|
144
|
-
$[8] = t11;
|
|
145
|
-
$[9] = t12;
|
|
146
|
-
$[10] = t13;
|
|
147
|
-
$[11] = t14;
|
|
148
|
-
$[12] = t15;
|
|
149
|
-
$[13] = t16;
|
|
150
|
-
$[14] = t17;
|
|
151
|
-
$[15] = t18;
|
|
152
|
-
$[16] = t19;
|
|
153
|
-
$[17] = t20;
|
|
154
|
-
$[18] = t3;
|
|
155
|
-
$[19] = t4;
|
|
156
|
-
$[20] = t5;
|
|
157
|
-
$[21] = t6;
|
|
158
|
-
$[22] = t7;
|
|
159
|
-
$[23] = t8;
|
|
160
|
-
$[24] = t9;
|
|
161
|
-
} else {
|
|
162
|
-
T0 = $[4];
|
|
163
|
-
T1 = $[5];
|
|
164
|
-
T2 = $[6];
|
|
165
|
-
t10 = $[7];
|
|
166
|
-
t11 = $[8];
|
|
167
|
-
t12 = $[9];
|
|
168
|
-
t13 = $[10];
|
|
169
|
-
t14 = $[11];
|
|
170
|
-
t15 = $[12];
|
|
171
|
-
t16 = $[13];
|
|
172
|
-
t17 = $[14];
|
|
173
|
-
t18 = $[15];
|
|
174
|
-
t19 = $[16];
|
|
175
|
-
t20 = $[17];
|
|
176
|
-
t3 = $[18];
|
|
177
|
-
t4 = $[19];
|
|
178
|
-
t5 = $[20];
|
|
179
|
-
t6 = $[21];
|
|
180
|
-
t7 = $[22];
|
|
181
|
-
t8 = $[23];
|
|
182
|
-
t9 = $[24];
|
|
183
|
-
}
|
|
184
|
-
let t21;
|
|
185
|
-
if ($[30] !== T0 || $[31] !== t3 || $[32] !== t4 || $[33] !== t5 || $[34] !== t6 || $[35] !== t7 || $[36] !== t8) {
|
|
186
|
-
t21 = /* @__PURE__ */ React.createElement(T0, {
|
|
187
|
-
appearance: t3,
|
|
188
|
-
shape: t4,
|
|
189
|
-
size: t5,
|
|
190
|
-
disabled: t6,
|
|
191
|
-
iconName: t7,
|
|
192
|
-
ariaLabel: t8
|
|
193
|
-
});
|
|
194
|
-
$[30] = T0;
|
|
195
|
-
$[31] = t3;
|
|
196
|
-
$[32] = t4;
|
|
197
|
-
$[33] = t5;
|
|
198
|
-
$[34] = t6;
|
|
199
|
-
$[35] = t7;
|
|
200
|
-
$[36] = t8;
|
|
201
|
-
$[37] = t21;
|
|
202
|
-
} else t21 = $[37];
|
|
203
|
-
let t22;
|
|
204
|
-
if ($[38] !== t10 || $[39] !== t11 || $[40] !== t21 || $[41] !== t9) {
|
|
205
|
-
t22 = /* @__PURE__ */ React.createElement("span", {
|
|
206
|
-
slot: t9,
|
|
207
|
-
className: t10,
|
|
208
|
-
onClick: t11
|
|
209
|
-
}, t21);
|
|
210
|
-
$[38] = t10;
|
|
211
|
-
$[39] = t11;
|
|
212
|
-
$[40] = t21;
|
|
213
|
-
$[41] = t9;
|
|
214
|
-
$[42] = t22;
|
|
215
|
-
} else t22 = $[42];
|
|
216
|
-
let t23;
|
|
217
|
-
if ($[43] === Symbol.for("react.memo_cache_sentinel")) {
|
|
218
|
-
t23 = (event) => setIconSearch(event.target.value);
|
|
219
|
-
$[43] = t23;
|
|
220
|
-
} else t23 = $[43];
|
|
221
|
-
let t24;
|
|
222
|
-
if ($[44] !== iconSearch) {
|
|
223
|
-
t24 = /* @__PURE__ */ React.createElement(UdpSearchInput, {
|
|
224
|
-
placeholder: "Search icons",
|
|
225
|
-
controlSize: "small",
|
|
226
|
-
value: iconSearch,
|
|
227
|
-
includeErrorPadding: false,
|
|
228
|
-
onChange: t23
|
|
229
|
-
});
|
|
230
|
-
$[44] = iconSearch;
|
|
231
|
-
$[45] = t24;
|
|
232
|
-
} else t24 = $[45];
|
|
233
|
-
let t25;
|
|
234
|
-
if ($[46] !== onChange || $[47] !== value) {
|
|
235
|
-
t25 = (event_0) => {
|
|
236
|
-
if (typeof event_0.detail !== "string") return;
|
|
68
|
+
if ($[2] !== onChange || $[3] !== value) {
|
|
69
|
+
t5 = (event) => {
|
|
70
|
+
if (!event.target.value) return;
|
|
237
71
|
onChange({
|
|
238
72
|
...value,
|
|
239
73
|
icon: {
|
|
240
74
|
...value.icon,
|
|
241
|
-
name:
|
|
75
|
+
name: event.target.value,
|
|
242
76
|
type: "fluent"
|
|
243
77
|
}
|
|
244
78
|
});
|
|
245
|
-
setIconPickerOpen(false);
|
|
246
79
|
};
|
|
247
|
-
$[
|
|
248
|
-
$[
|
|
249
|
-
$[
|
|
250
|
-
} else
|
|
251
|
-
let
|
|
252
|
-
if ($[
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
$[53] = t26;
|
|
270
|
-
$[54] = t27;
|
|
271
|
-
} else t27 = $[54];
|
|
272
|
-
let t28;
|
|
273
|
-
if ($[55] !== T1 || $[56] !== t12 || $[57] !== t13 || $[58] !== t14 || $[59] !== t15 || $[60] !== t16 || $[61] !== t22 || $[62] !== t27) {
|
|
274
|
-
t28 = /* @__PURE__ */ React.createElement(T1, {
|
|
275
|
-
open: t12,
|
|
276
|
-
toggleOnTriggerClick: t13,
|
|
277
|
-
position: t14,
|
|
278
|
-
size: t15,
|
|
279
|
-
onPopoverClose: t16
|
|
280
|
-
}, t22, t27);
|
|
281
|
-
$[55] = T1;
|
|
282
|
-
$[56] = t12;
|
|
283
|
-
$[57] = t13;
|
|
284
|
-
$[58] = t14;
|
|
285
|
-
$[59] = t15;
|
|
286
|
-
$[60] = t16;
|
|
287
|
-
$[61] = t22;
|
|
288
|
-
$[62] = t27;
|
|
289
|
-
$[63] = t28;
|
|
290
|
-
} else t28 = $[63];
|
|
291
|
-
let t29;
|
|
292
|
-
if ($[64] !== T2 || $[65] !== t17 || $[66] !== t18 || $[67] !== t19 || $[68] !== t20 || $[69] !== t28) {
|
|
293
|
-
t29 = /* @__PURE__ */ React.createElement(T2, {
|
|
294
|
-
direction: t17,
|
|
295
|
-
gap: t18,
|
|
296
|
-
align: t19
|
|
297
|
-
}, t20, t28);
|
|
298
|
-
$[64] = T2;
|
|
299
|
-
$[65] = t17;
|
|
300
|
-
$[66] = t18;
|
|
301
|
-
$[67] = t19;
|
|
302
|
-
$[68] = t20;
|
|
303
|
-
$[69] = t28;
|
|
304
|
-
$[70] = t29;
|
|
305
|
-
} else t29 = $[70];
|
|
306
|
-
return t29;
|
|
80
|
+
$[2] = onChange;
|
|
81
|
+
$[3] = value;
|
|
82
|
+
$[4] = t5;
|
|
83
|
+
} else t5 = $[4];
|
|
84
|
+
let t6;
|
|
85
|
+
if ($[5] !== disabled || $[6] !== iconName || $[7] !== t4 || $[8] !== t5) {
|
|
86
|
+
t6 = /* @__PURE__ */ React.createElement(UdpIconPicker, {
|
|
87
|
+
presentation: "popover",
|
|
88
|
+
label: t4,
|
|
89
|
+
value: iconName,
|
|
90
|
+
size: "md",
|
|
91
|
+
disabled,
|
|
92
|
+
includeErrorPadding: false,
|
|
93
|
+
onChange: t5
|
|
94
|
+
});
|
|
95
|
+
$[5] = disabled;
|
|
96
|
+
$[6] = iconName;
|
|
97
|
+
$[7] = t4;
|
|
98
|
+
$[8] = t5;
|
|
99
|
+
$[9] = t6;
|
|
100
|
+
} else t6 = $[9];
|
|
101
|
+
return t6;
|
|
307
102
|
};
|
|
308
103
|
/** The button's label — also the action name on the wire. Required. */
|
|
309
104
|
const PanelButtonLabelField = (t0) => {
|
|
@@ -338,8 +133,7 @@ const PanelButtonLabelField = (t0) => {
|
|
|
338
133
|
* The action type as a dropdown — the icon dropdown that IS the type question on
|
|
339
134
|
* every surface editing a button (thirteen options with their own follow-up
|
|
340
135
|
* fields is the form idiom, not a tile grid). A host that asks the question some
|
|
341
|
-
* other way
|
|
342
|
-
* `actionTypeField='hidden'`).
|
|
136
|
+
* other way simply doesn't render this field.
|
|
343
137
|
*/
|
|
344
138
|
const PanelButtonActionTypeField = (t0) => {
|
|
345
139
|
const $ = c(12);
|
|
@@ -348,7 +142,7 @@ const PanelButtonActionTypeField = (t0) => {
|
|
|
348
142
|
const unanswered = t2 === void 0 ? false : t2;
|
|
349
143
|
let t3;
|
|
350
144
|
if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
|
|
351
|
-
t3 = actionTypeOptions().map(
|
|
145
|
+
t3 = actionTypeOptions().map(_temp);
|
|
352
146
|
$[0] = t3;
|
|
353
147
|
} else t3 = $[0];
|
|
354
148
|
const typeOptions = t3;
|
|
@@ -402,7 +196,7 @@ const PanelButtonActionTypeField = (t0) => {
|
|
|
402
196
|
* with no setup never produces an empty section.
|
|
403
197
|
*/
|
|
404
198
|
const PanelButtonValueFields = (t0) => {
|
|
405
|
-
const $ = c(
|
|
199
|
+
const $ = c(54);
|
|
406
200
|
const { value, onChange, apiMethods: t1, pages: t2, workflows: t3, disabled: t4 } = t0;
|
|
407
201
|
let t5;
|
|
408
202
|
if ($[0] !== t1) {
|
|
@@ -443,32 +237,25 @@ const PanelButtonValueFields = (t0) => {
|
|
|
443
237
|
} else t9 = $[10];
|
|
444
238
|
const selectedApiMethod = t9;
|
|
445
239
|
let t10;
|
|
446
|
-
if ($[11] !== value) {
|
|
447
|
-
t10 =
|
|
448
|
-
$[11] =
|
|
449
|
-
$[12] =
|
|
450
|
-
|
|
451
|
-
|
|
240
|
+
if ($[11] !== pages || $[12] !== value) {
|
|
241
|
+
t10 = findButtonPage(pages, value) ?? null;
|
|
242
|
+
$[11] = pages;
|
|
243
|
+
$[12] = value;
|
|
244
|
+
$[13] = t10;
|
|
245
|
+
} else t10 = $[13];
|
|
246
|
+
const selectedPage = t10;
|
|
452
247
|
let t11;
|
|
453
|
-
if ($[
|
|
454
|
-
t11 =
|
|
455
|
-
|
|
456
|
-
$[14] = pages;
|
|
457
|
-
$[15] = t11;
|
|
458
|
-
} else t11 = $[15];
|
|
459
|
-
const selectedPage = t11;
|
|
460
|
-
let t12;
|
|
461
|
-
if ($[16] !== onChange || $[17] !== value) {
|
|
462
|
-
t12 = (event) => {
|
|
463
|
-
onChange(setButtonApiMethodId(value, readOption(event.target.value)?.apiMethodId ?? null));
|
|
248
|
+
if ($[14] !== onChange || $[15] !== value) {
|
|
249
|
+
t11 = (event) => {
|
|
250
|
+
onChange(setButtonValue(value, readOption(event.target.value)?.apiMethodId ?? null));
|
|
464
251
|
};
|
|
465
|
-
$[
|
|
466
|
-
$[
|
|
467
|
-
$[
|
|
468
|
-
} else
|
|
469
|
-
let
|
|
470
|
-
if ($[
|
|
471
|
-
|
|
252
|
+
$[14] = onChange;
|
|
253
|
+
$[15] = value;
|
|
254
|
+
$[16] = t11;
|
|
255
|
+
} else t11 = $[16];
|
|
256
|
+
let t12;
|
|
257
|
+
if ($[17] !== apiMethods || $[18] !== disabled || $[19] !== selectedApiMethod || $[20] !== t11) {
|
|
258
|
+
t12 = /* @__PURE__ */ React.createElement(UdpAutocomplete, {
|
|
472
259
|
label: "API method",
|
|
473
260
|
placeholder: "Search API methods",
|
|
474
261
|
options: apiMethods,
|
|
@@ -476,28 +263,28 @@ const PanelButtonValueFields = (t0) => {
|
|
|
476
263
|
optionValue: "apiMethodId",
|
|
477
264
|
value: selectedApiMethod,
|
|
478
265
|
disabled,
|
|
479
|
-
onChange:
|
|
266
|
+
onChange: t11
|
|
480
267
|
});
|
|
481
|
-
$[
|
|
482
|
-
$[
|
|
483
|
-
$[
|
|
484
|
-
$[
|
|
485
|
-
$[
|
|
486
|
-
} else
|
|
487
|
-
const apiMethodField =
|
|
488
|
-
let
|
|
489
|
-
if ($[
|
|
490
|
-
|
|
268
|
+
$[17] = apiMethods;
|
|
269
|
+
$[18] = disabled;
|
|
270
|
+
$[19] = selectedApiMethod;
|
|
271
|
+
$[20] = t11;
|
|
272
|
+
$[21] = t12;
|
|
273
|
+
} else t12 = $[21];
|
|
274
|
+
const apiMethodField = t12;
|
|
275
|
+
let t13;
|
|
276
|
+
if ($[22] !== onChange || $[23] !== value) {
|
|
277
|
+
t13 = (event_0) => {
|
|
491
278
|
const option_0 = readOption(event_0.target.value);
|
|
492
279
|
onChange(setButtonPageId(value, option_0 ? pageOptionId(option_0) : null));
|
|
493
280
|
};
|
|
494
|
-
$[
|
|
495
|
-
$[
|
|
496
|
-
$[
|
|
497
|
-
} else
|
|
498
|
-
let
|
|
499
|
-
if ($[
|
|
500
|
-
|
|
281
|
+
$[22] = onChange;
|
|
282
|
+
$[23] = value;
|
|
283
|
+
$[24] = t13;
|
|
284
|
+
} else t13 = $[24];
|
|
285
|
+
let t14;
|
|
286
|
+
if ($[25] !== disabled || $[26] !== pages || $[27] !== selectedPage || $[28] !== t13) {
|
|
287
|
+
t14 = /* @__PURE__ */ React.createElement(UdpAutocomplete, {
|
|
501
288
|
label: "Page",
|
|
502
289
|
placeholder: "Search pages",
|
|
503
290
|
options: pages,
|
|
@@ -505,89 +292,89 @@ const PanelButtonValueFields = (t0) => {
|
|
|
505
292
|
optionValue: "pageId",
|
|
506
293
|
value: selectedPage,
|
|
507
294
|
disabled,
|
|
508
|
-
onChange:
|
|
295
|
+
onChange: t13
|
|
509
296
|
});
|
|
510
|
-
$[
|
|
511
|
-
$[
|
|
512
|
-
$[
|
|
513
|
-
$[
|
|
514
|
-
$[
|
|
515
|
-
} else
|
|
516
|
-
const pageField =
|
|
517
|
-
const
|
|
518
|
-
const
|
|
297
|
+
$[25] = disabled;
|
|
298
|
+
$[26] = pages;
|
|
299
|
+
$[27] = selectedPage;
|
|
300
|
+
$[28] = t13;
|
|
301
|
+
$[29] = t14;
|
|
302
|
+
} else t14 = $[29];
|
|
303
|
+
const pageField = t14;
|
|
304
|
+
const t15 = meta?.valueLabel ?? "Value";
|
|
305
|
+
const t16 = value.action.value ?? "";
|
|
306
|
+
let t17;
|
|
307
|
+
if ($[30] !== onChange || $[31] !== value) {
|
|
308
|
+
t17 = (event_1) => onChange(setButtonValue(value, event_1.target.value));
|
|
309
|
+
$[30] = onChange;
|
|
310
|
+
$[31] = value;
|
|
311
|
+
$[32] = t17;
|
|
312
|
+
} else t17 = $[32];
|
|
519
313
|
let t18;
|
|
520
|
-
if ($[
|
|
521
|
-
t18 =
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
$[34] = t18;
|
|
525
|
-
} else t18 = $[34];
|
|
526
|
-
let t19;
|
|
527
|
-
if ($[35] !== disabled || $[36] !== t16 || $[37] !== t17 || $[38] !== t18) {
|
|
528
|
-
t19 = /* @__PURE__ */ React.createElement(UdpTextInput, {
|
|
529
|
-
label: t16,
|
|
530
|
-
value: t17,
|
|
314
|
+
if ($[33] !== disabled || $[34] !== t15 || $[35] !== t16 || $[36] !== t17) {
|
|
315
|
+
t18 = /* @__PURE__ */ React.createElement(UdpTextInput, {
|
|
316
|
+
label: t15,
|
|
317
|
+
value: t16,
|
|
531
318
|
disabled,
|
|
532
|
-
onChange:
|
|
319
|
+
onChange: t17
|
|
533
320
|
});
|
|
534
|
-
$[
|
|
535
|
-
$[
|
|
536
|
-
$[
|
|
537
|
-
$[
|
|
538
|
-
$[
|
|
539
|
-
} else
|
|
540
|
-
const textField =
|
|
321
|
+
$[33] = disabled;
|
|
322
|
+
$[34] = t15;
|
|
323
|
+
$[35] = t16;
|
|
324
|
+
$[36] = t17;
|
|
325
|
+
$[37] = t18;
|
|
326
|
+
} else t18 = $[37];
|
|
327
|
+
const textField = t18;
|
|
328
|
+
let t19;
|
|
329
|
+
if ($[38] !== value.action.value || $[39] !== workflows) {
|
|
330
|
+
t19 = workflows.find((workflow) => workflow.workflowId === value.action.value) ?? null;
|
|
331
|
+
$[38] = value.action.value;
|
|
332
|
+
$[39] = workflows;
|
|
333
|
+
$[40] = t19;
|
|
334
|
+
} else t19 = $[40];
|
|
335
|
+
const selectedWorkflow = t19;
|
|
541
336
|
let t20;
|
|
542
|
-
if ($[
|
|
543
|
-
t20 =
|
|
544
|
-
|
|
545
|
-
$[41] = workflows;
|
|
546
|
-
$[42] = t20;
|
|
547
|
-
} else t20 = $[42];
|
|
548
|
-
const selectedWorkflow = t20;
|
|
549
|
-
let t21;
|
|
550
|
-
if ($[43] !== onChange || $[44] !== value) {
|
|
551
|
-
t21 = (event_2) => {
|
|
552
|
-
onChange(setButtonWorkflowId(value, readOption(event_2.target.value)?.workflowId ?? null));
|
|
337
|
+
if ($[41] !== onChange || $[42] !== value) {
|
|
338
|
+
t20 = (event_2) => {
|
|
339
|
+
onChange(setButtonValue(value, readOption(event_2.target.value)?.workflowId ?? null));
|
|
553
340
|
};
|
|
554
|
-
$[
|
|
555
|
-
$[
|
|
556
|
-
$[
|
|
557
|
-
} else
|
|
558
|
-
let
|
|
559
|
-
if ($[
|
|
560
|
-
|
|
341
|
+
$[41] = onChange;
|
|
342
|
+
$[42] = value;
|
|
343
|
+
$[43] = t20;
|
|
344
|
+
} else t20 = $[43];
|
|
345
|
+
let t21;
|
|
346
|
+
if ($[44] !== disabled || $[45] !== selectedWorkflow || $[46] !== t20 || $[47] !== workflows) {
|
|
347
|
+
t21 = /* @__PURE__ */ React.createElement(UdpAutocomplete, {
|
|
561
348
|
label: "Workflow",
|
|
562
349
|
placeholder: "Search workflows",
|
|
563
350
|
options: workflows,
|
|
564
|
-
optionLabel:
|
|
351
|
+
optionLabel: _temp2,
|
|
565
352
|
optionValue: "workflowId",
|
|
566
353
|
value: selectedWorkflow,
|
|
567
354
|
disabled,
|
|
568
|
-
onChange:
|
|
355
|
+
onChange: t20
|
|
569
356
|
});
|
|
570
|
-
$[
|
|
571
|
-
$[
|
|
357
|
+
$[44] = disabled;
|
|
358
|
+
$[45] = selectedWorkflow;
|
|
359
|
+
$[46] = t20;
|
|
360
|
+
$[47] = workflows;
|
|
572
361
|
$[48] = t21;
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
const
|
|
577
|
-
const
|
|
578
|
-
const
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
$[51] =
|
|
585
|
-
$[52] =
|
|
586
|
-
$[53] =
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
} else t27 = $[55];
|
|
590
|
-
return t27;
|
|
362
|
+
} else t21 = $[48];
|
|
363
|
+
const workflowField = t21;
|
|
364
|
+
const t22 = (kind === "api" || kind === "apiAndPage") && apiMethodField;
|
|
365
|
+
const t23 = (kind === "page" || kind === "apiAndPage") && pageField;
|
|
366
|
+
const t24 = kind === "text" && textField;
|
|
367
|
+
const t25 = kind === "workflow" && workflowField;
|
|
368
|
+
let t26;
|
|
369
|
+
if ($[49] !== t22 || $[50] !== t23 || $[51] !== t24 || $[52] !== t25) {
|
|
370
|
+
t26 = /* @__PURE__ */ React.createElement(React.Fragment, null, t22, t23, t24, t25);
|
|
371
|
+
$[49] = t22;
|
|
372
|
+
$[50] = t23;
|
|
373
|
+
$[51] = t24;
|
|
374
|
+
$[52] = t25;
|
|
375
|
+
$[53] = t26;
|
|
376
|
+
} else t26 = $[53];
|
|
377
|
+
return t26;
|
|
591
378
|
};
|
|
592
379
|
/**
|
|
593
380
|
* Group. A combobox only once there is something to pick FROM: with no groups
|
|
@@ -613,7 +400,7 @@ const PanelButtonGroupField = (t0) => {
|
|
|
613
400
|
const disabled = t2 === void 0 ? false : t2;
|
|
614
401
|
let t4;
|
|
615
402
|
if ($[2] !== existingGroupNames) {
|
|
616
|
-
t4 = Array.from(new Set(existingGroupNames.filter(Boolean))).map(
|
|
403
|
+
t4 = Array.from(new Set(existingGroupNames.filter(Boolean))).map(_temp3);
|
|
617
404
|
$[2] = existingGroupNames;
|
|
618
405
|
$[3] = t4;
|
|
619
406
|
} else t4 = $[3];
|
|
@@ -634,7 +421,7 @@ const PanelButtonGroupField = (t0) => {
|
|
|
634
421
|
t6 = groupChoices.length > 0 ? /* @__PURE__ */ React.createElement(UdpAutocomplete, {
|
|
635
422
|
label: "Group",
|
|
636
423
|
placeholder: "Ungrouped",
|
|
637
|
-
popupHint: "Buttons sharing a group render as one
|
|
424
|
+
popupHint: "Buttons sharing a group render as one menu button in the record header, named after the group",
|
|
638
425
|
freeForm: true,
|
|
639
426
|
options: groupChoices,
|
|
640
427
|
value: selectedGroup,
|
|
@@ -651,7 +438,7 @@ const PanelButtonGroupField = (t0) => {
|
|
|
651
438
|
}) : /* @__PURE__ */ React.createElement(UdpTextInput, {
|
|
652
439
|
label: "Group",
|
|
653
440
|
placeholder: "Ungrouped",
|
|
654
|
-
popupHint: "Buttons sharing a group render as one
|
|
441
|
+
popupHint: "Buttons sharing a group render as one menu button in the record header, named after the group",
|
|
655
442
|
value: value.groupName ?? "",
|
|
656
443
|
disabled,
|
|
657
444
|
includeErrorPadding: false,
|
|
@@ -788,26 +575,23 @@ const PanelButtonFlagFields = (t0) => {
|
|
|
788
575
|
} else t10 = $[28];
|
|
789
576
|
return t10;
|
|
790
577
|
};
|
|
791
|
-
function _temp(
|
|
792
|
-
return !open;
|
|
793
|
-
}
|
|
794
|
-
function _temp2(option) {
|
|
578
|
+
function _temp(option) {
|
|
795
579
|
return {
|
|
796
580
|
value: option.actionTypeId,
|
|
797
581
|
label: option.label,
|
|
798
582
|
icon: option.iconName
|
|
799
583
|
};
|
|
800
584
|
}
|
|
801
|
-
function
|
|
585
|
+
function _temp2(workflow_0) {
|
|
802
586
|
return workflow_0.name || `Unnamed workflow (${String(workflow_0.workflowId).slice(0, 8)})`;
|
|
803
587
|
}
|
|
804
|
-
function
|
|
588
|
+
function _temp3(name) {
|
|
805
589
|
return {
|
|
806
590
|
value: name,
|
|
807
591
|
label: name
|
|
808
592
|
};
|
|
809
593
|
}
|
|
810
594
|
//#endregion
|
|
811
|
-
export {
|
|
595
|
+
export { PanelButtonActionTypeField, PanelButtonFlagFields, PanelButtonGroupField, PanelButtonIconField, PanelButtonLabelField, PanelButtonValueFields };
|
|
812
596
|
|
|
813
597
|
//# sourceMappingURL=panelActionFields.mjs.map
|