@mochabug/adapt-vue 1.0.1-rc.21 → 1.0.1-rc.23

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.
@@ -145,6 +145,7 @@ export const AdaptAutomation = defineComponent({
145
145
  el.onErrorCallback = (error) => {
146
146
  emit("error", error);
147
147
  };
148
+ el.initialize();
148
149
  };
149
150
  watchEffect(() => {
150
151
  syncProperties();
@@ -173,6 +174,13 @@ export const AdaptAutomation = defineComponent({
173
174
  "floating-auto-resize": props.floatingAutoResize ? "" : undefined,
174
175
  persist: props.persist ? true : undefined,
175
176
  debug: props.debug ? "" : undefined,
177
+ "data-adapt-signals": props.signals ? JSON.stringify(props.signals) : undefined,
178
+ "data-adapt-cap-widget-options": props.capWidgetOptions ? JSON.stringify(props.capWidgetOptions) : undefined,
179
+ "data-adapt-inherit-from": props.inheritFrom ? JSON.stringify(props.inheritFrom) : undefined,
180
+ "data-adapt-class-names": props.classNames ? JSON.stringify(props.classNames) : undefined,
181
+ "data-adapt-persist-options": typeof props.persist === "object" ? JSON.stringify(props.persist) : undefined,
182
+ "data-adapt-text": props.text ? JSON.stringify(props.text) : undefined,
183
+ "data-adapt-theme": props.theme ? JSON.stringify(props.theme) : undefined,
176
184
  ...attrs,
177
185
  });
178
186
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mochabug/adapt-vue",
3
- "version": "1.0.1-rc.21",
3
+ "version": "1.0.1-rc.23",
4
4
  "description": "Vue component for Adapt automation platform",
5
5
  "type": "module",
6
6
  "main": "./dist/esm/index.js",
@@ -44,6 +44,6 @@
44
44
  "vue": "^3.5.30"
45
45
  },
46
46
  "dependencies": {
47
- "@mochabug/adapt-web": "^1.0.1-rc.21"
47
+ "@mochabug/adapt-web": "^1.0.1-rc.23"
48
48
  }
49
49
  }