@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
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { cn as e } from "./useCurrentScreen--UovgvRj.js";
|
|
2
|
+
import { p as t } from "./ActionRunner-DAxgnKB3.js";
|
|
2
3
|
//#region src/components/pages/list/cardProjection.ts
|
|
3
4
|
var n = 4, r = 2, i = 2, a = [
|
|
4
5
|
"screen_card",
|
|
@@ -21,6 +22,13 @@ var n = 4, r = 2, i = 2, a = [
|
|
|
21
22
|
"time",
|
|
22
23
|
"timestamp"
|
|
23
24
|
]), u = /* @__PURE__ */ new Set([
|
|
25
|
+
"string",
|
|
26
|
+
"email",
|
|
27
|
+
"url",
|
|
28
|
+
"phone",
|
|
29
|
+
"ref",
|
|
30
|
+
"multilang"
|
|
31
|
+
]), d = /* @__PURE__ */ new Set([
|
|
24
32
|
"string",
|
|
25
33
|
"text",
|
|
26
34
|
"email",
|
|
@@ -46,37 +54,37 @@ var n = 4, r = 2, i = 2, a = [
|
|
|
46
54
|
"enum",
|
|
47
55
|
"status"
|
|
48
56
|
]);
|
|
49
|
-
function d(e) {
|
|
50
|
-
let { entity: t, screen: n, savedViewColumns: r } = e, i = n?.card;
|
|
51
|
-
if (i) return g(t, i, "screen_card");
|
|
52
|
-
if (t?.card) return g(t, t.card, "entity_card");
|
|
53
|
-
let a = y(t, n, r);
|
|
54
|
-
return _(t, a.columns, a.source);
|
|
55
|
-
}
|
|
56
57
|
function f(e) {
|
|
57
|
-
let { entity: t, screen: n,
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
let
|
|
58
|
+
let { entity: t, screen: n, savedViewColumns: r } = e, i = n?.card;
|
|
59
|
+
if (i) return _(t, i, "screen_card");
|
|
60
|
+
if (t?.card) return _(t, t.card, "entity_card");
|
|
61
|
+
let a = b(t, n, r);
|
|
62
|
+
return v(t, a.columns, a.source);
|
|
63
|
+
}
|
|
64
|
+
function p(e) {
|
|
65
|
+
let { entity: t, screen: n, presentation: r, visibleColumns: i, card: a, rowActions: o, toolbarActions: s, bulkActions: c, sort: l, includeDetailHandoff: u = !0, screens: d } = e, f = new X(), p = r === "cards" ? a.renderFields : S(t, i, { explicit: !0 }), g = r === "cards" ? h(t, n) : [];
|
|
66
|
+
for (let e of p) f.addField(e, "render"), K(t, e, f, "render");
|
|
67
|
+
for (let e of g) p.includes(e) || (f.addField(e, "variant"), K(t, e, f, "variant"));
|
|
68
|
+
let _ = N(t, f), v = R(t, [
|
|
61
69
|
o,
|
|
62
70
|
s,
|
|
63
71
|
c
|
|
64
|
-
], f), y =
|
|
72
|
+
], f), y = m(t, n, f), b = z(t, l, f), x = B(t, n, d, f);
|
|
65
73
|
if (u) for (let e of _) f.addField(e, "detail_handoff");
|
|
66
|
-
let C = new
|
|
74
|
+
let C = new Y();
|
|
67
75
|
for (let e of _) C.add(e);
|
|
68
76
|
for (let e of v) C.add(e);
|
|
69
77
|
for (let e of y) C.add(e);
|
|
70
78
|
for (let e of g) C.add(e);
|
|
71
79
|
for (let e of b) C.add(e);
|
|
72
|
-
for (let e of
|
|
73
|
-
let w = new
|
|
74
|
-
for (let e of
|
|
75
|
-
for (let e of C.values())
|
|
76
|
-
let T = w.values(), E =
|
|
80
|
+
for (let e of x) C.add(e);
|
|
81
|
+
let w = new Y();
|
|
82
|
+
for (let e of p) G(t, e, w, f);
|
|
83
|
+
for (let e of C.values()) G(t, e, w, f);
|
|
84
|
+
let T = w.values(), E = q(f);
|
|
77
85
|
return {
|
|
78
|
-
renderFields:
|
|
79
|
-
dependencyFields: C.values().filter((e) => !
|
|
86
|
+
renderFields: p,
|
|
87
|
+
dependencyFields: C.values().filter((e) => !p.includes(e)),
|
|
80
88
|
conditionFields: v,
|
|
81
89
|
identityFields: _,
|
|
82
90
|
sortFields: b,
|
|
@@ -85,8 +93,8 @@ function f(e) {
|
|
|
85
93
|
reasons: f.snapshot()
|
|
86
94
|
};
|
|
87
95
|
}
|
|
88
|
-
function
|
|
89
|
-
let r = new
|
|
96
|
+
function m(e, t, n) {
|
|
97
|
+
let r = new Y(), i = (t) => {
|
|
90
98
|
for (let n of t) n.and ? i(n.and) : n.or ? i(n.or) : n.field && e?.fields.has(n.field) && r.add(n.field);
|
|
91
99
|
};
|
|
92
100
|
for (let t of e?.variants?.items() ?? []) t.when && i(t.when);
|
|
@@ -94,9 +102,9 @@ function p(e, t, n) {
|
|
|
94
102
|
for (let e of r.values()) n.addField(e, "variant");
|
|
95
103
|
return r.values();
|
|
96
104
|
}
|
|
97
|
-
function
|
|
98
|
-
let r = new
|
|
99
|
-
for (let i of
|
|
105
|
+
function h(e, t, n) {
|
|
106
|
+
let r = new Y();
|
|
107
|
+
for (let i of f({
|
|
100
108
|
entity: e,
|
|
101
109
|
screen: t,
|
|
102
110
|
savedViewColumns: n
|
|
@@ -104,7 +112,7 @@ function m(e, t, n) {
|
|
|
104
112
|
for (let i of t?.variants?.items() ?? []) {
|
|
105
113
|
let a = { ...t };
|
|
106
114
|
i.card !== void 0 && (a.card = i.card);
|
|
107
|
-
for (let t of
|
|
115
|
+
for (let t of f({
|
|
108
116
|
entity: e,
|
|
109
117
|
screen: a,
|
|
110
118
|
savedViewColumns: n
|
|
@@ -112,22 +120,22 @@ function m(e, t, n) {
|
|
|
112
120
|
}
|
|
113
121
|
return r.values();
|
|
114
122
|
}
|
|
115
|
-
function
|
|
123
|
+
function g(e, t, n) {
|
|
116
124
|
if (!e || t?.on_row_click !== "peek" || t.quick_peek?.enabled === !1) return [];
|
|
117
125
|
let r = t.quick_peek?.fields;
|
|
118
|
-
if (r && r.length > 0) return
|
|
126
|
+
if (r && r.length > 0) return S(e, r, { explicit: !0 });
|
|
119
127
|
let i = t.quick_peek?.sections;
|
|
120
128
|
if (i && i.length > 0) {
|
|
121
|
-
let r = Object.values(n ?? {}).find((e) => e.type === "detail" && e.entity === t.entity), a = new
|
|
122
|
-
|
|
123
|
-
let o =
|
|
129
|
+
let r = Object.values(n ?? {}).find((e) => e.type === "detail" && e.entity === t.entity), a = new Y();
|
|
130
|
+
V(r?.items, new Set(i.map(String)), a);
|
|
131
|
+
let o = S(e, a.values(), { explicit: !0 });
|
|
124
132
|
if (o.length > 0) return o;
|
|
125
133
|
}
|
|
126
|
-
return
|
|
134
|
+
return W(e);
|
|
127
135
|
}
|
|
128
|
-
function
|
|
129
|
-
let i = t.max_body_fields ?? n, a =
|
|
130
|
-
return
|
|
136
|
+
function _(e, t, r) {
|
|
137
|
+
let i = t.max_body_fields ?? n, a = C(e, t.title_field, { explicit: !0 }), o = C(e, t.subtitle_field, { explicit: !0 }), s = S(e, t.badge_fields ?? [], { explicit: !0 }), c = S(e, t.fields ?? [], { explicit: !0 }), l = S(e, t.meta_fields ?? [], { explicit: !0 });
|
|
138
|
+
return y({
|
|
131
139
|
source: r,
|
|
132
140
|
explicit: !0,
|
|
133
141
|
titleField: a,
|
|
@@ -140,29 +148,29 @@ function g(e, t, r) {
|
|
|
140
148
|
maxBodyFields: i
|
|
141
149
|
});
|
|
142
150
|
}
|
|
143
|
-
function
|
|
144
|
-
let o =
|
|
151
|
+
function v(e, t, a) {
|
|
152
|
+
let o = S(e, t, { explicit: !1 }), s = n, c = C(e, e?.display?.display_field, { explicit: !1 }), l = c ?? w(e, o, {
|
|
145
153
|
allowLong: !1,
|
|
146
154
|
allowAuto: !1
|
|
147
|
-
}), u = c !== void 0, d = l ? /* @__PURE__ */ new Set([l]) : void 0, f = o.find((t) => !d?.has(t) &&
|
|
155
|
+
}), u = c !== void 0, d = l ? /* @__PURE__ */ new Set([l]) : void 0, f = o.find((t) => !d?.has(t) && E(e, t)), p = new Set([l, f].filter((e) => !!e)), m = O(e, o).filter((e) => !p.has(e)).slice(0, r);
|
|
148
156
|
for (let e of m) p.add(e);
|
|
149
|
-
let h = o.filter((t) => !p.has(t) &&
|
|
157
|
+
let h = o.filter((t) => !p.has(t) && k(e, t)).slice(0, i);
|
|
150
158
|
for (let e of h) p.add(e);
|
|
151
|
-
return
|
|
159
|
+
return y({
|
|
152
160
|
source: a,
|
|
153
161
|
explicit: !1,
|
|
154
162
|
titleField: l,
|
|
155
163
|
titleUsesDisplay: u,
|
|
156
164
|
subtitleField: f,
|
|
157
165
|
badgeFields: m,
|
|
158
|
-
bodyFields: o.filter((t) => !p.has(t) &&
|
|
166
|
+
bodyFields: o.filter((t) => !p.has(t) && T(e, t)).slice(0, s),
|
|
159
167
|
metaFields: h,
|
|
160
168
|
hideEmptyFields: !0,
|
|
161
169
|
maxBodyFields: s
|
|
162
170
|
});
|
|
163
171
|
}
|
|
164
|
-
function
|
|
165
|
-
let t = new
|
|
172
|
+
function y(e) {
|
|
173
|
+
let t = new Y(), n = [], r = (r, i) => {
|
|
166
174
|
r && !t.has(r) && (t.add(r), n.push({
|
|
167
175
|
field: r,
|
|
168
176
|
bucket: i,
|
|
@@ -189,7 +197,7 @@ function v(e) {
|
|
|
189
197
|
sourcePrecedence: a
|
|
190
198
|
};
|
|
191
199
|
}
|
|
192
|
-
function
|
|
200
|
+
function b(e, t, n) {
|
|
193
201
|
return n && n.length > 0 ? {
|
|
194
202
|
source: "saved_view_columns",
|
|
195
203
|
columns: n
|
|
@@ -201,10 +209,10 @@ function y(e, t, n) {
|
|
|
201
209
|
columns: t.columns
|
|
202
210
|
} : {
|
|
203
211
|
source: "entity_inference",
|
|
204
|
-
columns:
|
|
212
|
+
columns: x(e)
|
|
205
213
|
};
|
|
206
214
|
}
|
|
207
|
-
function
|
|
215
|
+
function x(e) {
|
|
208
216
|
if (!e) return [];
|
|
209
217
|
let t = [];
|
|
210
218
|
e.display.display_field && t.push(e.display.display_field);
|
|
@@ -214,15 +222,15 @@ function b(e) {
|
|
|
214
222
|
if (e.evidence_covered && t.push("$evidence"), e.files) for (let [n] of e.files) t.push(n);
|
|
215
223
|
return t;
|
|
216
224
|
}
|
|
217
|
-
function
|
|
218
|
-
let r = new
|
|
225
|
+
function S(e, t, n) {
|
|
226
|
+
let r = new Y();
|
|
219
227
|
for (let i of t) {
|
|
220
|
-
let t =
|
|
228
|
+
let t = C(e, i, n);
|
|
221
229
|
t && r.add(t);
|
|
222
230
|
}
|
|
223
231
|
return r.values();
|
|
224
232
|
}
|
|
225
|
-
function
|
|
233
|
+
function C(e, t, n) {
|
|
226
234
|
if (!t || o.has(t)) return;
|
|
227
235
|
if (!e) return t.startsWith("$") ? void 0 : t;
|
|
228
236
|
if (t.startsWith("$status.")) {
|
|
@@ -238,57 +246,59 @@ function S(e, t, n) {
|
|
|
238
246
|
let r = e.fields.get(t), i = e.files?.get(t);
|
|
239
247
|
if ((r || i) && (n.explicit || !(r && r.display?.is_listable === !1) && !(i && i.display?.is_listable === !1))) return t;
|
|
240
248
|
}
|
|
241
|
-
function
|
|
242
|
-
return t.find((t) => n.exclude?.has(t) || !n.allowAuto &&
|
|
243
|
-
}
|
|
244
|
-
function w(e, t) {
|
|
245
|
-
return !(!k(e, t) || A(e, t) || j(e, t));
|
|
249
|
+
function w(e, t, n) {
|
|
250
|
+
return t.find((t) => n.exclude?.has(t) || !n.allowAuto && j(e, t) || !n.allowLong && M(e, t) ? !1 : A(e, t));
|
|
246
251
|
}
|
|
247
252
|
function T(e, t) {
|
|
248
|
-
return !(!
|
|
253
|
+
return !(!A(e, t) || j(e, t) || M(e, t));
|
|
249
254
|
}
|
|
250
255
|
function E(e, t) {
|
|
256
|
+
if (j(e, t)) return !1;
|
|
257
|
+
let n = J(e, t);
|
|
258
|
+
return n.kind === "field" && u.has(n.field.type);
|
|
259
|
+
}
|
|
260
|
+
function D(e, t) {
|
|
251
261
|
if (t.startsWith("$status.") || t.startsWith("$property.") || t === "$evidence") return !0;
|
|
252
|
-
let n =
|
|
262
|
+
let n = J(e, t);
|
|
253
263
|
return n.kind === "field" && c.has(n.field.type);
|
|
254
264
|
}
|
|
255
|
-
function
|
|
256
|
-
let n = new
|
|
265
|
+
function O(e, t) {
|
|
266
|
+
let n = new Y();
|
|
257
267
|
for (let e of t) (e.startsWith("$status.") || e.startsWith("$property.") || e === "$evidence") && n.add(e);
|
|
258
|
-
for (let r of t)
|
|
268
|
+
for (let r of t) D(e, r) && n.add(r);
|
|
259
269
|
return n.values();
|
|
260
270
|
}
|
|
261
|
-
function O(e, t) {
|
|
262
|
-
if (A(e, t)) return !1;
|
|
263
|
-
let n = q(e, t);
|
|
264
|
-
return n.kind === "field" && l.has(n.field.type);
|
|
265
|
-
}
|
|
266
271
|
function k(e, t) {
|
|
267
|
-
|
|
272
|
+
if (j(e, t)) return !1;
|
|
273
|
+
let n = J(e, t);
|
|
274
|
+
return n.kind === "field" && l.has(n.field.type);
|
|
268
275
|
}
|
|
269
276
|
function A(e, t) {
|
|
270
|
-
|
|
271
|
-
return n.kind === "field" && (n.field.primary === !0 || n.field.auto === !0);
|
|
277
|
+
return J(e, t).kind !== "missing";
|
|
272
278
|
}
|
|
273
279
|
function j(e, t) {
|
|
274
|
-
let n =
|
|
280
|
+
let n = J(e, t);
|
|
281
|
+
return n.kind === "field" && (n.field.primary === !0 || n.field.auto === !0);
|
|
282
|
+
}
|
|
283
|
+
function M(e, t) {
|
|
284
|
+
let n = J(e, t);
|
|
275
285
|
return n.kind === "file" ? n.file.mode !== "single" : n.kind === "field" && s.has(n.field.type);
|
|
276
286
|
}
|
|
277
|
-
function
|
|
278
|
-
if (!
|
|
279
|
-
let r = new
|
|
280
|
-
for (let i of t
|
|
281
|
-
let i =
|
|
282
|
-
i && (r.add(i), n.addField(i, "display"),
|
|
283
|
-
for (let
|
|
284
|
-
let i =
|
|
285
|
-
i && (r.add(i), n.addField(i, "display_template"),
|
|
287
|
+
function N(t, n) {
|
|
288
|
+
if (!t) return [];
|
|
289
|
+
let r = new Y();
|
|
290
|
+
for (let i of e(t)) r.add(i), n.addField(i, "identity");
|
|
291
|
+
let i = C(t, t.display.display_field, { explicit: !0 });
|
|
292
|
+
i && (r.add(i), n.addField(i, "display"), K(t, i, n, "display"));
|
|
293
|
+
for (let e of P(t.display.display_template)) {
|
|
294
|
+
let i = C(t, e, { explicit: !0 });
|
|
295
|
+
i && (r.add(i), n.addField(i, "display_template"), K(t, i, n, "display_template"));
|
|
286
296
|
}
|
|
287
297
|
return r.values();
|
|
288
298
|
}
|
|
289
|
-
function
|
|
299
|
+
function P(e) {
|
|
290
300
|
if (!e) return [];
|
|
291
|
-
let t = new
|
|
301
|
+
let t = new Y(), n = 0;
|
|
292
302
|
for (; n < e.length;) {
|
|
293
303
|
let r = e.indexOf("${", n);
|
|
294
304
|
if (r < 0) break;
|
|
@@ -296,93 +306,88 @@ function N(e) {
|
|
|
296
306
|
n = r + 2;
|
|
297
307
|
continue;
|
|
298
308
|
}
|
|
299
|
-
let i =
|
|
309
|
+
let i = F(e, r + 2);
|
|
300
310
|
if (i < 0) break;
|
|
301
|
-
for (let n of
|
|
311
|
+
for (let n of I(e.slice(r + 2, i))) t.add(n);
|
|
302
312
|
n = i + 1;
|
|
303
313
|
}
|
|
304
314
|
return t.values();
|
|
305
315
|
}
|
|
306
|
-
function
|
|
316
|
+
function F(e, t) {
|
|
307
317
|
let n = 0;
|
|
308
318
|
for (let r = t; r < e.length; r += 1) {
|
|
309
319
|
let t = e[r];
|
|
310
|
-
if (t === "{")
|
|
311
|
-
|
|
312
|
-
continue;
|
|
313
|
-
}
|
|
314
|
-
if (t === "}") {
|
|
320
|
+
if (t === "{") n += 1;
|
|
321
|
+
else if (t === "}") {
|
|
315
322
|
if (n === 0) return r;
|
|
316
323
|
--n;
|
|
317
324
|
}
|
|
318
325
|
}
|
|
319
326
|
return -1;
|
|
320
327
|
}
|
|
321
|
-
function
|
|
322
|
-
let t = new
|
|
328
|
+
function I(e) {
|
|
329
|
+
let t = new Y(), n = 0;
|
|
323
330
|
for (; n < e.length;) {
|
|
324
331
|
let r = e.indexOf("row.", n);
|
|
325
332
|
if (r < 0) break;
|
|
326
|
-
if (r > 0 &&
|
|
333
|
+
if (r > 0 && L(e.charCodeAt(r - 1))) {
|
|
327
334
|
n = r + 4;
|
|
328
335
|
continue;
|
|
329
336
|
}
|
|
330
337
|
let i = r + 4, a = i;
|
|
331
|
-
for (; a < e.length &&
|
|
338
|
+
for (; a < e.length && L(e.charCodeAt(a));) a += 1;
|
|
332
339
|
a > i && t.add(e.slice(i, a)), n = a;
|
|
333
340
|
}
|
|
334
341
|
return t.values();
|
|
335
342
|
}
|
|
336
|
-
function
|
|
343
|
+
function L(e) {
|
|
337
344
|
return e >= 48 && e <= 57 || e >= 65 && e <= 90 || e >= 97 && e <= 122 || e === 95;
|
|
338
345
|
}
|
|
339
|
-
function
|
|
340
|
-
let r = new
|
|
346
|
+
function R(e, t, n) {
|
|
347
|
+
let r = new Y();
|
|
341
348
|
for (let i of t) for (let t of i ?? []) for (let i of [
|
|
342
349
|
...t.action.visible_if ?? [],
|
|
343
350
|
...t.action.enabled_if ?? [],
|
|
344
351
|
...t.action.conditions ?? []
|
|
345
352
|
]) {
|
|
346
|
-
let t =
|
|
347
|
-
t && (r.add(t), n.addField(t, "condition"),
|
|
353
|
+
let t = C(e, i.field, { explicit: !0 });
|
|
354
|
+
t && (r.add(t), n.addField(t, "condition"), K(e, t, n, "condition"));
|
|
348
355
|
}
|
|
349
356
|
return r.values();
|
|
350
357
|
}
|
|
351
|
-
function
|
|
352
|
-
let i = typeof n == "string" ?
|
|
353
|
-
for (let
|
|
354
|
-
let n =
|
|
355
|
-
n && (a.add(n), r.addField(n, "sort"),
|
|
358
|
+
function z(e, n, r) {
|
|
359
|
+
let i = typeof n == "string" ? t(n) : n ?? [], a = new Y();
|
|
360
|
+
for (let t of i) {
|
|
361
|
+
let n = C(e, t.field, { explicit: !0 });
|
|
362
|
+
n && (a.add(n), r.addField(n, "sort"), K(e, n, r, "sort"));
|
|
356
363
|
}
|
|
357
364
|
return a.values();
|
|
358
365
|
}
|
|
359
|
-
function
|
|
360
|
-
let i = new
|
|
361
|
-
if (a.length === 0 || a.some((e) => e.quick_peek === void 0)) for (let r of
|
|
366
|
+
function B(e, t, n, r) {
|
|
367
|
+
let i = new Y(), a = t?.variants?.items() ?? [];
|
|
368
|
+
if (a.length === 0 || a.some((e) => e.quick_peek === void 0)) for (let r of g(e, t, n)) i.add(r);
|
|
362
369
|
for (let r of a) {
|
|
363
370
|
if (r.quick_peek === void 0) continue;
|
|
364
371
|
let a = {
|
|
365
372
|
...t,
|
|
366
373
|
quick_peek: r.quick_peek
|
|
367
374
|
};
|
|
368
|
-
for (let t of
|
|
375
|
+
for (let t of g(e, a, n)) i.add(t);
|
|
369
376
|
}
|
|
370
|
-
for (let t of i.values()) r.addField(t, "quick_peek"),
|
|
377
|
+
for (let t of i.values()) r.addField(t, "quick_peek"), K(e, t, r, "quick_peek");
|
|
371
378
|
return i.values();
|
|
372
379
|
}
|
|
373
|
-
function
|
|
380
|
+
function V(e, t, n) {
|
|
374
381
|
if (Array.isArray(e)) {
|
|
375
382
|
for (let r of e) if (r && typeof r == "object") {
|
|
376
383
|
if ("section" in r) {
|
|
377
|
-
let e = r.section, i =
|
|
378
|
-
i && t.has(i) &&
|
|
379
|
-
|
|
380
|
-
}
|
|
381
|
-
"fields" in r && V([r], n);
|
|
384
|
+
let e = r.section, i = U(e?.name);
|
|
385
|
+
i && t.has(i) && H(e?.items, n);
|
|
386
|
+
} else "fields" in r && H([r], n);
|
|
382
387
|
}
|
|
383
388
|
}
|
|
384
389
|
}
|
|
385
|
-
function
|
|
390
|
+
function H(e, t) {
|
|
386
391
|
if (Array.isArray(e)) {
|
|
387
392
|
for (let n of e) if (n && typeof n == "object") {
|
|
388
393
|
if ("fields" in n) {
|
|
@@ -395,11 +400,11 @@ function V(e, t) {
|
|
|
395
400
|
}
|
|
396
401
|
}
|
|
397
402
|
}
|
|
398
|
-
"section" in n &&
|
|
403
|
+
"section" in n && H(n.section?.items, t);
|
|
399
404
|
}
|
|
400
405
|
}
|
|
401
406
|
}
|
|
402
|
-
function
|
|
407
|
+
function U(e) {
|
|
403
408
|
if (typeof e == "string") return e;
|
|
404
409
|
if (e && typeof e == "object") {
|
|
405
410
|
let t = Object.values(e).find((e) => typeof e == "string");
|
|
@@ -407,21 +412,21 @@ function H(e) {
|
|
|
407
412
|
}
|
|
408
413
|
return "";
|
|
409
414
|
}
|
|
410
|
-
function
|
|
415
|
+
function W(e) {
|
|
411
416
|
let t = [];
|
|
412
417
|
for (let [n, r] of e.fields) {
|
|
413
418
|
if (r.primary || r.auto || r.ref || r.array || r.structure || r.display?.is_listable === !1) continue;
|
|
414
419
|
let e = (r.type || "").toLowerCase(), i = !!(r.enum || r.values);
|
|
415
|
-
if ((
|
|
420
|
+
if ((d.has(e) || i) && (t.push(n), t.length >= 8)) break;
|
|
416
421
|
}
|
|
417
422
|
return t;
|
|
418
423
|
}
|
|
419
|
-
function
|
|
424
|
+
function G(e, t, n, r) {
|
|
420
425
|
if (!t || t.startsWith("$")) return;
|
|
421
|
-
let i =
|
|
426
|
+
let i = J(e, t);
|
|
422
427
|
i.kind !== "missing" && (n.add(t), i.kind === "file" && r.addField(t, "file_metadata"));
|
|
423
428
|
}
|
|
424
|
-
function
|
|
429
|
+
function K(e, t, n, r) {
|
|
425
430
|
if (t.startsWith("$status.")) {
|
|
426
431
|
n.addExpand("statuses", "status_expand"), r !== "status_expand" && n.addExpand("statuses", r), r !== "status_expand" && n.addField(t, r);
|
|
427
432
|
return;
|
|
@@ -436,14 +441,14 @@ function G(e, t, n, r) {
|
|
|
436
441
|
n.addExpand("evidence", "evidence_expand"), r !== "evidence_expand" && n.addExpand("evidence", r), r !== "evidence_expand" && n.addField(t, r);
|
|
437
442
|
return;
|
|
438
443
|
}
|
|
439
|
-
let i =
|
|
444
|
+
let i = J(e, t);
|
|
440
445
|
i.kind === "field" && i.field.type === "ref" && (n.addExpand("refs", "ref_expand"), r !== "ref_expand" && n.addExpand("refs", r));
|
|
441
446
|
}
|
|
442
|
-
function
|
|
447
|
+
function q(e) {
|
|
443
448
|
let t = e.snapshot().expand, n = [];
|
|
444
449
|
return t.refs && n.push("refs"), t.statuses && n.push("statuses"), t.properties && n.push("properties"), t.evidence && n.push("evidence"), n;
|
|
445
450
|
}
|
|
446
|
-
function
|
|
451
|
+
function J(e, t) {
|
|
447
452
|
if (!e) return { kind: t.startsWith("$") ? "synthetic" : "missing" };
|
|
448
453
|
if (t.startsWith("$status.")) return e.status_groups?.[t.slice(8)] ? { kind: "synthetic" } : { kind: "missing" };
|
|
449
454
|
if (t.startsWith("$property.")) return e.properties?.[t.slice(10)] ? { kind: "synthetic" } : { kind: "missing" };
|
|
@@ -459,7 +464,7 @@ function q(e, t) {
|
|
|
459
464
|
file: r
|
|
460
465
|
} : { kind: "missing" };
|
|
461
466
|
}
|
|
462
|
-
var
|
|
467
|
+
var Y = class {
|
|
463
468
|
#e = [];
|
|
464
469
|
#t = /* @__PURE__ */ new Set();
|
|
465
470
|
add(e) {
|
|
@@ -471,7 +476,7 @@ var J = class {
|
|
|
471
476
|
values() {
|
|
472
477
|
return [...this.#e];
|
|
473
478
|
}
|
|
474
|
-
},
|
|
479
|
+
}, X = class {
|
|
475
480
|
#e = /* @__PURE__ */ new Map();
|
|
476
481
|
#t = /* @__PURE__ */ new Map();
|
|
477
482
|
addField(e, t) {
|
|
@@ -488,12 +493,8 @@ var J = class {
|
|
|
488
493
|
}
|
|
489
494
|
add(e, t, n) {
|
|
490
495
|
let r = e.get(t);
|
|
491
|
-
|
|
492
|
-
e.set(t, [n]);
|
|
493
|
-
return;
|
|
494
|
-
}
|
|
495
|
-
r.includes(n) || r.push(n);
|
|
496
|
+
r ? r.includes(n) || r.push(n) : e.set(t, [n]);
|
|
496
497
|
}
|
|
497
498
|
};
|
|
498
499
|
//#endregion
|
|
499
|
-
export {
|
|
500
|
+
export { h as i, p as n, g as r, f as t };
|