udp-react-enterprise-component-library 27.0.0-next.12 → 27.0.0-next.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/.tsbuildinfo +1 -1
- package/dist/UI/fluent-web-components/UdpIconPicker.d.ts +4 -1
- package/dist/UI/fluent-web-components/UdpIconPicker.d.ts.map +1 -1
- package/dist/UI/fluent-web-components/UdpIconPicker.js +2 -2
- package/dist/UI/fluent-web-components/UdpIconPicker.js.map +1 -1
- package/dist/UI/fluent-web-components/UdpIconPicker.mjs +32 -28
- package/dist/UI/fluent-web-components/UdpIconPicker.mjs.map +1 -1
- package/dist/UI/fluent-web-components/UdpLink.d.ts +6 -0
- package/dist/UI/fluent-web-components/UdpLink.d.ts.map +1 -1
- package/dist/UI/fluent-web-components/UdpLink.js.map +1 -1
- package/dist/UI/fluent-web-components/UdpLink.mjs.map +1 -1
- package/dist/UI/fluent-web-components/types.d.ts +2 -0
- package/dist/UI/fluent-web-components/types.d.ts.map +1 -1
- package/dist/UI/widgets/library/InquiryFindRecordsWidget/InquiryFindRecordsWidget.d.ts +16 -3
- package/dist/UI/widgets/library/InquiryFindRecordsWidget/InquiryFindRecordsWidget.d.ts.map +1 -1
- package/dist/UI/widgets/library/InquiryFindRecordsWidget/InquiryFindRecordsWidget.js +36 -13
- package/dist/UI/widgets/library/InquiryFindRecordsWidget/InquiryFindRecordsWidget.js.map +1 -1
- package/dist/UI/widgets/library/InquiryFindRecordsWidget/InquiryFindRecordsWidget.mjs +119 -62
- package/dist/UI/widgets/library/InquiryFindRecordsWidget/InquiryFindRecordsWidget.mjs.map +1 -1
- package/dist/UI/widgets/library/InquiryFindRecordsWidget/index.mjs +3 -2
- package/dist/UI/widgets/library/InquiryRecentRecordsWidget/InquiryRecentRecordsWidget.d.ts +9 -2
- package/dist/UI/widgets/library/InquiryRecentRecordsWidget/InquiryRecentRecordsWidget.d.ts.map +1 -1
- package/dist/UI/widgets/library/InquiryRecentRecordsWidget/InquiryRecentRecordsWidget.js +18 -18
- package/dist/UI/widgets/library/InquiryRecentRecordsWidget/InquiryRecentRecordsWidget.js.map +1 -1
- package/dist/UI/widgets/library/InquiryRecentRecordsWidget/InquiryRecentRecordsWidget.mjs +79 -67
- package/dist/UI/widgets/library/InquiryRecentRecordsWidget/InquiryRecentRecordsWidget.mjs.map +1 -1
- package/dist/UI/widgets/library/InquiryRemindersWidget/InquiryRemindersWidget.d.ts +8 -2
- package/dist/UI/widgets/library/InquiryRemindersWidget/InquiryRemindersWidget.d.ts.map +1 -1
- package/dist/UI/widgets/library/InquiryRemindersWidget/InquiryRemindersWidget.js +32 -16
- package/dist/UI/widgets/library/InquiryRemindersWidget/InquiryRemindersWidget.js.map +1 -1
- package/dist/UI/widgets/library/InquiryRemindersWidget/InquiryRemindersWidget.mjs +129 -102
- package/dist/UI/widgets/library/InquiryRemindersWidget/InquiryRemindersWidget.mjs.map +1 -1
- package/dist/UI/widgets/library/InquiryRemindersWidget/reminderRowModel.d.ts +3 -2
- package/dist/UI/widgets/library/InquiryRemindersWidget/reminderRowModel.d.ts.map +1 -1
- package/dist/UI/widgets/library/InquiryRemindersWidget/reminderRowModel.js +11 -12
- package/dist/UI/widgets/library/InquiryRemindersWidget/reminderRowModel.js.map +1 -1
- package/dist/UI/widgets/library/InquiryRemindersWidget/reminderRowModel.mjs +6 -4
- package/dist/UI/widgets/library/InquiryRemindersWidget/reminderRowModel.mjs.map +1 -1
- package/dist/UI/widgets/library/InquiryRemindersWidget/useInquiryReminders.d.ts +2 -19
- package/dist/UI/widgets/library/InquiryRemindersWidget/useInquiryReminders.d.ts.map +1 -1
- package/dist/UI/widgets/library/InquiryRemindersWidget/useInquiryReminders.js +4 -5
- package/dist/UI/widgets/library/InquiryRemindersWidget/useInquiryReminders.js.map +1 -1
- package/dist/UI/widgets/library/InquiryRemindersWidget/useInquiryReminders.mjs +5 -4
- package/dist/UI/widgets/library/InquiryRemindersWidget/useInquiryReminders.mjs.map +1 -1
- package/dist/actionPanels/index.d.ts +0 -2
- package/dist/actionPanels/index.d.ts.map +1 -1
- package/dist/actionPanels/index.js +0 -2
- package/dist/actionPanels/index.js.map +1 -1
- package/dist/actionPanels/panelActionFields.d.ts +9 -26
- package/dist/actionPanels/panelActionFields.d.ts.map +1 -1
- package/dist/actionPanels/panelActionFields.js +32 -55
- package/dist/actionPanels/panelActionFields.js.map +1 -1
- package/dist/actionPanels/panelActionFields.mjs +159 -375
- package/dist/actionPanels/panelActionFields.mjs.map +1 -1
- package/dist/actionPanels/panelOperations.d.ts +15 -41
- package/dist/actionPanels/panelOperations.d.ts.map +1 -1
- package/dist/actionPanels/panelOperations.js +51 -89
- package/dist/actionPanels/panelOperations.js.map +1 -1
- package/dist/actionPanels/panelOperations.mjs +37 -92
- package/dist/actionPanels/panelOperations.mjs.map +1 -1
- package/dist/domain/actionPanel/actionTypeMeta.d.ts +15 -2
- package/dist/domain/actionPanel/actionTypeMeta.d.ts.map +1 -1
- package/dist/domain/actionPanel/actionTypeMeta.js +21 -2
- package/dist/domain/actionPanel/actionTypeMeta.js.map +1 -1
- package/dist/domain/actionPanel/actionTypeMeta.mjs +18 -3
- package/dist/domain/actionPanel/actionTypeMeta.mjs.map +1 -1
- package/dist/domain/actionPanel/buttonOrder.d.ts +67 -0
- package/dist/domain/actionPanel/buttonOrder.d.ts.map +1 -0
- package/dist/domain/actionPanel/buttonOrder.js +105 -0
- package/dist/domain/actionPanel/buttonOrder.js.map +1 -0
- package/dist/domain/actionPanel/buttonOrder.mjs +90 -0
- package/dist/domain/actionPanel/buttonOrder.mjs.map +1 -0
- package/dist/domain/actionPanel/index.d.ts +1 -0
- package/dist/domain/actionPanel/index.d.ts.map +1 -1
- package/dist/domain/actionPanel/index.js +1 -0
- package/dist/domain/actionPanel/index.js.map +1 -1
- package/dist/domain/actionPanel/index.mjs +4 -3
- package/dist/domain/actionPanel/serialize.d.ts +6 -2
- package/dist/domain/actionPanel/serialize.d.ts.map +1 -1
- package/dist/domain/actionPanel/serialize.js +10 -3
- package/dist/domain/actionPanel/serialize.js.map +1 -1
- package/dist/domain/actionPanel/serialize.mjs +7 -3
- package/dist/domain/actionPanel/serialize.mjs.map +1 -1
- package/dist/domain/actionPanel/types.d.ts +24 -8
- package/dist/domain/actionPanel/types.d.ts.map +1 -1
- package/dist/domain/actionPanel/types.js.map +1 -1
- package/dist/domain/actionPanel/types.mjs.map +1 -1
- package/dist/domain/inquiryTree/describe.d.ts +15 -3
- package/dist/domain/inquiryTree/describe.d.ts.map +1 -1
- package/dist/domain/inquiryTree/describe.js +32 -28
- package/dist/domain/inquiryTree/describe.js.map +1 -1
- package/dist/domain/inquiryTree/describe.mjs +34 -16
- package/dist/domain/inquiryTree/describe.mjs.map +1 -1
- package/dist/domain/inquiryTree/displayTree.d.ts +75 -97
- package/dist/domain/inquiryTree/displayTree.d.ts.map +1 -1
- package/dist/domain/inquiryTree/displayTree.js +418 -551
- package/dist/domain/inquiryTree/displayTree.js.map +1 -1
- package/dist/domain/inquiryTree/displayTree.mjs +345 -414
- package/dist/domain/inquiryTree/displayTree.mjs.map +1 -1
- package/dist/domain/inquiryTree/groups.d.ts +2 -0
- package/dist/domain/inquiryTree/groups.d.ts.map +1 -1
- package/dist/domain/inquiryTree/groups.js.map +1 -1
- package/dist/domain/inquiryTree/groups.mjs.map +1 -1
- package/dist/domain/inquiryTree/index.d.ts +1 -1
- package/dist/domain/inquiryTree/index.d.ts.map +1 -1
- package/dist/domain/inquiryTree/index.js +1 -1
- package/dist/domain/inquiryTree/index.js.map +1 -1
- package/dist/domain/inquiryTree/index.mjs +12 -12
- package/dist/domain/inquiryTree/lazyLoad.d.ts +20 -129
- package/dist/domain/inquiryTree/lazyLoad.d.ts.map +1 -1
- package/dist/domain/inquiryTree/lazyLoad.js +48 -233
- package/dist/domain/inquiryTree/lazyLoad.js.map +1 -1
- package/dist/domain/inquiryTree/lazyLoad.mjs +32 -187
- package/dist/domain/inquiryTree/lazyLoad.mjs.map +1 -1
- package/dist/domain/inquiryTree/legalChildren.d.ts +13 -14
- package/dist/domain/inquiryTree/legalChildren.d.ts.map +1 -1
- package/dist/domain/inquiryTree/legalChildren.js +21 -42
- package/dist/domain/inquiryTree/legalChildren.js.map +1 -1
- package/dist/domain/inquiryTree/legalChildren.mjs +19 -37
- package/dist/domain/inquiryTree/legalChildren.mjs.map +1 -1
- package/dist/domain/inquiryTree/names.d.ts +38 -0
- package/dist/domain/inquiryTree/names.d.ts.map +1 -0
- package/dist/domain/inquiryTree/names.js +64 -0
- package/dist/domain/inquiryTree/names.js.map +1 -0
- package/dist/domain/inquiryTree/names.mjs +56 -0
- package/dist/domain/inquiryTree/names.mjs.map +1 -0
- package/dist/domain/inquiryTree/operations.d.ts +6 -2
- package/dist/domain/inquiryTree/operations.d.ts.map +1 -1
- package/dist/domain/inquiryTree/operations.js +17 -16
- package/dist/domain/inquiryTree/operations.js.map +1 -1
- package/dist/domain/inquiryTree/operations.mjs +14 -11
- package/dist/domain/inquiryTree/operations.mjs.map +1 -1
- package/dist/domain/inquiryTree/rules.d.ts +3 -4
- package/dist/domain/inquiryTree/rules.d.ts.map +1 -1
- package/dist/domain/inquiryTree/rules.js +3 -13
- package/dist/domain/inquiryTree/rules.js.map +1 -1
- package/dist/domain/inquiryTree/rules.mjs +3 -9
- package/dist/domain/inquiryTree/rules.mjs.map +1 -1
- package/dist/domain/inquiryTree/runtime.d.ts +23 -16
- package/dist/domain/inquiryTree/runtime.d.ts.map +1 -1
- package/dist/domain/inquiryTree/runtime.js +46 -54
- package/dist/domain/inquiryTree/runtime.js.map +1 -1
- package/dist/domain/inquiryTree/runtime.mjs +31 -26
- package/dist/domain/inquiryTree/runtime.mjs.map +1 -1
- package/dist/domain/inquiryTree/serialize.d.ts +20 -29
- package/dist/domain/inquiryTree/serialize.d.ts.map +1 -1
- package/dist/domain/inquiryTree/serialize.js +93 -205
- package/dist/domain/inquiryTree/serialize.js.map +1 -1
- package/dist/domain/inquiryTree/serialize.mjs +89 -180
- package/dist/domain/inquiryTree/serialize.mjs.map +1 -1
- package/dist/domain/inquiryTree/types.d.ts +146 -65
- package/dist/domain/inquiryTree/types.d.ts.map +1 -1
- package/dist/domain/inquiryTree/types.js +5 -0
- package/dist/domain/inquiryTree/types.js.map +1 -1
- package/dist/domain/inquiryTree/types.mjs +3 -1
- package/dist/domain/inquiryTree/types.mjs.map +1 -1
- package/dist/domain/inquiryTree/validate.d.ts +9 -2
- package/dist/domain/inquiryTree/validate.d.ts.map +1 -1
- package/dist/domain/inquiryTree/validate.js +30 -58
- package/dist/domain/inquiryTree/validate.js.map +1 -1
- package/dist/domain/inquiryTree/validate.mjs +29 -44
- package/dist/domain/inquiryTree/validate.mjs.map +1 -1
- package/dist/domain/inquiryTree/view.d.ts +8 -12
- package/dist/domain/inquiryTree/view.d.ts.map +1 -1
- package/dist/domain/inquiryTree/view.js +40 -66
- package/dist/domain/inquiryTree/view.js.map +1 -1
- package/dist/domain/inquiryTree/view.mjs +30 -60
- package/dist/domain/inquiryTree/view.mjs.map +1 -1
- package/dist/domain/inquiryTree/waveLoad.d.ts +32 -48
- package/dist/domain/inquiryTree/waveLoad.d.ts.map +1 -1
- package/dist/domain/inquiryTree/waveLoad.js +75 -90
- package/dist/domain/inquiryTree/waveLoad.js.map +1 -1
- package/dist/domain/inquiryTree/waveLoad.mjs +54 -60
- package/dist/domain/inquiryTree/waveLoad.mjs.map +1 -1
- package/dist/domain/inquiryTree/wireString.d.ts +5 -0
- package/dist/domain/inquiryTree/wireString.d.ts.map +1 -1
- package/dist/domain/inquiryTree/wireString.js +11 -0
- package/dist/domain/inquiryTree/wireString.js.map +1 -1
- package/dist/domain/inquiryTree/wireString.mjs +10 -1
- package/dist/domain/inquiryTree/wireString.mjs.map +1 -1
- package/dist/domain/nodeView/index.mjs +2 -2
- package/dist/domain/nodeView/model.d.ts +35 -30
- package/dist/domain/nodeView/model.d.ts.map +1 -1
- package/dist/domain/nodeView/model.js +108 -69
- package/dist/domain/nodeView/model.js.map +1 -1
- package/dist/domain/nodeView/model.mjs +86 -36
- package/dist/domain/nodeView/model.mjs.map +1 -1
- package/dist/icons/legacyIconNames.d.ts.map +1 -1
- package/dist/icons/legacyIconNames.js +46 -1
- package/dist/icons/legacyIconNames.js.map +1 -1
- package/dist/icons/legacyIconNames.mjs +46 -1
- package/dist/icons/legacyIconNames.mjs.map +1 -1
- package/dist/index.mjs +10 -12
- package/dist/inquiry/Inquiry.d.ts +3 -0
- package/dist/inquiry/Inquiry.d.ts.map +1 -1
- package/dist/inquiry/Inquiry.js +3 -0
- package/dist/inquiry/Inquiry.js.map +1 -1
- package/dist/inquiry/Inquiry.mjs +3 -0
- package/dist/inquiry/Inquiry.mjs.map +1 -1
- package/dist/inquiry/v2/InquiryV2.d.ts +8 -6
- package/dist/inquiry/v2/InquiryV2.d.ts.map +1 -1
- package/dist/inquiry/v2/InquiryV2.js +45 -24
- package/dist/inquiry/v2/InquiryV2.js.map +1 -1
- package/dist/inquiry/v2/InquiryV2.mjs +108 -61
- package/dist/inquiry/v2/InquiryV2.mjs.map +1 -1
- package/dist/inquiry/v2/InquiryV2.module.css +60 -15
- package/dist/inquiry/v2/InquiryWorkspace.d.ts +9 -9
- package/dist/inquiry/v2/InquiryWorkspace.d.ts.map +1 -1
- package/dist/inquiry/v2/InquiryWorkspace.js +531 -408
- package/dist/inquiry/v2/InquiryWorkspace.js.map +1 -1
- package/dist/inquiry/v2/InquiryWorkspace.mjs +524 -408
- package/dist/inquiry/v2/InquiryWorkspace.mjs.map +1 -1
- package/dist/inquiry/v2/ai/InquiryV2Copilot.d.ts +3 -2
- package/dist/inquiry/v2/ai/InquiryV2Copilot.d.ts.map +1 -1
- package/dist/inquiry/v2/ai/InquiryV2Copilot.js +20 -37
- package/dist/inquiry/v2/ai/InquiryV2Copilot.js.map +1 -1
- package/dist/inquiry/v2/ai/InquiryV2Copilot.mjs +19 -31
- package/dist/inquiry/v2/ai/InquiryV2Copilot.mjs.map +1 -1
- package/dist/inquiry/v2/ai/copilotModel.d.ts +6 -14
- package/dist/inquiry/v2/ai/copilotModel.d.ts.map +1 -1
- package/dist/inquiry/v2/ai/copilotModel.js +35 -87
- package/dist/inquiry/v2/ai/copilotModel.js.map +1 -1
- package/dist/inquiry/v2/ai/copilotModel.mjs +23 -47
- package/dist/inquiry/v2/ai/copilotModel.mjs.map +1 -1
- package/dist/inquiry/v2/api/queries.d.ts +46 -73
- package/dist/inquiry/v2/api/queries.d.ts.map +1 -1
- package/dist/inquiry/v2/api/queries.js +151 -210
- package/dist/inquiry/v2/api/queries.js.map +1 -1
- package/dist/inquiry/v2/api/queries.mjs +227 -183
- package/dist/inquiry/v2/api/queries.mjs.map +1 -1
- package/dist/inquiry/v2/capabilities/actions/ActionsCapability.d.ts.map +1 -1
- package/dist/inquiry/v2/capabilities/actions/ActionsCapability.js +103 -32
- package/dist/inquiry/v2/capabilities/actions/ActionsCapability.js.map +1 -1
- package/dist/inquiry/v2/capabilities/actions/ActionsCapability.mjs +92 -32
- package/dist/inquiry/v2/capabilities/actions/ActionsCapability.mjs.map +1 -1
- package/dist/inquiry/v2/capabilities/actions/ActionsCapability.module.css +8 -1
- package/dist/inquiry/v2/capabilities/actions/EntityFormSurface.d.ts +20 -16
- package/dist/inquiry/v2/capabilities/actions/EntityFormSurface.d.ts.map +1 -1
- package/dist/inquiry/v2/capabilities/actions/EntityFormSurface.js +111 -68
- package/dist/inquiry/v2/capabilities/actions/EntityFormSurface.js.map +1 -1
- package/dist/inquiry/v2/capabilities/actions/EntityFormSurface.mjs +108 -142
- package/dist/inquiry/v2/capabilities/actions/EntityFormSurface.mjs.map +1 -1
- package/dist/inquiry/v2/capabilities/actions/RetrieveSurface.mjs +1 -1
- package/dist/inquiry/v2/capabilities/actions/actionModel.d.ts +66 -50
- package/dist/inquiry/v2/capabilities/actions/actionModel.d.ts.map +1 -1
- package/dist/inquiry/v2/capabilities/actions/actionModel.js +141 -66
- package/dist/inquiry/v2/capabilities/actions/actionModel.js.map +1 -1
- package/dist/inquiry/v2/capabilities/actions/actionModel.mjs +115 -53
- package/dist/inquiry/v2/capabilities/actions/actionModel.mjs.map +1 -1
- package/dist/inquiry/v2/capabilities/actions/parentKeyDefaults.d.ts +26 -0
- package/dist/inquiry/v2/capabilities/actions/parentKeyDefaults.d.ts.map +1 -0
- package/dist/inquiry/v2/capabilities/actions/parentKeyDefaults.js +36 -0
- package/dist/inquiry/v2/capabilities/actions/parentKeyDefaults.js.map +1 -0
- package/dist/inquiry/v2/capabilities/actions/parentKeyDefaults.mjs +41 -0
- package/dist/inquiry/v2/capabilities/actions/parentKeyDefaults.mjs.map +1 -0
- package/dist/inquiry/v2/capabilities/actions/runAction.d.ts +3 -2
- package/dist/inquiry/v2/capabilities/actions/runAction.d.ts.map +1 -1
- package/dist/inquiry/v2/capabilities/actions/runAction.js +27 -23
- package/dist/inquiry/v2/capabilities/actions/runAction.js.map +1 -1
- package/dist/inquiry/v2/capabilities/actions/runAction.mjs +26 -20
- package/dist/inquiry/v2/capabilities/actions/runAction.mjs.map +1 -1
- package/dist/inquiry/v2/capabilities/actions/useHeaderFold.d.ts +20 -0
- package/dist/inquiry/v2/capabilities/actions/useHeaderFold.d.ts.map +1 -0
- package/dist/inquiry/v2/capabilities/actions/useHeaderFold.js +112 -0
- package/dist/inquiry/v2/capabilities/actions/useHeaderFold.js.map +1 -0
- package/dist/inquiry/v2/capabilities/actions/useHeaderFold.mjs +118 -0
- package/dist/inquiry/v2/capabilities/actions/useHeaderFold.mjs.map +1 -0
- package/dist/inquiry/v2/capabilities/actions/useSheetPanel.d.ts +25 -1
- package/dist/inquiry/v2/capabilities/actions/useSheetPanel.d.ts.map +1 -1
- package/dist/inquiry/v2/capabilities/actions/useSheetPanel.js +7 -4
- package/dist/inquiry/v2/capabilities/actions/useSheetPanel.js.map +1 -1
- package/dist/inquiry/v2/capabilities/actions/useSheetPanel.mjs +9 -4
- package/dist/inquiry/v2/capabilities/actions/useSheetPanel.mjs.map +1 -1
- package/dist/inquiry/v2/capabilities/alerts/AlertsCapability.d.ts +5 -3
- package/dist/inquiry/v2/capabilities/alerts/AlertsCapability.d.ts.map +1 -1
- package/dist/inquiry/v2/capabilities/alerts/AlertsCapability.js +11 -8
- package/dist/inquiry/v2/capabilities/alerts/AlertsCapability.js.map +1 -1
- package/dist/inquiry/v2/capabilities/alerts/AlertsCapability.mjs +13 -7
- package/dist/inquiry/v2/capabilities/alerts/AlertsCapability.mjs.map +1 -1
- package/dist/inquiry/v2/capabilities/alerts/AlertsCapability.module.css +4 -4
- package/dist/inquiry/v2/capabilities/header/HeaderCapability.d.ts +1 -1
- package/dist/inquiry/v2/capabilities/header/HeaderCapability.d.ts.map +1 -1
- package/dist/inquiry/v2/capabilities/header/HeaderCapability.js +20 -17
- package/dist/inquiry/v2/capabilities/header/HeaderCapability.js.map +1 -1
- package/dist/inquiry/v2/capabilities/header/HeaderCapability.mjs +101 -111
- package/dist/inquiry/v2/capabilities/header/HeaderCapability.mjs.map +1 -1
- package/dist/inquiry/v2/capabilities/header/HeaderCapability.module.css +9 -6
- package/dist/inquiry/v2/capabilities/tabs/TabsCapability.d.ts +2 -1
- package/dist/inquiry/v2/capabilities/tabs/TabsCapability.d.ts.map +1 -1
- package/dist/inquiry/v2/capabilities/tabs/TabsCapability.js +9 -2
- package/dist/inquiry/v2/capabilities/tabs/TabsCapability.js.map +1 -1
- package/dist/inquiry/v2/capabilities/tabs/TabsCapability.mjs +18 -15
- package/dist/inquiry/v2/capabilities/tabs/TabsCapability.mjs.map +1 -1
- package/dist/inquiry/v2/index.d.ts +0 -1
- package/dist/inquiry/v2/index.d.ts.map +1 -1
- package/dist/inquiry/v2/index.js.map +1 -1
- package/dist/inquiry/v2/kernel/ActionRunnerContext.d.ts +3 -3
- package/dist/inquiry/v2/kernel/ActionRunnerContext.d.ts.map +1 -1
- package/dist/inquiry/v2/kernel/ActionRunnerContext.js +11 -5
- package/dist/inquiry/v2/kernel/ActionRunnerContext.js.map +1 -1
- package/dist/inquiry/v2/kernel/ActionRunnerContext.mjs +15 -12
- package/dist/inquiry/v2/kernel/ActionRunnerContext.mjs.map +1 -1
- package/dist/inquiry/v2/kernel/ReadOnlyContext.d.ts +3 -0
- package/dist/inquiry/v2/kernel/ReadOnlyContext.d.ts.map +1 -0
- package/dist/inquiry/v2/kernel/ReadOnlyContext.js +14 -0
- package/dist/inquiry/v2/kernel/ReadOnlyContext.js.map +1 -0
- package/dist/inquiry/v2/kernel/ReadOnlyContext.mjs +20 -0
- package/dist/inquiry/v2/kernel/ReadOnlyContext.mjs.map +1 -0
- package/dist/inquiry/v2/kernel/RecordContext.d.ts +2 -0
- package/dist/inquiry/v2/kernel/RecordContext.d.ts.map +1 -1
- package/dist/inquiry/v2/kernel/RecordContext.js.map +1 -1
- package/dist/inquiry/v2/kernel/RecordContext.mjs.map +1 -1
- package/dist/inquiry/v2/kernel/UdpNodeView.d.ts.map +1 -1
- package/dist/inquiry/v2/kernel/UdpNodeView.js +18 -13
- package/dist/inquiry/v2/kernel/UdpNodeView.js.map +1 -1
- package/dist/inquiry/v2/kernel/UdpNodeView.mjs +177 -140
- package/dist/inquiry/v2/kernel/UdpNodeView.mjs.map +1 -1
- package/dist/inquiry/v2/kernel/UdpNodeView.module.css +56 -5
- package/dist/inquiry/v2/kernel/capabilities.d.ts +0 -2
- package/dist/inquiry/v2/kernel/capabilities.d.ts.map +1 -1
- package/dist/inquiry/v2/kernel/capabilities.js.map +1 -1
- package/dist/inquiry/v2/kernel/capabilities.mjs.map +1 -1
- package/dist/inquiry/v2/landing/InquiryExplorePage.d.ts +26 -37
- package/dist/inquiry/v2/landing/InquiryExplorePage.d.ts.map +1 -1
- package/dist/inquiry/v2/landing/InquiryExplorePage.js +48 -57
- package/dist/inquiry/v2/landing/InquiryExplorePage.js.map +1 -1
- package/dist/inquiry/v2/landing/InquiryExplorePage.mjs +102 -106
- package/dist/inquiry/v2/landing/InquiryExplorePage.mjs.map +1 -1
- package/dist/inquiry/v2/landing/InquiryExplorePage.module.css +58 -6
- package/dist/inquiry/v2/landing/InquiryLanding.d.ts +3 -3
- package/dist/inquiry/v2/landing/InquiryLanding.d.ts.map +1 -1
- package/dist/inquiry/v2/landing/InquiryLanding.js +8 -3
- package/dist/inquiry/v2/landing/InquiryLanding.js.map +1 -1
- package/dist/inquiry/v2/landing/InquiryLanding.mjs +51 -35
- package/dist/inquiry/v2/landing/InquiryLanding.mjs.map +1 -1
- package/dist/inquiry/v2/landing/InquiryLanding.module.css +8 -0
- package/dist/inquiry/v2/page/UdpPageRenderer.d.ts +5 -1
- package/dist/inquiry/v2/page/UdpPageRenderer.d.ts.map +1 -1
- package/dist/inquiry/v2/page/UdpPageRenderer.js +13 -1
- package/dist/inquiry/v2/page/UdpPageRenderer.js.map +1 -1
- package/dist/inquiry/v2/page/UdpPageRenderer.mjs +36 -7
- package/dist/inquiry/v2/page/UdpPageRenderer.mjs.map +1 -1
- package/dist/inquiry/v2/search/InquirySearchPanel.d.ts +1 -7
- package/dist/inquiry/v2/search/InquirySearchPanel.d.ts.map +1 -1
- package/dist/inquiry/v2/search/InquirySearchPanel.js +6 -13
- package/dist/inquiry/v2/search/InquirySearchPanel.js.map +1 -1
- package/dist/inquiry/v2/search/InquirySearchPanel.mjs +4 -8
- package/dist/inquiry/v2/search/InquirySearchPanel.mjs.map +1 -1
- package/dist/inquiry/v2/search/RecordFinder.d.ts +30 -1
- package/dist/inquiry/v2/search/RecordFinder.d.ts.map +1 -1
- package/dist/inquiry/v2/search/RecordFinder.js +43 -20
- package/dist/inquiry/v2/search/RecordFinder.js.map +1 -1
- package/dist/inquiry/v2/search/RecordFinder.mjs +68 -42
- package/dist/inquiry/v2/search/RecordFinder.mjs.map +1 -1
- package/dist/inquiry/v2/search/index.d.ts +3 -3
- package/dist/inquiry/v2/search/index.d.ts.map +1 -1
- package/dist/inquiry/v2/search/index.js +1 -1
- package/dist/inquiry/v2/search/index.js.map +1 -1
- package/dist/inquiry/v2/search/searchModel.d.ts +130 -23
- package/dist/inquiry/v2/search/searchModel.d.ts.map +1 -1
- package/dist/inquiry/v2/search/searchModel.js +237 -36
- package/dist/inquiry/v2/search/searchModel.js.map +1 -1
- package/dist/inquiry/v2/search/searchModel.mjs +207 -34
- package/dist/inquiry/v2/search/searchModel.mjs.map +1 -1
- package/dist/inquiry/v2/search/useInquirySearch.d.ts.map +1 -1
- package/dist/inquiry/v2/search/useInquirySearch.js +46 -19
- package/dist/inquiry/v2/search/useInquirySearch.js.map +1 -1
- package/dist/inquiry/v2/search/useInquirySearch.mjs +83 -84
- package/dist/inquiry/v2/search/useInquirySearch.mjs.map +1 -1
- package/dist/inquiry/v2/tree/InquiryFluentTreeMenu.d.ts +4 -1
- package/dist/inquiry/v2/tree/InquiryFluentTreeMenu.d.ts.map +1 -1
- package/dist/inquiry/v2/tree/InquiryFluentTreeMenu.js +174 -166
- package/dist/inquiry/v2/tree/InquiryFluentTreeMenu.js.map +1 -1
- package/dist/inquiry/v2/tree/InquiryFluentTreeMenu.mjs +343 -325
- package/dist/inquiry/v2/tree/InquiryFluentTreeMenu.mjs.map +1 -1
- package/dist/inquiry/v2/tree/InquiryMenuToolbar.d.ts +3 -1
- package/dist/inquiry/v2/tree/InquiryMenuToolbar.d.ts.map +1 -1
- package/dist/inquiry/v2/tree/InquiryMenuToolbar.js +8 -7
- package/dist/inquiry/v2/tree/InquiryMenuToolbar.js.map +1 -1
- package/dist/inquiry/v2/tree/InquiryMenuToolbar.mjs +68 -72
- package/dist/inquiry/v2/tree/InquiryMenuToolbar.mjs.map +1 -1
- package/dist/inquiry/v2/tree/LoadRecordDialog.d.ts +3 -3
- package/dist/inquiry/v2/tree/LoadRecordDialog.d.ts.map +1 -1
- package/dist/inquiry/v2/tree/LoadRecordDialog.js +12 -7
- package/dist/inquiry/v2/tree/LoadRecordDialog.js.map +1 -1
- package/dist/inquiry/v2/tree/LoadRecordDialog.mjs +48 -33
- package/dist/inquiry/v2/tree/LoadRecordDialog.mjs.map +1 -1
- package/dist/inquiry/v2/tree/NodeList.d.ts.map +1 -1
- package/dist/inquiry/v2/tree/NodeList.js +17 -6
- package/dist/inquiry/v2/tree/NodeList.js.map +1 -1
- package/dist/inquiry/v2/tree/NodeList.mjs +49 -36
- package/dist/inquiry/v2/tree/NodeList.mjs.map +1 -1
- package/dist/inquiry/v2/tree/arrivalModel.d.ts +15 -0
- package/dist/inquiry/v2/tree/arrivalModel.d.ts.map +1 -1
- package/dist/inquiry/v2/tree/arrivalModel.js +14 -1
- package/dist/inquiry/v2/tree/arrivalModel.js.map +1 -1
- package/dist/inquiry/v2/tree/arrivalModel.mjs +12 -1
- package/dist/inquiry/v2/tree/arrivalModel.mjs.map +1 -1
- package/dist/inquiry/v2/tree/branchRefreshModel.d.ts +32 -0
- package/dist/inquiry/v2/tree/branchRefreshModel.d.ts.map +1 -0
- package/dist/inquiry/v2/tree/branchRefreshModel.js +62 -0
- package/dist/inquiry/v2/tree/branchRefreshModel.js.map +1 -0
- package/dist/inquiry/v2/tree/branchRefreshModel.mjs +60 -0
- package/dist/inquiry/v2/tree/branchRefreshModel.mjs.map +1 -0
- package/dist/inquiry/v2/tree/droppedPageModel.d.ts +23 -1
- package/dist/inquiry/v2/tree/droppedPageModel.d.ts.map +1 -1
- package/dist/inquiry/v2/tree/droppedPageModel.js +53 -26
- package/dist/inquiry/v2/tree/droppedPageModel.js.map +1 -1
- package/dist/inquiry/v2/tree/droppedPageModel.mjs +48 -20
- package/dist/inquiry/v2/tree/droppedPageModel.mjs.map +1 -1
- package/dist/inquiry/v2/tree/fluentTreeMenu/treeMenuVisuals.d.ts +7 -12
- package/dist/inquiry/v2/tree/fluentTreeMenu/treeMenuVisuals.d.ts.map +1 -1
- package/dist/inquiry/v2/tree/fluentTreeMenu/treeMenuVisuals.js +44 -15
- package/dist/inquiry/v2/tree/fluentTreeMenu/treeMenuVisuals.js.map +1 -1
- package/dist/inquiry/v2/tree/fluentTreeMenu/treeMenuVisuals.mjs +34 -15
- package/dist/inquiry/v2/tree/fluentTreeMenu/treeMenuVisuals.mjs.map +1 -1
- package/dist/inquiry/v2/tree/fluentTreeMenu/useAggregateBadges.d.ts.map +1 -1
- package/dist/inquiry/v2/tree/fluentTreeMenu/useAggregateBadges.js +7 -18
- package/dist/inquiry/v2/tree/fluentTreeMenu/useAggregateBadges.js.map +1 -1
- package/dist/inquiry/v2/tree/fluentTreeMenu/useAggregateBadges.mjs +6 -14
- package/dist/inquiry/v2/tree/fluentTreeMenu/useAggregateBadges.mjs.map +1 -1
- package/dist/inquiry/v2/tree/fluentTreeMenu/useChildCountBadges.d.ts +20 -16
- package/dist/inquiry/v2/tree/fluentTreeMenu/useChildCountBadges.d.ts.map +1 -1
- package/dist/inquiry/v2/tree/fluentTreeMenu/useChildCountBadges.js +77 -55
- package/dist/inquiry/v2/tree/fluentTreeMenu/useChildCountBadges.js.map +1 -1
- package/dist/inquiry/v2/tree/fluentTreeMenu/useChildCountBadges.mjs +85 -106
- package/dist/inquiry/v2/tree/fluentTreeMenu/useChildCountBadges.mjs.map +1 -1
- package/dist/inquiry/v2/tree/lineageModel.d.ts +18 -1
- package/dist/inquiry/v2/tree/lineageModel.d.ts.map +1 -1
- package/dist/inquiry/v2/tree/lineageModel.js +71 -2
- package/dist/inquiry/v2/tree/lineageModel.js.map +1 -1
- package/dist/inquiry/v2/tree/lineageModel.mjs +53 -3
- package/dist/inquiry/v2/tree/lineageModel.mjs.map +1 -1
- package/dist/inquiry/v2/tree/menuRebuildModel.d.ts +10 -27
- package/dist/inquiry/v2/tree/menuRebuildModel.d.ts.map +1 -1
- package/dist/inquiry/v2/tree/menuRebuildModel.js +8 -58
- package/dist/inquiry/v2/tree/menuRebuildModel.js.map +1 -1
- package/dist/inquiry/v2/tree/menuRebuildModel.mjs +8 -51
- package/dist/inquiry/v2/tree/menuRebuildModel.mjs.map +1 -1
- package/dist/inquiry/v2/tree/pagedChildrenModel.d.ts +26 -0
- package/dist/inquiry/v2/tree/pagedChildrenModel.d.ts.map +1 -0
- package/dist/inquiry/v2/tree/pagedChildrenModel.js +56 -0
- package/dist/inquiry/v2/tree/pagedChildrenModel.js.map +1 -0
- package/dist/inquiry/v2/tree/pagedChildrenModel.mjs +43 -0
- package/dist/inquiry/v2/tree/pagedChildrenModel.mjs.map +1 -0
- package/dist/inquiry/v2/tree/rootRemovalModel.d.ts +7 -0
- package/dist/inquiry/v2/tree/rootRemovalModel.d.ts.map +1 -1
- package/dist/inquiry/v2/tree/rootRemovalModel.js +31 -5
- package/dist/inquiry/v2/tree/rootRemovalModel.js.map +1 -1
- package/dist/inquiry/v2/tree/rootRemovalModel.mjs +21 -4
- package/dist/inquiry/v2/tree/rootRemovalModel.mjs.map +1 -1
- package/dist/inquiry/v2/tree/treeFilterModel.d.ts +0 -2
- package/dist/inquiry/v2/tree/treeFilterModel.d.ts.map +1 -1
- package/dist/inquiry/v2/tree/treeFilterModel.js +0 -7
- package/dist/inquiry/v2/tree/treeFilterModel.js.map +1 -1
- package/dist/inquiry/v2/tree/treeFilterModel.mjs.map +1 -1
- package/dist/inquiry/v2/tree/useInquiryMenu.d.ts +16 -7
- package/dist/inquiry/v2/tree/useInquiryMenu.d.ts.map +1 -1
- package/dist/inquiry/v2/tree/useInquiryMenu.js +401 -163
- package/dist/inquiry/v2/tree/useInquiryMenu.js.map +1 -1
- package/dist/inquiry/v2/tree/useInquiryMenu.mjs +511 -310
- package/dist/inquiry/v2/tree/useInquiryMenu.mjs.map +1 -1
- package/dist/inquiry/v2/tree/waveLoader.d.ts +10 -11
- package/dist/inquiry/v2/tree/waveLoader.d.ts.map +1 -1
- package/dist/inquiry/v2/tree/waveLoader.js +78 -72
- package/dist/inquiry/v2/tree/waveLoader.js.map +1 -1
- package/dist/inquiry/v2/tree/waveLoader.mjs +79 -68
- package/dist/inquiry/v2/tree/waveLoader.mjs.map +1 -1
- package/dist/inquiry/v2/widgets/listRow.module.css +27 -0
- package/dist/inquiry/v2/widgets/widgetRowModel.d.ts +6 -2
- package/dist/inquiry/v2/widgets/widgetRowModel.d.ts.map +1 -1
- package/dist/inquiry/v2/widgets/widgetRowModel.js +49 -14
- package/dist/inquiry/v2/widgets/widgetRowModel.js.map +1 -1
- package/dist/inquiry/v2/widgets/widgetRowModel.mjs +36 -12
- package/dist/inquiry/v2/widgets/widgetRowModel.mjs.map +1 -1
- package/dist/maintenance/UdpTaggedRecordsPage.mjs +1 -1
- package/dist/maintenance/api/lookupApi.mjs +1 -1
- package/dist/maintenance/api/tagsApi.mjs +1 -1
- package/dist/maintenance/config/nodeDefaults.d.ts.map +1 -1
- package/dist/maintenance/config/nodeDefaults.js +16 -5
- package/dist/maintenance/config/nodeDefaults.js.map +1 -1
- package/dist/maintenance/config/nodeDefaults.mjs +14 -5
- package/dist/maintenance/config/nodeDefaults.mjs.map +1 -1
- package/dist/maintenance/config/useEntityConfig.mjs +1 -1
- package/dist/maintenance/config/useLinkedLabels.mjs +1 -1
- package/dist/maintenance/grid/MaintenanceGrid.mjs +1 -1
- package/dist/maintenance/metadata/useEntityMetadata.mjs +1 -1
- package/dist/maintenance/record/ChildTab.mjs +1 -1
- package/dist/maintenance/record/DeleteRecordDialog.mjs +1 -1
- package/dist/maintenance/record/LinkRecordsSheet.mjs +1 -1
- package/dist/maintenance/record/RecordFacts.mjs +1 -1
- package/dist/maintenance/record/RecordSheet.mjs +2 -2
- package/dist/maintenance/record/displayValue.mjs +1 -1
- package/dist/maintenance/record/stampDisplayText.mjs +1 -1
- package/dist/maintenance/settings/useEntityCatalog.mjs +1 -1
- package/dist/maintenanceEngine/tableBrowser/TableColumnDefs.d.ts +4 -5
- package/dist/maintenanceEngine/tableBrowser/TableColumnDefs.d.ts.map +1 -1
- package/dist/stores/inquiryStore.d.ts +2 -1
- package/dist/stores/inquiryStore.d.ts.map +1 -1
- package/dist/stores/inquiryStore.js +4 -3
- package/dist/stores/inquiryStore.js.map +1 -1
- package/dist/stores/inquiryStore.mjs +18 -11
- package/dist/stores/inquiryStore.mjs.map +1 -1
- package/dist/udp/pages/UdpMaintenanceEnginePage/UdpMaintenanceEnginePage.d.ts.map +1 -1
- package/dist/udp/pages/UdpMaintenanceEnginePage/UdpMaintenanceEnginePage.js +1 -1
- package/dist/udp/pages/UdpMaintenanceEnginePage/UdpMaintenanceEnginePage.js.map +1 -1
- package/dist/udp/pages/UdpMaintenanceEnginePage/UdpMaintenanceEnginePage.mjs +2 -1
- package/dist/udp/pages/UdpMaintenanceEnginePage/UdpMaintenanceEnginePage.mjs.map +1 -1
- package/dist/udp/pages/UdpMaintenanceEnginePage/components/EntitiyTimeLine.mjs +1 -1
- package/dist/udp/utilities/useDateStringColumnDef.d.ts +1 -1
- package/dist/utilities/i18n/locales/es-US.json +23 -5
- package/dist/utilities/i18n/locales/es-US.mjs +24 -4
- package/dist/utilities/i18n/locales/fr-CA.json +23 -5
- package/dist/utilities/i18n/locales/fr-CA.mjs +24 -4
- package/package.json +30 -18
- package/dist/actionPanels/PanelActionForm.d.ts +0 -56
- package/dist/actionPanels/PanelActionForm.d.ts.map +0 -1
- package/dist/actionPanels/PanelActionForm.js +0 -30
- package/dist/actionPanels/PanelActionForm.js.map +0 -1
- package/dist/actionPanels/PanelActionForm.mjs +0 -168
- package/dist/actionPanels/PanelActionForm.mjs.map +0 -1
- package/dist/actionPanels/PanelEditor.d.ts +0 -44
- package/dist/actionPanels/PanelEditor.d.ts.map +0 -1
- package/dist/actionPanels/PanelEditor.js +0 -78
- package/dist/actionPanels/PanelEditor.js.map +0 -1
- package/dist/actionPanels/PanelEditor.mjs +0 -345
- package/dist/actionPanels/PanelEditor.mjs.map +0 -1
- package/dist/actionPanels/panelActionFields.module.css +0 -18
- package/dist/domain/inquiryTree/ruleBindings.d.ts +0 -10
- package/dist/domain/inquiryTree/ruleBindings.d.ts.map +0 -1
- package/dist/domain/inquiryTree/ruleBindings.js +0 -20
- package/dist/domain/inquiryTree/ruleBindings.js.map +0 -1
- package/dist/domain/inquiryTree/ruleBindings.mjs +0 -21
- package/dist/domain/inquiryTree/ruleBindings.mjs.map +0 -1
- package/dist/inquiry/v2/kernel/readOnlyModel.d.ts +0 -17
- package/dist/inquiry/v2/kernel/readOnlyModel.d.ts.map +0 -1
- package/dist/inquiry/v2/kernel/readOnlyModel.js +0 -19
- package/dist/inquiry/v2/kernel/readOnlyModel.js.map +0 -1
- package/dist/inquiry/v2/kernel/readOnlyModel.mjs +0 -21
- package/dist/inquiry/v2/kernel/readOnlyModel.mjs.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"model.mjs","names":["applyRule","mapRuleVariables","formatTreeLabel","resolveRowLabel","DisplayNode","JsonLogic","toWireString","CollapseDefault","displayString","value","undefined","JSON","stringify","String","CollapseState","show","expanded","HeaderFieldDisplay","BADGE_COLORS","const","BadgeColor","HeaderField","label","display","color","NodeViewTab","id","pageId","pageHeaderPageId","pageHeaderCollapse","queryId","queryParamMapping","requiredFieldMapping","Record","trees","NodeViewHeader","kind","fields","NodeAlert","alertId","NodeViewModel","headerTitle","header","headerCollapse","tabs","panels","alerts","NodeViewPresence","title","body","actions","NodeViewLayout","showBand","compactTitleRow","showEmptyState","resolveNodeViewLayout","presence","RuleBearing","propertyMapping","jsonLogic","PageCandidate","sequenceNo","page","TabWire","displayName","pageHeaderPages","defaultPageHeaderExpanded","name","bySequence","list","T","sort","a","b","Number","passesRule","candidate","nodeObj","rule","resolveFirstMatchingPageId","candidates","length","HeaderBadgeRule","expression","HeaderFieldConfig","isShown","propertyName","property","joiningEntityKey","badgeColor","badgeRules","asBadgeColor","includes","resolveBadge","config","match","find","readRecordValue","source","resolveHeaderFields","node","configs","properties","pageHeaderConfiguration","catalogObjectKey","joined","badge","text","field","push","resolveNodeAlerts","isGroupNode","Array","filter","alert","map","resolveCollapse","resolveTabs","nodePageHeaderDefault","visible","tab","trim","resolveNodeViewModel","headerName","defaultNodeHeaderExpanded","headerPageId","nodeHeaderPages"],"sources":["../../../src/domain/nodeView/model.ts"],"sourcesContent":["/**\n * Node-view model resolution — the pure heart of the inquiry v2 kernel\n * (inquiry-v2-architecture.md §4.2).\n *\n * Given a loaded display node, derive everything the node view renders:\n * header title, header kind (page / static fields / none), collapse defaults,\n * the VISIBLE tab list (jsonLogic rules applied, stable ids, resolved per-tab\n * page-header page), and action panels. One shared first-matching-candidate\n * walk serves tabs, nodeHeaderPages, and pageHeaderPages.\n *\n * Deliberate fixes vs the legacy container (audit §3): numeric sequenceNo\n * ordering, visibility-filtered tabs drive everything (raw config count is\n * never consulted), stable tab identity instead of array indexes.\n */\nimport { applyRule, mapRuleVariables } from '../inquiryTree/rules';\nimport { formatTreeLabel } from '../inquiryTree/view';\nimport { resolveRowLabel } from '../inquiryTree/displayTree';\nimport type { DisplayNode } from '../inquiryTree/displayTree';\nimport type { JsonLogic } from '../inquiryTree/types';\nimport { toWireString } from '../inquiryTree/wireString';\n\nexport type CollapseDefault = 'hidden' | 'expanded' | 'collapsed';\n\n/** Display-safe stringification: objects never render as '[object Object]'. */\nconst displayString = (value: unknown): string => {\n if (value === undefined || value === null || value === '') return '';\n if (typeof value === 'object') return JSON.stringify(value);\n return String(value as string | number | boolean);\n};\n\nexport interface CollapseState {\n /** false = the strip (and its chevron) does not exist. */\n show: boolean;\n /** Initial expanded state when shown. */\n expanded: boolean;\n}\n\n/** How a header entry renders. Absent on the wire = 'field' (legacy trees). */\nexport type HeaderFieldDisplay = 'field' | 'stat' | 'badge';\n\n/**\n * The `UdpBadge` `color` prop's legal values, declared beside the config that\n * picks one so Tree Builder offers exactly the set the viewer can render.\n * Anything else resolves colorless rather than reaching the component.\n */\nexport const BADGE_COLORS = [\n 'brand',\n 'danger',\n 'important',\n 'informative',\n 'severe',\n 'subtle',\n 'success',\n 'warning'\n] as const;\n\nexport type BadgeColor = (typeof BADGE_COLORS)[number];\n\nexport interface HeaderField {\n label: string;\n /**\n * The string the entry displays. For fields and stats that is the record\n * value; for badges it is the badge's own text — the value, except for a\n * boolean flag, whose display string IS the entry's name (\"Confidential\").\n * The renderer prints this slot and nothing else.\n */\n value: string;\n /** 'field' unless the entry configures otherwise. */\n display: HeaderFieldDisplay;\n /** Badge color — badge entries only, absent when none is configured. */\n color?: BadgeColor;\n}\n\nexport interface NodeViewTab {\n /** Stable identity: config id, falling back to pageId. Never an index. */\n id: string;\n label: string;\n pageId: string;\n /** Rule-resolved page-header page for this tab, or null. */\n pageHeaderPageId: string | null;\n /**\n * Per-tab page-header band display: the tab's own\n * `defaultPageHeaderExpanded`, falling back to the node-wide value —\n * legacy trees (node value only) render identically; a tab value is the\n * more precise override.\n */\n pageHeaderCollapse: CollapseState;\n queryId: string;\n queryParamMapping: unknown;\n requiredFieldMapping: Record<string, unknown>;\n trees: unknown[];\n}\n\nexport type NodeViewHeader =\n | { kind: 'page'; pageId: string }\n | { kind: 'fields'; fields: HeaderField[] }\n | { kind: 'none' };\n\n/** A node-level alert reference (legacy `properties.alerts` row). */\nexport interface NodeAlert {\n /** Stable row id (falls back to the alertId). */\n id: string;\n /** The alert (aggregate-threshold) config id to fetch and render. */\n alertId: string;\n}\n\nexport interface NodeViewModel {\n headerTitle: string;\n header: NodeViewHeader;\n headerCollapse: CollapseState;\n /**\n * Node-wide page-header default. Rendering consults the ACTIVE TAB's\n * `pageHeaderCollapse` (which already folds this in as fallback); this\n * stays for consumers that need the node default itself.\n */\n pageHeaderCollapse: CollapseState;\n tabs: NodeViewTab[];\n panels: unknown[];\n /** Node-level alert refs; the fetch/threshold render lives in the capability. */\n alerts: NodeAlert[];\n}\n\n/**\n * What the node view actually has to render, once the model AND the embedder's\n * capability allowlist have both been applied. The kernel supplies this (only\n * it knows the allowlist); the decision below is pure.\n */\nexport interface NodeViewPresence {\n /** A non-blank resolved header title. */\n title: boolean;\n /** The node-header capability renders (page or static fields). */\n header: boolean;\n /** The tab strip renders (more than one visible tab). */\n tabs: boolean;\n /** A tab page renders below the band. */\n body: boolean;\n /** The actions capability renders (configured panels). */\n actions: boolean;\n /** Node-level alert chips render. */\n alerts: boolean;\n}\n\n/** How the node view degrades when its config gives it little or nothing. */\nexport interface NodeViewLayout {\n /** The header band renders at all. False = no band, no divider. */\n showBand: boolean;\n /**\n * The title row degrades to a slim right-aligned actions row: a blank title\n * with nothing below it (no header fields, no tabs) leaves the band's height\n * unjustified, so it compacts instead of floating the actions in dead space.\n */\n compactTitleRow: boolean;\n /** Nothing at all is configured — the pane shows a quiet empty state. */\n showEmptyState: boolean;\n}\n\n/**\n * The node view's degradation rule (one place, so band and body agree):\n *\n * - the band exists when anything can sit in it — title, header, tabs,\n * actions, or alerts;\n * - it compacts when it exists but has no title AND nothing below the title\n * row (header/tabs) to justify the full band height;\n * - the empty state shows only when the band has nothing AND there is no body.\n *\n * Capability semantics are untouched: a node with a tab, header, or actions is\n * never \"empty\".\n */\nexport const resolveNodeViewLayout = (\n presence: NodeViewPresence\n): NodeViewLayout => {\n const showBand =\n presence.title ||\n presence.header ||\n presence.tabs ||\n presence.actions ||\n presence.alerts;\n return {\n showBand,\n compactTitleRow:\n showBand && !presence.title && !presence.header && !presence.tabs,\n showEmptyState: !showBand && !presence.body\n };\n};\n\ninterface RuleBearing {\n propertyMapping?: Record<string, string> | null;\n jsonLogic?: JsonLogic | null;\n}\n\ninterface PageCandidate extends RuleBearing {\n sequenceNo?: number | string;\n page?: { pageId?: string | null } | null;\n}\n\ninterface TabWire extends PageCandidate {\n id?: string | number;\n displayName?: string | null;\n trees?: unknown[] | null;\n requiredFieldMapping?: Record<string, unknown> | null;\n queryId?: string | null;\n queryParamMapping?: unknown;\n pageHeaderPages?: PageCandidate[] | null;\n /** Per-tab page-header display override (same vocabulary as the node key). */\n defaultPageHeaderExpanded?: string | null;\n page?: { pageId?: string | null; name?: string | null } | null;\n}\n\nconst bySequence = <T extends { sequenceNo?: number | string }>(\n list: T[]\n): T[] =>\n [...list].sort(\n (a, b) =>\n (Number(a.sequenceNo ?? 0) || 0) - (Number(b.sequenceNo ?? 0) || 0)\n );\n\n/** True when the candidate has no rule, or its rule passes against the record. */\nconst passesRule = (\n candidate: RuleBearing,\n nodeObj: Record<string, unknown>\n): boolean => {\n if (!candidate.propertyMapping || !candidate.jsonLogic) return true;\n const rule = mapRuleVariables(candidate.propertyMapping, candidate.jsonLogic);\n return !!applyRule(rule, nodeObj, null, false);\n};\n\n/**\n * The shared sequence-ordered, rule-gated candidate walk: first candidate\n * whose rule passes (rule-less candidates always match) wins.\n */\nexport const resolveFirstMatchingPageId = (\n candidates: PageCandidate[] | null | undefined,\n nodeObj: Record<string, unknown>\n): string | null => {\n if (!candidates?.length) return null;\n for (const candidate of bySequence(candidates)) {\n if (passesRule(candidate, nodeObj)) {\n return candidate.page?.pageId ?? null;\n }\n }\n return null;\n};\n\n/**\n * One badge color rule — the `ConditionalIconRule` shape (inquiryTree/types.ts)\n * reduced to what a badge needs, and evaluated by the same rule engine.\n */\nexport interface HeaderBadgeRule {\n id?: string;\n color?: string;\n expression?: JsonLogic | null;\n}\n\ninterface HeaderFieldConfig {\n isShown?: boolean;\n name?: string;\n propertyName?: string;\n property?: string;\n joiningEntityKey?: string;\n /** Absent = 'field', so old trees and the v1 viewer are unaffected. */\n display?: HeaderFieldDisplay;\n /** Unconditional badge color; ignored once badgeRules are configured. */\n badgeColor?: string;\n badgeRules?: HeaderBadgeRule[];\n}\n\nconst asBadgeColor = (color: unknown): BadgeColor | undefined =>\n BADGE_COLORS.includes(color as BadgeColor) ? (color as BadgeColor) : undefined;\n\n/**\n * Whether a badge entry renders at all, and in which color. With rules, the\n * first whose expression passes wins and no match means no badge; without\n * rules, a truthy value shows the entry's unconditional color. One semantics,\n * no special cases. The expressions go through `applyRule` — the same evaluator\n * the tree's conditional icon/adornment rules use, so one rule behaves\n * identically wherever a designer puts it.\n */\nconst resolveBadge = (\n config: HeaderFieldConfig,\n value: unknown,\n nodeObj: Record<string, unknown>\n): { color: BadgeColor | undefined } | null => {\n if (config.badgeRules?.length) {\n const match = config.badgeRules.find(\n (rule) =>\n rule.expression && applyRule(rule.expression, nodeObj, null, false)\n );\n return match ? { color: asBadgeColor(match.color) } : null;\n }\n return value ? { color: asBadgeColor(config.badgeColor) } : null;\n};\n\n/**\n * Read a record property, preferring the lookup display text the data layer\n * stamps beside it (`<field>LookupValue` — the grid/WR row-stamping idiom).\n * Unstamped fields (no lookup, or an unresolved one) read as before.\n */\nconst readRecordValue = (\n source: Record<string, unknown> | undefined,\n property: string\n): unknown => source?.[`${property}LookupValue`] ?? source?.[property];\n\n/**\n * Static header fields (legacy NodeDetails value resolution, ported pure):\n * value from the record by propertyName, with the joining-entity fallback\n * chain when `joiningEntityKey` is configured. Pure — lookup resolution\n * happens in the data layer (inquiry/v2/api/queries.ts), never here.\n *\n * The entry's `display` selects how the renderer types the pair; badges also\n * resolve their visibility and color here, so the renderer stays dumb.\n */\nexport const resolveHeaderFields = (node: DisplayNode): HeaderField[] => {\n const configs = node.properties?.pageHeaderConfiguration as\n | HeaderFieldConfig[]\n | undefined;\n const nodeObj = node.nodeObj;\n if (!configs?.length || !nodeObj) return [];\n const fields: HeaderField[] = [];\n for (const config of configs) {\n if (!config.isShown) continue;\n const propertyName = config.propertyName ?? '';\n const property = config.property || propertyName;\n let value = readRecordValue(nodeObj, propertyName);\n if (config.joiningEntityKey) {\n if (config.joiningEntityKey === node.properties?.catalogObjectKey) {\n value = readRecordValue(nodeObj, property);\n } else {\n const joined = nodeObj[config.joiningEntityKey] as\n | Record<string, unknown>\n | undefined;\n value =\n readRecordValue(joined, property) ??\n readRecordValue(nodeObj, property);\n }\n }\n const display = config.display ?? 'field';\n // A falsy value (no rules) or a rule set with no match drops the badge.\n const badge =\n display === 'badge' ? resolveBadge(config, value, nodeObj) : null;\n if (display === 'badge' && !badge) continue;\n\n // Badge text: a boolean is a FLAG, and the flag's display string is the\n // entry's name (\"Confidential\"); every other value-bearing field shows its\n // VALUE, same as a plain field (lookup display text already preferred by\n // `readRecordValue`). Rules only decide whether — and in what colour — the\n // badge shows; they never change its text.\n const name = config.name ?? '';\n const text =\n display === 'badge' && typeof value === 'boolean'\n ? name\n : displayString(value);\n\n // Empty stays empty — the renderer decides the placeholder (legacy: 'N/A').\n const field: HeaderField = {\n label: name,\n value: text,\n display\n };\n if (badge?.color) field.color = badge.color;\n fields.push(field);\n }\n return fields;\n};\n\n/**\n * Node-level alert refs (legacy EntityHeader → UdpAlertsContainer read of\n * `properties.alerts`): the `{ id, alertId }` rows, entity nodes only (group\n * nodes never carried alerts). Pure — the `alert/{alertId}` fetch and the\n * threshold-status render happen in the alerts capability.\n */\nexport const resolveNodeAlerts = (node: DisplayNode): NodeAlert[] => {\n if (node.isGroupNode) return [];\n const alerts = node.properties?.alerts as\n | Array<{ id?: unknown; alertId?: unknown }>\n | undefined;\n if (!alerts?.length) return [];\n return alerts\n .filter((alert) => alert && alert.alertId != null && alert.alertId !== '')\n .map((alert) => ({\n id: alert.id != null ? toWireString(alert.id) : toWireString(alert.alertId),\n alertId: toWireString(alert.alertId)\n }));\n};\n\nconst resolveCollapse = (value: unknown): CollapseState => {\n if (!value || value === 'hidden') return { show: false, expanded: false };\n return { show: true, expanded: value === 'expanded' };\n};\n\n/** Visible tabs: sequence-ordered, rule-filtered, stable ids. */\nexport const resolveTabs = (node: DisplayNode): NodeViewTab[] => {\n const tabs = node.properties?.tabs as TabWire[] | undefined;\n const nodeObj = node.nodeObj ?? {};\n const nodePageHeaderDefault = node.properties?.defaultPageHeaderExpanded;\n if (!tabs?.length) return [];\n const visible: NodeViewTab[] = [];\n for (const tab of bySequence(tabs)) {\n if (!passesRule(tab, nodeObj)) continue;\n const pageId = tab.page?.pageId ?? '';\n const label =\n tab.displayName?.trim() || tab.page?.name?.trim() || '';\n visible.push({\n id: tab.id !== undefined && tab.id !== null ? String(tab.id) : pageId,\n label,\n pageId,\n pageHeaderPageId: resolveFirstMatchingPageId(\n tab.pageHeaderPages ?? null,\n nodeObj\n ),\n pageHeaderCollapse: resolveCollapse(\n tab.defaultPageHeaderExpanded || nodePageHeaderDefault\n ),\n queryId: tab.queryId ?? '',\n queryParamMapping: tab.queryParamMapping ?? null,\n requiredFieldMapping: tab.requiredFieldMapping ?? {},\n trees: tab.trees ?? []\n });\n }\n return visible;\n};\n\nexport const resolveNodeViewModel = (node: DisplayNode): NodeViewModel => {\n const properties = node.properties ?? {};\n const nodeObj = node.nodeObj ?? {};\n\n // `formatTreeLabel` is a legacy port whose quirks are preserved on purpose:\n // handed no template at all (a node with no configured headerName) it returns\n // that missing template back, TYPED as string but undefined at runtime. The\n // model owns the contract — `headerTitle: string` — so it is made true here\n // rather than at each of the readers, one of which (the kernel's empty-state\n // check, UdpNodeView.tsx) called `.trim()` on it and crashed the viewer.\n //\n // A string, though, is not yet a TITLE: a level configuring no headerName\n // rendered a blank title row for a record whose name the tree row showed\n // perfectly well. Hence the fallback contract, stated once here: a configured\n // headerName wins, and a level that configures none shows exactly what its\n // tree row shows (`resolveRowLabel`, the one row-label reader). Group nodes\n // are unchanged — their row label IS `properties.label`.\n const headerTitle =\n displayString(\n node.isGroupNode\n ? properties.label\n : formatTreeLabel(properties.headerName as string | undefined, nodeObj)\n ) || resolveRowLabel(node);\n\n const headerCollapse = resolveCollapse(properties.defaultNodeHeaderExpanded);\n const pageHeaderCollapse = resolveCollapse(\n properties.defaultPageHeaderExpanded\n );\n\n let header: NodeViewHeader = { kind: 'none' };\n if (headerCollapse.show) {\n const headerPageId = resolveFirstMatchingPageId(\n properties.nodeHeaderPages as PageCandidate[] | undefined,\n nodeObj\n );\n if (headerPageId) {\n header = { kind: 'page', pageId: headerPageId };\n } else {\n const fields = resolveHeaderFields(node);\n header = fields.length ? { kind: 'fields', fields } : { kind: 'none' };\n }\n }\n\n return {\n headerTitle,\n header,\n headerCollapse,\n pageHeaderCollapse,\n tabs: resolveTabs(node),\n panels: (properties.panels as unknown[] | undefined) ?? [],\n alerts: resolveNodeAlerts(node)\n };\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAwBA,MAAMQ,iBAAiBC,UAA2B;AAChD,KAAIA,UAAUC,KAAAA,KAAaD,UAAU,QAAQA,UAAU,GAAI,QAAO;AAClE,KAAI,OAAOA,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D;GACDhD,oBAAoBuF,gBAClBI,IAAItD,6BAA6BoD,sBAClC;GACDxF,SAAS0F,IAAI1F,WAAW;GACxBC,mBAAmByF,IAAIzF,qBAAqB;GAC5CC,sBAAsBwF,IAAIxF,wBAAwB,EAAE;GACpDE,OAAOsF,IAAItF,SAAS,EAAA;GACrB,CAAC;;AAEJ,QAAOqF;;AAGT,MAAaG,wBAAwBtB,SAAqC;CACxE,MAAME,aAAaF,KAAKE,cAAc,EAAE;CACxC,MAAMzB,UAAUuB,KAAKvB,WAAW,EAAE;CAelC,MAAMpC,cACJjC,cACE4F,KAAKW,cACDT,WAAWhF,QACXpB,gBAAgBoG,WAAWqB,YAAkC9C,QACnE,CAAC,IAAI1E,gBAAgBiG,KAAK;CAE5B,MAAMzD,iBAAiByE,gBAAgBd,WAAWsB,0BAA0B;CAC5E,MAAM/F,qBAAqBuF,gBACzBd,WAAWpC,0BACZ;CAED,IAAIxB,SAAyB,EAAEN,MAAM,QAAQ;AAC7C,KAAIO,eAAe5B,MAAM;EACvB,MAAM8G,eAAe9C,2BACnBuB,WAAWwB,iBACXjD,QACD;AACD,MAAIgD,aACFnF,UAAS;GAAEN,MAAM;GAAQT,QAAQkG;GAAc;OAC1C;GACL,MAAMxF,SAAS8D,oBAAoBC,KAAK;AACxC1D,YAASL,OAAO4C,SAAS;IAAE7C,MAAM;IAAUC;IAAQ,GAAG,EAAED,MAAM,QAAQ;;;AAI1E,QAAO;EACLK;EACAC;EACAC;EACAd;EACAe,MAAMyE,YAAYjB,KAAK;EACvBvD,QAASyD,WAAWzD,UAAoC,EAAE;EAC1DC,QAAQgE,kBAAkBV,KAAI;EAC/B"}
|
|
1
|
+
{"version":3,"file":"model.mjs","names":["applyRule","mapRuleVariables","formatTreeLabel","resolveRowLabel","DisplayNode","HeaderPageRef","JsonLogic","NodePanel","NodeTab","TreeRuleBinding","toWireString","queryParamsFromRecord","displayString","value","undefined","JSON","stringify","String","CollapseState","show","expanded","HeaderFieldDisplay","BADGE_COLORS","const","BadgeColor","NEUTRAL_BADGE_COLOR","HeaderField","label","display","color","NodeViewTab","id","pageId","pageHeaderPageId","pageHeaderCollapse","queryId","queryParamMapping","requiredFieldMapping","Record","trees","NodeViewHeader","kind","fields","NodeAlert","alertId","params","staged","NodeViewModel","headerTitle","header","headerCollapse","tabs","panels","alerts","titleBadges","FieldBadge","NodeViewPresence","title","body","actions","NodeViewLayout","showBand","compactTitleRow","showEmptyState","resolveNodeViewLayout","presence","bySequence","sequenceNo","list","T","sort","a","b","Number","passesRule","candidate","nodeObj","propertyMapping","jsonLogic","rule","resolveFirstMatchingPageId","candidates","length","page","HeaderBadgeRule","expression","HeaderFieldConfig","isShown","name","propertyName","property","joiningEntityKey","badgeColor","badgeRules","onRow","onTitle","asBadgeColor","includes","resolveBadge","config","base","match","find","readRecordValue","source","fieldConfigs","node","properties","pageHeaderConfiguration","readEntryValue","catalogObjectKey","joined","badgeText","resolveHeaderFields","badge","field","push","text","resolveFieldBadges","place","badges","resolveRowBadges","resolveTitleBadges","resolveNodeAlerts","isGroupNode","Array","paramMappings","stagedAlert","filter","alert","map","resolveCollapse","resolveTabs","nodePageHeaderDefault","defaultPageHeaderExpanded","visible","tab","displayName","trim","pageHeaderPages","resolveNodeViewModel","headerName","defaultNodeHeaderExpanded","headerPageId","nodeHeaderPages"],"sources":["../../../src/domain/nodeView/model.ts"],"sourcesContent":["/**\n * Node-view model resolution — the pure heart of the inquiry v2 kernel\n * (inquiry-v2-architecture.md §4.2).\n *\n * Given a loaded display node, derive everything the node view renders:\n * header title, header kind (page / static fields / none), collapse defaults,\n * the VISIBLE tab list (jsonLogic rules applied, stable ids, resolved per-tab\n * page-header page), and action panels. One shared first-matching-candidate\n * walk serves tabs, nodeHeaderPages, and pageHeaderPages.\n *\n * Deliberate fixes vs the legacy container (audit §3): numeric sequenceNo\n * ordering, visibility-filtered tabs drive everything (raw config count is\n * never consulted), stable tab identity instead of array indexes.\n */\nimport { applyRule, mapRuleVariables } from '../inquiryTree/rules';\nimport { formatTreeLabel } from '../inquiryTree/view';\nimport { resolveRowLabel } from '../inquiryTree/displayTree';\nimport type { DisplayNode } from '../inquiryTree/displayTree';\nimport type {\n HeaderPageRef,\n JsonLogic,\n NodePanel,\n NodeTab,\n TreeRuleBinding\n} from '../inquiryTree/types';\nimport { toWireString } from '../inquiryTree/wireString';\nimport { queryParamsFromRecord } from '../inquiryTree/runtime';\n/** Display-safe stringification: objects never render as '[object Object]'. */\nconst displayString = (value: unknown): string => {\n if (value === undefined || value === null || value === '') return '';\n if (typeof value === 'object') return JSON.stringify(value);\n return String(value as string | number | boolean);\n};\n\nexport interface CollapseState {\n /** false = the strip (and its chevron) does not exist. */\n show: boolean;\n /** Initial expanded state when shown. */\n expanded: boolean;\n}\n\n/** How a header entry renders. Absent on the wire = 'field' (legacy trees). */\nexport type HeaderFieldDisplay = 'field' | 'stat' | 'badge';\n\n/**\n * The `UdpBadge` `color` prop's legal values, declared beside the config that\n * picks one so Tree Builder offers exactly the set the viewer can render.\n * Anything else resolves colorless rather than reaching the component.\n */\nexport const BADGE_COLORS = [\n 'brand',\n 'danger',\n 'important',\n 'informative',\n 'severe',\n 'subtle',\n 'success',\n 'warning'\n] as const;\n\nexport type BadgeColor = (typeof BADGE_COLORS)[number];\n\n/** A badge with no colour of its own to fall back on. */\nconst NEUTRAL_BADGE_COLOR: BadgeColor = 'informative';\n\nexport interface HeaderField {\n label: string;\n /**\n * The string the entry displays. For fields and stats that is the record\n * value; for badges it is the badge's own text — the value, except for a\n * boolean flag, whose display string IS the entry's name (\"Confidential\").\n * The renderer prints this slot and nothing else.\n */\n value: string;\n /** 'field' unless the entry configures otherwise. */\n display: HeaderFieldDisplay;\n /** Badge color — badge entries only, absent when none is configured. */\n color?: BadgeColor;\n}\n\nexport interface NodeViewTab {\n /** Stable identity: config id, falling back to pageId. Never an index. */\n id: string;\n label: string;\n pageId: string;\n /** Rule-resolved page-header page for this tab, or null. */\n pageHeaderPageId: string | null;\n /** The page-header band display: the node-wide\n * `defaultPageHeaderExpanded`, the one setting every tab shares (as v1). */\n pageHeaderCollapse: CollapseState;\n queryId: string;\n queryParamMapping: unknown;\n requiredFieldMapping: Record<string, unknown>;\n trees: unknown[];\n}\n\nexport type NodeViewHeader =\n | { kind: 'page'; pageId: string }\n | { kind: 'fields'; fields: HeaderField[] }\n | { kind: 'none' };\n\n/** A node-level alert reference (legacy `properties.alerts` row). */\nexport interface NodeAlert {\n /** Stable row id (falls back to the alertId). */\n id: string;\n /** The alert (aggregate-threshold) config id to fetch and render. */\n alertId: string;\n /**\n * The alert query's parameters filled from this record (the row's\n * `paramMappings`, as row aggregate chips map theirs) — what scopes the\n * alert's number to the record. Empty = the query runs unparameterised.\n */\n params: Record<string, unknown>;\n /**\n * The alert config itself, when the row carries one the tree has not saved\n * yet (a builder's staged header badge, `stagedAlert`) — drawn as it is,\n * with no `alert/{alertId}` fetch: the id may not exist yet.\n */\n staged?: Record<string, unknown>;\n}\n\nexport interface NodeViewModel {\n headerTitle: string;\n header: NodeViewHeader;\n headerCollapse: CollapseState;\n tabs: NodeViewTab[];\n panels: NodePanel[];\n /** Node-level alert refs; the fetch/threshold render lives in the capability. */\n alerts: NodeAlert[];\n /** The fields drawn as badges beside the title (`onTitle`), after the alerts. */\n titleBadges: FieldBadge[];\n}\n\n/**\n * What the node view actually has to render, once the model AND the embedder's\n * capability allowlist have both been applied. The kernel supplies this (only\n * it knows the allowlist); the decision below is pure.\n */\nexport interface NodeViewPresence {\n /** A non-blank resolved header title. */\n title: boolean;\n /** The node-header capability renders (page or static fields). */\n header: boolean;\n /** The tab strip renders (more than one visible tab). */\n tabs: boolean;\n /** A tab page renders below the band. */\n body: boolean;\n /** The actions capability renders (configured panels). */\n actions: boolean;\n /** Badges render beside the title (alerts or field badges). */\n alerts: boolean;\n}\n\n/** How the node view degrades when its config gives it little or nothing. */\nexport interface NodeViewLayout {\n /** The header band renders at all. False = no band, no divider. */\n showBand: boolean;\n /**\n * The title row degrades to a slim right-aligned actions row: a blank title\n * with nothing below it (no header fields, no tabs) leaves the band's height\n * unjustified, so it compacts instead of floating the actions in dead space.\n */\n compactTitleRow: boolean;\n /** Nothing at all is configured — the pane shows a quiet empty state. */\n showEmptyState: boolean;\n}\n\n/**\n * The node view's degradation rule (one place, so band and body agree):\n *\n * - the band exists when anything can sit in it — title, header, tabs,\n * actions, or alerts;\n * - it compacts when it exists but has no title AND nothing below the title\n * row (header/tabs) to justify the full band height;\n * - the empty state shows only when the band has nothing AND there is no body.\n *\n * Capability semantics are untouched: a node with a tab, header, or actions is\n * never \"empty\".\n */\nexport const resolveNodeViewLayout = (\n presence: NodeViewPresence\n): NodeViewLayout => {\n const showBand =\n presence.title ||\n presence.header ||\n presence.tabs ||\n presence.actions ||\n presence.alerts;\n return {\n showBand,\n compactTitleRow:\n showBand && !presence.title && !presence.header && !presence.tabs,\n showEmptyState: !showBand && !presence.body\n };\n};\n\nconst bySequence = <T extends { sequenceNo?: number | string }>(\n list: T[]\n): T[] =>\n [...list].sort(\n (a, b) =>\n (Number(a.sequenceNo ?? 0) || 0) - (Number(b.sequenceNo ?? 0) || 0)\n );\n\n/** True when the candidate has no rule, or its rule passes against the record. */\nconst passesRule = (\n candidate: TreeRuleBinding,\n nodeObj: Record<string, unknown>\n): boolean => {\n if (!candidate.propertyMapping || !candidate.jsonLogic) return true;\n const rule = mapRuleVariables(candidate.propertyMapping, candidate.jsonLogic);\n return !!applyRule(rule, nodeObj);\n};\n\n/**\n * The shared sequence-ordered, rule-gated candidate walk: first candidate\n * whose rule passes (rule-less candidates always match) wins.\n */\nexport const resolveFirstMatchingPageId = (\n candidates: HeaderPageRef[] | null | undefined,\n nodeObj: Record<string, unknown>\n): string | null => {\n if (!candidates?.length) return null;\n for (const candidate of bySequence(candidates)) {\n if (passesRule(candidate, nodeObj)) {\n return candidate.page?.pageId ?? null;\n }\n }\n return null;\n};\n\n/**\n * One badge color rule — the `ConditionalIconRule` shape (inquiryTree/types.ts)\n * reduced to what a badge needs, and evaluated by the same rule engine.\n */\nexport interface HeaderBadgeRule {\n id?: string;\n color?: string;\n expression?: JsonLogic | null;\n}\n\ninterface HeaderFieldConfig {\n isShown?: boolean;\n name?: string;\n propertyName?: string;\n property?: string;\n joiningEntityKey?: string;\n /** Absent = 'field', so old trees and the v1 viewer are unaffected. */\n display?: HeaderFieldDisplay;\n /** Unconditional badge color; ignored once badgeRules are configured. */\n badgeColor?: string;\n badgeRules?: HeaderBadgeRule[];\n /** Also drawn as a badge on the record's tree row (resolveRowBadges). */\n onRow?: boolean;\n /** Also drawn as a badge beside the record's title (resolveTitleBadges). */\n onTitle?: boolean;\n}\n\nconst asBadgeColor = (color: unknown): BadgeColor | undefined =>\n BADGE_COLORS.includes(color as BadgeColor) ? (color as BadgeColor) : undefined;\n\n/**\n * Whether a badge entry renders at all, and in which color. A badge shows when\n * its value is present (a boolean flag only when true). The entry's own color\n * is the badge's color; rules override it for the records they match, first\n * match wins — the conditional icon's grammar, where the base icon is what\n * \"all other records\" get. A value no rule matches therefore still shows, in\n * the entry's color: a field must never vanish just because its value is one\n * the designer did not single out. The expressions go through `applyRule` —\n * the same evaluator the tree's conditional icon/adornment rules use, so one\n * rule behaves identically wherever a designer puts it.\n */\nconst resolveBadge = (\n config: HeaderFieldConfig,\n value: unknown,\n nodeObj: Record<string, unknown>\n): { color: BadgeColor | undefined } | null => {\n if (!value) return null;\n const base = asBadgeColor(config.badgeColor);\n if (!config.badgeRules?.length) return { color: base };\n const match = config.badgeRules.find(\n (rule) => rule.expression && applyRule(rule.expression, nodeObj)\n );\n return {\n color: match ? asBadgeColor(match.color) : (base ?? NEUTRAL_BADGE_COLOR)\n };\n};\n\n/**\n * Read a record property, preferring the lookup display text the data layer\n * stamps beside it (`<field>LookupValue` — the grid/WR row-stamping idiom).\n * Unstamped fields (no lookup, or an unresolved one) read as before.\n */\nconst readRecordValue = (\n source: Record<string, unknown> | undefined,\n property: string\n): unknown => source?.[`${property}LookupValue`] ?? source?.[property];\n\nconst fieldConfigs = (node: DisplayNode): HeaderFieldConfig[] =>\n (node.properties?.pageHeaderConfiguration as\n | HeaderFieldConfig[]\n | undefined) ?? [];\n\n/** An entry's value from the record, through its joining entity when it has one. */\nconst readEntryValue = (\n config: HeaderFieldConfig,\n node: DisplayNode,\n nodeObj: Record<string, unknown>\n): unknown => {\n const propertyName = config.propertyName ?? '';\n const property = config.property || propertyName;\n if (!config.joiningEntityKey) return readRecordValue(nodeObj, propertyName);\n if (config.joiningEntityKey === node.properties?.catalogObjectKey) {\n return readRecordValue(nodeObj, property);\n }\n const joined = nodeObj[config.joiningEntityKey] as\n | Record<string, unknown>\n | undefined;\n return readRecordValue(joined, property) ?? readRecordValue(nodeObj, property);\n};\n\n/**\n * Badge text: a boolean is a FLAG, and the flag's display string is the\n * entry's name (\"Confidential\"); every other value-bearing field shows its\n * VALUE, same as a plain field (lookup display text already preferred by\n * `readRecordValue`). Rules only decide whether — and in what colour — the\n * badge shows; they never change its text.\n */\nconst badgeText = (config: HeaderFieldConfig, value: unknown): string =>\n typeof value === 'boolean' ? (config.name ?? '') : displayString(value);\n\n/**\n * Static header fields (legacy NodeDetails value resolution, ported pure):\n * value from the record by propertyName, with the joining-entity fallback\n * chain when `joiningEntityKey` is configured. Pure — lookup resolution\n * happens in the data layer (inquiry/v2/api/queries.ts), never here.\n *\n * The entry's `display` selects how the renderer types the pair; badges also\n * resolve their visibility and color here, so the renderer stays dumb.\n */\nexport const resolveHeaderFields = (node: DisplayNode): HeaderField[] => {\n const nodeObj = node.nodeObj;\n if (!nodeObj) return [];\n const fields: HeaderField[] = [];\n for (const config of fieldConfigs(node)) {\n if (!config.isShown) continue;\n const value = readEntryValue(config, node, nodeObj);\n const display = config.display ?? 'field';\n // A badge with no value to show is dropped (resolveBadge).\n const badge =\n display === 'badge' ? resolveBadge(config, value, nodeObj) : null;\n if (display === 'badge' && !badge) continue;\n\n // Empty stays empty — the renderer decides the placeholder (legacy: 'N/A').\n const field: HeaderField = {\n label: config.name ?? '',\n value:\n display === 'badge' ? badgeText(config, value) : displayString(value),\n display\n };\n if (badge?.color) field.color = badge.color;\n fields.push(field);\n }\n return fields;\n};\n\n/** One field drawn as a badge outside the header's details. */\nexport interface FieldBadge {\n text: string;\n /** Absent when the field's badge has no colour configured. */\n color?: BadgeColor;\n}\n\n/**\n * The fields a level draws as badges in one of the two places outside the\n * header's details — its tree rows (`onRow`) or beside the record's title\n * (`onTitle`) — in list order. It is the header's own entry, read by the\n * header's own functions — value, text, visibility and colour — so a field's\n * badge is the same badge in every place, and can only be configured once.\n * Whether the details show the field (`isShown`), and how (`display`), is the\n * details' business alone.\n */\nconst resolveFieldBadges = (\n node: DisplayNode,\n place: 'onRow' | 'onTitle'\n): FieldBadge[] => {\n const nodeObj = node.nodeObj;\n if (!nodeObj) return [];\n const badges: FieldBadge[] = [];\n for (const config of fieldConfigs(node)) {\n if (!config[place]) continue;\n const value = readEntryValue(config, node, nodeObj);\n const badge = resolveBadge(config, value, nodeObj);\n if (!badge) continue;\n const text = badgeText(config, value);\n if (!text) continue;\n badges.push(badge.color ? { text, color: badge.color } : { text });\n }\n return badges;\n};\n\n/** The field badges on a record's tree row. */\nexport const resolveRowBadges = (node: DisplayNode): FieldBadge[] =>\n resolveFieldBadges(node, 'onRow');\n\n/** The field badges beside a record's title. */\nexport const resolveTitleBadges = (node: DisplayNode): FieldBadge[] =>\n resolveFieldBadges(node, 'onTitle');\n\n/**\n * Node-level alert refs (legacy EntityHeader → UdpAlertsContainer read of\n * `properties.alerts`): the `{ id, alertId, paramMappings }` rows, entity nodes only (group\n * nodes never carried alerts). Pure — the `alert/{alertId}` fetch and the\n * threshold-status render happen in the alerts capability.\n */\nexport const resolveNodeAlerts = (node: DisplayNode): NodeAlert[] => {\n if (node.isGroupNode) return [];\n const alerts = node.properties?.alerts as\n | Array<{\n id?: unknown;\n alertId?: unknown;\n paramMappings?: Record<string, string> | null;\n stagedAlert?: Record<string, unknown> | null;\n }>\n | undefined;\n if (!alerts?.length) return [];\n return alerts\n .filter((alert) => alert && alert.alertId != null && alert.alertId !== '')\n .map((alert) => ({\n id: alert.id != null ? toWireString(alert.id) : toWireString(alert.alertId),\n alertId: toWireString(alert.alertId),\n params: queryParamsFromRecord(node.nodeObj, alert.paramMappings),\n ...(alert.stagedAlert ? { staged: alert.stagedAlert } : {})\n }));\n};\n\nconst resolveCollapse = (value: unknown): CollapseState => {\n if (!value || value === 'hidden') return { show: false, expanded: false };\n return { show: true, expanded: value === 'expanded' };\n};\n\n/**\n * Visible tabs: sequence-ordered, rule-filtered, stable ids. A tab with no\n * page (saved as `page: ''`) has nothing to show and is skipped.\n */\nexport const resolveTabs = (node: DisplayNode): NodeViewTab[] => {\n const tabs = node.properties?.tabs as NodeTab[] | undefined;\n const nodeObj = node.nodeObj ?? {};\n const nodePageHeaderDefault = node.properties?.defaultPageHeaderExpanded;\n if (!tabs?.length) return [];\n const visible: NodeViewTab[] = [];\n for (const tab of bySequence(tabs)) {\n const pageId = tab.page?.pageId ?? '';\n if (!pageId || !passesRule(tab, nodeObj)) continue;\n const label =\n tab.displayName?.trim() || tab.page?.name?.trim() || '';\n visible.push({\n id: tab.id !== undefined && tab.id !== null ? String(tab.id) : pageId,\n label,\n pageId,\n pageHeaderPageId: resolveFirstMatchingPageId(\n tab.pageHeaderPages ?? null,\n nodeObj\n ),\n pageHeaderCollapse: resolveCollapse(nodePageHeaderDefault),\n queryId: tab.queryId ?? '',\n queryParamMapping: tab.queryParamMapping ?? null,\n requiredFieldMapping: tab.requiredFieldMapping ?? {},\n trees: tab.trees ?? []\n });\n }\n return visible;\n};\n\nexport const resolveNodeViewModel = (node: DisplayNode): NodeViewModel => {\n const properties = node.properties ?? {};\n const nodeObj = node.nodeObj ?? {};\n\n // A configured headerName wins; a level that configures none shows exactly\n // what its tree row shows. Group nodes' row label IS `properties.label`.\n const headerTitle =\n (node.isGroupNode\n ? displayString(properties.label)\n : formatTreeLabel(properties.headerName as string | undefined, nodeObj)) ||\n resolveRowLabel(node);\n\n const headerCollapse = resolveCollapse(properties.defaultNodeHeaderExpanded);\n let header: NodeViewHeader = { kind: 'none' };\n if (headerCollapse.show) {\n const headerPageId = resolveFirstMatchingPageId(\n properties.nodeHeaderPages as HeaderPageRef[] | undefined,\n nodeObj\n );\n if (headerPageId) {\n header = { kind: 'page', pageId: headerPageId };\n } else {\n const fields = resolveHeaderFields(node);\n header = fields.length ? { kind: 'fields', fields } : { kind: 'none' };\n }\n }\n\n return {\n headerTitle,\n header,\n headerCollapse,\n tabs: resolveTabs(node),\n panels: (properties.panels as NodePanel[] | undefined) ?? [],\n alerts: resolveNodeAlerts(node),\n titleBadges: resolveTitleBadges(node)\n };\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;AA4BA,MAAMY,iBAAiBC,UAA2B;AAChD,KAAIA,UAAUC,KAAAA,KAAaD,UAAU,QAAQA,UAAU,GAAI,QAAO;AAClE,KAAI,OAAOA,UAAU,SAAU,QAAOE,KAAKC,UAAUH,MAAM;AAC3D,QAAOI,OAAOJ,MAAmC;;;;;;;AAkBnD,MAAaS,eAAe;CAC1B;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACD;;AAKD,MAAMG,sBAAkC;;;;;;;;;;;;;AAoHxC,MAAauC,yBACXC,aACmB;CACnB,MAAMJ,WACJI,SAASR,SACTQ,SAAShB,UACTgB,SAASd,QACTc,SAASN,WACTM,SAASZ;AACX,QAAO;EACLQ;EACAC,iBACED,YAAY,CAACI,SAASR,SAAS,CAACQ,SAAShB,UAAU,CAACgB,SAASd;EAC/DY,gBAAgB,CAACF,YAAY,CAACI,SAASP;EACxC;;AAGH,MAAMQ,cACJE,SAEA,CAAC,GAAGA,KAAK,CAACE,MACPC,GAAGC,OACDC,OAAOF,EAAEJ,cAAc,EAAE,IAAI,MAAMM,OAAOD,EAAEL,cAAc,EAAE,IAAI,GACpE;;AAGH,MAAMO,cACJC,WACAC,YACY;AACZ,KAAI,CAACD,UAAUE,mBAAmB,CAACF,UAAUG,UAAW,QAA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AY1B,KAAK;EACvBtD,QAASuD,WAAWvD,UAAsC,EAAE;EAC5DC,QAAQsE,kBAAkBjB,KAAK;EAC/BpD,aAAaoE,mBAAmBhB,KAAI;EACrC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"legacyIconNames.d.ts","sourceRoot":"","sources":["../../src/icons/legacyIconNames.ts"],"names":[],"mappings":"AAKA,yDAAyD;AACzD,eAAO,MAAM,kBAAkB,2BACD,CAAC;AAE/B;;;;;;GAMG;AACH,eAAO,MAAM,eAAe,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,
|
|
1
|
+
{"version":3,"file":"legacyIconNames.d.ts","sourceRoot":"","sources":["../../src/icons/legacyIconNames.ts"],"names":[],"mappings":"AAKA,yDAAyD;AACzD,eAAO,MAAM,kBAAkB,2BACD,CAAC;AAE/B;;;;;;GAMG;AACH,eAAO,MAAM,eAAe,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CA0E3D,CAAC;AASH;;;;;;;GAOG;AACH,eAAO,MAAM,eAAe,+DAW3B,CAAC;AAEF;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,0BAA0B,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAiRpE,CAAC;AAEL,iFAA+E;AAC/E,eAAO,MAAM,0BAA0B,EAAE,SAAS,MAAM,EAUtD,CAAC;AAOH;;;;GAIG;AACH,eAAO,MAAM,gBAAgB,4DAMY,CAAC"}
|
|
@@ -10,33 +10,78 @@ export const isRegistryIconName = (name) => STENCIL_ICON_NAMES.has(name);
|
|
|
10
10
|
* icon that still carries meaning instead of a wrong picture.
|
|
11
11
|
*/
|
|
12
12
|
export const LEGACY_ICON_MAP = Object.freeze({
|
|
13
|
+
AccountActivityIcon: 'person',
|
|
14
|
+
AccountBrowserIcon: 'person',
|
|
15
|
+
AccountManagementIcon: 'people-settings',
|
|
13
16
|
AccountsIcon: 'people',
|
|
17
|
+
ActivateOrdersIcon: 'clipboard-checkmark',
|
|
18
|
+
ActivityFeedIcon: 'broad-activity-feed',
|
|
14
19
|
AddFavoriteFillIcon: 'star',
|
|
20
|
+
AddFriendIcon: 'person',
|
|
21
|
+
AddHomeIcon: 'home',
|
|
22
|
+
AddInIcon: 'apps-add-in',
|
|
15
23
|
AddNotesIcon: 'notebook',
|
|
24
|
+
AddOnlineMeetingIcon: 'calendar-video',
|
|
25
|
+
AlignVerticalBottomIcon: 'align-bottom',
|
|
26
|
+
AndroidLogoIcon: 'phone',
|
|
27
|
+
AppIconDefaultIcon: 'app-generic',
|
|
28
|
+
AppIconDefaultListIcon: 'apps-list',
|
|
29
|
+
AssignIcon: 'person',
|
|
30
|
+
BadgeIcon: 'contact-card',
|
|
31
|
+
BankSolidIcon: 'building',
|
|
32
|
+
BarChartVerticalFilterSolidIcon: 'data-bar-vertical',
|
|
16
33
|
BuildQueueIcon: 'wrench',
|
|
17
34
|
BulletedListIcon: 'list',
|
|
35
|
+
BusinessCenterLogoIcon: 'organization',
|
|
18
36
|
CalendarAgendaIcon: 'calendar-agenda',
|
|
37
|
+
ChildofIcon: 'branch',
|
|
19
38
|
CityNextIcon: 'building-multiple',
|
|
39
|
+
ConstructionConeSolidIcon: 'road-cone',
|
|
20
40
|
ContactIcon: 'person',
|
|
21
41
|
ContactListIcon: 'people',
|
|
42
|
+
CRMReportIcon: 'chart',
|
|
22
43
|
DataflowsIcon: 'arrow-routing',
|
|
23
44
|
DocumentSetIcon: 'document',
|
|
24
45
|
EditIcon: 'edit',
|
|
25
46
|
EngineeringGroupIcon: 'wrench',
|
|
26
47
|
FabricFolderIcon: 'folder',
|
|
48
|
+
FavoriteStarFillIcon: 'star',
|
|
27
49
|
FileASPXIcon: 'document',
|
|
50
|
+
FileSymlinkIcon: 'link',
|
|
51
|
+
FinancialIcon: 'money',
|
|
52
|
+
FinancialSolidIcon: 'money',
|
|
53
|
+
FunctionalManagerDashboardIcon: 'gauge',
|
|
54
|
+
GiftboxOpenIcon: 'box',
|
|
55
|
+
GiftBoxSolidIcon: 'box',
|
|
56
|
+
HealthSolidIcon: 'clipboard-pulse',
|
|
57
|
+
HeartFillIcon: 'hand-open-heart',
|
|
58
|
+
MapPin12Icon: 'location',
|
|
28
59
|
MapPinIcon: 'location',
|
|
29
60
|
NewsIcon: 'notebook',
|
|
30
|
-
|
|
61
|
+
OfflineStorageSolidIcon: 'database',
|
|
62
|
+
OpenFileIcon: 'folder-open',
|
|
31
63
|
PageIcon: 'document',
|
|
64
|
+
POIIcon: 'location',
|
|
32
65
|
ProcessingIcon: 'settings',
|
|
66
|
+
ProductIcon: 'box',
|
|
33
67
|
ProductVariantIcon: 'box',
|
|
68
|
+
ProjectCollectionIcon: 'board',
|
|
69
|
+
ReminderPersonIcon: 'calendar-person',
|
|
34
70
|
ReminderTimeIcon: 'clock',
|
|
35
71
|
RepairIcon: 'wrench',
|
|
72
|
+
RowsChildIcon: 'branch',
|
|
73
|
+
SearchDataIcon: 'search',
|
|
74
|
+
ServerEnviromentIcon: 'database',
|
|
36
75
|
SplitIcon: 'board-split',
|
|
76
|
+
StreetIcon: 'road',
|
|
77
|
+
SuitcaseIcon: 'backpack',
|
|
78
|
+
SyncIcon: 'arrow-sync',
|
|
37
79
|
TaskLogoIcon: 'task-list',
|
|
38
80
|
TaskManagerIcon: 'task-list',
|
|
39
81
|
TransitionPushIcon: 'panel-right-expand',
|
|
82
|
+
ViewDashboardIcon: 'board',
|
|
83
|
+
WaterDropIcon: 'drop',
|
|
84
|
+
WebAppBuilderFragmentIcon: 'app-generic',
|
|
40
85
|
WorkItemIcon: 'clipboard-task'
|
|
41
86
|
});
|
|
42
87
|
const toKebab = (name) => name
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"legacyIconNames.js","sourceRoot":"","sources":["../../src/icons/legacyIconNames.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AA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;IAC5B,MAAM,EAAE,YAAY;IACpB,iBAAiB,EAAE,oBAAoB;IACvC,UAAU,EAAE,eAAe;CAC5B,CAAC,CAAC;AAEL,iFAA+E;AAC/E,MAAM,CAAC,MAAM,0BAA0B,GAAsB,MAAM,CAAC,MAAM,CAAC;IACzE,kBAAkB;IAClB,gBAAgB;IAChB,mBAAmB;IACnB,eAAe;IACf,iBAAiB;IACjB,OAAO;IACP,MAAM;IACN,SAAS;IACT,UAAU;CACX,CAAC,CAAC;AAEH,MAAM,yBAAyB,GAAG;IAChC,MAAM,EAAE,kBAAkB;IAC1B,QAAQ,EAAE,UAAU;CACZ,CAAC;AAEX;;;;GAIG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAC9B,IAAY,EACZ,QAAQ,GAA0B,UAAU,EACpC,EAAE,CACV,MAAM,CAAC,0BAA0B,EAAE,IAAI,CAAC;IACtC,CAAC,CAAC,0BAA0B,CAAC,IAAI,CAAC;IAClC,CAAC,CAAC,yBAAyB,CAAC,QAAQ,CAAC,CAAC"}
|
|
@@ -11,33 +11,78 @@ const isRegistryIconName = (name) => STENCIL_ICON_NAMES.has(name);
|
|
|
11
11
|
* icon that still carries meaning instead of a wrong picture.
|
|
12
12
|
*/
|
|
13
13
|
const LEGACY_ICON_MAP = Object.freeze({
|
|
14
|
+
AccountActivityIcon: "person",
|
|
15
|
+
AccountBrowserIcon: "person",
|
|
16
|
+
AccountManagementIcon: "people-settings",
|
|
14
17
|
AccountsIcon: "people",
|
|
18
|
+
ActivateOrdersIcon: "clipboard-checkmark",
|
|
19
|
+
ActivityFeedIcon: "broad-activity-feed",
|
|
15
20
|
AddFavoriteFillIcon: "star",
|
|
21
|
+
AddFriendIcon: "person",
|
|
22
|
+
AddHomeIcon: "home",
|
|
23
|
+
AddInIcon: "apps-add-in",
|
|
16
24
|
AddNotesIcon: "notebook",
|
|
25
|
+
AddOnlineMeetingIcon: "calendar-video",
|
|
26
|
+
AlignVerticalBottomIcon: "align-bottom",
|
|
27
|
+
AndroidLogoIcon: "phone",
|
|
28
|
+
AppIconDefaultIcon: "app-generic",
|
|
29
|
+
AppIconDefaultListIcon: "apps-list",
|
|
30
|
+
AssignIcon: "person",
|
|
31
|
+
BadgeIcon: "contact-card",
|
|
32
|
+
BankSolidIcon: "building",
|
|
33
|
+
BarChartVerticalFilterSolidIcon: "data-bar-vertical",
|
|
17
34
|
BuildQueueIcon: "wrench",
|
|
18
35
|
BulletedListIcon: "list",
|
|
36
|
+
BusinessCenterLogoIcon: "organization",
|
|
19
37
|
CalendarAgendaIcon: "calendar-agenda",
|
|
38
|
+
ChildofIcon: "branch",
|
|
20
39
|
CityNextIcon: "building-multiple",
|
|
40
|
+
ConstructionConeSolidIcon: "road-cone",
|
|
21
41
|
ContactIcon: "person",
|
|
22
42
|
ContactListIcon: "people",
|
|
43
|
+
CRMReportIcon: "chart",
|
|
23
44
|
DataflowsIcon: "arrow-routing",
|
|
24
45
|
DocumentSetIcon: "document",
|
|
25
46
|
EditIcon: "edit",
|
|
26
47
|
EngineeringGroupIcon: "wrench",
|
|
27
48
|
FabricFolderIcon: "folder",
|
|
49
|
+
FavoriteStarFillIcon: "star",
|
|
28
50
|
FileASPXIcon: "document",
|
|
51
|
+
FileSymlinkIcon: "link",
|
|
52
|
+
FinancialIcon: "money",
|
|
53
|
+
FinancialSolidIcon: "money",
|
|
54
|
+
FunctionalManagerDashboardIcon: "gauge",
|
|
55
|
+
GiftboxOpenIcon: "box",
|
|
56
|
+
GiftBoxSolidIcon: "box",
|
|
57
|
+
HealthSolidIcon: "clipboard-pulse",
|
|
58
|
+
HeartFillIcon: "hand-open-heart",
|
|
59
|
+
MapPin12Icon: "location",
|
|
29
60
|
MapPinIcon: "location",
|
|
30
61
|
NewsIcon: "notebook",
|
|
31
|
-
|
|
62
|
+
OfflineStorageSolidIcon: "database",
|
|
63
|
+
OpenFileIcon: "folder-open",
|
|
32
64
|
PageIcon: "document",
|
|
65
|
+
POIIcon: "location",
|
|
33
66
|
ProcessingIcon: "settings",
|
|
67
|
+
ProductIcon: "box",
|
|
34
68
|
ProductVariantIcon: "box",
|
|
69
|
+
ProjectCollectionIcon: "board",
|
|
70
|
+
ReminderPersonIcon: "calendar-person",
|
|
35
71
|
ReminderTimeIcon: "clock",
|
|
36
72
|
RepairIcon: "wrench",
|
|
73
|
+
RowsChildIcon: "branch",
|
|
74
|
+
SearchDataIcon: "search",
|
|
75
|
+
ServerEnviromentIcon: "database",
|
|
37
76
|
SplitIcon: "board-split",
|
|
77
|
+
StreetIcon: "road",
|
|
78
|
+
SuitcaseIcon: "backpack",
|
|
79
|
+
SyncIcon: "arrow-sync",
|
|
38
80
|
TaskLogoIcon: "task-list",
|
|
39
81
|
TaskManagerIcon: "task-list",
|
|
40
82
|
TransitionPushIcon: "panel-right-expand",
|
|
83
|
+
ViewDashboardIcon: "board",
|
|
84
|
+
WaterDropIcon: "drop",
|
|
85
|
+
WebAppBuilderFragmentIcon: "app-generic",
|
|
41
86
|
WorkItemIcon: "clipboard-task"
|
|
42
87
|
});
|
|
43
88
|
const toKebab = (name) => name.replace(/Icon$/, "").replace(/([a-z0-9])([A-Z])/g, "$1-$2").replace(/([A-Z]+)([A-Z][a-z])/g, "$1-$2").toLowerCase();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"legacyIconNames.mjs","names":["STENCIL_ICON_NAMES","hasOwn","record","key","Object","prototype","hasOwnProperty","call","isRegistryIconName","name","has","LEGACY_ICON_MAP","Readonly","Record","freeze","AccountsIcon","AddFavoriteFillIcon","AddNotesIcon","BuildQueueIcon","BulletedListIcon","CalendarAgendaIcon","CityNextIcon","ContactIcon","ContactListIcon","DataflowsIcon","DocumentSetIcon","EditIcon","EngineeringGroupIcon","FabricFolderIcon","FileASPXIcon","MapPinIcon","NewsIcon","POIIcon","PageIcon","ProcessingIcon","ProductVariantIcon","ReminderTimeIcon","RepairIcon","SplitIcon","TaskLogoIcon","TaskManagerIcon","TransitionPushIcon","WorkItemIcon","toKebab","replace","toLowerCase","resolveIconName","type","fluentName","kebab","LEGACY_ICON_NAME_BY_FLUENT","add","alert","apps","archive","attach","backpack","beaker","board","bookmark","bot","box","branch","bug","building","calculator","calendar","camera","channel","chart","chat","checkmark","circle","clipboard","clock","column","comment","copy","crown","cut","database","delete","diagram","directions","dismiss","document","download","drag","drop","edit","eraser","error","export","eye","filter","fingerprint","fire","flag","flash","folder","gauge","globe","grid","guest","handshake","headset","history","home","image","import","important","info","layer","lightbulb","link","list","location","lock","mail","megaphone","money","more","navigation","notebook","number","options","organization","pause","payment","people","person","phone","play","print","question","road","save","search","send","settings","share","shield","star","subtract","table","tag","target","textbox","unlock","video","wand","warning","wrench","UNMAPPED_LEGACY_ICON_NAMES","LEGACY_FALLBACK_ICON_NAME","const","toLegacyIconName","fallback"],"sources":["../../src/icons/legacyIconNames.ts"],"sourcesContent":["import { STENCIL_ICON_NAMES } from './stencilIconNames';\n\nconst hasOwn = (record: object, key: string): boolean =>\n Object.prototype.hasOwnProperty.call(record, key) as boolean;\n\n/** Is this a name `udp-fluent-icon` can render as-is? */\nexport const isRegistryIconName = (name: string): boolean =>\n STENCIL_ICON_NAMES.has(name);\n\n/**\n * Curated legacy `@fluentui/react-icons` (MDL2) name → registry name, for\n * names whose kebab-case form is not in the registry. Tenant tree nodes and\n * panel rows store these; extend as real data surfaces more names. Names with\n * no honest equivalent are deliberately absent, so callers fall back to an\n * icon that still carries meaning instead of a wrong picture.\n */\nexport const LEGACY_ICON_MAP: Readonly<Record<string, string>> = Object.freeze({\n AccountsIcon: 'people',\n AddFavoriteFillIcon: 'star',\n AddNotesIcon: 'notebook',\n BuildQueueIcon: 'wrench',\n BulletedListIcon: 'list',\n CalendarAgendaIcon: 'calendar-agenda',\n CityNextIcon: 'building-multiple',\n ContactIcon: 'person',\n ContactListIcon: 'people',\n DataflowsIcon: 'arrow-routing',\n DocumentSetIcon: 'document',\n EditIcon: 'edit',\n EngineeringGroupIcon: 'wrench',\n FabricFolderIcon: 'folder',\n FileASPXIcon: 'document',\n MapPinIcon: 'location',\n NewsIcon: 'notebook',\n POIIcon: 'location',\n PageIcon: 'document',\n ProcessingIcon: 'settings',\n ProductVariantIcon: 'box',\n ReminderTimeIcon: 'clock',\n RepairIcon: 'wrench',\n SplitIcon: 'board-split',\n TaskLogoIcon: 'task-list',\n TaskManagerIcon: 'task-list',\n TransitionPushIcon: 'panel-right-expand',\n WorkItemIcon: 'clipboard-task'\n});\n\nconst toKebab = (name: string): string =>\n name\n .replace(/Icon$/, '')\n .replace(/([a-z0-9])([A-Z])/g, '$1-$2')\n .replace(/([A-Z]+)([A-Z][a-z])/g, '$1-$2')\n .toLowerCase();\n\n/**\n * Best-effort mapping of a persisted icon onto the stencil icon registry. A\n * saved `fluentName` (the registry name the Tree Builder writes beside a\n * legacy MDL2 `name`, so 26.x and v27 each read their own field) wins when it\n * is a registry name; `type: 'fluent'` names are already registry names;\n * legacy names try LEGACY_ICON_MAP, then a kebab-case transform. Returns null\n * when the name is missing or unmappable — callers decide the fallback.\n */\nexport const resolveIconName = (\n name?: string | null,\n type?: string | null,\n fluentName?: string | null\n): string | null => {\n if (fluentName && isRegistryIconName(fluentName)) return fluentName;\n if (!name) return null;\n if (type === 'fluent') return name;\n if (hasOwn(LEGACY_ICON_MAP, name)) return LEGACY_ICON_MAP[name];\n const kebab = toKebab(name);\n return isRegistryIconName(kebab) ? kebab : null;\n};\n\n/**\n * Stencil icon-registry name → legacy `@fluentui/react-icons@0.3.x` (MDL2)\n * export name, for writing icons that the 26.x legacy Inquiry can render.\n *\n * Legacy Inquiry resolves a persisted icon `name` only against the MDL2\n * exports, so the Tree Builder saves `{ name: <MDL2 export>, type: '',\n * fluentName: <registry name> }`: 26.x renders `name`, v27 prefers\n * `fluentName`. Each value is an export that exists in\n * @fluentui/react-icons@0.3.10 — the PascalCase name plus `Icon` where that\n * exists, otherwise the closest MDL2 equivalent. Where LEGACY_ICON_MAP\n * already pairs an MDL2 name with a registry name, the pick agrees with it. Covers every registry name except\n * UNMAPPED_LEGACY_ICON_NAMES; a test keeps it in step with the registry.\n */\nexport const LEGACY_ICON_NAME_BY_FLUENT: Readonly<Record<string, string>> =\n Object.freeze({\n add: 'AddIcon',\n 'add-circle': 'CirclePlusIcon',\n alert: 'RingerIcon',\n 'align-bottom': 'AlignVerticalBottomIcon',\n 'align-center-horizontal': 'AlignHorizontalCenterIcon',\n 'align-center-vertical': 'AlignVerticalCenterIcon',\n 'align-left': 'AlignLeftIcon',\n 'align-right': 'AlignRightIcon',\n 'align-top': 'AlignVerticalTopIcon',\n 'app-folder': 'FolderListIcon',\n 'app-generic': 'AppIconDefaultIcon',\n apps: 'AllAppsIcon',\n 'apps-add-in': 'AppIconDefaultAddIcon',\n 'apps-list': 'AppIconDefaultListIcon',\n 'apps-list-detail': 'ViewListIcon',\n archive: 'ArchiveIcon',\n 'arrow-down': 'DownIcon',\n 'arrow-left': 'BackIcon',\n 'arrow-maximize-vertical': 'ExploreContentSingleIcon',\n 'arrow-minimize-vertical': 'CollapseContentSingleIcon',\n 'arrow-redo': 'RedoIcon',\n 'arrow-reset': 'ResetIcon',\n 'arrow-return': 'ReturnKeyIcon',\n 'arrow-right': 'ForwardIcon',\n 'arrow-rotate': 'RotateIcon',\n 'arrow-routing': 'DataflowsIcon',\n 'arrow-swap': 'SwitchIcon',\n 'arrow-sync': 'SyncIcon',\n 'arrow-undo': 'UndoIcon',\n 'arrow-up': 'UpIcon',\n attach: 'AttachIcon',\n 'attach-arrow-right': 'AttachIcon',\n backpack: 'SuitcaseIcon',\n beaker: 'TestBeakerIcon',\n board: 'BoardsIcon',\n 'board-split': 'SplitIcon',\n 'book-open': 'ReadingModeIcon',\n 'book-open-microphone': 'ReadingModeIcon',\n 'book-question-mark': 'BookAnswersIcon',\n 'book-search': 'SearchBookmarkIcon',\n 'book-star': 'BookmarksIcon',\n 'book-template': 'TextDocumentIcon',\n bookmark: 'SingleBookmarkIcon',\n bot: 'ChatBotIcon',\n 'bot-add': 'ChatBotIcon',\n box: 'ProductVariantIcon',\n branch: 'BranchFork2Icon',\n 'branch-compare': 'BranchCompareIcon',\n 'branch-fork': 'BranchForkIcon',\n 'broad-activity-feed': 'ActivityFeedIcon',\n bug: 'BugIcon',\n building: 'CityNext2Icon',\n 'building-home': 'HomeIcon',\n 'building-multiple': 'CityNextIcon',\n 'building-retail': 'ShopIcon',\n 'building-shop': 'ShopIcon',\n calculator: 'CalculatorIcon',\n calendar: 'CalendarIcon',\n 'calendar-add': 'AddEventIcon',\n 'calendar-agenda': 'CalendarAgendaIcon',\n 'calendar-arrow-right': 'ForwardEventIcon',\n 'calendar-cancel': 'EventDeclinedIcon',\n 'calendar-checkmark': 'EventAcceptedIcon',\n 'calendar-clock': 'DateTimeIcon',\n 'calendar-date': 'EventDateIcon',\n 'calendar-day': 'CalendarDayIcon',\n 'calendar-edit': 'CalendarIcon',\n 'calendar-empty': 'CalendarIcon',\n 'calendar-link': 'CalendarIcon',\n 'calendar-lock': 'CalendarIcon',\n 'calendar-mail': 'CalendarReplyIcon',\n 'calendar-month': 'CalendarIcon',\n 'calendar-multiple': 'CalendarIcon',\n 'calendar-person': 'UserEventIcon',\n 'calendar-search': 'SearchCalendarIcon',\n 'calendar-settings': 'CalendarSettingsIcon',\n 'calendar-star': 'SpecialEventIcon',\n 'calendar-sync': 'RecurringEventIcon',\n 'calendar-template': 'CalendarIcon',\n 'calendar-today': 'CalendarDayIcon',\n 'calendar-video': 'JoinOnlineMeetingIcon',\n 'calendar-week-start': 'CalendarWeekIcon',\n 'calendar-work-week': 'CalendarWorkWeekIcon',\n camera: 'CameraIcon',\n 'camera-dome': 'CameraIcon',\n channel: 'ChatIcon',\n chart: 'ChartIcon',\n 'chart-multiple': 'ChartSeriesIcon',\n chat: 'ChatIcon',\n 'checkbox-checked': 'CheckboxCompositeIcon',\n 'checkbox-unchecked': 'CheckboxIcon',\n checkmark: 'CheckMarkIcon',\n 'checkmark-circle': 'CompletedIcon',\n 'chevron-down': 'ChevronDownIcon',\n 'chevron-down-up': 'CollapseContentIcon',\n 'chevron-left': 'ChevronLeftIcon',\n 'chevron-right': 'ChevronRightIcon',\n 'chevron-up': 'ChevronUpIcon',\n 'chevron-up-down': 'ExploreContentIcon',\n circle: 'CircleRingIcon',\n clipboard: 'ClipboardSolidIcon',\n 'clipboard-bullet-list': 'ClipboardListIcon',\n 'clipboard-checkmark': 'CheckListCheckIcon',\n 'clipboard-data-bar': 'ClipboardListIcon',\n 'clipboard-edit': 'EditNoteIcon',\n 'clipboard-error': 'ReportWarningIcon',\n 'clipboard-image': 'FileImageIcon',\n 'clipboard-link': 'PageLinkIcon',\n 'clipboard-more': 'ClipboardSolidIcon',\n 'clipboard-note': 'QuickNoteIcon',\n 'clipboard-paste': 'PasteIcon',\n 'clipboard-pulse': 'HealthIcon',\n 'clipboard-search': 'DocumentSearchIcon',\n 'clipboard-settings': 'DataManagementSettingsIcon',\n 'clipboard-task': 'WorkItemIcon',\n 'clipboard-text': 'ClipboardListIcon',\n clock: 'ClockIcon',\n 'cloud-upload': 'CloudUploadIcon',\n column: 'ColumnIcon',\n comment: 'CommentIcon',\n 'conference-room': 'RoomIcon',\n 'contact-card': 'ContactCardIcon',\n 'content-settings': 'ContentSettingsIcon',\n copy: 'CopyIcon',\n crown: 'CrownIcon',\n cut: 'CutIcon',\n 'data-bar-horizontal': 'BarChartHorizontalIcon',\n 'data-bar-vertical': 'BarChartVerticalIcon',\n 'data-line': 'LineChartIcon',\n database: 'DatabaseIcon',\n delete: 'DeleteIcon',\n 'design-ideas': 'LightbulbIcon',\n diagram: 'VisioDiagramIcon',\n directions: 'MapDirectionsIcon',\n dismiss: 'CancelIcon',\n 'dismiss-circle': 'StatusCircleErrorXIcon',\n document: 'DocumentIcon',\n 'document-add': 'PageAddIcon',\n 'document-pdf': 'PDFIcon',\n download: 'DownloadIcon',\n drag: 'GripperDotsVerticalIcon',\n drop: 'DropIcon',\n edit: 'EditIcon',\n eraser: 'EraseToolIcon',\n error: 'ErrorIcon',\n export: 'ExportIcon',\n eye: 'RedEyeIcon',\n 'eye-off': 'HideIcon',\n filter: 'FilterIcon',\n fingerprint: 'FingerprintIcon',\n fire: 'FlameSolidIcon',\n 'fit-width': 'FitWidthIcon',\n flag: 'FlagIcon',\n flash: 'LightningBoltIcon',\n folder: 'FolderIcon',\n 'folder-open': 'FolderOpenIcon',\n 'form-new': 'PageAddIcon',\n 'fullscreen-expand': 'FullScreenIcon',\n 'fullscreen-shrink': 'BackToWindowIcon',\n gauge: 'SpeedHighIcon',\n globe: 'GlobeIcon',\n grid: 'GridViewMediumIcon',\n guest: 'TemporaryUserIcon',\n 'hand-left': 'WavingHandIcon',\n 'hand-open-heart': 'HeartIcon',\n 'hand-right': 'WavingHandIcon',\n handshake: 'TeamworkIcon',\n headset: 'HeadsetIcon',\n history: 'HistoryIcon',\n home: 'HomeIcon',\n image: 'PictureIcon',\n import: 'ImportIcon',\n important: 'ImportantIcon',\n info: 'InfoIcon',\n key: 'PermissionsIcon',\n 'key-multiple': 'PermissionsIcon',\n layer: 'MapLayersIcon',\n lightbulb: 'LightbulbIcon',\n link: 'LinkIcon',\n list: 'ListIcon',\n location: 'LocationIcon',\n lock: 'LockIcon',\n mail: 'MailIcon',\n megaphone: 'MegaphoneIcon',\n money: 'MoneyIcon',\n more: 'MoreIcon',\n 'more-vertical': 'MoreVerticalIcon',\n 'movies-and-tv': 'MyMoviesTVIcon',\n 'my-location': 'LocationCircleIcon',\n navigation: 'GlobalNavButtonIcon',\n notebook: 'AddNotesIcon',\n 'notebook-add': 'QuickNoteIcon',\n 'notebook-error': 'ReportWarningIcon',\n 'notebook-eye': 'PreviewIcon',\n 'notebook-lightning': 'QuickNoteIcon',\n 'notebook-question-mark': 'SurveyQuestionsIcon',\n 'notebook-section': 'SectionIcon',\n number: 'NumberIcon',\n options: 'EqualizerIcon',\n organization: 'OrgIcon',\n 'paint-brush': 'BrushIcon',\n 'panel-left-contract': 'ClosePaneIcon',\n 'panel-left-expand': 'OpenPaneIcon',\n 'panel-right-contract': 'ClosePaneMirroredIcon',\n 'panel-right-expand': 'OpenPaneMirroredIcon',\n pause: 'PauseIcon',\n payment: 'PaymentCardIcon',\n people: 'PeopleIcon',\n 'people-audience': 'GroupIcon',\n 'people-settings': 'ContactCardSettingsIcon',\n 'people-team': 'TeamworkIcon',\n person: 'ContactIcon',\n phone: 'PhoneIcon',\n play: 'PlayIcon',\n 'plug-connected': 'PlugConnectedIcon',\n 'plug-disconnected': 'PlugDisconnectedIcon',\n print: 'PrintIcon',\n 'puzzle-piece': 'PuzzleIcon',\n question: 'UnknownIcon',\n 'radio-button': 'RadioBtnOnIcon',\n road: 'StreetIcon',\n 'road-cone': 'ConstructionConeIcon',\n save: 'SaveIcon',\n search: 'SearchIcon',\n send: 'SendIcon',\n settings: 'SettingsIcon',\n share: 'ShareIcon',\n shield: 'ShieldIcon',\n 'slide-text': 'SlideshowIcon',\n star: 'FavoriteStarIcon',\n subtract: 'RemoveIcon',\n table: 'TableIcon',\n 'table-add': 'TableIcon',\n 'table-delete-column': 'DeleteColumnsIcon',\n 'table-delete-row': 'DeleteRowsIcon',\n 'table-dismiss': 'DeleteTableIcon',\n 'table-insert-column': 'InsertColumnsRightIcon',\n 'table-insert-row': 'InsertRowsBelowIcon',\n 'table-settings': 'ColumnOptionsIcon',\n tag: 'TagIcon',\n target: 'BullseyeTargetIcon',\n 'task-list': 'TaskListIcon',\n 'text-align-center': 'AlignCenterIcon',\n 'text-align-justify': 'AlignJustifyIcon',\n 'text-align-left': 'AlignLeftIcon',\n 'text-align-right': 'AlignRightIcon',\n 'text-bold': 'BoldIcon',\n 'text-bullet-list-ltr': 'BulletedList2Icon',\n 'text-clear-formatting': 'ClearFormattingIcon',\n 'text-font': 'FontIcon',\n 'text-grammar-settings': 'SpellingIcon',\n 'text-header-1': 'Header1Icon',\n 'text-italic': 'ItalicIcon',\n 'text-number-list-ltr': 'NumberedListIcon',\n 'text-paragraph': 'TextParagraphOptionIcon',\n 'text-quote': 'RightDoubleQuoteIcon',\n 'text-strikethrough': 'StrikethroughIcon',\n 'text-underline': 'UnderlineIcon',\n textbox: 'TextFieldIcon',\n 'thumb-dislike': 'DislikeIcon',\n 'thumb-like': 'LikeIcon',\n 'toggle-left': 'ToggleLeftIcon',\n unlock: 'UnlockIcon',\n video: 'VideoIcon',\n wand: 'AutoEnhanceOnIcon',\n warning: 'WarningIcon',\n 'weather-moon': 'ClearNightIcon',\n 'weather-sunny': 'SunnyIcon',\n wrench: 'RepairIcon',\n 'wrench-settings': 'DeveloperToolsIcon',\n 'zoom-fit': 'ZoomToFitIcon'\n });\n\n/** Registry names with no honest MDL2 equivalent — written as the fallback. */\nexport const UNMAPPED_LEGACY_ICON_NAMES: readonly string[] = Object.freeze([\n 'arrow-horizontal',\n 'battery-charge',\n 'battery-checkmark',\n 'battery-saver',\n 'battery-warning',\n 'lasso',\n 'leaf',\n 'mention',\n 'molecule'\n]);\n\nconst LEGACY_FALLBACK_ICON_NAME = {\n folder: 'FabricFolderIcon',\n document: 'PageIcon'\n} as const;\n\n/**\n * The MDL2 export name to persist for a registry icon name. Unmapped or\n * unknown names get the generic folder/document icon, so legacy Inquiry never\n * renders a blank.\n */\nexport const toLegacyIconName = (\n name: string,\n fallback: 'folder' | 'document' = 'document'\n): string =>\n hasOwn(LEGACY_ICON_NAME_BY_FLUENT, name)\n ? LEGACY_ICON_NAME_BY_FLUENT[name]\n : LEGACY_FALLBACK_ICON_NAME[fallback];\n"],"mappings":";;AAEA,MAAMC,UAAUC,QAAgBC,QAC9BC,OAAOC,UAAUC,eAAeC,KAAKL,QAAQC,IAAI;;AAGnD,MAAaK,sBAAsBC,SACjCT,mBAAmBU,IAAID,KAAK;;;;;;;;AAS9B,MAAaE,kBAAoDP,OAAOU,OAAO;CAC7EC,cAAc;CACdC,qBAAqB;CACrBC,cAAc;CACdC,gBAAgB;CAChBC,kBAAkB;CAClBC,oBAAoB;CACpBC,cAAc;CACdC,aAAa;CACbC,iBAAiB;CACjBC,eAAe;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ACVC,OAAO;CACPC,QAAQ;CACR,cAAc;CACdC,MAAM;CACNC,UAAU;CACVC,OAAO;CACP,aAAa;CACb,uBAAuB;CACvB,oBAAoB;CACpB,iBAAiB;CACjB,uBAAuB;CACvB,oBAAoB;CACpB,kBAAkB;CAClBC,KAAK;CACLC,QAAQ;CACR,aAAa;CACb,qBAAqB;CACrB,sBAAsB;CACtB,mBAAmB;CACnB,oBAAoB;CACpB,aAAa;CACb,wBAAwB;CACxB,yBAAyB;CACzB,aAAa;CACb,yBAAyB;CACzB,iBAAiB;CACjB,eAAe;CACf,wBAAwB;CACxB,kBAAkB;CAClB,cAAc;CACd,sBAAsB;CACtB,kBAAkB;CAClBC,SAAS;CACT,iBAAiB;CACjB,cAAc;CACd,eAAe;CACfC,QAAQ;CACRC,OAAO;CACPC,MAAM;CACNC,SAAS;CACT,gBAAgB;CAChB,iBAAiB;CACjBC,QAAQ;CACR,mBAAmB;CACnB,YAAY;CACb,CAAC;;AAGJ,MAAaC,6BAAgDrJ,OAAOU,OAAO;CACzE;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACD,CAAC;AAEF,MAAM4I,4BAA4B;CAChCvD,QAAQ;CACRd,UAAU;CACX;;;;;;AAOD,MAAauE,oBACXnJ,MACAoJ,WAAkC,eAElC5J,OAAOiD,4BAA4BzC,KAAK,GACpCyC,2BAA2BzC,QAC3BiJ,0BAA0BG"}
|
|
1
|
+
{"version":3,"file":"legacyIconNames.mjs","names":["STENCIL_ICON_NAMES","hasOwn","record","key","Object","prototype","hasOwnProperty","call","isRegistryIconName","name","has","LEGACY_ICON_MAP","Readonly","Record","freeze","AccountActivityIcon","AccountBrowserIcon","AccountManagementIcon","AccountsIcon","ActivateOrdersIcon","ActivityFeedIcon","AddFavoriteFillIcon","AddFriendIcon","AddHomeIcon","AddInIcon","AddNotesIcon","AddOnlineMeetingIcon","AlignVerticalBottomIcon","AndroidLogoIcon","AppIconDefaultIcon","AppIconDefaultListIcon","AssignIcon","BadgeIcon","BankSolidIcon","BarChartVerticalFilterSolidIcon","BuildQueueIcon","BulletedListIcon","BusinessCenterLogoIcon","CalendarAgendaIcon","ChildofIcon","CityNextIcon","ConstructionConeSolidIcon","ContactIcon","ContactListIcon","CRMReportIcon","DataflowsIcon","DocumentSetIcon","EditIcon","EngineeringGroupIcon","FabricFolderIcon","FavoriteStarFillIcon","FileASPXIcon","FileSymlinkIcon","FinancialIcon","FinancialSolidIcon","FunctionalManagerDashboardIcon","GiftboxOpenIcon","GiftBoxSolidIcon","HealthSolidIcon","HeartFillIcon","MapPin12Icon","MapPinIcon","NewsIcon","OfflineStorageSolidIcon","OpenFileIcon","PageIcon","POIIcon","ProcessingIcon","ProductIcon","ProductVariantIcon","ProjectCollectionIcon","ReminderPersonIcon","ReminderTimeIcon","RepairIcon","RowsChildIcon","SearchDataIcon","ServerEnviromentIcon","SplitIcon","StreetIcon","SuitcaseIcon","SyncIcon","TaskLogoIcon","TaskManagerIcon","TransitionPushIcon","ViewDashboardIcon","WaterDropIcon","WebAppBuilderFragmentIcon","WorkItemIcon","toKebab","replace","toLowerCase","resolveIconName","type","fluentName","kebab","LEGACY_ICON_NAME_BY_FLUENT","add","alert","apps","archive","attach","backpack","beaker","board","bookmark","bot","box","branch","bug","building","calculator","calendar","camera","channel","chart","chat","checkmark","circle","clipboard","clock","column","comment","copy","crown","cut","database","delete","diagram","directions","dismiss","document","download","drag","drop","edit","eraser","error","export","eye","filter","fingerprint","fire","flag","flash","folder","gauge","globe","grid","guest","handshake","headset","history","home","image","import","important","info","layer","lightbulb","link","list","location","lock","mail","megaphone","money","more","navigation","notebook","number","options","organization","pause","payment","people","person","phone","play","print","question","road","save","search","send","settings","share","shield","star","subtract","table","tag","target","textbox","unlock","video","wand","warning","wrench","UNMAPPED_LEGACY_ICON_NAMES","LEGACY_FALLBACK_ICON_NAME","const","toLegacyIconName","fallback"],"sources":["../../src/icons/legacyIconNames.ts"],"sourcesContent":["import { STENCIL_ICON_NAMES } from './stencilIconNames';\n\nconst hasOwn = (record: object, key: string): boolean =>\n Object.prototype.hasOwnProperty.call(record, key) as boolean;\n\n/** Is this a name `udp-fluent-icon` can render as-is? */\nexport const isRegistryIconName = (name: string): boolean =>\n STENCIL_ICON_NAMES.has(name);\n\n/**\n * Curated legacy `@fluentui/react-icons` (MDL2) name → registry name, for\n * names whose kebab-case form is not in the registry. Tenant tree nodes and\n * panel rows store these; extend as real data surfaces more names. Names with\n * no honest equivalent are deliberately absent, so callers fall back to an\n * icon that still carries meaning instead of a wrong picture.\n */\nexport const LEGACY_ICON_MAP: Readonly<Record<string, string>> = Object.freeze({\n AccountActivityIcon: 'person',\n AccountBrowserIcon: 'person',\n AccountManagementIcon: 'people-settings',\n AccountsIcon: 'people',\n ActivateOrdersIcon: 'clipboard-checkmark',\n ActivityFeedIcon: 'broad-activity-feed',\n AddFavoriteFillIcon: 'star',\n AddFriendIcon: 'person',\n AddHomeIcon: 'home',\n AddInIcon: 'apps-add-in',\n AddNotesIcon: 'notebook',\n AddOnlineMeetingIcon: 'calendar-video',\n AlignVerticalBottomIcon: 'align-bottom',\n AndroidLogoIcon: 'phone',\n AppIconDefaultIcon: 'app-generic',\n AppIconDefaultListIcon: 'apps-list',\n AssignIcon: 'person',\n BadgeIcon: 'contact-card',\n BankSolidIcon: 'building',\n BarChartVerticalFilterSolidIcon: 'data-bar-vertical',\n BuildQueueIcon: 'wrench',\n BulletedListIcon: 'list',\n BusinessCenterLogoIcon: 'organization',\n CalendarAgendaIcon: 'calendar-agenda',\n ChildofIcon: 'branch',\n CityNextIcon: 'building-multiple',\n ConstructionConeSolidIcon: 'road-cone',\n ContactIcon: 'person',\n ContactListIcon: 'people',\n CRMReportIcon: 'chart',\n DataflowsIcon: 'arrow-routing',\n DocumentSetIcon: 'document',\n EditIcon: 'edit',\n EngineeringGroupIcon: 'wrench',\n FabricFolderIcon: 'folder',\n FavoriteStarFillIcon: 'star',\n FileASPXIcon: 'document',\n FileSymlinkIcon: 'link',\n FinancialIcon: 'money',\n FinancialSolidIcon: 'money',\n FunctionalManagerDashboardIcon: 'gauge',\n GiftboxOpenIcon: 'box',\n GiftBoxSolidIcon: 'box',\n HealthSolidIcon: 'clipboard-pulse',\n HeartFillIcon: 'hand-open-heart',\n MapPin12Icon: 'location',\n MapPinIcon: 'location',\n NewsIcon: 'notebook',\n OfflineStorageSolidIcon: 'database',\n OpenFileIcon: 'folder-open',\n PageIcon: 'document',\n POIIcon: 'location',\n ProcessingIcon: 'settings',\n ProductIcon: 'box',\n ProductVariantIcon: 'box',\n ProjectCollectionIcon: 'board',\n ReminderPersonIcon: 'calendar-person',\n ReminderTimeIcon: 'clock',\n RepairIcon: 'wrench',\n RowsChildIcon: 'branch',\n SearchDataIcon: 'search',\n ServerEnviromentIcon: 'database',\n SplitIcon: 'board-split',\n StreetIcon: 'road',\n SuitcaseIcon: 'backpack',\n SyncIcon: 'arrow-sync',\n TaskLogoIcon: 'task-list',\n TaskManagerIcon: 'task-list',\n TransitionPushIcon: 'panel-right-expand',\n ViewDashboardIcon: 'board',\n WaterDropIcon: 'drop',\n WebAppBuilderFragmentIcon: 'app-generic',\n WorkItemIcon: 'clipboard-task'\n});\n\nconst toKebab = (name: string): string =>\n name\n .replace(/Icon$/, '')\n .replace(/([a-z0-9])([A-Z])/g, '$1-$2')\n .replace(/([A-Z]+)([A-Z][a-z])/g, '$1-$2')\n .toLowerCase();\n\n/**\n * Best-effort mapping of a persisted icon onto the stencil icon registry. A\n * saved `fluentName` (the registry name the Tree Builder writes beside a\n * legacy MDL2 `name`, so 26.x and v27 each read their own field) wins when it\n * is a registry name; `type: 'fluent'` names are already registry names;\n * legacy names try LEGACY_ICON_MAP, then a kebab-case transform. Returns null\n * when the name is missing or unmappable — callers decide the fallback.\n */\nexport const resolveIconName = (\n name?: string | null,\n type?: string | null,\n fluentName?: string | null\n): string | null => {\n if (fluentName && isRegistryIconName(fluentName)) return fluentName;\n if (!name) return null;\n if (type === 'fluent') return name;\n if (hasOwn(LEGACY_ICON_MAP, name)) return LEGACY_ICON_MAP[name];\n const kebab = toKebab(name);\n return isRegistryIconName(kebab) ? kebab : null;\n};\n\n/**\n * Stencil icon-registry name → legacy `@fluentui/react-icons@0.3.x` (MDL2)\n * export name, for writing icons that the 26.x legacy Inquiry can render.\n *\n * Legacy Inquiry resolves a persisted icon `name` only against the MDL2\n * exports, so the Tree Builder saves `{ name: <MDL2 export>, type: '',\n * fluentName: <registry name> }`: 26.x renders `name`, v27 prefers\n * `fluentName`. Each value is an export that exists in\n * @fluentui/react-icons@0.3.10 — the PascalCase name plus `Icon` where that\n * exists, otherwise the closest MDL2 equivalent. Where LEGACY_ICON_MAP\n * already pairs an MDL2 name with a registry name, the pick agrees with it. Covers every registry name except\n * UNMAPPED_LEGACY_ICON_NAMES; a test keeps it in step with the registry.\n */\nexport const LEGACY_ICON_NAME_BY_FLUENT: Readonly<Record<string, string>> =\n Object.freeze({\n add: 'AddIcon',\n 'add-circle': 'CirclePlusIcon',\n alert: 'RingerIcon',\n 'align-bottom': 'AlignVerticalBottomIcon',\n 'align-center-horizontal': 'AlignHorizontalCenterIcon',\n 'align-center-vertical': 'AlignVerticalCenterIcon',\n 'align-left': 'AlignLeftIcon',\n 'align-right': 'AlignRightIcon',\n 'align-top': 'AlignVerticalTopIcon',\n 'app-folder': 'FolderListIcon',\n 'app-generic': 'AppIconDefaultIcon',\n apps: 'AllAppsIcon',\n 'apps-add-in': 'AppIconDefaultAddIcon',\n 'apps-list': 'AppIconDefaultListIcon',\n 'apps-list-detail': 'ViewListIcon',\n archive: 'ArchiveIcon',\n 'arrow-down': 'DownIcon',\n 'arrow-left': 'BackIcon',\n 'arrow-maximize-vertical': 'ExploreContentSingleIcon',\n 'arrow-minimize-vertical': 'CollapseContentSingleIcon',\n 'arrow-redo': 'RedoIcon',\n 'arrow-reset': 'ResetIcon',\n 'arrow-return': 'ReturnKeyIcon',\n 'arrow-right': 'ForwardIcon',\n 'arrow-rotate': 'RotateIcon',\n 'arrow-routing': 'DataflowsIcon',\n 'arrow-swap': 'SwitchIcon',\n 'arrow-sync': 'SyncIcon',\n 'arrow-undo': 'UndoIcon',\n 'arrow-up': 'UpIcon',\n attach: 'AttachIcon',\n 'attach-arrow-right': 'AttachIcon',\n backpack: 'SuitcaseIcon',\n beaker: 'TestBeakerIcon',\n board: 'BoardsIcon',\n 'board-split': 'SplitIcon',\n 'book-open': 'ReadingModeIcon',\n 'book-open-microphone': 'ReadingModeIcon',\n 'book-question-mark': 'BookAnswersIcon',\n 'book-search': 'SearchBookmarkIcon',\n 'book-star': 'BookmarksIcon',\n 'book-template': 'TextDocumentIcon',\n bookmark: 'SingleBookmarkIcon',\n bot: 'ChatBotIcon',\n 'bot-add': 'ChatBotIcon',\n box: 'ProductVariantIcon',\n branch: 'BranchFork2Icon',\n 'branch-compare': 'BranchCompareIcon',\n 'branch-fork': 'BranchForkIcon',\n 'broad-activity-feed': 'ActivityFeedIcon',\n bug: 'BugIcon',\n building: 'CityNext2Icon',\n 'building-home': 'HomeIcon',\n 'building-multiple': 'CityNextIcon',\n 'building-retail': 'ShopIcon',\n 'building-shop': 'ShopIcon',\n calculator: 'CalculatorIcon',\n calendar: 'CalendarIcon',\n 'calendar-add': 'AddEventIcon',\n 'calendar-agenda': 'CalendarAgendaIcon',\n 'calendar-arrow-right': 'ForwardEventIcon',\n 'calendar-cancel': 'EventDeclinedIcon',\n 'calendar-checkmark': 'EventAcceptedIcon',\n 'calendar-clock': 'DateTimeIcon',\n 'calendar-date': 'EventDateIcon',\n 'calendar-day': 'CalendarDayIcon',\n 'calendar-edit': 'CalendarIcon',\n 'calendar-empty': 'CalendarIcon',\n 'calendar-link': 'CalendarIcon',\n 'calendar-lock': 'CalendarIcon',\n 'calendar-mail': 'CalendarReplyIcon',\n 'calendar-month': 'CalendarIcon',\n 'calendar-multiple': 'CalendarIcon',\n 'calendar-person': 'UserEventIcon',\n 'calendar-search': 'SearchCalendarIcon',\n 'calendar-settings': 'CalendarSettingsIcon',\n 'calendar-star': 'SpecialEventIcon',\n 'calendar-sync': 'RecurringEventIcon',\n 'calendar-template': 'CalendarIcon',\n 'calendar-today': 'CalendarDayIcon',\n 'calendar-video': 'JoinOnlineMeetingIcon',\n 'calendar-week-start': 'CalendarWeekIcon',\n 'calendar-work-week': 'CalendarWorkWeekIcon',\n camera: 'CameraIcon',\n 'camera-dome': 'CameraIcon',\n channel: 'ChatIcon',\n chart: 'ChartIcon',\n 'chart-multiple': 'ChartSeriesIcon',\n chat: 'ChatIcon',\n 'checkbox-checked': 'CheckboxCompositeIcon',\n 'checkbox-unchecked': 'CheckboxIcon',\n checkmark: 'CheckMarkIcon',\n 'checkmark-circle': 'CompletedIcon',\n 'chevron-down': 'ChevronDownIcon',\n 'chevron-down-up': 'CollapseContentIcon',\n 'chevron-left': 'ChevronLeftIcon',\n 'chevron-right': 'ChevronRightIcon',\n 'chevron-up': 'ChevronUpIcon',\n 'chevron-up-down': 'ExploreContentIcon',\n circle: 'CircleRingIcon',\n clipboard: 'ClipboardSolidIcon',\n 'clipboard-bullet-list': 'ClipboardListIcon',\n 'clipboard-checkmark': 'CheckListCheckIcon',\n 'clipboard-data-bar': 'ClipboardListIcon',\n 'clipboard-edit': 'EditNoteIcon',\n 'clipboard-error': 'ReportWarningIcon',\n 'clipboard-image': 'FileImageIcon',\n 'clipboard-link': 'PageLinkIcon',\n 'clipboard-more': 'ClipboardSolidIcon',\n 'clipboard-note': 'QuickNoteIcon',\n 'clipboard-paste': 'PasteIcon',\n 'clipboard-pulse': 'HealthIcon',\n 'clipboard-search': 'DocumentSearchIcon',\n 'clipboard-settings': 'DataManagementSettingsIcon',\n 'clipboard-task': 'WorkItemIcon',\n 'clipboard-text': 'ClipboardListIcon',\n clock: 'ClockIcon',\n 'cloud-upload': 'CloudUploadIcon',\n column: 'ColumnIcon',\n comment: 'CommentIcon',\n 'conference-room': 'RoomIcon',\n 'contact-card': 'ContactCardIcon',\n 'content-settings': 'ContentSettingsIcon',\n copy: 'CopyIcon',\n crown: 'CrownIcon',\n cut: 'CutIcon',\n 'data-bar-horizontal': 'BarChartHorizontalIcon',\n 'data-bar-vertical': 'BarChartVerticalIcon',\n 'data-line': 'LineChartIcon',\n database: 'DatabaseIcon',\n delete: 'DeleteIcon',\n 'design-ideas': 'LightbulbIcon',\n diagram: 'VisioDiagramIcon',\n directions: 'MapDirectionsIcon',\n dismiss: 'CancelIcon',\n 'dismiss-circle': 'StatusCircleErrorXIcon',\n document: 'DocumentIcon',\n 'document-add': 'PageAddIcon',\n 'document-pdf': 'PDFIcon',\n download: 'DownloadIcon',\n drag: 'GripperDotsVerticalIcon',\n drop: 'DropIcon',\n edit: 'EditIcon',\n eraser: 'EraseToolIcon',\n error: 'ErrorIcon',\n export: 'ExportIcon',\n eye: 'RedEyeIcon',\n 'eye-off': 'HideIcon',\n filter: 'FilterIcon',\n fingerprint: 'FingerprintIcon',\n fire: 'FlameSolidIcon',\n 'fit-width': 'FitWidthIcon',\n flag: 'FlagIcon',\n flash: 'LightningBoltIcon',\n folder: 'FolderIcon',\n 'folder-open': 'FolderOpenIcon',\n 'form-new': 'PageAddIcon',\n 'fullscreen-expand': 'FullScreenIcon',\n 'fullscreen-shrink': 'BackToWindowIcon',\n gauge: 'SpeedHighIcon',\n globe: 'GlobeIcon',\n grid: 'GridViewMediumIcon',\n guest: 'TemporaryUserIcon',\n 'hand-left': 'WavingHandIcon',\n 'hand-open-heart': 'HeartIcon',\n 'hand-right': 'WavingHandIcon',\n handshake: 'TeamworkIcon',\n headset: 'HeadsetIcon',\n history: 'HistoryIcon',\n home: 'HomeIcon',\n image: 'PictureIcon',\n import: 'ImportIcon',\n important: 'ImportantIcon',\n info: 'InfoIcon',\n key: 'PermissionsIcon',\n 'key-multiple': 'PermissionsIcon',\n layer: 'MapLayersIcon',\n lightbulb: 'LightbulbIcon',\n link: 'LinkIcon',\n list: 'ListIcon',\n location: 'LocationIcon',\n lock: 'LockIcon',\n mail: 'MailIcon',\n megaphone: 'MegaphoneIcon',\n money: 'MoneyIcon',\n more: 'MoreIcon',\n 'more-vertical': 'MoreVerticalIcon',\n 'movies-and-tv': 'MyMoviesTVIcon',\n 'my-location': 'LocationCircleIcon',\n navigation: 'GlobalNavButtonIcon',\n notebook: 'AddNotesIcon',\n 'notebook-add': 'QuickNoteIcon',\n 'notebook-error': 'ReportWarningIcon',\n 'notebook-eye': 'PreviewIcon',\n 'notebook-lightning': 'QuickNoteIcon',\n 'notebook-question-mark': 'SurveyQuestionsIcon',\n 'notebook-section': 'SectionIcon',\n number: 'NumberIcon',\n options: 'EqualizerIcon',\n organization: 'OrgIcon',\n 'paint-brush': 'BrushIcon',\n 'panel-left-contract': 'ClosePaneIcon',\n 'panel-left-expand': 'OpenPaneIcon',\n 'panel-right-contract': 'ClosePaneMirroredIcon',\n 'panel-right-expand': 'OpenPaneMirroredIcon',\n pause: 'PauseIcon',\n payment: 'PaymentCardIcon',\n people: 'PeopleIcon',\n 'people-audience': 'GroupIcon',\n 'people-settings': 'ContactCardSettingsIcon',\n 'people-team': 'TeamworkIcon',\n person: 'ContactIcon',\n phone: 'PhoneIcon',\n play: 'PlayIcon',\n 'plug-connected': 'PlugConnectedIcon',\n 'plug-disconnected': 'PlugDisconnectedIcon',\n print: 'PrintIcon',\n 'puzzle-piece': 'PuzzleIcon',\n question: 'UnknownIcon',\n 'radio-button': 'RadioBtnOnIcon',\n road: 'StreetIcon',\n 'road-cone': 'ConstructionConeIcon',\n save: 'SaveIcon',\n search: 'SearchIcon',\n send: 'SendIcon',\n settings: 'SettingsIcon',\n share: 'ShareIcon',\n shield: 'ShieldIcon',\n 'slide-text': 'SlideshowIcon',\n star: 'FavoriteStarIcon',\n subtract: 'RemoveIcon',\n table: 'TableIcon',\n 'table-add': 'TableIcon',\n 'table-delete-column': 'DeleteColumnsIcon',\n 'table-delete-row': 'DeleteRowsIcon',\n 'table-dismiss': 'DeleteTableIcon',\n 'table-insert-column': 'InsertColumnsRightIcon',\n 'table-insert-row': 'InsertRowsBelowIcon',\n 'table-settings': 'ColumnOptionsIcon',\n tag: 'TagIcon',\n target: 'BullseyeTargetIcon',\n 'task-list': 'TaskListIcon',\n 'text-align-center': 'AlignCenterIcon',\n 'text-align-justify': 'AlignJustifyIcon',\n 'text-align-left': 'AlignLeftIcon',\n 'text-align-right': 'AlignRightIcon',\n 'text-bold': 'BoldIcon',\n 'text-bullet-list-ltr': 'BulletedList2Icon',\n 'text-clear-formatting': 'ClearFormattingIcon',\n 'text-font': 'FontIcon',\n 'text-grammar-settings': 'SpellingIcon',\n 'text-header-1': 'Header1Icon',\n 'text-italic': 'ItalicIcon',\n 'text-number-list-ltr': 'NumberedListIcon',\n 'text-paragraph': 'TextParagraphOptionIcon',\n 'text-quote': 'RightDoubleQuoteIcon',\n 'text-strikethrough': 'StrikethroughIcon',\n 'text-underline': 'UnderlineIcon',\n textbox: 'TextFieldIcon',\n 'thumb-dislike': 'DislikeIcon',\n 'thumb-like': 'LikeIcon',\n 'toggle-left': 'ToggleLeftIcon',\n unlock: 'UnlockIcon',\n video: 'VideoIcon',\n wand: 'AutoEnhanceOnIcon',\n warning: 'WarningIcon',\n 'weather-moon': 'ClearNightIcon',\n 'weather-sunny': 'SunnyIcon',\n wrench: 'RepairIcon',\n 'wrench-settings': 'DeveloperToolsIcon',\n 'zoom-fit': 'ZoomToFitIcon'\n });\n\n/** Registry names with no honest MDL2 equivalent — written as the fallback. */\nexport const UNMAPPED_LEGACY_ICON_NAMES: readonly string[] = Object.freeze([\n 'arrow-horizontal',\n 'battery-charge',\n 'battery-checkmark',\n 'battery-saver',\n 'battery-warning',\n 'lasso',\n 'leaf',\n 'mention',\n 'molecule'\n]);\n\nconst LEGACY_FALLBACK_ICON_NAME = {\n folder: 'FabricFolderIcon',\n document: 'PageIcon'\n} as const;\n\n/**\n * The MDL2 export name to persist for a registry icon name. Unmapped or\n * unknown names get the generic folder/document icon, so legacy Inquiry never\n * renders a blank.\n */\nexport const toLegacyIconName = (\n name: string,\n fallback: 'folder' | 'document' = 'document'\n): string =>\n hasOwn(LEGACY_ICON_NAME_BY_FLUENT, name)\n ? LEGACY_ICON_NAME_BY_FLUENT[name]\n : LEGACY_FALLBACK_ICON_NAME[fallback];\n"],"mappings":";;AAEA,MAAMC,UAAUC,QAAgBC,QAC9BC,OAAOC,UAAUC,eAAeC,KAAKL,QAAQC,IAAI;;AAGnD,MAAaK,sBAAsBC,SACjCT,mBAAmBU,IAAID,KAAK;;;;;;;;AAS9B,MAAaE,kBAAoDP,OAAOU,OAAO;CAC7EC,qBAAqB;CACrBC,oBAAoB;CACpBC,uBAAuB;CACvBC,cAAc;CACdC,oBAAoB;CACpBC,kBAAkB;CAClBC,qBAAqB;CACrBC,eAAe;CACfC,aAAa;CACbC,WAAW;CACXC,cAAc;CACdC,sBAAsB;CACtBC,yBAAyB;CACzBC,iBAAiB;CACjBC,oBAAoB;CACpBC,wBAAwB;CACxBC,YAAY;CACZC,WAAW;CACXC,eAAe;CACfC,iCAAiC;CACjCC,gBAAgB;CAChBC,kBAAkB;CAClBC,wBAAwB;CACxBC,oBAAoB;CACpBC,aAAa;CACbC,cAAc;CACdC,2BAA2B;CAC3BC,aAAa;CACbC,iBAAiB;CACjBC,eAAe;CACfC,eAAe;CACfC,iBAAiB;CACjBC,UAAU;CACVC,sBAAsB;CACtBC,kBAAkB;CAClBC,sBAAsB;CACtBC,cAAc;CACdC,iBAAiB;CACjBC,eAAe;CACfC,oBAAoB;CACpBC,gCAAgC;CAChCC,iBAAiB;CACjBC,kBAAkB;CAClBC,iBAAiB;CACjBC,eAAe;CACfC,cAAc;CACdC,YAAY;CACZC,UAAU;CACVC,yBAAyB;CACzBC,cAAc;CACdC,UAAU;CACVC,SAAS;CACTC,gBAAgB;CAChBC,aAAa;CACbC,oBAAoB;CACpBC,uBAAuB;CACvBC,oBAAoB;CACpBC,kBAAkB;CAClBC,YAAY;CACZC,eAAe;CACfC,gBAAgB;CAChBC,sBAAsB;CACtBC,WAAW;CACXC,YAAY;CACZC,cAAc;CACdC,UAAU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