cabloy 5.1.169 → 5.1.170
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/.cabloy-version +1 -1
- package/CHANGELOG.md +9 -0
- package/package.json +1 -1
- package/repo-e2e/specs/cabloy-basic.spec.ts +45 -0
- package/vona/packages-cli/cli/package.json +1 -1
- package/vona/packages-cli/cli-set-api/cli/templates/tools/crudBasic/boilerplate/src/dto/{{resourceName}}SelectResItem.tsx_ +4 -0
- package/vona/packages-cli/cli-set-api/cli/templates/tools/crudStart/boilerplate/src/dto/{{resourceName}}SelectResItem.tsx_ +4 -0
- package/vona/packages-cli/cli-set-api/package.json +1 -1
- package/vona/pnpm-lock.yaml +77 -127
- package/vona/src/suite/a-training/modules/training-student/src/dto/studentSelectResItem.tsx +4 -0
- package/vona/src/suite/a-training/modules/training-student/test/student.test.ts +5 -0
- package/vona/src/suite-vendor/a-cabloy/modules/a-layoutprofile/package.json +54 -0
- package/vona/src/suite-vendor/a-cabloy/modules/a-layoutprofile/src/.metadata/index.ts +346 -0
- package/vona/src/suite-vendor/a-cabloy/modules/a-layoutprofile/src/.metadata/this.ts +2 -0
- package/vona/src/suite-vendor/a-cabloy/modules/a-layoutprofile/src/bean/meta.index.ts +12 -0
- package/vona/src/suite-vendor/a-cabloy/modules/a-layoutprofile/src/bean/meta.redlock.ts +11 -0
- package/vona/src/suite-vendor/a-cabloy/modules/a-layoutprofile/src/bean/meta.version.ts +20 -0
- package/vona/src/suite-vendor/a-cabloy/modules/a-layoutprofile/src/controller/layoutprofile.ts +38 -0
- package/vona/src/suite-vendor/a-cabloy/modules/a-layoutprofile/src/dto/layoutProfile.tsx +26 -0
- package/vona/src/suite-vendor/a-cabloy/modules/a-layoutprofile/src/dto/layoutProfileLoad.tsx +13 -0
- package/vona/src/suite-vendor/a-cabloy/modules/a-layoutprofile/src/dto/layoutProfileSave.tsx +31 -0
- package/vona/src/suite-vendor/a-cabloy/modules/a-layoutprofile/src/entity/layoutprofile.ts +20 -0
- package/vona/src/suite-vendor/a-cabloy/modules/a-layoutprofile/src/index.ts +2 -0
- package/vona/src/suite-vendor/a-cabloy/modules/a-layoutprofile/src/model/layoutprofile.ts +10 -0
- package/vona/src/suite-vendor/a-cabloy/modules/a-layoutprofile/src/service/layoutprofile.ts +64 -0
- package/vona/src/suite-vendor/a-cabloy/modules/a-layoutprofile/src/types/index.ts +1 -0
- package/vona/src/suite-vendor/a-cabloy/modules/a-layoutprofile/src/types/layoutprofile.ts +21 -0
- package/vona/src/suite-vendor/a-cabloy/modules/a-layoutprofile/test/layoutprofile.test.ts +258 -0
- package/vona/src/suite-vendor/a-cabloy/modules/a-layoutprofile/tsconfig.build.json +11 -0
- package/vona/src/suite-vendor/a-cabloy/modules/a-layoutprofile/tsconfig.json +7 -0
- package/vona/src/suite-vendor/a-cabloy/package.json +2 -1
- package/vona/src/suite-vendor/a-cabloy/tsconfig.json +3 -0
- package/zova/packages-zova/zova/package.json +2 -2
- package/zova/pnpm-lock.yaml +21 -6
- package/zova/src/suite/a-home/modules/home-base/src/service/ssrLayout.ts +20 -10
- package/zova/src/suite/cabloy-basic/modules/basic-page/src/component/blockPage/controller.tsx +44 -1
- package/zova/src/suite/cabloy-basic/modules/basic-page/src/component/blockTable/controller.tsx +1 -0
- package/zova/src/suite/cabloy-basic/modules/basic-page/src/component/blockToolbarBulk/controller.tsx +40 -25
- package/zova/src/suite/cabloy-basic/modules/basic-page/src/lib/selection.ts +11 -0
- package/zova/src/suite/cabloy-basic/modules/basic-page/test/lib/selection.test.ts +23 -0
- package/zova/src/suite/cabloy-basic/modules/basic-table/src/.metadata/component/actionColumnConfig.ts +31 -0
- package/zova/src/suite/cabloy-basic/modules/basic-table/src/.metadata/index.ts +25 -12
- package/zova/src/suite/cabloy-basic/modules/basic-table/src/component/actionColumnConfig/controller.tsx +260 -0
- package/zova/src/suite/cabloy-basic/modules/basic-table/src/component/table/render.tsx +3 -3
- package/zova/src/suite/cabloy-basic/modules/basic-table/src/config/locale/en-us.ts +10 -0
- package/zova/src/suite/cabloy-basic/modules/basic-table/src/config/locale/zh-cn.ts +10 -0
- package/zova/src/suite-vendor/a-cabloy/modules/a-layoutprofile/cli/openapi.config.ts +9 -0
- package/zova/src/suite-vendor/a-cabloy/modules/a-layoutprofile/package.json +53 -0
- package/zova/src/suite-vendor/a-cabloy/modules/a-layoutprofile/src/.metadata/index.ts +140 -0
- package/zova/src/suite-vendor/a-cabloy/modules/a-layoutprofile/src/.metadata/this.ts +2 -0
- package/zova/src/suite-vendor/a-cabloy/modules/a-layoutprofile/src/api/layoutprofile.ts +67 -0
- package/zova/src/suite-vendor/a-cabloy/modules/a-layoutprofile/src/api/openapi/baseURL.ts +5 -0
- package/zova/src/suite-vendor/a-cabloy/modules/a-layoutprofile/src/api/openapi/index.ts +3 -0
- package/zova/src/suite-vendor/a-cabloy/modules/a-layoutprofile/src/api/openapi/schemas.ts +663 -0
- package/zova/src/suite-vendor/a-cabloy/modules/a-layoutprofile/src/api/openapi/types.ts +10150 -0
- package/zova/src/suite-vendor/a-cabloy/modules/a-layoutprofile/src/apiSchema/layoutprofile.ts +25 -0
- package/zova/src/suite-vendor/a-cabloy/modules/a-layoutprofile/src/index.ts +1 -0
- package/zova/src/suite-vendor/a-cabloy/modules/a-layoutprofile/src/model/layoutprofile.ts +76 -0
- package/zova/src/suite-vendor/a-cabloy/modules/a-layoutprofile/tsconfig.build.json +13 -0
- package/zova/src/suite-vendor/a-cabloy/modules/a-layoutprofile/tsconfig.json +5 -0
- package/zova/src/suite-vendor/a-cabloy/package.json +2 -1
- package/zova/src/suite-vendor/a-zova/modules/a-openapi/package.json +1 -1
- package/zova/src/suite-vendor/a-zova/modules/a-openapi/src/types/resource/tableActionBulk.ts +3 -0
- package/zova/src/suite-vendor/a-zova/modules/a-ssr/package.json +1 -1
- package/zova/src/suite-vendor/a-zova/modules/a-ssr/src/lib/bodyReadyObserver.ts +13 -11
- package/zova/src/suite-vendor/a-zova/modules/a-table/package.json +1 -1
- package/zova/src/suite-vendor/a-zova/modules/a-table/src/component/table/controller.tsx +64 -2
- package/zova/src/suite-vendor/a-zova/modules/a-table/src/component/table/render.tsx +2 -3
- package/zova/src/suite-vendor/a-zova/modules/a-table/src/lib/beanControllerTableBase.ts +10 -0
- package/zova/src/suite-vendor/a-zova/modules/a-table/src/types/index.ts +1 -0
- package/zova/src/suite-vendor/a-zova/modules/a-table/src/types/tableLayout.ts +101 -0
- package/zova/src/suite-vendor/a-zova/modules/a-table/test/lib/tableLayout.test.ts +112 -0
- package/zova/src/suite-vendor/a-zova/package.json +4 -4
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import type { IApiActionOptions } from 'zova-module-a-api';
|
|
2
|
+
|
|
3
|
+
import { Api, BeanApiBase } from 'zova-module-a-api';
|
|
4
|
+
|
|
5
|
+
import type { components, paths } from './openapi/index.js';
|
|
6
|
+
|
|
7
|
+
import { OpenApiBaseURL } from './openapi/index.js';
|
|
8
|
+
|
|
9
|
+
/** Layoutprofile_load */
|
|
10
|
+
export const ApiApiLayoutprofileloadPath = '/api/layoutprofile/load';
|
|
11
|
+
export type ApiApiLayoutprofileloadPath = '/api/layoutprofile/load';
|
|
12
|
+
export type ApiApiLayoutprofileloadMethod = 'get';
|
|
13
|
+
export type ApiApiLayoutprofileloadRequestQuery =
|
|
14
|
+
paths[ApiApiLayoutprofileloadPath][ApiApiLayoutprofileloadMethod]['parameters']['query'];
|
|
15
|
+
export type ApiApiLayoutprofileloadResponseBody =
|
|
16
|
+
paths[ApiApiLayoutprofileloadPath][ApiApiLayoutprofileloadMethod]['responses']['200']['content']['application/json']['data'];
|
|
17
|
+
|
|
18
|
+
/** Layoutprofile_save */
|
|
19
|
+
export const ApiApiLayoutprofilesavePath = '/api/layoutprofile/save';
|
|
20
|
+
export type ApiApiLayoutprofilesavePath = '/api/layoutprofile/save';
|
|
21
|
+
export type ApiApiLayoutprofilesaveMethod = 'post';
|
|
22
|
+
export type ApiApiLayoutprofilesaveRequestBody =
|
|
23
|
+
components['schemas']['a-layoutprofile.dto.layoutProfileSave'];
|
|
24
|
+
export type ApiApiLayoutprofilesaveResponseBody =
|
|
25
|
+
paths[ApiApiLayoutprofilesavePath][ApiApiLayoutprofilesaveMethod]['responses']['200']['content']['application/json']['data'];
|
|
26
|
+
|
|
27
|
+
/** Layoutprofile_reset */
|
|
28
|
+
export const ApiApiLayoutprofileresetPath = '/api/layoutprofile/reset';
|
|
29
|
+
export type ApiApiLayoutprofileresetPath = '/api/layoutprofile/reset';
|
|
30
|
+
export type ApiApiLayoutprofileresetMethod = 'delete';
|
|
31
|
+
export type ApiApiLayoutprofileresetRequestQuery =
|
|
32
|
+
paths[ApiApiLayoutprofileresetPath][ApiApiLayoutprofileresetMethod]['parameters']['query'];
|
|
33
|
+
export type ApiApiLayoutprofileresetResponseBody =
|
|
34
|
+
paths[ApiApiLayoutprofileresetPath][ApiApiLayoutprofileresetMethod]['responses']['200']['content']['application/json']['data'];
|
|
35
|
+
|
|
36
|
+
@Api()
|
|
37
|
+
export class ApiLayoutprofile extends BeanApiBase {
|
|
38
|
+
load(
|
|
39
|
+
options: {
|
|
40
|
+
query: ApiApiLayoutprofileloadRequestQuery;
|
|
41
|
+
} & IApiActionOptions,
|
|
42
|
+
) {
|
|
43
|
+
return this.$fetch.get<any, ApiApiLayoutprofileloadResponseBody>(
|
|
44
|
+
ApiApiLayoutprofileloadPath,
|
|
45
|
+
this.$configPrepare(OpenApiBaseURL(this.sys), options, true),
|
|
46
|
+
);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
save(body: ApiApiLayoutprofilesaveRequestBody, options?: IApiActionOptions) {
|
|
50
|
+
return this.$fetch.post<any, ApiApiLayoutprofilesaveResponseBody>(
|
|
51
|
+
ApiApiLayoutprofilesavePath,
|
|
52
|
+
body,
|
|
53
|
+
this.$configPrepare(OpenApiBaseURL(this.sys), options, true),
|
|
54
|
+
);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
reset(
|
|
58
|
+
options: {
|
|
59
|
+
query: ApiApiLayoutprofileresetRequestQuery;
|
|
60
|
+
} & IApiActionOptions,
|
|
61
|
+
) {
|
|
62
|
+
return this.$fetch.delete<any, ApiApiLayoutprofileresetResponseBody>(
|
|
63
|
+
ApiApiLayoutprofileresetPath,
|
|
64
|
+
this.$configPrepare(OpenApiBaseURL(this.sys), options, true),
|
|
65
|
+
);
|
|
66
|
+
}
|
|
67
|
+
}
|