@uniformdev/canvas-vue 19.54.3-alpha.5 → 19.56.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.esm.js CHANGED
@@ -268,7 +268,7 @@ import {
268
268
  CANVAS_LOCALE_TAG_PARAM,
269
269
  IN_CONTEXT_EDITOR_COMPONENT_END_ROLE,
270
270
  IN_CONTEXT_EDITOR_COMPONENT_START_ROLE,
271
- PLACEHOLDER_ID
271
+ isComponentPlaceholderId
272
272
  } from "@uniformdev/canvas";
273
273
  import { defineComponent as defineComponent3, h as h3 } from "vue-demi";
274
274
  var ContextualEditingComponentWrapper = defineComponent3({
@@ -294,7 +294,7 @@ var ContextualEditingComponentWrapper = defineComponent3({
294
294
  setup(props, context) {
295
295
  var _a;
296
296
  const { isContextualEditing } = useUniformCurrentComposition();
297
- const isPlaceholder = ((_a = props.component) == null ? void 0 : _a._id) === PLACEHOLDER_ID;
297
+ const isPlaceholder = isComponentPlaceholderId((_a = props.component) == null ? void 0 : _a._id);
298
298
  const component = props.component;
299
299
  return () => {
300
300
  var _a2, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l;
package/dist/index.js CHANGED
@@ -315,7 +315,7 @@ var ContextualEditingComponentWrapper = (0, import_vue_demi4.defineComponent)({
315
315
  setup(props, context) {
316
316
  var _a;
317
317
  const { isContextualEditing } = useUniformCurrentComposition();
318
- const isPlaceholder = ((_a = props.component) == null ? void 0 : _a._id) === import_canvas4.PLACEHOLDER_ID;
318
+ const isPlaceholder = (0, import_canvas4.isComponentPlaceholderId)((_a = props.component) == null ? void 0 : _a._id);
319
319
  const component = props.component;
320
320
  return () => {
321
321
  var _a2, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l;
package/dist/index.mjs CHANGED
@@ -268,7 +268,7 @@ import {
268
268
  CANVAS_LOCALE_TAG_PARAM,
269
269
  IN_CONTEXT_EDITOR_COMPONENT_END_ROLE,
270
270
  IN_CONTEXT_EDITOR_COMPONENT_START_ROLE,
271
- PLACEHOLDER_ID
271
+ isComponentPlaceholderId
272
272
  } from "@uniformdev/canvas";
273
273
  import { defineComponent as defineComponent3, h as h3 } from "vue-demi";
274
274
  var ContextualEditingComponentWrapper = defineComponent3({
@@ -294,7 +294,7 @@ var ContextualEditingComponentWrapper = defineComponent3({
294
294
  setup(props, context) {
295
295
  var _a;
296
296
  const { isContextualEditing } = useUniformCurrentComposition();
297
- const isPlaceholder = ((_a = props.component) == null ? void 0 : _a._id) === PLACEHOLDER_ID;
297
+ const isPlaceholder = isComponentPlaceholderId((_a = props.component) == null ? void 0 : _a._id);
298
298
  const component = props.component;
299
299
  return () => {
300
300
  var _a2, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l;
package/package.json CHANGED
@@ -1,11 +1,15 @@
1
1
  {
2
2
  "name": "@uniformdev/canvas-vue",
3
- "version": "19.54.3-alpha.5+014bd6280",
3
+ "version": "19.56.0",
4
4
  "description": "Vue SDK for Uniform Canvas",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
+ "main": "./dist/index.js",
7
+ "module": "./dist/index.esm.js",
6
8
  "exports": {
7
- "import": "./dist/index.esm.js",
8
- "require": "./dist/index.js"
9
+ ".": {
10
+ "import": "./dist/index.esm.js",
11
+ "require": "./dist/index.js"
12
+ }
9
13
  },
10
14
  "types": "./dist/index.d.ts",
11
15
  "sideEffects": false,
@@ -19,9 +23,9 @@
19
23
  "document": "api-extractor run --local"
20
24
  },
21
25
  "dependencies": {
22
- "@uniformdev/canvas": "19.54.3-alpha.5+014bd6280",
23
- "@uniformdev/context-vue": "19.54.3-alpha.5+014bd6280",
24
- "@uniformdev/richtext": "19.54.3-alpha.5+014bd6280",
26
+ "@uniformdev/canvas": "19.56.0",
27
+ "@uniformdev/context-vue": "19.56.0",
28
+ "@uniformdev/richtext": "19.56.0",
25
29
  "vue-demi": "^0.14.0"
26
30
  },
27
31
  "peerDependencies": {
@@ -55,5 +59,5 @@
55
59
  "publishConfig": {
56
60
  "access": "public"
57
61
  },
58
- "gitHead": "014bd628043639e39e853dfdc2a7f1d2da340854"
62
+ "gitHead": "56938585920b817df15d278b46cbb3bd56f18790"
59
63
  }