@mochabug/adapt-vue 2.0.0-beta.1 → 2.0.0-beta.3
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/README.md
CHANGED
|
@@ -509,6 +509,7 @@ Internal stacking order from low to high: separators (1), resize handles (10), m
|
|
|
509
509
|
| `session` | `(status, fork?)` |
|
|
510
510
|
| `output` | `(output)` |
|
|
511
511
|
| `fork-active` | `(active)` |
|
|
512
|
+
| `content-active` | `(active: boolean)` — any main/fork URL remains open, including retained or minimized content |
|
|
512
513
|
|
|
513
514
|
## License
|
|
514
515
|
|
|
@@ -110,6 +110,7 @@ const emits = {
|
|
|
110
110
|
session: (_status, _fork) => true,
|
|
111
111
|
output: (_output) => true,
|
|
112
112
|
forkActive: (_active) => true,
|
|
113
|
+
contentActive: (_active) => true,
|
|
113
114
|
error: (_error) => true,
|
|
114
115
|
};
|
|
115
116
|
const component = defineComponent({
|
|
@@ -142,6 +143,9 @@ const component = defineComponent({
|
|
|
142
143
|
el.onForkActiveCallback = (active) => {
|
|
143
144
|
emit("forkActive", active);
|
|
144
145
|
};
|
|
146
|
+
el.onContentActiveCallback = (active) => {
|
|
147
|
+
emit("contentActive", active);
|
|
148
|
+
};
|
|
145
149
|
el.onErrorCallback = (error) => {
|
|
146
150
|
emit("error", error);
|
|
147
151
|
};
|
|
@@ -117,6 +117,7 @@ declare const emits: {
|
|
|
117
117
|
session: (_status: StatusJson, _fork?: string) => boolean;
|
|
118
118
|
output: (_output: Output) => boolean;
|
|
119
119
|
forkActive: (_active: boolean) => boolean;
|
|
120
|
+
contentActive: (_active: boolean) => boolean;
|
|
120
121
|
error: (_error: AdaptError) => boolean;
|
|
121
122
|
};
|
|
122
123
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mochabug/adapt-vue",
|
|
3
|
-
"version": "2.0.0-beta.
|
|
3
|
+
"version": "2.0.0-beta.3",
|
|
4
4
|
"description": "Vue component for Adapt automation platform",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"types": "./dist/types/index.d.ts",
|
|
@@ -24,8 +24,11 @@
|
|
|
24
24
|
"scripts": {
|
|
25
25
|
"build:esm": "tsc --project tsconfig.esm.json",
|
|
26
26
|
"build:types": "tsc --project tsconfig.types.json",
|
|
27
|
+
"prebuild": "npm install --prefix .. && cd .. && npm run build -w core -w web --ignore-scripts",
|
|
27
28
|
"build": "rm -rf dist && npm run build:esm && npm run build:types",
|
|
29
|
+
"build:samples": "npm run build --prefix sample",
|
|
28
30
|
"sample": "npm run build && cd sample && npm install && npm run dev",
|
|
31
|
+
"precheck": "npm run build",
|
|
29
32
|
"check": "tsc --project tsconfig.json --noEmit"
|
|
30
33
|
},
|
|
31
34
|
"keywords": [
|
|
@@ -49,7 +52,7 @@
|
|
|
49
52
|
"vue": "^3.5.43"
|
|
50
53
|
},
|
|
51
54
|
"dependencies": {
|
|
52
|
-
"@mochabug/adapt-web": "2.0.0-beta.
|
|
53
|
-
"@mochabug/adapt-core": "2.0.0-beta.
|
|
55
|
+
"@mochabug/adapt-web": "2.0.0-beta.3",
|
|
56
|
+
"@mochabug/adapt-core": "2.0.0-beta.3"
|
|
54
57
|
}
|
|
55
58
|
}
|