@tailor-cms/ce-brightcove-video-edit 2.0.0 → 2.0.1

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.cjs CHANGED
@@ -2184,6 +2184,10 @@ var TopToolbar_default = /* @__PURE__ */ (0, vue.defineComponent)({
2184
2184
  form.value?.resetValidation();
2185
2185
  isEditing.value = false;
2186
2186
  };
2187
+ (0, vue.watch)(() => props.element.data, (data) => {
2188
+ if (isEditing.value) return;
2189
+ Object.assign(elementData, cloneDeep(data));
2190
+ });
2187
2191
  return (_ctx, _cache) => {
2188
2192
  const _component_VTextField = (0, vue.resolveComponent)("VTextField");
2189
2193
  const _component_VBtn = (0, vue.resolveComponent)("VBtn");
package/dist/index.js CHANGED
@@ -2180,6 +2180,10 @@ var TopToolbar_default = /* @__PURE__ */ defineComponent({
2180
2180
  form.value?.resetValidation();
2181
2181
  isEditing.value = false;
2182
2182
  };
2183
+ watch(() => props.element.data, (data) => {
2184
+ if (isEditing.value) return;
2185
+ Object.assign(elementData, cloneDeep(data));
2186
+ });
2183
2187
  return (_ctx, _cache) => {
2184
2188
  const _component_VTextField = resolveComponent("VTextField");
2185
2189
  const _component_VBtn = resolveComponent("VBtn");
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "Tailor CMS Brightcove video authoring component",
4
4
  "author": "Studion <info@gostudion.com> (https://github.com/tailor-cms)",
5
5
  "type": "module",
6
- "version": "2.0.0",
6
+ "version": "2.0.1",
7
7
  "exports": {
8
8
  ".": {
9
9
  "import": "./dist/index.js",
@@ -27,7 +27,7 @@
27
27
  "vite-plugin-lib-inject-css": "^2.2.2",
28
28
  "vue-tsc": "^3.2.7",
29
29
  "vuetify": "^4.0.6",
30
- "@tailor-cms/ce-brightcove-video-manifest": "2.0.0"
30
+ "@tailor-cms/ce-brightcove-video-manifest": "2.0.1"
31
31
  },
32
32
  "dependencies": {
33
33
  "@tailor-cms/cek-common": "2.0.1",