@next-bricks/data-view 0.15.24 → 0.16.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.
Files changed (37) hide show
  1. package/dist/bricks.json +5 -3
  2. package/dist/chunks/1577.3477adaa.js +2 -0
  3. package/dist/chunks/1577.3477adaa.js.map +1 -0
  4. package/dist/chunks/5114.77c0d899.js +2 -0
  5. package/dist/chunks/5114.77c0d899.js.map +1 -0
  6. package/dist/chunks/app-wall-card-item.6370ffe9.js.map +1 -1
  7. package/dist/chunks/app-wall.6211e1e1.js +2 -0
  8. package/dist/chunks/app-wall.6211e1e1.js.map +1 -0
  9. package/dist/chunks/main.12d0bed8.js +2 -0
  10. package/dist/chunks/{main.8c05278d.js.map → main.12d0bed8.js.map} +1 -1
  11. package/dist/chunks/simple-card-item.204cca98.js +3 -0
  12. package/dist/chunks/simple-card-item.204cca98.js.LICENSE.txt +5 -0
  13. package/dist/chunks/simple-card-item.204cca98.js.map +1 -0
  14. package/dist/examples.json +3 -0
  15. package/dist/images/9ed60655.png +0 -0
  16. package/dist/index.3ecf0551.js +2 -0
  17. package/dist/index.3ecf0551.js.map +1 -0
  18. package/dist/manifest.json +80 -17
  19. package/dist/types.json +280 -5
  20. package/dist-types/app-wall/card-item/index.d.ts +6 -15
  21. package/dist-types/app-wall/index.d.ts +22 -12
  22. package/dist-types/app-wall/interface.d.ts +5 -1
  23. package/dist-types/app-wall/utils.d.ts +4 -3
  24. package/dist-types/bootstrap.d.ts +1 -0
  25. package/dist-types/simple-card-item/index.d.ts +47 -0
  26. package/dist-types/simple-card-item/index.spec.d.ts +1 -0
  27. package/docs/simple-card-item.md +9 -0
  28. package/package.json +2 -2
  29. package/dist/chunks/5114.f4058c94.js +0 -2
  30. package/dist/chunks/5114.f4058c94.js.map +0 -1
  31. package/dist/chunks/6301.6aae1ef6.js +0 -2
  32. package/dist/chunks/6301.6aae1ef6.js.map +0 -1
  33. package/dist/chunks/app-wall.45e4ed2d.js +0 -2
  34. package/dist/chunks/app-wall.45e4ed2d.js.map +0 -1
  35. package/dist/chunks/main.8c05278d.js +0 -2
  36. package/dist/index.6c66ec12.js +0 -2
  37. package/dist/index.6c66ec12.js.map +0 -1
package/dist/types.json CHANGED
@@ -1843,6 +1843,135 @@
1843
1843
  "events": [],
1844
1844
  "methods": []
1845
1845
  },
1846
+ "data-view.simple-card-item": {
1847
+ "properties": [
1848
+ {
1849
+ "name": "status",
1850
+ "annotation": {
1851
+ "type": "union",
1852
+ "types": [
1853
+ {
1854
+ "type": "jsLiteral",
1855
+ "value": "normal"
1856
+ },
1857
+ {
1858
+ "type": "jsLiteral",
1859
+ "value": "warning"
1860
+ }
1861
+ ]
1862
+ }
1863
+ },
1864
+ {
1865
+ "name": "cardTitle",
1866
+ "annotation": {
1867
+ "type": "keyword",
1868
+ "value": "string"
1869
+ }
1870
+ },
1871
+ {
1872
+ "name": "description",
1873
+ "annotation": {
1874
+ "type": "keyword",
1875
+ "value": "string"
1876
+ }
1877
+ },
1878
+ {
1879
+ "name": "color",
1880
+ "annotation": {
1881
+ "type": "indexedAccess",
1882
+ "objectType": {
1883
+ "type": "reference",
1884
+ "typeName": {
1885
+ "type": "qualifiedName",
1886
+ "left": {
1887
+ "type": "identifier",
1888
+ "name": "React"
1889
+ },
1890
+ "right": {
1891
+ "type": "identifier",
1892
+ "name": "CSSProperties"
1893
+ }
1894
+ }
1895
+ },
1896
+ "indexType": {
1897
+ "type": "jsLiteral",
1898
+ "value": "color"
1899
+ }
1900
+ }
1901
+ },
1902
+ {
1903
+ "name": "descriptionList",
1904
+ "annotation": {
1905
+ "type": "array",
1906
+ "elementType": {
1907
+ "type": "reference",
1908
+ "typeName": {
1909
+ "type": "identifier",
1910
+ "name": "descriptionListItem"
1911
+ }
1912
+ }
1913
+ }
1914
+ },
1915
+ {
1916
+ "name": "background",
1917
+ "annotation": {
1918
+ "type": "indexedAccess",
1919
+ "objectType": {
1920
+ "type": "reference",
1921
+ "typeName": {
1922
+ "type": "qualifiedName",
1923
+ "left": {
1924
+ "type": "identifier",
1925
+ "name": "React"
1926
+ },
1927
+ "right": {
1928
+ "type": "identifier",
1929
+ "name": "CSSProperties"
1930
+ }
1931
+ }
1932
+ },
1933
+ "indexType": {
1934
+ "type": "jsLiteral",
1935
+ "value": "background"
1936
+ }
1937
+ }
1938
+ }
1939
+ ],
1940
+ "events": [],
1941
+ "methods": [],
1942
+ "types": [
1943
+ {
1944
+ "type": "interface",
1945
+ "name": "descriptionListItem",
1946
+ "body": [
1947
+ {
1948
+ "type": "propertySignature",
1949
+ "key": {
1950
+ "type": "identifier",
1951
+ "name": "key"
1952
+ },
1953
+ "annotation": {
1954
+ "type": "keyword",
1955
+ "value": "string"
1956
+ },
1957
+ "computed": false
1958
+ },
1959
+ {
1960
+ "type": "propertySignature",
1961
+ "key": {
1962
+ "type": "identifier",
1963
+ "name": "value"
1964
+ },
1965
+ "annotation": {
1966
+ "type": "keyword",
1967
+ "value": "string"
1968
+ },
1969
+ "computed": false
1970
+ }
1971
+ ]
1972
+ }
1973
+ ]
1974
+ },
1846
1975
  "data-view.loading-panel": {
1847
1976
  "properties": [
1848
1977
  {
@@ -2733,6 +2862,33 @@
2733
2862
  "type": "keyword",
2734
2863
  "value": "boolean"
2735
2864
  }
2865
+ },
2866
+ {
2867
+ "name": "disabledDefaultClickEvent",
2868
+ "annotation": {
2869
+ "type": "keyword",
2870
+ "value": "boolean"
2871
+ }
2872
+ },
2873
+ {
2874
+ "name": "cardSize",
2875
+ "annotation": {
2876
+ "type": "reference",
2877
+ "typeName": {
2878
+ "type": "identifier",
2879
+ "name": "CardSize"
2880
+ }
2881
+ }
2882
+ },
2883
+ {
2884
+ "name": "cardBrickName",
2885
+ "annotation": {
2886
+ "type": "reference",
2887
+ "typeName": {
2888
+ "type": "identifier",
2889
+ "name": "AppWallCardBrickNameType"
2890
+ }
2891
+ }
2736
2892
  }
2737
2893
  ],
2738
2894
  "events": [
@@ -2783,6 +2939,18 @@
2783
2939
  }
2784
2940
  }
2785
2941
  }
2942
+ },
2943
+ {
2944
+ "name": "card.click",
2945
+ "detail": {
2946
+ "annotation": {
2947
+ "type": "reference",
2948
+ "typeName": {
2949
+ "type": "identifier",
2950
+ "name": "AppData"
2951
+ }
2952
+ }
2953
+ }
2786
2954
  }
2787
2955
  ],
2788
2956
  "methods": [],
@@ -2831,11 +2999,23 @@
2831
2999
  "name": "cardItemProps"
2832
3000
  },
2833
3001
  "annotation": {
2834
- "type": "reference",
2835
- "typeName": {
2836
- "type": "identifier",
2837
- "name": "AppWallCardItemProps"
2838
- }
3002
+ "type": "intersection",
3003
+ "types": [
3004
+ {
3005
+ "type": "reference",
3006
+ "typeName": {
3007
+ "type": "identifier",
3008
+ "name": "AppWallCardItemProps"
3009
+ }
3010
+ },
3011
+ {
3012
+ "type": "reference",
3013
+ "typeName": {
3014
+ "type": "identifier",
3015
+ "name": "SimpleCardItemProps"
3016
+ }
3017
+ }
3018
+ ]
2839
3019
  },
2840
3020
  "computed": false
2841
3021
  },
@@ -2903,6 +3083,101 @@
2903
3083
  }
2904
3084
  ]
2905
3085
  }
3086
+ },
3087
+ {
3088
+ "type": "interface",
3089
+ "name": "CardSize",
3090
+ "body": [
3091
+ {
3092
+ "type": "propertySignature",
3093
+ "key": {
3094
+ "type": "identifier",
3095
+ "name": "width"
3096
+ },
3097
+ "annotation": {
3098
+ "type": "keyword",
3099
+ "value": "number"
3100
+ },
3101
+ "computed": false
3102
+ },
3103
+ {
3104
+ "type": "propertySignature",
3105
+ "key": {
3106
+ "type": "identifier",
3107
+ "name": "height"
3108
+ },
3109
+ "annotation": {
3110
+ "type": "keyword",
3111
+ "value": "number"
3112
+ },
3113
+ "computed": false
3114
+ },
3115
+ {
3116
+ "type": "propertySignature",
3117
+ "key": {
3118
+ "type": "identifier",
3119
+ "name": "outerWidth"
3120
+ },
3121
+ "annotation": {
3122
+ "type": "keyword",
3123
+ "value": "number"
3124
+ },
3125
+ "computed": false
3126
+ },
3127
+ {
3128
+ "type": "propertySignature",
3129
+ "key": {
3130
+ "type": "identifier",
3131
+ "name": "outerHeight"
3132
+ },
3133
+ "annotation": {
3134
+ "type": "keyword",
3135
+ "value": "number"
3136
+ },
3137
+ "computed": false
3138
+ },
3139
+ {
3140
+ "type": "propertySignature",
3141
+ "key": {
3142
+ "type": "identifier",
3143
+ "name": "lgWidth"
3144
+ },
3145
+ "annotation": {
3146
+ "type": "keyword",
3147
+ "value": "number"
3148
+ },
3149
+ "computed": false
3150
+ },
3151
+ {
3152
+ "type": "propertySignature",
3153
+ "key": {
3154
+ "type": "identifier",
3155
+ "name": "lgHeight"
3156
+ },
3157
+ "annotation": {
3158
+ "type": "keyword",
3159
+ "value": "number"
3160
+ },
3161
+ "computed": false
3162
+ }
3163
+ ]
3164
+ },
3165
+ {
3166
+ "type": "typeAlias",
3167
+ "name": "AppWallCardBrickNameType",
3168
+ "annotation": {
3169
+ "type": "union",
3170
+ "types": [
3171
+ {
3172
+ "type": "jsLiteral",
3173
+ "value": "data-view.app-wall-card-item"
3174
+ },
3175
+ {
3176
+ "type": "jsLiteral",
3177
+ "value": "data-view.simple-card-item"
3178
+ }
3179
+ ]
3180
+ }
2906
3181
  }
2907
3182
  ]
2908
3183
  },
@@ -15,25 +15,16 @@ export interface AppWallCardItemProps {
15
15
  */
16
16
  declare class AppWallCardItem extends ReactNextElement implements AppWallCardItemProps {
17
17
  /**
18
- * @kind "normal" | "warning"
19
- * @required false
20
- * @default "normal"
21
- * @description 状态
22
- */
18
+ * 状态
19
+ */
23
20
  accessor status: "normal" | "warning";
24
21
  /**
25
- * @kind string
26
- * @required false
27
- * @default
28
- * @description 标题
29
- */
22
+ * 标题
23
+ */
30
24
  accessor cardTitle: string;
31
25
  /**
32
- * @kind string
33
- * @required false
34
- * @default
35
- * @description 描述
36
- */
26
+ * 描述
27
+ */
37
28
  accessor description: string;
38
29
  render(): JSX.Element;
39
30
  }
@@ -1,7 +1,9 @@
1
1
  /// <reference types="react" />
2
2
  import { ReactNextElement } from "@next-core/react-element";
3
3
  import type { AppData, Relation } from "./utils.js";
4
+ import { AppWallCardBrickNameType, CardSize } from "./interface.js";
4
5
  export interface AppWallProps {
6
+ cardSize: CardSize;
5
7
  dataSource: AppData[];
6
8
  relations: Relation[];
7
9
  useDblclick?: boolean;
@@ -10,6 +12,9 @@ export interface AppWallProps {
10
12
  leftBtnOnClick?: (data: AppData) => void;
11
13
  rightBtnOnClick?: (data: AppData) => void;
12
14
  handleCardDbClick?: (data: AppData) => void;
15
+ disabledDefaultClickEvent?: boolean;
16
+ handleCardClick?: (data: AppData) => void;
17
+ cardBrickName: AppWallCardBrickNameType;
13
18
  }
14
19
  /**
15
20
  * @id data-view.app-wall
@@ -22,32 +27,37 @@ export interface AppWallProps {
22
27
  declare class AppWall extends ReactNextElement implements AppWallProps {
23
28
  #private;
24
29
  /**
25
- * @default
26
- * @required
27
- * @description 数据
30
+ * 数据
28
31
  */
29
32
  accessor dataSource: AppData[];
30
33
  /**
31
- * @default
32
- * @required
33
- * @description 关系
34
+ * 关系
34
35
  */
35
36
  accessor relations: Relation[];
36
37
  /**
37
- * @default
38
- * @required
39
- * @description 是否使用双击事件,开启之后卡片不会触发内部dblclick事件展示梯台
38
+ * 是否使用双击事件,开启之后卡片不会触发内部dblclick事件展示梯台
40
39
  */
41
40
  accessor useDblclick: boolean;
42
41
  /**
43
- * @default
44
- * @required
45
- * @description 是否使用内置的distanceConfig配置
42
+ * 是否使用内置的distanceConfig配置
46
43
  */
47
44
  accessor useDistanceConfig: boolean;
45
+ /**
46
+ * 是否禁用触发默认单击事件,开启之后卡片不会触发内部click事件展示卡片,直接跑出了点击事件
47
+ */
48
+ accessor disabledDefaultClickEvent: boolean;
49
+ /**
50
+ * 卡的大小配置,注意这里卡片大小宽高将影响T台大小展示
51
+ */
52
+ accessor cardSize: CardSize;
53
+ /**
54
+ * 卡片支持的构件类型
55
+ */
56
+ accessor cardBrickName: AppWallCardBrickNameType;
48
57
  handleLeftClick: (data: AppData) => void;
49
58
  handleRightClick: (data: AppData) => void;
50
59
  handleCardDbClick: (data: AppData) => void;
60
+ handleCardClick: (data: AppData) => void;
51
61
  render(): JSX.Element;
52
62
  }
53
63
  export { AppWall };
@@ -2,6 +2,8 @@ import { Vector3Tuple, Object3D } from "three";
2
2
  import { CSS3DObject } from "three/examples/jsm/renderers/CSS3DRenderer.js";
3
3
  import { CabinetThumbnailProps } from "../cabinet/cabinet-thumbnail/index.jsx";
4
4
  import { AppData } from "./utils.js";
5
+ import { AppWallCardItem } from "./card-item/index.js";
6
+ import { SimpleCardItem } from "../simple-card-item/index.js";
5
7
  interface TrapezoidalObjectData {
6
8
  width: number;
7
9
  height: number;
@@ -22,7 +24,7 @@ export type Position = {
22
24
  y: number;
23
25
  z: number;
24
26
  };
25
- export type Grid = Omit<Position, 'z'>;
27
+ export type Grid = Omit<Position, "z">;
26
28
  export type Target = AppData & Grid;
27
29
  export interface Targets {
28
30
  table: Object3D[];
@@ -68,4 +70,6 @@ export interface RegisterEvents {
68
70
  isShowRelations: boolean;
69
71
  enable: boolean;
70
72
  }
73
+ export type AppWallCardBrickNameType = "data-view.app-wall-card-item" | "data-view.simple-card-item";
74
+ export type AppWallCardBrickEleType = AppWallCardItem & SimpleCardItem;
71
75
  export {};
@@ -6,11 +6,12 @@ import "./system-card/index.js";
6
6
  import type { AppWallCardItemProps } from "./card-item/index.js";
7
7
  import type { AppWallRelationLineProps } from "./relation-line/index.js";
8
8
  import type { SystemCardProps } from "./system-card/index.js";
9
- import { TrapezoidalObjectProps, TrapezoidalProps, bounds, CardSize, DistanceConfig, Position, Target, Ele } from "./interface.js";
9
+ import { TrapezoidalObjectProps, TrapezoidalProps, bounds, CardSize, DistanceConfig, Position, Target, Ele, AppWallCardBrickNameType } from "./interface.js";
10
+ import { SimpleCardItemProps } from "../simple-card-item/index.js";
10
11
  export interface AppData {
11
12
  key: string;
12
13
  status: "normal" | "warning";
13
- cardItemProps: AppWallCardItemProps;
14
+ cardItemProps: AppWallCardItemProps & SimpleCardItemProps;
14
15
  systemCardProps: SystemCardProps;
15
16
  trapezoidalProps: TrapezoidalProps;
16
17
  }
@@ -87,4 +88,4 @@ export declare const computeCurvePosition: (data: Target, cardSize: CardSize, ma
87
88
  export declare const createCurveTarget: (data: Target, cardSize: CardSize, maxX: number, maxY: number, angle: number, radius: number) => Object3D<import("three").Event>;
88
89
  export declare const computeCameraDistance: (camera: PerspectiveCamera, bounds: bounds, distanceConfig: DistanceConfig[], length: number) => number;
89
90
  export declare const getAppRelations: (object: CSS3DObject, relationsData: Relation[]) => Relation[];
90
- export declare const findElementByEvent: (e: MouseEvent) => Ele;
91
+ export declare const findElementByEvent: (e: MouseEvent, tagName: AppWallCardBrickNameType) => Ele;
@@ -31,3 +31,4 @@ import "./top-title-bar/index.js";
31
31
  import "./lights-component-title/index.js";
32
32
  import "./hi-tech-button/index.js";
33
33
  import "./tech-mesh-base-view/index.js";
34
+ import "./simple-card-item/index.js";
@@ -0,0 +1,47 @@
1
+ import React from "react";
2
+ import { ReactNextElement } from "@next-core/react-element";
3
+ import "@next-core/theme";
4
+ interface descriptionListItem {
5
+ key: string;
6
+ value: string;
7
+ }
8
+ export interface SimpleCardItemProps {
9
+ cardTitle: string;
10
+ description: string;
11
+ status?: "normal" | "warning";
12
+ color?: React.CSSProperties["color"];
13
+ background?: React.CSSProperties["background"];
14
+ descriptionList?: descriptionListItem[];
15
+ }
16
+ /**
17
+ * 构件 `data-view.simple-card-item`
18
+ */
19
+ export declare class SimpleCardItem extends ReactNextElement {
20
+ /**
21
+ * 状态
22
+ */
23
+ accessor status: "normal" | "warning";
24
+ /**
25
+ * 标题
26
+ */
27
+ accessor cardTitle: string;
28
+ /**
29
+ * 描述
30
+ */
31
+ accessor description: string;
32
+ /**
33
+ * 字体颜色
34
+ */
35
+ accessor color: React.CSSProperties["color"];
36
+ /**
37
+ * 字体颜色
38
+ */
39
+ accessor descriptionList: descriptionListItem[];
40
+ /**
41
+ * 背景颜色
42
+ */
43
+ accessor background: React.CSSProperties["background"];
44
+ render(): JSX.Element;
45
+ }
46
+ export declare function SimpleCardItemComponent(props: SimpleCardItemProps): JSX.Element;
47
+ export {};
@@ -0,0 +1 @@
1
+ import "./";
@@ -0,0 +1,9 @@
1
+ 构件 `data-view.simple-card-item`
2
+
3
+ ## Examples
4
+
5
+ ### Basic
6
+
7
+ ```html preview
8
+ <data-view.simple-card-item>Hello world</data-view.simple-card-item>
9
+ ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@next-bricks/data-view",
3
- "version": "0.15.24",
3
+ "version": "0.16.0",
4
4
  "homepage": "https://github.com/easyops-cn/next-bricks/tree/master/bricks/data-view",
5
5
  "repository": {
6
6
  "type": "git",
@@ -39,5 +39,5 @@
39
39
  "@types/d3-hierarchy": "^3.1.2",
40
40
  "@types/three": "^0.150.1"
41
41
  },
42
- "gitHead": "e810d1a6ff20c07084d6c603cc0b52b395c7e7d8"
42
+ "gitHead": "6bb93b55108ae2a4a415b6d26306c4f01434d659"
43
43
  }
@@ -1,2 +0,0 @@
1
- "use strict";(self.webpackChunk_next_bricks_data_view=self.webpackChunk_next_bricks_data_view||[]).push([[5114],{2685:(e,t,r)=>{r.d(t,{j:()=>R});var a=r(7896),n=r(8657),o=r.n(n),i=r(6995),l=r(5095),c=r(4827),s=r(2839),p=r(3028),d=(r(4012),r(37),r(7984),(e,t,r)=>{var a=(new i.Pa4).subVectors(t,e),n=a.length(),o=document.createElement("data-view.app-wall-relation-line");o.style.height="".concat(n,"px"),o.classList.add("relation-line"),o.lightColor=r;var c=new l.cp(o),s=(new i.Pa4).lerpVectors(e,t,.5);c.position.copy(s);var p=(new i._fP).setFromUnitVectors(new i.Pa4(0,1,0).normalize(),a.clone().normalize());return c.setRotationFromQuaternion(p),c}),u=(e,t)=>{var r=new i.Pa4(e[0],e[1],e[2]),a=new i.Pa4(t[0],t[1],t[2]);return{centerVector:(new i.Pa4).lerpVectors(r,a,.5),subVector:(new i.Pa4).subVectors(r,a)}},h=e=>{var{BW:t,TW:r,d:a,TH:n,BH:o,isLeft:c}=e,s=Math.sqrt(Math.pow(r/2-t/2,2)+Math.pow(a,2)),p=document.createElement("div");p.style.cssText="\n width: ".concat(s,"px;\n height:").concat(n,"px;\n position: relative;\n clip-path: polygon(0 0, ").concat(s,"px ").concat(n/2-o/2,"px, ").concat(s,"px ").concat(n/2-o/2+o,"px, 0 ").concat(n,"px);\n ");var d=document.createElement("div");d.className="trapezoidalLeftOrRightAnimation",p.appendChild(d);var h=c?[-t/2,0,0]:[t/2,0,0],g=c?[-r/2,0,a]:[r/2,0,a],b=new l.cp(p),{centerVector:m,subVector:v}=u(h,g);b.position.copy(m);var x=(new i._fP).setFromUnitVectors(new i.Pa4(1,0,0).normalize(),v.clone().normalize());return b.setRotationFromQuaternion(x),b},g=e=>{var{BW:t,TW:r,d:a,TH:n,BH:o,isTop:c}=e,s=Math.sqrt(Math.pow(n/2-o/2,2)+Math.pow(a,2)),p=document.createElement("div");p.style.cssText="\n width: ".concat(r,"px;\n height:").concat(s,"px;\n position: relative;\n clip-path: polygon(0 0, ").concat(r,"px 0, ").concat(r/2-t/2+t,"px ").concat(s,"px, ").concat(r/2-t/2,"px ").concat(s,"px);\n ");var d=document.createElement("div");d.className="trapezoidalTopOrBottomAnimation",p.appendChild(d);var h=new l.cp(p),g=c?[0,-o/2,0]:[0,o/2,0],b=c?[0,-n/2,a]:[0,n/2,a],{centerVector:m,subVector:v}=u(g,b);h.position.copy(m);var x=(new i._fP).setFromUnitVectors(new i.Pa4(0,-1,0).normalize(),v.clone().normalize());return h.setRotationFromQuaternion(x),h},b=e=>{var{objectData:t,leftBtnName:r,clusters:a,columns:n,leftOnClick:o,rightBtnName:i,rightOnClick:c,appName:s}=e,p=600,d=document.createElement("div"),u=new l.cp(d);u.position.set(...t.point);var b=t.width,m=t.height,v=1500,x=1200,w=document.createElement("div");w.style.cssText="\n width: ".concat(b,"px;\n height: ").concat(m,"px;\n box-shadow: inset 0px 1px 2px 0px rgba(255,255,255,0.45);\n border: 1px solid rgba(118,255,255,0.58);\n padding: 16px;\n ");var f=new l.cp(w);f.position.z=0,u.add(f);var y=document.createElement("div");y.style.cssText="\n width: ".concat(v,"px;\n height:").concat(x,"px;\n background: linear-gradient(rgb(13, 54, 179,0.6) 0%, rgb(74, 108, 156,0.6) 100%);\n box-sizing: border-box;\n padding: 16px;\n ");var k=document.createElement("data-view.cabinet-thumbnail");k.clusters=null!=a?a:[],k.columns=null!=n?n:4,k.appName=s,y.className="visibilityAnimate",y.appendChild(k);var z=new l.cp(y);z.position.set(0,0,p);var T=h({BW:b,TW:v,BH:m,TH:x,d:p,isLeft:!0}),C=h({BW:b,TW:v,BH:m,TH:x,d:p,isLeft:!1}),P=g({BW:b,TW:v,BH:m,TH:x,d:p,isTop:!0}),E=g({BW:b,TW:v,BH:m,TH:x,d:p,isTop:!1});if(u.add(T,C,E,P),r){var S=document.createElement("div");S.style.cssText="\n color: #6BE0FA;\n font-size: 28px;\n font-weight: 500;\n width: ".concat(750,"px;\n line-height: 16px;\n "),S.className="visibilityAnimate";var M=document.createElement("span");M.style.cursor="pointer",M.innerText=r,S.appendChild(M);var F=new l.cp(S);F.position.set(-365,-600,14),F.rotateX(Math.PI/2),z.add(F),M.onpointerdown=o}if(i){var B=document.createElement("div");B.style.cssText="\n color: #FFFFFF;\n font-size: 30px;\n font-weight: 500;\n width: ".concat(750,"px;\n text-shadow: 0px 1px 4px #3366FF;\n text-align: right;\n "),B.className="visibilityAnimate";var R=document.createElement("span");R.style.cursor="pointer",R.innerText=i,B.appendChild(R);var A=new l.cp(B);A.position.set(365,-600,14),A.rotateX(Math.PI/2),z.add(A),R.onpointerdown=c}return u.add(z),u},m=(e,t,r)=>{if(null==e||!e.length)return[];var a=e.map((e=>(0,p.Z)((0,p.Z)({},e),{},{x:0,y:0})));if(a.length===t*r)a=a.map(((e,r)=>(0,p.Z)((0,p.Z)({},e),{},{x:r%t+1,y:parseInt("".concat(r/t))+1})));else{for(var n=t*(r-1),o=a.length-n,i=0;i<n;i++){var l=a[i];l.x=i%t+1,l.y=parseInt("".concat(i/t))+1}for(var c=0;c<o/2;c++){var s=a[c+n],d=a[a.length-1-c];s.x=c+1,s.y=r,s!==d&&(d.x=t-c,d.y=r)}}return a},v=(e,t,r,a)=>{var n=new i.Tme;return n.position.x=e.x*t.outerWidth-(r/2+.5)*t.outerWidth,n.position.y=-e.y*t.outerHeight+(a/2+.5)*t.outerHeight,n},x=(e,t,r,a,n,o)=>{var l=new i.Tme,c=new i.Pa4,s=((e,t,r,a,n)=>{var o={x:0,y:0,z:0},i=parseInt("".concat(r*t.outerWidth*180))/(n*Math.PI),l=r/2+.5;return o.x=i*Math.sin(Math.PI/(180/((e.x-l)*(n/r)))),o.y=-e.y*t.outerHeight+(a/2+.5)*t.outerHeight,o.z=i-Math.sqrt(i*i-o.x*o.x),o})(e,t,r,a,n);return l.position.x=s.x,l.position.y=s.y,l.position.z=s.z,c.x=0,c.y=l.position.y,c.z=o,l.lookAt(c),l},w=(e,t,r,a)=>{var n=t.height+2*t.margin,o=(t.width+2*t.margin)/e.aspect,i=.5*Math.max(o,n)/Math.tan(e.fov*Math.PI/360)+t.z,l=0;return r.forEach((function(e){a>=Math.min.apply(null,e.numRange)&&a<=Math.max.apply(null,e.numRange)&&(l=e.distance)})),Math.max(l,i)},f=(e,t)=>{var r=[],a=e.userData;return Array.isArray(t)&&t.length&&t.forEach((function(e){a.key!==e.source&&a.key!==e.target||r.push(e)})),r},y=e=>{var t=e.composedPath().find((e=>null==e?void 0:e.shadowRoot));if("DATA-VIEW.APP-WALL-CARD-ITEM"===(null==t?void 0:t.tagName))return t;var r=document.elementFromPoint(e.clientX,e.clientY),a=null==r?void 0:r.shadowRoot.elementFromPoint(e.clientX,e.clientY);return"DATA-VIEW.APP-WALL-CARD-ITEM"===(null==a?void 0:a.tagName)?a:null},k=r(3105),z=r(2779),T=r.n(z),C={width:120,height:160,outerWidth:140,outerHeight:180,lgWidth:180,lgHeight:240},P=[{numRange:[0,40],distance:3e3},{numRange:[40,60],distance:2200},{numRange:[60,80],distance:2700},{numRange:[80,120],distance:3200},{numRange:[120,160],distance:3400},{numRange:[160,300],distance:3600}],E=45,S=100,M=300,F=e=>{var t=Math.ceil(Math.sqrt(e*C.outerHeight/(.4*C.outerWidth))),r=Math.ceil(e/t),a=parseInt("".concat(t*C.outerWidth*180))/(S*Math.PI);return{maxX:t,maxY:r,radius:a,bounds:{width:2*a*Math.sin(Math.PI*(S/2)/180)+C.outerWidth,height:r*C.outerHeight,margin:100,z:a-a*Math.cos(Math.PI*(S/2)/180)}}},B=(0,k.wrapBrick)("data-view.app-wall-system-card");function R(e){var{relations:t,onSystemCardButtonClick:r,useDblclick:p,useDistanceConfig:u,handleCardDbClick:h,rightBtnOnClick:g,leftBtnOnClick:k}=e,[z,R]=(0,n.useState)(null),A=(0,n.useRef)(),I=(0,n.useRef)(),_=(0,n.useRef)(),W=(0,n.useRef)(),X=(0,n.useRef)(),D=(0,n.useRef)(),L=(0,n.useRef)(),N=(0,n.useRef)(),H=(0,n.useRef)(),O=(0,n.useRef)(),V=(0,n.useRef)({table:[],curve:[]}),Z=(0,n.useRef)([]),j=(0,n.useRef)([]),Y=(0,n.useRef)({maxX:0,maxY:0,radius:0,bounds:{width:0,height:0,margin:100,z:0}}),G=(0,n.useRef)({element:null,mouseoverTimer:null,mouseoutTimer:null,clickTimer:null,dblClickTimer:null,isShowGraph3D:!1,isShowAppInfo:!1,isShowRelations:!1,enable:!0}),U=(0,n.useCallback)((()=>{D.current.render(L.current,N.current)}),[]),q=e=>{var t;if(null===(t=G.current)||void 0===t||!t.element)return null==e?void 0:e();var{__objectCSS:r,__curve:a,__userData:n}=G.current.element;new s.kX(r.rotation).to({x:a.rotation.x,y:a.rotation.y,z:a.rotation.z},300).start(),new s.kX(r.scale).to({x:1,y:1,z:1},300).start(),new s.kX(r.position).to({x:a.position.x,y:a.position.y,z:a.position.z},300).onUpdate(U).onStart((()=>{var e;r.element.classList.remove("status-".concat(n.status||"normal","-card")),null===(e=Z.current)||void 0===e||e.forEach((e=>{e.element.style.opacity="1"})),j.current.forEach((e=>{L.current.remove(e)})),j.current=[],U()})).onComplete((()=>{var t;G.current.isShowRelations=!1,null==e||e(null===(t=G.current)||void 0===t?void 0:t.element)})).start()},Q=(e,t)=>{G.current.enable=!1;for(var r=0;r<Z.current.length;r++){var a=Z.current[r],n=e[r];new s.kX(a.position).to({x:n.position.x,y:n.position.y,z:n.position.z},i.M8C.randFloat(t,2*t)).easing(s.oY.Exponential.InOut).start(),new s.kX(a.rotation).to({x:n.rotation.x,y:n.rotation.y,z:n.rotation.z},i.M8C.randFloat(t,2*t)).easing(s.oY.Exponential.InOut).start()}new s.kX({}).to({},2*t).onUpdate(U).start().onComplete((()=>{G.current.enable=!0}))},K=e=>{H.current.reset();var t=G.current.element.__objectCSS,r=G.current.element.__curve;G.current.enable=!1,G.current.isShowAppInfo=!0;var a,n={x:r.position.x>0?2*-C.width:2*C.width,y:0,z:(N.current.position.z-500)/1.5},o={x:0,y:0,z:N.current.position.z-500},i={x:0,y:r.rotation.y>0?90*-Math.PI/180:90*Math.PI/180,z:0},l={x:0,y:r.rotation.y>0?180*-Math.PI/180:180*Math.PI/180,z:0},c=new s.kX(t.position),p=new s.kX(t.rotation),d=new s.kX(t.position),u=new s.kX(t.rotation);e?(c.to(n,500).easing().onComplete((()=>{X.current.hidden=!0,G.current.element.style.opacity="1"})),p.to(i,500).easing(),d.to({x:r.position.x,y:r.position.y,z:r.position.z},700).easing(),u.to({x:r.rotation.x,y:r.rotation.y,z:r.rotation.z},700).easing().onComplete((()=>{var e;null===(e=Z.current)||void 0===e||e.forEach((e=>{e.element.style.opacity="1"}))}))):(null===(a=Z.current)||void 0===a||a.forEach((e=>{t!=e&&(e.element.style.opacity="0.2")})),c.to(n,700).easing().onStart((()=>{W.current.hidden=!1,X.current.hidden=!0})),p.to(i,700).easing(),d.to(o,500).easing().onStart((function(){G.current.element.style.opacity="0",X.current.style.transition="transition: all .3s ease",X.current.hidden=!1})),u.to(l,500).easing()),c.chain(d).start(),p.chain(u).start(),new s.kX({}).to({},1400).onUpdate((()=>{if(U(),Math.abs(t.rotation.y)>=Math.PI/2){var e=G.current.element.getBoundingClientRect(),r=1.35,a=e.width*r,n=e.height*r;X.current.style.width="".concat(a,"px"),X.current.style.height="".concat(n,"px"),X.current.style.top="".concat(e.top-(r-1)*n/2,"px"),X.current.style.left="".concat(e.left-(r-1)*a/2,"px")}})).start().onComplete((function(){G.current.enable=!0,G.current.isShowAppInfo=!e,W.current.hidden=e}))};return(0,n.useEffect)((()=>{var e;(()=>{var e=window.innerWidth,t=window.innerHeight,r=e/t,a=new l.lX;a.setSize(e,t),I.current.replaceChildren(a.domElement);var n=new i.cPb(E,r,.1,1e4),o=new c.$(n,a.domElement);o.rotateSpeed=.5,o.minDistance=500,o.maxDistance=1e4;var s=new i.xsS;L.current=s,N.current=n,H.current=o,D.current=a})();var t=()=>{e=requestAnimationFrame(t),s.ZP.update(),H.current.update()};t();var r=()=>{N.current.aspect=window.innerWidth/window.innerHeight,N.current.updateProjectionMatrix(),D.current.setSize(window.innerWidth,window.innerHeight),U()};return H.current.addEventListener("change",U),window.addEventListener("resize",r),()=>{window.removeEventListener("resize",r),H.current.removeEventListener("change",U),H.current.dispose(),s.ZP.removeAll(),N.current.clear(),L.current.clear(),cancelAnimationFrame(e)}}),[]),(0,n.useEffect)((()=>{var t,r=(null===(t=e.dataSource)||void 0===t?void 0:t.length)||0;r>0&&((e=>{Y.current=F(e)})(r),N.current.position.z=w(N.current,Y.current.bounds,u?P:[],r),N.current.updateProjectionMatrix(),H.current.position0.copy(N.current.position),m(e.dataSource,Y.current.maxX,Y.current.maxY).forEach(((e,t)=>{var r,a,n=document.createElement("data-view.app-wall-card-item");n.status=e.status,n.cardTitle=null===(r=e.cardItemProps)||void 0===r?void 0:r.cardTitle,n.description=null===(a=e.cardItemProps)||void 0===a?void 0:a.description;var o="status-".concat((null==e?void 0:e.status)||"normal");n.className="card-item-container ".concat(o),n.style.width="".concat(C.width,"px"),n.style.height="".concat(C.height,"px"),n.classList.add("card-item-wrap");var i=new l.cp(n);i.position.set(4e3*Math.random()-2e3,4e3*Math.random()-2e3,4e3*Math.random()-2e3),L.current.add(i),Z.current.push(i);var c=v(e,C,Y.current.maxX,Y.current.maxY);V.current.table.push(c);var s=x(e,C,Y.current.maxX,Y.current.maxY,S,Y.current.radius);V.current.curve.push(s),i.userData=e,n.__objectCSS=i,n.__userData=e,n.__curve=s})),Q(V.current.curve,1500));return()=>{H.current.reset(),s.ZP.removeAll(),Z.current.map((e=>{L.current.remove(e)})),Z.current=[],V.current={table:[],curve:[]},G.current={element:null,mouseoverTimer:null,mouseoutTimer:null,clickTimer:null,dblClickTimer:null,enable:!0,isShowAppInfo:!1,isShowGraph3D:!1,isShowRelations:!1}}}),[e.dataSource,u]),(0,n.useEffect)((()=>{var e=A.current,r=e=>{if(clearTimeout(G.current.mouseoverTimer),G.current.isShowAppInfo||G.current.isShowGraph3D||!G.current.enable)return!1;var r=y(e);G.current.mouseoverTimer=window.setTimeout((()=>{q((()=>{r&&!G.current.isShowAppInfo&&(e=>{var{__objectCSS:r,__userData:a}=e,n=r.rotation.y,o={x:r.position.x+50*Math.sin(n),y:r.position.y+15,z:r.position.z+100*Math.cos(n)},i=1.25;G.current.isShowRelations=!0,new s.kX(r.rotation).to({x:0,y:0,z:0},300).onStart((()=>{r.element.classList.add("status-".concat(a.status||"normal","-card"))})).start(),new s.kX(r.scale).to({x:i,y:i,z:i},300).start(),new s.kX(r.position).to(o,300).onUpdate(U).onComplete((function(){var a,n,o,i,l,c;l=f(a=r,t),c=a.userData,null==l||l.forEach((e=>{e.source===c.key?(i=Z.current.find((t=>t.userData.key===e.target)),o=i&&d(a.position,i.position,"blue")):(i=Z.current.find((t=>t.userData.key===e.source)),o=i&&d(i.position,a.position,"purple")),o&&(j.current.push(o),L.current.add(o))})),null===(n=Z.current)||void 0===n||n.forEach((e=>{a!=e&&l.every((t=>t.source!=e.userData.key&&t.target!=e.userData.key))&&(e.element.style.opacity="0.2")})),U(),G.current.element=e})).start()})(r),clearTimeout(G.current.mouseoverTimer)}))}),500)},a=e=>{if(clearTimeout(G.current.clickTimer),clearTimeout(G.current.mouseoverTimer),G.current.isShowAppInfo||G.current.isShowGraph3D||!G.current.enable)return!1;var t=y(e);G.current.clickTimer=window.setTimeout((function(){clearTimeout(G.current.mouseoverTimer),q((()=>{t&&(clearTimeout(G.current.clickTimer),clearTimeout(G.current.mouseoverTimer),e.stopPropagation(),G.current.element=t,R(t.__userData),K(!1))}))}),300)},n=e=>{if(clearTimeout(G.current.clickTimer),clearTimeout(G.current.mouseoverTimer),clearTimeout(G.current.dblClickTimer),G.current.isShowAppInfo||G.current.isShowGraph3D||!G.current.enable)return!1;var t=y(e),{__userData:r,__objectCSS:a}=t;G.current.isShowGraph3D=!0,G.current.dblClickTimer=window.setTimeout((function(){q((()=>{var e;if(p||(null===(e=r.trapezoidalProps)||void 0===e||null===(e=e.clusters)||void 0===e?void 0:e.length)<1)h(r),G.current.isShowGraph3D=!1;else if(t){clearTimeout(G.current.mouseoverTimer),clearTimeout(G.current.clickTimer),I.current.classList.add("mask-container"),H.current.reset();var n={x:a.position.x,y:860+C.height*(Y.current.maxY-r.y)},o=new s.kX(N.current.position),i=new s.kX({opacity:0,scale:0,borderLeftWidth:0,borderRightWidth:0,borderTopWidth:0,borderBottomWidth:0}),l=new s.kX({z:0}),c=new s.kX(N.current.position),d=new s.kX(H.current.target),u=new s.kX({blur:12,spread:0});Q(V.current.table,600),o.to({x:0,y:-3600,z:1600},1e3).chain(u,i,l),i.to({opacity:1},700).onStart((()=>{var e,t,n,o,i,l=b({objectData:{width:C.width,height:C.height,point:[a.position.x,a.position.y,a.position.z]},clusters:null===(e=r.trapezoidalProps)||void 0===e?void 0:e.clusters,columns:null===(t=r.trapezoidalProps)||void 0===t?void 0:t.columns,appName:null===(n=r.trapezoidalProps)||void 0===n?void 0:n.appName,leftBtnName:null===(o=r.trapezoidalProps)||void 0===o?void 0:o.leftBtnName,rightBtnName:null===(i=r.trapezoidalProps)||void 0===i?void 0:i.rightBtnName,rightOnClick:()=>g(r),leftOnClick:()=>k(r)});O.current=l,L.current.add(l)})),l.to({z:M},1e3).delay(230).chain(c,d),c.to({x:n.x,y:-3600+n.y},1e3),d.to({x:n.x,y:n.y},1e3).onComplete((function(){_.current.style.visibility="visible"})),o.start()}}))}),300)};return e.addEventListener("dblclick",n),e.addEventListener("click",a),e.addEventListener("mouseover",r),()=>{e.removeEventListener("mouseover",r),e.removeEventListener("click",a),e.removeEventListener("dblclick",n)}}),[]),o().createElement("div",{className:"appwall-container",ref:A},o().createElement("div",{className:"appwall",ref:I}),o().createElement("div",{className:"mask",ref:W,onClick:()=>{G.current.enable&&K(!0)},hidden:!0},o().createElement(B,(0,a.Z)({},null==z?void 0:z.systemCardProps,{onClick:e=>e.stopPropagation(),handleClick:()=>r(z),ref:X,className:T()({infoWrapper:"normal"===(null==z?void 0:z.status),warningWrapper:"warning"===(null==z?void 0:z.status)})}))),o().createElement("div",{className:"closeBtn",ref:_,onClick:()=>{(()=>{s.ZP.removeAll();var e=new s.kX({z:0}),t=new s.kX({opacity:1}),r=new s.kX(N.current.position),a=new s.kX(H.current.target),n=new s.kX({blur:1500,spread:100});e.to({z:M},1e3).chain(r,a,n),t.to({opacity:0},1e3).onStart((()=>{L.current.remove(O.current),_.current.style.visibility="hidden"})).delay(300),r.to(H.current.position0,1e3).onComplete((function(){H.current.reset(),I.current.classList.remove("mask-container"),Q(V.current.curve,600),G.current.isShowGraph3D=!1})),a.to({x:0,y:0,z:0},1e3),n.to({blur:0,spread:0},1e3),e.start(),t.start()})()}}))}},2284:(e,t,r)=>{r.d(t,{Z:()=>l});var a=r(9601),n=r.n(a),o=r(2609),i=r.n(o)()(n());i.push([e.id,':host{display:block;width:100%;height:100%}:host([hidden]){display:none}*,\n*::before,\n*::after{box-sizing:border-box}.mask-container{position:absolute;top:0;left:0;width:100%;height:100%;background:#0c1216;z-index:1000}.appwall{position:relative}.appwall.loading .card-item{pointer-events:none!important}.mask{position:absolute;width:100%;height:100%;top:0;bottom:0;left:0;right:0;z-index:100;display:flex;align-items:center;justify-content:center}.mask[hidden]{display:none}.infoWrapper{position:absolute;background:var(--color-fill-bg-base-4);box-shadow:0 0 12px 2px rgba(80,255,255,0.45),inset 0 0 22px 0 #20242A;border:2px solid #50FFFF;overflow:hidden}.warningWrapper{position:absolute;background:linear-gradient(180deg,#CC0066 0%,rgba(204,0,102,0.2) 100%),#0F1117FF;box-shadow:0 0 12px 2px rgba(204,0,102,0.4),inset 0 4px 10px 0 rgba(255,255,255,0.65);overflow:hidden}.relation-line{pointer-events:none!important}.closeBtn{visibility:hidden;position:fixed;top:50px;right:50px;width:46px;height:46px;text-align:center;border:1px solid;color:rgb(138 189 255/84%);font-size:20px;line-height:46px;cursor:pointer;background:rgba(138,189,255,0.13);border-image:linear-gradient(135deg,rgba(255,255,255,0.5),rgba(255,255,255,0),rgba(255,255,255,0.33)) 1 1;display:flex;justify-content:center;align-items:center;z-index:1000}.closeBtn:before,\n.closeBtn:after{content:"";width:2px;height:20px;background:linear-gradient(180deg,#3467FF 0%,#98CBFF 100%);position:absolute}.closeBtn:before{transform:rotateZ(45deg)}.closeBtn:after{transform:rotateZ(-45deg)}.closeBtn:hover:after,\n.closeBtn:hover:before{background:var(--color-normal-text)}.visibilityAnimate{visibility:hidden;animation:visibility 0.5s both 1s}.trapezoidalLeftOrRightAnimation,\n.trapezoidalTopOrBottomAnimation{background:linear-gradient(180deg,rgba(51,102,255,0.4) 0%,#99CCFF 100%);opacity:0.2;position:absolute}.trapezoidalTopOrBottomAnimation{bottom:0;width:100%;left:0;animation:animateTop 1s both}.trapezoidalLeftOrRightAnimation{top:0;right:0;height:100%;animation:animateLeft 1s both}@keyframes animateTop{0%{height:0}100%{height:100%}}@keyframes animateLeft{0%{width:0}100%{width:100%}}@keyframes visibility{0%{visibility:hidden}100%{visibility:visible}}.card-item-container{transition:opacity 0.5s}.status-normal-card{box-shadow:0 0 100px rgba(80,255,255,0.58);border:1px solid rgba(80,255,255,0.58);background:-webkit-gradient(liner,left top,left bottom,from(#002c8d),to(#00123e));background:linear-gradient(to bottom,rgba(80,255,255,1) 0%,rgba(80,255,255,0) 100%)}.status-warning-card{box-shadow:0 0 100px #CC0066;background:-webkit-gradient(liner,left top,left bottom,from(#CC0066),to(rgba(204,0,102,0.2)));background:linear-gradient(to bottom,#CC0066 0%,rgba(204,0,102,0.2) 100%)}',""]);const l=i.toString()},9214:(e,t,r)=>{r.d(t,{Z:()=>l});var a=r(9601),n=r.n(a),o=r(2609),i=r.n(o)()(n());i.push([e.id,":host{display:inline-block;width:100%;height:100%}:host([hidden]){display:none}*,\n*::before,\n*::after{box-sizing:border-box}.card-item-container{position:relative;width:100%;height:100%}.card-item{position:relative;width:100%;height:100%;display:flex;justify-content:center;align-items:center;text-align:center;border-radius:var(--no-border-radius);border-color:transparent;transition:border-color 0.5s}.status-normal:hover{box-shadow:0 0 100px rgba(80,255,255,0.58);border:1px solid rgba(80,255,255,0.58);background:-webkit-gradient(liner,left top,left bottom,from(#002c8d),to(#00123e));background:linear-gradient(to bottom,rgba(80,255,255,1) 0%,rgba(80,255,255,0) 100%)}.status-warning:hover{box-shadow:0 0 100px #CC0066;background:-webkit-gradient(liner,left top,left bottom,from(#CC0066),to(rgba(204,0,102,0.2)));background:linear-gradient(to bottom,#CC0066 0%,rgba(204,0,102,0.2) 100%)}.card-item-container.status-normal .card-item{background:var(--color-fill-bg-base-4);box-shadow:inset 0px 1px 2px 0px rgba(255,255,255,0.45)}.card-item-container.status-normal:hover .card-item{border:2px solid rgba(80,255,255,0.58)}.card-item-container.status-warning .card-item{background:linear-gradient(180deg,#CC0066 0%,rgba(204,0,102,0.2) 100%);box-shadow:inset 0px 2px 6px 0px rgba(255,255,255,0.65)}.card-item-container.status-warning:hover .card-item{border:none}.card-item-text-container{width:100%;padding:0 12px}.card-item-title,\n.card-item-description{font-size:20px;font-weight:var(--font-weight-500);color:var(--color-normal-text)}.card-item-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.card-item-description{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}",""]);const l=i.toString()},8384:(e,t,r)=>{r.d(t,{Z:()=>l});var a=r(9601),n=r.n(a),o=r(2609),i=r.n(o)()(n());i.push([e.id,":host{display:inline-block;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;height:100%}:host([hidden]){display:none}*,\n*::before,\n*::after{box-sizing:border-box}.relation-line{position:relative;width:6px;height:100%;background:var(--color-text-divider-line-1);overflow:hidden}.relation-line::after{content:'';position:absolute;width:100%;height:20%;left:0px;top:0px;animation:lightMove 1000ms ease-in-out infinite,lightOpacity 1000ms ease-in-out infinite}.relation-line.light-color-blue::after{background:linear-gradient(rgba(80,255,255,0) 0%,rgba(80,255,255,1) 90%,#DFFFFF 100%)}.relation-line.light-color-purple::after{background:linear-gradient(rgba(102,0,255,0) 0%,rgba(102,0,255,1) 90%,#B07BFF 100%)}@keyframes lightMove{0%{top:0;transform:translateY(-100%)}100%{top:100%;transform:translateY(0)}}@keyframes lightOpacity{0%{opacity:0}20%{opacity:1}80%{opacity:1}100%{opacity:0}}",""]);const l=i.toString()},9948:(e,t,r)=>{r.d(t,{Z:()=>l});var a=r(9601),n=r.n(a),o=r(2609),i=r.n(o)()(n());i.push([e.id,":host{display:inline-block}:host([hidden]){display:none}*,\n*::before,\n*::after{box-sizing:border-box}.wrapper{position:relative;width:100%;height:100%;padding:30px 24px 35px;left:0;display:flex;flex-direction:column;border-radius:var(--no-border-radius)}.cardName{font-size:var(--title-font-size-strong);line-height:22px;text-align:center;font-weight:var(--font-weight-500);color:var(--color-normal-text);text-shadow:0 1px 4px rgba(51,102,255,0.5);margin-bottom:35px;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.descriptions{flex:1;margin-bottom:20px;font-size:var(--auxiliary-font-size-small);overflow:auto;font-weight:var(--font-weight-400)}.descriptionsItem .itemKey{color:var(--color-secondary-text)}.descriptionsItem .itemValue{color:var(--color-strong-text)}.descriptionsItem{display:flex;gap:10px;margin-bottom:12px}.descriptionsItem>div{flex:1;text-align:left;word-break:break-all}.buttonContent{position:absolute;bottom:16px;right:24px;font-size:var(--auxiliary-font-size);color:#99CCFF;cursor:pointer;font-weight:var(--font-weight-500)}.buttonName{margin-left:5px}",""]);const l=i.toString()},1043:(e,t,r)=>{r.d(t,{Z:()=>l});var a=r(9601),n=r.n(a),o=r(2609),i=r.n(o)()(n());i.push([e.id,":host{--palette-rgba-white-1:rgba(255,255,255,10%);--palette-rgba-white-2:rgba(255,255,255,20%);--palette-rgba-white-3:rgba(255,255,255,30%);--palette-rgba-white-4:rgba(255,255,255,40%);--palette-rgba-white-5:rgba(255,255,255,50%);--palette-rgba-white-6:rgba(255,255,255,60%);--palette-rgba-white-7:rgba(255,255,255,70%);--palette-rgba-white-8:rgba(255,255,255,80%);--palette-rgba-white-9:rgba(255,255,255,90%);--palette-rgba-white-10:rgba(255,255,255,100%);--palette-rgba-gray-1:rgba(0,0,0,10%);--palette-rgba-gray-2:rgba(0,0,0,20%);--palette-rgba-gray-3:rgba(0,0,0,30%);--palette-rgba-gray-4:rgba(0,0,0,40%);--palette-rgba-gray-5:rgba(0,0,0,50%);--palette-rgba-gray-6:rgba(0,0,0,60%);--palette-rgba-gray-7:rgba(0,0,0,70%);--palette-rgba-gray-8:rgba(0,0,0,80%);--palette-rgba-gray-9:rgba(0,0,0,90%);--palette-rgba-gray-10:rgba(0,0,0,100%);--palette-rgba-blue-gray-2:rgba(101,106,134,20%);--palette-rgba-blue-gray-3:rgba(101,106,134,30%);--palette-rgba-blue-gray-8:rgba(101,106,134,80%);--palette-tech-blue-4-channel:67,127,255;--palette-tech-blue-4:rgb(var(--palette-tech-blue-4-channel));--palette-tech-blue-6-channel:51,102,255;--palette-tech-blue-6:rgb(var(--palette-tech-blue-6-channel));--palette-tech-blue-8-channel:40,69,159;--palette-tech-blue-8:rgb(var(--palette-tech-blue-8-channel));--palette-sea-green-4-channel:131,245,225;--palette-sea-green-4:rgb(var(--palette-sea-green-4-channel));--palette-green-6-channel:81,235,73;--palette-green-6:rgb(var(--palette-green-6-channel));--palette-green-2:rgba(var(--palette-green-6-channel),20%);--palette-lotus-pink-7-channel:204,0,102;--palette-lotus-pink-7:rgb(var(--palette-lotus-pink-7-channel));--palette-red-6-channel:242,39,39;--palette-red-6:rgb(var(--palette-red-6-channel));--palette-red-2:rgba(var(--palette-red-6-channel),20%);--color-fill-global-bg:#0f1014;--color-fill-bg-container-1:var(--palette-rgba-white-1);--color-fill-bg-container-2:var(--palette-rgba-blue-gray-2);--color-fill-bg-container-3:var(--palette-rgba-blue-gray-8);--color-fill-bg-base-1:var(--palette-rgba-blue-gray-2);--color-fill-bg-base-2:rgba(15,16,20,0%);--color-fill-bg-base-3:rgba(0,0,0,20%);--color-fill-bg-base-4:rgba(40,46,58,100%);--color-fill-bg-base-5:rgba(19,25,47,80%);--color-fill-bg-base-6:var(--palette-rgba-blue-gray-3);--color-brand:var(--palette-tech-blue-6);--color-brand-hover:var(--palette-tech-blue-4);--color-brand-active:var(--palette-tech-blue-8);--color-contrast-1:var(--palette-sea-green-4);--color-error:var(--palette-red-6);--color-error-bg:var(--palette-red-2);--color-success:var(--palette-green-6);--color-success-bg:var(--palette-green-2);--color-header-text-big:var(--palette-rgba-white-10);--color-header-text:var(--palette-rgba-white-10);--color-normal-text:var(--palette-rgba-white-10);--color-strong-text:var(--palette-rgba-white-9);--color-auxiliary-text:var(--palette-rgba-white-8);--color-secondary-text:var(--palette-rgba-white-6);--color-disabled-text:var(--palette-rgba-white-4);--color-border-divider-line:var(--palette-rgba-white-1);--color-text-divider-line-1:var(--palette-rgba-white-2);--color-text-divider-line-2:var(--palette-rgba-white-2);--small-border-radius:2px;--medius-border-radius:5px;--larger-border-radius:12px;--container-border-radius:9999px;--no-border-radius:0px;--mask-bg:var(--palette-rgba-gray-7);--title-font-size-larger:30px;--title-font-size-strong:22px;--title-font-size:18px;--normal-font-size:14px;--auxiliary-font-size:16px;--auxiliary-font-size-small:12px;--overview-data-font-size:34px;--statistics-data-font-size:28px;--normal-data-font-size-larger:20px;--normal-data-font-size:16px;--chart-legend-font-size:12px;--chart-tooltips-font-size-1:12px;--chart-tooltips-font-size-2:12px;--chart-axis-x-font-size:12px;--chart-axis-x-font-size-larger:14px;--chart-axis-y-font-size:12px;--chart-axis-y-font-size-larger:14px;--font-weight-600:600;--font-weight-500:500;--font-weight-400:400;--text-shadow:0px 1px 4px #2863ee;--border-width-base:1px;--border-width-double-base:2px;--border-width-tribble-base:3px;--punctate-width-base:1px;--paragraph-width-base:1px;--button-text-color:#40d0db}",""]);const l=i.toString()}}]);
2
- //# sourceMappingURL=5114.f4058c94.js.map