@declarion/react 0.61.1 → 0.63.1
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-lib/ActionDialog-uiuse5W8.js +374 -0
- package/dist-lib/ActionResultDialog.impl-BUBm9Ck3.js +273 -0
- package/dist-lib/ActionRunner-DAxgnKB3.js +1440 -0
- package/dist-lib/AdminCatalogPage.impl-BJGn7EvA.js +441 -0
- package/dist-lib/{AgentChatPanel.impl-rgkewyMl.js → AgentChatPanel.impl-8bw8J-xV.js} +358 -319
- package/dist-lib/AgentOpenFollower.impl-Cga1q7_e.js +81 -0
- package/dist-lib/AssociatedBlock-D6qDYmRO.js +1515 -0
- package/dist-lib/AuthShell-DdiughRT.js +361 -0
- package/dist-lib/ChangePasswordDialog-DFe7lVQg.js +12 -0
- package/dist-lib/ChangePasswordDialog.impl-DtSIaP-A.js +194 -0
- package/dist-lib/CommandPalette.impl-Db3AFA5w.js +383 -0
- package/dist-lib/CopyButton-C0iEvaT1.js +119 -0
- package/dist-lib/DirtyTabsCloseDialog.impl-DWaFaWKn.js +191 -0
- package/dist-lib/{DraggableChildrenTable-DruYOxKm.js → DraggableChildrenTable-Cy8uevS_.js} +45 -44
- package/dist-lib/DynamicIcon-DuBSz6TZ.js +133 -0
- package/dist-lib/FieldRow-BXBBFOZh.js +157 -0
- package/dist-lib/FilterChips-8fMDBXHp.js +1031 -0
- package/dist-lib/Forgot.impl-CmT5A__V.js +105 -0
- package/dist-lib/{Grid-Dsf3I0xG.js → Grid-Cg29k0jv.js} +98 -99
- package/dist-lib/Icons-Dzl-AkD_.d.ts +159 -0
- package/dist-lib/Icons-lt-7lhYR.js +151 -0
- package/dist-lib/ImpersonationBanner.impl-CBJJx6an.js +76 -0
- package/dist-lib/ImpersonationStartModal.impl-RaZcsJpG.js +158 -0
- package/dist-lib/Kbd-CNttVu0z.js +23 -0
- package/dist-lib/{LayoutRenderer-QN7Wp2W6.js → LayoutRenderer-DEHtYtzV.js} +965 -942
- package/dist-lib/{ListCardsBody-CNaZ0xwz.js → ListCardsBody-BAwFR3yO.js} +46 -52
- package/dist-lib/{MarkdownRenderer-BuO5hYJh.js → MarkdownRenderer-kNEMr6K_.js} +15 -16
- package/dist-lib/MenuItem-CfkVXPvC.js +140 -0
- package/dist-lib/NotFoundPage.impl-ZSBn4WWb.js +68 -0
- package/dist-lib/PageHeader-tw4pX3lI.js +71 -0
- package/dist-lib/PageShell-tI-mm0C5.js +47 -0
- package/dist-lib/Pill-D-wsfRhx.js +42 -0
- package/dist-lib/Preferences.impl-BG9XBZDf.js +162 -0
- package/dist-lib/Profile.impl-CbzSzxyG.js +527 -0
- package/dist-lib/PropertyGridEditor-BTjscqfz.js +4378 -0
- package/dist-lib/RecordHeader-Bv9nJXnG.js +217 -0
- package/dist-lib/RecordIdBadge-C3MgoZvt.js +25 -0
- package/dist-lib/RefreshControl-Ce-T_wSQ.js +195 -0
- package/dist-lib/Reset.impl-Cesyqt5p.js +168 -0
- package/dist-lib/SSOCallbackPage.impl-BC_W9nQA.js +31 -0
- package/dist-lib/SectionCard-VonaiLrx.js +150 -0
- package/dist-lib/SignUp.impl-C1KCQbfZ.js +212 -0
- package/dist-lib/SmartDetailPage.impl-8iOAMYQh.js +1609 -0
- package/dist-lib/SmartListPage.impl-Cc4Zwz5f.js +2818 -0
- package/dist-lib/SmartRecordListPage.impl-xTSohkqG.js +795 -0
- package/dist-lib/{SortHeaderMenu-BV-aQbPy.js → SortHeaderMenu-BKTrq0Wb.js} +23 -23
- package/dist-lib/TenantParamsPage.impl-DMuSs3eP.js +306 -0
- package/dist-lib/TwoFA.impl-BClZ3ndk.js +125 -0
- package/dist-lib/{cardProjection-BnmWukxk.js → cardProjection-Cr7fG6wJ.js} +134 -133
- package/dist-lib/declarion-react.css +1 -1
- package/dist-lib/format-count-CSEFw2ht.js +943 -0
- package/dist-lib/headerActionZone-bef-tZZ7.js +14 -0
- package/dist-lib/{stores/icon-registry.d.ts → icon-registry-CUT4eF63.d.ts} +14 -11
- package/dist-lib/icons.d.ts +20 -4
- package/dist-lib/icons.js +3 -2
- package/dist-lib/index.d.ts +2516 -150
- package/dist-lib/index.js +1588 -5117
- package/dist-lib/page-inset-D_kkVwwN.js +9 -0
- package/dist-lib/page-state-eA6J_KIR.js +124 -0
- package/dist-lib/param-editors-9yJr7xmN.js +201 -0
- package/dist-lib/payload-B2wODLAX.js +86 -0
- package/dist-lib/{peekDraftStore-Dk1Ha5u3.js → peekDraftStore-D4GRsRKW.js} +44 -43
- package/dist-lib/registry-BpzE8-h8.js +119 -0
- package/dist-lib/screen-back-Cs4kzeqD.js +44 -0
- package/dist-lib/testing.d.ts +53 -56
- package/dist-lib/testing.js +54 -55
- package/dist-lib/use-filter-value-labels-DuqvAIVG.js +413 -0
- package/dist-lib/{useAgentConversation-nT5UypJX.js → useAgentConversation-D210VDCQ.js} +158 -169
- package/dist-lib/useAuth-CR2YKKXb.js +49 -0
- package/dist-lib/useBranding-Ckp_AuJb.js +41 -0
- package/dist-lib/useBrandingChrome-bKTXXDLy.js +170 -0
- package/dist-lib/useCurrentLocation-BdngVeQv.js +22 -0
- package/dist-lib/useCurrentScreen--UovgvRj.js +2511 -0
- package/dist-lib/useImpersonation-DNV23Ks1.js +35 -0
- package/dist-lib/useObject-1OCeV34A.js +26 -0
- package/dist-lib/useOwnRefresh-DkOuM4yo.js +435 -0
- package/dist-lib/useParams-ei6w4I7w.js +133 -0
- package/dist-lib/useProperties-CbdhlhZd.js +81 -0
- package/dist-lib/useResponsiveMode-DIR1bZfo.d.ts +1786 -0
- package/dist-lib/useScreenBack-J861tbwn.js +71 -0
- package/dist-lib/useTabNavigate-BZiW4q3M.js +78 -0
- package/dist-lib/useTabTitle-CZZnWIQi.js +22 -0
- package/dist-lib/utils-D_QDpB8_.js +11 -0
- package/dist-lib/{value-Dwfyghtj.js → value-CDCeHgOv.js} +8 -22
- package/dist-lib/{action-dispatch-gWmOYjOP.js → variants-CbAwl3Mn.js} +734 -740
- package/dist-lib/vite/index.d.ts +42 -16
- package/dist-lib/window-election-CHIvIZwx.js +45 -0
- package/package.json +16 -23
- package/dist-lib/DetailAuditStrip-CSXZoy7v.js +0 -288
- package/dist-lib/DynamicIcon-DW5krHuX.js +0 -280
- package/dist-lib/RefreshControl-DO9rYcdq.js +0 -399
- package/dist-lib/SmartDetailPage.impl-DFIIx80b.js +0 -1565
- package/dist-lib/SmartListPage.impl-D694R32H.js +0 -3051
- package/dist-lib/SmartRecordListPage.impl-CB5cuQJV.js +0 -780
- package/dist-lib/api/agents.d.ts +0 -140
- package/dist-lib/api/auth-redirect.d.ts +0 -3
- package/dist-lib/api/auth.d.ts +0 -26
- package/dist-lib/api/batch.d.ts +0 -25
- package/dist-lib/api/client.d.ts +0 -51
- package/dist-lib/api/data.d.ts +0 -153
- package/dist-lib/api/entities.d.ts +0 -149
- package/dist-lib/api/events.d.ts +0 -91
- package/dist-lib/api/params.d.ts +0 -28
- package/dist-lib/api/properties.d.ts +0 -3
- package/dist-lib/api/schema.d.ts +0 -2
- package/dist-lib/api/status.d.ts +0 -2
- package/dist-lib/app.d.ts +0 -1
- package/dist-lib/components/actions/ActionButton.d.ts +0 -18
- package/dist-lib/components/actions/ActionDialog.d.ts +0 -20
- package/dist-lib/components/actions/ActionResultDialog.d.ts +0 -22
- package/dist-lib/components/actions/ActionRunner.d.ts +0 -62
- package/dist-lib/components/actions/ObjectActionBar.d.ts +0 -29
- package/dist-lib/components/actions/PropertyGridEditor.d.ts +0 -20
- package/dist-lib/components/actions/ResponsiveActionBar.d.ts +0 -259
- package/dist-lib/components/actions/RowActionsKebab.d.ts +0 -20
- package/dist-lib/components/agents/AgentChatPanel.d.ts +0 -3
- package/dist-lib/components/agents/AgentChatPanel.impl.d.ts +0 -14
- package/dist-lib/components/agents/AgentConversationDrawer.d.ts +0 -11
- package/dist-lib/components/agents/AgentElicitForm.d.ts +0 -27
- package/dist-lib/components/agents/AgentPicker.d.ts +0 -8
- package/dist-lib/components/agents/transcript-runs.d.ts +0 -29
- package/dist-lib/components/chrome/AssociationTabs.d.ts +0 -9
- package/dist-lib/components/chrome/AuditMetaStrip.d.ts +0 -11
- package/dist-lib/components/chrome/Breadcrumbs.d.ts +0 -14
- package/dist-lib/components/chrome/HighlightsStrip.d.ts +0 -10
- package/dist-lib/components/chrome/PageHeader.d.ts +0 -16
- package/dist-lib/components/chrome/PageShell.d.ts +0 -7
- package/dist-lib/components/chrome/RecordHeader.d.ts +0 -17
- package/dist-lib/components/chrome/headerActionZone.d.ts +0 -27
- package/dist-lib/components/detail-layout/AssociatedBlock.d.ts +0 -20
- package/dist-lib/components/detail-layout/AssociatedToolbar.d.ts +0 -13
- package/dist-lib/components/detail-layout/ChildrenBlock.d.ts +0 -16
- package/dist-lib/components/detail-layout/ChildrenCards.d.ts +0 -2
- package/dist-lib/components/detail-layout/ChildrenList.d.ts +0 -2
- package/dist-lib/components/detail-layout/ChildrenTable.d.ts +0 -2
- package/dist-lib/components/detail-layout/ChildrenTimeline.d.ts +0 -2
- package/dist-lib/components/detail-layout/DetailAuditStrip.d.ts +0 -12
- package/dist-lib/components/detail-layout/DetailHighlights.d.ts +0 -14
- package/dist-lib/components/detail-layout/DraggableChildrenTable.d.ts +0 -16
- package/dist-lib/components/detail-layout/EditableChildrenTable.d.ts +0 -16
- package/dist-lib/components/detail-layout/ErrorSummary.d.ts +0 -11
- package/dist-lib/components/detail-layout/EvidenceBlock.d.ts +0 -6
- package/dist-lib/components/detail-layout/FieldRow.d.ts +0 -23
- package/dist-lib/components/detail-layout/FieldsBlock.d.ts +0 -8
- package/dist-lib/components/detail-layout/LayoutColumn.d.ts +0 -9
- package/dist-lib/components/detail-layout/LayoutRenderer.d.ts +0 -46
- package/dist-lib/components/detail-layout/LayoutRow.d.ts +0 -8
- package/dist-lib/components/detail-layout/LayoutTabs.d.ts +0 -8
- package/dist-lib/components/detail-layout/PropertiesBlock.d.ts +0 -8
- package/dist-lib/components/detail-layout/QuickAddForm.d.ts +0 -10
- package/dist-lib/components/detail-layout/SectionBlock.d.ts +0 -8
- package/dist-lib/components/detail-layout/StatusesBlock.d.ts +0 -8
- package/dist-lib/components/detail-layout/TimelineComposer.d.ts +0 -10
- package/dist-lib/components/detail-layout/blockMeta.d.ts +0 -5
- package/dist-lib/components/detail-layout/index.d.ts +0 -21
- package/dist-lib/components/detail-layout/useManualColumnResize.d.ts +0 -25
- package/dist-lib/components/detail-layout/useQuickAdd.d.ts +0 -16
- package/dist-lib/components/detail-layout/widgets/EntityScorecardWidget.d.ts +0 -2
- package/dist-lib/components/detail-layout/widgets/JsonDiffWidget.d.ts +0 -2
- package/dist-lib/components/detail-layout/widgets/MonacoJson.d.ts +0 -9
- package/dist-lib/components/detail-layout/widgets/WidgetHost.d.ts +0 -9
- package/dist-lib/components/detail-layout/widgets/builtins.d.ts +0 -1
- package/dist-lib/components/detail-layout/widgets/canonicalizeJson.d.ts +0 -1
- package/dist-lib/components/detail-layout/widgets/monacoBootstrap.d.ts +0 -1
- package/dist-lib/components/detail-layout/widgets/registry.d.ts +0 -14
- package/dist-lib/components/fields/BoolField.d.ts +0 -2
- package/dist-lib/components/fields/EmailField.d.ts +0 -2
- package/dist-lib/components/fields/EnumField.d.ts +0 -2
- package/dist-lib/components/fields/IntArrayField.d.ts +0 -2
- package/dist-lib/components/fields/JsonEditor.d.ts +0 -10
- package/dist-lib/components/fields/JsonField.d.ts +0 -3
- package/dist-lib/components/fields/MultilangArrayField.d.ts +0 -2
- package/dist-lib/components/fields/MultilangField.d.ts +0 -2
- package/dist-lib/components/fields/MultilangTextField.d.ts +0 -2
- package/dist-lib/components/fields/NumberField.d.ts +0 -2
- package/dist-lib/components/fields/PasswordField.d.ts +0 -2
- package/dist-lib/components/fields/PhoneField.d.ts +0 -2
- package/dist-lib/components/fields/RefCombobox.d.ts +0 -45
- package/dist-lib/components/fields/RefField.d.ts +0 -2
- package/dist-lib/components/fields/RichTextField.d.ts +0 -2
- package/dist-lib/components/fields/SecretField.d.ts +0 -2
- package/dist-lib/components/fields/StringArrayField.d.ts +0 -2
- package/dist-lib/components/fields/StringField.d.ts +0 -2
- package/dist-lib/components/fields/StructureField.d.ts +0 -2
- package/dist-lib/components/fields/TextField.d.ts +0 -2
- package/dist-lib/components/fields/TimestampField.d.ts +0 -2
- package/dist-lib/components/fields/UrlField.d.ts +0 -2
- package/dist-lib/components/fields/cells/factories/badge.d.ts +0 -2
- package/dist-lib/components/fields/cells/factories/boolPill.d.ts +0 -2
- package/dist-lib/components/fields/cells/factories/code.d.ts +0 -2
- package/dist-lib/components/fields/cells/factories/date.d.ts +0 -2
- package/dist-lib/components/fields/cells/factories/email.d.ts +0 -2
- package/dist-lib/components/fields/cells/factories/emptyCell.d.ts +0 -2
- package/dist-lib/components/fields/cells/factories/host-icons.d.ts +0 -17
- package/dist-lib/components/fields/cells/factories/json.d.ts +0 -2
- package/dist-lib/components/fields/cells/factories/link.d.ts +0 -2
- package/dist-lib/components/fields/cells/factories/markdown.d.ts +0 -2
- package/dist-lib/components/fields/cells/factories/markdownPreview.d.ts +0 -9
- package/dist-lib/components/fields/cells/factories/money.d.ts +0 -2
- package/dist-lib/components/fields/cells/factories/multilangInline.d.ts +0 -2
- package/dist-lib/components/fields/cells/factories/nextRun.d.ts +0 -2
- package/dist-lib/components/fields/cells/factories/number.d.ts +0 -2
- package/dist-lib/components/fields/cells/factories/passwordMask.d.ts +0 -2
- package/dist-lib/components/fields/cells/factories/phone.d.ts +0 -2
- package/dist-lib/components/fields/cells/factories/refLink.d.ts +0 -2
- package/dist-lib/components/fields/cells/factories/richTextPreview.d.ts +0 -2
- package/dist-lib/components/fields/cells/factories/statusPill.d.ts +0 -2
- package/dist-lib/components/fields/cells/factories/tagList.d.ts +0 -2
- package/dist-lib/components/fields/cells/factories/text.d.ts +0 -2
- package/dist-lib/components/fields/cells/factories/timestamp.d.ts +0 -3
- package/dist-lib/components/fields/cells/factories/url-helpers.d.ts +0 -12
- package/dist-lib/components/fields/cells/factories/url.d.ts +0 -2
- package/dist-lib/components/fields/cells/registry.d.ts +0 -21
- package/dist-lib/components/fields/index.d.ts +0 -28
- package/dist-lib/components/fields/langMap.d.ts +0 -2
- package/dist-lib/components/fields/secretValue.d.ts +0 -2
- package/dist-lib/components/file-widgets/CircleImage.d.ts +0 -2
- package/dist-lib/components/file-widgets/DocumentCard.d.ts +0 -2
- package/dist-lib/components/file-widgets/FileList.d.ts +0 -2
- package/dist-lib/components/file-widgets/Grid.d.ts +0 -2
- package/dist-lib/components/file-widgets/GridLazy.d.ts +0 -2
- package/dist-lib/components/file-widgets/ImageWidget.d.ts +0 -12
- package/dist-lib/components/file-widgets/LabeledSlots.d.ts +0 -2
- package/dist-lib/components/file-widgets/SquareImage.d.ts +0 -2
- package/dist-lib/components/file-widgets/UnknownFileWidget.d.ts +0 -3
- package/dist-lib/components/file-widgets/UploadFailureText.d.ts +0 -4
- package/dist-lib/components/file-widgets/WideBanner.d.ts +0 -2
- package/dist-lib/components/file-widgets/builtins.d.ts +0 -1
- package/dist-lib/components/file-widgets/cropper.d.ts +0 -14
- package/dist-lib/components/file-widgets/draft-scope.d.ts +0 -22
- package/dist-lib/components/file-widgets/helpers.d.ts +0 -15
- package/dist-lib/components/file-widgets/host.d.ts +0 -28
- package/dist-lib/components/file-widgets/index.d.ts +0 -16
- package/dist-lib/components/file-widgets/payload.d.ts +0 -21
- package/dist-lib/components/file-widgets/registry.d.ts +0 -5
- package/dist-lib/components/file-widgets/types.d.ts +0 -17
- package/dist-lib/components/file-widgets/upload.d.ts +0 -45
- package/dist-lib/components/file-widgets/useEmbedFileSrc.d.ts +0 -42
- package/dist-lib/components/file-widgets/value.d.ts +0 -4
- package/dist-lib/components/filters/FilterChips.d.ts +0 -14
- package/dist-lib/components/filters/FilterDrawer.d.ts +0 -32
- package/dist-lib/components/filters/filter-op-label.d.ts +0 -3
- package/dist-lib/components/layout/CommandPalette.d.ts +0 -21
- package/dist-lib/components/layout/DirtyTabsCloseDialog.d.ts +0 -9
- package/dist-lib/components/layout/ImpersonationBanner.d.ts +0 -11
- package/dist-lib/components/layout/ImpersonationFrame.d.ts +0 -11
- package/dist-lib/components/layout/ImpersonationStartModal.d.ts +0 -22
- package/dist-lib/components/layout/Layout.d.ts +0 -6
- package/dist-lib/components/layout/Rail.d.ts +0 -22
- package/dist-lib/components/layout/Sidebar.d.ts +0 -12
- package/dist-lib/components/layout/TabStrip.d.ts +0 -6
- package/dist-lib/components/layout/TenantChip.d.ts +0 -26
- package/dist-lib/components/layout/TopBar.d.ts +0 -22
- package/dist-lib/components/layout/tab-close.d.ts +0 -13
- package/dist-lib/components/list/ColumnPicker.d.ts +0 -20
- package/dist-lib/components/list/InlineEditCell.d.ts +0 -15
- package/dist-lib/components/list/PeekFieldCell.d.ts +0 -16
- package/dist-lib/components/list/QuickPeek.d.ts +0 -59
- package/dist-lib/components/list/ViewSwitcher.d.ts +0 -24
- package/dist-lib/components/list/peekDraftStore.d.ts +0 -6
- package/dist-lib/components/pages/AdminCatalogPage.d.ts +0 -1
- package/dist-lib/components/pages/DocumentsMenu.d.ts +0 -21
- package/dist-lib/components/pages/ExportMenu.d.ts +0 -30
- package/dist-lib/components/pages/NotFoundPage.d.ts +0 -1
- package/dist-lib/components/pages/RecordDocumentsPanel.d.ts +0 -41
- package/dist-lib/components/pages/SSOCallbackPage.d.ts +0 -1
- package/dist-lib/components/pages/SmartDetailPage.d.ts +0 -2
- package/dist-lib/components/pages/SmartDetailPage.impl.d.ts +0 -4
- package/dist-lib/components/pages/SmartListPage.d.ts +0 -2
- package/dist-lib/components/pages/SmartListPage.impl.d.ts +0 -4
- package/dist-lib/components/pages/SmartRecordListPage.d.ts +0 -2
- package/dist-lib/components/pages/SmartRecordListPage.impl.d.ts +0 -4
- package/dist-lib/components/pages/auth/AuthShell.d.ts +0 -18
- package/dist-lib/components/pages/auth/Forgot.d.ts +0 -1
- package/dist-lib/components/pages/auth/Reset.d.ts +0 -1
- package/dist-lib/components/pages/auth/SignIn.d.ts +0 -1
- package/dist-lib/components/pages/auth/SignUp.d.ts +0 -1
- package/dist-lib/components/pages/auth/TwoFA.d.ts +0 -1
- package/dist-lib/components/pages/auth/icons.d.ts +0 -6
- package/dist-lib/components/pages/exportRequest.d.ts +0 -69
- package/dist-lib/components/pages/list/DataCell.d.ts +0 -4
- package/dist-lib/components/pages/list/DeleteViewDialog.d.ts +0 -8
- package/dist-lib/components/pages/list/ListCardRow.d.ts +0 -39
- package/dist-lib/components/pages/list/ListCardsBody.d.ts +0 -33
- package/dist-lib/components/pages/list/ListFloatbar.d.ts +0 -29
- package/dist-lib/components/pages/list/ListFooter.d.ts +0 -26
- package/dist-lib/components/pages/list/ListHeader.d.ts +0 -26
- package/dist-lib/components/pages/list/ListNoRows.d.ts +0 -31
- package/dist-lib/components/pages/list/ListTable.d.ts +0 -33
- package/dist-lib/components/pages/list/ListTableRow.d.ts +0 -17
- package/dist-lib/components/pages/list/ListToolbar.d.ts +0 -46
- package/dist-lib/components/pages/list/ListUrlBanner.d.ts +0 -10
- package/dist-lib/components/pages/list/RowActionsCell.d.ts +0 -34
- package/dist-lib/components/pages/list/RowContextMenu.d.ts +0 -28
- package/dist-lib/components/pages/list/SaveViewDialog.d.ts +0 -10
- package/dist-lib/components/pages/list/SortHeaderMenu.d.ts +0 -14
- package/dist-lib/components/pages/list/cardProjection.d.ts +0 -67
- package/dist-lib/components/pages/list/column-sizing.d.ts +0 -14
- package/dist-lib/components/pages/list/columns.d.ts +0 -46
- package/dist-lib/components/pages/list/filter-meta.d.ts +0 -25
- package/dist-lib/components/pages/list/page-size.d.ts +0 -3
- package/dist-lib/components/pages/list/sortable-header.d.ts +0 -2
- package/dist-lib/components/pages/list/table-features.d.ts +0 -14
- package/dist-lib/components/pages/list/use-filter-value-labels.d.ts +0 -24
- package/dist-lib/components/pages/list/useActiveView.d.ts +0 -45
- package/dist-lib/components/pages/list/useHeaderReorder.d.ts +0 -26
- package/dist-lib/components/pages/list/useListColumnLayout.d.ts +0 -38
- package/dist-lib/components/pages/list/useListQuery.d.ts +0 -67
- package/dist-lib/components/pages/list/useListRowInteraction.d.ts +0 -61
- package/dist-lib/components/pages/list/useListSelection.d.ts +0 -31
- package/dist-lib/components/pages/list/useListSort.d.ts +0 -46
- package/dist-lib/components/pages/list/useListViews.d.ts +0 -57
- package/dist-lib/components/pages/list/useRowMenu.d.ts +0 -46
- package/dist-lib/components/pages/profile/Preferences.d.ts +0 -1
- package/dist-lib/components/pages/profile/Profile.d.ts +0 -7
- package/dist-lib/components/pages/tenant-params/TenantParamsPage.d.ts +0 -2
- package/dist-lib/components/params/ParamsBlock.d.ts +0 -13
- package/dist-lib/components/params/param-editors.d.ts +0 -20
- package/dist-lib/components/primitives/Avatar.d.ts +0 -6
- package/dist-lib/components/primitives/BoolToggle.d.ts +0 -7
- package/dist-lib/components/primitives/BrandGlyph.d.ts +0 -8
- package/dist-lib/components/primitives/BrandLogo.d.ts +0 -12
- package/dist-lib/components/primitives/Btn.d.ts +0 -19
- package/dist-lib/components/primitives/Check.d.ts +0 -7
- package/dist-lib/components/primitives/Chip.d.ts +0 -9
- package/dist-lib/components/primitives/ClassifiedFieldLocked.d.ts +0 -9
- package/dist-lib/components/primitives/Dropdown.d.ts +0 -20
- package/dist-lib/components/primitives/Fields.d.ts +0 -111
- package/dist-lib/components/primitives/HoverCard.d.ts +0 -15
- package/dist-lib/components/primitives/IconBtn.d.ts +0 -11
- package/dist-lib/components/primitives/Icons.d.ts +0 -136
- package/dist-lib/components/primitives/Kbd.d.ts +0 -4
- package/dist-lib/components/primitives/MenuItem.d.ts +0 -14
- package/dist-lib/components/primitives/Pill.d.ts +0 -11
- package/dist-lib/components/primitives/RecordIdBadge.d.ts +0 -8
- package/dist-lib/components/primitives/RowField.d.ts +0 -10
- package/dist-lib/components/primitives/SectionCard.d.ts +0 -24
- package/dist-lib/components/primitives/Spinner.d.ts +0 -3
- package/dist-lib/components/primitives/Tooltip.d.ts +0 -34
- package/dist-lib/components/primitives/dataTableStyles.d.ts +0 -4
- package/dist-lib/components/primitives/index.d.ts +0 -37
- package/dist-lib/components/shared/ChangePasswordDialog.d.ts +0 -9
- package/dist-lib/components/shared/ConfirmDialog.d.ts +0 -11
- package/dist-lib/components/shared/CopyButton.d.ts +0 -8
- package/dist-lib/components/shared/DynamicIcon.d.ts +0 -20
- package/dist-lib/components/shared/EmptyState.d.ts +0 -9
- package/dist-lib/components/shared/ErrorBoundary.d.ts +0 -17
- package/dist-lib/components/shared/LoadingSkeleton.d.ts +0 -6
- package/dist-lib/components/shared/LucideIcon.d.ts +0 -16
- package/dist-lib/components/shared/Markdown.d.ts +0 -3
- package/dist-lib/components/shared/MarkdownRenderer.d.ts +0 -11
- package/dist-lib/components/shared/RefreshControl.d.ts +0 -25
- package/dist-lib/components/shared/StatusGroupsDisplay.d.ts +0 -11
- package/dist-lib/components/shared/StatusStepper.d.ts +0 -13
- package/dist-lib/components/shared/toast/DeclarionToast.d.ts +0 -31
- package/dist-lib/components/shared/useOwnRefresh.d.ts +0 -9
- package/dist-lib/embed/EmbedAuthBootstrap.d.ts +0 -8
- package/dist-lib/embed/EmbedContext.d.ts +0 -50
- package/dist-lib/embed/EmbedDirtyReporter.d.ts +0 -10
- package/dist-lib/embed/EmbedHistoryTracker.d.ts +0 -1
- package/dist-lib/embed/EmbedLocationReporter.d.ts +0 -8
- package/dist-lib/embed/EmbedResizeReporter.d.ts +0 -6
- package/dist-lib/embed/EmbedUnsavedGuard.d.ts +0 -7
- package/dist-lib/embed/embed-dirty.d.ts +0 -24
- package/dist-lib/embed/embed-history.d.ts +0 -19
- package/dist-lib/embed/embed-nav-guard.d.ts +0 -20
- package/dist-lib/embed/file-src.d.ts +0 -63
- package/dist-lib/embed/handshake.d.ts +0 -57
- package/dist-lib/embed/index.d.ts +0 -19
- package/dist-lib/embed/params.d.ts +0 -75
- package/dist-lib/embed/protocol.d.ts +0 -165
- package/dist-lib/embed/screen-location.d.ts +0 -50
- package/dist-lib/embed/theme.d.ts +0 -34
- package/dist-lib/embed/token.d.ts +0 -57
- package/dist-lib/embed/useEmbedNavigate.d.ts +0 -48
- package/dist-lib/embed/useGlobalLinkInterceptor.d.ts +0 -66
- package/dist-lib/failure-BUxXuP4c.js +0 -158
- package/dist-lib/format-count-bXVfHzbI.js +0 -1771
- package/dist-lib/hooks/useActionData.d.ts +0 -61
- package/dist-lib/hooks/useAgentConversation.d.ts +0 -24
- package/dist-lib/hooks/useAllEntityData.d.ts +0 -16
- package/dist-lib/hooks/useAssociatedData.d.ts +0 -10
- package/dist-lib/hooks/useAuth.d.ts +0 -22
- package/dist-lib/hooks/useBranding.d.ts +0 -8
- package/dist-lib/hooks/useBrandingChrome.d.ts +0 -59
- package/dist-lib/hooks/useChildrenData.d.ts +0 -3
- package/dist-lib/hooks/useColumns.d.ts +0 -13
- package/dist-lib/hooks/useCurrentScreen.d.ts +0 -34
- package/dist-lib/hooks/useCursorEntityData.d.ts +0 -79
- package/dist-lib/hooks/useDebounce.d.ts +0 -1
- package/dist-lib/hooks/useEntity.d.ts +0 -2
- package/dist-lib/hooks/useEntityData.d.ts +0 -41
- package/dist-lib/hooks/useFilters.d.ts +0 -14
- package/dist-lib/hooks/useImpersonation.d.ts +0 -23
- package/dist-lib/hooks/useLanguage.d.ts +0 -4
- package/dist-lib/hooks/useLiveObject.d.ts +0 -9
- package/dist-lib/hooks/useLongPress.d.ts +0 -29
- package/dist-lib/hooks/useMutations.d.ts +0 -13
- package/dist-lib/hooks/useObject.d.ts +0 -11
- package/dist-lib/hooks/useObjectStatus.d.ts +0 -5
- package/dist-lib/hooks/usePageState.d.ts +0 -32
- package/dist-lib/hooks/usePageStateRuntime.d.ts +0 -27
- package/dist-lib/hooks/usePageStateTtl.d.ts +0 -11
- package/dist-lib/hooks/useParams.d.ts +0 -49
- package/dist-lib/hooks/useProperties.d.ts +0 -5
- package/dist-lib/hooks/useRealtimeThresholds.d.ts +0 -1
- package/dist-lib/hooks/useRegisterScreenTab.d.ts +0 -11
- package/dist-lib/hooks/useResponsiveMode.d.ts +0 -27
- package/dist-lib/hooks/useSSE.d.ts +0 -31
- package/dist-lib/hooks/useSchema.d.ts +0 -1
- package/dist-lib/hooks/useScreen.d.ts +0 -2
- package/dist-lib/hooks/useScreenBack.d.ts +0 -21
- package/dist-lib/hooks/useScreenTab.d.ts +0 -10
- package/dist-lib/hooks/useTabNavigate.d.ts +0 -34
- package/dist-lib/hooks/useTabSearchMirror.d.ts +0 -1
- package/dist-lib/hooks/useTabTitle.d.ts +0 -2
- package/dist-lib/hooks/useText.d.ts +0 -3
- package/dist-lib/hooks/useTimelineData.d.ts +0 -10
- package/dist-lib/hooks/useVersionWatcher.d.ts +0 -30
- package/dist-lib/hooks/useViews.d.ts +0 -26
- package/dist-lib/lib/action-dispatch.d.ts +0 -8
- package/dist-lib/lib/actions.d.ts +0 -254
- package/dist-lib/lib/anchor.d.ts +0 -36
- package/dist-lib/lib/brand-tokens.d.ts +0 -43
- package/dist-lib/lib/branding.d.ts +0 -20
- package/dist-lib/lib/canonical-url.d.ts +0 -27
- package/dist-lib/lib/capabilityPrefetch.d.ts +0 -6
- package/dist-lib/lib/child-config.d.ts +0 -24
- package/dist-lib/lib/children-validation.d.ts +0 -5
- package/dist-lib/lib/decimal-text.d.ts +0 -1
- package/dist-lib/lib/display-value.d.ts +0 -1
- package/dist-lib/lib/document-templates.d.ts +0 -11
- package/dist-lib/lib/download.d.ts +0 -21
- package/dist-lib/lib/evidence-verdict.d.ts +0 -11
- package/dist-lib/lib/failure.d.ts +0 -2
- package/dist-lib/lib/field-classification.d.ts +0 -61
- package/dist-lib/lib/field-regions.d.ts +0 -8
- package/dist-lib/lib/filter-evaluator.d.ts +0 -16
- package/dist-lib/lib/filters.d.ts +0 -93
- package/dist-lib/lib/format-count.d.ts +0 -41
- package/dist-lib/lib/html-state.d.ts +0 -11
- package/dist-lib/lib/language.d.ts +0 -19
- package/dist-lib/lib/longPressGesture.d.ts +0 -55
- package/dist-lib/lib/mass-edit.d.ts +0 -32
- package/dist-lib/lib/page-inset.d.ts +0 -3
- package/dist-lib/lib/quick-add.d.ts +0 -2
- package/dist-lib/lib/realtime-query-keys.d.ts +0 -22
- package/dist-lib/lib/realtime-reconcile.d.ts +0 -33
- package/dist-lib/lib/realtime-resync.d.ts +0 -23
- package/dist-lib/lib/record-documents-key.d.ts +0 -1
- package/dist-lib/lib/rich-text.d.ts +0 -14
- package/dist-lib/lib/rowClickGesture.d.ts +0 -26
- package/dist-lib/lib/safe-url.d.ts +0 -15
- package/dist-lib/lib/schema-routing.d.ts +0 -3
- package/dist-lib/lib/screen-back.d.ts +0 -70
- package/dist-lib/lib/scroll-restoration.d.ts +0 -90
- package/dist-lib/lib/size-value.d.ts +0 -16
- package/dist-lib/lib/sort.d.ts +0 -72
- package/dist-lib/lib/timestamp.d.ts +0 -53
- package/dist-lib/lib/toast.d.ts +0 -49
- package/dist-lib/lib/ui-actions.d.ts +0 -12
- package/dist-lib/lib/utils.d.ts +0 -9
- package/dist-lib/lib/variants.d.ts +0 -7
- package/dist-lib/lib/versionTracker.d.ts +0 -72
- package/dist-lib/lib/viewport-category.d.ts +0 -44
- package/dist-lib/main.d.ts +0 -1
- package/dist-lib/registry-nSeHd5si.js +0 -1956
- package/dist-lib/safe-url-oSJw5pzO.js +0 -34
- package/dist-lib/stores/auth.d.ts +0 -16
- package/dist-lib/stores/list-layout.d.ts +0 -85
- package/dist-lib/stores/page-state.d.ts +0 -61
- package/dist-lib/stores/preferences.d.ts +0 -37
- package/dist-lib/stores/realtime.d.ts +0 -96
- package/dist-lib/stores/screen-registry.d.ts +0 -17
- package/dist-lib/stores/tabs.d.ts +0 -73
- package/dist-lib/types/api.d.ts +0 -579
- package/dist-lib/types/fieldType.d.ts +0 -2
- package/dist-lib/types/files.d.ts +0 -79
- package/dist-lib/types/ordmap.d.ts +0 -39
- package/dist-lib/types/schema.d.ts +0 -1089
- package/dist-lib/useCurrentScreen-0WBj7wT6.js +0 -7860
- package/dist-lib/useListQuery-C7dq_sEo.js +0 -103
- package/dist-lib/useOwnRefresh-q80kCMMh.js +0 -1167
- package/dist-lib/useProperties-CeGKtq7Q.js +0 -83
- package/dist-lib/useTabSearchMirror-CzNAj82Q.js +0 -175
- package/dist-lib/useText-BsedsJ-J.js +0 -952
- package/dist-lib/vite/fingerprint-plugin.d.ts +0 -44
|
@@ -0,0 +1,441 @@
|
|
|
1
|
+
import { Ft as e, Nt as t, wn as n, wt as r, xt as i } from "./useCurrentScreen--UovgvRj.js";
|
|
2
|
+
import { r as a } from "./CopyButton-C0iEvaT1.js";
|
|
3
|
+
import { t as o } from "./Pill-D-wsfRhx.js";
|
|
4
|
+
import { t as s } from "./DynamicIcon-DuBSz6TZ.js";
|
|
5
|
+
import { t as c } from "./page-inset-D_kkVwwN.js";
|
|
6
|
+
import { useMemo as l, useState as u } from "react";
|
|
7
|
+
import { jsx as d, jsxs as f } from "react/jsx-runtime";
|
|
8
|
+
//#region src/components/pages/AdminCatalogPage.impl.tsx
|
|
9
|
+
var p = "string", m = "handler";
|
|
10
|
+
function h() {
|
|
11
|
+
let { data: t } = e(), n = r(), [o, s] = u("handlers"), l = i().isPhone;
|
|
12
|
+
return t ? /* @__PURE__ */ f("div", {
|
|
13
|
+
style: {
|
|
14
|
+
display: "flex",
|
|
15
|
+
flexDirection: "column",
|
|
16
|
+
height: "100%"
|
|
17
|
+
},
|
|
18
|
+
children: [/* @__PURE__ */ f("div", {
|
|
19
|
+
style: {
|
|
20
|
+
paddingTop: l ? 14 : 20,
|
|
21
|
+
paddingBottom: 0,
|
|
22
|
+
...l ? c(14) : {
|
|
23
|
+
paddingLeft: 20,
|
|
24
|
+
paddingRight: 20
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
children: [/* @__PURE__ */ d("div", {
|
|
28
|
+
style: {
|
|
29
|
+
display: "flex",
|
|
30
|
+
alignItems: "baseline",
|
|
31
|
+
gap: 10,
|
|
32
|
+
marginBottom: 12
|
|
33
|
+
},
|
|
34
|
+
children: /* @__PURE__ */ d("h1", {
|
|
35
|
+
style: {
|
|
36
|
+
margin: 0,
|
|
37
|
+
fontSize: 20,
|
|
38
|
+
fontWeight: 600,
|
|
39
|
+
letterSpacing: 0,
|
|
40
|
+
color: "var(--text)",
|
|
41
|
+
overflowWrap: "anywhere"
|
|
42
|
+
},
|
|
43
|
+
children: n("catalog.title", "Handler & Action Catalog")
|
|
44
|
+
})
|
|
45
|
+
}), /* @__PURE__ */ f("div", {
|
|
46
|
+
style: {
|
|
47
|
+
display: "flex",
|
|
48
|
+
gap: 6,
|
|
49
|
+
marginBottom: 14
|
|
50
|
+
},
|
|
51
|
+
children: [/* @__PURE__ */ d(a, {
|
|
52
|
+
kind: o === "handlers" ? "primary" : "default",
|
|
53
|
+
active: o === "handlers",
|
|
54
|
+
onClick: () => s("handlers"),
|
|
55
|
+
children: n("catalog.tab.handlers", "Handlers")
|
|
56
|
+
}), /* @__PURE__ */ d(a, {
|
|
57
|
+
kind: o === "actions" ? "primary" : "default",
|
|
58
|
+
active: o === "actions",
|
|
59
|
+
onClick: () => s("actions"),
|
|
60
|
+
children: n("catalog.tab.actions", "Actions")
|
|
61
|
+
})]
|
|
62
|
+
})]
|
|
63
|
+
}), /* @__PURE__ */ f("div", {
|
|
64
|
+
style: {
|
|
65
|
+
flex: 1,
|
|
66
|
+
overflowY: "auto",
|
|
67
|
+
paddingTop: 0,
|
|
68
|
+
paddingBottom: 20,
|
|
69
|
+
...l ? c(14) : {
|
|
70
|
+
paddingLeft: 20,
|
|
71
|
+
paddingRight: 20
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
children: [o === "handlers" && /* @__PURE__ */ d(g, { schema: t }), o === "actions" && /* @__PURE__ */ d(y, { schema: t })]
|
|
75
|
+
})]
|
|
76
|
+
}) : null;
|
|
77
|
+
}
|
|
78
|
+
function g({ schema: e }) {
|
|
79
|
+
let n = r(), i = l(() => {
|
|
80
|
+
let t = [];
|
|
81
|
+
if (e.handlers) for (let [n, r] of Object.entries(e.handlers)) t.push({
|
|
82
|
+
code: n,
|
|
83
|
+
handler: r
|
|
84
|
+
});
|
|
85
|
+
for (let [n, r] of Object.entries(e.entities)) if (r.handlers) for (let [e, i] of Object.entries(r.handlers)) t.push({
|
|
86
|
+
code: `${n}.${e}`,
|
|
87
|
+
handler: i,
|
|
88
|
+
entity: n
|
|
89
|
+
});
|
|
90
|
+
return t.sort((e, t) => e.code.localeCompare(t.code));
|
|
91
|
+
}, [e]);
|
|
92
|
+
return /* @__PURE__ */ f("div", {
|
|
93
|
+
style: {
|
|
94
|
+
display: "flex",
|
|
95
|
+
flexDirection: "column",
|
|
96
|
+
gap: 10
|
|
97
|
+
},
|
|
98
|
+
children: [/* @__PURE__ */ d("p", {
|
|
99
|
+
style: {
|
|
100
|
+
fontSize: 12.5,
|
|
101
|
+
color: "var(--text-3)",
|
|
102
|
+
margin: 0
|
|
103
|
+
},
|
|
104
|
+
children: t(n, "catalog.handlers.count", i.length, {
|
|
105
|
+
one: "{count} handler registered (view-only — source of truth is code/YAML)",
|
|
106
|
+
other: "{count} handlers registered (view-only — source of truth is code/YAML)"
|
|
107
|
+
})
|
|
108
|
+
}), /* @__PURE__ */ d("div", {
|
|
109
|
+
style: {
|
|
110
|
+
display: "flex",
|
|
111
|
+
flexDirection: "column",
|
|
112
|
+
gap: 8
|
|
113
|
+
},
|
|
114
|
+
children: i.map(({ code: e, handler: t, entity: n }) => /* @__PURE__ */ d(_, {
|
|
115
|
+
code: e,
|
|
116
|
+
handler: t,
|
|
117
|
+
entity: n
|
|
118
|
+
}, e))
|
|
119
|
+
})]
|
|
120
|
+
});
|
|
121
|
+
}
|
|
122
|
+
function _({ code: e, handler: t, entity: n }) {
|
|
123
|
+
let a = r(), [c, l] = u(!1), p = i().isPhone, m = t.display?.name ? a(t.display.name) : e;
|
|
124
|
+
return /* @__PURE__ */ f("div", {
|
|
125
|
+
style: {
|
|
126
|
+
border: "1px solid var(--border)",
|
|
127
|
+
borderRadius: 8,
|
|
128
|
+
padding: 14,
|
|
129
|
+
background: "var(--surface)"
|
|
130
|
+
},
|
|
131
|
+
children: [/* @__PURE__ */ f("div", {
|
|
132
|
+
style: {
|
|
133
|
+
display: "flex",
|
|
134
|
+
alignItems: p ? "stretch" : "center",
|
|
135
|
+
flexDirection: p ? "column" : "row",
|
|
136
|
+
justifyContent: "space-between",
|
|
137
|
+
gap: p ? 10 : 12,
|
|
138
|
+
cursor: "pointer",
|
|
139
|
+
minWidth: 0
|
|
140
|
+
},
|
|
141
|
+
onClick: () => l((e) => !e),
|
|
142
|
+
children: [/* @__PURE__ */ f("div", {
|
|
143
|
+
style: {
|
|
144
|
+
display: "flex",
|
|
145
|
+
alignItems: "center",
|
|
146
|
+
gap: 10,
|
|
147
|
+
minWidth: 0
|
|
148
|
+
},
|
|
149
|
+
children: [t.display?.icon && /* @__PURE__ */ d("span", {
|
|
150
|
+
style: {
|
|
151
|
+
color: "var(--text-3)",
|
|
152
|
+
display: "flex"
|
|
153
|
+
},
|
|
154
|
+
children: /* @__PURE__ */ d(s, {
|
|
155
|
+
name: t.display.icon,
|
|
156
|
+
size: 14
|
|
157
|
+
})
|
|
158
|
+
}), /* @__PURE__ */ f("div", {
|
|
159
|
+
style: { minWidth: 0 },
|
|
160
|
+
children: [/* @__PURE__ */ d("span", {
|
|
161
|
+
className: "mono",
|
|
162
|
+
style: {
|
|
163
|
+
fontSize: 12.5,
|
|
164
|
+
fontWeight: 500,
|
|
165
|
+
overflowWrap: "anywhere"
|
|
166
|
+
},
|
|
167
|
+
children: e
|
|
168
|
+
}), m !== e && /* @__PURE__ */ d("span", {
|
|
169
|
+
style: {
|
|
170
|
+
marginLeft: 8,
|
|
171
|
+
fontSize: 12.5,
|
|
172
|
+
color: "var(--text-3)",
|
|
173
|
+
overflowWrap: "anywhere"
|
|
174
|
+
},
|
|
175
|
+
children: m
|
|
176
|
+
})]
|
|
177
|
+
})]
|
|
178
|
+
}), /* @__PURE__ */ f("div", {
|
|
179
|
+
style: {
|
|
180
|
+
display: "flex",
|
|
181
|
+
alignItems: "center",
|
|
182
|
+
gap: 6,
|
|
183
|
+
flexWrap: "wrap",
|
|
184
|
+
justifyContent: p ? "flex-start" : "flex-end"
|
|
185
|
+
},
|
|
186
|
+
children: [/* @__PURE__ */ d(o, {
|
|
187
|
+
tone: "slate",
|
|
188
|
+
size: "xs",
|
|
189
|
+
children: t.type
|
|
190
|
+
}), n && /* @__PURE__ */ d(o, {
|
|
191
|
+
tone: "violet",
|
|
192
|
+
size: "xs",
|
|
193
|
+
children: n
|
|
194
|
+
})]
|
|
195
|
+
})]
|
|
196
|
+
}), c && t.params && t.params.length > 0 && /* @__PURE__ */ f("div", {
|
|
197
|
+
style: {
|
|
198
|
+
marginTop: 12,
|
|
199
|
+
borderTop: "1px solid var(--divider)",
|
|
200
|
+
paddingTop: 12
|
|
201
|
+
},
|
|
202
|
+
children: [/* @__PURE__ */ d("p", {
|
|
203
|
+
style: {
|
|
204
|
+
fontSize: 10.5,
|
|
205
|
+
fontWeight: 600,
|
|
206
|
+
color: "var(--text-3)",
|
|
207
|
+
marginBottom: 8,
|
|
208
|
+
marginTop: 0,
|
|
209
|
+
textTransform: "uppercase",
|
|
210
|
+
letterSpacing: "0.04em"
|
|
211
|
+
},
|
|
212
|
+
children: a("catalog.handler.parameters", "Parameters")
|
|
213
|
+
}), /* @__PURE__ */ d("div", {
|
|
214
|
+
style: {
|
|
215
|
+
display: "flex",
|
|
216
|
+
flexDirection: "column",
|
|
217
|
+
gap: 4
|
|
218
|
+
},
|
|
219
|
+
children: (t.params?.names() ?? []).map((e) => {
|
|
220
|
+
let n = t.params.get(e);
|
|
221
|
+
return n ? /* @__PURE__ */ d(v, {
|
|
222
|
+
code: e,
|
|
223
|
+
param: n
|
|
224
|
+
}, e) : null;
|
|
225
|
+
})
|
|
226
|
+
})]
|
|
227
|
+
})]
|
|
228
|
+
});
|
|
229
|
+
}
|
|
230
|
+
function v({ code: e, param: t }) {
|
|
231
|
+
let a = r(), s = t.display?.name ? a(t.display.name) : void 0, c = i().isPhone;
|
|
232
|
+
return /* @__PURE__ */ f("div", {
|
|
233
|
+
style: {
|
|
234
|
+
display: "flex",
|
|
235
|
+
alignItems: "center",
|
|
236
|
+
gap: 8,
|
|
237
|
+
fontSize: 12,
|
|
238
|
+
padding: "2px 0",
|
|
239
|
+
flexWrap: "wrap",
|
|
240
|
+
minWidth: 0
|
|
241
|
+
},
|
|
242
|
+
children: [
|
|
243
|
+
/* @__PURE__ */ d("span", {
|
|
244
|
+
className: "mono",
|
|
245
|
+
style: {
|
|
246
|
+
fontSize: 11,
|
|
247
|
+
width: c ? "auto" : 128,
|
|
248
|
+
flexShrink: 0,
|
|
249
|
+
overflowWrap: "anywhere"
|
|
250
|
+
},
|
|
251
|
+
children: e
|
|
252
|
+
}),
|
|
253
|
+
/* @__PURE__ */ d(o, {
|
|
254
|
+
tone: "slate",
|
|
255
|
+
size: "xs",
|
|
256
|
+
children: t.type || p
|
|
257
|
+
}),
|
|
258
|
+
t.required && /* @__PURE__ */ d(o, {
|
|
259
|
+
tone: "rose",
|
|
260
|
+
size: "xs",
|
|
261
|
+
children: a("catalog.param.required", "required")
|
|
262
|
+
}),
|
|
263
|
+
t.hidden && /* @__PURE__ */ d(o, {
|
|
264
|
+
tone: "slate",
|
|
265
|
+
size: "xs",
|
|
266
|
+
children: a("catalog.param.hidden", "hidden")
|
|
267
|
+
}),
|
|
268
|
+
t.default != null && /* @__PURE__ */ d("span", {
|
|
269
|
+
style: {
|
|
270
|
+
fontSize: 11,
|
|
271
|
+
color: "var(--text-3)",
|
|
272
|
+
overflowWrap: "anywhere"
|
|
273
|
+
},
|
|
274
|
+
children: a("catalog.param.default", "default: {value}", { value: n(t.default) })
|
|
275
|
+
}),
|
|
276
|
+
s && /* @__PURE__ */ d("span", {
|
|
277
|
+
style: {
|
|
278
|
+
fontSize: 11,
|
|
279
|
+
color: "var(--text-3)",
|
|
280
|
+
overflowWrap: "anywhere"
|
|
281
|
+
},
|
|
282
|
+
children: s
|
|
283
|
+
})
|
|
284
|
+
]
|
|
285
|
+
});
|
|
286
|
+
}
|
|
287
|
+
function y({ schema: e }) {
|
|
288
|
+
let n = r(), i = l(() => {
|
|
289
|
+
let t = [];
|
|
290
|
+
if (e.actions) for (let [n, r] of Object.entries(e.actions)) t.push({
|
|
291
|
+
code: n,
|
|
292
|
+
action: r
|
|
293
|
+
});
|
|
294
|
+
for (let [n, r] of Object.entries(e.entities)) if (r.actions) for (let [e, i] of Object.entries(r.actions)) t.push({
|
|
295
|
+
code: `${n}.${e}`,
|
|
296
|
+
action: i,
|
|
297
|
+
entity: n
|
|
298
|
+
});
|
|
299
|
+
return t.sort((e, t) => e.code.localeCompare(t.code));
|
|
300
|
+
}, [e]), a = l(() => {
|
|
301
|
+
let e = {};
|
|
302
|
+
for (let t of i) {
|
|
303
|
+
let n = t.entity ?? "";
|
|
304
|
+
e[n] || (e[n] = []), e[n].push(t);
|
|
305
|
+
}
|
|
306
|
+
return Object.entries(e).sort(([e], [t]) => e.localeCompare(t));
|
|
307
|
+
}, [i]);
|
|
308
|
+
return /* @__PURE__ */ f("div", {
|
|
309
|
+
style: {
|
|
310
|
+
display: "flex",
|
|
311
|
+
flexDirection: "column",
|
|
312
|
+
gap: 14
|
|
313
|
+
},
|
|
314
|
+
children: [/* @__PURE__ */ d("p", {
|
|
315
|
+
style: {
|
|
316
|
+
fontSize: 12.5,
|
|
317
|
+
color: "var(--text-3)",
|
|
318
|
+
margin: 0
|
|
319
|
+
},
|
|
320
|
+
children: t(n, "catalog.actions.count", i.length, {
|
|
321
|
+
one: "{count} action defined (view-only — source of truth is code/YAML)",
|
|
322
|
+
other: "{count} actions defined (view-only — source of truth is code/YAML)"
|
|
323
|
+
})
|
|
324
|
+
}), a.map(([e, t]) => /* @__PURE__ */ f("div", { children: [/* @__PURE__ */ d("h3", {
|
|
325
|
+
style: {
|
|
326
|
+
fontSize: 12.5,
|
|
327
|
+
fontWeight: 600,
|
|
328
|
+
margin: "0 0 8px 0",
|
|
329
|
+
color: "var(--text)"
|
|
330
|
+
},
|
|
331
|
+
children: e || n("catalog.actions.global", "(global)")
|
|
332
|
+
}), /* @__PURE__ */ d("div", {
|
|
333
|
+
style: {
|
|
334
|
+
display: "flex",
|
|
335
|
+
flexDirection: "column",
|
|
336
|
+
gap: 6
|
|
337
|
+
},
|
|
338
|
+
children: t.map(({ code: e, action: t }) => /* @__PURE__ */ d(b, {
|
|
339
|
+
code: e,
|
|
340
|
+
action: t
|
|
341
|
+
}, e))
|
|
342
|
+
})] }, e))]
|
|
343
|
+
});
|
|
344
|
+
}
|
|
345
|
+
function b({ code: e, action: t }) {
|
|
346
|
+
let n = r()(t.display?.name), a = i().isPhone;
|
|
347
|
+
return /* @__PURE__ */ f("div", {
|
|
348
|
+
style: {
|
|
349
|
+
border: "1px solid var(--border)",
|
|
350
|
+
borderRadius: 8,
|
|
351
|
+
padding: 12,
|
|
352
|
+
display: "flex",
|
|
353
|
+
flexDirection: a ? "column" : "row",
|
|
354
|
+
alignItems: a ? "stretch" : "center",
|
|
355
|
+
justifyContent: "space-between",
|
|
356
|
+
gap: a ? 10 : 12,
|
|
357
|
+
background: "var(--surface)",
|
|
358
|
+
minWidth: 0
|
|
359
|
+
},
|
|
360
|
+
children: [/* @__PURE__ */ f("div", {
|
|
361
|
+
style: {
|
|
362
|
+
display: "flex",
|
|
363
|
+
alignItems: "center",
|
|
364
|
+
gap: 10,
|
|
365
|
+
minWidth: 0
|
|
366
|
+
},
|
|
367
|
+
children: [t.display?.icon && /* @__PURE__ */ d("span", {
|
|
368
|
+
style: {
|
|
369
|
+
color: "var(--text-3)",
|
|
370
|
+
display: "flex"
|
|
371
|
+
},
|
|
372
|
+
children: /* @__PURE__ */ d(s, {
|
|
373
|
+
name: t.display.icon,
|
|
374
|
+
size: 14
|
|
375
|
+
})
|
|
376
|
+
}), /* @__PURE__ */ f("div", {
|
|
377
|
+
style: { minWidth: 0 },
|
|
378
|
+
children: [/* @__PURE__ */ d("span", {
|
|
379
|
+
className: "mono",
|
|
380
|
+
style: {
|
|
381
|
+
fontSize: 12.5,
|
|
382
|
+
overflowWrap: "anywhere"
|
|
383
|
+
},
|
|
384
|
+
children: e
|
|
385
|
+
}), n && n !== e && /* @__PURE__ */ d("span", {
|
|
386
|
+
style: {
|
|
387
|
+
marginLeft: 8,
|
|
388
|
+
fontSize: 12.5,
|
|
389
|
+
color: "var(--text-3)",
|
|
390
|
+
overflowWrap: "anywhere"
|
|
391
|
+
},
|
|
392
|
+
children: n
|
|
393
|
+
})]
|
|
394
|
+
})]
|
|
395
|
+
}), /* @__PURE__ */ f("div", {
|
|
396
|
+
style: {
|
|
397
|
+
display: "flex",
|
|
398
|
+
alignItems: "center",
|
|
399
|
+
gap: 6,
|
|
400
|
+
flexWrap: "wrap",
|
|
401
|
+
justifyContent: a ? "flex-start" : "flex-end"
|
|
402
|
+
},
|
|
403
|
+
children: [
|
|
404
|
+
(() => {
|
|
405
|
+
let e = t.handler ? "handler" : t.association ? "association" : t.widget ? "widget" : t.href ? "href" : null;
|
|
406
|
+
return e ? /* @__PURE__ */ d(o, {
|
|
407
|
+
tone: "slate",
|
|
408
|
+
size: "xs",
|
|
409
|
+
children: e
|
|
410
|
+
}) : null;
|
|
411
|
+
})(),
|
|
412
|
+
t.handler && /* @__PURE__ */ f("span", {
|
|
413
|
+
className: "mono",
|
|
414
|
+
style: {
|
|
415
|
+
fontSize: 11,
|
|
416
|
+
color: "var(--text-3)",
|
|
417
|
+
overflowWrap: "anywhere"
|
|
418
|
+
},
|
|
419
|
+
children: [
|
|
420
|
+
m,
|
|
421
|
+
": ",
|
|
422
|
+
t.handler
|
|
423
|
+
]
|
|
424
|
+
}),
|
|
425
|
+
t.visibility && t.visibility.length > 0 && /* @__PURE__ */ d("div", {
|
|
426
|
+
style: {
|
|
427
|
+
display: "flex",
|
|
428
|
+
gap: 4
|
|
429
|
+
},
|
|
430
|
+
children: t.visibility.map((e) => /* @__PURE__ */ d(o, {
|
|
431
|
+
tone: "slate",
|
|
432
|
+
size: "xs",
|
|
433
|
+
children: e
|
|
434
|
+
}, e))
|
|
435
|
+
})
|
|
436
|
+
]
|
|
437
|
+
})]
|
|
438
|
+
});
|
|
439
|
+
}
|
|
440
|
+
//#endregion
|
|
441
|
+
export { h as AdminCatalogPage };
|