cabloy 5.1.187 → 5.1.189
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 +22 -0
- package/package.json +1 -1
- package/repo-docs/backend/runtime-and-flavors.md +1 -1
- package/repo-e2e/specs/markdown.spec.ts +46 -1
- package/vona/docker-compose-original/config/nginx/conf.d/nginx.conf +2 -2
- package/vona/packages-cli/cli/package.json +1 -1
- package/vona/packages-cli/cli-set-api/package.json +1 -1
- package/vona/packages-vona/vona/package.json +1 -1
- package/vona/packages-vona/vona-core/package.json +1 -1
- package/vona/packages-vona/vona-core/src/lib/core/application.ts +12 -5
- package/vona/packages-vona/vona-core/src/lib/core/context.ts +1 -1
- package/vona/packages-vona/vona-mock/package.json +1 -1
- package/vona/pnpm-lock.yaml +14 -136
- package/vona/src/suite/a-home/modules/home-user/src/service/account.ts +1 -1
- package/vona/src/suite/a-home/modules/home-user/test/accountPasswordReset.test.ts +24 -5
- package/vona/src/suite/a-home/modules/home-user/test/accountPasswordSet.test.ts +22 -5
- package/vona/src/suite-vendor/a-auth/modules/a-auth/package.json +1 -1
- package/vona/src/suite-vendor/a-auth/modules/a-auth/src/lib/utils.ts +42 -0
- package/vona/src/suite-vendor/a-auth/modules/a-auth/src/service/auth.ts +60 -2
- package/vona/src/suite-vendor/a-auth/modules/a-auth/test/authCallbackRedirect.test.ts +44 -0
- package/vona/src/suite-vendor/a-auth/modules/a-auth/test/oauthRequestContext.test.ts +171 -0
- package/vona/src/suite-vendor/a-auth/package.json +1 -1
- package/vona/src/suite-vendor/a-cabloy/modules/a-socket/package.json +1 -1
- package/vona/src/suite-vendor/a-cabloy/modules/a-socket/src/bean/socketConnection.cors.ts +1 -1
- package/vona/src/suite-vendor/a-cabloy/modules/a-ssr/package.json +1 -1
- package/vona/src/suite-vendor/a-cabloy/package.json +1 -1
- package/vona/src/suite-vendor/a-vona/modules/a-core/package.json +1 -1
- package/vona/src/suite-vendor/a-vona/modules/a-security/package.json +1 -1
- package/vona/src/suite-vendor/a-vona/modules/a-security/src/bean/middlewareSystem.cors.ts +1 -1
- package/vona/src/suite-vendor/a-vona/modules/a-version/package.json +1 -1
- package/vona/src/suite-vendor/a-vona/modules/a-version/src/lib/databaseTestName.ts +47 -0
- package/vona/src/suite-vendor/a-vona/modules/a-version/src/service/database.ts +8 -3
- package/vona/src/suite-vendor/a-vona/modules/a-version/test/databaseName.test.ts +72 -0
- package/vona/src/suite-vendor/a-vona/package.json +1 -1
- package/zova/packages-cli/cli/package.json +2 -2
- package/zova/packages-cli/cli-set-front/package.json +2 -2
- package/zova/packages-utils/zova-vite/package.json +1 -1
- package/zova/packages-utils/zova-vite/src/collect-css-ssr.ts +7 -5
- package/zova/pnpm-lock.yaml +16 -16
- package/zova/src/suite/a-home/modules/home-base/src/config/config.ts +0 -8
- package/zova/src/suite/a-home/modules/home-base/src/service/ssrLayout.ts +2 -3
- package/zova/src/suite/a-home/modules/home-layoutadmin/src/component/layoutAdmin/controller.tsx +1 -0
- package/zova/src/suite/a-home/modules/home-layoutadmin/src/component/layoutAdmin/render.sidebar.tsx +1 -4
- package/zova/src/suite/a-home/modules/home-layoutadmin/src/config/config.ts +4 -0
- package/zova/src/suite/a-home/modules/home-layoutweb/src/component/layoutWeb/controller.tsx +1 -0
- package/zova/src/suite/cabloy-basic/modules/basic-markdown/src/lib/richTextContentStyle.ts +16 -2
package/zova/pnpm-lock.yaml
CHANGED
|
@@ -77,7 +77,7 @@ importers:
|
|
|
77
77
|
version: 10.6.0(postcss@8.5.28)
|
|
78
78
|
axios:
|
|
79
79
|
specifier: ^1.18.1
|
|
80
|
-
version: 1.20.0
|
|
80
|
+
version: 1.20.0(supports-color@10.2.2)
|
|
81
81
|
compression:
|
|
82
82
|
specifier: ^1.8.1
|
|
83
83
|
version: 1.8.2
|
|
@@ -369,7 +369,7 @@ importers:
|
|
|
369
369
|
devDependencies:
|
|
370
370
|
'@cabloy/cli':
|
|
371
371
|
specifier: ^3.1.29
|
|
372
|
-
version: 3.1.29(vue@3.5.42(typescript@5.9.3))
|
|
372
|
+
version: 3.1.29(supports-color@10.2.2)(vue@3.5.42(typescript@5.9.3))
|
|
373
373
|
'@cabloy/lint':
|
|
374
374
|
specifier: ^5.1.35
|
|
375
375
|
version: 5.1.35(@typescript-eslint/eslint-plugin@8.70.0(@typescript-eslint/parser@8.70.0(eslint@10.10.0(jiti@2.7.0))(supports-color@10.2.2)(typescript@5.9.3))(eslint@10.10.0(jiti@2.7.0))(typescript@5.9.3))(@typescript-eslint/typescript-estree@8.70.0(typescript@5.9.3))(@typescript-eslint/utils@8.70.0(eslint@10.10.0(jiti@2.7.0))(typescript@5.9.3))(eslint@10.10.0(jiti@2.7.0))(oxfmt@0.62.0)(oxlint@1.82.0)(supports-color@10.2.2)(typescript@5.9.3)(vue-eslint-parser@10.4.1(eslint@10.10.0(jiti@2.7.0)))
|
|
@@ -444,7 +444,7 @@ importers:
|
|
|
444
444
|
dependencies:
|
|
445
445
|
'@cabloy/cli':
|
|
446
446
|
specifier: ^3.1.29
|
|
447
|
-
version: 3.1.29(vue@3.5.42(typescript@5.9.3))
|
|
447
|
+
version: 3.1.29(supports-color@10.2.2)(vue@3.5.42(typescript@5.9.3))
|
|
448
448
|
'@cabloy/process-helper':
|
|
449
449
|
specifier: ^3.1.8
|
|
450
450
|
version: 3.1.8
|
|
@@ -455,7 +455,7 @@ importers:
|
|
|
455
455
|
specifier: ^7.6.2
|
|
456
456
|
version: 7.8.5
|
|
457
457
|
zova-cli-set-front:
|
|
458
|
-
specifier: ^1.2.
|
|
458
|
+
specifier: ^1.2.109
|
|
459
459
|
version: link:../cli-set-front
|
|
460
460
|
devDependencies:
|
|
461
461
|
clean-package:
|
|
@@ -478,7 +478,7 @@ importers:
|
|
|
478
478
|
version: 7.29.7(@babel/core@7.29.7)
|
|
479
479
|
'@cabloy/cli':
|
|
480
480
|
specifier: ^3.1.29
|
|
481
|
-
version: 3.1.29(vue@3.5.42(typescript@5.9.3))
|
|
481
|
+
version: 3.1.29(supports-color@10.2.2)(vue@3.5.42(typescript@5.9.3))
|
|
482
482
|
'@cabloy/extend':
|
|
483
483
|
specifier: ^3.2.8
|
|
484
484
|
version: 3.2.8
|
|
@@ -564,7 +564,7 @@ importers:
|
|
|
564
564
|
specifier: ^1.1.17
|
|
565
565
|
version: link:../../packages-utils/zova-openapi
|
|
566
566
|
zova-vite:
|
|
567
|
-
specifier: ^1.1.
|
|
567
|
+
specifier: ^1.1.47
|
|
568
568
|
version: link:../../packages-utils/zova-vite
|
|
569
569
|
devDependencies:
|
|
570
570
|
clean-package:
|
|
@@ -1204,7 +1204,7 @@ importers:
|
|
|
1204
1204
|
dependencies:
|
|
1205
1205
|
axios:
|
|
1206
1206
|
specifier: ^1.18.1
|
|
1207
|
-
version: 1.20.0
|
|
1207
|
+
version: 1.20.0(supports-color@10.2.2)
|
|
1208
1208
|
devDependencies:
|
|
1209
1209
|
clean-package:
|
|
1210
1210
|
specifier: ^2.2.0
|
|
@@ -1477,7 +1477,7 @@ importers:
|
|
|
1477
1477
|
devDependencies:
|
|
1478
1478
|
'@cabloy/cli':
|
|
1479
1479
|
specifier: ^3.1.29
|
|
1480
|
-
version: 3.1.29(vue@3.5.42(typescript@5.9.3))
|
|
1480
|
+
version: 3.1.29(supports-color@10.2.2)(vue@3.5.42(typescript@5.9.3))
|
|
1481
1481
|
'@types/luxon':
|
|
1482
1482
|
specifier: ^3.7.1
|
|
1483
1483
|
version: 3.7.5
|
|
@@ -8851,7 +8851,7 @@ snapshots:
|
|
|
8851
8851
|
|
|
8852
8852
|
'@bufbuild/protobuf@2.15.0': {}
|
|
8853
8853
|
|
|
8854
|
-
'@cabloy/cli@3.1.29(vue@3.5.42(typescript@5.9.3))':
|
|
8854
|
+
'@cabloy/cli@3.1.29(supports-color@10.2.2)(vue@3.5.42(typescript@5.9.3))':
|
|
8855
8855
|
dependencies:
|
|
8856
8856
|
'@babel/parser': 7.29.8
|
|
8857
8857
|
'@cabloy/module-glob': 5.3.18
|
|
@@ -8860,7 +8860,7 @@ snapshots:
|
|
|
8860
8860
|
'@cabloy/utils': 2.1.27
|
|
8861
8861
|
'@cabloy/word-utils': link:packages-utils/word-utils
|
|
8862
8862
|
'@npmcli/config': 10.12.0
|
|
8863
|
-
'@zhennann/common-bin': 4.0.1
|
|
8863
|
+
'@zhennann/common-bin': 4.0.1(supports-color@10.2.2)
|
|
8864
8864
|
'@zhennann/ejs': 3.0.1
|
|
8865
8865
|
boxen: 4.2.0
|
|
8866
8866
|
chalk: 3.0.0
|
|
@@ -11048,7 +11048,7 @@ snapshots:
|
|
|
11048
11048
|
|
|
11049
11049
|
'@vue/shared@3.5.13': {}
|
|
11050
11050
|
|
|
11051
|
-
'@zhennann/common-bin@4.0.1':
|
|
11051
|
+
'@zhennann/common-bin@4.0.1(supports-color@10.2.2)':
|
|
11052
11052
|
dependencies:
|
|
11053
11053
|
chalk: 4.1.2
|
|
11054
11054
|
change-case: 4.1.2
|
|
@@ -11082,7 +11082,7 @@ snapshots:
|
|
|
11082
11082
|
|
|
11083
11083
|
acorn@8.18.0: {}
|
|
11084
11084
|
|
|
11085
|
-
agent-base@6.0.2:
|
|
11085
|
+
agent-base@6.0.2(supports-color@10.2.2):
|
|
11086
11086
|
dependencies:
|
|
11087
11087
|
debug: 4.4.3(supports-color@10.2.2)
|
|
11088
11088
|
transitivePeerDependencies:
|
|
@@ -11190,11 +11190,11 @@ snapshots:
|
|
|
11190
11190
|
dependencies:
|
|
11191
11191
|
possible-typed-array-names: 1.1.0
|
|
11192
11192
|
|
|
11193
|
-
axios@1.20.0:
|
|
11193
|
+
axios@1.20.0(supports-color@10.2.2):
|
|
11194
11194
|
dependencies:
|
|
11195
11195
|
follow-redirects: 1.16.0
|
|
11196
11196
|
form-data: 4.0.6
|
|
11197
|
-
https-proxy-agent: 5.0.1
|
|
11197
|
+
https-proxy-agent: 5.0.1(supports-color@10.2.2)
|
|
11198
11198
|
proxy-from-env: 2.1.0
|
|
11199
11199
|
transitivePeerDependencies:
|
|
11200
11200
|
- debug
|
|
@@ -12589,9 +12589,9 @@ snapshots:
|
|
|
12589
12589
|
statuses: 2.0.2
|
|
12590
12590
|
toidentifier: 1.0.1
|
|
12591
12591
|
|
|
12592
|
-
https-proxy-agent@5.0.1:
|
|
12592
|
+
https-proxy-agent@5.0.1(supports-color@10.2.2):
|
|
12593
12593
|
dependencies:
|
|
12594
|
-
agent-base: 6.0.2
|
|
12594
|
+
agent-base: 6.0.2(supports-color@10.2.2)
|
|
12595
12595
|
debug: 4.4.3(supports-color@10.2.2)
|
|
12596
12596
|
transitivePeerDependencies:
|
|
12597
12597
|
- supports-color
|
|
@@ -4,6 +4,7 @@ import { getBodyReadyObserverScript } from 'zova-module-a-ssr';
|
|
|
4
4
|
|
|
5
5
|
export interface IServiceSsrLayoutOptions {
|
|
6
6
|
bodyReadyObserver?: boolean;
|
|
7
|
+
sidebarWidth?: number;
|
|
7
8
|
sidebarBreakpoint?: number;
|
|
8
9
|
sidebarLeftOpenPCCapability?: boolean;
|
|
9
10
|
sidebarLeftOpenPCFallback?: boolean;
|
|
@@ -81,12 +82,10 @@ export class ServiceSsrLayout extends BeanBase {
|
|
|
81
82
|
}
|
|
82
83
|
const __domDrawerContainer=__targets?.drawerContainer;
|
|
83
84
|
const __domDrawer=__targets?.drawer;
|
|
84
|
-
const sidebarWidth = '${this.scope.config.layout.sidebar.width}px';
|
|
85
|
-
const navbarHeight = '${this.scope.config.layout.navbar.height}px';
|
|
86
85
|
if(!__domDrawerContainer||!__domDrawer)return;
|
|
87
86
|
if(__leftDrawerOpen){
|
|
88
87
|
__domDrawer.style.transform='translateX(0px)';
|
|
89
|
-
__domDrawer.style.width=sidebarWidth
|
|
88
|
+
${this.options?.sidebarWidth !== undefined ? `__domDrawer.style.width='${this.options.sidebarWidth}px';` : ''}
|
|
90
89
|
__domDrawerContainer.classList.add('drawer-open');
|
|
91
90
|
}else{
|
|
92
91
|
}
|
package/zova/src/suite/a-home/modules/home-layoutadmin/src/component/layoutAdmin/controller.tsx
CHANGED
|
@@ -27,6 +27,7 @@ export class ControllerLayoutAdmin extends BeanControllerBase {
|
|
|
27
27
|
const sidebar = this.scope.config.layout.sidebar;
|
|
28
28
|
return usePrepareArg({
|
|
29
29
|
bodyReadyObserver: sidebar.bodyReadyObserver,
|
|
30
|
+
sidebarWidth: sidebar.width,
|
|
30
31
|
sidebarBreakpoint: sidebar.breakpoint,
|
|
31
32
|
sidebarLeftOpenPCCapability: sidebar.leftOpenPCCapability,
|
|
32
33
|
sidebarLeftOpenPCFallback: sidebar.leftOpenPCFallback,
|
package/zova/src/suite/a-home/modules/home-layoutadmin/src/component/layoutAdmin/render.sidebar.tsx
CHANGED
|
@@ -10,10 +10,7 @@ export class RenderSidebar extends BeanRenderBase {
|
|
|
10
10
|
|
|
11
11
|
public render() {
|
|
12
12
|
return (
|
|
13
|
-
<div
|
|
14
|
-
class="drawer-side"
|
|
15
|
-
style={{ width: `${this.$scopeBase.config.layout.sidebar.width}px` }}
|
|
16
|
-
>
|
|
13
|
+
<div class="drawer-side" style={{ width: `${this.scope.config.layout.sidebar.width}px` }}>
|
|
17
14
|
<label htmlFor="my-drawer-2" aria-label="close sidebar" class="drawer-overlay"></label>
|
|
18
15
|
{this.$$r.$$renderMenu.render()}
|
|
19
16
|
</div>
|
|
@@ -4,11 +4,15 @@ export const config = (_sys: ZovaSys) => {
|
|
|
4
4
|
return {
|
|
5
5
|
layout: {
|
|
6
6
|
sidebar: {
|
|
7
|
+
width: 300,
|
|
7
8
|
bodyReadyObserver: true,
|
|
8
9
|
breakpoint: 1023,
|
|
9
10
|
leftOpenPCCapability: true,
|
|
10
11
|
leftOpenPCFallback: true,
|
|
11
12
|
},
|
|
13
|
+
navbar: {
|
|
14
|
+
height: 132,
|
|
15
|
+
},
|
|
12
16
|
},
|
|
13
17
|
tabs: {
|
|
14
18
|
scene: '',
|
|
@@ -26,6 +26,7 @@ export class ControllerLayoutWeb extends BeanControllerBase {
|
|
|
26
26
|
const sidebar = this.scope.config.layout.sidebar;
|
|
27
27
|
return usePrepareArg({
|
|
28
28
|
bodyReadyObserver: sidebar.bodyReadyObserver,
|
|
29
|
+
sidebarWidth: sidebar.width,
|
|
29
30
|
sidebarBreakpoint: sidebar.breakpoint,
|
|
30
31
|
sidebarLeftOpenPCCapability: sidebar.leftOpenPCCapability,
|
|
31
32
|
sidebarLeftOpenPCFallback: sidebar.leftOpenPCFallback,
|
|
@@ -61,8 +61,22 @@ export function richTextContentStyle(): NestedCSSProperties {
|
|
|
61
61
|
gap: '0.5rem',
|
|
62
62
|
},
|
|
63
63
|
'& ul[data-type="taskList"] li > label': {
|
|
64
|
-
|
|
65
|
-
|
|
64
|
+
blockSize: '1em',
|
|
65
|
+
display: 'flex',
|
|
66
|
+
flex: '0 0 1em',
|
|
67
|
+
inlineSize: '1em',
|
|
68
|
+
lineHeight: 1,
|
|
69
|
+
margin: 0,
|
|
70
|
+
marginBlockStart: '0.325em',
|
|
71
|
+
padding: 0,
|
|
72
|
+
},
|
|
73
|
+
'& ul[data-type="taskList"] li > label > input[type="checkbox"]': {
|
|
74
|
+
blockSize: '1em',
|
|
75
|
+
boxSizing: 'border-box',
|
|
76
|
+
display: 'block',
|
|
77
|
+
flex: '0 0 1em',
|
|
78
|
+
inlineSize: '1em',
|
|
79
|
+
margin: 0,
|
|
66
80
|
},
|
|
67
81
|
'& ul[data-type="taskList"] li > div': {
|
|
68
82
|
flex: 1,
|