alinea 2.0.0-preview.1 → 2.0.0-preview.2
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/.init/content/pages/welcome.json +1 -1
- package/dist/LICENSES.md +61 -34
- package/dist/adapter/next/DevRemote.d.ts +3 -0
- package/dist/adapter/next/DevRemote.js +37 -0
- package/dist/adapter/next/ForwardCredentials.d.ts +1 -0
- package/dist/adapter/next/ForwardCredentials.js +17 -0
- package/dist/adapter/next/cms.js +86 -38
- package/dist/adapter/next/context.d.ts +1 -1
- package/dist/adapter/next/context.js +11 -3
- package/dist/adapter/next/handler.d.ts +2 -0
- package/dist/adapter/next/handler.js +23 -16
- package/dist/adapter/next/with-alinea.js +18 -16
- package/dist/backend/Handler.d.ts +14 -13
- package/dist/backend/Handler.js +53 -22
- package/dist/backend/resolver/ParsePreview.d.ts +8 -4
- package/dist/backend/resolver/ParsePreview.js +40 -43
- package/dist/bundled.d.ts +255 -60
- package/dist/chunks/{chunk-LUBOGJCG.js → chunk-6V4TAD2N.js} +1 -1
- package/dist/chunks/{chunk-TL7ZW6BX.js → chunk-A3XXZBOQ.js} +2535 -2999
- package/dist/chunks/chunk-AC5ATYI3.js +1434 -0
- package/dist/chunks/{chunk-7ORQ7BYK.js → chunk-KMLLLZ6X.js} +202 -269
- package/dist/chunks/{chunk-IWN3T3FL.js → chunk-O7XWTMCB.js} +1 -1
- package/dist/chunks/{chunk-53DZYORR.js → chunk-PAYSVIYI.js} +76 -176
- package/dist/chunks/{chunk-YK3OSMDM.js → chunk-S4AU6SRS.js} +188 -158
- package/dist/chunks/{chunk-FRYHNUEK.js → chunk-UVOEM4AH.js} +6 -3
- package/dist/chunks/{chunk-I7X64JTZ.js → chunk-VXZM6V4P.js} +4 -4
- package/dist/cli/Generate.js +3 -13
- package/dist/cli/Serve.js +7 -3
- package/dist/cli/bin.js +8 -5
- package/dist/cli/generate/CopyStaticFiles.js +2 -3
- package/dist/cli/generate/DevDB.d.ts +1 -1
- package/dist/cli/generate/DevDB.js +3 -5
- package/dist/cli/serve/CreateLocalServer.d.ts +1 -1
- package/dist/cli/serve/CreateLocalServer.js +3 -2
- package/dist/cli/serve/DevServer.d.ts +3 -2
- package/dist/cli/serve/DevServer.js +60 -3
- package/dist/cli/serve/ServeContext.d.ts +1 -0
- package/dist/cli/serve/StartServer.d.ts +1 -0
- package/dist/cli/serve/StartServer.js +6 -1
- package/dist/cli/util/EnsureLibs.js +2 -2
- package/dist/cli/util/EnsureNode.js +2 -2
- package/dist/cloud/CloudRemote.js +1 -1
- package/dist/components/Breadcrumbs.js +8 -8
- package/dist/components/Button.js +6 -6
- package/dist/components/Calendar.js +9 -9
- package/dist/components/Checkbox.js +9 -9
- package/dist/components/CheckboxGroup.js +6 -6
- package/dist/components/ColorSwatch.js +6 -6
- package/dist/components/ColorSwatchPicker.js +6 -6
- package/dist/components/ComboBox.js +16 -16
- package/dist/components/DateField.js +9 -9
- package/dist/components/DatePicker.js +11 -11
- package/dist/components/DateRangePicker.js +14 -14
- package/dist/components/Dialog.js +6 -6
- package/dist/components/Disclosure.js +14 -14
- package/dist/components/DropZone.js +6 -6
- package/dist/components/Label.js +14 -14
- package/dist/components/Link.js +6 -6
- package/dist/components/List.js +32 -32
- package/dist/components/Menu.js +10 -10
- package/dist/components/Modal.js +8 -8
- package/dist/components/MultipleSelect.js +25 -25
- package/dist/components/NumberField.d.ts +2 -1
- package/dist/components/NumberField.js +25 -15
- package/dist/components/Popover.js +6 -6
- package/dist/components/ProgressCircle.js +9 -9
- package/dist/components/RadioGroup.js +8 -8
- package/dist/components/SearchField.js +15 -15
- package/dist/components/Select.js +14 -14
- package/dist/components/Surface.js +2 -2
- package/dist/components/Switch.js +8 -8
- package/dist/components/Table.js +14 -14
- package/dist/components/Tabs.js +7 -7
- package/dist/components/TagGroup.js +8 -8
- package/dist/components/TextField.js +10 -10
- package/dist/components/TimeField.js +8 -8
- package/dist/components/Toggle.js +8 -8
- package/dist/components/Toolbar.js +9 -9
- package/dist/components/Tooltip.js +7 -7
- package/dist/components/Tree.js +10 -10
- package/dist/core/Client.js +3 -2
- package/dist/core/Config.d.ts +4 -0
- package/dist/core/Config.js +6 -0
- package/dist/core/Connection.d.ts +2 -2
- package/dist/core/Connection.js +7 -0
- package/dist/core/Graph.d.ts +3 -4
- package/dist/core/ListRow.d.ts +2 -0
- package/dist/core/OrderBy.d.ts +7 -3
- package/dist/core/TextDoc.d.ts +11 -0
- package/dist/core/Trace.d.ts +8 -0
- package/dist/core/Trace.js +32 -0
- package/dist/core/db/CommitRequest.d.ts +0 -3
- package/dist/core/db/CommitRequest.js +0 -9
- package/dist/core/db/EntryDB.js +1 -1
- package/dist/core/db/EntryIndex.d.ts +10 -0
- package/dist/core/db/EntryIndex.js +117 -9
- package/dist/core/db/EntryResolver.js +104 -29
- package/dist/core/db/EntryTransaction.d.ts +1 -2
- package/dist/core/db/EntryTransaction.js +25 -13
- package/dist/core/db/LocalDB.d.ts +2 -3
- package/dist/core/db/LocalDB.js +24 -19
- package/dist/core/field/RichTextField.d.ts +30 -3
- package/dist/core/field/RichTextField.js +125 -41
- package/dist/core/media/MediaAltField.d.ts +1 -0
- package/dist/core/media/MediaAltField.js +9 -1
- package/dist/core/source/OverlaySource.d.ts +12 -0
- package/dist/core/source/OverlaySource.js +50 -0
- package/dist/core/source/Source.d.ts +1 -1
- package/dist/core/source/Source.js +3 -3
- package/dist/dashboard/App.css +158 -0
- package/dist/dashboard/App.js +3 -3
- package/dist/dashboard/app/AccessDenied.js +1 -1
- package/dist/dashboard/app/ActivityStatus.js +14 -14
- package/dist/dashboard/app/AppShell.js +2 -2
- package/dist/dashboard/app/AuthView.js +12 -12
- package/dist/dashboard/app/Badge.js +2 -2
- package/dist/dashboard/app/CompactField.js +13 -13
- package/dist/dashboard/app/DashboardErrorBoundary.js +6 -6
- package/dist/dashboard/app/DashboardLayout.js +22 -19
- package/dist/dashboard/app/EntryHeader.js +10 -10
- package/dist/dashboard/app/EntryReferences.js +9 -9
- package/dist/dashboard/app/EntrySidebar.d.ts +1 -1
- package/dist/dashboard/app/EntrySidebar.js +19 -18
- package/dist/dashboard/app/EntrySidebarPreview.d.ts +1 -1
- package/dist/dashboard/app/EntrySidebarPreview.js +20 -15
- package/dist/dashboard/app/EntryTranslationBanner.js +6 -6
- package/dist/dashboard/app/Explorer.js +46 -46
- package/dist/dashboard/app/ExplorerCards.js +42 -42
- package/dist/dashboard/app/ExplorerFileCard.js +16 -16
- package/dist/dashboard/app/ExplorerList.js +15 -15
- package/dist/dashboard/app/ExplorerModal.js +5 -5
- package/dist/dashboard/app/ExplorerTable.js +54 -54
- package/dist/dashboard/app/ExternalLinkPicker.js +15 -4
- package/dist/dashboard/app/LinkPicker.js +6 -6
- package/dist/dashboard/app/LocaleMenu.js +11 -11
- package/dist/dashboard/app/SidebarLayout.d.ts +8 -0
- package/dist/dashboard/app/SidebarLayout.js +1169 -0
- package/dist/dashboard/app/SidebarTree.js +44 -44
- package/dist/dashboard/app/WorkspaceMenu.js +17 -17
- package/dist/dashboard/app/WorkspaceRoots.js +26 -26
- package/dist/dashboard/app/editor/FileEditor.js +28 -29
- package/dist/dashboard/app/editor/FilePreview.js +2 -2
- package/dist/dashboard/app/editor/MediaAltField.view.d.ts +1 -1
- package/dist/dashboard/app/editor/MediaAltField.view.js +6 -9
- package/dist/dashboard/app/modals/CreateEntry.js +4 -4
- package/dist/dashboard/app/pages/EntryPage.js +49 -25
- package/dist/dashboard/app/pages/UsersPage.js +38 -38
- package/dist/dashboard/app/ui/DashboardModal.js +22 -22
- package/dist/dashboard/app/ui/Rail.js +2 -2
- package/dist/dashboard/app/ui/Sidebar.js +2 -2
- package/dist/dashboard/atoms/auth.js +2 -0
- package/dist/dashboard/atoms/dashboard.d.ts +9 -0
- package/dist/dashboard/atoms/dashboard.js +17 -0
- package/dist/dashboard/atoms/editor.d.ts +7 -1
- package/dist/dashboard/atoms/editor.js +4 -1
- package/dist/dashboard/atoms/entry.d.ts +3 -1
- package/dist/dashboard/atoms/entry.js +55 -15
- package/dist/dashboard/atoms/explorer.js +3 -8
- package/dist/dashboard/atoms/preview.d.ts +3 -0
- package/dist/dashboard/atoms/preview.js +18 -1
- package/dist/dashboard/hooks.d.ts +4 -2
- package/dist/dashboard/hooks.js +9 -5
- package/dist/dashboard/icons.d.ts +1 -0
- package/dist/dashboard/icons.js +10 -0
- package/dist/field/check/CheckField.view.js +2 -2
- package/dist/field/code/CodeField.view.js +13 -13
- package/dist/field/date/DateField.view.js +12 -2
- package/dist/field/link/Link.js +2 -2
- package/dist/field/link/LinkField.view.js +88 -77
- package/dist/field/list/ListField.view.js +22 -33
- package/dist/field/metadata/MetadataField.view.js +20 -20
- package/dist/field/number/NumberField.d.ts +2 -0
- package/dist/field/number/NumberField.view.js +4 -2
- package/dist/field/richtext/PickTextLink.d.ts +7 -0
- package/dist/field/richtext/PickTextLink.js +104 -2
- package/dist/field/richtext/ReferenceLink.d.ts +4 -1
- package/dist/field/richtext/ReferenceLink.js +18 -4
- package/dist/field/richtext/RichTextDocument.d.ts +7 -2
- package/dist/field/richtext/RichTextDocument.js +34 -5
- package/dist/field/richtext/RichTextExtensions.d.ts +3 -1
- package/dist/field/richtext/RichTextExtensions.js +2704 -7467
- package/dist/field/richtext/RichTextField.d.ts +4 -0
- package/dist/field/richtext/RichTextField.story.d.ts +4 -0
- package/dist/field/richtext/RichTextField.view.js +44 -21
- package/dist/field/richtext/RichTextInsertMenu.js +281 -495
- package/dist/field/richtext/RichTextToolbar.d.ts +5 -2
- package/dist/field/richtext/RichTextToolbar.js +38 -3
- package/dist/field/richtext/Toolbar.d.ts +19 -1
- package/dist/field/richtext/Toolbar.js +18 -13
- package/dist/field/richtext/extensions/Anchor.js +1 -1
- package/dist/field/richtext/extensions/Link.js +1 -1
- package/dist/field/richtext/extensions/Small.js +1 -1
- package/dist/field/select/SelectField.view.js +8 -6
- package/dist/index.css +219 -14
- package/dist/next.cjs +18 -16
- package/dist/next.d.ts +2 -1
- package/dist/next.edge.d.ts +2 -1
- package/dist/ui/RichText.d.ts +1 -0
- package/dist/ui/RichText.js +29 -2
- package/package.json +6 -3
- package/dist/chunks/{chunk-JFROOUG6.js → chunk-NIVGVRDS.js} +17 -17
|
@@ -13,17 +13,17 @@ import {
|
|
|
13
13
|
$1f7649abe3ae3599$export$a7bfbda1311ca015,
|
|
14
14
|
$1f7649abe3ae3599$export$e96fc9a8407faa6b,
|
|
15
15
|
$7705c033048f6da7$export$353f5b6fc5456de1
|
|
16
|
-
} from "../../chunks/chunk-
|
|
17
|
-
import "../../chunks/chunk-
|
|
16
|
+
} from "../../chunks/chunk-VXZM6V4P.js";
|
|
17
|
+
import "../../chunks/chunk-O7XWTMCB.js";
|
|
18
18
|
import "../../chunks/chunk-RKDPDEF7.js";
|
|
19
19
|
import {
|
|
20
20
|
$cc8e610d5d6e3fe4$export$cb6da89c6af1a8ec,
|
|
21
21
|
$fc34f5dff94ff74a$export$7d2b12578154a735
|
|
22
|
-
} from "../../chunks/chunk-
|
|
23
|
-
import "../../chunks/chunk-SJBZFMQ2.js";
|
|
22
|
+
} from "../../chunks/chunk-NIVGVRDS.js";
|
|
24
23
|
import "../../chunks/chunk-IYAQC63Y.js";
|
|
25
|
-
import "../../chunks/chunk-
|
|
26
|
-
import "../../chunks/chunk-
|
|
24
|
+
import "../../chunks/chunk-SJBZFMQ2.js";
|
|
25
|
+
import "../../chunks/chunk-6V4TAD2N.js";
|
|
26
|
+
import "../../chunks/chunk-S4AU6SRS.js";
|
|
27
27
|
import "../../chunks/chunk-AC4U3IMS.js";
|
|
28
28
|
import {
|
|
29
29
|
dist_default
|
|
@@ -43,51 +43,51 @@ import { configAtom } from "../atoms/core.js";
|
|
|
43
43
|
|
|
44
44
|
// src/dashboard/app/ExplorerCards.module.css
|
|
45
45
|
var ExplorerCards_default = {
|
|
46
|
-
"
|
|
47
|
-
"
|
|
48
|
-
"ExplorerCards-
|
|
49
|
-
"
|
|
50
|
-
"ExplorerCards-
|
|
51
|
-
"
|
|
52
|
-
"
|
|
53
|
-
"
|
|
54
|
-
"ExplorerCards-parents": "alinea-ExplorerCards-parents",
|
|
55
|
-
"ExplorerCardsParents": "alinea-ExplorerCards-parents",
|
|
56
|
-
"ExplorerCards-item-card": "alinea-ExplorerCards-item-card",
|
|
57
|
-
"ExplorerCardsItemCard": "alinea-ExplorerCards-item-card",
|
|
58
|
-
"ExplorerCards": "alinea-ExplorerCards",
|
|
46
|
+
"ExplorerCards-entry-body": "alinea-ExplorerCards-entry-body",
|
|
47
|
+
"ExplorerCardsEntryBody": "alinea-ExplorerCards-entry-body",
|
|
48
|
+
"ExplorerCards-surface": "alinea-ExplorerCards-surface",
|
|
49
|
+
"ExplorerCardsSurface": "alinea-ExplorerCards-surface",
|
|
50
|
+
"ExplorerCards-entry-icon": "alinea-ExplorerCards-entry-icon",
|
|
51
|
+
"ExplorerCardsEntryIcon": "alinea-ExplorerCards-entry-icon",
|
|
52
|
+
"is-breadcrumbs": "alinea-is-breadcrumbs",
|
|
53
|
+
"isBreadcrumbs": "alinea-is-breadcrumbs",
|
|
59
54
|
"ExplorerCards-entry-label": "alinea-ExplorerCards-entry-label",
|
|
60
55
|
"ExplorerCardsEntryLabel": "alinea-ExplorerCards-entry-label",
|
|
56
|
+
"ExplorerCards-entry-body-inner": "alinea-ExplorerCards-entry-body-inner",
|
|
57
|
+
"ExplorerCardsEntryBodyInner": "alinea-ExplorerCards-entry-body-inner",
|
|
58
|
+
"ExplorerCards-viewport": "alinea-ExplorerCards-viewport",
|
|
59
|
+
"ExplorerCardsViewport": "alinea-ExplorerCards-viewport",
|
|
60
|
+
"ExplorerCards-parents-separator": "alinea-ExplorerCards-parents-separator",
|
|
61
|
+
"ExplorerCardsParentsSeparator": "alinea-ExplorerCards-parents-separator",
|
|
62
|
+
"ExplorerCards-skeleton-pulse": "alinea-ExplorerCards-skeleton-pulse",
|
|
63
|
+
"ExplorerCardsSkeletonPulse": "alinea-ExplorerCards-skeleton-pulse",
|
|
64
|
+
"is-wide": "alinea-is-wide",
|
|
65
|
+
"isWide": "alinea-is-wide",
|
|
66
|
+
"ExplorerCards-item-drag-handle": "alinea-ExplorerCards-item-drag-handle",
|
|
67
|
+
"ExplorerCardsItemDragHandle": "alinea-ExplorerCards-item-drag-handle",
|
|
61
68
|
"ExplorerCards-entry-top": "alinea-ExplorerCards-entry-top",
|
|
62
69
|
"ExplorerCardsEntryTop": "alinea-ExplorerCards-entry-top",
|
|
63
|
-
"ExplorerCards-
|
|
64
|
-
"
|
|
70
|
+
"ExplorerCards-item-card": "alinea-ExplorerCards-item-card",
|
|
71
|
+
"ExplorerCardsItemCard": "alinea-ExplorerCards-item-card",
|
|
65
72
|
"ExplorerCards-entry": "alinea-ExplorerCards-entry",
|
|
66
73
|
"ExplorerCardsEntry": "alinea-ExplorerCards-entry",
|
|
67
|
-
"ExplorerCards-
|
|
68
|
-
"
|
|
69
|
-
"ExplorerCards-entry-icon": "alinea-ExplorerCards-entry-icon",
|
|
70
|
-
"ExplorerCardsEntryIcon": "alinea-ExplorerCards-entry-icon",
|
|
71
|
-
"ExplorerCards-entry-skeleton": "alinea-ExplorerCards-entry-skeleton",
|
|
72
|
-
"ExplorerCardsEntrySkeleton": "alinea-ExplorerCards-entry-skeleton",
|
|
73
|
-
"is-wide": "alinea-is-wide",
|
|
74
|
-
"isWide": "alinea-is-wide",
|
|
75
|
-
"ExplorerCards-viewport": "alinea-ExplorerCards-viewport",
|
|
76
|
-
"ExplorerCardsViewport": "alinea-ExplorerCards-viewport",
|
|
77
|
-
"ExplorerCards-surface": "alinea-ExplorerCards-surface",
|
|
78
|
-
"ExplorerCardsSurface": "alinea-ExplorerCards-surface",
|
|
79
|
-
"ExplorerCards-entry-body-inner": "alinea-ExplorerCards-entry-body-inner",
|
|
80
|
-
"ExplorerCardsEntryBodyInner": "alinea-ExplorerCards-entry-body-inner",
|
|
81
|
-
"is-breadcrumbs": "alinea-is-breadcrumbs",
|
|
82
|
-
"isBreadcrumbs": "alinea-is-breadcrumbs",
|
|
83
|
-
"ExplorerCards-entry-body": "alinea-ExplorerCards-entry-body",
|
|
84
|
-
"ExplorerCardsEntryBody": "alinea-ExplorerCards-entry-body",
|
|
74
|
+
"ExplorerCards-entry-meta": "alinea-ExplorerCards-entry-meta",
|
|
75
|
+
"ExplorerCardsEntryMeta": "alinea-ExplorerCards-entry-meta",
|
|
85
76
|
"ExplorerCards-item": "alinea-ExplorerCards-item",
|
|
86
77
|
"ExplorerCardsItem": "alinea-ExplorerCards-item",
|
|
87
|
-
"ExplorerCards
|
|
88
|
-
"
|
|
78
|
+
"ExplorerCards": "alinea-ExplorerCards",
|
|
79
|
+
"ExplorerCards-parents": "alinea-ExplorerCards-parents",
|
|
80
|
+
"ExplorerCardsParents": "alinea-ExplorerCards-parents",
|
|
81
|
+
"is-file": "alinea-is-file",
|
|
82
|
+
"isFile": "alinea-is-file",
|
|
89
83
|
"is-loading": "alinea-is-loading",
|
|
90
|
-
"isLoading": "alinea-is-loading"
|
|
84
|
+
"isLoading": "alinea-is-loading",
|
|
85
|
+
"ExplorerCards-entry-iconSkeleton": "alinea-ExplorerCards-entry-iconSkeleton",
|
|
86
|
+
"ExplorerCardsEntryIconSkeleton": "alinea-ExplorerCards-entry-iconSkeleton",
|
|
87
|
+
"ExplorerCards-item-checkbox": "alinea-ExplorerCards-item-checkbox",
|
|
88
|
+
"ExplorerCardsItemCheckbox": "alinea-ExplorerCards-item-checkbox",
|
|
89
|
+
"ExplorerCards-entry-skeleton": "alinea-ExplorerCards-entry-skeleton",
|
|
90
|
+
"ExplorerCardsEntrySkeleton": "alinea-ExplorerCards-entry-skeleton"
|
|
91
91
|
};
|
|
92
92
|
|
|
93
93
|
// src/dashboard/app/ExplorerCards.tsx
|
|
@@ -13,35 +13,35 @@ import { IcRoundInsertDriveFile } from "../icons.js";
|
|
|
13
13
|
|
|
14
14
|
// src/dashboard/app/ExplorerFileCard.module.css
|
|
15
15
|
var ExplorerFileCard_default = {
|
|
16
|
+
"ExplorerFileCard-preview": "alinea-ExplorerFileCard-preview",
|
|
17
|
+
"ExplorerFileCardPreview": "alinea-ExplorerFileCard-preview",
|
|
16
18
|
"is-breadcrumbs": "alinea-is-breadcrumbs",
|
|
17
19
|
"isBreadcrumbs": "alinea-is-breadcrumbs",
|
|
18
20
|
"ExplorerFileCard-body-inner": "alinea-ExplorerFileCard-body-inner",
|
|
19
21
|
"ExplorerFileCardBodyInner": "alinea-ExplorerFileCard-body-inner",
|
|
20
22
|
"ExplorerFileCard-label": "alinea-ExplorerFileCard-label",
|
|
21
23
|
"ExplorerFileCardLabel": "alinea-ExplorerFileCard-label",
|
|
22
|
-
"ExplorerFileCard-preview": "alinea-ExplorerFileCard-preview",
|
|
23
|
-
"ExplorerFileCardPreview": "alinea-ExplorerFileCard-preview",
|
|
24
|
-
"is-row": "alinea-is-row",
|
|
25
|
-
"isRow": "alinea-is-row",
|
|
26
|
-
"ExplorerFileCard": "alinea-ExplorerFileCard",
|
|
27
|
-
"ExplorerFileCard-meta-details": "alinea-ExplorerFileCard-meta-details",
|
|
28
|
-
"ExplorerFileCardMetaDetails": "alinea-ExplorerFileCard-meta-details",
|
|
29
24
|
"ExplorerFileCard-top": "alinea-ExplorerFileCard-top",
|
|
30
25
|
"ExplorerFileCardTop": "alinea-ExplorerFileCard-top",
|
|
31
26
|
"ExplorerFileCard-body": "alinea-ExplorerFileCard-body",
|
|
32
27
|
"ExplorerFileCardBody": "alinea-ExplorerFileCard-body",
|
|
33
|
-
"ExplorerFileCard-preview-image": "alinea-ExplorerFileCard-preview-image",
|
|
34
|
-
"ExplorerFileCardPreviewImage": "alinea-ExplorerFileCard-preview-image",
|
|
35
|
-
"ExplorerFileCard-meta-extension": "alinea-ExplorerFileCard-meta-extension",
|
|
36
|
-
"ExplorerFileCardMetaExtension": "alinea-ExplorerFileCard-meta-extension",
|
|
37
|
-
"ExplorerFileCard-preview-placeholder": "alinea-ExplorerFileCard-preview-placeholder",
|
|
38
|
-
"ExplorerFileCardPreviewPlaceholder": "alinea-ExplorerFileCard-preview-placeholder",
|
|
39
|
-
"ExplorerFileCard-meta": "alinea-ExplorerFileCard-meta",
|
|
40
|
-
"ExplorerFileCardMeta": "alinea-ExplorerFileCard-meta",
|
|
41
28
|
"is-card": "alinea-is-card",
|
|
42
29
|
"isCard": "alinea-is-card",
|
|
30
|
+
"ExplorerFileCard-meta": "alinea-ExplorerFileCard-meta",
|
|
31
|
+
"ExplorerFileCardMeta": "alinea-ExplorerFileCard-meta",
|
|
32
|
+
"ExplorerFileCard-preview-placeholder": "alinea-ExplorerFileCard-preview-placeholder",
|
|
33
|
+
"ExplorerFileCardPreviewPlaceholder": "alinea-ExplorerFileCard-preview-placeholder",
|
|
34
|
+
"ExplorerFileCard-meta-extension": "alinea-ExplorerFileCard-meta-extension",
|
|
35
|
+
"ExplorerFileCardMetaExtension": "alinea-ExplorerFileCard-meta-extension",
|
|
36
|
+
"is-row": "alinea-is-row",
|
|
37
|
+
"isRow": "alinea-is-row",
|
|
43
38
|
"ExplorerFileCard-preview-placeholder-icon": "alinea-ExplorerFileCard-preview-placeholder-icon",
|
|
44
|
-
"ExplorerFileCardPreviewPlaceholderIcon": "alinea-ExplorerFileCard-preview-placeholder-icon"
|
|
39
|
+
"ExplorerFileCardPreviewPlaceholderIcon": "alinea-ExplorerFileCard-preview-placeholder-icon",
|
|
40
|
+
"ExplorerFileCard-meta-details": "alinea-ExplorerFileCard-meta-details",
|
|
41
|
+
"ExplorerFileCardMetaDetails": "alinea-ExplorerFileCard-meta-details",
|
|
42
|
+
"ExplorerFileCard-preview-image": "alinea-ExplorerFileCard-preview-image",
|
|
43
|
+
"ExplorerFileCardPreviewImage": "alinea-ExplorerFileCard-preview-image",
|
|
44
|
+
"ExplorerFileCard": "alinea-ExplorerFileCard"
|
|
45
45
|
};
|
|
46
46
|
|
|
47
47
|
// src/dashboard/app/ExplorerFileCard.tsx
|
|
@@ -7,10 +7,10 @@ import {
|
|
|
7
7
|
} from "../../chunks/chunk-Y7XOMJOC.js";
|
|
8
8
|
import {
|
|
9
9
|
$32ef394310635fd5$export$2cfc5be7a55829f6
|
|
10
|
-
} from "../../chunks/chunk-
|
|
10
|
+
} from "../../chunks/chunk-6V4TAD2N.js";
|
|
11
11
|
import {
|
|
12
12
|
$d40e85a29b831dd6$export$a144e1752ebe0aa
|
|
13
|
-
} from "../../chunks/chunk-
|
|
13
|
+
} from "../../chunks/chunk-S4AU6SRS.js";
|
|
14
14
|
import "../../chunks/chunk-AC4U3IMS.js";
|
|
15
15
|
import {
|
|
16
16
|
dist_default
|
|
@@ -28,25 +28,25 @@ import { ExplorerCards } from "./ExplorerCards.js";
|
|
|
28
28
|
|
|
29
29
|
// src/dashboard/app/ExplorerList.module.css
|
|
30
30
|
var ExplorerList_default = {
|
|
31
|
-
"ExplorerList-empty": "alinea-ExplorerList-empty",
|
|
32
|
-
"
|
|
33
|
-
"ExplorerList-
|
|
34
|
-
"
|
|
31
|
+
"ExplorerList-empty-text": "alinea-ExplorerList-empty-text",
|
|
32
|
+
"ExplorerListEmptyText": "alinea-ExplorerList-empty-text",
|
|
33
|
+
"ExplorerList-pending": "alinea-ExplorerList-pending",
|
|
34
|
+
"ExplorerListPending": "alinea-ExplorerList-pending",
|
|
35
|
+
"ExplorerList-empty-copy": "alinea-ExplorerList-empty-copy",
|
|
36
|
+
"ExplorerListEmptyCopy": "alinea-ExplorerList-empty-copy",
|
|
35
37
|
"ExplorerList-drag-preview": "alinea-ExplorerList-drag-preview",
|
|
36
38
|
"ExplorerListDragPreview": "alinea-ExplorerList-drag-preview",
|
|
39
|
+
"ExplorerList-empty": "alinea-ExplorerList-empty",
|
|
40
|
+
"ExplorerListEmpty": "alinea-ExplorerList-empty",
|
|
37
41
|
"ExplorerList-empty-title": "alinea-ExplorerList-empty-title",
|
|
38
42
|
"ExplorerListEmptyTitle": "alinea-ExplorerList-empty-title",
|
|
39
|
-
"ExplorerList
|
|
40
|
-
"ExplorerListEmptyButton": "alinea-ExplorerList-empty-button",
|
|
43
|
+
"ExplorerList": "alinea-ExplorerList",
|
|
41
44
|
"ExplorerList-drag-preview-label": "alinea-ExplorerList-drag-preview-label",
|
|
42
45
|
"ExplorerListDragPreviewLabel": "alinea-ExplorerList-drag-preview-label",
|
|
43
|
-
"ExplorerList": "alinea-ExplorerList",
|
|
44
|
-
"
|
|
45
|
-
"
|
|
46
|
-
"
|
|
47
|
-
"ExplorerListEmptyText": "alinea-ExplorerList-empty-text",
|
|
48
|
-
"ExplorerList-pending": "alinea-ExplorerList-pending",
|
|
49
|
-
"ExplorerListPending": "alinea-ExplorerList-pending"
|
|
46
|
+
"ExplorerList-empty-button": "alinea-ExplorerList-empty-button",
|
|
47
|
+
"ExplorerListEmptyButton": "alinea-ExplorerList-empty-button",
|
|
48
|
+
"ExplorerList-empty-icon": "alinea-ExplorerList-empty-icon",
|
|
49
|
+
"ExplorerListEmptyIcon": "alinea-ExplorerList-empty-icon"
|
|
50
50
|
};
|
|
51
51
|
|
|
52
52
|
// src/dashboard/app/ExplorerList.tsx
|
|
@@ -10,13 +10,13 @@ import { Suspense } from "react";
|
|
|
10
10
|
|
|
11
11
|
// src/dashboard/app/ExplorerModal.module.css
|
|
12
12
|
var ExplorerModal_default = {
|
|
13
|
-
"
|
|
14
|
-
"ExplorerModalLoading": "alinea-ExplorerModalLoading",
|
|
15
|
-
"ExplorerModalSelection": "alinea-ExplorerModalSelection",
|
|
13
|
+
"ExplorerModal": "alinea-ExplorerModal",
|
|
16
14
|
"ExplorerModalContent": "alinea-ExplorerModalContent",
|
|
15
|
+
"ExplorerModalLoading": "alinea-ExplorerModalLoading",
|
|
17
16
|
"ExplorerModalNavigation": "alinea-ExplorerModalNavigation",
|
|
18
|
-
"
|
|
19
|
-
"
|
|
17
|
+
"ExplorerModalFooter": "alinea-ExplorerModalFooter",
|
|
18
|
+
"ExplorerModalSelection": "alinea-ExplorerModalSelection",
|
|
19
|
+
"ExplorerModalActions": "alinea-ExplorerModalActions"
|
|
20
20
|
};
|
|
21
21
|
|
|
22
22
|
// src/dashboard/app/ExplorerModal.tsx
|
|
@@ -10,18 +10,18 @@ import {
|
|
|
10
10
|
$89d060d8eb451127$export$4b687e3f663d618c,
|
|
11
11
|
$89d060d8eb451127$export$53d36ab85dc89436,
|
|
12
12
|
$89d060d8eb451127$export$7fbedc92909ed28e
|
|
13
|
-
} from "../../chunks/chunk-
|
|
13
|
+
} from "../../chunks/chunk-VXZM6V4P.js";
|
|
14
14
|
import {
|
|
15
15
|
$42ceafc619f9c3ba$export$fb8073518f34e6ec
|
|
16
|
-
} from "../../chunks/chunk-
|
|
16
|
+
} from "../../chunks/chunk-O7XWTMCB.js";
|
|
17
17
|
import "../../chunks/chunk-RKDPDEF7.js";
|
|
18
18
|
import {
|
|
19
19
|
$942f06a693c162e2$export$cacbb3924155d68e
|
|
20
|
-
} from "../../chunks/chunk-
|
|
21
|
-
import "../../chunks/chunk-SJBZFMQ2.js";
|
|
20
|
+
} from "../../chunks/chunk-NIVGVRDS.js";
|
|
22
21
|
import "../../chunks/chunk-IYAQC63Y.js";
|
|
23
|
-
import "../../chunks/chunk-
|
|
24
|
-
import "../../chunks/chunk-
|
|
22
|
+
import "../../chunks/chunk-SJBZFMQ2.js";
|
|
23
|
+
import "../../chunks/chunk-6V4TAD2N.js";
|
|
24
|
+
import "../../chunks/chunk-S4AU6SRS.js";
|
|
25
25
|
import "../../chunks/chunk-AC4U3IMS.js";
|
|
26
26
|
import {
|
|
27
27
|
dist_default
|
|
@@ -37,71 +37,71 @@ import { CompactField, compactFieldText } from "./CompactField.js";
|
|
|
37
37
|
|
|
38
38
|
// src/dashboard/app/ExplorerTable.module.css
|
|
39
39
|
var ExplorerTable_default = {
|
|
40
|
+
"ExplorerTable-chevron-button": "alinea-ExplorerTable-chevron-button",
|
|
41
|
+
"ExplorerTableChevronButton": "alinea-ExplorerTable-chevron-button",
|
|
42
|
+
"ExplorerTable-icon": "alinea-ExplorerTable-icon",
|
|
43
|
+
"ExplorerTableIcon": "alinea-ExplorerTable-icon",
|
|
40
44
|
"ExplorerTable-field-label": "alinea-ExplorerTable-field-label",
|
|
41
45
|
"ExplorerTableFieldLabel": "alinea-ExplorerTable-field-label",
|
|
42
|
-
"ExplorerTable-breadcrumb": "alinea-ExplorerTable-breadcrumb",
|
|
43
|
-
"ExplorerTableBreadcrumb": "alinea-ExplorerTable-breadcrumb",
|
|
44
|
-
"ExplorerTable-surface": "alinea-ExplorerTable-surface",
|
|
45
|
-
"ExplorerTableSurface": "alinea-ExplorerTable-surface",
|
|
46
46
|
"ExplorerTable-row-grid": "alinea-ExplorerTable-row-grid",
|
|
47
47
|
"ExplorerTableRowGrid": "alinea-ExplorerTable-row-grid",
|
|
48
|
+
"is-unselectable": "alinea-is-unselectable",
|
|
49
|
+
"isUnselectable": "alinea-is-unselectable",
|
|
50
|
+
"ExplorerTable-header": "alinea-ExplorerTable-header",
|
|
51
|
+
"ExplorerTableHeader": "alinea-ExplorerTable-header",
|
|
52
|
+
"ExplorerTable-viewport": "alinea-ExplorerTable-viewport",
|
|
53
|
+
"ExplorerTableViewport": "alinea-ExplorerTable-viewport",
|
|
54
|
+
"ExplorerTable-cell-selection": "alinea-ExplorerTable-cell-selection",
|
|
55
|
+
"ExplorerTableCellSelection": "alinea-ExplorerTable-cell-selection",
|
|
56
|
+
"ExplorerTable-column": "alinea-ExplorerTable-column",
|
|
57
|
+
"ExplorerTableColumn": "alinea-ExplorerTable-column",
|
|
58
|
+
"ExplorerTable-breadcrumb-root": "alinea-ExplorerTable-breadcrumb-root",
|
|
59
|
+
"ExplorerTableBreadcrumbRoot": "alinea-ExplorerTable-breadcrumb-root",
|
|
60
|
+
"ExplorerTable-empty": "alinea-ExplorerTable-empty",
|
|
61
|
+
"ExplorerTableEmpty": "alinea-ExplorerTable-empty",
|
|
62
|
+
"ExplorerTable-field-value": "alinea-ExplorerTable-field-value",
|
|
63
|
+
"ExplorerTableFieldValue": "alinea-ExplorerTable-field-value",
|
|
64
|
+
"ExplorerTable": "alinea-ExplorerTable",
|
|
65
|
+
"ExplorerTable-surface": "alinea-ExplorerTable-surface",
|
|
66
|
+
"ExplorerTableSurface": "alinea-ExplorerTable-surface",
|
|
67
|
+
"ExplorerTable-iconDrag": "alinea-ExplorerTable-iconDrag",
|
|
68
|
+
"ExplorerTableIconDrag": "alinea-ExplorerTable-iconDrag",
|
|
48
69
|
"ExplorerTable-breadcrumbs": "alinea-ExplorerTable-breadcrumbs",
|
|
49
70
|
"ExplorerTableBreadcrumbs": "alinea-ExplorerTable-breadcrumbs",
|
|
50
|
-
"is-linked": "alinea-is-linked",
|
|
51
|
-
"isLinked": "alinea-is-linked",
|
|
52
|
-
"ExplorerTable-checkbox": "alinea-ExplorerTable-checkbox",
|
|
53
|
-
"ExplorerTableCheckbox": "alinea-ExplorerTable-checkbox",
|
|
54
71
|
"ExplorerTable-chevron": "alinea-ExplorerTable-chevron",
|
|
55
72
|
"ExplorerTableChevron": "alinea-ExplorerTable-chevron",
|
|
56
|
-
"ExplorerTable-titleAction": "alinea-ExplorerTable-titleAction",
|
|
57
|
-
"ExplorerTableTitleAction": "alinea-ExplorerTable-titleAction",
|
|
58
73
|
"ExplorerTable-column-selection": "alinea-ExplorerTable-column-selection",
|
|
59
74
|
"ExplorerTableColumnSelection": "alinea-ExplorerTable-column-selection",
|
|
75
|
+
"ExplorerTable-cell-title": "alinea-ExplorerTable-cell-title",
|
|
76
|
+
"ExplorerTableCellTitle": "alinea-ExplorerTable-cell-title",
|
|
77
|
+
"ExplorerTable-cell": "alinea-ExplorerTable-cell",
|
|
78
|
+
"ExplorerTableCell": "alinea-ExplorerTable-cell",
|
|
79
|
+
"is-compact": "alinea-is-compact",
|
|
80
|
+
"isCompact": "alinea-is-compact",
|
|
81
|
+
"ExplorerTable-checkbox": "alinea-ExplorerTable-checkbox",
|
|
82
|
+
"ExplorerTableCheckbox": "alinea-ExplorerTable-checkbox",
|
|
60
83
|
"ExplorerTable-breadcrumb-label": "alinea-ExplorerTable-breadcrumb-label",
|
|
61
84
|
"ExplorerTableBreadcrumbLabel": "alinea-ExplorerTable-breadcrumb-label",
|
|
85
|
+
"ExplorerTable-row": "alinea-ExplorerTable-row",
|
|
86
|
+
"ExplorerTableRow": "alinea-ExplorerTable-row",
|
|
87
|
+
"ExplorerTable-column-filler": "alinea-ExplorerTable-column-filler",
|
|
88
|
+
"ExplorerTableColumnFiller": "alinea-ExplorerTable-column-filler",
|
|
89
|
+
"is-linked": "alinea-is-linked",
|
|
90
|
+
"isLinked": "alinea-is-linked",
|
|
91
|
+
"is-noSelectionControls": "alinea-is-noSelectionControls",
|
|
92
|
+
"isNoSelectionControls": "alinea-is-noSelectionControls",
|
|
62
93
|
"ExplorerTable-cell-filler": "alinea-ExplorerTable-cell-filler",
|
|
63
94
|
"ExplorerTableCellFiller": "alinea-ExplorerTable-cell-filler",
|
|
64
|
-
"ExplorerTable-
|
|
65
|
-
"
|
|
66
|
-
"ExplorerTable-chevron-button": "alinea-ExplorerTable-chevron-button",
|
|
67
|
-
"ExplorerTableChevronButton": "alinea-ExplorerTable-chevron-button",
|
|
68
|
-
"ExplorerTable-icon": "alinea-ExplorerTable-icon",
|
|
69
|
-
"ExplorerTableIcon": "alinea-ExplorerTable-icon",
|
|
70
|
-
"ExplorerTable-cell": "alinea-ExplorerTable-cell",
|
|
71
|
-
"ExplorerTableCell": "alinea-ExplorerTable-cell",
|
|
95
|
+
"ExplorerTable-titleAction": "alinea-ExplorerTable-titleAction",
|
|
96
|
+
"ExplorerTableTitleAction": "alinea-ExplorerTable-titleAction",
|
|
72
97
|
"ExplorerTable-field": "alinea-ExplorerTable-field",
|
|
73
98
|
"ExplorerTableField": "alinea-ExplorerTable-field",
|
|
74
|
-
"ExplorerTable-body": "alinea-ExplorerTable-body",
|
|
75
|
-
"ExplorerTableBody": "alinea-ExplorerTable-body",
|
|
76
|
-
"ExplorerTable-cell-title": "alinea-ExplorerTable-cell-title",
|
|
77
|
-
"ExplorerTableCellTitle": "alinea-ExplorerTable-cell-title",
|
|
78
|
-
"ExplorerTable-breadcrumb-root": "alinea-ExplorerTable-breadcrumb-root",
|
|
79
|
-
"ExplorerTableBreadcrumbRoot": "alinea-ExplorerTable-breadcrumb-root",
|
|
80
|
-
"ExplorerTable-iconDrag": "alinea-ExplorerTable-iconDrag",
|
|
81
|
-
"ExplorerTableIconDrag": "alinea-ExplorerTable-iconDrag",
|
|
82
|
-
"ExplorerTable-column-filler": "alinea-ExplorerTable-column-filler",
|
|
83
|
-
"ExplorerTableColumnFiller": "alinea-ExplorerTable-column-filler",
|
|
84
|
-
"ExplorerTable-field-value": "alinea-ExplorerTable-field-value",
|
|
85
|
-
"ExplorerTableFieldValue": "alinea-ExplorerTable-field-value",
|
|
86
|
-
"is-unselectable": "alinea-is-unselectable",
|
|
87
|
-
"isUnselectable": "alinea-is-unselectable",
|
|
88
|
-
"ExplorerTable-column": "alinea-ExplorerTable-column",
|
|
89
|
-
"ExplorerTableColumn": "alinea-ExplorerTable-column",
|
|
90
|
-
"ExplorerTable-header": "alinea-ExplorerTable-header",
|
|
91
|
-
"ExplorerTableHeader": "alinea-ExplorerTable-header",
|
|
92
99
|
"ExplorerTable-title": "alinea-ExplorerTable-title",
|
|
93
100
|
"ExplorerTableTitle": "alinea-ExplorerTable-title",
|
|
94
|
-
"ExplorerTable": "alinea-ExplorerTable",
|
|
95
|
-
"
|
|
96
|
-
"
|
|
97
|
-
"
|
|
98
|
-
"ExplorerTableRow": "alinea-ExplorerTable-row",
|
|
99
|
-
"ExplorerTable-empty": "alinea-ExplorerTable-empty",
|
|
100
|
-
"ExplorerTableEmpty": "alinea-ExplorerTable-empty",
|
|
101
|
-
"ExplorerTable-viewport": "alinea-ExplorerTable-viewport",
|
|
102
|
-
"ExplorerTableViewport": "alinea-ExplorerTable-viewport",
|
|
103
|
-
"is-noSelectionControls": "alinea-is-noSelectionControls",
|
|
104
|
-
"isNoSelectionControls": "alinea-is-noSelectionControls"
|
|
101
|
+
"ExplorerTable-breadcrumb": "alinea-ExplorerTable-breadcrumb",
|
|
102
|
+
"ExplorerTableBreadcrumb": "alinea-ExplorerTable-breadcrumb",
|
|
103
|
+
"ExplorerTable-body": "alinea-ExplorerTable-body",
|
|
104
|
+
"ExplorerTableBody": "alinea-ExplorerTable-body"
|
|
105
105
|
};
|
|
106
106
|
|
|
107
107
|
// src/dashboard/app/ExplorerTable.tsx
|
|
@@ -450,7 +450,7 @@ function ExplorerTable({
|
|
|
450
450
|
const isSearching = Boolean(search.trim());
|
|
451
451
|
const breadcrumbs = explorer.breadcrumbs || page.resultMode === "matches" || isSearching || page.searchesEverything;
|
|
452
452
|
const hasSelection = selectionMode !== "none";
|
|
453
|
-
const showSelectionControls = hasSelection &&
|
|
453
|
+
const showSelectionControls = hasSelection && !compact && explorer.showSelectionControls;
|
|
454
454
|
const columns = useMemo(
|
|
455
455
|
() => createExplorerTableColumns({ compact, showSelectionControls }),
|
|
456
456
|
[compact, showSelectionControls]
|
|
@@ -41,6 +41,8 @@ function ExternalLinkPickerDialog({
|
|
|
41
41
|
const initialUrl = initialValue?.url ?? "";
|
|
42
42
|
const initialTitle = initialValue?.title ?? "";
|
|
43
43
|
const [url, setUrl] = useState(initialUrl);
|
|
44
|
+
const parsedUrl = url.trim() ? URL.parse(url, "https://example.com") : null;
|
|
45
|
+
const urlError = url && !parsedUrl ? "Enter a valid URL, for example https://example.com" : void 0;
|
|
44
46
|
const [title, setTitle] = useState(initialTitle);
|
|
45
47
|
const [openInNewTab, setOpenInNewTab] = useState(
|
|
46
48
|
initialValue?.target !== "_self"
|
|
@@ -48,10 +50,9 @@ function ExternalLinkPickerDialog({
|
|
|
48
50
|
function onSubmit(event) {
|
|
49
51
|
event.preventDefault();
|
|
50
52
|
event.stopPropagation();
|
|
51
|
-
|
|
52
|
-
if (!URL.parse(normalizedUrl)) return;
|
|
53
|
+
if (!parsedUrl) return;
|
|
53
54
|
onConfirm({
|
|
54
|
-
url
|
|
55
|
+
url,
|
|
55
56
|
title,
|
|
56
57
|
target: openInNewTab ? "_blank" : "_self"
|
|
57
58
|
});
|
|
@@ -68,7 +69,17 @@ function ExternalLinkPickerDialog({
|
|
|
68
69
|
/* @__PURE__ */ jsx(DashboardModalCloseButton, {})
|
|
69
70
|
] }),
|
|
70
71
|
/* @__PURE__ */ jsxs(DashboardModalFormBody, { children: [
|
|
71
|
-
/* @__PURE__ */ jsx(
|
|
72
|
+
/* @__PURE__ */ jsx(
|
|
73
|
+
TextField,
|
|
74
|
+
{
|
|
75
|
+
label: "URL",
|
|
76
|
+
value: url,
|
|
77
|
+
onChange: setUrl,
|
|
78
|
+
errorMessage: urlError,
|
|
79
|
+
isInvalid: Boolean(urlError),
|
|
80
|
+
isRequired: true
|
|
81
|
+
}
|
|
82
|
+
),
|
|
72
83
|
/* @__PURE__ */ jsx(
|
|
73
84
|
TextField,
|
|
74
85
|
{
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
import "../../chunks/chunk-CQ52GEHY.js";
|
|
12
12
|
|
|
13
13
|
// src/dashboard/app/LinkPicker.tsx
|
|
14
|
-
import { Button, Dialog, Popover } from "alinea/components";
|
|
14
|
+
import { Button, Dialog, Popover, Tooltip } from "alinea/components";
|
|
15
15
|
import {
|
|
16
16
|
createExplorerAtoms
|
|
17
17
|
} from "alinea/dashboard/atoms/explorer";
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
useMemo,
|
|
24
24
|
useState
|
|
25
25
|
} from "react";
|
|
26
|
-
import {
|
|
26
|
+
import { IcRoundOpenInFull } from "../icons.js";
|
|
27
27
|
import { ExplorerBody, ExplorerHeader, ExplorerSearch } from "./Explorer.js";
|
|
28
28
|
import {
|
|
29
29
|
ExplorerModal,
|
|
@@ -40,9 +40,9 @@ import {
|
|
|
40
40
|
|
|
41
41
|
// src/dashboard/app/LinkPicker.module.css
|
|
42
42
|
var LinkPicker_default = {
|
|
43
|
-
"LinkPickerCompact": "alinea-LinkPickerCompact",
|
|
44
43
|
"LinkPicker-popover": "alinea-LinkPicker-popover",
|
|
45
44
|
"LinkPickerPopover": "alinea-LinkPicker-popover",
|
|
45
|
+
"LinkPickerCompact": "alinea-LinkPickerCompact",
|
|
46
46
|
"LinkPickerCompact-header": "alinea-LinkPickerCompact-header",
|
|
47
47
|
"LinkPickerCompactHeader": "alinea-LinkPickerCompact-header"
|
|
48
48
|
};
|
|
@@ -238,16 +238,16 @@ function LinkPickerCompact({
|
|
|
238
238
|
page
|
|
239
239
|
}
|
|
240
240
|
),
|
|
241
|
-
/* @__PURE__ */ jsx(
|
|
241
|
+
/* @__PURE__ */ jsx(Tooltip, { tooltip: "Expand entry picker", children: /* @__PURE__ */ jsx(
|
|
242
242
|
Button,
|
|
243
243
|
{
|
|
244
244
|
"aria-label": "Expand entry picker",
|
|
245
245
|
appearance: "plain",
|
|
246
|
-
icon:
|
|
246
|
+
icon: IcRoundOpenInFull,
|
|
247
247
|
size: "icon-nav",
|
|
248
248
|
onPress: openExpanded
|
|
249
249
|
}
|
|
250
|
-
)
|
|
250
|
+
) })
|
|
251
251
|
] }),
|
|
252
252
|
/* @__PURE__ */ jsx(
|
|
253
253
|
ExplorerBody,
|
|
@@ -4,14 +4,14 @@ import {
|
|
|
4
4
|
import "../../chunks/chunk-Y7XOMJOC.js";
|
|
5
5
|
import {
|
|
6
6
|
$7705c033048f6da7$export$353f5b6fc5456de1
|
|
7
|
-
} from "../../chunks/chunk-
|
|
8
|
-
import "../../chunks/chunk-
|
|
7
|
+
} from "../../chunks/chunk-VXZM6V4P.js";
|
|
8
|
+
import "../../chunks/chunk-O7XWTMCB.js";
|
|
9
9
|
import "../../chunks/chunk-RKDPDEF7.js";
|
|
10
|
-
import "../../chunks/chunk-
|
|
11
|
-
import "../../chunks/chunk-SJBZFMQ2.js";
|
|
10
|
+
import "../../chunks/chunk-NIVGVRDS.js";
|
|
12
11
|
import "../../chunks/chunk-IYAQC63Y.js";
|
|
13
|
-
import "../../chunks/chunk-
|
|
14
|
-
import "../../chunks/chunk-
|
|
12
|
+
import "../../chunks/chunk-SJBZFMQ2.js";
|
|
13
|
+
import "../../chunks/chunk-6V4TAD2N.js";
|
|
14
|
+
import "../../chunks/chunk-S4AU6SRS.js";
|
|
15
15
|
import "../../chunks/chunk-AC4U3IMS.js";
|
|
16
16
|
import {
|
|
17
17
|
dist_default
|
|
@@ -25,16 +25,16 @@ import { IcRoundUnfoldMore } from "../icons.js";
|
|
|
25
25
|
|
|
26
26
|
// src/dashboard/app/LocaleMenu.module.css
|
|
27
27
|
var LocaleMenu_default = {
|
|
28
|
-
"LocaleMenu-label-fullName": "alinea-LocaleMenu-label-fullName",
|
|
29
|
-
"LocaleMenuLabelFullName": "alinea-LocaleMenu-label-fullName",
|
|
30
28
|
"LocaleMenu-label": "alinea-LocaleMenu-label",
|
|
31
29
|
"LocaleMenuLabel": "alinea-LocaleMenu-label",
|
|
32
|
-
"LocaleMenu-
|
|
33
|
-
"
|
|
30
|
+
"LocaleMenu-label-fullName": "alinea-LocaleMenu-label-fullName",
|
|
31
|
+
"LocaleMenuLabelFullName": "alinea-LocaleMenu-label-fullName",
|
|
34
32
|
"LocaleMenu-label-code": "alinea-LocaleMenu-label-code",
|
|
35
33
|
"LocaleMenuLabelCode": "alinea-LocaleMenu-label-code",
|
|
36
34
|
"LocaleMenu-trigger-icon": "alinea-LocaleMenu-trigger-icon",
|
|
37
|
-
"LocaleMenuTriggerIcon": "alinea-LocaleMenu-trigger-icon"
|
|
35
|
+
"LocaleMenuTriggerIcon": "alinea-LocaleMenu-trigger-icon",
|
|
36
|
+
"LocaleMenu-trigger": "alinea-LocaleMenu-trigger",
|
|
37
|
+
"LocaleMenuTrigger": "alinea-LocaleMenu-trigger"
|
|
38
38
|
};
|
|
39
39
|
|
|
40
40
|
// src/dashboard/app/LocaleMenu.tsx
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { type ReactNode } from 'react';
|
|
2
|
+
export interface SidebarLayoutProps {
|
|
3
|
+
children: ReactNode;
|
|
4
|
+
sidebar: ReactNode;
|
|
5
|
+
side: 'left' | 'right';
|
|
6
|
+
visible?: boolean;
|
|
7
|
+
}
|
|
8
|
+
export declare function SidebarLayout({ children, sidebar, side, visible }: SidebarLayoutProps): import("react").JSX.Element;
|