@texaryn/vue 0.4.2 → 0.5.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/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,30 @@
|
|
|
1
1
|
# @texaryn/vue
|
|
2
2
|
|
|
3
|
+
## 0.5.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 82f38e9: Add explicit view expansion for recursion and budget boundaries.
|
|
8
|
+
- 8605d64: Adds localized Up and Down controls for reorderable array rows across all renderer families.
|
|
9
|
+
|
|
10
|
+
### Patch Changes
|
|
11
|
+
|
|
12
|
+
- Updated dependencies [8605d64]
|
|
13
|
+
- Updated dependencies [82f38e9]
|
|
14
|
+
- Updated dependencies [8605d64]
|
|
15
|
+
- @texaryn/core@0.14.0
|
|
16
|
+
|
|
17
|
+
## 0.4.3
|
|
18
|
+
|
|
19
|
+
### Patch Changes
|
|
20
|
+
|
|
21
|
+
- eae5f41: Object children are keyed by property name, with `objectChildKey` from
|
|
22
|
+
`@texaryn/core`, so a field keeps its element and its focus when the form grows
|
|
23
|
+
ahead of it, for example when typing into a recursive object exposes the next
|
|
24
|
+
level.
|
|
25
|
+
- Updated dependencies [eae5f41]
|
|
26
|
+
- @texaryn/core@0.13.0
|
|
27
|
+
|
|
3
28
|
## 0.4.2
|
|
4
29
|
|
|
5
30
|
### Patch Changes
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"containers.d.ts","sourceRoot":"","sources":["../../src/widgets/containers.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;
|
|
1
|
+
{"version":3,"file":"containers.d.ts","sourceRoot":"","sources":["../../src/widgets/containers.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AAEnC,OAAO,KAAK,EAAiB,MAAM,EAAE,MAAM,eAAe,CAAA;AAQ1D,eAAO,MAAM,YAAY;;uBAFkB,QAAQ,CAAC,MAAM,CAAC;;;;;;;uBAAhB,QAAQ,CAAC,MAAM,CAAC;;;iGAwEzD,CAAA;AAEF,eAAO,MAAM,YAAY;;uBA1EkB,QAAQ,CAAC,MAAM,CAAC;;;;;;;uBAAhB,QAAQ,CAAC,MAAM,CAAC;;;iGA+LzD,CAAA"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { computed, defineComponent, h } from 'vue';
|
|
1
|
+
import { computed, defineComponent, h, nextTick } from 'vue';
|
|
2
|
+
import { englishMessages, objectChildKey } from '@texaryn/core';
|
|
2
3
|
import { useFormMessages, useFormRuntime } from '../context.js';
|
|
3
4
|
import { useStore } from '../use-store.js';
|
|
4
5
|
import { useFieldArray } from '../use-field-array.js';
|
|
@@ -9,6 +10,7 @@ export const ObjectLayout = defineComponent({
|
|
|
9
10
|
props: nodeProp,
|
|
10
11
|
setup(props) {
|
|
11
12
|
const runtime = useFormRuntime();
|
|
13
|
+
const messages = useFormMessages();
|
|
12
14
|
const document = useStore(runtime.document, runtime.document.getSnapshot());
|
|
13
15
|
// Whether a node is nested is fixed for its lifetime, but its title is
|
|
14
16
|
// not: a conditional subschema can add or drop one on any recompile.
|
|
@@ -18,20 +20,44 @@ export const ObjectLayout = defineComponent({
|
|
|
18
20
|
const nested = props.node.parentId !== null;
|
|
19
21
|
const current = computed(() => (document.value.nodes[props.node.id] ?? props.node));
|
|
20
22
|
const title = computed(() => current.value.annotations.title);
|
|
23
|
+
const boundaryTargets = computed(() => current.value.boundaryTargets ?? []);
|
|
21
24
|
const children = computed(() => current.value.children
|
|
22
25
|
.map((id) => document.value.nodes[id])
|
|
23
26
|
.filter((child) => child != null));
|
|
24
27
|
return () => {
|
|
25
|
-
const rendered = children.value.map((child) => h(NodeRenderer, { key: child
|
|
28
|
+
const rendered = children.value.map((child) => h(NodeRenderer, { key: objectChildKey(child), node: child }));
|
|
29
|
+
const firstTargetByReason = new Map();
|
|
30
|
+
for (const target of boundaryTargets.value) {
|
|
31
|
+
if (!firstTargetByReason.has(target.reason))
|
|
32
|
+
firstTargetByReason.set(target.reason, target);
|
|
33
|
+
}
|
|
34
|
+
const expandActions = [...firstTargetByReason.values()].map((target) => {
|
|
35
|
+
const message = (messages.value.expandBoundary ?? englishMessages.expandBoundary)({
|
|
36
|
+
boundary: target.reason,
|
|
37
|
+
containerTitle: title.value,
|
|
38
|
+
position: 1,
|
|
39
|
+
count: 1,
|
|
40
|
+
});
|
|
41
|
+
return h('button', {
|
|
42
|
+
key: target.reason,
|
|
43
|
+
type: 'button',
|
|
44
|
+
'aria-label': message.accessibleName,
|
|
45
|
+
onClick: () => runtime.dispatch({
|
|
46
|
+
type: 'ExpandBoundary',
|
|
47
|
+
containerId: current.value.id,
|
|
48
|
+
targetToken: target.token,
|
|
49
|
+
}),
|
|
50
|
+
}, message.label);
|
|
51
|
+
});
|
|
26
52
|
if (!nested)
|
|
27
|
-
return h('div', rendered);
|
|
53
|
+
return h('div', [...rendered, ...expandActions]);
|
|
28
54
|
// The root object is the form itself, so only a nested titled object
|
|
29
55
|
// names a group. An unnamed group is noise, so the fieldset stops being
|
|
30
56
|
// one. Children sit in their own element so the legend is never a
|
|
31
57
|
// candidate for reorder.
|
|
32
58
|
return h('fieldset', { role: title.value === undefined ? 'none' : undefined }, [
|
|
33
59
|
...(title.value === undefined ? [] : [h('legend', title.value)]),
|
|
34
|
-
h('div', rendered),
|
|
60
|
+
h('div', [...rendered, ...expandActions]),
|
|
35
61
|
]);
|
|
36
62
|
};
|
|
37
63
|
},
|
|
@@ -57,28 +83,62 @@ export const ArrayControl = defineComponent({
|
|
|
57
83
|
// is what makes a move preserve the row's component instance and
|
|
58
84
|
// its DOM, and it is also what hands the surviving instance a
|
|
59
85
|
// different node than the one it mounted with.
|
|
60
|
-
{ key: item.id }, [
|
|
86
|
+
{ key: item.id, 'data-array-row': '' }, [
|
|
61
87
|
child ? h(NodeRenderer, { node: child }) : null,
|
|
62
|
-
|
|
63
|
-
// aria-label, which contains it so speech input still works.
|
|
64
|
-
array.canRemove.value
|
|
88
|
+
array.canReorder.value && index > 0
|
|
65
89
|
? (() => {
|
|
66
|
-
const
|
|
90
|
+
const up = messages.value.moveItemUp({
|
|
67
91
|
position: index + 1,
|
|
68
92
|
itemTitle,
|
|
69
93
|
containerTitle: arrayTitle.value,
|
|
70
94
|
});
|
|
71
|
-
return h('button', {
|
|
95
|
+
return h('button', {
|
|
96
|
+
type: 'button',
|
|
97
|
+
'aria-label': up.accessibleName,
|
|
98
|
+
'data-reorder-direction': 'up',
|
|
99
|
+
onClick: (event) => {
|
|
100
|
+
const wasFocused = globalThis.document.activeElement === event.currentTarget;
|
|
101
|
+
const row = event.currentTarget.closest('[data-array-row]');
|
|
102
|
+
array.move(index, index - 1);
|
|
103
|
+
if (wasFocused && index === 1) {
|
|
104
|
+
void nextTick(() => row?.querySelector(':scope > [data-reorder-direction="down"]')?.focus());
|
|
105
|
+
}
|
|
106
|
+
},
|
|
107
|
+
}, up.label);
|
|
72
108
|
})()
|
|
73
109
|
: null,
|
|
74
|
-
array.canReorder.value && index
|
|
110
|
+
array.canReorder.value && index < array.items.value.length - 1
|
|
75
111
|
? (() => {
|
|
76
|
-
const
|
|
112
|
+
const down = messages.value.moveItemDown({
|
|
113
|
+
position: index + 1,
|
|
114
|
+
itemTitle,
|
|
115
|
+
containerTitle: arrayTitle.value,
|
|
116
|
+
});
|
|
117
|
+
return h('button', {
|
|
118
|
+
type: 'button',
|
|
119
|
+
'aria-label': down.accessibleName,
|
|
120
|
+
'data-reorder-direction': 'down',
|
|
121
|
+
onClick: (event) => {
|
|
122
|
+
const wasFocused = globalThis.document.activeElement === event.currentTarget;
|
|
123
|
+
const row = event.currentTarget.closest('[data-array-row]');
|
|
124
|
+
array.move(index, index + 1);
|
|
125
|
+
if (wasFocused && index === array.items.value.length - 2) {
|
|
126
|
+
void nextTick(() => row?.querySelector(':scope > [data-reorder-direction="up"]')?.focus());
|
|
127
|
+
}
|
|
128
|
+
},
|
|
129
|
+
}, down.label);
|
|
130
|
+
})()
|
|
131
|
+
: null,
|
|
132
|
+
// The visible word stays short; the distinguishing name goes in
|
|
133
|
+
// aria-label, which contains it so speech input still works.
|
|
134
|
+
array.canRemove.value
|
|
135
|
+
? (() => {
|
|
136
|
+
const remove = messages.value.removeItem({
|
|
77
137
|
position: index + 1,
|
|
78
138
|
itemTitle,
|
|
79
139
|
containerTitle: arrayTitle.value,
|
|
80
140
|
});
|
|
81
|
-
return h('button', { type: 'button', 'aria-label':
|
|
141
|
+
return h('button', { type: 'button', 'aria-label': remove.accessibleName, onClick: () => array.remove(index) }, remove.label);
|
|
82
142
|
})()
|
|
83
143
|
: null,
|
|
84
144
|
]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"containers.js","sourceRoot":"","sources":["../../src/widgets/containers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,eAAe,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;
|
|
1
|
+
{"version":3,"file":"containers.js","sourceRoot":"","sources":["../../src/widgets/containers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,eAAe,EAAE,CAAC,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AAE5D,OAAO,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,eAAe,CAAA;AAE/D,OAAO,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,eAAe,CAAA;AAC/D,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAC1C,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAA;AACrD,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAA;AAE5D,MAAM,QAAQ,GAAG,EAAE,IAAI,EAAE,EAAE,IAAI,EAAE,MAA0B,EAAE,QAAQ,EAAE,IAAI,EAAE,EAAW,CAAA;AAExF,MAAM,CAAC,MAAM,YAAY,GAAG,e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,YAAY,EAAE,GAAG,CAAC,cAAc,EAAE,OAAO,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC,GAAG,EAAE,EAAE,EAChF,GAAG,CAAC,KAAK,CACV,CAAA;gBACH,CAAC,CAAC,EAAE;gBACN,CAAC,CAAC,IAAI;SACT,CAAC,CAAA;IACN,CAAC;CACF,CAAC,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@texaryn/vue",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.0",
|
|
4
4
|
"description": "Vue 3 bindings, composables, and default widgets for Texaryn",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"vue",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"CHANGELOG.md"
|
|
45
45
|
],
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@texaryn/core": "^0.
|
|
47
|
+
"@texaryn/core": "^0.14.0"
|
|
48
48
|
},
|
|
49
49
|
"peerDependencies": {
|
|
50
50
|
"vue": ">=3.5.0"
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"jsdom": "^25.0.0",
|
|
56
56
|
"vue": "^3.5.0",
|
|
57
57
|
"@texaryn/examples": "0.0.0",
|
|
58
|
-
"@texaryn/schema-json": "0.
|
|
58
|
+
"@texaryn/schema-json": "0.8.0"
|
|
59
59
|
},
|
|
60
60
|
"scripts": {
|
|
61
61
|
"build": "tsc --build"
|