@cyberpunk-vue/components 1.9.9 → 1.9.10

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.
@@ -0,0 +1,138 @@
1
+ /**
2
+ * CpDescriptionsItem 描述列表条目组件
3
+ *
4
+ * @description 与 CpDescriptions 配合使用,声明式定义描述列表条目。
5
+ *
6
+ * @example
7
+ * ```vue
8
+ * <CpDescriptions title="设备信息">
9
+ * <CpDescriptionsItem label="节点 ID">CYB-7749</CpDescriptionsItem>
10
+ * <CpDescriptionsItem label="状态">在线</CpDescriptionsItem>
11
+ * </CpDescriptions>
12
+ * ```
13
+ */
14
+ export declare const CpDescriptionsItem: import('../utils').SFCWithInstall<import('vue').DefineComponent<import('vue').ExtractPropTypes<{
15
+ readonly label: {
16
+ readonly type: StringConstructor;
17
+ readonly default: "";
18
+ };
19
+ readonly span: {
20
+ readonly type: NumberConstructor;
21
+ readonly default: 1;
22
+ };
23
+ readonly labelWidth: {
24
+ readonly type: import('vue').PropType<string | number>;
25
+ readonly default: "";
26
+ };
27
+ readonly labelAlign: {
28
+ readonly type: import('vue').PropType<"left" | "center" | "right" | "">;
29
+ readonly default: "";
30
+ };
31
+ readonly labelVerticalAlign: {
32
+ readonly type: import('vue').PropType<import('..').DescriptionsVerticalAlign | "">;
33
+ readonly default: "";
34
+ };
35
+ readonly contentAlign: {
36
+ readonly type: import('vue').PropType<"left" | "center" | "right" | "">;
37
+ readonly default: "";
38
+ };
39
+ readonly contentVerticalAlign: {
40
+ readonly type: import('vue').PropType<import('..').DescriptionsVerticalAlign | "">;
41
+ readonly default: "";
42
+ };
43
+ readonly labelClassName: {
44
+ readonly type: StringConstructor;
45
+ readonly default: "";
46
+ };
47
+ readonly contentClassName: {
48
+ readonly type: StringConstructor;
49
+ readonly default: "";
50
+ };
51
+ readonly labelColor: {
52
+ readonly type: StringConstructor;
53
+ readonly default: "";
54
+ };
55
+ readonly contentColor: {
56
+ readonly type: StringConstructor;
57
+ readonly default: "";
58
+ };
59
+ readonly type: {
60
+ readonly type: import('vue').PropType<import('..').DescriptionsType | "">;
61
+ readonly default: "";
62
+ };
63
+ readonly color: {
64
+ readonly type: StringConstructor;
65
+ readonly default: "";
66
+ };
67
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
68
+ readonly label: {
69
+ readonly type: StringConstructor;
70
+ readonly default: "";
71
+ };
72
+ readonly span: {
73
+ readonly type: NumberConstructor;
74
+ readonly default: 1;
75
+ };
76
+ readonly labelWidth: {
77
+ readonly type: import('vue').PropType<string | number>;
78
+ readonly default: "";
79
+ };
80
+ readonly labelAlign: {
81
+ readonly type: import('vue').PropType<"left" | "center" | "right" | "">;
82
+ readonly default: "";
83
+ };
84
+ readonly labelVerticalAlign: {
85
+ readonly type: import('vue').PropType<import('..').DescriptionsVerticalAlign | "">;
86
+ readonly default: "";
87
+ };
88
+ readonly contentAlign: {
89
+ readonly type: import('vue').PropType<"left" | "center" | "right" | "">;
90
+ readonly default: "";
91
+ };
92
+ readonly contentVerticalAlign: {
93
+ readonly type: import('vue').PropType<import('..').DescriptionsVerticalAlign | "">;
94
+ readonly default: "";
95
+ };
96
+ readonly labelClassName: {
97
+ readonly type: StringConstructor;
98
+ readonly default: "";
99
+ };
100
+ readonly contentClassName: {
101
+ readonly type: StringConstructor;
102
+ readonly default: "";
103
+ };
104
+ readonly labelColor: {
105
+ readonly type: StringConstructor;
106
+ readonly default: "";
107
+ };
108
+ readonly contentColor: {
109
+ readonly type: StringConstructor;
110
+ readonly default: "";
111
+ };
112
+ readonly type: {
113
+ readonly type: import('vue').PropType<import('..').DescriptionsType | "">;
114
+ readonly default: "";
115
+ };
116
+ readonly color: {
117
+ readonly type: StringConstructor;
118
+ readonly default: "";
119
+ };
120
+ }>> & Readonly<{}>, {
121
+ readonly span: number;
122
+ readonly type: "" | import('..').DescriptionsType;
123
+ readonly color: string;
124
+ readonly label: string;
125
+ readonly labelWidth: string | number;
126
+ readonly labelVerticalAlign: "" | import('..').DescriptionsVerticalAlign;
127
+ readonly labelAlign: "" | "left" | "right" | "center";
128
+ readonly contentAlign: "" | "left" | "right" | "center";
129
+ readonly contentVerticalAlign: "" | import('..').DescriptionsVerticalAlign;
130
+ readonly labelClassName: string;
131
+ readonly contentClassName: string;
132
+ readonly labelColor: string;
133
+ readonly contentColor: string;
134
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>>;
135
+ export default CpDescriptionsItem;
136
+ export * from './src/descriptions-item';
137
+ export type { CpDescriptionsItemInstance } from './src/instance';
138
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../descriptions-item/index.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6EAAgC,CAAA;AAE/D,eAAe,kBAAkB,CAAA;AACjC,cAAc,yBAAyB,CAAA;AACvC,YAAY,EAAE,0BAA0B,EAAE,MAAM,gBAAgB,CAAA"}
@@ -0,0 +1,118 @@
1
+ import { ExtractPropTypes, PropType } from 'vue';
2
+ import { DescriptionsVerticalAlign, DescriptionsType } from '../../descriptions/src/descriptions';
3
+ /**
4
+ * CpDescriptionsItem 组件 Props 定义
5
+ * @category 数据展示
6
+ * @displayName CpDescriptionsItem 描述列表项
7
+ * @description 描述列表条目,在 CpDescriptions 内部使用
8
+ * @slots default - 内容
9
+ * @slots label - 自定义 label
10
+ */
11
+ export declare const descriptionsItemProps: {
12
+ /**
13
+ * 标签文字
14
+ * @default ''
15
+ */
16
+ readonly label: {
17
+ readonly type: StringConstructor;
18
+ readonly default: "";
19
+ };
20
+ /**
21
+ * 占多少列
22
+ * @default 1
23
+ */
24
+ readonly span: {
25
+ readonly type: NumberConstructor;
26
+ readonly default: 1;
27
+ };
28
+ /**
29
+ * 覆盖父级 label 宽度
30
+ * @default ''
31
+ */
32
+ readonly labelWidth: {
33
+ readonly type: PropType<string | number>;
34
+ readonly default: "";
35
+ };
36
+ /**
37
+ * 覆盖父级 label 水平对齐
38
+ * @default ''
39
+ */
40
+ readonly labelAlign: {
41
+ readonly type: PropType<"left" | "center" | "right" | "">;
42
+ readonly default: "";
43
+ };
44
+ /**
45
+ * 覆盖父级 label 垂直对齐
46
+ * @default ''
47
+ */
48
+ readonly labelVerticalAlign: {
49
+ readonly type: PropType<DescriptionsVerticalAlign | "">;
50
+ readonly default: "";
51
+ };
52
+ /**
53
+ * 覆盖父级内容水平对齐
54
+ * @default ''
55
+ */
56
+ readonly contentAlign: {
57
+ readonly type: PropType<"left" | "center" | "right" | "">;
58
+ readonly default: "";
59
+ };
60
+ /**
61
+ * 覆盖父级内容垂直对齐
62
+ * @default ''
63
+ */
64
+ readonly contentVerticalAlign: {
65
+ readonly type: PropType<DescriptionsVerticalAlign | "">;
66
+ readonly default: "";
67
+ };
68
+ /**
69
+ * label 自定义类名
70
+ * @default ''
71
+ */
72
+ readonly labelClassName: {
73
+ readonly type: StringConstructor;
74
+ readonly default: "";
75
+ };
76
+ /**
77
+ * content 自定义类名
78
+ * @default ''
79
+ */
80
+ readonly contentClassName: {
81
+ readonly type: StringConstructor;
82
+ readonly default: "";
83
+ };
84
+ /**
85
+ * label 颜色(覆盖 CSS 变量)
86
+ * @default ''
87
+ */
88
+ readonly labelColor: {
89
+ readonly type: StringConstructor;
90
+ readonly default: "";
91
+ };
92
+ /**
93
+ * content 颜色(覆盖 CSS 变量)
94
+ * @default ''
95
+ */
96
+ readonly contentColor: {
97
+ readonly type: StringConstructor;
98
+ readonly default: "";
99
+ };
100
+ /**
101
+ * 单项颜色类型(覆盖父级)
102
+ * @default ''
103
+ */
104
+ readonly type: {
105
+ readonly type: PropType<DescriptionsType | "">;
106
+ readonly default: "";
107
+ };
108
+ /**
109
+ * 单项自定义色(覆盖父级)
110
+ * @default ''
111
+ */
112
+ readonly color: {
113
+ readonly type: StringConstructor;
114
+ readonly default: "";
115
+ };
116
+ };
117
+ export type DescriptionsItemProps = ExtractPropTypes<typeof descriptionsItemProps>;
118
+ //# sourceMappingURL=descriptions-item.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"descriptions-item.d.ts","sourceRoot":"","sources":["../../../descriptions-item/src/descriptions-item.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AACrD,OAAO,KAAK,EACV,yBAAyB,EACzB,gBAAgB,EACjB,MAAM,yDAAyD,CAAA;AAEhE;;;;;;;GAOG;AACH,eAAO,MAAM,qBAAqB;IAChC;;;OAGG;;;;;IAKH;;;OAGG;;;;;IAKH;;;OAGG;;uBAEyB,QAAQ,CAAC,MAAM,GAAG,MAAM,CAAC;;;IAGrD;;;OAGG;;uBAEe,QAAQ,CAAC,MAAM,GAAG,QAAQ,GAAG,OAAO,GAAG,EAAE,CAAC;;;IAG5D;;;OAGG;;uBAEe,QAAQ,CAAC,yBAAyB,GAAG,EAAE,CAAC;;;IAG1D;;;OAGG;;uBAEe,QAAQ,CAAC,MAAM,GAAG,QAAQ,GAAG,OAAO,GAAG,EAAE,CAAC;;;IAG5D;;;OAGG;;uBAEe,QAAQ,CAAC,yBAAyB,GAAG,EAAE,CAAC;;;IAG1D;;;OAGG;;;;;IAKH;;;OAGG;;;;;IAKH;;;OAGG;;;;;IAKH;;;OAGG;;;;;IAKH;;;OAGG;;uBAEe,QAAQ,CAAC,gBAAgB,GAAG,EAAE,CAAC;;;IAGjD;;;OAGG;;;;;CAKK,CAAA;AAEV,MAAM,MAAM,qBAAqB,GAAG,gBAAgB,CAAC,OAAO,qBAAqB,CAAC,CAAA"}
@@ -0,0 +1,123 @@
1
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
+ readonly label: {
3
+ readonly type: StringConstructor;
4
+ readonly default: "";
5
+ };
6
+ readonly span: {
7
+ readonly type: NumberConstructor;
8
+ readonly default: 1;
9
+ };
10
+ readonly labelWidth: {
11
+ readonly type: import('vue').PropType<string | number>;
12
+ readonly default: "";
13
+ };
14
+ readonly labelAlign: {
15
+ readonly type: import('vue').PropType<"left" | "center" | "right" | "">;
16
+ readonly default: "";
17
+ };
18
+ readonly labelVerticalAlign: {
19
+ readonly type: import('vue').PropType<import('../..').DescriptionsVerticalAlign | "">;
20
+ readonly default: "";
21
+ };
22
+ readonly contentAlign: {
23
+ readonly type: import('vue').PropType<"left" | "center" | "right" | "">;
24
+ readonly default: "";
25
+ };
26
+ readonly contentVerticalAlign: {
27
+ readonly type: import('vue').PropType<import('../..').DescriptionsVerticalAlign | "">;
28
+ readonly default: "";
29
+ };
30
+ readonly labelClassName: {
31
+ readonly type: StringConstructor;
32
+ readonly default: "";
33
+ };
34
+ readonly contentClassName: {
35
+ readonly type: StringConstructor;
36
+ readonly default: "";
37
+ };
38
+ readonly labelColor: {
39
+ readonly type: StringConstructor;
40
+ readonly default: "";
41
+ };
42
+ readonly contentColor: {
43
+ readonly type: StringConstructor;
44
+ readonly default: "";
45
+ };
46
+ readonly type: {
47
+ readonly type: import('vue').PropType<import('../..').DescriptionsType | "">;
48
+ readonly default: "";
49
+ };
50
+ readonly color: {
51
+ readonly type: StringConstructor;
52
+ readonly default: "";
53
+ };
54
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
55
+ readonly label: {
56
+ readonly type: StringConstructor;
57
+ readonly default: "";
58
+ };
59
+ readonly span: {
60
+ readonly type: NumberConstructor;
61
+ readonly default: 1;
62
+ };
63
+ readonly labelWidth: {
64
+ readonly type: import('vue').PropType<string | number>;
65
+ readonly default: "";
66
+ };
67
+ readonly labelAlign: {
68
+ readonly type: import('vue').PropType<"left" | "center" | "right" | "">;
69
+ readonly default: "";
70
+ };
71
+ readonly labelVerticalAlign: {
72
+ readonly type: import('vue').PropType<import('../..').DescriptionsVerticalAlign | "">;
73
+ readonly default: "";
74
+ };
75
+ readonly contentAlign: {
76
+ readonly type: import('vue').PropType<"left" | "center" | "right" | "">;
77
+ readonly default: "";
78
+ };
79
+ readonly contentVerticalAlign: {
80
+ readonly type: import('vue').PropType<import('../..').DescriptionsVerticalAlign | "">;
81
+ readonly default: "";
82
+ };
83
+ readonly labelClassName: {
84
+ readonly type: StringConstructor;
85
+ readonly default: "";
86
+ };
87
+ readonly contentClassName: {
88
+ readonly type: StringConstructor;
89
+ readonly default: "";
90
+ };
91
+ readonly labelColor: {
92
+ readonly type: StringConstructor;
93
+ readonly default: "";
94
+ };
95
+ readonly contentColor: {
96
+ readonly type: StringConstructor;
97
+ readonly default: "";
98
+ };
99
+ readonly type: {
100
+ readonly type: import('vue').PropType<import('../..').DescriptionsType | "">;
101
+ readonly default: "";
102
+ };
103
+ readonly color: {
104
+ readonly type: StringConstructor;
105
+ readonly default: "";
106
+ };
107
+ }>> & Readonly<{}>, {
108
+ readonly span: number;
109
+ readonly type: "" | import('../..').DescriptionsType;
110
+ readonly color: string;
111
+ readonly label: string;
112
+ readonly labelWidth: string | number;
113
+ readonly labelVerticalAlign: "" | import('../..').DescriptionsVerticalAlign;
114
+ readonly labelAlign: "" | "left" | "right" | "center";
115
+ readonly contentAlign: "" | "left" | "right" | "center";
116
+ readonly contentVerticalAlign: "" | import('../..').DescriptionsVerticalAlign;
117
+ readonly labelClassName: string;
118
+ readonly contentClassName: string;
119
+ readonly labelColor: string;
120
+ readonly contentColor: string;
121
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
122
+ export default _default;
123
+ //# sourceMappingURL=descriptions-item.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"descriptions-item.vue.d.ts","sourceRoot":"","sources":["../../../descriptions-item/src/descriptions-item.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkIA,wBAMG"}
@@ -0,0 +1,3 @@
1
+ import { default as CpDescriptionsItem } from './descriptions-item.vue';
2
+ export type CpDescriptionsItemInstance = InstanceType<typeof CpDescriptionsItem> & unknown;
3
+ //# sourceMappingURL=instance.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"instance.d.ts","sourceRoot":"","sources":["../../../descriptions-item/src/instance.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,kBAAkB,MAAM,yBAAyB,CAAA;AAE7D,MAAM,MAAM,0BAA0B,GAAG,YAAY,CAAC,OAAO,kBAAkB,CAAC,GAAG,OAAO,CAAA"}