@mochabug/adapt-vue 1.0.0-rc34 → 1.0.0-rc36

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/esm/index.js CHANGED
@@ -78,6 +78,10 @@ export const Adapt = defineComponent({
78
78
  type: [Boolean, Object],
79
79
  default: undefined,
80
80
  },
81
+ text: {
82
+ type: Object,
83
+ default: undefined,
84
+ },
81
85
  },
82
86
  emits: {
83
87
  session: (_status, _fork) => true,
@@ -98,6 +102,7 @@ export const Adapt = defineComponent({
98
102
  el.styles = props.styles;
99
103
  el.persistOptions =
100
104
  typeof props.persist === "object" ? props.persist : undefined;
105
+ el.text = props.text;
101
106
  el.onSessionCallback = (status, fork) => {
102
107
  emit("session", status, fork);
103
108
  };
@@ -1,4 +1,4 @@
1
- import { type AdaptWebClientOptions, type ForkDisplay, type Output, type PersistOptions, type SignalValue, type StatusJson } from "@mochabug/adapt-web";
1
+ import { type AdaptWebClientOptions, type ForkDisplay, type Output, type PersistOptions, type SignalValue, type StatusJson, type StatusText } from "@mochabug/adapt-web";
2
2
  import { type PropType } from "vue";
3
3
  export * from "@mochabug/adapt-web";
4
4
  export { AdaptCap } from "./AdaptCap.js";
@@ -77,6 +77,10 @@ export declare const Adapt: import("vue").DefineComponent<import("vue").ExtractP
77
77
  type: PropType<boolean | PersistOptions>;
78
78
  default: undefined;
79
79
  };
80
+ text: {
81
+ type: PropType<StatusText>;
82
+ default: undefined;
83
+ };
80
84
  }>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
81
85
  [key: string]: any;
82
86
  }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
@@ -154,6 +158,10 @@ export declare const Adapt: import("vue").DefineComponent<import("vue").ExtractP
154
158
  type: PropType<boolean | PersistOptions>;
155
159
  default: undefined;
156
160
  };
161
+ text: {
162
+ type: PropType<StatusText>;
163
+ default: undefined;
164
+ };
157
165
  }>> & Readonly<{
158
166
  onOutput?: ((_output: Output) => any) | undefined;
159
167
  onSession?: ((_status: StatusJson, _fork?: string | undefined) => any) | undefined;
@@ -173,6 +181,7 @@ export declare const Adapt: import("vue").DefineComponent<import("vue").ExtractP
173
181
  dialogClose?: string;
174
182
  dragHandle?: string;
175
183
  expandButton?: string;
184
+ statusMessage?: string;
176
185
  toolbar?: string;
177
186
  toolbarTitle?: string;
178
187
  toolbarButton?: string;
@@ -196,5 +205,6 @@ export declare const Adapt: import("vue").DefineComponent<import("vue").ExtractP
196
205
  challengeToken: string;
197
206
  requiresChallenge: boolean;
198
207
  persist: boolean | PersistOptions;
208
+ text: StatusText;
199
209
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
200
210
  export default Adapt;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mochabug/adapt-vue",
3
- "version": "1.0.0-rc34",
3
+ "version": "1.0.0-rc36",
4
4
  "description": "Vue component for Adapt automation platform",
5
5
  "type": "module",
6
6
  "main": "./dist/esm/index.js",
@@ -36,6 +36,6 @@
36
36
  "vue": "^3.5.29"
37
37
  },
38
38
  "dependencies": {
39
- "@mochabug/adapt-web": "^1.0.0-rc57"
39
+ "@mochabug/adapt-web": "^1.0.0-rc59"
40
40
  }
41
41
  }