@owdproject/nuxt 0.0.0-stage → 4.0.0-alpha.4
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/LICENSE +20 -0
- package/README.md +77 -2
- package/dist/kit/authoring.d.ts +88 -0
- package/dist/kit/authoring.js +276 -0
- package/dist/kit/defineDesktopApp.d.ts +1 -0
- package/dist/kit/defineDesktopApp.js +1 -0
- package/dist/kit/defineDesktopPlugin.d.ts +1 -0
- package/dist/kit/defineDesktopPlugin.js +1 -0
- package/dist/module.d.mts +245 -0
- package/dist/module.json +12 -0
- package/dist/module.mjs +681 -0
- package/dist/runtime/components/Application/DesktopCoreApplicationRender.d.vue.ts +6 -0
- package/dist/runtime/components/Application/DesktopCoreApplicationRender.vue +18 -0
- package/dist/runtime/components/Application/DesktopCoreApplicationRender.vue.d.ts +6 -0
- package/dist/runtime/components/Application/DesktopCoreApplicationWindowsRender.d.vue.ts +9 -0
- package/dist/runtime/components/Application/DesktopCoreApplicationWindowsRender.vue +31 -0
- package/dist/runtime/components/Application/DesktopCoreApplicationWindowsRender.vue.d.ts +9 -0
- package/dist/runtime/components/DesktopCore.d.vue.ts +19 -0
- package/dist/runtime/components/DesktopCore.vue +37 -0
- package/dist/runtime/components/DesktopCore.vue.d.ts +19 -0
- package/dist/runtime/components/background/DesktopCoreBackground.d.vue.ts +13 -0
- package/dist/runtime/components/background/DesktopCoreBackground.vue +16 -0
- package/dist/runtime/components/background/DesktopCoreBackground.vue.d.ts +13 -0
- package/dist/runtime/components/time/DesktopCoreTime.d.vue.ts +3 -0
- package/dist/runtime/components/time/DesktopCoreTime.vue +44 -0
- package/dist/runtime/components/time/DesktopCoreTime.vue.d.ts +3 -0
- package/dist/runtime/components/window/DesktopCoreWindow.d.vue.ts +49 -0
- package/dist/runtime/components/window/DesktopCoreWindow.vue +438 -0
- package/dist/runtime/components/window/DesktopCoreWindow.vue.d.ts +49 -0
- package/dist/runtime/components/window/DesktopCoreWindowContent.d.vue.ts +13 -0
- package/dist/runtime/components/window/DesktopCoreWindowContent.vue +34 -0
- package/dist/runtime/components/window/DesktopCoreWindowContent.vue.d.ts +13 -0
- package/dist/runtime/components/window/DesktopCoreWindowNav.d.vue.ts +13 -0
- package/dist/runtime/components/window/DesktopCoreWindowNav.vue +54 -0
- package/dist/runtime/components/window/DesktopCoreWindowNav.vue.d.ts +13 -0
- package/dist/runtime/components/window/DesktopCoreWindowSnapHintsBase.d.vue.ts +19 -0
- package/dist/runtime/components/window/DesktopCoreWindowSnapHintsBase.vue +46 -0
- package/dist/runtime/components/window/DesktopCoreWindowSnapHintsBase.vue.d.ts +19 -0
- package/dist/runtime/components/workspace/DesktopCoreWorkspaceEdgeHintsBase.d.vue.ts +24 -0
- package/dist/runtime/components/workspace/DesktopCoreWorkspaceEdgeHintsBase.vue +50 -0
- package/dist/runtime/components/workspace/DesktopCoreWorkspaceEdgeHintsBase.vue.d.ts +24 -0
- package/dist/runtime/composables/application/state.d.ts +1 -0
- package/dist/runtime/composables/application/state.js +2 -0
- package/dist/runtime/composables/application/useDesktopApplicationDefine.d.ts +4 -0
- package/dist/runtime/composables/application/useDesktopApplicationDefine.js +36 -0
- package/dist/runtime/composables/application/useDesktopApplicationExec.d.ts +3 -0
- package/dist/runtime/composables/application/useDesktopApplicationExec.js +26 -0
- package/dist/runtime/composables/application/useDesktopApplicationProcess.d.ts +24 -0
- package/dist/runtime/composables/application/useDesktopApplicationProcess.js +140 -0
- package/dist/runtime/composables/application/useDesktopApplicationRegistry.d.ts +11 -0
- package/dist/runtime/composables/application/useDesktopApplicationRegistry.js +60 -0
- package/dist/runtime/composables/useApplicationEntries.d.ts +5 -0
- package/dist/runtime/composables/useApplicationEntries.js +10 -0
- package/dist/runtime/composables/useApplicationManager.d.ts +16 -0
- package/dist/runtime/composables/useApplicationManager.js +30 -0
- package/dist/runtime/composables/useBlockNonInputContextMenu.d.ts +5 -0
- package/dist/runtime/composables/useBlockNonInputContextMenu.js +19 -0
- package/dist/runtime/composables/useDesktop.d.ts +210 -0
- package/dist/runtime/composables/useDesktop.js +52 -0
- package/dist/runtime/composables/useDesktopApplication.d.ts +34 -0
- package/dist/runtime/composables/useDesktopApplication.js +17 -0
- package/dist/runtime/composables/useDesktopCommands.d.ts +12 -0
- package/dist/runtime/composables/useDesktopCommands.js +348 -0
- package/dist/runtime/composables/useDesktopConfig.d.ts +3 -0
- package/dist/runtime/composables/useDesktopConfig.js +10 -0
- package/dist/runtime/composables/useDesktopDefaultApps.d.ts +15 -0
- package/dist/runtime/composables/useDesktopDefaultApps.js +21 -0
- package/dist/runtime/composables/useDesktopDialogs.d.ts +5 -0
- package/dist/runtime/composables/useDesktopDialogs.js +8 -0
- package/dist/runtime/composables/useDesktopDrag.d.ts +1 -0
- package/dist/runtime/composables/useDesktopDrag.js +1 -0
- package/dist/runtime/composables/useDesktopHooks.d.ts +15 -0
- package/dist/runtime/composables/useDesktopHooks.js +12 -0
- package/dist/runtime/composables/useDesktopIPC.d.ts +35 -0
- package/dist/runtime/composables/useDesktopIPC.js +72 -0
- package/dist/runtime/composables/useDesktopIdentity.d.ts +22 -0
- package/dist/runtime/composables/useDesktopIdentity.js +65 -0
- package/dist/runtime/composables/useDesktopManifest.d.ts +6 -0
- package/dist/runtime/composables/useDesktopManifest.js +17 -0
- package/dist/runtime/composables/useDesktopNotification.d.ts +13 -0
- package/dist/runtime/composables/useDesktopNotification.js +13 -0
- package/dist/runtime/composables/useDesktopResize.d.ts +1 -0
- package/dist/runtime/composables/useDesktopResize.js +1 -0
- package/dist/runtime/composables/useDesktopSession.d.ts +4 -0
- package/dist/runtime/composables/useDesktopSession.js +17 -0
- package/dist/runtime/composables/useDesktopShellIdentity.d.ts +1 -0
- package/dist/runtime/composables/useDesktopShellIdentity.js +3 -0
- package/dist/runtime/composables/useDesktopShellOptions.d.ts +5 -0
- package/dist/runtime/composables/useDesktopShellOptions.js +18 -0
- package/dist/runtime/composables/useDesktopTray.d.ts +5 -0
- package/dist/runtime/composables/useDesktopTray.js +10 -0
- package/dist/runtime/composables/useDesktopVolume.d.ts +4 -0
- package/dist/runtime/composables/useDesktopVolume.js +9 -0
- package/dist/runtime/composables/useDesktopWorkArea.d.ts +1 -0
- package/dist/runtime/composables/useDesktopWorkArea.js +3 -0
- package/dist/runtime/composables/useDesktopWorkarea.d.ts +12 -0
- package/dist/runtime/composables/useDesktopWorkarea.js +72 -0
- package/dist/runtime/composables/useTerminalManager.d.ts +15 -0
- package/dist/runtime/composables/useTerminalManager.js +9 -0
- package/dist/runtime/composables/useToggleWindowMaximize.d.ts +1 -0
- package/dist/runtime/composables/useToggleWindowMaximize.js +12 -0
- package/dist/runtime/composables/useWindowDragHandlers.d.ts +7 -0
- package/dist/runtime/composables/useWindowDragHandlers.js +7 -0
- package/dist/runtime/composables/window/useDesktopWindow.d.ts +14 -0
- package/dist/runtime/composables/window/useDesktopWindow.js +192 -0
- package/dist/runtime/composables/window/useDesktopWindowSnapDrop.d.ts +13 -0
- package/dist/runtime/composables/window/useDesktopWindowSnapDrop.js +78 -0
- package/dist/runtime/composables/workspace/useDesktopWorkspaceEdgeDrop.d.ts +25 -0
- package/dist/runtime/composables/workspace/useDesktopWorkspaceEdgeDrop.js +119 -0
- package/dist/runtime/composables/workspace/useDesktopWorkspaceManager.d.ts +8 -0
- package/dist/runtime/composables/workspace/useDesktopWorkspaceManager.js +46 -0
- package/dist/runtime/composables/workspace/useDesktopWorkspaceOverviewCapture.d.ts +20 -0
- package/dist/runtime/composables/workspace/useDesktopWorkspaceOverviewCapture.js +60 -0
- package/dist/runtime/composables/workspace/useDesktopWorkspaceOverviewLiveScale.d.ts +31 -0
- package/dist/runtime/composables/workspace/useDesktopWorkspaceOverviewLiveScale.js +92 -0
- package/dist/runtime/constants/desktopShellKeys.d.ts +5 -0
- package/dist/runtime/constants/desktopShellKeys.js +2 -0
- package/dist/runtime/constants/shellLayout.d.ts +4 -0
- package/dist/runtime/constants/shellLayout.js +2 -0
- package/dist/runtime/dialogs/desktopDialogProvider.d.ts +6 -0
- package/dist/runtime/dialogs/desktopDialogProvider.js +12 -0
- package/dist/runtime/internal/controllers/ApplicationController.d.ts +44 -0
- package/dist/runtime/internal/controllers/ApplicationController.js +470 -0
- package/dist/runtime/internal/controllers/WindowController.d.ts +83 -0
- package/dist/runtime/internal/controllers/WindowController.js +435 -0
- package/dist/runtime/plugins/01.desktop-shell-init.client.d.ts +2 -0
- package/dist/runtime/plugins/01.desktop-shell-init.client.js +18 -0
- package/dist/runtime/plugins/02.desktop-register-desktop-apps.client.d.ts +2 -0
- package/dist/runtime/plugins/02.desktop-register-desktop-apps.client.js +7 -0
- package/dist/runtime/stores/storeApplicationMeta.d.ts +2 -0
- package/dist/runtime/stores/storeApplicationMeta.js +30 -0
- package/dist/runtime/stores/storeApplicationWindows.d.ts +2 -0
- package/dist/runtime/stores/storeApplicationWindows.js +43 -0
- package/dist/runtime/stores/storeDesktop.d.ts +17 -0
- package/dist/runtime/stores/storeDesktop.js +29 -0
- package/dist/runtime/stores/storeDesktopDefaultApps.d.ts +8 -0
- package/dist/runtime/stores/storeDesktopDefaultApps.js +21 -0
- package/dist/runtime/stores/storeDesktopTray.d.ts +6 -0
- package/dist/runtime/stores/storeDesktopTray.js +21 -0
- package/dist/runtime/stores/storeDesktopVolume.d.ts +4 -0
- package/dist/runtime/stores/storeDesktopVolume.js +12 -0
- package/dist/runtime/stores/storeDesktopWorkspace.d.ts +26 -0
- package/dist/runtime/stores/storeDesktopWorkspace.js +103 -0
- package/dist/runtime/stores/storeNotification.d.ts +27 -0
- package/dist/runtime/stores/storeNotification.js +62 -0
- package/dist/runtime/types/index.d.ts +1 -0
- package/dist/runtime/types/index.js +1 -0
- package/dist/runtime/utils/defineDesktopApp.d.ts +2 -0
- package/dist/runtime/utils/defineDesktopApp.js +5 -0
- package/dist/runtime/utils/defineDesktopPlugin.d.ts +19 -0
- package/dist/runtime/utils/defineDesktopPlugin.js +29 -0
- package/dist/runtime/utils/utilApp.d.ts +2 -0
- package/dist/runtime/utils/utilApp.js +9 -0
- package/dist/runtime/utils/utilCaptureElementToCanvas.d.ts +1 -0
- package/dist/runtime/utils/utilCaptureElementToCanvas.js +21 -0
- package/dist/runtime/utils/utilDebug.d.ts +4 -0
- package/dist/runtime/utils/utilDebug.js +24 -0
- package/dist/runtime/utils/utilDetectSnapZone.d.ts +1 -0
- package/dist/runtime/utils/utilDetectSnapZone.js +5 -0
- package/dist/runtime/utils/utilWindowControllerAdapter.d.ts +2 -0
- package/dist/runtime/utils/utilWindowControllerAdapter.js +151 -0
- package/dist/runtime/utils/utilWindowLayout.d.ts +4 -0
- package/dist/runtime/utils/utilWindowLayout.js +34 -0
- package/dist/runtime/utils/utilWorkspaceWindows.d.ts +2 -0
- package/dist/runtime/utils/utilWorkspaceWindows.js +12 -0
- package/dist/types/index.d.ts +164 -0
- package/dist/types/index.js +1 -0
- package/dist/types.d.mts +2 -0
- package/package.json +151 -4
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
import type { Component, Raw, ShallowRef } from 'vue';
|
|
2
|
+
import type { WindowConfig as CoreWindowConfig, WindowState as CoreWindowState, WindowLayout, WindowPosition, WindowSize } from '@owdproject/core';
|
|
3
|
+
export * from '@owdproject/core';
|
|
4
|
+
export interface DesktopWindowConfig extends Omit<CoreWindowConfig, 'component'> {
|
|
5
|
+
component?: Raw<Component> | any;
|
|
6
|
+
}
|
|
7
|
+
export interface IDesktopWindowActions {
|
|
8
|
+
setActive(value: boolean): void;
|
|
9
|
+
setFocus(value: boolean): void;
|
|
10
|
+
bringToFront(): void;
|
|
11
|
+
focus(): void;
|
|
12
|
+
setPosition(data: {
|
|
13
|
+
x: number;
|
|
14
|
+
y: number;
|
|
15
|
+
}): void;
|
|
16
|
+
startDrag(): void;
|
|
17
|
+
stopDrag(): void;
|
|
18
|
+
startResize(): void;
|
|
19
|
+
stopResize(): void;
|
|
20
|
+
setSize(data: {
|
|
21
|
+
width: number;
|
|
22
|
+
height: number;
|
|
23
|
+
}): void;
|
|
24
|
+
minimize(): boolean;
|
|
25
|
+
unminimize(): boolean;
|
|
26
|
+
toggleMinimize(): void;
|
|
27
|
+
toggleMaximize(): boolean;
|
|
28
|
+
maximize(): boolean;
|
|
29
|
+
unmaximize(): boolean;
|
|
30
|
+
setLayout(layout: WindowLayout): boolean;
|
|
31
|
+
clearLayout(): boolean;
|
|
32
|
+
saveBoundsBeforeLayout(): void;
|
|
33
|
+
destroy(): boolean;
|
|
34
|
+
setWorkspace(workspaceId: string): void;
|
|
35
|
+
setTitleOverride(value: undefined | string): void;
|
|
36
|
+
resetTitleOverride(): void;
|
|
37
|
+
setWindowTitleOverride(value: undefined | string): void;
|
|
38
|
+
resetWindowTitleOverride(): void;
|
|
39
|
+
}
|
|
40
|
+
export interface IDesktopWindowController {
|
|
41
|
+
application: any;
|
|
42
|
+
instanced: boolean;
|
|
43
|
+
model: string;
|
|
44
|
+
stateValue: string;
|
|
45
|
+
config: DesktopWindowConfig;
|
|
46
|
+
override: Record<string, any>;
|
|
47
|
+
state: CoreWindowState;
|
|
48
|
+
meta: any;
|
|
49
|
+
title: string;
|
|
50
|
+
windowTitle: string;
|
|
51
|
+
icon: string | undefined;
|
|
52
|
+
size: WindowSize;
|
|
53
|
+
position: WindowPosition | undefined;
|
|
54
|
+
isMinimizable: boolean;
|
|
55
|
+
isMaximizable: boolean;
|
|
56
|
+
isMaximized: boolean;
|
|
57
|
+
isDestroyable: boolean;
|
|
58
|
+
isDraggable: boolean;
|
|
59
|
+
isResizable: boolean;
|
|
60
|
+
actions: IDesktopWindowActions;
|
|
61
|
+
menu: any[];
|
|
62
|
+
setMenu(menu: any[]): void;
|
|
63
|
+
dispose(): void;
|
|
64
|
+
destroy(): boolean;
|
|
65
|
+
startDrag(): void;
|
|
66
|
+
stopDrag(): void;
|
|
67
|
+
startResize(): void;
|
|
68
|
+
stopResize(): void;
|
|
69
|
+
}
|
|
70
|
+
export type VueWindowConfig = DesktopWindowConfig;
|
|
71
|
+
export type IVueWindowActions = IDesktopWindowActions;
|
|
72
|
+
export type IVueWindowController = IDesktopWindowController;
|
|
73
|
+
/** Desktop shell configuration, shared by inline options and desktop.config.ts. */
|
|
74
|
+
export interface DesktopConfig {
|
|
75
|
+
theme?: string;
|
|
76
|
+
apps?: string[];
|
|
77
|
+
modules?: string[];
|
|
78
|
+
coreVersion?: string;
|
|
79
|
+
/**
|
|
80
|
+
* Stable identity of this desktop distribution (e.g. `'atproto-os'`).
|
|
81
|
+
* Namespaces the persisted profile (AT Protocol record rkeys and local
|
|
82
|
+
* IndexedDB keys) so two different OWD products never share state.
|
|
83
|
+
*/
|
|
84
|
+
id?: string;
|
|
85
|
+
/** Directories a desktop distribution collects extensions from (see {@link DesktopExtensionDirs}). */
|
|
86
|
+
collect?: DesktopExtensionDirs;
|
|
87
|
+
[key: string]: any;
|
|
88
|
+
}
|
|
89
|
+
/** Extension kinds a desktop distribution can collect. */
|
|
90
|
+
export type DesktopExtensionKind = 'app' | 'module' | 'theme' | 'kit';
|
|
91
|
+
/** Framework adapters an OWD extension can target (framework-first naming). */
|
|
92
|
+
export type DesktopFramework = 'nuxt' | 'vue' | 'react' | 'svelte' | 'angular' | 'astro';
|
|
93
|
+
/**
|
|
94
|
+
* Directories a desktop distribution collects extensions from, relative to its root.
|
|
95
|
+
* Convention: one directory per extension kind. The monorepo keeps framework modules
|
|
96
|
+
* under `packages/`, so the `modules` slot lists both.
|
|
97
|
+
*/
|
|
98
|
+
export interface DesktopExtensionDirs {
|
|
99
|
+
apps: string[];
|
|
100
|
+
modules: string[];
|
|
101
|
+
themes: string[];
|
|
102
|
+
}
|
|
103
|
+
/**
|
|
104
|
+
* Minimal declarative contract for a desktop extension. Published extensions surface
|
|
105
|
+
* it through their Nuxt module `meta` (read at build time by `installDesktopPackage`),
|
|
106
|
+
* so any framework desktop can classify the package without hard-coding package lists.
|
|
107
|
+
*
|
|
108
|
+
* Package naming convention: `<framework>-<kind>-<name>` (e.g. `@owdproject/nuxt-app-todo`,
|
|
109
|
+
* `@owdproject/react-theme-win95`).
|
|
110
|
+
*/
|
|
111
|
+
export interface DesktopExtensionMeta {
|
|
112
|
+
/** Extension kind. */
|
|
113
|
+
kind: DesktopExtensionKind;
|
|
114
|
+
/** Framework the extension is built for. */
|
|
115
|
+
framework: DesktopFramework;
|
|
116
|
+
/** Full package name, e.g. `@owdproject/nuxt-app-todo`. */
|
|
117
|
+
packageName?: string;
|
|
118
|
+
/** Runtime namespace on `runtimeConfig.public.desktop[...]`. */
|
|
119
|
+
configKey?: string;
|
|
120
|
+
/** Build-time entry (Nuxt module). Defaults to the package root export. */
|
|
121
|
+
entry?: string;
|
|
122
|
+
/** Framework adapter required at runtime, e.g. `@owdproject/nuxt`. */
|
|
123
|
+
adapter?: string;
|
|
124
|
+
/** Exact identities of kits/modules already installed by the active Nuxt host; no version ranges. */
|
|
125
|
+
requires?: string[];
|
|
126
|
+
}
|
|
127
|
+
export interface IWindowController extends IDesktopWindowController {
|
|
128
|
+
readonly application: IApplicationController;
|
|
129
|
+
}
|
|
130
|
+
export type IWindowActions = IDesktopWindowActions;
|
|
131
|
+
export interface IApplicationController {
|
|
132
|
+
readonly id: string;
|
|
133
|
+
readonly config: import('@owdproject/core').ApplicationConfig;
|
|
134
|
+
readonly windows: Map<string, IWindowController>;
|
|
135
|
+
readonly windowsOpened: Map<string, IWindowController>;
|
|
136
|
+
readonly openWindowCount: ShallowRef<number>;
|
|
137
|
+
readonly storeWindows?: any;
|
|
138
|
+
readonly storeMeta?: any;
|
|
139
|
+
readonly pid: number | null;
|
|
140
|
+
readonly startedAt: number | null;
|
|
141
|
+
readonly stateValue: string;
|
|
142
|
+
readonly isRunning: boolean;
|
|
143
|
+
readonly isSuspended: boolean;
|
|
144
|
+
readonly isInitializing: boolean;
|
|
145
|
+
readonly isReady: boolean;
|
|
146
|
+
initApplication(): Promise<void>;
|
|
147
|
+
/** Restore saved windows without duplicating already-open controllers. */
|
|
148
|
+
restoreApplication(): Promise<boolean>;
|
|
149
|
+
openWindow(model: string, storedState?: import('@owdproject/core').WindowStoredState, meta?: Record<string, any>): IWindowController | undefined;
|
|
150
|
+
getFirstWindowByModel(model: string): IWindowController | undefined;
|
|
151
|
+
closeWindow(windowId: string): void;
|
|
152
|
+
closeAllWindows(): void;
|
|
153
|
+
focusWindow(win: IWindowController): void;
|
|
154
|
+
setRunning(value: boolean): void;
|
|
155
|
+
suspend(): void;
|
|
156
|
+
resume(): void;
|
|
157
|
+
sendSignal(signal: 'SIGTERM' | 'SIGKILL' | 'SIGSTOP' | 'SIGCONT'): void;
|
|
158
|
+
execCommand(command: string): Promise<import('@owdproject/core').CommandOutput | void>;
|
|
159
|
+
}
|
|
160
|
+
export interface DesktopSystemBarConfig {
|
|
161
|
+
enabled?: boolean;
|
|
162
|
+
position?: 'top' | 'bottom';
|
|
163
|
+
startButton?: boolean;
|
|
164
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@owdproject/core";
|
package/dist/types.d.mts
ADDED
package/package.json
CHANGED
|
@@ -1,6 +1,153 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@owdproject/nuxt",
|
|
3
|
-
"version": "
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "4.0.0-alpha.4",
|
|
4
|
+
"description": "Official Nuxt & Vue desktop engine for OpenWebDesktop",
|
|
5
|
+
"homepage": "https://github.com/owdproject/nuxt#readme",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "git+https://github.com/owdproject/nuxt.git"
|
|
9
|
+
},
|
|
10
|
+
"author": {
|
|
11
|
+
"name": "Diego Villa (@dxlliv)",
|
|
12
|
+
"url": "https://github.com/dxlliv"
|
|
13
|
+
},
|
|
14
|
+
"license": "MIT",
|
|
15
|
+
"type": "module",
|
|
16
|
+
"main": "./dist/module.mjs",
|
|
17
|
+
"module": "./dist/module.mjs",
|
|
18
|
+
"types": "./dist/types.d.mts",
|
|
19
|
+
"files": [
|
|
20
|
+
"dist",
|
|
21
|
+
"README.md"
|
|
22
|
+
],
|
|
23
|
+
"publishConfig": {
|
|
24
|
+
"access": "public",
|
|
25
|
+
"tag": "alpha",
|
|
26
|
+
"registry": "https://registry.npmjs.org/"
|
|
27
|
+
},
|
|
28
|
+
"exports": {
|
|
29
|
+
".": {
|
|
30
|
+
"types": "./dist/types.d.mts",
|
|
31
|
+
"import": "./dist/module.mjs",
|
|
32
|
+
"default": "./dist/module.mjs"
|
|
33
|
+
},
|
|
34
|
+
"./package.json": "./package.json",
|
|
35
|
+
"./kit": {
|
|
36
|
+
"types": "./dist/kit/authoring.d.ts",
|
|
37
|
+
"import": "./dist/kit/authoring.js",
|
|
38
|
+
"default": "./dist/kit/authoring.js"
|
|
39
|
+
},
|
|
40
|
+
"./kit/defineDesktopApp": {
|
|
41
|
+
"types": "./dist/kit/defineDesktopApp.d.ts",
|
|
42
|
+
"import": "./dist/kit/defineDesktopApp.js",
|
|
43
|
+
"default": "./dist/kit/defineDesktopApp.js"
|
|
44
|
+
},
|
|
45
|
+
"./kit/defineDesktopPlugin": {
|
|
46
|
+
"types": "./dist/kit/defineDesktopPlugin.d.ts",
|
|
47
|
+
"import": "./dist/kit/defineDesktopPlugin.js",
|
|
48
|
+
"default": "./dist/kit/defineDesktopPlugin.js"
|
|
49
|
+
},
|
|
50
|
+
"./kit/defineDesktopTheme": {
|
|
51
|
+
"types": "./dist/kit/authoring.d.ts",
|
|
52
|
+
"import": "./dist/kit/authoring.js",
|
|
53
|
+
"default": "./dist/kit/authoring.js"
|
|
54
|
+
},
|
|
55
|
+
"./kit/defineDesktopConfig": {
|
|
56
|
+
"types": "./dist/kit/authoring.d.ts",
|
|
57
|
+
"import": "./dist/kit/authoring.js",
|
|
58
|
+
"default": "./dist/kit/authoring.js"
|
|
59
|
+
},
|
|
60
|
+
"./kit/*": {
|
|
61
|
+
"types": "./dist/kit/*.d.ts",
|
|
62
|
+
"import": "./dist/kit/*.js",
|
|
63
|
+
"default": "./dist/kit/*.js"
|
|
64
|
+
},
|
|
65
|
+
"./runtime/composables/*": {
|
|
66
|
+
"types": "./dist/runtime/composables/*.d.ts",
|
|
67
|
+
"import": "./dist/runtime/composables/*.js",
|
|
68
|
+
"default": "./dist/runtime/composables/*.js"
|
|
69
|
+
},
|
|
70
|
+
"./runtime/constants/*": {
|
|
71
|
+
"types": "./dist/runtime/constants/*.d.ts",
|
|
72
|
+
"import": "./dist/runtime/constants/*.js",
|
|
73
|
+
"default": "./dist/runtime/constants/*.js"
|
|
74
|
+
},
|
|
75
|
+
"./runtime/dialogs/*": {
|
|
76
|
+
"types": "./dist/runtime/dialogs/*.d.ts",
|
|
77
|
+
"import": "./dist/runtime/dialogs/*.js",
|
|
78
|
+
"default": "./dist/runtime/dialogs/*.js"
|
|
79
|
+
},
|
|
80
|
+
"./runtime/utils/*": {
|
|
81
|
+
"types": "./dist/runtime/utils/*.d.ts",
|
|
82
|
+
"import": "./dist/runtime/utils/*.js",
|
|
83
|
+
"default": "./dist/runtime/utils/*.js"
|
|
84
|
+
},
|
|
85
|
+
"./runtime/stores/*": {
|
|
86
|
+
"types": "./dist/runtime/stores/*.d.ts",
|
|
87
|
+
"import": "./dist/runtime/stores/*.js",
|
|
88
|
+
"default": "./dist/runtime/stores/*.js"
|
|
89
|
+
},
|
|
90
|
+
"./runtime/components/*": {
|
|
91
|
+
"types": "./dist/runtime/components/*.vue.d.ts",
|
|
92
|
+
"import": "./dist/runtime/components/*.vue",
|
|
93
|
+
"default": "./dist/runtime/components/*.vue"
|
|
94
|
+
},
|
|
95
|
+
"./runtime/types/*": {
|
|
96
|
+
"types": "./dist/runtime/types/*.d.ts",
|
|
97
|
+
"import": "./dist/runtime/types/*.js",
|
|
98
|
+
"default": "./dist/runtime/types/*.js"
|
|
99
|
+
},
|
|
100
|
+
"./runtime/*": {
|
|
101
|
+
"types": "./dist/runtime/*.d.ts",
|
|
102
|
+
"import": "./dist/runtime/*.js",
|
|
103
|
+
"default": "./dist/runtime/*.js"
|
|
104
|
+
}
|
|
105
|
+
},
|
|
106
|
+
"typesVersions": {
|
|
107
|
+
"*": {
|
|
108
|
+
".": [
|
|
109
|
+
"./dist/types.d.mts"
|
|
110
|
+
]
|
|
111
|
+
}
|
|
112
|
+
},
|
|
113
|
+
"scripts": {
|
|
114
|
+
"build": "nuxt-module-build build && node ./scripts/post-build-pkg-nuxt.mjs",
|
|
115
|
+
"prepack": "nuxt-module-build build && node ./scripts/post-build-pkg-nuxt.mjs",
|
|
116
|
+
"test:persistence": "vitest run test/config.test.ts test/persistence-windows.test.ts"
|
|
117
|
+
},
|
|
118
|
+
"dependencies": {
|
|
119
|
+
"@nuxt/fonts": "^1.2.0",
|
|
120
|
+
"@nuxt/icon": "^2.6.1",
|
|
121
|
+
"@nuxt/kit": "^4.6.2",
|
|
122
|
+
"@nuxtjs/i18n": "^10.6.0",
|
|
123
|
+
"@owdproject/core": "^4.0.0-alpha.3",
|
|
124
|
+
"@pinia/nuxt": "^1.0.3",
|
|
125
|
+
"@vueuse/components": "^15.0.0",
|
|
126
|
+
"@vueuse/core": "^15.0.0",
|
|
127
|
+
"@vueuse/nuxt": "^15.0.0",
|
|
128
|
+
"defu": "^6.1.7",
|
|
129
|
+
"getopts": "^2.3.0",
|
|
130
|
+
"hookable": "^6.1.2",
|
|
131
|
+
"nanoid": "^6.0.2",
|
|
132
|
+
"pinia": "^4.1.0",
|
|
133
|
+
"sanitize.css": "^13.0.0",
|
|
134
|
+
"sass": "^1.106.1",
|
|
135
|
+
"shellwords": "^1.1.1",
|
|
136
|
+
"three": "^0.186.1",
|
|
137
|
+
"xstate": "^5.33.3"
|
|
138
|
+
},
|
|
139
|
+
"peerDependencies": {
|
|
140
|
+
"nuxt": ">=3.0.0 || >=4.0.0",
|
|
141
|
+
"vue": ">=3.3.0"
|
|
142
|
+
},
|
|
143
|
+
"peerDependenciesMeta": {
|
|
144
|
+
"nuxt": {
|
|
145
|
+
"optional": true
|
|
146
|
+
}
|
|
147
|
+
},
|
|
148
|
+
"devDependencies": {
|
|
149
|
+
"vitest": "^4.1.12",
|
|
150
|
+
"pinia-plugin-persistedstate-2": "^2.0.30",
|
|
151
|
+
"vue": "^3.5.44"
|
|
152
|
+
}
|
|
153
|
+
}
|