@next-bricks/data-view 0.24.0 → 0.24.2

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 (75) hide show
  1. package/dist/bricks.json +2 -2
  2. package/dist/chunks/9809.8236099c.js.map +1 -1
  3. package/dist/chunks/app-wall.cfe34da4.js.map +1 -1
  4. package/dist/chunks/basic-index-group.a540fab1.js.map +1 -1
  5. package/dist/chunks/battery-chart.155daf1c.js.map +1 -1
  6. package/dist/chunks/brick-notification.0b3be734.js.map +1 -1
  7. package/dist/chunks/cabinet-graph.eb4f2420.js.map +1 -1
  8. package/dist/chunks/complex-search.d8b3bf64.js.map +1 -1
  9. package/dist/chunks/data-display-flipper-fifth.2ae5ec8a.js.map +1 -1
  10. package/dist/chunks/data-display-flipper-sixth.85dabbfb.js.map +1 -1
  11. package/dist/chunks/data-display-flipper.9ad4898b.js.map +1 -1
  12. package/dist/chunks/dropdown-menu.6d7a1efd.js.map +1 -1
  13. package/dist/chunks/gauge-chart.5605e2ea.js.map +1 -1
  14. package/dist/chunks/gear-background.9da57ea0.js.map +1 -1
  15. package/dist/chunks/graph-layout-grid.ae9fa2db.js.map +1 -1
  16. package/dist/chunks/graph-node.a4442441.js.map +1 -1
  17. package/dist/chunks/graph-text.80fb0341.js.map +1 -1
  18. package/dist/chunks/grid-background.490aa2d4.js.map +1 -1
  19. package/dist/chunks/indicator-card.dad90cc9.js.map +1 -1
  20. package/dist/chunks/lights-component-title.a95a2abe.js.map +1 -1
  21. package/dist/chunks/loading-panel.1e534c7f.js.map +1 -1
  22. package/dist/chunks/modern-style-component-title.8e9462d6.js.map +1 -1
  23. package/dist/chunks/modern-style-page-title.81f35a48.js.map +1 -1
  24. package/dist/chunks/modern-style-treemap.d8d3967d.js.map +1 -1
  25. package/dist/chunks/particle-animation.95162605.js.map +1 -1
  26. package/dist/chunks/radar-chart.c393d1dc.js.map +1 -1
  27. package/dist/chunks/simple-card-item.45cc5b36.js.map +1 -1
  28. package/dist/chunks/tabs-drawer.5c42cc42.js.map +1 -1
  29. package/dist/chunks/tabs-page-title.df51ae41.js.map +1 -1
  30. package/dist/chunks/tech-mesh-base-view.9246e109.js.map +1 -1
  31. package/dist/chunks/title-text.9446a7f8.js.map +1 -1
  32. package/dist/chunks/top-title-bar.c36d6df1.js.map +1 -1
  33. package/dist/examples.json +3 -3
  34. package/dist/{index.4be4af6b.js → index.b107a415.js} +2 -2
  35. package/dist/{index.4be4af6b.js.map → index.b107a415.js.map} +1 -1
  36. package/dist/manifest.json +94 -66
  37. package/dist/types.json +50 -50
  38. package/dist-types/app-wall/card-item/index.d.ts +2 -2
  39. package/dist-types/app-wall/index.d.ts +3 -2
  40. package/dist-types/app-wall/relation-line/index.d.ts +2 -2
  41. package/dist-types/basic-index-group/index.d.ts +2 -2
  42. package/dist-types/battery-chart/index.d.ts +2 -1
  43. package/dist-types/brick-notification/index.d.ts +4 -3
  44. package/dist-types/cabinet/cabinet-app-layer/index.d.ts +2 -2
  45. package/dist-types/cabinet/cabinet-node/index.d.ts +2 -2
  46. package/dist-types/cabinet/index.d.ts +4 -7
  47. package/dist-types/complex-search/index.d.ts +1 -0
  48. package/dist-types/data-display-flipper/index.d.ts +3 -2
  49. package/dist-types/data-display-flipper-fifth/index.d.ts +3 -2
  50. package/dist-types/data-display-flipper-sixth/index.d.ts +3 -2
  51. package/dist-types/dropdown-menu/index.d.ts +3 -2
  52. package/dist-types/gauge-chart/index.d.ts +4 -3
  53. package/dist-types/gear-background/index.d.ts +2 -1
  54. package/dist-types/graph/layout-grid/index.d.ts +1 -0
  55. package/dist-types/graph/node/index.d.ts +1 -0
  56. package/dist-types/graph/text/index.d.ts +1 -0
  57. package/dist-types/grid-background/index.d.ts +1 -0
  58. package/dist-types/hi-tech-button/index.d.ts +2 -2
  59. package/dist-types/index.d.ts +0 -1
  60. package/dist-types/indicator-card/index.d.ts +4 -3
  61. package/dist-types/lights-component-title/index.d.ts +4 -3
  62. package/dist-types/loading-panel/index.d.ts +1 -0
  63. package/dist-types/modern-style-component-title/index.d.ts +3 -2
  64. package/dist-types/modern-style-page-title/index.d.ts +3 -2
  65. package/dist-types/modern-style-treemap/index.d.ts +3 -2
  66. package/dist-types/particle-animation/index.d.ts +1 -0
  67. package/dist-types/radar-chart/index.d.ts +3 -2
  68. package/dist-types/radar-chart/interface.d.ts +2 -1
  69. package/dist-types/simple-card-item/index.d.ts +3 -2
  70. package/dist-types/tabs-drawer/index.d.ts +1 -0
  71. package/dist-types/tabs-page-title/index.d.ts +4 -3
  72. package/dist-types/tech-mesh-base-view/index.d.ts +4 -3
  73. package/dist-types/title-text/index.d.ts +4 -3
  74. package/dist-types/top-title-bar/index.d.ts +4 -3
  75. package/package.json +2 -2
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from "react";
2
2
  import { ReactNextElement } from "@next-core/react-element";
3
3
  interface DropdownMenuProps {
4
4
  curElement?: HTMLElement;
@@ -14,6 +14,7 @@ interface DropdownMenuProps {
14
14
  /**
15
15
  * 基础下拉菜单
16
16
  * @author nlicroshan
17
+ * @category big-screen-content
17
18
  */
18
19
  declare class DropdownMenu extends ReactNextElement implements DropdownMenuProps {
19
20
  #private;
@@ -48,6 +49,6 @@ declare class DropdownMenu extends ReactNextElement implements DropdownMenuProps
48
49
  * @description 是否允许清除
49
50
  */
50
51
  accessor allowClear: boolean;
51
- render(): JSX.Element;
52
+ render(): React.JSX.Element;
52
53
  }
53
54
  export { DropdownMenu };
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from "react";
2
2
  import { ReactNextElement } from "@next-core/react-element";
3
3
  interface GaugeChartProps {
4
4
  value: number;
@@ -10,6 +10,7 @@ interface GaugeChartProps {
10
10
  /**
11
11
  * 大屏仪表盘
12
12
  * @author astrid
13
+ * @category big-screen-content
13
14
  */
14
15
  declare class GaugeChart extends ReactNextElement implements GaugeChartProps {
15
16
  /**
@@ -42,7 +43,7 @@ declare class GaugeChart extends ReactNextElement implements GaugeChartProps {
42
43
  * @description 值的字体大小,默认35
43
44
  */
44
45
  accessor fontSize: number;
45
- render(): JSX.Element;
46
+ render(): React.JSX.Element;
46
47
  }
47
- export declare function GaugeChartComponent(props: GaugeChartProps): JSX.Element;
48
+ export declare function GaugeChartComponent(props: GaugeChartProps): React.JSX.Element;
48
49
  export { GaugeChart };
@@ -6,6 +6,7 @@ interface GearBackgroundProps {
6
6
  /**
7
7
  * 齿轮背景
8
8
  * @author astrid
9
+ * @category big-screen-layout
9
10
  */
10
11
  declare class GearBackground extends ReactNextElement implements GearBackgroundProps {
11
12
  /**
@@ -17,5 +18,5 @@ declare class GearBackground extends ReactNextElement implements GearBackgroundP
17
18
  accessor color: React.CSSProperties["color"];
18
19
  render(): React.ReactNode;
19
20
  }
20
- export declare function GearBackgroundComponent(props: GearBackgroundProps): JSX.Element;
21
+ export declare function GearBackgroundComponent(props: GearBackgroundProps): React.JSX.Element;
21
22
  export { GearBackground };
@@ -12,6 +12,7 @@ export interface GraphLayoutGridProps {
12
12
  /**
13
13
  * Graph grid 布局
14
14
  * @author astrid
15
+ * @category big-screen-content
15
16
  */
16
17
  declare class GraphLayoutGrid extends ReactNextElement implements GraphLayoutGridProps {
17
18
  /**
@@ -6,6 +6,7 @@ export interface GraphNodeProps {
6
6
  /**
7
7
  * Graph Node
8
8
  * @author astrid
9
+ * @category big-screen-content
9
10
  */
10
11
  declare class GraphNode extends ReactNextElement implements GraphNodeProps {
11
12
  /**
@@ -7,6 +7,7 @@ export interface GraphTextProps {
7
7
  /**
8
8
  * Graph text
9
9
  * @author astrid
10
+ * @category big-screen-content
10
11
  */
11
12
  declare class GraphText extends ReactNextElement implements GraphTextProps {
12
13
  /**
@@ -12,6 +12,7 @@ interface GridBackgroundProps {
12
12
  /**
13
13
  * 大屏网格背景
14
14
  * @author astrid
15
+ * @category big-screen-layout
15
16
  */
16
17
  declare class GridBackground extends ReactNextElement implements GridBackgroundProps {
17
18
  /**
@@ -24,7 +24,7 @@ declare class HiTechButton extends ReactNextElement implements HiTechButtonProps
24
24
  * @default false
25
25
  */
26
26
  accessor disabled: boolean | undefined;
27
- render(): JSX.Element;
27
+ render(): React.JSX.Element;
28
28
  }
29
- export declare function HiTechButtonComponent({ type, buttonStyle, disabled, }: HiTechButtonProps): JSX.Element;
29
+ export declare function HiTechButtonComponent({ type, buttonStyle, disabled, }: HiTechButtonProps): React.JSX.Element;
30
30
  export { HiTechButton };
@@ -1 +0,0 @@
1
- export {};
@@ -1,9 +1,10 @@
1
- /// <reference types="react" />
1
+ import React from "react";
2
2
  import { ReactNextElement } from "@next-core/react-element";
3
3
  import "@next-core/theme";
4
4
  /**
5
5
  * 指标卡片
6
6
  * @author alexchen
7
+ * @category big-screen-content
7
8
  */
8
9
  export declare class IndicatorCard extends ReactNextElement {
9
10
  /**
@@ -16,7 +17,7 @@ export declare class IndicatorCard extends ReactNextElement {
16
17
  * @default `[]`
17
18
  */
18
19
  accessor datasource: Datasource[];
19
- render(): JSX.Element;
20
+ render(): React.JSX.Element;
20
21
  }
21
22
  export type Layout = "column" | "column-townhouse" | "row" | "row-townhouse";
22
23
  export interface Datasource {
@@ -28,4 +29,4 @@ export interface IndicatorCardComponentProps {
28
29
  datasource: Datasource[];
29
30
  layout?: Layout;
30
31
  }
31
- export declare function IndicatorCardComponent({ datasource, layout, }: IndicatorCardComponentProps): JSX.Element;
32
+ export declare function IndicatorCardComponent({ datasource, layout, }: IndicatorCardComponentProps): React.JSX.Element;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from "react";
2
2
  import { ReactNextElement } from "@next-core/react-element";
3
3
  interface LightsComponentTitleProps {
4
4
  componentTitle: string;
@@ -7,6 +7,7 @@ interface LightsComponentTitleProps {
7
7
  /**
8
8
  * 构件 `data-view.lights-component-title`
9
9
  * @author astrid
10
+ * @category big-screen-content
10
11
  */
11
12
  export declare class LightsComponentTitle extends ReactNextElement implements LightsComponentTitleProps {
12
13
  /**
@@ -20,7 +21,7 @@ export declare class LightsComponentTitle extends ReactNextElement implements Li
20
21
  * @description
21
22
  */
22
23
  accessor theme: "light" | "dark";
23
- render(): JSX.Element;
24
+ render(): React.JSX.Element;
24
25
  }
25
- export declare function LightsComponentTitleComponent(props: LightsComponentTitleProps): JSX.Element;
26
+ export declare function LightsComponentTitleComponent(props: LightsComponentTitleProps): React.JSX.Element;
26
27
  export {};
@@ -11,6 +11,7 @@ interface LoadingPanelProps {
11
11
  /**
12
12
  * 大屏加载模块展示
13
13
  * @author astrid
14
+ * @category big-screen-content
14
15
  */
15
16
  declare class LoadingPanel extends ReactNextElement implements LoadingPanelProps {
16
17
  #private;
@@ -1,4 +1,4 @@
1
- import { CSSProperties } from "react";
1
+ import React, { CSSProperties } from "react";
2
2
  import { ReactNextElement } from "@next-core/react-element";
3
3
  interface ModernStyleComponentTitleProps {
4
4
  hideLeftComponent?: boolean;
@@ -10,6 +10,7 @@ interface ModernStyleComponentTitleProps {
10
10
  /**
11
11
  * 现代风组件标题
12
12
  * @author nlicroshan
13
+ * @category big-screen-content
13
14
  */
14
15
  declare class ModernStyleComponentTitle extends ReactNextElement implements ModernStyleComponentTitleProps {
15
16
  /**
@@ -47,6 +48,6 @@ declare class ModernStyleComponentTitle extends ReactNextElement implements Mode
47
48
  * @description 装饰颜色
48
49
  */
49
50
  accessor squareColor: CSSProperties["color"];
50
- render(): JSX.Element;
51
+ render(): React.JSX.Element;
51
52
  }
52
53
  export { ModernStyleComponentTitle };
@@ -1,4 +1,4 @@
1
- import { CSSProperties } from "react";
1
+ import React, { CSSProperties } from "react";
2
2
  import { ReactNextElement } from "@next-core/react-element";
3
3
  interface ModernStylePageTitleProps {
4
4
  pageTitle: string;
@@ -10,6 +10,7 @@ interface ModernStylePageTitleProps {
10
10
  /**
11
11
  * 现代风页面标题
12
12
  * @author nlicroshan
13
+ * @category big-screen-content
13
14
  */
14
15
  declare class ModernStylePageTitle extends ReactNextElement implements ModernStylePageTitleProps {
15
16
  /**
@@ -47,6 +48,6 @@ declare class ModernStylePageTitle extends ReactNextElement implements ModernSty
47
48
  * @description 右边圆形装饰样式
48
49
  */
49
50
  accessor rightRoundStyle: CSSProperties;
50
- render(): JSX.Element;
51
+ render(): React.JSX.Element;
51
52
  }
52
53
  export { ModernStylePageTitle };
@@ -1,4 +1,4 @@
1
- import { CSSProperties } from "react";
1
+ import React, { CSSProperties } from "react";
2
2
  import { ReactNextElement } from "@next-core/react-element";
3
3
  import type { UseBrickConf } from "@next-core/types";
4
4
  declare enum TailTypes {
@@ -30,6 +30,7 @@ interface ModernStyleTreemapProps {
30
30
  /**
31
31
  * 现代风树图
32
32
  * @author nlicroshan
33
+ * @category big-screen-content
33
34
  */
34
35
  declare class ModernStyleTreemap extends ReactNextElement implements ModernStyleTreemapProps {
35
36
  #private;
@@ -79,6 +80,6 @@ declare class ModernStyleTreemap extends ReactNextElement implements ModernStyle
79
80
  * @description tooltip容器样式
80
81
  */
81
82
  accessor tooltipStyle: CSSProperties;
82
- render(): JSX.Element;
83
+ render(): React.JSX.Element;
83
84
  }
84
85
  export { ModernStyleTreemap };
@@ -12,6 +12,7 @@ interface ParticleAnimationProps {
12
12
  /**
13
13
  * 大屏粒子加载动效
14
14
  * @author astrid
15
+ * @category big-screen-content
15
16
  */
16
17
  declare class ParticleAnimation extends ReactNextElement implements ParticleAnimationProps {
17
18
  /**
@@ -1,9 +1,10 @@
1
- /// <reference types="react" />
1
+ import React from "react";
2
2
  import { ReactNextElement } from "@next-core/react-element";
3
3
  import { Data, DataCircle, DataFill, DataLine, RadarProps } from "./interface.js";
4
4
  /**
5
5
  * 雷达图
6
6
  * @author zekunpan
7
+ * @category big-screen-content
7
8
  */
8
9
  declare class RadarChart extends ReactNextElement implements RadarProps {
9
10
  /**
@@ -60,6 +61,6 @@ declare class RadarChart extends ReactNextElement implements RadarProps {
60
61
  * @description 数据线条的样式配置
61
62
  */
62
63
  accessor dataLine: DataLine;
63
- render(): JSX.Element;
64
+ render(): React.JSX.Element;
64
65
  }
65
66
  export { RadarChart };
@@ -1,5 +1,6 @@
1
1
  /// <reference types="react" />
2
- /// <reference types="react" resolution-mode="require"/>
2
+ /// <reference types="react" />
3
+ /// <reference types="trusted-types" />
3
4
  type Color = React.CSSProperties["color"];
4
5
  export type Colors = Color[][];
5
6
  type NumArr = number[];
@@ -18,6 +18,7 @@ export interface SimpleCardItemProps {
18
18
  /**
19
19
  * 基础卡片项
20
20
  * @author astrid
21
+ * @category big-screen-content
21
22
  */
22
23
  export declare class SimpleCardItem extends ReactNextElement {
23
24
  /**
@@ -52,7 +53,7 @@ export declare class SimpleCardItem extends ReactNextElement {
52
53
  * 背景颜色
53
54
  */
54
55
  accessor background: React.CSSProperties["background"];
55
- render(): JSX.Element;
56
+ render(): React.JSX.Element;
56
57
  }
57
- export declare function SimpleCardItemComponent(props: SimpleCardItemProps): JSX.Element;
58
+ export declare function SimpleCardItemComponent(props: SimpleCardItemProps): React.JSX.Element;
58
59
  export {};
@@ -25,6 +25,7 @@ interface TabsDrawerProps {
25
25
  /**
26
26
  * 大屏仪标签页抽屉
27
27
  * @author astrid
28
+ * @category big-screen-layout
28
29
  */
29
30
  declare class TabsDrawer extends ReactNextElement implements TabsDrawerProps {
30
31
  #private;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from "react";
2
2
  import { ReactNextElement } from "@next-core/react-element";
3
3
  interface TabsItem {
4
4
  /** 唯一标识,对应 slot 名称 */
@@ -18,6 +18,7 @@ interface TabsPageTitleProps {
18
18
  * @slot start - 顶部左边插槽
19
19
  * @slot end - 顶部右边插槽
20
20
  * @slot [key] - 标签对应的key的插槽
21
+ * @category big-screen-content
21
22
  */
22
23
  export declare class TabsPageTitle extends ReactNextElement implements TabsPageTitleProps {
23
24
  #private;
@@ -31,7 +32,7 @@ export declare class TabsPageTitle extends ReactNextElement implements TabsPageT
31
32
  * @default -
32
33
  */
33
34
  accessor activeKey: string;
34
- render(): JSX.Element;
35
+ render(): React.JSX.Element;
35
36
  }
36
- export declare function TabsPageTitleComponent(props: TabsPageTitleProps): JSX.Element;
37
+ export declare function TabsPageTitleComponent(props: TabsPageTitleProps): React.JSX.Element;
37
38
  export {};
@@ -1,12 +1,13 @@
1
- /// <reference types="react" />
1
+ import React from "react";
2
2
  import { ReactNextElement } from "@next-core/react-element";
3
3
  import "@next-core/theme";
4
4
  /**
5
5
  * 大屏框架构件-网格纹
6
6
  * @author jiezhou
7
7
  * @slot - 页面内容
8
+ * @category big-screen-layout
8
9
  */
9
10
  export declare class TechMeshBaseView extends ReactNextElement {
10
- render(): JSX.Element;
11
+ render(): React.JSX.Element;
11
12
  }
12
- export declare function TechMeshBaseViewComponent(): JSX.Element;
13
+ export declare function TechMeshBaseViewComponent(): React.JSX.Element;
@@ -1,4 +1,4 @@
1
- import { CSSProperties } from "react";
1
+ import React, { CSSProperties } from "react";
2
2
  import { ReactNextElement } from "@next-core/react-element";
3
3
  type TitleType = "normal" | "stroke" | "gradient";
4
4
  export interface TitleTextProps {
@@ -11,6 +11,7 @@ export interface TitleTextProps {
11
11
  /**
12
12
  * 大屏标题文本构件
13
13
  * @author astrid
14
+ * @category big-screen-content
14
15
  */
15
16
  declare class TitleText extends ReactNextElement implements TitleTextProps {
16
17
  /**
@@ -38,7 +39,7 @@ declare class TitleText extends ReactNextElement implements TitleTextProps {
38
39
  * @default 17px
39
40
  */
40
41
  accessor letterSpacing: CSSProperties["letterSpacing"];
41
- render(): JSX.Element;
42
+ render(): React.JSX.Element;
42
43
  }
43
- export declare function TitleTextComponent(props: TitleTextProps): JSX.Element;
44
+ export declare function TitleTextComponent(props: TitleTextProps): React.JSX.Element;
44
45
  export { TitleText };
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from "react";
2
2
  import { ReactNextElement } from "@next-core/react-element";
3
3
  type TitleBarType = "normal" | "sample" | "square";
4
4
  interface TopTitleBarProps {
@@ -8,6 +8,7 @@ interface TopTitleBarProps {
8
8
  /**
9
9
  * 大屏标题栏三种样式构件
10
10
  * @author jiezhou
11
+ * @category big-screen-content
11
12
  */
12
13
  declare class TopTitleBar extends ReactNextElement implements TopTitleBarProps {
13
14
  /**
@@ -20,7 +21,7 @@ declare class TopTitleBar extends ReactNextElement implements TopTitleBarProps {
20
21
  * @default normal
21
22
  */
22
23
  accessor type: TitleBarType;
23
- render(): JSX.Element;
24
+ render(): React.JSX.Element;
24
25
  }
25
- export declare function TopTitleBarComponent(props: TopTitleBarProps): JSX.Element;
26
+ export declare function TopTitleBarComponent(props: TopTitleBarProps): React.JSX.Element;
26
27
  export { TopTitleBar };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@next-bricks/data-view",
3
- "version": "0.24.0",
3
+ "version": "0.24.2",
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": "ac557ff34e2e7d743a98f4ef730a2dbb1e65283b"
42
+ "gitHead": "ca081a316316379aac5c68997978ac3ef9724942"
43
43
  }