artifactuse 0.2.3 → 0.2.5
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/README.md +5 -1
- package/dist/core/index.d.ts +1 -14
- package/dist/{index-B4BEvWtI.js → index-W575iBkm.js} +1106 -1106
- package/dist/index.js +1 -1
- package/dist/react/ArtifactusePanel.d.ts +2 -1
- package/dist/react/index.js +816 -802
- package/dist/svelte/index.d.ts +6 -84
- package/dist/svelte/index.js +1751 -1730
- package/dist/vue/index.d.ts +4 -56
- package/dist/vue/index.js +692 -666
- package/dist/vue2/composables.d.ts +4 -56
- package/dist/vue2/index.js +250 -137
- package/package.json +1 -1
package/dist/vue/index.d.ts
CHANGED
|
@@ -83,20 +83,7 @@ export function provideArtifactuse(config?: {
|
|
|
83
83
|
};
|
|
84
84
|
initializeContent: (container?: Document) => Promise<void>;
|
|
85
85
|
openArtifact: (artifact: any) => void;
|
|
86
|
-
openFile: (filename: any, code: any, options?: {}) =>
|
|
87
|
-
id: string;
|
|
88
|
-
messageId: string;
|
|
89
|
-
type: string;
|
|
90
|
-
language: string;
|
|
91
|
-
title: any;
|
|
92
|
-
code: string;
|
|
93
|
-
isInline: boolean;
|
|
94
|
-
isPreviewable: boolean;
|
|
95
|
-
isPanelArtifact: boolean;
|
|
96
|
-
size: number;
|
|
97
|
-
lineCount: number;
|
|
98
|
-
createdAt: string;
|
|
99
|
-
};
|
|
86
|
+
openFile: (filename: any, code: any, options?: {}) => any;
|
|
100
87
|
openCode: (code: any, language: any, options?: {}) => {
|
|
101
88
|
id: string;
|
|
102
89
|
messageId: string;
|
|
@@ -207,20 +194,7 @@ export function provideArtifactuse(config?: {
|
|
|
207
194
|
};
|
|
208
195
|
initializeContent: (container?: Document) => Promise<void>;
|
|
209
196
|
openArtifact: (artifact: any) => void;
|
|
210
|
-
openFile: (filename: any, code: any, options?: {}) =>
|
|
211
|
-
id: string;
|
|
212
|
-
messageId: string;
|
|
213
|
-
type: string;
|
|
214
|
-
language: string;
|
|
215
|
-
title: any;
|
|
216
|
-
code: string;
|
|
217
|
-
isInline: boolean;
|
|
218
|
-
isPreviewable: boolean;
|
|
219
|
-
isPanelArtifact: boolean;
|
|
220
|
-
size: number;
|
|
221
|
-
lineCount: number;
|
|
222
|
-
createdAt: string;
|
|
223
|
-
};
|
|
197
|
+
openFile: (filename: any, code: any, options?: {}) => any;
|
|
224
198
|
openCode: (code: any, language: any, options?: {}) => {
|
|
225
199
|
id: string;
|
|
226
200
|
messageId: string;
|
|
@@ -317,20 +291,7 @@ export function createArtifactuseComposable(config?: {}): {
|
|
|
317
291
|
};
|
|
318
292
|
initializeContent: (container?: Document) => Promise<void>;
|
|
319
293
|
openArtifact: (artifact: any) => void;
|
|
320
|
-
openFile: (filename: any, code: any, options?: {}) =>
|
|
321
|
-
id: string;
|
|
322
|
-
messageId: string;
|
|
323
|
-
type: string;
|
|
324
|
-
language: string;
|
|
325
|
-
title: any;
|
|
326
|
-
code: string;
|
|
327
|
-
isInline: boolean;
|
|
328
|
-
isPreviewable: boolean;
|
|
329
|
-
isPanelArtifact: boolean;
|
|
330
|
-
size: number;
|
|
331
|
-
lineCount: number;
|
|
332
|
-
createdAt: string;
|
|
333
|
-
};
|
|
294
|
+
openFile: (filename: any, code: any, options?: {}) => any;
|
|
334
295
|
openCode: (code: any, language: any, options?: {}) => {
|
|
335
296
|
id: string;
|
|
336
297
|
messageId: string;
|
|
@@ -441,20 +402,7 @@ export function createArtifactuseComposable(config?: {}): {
|
|
|
441
402
|
};
|
|
442
403
|
initializeContent: (container?: Document) => Promise<void>;
|
|
443
404
|
openArtifact: (artifact: any) => void;
|
|
444
|
-
openFile: (filename: any, code: any, options?: {}) =>
|
|
445
|
-
id: string;
|
|
446
|
-
messageId: string;
|
|
447
|
-
type: string;
|
|
448
|
-
language: string;
|
|
449
|
-
title: any;
|
|
450
|
-
code: string;
|
|
451
|
-
isInline: boolean;
|
|
452
|
-
isPreviewable: boolean;
|
|
453
|
-
isPanelArtifact: boolean;
|
|
454
|
-
size: number;
|
|
455
|
-
lineCount: number;
|
|
456
|
-
createdAt: string;
|
|
457
|
-
};
|
|
405
|
+
openFile: (filename: any, code: any, options?: {}) => any;
|
|
458
406
|
openCode: (code: any, language: any, options?: {}) => {
|
|
459
407
|
id: string;
|
|
460
408
|
messageId: string;
|