alinea 2.0.0-preview.0 → 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 +134 -80
- 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 +70 -36
- package/dist/backend/resolver/ParsePreview.d.ts +8 -4
- package/dist/backend/resolver/ParsePreview.js +40 -43
- package/dist/backend/router/Router.d.ts +1 -0
- package/dist/backend/router/Router.js +21 -15
- package/dist/bundled.d.ts +369 -99
- package/dist/chunks/chunk-6UT4N4CO.js +919 -0
- 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-EQ3TDHYD.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/CompileConfig.js +3 -2
- 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.d.ts +2 -1
- package/dist/cloud/CloudRemote.js +3 -2
- package/dist/components/Breadcrumbs.js +8 -8
- package/dist/components/Button.js +6 -6
- package/dist/components/Calendar.js +11 -11
- package/dist/components/Checkbox.js +7 -7
- 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 +17 -17
- package/dist/components/DateField.js +9 -9
- package/dist/components/DatePicker.js +10 -10
- package/dist/components/DateRangePicker.js +14 -14
- package/dist/components/Dialog.js +6 -6
- package/dist/components/Disclosure.js +13 -13
- package/dist/components/DropZone.js +6 -6
- package/dist/components/Label.js +16 -16
- package/dist/components/Link.js +6 -6
- package/dist/components/List.js +34 -34
- package/dist/components/Menu.js +10 -10
- package/dist/components/Modal.js +8 -8
- package/dist/components/MultipleSelect.js +33 -33
- package/dist/components/NumberField.d.ts +2 -1
- package/dist/components/NumberField.js +21 -11
- package/dist/components/Popover.js +6 -6
- package/dist/components/ProgressCircle.js +10 -10
- package/dist/components/RadioGroup.js +6 -6
- package/dist/components/SearchField.js +11 -11
- package/dist/components/Select.js +13 -13
- package/dist/components/Surface.js +3 -3
- package/dist/components/Switch.js +6 -6
- package/dist/components/Table.js +13 -13
- package/dist/components/Tabs.js +8 -8
- package/dist/components/TagGroup.js +7 -7
- package/dist/components/TextField.js +10 -10
- package/dist/components/TimeField.js +6 -6
- package/dist/components/Toggle.js +6 -6
- package/dist/components/Toolbar.js +7 -7
- package/dist/components/Tooltip.js +10 -10
- package/dist/components/Tree.js +9 -9
- package/dist/core/BlobTransport.d.ts +5 -0
- package/dist/core/BlobTransport.js +79 -0
- package/dist/core/Client.d.ts +2 -1
- package/dist/core/Client.js +17 -12
- package/dist/core/Config.d.ts +4 -0
- package/dist/core/Config.js +6 -0
- package/dist/core/Connection.d.ts +4 -3
- 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/Type.d.ts +7 -1
- 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 +12 -2
- package/dist/core/db/EntryIndex.js +131 -22
- package/dist/core/db/EntryResolver.js +104 -29
- package/dist/core/db/EntryTransaction.d.ts +1 -2
- package/dist/core/db/EntryTransaction.js +29 -22
- package/dist/core/db/LocalDB.d.ts +5 -5
- package/dist/core/db/LocalDB.js +27 -12
- package/dist/core/field/RichTextField.d.ts +30 -3
- package/dist/core/field/RichTextField.js +124 -56
- package/dist/core/media/MediaAltField.d.ts +1 -0
- package/dist/core/media/MediaAltField.js +9 -1
- package/dist/core/media/MediaLocation.d.ts +5 -2
- package/dist/core/media/MediaLocation.js +6 -7
- package/dist/core/media/MediaTypes.js +11 -0
- package/dist/core/source/CombinedSource.d.ts +2 -2
- package/dist/core/source/CombinedSource.js +6 -3
- package/dist/core/source/FSSource.d.ts +4 -3
- package/dist/core/source/FSSource.js +59 -27
- package/dist/core/source/GithubSource.d.ts +2 -2
- package/dist/core/source/GithubSource.js +21 -9
- package/dist/core/source/IndexedDBSource.d.ts +2 -2
- package/dist/core/source/IndexedDBSource.js +3 -1
- package/dist/core/source/MemorySource.d.ts +2 -2
- package/dist/core/source/MemorySource.js +3 -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 +5 -2
- package/dist/core/source/Source.js +3 -3
- package/dist/core/util/Async.d.ts +8 -2
- package/dist/core/util/Async.js +67 -0
- package/dist/core/util/EntryFilenames.d.ts +2 -2
- package/dist/core/util/EntryFilenames.js +3 -3
- package/dist/dashboard/App.css +158 -0
- package/dist/dashboard/App.js +2 -2
- package/dist/dashboard/app/AccessDenied.js +3 -3
- package/dist/dashboard/app/ActivityStatus.js +15 -15
- package/dist/dashboard/app/AppShell.js +1 -1
- package/dist/dashboard/app/AuthView.js +11 -11
- package/dist/dashboard/app/CompactField.js +10 -10
- package/dist/dashboard/app/DashboardErrorBoundary.js +5 -5
- package/dist/dashboard/app/DashboardLayout.js +22 -19
- package/dist/dashboard/app/EntryHeader.js +12 -12
- package/dist/dashboard/app/EntryReferences.js +9 -9
- package/dist/dashboard/app/EntrySidebar.d.ts +1 -1
- package/dist/dashboard/app/EntrySidebar.js +17 -16
- package/dist/dashboard/app/EntrySidebarPreview.d.ts +1 -1
- package/dist/dashboard/app/EntrySidebarPreview.js +19 -14
- package/dist/dashboard/app/EntryTranslationBanner.js +7 -7
- package/dist/dashboard/app/Explorer.js +51 -43
- package/dist/dashboard/app/ExplorerCards.js +34 -34
- package/dist/dashboard/app/ExplorerFileCard.js +18 -18
- package/dist/dashboard/app/ExplorerList.js +13 -13
- package/dist/dashboard/app/ExplorerModal.js +3 -3
- package/dist/dashboard/app/ExplorerTable.js +76 -61
- package/dist/dashboard/app/ExternalLinkPicker.js +15 -4
- package/dist/dashboard/app/LinkPicker.js +8 -8
- package/dist/dashboard/app/LocaleMenu.js +12 -12
- package/dist/dashboard/app/SidebarLayout.d.ts +8 -0
- package/dist/dashboard/app/SidebarLayout.js +1169 -0
- package/dist/dashboard/app/SidebarTree.js +46 -46
- package/dist/dashboard/app/WorkspaceMenu.js +17 -17
- package/dist/dashboard/app/WorkspaceRoots.js +23 -23
- package/dist/dashboard/app/editor/FileEditor.d.ts +2 -1
- package/dist/dashboard/app/editor/FileEditor.js +41 -32
- package/dist/dashboard/app/editor/FilePreview.js +4 -4
- 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 +57 -31
- package/dist/dashboard/app/pages/UsersPage.js +33 -33
- package/dist/dashboard/app/ui/DashboardModal.js +23 -23
- package/dist/dashboard/app/ui/Rail.js +3 -3
- 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 +48 -2
- package/dist/dashboard/atoms/entry.js +222 -17
- package/dist/dashboard/atoms/explorer.js +4 -9
- package/dist/dashboard/atoms/preview.d.ts +3 -0
- package/dist/dashboard/atoms/preview.js +18 -1
- package/dist/dashboard/atoms/root.d.ts +4 -1
- package/dist/dashboard/atoms/root.js +96 -157
- 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 +12 -12
- package/dist/field/date/DateField.view.js +12 -2
- package/dist/field/link/FileLink.d.ts +2 -2
- package/dist/field/link/FileLink.js +5 -3
- package/dist/field/link/ImageLink.d.ts +1 -1
- package/dist/field/link/ImageLink.js +1 -1
- package/dist/field/link/Link.js +2 -2
- package/dist/field/link/LinkField.view.js +155 -128
- package/dist/field/list/ListField.view.js +22 -33
- package/dist/field/metadata/MetadataField.view.js +19 -19
- 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 +43 -20
- 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 +227 -16
- package/dist/next.cjs +18 -16
- package/dist/next.d.ts +2 -1
- package/dist/next.edge.d.ts +2 -1
- package/dist/picker/entry/EntryPicker.js +9 -35
- package/dist/preview/PreviewPayload.js +35 -250
- package/dist/ui/RichText.d.ts +1 -0
- package/dist/ui/RichText.js +29 -2
- package/package.json +6 -3
- package/dist/cli/util/ExternalPlugin.d.ts +0 -2
- package/dist/cli/util/ExternalPlugin.js +0 -919
- package/dist/chunks/{chunk-JFROOUG6.js → chunk-NIVGVRDS.js} +17 -17
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import type
|
|
1
|
+
import { Config } from 'alinea/core/Config';
|
|
2
|
+
import { Request, type Response } from '@alinea/iso';
|
|
3
3
|
import type { BuildOptions } from 'esbuild';
|
|
4
4
|
export interface CreateDevServerOptions {
|
|
5
5
|
cmd: 'dev' | 'build';
|
|
@@ -9,6 +9,7 @@ export interface CreateDevServerOptions {
|
|
|
9
9
|
buildOptions?: BuildOptions;
|
|
10
10
|
alineaDev?: boolean;
|
|
11
11
|
production?: boolean;
|
|
12
|
+
apiKey?: string;
|
|
12
13
|
dashboardUrl: Promise<string>;
|
|
13
14
|
onAfterGenerate?: (message: string, config: Config) => void;
|
|
14
15
|
}
|
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
import "../../chunks/chunk-CQ52GEHY.js";
|
|
2
2
|
|
|
3
3
|
// src/cli/serve/DevServer.ts
|
|
4
|
-
import path from "node:path";
|
|
5
4
|
import { composeBackend } from "alinea/backend/api/CreateBackend";
|
|
6
5
|
import { createHandler } from "alinea/backend/Handler";
|
|
7
6
|
import { gitUser } from "alinea/backend/util/ExecGit";
|
|
8
7
|
import { CloudRemote } from "alinea/cloud/CloudRemote";
|
|
8
|
+
import { Config } from "alinea/core/Config";
|
|
9
|
+
import { developmentKeyHeader } from "alinea/core/Connection";
|
|
9
10
|
import { createId } from "alinea/core/Id";
|
|
11
|
+
import { fetch, Headers, Request } from "@alinea/iso";
|
|
12
|
+
import path from "node:path";
|
|
10
13
|
import { generate } from "../Generate.js";
|
|
11
14
|
import { dirname } from "../util/Dirname.js";
|
|
12
15
|
import { findConfigFile } from "../util/FindConfigFile.js";
|
|
@@ -43,7 +46,8 @@ async function createDevServer(dir, options) {
|
|
|
43
46
|
buildOptions: options.buildOptions || {},
|
|
44
47
|
production,
|
|
45
48
|
liveReload: new LiveReload(),
|
|
46
|
-
buildId: createId()
|
|
49
|
+
buildId: createId(),
|
|
50
|
+
apiKey: options.apiKey ?? process.env.ALINEA_API_KEY ?? "dev"
|
|
47
51
|
};
|
|
48
52
|
const drafts = new MemoryDrafts();
|
|
49
53
|
const user = gitUser(rootDir);
|
|
@@ -94,7 +98,10 @@ async function createDevServer(dir, options) {
|
|
|
94
98
|
const handleApi = createHandler({
|
|
95
99
|
cms,
|
|
96
100
|
remote: backend2,
|
|
97
|
-
db
|
|
101
|
+
db,
|
|
102
|
+
forwardMutations(request) {
|
|
103
|
+
return forwardMutation(request, cms, context.apiKey);
|
|
104
|
+
}
|
|
98
105
|
});
|
|
99
106
|
const nextServer = createLocalServer(
|
|
100
107
|
context,
|
|
@@ -129,6 +136,56 @@ async function createDevServer(dir, options) {
|
|
|
129
136
|
}
|
|
130
137
|
};
|
|
131
138
|
}
|
|
139
|
+
async function forwardMutation(request, cms, apiKey) {
|
|
140
|
+
const origin = forwardedRequestOrigin(request);
|
|
141
|
+
if (!origin) return;
|
|
142
|
+
const source = new URL(request.url);
|
|
143
|
+
const target = forwardedHandlerUrl(
|
|
144
|
+
Config.handlerUrl(cms.config),
|
|
145
|
+
origin,
|
|
146
|
+
source.search
|
|
147
|
+
);
|
|
148
|
+
const headers = new Headers(request.headers);
|
|
149
|
+
for (const name of hopByHopHeaders) headers.delete(name);
|
|
150
|
+
headers.set(developmentKeyHeader, apiKey);
|
|
151
|
+
const init = {
|
|
152
|
+
method: request.method,
|
|
153
|
+
headers,
|
|
154
|
+
body: request.body,
|
|
155
|
+
signal: request.signal,
|
|
156
|
+
duplex: "half"
|
|
157
|
+
};
|
|
158
|
+
return fetch(new Request(target, init));
|
|
159
|
+
}
|
|
160
|
+
function forwardedHandlerUrl(handlerUrl, origin, search) {
|
|
161
|
+
const pathname = new URL(handlerUrl, origin).pathname;
|
|
162
|
+
const target = new URL(pathname, origin);
|
|
163
|
+
target.search = search;
|
|
164
|
+
return target;
|
|
165
|
+
}
|
|
166
|
+
var hopByHopHeaders = [
|
|
167
|
+
"connection",
|
|
168
|
+
"content-length",
|
|
169
|
+
"expect",
|
|
170
|
+
"host",
|
|
171
|
+
"keep-alive",
|
|
172
|
+
"proxy-authenticate",
|
|
173
|
+
"proxy-authorization",
|
|
174
|
+
"te",
|
|
175
|
+
"trailer",
|
|
176
|
+
"transfer-encoding",
|
|
177
|
+
"upgrade"
|
|
178
|
+
];
|
|
179
|
+
function firstHeaderValue(value) {
|
|
180
|
+
return value?.split(",")[0]?.trim() || void 0;
|
|
181
|
+
}
|
|
182
|
+
function forwardedRequestOrigin(request) {
|
|
183
|
+
const host = firstHeaderValue(request.headers.get("x-forwarded-host"));
|
|
184
|
+
if (!host) return;
|
|
185
|
+
const protocol = firstHeaderValue(request.headers.get("x-forwarded-proto")) ?? "http";
|
|
186
|
+
const normalizedProtocol = protocol.endsWith(":") ? protocol : `${protocol}:`;
|
|
187
|
+
return `${normalizedProtocol}//${host}`;
|
|
188
|
+
}
|
|
132
189
|
export {
|
|
133
190
|
createDevServer
|
|
134
191
|
};
|
|
@@ -6,9 +6,11 @@ import { fromNodeRequest, respondTo } from "alinea/backend/router/NodeHandler";
|
|
|
6
6
|
import { createEmitter } from "../util/Emitter.js";
|
|
7
7
|
import { reportWarning } from "../util/Report.js";
|
|
8
8
|
async function startBunServer(port = 4500, attempt = 0, silent = false) {
|
|
9
|
+
const hostname = "127.0.0.1";
|
|
9
10
|
const messages = createEmitter();
|
|
10
11
|
try {
|
|
11
12
|
const server = Bun.serve({
|
|
13
|
+
hostname,
|
|
12
14
|
port,
|
|
13
15
|
fetch(request) {
|
|
14
16
|
const { resolve, promise } = Promise.withResolvers();
|
|
@@ -22,6 +24,7 @@ async function startBunServer(port = 4500, attempt = 0, silent = false) {
|
|
|
22
24
|
}
|
|
23
25
|
});
|
|
24
26
|
return {
|
|
27
|
+
hostname,
|
|
25
28
|
port,
|
|
26
29
|
close() {
|
|
27
30
|
server.stop();
|
|
@@ -50,6 +53,7 @@ async function startBunServer(port = 4500, attempt = 0, silent = false) {
|
|
|
50
53
|
}
|
|
51
54
|
}
|
|
52
55
|
async function startNodeServer(port = 4500, attempt = 0, silent = false) {
|
|
56
|
+
const hostname = "127.0.0.1";
|
|
53
57
|
const messages = createEmitter();
|
|
54
58
|
function serve(incoming, outgoing) {
|
|
55
59
|
messages.emit({
|
|
@@ -64,9 +68,10 @@ async function startNodeServer(port = 4500, attempt = 0, silent = false) {
|
|
|
64
68
|
server.on("error", reject);
|
|
65
69
|
server.on("listening", () => resolve(server));
|
|
66
70
|
server.on("close", () => messages.return());
|
|
67
|
-
server.listen(port);
|
|
71
|
+
server.listen(port, hostname);
|
|
68
72
|
}).then((server) => {
|
|
69
73
|
return {
|
|
74
|
+
hostname,
|
|
70
75
|
port,
|
|
71
76
|
close() {
|
|
72
77
|
server.close();
|
|
@@ -38,8 +38,8 @@ You can install it with: npm i ${pkg}`
|
|
|
38
38
|
for (const [pkg, minVersion] of Object.entries(libs)) {
|
|
39
39
|
ensurePackage(pkg, minVersion);
|
|
40
40
|
}
|
|
41
|
-
ensurePackage("react", "
|
|
42
|
-
ensurePackage("react-dom", "
|
|
41
|
+
ensurePackage("react", "19.0.0");
|
|
42
|
+
ensurePackage("react-dom", "19.0.0");
|
|
43
43
|
}
|
|
44
44
|
export {
|
|
45
45
|
ensureLibs
|
|
@@ -7,9 +7,9 @@ import "../../chunks/chunk-CQ52GEHY.js";
|
|
|
7
7
|
function ensureNode() {
|
|
8
8
|
if (globalThis.Bun) return;
|
|
9
9
|
if (!process.version) return;
|
|
10
|
-
const isValidNode = compareVersions.compare(process.version, "
|
|
10
|
+
const isValidNode = compareVersions.compare(process.version, "24.0.0", ">=");
|
|
11
11
|
if (isValidNode) return;
|
|
12
|
-
console.error("Alinea requires Node version
|
|
12
|
+
console.error("Alinea requires Node version 24 or higher");
|
|
13
13
|
process.exit(1);
|
|
14
14
|
}
|
|
15
15
|
export {
|
|
@@ -5,12 +5,13 @@ import type { CommitRequest } from 'alinea/core/db/CommitRequest';
|
|
|
5
5
|
import { type Draft, type DraftKey } from 'alinea/core/Draft';
|
|
6
6
|
import type { EntryRecord } from 'alinea/core/EntryRecord';
|
|
7
7
|
import { ReadonlyTree } from 'alinea/core/source/Tree';
|
|
8
|
+
import type { GetBlobsOptions } from 'alinea/core/source/Source';
|
|
8
9
|
import type { User, UserInput } from 'alinea/core/User';
|
|
9
10
|
export declare class CloudRemote extends OAuth2 implements RemoteConnection {
|
|
10
11
|
#private;
|
|
11
12
|
constructor(context: RequestContext, config: Config);
|
|
12
13
|
getTreeIfDifferent(sha: string): Promise<ReadonlyTree | undefined>;
|
|
13
|
-
getBlobs(shas:
|
|
14
|
+
getBlobs(shas: ReadonlyArray<string>, options?: GetBlobsOptions): AsyncGenerator<[sha: string, blob: Uint8Array]>;
|
|
14
15
|
write(request: CommitRequest): Promise<{
|
|
15
16
|
sha: string;
|
|
16
17
|
}>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
package_default
|
|
3
|
-
} from "../chunks/chunk-
|
|
3
|
+
} from "../chunks/chunk-UVOEM4AH.js";
|
|
4
4
|
import "../chunks/chunk-CQ52GEHY.js";
|
|
5
5
|
|
|
6
6
|
// src/cloud/CloudRemote.ts
|
|
@@ -60,11 +60,12 @@ var CloudRemote = class extends OAuth2 {
|
|
|
60
60
|
return tree ? new ReadonlyTree(tree) : void 0;
|
|
61
61
|
});
|
|
62
62
|
}
|
|
63
|
-
async *getBlobs(shas) {
|
|
63
|
+
async *getBlobs(shas, options = {}) {
|
|
64
64
|
const ctx = this.#context;
|
|
65
65
|
const response = await fetch(cloudConfig.blobs, {
|
|
66
66
|
method: "POST",
|
|
67
67
|
body: JSON.stringify({ shas }),
|
|
68
|
+
signal: options.signal,
|
|
68
69
|
headers: {
|
|
69
70
|
...bearer(ctx),
|
|
70
71
|
"content-type": "application/json",
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
$65dbe90f868fa5f4$export$2dc68d50d56fbbd,
|
|
3
3
|
$65dbe90f868fa5f4$export$dabcc1ec9dd9d1cc
|
|
4
|
-
} from "../chunks/chunk-
|
|
5
|
-
import "../chunks/chunk-
|
|
4
|
+
} from "../chunks/chunk-VXZM6V4P.js";
|
|
5
|
+
import "../chunks/chunk-O7XWTMCB.js";
|
|
6
6
|
import "../chunks/chunk-RKDPDEF7.js";
|
|
7
|
-
import "../chunks/chunk-
|
|
8
|
-
import "../chunks/chunk-SJBZFMQ2.js";
|
|
7
|
+
import "../chunks/chunk-NIVGVRDS.js";
|
|
9
8
|
import "../chunks/chunk-IYAQC63Y.js";
|
|
10
|
-
import "../chunks/chunk-
|
|
11
|
-
import "../chunks/chunk-
|
|
9
|
+
import "../chunks/chunk-SJBZFMQ2.js";
|
|
10
|
+
import "../chunks/chunk-6V4TAD2N.js";
|
|
11
|
+
import "../chunks/chunk-S4AU6SRS.js";
|
|
12
12
|
import "../chunks/chunk-AC4U3IMS.js";
|
|
13
13
|
import {
|
|
14
14
|
styler
|
|
@@ -17,8 +17,8 @@ import "../chunks/chunk-CQ52GEHY.js";
|
|
|
17
17
|
|
|
18
18
|
// src/components/Breadcrumbs.module.css
|
|
19
19
|
var Breadcrumbs_default = {
|
|
20
|
-
"
|
|
21
|
-
"
|
|
20
|
+
"Breadcrumbs": "alinea-Breadcrumbs",
|
|
21
|
+
"Breadcrumb": "alinea-Breadcrumb"
|
|
22
22
|
};
|
|
23
23
|
|
|
24
24
|
// src/components/Breadcrumbs.tsx
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
$7705c033048f6da7$export$353f5b6fc5456de1
|
|
3
|
-
} from "../chunks/chunk-
|
|
4
|
-
import "../chunks/chunk-
|
|
3
|
+
} from "../chunks/chunk-VXZM6V4P.js";
|
|
4
|
+
import "../chunks/chunk-O7XWTMCB.js";
|
|
5
5
|
import "../chunks/chunk-RKDPDEF7.js";
|
|
6
|
-
import "../chunks/chunk-
|
|
7
|
-
import "../chunks/chunk-SJBZFMQ2.js";
|
|
6
|
+
import "../chunks/chunk-NIVGVRDS.js";
|
|
8
7
|
import "../chunks/chunk-IYAQC63Y.js";
|
|
9
|
-
import "../chunks/chunk-
|
|
10
|
-
import "../chunks/chunk-
|
|
8
|
+
import "../chunks/chunk-SJBZFMQ2.js";
|
|
9
|
+
import "../chunks/chunk-6V4TAD2N.js";
|
|
10
|
+
import "../chunks/chunk-S4AU6SRS.js";
|
|
11
11
|
import "../chunks/chunk-AC4U3IMS.js";
|
|
12
12
|
import {
|
|
13
13
|
dist_default
|
|
@@ -5,14 +5,14 @@ import {
|
|
|
5
5
|
$6f9a1820b787aac7$export$a4f5c8b89d277a8d,
|
|
6
6
|
$6f9a1820b787aac7$export$e1aef45b828286de,
|
|
7
7
|
$7705c033048f6da7$export$353f5b6fc5456de1
|
|
8
|
-
} from "../chunks/chunk-
|
|
9
|
-
import "../chunks/chunk-
|
|
8
|
+
} from "../chunks/chunk-VXZM6V4P.js";
|
|
9
|
+
import "../chunks/chunk-O7XWTMCB.js";
|
|
10
10
|
import "../chunks/chunk-RKDPDEF7.js";
|
|
11
|
-
import "../chunks/chunk-
|
|
12
|
-
import "../chunks/chunk-SJBZFMQ2.js";
|
|
11
|
+
import "../chunks/chunk-NIVGVRDS.js";
|
|
13
12
|
import "../chunks/chunk-IYAQC63Y.js";
|
|
14
|
-
import "../chunks/chunk-
|
|
15
|
-
import "../chunks/chunk-
|
|
13
|
+
import "../chunks/chunk-SJBZFMQ2.js";
|
|
14
|
+
import "../chunks/chunk-6V4TAD2N.js";
|
|
15
|
+
import "../chunks/chunk-S4AU6SRS.js";
|
|
16
16
|
import "../chunks/chunk-AC4U3IMS.js";
|
|
17
17
|
import {
|
|
18
18
|
dist_default
|
|
@@ -27,17 +27,17 @@ import {
|
|
|
27
27
|
|
|
28
28
|
// src/components/Calendar.module.css
|
|
29
29
|
var Calendar_default = {
|
|
30
|
+
"Calendar-heading": "alinea-Calendar-heading",
|
|
31
|
+
"CalendarHeading": "alinea-Calendar-heading",
|
|
30
32
|
"Calendar-cell": "alinea-Calendar-cell",
|
|
31
33
|
"CalendarCell": "alinea-Calendar-cell",
|
|
32
34
|
"Calendar": "alinea-Calendar",
|
|
35
|
+
"Calendar-header": "alinea-Calendar-header",
|
|
36
|
+
"CalendarHeader": "alinea-Calendar-header",
|
|
33
37
|
"Calendar-button": "alinea-Calendar-button",
|
|
34
38
|
"CalendarButton": "alinea-Calendar-button",
|
|
35
39
|
"Calendar-grid": "alinea-Calendar-grid",
|
|
36
|
-
"CalendarGrid": "alinea-Calendar-grid"
|
|
37
|
-
"Calendar-heading": "alinea-Calendar-heading",
|
|
38
|
-
"CalendarHeading": "alinea-Calendar-heading",
|
|
39
|
-
"Calendar-header": "alinea-Calendar-header",
|
|
40
|
-
"CalendarHeader": "alinea-Calendar-header"
|
|
40
|
+
"CalendarGrid": "alinea-Calendar-grid"
|
|
41
41
|
};
|
|
42
42
|
|
|
43
43
|
// src/components/Calendar.tsx
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
$ed8ccb2e23e76301$export$48513f6b9f8ce62d
|
|
3
|
-
} from "../chunks/chunk-
|
|
4
|
-
import "../chunks/chunk-
|
|
3
|
+
} from "../chunks/chunk-VXZM6V4P.js";
|
|
4
|
+
import "../chunks/chunk-O7XWTMCB.js";
|
|
5
5
|
import "../chunks/chunk-RKDPDEF7.js";
|
|
6
|
-
import "../chunks/chunk-
|
|
7
|
-
import "../chunks/chunk-SJBZFMQ2.js";
|
|
6
|
+
import "../chunks/chunk-NIVGVRDS.js";
|
|
8
7
|
import "../chunks/chunk-IYAQC63Y.js";
|
|
9
|
-
import "../chunks/chunk-
|
|
10
|
-
import "../chunks/chunk-
|
|
8
|
+
import "../chunks/chunk-SJBZFMQ2.js";
|
|
9
|
+
import "../chunks/chunk-6V4TAD2N.js";
|
|
10
|
+
import "../chunks/chunk-S4AU6SRS.js";
|
|
11
11
|
import "../chunks/chunk-AC4U3IMS.js";
|
|
12
12
|
import {
|
|
13
13
|
dist_default
|
|
@@ -16,9 +16,9 @@ import "../chunks/chunk-CQ52GEHY.js";
|
|
|
16
16
|
|
|
17
17
|
// src/components/Checkbox.module.css
|
|
18
18
|
var Checkbox_default = {
|
|
19
|
-
"Checkbox": "alinea-Checkbox",
|
|
20
19
|
"Checkbox-mark": "alinea-Checkbox-mark",
|
|
21
20
|
"CheckboxMark": "alinea-Checkbox-mark",
|
|
21
|
+
"Checkbox": "alinea-Checkbox",
|
|
22
22
|
"Checkbox-box": "alinea-Checkbox-box",
|
|
23
23
|
"CheckboxBox": "alinea-Checkbox-box"
|
|
24
24
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
$ed8ccb2e23e76301$export$4aa08d5625cb8ead
|
|
3
|
-
} from "../chunks/chunk-
|
|
4
|
-
import "../chunks/chunk-
|
|
3
|
+
} from "../chunks/chunk-VXZM6V4P.js";
|
|
4
|
+
import "../chunks/chunk-O7XWTMCB.js";
|
|
5
5
|
import "../chunks/chunk-RKDPDEF7.js";
|
|
6
|
-
import "../chunks/chunk-
|
|
7
|
-
import "../chunks/chunk-SJBZFMQ2.js";
|
|
6
|
+
import "../chunks/chunk-NIVGVRDS.js";
|
|
8
7
|
import "../chunks/chunk-IYAQC63Y.js";
|
|
9
|
-
import "../chunks/chunk-
|
|
10
|
-
import "../chunks/chunk-
|
|
8
|
+
import "../chunks/chunk-SJBZFMQ2.js";
|
|
9
|
+
import "../chunks/chunk-6V4TAD2N.js";
|
|
10
|
+
import "../chunks/chunk-S4AU6SRS.js";
|
|
11
11
|
import "../chunks/chunk-AC4U3IMS.js";
|
|
12
12
|
import {
|
|
13
13
|
dist_default
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
$eeaff5a2d2421ecc$export$cae13e90592f246a
|
|
3
|
-
} from "../chunks/chunk-
|
|
4
|
-
import "../chunks/chunk-
|
|
3
|
+
} from "../chunks/chunk-VXZM6V4P.js";
|
|
4
|
+
import "../chunks/chunk-O7XWTMCB.js";
|
|
5
5
|
import "../chunks/chunk-RKDPDEF7.js";
|
|
6
|
-
import "../chunks/chunk-
|
|
7
|
-
import "../chunks/chunk-SJBZFMQ2.js";
|
|
6
|
+
import "../chunks/chunk-NIVGVRDS.js";
|
|
8
7
|
import "../chunks/chunk-IYAQC63Y.js";
|
|
9
|
-
import "../chunks/chunk-
|
|
10
|
-
import "../chunks/chunk-
|
|
8
|
+
import "../chunks/chunk-SJBZFMQ2.js";
|
|
9
|
+
import "../chunks/chunk-6V4TAD2N.js";
|
|
10
|
+
import "../chunks/chunk-S4AU6SRS.js";
|
|
11
11
|
import "../chunks/chunk-AC4U3IMS.js";
|
|
12
12
|
import {
|
|
13
13
|
dist_default
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
$a36727cf8b43b57f$export$abcd89c27081c2ef,
|
|
3
3
|
$a36727cf8b43b57f$export$b46792416e3d8515
|
|
4
|
-
} from "../chunks/chunk-
|
|
5
|
-
import "../chunks/chunk-
|
|
4
|
+
} from "../chunks/chunk-VXZM6V4P.js";
|
|
5
|
+
import "../chunks/chunk-O7XWTMCB.js";
|
|
6
6
|
import "../chunks/chunk-RKDPDEF7.js";
|
|
7
|
-
import "../chunks/chunk-
|
|
8
|
-
import "../chunks/chunk-SJBZFMQ2.js";
|
|
7
|
+
import "../chunks/chunk-NIVGVRDS.js";
|
|
9
8
|
import "../chunks/chunk-IYAQC63Y.js";
|
|
10
|
-
import "../chunks/chunk-
|
|
11
|
-
import "../chunks/chunk-
|
|
9
|
+
import "../chunks/chunk-SJBZFMQ2.js";
|
|
10
|
+
import "../chunks/chunk-6V4TAD2N.js";
|
|
11
|
+
import "../chunks/chunk-S4AU6SRS.js";
|
|
12
12
|
import "../chunks/chunk-AC4U3IMS.js";
|
|
13
13
|
import {
|
|
14
14
|
dist_default
|
|
@@ -5,14 +5,14 @@ import {
|
|
|
5
5
|
$928221da08ecbc62$export$a11e76429ed99b4,
|
|
6
6
|
$dbdc5e6e7ce01b4b$export$72b9695b8216309a,
|
|
7
7
|
$dbdc5e6e7ce01b4b$export$c02625b26074192c
|
|
8
|
-
} from "../chunks/chunk-
|
|
9
|
-
import "../chunks/chunk-
|
|
8
|
+
} from "../chunks/chunk-VXZM6V4P.js";
|
|
9
|
+
import "../chunks/chunk-O7XWTMCB.js";
|
|
10
10
|
import "../chunks/chunk-RKDPDEF7.js";
|
|
11
|
-
import "../chunks/chunk-
|
|
12
|
-
import "../chunks/chunk-SJBZFMQ2.js";
|
|
11
|
+
import "../chunks/chunk-NIVGVRDS.js";
|
|
13
12
|
import "../chunks/chunk-IYAQC63Y.js";
|
|
14
|
-
import "../chunks/chunk-
|
|
15
|
-
import "../chunks/chunk-
|
|
13
|
+
import "../chunks/chunk-SJBZFMQ2.js";
|
|
14
|
+
import "../chunks/chunk-6V4TAD2N.js";
|
|
15
|
+
import "../chunks/chunk-S4AU6SRS.js";
|
|
16
16
|
import "../chunks/chunk-AC4U3IMS.js";
|
|
17
17
|
import {
|
|
18
18
|
dist_default
|
|
@@ -29,24 +29,24 @@ import {
|
|
|
29
29
|
|
|
30
30
|
// src/components/ComboBox.module.css
|
|
31
31
|
var ComboBox_default = {
|
|
32
|
+
"ComboBoxTrigger-input": "alinea-ComboBoxTrigger-input",
|
|
33
|
+
"ComboBoxTriggerInput": "alinea-ComboBoxTrigger-input",
|
|
34
|
+
"ComboBox": "alinea-ComboBox",
|
|
35
|
+
"ComboBoxTrigger-button-value": "alinea-ComboBoxTrigger-button-value",
|
|
36
|
+
"ComboBoxTriggerButtonValue": "alinea-ComboBoxTrigger-button-value",
|
|
37
|
+
"ComboBoxTrigger": "alinea-ComboBoxTrigger",
|
|
38
|
+
"ComboBoxTrigger-actions": "alinea-ComboBoxTrigger-actions",
|
|
39
|
+
"ComboBoxTriggerActions": "alinea-ComboBoxTrigger-actions",
|
|
40
|
+
"ComboBoxItem": "alinea-ComboBoxItem",
|
|
32
41
|
"ComboBoxItem-check": "alinea-ComboBoxItem-check",
|
|
33
42
|
"ComboBoxItemCheck": "alinea-ComboBoxItem-check",
|
|
34
43
|
"ComboBoxTrigger-button-arrow": "alinea-ComboBoxTrigger-button-arrow",
|
|
35
44
|
"ComboBoxTriggerButtonArrow": "alinea-ComboBoxTrigger-button-arrow",
|
|
36
|
-
"ComboBoxTrigger": "alinea-ComboBoxTrigger",
|
|
37
45
|
"ComboBoxPopover-listbox": "alinea-ComboBoxPopover-listbox",
|
|
38
46
|
"ComboBoxPopoverListbox": "alinea-ComboBoxPopover-listbox",
|
|
39
|
-
"ComboBoxTrigger-button": "alinea-ComboBoxTrigger-button",
|
|
40
|
-
"ComboBoxTriggerButton": "alinea-ComboBoxTrigger-button",
|
|
41
|
-
"ComboBoxTrigger-button-value": "alinea-ComboBoxTrigger-button-value",
|
|
42
|
-
"ComboBoxTriggerButtonValue": "alinea-ComboBoxTrigger-button-value",
|
|
43
|
-
"ComboBoxTrigger-input": "alinea-ComboBoxTrigger-input",
|
|
44
|
-
"ComboBoxTriggerInput": "alinea-ComboBoxTrigger-input",
|
|
45
47
|
"ComboBoxClear": "alinea-ComboBoxClear",
|
|
46
|
-
"ComboBoxTrigger-
|
|
47
|
-
"
|
|
48
|
-
"ComboBox": "alinea-ComboBox",
|
|
49
|
-
"ComboBoxItem": "alinea-ComboBoxItem"
|
|
48
|
+
"ComboBoxTrigger-button": "alinea-ComboBoxTrigger-button",
|
|
49
|
+
"ComboBoxTriggerButton": "alinea-ComboBoxTrigger-button"
|
|
50
50
|
};
|
|
51
51
|
|
|
52
52
|
// src/components/ComboBox.tsx
|
|
@@ -3,14 +3,14 @@ import {
|
|
|
3
3
|
$5400c097f4765e59$export$336ab7fa954c4b5f,
|
|
4
4
|
$5400c097f4765e59$export$7edc06cf1783b30f,
|
|
5
5
|
$5400c097f4765e59$export$d9781c7894a82487
|
|
6
|
-
} from "../chunks/chunk-
|
|
7
|
-
import "../chunks/chunk-
|
|
6
|
+
} from "../chunks/chunk-VXZM6V4P.js";
|
|
7
|
+
import "../chunks/chunk-O7XWTMCB.js";
|
|
8
8
|
import "../chunks/chunk-RKDPDEF7.js";
|
|
9
|
-
import "../chunks/chunk-
|
|
10
|
-
import "../chunks/chunk-SJBZFMQ2.js";
|
|
9
|
+
import "../chunks/chunk-NIVGVRDS.js";
|
|
11
10
|
import "../chunks/chunk-IYAQC63Y.js";
|
|
12
|
-
import "../chunks/chunk-
|
|
13
|
-
import "../chunks/chunk-
|
|
11
|
+
import "../chunks/chunk-SJBZFMQ2.js";
|
|
12
|
+
import "../chunks/chunk-6V4TAD2N.js";
|
|
13
|
+
import "../chunks/chunk-S4AU6SRS.js";
|
|
14
14
|
import "../chunks/chunk-AC4U3IMS.js";
|
|
15
15
|
import {
|
|
16
16
|
dist_default
|
|
@@ -20,10 +20,10 @@ import "../chunks/chunk-CQ52GEHY.js";
|
|
|
20
20
|
// src/components/DateField.module.css
|
|
21
21
|
var DateField_default = {
|
|
22
22
|
"DateField": "alinea-DateField",
|
|
23
|
-
"DateField-input": "alinea-DateField-input",
|
|
24
|
-
"DateFieldInput": "alinea-DateField-input",
|
|
25
23
|
"DateField-input-segment": "alinea-DateField-input-segment",
|
|
26
|
-
"DateFieldInputSegment": "alinea-DateField-input-segment"
|
|
24
|
+
"DateFieldInputSegment": "alinea-DateField-input-segment",
|
|
25
|
+
"DateField-input": "alinea-DateField-input",
|
|
26
|
+
"DateFieldInput": "alinea-DateField-input"
|
|
27
27
|
};
|
|
28
28
|
|
|
29
29
|
// src/components/DateField.tsx
|
|
@@ -5,14 +5,14 @@ import {
|
|
|
5
5
|
$7705c033048f6da7$export$353f5b6fc5456de1,
|
|
6
6
|
$e539d00f123fdfd8$export$5109c6dd95d8fb00,
|
|
7
7
|
$f2ff30fde7b014be$export$3ddf2d174ce01153
|
|
8
|
-
} from "../chunks/chunk-
|
|
9
|
-
import "../chunks/chunk-
|
|
8
|
+
} from "../chunks/chunk-VXZM6V4P.js";
|
|
9
|
+
import "../chunks/chunk-O7XWTMCB.js";
|
|
10
10
|
import "../chunks/chunk-RKDPDEF7.js";
|
|
11
|
-
import "../chunks/chunk-
|
|
12
|
-
import "../chunks/chunk-SJBZFMQ2.js";
|
|
11
|
+
import "../chunks/chunk-NIVGVRDS.js";
|
|
13
12
|
import "../chunks/chunk-IYAQC63Y.js";
|
|
14
|
-
import "../chunks/chunk-
|
|
15
|
-
import "../chunks/chunk-
|
|
13
|
+
import "../chunks/chunk-SJBZFMQ2.js";
|
|
14
|
+
import "../chunks/chunk-6V4TAD2N.js";
|
|
15
|
+
import "../chunks/chunk-S4AU6SRS.js";
|
|
16
16
|
import "../chunks/chunk-AC4U3IMS.js";
|
|
17
17
|
import {
|
|
18
18
|
dist_default
|
|
@@ -25,14 +25,14 @@ import { Calendar } from "./Calendar.js";
|
|
|
25
25
|
|
|
26
26
|
// src/components/DatePicker.module.css
|
|
27
27
|
var DatePicker_default = {
|
|
28
|
-
"DatePicker-input-segment": "alinea-DatePicker-input-segment",
|
|
29
|
-
"DatePickerInputSegment": "alinea-DatePicker-input-segment",
|
|
30
28
|
"DatePicker-trigger": "alinea-DatePicker-trigger",
|
|
31
29
|
"DatePickerTrigger": "alinea-DatePicker-trigger",
|
|
32
|
-
"Icon": "alinea-Icon",
|
|
33
30
|
"DatePicker": "alinea-DatePicker",
|
|
31
|
+
"Icon": "alinea-Icon",
|
|
34
32
|
"DatePicker-input": "alinea-DatePicker-input",
|
|
35
|
-
"DatePickerInput": "alinea-DatePicker-input"
|
|
33
|
+
"DatePickerInput": "alinea-DatePicker-input",
|
|
34
|
+
"DatePicker-input-segment": "alinea-DatePicker-input-segment",
|
|
35
|
+
"DatePickerInputSegment": "alinea-DatePicker-input-segment"
|
|
36
36
|
};
|
|
37
37
|
|
|
38
38
|
// src/components/DatePicker.tsx
|
|
@@ -5,14 +5,14 @@ import {
|
|
|
5
5
|
$7705c033048f6da7$export$353f5b6fc5456de1,
|
|
6
6
|
$e539d00f123fdfd8$export$17334619f3ac2224,
|
|
7
7
|
$f2ff30fde7b014be$export$3ddf2d174ce01153
|
|
8
|
-
} from "../chunks/chunk-
|
|
9
|
-
import "../chunks/chunk-
|
|
8
|
+
} from "../chunks/chunk-VXZM6V4P.js";
|
|
9
|
+
import "../chunks/chunk-O7XWTMCB.js";
|
|
10
10
|
import "../chunks/chunk-RKDPDEF7.js";
|
|
11
|
-
import "../chunks/chunk-
|
|
12
|
-
import "../chunks/chunk-SJBZFMQ2.js";
|
|
11
|
+
import "../chunks/chunk-NIVGVRDS.js";
|
|
13
12
|
import "../chunks/chunk-IYAQC63Y.js";
|
|
14
|
-
import "../chunks/chunk-
|
|
15
|
-
import "../chunks/chunk-
|
|
13
|
+
import "../chunks/chunk-SJBZFMQ2.js";
|
|
14
|
+
import "../chunks/chunk-6V4TAD2N.js";
|
|
15
|
+
import "../chunks/chunk-S4AU6SRS.js";
|
|
16
16
|
import "../chunks/chunk-AC4U3IMS.js";
|
|
17
17
|
import {
|
|
18
18
|
dist_default
|
|
@@ -25,18 +25,18 @@ import { RangeCalendar } from "./Calendar.js";
|
|
|
25
25
|
|
|
26
26
|
// src/components/DateRangePicker.module.css
|
|
27
27
|
var DateRangePicker_default = {
|
|
28
|
-
"DateRangePicker-separator": "alinea-DateRangePicker-separator",
|
|
29
|
-
"DateRangePickerSeparator": "alinea-DateRangePicker-separator",
|
|
30
|
-
"DateRangePicker-input": "alinea-DateRangePicker-input",
|
|
31
|
-
"DateRangePickerInput": "alinea-DateRangePicker-input",
|
|
32
|
-
"DateRangePicker": "alinea-DateRangePicker",
|
|
33
|
-
"DateRangePicker-trigger": "alinea-DateRangePicker-trigger",
|
|
34
|
-
"DateRangePickerTrigger": "alinea-DateRangePicker-trigger",
|
|
35
28
|
"DateRangePicker-inputs": "alinea-DateRangePicker-inputs",
|
|
36
29
|
"DateRangePickerInputs": "alinea-DateRangePicker-inputs",
|
|
30
|
+
"Icon": "alinea-Icon",
|
|
31
|
+
"DateRangePicker-input": "alinea-DateRangePicker-input",
|
|
32
|
+
"DateRangePickerInput": "alinea-DateRangePicker-input",
|
|
37
33
|
"DateRangePicker-input-segment": "alinea-DateRangePicker-input-segment",
|
|
38
34
|
"DateRangePickerInputSegment": "alinea-DateRangePicker-input-segment",
|
|
39
|
-
"
|
|
35
|
+
"DateRangePicker-separator": "alinea-DateRangePicker-separator",
|
|
36
|
+
"DateRangePickerSeparator": "alinea-DateRangePicker-separator",
|
|
37
|
+
"DateRangePicker": "alinea-DateRangePicker",
|
|
38
|
+
"DateRangePicker-trigger": "alinea-DateRangePicker-trigger",
|
|
39
|
+
"DateRangePickerTrigger": "alinea-DateRangePicker-trigger"
|
|
40
40
|
};
|
|
41
41
|
|
|
42
42
|
// src/components/DateRangePicker.tsx
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
$f2ff30fde7b014be$export$2e1e1122cf0cba88,
|
|
3
3
|
$f2ff30fde7b014be$export$3ddf2d174ce01153
|
|
4
|
-
} from "../chunks/chunk-
|
|
5
|
-
import "../chunks/chunk-
|
|
4
|
+
} from "../chunks/chunk-VXZM6V4P.js";
|
|
5
|
+
import "../chunks/chunk-O7XWTMCB.js";
|
|
6
6
|
import "../chunks/chunk-RKDPDEF7.js";
|
|
7
|
-
import "../chunks/chunk-
|
|
8
|
-
import "../chunks/chunk-SJBZFMQ2.js";
|
|
7
|
+
import "../chunks/chunk-NIVGVRDS.js";
|
|
9
8
|
import "../chunks/chunk-IYAQC63Y.js";
|
|
10
|
-
import "../chunks/chunk-
|
|
11
|
-
import "../chunks/chunk-
|
|
9
|
+
import "../chunks/chunk-SJBZFMQ2.js";
|
|
10
|
+
import "../chunks/chunk-6V4TAD2N.js";
|
|
11
|
+
import "../chunks/chunk-S4AU6SRS.js";
|
|
12
12
|
import "../chunks/chunk-AC4U3IMS.js";
|
|
13
13
|
import {
|
|
14
14
|
dist_default
|