artifactuse 0.2.2 → 0.2.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/README.md +1 -0
- package/dist/core/index.d.ts +4 -0
- package/dist/core/state.d.ts +2 -0
- package/dist/{index-INYOxlcg.js → index-B4BEvWtI.js} +520 -504
- package/dist/index.js +1 -1
- package/dist/react/index.js +392 -389
- package/dist/svelte/index.d.ts +15 -0
- package/dist/svelte/index.js +1436 -1415
- package/dist/vue/index.d.ts +12 -0
- package/dist/vue/index.js +1143 -1129
- package/dist/vue2/composables.d.ts +12 -0
- package/dist/vue2/index.js +118 -29
- package/package.json +1 -1
package/dist/vue/index.d.ts
CHANGED
|
@@ -42,6 +42,7 @@ export function provideArtifactuse(config?: {
|
|
|
42
42
|
isFullscreen: boolean;
|
|
43
43
|
openTabs: any[];
|
|
44
44
|
tabViewModes: {};
|
|
45
|
+
forceEmptyView: boolean;
|
|
45
46
|
};
|
|
46
47
|
subscribe: (callback: any) => () => void;
|
|
47
48
|
addArtifact: (artifact: any) => void;
|
|
@@ -57,6 +58,7 @@ export function provideArtifactuse(config?: {
|
|
|
57
58
|
setPanelOpen: (isOpen: any) => void;
|
|
58
59
|
setViewMode: (mode: any) => void;
|
|
59
60
|
setFullscreen: (isFullscreen: any) => void;
|
|
61
|
+
setForceEmptyView: (value: any) => void;
|
|
60
62
|
openTab: (artifactId: any) => void;
|
|
61
63
|
closeTab: (artifactId: any) => void;
|
|
62
64
|
closeOtherTabs: (keepArtifactId: any) => void;
|
|
@@ -72,6 +74,7 @@ export function provideArtifactuse(config?: {
|
|
|
72
74
|
isFullscreen: boolean;
|
|
73
75
|
openTabs: any[];
|
|
74
76
|
tabViewModes: {};
|
|
77
|
+
forceEmptyView: boolean;
|
|
75
78
|
};
|
|
76
79
|
subscribe: (callback: any) => () => void;
|
|
77
80
|
processMessage: (content: any, messageId: any, overrides?: {}) => {
|
|
@@ -109,6 +112,7 @@ export function provideArtifactuse(config?: {
|
|
|
109
112
|
createdAt: string;
|
|
110
113
|
};
|
|
111
114
|
updateFile: (artifactOrId: any, code: any, options?: {}) => any;
|
|
115
|
+
openPanel: () => void;
|
|
112
116
|
closePanel: () => void;
|
|
113
117
|
togglePanel: () => void;
|
|
114
118
|
toggleFullscreen: () => void;
|
|
@@ -190,6 +194,7 @@ export function provideArtifactuse(config?: {
|
|
|
190
194
|
isFullscreen: boolean;
|
|
191
195
|
openTabs: any[];
|
|
192
196
|
tabViewModes: {};
|
|
197
|
+
forceEmptyView: boolean;
|
|
193
198
|
};
|
|
194
199
|
activeArtifact: import("vue").ComputedRef<any>;
|
|
195
200
|
artifactCount: import("vue").ComputedRef<number>;
|
|
@@ -231,6 +236,7 @@ export function provideArtifactuse(config?: {
|
|
|
231
236
|
createdAt: string;
|
|
232
237
|
};
|
|
233
238
|
updateFile: (artifactOrId: any, code: any, options?: {}) => any;
|
|
239
|
+
openPanel: () => void;
|
|
234
240
|
closePanel: () => void;
|
|
235
241
|
togglePanel: () => void;
|
|
236
242
|
toggleFullscreen: () => void;
|
|
@@ -270,6 +276,7 @@ export function createArtifactuseComposable(config?: {}): {
|
|
|
270
276
|
isFullscreen: boolean;
|
|
271
277
|
openTabs: any[];
|
|
272
278
|
tabViewModes: {};
|
|
279
|
+
forceEmptyView: boolean;
|
|
273
280
|
};
|
|
274
281
|
subscribe: (callback: any) => () => void;
|
|
275
282
|
addArtifact: (artifact: any) => void;
|
|
@@ -285,6 +292,7 @@ export function createArtifactuseComposable(config?: {}): {
|
|
|
285
292
|
setPanelOpen: (isOpen: any) => void;
|
|
286
293
|
setViewMode: (mode: any) => void;
|
|
287
294
|
setFullscreen: (isFullscreen: any) => void;
|
|
295
|
+
setForceEmptyView: (value: any) => void;
|
|
288
296
|
openTab: (artifactId: any) => void;
|
|
289
297
|
closeTab: (artifactId: any) => void;
|
|
290
298
|
closeOtherTabs: (keepArtifactId: any) => void;
|
|
@@ -300,6 +308,7 @@ export function createArtifactuseComposable(config?: {}): {
|
|
|
300
308
|
isFullscreen: boolean;
|
|
301
309
|
openTabs: any[];
|
|
302
310
|
tabViewModes: {};
|
|
311
|
+
forceEmptyView: boolean;
|
|
303
312
|
};
|
|
304
313
|
subscribe: (callback: any) => () => void;
|
|
305
314
|
processMessage: (content: any, messageId: any, overrides?: {}) => {
|
|
@@ -337,6 +346,7 @@ export function createArtifactuseComposable(config?: {}): {
|
|
|
337
346
|
createdAt: string;
|
|
338
347
|
};
|
|
339
348
|
updateFile: (artifactOrId: any, code: any, options?: {}) => any;
|
|
349
|
+
openPanel: () => void;
|
|
340
350
|
closePanel: () => void;
|
|
341
351
|
togglePanel: () => void;
|
|
342
352
|
toggleFullscreen: () => void;
|
|
@@ -418,6 +428,7 @@ export function createArtifactuseComposable(config?: {}): {
|
|
|
418
428
|
isFullscreen: boolean;
|
|
419
429
|
openTabs: any[];
|
|
420
430
|
tabViewModes: {};
|
|
431
|
+
forceEmptyView: boolean;
|
|
421
432
|
};
|
|
422
433
|
activeArtifact: import("vue").ComputedRef<any>;
|
|
423
434
|
artifactCount: import("vue").ComputedRef<number>;
|
|
@@ -459,6 +470,7 @@ export function createArtifactuseComposable(config?: {}): {
|
|
|
459
470
|
createdAt: string;
|
|
460
471
|
};
|
|
461
472
|
updateFile: (artifactOrId: any, code: any, options?: {}) => any;
|
|
473
|
+
openPanel: () => void;
|
|
462
474
|
closePanel: () => void;
|
|
463
475
|
togglePanel: () => void;
|
|
464
476
|
toggleFullscreen: () => void;
|