@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,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as r } from "./
|
|
1
|
+
import { sn as e, wn as t, wt as n } from "./useCurrentScreen--UovgvRj.js";
|
|
2
|
+
import { t as r } from "./Pill-D-wsfRhx.js";
|
|
3
3
|
import { t as i } from "./Check-DAfMbQIw.js";
|
|
4
|
-
import { f as a, m as o,
|
|
5
|
-
import { t as l } from "./cardProjection-
|
|
6
|
-
import { t as u } from "./SmartListPage.impl-
|
|
4
|
+
import { f as a, m as o, n as s, p as c } from "./variants-CbAwl3Mn.js";
|
|
5
|
+
import { t as l } from "./cardProjection-Cr7fG6wJ.js";
|
|
6
|
+
import { t as u } from "./SmartListPage.impl-Cc4Zwz5f.js";
|
|
7
7
|
import { jsx as d, jsxs as f } from "react/jsx-runtime";
|
|
8
8
|
//#region src/components/pages/list/ListCardRow.tsx
|
|
9
9
|
function p(e, t, n, r) {
|
|
@@ -17,74 +17,74 @@ function p(e, t, n, r) {
|
|
|
17
17
|
}
|
|
18
18
|
return o(e, n, t, r);
|
|
19
19
|
}
|
|
20
|
-
function m(e,
|
|
20
|
+
function m(e, n, r) {
|
|
21
21
|
if (e.startsWith("$status.")) {
|
|
22
|
-
let
|
|
23
|
-
return Array.isArray(r) && r.some((e) => e.group_code ===
|
|
22
|
+
let t = e.slice(8), r = n.$statuses;
|
|
23
|
+
return Array.isArray(r) && r.some((e) => e.group_code === t);
|
|
24
24
|
}
|
|
25
25
|
if (e.startsWith("$property.")) {
|
|
26
|
-
let r = e.slice(10), i =
|
|
27
|
-
return a?.value != null &&
|
|
26
|
+
let r = e.slice(10), i = n.$properties, a = Array.isArray(i) ? i.find((e) => e.property_code === r) : void 0;
|
|
27
|
+
return a?.value != null && t(a.value) !== "";
|
|
28
28
|
}
|
|
29
|
-
let i = a(r,
|
|
30
|
-
return i != null &&
|
|
29
|
+
let i = a(r, n, e);
|
|
30
|
+
return i != null && t(i) !== "";
|
|
31
31
|
}
|
|
32
|
-
function h(
|
|
33
|
-
let { entity: a, entityCode: o, refs:
|
|
34
|
-
if (
|
|
35
|
-
let
|
|
32
|
+
function h(e, n, i) {
|
|
33
|
+
let { entity: a, entityCode: o, refs: s, t: l, renderers: u } = i;
|
|
34
|
+
if (e.startsWith("$status.")) {
|
|
35
|
+
let t = e.slice(8), i = a.status_groups?.[t], o = n.$statuses, s = Array.isArray(o) ? o.find((e) => e.group_code === t) : void 0;
|
|
36
36
|
if (!i || !s) return /* @__PURE__ */ d("span", {
|
|
37
37
|
style: { color: "var(--text-3)" },
|
|
38
38
|
children: "-"
|
|
39
39
|
});
|
|
40
40
|
let c = i.statuses.find((e) => e.code === s.status_code);
|
|
41
|
-
return /* @__PURE__ */ d(
|
|
41
|
+
return /* @__PURE__ */ d(r, {
|
|
42
42
|
tone: c?.color ?? "slate",
|
|
43
43
|
size: "xs",
|
|
44
44
|
children: l(c?.name) || s.status_code
|
|
45
45
|
});
|
|
46
46
|
}
|
|
47
|
-
if (
|
|
48
|
-
let
|
|
47
|
+
if (e.startsWith("$property.")) {
|
|
48
|
+
let r = e.slice(10), i = n.$properties, a = Array.isArray(i) ? i.find((e) => e.property_code === r) : void 0;
|
|
49
49
|
return !a || a.value == null ? /* @__PURE__ */ d("span", {
|
|
50
50
|
style: { color: "var(--text-3)" },
|
|
51
51
|
children: "-"
|
|
52
|
-
}) : /* @__PURE__ */ d("span", { children:
|
|
52
|
+
}) : /* @__PURE__ */ d("span", { children: t(a.value) });
|
|
53
53
|
}
|
|
54
|
-
if (a.files?.get(
|
|
54
|
+
if (a.files?.get(e)) return c({
|
|
55
55
|
entity: a,
|
|
56
56
|
entityCode: o,
|
|
57
|
-
fieldName:
|
|
58
|
-
record:
|
|
57
|
+
fieldName: e,
|
|
58
|
+
record: n,
|
|
59
59
|
mode: "display",
|
|
60
60
|
surface: "list",
|
|
61
|
-
refs:
|
|
61
|
+
refs: s,
|
|
62
62
|
t: l
|
|
63
63
|
});
|
|
64
|
-
let f = u.get(
|
|
64
|
+
let f = u.get(e);
|
|
65
65
|
if (!f) {
|
|
66
|
-
let
|
|
67
|
-
return
|
|
66
|
+
let r = n[e];
|
|
67
|
+
return t(r) || /* @__PURE__ */ d("span", {
|
|
68
68
|
style: { color: "var(--text-3)" },
|
|
69
69
|
children: "-"
|
|
70
70
|
});
|
|
71
71
|
}
|
|
72
|
-
return f(
|
|
72
|
+
return f(n[e], n);
|
|
73
73
|
}
|
|
74
|
-
function g({ row:
|
|
75
|
-
let k =
|
|
74
|
+
function g({ row: t, rowIndex: r, entity: a, screen: o, entityCode: c, entities: g, savedViewColumns: _, refs: v, renderers: y, rowActions: b, tabNavigate: x, interaction: S, hasSoftDelete: C, zebra: w, hasBatchActions: T, hasDetailTarget: E, rowKey: D, measureElement: O }) {
|
|
75
|
+
let k = n(), A = {
|
|
76
76
|
entity: a,
|
|
77
|
-
entityCode:
|
|
77
|
+
entityCode: c,
|
|
78
78
|
refs: v,
|
|
79
79
|
t: k,
|
|
80
80
|
renderers: y
|
|
81
|
-
}, j =
|
|
81
|
+
}, j = t.original, M = s(a, o, j), N = l({
|
|
82
82
|
entity: a,
|
|
83
83
|
screen: M,
|
|
84
84
|
savedViewColumns: _
|
|
85
|
-
}), P = C && j[a.soft_delete] != null, F =
|
|
85
|
+
}), P = C && j[a.soft_delete] != null, F = t.getIsSelected(), I = w && r % 2 == 1, L = E || S.peekAllowed, R = (N.titleUsesDisplay ? e(k, j, a) ?? (N.titleField ? null : D(j)) : null) || (N.titleField ? h(N.titleField, j, A) : D(j)), z = N.subtitleField && (N.explicit || m(N.subtitleField, j, a)) ? N.subtitleField : void 0, B = N.badgeFields.filter((e) => !N.hideEmptyFields || m(e, j, a)), V = N.bodyFields.filter((e) => !N.hideEmptyFields || m(e, j, a)), H = N.metaFields.filter((e) => !N.hideEmptyFields || m(e, j, a));
|
|
86
86
|
return /* @__PURE__ */ d("div", {
|
|
87
|
-
"data-index":
|
|
87
|
+
"data-index": r,
|
|
88
88
|
"data-testid": "list-card",
|
|
89
89
|
ref: (e) => O(e),
|
|
90
90
|
style: {
|
|
@@ -111,13 +111,7 @@ function g({ row: e, rowIndex: n, entity: a, screen: o, entityCode: s, entities:
|
|
|
111
111
|
tabIndex: L ? 0 : void 0,
|
|
112
112
|
onClick: L ? (e) => S.onRowClick(e, j) : void 0,
|
|
113
113
|
onKeyDown: L ? (e) => {
|
|
114
|
-
|
|
115
|
-
if (e.preventDefault(), S.peekAllowed) {
|
|
116
|
-
S.setPeekRow(j);
|
|
117
|
-
return;
|
|
118
|
-
}
|
|
119
|
-
S.navigateToDetail(j);
|
|
120
|
-
}
|
|
114
|
+
e.key === "Enter" && (e.preventDefault(), S.peekAllowed ? S.setPeekRow(j) : S.navigateToDetail(j));
|
|
121
115
|
} : void 0,
|
|
122
116
|
onContextMenu: (e) => {
|
|
123
117
|
e.preventDefault(), S.setContextMenu({
|
|
@@ -136,7 +130,7 @@ function g({ row: e, rowIndex: n, entity: a, screen: o, entityCode: s, entities:
|
|
|
136
130
|
style: { paddingTop: 2 },
|
|
137
131
|
children: /* @__PURE__ */ d(i, {
|
|
138
132
|
checked: F,
|
|
139
|
-
onChange: () =>
|
|
133
|
+
onChange: () => t.toggleSelected()
|
|
140
134
|
})
|
|
141
135
|
}),
|
|
142
136
|
/* @__PURE__ */ f("div", {
|
|
@@ -163,7 +157,7 @@ function g({ row: e, rowIndex: n, entity: a, screen: o, entityCode: s, entities:
|
|
|
163
157
|
overflowWrap: "anywhere"
|
|
164
158
|
},
|
|
165
159
|
children: R
|
|
166
|
-
}),
|
|
160
|
+
}), z && /* @__PURE__ */ d("div", {
|
|
167
161
|
style: {
|
|
168
162
|
marginTop: 3,
|
|
169
163
|
fontSize: 12.5,
|
|
@@ -171,18 +165,18 @@ function g({ row: e, rowIndex: n, entity: a, screen: o, entityCode: s, entities:
|
|
|
171
165
|
color: "var(--text-3)",
|
|
172
166
|
overflowWrap: "anywhere"
|
|
173
167
|
},
|
|
174
|
-
children: h(
|
|
168
|
+
children: h(z, j, A)
|
|
175
169
|
})]
|
|
176
170
|
})
|
|
177
171
|
}),
|
|
178
|
-
|
|
172
|
+
B.length > 0 && /* @__PURE__ */ d("div", {
|
|
179
173
|
style: {
|
|
180
174
|
display: "flex",
|
|
181
175
|
flexWrap: "wrap",
|
|
182
176
|
gap: 6,
|
|
183
177
|
marginTop: 10
|
|
184
178
|
},
|
|
185
|
-
children:
|
|
179
|
+
children: B.map((e) => /* @__PURE__ */ d("span", {
|
|
186
180
|
style: {
|
|
187
181
|
display: "inline-flex",
|
|
188
182
|
minWidth: 0
|
|
@@ -190,7 +184,7 @@ function g({ row: e, rowIndex: n, entity: a, screen: o, entityCode: s, entities:
|
|
|
190
184
|
children: h(e, j, A)
|
|
191
185
|
}, e))
|
|
192
186
|
}),
|
|
193
|
-
|
|
187
|
+
V.length > 0 && /* @__PURE__ */ d("dl", {
|
|
194
188
|
style: {
|
|
195
189
|
display: "grid",
|
|
196
190
|
gridTemplateColumns: "minmax(84px, max-content) minmax(0, 1fr)",
|
|
@@ -199,7 +193,7 @@ function g({ row: e, rowIndex: n, entity: a, screen: o, entityCode: s, entities:
|
|
|
199
193
|
fontSize: 12.5,
|
|
200
194
|
lineHeight: 1.35
|
|
201
195
|
},
|
|
202
|
-
children:
|
|
196
|
+
children: V.map((e) => /* @__PURE__ */ f("div", {
|
|
203
197
|
style: { display: "contents" },
|
|
204
198
|
children: [/* @__PURE__ */ d("dt", {
|
|
205
199
|
style: { color: "var(--text-3)" },
|
|
@@ -215,7 +209,7 @@ function g({ row: e, rowIndex: n, entity: a, screen: o, entityCode: s, entities:
|
|
|
215
209
|
})]
|
|
216
210
|
}, e))
|
|
217
211
|
}),
|
|
218
|
-
|
|
212
|
+
H.length > 0 && /* @__PURE__ */ d("div", {
|
|
219
213
|
style: {
|
|
220
214
|
display: "flex",
|
|
221
215
|
flexWrap: "wrap",
|
|
@@ -224,7 +218,7 @@ function g({ row: e, rowIndex: n, entity: a, screen: o, entityCode: s, entities:
|
|
|
224
218
|
color: "var(--text-3)",
|
|
225
219
|
fontSize: 11.5
|
|
226
220
|
},
|
|
227
|
-
children:
|
|
221
|
+
children: H.map((e) => /* @__PURE__ */ f("span", {
|
|
228
222
|
style: {
|
|
229
223
|
minWidth: 0,
|
|
230
224
|
overflowWrap: "anywhere"
|
|
@@ -244,7 +238,7 @@ function g({ row: e, rowIndex: n, entity: a, screen: o, entityCode: s, entities:
|
|
|
244
238
|
screen: o,
|
|
245
239
|
fullScreen: o,
|
|
246
240
|
entity: a,
|
|
247
|
-
entityCode:
|
|
241
|
+
entityCode: c,
|
|
248
242
|
rowActions: b,
|
|
249
243
|
tabNavigate: x,
|
|
250
244
|
peekAllowed: S.peekAllowed,
|
|
@@ -253,7 +247,7 @@ function g({ row: e, rowIndex: n, entity: a, screen: o, entityCode: s, entities:
|
|
|
253
247
|
})
|
|
254
248
|
]
|
|
255
249
|
})
|
|
256
|
-
},
|
|
250
|
+
}, t.id);
|
|
257
251
|
}
|
|
258
252
|
//#endregion
|
|
259
253
|
//#region src/components/pages/list/ListCardsBody.tsx
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { t as n } from "./safe-url-oSJw5pzO.js";
|
|
1
|
+
import { nt as e, wt as t } from "./useCurrentScreen--UovgvRj.js";
|
|
2
|
+
import { E as n } from "./PropertyGridEditor-BTjscqfz.js";
|
|
4
3
|
import { jsx as r } from "react/jsx-runtime";
|
|
5
4
|
import i, { defaultUrlTransform as a } from "react-markdown";
|
|
6
5
|
import o from "remark-breaks";
|
|
@@ -13,26 +12,26 @@ function d(e) {
|
|
|
13
12
|
function f(e) {
|
|
14
13
|
return e.startsWith("/") || e.startsWith("https://") || e.startsWith("http://") ? e : null;
|
|
15
14
|
}
|
|
16
|
-
function p({ href:
|
|
17
|
-
return
|
|
18
|
-
href:
|
|
15
|
+
function p({ href: t, children: n }) {
|
|
16
|
+
return e(t) ? /* @__PURE__ */ r("a", {
|
|
17
|
+
href: t,
|
|
19
18
|
target: "_blank",
|
|
20
19
|
rel: "noopener noreferrer",
|
|
21
|
-
children:
|
|
20
|
+
children: n
|
|
22
21
|
}) : /* @__PURE__ */ r("a", {
|
|
23
|
-
href:
|
|
24
|
-
children:
|
|
22
|
+
href: t,
|
|
23
|
+
children: n
|
|
25
24
|
});
|
|
26
25
|
}
|
|
27
|
-
function m(
|
|
26
|
+
function m(e, t) {
|
|
28
27
|
return {
|
|
29
28
|
img({ src: i, alt: a }) {
|
|
30
|
-
let o =
|
|
29
|
+
let o = n(i);
|
|
31
30
|
if (!o) return /* @__PURE__ */ r("img", {
|
|
32
31
|
src: i,
|
|
33
32
|
alt: a ?? ""
|
|
34
33
|
});
|
|
35
|
-
let s =
|
|
34
|
+
let s = t[o], c = s?.presigned_url ?? s?.url, l = c ? f(c) : null;
|
|
36
35
|
return l ? /* @__PURE__ */ r("img", {
|
|
37
36
|
src: l,
|
|
38
37
|
alt: a ?? s.filename ?? ""
|
|
@@ -41,16 +40,16 @@ function m(t, n) {
|
|
|
41
40
|
color: "var(--warn)",
|
|
42
41
|
fontSize: 12
|
|
43
42
|
},
|
|
44
|
-
children:
|
|
43
|
+
children: e("control.markdown.missing_image", "Missing image {id}", { id: o })
|
|
45
44
|
});
|
|
46
45
|
},
|
|
47
46
|
a({ href: i, children: a }) {
|
|
48
|
-
let o =
|
|
47
|
+
let o = n(i);
|
|
49
48
|
if (!o) return /* @__PURE__ */ r(p, {
|
|
50
49
|
href: i,
|
|
51
50
|
children: a
|
|
52
51
|
});
|
|
53
|
-
let s =
|
|
52
|
+
let s = t[o], c = s?.presigned_url ?? s?.url, l = c ? f(c) : null;
|
|
54
53
|
return l ? /* @__PURE__ */ r("a", {
|
|
55
54
|
href: l,
|
|
56
55
|
target: "_blank",
|
|
@@ -61,7 +60,7 @@ function m(t, n) {
|
|
|
61
60
|
color: "var(--warn)",
|
|
62
61
|
fontSize: 12
|
|
63
62
|
},
|
|
64
|
-
children:
|
|
63
|
+
children: e("control.markdown.missing_file", "Missing file {id}", { id: o })
|
|
65
64
|
});
|
|
66
65
|
}
|
|
67
66
|
};
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
import { t as e } from "./Kbd-CNttVu0z.js";
|
|
2
|
+
import { useEffect as t, useLayoutEffect as n, useRef as r, useState as i } from "react";
|
|
3
|
+
import { jsx as a, jsxs as o } from "react/jsx-runtime";
|
|
4
|
+
import { createPortal as s } from "react-dom";
|
|
5
|
+
//#region src/components/primitives/Dropdown.tsx
|
|
6
|
+
function c({ open: e, onClose: o, anchor: c, anchorPoint: f, children: p, align: m = "start", width: h, style: g }) {
|
|
7
|
+
let _ = r(null), [v, y] = i(null), b = f?.x, x = f?.y;
|
|
8
|
+
if (n(() => {
|
|
9
|
+
if (!e || !c && b === void 0) return;
|
|
10
|
+
let t = c ? c.getBoundingClientRect() : {
|
|
11
|
+
top: x,
|
|
12
|
+
bottom: x,
|
|
13
|
+
left: b,
|
|
14
|
+
right: b
|
|
15
|
+
}, n = u(), r = _.current?.offsetHeight || 260, i = n - t.bottom < r + 12 && t.top > r + 12 ? "above" : "below", a = i === "below" ? t.bottom + 4 : t.top - 4 - r, o = typeof window < "u" ? window.innerWidth : 0, s = m === "end" ? t.right - (h || 200) : t.left;
|
|
16
|
+
o && (s = Math.max(8, Math.min(s, o - (h || 200) - 8))), y((e) => e && e.top === a && e.left === s && e.placement === i ? e : {
|
|
17
|
+
top: a,
|
|
18
|
+
left: s,
|
|
19
|
+
placement: i
|
|
20
|
+
});
|
|
21
|
+
}, [
|
|
22
|
+
e,
|
|
23
|
+
c,
|
|
24
|
+
b,
|
|
25
|
+
x,
|
|
26
|
+
m,
|
|
27
|
+
h
|
|
28
|
+
]), t(() => {
|
|
29
|
+
if (!e) return;
|
|
30
|
+
let t = (e) => {
|
|
31
|
+
let t = e.target;
|
|
32
|
+
_.current && t && !_.current.contains(t) && (!c || !c.contains(t)) && o?.();
|
|
33
|
+
}, n = (e) => {
|
|
34
|
+
e.key === "Escape" && o?.();
|
|
35
|
+
};
|
|
36
|
+
return document.addEventListener("mousedown", t), document.addEventListener("keydown", n), () => {
|
|
37
|
+
document.removeEventListener("mousedown", t), document.removeEventListener("keydown", n);
|
|
38
|
+
};
|
|
39
|
+
}, [
|
|
40
|
+
e,
|
|
41
|
+
c,
|
|
42
|
+
o
|
|
43
|
+
]), !e || !v) return null;
|
|
44
|
+
let S = v.placement === "below" ? `calc(var(--app-height) - ${v.top}px - 8px)` : `${Math.max(120, v.top - 8)}px`, C = d(g?.maxHeight), w = C ? `min(${S}, ${C})` : S;
|
|
45
|
+
return s(/* @__PURE__ */ a("div", {
|
|
46
|
+
ref: _,
|
|
47
|
+
onClick: l,
|
|
48
|
+
onMouseDown: l,
|
|
49
|
+
style: {
|
|
50
|
+
position: "fixed",
|
|
51
|
+
top: v.top,
|
|
52
|
+
left: v.left,
|
|
53
|
+
zIndex: 200,
|
|
54
|
+
minWidth: h || 200,
|
|
55
|
+
maxWidth: `calc(100vw - ${v.left}px - 8px)`,
|
|
56
|
+
background: "var(--surface)",
|
|
57
|
+
border: "1px solid var(--border)",
|
|
58
|
+
borderRadius: 8,
|
|
59
|
+
boxShadow: "var(--shadow-lg)",
|
|
60
|
+
padding: 4,
|
|
61
|
+
...g,
|
|
62
|
+
maxHeight: w,
|
|
63
|
+
overflowY: g?.overflowY ?? "auto",
|
|
64
|
+
overscrollBehavior: "contain"
|
|
65
|
+
},
|
|
66
|
+
children: p
|
|
67
|
+
}), document.body);
|
|
68
|
+
}
|
|
69
|
+
function l(e) {
|
|
70
|
+
e.stopPropagation();
|
|
71
|
+
}
|
|
72
|
+
function u() {
|
|
73
|
+
if (typeof window > "u" || typeof document > "u") return 0;
|
|
74
|
+
let e = getComputedStyle(document.documentElement).getPropertyValue("--app-height").trim();
|
|
75
|
+
if (e.endsWith("px")) {
|
|
76
|
+
let t = Number.parseFloat(e);
|
|
77
|
+
if (Number.isFinite(t) && t > 0) return t;
|
|
78
|
+
}
|
|
79
|
+
let t = window.visualViewport?.height;
|
|
80
|
+
return Number.isFinite(t) && t && t > 0 ? t : window.innerHeight;
|
|
81
|
+
}
|
|
82
|
+
function d(e) {
|
|
83
|
+
if (e != null) return typeof e == "number" ? `${e}px` : String(e);
|
|
84
|
+
}
|
|
85
|
+
//#endregion
|
|
86
|
+
//#region src/components/primitives/MenuItem.tsx
|
|
87
|
+
function f({ icon: t, children: n, onClick: r, danger: i, kbd: s, active: c, divider: l, disabled: u, title: d, "data-testid": f }) {
|
|
88
|
+
return l ? /* @__PURE__ */ a("div", {
|
|
89
|
+
role: "separator",
|
|
90
|
+
style: {
|
|
91
|
+
height: 1,
|
|
92
|
+
background: "var(--divider)",
|
|
93
|
+
margin: "4px 0"
|
|
94
|
+
}
|
|
95
|
+
}) : /* @__PURE__ */ o("div", {
|
|
96
|
+
role: "menuitem",
|
|
97
|
+
tabIndex: u ? -1 : 0,
|
|
98
|
+
onClick: u ? void 0 : r,
|
|
99
|
+
onKeyDown: (e) => {
|
|
100
|
+
u || (e.key === "Enter" || e.key === " ") && (e.preventDefault(), r?.());
|
|
101
|
+
},
|
|
102
|
+
"data-testid": f,
|
|
103
|
+
"aria-disabled": u || void 0,
|
|
104
|
+
title: d,
|
|
105
|
+
style: {
|
|
106
|
+
display: "flex",
|
|
107
|
+
alignItems: "center",
|
|
108
|
+
gap: 8,
|
|
109
|
+
padding: "6px 10px",
|
|
110
|
+
borderRadius: 5,
|
|
111
|
+
fontSize: 12.5,
|
|
112
|
+
color: i ? "var(--danger)" : "var(--text-2)",
|
|
113
|
+
cursor: u ? "not-allowed" : "pointer",
|
|
114
|
+
background: c ? "var(--surface-3)" : "transparent",
|
|
115
|
+
opacity: u ? .45 : 1
|
|
116
|
+
},
|
|
117
|
+
onMouseEnter: (e) => {
|
|
118
|
+
u || (e.currentTarget.style.background = "var(--surface-3)");
|
|
119
|
+
},
|
|
120
|
+
onMouseLeave: (e) => {
|
|
121
|
+
e.currentTarget.style.background = c ? "var(--surface-3)" : "transparent";
|
|
122
|
+
},
|
|
123
|
+
children: [
|
|
124
|
+
t && /* @__PURE__ */ a("span", {
|
|
125
|
+
style: {
|
|
126
|
+
color: i ? "var(--danger)" : "var(--text-3)",
|
|
127
|
+
display: "flex"
|
|
128
|
+
},
|
|
129
|
+
children: t
|
|
130
|
+
}),
|
|
131
|
+
/* @__PURE__ */ a("span", {
|
|
132
|
+
style: { flex: 1 },
|
|
133
|
+
children: n
|
|
134
|
+
}),
|
|
135
|
+
s && /* @__PURE__ */ a(e, { children: s })
|
|
136
|
+
]
|
|
137
|
+
});
|
|
138
|
+
}
|
|
139
|
+
//#endregion
|
|
140
|
+
export { c as n, f as t };
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { G as e, W as t, Xt as n, wt as r } from "./useCurrentScreen--UovgvRj.js";
|
|
2
|
+
import { r as i } from "./CopyButton-C0iEvaT1.js";
|
|
3
|
+
import { useEffect as a } from "react";
|
|
4
|
+
import { jsx as o, jsxs as s } from "react/jsx-runtime";
|
|
5
|
+
import { useLocation as c } from "react-router";
|
|
6
|
+
//#region src/components/pages/NotFoundPage.impl.tsx
|
|
7
|
+
function l() {
|
|
8
|
+
let l = n(), u = t(), d = c(), f = e(), p = r();
|
|
9
|
+
return a(() => {
|
|
10
|
+
l.enabled && f(d.pathname, "not_found");
|
|
11
|
+
}, [
|
|
12
|
+
l.enabled,
|
|
13
|
+
d.pathname,
|
|
14
|
+
f
|
|
15
|
+
]), l.enabled ? /* @__PURE__ */ o("div", {
|
|
16
|
+
style: {
|
|
17
|
+
display: "flex",
|
|
18
|
+
alignItems: "center",
|
|
19
|
+
justifyContent: "center",
|
|
20
|
+
height: "100%"
|
|
21
|
+
},
|
|
22
|
+
children: /* @__PURE__ */ o("p", {
|
|
23
|
+
style: {
|
|
24
|
+
fontSize: 15,
|
|
25
|
+
color: "var(--text-3)"
|
|
26
|
+
},
|
|
27
|
+
children: p("page.not_found.embed", "This view is unavailable.")
|
|
28
|
+
})
|
|
29
|
+
}) : /* @__PURE__ */ o("div", {
|
|
30
|
+
style: {
|
|
31
|
+
display: "flex",
|
|
32
|
+
alignItems: "center",
|
|
33
|
+
justifyContent: "center",
|
|
34
|
+
height: "100%"
|
|
35
|
+
},
|
|
36
|
+
children: /* @__PURE__ */ s("div", {
|
|
37
|
+
style: { textAlign: "center" },
|
|
38
|
+
children: [
|
|
39
|
+
/* @__PURE__ */ o("h1", {
|
|
40
|
+
style: {
|
|
41
|
+
fontSize: 64,
|
|
42
|
+
fontWeight: 700,
|
|
43
|
+
color: "var(--text-3)",
|
|
44
|
+
margin: 0
|
|
45
|
+
},
|
|
46
|
+
children: "404"
|
|
47
|
+
}),
|
|
48
|
+
/* @__PURE__ */ o("p", {
|
|
49
|
+
style: {
|
|
50
|
+
marginTop: 8,
|
|
51
|
+
fontSize: 16,
|
|
52
|
+
color: "var(--text-3)"
|
|
53
|
+
},
|
|
54
|
+
children: p("page.not_found.title", "Page not found")
|
|
55
|
+
}),
|
|
56
|
+
/* @__PURE__ */ o("div", {
|
|
57
|
+
style: { marginTop: 24 },
|
|
58
|
+
children: /* @__PURE__ */ o(i, {
|
|
59
|
+
onClick: () => u("/"),
|
|
60
|
+
children: p("page.not_found.go_home", "Go home")
|
|
61
|
+
})
|
|
62
|
+
})
|
|
63
|
+
]
|
|
64
|
+
})
|
|
65
|
+
});
|
|
66
|
+
}
|
|
67
|
+
//#endregion
|
|
68
|
+
export { l as NotFoundPage };
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { W as e, Xt as t, n, wt as r } from "./useCurrentScreen--UovgvRj.js";
|
|
2
|
+
import { t as i } from "./Icons-lt-7lhYR.js";
|
|
3
|
+
import { n as a } from "./CopyButton-C0iEvaT1.js";
|
|
4
|
+
import { L as o } from "./PropertyGridEditor-BTjscqfz.js";
|
|
5
|
+
import { a as s, n as c } from "./useBrandingChrome-bKTXXDLy.js";
|
|
6
|
+
import { t as l } from "./useScreenBack-J861tbwn.js";
|
|
7
|
+
import { t as u } from "./headerActionZone-bef-tZZ7.js";
|
|
8
|
+
import { useCallback as d } from "react";
|
|
9
|
+
import { jsx as f, jsxs as p } from "react/jsx-runtime";
|
|
10
|
+
//#region src/components/chrome/PageHeader.tsx
|
|
11
|
+
function m({ title: m, description: h, backTo: g, actions: _ }) {
|
|
12
|
+
let v = r(), y = n(), b = m ?? v(y?.screen?.display?.name) ?? "", x = h ?? v(y?.screen?.display?.description), S = c("custom"), C = S.isVisible("show_title"), w = S.isVisible("show_actions"), T = t(), E = e(), D = d(() => {
|
|
13
|
+
if (g) {
|
|
14
|
+
if (!T.enabled) {
|
|
15
|
+
let e = o.getState().findTabByPathname(g);
|
|
16
|
+
e && o.getState().switchTab(e.id);
|
|
17
|
+
}
|
|
18
|
+
E(g);
|
|
19
|
+
}
|
|
20
|
+
}, [
|
|
21
|
+
g,
|
|
22
|
+
T.enabled,
|
|
23
|
+
E
|
|
24
|
+
]), { hasOriginBack: O, goBack: k } = l({ fallback: D });
|
|
25
|
+
return !C && (!w || !_) ? null : /* @__PURE__ */ p("div", {
|
|
26
|
+
style: {
|
|
27
|
+
display: "flex",
|
|
28
|
+
alignItems: "center",
|
|
29
|
+
flexWrap: "wrap",
|
|
30
|
+
marginBottom: 16,
|
|
31
|
+
gap: 10,
|
|
32
|
+
minWidth: 0
|
|
33
|
+
},
|
|
34
|
+
children: [
|
|
35
|
+
C && (O || !!g) && /* @__PURE__ */ f(a, {
|
|
36
|
+
icon: /* @__PURE__ */ f(i.back, { size: 14 }),
|
|
37
|
+
onClick: k,
|
|
38
|
+
title: v("shell.back", "Back")
|
|
39
|
+
}),
|
|
40
|
+
C && /* @__PURE__ */ f("h1", {
|
|
41
|
+
style: {
|
|
42
|
+
margin: 0,
|
|
43
|
+
fontSize: "var(--page-title-size, var(--page-title-size-page))",
|
|
44
|
+
lineHeight: "var(--page-title-line-height, var(--page-title-line-height-page))",
|
|
45
|
+
fontWeight: 600,
|
|
46
|
+
letterSpacing: "-0.01em",
|
|
47
|
+
color: "var(--text)",
|
|
48
|
+
overflow: "hidden",
|
|
49
|
+
textOverflow: "ellipsis",
|
|
50
|
+
whiteSpace: "nowrap",
|
|
51
|
+
minWidth: 0,
|
|
52
|
+
maxWidth: "100%",
|
|
53
|
+
flexGrow: 0,
|
|
54
|
+
flexShrink: 1,
|
|
55
|
+
flexBasis: "auto"
|
|
56
|
+
},
|
|
57
|
+
children: b
|
|
58
|
+
}),
|
|
59
|
+
C && x && /* @__PURE__ */ f(s, {
|
|
60
|
+
label: x,
|
|
61
|
+
"data-testid": "page-description-info"
|
|
62
|
+
}),
|
|
63
|
+
w && _ && /* @__PURE__ */ f("div", {
|
|
64
|
+
style: u,
|
|
65
|
+
children: _
|
|
66
|
+
})
|
|
67
|
+
]
|
|
68
|
+
});
|
|
69
|
+
}
|
|
70
|
+
//#endregion
|
|
71
|
+
export { m as t };
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { xt as e } from "./useCurrentScreen--UovgvRj.js";
|
|
2
|
+
import { t } from "./page-inset-D_kkVwwN.js";
|
|
3
|
+
import { jsx as n, jsxs as r } from "react/jsx-runtime";
|
|
4
|
+
//#region src/components/chrome/PageShell.tsx
|
|
5
|
+
function i({ header: i, children: a, scrollRef: o }) {
|
|
6
|
+
let s = e(), c = s.isPhone ? t(12) : {
|
|
7
|
+
paddingLeft: "24px",
|
|
8
|
+
paddingRight: "24px"
|
|
9
|
+
};
|
|
10
|
+
return /* @__PURE__ */ r("div", {
|
|
11
|
+
style: {
|
|
12
|
+
height: "100%",
|
|
13
|
+
display: "flex",
|
|
14
|
+
flexDirection: "column",
|
|
15
|
+
overflow: "hidden",
|
|
16
|
+
background: "var(--background)"
|
|
17
|
+
},
|
|
18
|
+
children: [/* @__PURE__ */ n("div", {
|
|
19
|
+
"data-testid": "page-shell-header",
|
|
20
|
+
style: {
|
|
21
|
+
flexShrink: 0,
|
|
22
|
+
paddingTop: s.isPhone ? 14 : 24,
|
|
23
|
+
paddingBottom: 8,
|
|
24
|
+
...c
|
|
25
|
+
},
|
|
26
|
+
children: i
|
|
27
|
+
}), /* @__PURE__ */ n("div", {
|
|
28
|
+
ref: o,
|
|
29
|
+
style: {
|
|
30
|
+
flex: 1,
|
|
31
|
+
minHeight: 0,
|
|
32
|
+
overflowY: "auto",
|
|
33
|
+
paddingTop: 4,
|
|
34
|
+
paddingBottom: "calc(24px + var(--safe-area-bottom))",
|
|
35
|
+
...c,
|
|
36
|
+
display: "flex",
|
|
37
|
+
flexDirection: "column",
|
|
38
|
+
gap: 16,
|
|
39
|
+
minWidth: 0,
|
|
40
|
+
WebkitOverflowScrolling: "touch"
|
|
41
|
+
},
|
|
42
|
+
children: a
|
|
43
|
+
})]
|
|
44
|
+
});
|
|
45
|
+
}
|
|
46
|
+
//#endregion
|
|
47
|
+
export { i as t };
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { jsx as e, jsxs as t } from "react/jsx-runtime";
|
|
2
|
+
//#region src/components/primitives/Pill.tsx
|
|
3
|
+
function n(e) {
|
|
4
|
+
return e == null || e === !1 || e === "" ? !1 : !Array.isArray(e) || e.some((e) => n(e));
|
|
5
|
+
}
|
|
6
|
+
function r({ tone: r = "slate", children: i, size: a = "sm", dot: o = !1, style: s }) {
|
|
7
|
+
let c = `var(--pill-${r}-bg)`, l = `var(--pill-${r})`;
|
|
8
|
+
return /* @__PURE__ */ t("span", {
|
|
9
|
+
className: "num",
|
|
10
|
+
style: {
|
|
11
|
+
display: "inline-flex",
|
|
12
|
+
alignItems: "center",
|
|
13
|
+
gap: 6,
|
|
14
|
+
height: a === "sm" ? 20 : a === "xs" ? 16 : 24,
|
|
15
|
+
padding: `0 ${a === "xs" ? 6 : 8}px`,
|
|
16
|
+
borderRadius: 999,
|
|
17
|
+
background: c,
|
|
18
|
+
color: l,
|
|
19
|
+
fontSize: a === "xs" ? 10.5 : 11.5,
|
|
20
|
+
fontWeight: 500,
|
|
21
|
+
whiteSpace: "nowrap",
|
|
22
|
+
maxWidth: "100%",
|
|
23
|
+
...s
|
|
24
|
+
},
|
|
25
|
+
children: [o && /* @__PURE__ */ e("span", { style: {
|
|
26
|
+
width: 6,
|
|
27
|
+
height: 6,
|
|
28
|
+
borderRadius: 999,
|
|
29
|
+
background: l
|
|
30
|
+
} }), n(i) && /* @__PURE__ */ e("span", {
|
|
31
|
+
style: {
|
|
32
|
+
minWidth: 0,
|
|
33
|
+
overflow: "hidden",
|
|
34
|
+
textOverflow: "ellipsis",
|
|
35
|
+
whiteSpace: "nowrap"
|
|
36
|
+
},
|
|
37
|
+
children: i
|
|
38
|
+
})]
|
|
39
|
+
});
|
|
40
|
+
}
|
|
41
|
+
//#endregion
|
|
42
|
+
export { r as t };
|