@uniformdev/canvas-vue 18.6.0 → 18.7.0
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/index.d.ts +9 -10
- package/dist/index.esm.js +3 -0
- package/dist/index.js +3 -0
- package/dist/index.mjs +3 -0
- package/package.json +4 -4
package/dist/index.d.ts
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import * as vue_demi from 'vue-demi';
|
|
2
2
|
import { PropType, ConcreteComponent, Ref } from 'vue-demi';
|
|
3
|
-
import * as _uniformdev_canvas from '@uniformdev/canvas';
|
|
4
3
|
import { ComponentInstance, ComponentParameter, RootComponentInstance, UpdateCompositionMessage, SubscribeToCompositionOptions } from '@uniformdev/canvas';
|
|
5
4
|
export { createUniformApiEnhancer } from '@uniformdev/canvas';
|
|
6
|
-
import * as
|
|
5
|
+
import * as _uniformdev_canvas_dist_createEventBus_60ff8dc4 from '@uniformdev/canvas/dist/createEventBus-60ff8dc4';
|
|
7
6
|
|
|
8
7
|
type DefaultNotImplementedComponentProps = {
|
|
9
8
|
component: ComponentInstance;
|
|
@@ -519,7 +518,7 @@ declare const useUniformCurrentComposition: () => UniformCurrentComposition;
|
|
|
519
518
|
*/
|
|
520
519
|
declare const UniformComposition: vue_demi.DefineComponent<{
|
|
521
520
|
data: {
|
|
522
|
-
type: PropType<((
|
|
521
|
+
type: PropType<((_uniformdev_canvas_dist_createEventBus_60ff8dc4.p | {
|
|
523
522
|
type: string;
|
|
524
523
|
parameters?: {
|
|
525
524
|
[key: string]: {
|
|
@@ -673,7 +672,7 @@ declare const UniformComposition: vue_demi.DefineComponent<{
|
|
|
673
672
|
default: string;
|
|
674
673
|
};
|
|
675
674
|
contextualEditingEnhancer: {
|
|
676
|
-
type: PropType<((compositionUpdateMessage:
|
|
675
|
+
type: PropType<((compositionUpdateMessage: _uniformdev_canvas_dist_createEventBus_60ff8dc4.U) => {
|
|
677
676
|
type: string;
|
|
678
677
|
parameters?: {
|
|
679
678
|
[key: string]: {
|
|
@@ -823,7 +822,7 @@ declare const UniformComposition: vue_demi.DefineComponent<{
|
|
|
823
822
|
[key: string]: any;
|
|
824
823
|
}>, unknown, {}, {}, vue_demi.ComponentOptionsMixin, vue_demi.ComponentOptionsMixin, {}, string, vue_demi.VNodeProps & vue_demi.AllowedComponentProps & vue_demi.ComponentCustomProps, Readonly<vue_demi.ExtractPropTypes<{
|
|
825
824
|
data: {
|
|
826
|
-
type: PropType<((
|
|
825
|
+
type: PropType<((_uniformdev_canvas_dist_createEventBus_60ff8dc4.p | {
|
|
827
826
|
type: string;
|
|
828
827
|
parameters?: {
|
|
829
828
|
[key: string]: {
|
|
@@ -977,7 +976,7 @@ declare const UniformComposition: vue_demi.DefineComponent<{
|
|
|
977
976
|
default: string;
|
|
978
977
|
};
|
|
979
978
|
contextualEditingEnhancer: {
|
|
980
|
-
type: PropType<((compositionUpdateMessage:
|
|
979
|
+
type: PropType<((compositionUpdateMessage: _uniformdev_canvas_dist_createEventBus_60ff8dc4.U) => {
|
|
981
980
|
type: string;
|
|
982
981
|
parameters?: {
|
|
983
982
|
[key: string]: {
|
|
@@ -1129,7 +1128,7 @@ declare const UniformComposition: vue_demi.DefineComponent<{
|
|
|
1129
1128
|
/** @deprecated use `UniformComposition` instead */
|
|
1130
1129
|
declare const Composition: vue_demi.DefineComponent<{
|
|
1131
1130
|
data: {
|
|
1132
|
-
type: PropType<((
|
|
1131
|
+
type: PropType<((_uniformdev_canvas_dist_createEventBus_60ff8dc4.p | {
|
|
1133
1132
|
type: string;
|
|
1134
1133
|
parameters?: {
|
|
1135
1134
|
[key: string]: {
|
|
@@ -1283,7 +1282,7 @@ declare const Composition: vue_demi.DefineComponent<{
|
|
|
1283
1282
|
default: string;
|
|
1284
1283
|
};
|
|
1285
1284
|
contextualEditingEnhancer: {
|
|
1286
|
-
type: PropType<((compositionUpdateMessage:
|
|
1285
|
+
type: PropType<((compositionUpdateMessage: _uniformdev_canvas_dist_createEventBus_60ff8dc4.U) => {
|
|
1287
1286
|
type: string;
|
|
1288
1287
|
parameters?: {
|
|
1289
1288
|
[key: string]: {
|
|
@@ -1433,7 +1432,7 @@ declare const Composition: vue_demi.DefineComponent<{
|
|
|
1433
1432
|
[key: string]: any;
|
|
1434
1433
|
}>, unknown, {}, {}, vue_demi.ComponentOptionsMixin, vue_demi.ComponentOptionsMixin, {}, string, vue_demi.VNodeProps & vue_demi.AllowedComponentProps & vue_demi.ComponentCustomProps, Readonly<vue_demi.ExtractPropTypes<{
|
|
1435
1434
|
data: {
|
|
1436
|
-
type: PropType<((
|
|
1435
|
+
type: PropType<((_uniformdev_canvas_dist_createEventBus_60ff8dc4.p | {
|
|
1437
1436
|
type: string;
|
|
1438
1437
|
parameters?: {
|
|
1439
1438
|
[key: string]: {
|
|
@@ -1587,7 +1586,7 @@ declare const Composition: vue_demi.DefineComponent<{
|
|
|
1587
1586
|
default: string;
|
|
1588
1587
|
};
|
|
1589
1588
|
contextualEditingEnhancer: {
|
|
1590
|
-
type: PropType<((compositionUpdateMessage:
|
|
1589
|
+
type: PropType<((compositionUpdateMessage: _uniformdev_canvas_dist_createEventBus_60ff8dc4.U) => {
|
|
1591
1590
|
type: string;
|
|
1592
1591
|
parameters?: {
|
|
1593
1592
|
[key: string]: {
|
package/dist/index.esm.js
CHANGED
|
@@ -215,6 +215,9 @@ var useUniformContextualEditing = ({
|
|
|
215
215
|
if (existingScript) {
|
|
216
216
|
return;
|
|
217
217
|
}
|
|
218
|
+
window.__UNIFORM_CONTEXTUAL_EDITING__ = {
|
|
219
|
+
framework: "Vue"
|
|
220
|
+
};
|
|
218
221
|
const script = document.createElement("script");
|
|
219
222
|
script.id = IN_CONTEXT_EDITOR_EMBED_SCRIPT_ID;
|
|
220
223
|
script.src = getCanvasInContextEmbedScriptUrl();
|
package/dist/index.js
CHANGED
|
@@ -234,6 +234,9 @@ var useUniformContextualEditing = ({
|
|
|
234
234
|
if (existingScript) {
|
|
235
235
|
return;
|
|
236
236
|
}
|
|
237
|
+
window.__UNIFORM_CONTEXTUAL_EDITING__ = {
|
|
238
|
+
framework: "Vue"
|
|
239
|
+
};
|
|
237
240
|
const script = document.createElement("script");
|
|
238
241
|
script.id = import_canvas3.IN_CONTEXT_EDITOR_EMBED_SCRIPT_ID;
|
|
239
242
|
script.src = getCanvasInContextEmbedScriptUrl();
|
package/dist/index.mjs
CHANGED
|
@@ -215,6 +215,9 @@ var useUniformContextualEditing = ({
|
|
|
215
215
|
if (existingScript) {
|
|
216
216
|
return;
|
|
217
217
|
}
|
|
218
|
+
window.__UNIFORM_CONTEXTUAL_EDITING__ = {
|
|
219
|
+
framework: "Vue"
|
|
220
|
+
};
|
|
218
221
|
const script = document.createElement("script");
|
|
219
222
|
script.id = IN_CONTEXT_EDITOR_EMBED_SCRIPT_ID;
|
|
220
223
|
script.src = getCanvasInContextEmbedScriptUrl();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uniformdev/canvas-vue",
|
|
3
|
-
"version": "18.
|
|
3
|
+
"version": "18.7.0",
|
|
4
4
|
"description": "Vue SDK for Uniform Canvas",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"format": "prettier --write \"src/**/*.{js,ts,tsx}\""
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@uniformdev/canvas": "18.
|
|
25
|
+
"@uniformdev/canvas": "18.7.0",
|
|
26
26
|
"@vue/test-utils": "2.2.8",
|
|
27
27
|
"vue-demi": "^0.13.11"
|
|
28
28
|
},
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@testing-library/vue": "6.6.1",
|
|
41
41
|
"@types/uuid": "9.0.0",
|
|
42
|
-
"@uniformdev/context-vue": "18.
|
|
42
|
+
"@uniformdev/context-vue": "18.7.0",
|
|
43
43
|
"@vue/server-test-utils": "1.3.0",
|
|
44
44
|
"vue": "3.2.45",
|
|
45
45
|
"vue-server-renderer": "2.7.14",
|
|
@@ -62,5 +62,5 @@
|
|
|
62
62
|
"last 2 versions",
|
|
63
63
|
"not dead"
|
|
64
64
|
],
|
|
65
|
-
"gitHead": "
|
|
65
|
+
"gitHead": "eaf3d0e5c1c124d6b449a2f2b16b327d6f3d3666"
|
|
66
66
|
}
|