aldehyde 0.2.494 → 0.2.495
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/lib/controls/icon-selector/icon/phonenode-menu-icon/iconfont.css +63 -63
- package/lib/draw-canvas-edit/components/asset-bar/index.less +35 -35
- package/lib/draw-canvas-edit/components/main-header/index.less +23 -23
- package/lib/layout2/page.d.ts +2 -1
- package/lib/layout2/page.d.ts.map +1 -1
- package/lib/layout2/page.js +19 -8
- package/lib/layout2/page.js.map +1 -1
- package/lib/layout2/type/layout-type.d.ts +1 -0
- package/lib/layout2/type/layout-type.d.ts.map +1 -1
- package/lib/lowcode-components/base-table/index.less +61 -61
- package/lib/lowcode-components/base-text/index.less +19 -19
- package/lib/lowcode-components/data-number/index.less +10 -10
- package/lib/lowcode-components/date-time/index.less +4 -4
- package/lib/lowcode-components/four-angle-glow-border/index.less +49 -49
- package/lib/lowcode-components/lowcode-view/component/font/FontGlobal.css +26 -26
- package/lib/lowcode-components/lowcode-view/component/screen-fit/index.less +13 -13
- package/lib/lowcode-components/text-scroller/index.less +28 -28
- package/lib/module/ltmpl-table.d.ts +7 -0
- package/lib/module/ltmpl-table.d.ts.map +1 -1
- package/lib/module/ltmpl-table.js +12 -16
- package/lib/module/ltmpl-table.js.map +1 -1
- package/lib/routable/dtmpl-route.d.ts.map +1 -1
- package/lib/routable/dtmpl-route.js +8 -2
- package/lib/routable/dtmpl-route.js.map +1 -1
- package/lib/routable/import-route.d.ts.map +1 -1
- package/lib/routable/import-route.js +9 -1
- package/lib/routable/import-route.js.map +1 -1
- package/lib/routable/ltmpl-route.d.ts.map +1 -1
- package/lib/routable/ltmpl-route.js +13 -6
- package/lib/routable/ltmpl-route.js.map +1 -1
- package/lib/routable/splitview-ltmpl-route.d.ts.map +1 -1
- package/lib/routable/splitview-ltmpl-route.js +11 -10
- package/lib/routable/splitview-ltmpl-route.js.map +1 -1
- package/lib/routable/ttmpl-route.d.ts.map +1 -1
- package/lib/routable/ttmpl-route.js +9 -2
- package/lib/routable/ttmpl-route.js.map +1 -1
- package/lib/table/act-table.d.ts +1 -0
- package/lib/table/act-table.d.ts.map +1 -1
- package/lib/table/act-table.js +31 -9
- package/lib/table/act-table.js.map +1 -1
- package/lib/table/page-chart.js +1 -1
- package/lib/table/page-chart.js.map +1 -1
- package/lib/table/row-table.d.ts +6 -0
- package/lib/table/row-table.d.ts.map +1 -1
- package/lib/table/row-table.js +21 -6
- package/lib/table/row-table.js.map +1 -1
- package/lib/tmpl/interface.d.ts +1 -0
- package/lib/tmpl/interface.d.ts.map +1 -1
- package/lib/tree/act-tree.d.ts +1 -0
- package/lib/tree/act-tree.d.ts.map +1 -1
- package/lib/tree/act-tree.js +6 -7
- package/lib/tree/act-tree.js.map +1 -1
- package/lib/tree/tree-utils.d.ts +1 -1
- package/lib/tree/tree-utils.d.ts.map +1 -1
- package/lib/tree/tree-utils.js +4 -4
- package/lib/tree/tree-utils.js.map +1 -1
- package/lib/units/index.d.ts +4 -0
- package/lib/units/index.d.ts.map +1 -1
- package/lib/units/index.js +10 -3
- package/lib/units/index.js.map +1 -1
- package/package.json +1 -1
- package/src/aldehyde/controls/icon-selector/icon/phonenode-menu-icon/iconfont.css +63 -63
- package/src/aldehyde/controls/icon-selector/icon/phonenode-menu-icon/iconfont.json +93 -93
- package/src/aldehyde/draw-canvas-edit/components/asset-bar/index.less +35 -35
- package/src/aldehyde/draw-canvas-edit/components/asset-bar/index.tsx +110 -110
- package/src/aldehyde/draw-canvas-edit/components/main-header/index.less +23 -23
- package/src/aldehyde/draw-canvas-edit/components/main-header/index.tsx +263 -263
- package/src/aldehyde/draw-canvas-edit/components/render/draws/index.ts +7 -7
- package/src/aldehyde/draw-canvas-edit/components/render/graphs/base-graph.ts +241 -241
- package/src/aldehyde/draw-canvas-edit/components/render/graphs/circle.ts +699 -699
- package/src/aldehyde/draw-canvas-edit/components/render/graphs/curve.ts +500 -500
- package/src/aldehyde/draw-canvas-edit/components/render/graphs/index.ts +5 -5
- package/src/aldehyde/draw-canvas-edit/components/render/graphs/line.ts +493 -493
- package/src/aldehyde/draw-canvas-edit/components/render/graphs/rect.ts +680 -680
- package/src/aldehyde/draw-canvas-edit/components/render/handlers/drag-handlers.ts +68 -68
- package/src/aldehyde/draw-canvas-edit/components/render/handlers/graph-handlers.ts +113 -113
- package/src/aldehyde/draw-canvas-edit/components/render/handlers/index.ts +9 -9
- package/src/aldehyde/draw-canvas-edit/components/render/handlers/key-move-handlers.ts +49 -49
- package/src/aldehyde/draw-canvas-edit/components/render/handlers/link-handlers.ts +45 -45
- package/src/aldehyde/draw-canvas-edit/components/render/handlers/shutcut-handlers.ts +45 -45
- package/src/aldehyde/draw-canvas-edit/components/render/handlers/text-handlers.ts +81 -81
- package/src/aldehyde/draw-canvas-edit/components/render/handlers/zoom-handlers.ts +59 -59
- package/src/aldehyde/draw-canvas-edit/components/render/tools/align-tool.ts +89 -89
- package/src/aldehyde/draw-canvas-edit/components/render/tools/asset-tool.ts +154 -154
- package/src/aldehyde/draw-canvas-edit/components/render/tools/link-tool.ts +222 -222
- package/src/aldehyde/draw-canvas-edit/components/render/tools/z-index-tool.ts +224 -224
- package/src/aldehyde/draw-canvas-edit/components/render/utils/a-star.ts +116 -116
- package/src/aldehyde/draw-canvas-edit/components/render/utils/bezier-scene-func.ts +72 -72
- package/src/aldehyde/draw-canvas-edit/components/setting-form/imag-upload.tsx +119 -119
- package/src/aldehyde/layout2/page.tsx +17 -9
- package/src/aldehyde/layout2/type/layout-type.ts +1 -0
- package/src/aldehyde/layout4/imgs/user.svg +26 -26
- package/src/aldehyde/lowcode-components/base-color-block/index.tsx +31 -31
- package/src/aldehyde/lowcode-components/base-table/index.less +61 -61
- package/src/aldehyde/lowcode-components/base-text/index.less +19 -19
- package/src/aldehyde/lowcode-components/data-number/index.less +10 -10
- package/src/aldehyde/lowcode-components/date-time/index.less +4 -4
- package/src/aldehyde/lowcode-components/date-time/index.tsx +64 -64
- package/src/aldehyde/lowcode-components/four-angle-glow-border/index.less +49 -49
- package/src/aldehyde/lowcode-components/four-angle-glow-border/index.tsx +53 -53
- package/src/aldehyde/lowcode-components/lowcode-view/component/abstract-controller.ts +64 -64
- package/src/aldehyde/lowcode-components/lowcode-view/component/abstract-definition.ts +77 -77
- package/src/aldehyde/lowcode-components/lowcode-view/component/abstract-designer-loader.ts +36 -36
- package/src/aldehyde/lowcode-components/lowcode-view/component/component-container.tsx +91 -91
- package/src/aldehyde/lowcode-components/lowcode-view/component/font/FontGlobal.css +26 -26
- package/src/aldehyde/lowcode-components/lowcode-view/component/group-layer/controller.ts +36 -36
- package/src/aldehyde/lowcode-components/lowcode-view/component/group-layer/definition.ts +53 -53
- package/src/aldehyde/lowcode-components/lowcode-view/component/group-layer/index.tsx +15 -15
- package/src/aldehyde/lowcode-components/lowcode-view/component/layer-builder.tsx +98 -98
- package/src/aldehyde/lowcode-components/lowcode-view/component/screen-fit/index.less +13 -13
- package/src/aldehyde/lowcode-components/lowcode-view/component/screen-fit/index.tsx +121 -121
- package/src/aldehyde/lowcode-components/placeholder-component/index.tsx +81 -81
- package/src/aldehyde/lowcode-components/text-scroller/index.less +28 -28
- package/src/aldehyde/lowcode-components/text-scroller/index.tsx +173 -173
- package/src/aldehyde/module/ltmpl-table.tsx +14 -15
- package/src/aldehyde/routable/dtmpl-route.tsx +14 -8
- package/src/aldehyde/routable/import-route.tsx +12 -5
- package/src/aldehyde/routable/ltmpl-route.tsx +14 -9
- package/src/aldehyde/routable/splitview-ltmpl-route.tsx +11 -8
- package/src/aldehyde/routable/ttmpl-route.tsx +13 -8
- package/src/aldehyde/table/act-table.tsx +28 -9
- package/src/aldehyde/table/page-chart.tsx +1 -1
- package/src/aldehyde/table/row-table.tsx +29 -6
- package/src/aldehyde/tmpl/interface.tsx +1 -0
- package/src/aldehyde/tree/act-tree.tsx +8 -6
- package/src/aldehyde/tree/tree-utils.tsx +4 -4
- package/src/aldehyde/units/index.tsx +11 -3
|
@@ -1,63 +1,63 @@
|
|
|
1
|
-
@font-face {
|
|
2
|
-
font-family: "iconfont"; /* Project id 5037136 */
|
|
3
|
-
src: url('iconfont.woff2?t=1779959747016') format('woff2'),
|
|
4
|
-
url('iconfont.woff?t=1779959747016') format('woff'),
|
|
5
|
-
url('iconfont.ttf?t=1779959747016') format('truetype');
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
.iconfont {
|
|
9
|
-
font-family: "iconfont" !important;
|
|
10
|
-
font-size: 16px;
|
|
11
|
-
font-style: normal;
|
|
12
|
-
-webkit-font-smoothing: antialiased;
|
|
13
|
-
-moz-osx-font-smoothing: grayscale;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
.icon-tingchewei:before {
|
|
17
|
-
content: "\e664";
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
.icon-quanxian:before {
|
|
21
|
-
content: "\e63f";
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.icon-gongwei:before {
|
|
25
|
-
content: "\e641";
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.icon-weixiu:before {
|
|
29
|
-
content: "\e690";
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
.icon-bumen:before {
|
|
33
|
-
content: "\e686";
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
.icon-shengchanjidi:before {
|
|
37
|
-
content: "\e63b";
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
.icon-shouye:before {
|
|
41
|
-
content: "\e63c";
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
.icon-renyuan:before {
|
|
45
|
-
content: "\e66c";
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
.icon-apply:before {
|
|
49
|
-
content: "\e61c";
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
.icon-changquguanli:before {
|
|
53
|
-
content: "\e607";
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
.icon-kuaidi:before {
|
|
57
|
-
content: "\e6c0";
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
.icon-menu:before {
|
|
61
|
-
content: "\e677";
|
|
62
|
-
}
|
|
63
|
-
|
|
1
|
+
@font-face {
|
|
2
|
+
font-family: "iconfont"; /* Project id 5037136 */
|
|
3
|
+
src: url('iconfont.woff2?t=1779959747016') format('woff2'),
|
|
4
|
+
url('iconfont.woff?t=1779959747016') format('woff'),
|
|
5
|
+
url('iconfont.ttf?t=1779959747016') format('truetype');
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.iconfont {
|
|
9
|
+
font-family: "iconfont" !important;
|
|
10
|
+
font-size: 16px;
|
|
11
|
+
font-style: normal;
|
|
12
|
+
-webkit-font-smoothing: antialiased;
|
|
13
|
+
-moz-osx-font-smoothing: grayscale;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.icon-tingchewei:before {
|
|
17
|
+
content: "\e664";
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.icon-quanxian:before {
|
|
21
|
+
content: "\e63f";
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.icon-gongwei:before {
|
|
25
|
+
content: "\e641";
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.icon-weixiu:before {
|
|
29
|
+
content: "\e690";
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.icon-bumen:before {
|
|
33
|
+
content: "\e686";
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.icon-shengchanjidi:before {
|
|
37
|
+
content: "\e63b";
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.icon-shouye:before {
|
|
41
|
+
content: "\e63c";
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.icon-renyuan:before {
|
|
45
|
+
content: "\e66c";
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.icon-apply:before {
|
|
49
|
+
content: "\e61c";
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.icon-changquguanli:before {
|
|
53
|
+
content: "\e607";
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.icon-kuaidi:before {
|
|
57
|
+
content: "\e6c0";
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.icon-menu:before {
|
|
61
|
+
content: "\e677";
|
|
62
|
+
}
|
|
63
|
+
|
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
.asset-bar {
|
|
2
|
-
background-color: #f5f5f5;
|
|
3
|
-
width: 200px;
|
|
4
|
-
min-height: 100%;
|
|
5
|
-
|
|
6
|
-
.asset-list {
|
|
7
|
-
display: flex;
|
|
8
|
-
flex-wrap: wrap;
|
|
9
|
-
padding: 4px;
|
|
10
|
-
margin: 0;
|
|
11
|
-
list-style: none;
|
|
12
|
-
|
|
13
|
-
&>li {
|
|
14
|
-
width: 20%;
|
|
15
|
-
padding-top: 20%;
|
|
16
|
-
flex-shrink: 0;
|
|
17
|
-
cursor: pointer;
|
|
18
|
-
position: relative;
|
|
19
|
-
border-radius: 4px;
|
|
20
|
-
|
|
21
|
-
&:hover {
|
|
22
|
-
background-color: #ddd;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
&>img {
|
|
26
|
-
position: absolute;
|
|
27
|
-
top: 6px;
|
|
28
|
-
left: 6px;
|
|
29
|
-
object-fit: contain;
|
|
30
|
-
width: calc(~"100% - 12px");
|
|
31
|
-
height: calc(~"100% - 12px");
|
|
32
|
-
pointer-events: none;
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
}
|
|
1
|
+
.asset-bar {
|
|
2
|
+
background-color: #f5f5f5;
|
|
3
|
+
width: 200px;
|
|
4
|
+
min-height: 100%;
|
|
5
|
+
|
|
6
|
+
.asset-list {
|
|
7
|
+
display: flex;
|
|
8
|
+
flex-wrap: wrap;
|
|
9
|
+
padding: 4px;
|
|
10
|
+
margin: 0;
|
|
11
|
+
list-style: none;
|
|
12
|
+
|
|
13
|
+
&>li {
|
|
14
|
+
width: 20%;
|
|
15
|
+
padding-top: 20%;
|
|
16
|
+
flex-shrink: 0;
|
|
17
|
+
cursor: pointer;
|
|
18
|
+
position: relative;
|
|
19
|
+
border-radius: 4px;
|
|
20
|
+
|
|
21
|
+
&:hover {
|
|
22
|
+
background-color: #ddd;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
&>img {
|
|
26
|
+
position: absolute;
|
|
27
|
+
top: 6px;
|
|
28
|
+
left: 6px;
|
|
29
|
+
object-fit: contain;
|
|
30
|
+
width: calc(~"100% - 12px");
|
|
31
|
+
height: calc(~"100% - 12px");
|
|
32
|
+
pointer-events: none;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
36
|
}
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
.main-header {
|
|
2
|
-
min-height: 40px;
|
|
3
|
-
padding: 4px 8px;
|
|
4
|
-
display: flex;
|
|
5
|
-
justify-content: space-between;
|
|
6
|
-
align-items: center;
|
|
7
|
-
background: var(--ant-layout-body-bg);
|
|
8
|
-
overflow-x: auto;
|
|
9
|
-
overflow-y: hidden;
|
|
10
|
-
|
|
11
|
-
button {
|
|
12
|
-
padding: 4px 8px;
|
|
13
|
-
font-size: 16px;
|
|
14
|
-
display: flex;
|
|
15
|
-
align-items: center;
|
|
16
|
-
justify-content: center;
|
|
17
|
-
|
|
18
|
-
&.active {
|
|
19
|
-
background-color: var(--ant-color-primary);
|
|
20
|
-
color: #fff;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
}
|
|
1
|
+
.main-header {
|
|
2
|
+
min-height: 40px;
|
|
3
|
+
padding: 4px 8px;
|
|
4
|
+
display: flex;
|
|
5
|
+
justify-content: space-between;
|
|
6
|
+
align-items: center;
|
|
7
|
+
background: var(--ant-layout-body-bg);
|
|
8
|
+
overflow-x: auto;
|
|
9
|
+
overflow-y: hidden;
|
|
10
|
+
|
|
11
|
+
button {
|
|
12
|
+
padding: 4px 8px;
|
|
13
|
+
font-size: 16px;
|
|
14
|
+
display: flex;
|
|
15
|
+
align-items: center;
|
|
16
|
+
justify-content: center;
|
|
17
|
+
|
|
18
|
+
&.active {
|
|
19
|
+
background-color: var(--ant-color-primary);
|
|
20
|
+
color: #fff;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
}
|
|
24
24
|
}
|
package/lib/layout2/page.d.ts
CHANGED
|
@@ -9,7 +9,8 @@ type PagePropsType = {
|
|
|
9
9
|
export declare const routeNavigationThemeHome: (theme: ThemeConfig, menus: MenuType[], pathname: string, navigate: NavigateFunction, closeTab: any, version?: string) => string;
|
|
10
10
|
export declare const handleMenuItemUrl: (id: string, pageType: BlockType["pageType"], query?: {
|
|
11
11
|
[key: string]: string;
|
|
12
|
-
}, customPath?: string, dragDropPageId?: string, fullScreen?: boolean, version?: string
|
|
12
|
+
}, customPath?: string, dragDropPageId?: string, fullScreen?: boolean, version?: string, // 版本路由 v2/v3
|
|
13
|
+
serverKey?: string) => string;
|
|
13
14
|
export declare const getMenuConfig: (version?: string) => Promise<{
|
|
14
15
|
systemName: string;
|
|
15
16
|
menu: MenuType[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"page.d.ts","sourceRoot":"","sources":["../../../../src/aldehyde/layout2/page.tsx"],"names":[],"mappings":"AACA,OAAO,KAIN,MAAM,OAAO,CAAC;AAKf,OAAO,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAC9C,OAAO,EAAE,SAAS,EAAqB,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAU9E,OAAO,EAA4B,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAG9E,KAAK,aAAa,GAAG;IACnB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,CAAC;AAGF,eAAO,MAAM,wBAAwB,GAAI,OAAO,WAAW,EAAE,OAAO,QAAQ,EAAE,EAAE,UAAU,MAAM,EAAE,UAAU,gBAAgB,EAAE,aAAQ,EAAE,UAAU,MAAM,WA6BvJ,CAAA;AA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AAE,KAAK,CAAC,EAAE,CAAC,aAAa,CAOxC,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
package/lib/layout2/page.js
CHANGED
|
@@ -56,14 +56,17 @@ export const routeNavigationThemeHome = (theme, menus, pathname, navigate, close
|
|
|
56
56
|
}
|
|
57
57
|
return `/${item.url}`;
|
|
58
58
|
};
|
|
59
|
-
export const handleMenuItemUrl = (id, pageType, query = {}, customPath, dragDropPageId, fullScreen, version
|
|
59
|
+
export const handleMenuItemUrl = (id, pageType, query = {}, customPath, dragDropPageId, fullScreen, version, // 版本路由 v2/v3
|
|
60
|
+
serverKey) => {
|
|
60
61
|
if (customPath)
|
|
61
62
|
return `${fullScreen ? "" : `${version}/`}page/${id}/${customPath}?menuId=${id}`;
|
|
62
63
|
if (dragDropPageId) {
|
|
63
|
-
return `${fullScreen ? "" : `${version}/`}ddpage/${id}/${dragDropPageId}?menuId=${id}`;
|
|
64
|
+
return `${fullScreen ? "" : `${version}/`}ddpage/${id}/${dragDropPageId}?menuId=${id}${serverKey ? `&serverKey=${serverKey}` : ""}`;
|
|
64
65
|
}
|
|
65
66
|
const queryParam = Object.assign({}, query);
|
|
66
67
|
queryParam["menuId"] = id;
|
|
68
|
+
if (serverKey)
|
|
69
|
+
queryParam["serverKey"] = serverKey;
|
|
67
70
|
let routePath = "", operator = "";
|
|
68
71
|
switch (pageType) {
|
|
69
72
|
case "列表":
|
|
@@ -117,6 +120,7 @@ export const handleMenuItemUrl = (id, pageType, query = {}, customPath, dragDrop
|
|
|
117
120
|
};
|
|
118
121
|
const handleMenuRes = (menuList, version) => {
|
|
119
122
|
const retList = [];
|
|
123
|
+
const crossProjectCode = {};
|
|
120
124
|
menuList.sort((a, b) => {
|
|
121
125
|
const aOrder = Number(a.order);
|
|
122
126
|
const bOrder = Number(b.order);
|
|
@@ -126,31 +130,38 @@ const handleMenuRes = (menuList, version) => {
|
|
|
126
130
|
return 1;
|
|
127
131
|
return 0;
|
|
128
132
|
});
|
|
129
|
-
for (const { id, title, disabled, hiddenOnDisabled, customPath, dragDropPageId, pageType, linkTarget, defaultCriteriaValue, items, fullScreen, icon, themeColor, funcDescription } of menuList) {
|
|
133
|
+
for (const { id, title, disabled, hiddenOnDisabled, customPath, dragDropPageId, pageType, linkTarget, defaultCriteriaValue, items, fullScreen, icon, themeColor, funcDescription, targetProgram } of menuList) {
|
|
130
134
|
if (!(hiddenOnDisabled === true && disabled === true)) {
|
|
135
|
+
const { menuList: childMenuList, crossProjectCode: childCrossProjectCode } = (items === null || items === void 0 ? void 0 : items.length) ? handleMenuRes(items, version) : {};
|
|
131
136
|
const menu = {
|
|
132
137
|
id,
|
|
133
138
|
label: title,
|
|
134
139
|
disabled: disabled === undefined ? false : disabled,
|
|
135
|
-
url: handleMenuItemUrl(id, pageType, defaultCriteriaValue, customPath, dragDropPageId, fullScreen, version),
|
|
140
|
+
url: handleMenuItemUrl(id, pageType, defaultCriteriaValue, customPath, dragDropPageId, fullScreen, version, targetProgram ? `cp_${id}` : ""),
|
|
136
141
|
linkTarget,
|
|
137
|
-
children:
|
|
142
|
+
children: childMenuList || [],
|
|
138
143
|
icon,
|
|
139
144
|
themeColor,
|
|
140
145
|
funcDescription,
|
|
141
146
|
dragDropPageId,
|
|
142
|
-
customPath
|
|
147
|
+
customPath,
|
|
148
|
+
targetProgram
|
|
143
149
|
};
|
|
144
150
|
retList.push(menu);
|
|
151
|
+
if (targetProgram)
|
|
152
|
+
crossProjectCode[`cp_${id}`] = targetProgram;
|
|
153
|
+
Object.assign(crossProjectCode, childCrossProjectCode);
|
|
145
154
|
}
|
|
146
155
|
}
|
|
147
|
-
return retList;
|
|
156
|
+
return { menuList: retList, crossProjectCode };
|
|
148
157
|
};
|
|
149
158
|
export const getMenuConfig = (...args_1) => __awaiter(void 0, [...args_1], void 0, function* (version = "v2") {
|
|
150
159
|
const res = yield HcserviceV3.requestBlocks("", "");
|
|
151
160
|
let menuList = [];
|
|
152
161
|
if (res === null || res === void 0 ? void 0 : res.blocks) {
|
|
153
|
-
|
|
162
|
+
const menuRes = handleMenuRes(res.blocks, version);
|
|
163
|
+
menuList = menuRes.menuList;
|
|
164
|
+
Units.setCrossProjectCode(menuRes.crossProjectCode);
|
|
154
165
|
}
|
|
155
166
|
let tmp = {};
|
|
156
167
|
menuList.forEach((menu) => {
|
package/lib/layout2/page.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"page.js","sourceRoot":"","sources":["../../../../src/aldehyde/layout2/page.tsx"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,cAAc,EAAE,MAAM,MAAM,CAAC;AACrD,OAAO,KAAK,EAAE,EACZ,SAAS,EACT,MAAM,EACN,QAAQ,EAAE,OAAO,EAClB,MAAM,OAAO,CAAC;AACf,OAAO,MAAM,MAAM,UAAU,CAAC;AAC9B,OAAO,KAAK,MAAM,SAAS,CAAC;AAC5B,OAAO,IAAI,MAAM,QAAQ,CAAC;AAC1B,OAAO,WAAW,MAAM,sBAAsB,CAAC;AAG/C,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AACzD,OAAO,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAC9C,OAAO,EAAE,cAAc,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AACpE,OAAO,aAAa,MAAM,sBAAsB,CAAC;AACjD,OAAO,KAAK,MAAM,UAAU,CAAC;AAC7B,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAChD,OAAO,EAAE,sBAAsB,EAAE,MAAM,QAAQ,CAAC;AAChD,OAAO,EAAgB,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC1D,OAAO,OAAO,MAAM,iBAAiB,CAAC;AACtC,OAAO,EAAE,WAAW,EAAE,WAAW,EAAoB,MAAM,kBAAkB,CAAC;AAC9E,OAAO,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAO1D,WAAW;AACX,MAAM,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AC;IACzB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,UAAU,CAAC,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"layout-type.d.ts","sourceRoot":"","sources":["../../../../../src/aldehyde/layout2/type/layout-type.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,OAAO,CAAC;AAElD,MAAM,MAAM,QAAQ,GAAG;IACrB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,OAAO,CAAC;IAClB,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;IACnB,UAAU,CAAC,EAAE,yBAAyB,CAAC;IACvC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,QAAQ,EAAE,CAAC;IACtB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB,CAAC"}
|
|
@@ -1,62 +1,62 @@
|
|
|
1
|
-
.base-table {
|
|
2
|
-
width: 100%;
|
|
3
|
-
height: 100%;
|
|
4
|
-
overflow: hidden;
|
|
5
|
-
|
|
6
|
-
.base-table-empty {
|
|
7
|
-
width: 100%;
|
|
8
|
-
height: 100%;
|
|
9
|
-
display: flex;
|
|
10
|
-
justify-content: center;
|
|
11
|
-
align-items: center;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
table {
|
|
15
|
-
width: 100%;
|
|
16
|
-
text-align: center;
|
|
17
|
-
table-layout: fixed;
|
|
18
|
-
/* 关键:合并相邻边框,消除双线 */
|
|
19
|
-
border-collapse: collapse;
|
|
20
|
-
margin-top: -2px;
|
|
21
|
-
|
|
22
|
-
thead {
|
|
23
|
-
position: relative;
|
|
24
|
-
z-index: 1;
|
|
25
|
-
|
|
26
|
-
th {
|
|
27
|
-
padding: 0 4px;
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
.scroll-body {
|
|
33
|
-
overflow: hidden;
|
|
34
|
-
animation: scroll 10s linear infinite;
|
|
35
|
-
|
|
36
|
-
td {
|
|
37
|
-
padding: 0 4px;
|
|
38
|
-
overflow: hidden;
|
|
39
|
-
white-space: nowrap;
|
|
40
|
-
text-overflow: ellipsis;
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
table:hover {
|
|
46
|
-
.scroll-body {
|
|
47
|
-
animation-play-state: paused !important;
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
@keyframes scroll {
|
|
55
|
-
0% {
|
|
56
|
-
transform: translateY(0);
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
100% {
|
|
60
|
-
transform: translateY(-100%);
|
|
61
|
-
}
|
|
1
|
+
.base-table {
|
|
2
|
+
width: 100%;
|
|
3
|
+
height: 100%;
|
|
4
|
+
overflow: hidden;
|
|
5
|
+
|
|
6
|
+
.base-table-empty {
|
|
7
|
+
width: 100%;
|
|
8
|
+
height: 100%;
|
|
9
|
+
display: flex;
|
|
10
|
+
justify-content: center;
|
|
11
|
+
align-items: center;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
table {
|
|
15
|
+
width: 100%;
|
|
16
|
+
text-align: center;
|
|
17
|
+
table-layout: fixed;
|
|
18
|
+
/* 关键:合并相邻边框,消除双线 */
|
|
19
|
+
border-collapse: collapse;
|
|
20
|
+
margin-top: -2px;
|
|
21
|
+
|
|
22
|
+
thead {
|
|
23
|
+
position: relative;
|
|
24
|
+
z-index: 1;
|
|
25
|
+
|
|
26
|
+
th {
|
|
27
|
+
padding: 0 4px;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
.scroll-body {
|
|
33
|
+
overflow: hidden;
|
|
34
|
+
animation: scroll 10s linear infinite;
|
|
35
|
+
|
|
36
|
+
td {
|
|
37
|
+
padding: 0 4px;
|
|
38
|
+
overflow: hidden;
|
|
39
|
+
white-space: nowrap;
|
|
40
|
+
text-overflow: ellipsis;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
table:hover {
|
|
46
|
+
.scroll-body {
|
|
47
|
+
animation-play-state: paused !important;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
@keyframes scroll {
|
|
55
|
+
0% {
|
|
56
|
+
transform: translateY(0);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
100% {
|
|
60
|
+
transform: translateY(-100%);
|
|
61
|
+
}
|
|
62
62
|
}
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
|
|
2
|
-
.base-text-component {
|
|
3
|
-
--stroke-color: #000000;
|
|
4
|
-
--stroke-width: 0;
|
|
5
|
-
|
|
6
|
-
height: 100%;
|
|
7
|
-
display: flex;
|
|
8
|
-
-webkit-text-stroke-color: var(--stroke-color);
|
|
9
|
-
-webkit-text-stroke-width: var(--stroke-width);
|
|
10
|
-
stroke-color: var(--stroke-color);
|
|
11
|
-
stroke-width: var(--stroke-width);
|
|
12
|
-
|
|
13
|
-
input {
|
|
14
|
-
outline: none;
|
|
15
|
-
width: 100%;
|
|
16
|
-
background-color: rgba(255, 222, 173, 0);
|
|
17
|
-
text-align: center;
|
|
18
|
-
border: none;
|
|
19
|
-
}
|
|
1
|
+
|
|
2
|
+
.base-text-component {
|
|
3
|
+
--stroke-color: #000000;
|
|
4
|
+
--stroke-width: 0;
|
|
5
|
+
|
|
6
|
+
height: 100%;
|
|
7
|
+
display: flex;
|
|
8
|
+
-webkit-text-stroke-color: var(--stroke-color);
|
|
9
|
+
-webkit-text-stroke-width: var(--stroke-width);
|
|
10
|
+
stroke-color: var(--stroke-color);
|
|
11
|
+
stroke-width: var(--stroke-width);
|
|
12
|
+
|
|
13
|
+
input {
|
|
14
|
+
outline: none;
|
|
15
|
+
width: 100%;
|
|
16
|
+
background-color: rgba(255, 222, 173, 0);
|
|
17
|
+
text-align: center;
|
|
18
|
+
border: none;
|
|
19
|
+
}
|
|
20
20
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
.data-number-component {
|
|
2
|
-
--stroke-color: #000000;
|
|
3
|
-
--stroke-width: 0;
|
|
4
|
-
|
|
5
|
-
height: 100%;
|
|
6
|
-
display: flex;
|
|
7
|
-
-webkit-text-stroke-color: var(--stroke-color);
|
|
8
|
-
-webkit-text-stroke-width: var(--stroke-width);
|
|
9
|
-
stroke-color: var(--stroke-color);
|
|
10
|
-
stroke-width: var(--stroke-width);
|
|
1
|
+
.data-number-component {
|
|
2
|
+
--stroke-color: #000000;
|
|
3
|
+
--stroke-width: 0;
|
|
4
|
+
|
|
5
|
+
height: 100%;
|
|
6
|
+
display: flex;
|
|
7
|
+
-webkit-text-stroke-color: var(--stroke-color);
|
|
8
|
+
-webkit-text-stroke-width: var(--stroke-width);
|
|
9
|
+
stroke-color: var(--stroke-color);
|
|
10
|
+
stroke-width: var(--stroke-width);
|
|
11
11
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
.date-time-component {
|
|
2
|
-
width: 100%;
|
|
3
|
-
height: 100%;
|
|
4
|
-
display: flex;
|
|
1
|
+
.date-time-component {
|
|
2
|
+
width: 100%;
|
|
3
|
+
height: 100%;
|
|
4
|
+
display: flex;
|
|
5
5
|
}
|