camox 0.43.0 → 0.45.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/bin/camox.mjs +9 -1
- package/dist/components/AuthGate.js +0 -6
- package/dist/components/DeviceSelector.js +96 -0
- package/dist/components/PlatformLabel.js +20 -24
- package/dist/core/components/lexical/HighlightNode.js +1 -1
- package/dist/core/components/lexical/InlineContentEditable.js +15 -19
- package/dist/core/components/lexical/InlineLexicalEditor.js +54 -74
- package/dist/core/components/lexical/InlineStylesPlugin.js +57 -41
- package/dist/core/components/lexical/MaxLengthPlugin.js +59 -0
- package/dist/core/components/lexical/SelectionBroadcaster.js +55 -56
- package/dist/core/components/lexical/SidebarLexicalEditor.js +327 -234
- package/dist/core/components/lexical/SummaryToggleGuard.js +42 -0
- package/dist/core/components/lexical/TextLinkPopover.js +169 -180
- package/dist/core/createApp.d.ts +254 -299
- package/dist/core/createApp.js +123 -29
- package/dist/core/createBlock.d.ts +5 -5
- package/dist/core/createBlock.js +399 -152
- package/dist/core/createCollection.d.ts +55 -0
- package/dist/core/createCollection.js +93 -0
- package/dist/core/createLayout.d.ts +197 -61
- package/dist/core/createLayout.js +114 -56
- package/dist/core/defineDocument.d.ts +3 -5
- package/dist/core/derivedRoutes.js +49 -1
- package/dist/core/dom.d.ts +13 -4
- package/dist/core/dom.js +44 -1
- package/dist/core/editing/BlockEditingRuntime.d.ts +16 -0
- package/dist/core/editing/BlockEditingRuntime.js +6 -15
- package/dist/core/editing/CompleteBlockEditingRuntime.js +28 -23
- package/dist/core/editing/createEditableBlock.d.ts +820 -565
- package/dist/core/editing/createEditableBlock.js +2153 -971
- package/dist/core/editing/referenceWrites.js +51 -0
- package/dist/core/editing/useLatestRecord.js +90 -0
- package/dist/core/hooks/useArtifactHost.js +139 -0
- package/dist/core/hooks/useFieldSelection.js +43 -18
- package/dist/core/hooks/useIsEditable.js +12 -10
- package/dist/core/hooks/useOverlayMessage.js +15 -19
- package/dist/core/lib/artifact.d.ts +21 -0
- package/dist/core/lib/artifact.js +154 -0
- package/dist/core/lib/artifactColors.js +123 -0
- package/dist/core/lib/artifactData.d.ts +1 -0
- package/dist/core/lib/artifactData.js +131 -0
- package/dist/core/lib/artifactHost.js +205 -0
- package/dist/core/lib/artifactRuntime.js +36 -0
- package/dist/core/lib/artifactTheme.js +57 -0
- package/dist/core/lib/contentType.d.ts +304 -103
- package/dist/core/lib/contentType.js +207 -168
- package/dist/core/lib/fieldTypes.js +4 -0
- package/dist/core/lib/iconTypes.d.ts +13 -0
- package/dist/core/lib/icons.d.ts +6 -0
- package/dist/core/lib/icons.js +126 -0
- package/dist/core/lib/imagePlaceholder.js +177 -0
- package/dist/core/lib/imageTransform.js +1 -1
- package/dist/core/lib/lexicalReact.d.ts +3 -1
- package/dist/core/lib/lexicalState.js +7 -7
- package/dist/core/lib/modifierFormats.js +1 -1
- package/dist/core/lib/previewPaused.js +9 -0
- package/dist/core/lib/recordScope.js +316 -0
- package/dist/core/lib/reference.d.ts +81 -0
- package/dist/core/lib/reference.js +29 -0
- package/dist/core/lib/textLinks.js +7 -5
- package/dist/core/lib/textStyles.d.ts +6 -8
- package/dist/core/lib/textStyles.js +5 -5
- package/dist/core/notFound.d.ts +7 -0
- package/dist/core/notFound.js +11 -0
- package/dist/core/pageDestinations.js +6 -3
- package/dist/core/recordItem.js +34 -0
- package/dist/core/requestContext.d.ts +26 -0
- package/dist/core/requestContext.js +20 -0
- package/dist/features/canvas/CamoxCanvas.js +1734 -0
- package/dist/features/canvas/CanvasBlockFrame.js +353 -0
- package/dist/features/canvas/CanvasBlockHeader.js +55 -0
- package/dist/features/canvas/CanvasLoadingScreen.js +35 -0
- package/dist/features/canvas/CanvasOverlays.js +254 -0
- package/dist/features/canvas/CanvasPageEdge.js +87 -0
- package/dist/features/canvas/CanvasPageFrame.js +335 -0
- package/dist/features/canvas/CanvasPageHeader.js +125 -0
- package/dist/features/canvas/CanvasPreviewPageSlot.js +103 -0
- package/dist/features/canvas/CanvasShelfMarker.js +255 -0
- package/dist/features/canvas/DerivedPagePathInput.js +238 -0
- package/dist/features/canvas/canvasCamera.js +229 -0
- package/dist/features/canvas/canvasFlight.js +104 -0
- package/dist/features/canvas/canvasFrameCapture.js +364 -0
- package/dist/features/canvas/canvasFrameDocument.js +317 -0
- package/dist/features/canvas/canvasFrameMode.js +53 -0
- package/dist/features/canvas/canvasInsertionSeams.js +44 -0
- package/dist/features/canvas/canvasItems.js +120 -0
- package/dist/features/canvas/canvasOverlayGeometry.js +240 -0
- package/dist/features/canvas/canvasPages.js +79 -0
- package/dist/features/canvas/canvasScreenSpace.js +26 -0
- package/dist/features/canvas/canvasSelection.js +18 -0
- package/dist/features/canvas/canvasStore.js +149 -0
- package/dist/features/canvas/canvasThumbnails.js +304 -0
- package/dist/features/canvas/canvasZoom.js +10 -0
- package/dist/features/canvas/sidebar/CanvasInspector.js +202 -0
- package/dist/features/canvas/sidebar/CanvasNavigator.js +226 -0
- package/dist/features/canvas/sidebar/CanvasSidebar.js +60 -0
- package/dist/features/canvas/sidebar/CanvasSidebarFrame.js +48 -0
- package/dist/features/canvas/sidebar/CanvasSidebarSkeleton.js +39 -0
- package/dist/features/canvas/sidebar/CatalogBlockInspector.js +189 -0
- package/dist/features/canvas/sidebar/CuratedPageInspector.js +69 -0
- package/dist/features/canvas/sidebar/DerivedPageInspector.js +37 -0
- package/dist/features/canvas/sidebar/LayoutPageBlocks.js +78 -0
- package/dist/features/canvas/sidebar/LayoutPageOverview.js +71 -0
- package/dist/features/canvas/sidebar/PageInspector.js +157 -0
- package/dist/features/canvas/sidebar/PageInspectorSkeleton.js +90 -0
- package/dist/features/canvas/sidebar/PageOverview.js +27 -0
- package/dist/features/canvas/sidebar/SingletonPageInspector.js +31 -0
- package/dist/features/canvas/useCanvasCamera.js +803 -0
- package/dist/features/canvas/useCanvasFrame.js +149 -0
- package/dist/features/canvas/useCanvasFrameInput.js +97 -0
- package/dist/features/canvas/useCanvasNearness.js +57 -0
- package/dist/features/canvas/useDiscoveredPreviewPaths.js +62 -0
- package/dist/features/content/CamoxContent.d.ts +2 -5
- package/dist/features/content/CamoxContent.js +174 -271
- package/dist/features/content/CollectionItemSheetContext.js +106 -0
- package/dist/features/content/ContentAssets.js +315 -0
- package/dist/features/content/ContentCollection.js +663 -0
- package/dist/features/content/collection-form.js +58 -0
- package/dist/features/content/components/AssetCard.js +101 -69
- package/dist/features/content/components/AssetCardSkeleton.js +4 -8
- package/dist/features/content/components/ContentSidebar.js +129 -18
- package/dist/features/content/components/ContentSidebarGroup.js +37 -0
- package/dist/features/content/components/DeleteCollectionItemButton.js +202 -0
- package/dist/features/content/components/MissingFromLocale.js +282 -0
- package/dist/features/content/components/UploadDropZone.js +27 -31
- package/dist/features/content/components/UploadProgressDrawer.js +90 -98
- package/dist/features/navigation/navigation.d.ts +66 -20
- package/dist/features/navigation/navigation.js +257 -90
- package/dist/features/og/defaultFonts.js +8 -8
- package/dist/features/og/geist-variable-ttf-base64.js +1 -1
- package/dist/features/og/imageResponse.d.ts +8 -0
- package/dist/features/og/imageResponse.js +26 -0
- package/dist/features/page/CuratedPageContent.js +167 -0
- package/dist/features/page/DerivedPageContent.js +26 -30
- package/dist/features/page/SharedLayoutContent.js +25 -27
- package/dist/features/preview/CamoxPreview.d.ts +23 -61
- package/dist/features/preview/CamoxPreview.js +811 -507
- package/dist/features/preview/EditablePageContent.js +1 -1
- package/dist/features/preview/EditablePageExperience.js +16 -22
- package/dist/features/preview/components/AddBlockDialog.js +270 -0
- package/dist/features/preview/components/AssetFieldEditor.js +173 -154
- package/dist/features/preview/components/AssetLightbox.js +194 -136
- package/dist/features/preview/components/AssetPickerModal.js +153 -170
- package/dist/features/preview/components/BlockActionsPopover.js +150 -149
- package/dist/features/preview/components/BlockErrorBoundary.js +8 -12
- package/dist/features/preview/components/BlockThumbnail.js +176 -100
- package/dist/features/preview/components/CanvasPreview.js +243 -0
- package/dist/features/preview/components/CreatePageModal.js +128 -137
- package/dist/features/preview/components/DebouncedFieldEditor.js +29 -33
- package/dist/features/preview/components/DerivedLayoutDialog.js +46 -29
- package/dist/features/preview/components/DrillRow.js +150 -0
- package/dist/features/preview/components/FieldOverlayStyles.js +33 -10
- package/dist/features/preview/components/FieldToolbar.js +166 -116
- package/dist/features/preview/components/Frame.js +108 -20
- package/dist/features/preview/components/IconFieldEditor.js +227 -0
- package/dist/features/preview/components/ItemFieldsEditor.js +238 -205
- package/dist/features/preview/components/LinkFieldEditor.js +135 -139
- package/dist/features/preview/components/Metadata.js +22 -30
- package/dist/features/preview/components/MobilePreviewDrawer.js +89 -108
- package/dist/features/preview/components/MultipleAssetFieldEditor.js +334 -246
- package/dist/features/preview/components/OverlayTracker.js +10 -42
- package/dist/features/preview/components/Overlays.js +81 -69
- package/dist/features/preview/components/PageInfo.js +1748 -0
- package/dist/features/preview/components/PageInfoSkeleton.js +51 -0
- package/dist/features/preview/components/PageLocationFieldset.js +112 -116
- package/dist/features/preview/components/PageNavigatorHeader.js +24 -0
- package/dist/features/preview/components/PageNicknameField.js +22 -26
- package/dist/features/preview/components/PagePicker.js +145 -147
- package/dist/features/preview/components/PageTree.js +525 -532
- package/dist/features/preview/components/PreviewActivation.js +28 -32
- package/dist/features/preview/components/PreviewPanel.js +620 -319
- package/dist/features/preview/components/PreviewToolbar.js +111 -340
- package/dist/features/preview/components/RecordCard.js +80 -0
- package/dist/features/preview/components/RecordCombobox.js +178 -0
- package/dist/features/preview/components/ReferenceFieldEditor.js +149 -0
- package/dist/features/preview/components/ReferenceListFieldEditor.js +432 -0
- package/dist/features/preview/components/RemovedBlockPlaceholder.js +95 -0
- package/dist/features/preview/components/RepeatableItemsList.js +125 -138
- package/dist/features/preview/components/SelectionEditor.js +993 -0
- package/dist/features/preview/components/ShikiMarkdown.js +14 -18
- package/dist/features/preview/components/SidebarSection.js +52 -64
- package/dist/features/preview/components/StudioEditingFallback.js +56 -0
- package/dist/features/preview/components/UnlinkAssetButton.js +104 -107
- package/dist/features/preview/components/blockGridNavigation.js +15 -0
- package/dist/features/preview/components/contentFieldSchema.js +8 -0
- package/dist/features/preview/components/useFieldWriter.js +200 -0
- package/dist/features/preview/components/useRecordView.js +383 -0
- package/dist/features/preview/components/useRepeatableItemActions.js +35 -37
- package/dist/features/preview/components/useUpdateBlockPosition.js +37 -37
- package/dist/features/preview/editingFrame.js +197 -0
- package/dist/features/preview/overlayHighlights.js +27 -0
- package/dist/features/preview/overlayMessages.js +72 -1
- package/dist/features/preview/pageRecord.js +189 -0
- package/dist/features/preview/previewConstants.js +6 -2
- package/dist/features/preview/previewPageFrame.js +95 -0
- package/dist/features/preview/previewPreparation.js +7 -0
- package/dist/features/preview/previewSelection.js +33 -59
- package/dist/features/preview/previewStore.js +225 -123
- package/dist/features/preview/referencePickerFocus.js +29 -0
- package/dist/features/preview/repeatableItemTargets.js +56 -0
- package/dist/features/preview/selectionReveal.js +21 -0
- package/dist/features/preview/usePreviewViewportActions.js +114 -0
- package/dist/features/preview/viewportContinuity.js +109 -0
- package/dist/features/provider/AuthenticatedCamoxProvider.js +69 -44
- package/dist/features/provider/CamoxProvider.d.ts +3 -6
- package/dist/features/provider/CamoxProvider.js +38 -50
- package/dist/features/provider/CoreCamoxProvider.js +71 -23
- package/dist/features/provider/LocalhostPreviewProvider.js +73 -73
- package/dist/features/provider/PreviewSignInPage.js +54 -0
- package/dist/features/provider/components/CamoxAppContext.js +11 -11
- package/dist/features/provider/components/CommandPalette.js +87 -143
- package/dist/features/provider/useAdminShortcuts.js +7 -11
- package/dist/features/routes/pageRuntime.d.ts +44 -4
- package/dist/features/routes/pageRuntime.js +244 -137
- package/dist/features/runtime/RuntimeChrome.js +117 -115
- package/dist/features/runtime/alternates.js +64 -0
- package/dist/features/runtime/analytics.d.ts +7 -0
- package/dist/features/runtime/analytics.js +66 -0
- package/dist/features/runtime/artifactSources.js +87 -0
- package/dist/features/runtime/editingFallback.js +20 -0
- package/dist/features/runtime/linkPrefetch.js +97 -0
- package/dist/features/runtime/livePages.js +62 -0
- package/dist/features/runtime/llmsTxt.js +40 -0
- package/dist/features/runtime/loopbackFetch.js +18 -0
- package/dist/features/runtime/navigationAccessibility.js +51 -0
- package/dist/features/runtime/navigationTarget.js +23 -2
- package/dist/features/runtime/pageApp.js +216 -141
- package/dist/features/runtime/pageBlockTypes.js +20 -0
- package/dist/features/runtime/pageClient.d.ts +2 -4
- package/dist/features/runtime/pageClient.js +18 -3
- package/dist/features/runtime/pageNavigation.js +254 -32
- package/dist/features/runtime/pageServer.d.ts +2 -4
- package/dist/features/runtime/pageServer.js +8 -1
- package/dist/features/runtime/pageViewport.js +7 -0
- package/dist/features/runtime/runtime.d.ts +60 -23
- package/dist/features/runtime/runtime.js +779 -166
- package/dist/features/runtime/runtimeChromeLoader.js +58 -0
- package/dist/features/runtime/runtimeRoutes.d.ts +19 -0
- package/dist/features/runtime/runtimeRoutes.js +25 -0
- package/dist/features/runtime/scrollRestoration.js +133 -0
- package/dist/features/runtime/studioApp.d.ts +4 -3
- package/dist/features/runtime/studioApp.js +5 -9
- package/dist/features/runtime/studioClient.d.ts +2 -4
- package/dist/features/runtime/studioClient.js +12 -3
- package/dist/features/runtime/studioServer.d.ts +2 -4
- package/dist/features/runtime/studioServer.js +6 -1
- package/dist/features/runtime/worker.d.ts +6 -0
- package/dist/features/runtime/worker.js +23 -0
- package/dist/features/runtime/workerRequest.js +44 -0
- package/dist/features/studio/CamoxStudio.d.ts +2 -6
- package/dist/features/studio/CamoxStudio.js +34 -49
- package/dist/features/studio/FollowAgentProvider.js +338 -0
- package/dist/features/studio/components/ChatSidebar.js +356 -0
- package/dist/features/studio/components/DraftsControl.js +676 -0
- package/dist/features/studio/components/FaviconDialog.js +318 -0
- package/dist/features/studio/components/LocalePicker.js +785 -0
- package/dist/features/studio/components/Navbar.js +123 -103
- package/dist/features/studio/components/ProjectMenu.js +239 -260
- package/dist/features/studio/components/RenameDraftDialog.js +206 -0
- package/dist/features/studio/components/ReviewDraftSheet.js +1472 -0
- package/dist/features/studio/components/ThreadComposer.js +157 -0
- package/dist/features/studio/components/ThreadMarkdown.js +113 -0
- package/dist/features/studio/components/ThreadMessages.js +270 -0
- package/dist/features/studio/components/UserButton.js +34 -23
- package/dist/features/studio/draftLabel.js +33 -0
- package/dist/features/studio/draftNotice.js +13 -0
- package/dist/features/studio/followAgent.js +250 -0
- package/dist/features/studio/followAgentContext.js +7 -0
- package/dist/features/studio/localeOptions.js +118 -0
- package/dist/features/studio/localeSwitch.js +19 -0
- package/dist/features/studio/routes.js +48 -1
- package/dist/features/studio/studioStore.js +64 -1
- package/dist/features/studio/useTheme.js +24 -27
- package/dist/features/vite/artifactRuntimeMinification.js +36 -0
- package/dist/features/vite/auth.js +1 -50
- package/dist/features/vite/blockBoilerplate.js +6 -5
- package/dist/features/vite/blockChunks.js +31 -0
- package/dist/features/vite/bundlerLogs.js +17 -0
- package/dist/features/vite/definitionsSync.js +158 -226
- package/dist/features/vite/devAuthentication.js +4 -16
- package/dist/features/vite/devSignIn.js +87 -0
- package/dist/features/vite/iconGeneration.js +16 -0
- package/dist/features/vite/layoutGeneration.js +11 -1
- package/dist/features/vite/publishSeededContent.js +30 -0
- package/dist/features/vite/routeGeneration.js +6 -7
- package/dist/features/vite/runtimeDev.js +80 -99
- package/dist/features/vite/vite.d.ts +53 -31
- package/dist/features/vite/vite.js +230 -116
- package/dist/features/vite/workerBuild.js +39 -0
- package/dist/hooks/use-debounced-field.js +116 -47
- package/dist/hooks/use-file-upload.js +114 -67
- package/dist/hooks/use-marquee-selection.js +32 -36
- package/dist/hooks/use-page-destinations.js +69 -37
- package/dist/lib/api-client-server.d.ts +5 -0
- package/dist/lib/api-client-server.js +10 -4
- package/dist/lib/api-client.d.ts +6 -0
- package/dist/lib/api-client.js +51 -16
- package/dist/lib/api-socket.js +17 -0
- package/dist/lib/auth-page-styles.js +39 -0
- package/dist/lib/auth.js +139 -60
- package/dist/lib/collection-cache.js +23 -0
- package/dist/lib/draft-scope.d.ts +4 -0
- package/dist/lib/draft-scope.js +222 -0
- package/dist/lib/html.js +12 -0
- package/dist/lib/link-pages.js +154 -0
- package/dist/lib/locale-path.d.ts +22 -0
- package/dist/lib/locale-path.js +57 -0
- package/dist/lib/normalized-data.js +252 -152
- package/dist/lib/preview-handoff.js +13 -0
- package/dist/lib/queries.d.ts +11 -0
- package/dist/lib/queries.js +71 -131
- package/dist/lib/studio-reads.d.ts +14 -0
- package/dist/lib/studio-reads.js +574 -0
- package/dist/lib/use-project-room.js +50 -47
- package/dist/lib/use-thread.js +310 -0
- package/dist/lib/utils.js +25 -29
- package/dist/lib/view-locale-context.js +22 -0
- package/dist/lib/view-locale.js +46 -0
- package/dist/package.js +5 -0
- package/dist/studio-overlays.css +41 -147
- package/dist/studio.css +2 -2
- package/package.json +70 -72
- package/skills/camox/SKILL.md +16 -5
- package/skills/camox/references/artifacts.md +179 -0
- package/skills/camox/references/block-definitions.md +98 -55
- package/skills/camox/references/cli-common.md +18 -6
- package/skills/camox/references/cli-content.md +92 -58
- package/skills/camox/references/cli-publishing.md +26 -0
- package/skills/camox/references/dom-integrations.md +27 -0
- package/skills/camox/references/field-styling.md +7 -7
- package/skills/camox/references/layout-definitions.md +16 -14
- package/skills/camox/references/localization.md +56 -0
- package/skills/camox/references/routed-layouts.md +133 -15
- package/skills/camox-expand/SKILL.md +69 -0
- package/skills/camox-expand/references/jobs.md +39 -0
- package/skills/camoxify/SKILL.md +38 -2
- package/dist/core/components/AddBlockControlBar.js +0 -78
- package/dist/core/hooks/useRequireDraftSource.js +0 -23
- package/dist/features/metadata/sitemap.d.ts +0 -8
- package/dist/features/metadata/sitemap.js +0 -17
- package/dist/features/og/imageResponse.node.d.ts +0 -12
- package/dist/features/og/imageResponse.node.js +0 -49
- package/dist/features/og/imageResponse.workerd.d.ts +0 -12
- package/dist/features/og/imageResponse.workerd.js +0 -40
- package/dist/features/page/PublishedPageContent.js +0 -205
- package/dist/features/page/PublishedPageExperience.js +0 -23
- package/dist/features/preview/DerivedPreview.js +0 -134
- package/dist/features/preview/commentsEnabled.js +0 -8
- package/dist/features/preview/components/AddBlockSidebar.js +0 -381
- package/dist/features/preview/components/AttachedComments.js +0 -194
- package/dist/features/preview/components/CommentHeader.js +0 -122
- package/dist/features/preview/components/CommentSidebar.js +0 -29
- package/dist/features/preview/components/CommentTargetQuote.js +0 -166
- package/dist/features/preview/components/DerivedLayoutSidebar.d.ts +0 -5
- package/dist/features/preview/components/DerivedLayoutSidebar.js +0 -179
- package/dist/features/preview/components/DerivedPageInfoSidebar.js +0 -69
- package/dist/features/preview/components/LeftSidebar.js +0 -68
- package/dist/features/preview/components/PageEditorSidebar.js +0 -563
- package/dist/features/preview/components/PageInfoSidebar.js +0 -1551
- package/dist/features/preview/components/PageNavigatorSidebar.js +0 -78
- package/dist/features/preview/components/PageStatusBadge.js +0 -97
- package/dist/features/preview/components/PeekedBlock.js +0 -217
- package/dist/features/preview/components/PreviewComments.js +0 -56
- package/dist/features/preview/components/PreviewToolbarSpacer.js +0 -43
- package/dist/features/preview/components/PublicationRow.js +0 -422
- package/dist/features/preview/components/PublishDialog.js +0 -194
- package/dist/features/preview/components/RightSidebar.js +0 -59
- package/dist/features/preview/previewCommentsStore.js +0 -115
- package/dist/features/preview/publication.js +0 -81
- package/dist/features/runtime/SharedChromeContext.js +0 -7
- package/dist/features/studio/components/EnvironmentMenu.js +0 -413
- package/dist/features/vite/appGeneration.js +0 -89
- package/dist/lib/view-queries.js +0 -28
- package/dist/node_modules/.pnpm/@tanstack_router-core@1.168.14/node_modules/@tanstack/router-core/dist/esm/Matches.d.ts +0 -114
- package/dist/node_modules/.pnpm/@tanstack_router-core@1.168.14/node_modules/@tanstack/router-core/dist/esm/RouterProvider.d.ts +0 -25
- package/dist/node_modules/.pnpm/@tanstack_router-core@1.168.14/node_modules/@tanstack/router-core/dist/esm/config.d.ts +0 -1
- package/dist/node_modules/.pnpm/@tanstack_router-core@1.168.14/node_modules/@tanstack/router-core/dist/esm/defer.d.ts +0 -1
- package/dist/node_modules/.pnpm/@tanstack_router-core@1.168.14/node_modules/@tanstack/router-core/dist/esm/fileRoute.d.ts +0 -20
- package/dist/node_modules/.pnpm/@tanstack_router-core@1.168.14/node_modules/@tanstack/router-core/dist/esm/global.d.ts +0 -8
- package/dist/node_modules/.pnpm/@tanstack_router-core@1.168.14/node_modules/@tanstack/router-core/dist/esm/hash-scroll.d.ts +0 -1
- package/dist/node_modules/.pnpm/@tanstack_router-core@1.168.14/node_modules/@tanstack/router-core/dist/esm/index.d.ts +0 -18
- package/dist/node_modules/.pnpm/@tanstack_router-core@1.168.14/node_modules/@tanstack/router-core/dist/esm/link.d.ts +0 -161
- package/dist/node_modules/.pnpm/@tanstack_router-core@1.168.14/node_modules/@tanstack/router-core/dist/esm/load-matches.d.ts +0 -6
- package/dist/node_modules/.pnpm/@tanstack_router-core@1.168.14/node_modules/@tanstack/router-core/dist/esm/location.d.ts +0 -54
- package/dist/node_modules/.pnpm/@tanstack_router-core@1.168.14/node_modules/@tanstack/router-core/dist/esm/lru-cache.d.ts +0 -8
- package/dist/node_modules/.pnpm/@tanstack_router-core@1.168.14/node_modules/@tanstack/router-core/dist/esm/manifest.d.ts +0 -32
- package/dist/node_modules/.pnpm/@tanstack_router-core@1.168.14/node_modules/@tanstack/router-core/dist/esm/new-process-route-tree.d.ts +0 -115
- package/dist/node_modules/.pnpm/@tanstack_router-core@1.168.14/node_modules/@tanstack/router-core/dist/esm/not-found.d.ts +0 -1
- package/dist/node_modules/.pnpm/@tanstack_router-core@1.168.14/node_modules/@tanstack/router-core/dist/esm/redirect.d.ts +0 -49
- package/dist/node_modules/.pnpm/@tanstack_router-core@1.168.14/node_modules/@tanstack/router-core/dist/esm/rewrite.d.ts +0 -1
- package/dist/node_modules/.pnpm/@tanstack_router-core@1.168.14/node_modules/@tanstack/router-core/dist/esm/root.d.ts +0 -6
- package/dist/node_modules/.pnpm/@tanstack_router-core@1.168.14/node_modules/@tanstack/router-core/dist/esm/route.d.ts +0 -343
- package/dist/node_modules/.pnpm/@tanstack_router-core@1.168.14/node_modules/@tanstack/router-core/dist/esm/routeInfo.d.ts +0 -48
- package/dist/node_modules/.pnpm/@tanstack_router-core@1.168.14/node_modules/@tanstack/router-core/dist/esm/router.d.ts +0 -695
- package/dist/node_modules/.pnpm/@tanstack_router-core@1.168.14/node_modules/@tanstack/router-core/dist/esm/scroll-restoration.d.ts +0 -1
- package/dist/node_modules/.pnpm/@tanstack_router-core@1.168.14/node_modules/@tanstack/router-core/dist/esm/searchMiddleware.d.ts +0 -1
- package/dist/node_modules/.pnpm/@tanstack_router-core@1.168.14/node_modules/@tanstack/router-core/dist/esm/searchParams.d.ts +0 -5
- package/dist/node_modules/.pnpm/@tanstack_router-core@1.168.14/node_modules/@tanstack/router-core/dist/esm/ssr/serializer/RawStream.d.ts +0 -38
- package/dist/node_modules/.pnpm/@tanstack_router-core@1.168.14/node_modules/@tanstack/router-core/dist/esm/ssr/serializer/seroval-plugins.d.ts +0 -1
- package/dist/node_modules/.pnpm/@tanstack_router-core@1.168.14/node_modules/@tanstack/router-core/dist/esm/ssr/serializer/transformer.d.ts +0 -65
- package/dist/node_modules/.pnpm/@tanstack_router-core@1.168.14/node_modules/@tanstack/router-core/dist/esm/stores.d.ts +0 -69
- package/dist/node_modules/.pnpm/@tanstack_router-core@1.168.14/node_modules/@tanstack/router-core/dist/esm/structuralSharing.d.ts +0 -1
- package/dist/node_modules/.pnpm/@tanstack_router-core@1.168.14/node_modules/@tanstack/router-core/dist/esm/typePrimitives.d.ts +0 -1
- package/dist/node_modules/.pnpm/@tanstack_router-core@1.168.14/node_modules/@tanstack/router-core/dist/esm/useLoaderData.d.ts +0 -1
- package/dist/node_modules/.pnpm/@tanstack_router-core@1.168.14/node_modules/@tanstack/router-core/dist/esm/useLoaderDeps.d.ts +0 -1
- package/dist/node_modules/.pnpm/@tanstack_router-core@1.168.14/node_modules/@tanstack/router-core/dist/esm/useNavigate.d.ts +0 -10
- package/dist/node_modules/.pnpm/@tanstack_router-core@1.168.14/node_modules/@tanstack/router-core/dist/esm/useParams.d.ts +0 -1
- package/dist/node_modules/.pnpm/@tanstack_router-core@1.168.14/node_modules/@tanstack/router-core/dist/esm/useRouteContext.d.ts +0 -1
- package/dist/node_modules/.pnpm/@tanstack_router-core@1.168.14/node_modules/@tanstack/router-core/dist/esm/useSearch.d.ts +0 -1
- package/dist/node_modules/.pnpm/@tanstack_router-core@1.168.14/node_modules/@tanstack/router-core/dist/esm/utils.d.ts +0 -28
- package/dist/node_modules/.pnpm/@tanstack_router-core@1.168.14/node_modules/@tanstack/router-core/dist/esm/validators.d.ts +0 -49
- package/skills/camox/references/cli-environments.md +0 -37
|
@@ -0,0 +1,178 @@
|
|
|
1
|
+
import { c } from "react/compiler-runtime";
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
4
|
+
import { Button } from "@camox/ui/button";
|
|
5
|
+
import { Input } from "@camox/ui/input";
|
|
6
|
+
import { ChevronsUpDown, Plus } from "lucide-react";
|
|
7
|
+
import { Combobox } from "@base-ui/react/combobox";
|
|
8
|
+
|
|
9
|
+
//#region src/features/preview/components/RecordCombobox.tsx
|
|
10
|
+
/**
|
|
11
|
+
* Picks a collection record by label. The footer action (e.g. Create item) receives the
|
|
12
|
+
* current search text so it can prefill a new record.
|
|
13
|
+
*/
|
|
14
|
+
function RecordCombobox(t0) {
|
|
15
|
+
const $ = c(25);
|
|
16
|
+
const { records, collectionTitle, onSelect, emptyMessage: emptyMessageOverride, footerAction, disabled, open: controlledOpen, onOpenChange } = t0;
|
|
17
|
+
const [uncontrolledOpen, setUncontrolledOpen] = React.useState(false);
|
|
18
|
+
const open = controlledOpen ?? uncontrolledOpen;
|
|
19
|
+
let t1;
|
|
20
|
+
if ($[0] !== onOpenChange) {
|
|
21
|
+
t1 = (next) => {
|
|
22
|
+
setUncontrolledOpen(next);
|
|
23
|
+
onOpenChange?.(next);
|
|
24
|
+
};
|
|
25
|
+
$[0] = onOpenChange;
|
|
26
|
+
$[1] = t1;
|
|
27
|
+
} else t1 = $[1];
|
|
28
|
+
const setOpen = t1;
|
|
29
|
+
const [search, setSearch] = React.useState("");
|
|
30
|
+
const emptyMessage = records.length > 0 ? "No items found." : emptyMessageOverride ?? `${collectionTitle} has no items yet.`;
|
|
31
|
+
let t2;
|
|
32
|
+
if ($[2] !== onSelect) {
|
|
33
|
+
t2 = (record_2) => {
|
|
34
|
+
if (record_2) onSelect(record_2);
|
|
35
|
+
};
|
|
36
|
+
$[2] = onSelect;
|
|
37
|
+
$[3] = t2;
|
|
38
|
+
} else t2 = $[3];
|
|
39
|
+
let t3;
|
|
40
|
+
if ($[4] === Symbol.for("react.memo_cache_sentinel")) {
|
|
41
|
+
t3 = /* @__PURE__ */ jsx(Button, {
|
|
42
|
+
type: "button",
|
|
43
|
+
variant: "outline",
|
|
44
|
+
className: "w-full justify-between"
|
|
45
|
+
});
|
|
46
|
+
$[4] = t3;
|
|
47
|
+
} else t3 = $[4];
|
|
48
|
+
let t4;
|
|
49
|
+
if ($[5] === Symbol.for("react.memo_cache_sentinel")) {
|
|
50
|
+
t4 = /* @__PURE__ */ jsxs(Combobox.Trigger, {
|
|
51
|
+
render: t3,
|
|
52
|
+
children: ["Select item", /* @__PURE__ */ jsx(ChevronsUpDown, {
|
|
53
|
+
"aria-hidden": true,
|
|
54
|
+
className: "text-muted-foreground size-4"
|
|
55
|
+
})]
|
|
56
|
+
});
|
|
57
|
+
$[5] = t4;
|
|
58
|
+
} else t4 = $[5];
|
|
59
|
+
let t5;
|
|
60
|
+
if ($[6] === Symbol.for("react.memo_cache_sentinel")) {
|
|
61
|
+
t5 = /* @__PURE__ */ jsx(Combobox.Input, {
|
|
62
|
+
render: /* @__PURE__ */ jsx(Input, { className: "mb-1" }),
|
|
63
|
+
"aria-label": "Search items",
|
|
64
|
+
placeholder: "Search items…"
|
|
65
|
+
});
|
|
66
|
+
$[6] = t5;
|
|
67
|
+
} else t5 = $[6];
|
|
68
|
+
let t6;
|
|
69
|
+
if ($[7] !== emptyMessage) {
|
|
70
|
+
t6 = /* @__PURE__ */ jsx(Combobox.Empty, {
|
|
71
|
+
className: "text-muted-foreground text-sm",
|
|
72
|
+
children: /* @__PURE__ */ jsx("div", {
|
|
73
|
+
className: "p-2",
|
|
74
|
+
children: emptyMessage
|
|
75
|
+
})
|
|
76
|
+
});
|
|
77
|
+
$[7] = emptyMessage;
|
|
78
|
+
$[8] = t6;
|
|
79
|
+
} else t6 = $[8];
|
|
80
|
+
let t7;
|
|
81
|
+
if ($[9] === Symbol.for("react.memo_cache_sentinel")) {
|
|
82
|
+
t7 = /* @__PURE__ */ jsx(Combobox.List, {
|
|
83
|
+
className: "max-h-64 min-h-0 overflow-y-auto",
|
|
84
|
+
children: _temp4
|
|
85
|
+
});
|
|
86
|
+
$[9] = t7;
|
|
87
|
+
} else t7 = $[9];
|
|
88
|
+
let t8;
|
|
89
|
+
if ($[10] !== footerAction || $[11] !== search || $[12] !== setOpen) {
|
|
90
|
+
t8 = footerAction && /* @__PURE__ */ jsx("div", {
|
|
91
|
+
className: "mt-1 shrink-0 border-t pt-1",
|
|
92
|
+
children: /* @__PURE__ */ jsxs("button", {
|
|
93
|
+
type: "button",
|
|
94
|
+
className: "hover:bg-accent hover:text-accent-foreground flex h-9 w-full items-center gap-2 rounded-sm px-2 text-sm outline-none",
|
|
95
|
+
onClick: () => {
|
|
96
|
+
setOpen(false);
|
|
97
|
+
footerAction.onSelect(search);
|
|
98
|
+
},
|
|
99
|
+
children: [/* @__PURE__ */ jsx(Plus, {
|
|
100
|
+
"aria-hidden": true,
|
|
101
|
+
className: "size-4 shrink-0"
|
|
102
|
+
}), /* @__PURE__ */ jsx("span", { children: footerAction.label })]
|
|
103
|
+
})
|
|
104
|
+
});
|
|
105
|
+
$[10] = footerAction;
|
|
106
|
+
$[11] = search;
|
|
107
|
+
$[12] = setOpen;
|
|
108
|
+
$[13] = t8;
|
|
109
|
+
} else t8 = $[13];
|
|
110
|
+
let t9;
|
|
111
|
+
if ($[14] !== t6 || $[15] !== t8) {
|
|
112
|
+
t9 = /* @__PURE__ */ jsx(Combobox.Portal, { children: /* @__PURE__ */ jsx(Combobox.Positioner, {
|
|
113
|
+
sideOffset: 4,
|
|
114
|
+
align: "start",
|
|
115
|
+
className: "isolate z-50",
|
|
116
|
+
children: /* @__PURE__ */ jsxs(Combobox.Popup, {
|
|
117
|
+
className: "bg-popover text-popover-foreground ring-foreground/10 flex max-h-(--available-height) w-(--anchor-width) min-w-48 flex-col rounded-md p-1 shadow-md ring-1",
|
|
118
|
+
children: [
|
|
119
|
+
t5,
|
|
120
|
+
t6,
|
|
121
|
+
t7,
|
|
122
|
+
t8
|
|
123
|
+
]
|
|
124
|
+
})
|
|
125
|
+
}) });
|
|
126
|
+
$[14] = t6;
|
|
127
|
+
$[15] = t8;
|
|
128
|
+
$[16] = t9;
|
|
129
|
+
} else t9 = $[16];
|
|
130
|
+
let t10;
|
|
131
|
+
if ($[17] !== disabled || $[18] !== open || $[19] !== records || $[20] !== search || $[21] !== setOpen || $[22] !== t2 || $[23] !== t9) {
|
|
132
|
+
t10 = /* @__PURE__ */ jsxs(Combobox.Root, {
|
|
133
|
+
items: records,
|
|
134
|
+
value: null,
|
|
135
|
+
open,
|
|
136
|
+
onOpenChange: setOpen,
|
|
137
|
+
inputValue: search,
|
|
138
|
+
onInputValueChange: setSearch,
|
|
139
|
+
itemToStringLabel: _temp,
|
|
140
|
+
itemToStringValue: _temp2,
|
|
141
|
+
isItemEqualToValue: _temp3,
|
|
142
|
+
onValueChange: t2,
|
|
143
|
+
disabled,
|
|
144
|
+
children: [t4, t9]
|
|
145
|
+
});
|
|
146
|
+
$[17] = disabled;
|
|
147
|
+
$[18] = open;
|
|
148
|
+
$[19] = records;
|
|
149
|
+
$[20] = search;
|
|
150
|
+
$[21] = setOpen;
|
|
151
|
+
$[22] = t2;
|
|
152
|
+
$[23] = t9;
|
|
153
|
+
$[24] = t10;
|
|
154
|
+
} else t10 = $[24];
|
|
155
|
+
return t10;
|
|
156
|
+
}
|
|
157
|
+
function _temp4(record_3) {
|
|
158
|
+
return /* @__PURE__ */ jsx(Combobox.Item, {
|
|
159
|
+
value: record_3,
|
|
160
|
+
className: "data-highlighted:bg-accent data-highlighted:text-accent-foreground flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none",
|
|
161
|
+
children: /* @__PURE__ */ jsx("span", {
|
|
162
|
+
className: "min-w-0 flex-1 truncate",
|
|
163
|
+
children: record_3.label
|
|
164
|
+
})
|
|
165
|
+
}, record_3.id);
|
|
166
|
+
}
|
|
167
|
+
function _temp3(record_1, current) {
|
|
168
|
+
return record_1.id === current.id;
|
|
169
|
+
}
|
|
170
|
+
function _temp2(record_0) {
|
|
171
|
+
return record_0.id;
|
|
172
|
+
}
|
|
173
|
+
function _temp(record) {
|
|
174
|
+
return record.label;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
//#endregion
|
|
178
|
+
export { RecordCombobox };
|
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
import { useProjectUuid } from "../../../lib/auth.js";
|
|
2
|
+
import { useCamoxApp } from "../../provider/components/CamoxAppContext.js";
|
|
3
|
+
import { reads, useReadQuery } from "../../../lib/studio-reads.js";
|
|
4
|
+
import { useCollectionItemSheet } from "../../content/CollectionItemSheetContext.js";
|
|
5
|
+
import { referencePickerFocus, useReferencePickerFocusRequested } from "../referencePickerFocus.js";
|
|
6
|
+
import { DrillRow } from "./DrillRow.js";
|
|
7
|
+
import { RecordCard } from "./RecordCard.js";
|
|
8
|
+
import { RecordCombobox } from "./RecordCombobox.js";
|
|
9
|
+
import * as React from "react";
|
|
10
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
11
|
+
import { Button } from "@camox/ui/button";
|
|
12
|
+
import { Link2, X } from "lucide-react";
|
|
13
|
+
import { Tooltip, TooltipContent, TooltipTrigger } from "@camox/ui/tooltip";
|
|
14
|
+
|
|
15
|
+
//#region src/features/preview/components/ReferenceFieldEditor.tsx
|
|
16
|
+
function referenceHint({ linked, required }) {
|
|
17
|
+
return !linked && required ? "Required" : null;
|
|
18
|
+
}
|
|
19
|
+
/** This view owns the reference only. Record content is edited elsewhere. */
|
|
20
|
+
function ReferenceFieldEditor({ collectionId, fieldId, value, required = false, record = null, onChange, onOpenRecord, drill, allowCreate = true }) {
|
|
21
|
+
const projectUuid = useProjectUuid();
|
|
22
|
+
const collection = useCamoxApp().getCollectionById(collectionId);
|
|
23
|
+
const collectionTitle = collection?._internal.title ?? collectionId;
|
|
24
|
+
const sheet = useCollectionItemSheet();
|
|
25
|
+
const [saving, setSaving] = React.useState(false);
|
|
26
|
+
const [error, setError] = React.useState(null);
|
|
27
|
+
const records = useReadQuery(reads.records({
|
|
28
|
+
projectUuid,
|
|
29
|
+
collectionId
|
|
30
|
+
}));
|
|
31
|
+
const selectedId = typeof value === "string" && value ? value : null;
|
|
32
|
+
const selected = records.data?.find((option) => option.id === value);
|
|
33
|
+
const hydrated = record?.id === selectedId ? record : null;
|
|
34
|
+
const selectedLabel = selected?.label ?? hydrated?.label ?? "Unavailable item";
|
|
35
|
+
const [pickerOpen, setPickerOpen] = React.useState(false);
|
|
36
|
+
const focusRequested = useReferencePickerFocusRequested(drill ? void 0 : fieldId);
|
|
37
|
+
const pickerReady = !selectedId && records.isSuccess && !saving;
|
|
38
|
+
const save = async (id) => {
|
|
39
|
+
setSaving(true);
|
|
40
|
+
setError(null);
|
|
41
|
+
try {
|
|
42
|
+
await onChange(id);
|
|
43
|
+
} catch (cause) {
|
|
44
|
+
setError(cause instanceof Error ? cause.message : "Could not change reference.");
|
|
45
|
+
throw cause;
|
|
46
|
+
} finally {
|
|
47
|
+
setSaving(false);
|
|
48
|
+
}
|
|
49
|
+
};
|
|
50
|
+
const change = (id) => {
|
|
51
|
+
save(id).catch(() => {});
|
|
52
|
+
};
|
|
53
|
+
React.useEffect(() => {
|
|
54
|
+
if (!focusRequested || !fieldId || !pickerReady) return;
|
|
55
|
+
referencePickerFocus.send({
|
|
56
|
+
type: "consume",
|
|
57
|
+
fieldId
|
|
58
|
+
});
|
|
59
|
+
setPickerOpen(true);
|
|
60
|
+
}, [
|
|
61
|
+
focusRequested,
|
|
62
|
+
fieldId,
|
|
63
|
+
pickerReady
|
|
64
|
+
]);
|
|
65
|
+
const hint = referenceHint({
|
|
66
|
+
linked: selectedId !== null,
|
|
67
|
+
required
|
|
68
|
+
});
|
|
69
|
+
if (drill) return /* @__PURE__ */ jsx(DrillRow, {
|
|
70
|
+
label: drill.label,
|
|
71
|
+
preview: selectedId ? selectedLabel : `No ${collectionTitle} linked`,
|
|
72
|
+
hint: hint ?? void 0,
|
|
73
|
+
Icon: Link2,
|
|
74
|
+
onClick: drill.onClick,
|
|
75
|
+
hover: {
|
|
76
|
+
variant: "field",
|
|
77
|
+
fieldId: drill.fieldId
|
|
78
|
+
},
|
|
79
|
+
postToIframe: drill.postToIframe
|
|
80
|
+
});
|
|
81
|
+
return /* @__PURE__ */ jsxs("fieldset", {
|
|
82
|
+
disabled: saving,
|
|
83
|
+
className: "min-w-0 space-y-3",
|
|
84
|
+
children: [
|
|
85
|
+
selectedId && /* @__PURE__ */ jsx(RecordCard, {
|
|
86
|
+
label: selectedLabel,
|
|
87
|
+
collectionTitle,
|
|
88
|
+
onOpen: onOpenRecord ? () => onOpenRecord(selectedId) : void 0,
|
|
89
|
+
actions: /* @__PURE__ */ jsxs(Tooltip, { children: [/* @__PURE__ */ jsx(TooltipTrigger, {
|
|
90
|
+
render: /* @__PURE__ */ jsx(Button, {
|
|
91
|
+
type: "button",
|
|
92
|
+
variant: "ghost",
|
|
93
|
+
size: "icon-sm",
|
|
94
|
+
"aria-label": "Unlink",
|
|
95
|
+
className: "text-muted-foreground hover:text-foreground shrink-0",
|
|
96
|
+
onClick: () => change(null)
|
|
97
|
+
}),
|
|
98
|
+
children: /* @__PURE__ */ jsx(X, {
|
|
99
|
+
"aria-hidden": true,
|
|
100
|
+
className: "size-4"
|
|
101
|
+
})
|
|
102
|
+
}), /* @__PURE__ */ jsx(TooltipContent, { children: "Unlink" })] })
|
|
103
|
+
}),
|
|
104
|
+
!selectedId && /* @__PURE__ */ jsx(RecordCombobox, {
|
|
105
|
+
records: records.data ?? [],
|
|
106
|
+
collectionTitle,
|
|
107
|
+
onSelect: (option) => change(option.id),
|
|
108
|
+
disabled: saving || records.isPending || records.isError,
|
|
109
|
+
open: pickerOpen,
|
|
110
|
+
onOpenChange: setPickerOpen,
|
|
111
|
+
footerAction: allowCreate ? {
|
|
112
|
+
label: "Create item",
|
|
113
|
+
onSelect: (search) => sheet.open({
|
|
114
|
+
collectionId,
|
|
115
|
+
initialContent: collection && search.trim() ? { [collection._internal.label]: search } : void 0,
|
|
116
|
+
onSaved: (created) => save(created.id)
|
|
117
|
+
})
|
|
118
|
+
} : void 0
|
|
119
|
+
}),
|
|
120
|
+
hint && /* @__PURE__ */ jsx("p", {
|
|
121
|
+
"data-reference-hint": true,
|
|
122
|
+
className: "text-muted-foreground text-xs",
|
|
123
|
+
children: hint
|
|
124
|
+
}),
|
|
125
|
+
records.isPending && /* @__PURE__ */ jsx("p", {
|
|
126
|
+
role: "status",
|
|
127
|
+
children: "Loading items…"
|
|
128
|
+
}),
|
|
129
|
+
records.isError && /* @__PURE__ */ jsxs("div", {
|
|
130
|
+
role: "alert",
|
|
131
|
+
className: "space-y-2",
|
|
132
|
+
children: [/* @__PURE__ */ jsx("p", { children: "Could not load collection items." }), /* @__PURE__ */ jsx(Button, {
|
|
133
|
+
type: "button",
|
|
134
|
+
variant: "outline",
|
|
135
|
+
onClick: () => void records.refetch(),
|
|
136
|
+
children: "Try again"
|
|
137
|
+
})]
|
|
138
|
+
}),
|
|
139
|
+
error && /* @__PURE__ */ jsx("p", {
|
|
140
|
+
role: "alert",
|
|
141
|
+
className: "text-destructive text-sm",
|
|
142
|
+
children: error
|
|
143
|
+
})
|
|
144
|
+
]
|
|
145
|
+
});
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
//#endregion
|
|
149
|
+
export { ReferenceFieldEditor };
|