@declarion/react 0.60.0 → 0.63.0
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-BY-Ir7Sh.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-CtL7rdT6.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-CYERLdXO.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-B08IJKsZ.js → LayoutRenderer-DEHtYtzV.js} +965 -942
- package/dist-lib/{ListCardsBody-Dje_rays.js → ListCardsBody-BAwFR3yO.js} +46 -52
- package/dist-lib/{MarkdownRenderer-N0IWjTH5.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-DKKeCGTH.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-nveYLvHR.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 +1532 -5053
- 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-DSExeoAh.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-BavrHfrU.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-By1-WJ8J.js → value-CDCeHgOv.js} +8 -22
- package/dist-lib/{action-dispatch-DbiOpvd6.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 +17 -24
- package/dist-lib/DetailAuditStrip-B9p1XhjC.js +0 -288
- package/dist-lib/DynamicIcon-DW5krHuX.js +0 -280
- package/dist-lib/RefreshControl-BEWSHtAC.js +0 -399
- package/dist-lib/SmartDetailPage.impl-CYiM-ITJ.js +0 -1565
- package/dist-lib/SmartListPage.impl-Db_Pv9Xc.js +0 -3051
- package/dist-lib/SmartRecordListPage.impl-hbbLglC1.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 -109
- 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-BT54OLHy.js +0 -158
- package/dist-lib/format-count-DLFCdtME.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-CRPxNbkk.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 -580
- 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-BPq7HMF1.js +0 -7840
- package/dist-lib/useListQuery-CG1WM4cv.js +0 -103
- package/dist-lib/useOwnRefresh-C18iWRgr.js +0 -1167
- package/dist-lib/useProperties-C35JrjwQ.js +0 -83
- package/dist-lib/useTabSearchMirror-DKktWWLB.js +0 -175
- package/dist-lib/useText-BFDCTUSo.js +0 -952
- package/dist-lib/vite/fingerprint-plugin.d.ts +0 -44
|
@@ -0,0 +1,361 @@
|
|
|
1
|
+
import { wt as e, xt as t } from "./useCurrentScreen--UovgvRj.js";
|
|
2
|
+
import { t as n } from "./Icons-lt-7lhYR.js";
|
|
3
|
+
import { n as r } from "./CopyButton-C0iEvaT1.js";
|
|
4
|
+
import { z as i } from "./PropertyGridEditor-BTjscqfz.js";
|
|
5
|
+
import { o as a, t as o } from "./useBranding-Ckp_AuJb.js";
|
|
6
|
+
import { a as s } from "./useParams-ei6w4I7w.js";
|
|
7
|
+
import { t as c } from "./page-inset-D_kkVwwN.js";
|
|
8
|
+
import { useEffect as l, useMemo as u } from "react";
|
|
9
|
+
import { Fragment as d, jsx as f, jsxs as p } from "react/jsx-runtime";
|
|
10
|
+
//#region src/components/primitives/BrandLogo.tsx
|
|
11
|
+
function m({ appLogo: e, size: t, radius: n, fallback: r }) {
|
|
12
|
+
if (!a(e)) return r ? /* @__PURE__ */ f(d, { children: r }) : null;
|
|
13
|
+
let i = n ?? (t >= 30 ? 8 : 6);
|
|
14
|
+
return /* @__PURE__ */ f("img", {
|
|
15
|
+
src: e.trim(),
|
|
16
|
+
alt: "",
|
|
17
|
+
width: t,
|
|
18
|
+
height: t,
|
|
19
|
+
style: {
|
|
20
|
+
display: "block",
|
|
21
|
+
borderRadius: i,
|
|
22
|
+
objectFit: "contain"
|
|
23
|
+
}
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
//#endregion
|
|
27
|
+
//#region src/components/pages/auth/AuthShell.tsx
|
|
28
|
+
var h = 560;
|
|
29
|
+
function g(e) {
|
|
30
|
+
try {
|
|
31
|
+
return new URL(e).host;
|
|
32
|
+
} catch {
|
|
33
|
+
return e;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
function _(e, t) {
|
|
37
|
+
if (!e) return "";
|
|
38
|
+
let n = t ? t.slice(0, 7) : "";
|
|
39
|
+
if (!n || !t) return e;
|
|
40
|
+
let r = Math.min(e.length, t.length);
|
|
41
|
+
return e.slice(0, r) === t.slice(0, r) ? e : `${e}+${n}`;
|
|
42
|
+
}
|
|
43
|
+
function v({ children: a, tenantSlug: v, tagline: y, subTagline: b, version: x, badges: S, brandName: C }) {
|
|
44
|
+
let w = e(), T = i((e) => e.colorScheme), E = t(), D = i((e) => e.set), O = i((e) => e.hydrateFromBranding), k = () => D("colorScheme", T === "dark" ? "light" : "dark"), { branding: A } = o();
|
|
45
|
+
l(() => {
|
|
46
|
+
O(A?.preferences);
|
|
47
|
+
}, [A, O]);
|
|
48
|
+
let j = A?.identity, M = C ?? j?.wordmark ?? j?.app_name ?? "", N = y ?? w(j?.auth_tagline), P = b ?? w(j?.auth_subtagline), F = x ?? j?.version_label ?? "", I = u(() => S && S.length ? S : (j?.auth_badges ?? []).map((e) => w(e)).filter(Boolean).slice(0, 8).map((e) => [e, "shield"]), [
|
|
49
|
+
S,
|
|
50
|
+
j?.auth_badges,
|
|
51
|
+
w
|
|
52
|
+
]), L = j?.workspace_domain ?? "", R = !!(v && L), z = j?.status_url ?? "", B = !!z, V = j?.legal_links, H = u(() => [
|
|
53
|
+
[w("auth.footer.security", "Security"), V?.security_url ?? ""],
|
|
54
|
+
[w("auth.footer.privacy", "Privacy"), V?.privacy_url ?? ""],
|
|
55
|
+
[w("auth.footer.terms", "Terms"), V?.terms_url ?? ""],
|
|
56
|
+
[w("auth.footer.docs", "Docs"), V?.docs_url ?? ""]
|
|
57
|
+
].filter(([, e]) => !!e), [
|
|
58
|
+
V?.security_url,
|
|
59
|
+
V?.privacy_url,
|
|
60
|
+
V?.terms_url,
|
|
61
|
+
V?.docs_url,
|
|
62
|
+
w
|
|
63
|
+
]), U = j?.legal_entity ?? "", W = `© ${(/* @__PURE__ */ new Date()).getFullYear()}${U ? ` ${U}` : ""}`, { data: G } = s(), K = G?.meta, q = _(K?.version, K?.revision), J = [K?.region ? w("auth.meta.region", "Region: {value}", { value: K.region }) : "", q ? w("auth.meta.build", "Build {value}", { value: q }) : ""].filter(Boolean).join(" · "), Y = E.isPhone || E.height < h;
|
|
64
|
+
return /* @__PURE__ */ p("div", {
|
|
65
|
+
style: {
|
|
66
|
+
minHeight: "var(--app-height)",
|
|
67
|
+
background: "var(--background)",
|
|
68
|
+
display: "flex",
|
|
69
|
+
flexDirection: "column",
|
|
70
|
+
minWidth: 0,
|
|
71
|
+
overflowX: "hidden"
|
|
72
|
+
},
|
|
73
|
+
children: [
|
|
74
|
+
/* @__PURE__ */ p("div", {
|
|
75
|
+
style: {
|
|
76
|
+
paddingTop: Y ? 12 : 16,
|
|
77
|
+
paddingBottom: Y ? 12 : 16,
|
|
78
|
+
...Y ? c(14) : {
|
|
79
|
+
paddingLeft: 20,
|
|
80
|
+
paddingRight: 20
|
|
81
|
+
},
|
|
82
|
+
display: "flex",
|
|
83
|
+
alignItems: "center",
|
|
84
|
+
gap: 10
|
|
85
|
+
},
|
|
86
|
+
children: [
|
|
87
|
+
/* @__PURE__ */ f(m, {
|
|
88
|
+
appLogo: j?.app_logo,
|
|
89
|
+
size: 26
|
|
90
|
+
}),
|
|
91
|
+
M && /* @__PURE__ */ f("span", {
|
|
92
|
+
style: {
|
|
93
|
+
fontSize: 14,
|
|
94
|
+
fontWeight: 600,
|
|
95
|
+
letterSpacing: "-0.01em",
|
|
96
|
+
minWidth: 0,
|
|
97
|
+
overflow: "hidden",
|
|
98
|
+
textOverflow: "ellipsis",
|
|
99
|
+
whiteSpace: "nowrap"
|
|
100
|
+
},
|
|
101
|
+
children: M
|
|
102
|
+
}),
|
|
103
|
+
R && /* @__PURE__ */ p("span", {
|
|
104
|
+
className: "mono",
|
|
105
|
+
style: {
|
|
106
|
+
marginLeft: 6,
|
|
107
|
+
fontSize: 10.5,
|
|
108
|
+
color: "var(--text-4)",
|
|
109
|
+
padding: "2px 6px",
|
|
110
|
+
background: "var(--surface-2)",
|
|
111
|
+
border: "1px solid var(--border)",
|
|
112
|
+
borderRadius: 4
|
|
113
|
+
},
|
|
114
|
+
children: [
|
|
115
|
+
v,
|
|
116
|
+
".",
|
|
117
|
+
L
|
|
118
|
+
]
|
|
119
|
+
}),
|
|
120
|
+
/* @__PURE__ */ f("div", { style: { flex: 1 } }),
|
|
121
|
+
/* @__PURE__ */ f(r, {
|
|
122
|
+
icon: f(T === "dark" ? n.sun : n.moon, { size: 14 }),
|
|
123
|
+
onClick: k,
|
|
124
|
+
title: w("auth.toggle_theme", "Toggle theme")
|
|
125
|
+
})
|
|
126
|
+
]
|
|
127
|
+
}),
|
|
128
|
+
/* @__PURE__ */ f("div", {
|
|
129
|
+
style: {
|
|
130
|
+
flex: 1,
|
|
131
|
+
display: "flex",
|
|
132
|
+
alignItems: Y ? "flex-start" : "center",
|
|
133
|
+
justifyContent: "center",
|
|
134
|
+
paddingTop: Y ? 16 : 20,
|
|
135
|
+
paddingBottom: Y ? 12 : 20,
|
|
136
|
+
...Y ? c(12) : {
|
|
137
|
+
paddingLeft: 20,
|
|
138
|
+
paddingRight: 20
|
|
139
|
+
},
|
|
140
|
+
minWidth: 0
|
|
141
|
+
},
|
|
142
|
+
children: /* @__PURE__ */ p("div", {
|
|
143
|
+
style: {
|
|
144
|
+
display: "grid",
|
|
145
|
+
gridTemplateColumns: Y ? "minmax(0, 1fr)" : "1fr 1fr",
|
|
146
|
+
gap: 0,
|
|
147
|
+
width: Y ? "100%" : 980,
|
|
148
|
+
maxWidth: "100%",
|
|
149
|
+
minHeight: Y ? "auto" : h,
|
|
150
|
+
background: "var(--surface)",
|
|
151
|
+
border: "1px solid var(--border)",
|
|
152
|
+
borderRadius: Y ? 12 : 14,
|
|
153
|
+
overflow: "hidden",
|
|
154
|
+
boxShadow: Y ? "var(--shadow-sm)" : "var(--shadow-lg)"
|
|
155
|
+
},
|
|
156
|
+
children: [!Y && /* @__PURE__ */ p("div", {
|
|
157
|
+
"data-testid": "auth-brand-panel",
|
|
158
|
+
style: {
|
|
159
|
+
padding: "36px 36px 28px",
|
|
160
|
+
background: "linear-gradient(155deg, var(--auth-panel-bg-start) 0%, var(--auth-panel-bg-mid) 40%, var(--auth-panel-bg-end) 100%)",
|
|
161
|
+
color: "var(--auth-panel-fg)",
|
|
162
|
+
display: "flex",
|
|
163
|
+
flexDirection: "column",
|
|
164
|
+
position: "relative",
|
|
165
|
+
overflow: "hidden"
|
|
166
|
+
},
|
|
167
|
+
children: [
|
|
168
|
+
/* @__PURE__ */ f("div", { style: {
|
|
169
|
+
position: "absolute",
|
|
170
|
+
top: -80,
|
|
171
|
+
right: -80,
|
|
172
|
+
width: 280,
|
|
173
|
+
height: 280,
|
|
174
|
+
borderRadius: "50%",
|
|
175
|
+
background: "radial-gradient(circle, var(--auth-panel-glow-1) 0%, transparent 70%)"
|
|
176
|
+
} }),
|
|
177
|
+
/* @__PURE__ */ f("div", { style: {
|
|
178
|
+
position: "absolute",
|
|
179
|
+
bottom: -60,
|
|
180
|
+
left: -40,
|
|
181
|
+
width: 220,
|
|
182
|
+
height: 220,
|
|
183
|
+
borderRadius: "50%",
|
|
184
|
+
background: "radial-gradient(circle, var(--auth-panel-glow-2) 0%, transparent 70%)"
|
|
185
|
+
} }),
|
|
186
|
+
/* @__PURE__ */ p("div", {
|
|
187
|
+
style: {
|
|
188
|
+
display: "flex",
|
|
189
|
+
alignItems: "center",
|
|
190
|
+
gap: 8,
|
|
191
|
+
position: "relative"
|
|
192
|
+
},
|
|
193
|
+
children: [
|
|
194
|
+
/* @__PURE__ */ f(m, {
|
|
195
|
+
appLogo: j?.app_logo,
|
|
196
|
+
size: 34
|
|
197
|
+
}),
|
|
198
|
+
M && /* @__PURE__ */ f("span", {
|
|
199
|
+
style: {
|
|
200
|
+
fontSize: 18,
|
|
201
|
+
fontWeight: 600,
|
|
202
|
+
letterSpacing: "-0.012em"
|
|
203
|
+
},
|
|
204
|
+
children: M
|
|
205
|
+
}),
|
|
206
|
+
F && /* @__PURE__ */ f("span", {
|
|
207
|
+
className: "mono",
|
|
208
|
+
style: {
|
|
209
|
+
fontSize: 10,
|
|
210
|
+
padding: "2px 6px",
|
|
211
|
+
border: "1px solid var(--auth-panel-border-faint)",
|
|
212
|
+
borderRadius: 4,
|
|
213
|
+
color: "var(--auth-panel-fg-muted)"
|
|
214
|
+
},
|
|
215
|
+
children: F
|
|
216
|
+
})
|
|
217
|
+
]
|
|
218
|
+
}),
|
|
219
|
+
(j?.app_logo || M) && /* @__PURE__ */ p("div", {
|
|
220
|
+
style: {
|
|
221
|
+
marginTop: 48,
|
|
222
|
+
position: "relative",
|
|
223
|
+
display: "flex",
|
|
224
|
+
flexDirection: "column",
|
|
225
|
+
alignItems: "center",
|
|
226
|
+
gap: 16
|
|
227
|
+
},
|
|
228
|
+
children: [j?.app_logo && /* @__PURE__ */ f(m, {
|
|
229
|
+
appLogo: j.app_logo,
|
|
230
|
+
size: 96,
|
|
231
|
+
radius: 0
|
|
232
|
+
}), M && /* @__PURE__ */ f("span", {
|
|
233
|
+
style: {
|
|
234
|
+
fontSize: 28,
|
|
235
|
+
fontWeight: 600,
|
|
236
|
+
letterSpacing: "-0.018em",
|
|
237
|
+
color: "var(--auth-panel-fg)"
|
|
238
|
+
},
|
|
239
|
+
children: M
|
|
240
|
+
})]
|
|
241
|
+
}),
|
|
242
|
+
/* @__PURE__ */ p("div", {
|
|
243
|
+
style: {
|
|
244
|
+
marginTop: "auto",
|
|
245
|
+
position: "relative"
|
|
246
|
+
},
|
|
247
|
+
children: [
|
|
248
|
+
N && /* @__PURE__ */ f("h1", {
|
|
249
|
+
style: {
|
|
250
|
+
margin: 0,
|
|
251
|
+
fontSize: 26,
|
|
252
|
+
fontWeight: 600,
|
|
253
|
+
letterSpacing: "-0.022em",
|
|
254
|
+
lineHeight: 1.2
|
|
255
|
+
},
|
|
256
|
+
children: N
|
|
257
|
+
}),
|
|
258
|
+
P && /* @__PURE__ */ f("p", {
|
|
259
|
+
style: {
|
|
260
|
+
margin: "10px 0 0",
|
|
261
|
+
fontSize: 13,
|
|
262
|
+
color: "var(--auth-panel-fg-muted)",
|
|
263
|
+
lineHeight: 1.65
|
|
264
|
+
},
|
|
265
|
+
children: P
|
|
266
|
+
}),
|
|
267
|
+
I.length > 0 && /* @__PURE__ */ f("div", {
|
|
268
|
+
style: {
|
|
269
|
+
marginTop: 22,
|
|
270
|
+
display: "grid",
|
|
271
|
+
gridTemplateColumns: "1fr 1fr",
|
|
272
|
+
gap: 10,
|
|
273
|
+
fontSize: 11.5,
|
|
274
|
+
color: "var(--auth-panel-fg-dim)"
|
|
275
|
+
},
|
|
276
|
+
children: I.map(([e, t]) => {
|
|
277
|
+
let r = n[t];
|
|
278
|
+
return /* @__PURE__ */ p("div", {
|
|
279
|
+
style: {
|
|
280
|
+
display: "flex",
|
|
281
|
+
alignItems: "center",
|
|
282
|
+
gap: 6
|
|
283
|
+
},
|
|
284
|
+
children: [r && /* @__PURE__ */ f(r, {
|
|
285
|
+
size: 12,
|
|
286
|
+
style: { color: "var(--accent-hover)" }
|
|
287
|
+
}), /* @__PURE__ */ f("span", { children: e })]
|
|
288
|
+
}, e);
|
|
289
|
+
})
|
|
290
|
+
}),
|
|
291
|
+
B && /* @__PURE__ */ f("a", {
|
|
292
|
+
href: z,
|
|
293
|
+
target: "_blank",
|
|
294
|
+
rel: "noopener noreferrer",
|
|
295
|
+
className: "mono",
|
|
296
|
+
style: {
|
|
297
|
+
marginTop: 20,
|
|
298
|
+
padding: "10px 12px",
|
|
299
|
+
background: "var(--auth-panel-surface-soft)",
|
|
300
|
+
border: "1px solid var(--auth-panel-border-soft)",
|
|
301
|
+
borderRadius: 8,
|
|
302
|
+
display: "flex",
|
|
303
|
+
alignItems: "center",
|
|
304
|
+
gap: 8,
|
|
305
|
+
fontSize: 11.5,
|
|
306
|
+
color: "var(--auth-panel-fg-muted)",
|
|
307
|
+
textDecoration: "none"
|
|
308
|
+
},
|
|
309
|
+
children: g(z)
|
|
310
|
+
})
|
|
311
|
+
]
|
|
312
|
+
})
|
|
313
|
+
]
|
|
314
|
+
}), /* @__PURE__ */ f("div", {
|
|
315
|
+
"data-testid": "auth-form-panel",
|
|
316
|
+
style: {
|
|
317
|
+
padding: Y ? "28px 20px 24px" : "36px 40px",
|
|
318
|
+
display: "flex",
|
|
319
|
+
flexDirection: "column",
|
|
320
|
+
justifyContent: "center",
|
|
321
|
+
minWidth: 0
|
|
322
|
+
},
|
|
323
|
+
children: a
|
|
324
|
+
})]
|
|
325
|
+
})
|
|
326
|
+
}),
|
|
327
|
+
/* @__PURE__ */ p("div", {
|
|
328
|
+
style: {
|
|
329
|
+
padding: Y ? "12px 14px calc(12px + var(--safe-area-bottom))" : "14px 20px",
|
|
330
|
+
display: "flex",
|
|
331
|
+
alignItems: Y ? "flex-start" : "center",
|
|
332
|
+
flexDirection: Y ? "column" : "row",
|
|
333
|
+
gap: Y ? 6 : 16,
|
|
334
|
+
fontSize: 11,
|
|
335
|
+
color: "var(--text-4)",
|
|
336
|
+
minWidth: 0
|
|
337
|
+
},
|
|
338
|
+
children: [
|
|
339
|
+
/* @__PURE__ */ f("span", { children: W }),
|
|
340
|
+
H.map(([e, t]) => /* @__PURE__ */ f("a", {
|
|
341
|
+
href: t,
|
|
342
|
+
target: "_blank",
|
|
343
|
+
rel: "noopener noreferrer",
|
|
344
|
+
style: { color: "inherit" },
|
|
345
|
+
children: e
|
|
346
|
+
}, e)),
|
|
347
|
+
J && /* @__PURE__ */ p(d, { children: [!Y && /* @__PURE__ */ f("div", { style: { flex: 1 } }), /* @__PURE__ */ f("span", {
|
|
348
|
+
className: "mono",
|
|
349
|
+
style: {
|
|
350
|
+
maxWidth: "100%",
|
|
351
|
+
overflowWrap: "anywhere"
|
|
352
|
+
},
|
|
353
|
+
children: J
|
|
354
|
+
})] })
|
|
355
|
+
]
|
|
356
|
+
})
|
|
357
|
+
]
|
|
358
|
+
});
|
|
359
|
+
}
|
|
360
|
+
//#endregion
|
|
361
|
+
export { m as n, v as t };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Suspense as e, lazy as t } from "react";
|
|
2
|
+
import { jsx as n } from "react/jsx-runtime";
|
|
3
|
+
//#region src/components/shared/ChangePasswordDialog.tsx
|
|
4
|
+
var r = t(() => import("./ChangePasswordDialog.impl-DtSIaP-A.js").then((e) => ({ default: e.ChangePasswordDialog })));
|
|
5
|
+
function i(t) {
|
|
6
|
+
return /* @__PURE__ */ n(e, {
|
|
7
|
+
fallback: null,
|
|
8
|
+
children: /* @__PURE__ */ n(r, { ...t })
|
|
9
|
+
});
|
|
10
|
+
}
|
|
11
|
+
//#endregion
|
|
12
|
+
export { i as t };
|
|
@@ -0,0 +1,194 @@
|
|
|
1
|
+
import { Ft as e, Q as t, wt as n, xt as r } from "./useCurrentScreen--UovgvRj.js";
|
|
2
|
+
import { t as i } from "./Icons-lt-7lhYR.js";
|
|
3
|
+
import { n as a, r as o } from "./CopyButton-C0iEvaT1.js";
|
|
4
|
+
import { Q as s, V as c, W as l } from "./PropertyGridEditor-BTjscqfz.js";
|
|
5
|
+
import { useId as u, useState as d } from "react";
|
|
6
|
+
import { Fragment as f, jsx as p, jsxs as m } from "react/jsx-runtime";
|
|
7
|
+
//#region src/components/shared/ChangePasswordDialog.impl.tsx
|
|
8
|
+
var h = "auth.change_password", g = "auth.change_password@v1";
|
|
9
|
+
function _({ open: _, onClose: v, onSubmit: y }) {
|
|
10
|
+
let b = n(), x = n("errors"), { data: S } = e(), C = b(S?.actions?.[h]?.display?.name) || h, w = r().isPhone, T = u(), [E, D] = d(""), [O, k] = d(""), [A, j] = d(""), [M, N] = d(!1), [P, F] = d(null);
|
|
11
|
+
if (!_) return null;
|
|
12
|
+
let I = () => {
|
|
13
|
+
D(""), k(""), j(""), F(null), N(!1);
|
|
14
|
+
}, L = () => {
|
|
15
|
+
I(), v();
|
|
16
|
+
}, R = E.length > 0 && O.length >= 8 && A === O;
|
|
17
|
+
return /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ p("div", {
|
|
18
|
+
onClick: L,
|
|
19
|
+
style: {
|
|
20
|
+
position: "fixed",
|
|
21
|
+
inset: 0,
|
|
22
|
+
background: "var(--scrim)",
|
|
23
|
+
zIndex: 60,
|
|
24
|
+
backdropFilter: "blur(2px)"
|
|
25
|
+
}
|
|
26
|
+
}), /* @__PURE__ */ m("div", {
|
|
27
|
+
"data-testid": "change-password-dialog",
|
|
28
|
+
style: {
|
|
29
|
+
position: "fixed",
|
|
30
|
+
top: "50%",
|
|
31
|
+
left: "50%",
|
|
32
|
+
transform: "translate(-50%, -50%)",
|
|
33
|
+
zIndex: 61,
|
|
34
|
+
width: w ? "calc(100vw - 24px)" : 460,
|
|
35
|
+
maxWidth: "calc(100vw - 24px)",
|
|
36
|
+
background: "var(--surface)",
|
|
37
|
+
borderRadius: 12,
|
|
38
|
+
boxShadow: "var(--shadow-lg)",
|
|
39
|
+
border: "1px solid var(--border)",
|
|
40
|
+
overflow: "hidden"
|
|
41
|
+
},
|
|
42
|
+
children: [
|
|
43
|
+
/* @__PURE__ */ m("div", {
|
|
44
|
+
style: {
|
|
45
|
+
padding: "14px 18px 0",
|
|
46
|
+
display: "flex",
|
|
47
|
+
alignItems: "center",
|
|
48
|
+
gap: 10
|
|
49
|
+
},
|
|
50
|
+
children: [
|
|
51
|
+
/* @__PURE__ */ p("span", {
|
|
52
|
+
style: {
|
|
53
|
+
width: 28,
|
|
54
|
+
height: 28,
|
|
55
|
+
borderRadius: 7,
|
|
56
|
+
background: "var(--accent-soft)",
|
|
57
|
+
color: "var(--accent)",
|
|
58
|
+
display: "inline-flex",
|
|
59
|
+
alignItems: "center",
|
|
60
|
+
justifyContent: "center"
|
|
61
|
+
},
|
|
62
|
+
children: /* @__PURE__ */ p(i.key, { size: 15 })
|
|
63
|
+
}),
|
|
64
|
+
/* @__PURE__ */ m("div", {
|
|
65
|
+
style: { flex: 1 },
|
|
66
|
+
children: [/* @__PURE__ */ p("div", {
|
|
67
|
+
style: {
|
|
68
|
+
fontSize: 14,
|
|
69
|
+
fontWeight: 600,
|
|
70
|
+
color: "var(--text)"
|
|
71
|
+
},
|
|
72
|
+
children: C
|
|
73
|
+
}), /* @__PURE__ */ p("div", {
|
|
74
|
+
style: {
|
|
75
|
+
fontSize: 11.5,
|
|
76
|
+
color: "var(--text-3)"
|
|
77
|
+
},
|
|
78
|
+
children: b("account.password.subtitle", "Pick something strong. You'll stay signed in on this device.")
|
|
79
|
+
})]
|
|
80
|
+
}),
|
|
81
|
+
/* @__PURE__ */ p(a, {
|
|
82
|
+
icon: /* @__PURE__ */ p(i.x, { size: 14 }),
|
|
83
|
+
title: b("dialog.close", "Close"),
|
|
84
|
+
onClick: L
|
|
85
|
+
})
|
|
86
|
+
]
|
|
87
|
+
}),
|
|
88
|
+
/* @__PURE__ */ m("div", {
|
|
89
|
+
style: {
|
|
90
|
+
padding: "12px 18px 16px",
|
|
91
|
+
display: "flex",
|
|
92
|
+
flexDirection: "column",
|
|
93
|
+
gap: 12
|
|
94
|
+
},
|
|
95
|
+
children: [
|
|
96
|
+
/* @__PURE__ */ m("div", { children: [/* @__PURE__ */ p(c, {
|
|
97
|
+
required: !0,
|
|
98
|
+
htmlFor: `${T}-current`,
|
|
99
|
+
children: b("account.password.current", "Current password")
|
|
100
|
+
}), /* @__PURE__ */ p(l, {
|
|
101
|
+
id: `${T}-current`,
|
|
102
|
+
value: E,
|
|
103
|
+
onChange: D,
|
|
104
|
+
placeholder: b("account.password.current_placeholder", "Enter your current password")
|
|
105
|
+
})] }),
|
|
106
|
+
/* @__PURE__ */ m("div", { children: [/* @__PURE__ */ p(c, {
|
|
107
|
+
required: !0,
|
|
108
|
+
htmlFor: `${T}-new`,
|
|
109
|
+
children: b("account.password.new", "New password")
|
|
110
|
+
}), /* @__PURE__ */ p(l, {
|
|
111
|
+
id: `${T}-new`,
|
|
112
|
+
value: O,
|
|
113
|
+
onChange: k,
|
|
114
|
+
placeholder: b("account.password.new_placeholder", "At least 8 characters"),
|
|
115
|
+
showStrength: !0
|
|
116
|
+
})] }),
|
|
117
|
+
/* @__PURE__ */ m("div", { children: [/* @__PURE__ */ p(c, {
|
|
118
|
+
required: !0,
|
|
119
|
+
htmlFor: `${T}-confirm`,
|
|
120
|
+
children: b("account.password.confirm", "Confirm new password")
|
|
121
|
+
}), /* @__PURE__ */ p(l, {
|
|
122
|
+
id: `${T}-confirm`,
|
|
123
|
+
value: A,
|
|
124
|
+
onChange: j,
|
|
125
|
+
placeholder: b("account.password.confirm_placeholder", "Re-enter new password")
|
|
126
|
+
})] }),
|
|
127
|
+
P && /* @__PURE__ */ m("div", {
|
|
128
|
+
style: {
|
|
129
|
+
padding: "8px 10px",
|
|
130
|
+
background: "var(--danger-soft)",
|
|
131
|
+
borderRadius: 6,
|
|
132
|
+
fontSize: 11.5,
|
|
133
|
+
color: "var(--danger)",
|
|
134
|
+
display: "flex",
|
|
135
|
+
gap: 6
|
|
136
|
+
},
|
|
137
|
+
children: [/* @__PURE__ */ p(i.info, { size: 13 }), /* @__PURE__ */ p("span", { children: P })]
|
|
138
|
+
})
|
|
139
|
+
]
|
|
140
|
+
}),
|
|
141
|
+
/* @__PURE__ */ m("div", {
|
|
142
|
+
style: {
|
|
143
|
+
padding: "10px 16px",
|
|
144
|
+
borderTop: "1px solid var(--divider)",
|
|
145
|
+
display: "flex",
|
|
146
|
+
alignItems: "center",
|
|
147
|
+
gap: 8,
|
|
148
|
+
background: "var(--surface-2)",
|
|
149
|
+
flexWrap: w ? "wrap" : "nowrap"
|
|
150
|
+
},
|
|
151
|
+
children: [
|
|
152
|
+
/* @__PURE__ */ p("span", {
|
|
153
|
+
className: "mono",
|
|
154
|
+
style: {
|
|
155
|
+
fontSize: 10.5,
|
|
156
|
+
color: "var(--text-4)",
|
|
157
|
+
overflowWrap: "anywhere"
|
|
158
|
+
},
|
|
159
|
+
children: g
|
|
160
|
+
}),
|
|
161
|
+
/* @__PURE__ */ p("div", { style: { flex: 1 } }),
|
|
162
|
+
/* @__PURE__ */ p(o, {
|
|
163
|
+
onClick: L,
|
|
164
|
+
children: b("dialog.cancel", "Cancel")
|
|
165
|
+
}),
|
|
166
|
+
/* @__PURE__ */ p(o, {
|
|
167
|
+
kind: "primary",
|
|
168
|
+
icon: p(M ? s : i.key, { size: 13 }),
|
|
169
|
+
onClick: async () => {
|
|
170
|
+
if (!R) O.length < 8 ? F(b("account.password.too_short", "New password must be at least 8 characters.")) : F(A === O ? b("account.password.fill_all", "Fill in all fields.") : b("account.password.mismatch", "Passwords do not match."));
|
|
171
|
+
else {
|
|
172
|
+
F(null), N(!0);
|
|
173
|
+
try {
|
|
174
|
+
await y({
|
|
175
|
+
current: E,
|
|
176
|
+
next: O
|
|
177
|
+
}), I(), v();
|
|
178
|
+
} catch (e) {
|
|
179
|
+
F(t(x, e));
|
|
180
|
+
} finally {
|
|
181
|
+
N(!1);
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
},
|
|
185
|
+
disabled: !R || M,
|
|
186
|
+
children: M ? b("account.password.updating", "Updating…") : b("account.password.submit", "Update password")
|
|
187
|
+
})
|
|
188
|
+
]
|
|
189
|
+
})
|
|
190
|
+
]
|
|
191
|
+
})] });
|
|
192
|
+
}
|
|
193
|
+
//#endregion
|
|
194
|
+
export { _ as ChangePasswordDialog };
|