@owdproject/nuxt 0.0.0-stage → 4.0.0-alpha.3
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 +96 -0
- package/dist/kit/authoring.js +260 -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 +239 -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 +403 -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 +37 -0
- package/dist/runtime/internal/controllers/ApplicationController.js +434 -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 +20 -0
- package/dist/runtime/stores/storeApplicationWindows.d.ts +2 -0
- package/dist/runtime/stores/storeApplicationWindows.js +33 -0
- package/dist/runtime/stores/storeDesktop.d.ts +17 -0
- package/dist/runtime/stores/storeDesktop.js +16 -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 +91 -0
- package/dist/runtime/stores/storeNotification.d.ts +27 -0
- package/dist/runtime/stores/storeNotification.js +55 -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 +156 -0
- package/dist/types/index.js +1 -0
- package/dist/types.d.mts +2 -0
- package/package.json +145 -4
|
@@ -0,0 +1,156 @@
|
|
|
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
|
+
/** Directories a desktop distribution collects extensions from (see {@link DesktopExtensionDirs}). */
|
|
80
|
+
collect?: DesktopExtensionDirs;
|
|
81
|
+
[key: string]: any;
|
|
82
|
+
}
|
|
83
|
+
/** Extension kinds a desktop distribution can collect. */
|
|
84
|
+
export type DesktopExtensionKind = 'app' | 'module' | 'theme' | 'kit';
|
|
85
|
+
/** Framework adapters an OWD extension can target (framework-first naming). */
|
|
86
|
+
export type DesktopFramework = 'nuxt' | 'vue' | 'react' | 'svelte' | 'angular' | 'astro';
|
|
87
|
+
/**
|
|
88
|
+
* Directories a desktop distribution collects extensions from, relative to its root.
|
|
89
|
+
* Convention: one directory per extension kind. The monorepo keeps framework modules
|
|
90
|
+
* under `packages/`, so the `modules` slot lists both.
|
|
91
|
+
*/
|
|
92
|
+
export interface DesktopExtensionDirs {
|
|
93
|
+
apps: string[];
|
|
94
|
+
modules: string[];
|
|
95
|
+
themes: string[];
|
|
96
|
+
}
|
|
97
|
+
/**
|
|
98
|
+
* Minimal declarative contract for a desktop extension. Published extensions surface
|
|
99
|
+
* it through their Nuxt module `meta` (read at build time by `installDesktopPackage`),
|
|
100
|
+
* so any framework desktop can classify the package without hard-coding package lists.
|
|
101
|
+
*
|
|
102
|
+
* Package naming convention: `<framework>-<kind>-<name>` (e.g. `@owdproject/nuxt-app-todo`,
|
|
103
|
+
* `@owdproject/react-theme-win95`).
|
|
104
|
+
*/
|
|
105
|
+
export interface DesktopExtensionMeta {
|
|
106
|
+
/** Extension kind. */
|
|
107
|
+
kind: DesktopExtensionKind;
|
|
108
|
+
/** Framework the extension is built for. */
|
|
109
|
+
framework: DesktopFramework;
|
|
110
|
+
/** Full package name, e.g. `@owdproject/nuxt-app-todo`. */
|
|
111
|
+
packageName?: string;
|
|
112
|
+
/** Runtime namespace on `runtimeConfig.public.desktop[...]`. */
|
|
113
|
+
configKey?: string;
|
|
114
|
+
/** Build-time entry (Nuxt module). Defaults to the package root export. */
|
|
115
|
+
entry?: string;
|
|
116
|
+
/** Framework adapter required at runtime, e.g. `@owdproject/nuxt`. */
|
|
117
|
+
adapter?: string;
|
|
118
|
+
/** Kits/modules the extension expects the active theme or desktop to provide. */
|
|
119
|
+
requires?: string[];
|
|
120
|
+
}
|
|
121
|
+
export interface IWindowController extends IDesktopWindowController {
|
|
122
|
+
readonly application: IApplicationController;
|
|
123
|
+
}
|
|
124
|
+
export type IWindowActions = IDesktopWindowActions;
|
|
125
|
+
export interface IApplicationController {
|
|
126
|
+
readonly id: string;
|
|
127
|
+
readonly config: import('@owdproject/core').ApplicationConfig;
|
|
128
|
+
readonly windows: Map<string, IWindowController>;
|
|
129
|
+
readonly windowsOpened: Map<string, IWindowController>;
|
|
130
|
+
readonly openWindowCount: ShallowRef<number>;
|
|
131
|
+
readonly storeWindows?: any;
|
|
132
|
+
readonly storeMeta?: any;
|
|
133
|
+
readonly pid: number | null;
|
|
134
|
+
readonly startedAt: number | null;
|
|
135
|
+
readonly stateValue: string;
|
|
136
|
+
readonly isRunning: boolean;
|
|
137
|
+
readonly isSuspended: boolean;
|
|
138
|
+
readonly isInitializing: boolean;
|
|
139
|
+
readonly isReady: boolean;
|
|
140
|
+
initApplication(): Promise<void>;
|
|
141
|
+
openWindow(model: string, storedState?: import('@owdproject/core').WindowStoredState, meta?: Record<string, any>): IWindowController | undefined;
|
|
142
|
+
getFirstWindowByModel(model: string): IWindowController | undefined;
|
|
143
|
+
closeWindow(windowId: string): void;
|
|
144
|
+
closeAllWindows(): void;
|
|
145
|
+
focusWindow(win: IWindowController): void;
|
|
146
|
+
setRunning(value: boolean): void;
|
|
147
|
+
suspend(): void;
|
|
148
|
+
resume(): void;
|
|
149
|
+
sendSignal(signal: 'SIGTERM' | 'SIGKILL' | 'SIGSTOP' | 'SIGCONT'): void;
|
|
150
|
+
execCommand(command: string): Promise<import('@owdproject/core').CommandOutput | void>;
|
|
151
|
+
}
|
|
152
|
+
export interface DesktopSystemBarConfig {
|
|
153
|
+
enabled?: boolean;
|
|
154
|
+
position?: 'top' | 'bottom';
|
|
155
|
+
startButton?: boolean;
|
|
156
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@owdproject/core";
|
package/dist/types.d.mts
ADDED
package/package.json
CHANGED
|
@@ -1,6 +1,147 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@owdproject/nuxt",
|
|
3
|
-
"version": "
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "4.0.0-alpha.3",
|
|
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
|
+
},
|
|
117
|
+
"dependencies": {
|
|
118
|
+
"@nuxt/fonts": "^1.2.0",
|
|
119
|
+
"@nuxt/icon": "^2.6.1",
|
|
120
|
+
"@nuxt/kit": "^4.6.2",
|
|
121
|
+
"@nuxtjs/i18n": "^10.6.0",
|
|
122
|
+
"@owdproject/core": "^4.0.0-alpha.3",
|
|
123
|
+
"@pinia/nuxt": "^1.0.3",
|
|
124
|
+
"@vueuse/components": "^15.0.0",
|
|
125
|
+
"@vueuse/core": "^15.0.0",
|
|
126
|
+
"@vueuse/nuxt": "^15.0.0",
|
|
127
|
+
"defu": "^6.1.7",
|
|
128
|
+
"getopts": "^2.3.0",
|
|
129
|
+
"hookable": "^6.1.2",
|
|
130
|
+
"nanoid": "^6.0.2",
|
|
131
|
+
"pinia": "^4.1.0",
|
|
132
|
+
"sanitize.css": "^13.0.0",
|
|
133
|
+
"sass": "^1.106.1",
|
|
134
|
+
"shellwords": "^1.1.1",
|
|
135
|
+
"three": "^0.186.1",
|
|
136
|
+
"xstate": "^5.33.3"
|
|
137
|
+
},
|
|
138
|
+
"peerDependencies": {
|
|
139
|
+
"nuxt": ">=3.0.0 || >=4.0.0",
|
|
140
|
+
"vue": ">=3.3.0"
|
|
141
|
+
},
|
|
142
|
+
"peerDependenciesMeta": {
|
|
143
|
+
"nuxt": {
|
|
144
|
+
"optional": true
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
}
|