vona-cli-set-api 1.1.132 → 1.1.133
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/cli/templates/tools/crudBasic/boilerplate/src/dto/{{resourceName}}SelectResItem.tsx_
CHANGED
|
@@ -14,7 +14,29 @@ export interface IDtoOptions<%=argv.resourceNameCapitalize%>SelectResItem extend
|
|
|
14
14
|
blocks: [
|
|
15
15
|
ZovaRender.block('basic-page:blockPage', {
|
|
16
16
|
blocks: [
|
|
17
|
-
ZovaRender.block('basic-page:blockFilter'
|
|
17
|
+
ZovaRender.block('basic-page:blockFilter', {
|
|
18
|
+
formFieldLayout: { inline: true },
|
|
19
|
+
blocks: [
|
|
20
|
+
ZovaRender.block('basic-form:blockFormLayout', {
|
|
21
|
+
formLayout: {
|
|
22
|
+
children: [
|
|
23
|
+
{
|
|
24
|
+
type: 'section',
|
|
25
|
+
layout: 'flow',
|
|
26
|
+
children: [
|
|
27
|
+
{ type: 'field', name: 'name' },
|
|
28
|
+
{ type: 'field', name: 'createdAt' },
|
|
29
|
+
{
|
|
30
|
+
type: 'block',
|
|
31
|
+
block: ZovaRender.block('basic-page:blockFilterActions'),
|
|
32
|
+
},
|
|
33
|
+
],
|
|
34
|
+
},
|
|
35
|
+
],
|
|
36
|
+
},
|
|
37
|
+
}),
|
|
38
|
+
],
|
|
39
|
+
}),
|
|
18
40
|
ZovaRender.block('basic-page:blockToolbarBulk', {
|
|
19
41
|
actions: [ZovaRender.tableActionBulk('basic-table:actionCreate')],
|
|
20
42
|
}),
|
|
@@ -29,7 +51,10 @@ export class Dto<%=argv.resourceNameCapitalize%>SelectResItem extends $Dto.get((
|
|
|
29
51
|
v.title($locale('Operations')),
|
|
30
52
|
ZovaRender.order(1, 'max'),
|
|
31
53
|
ZovaRender.cell('basic-table:actionOperationsRow', {
|
|
32
|
-
actions: [
|
|
54
|
+
actions: [
|
|
55
|
+
ZovaRender.tableActionRow('basic-table:actionUpdate'),
|
|
56
|
+
ZovaRender.tableActionRow('basic-table:actionDelete'),
|
|
57
|
+
],
|
|
33
58
|
}),
|
|
34
59
|
)
|
|
35
60
|
_operationsRow?: unknown;
|
package/cli/templates/tools/crudStart/boilerplate/src/dto/{{resourceName}}SelectResItem.tsx_
CHANGED
|
@@ -14,7 +14,29 @@ export interface IDtoOptions<%=argv.resourceNameCapitalize%>SelectResItem extend
|
|
|
14
14
|
blocks: [
|
|
15
15
|
ZovaRender.block('start-page:blockPage', {
|
|
16
16
|
blocks: [
|
|
17
|
-
ZovaRender.block('start-page:blockFilter'
|
|
17
|
+
ZovaRender.block('start-page:blockFilter', {
|
|
18
|
+
formFieldLayout: { inline: true },
|
|
19
|
+
blocks: [
|
|
20
|
+
ZovaRender.block('start-form:blockFormLayout', {
|
|
21
|
+
formLayout: {
|
|
22
|
+
children: [
|
|
23
|
+
{
|
|
24
|
+
type: 'section',
|
|
25
|
+
layout: 'flow',
|
|
26
|
+
children: [
|
|
27
|
+
{ type: 'field', name: 'name' },
|
|
28
|
+
{ type: 'field', name: 'createdAt' },
|
|
29
|
+
{
|
|
30
|
+
type: 'block',
|
|
31
|
+
block: ZovaRender.block('start-page:blockFilterActions'),
|
|
32
|
+
},
|
|
33
|
+
],
|
|
34
|
+
},
|
|
35
|
+
],
|
|
36
|
+
},
|
|
37
|
+
}),
|
|
38
|
+
],
|
|
39
|
+
}),
|
|
18
40
|
ZovaRender.block('start-page:blockToolbarBulk', {
|
|
19
41
|
actions: [ZovaRender.tableActionBulk('start-table:actionCreate')],
|
|
20
42
|
}),
|
|
@@ -28,7 +50,10 @@ export class Dto<%=argv.resourceNameCapitalize%>SelectResItem extends $Dto.get((
|
|
|
28
50
|
v.title($locale('Operations')),
|
|
29
51
|
ZovaRender.order(1, 'max'),
|
|
30
52
|
ZovaRender.cell('start-table:actionOperationsRow', {
|
|
31
|
-
actions: [
|
|
53
|
+
actions: [
|
|
54
|
+
ZovaRender.tableActionRow('start-table:actionUpdate'),
|
|
55
|
+
ZovaRender.tableActionRow('start-table:actionDelete'),
|
|
56
|
+
],
|
|
32
57
|
}),
|
|
33
58
|
)
|
|
34
59
|
_operationsRow?: unknown;
|
package/package.json
CHANGED