@campus-admin/ui 2.0.2 → 2.0.4

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.
@@ -752,7 +752,7 @@ export declare const basicComponents: {
752
752
  })>;
753
753
  CaIcon: {
754
754
  new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{
755
- name?: import("@campus-admin/core").IconName;
755
+ name?: import("./icons.js").IconName;
756
756
  }> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
757
757
  P: {};
758
758
  B: {};
@@ -761,13 +761,13 @@ export declare const basicComponents: {
761
761
  M: {};
762
762
  Defaults: {};
763
763
  }, Readonly<{
764
- name?: import("@campus-admin/core").IconName;
764
+ name?: import("./icons.js").IconName;
765
765
  }> & Readonly<{}>, {}, {}, {}, {}, {}>;
766
766
  __isFragment?: never;
767
767
  __isTeleport?: never;
768
768
  __isSuspense?: never;
769
769
  } & import("vue").ComponentOptionsBase<Readonly<{
770
- name?: import("@campus-admin/core").IconName;
770
+ name?: import("./icons.js").IconName;
771
771
  }> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
772
772
  $slots: {
773
773
  default?: (props: {}) => any;
@@ -31,7 +31,7 @@ export type { GaugeShape, Threshold } from './chart-math.js';
31
31
  export declare const chartComponents: {
32
32
  CaLineChart: import("vue").DefineComponent<{
33
33
  categories: string[];
34
- series: import("@campus-admin/core").LineSeries[];
34
+ series: import("./index.js").LineSeries[];
35
35
  height?: number;
36
36
  width?: number;
37
37
  smooth?: boolean;
@@ -47,7 +47,7 @@ export declare const chartComponents: {
47
47
  animated?: boolean;
48
48
  }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
49
49
  categories: string[];
50
- series: import("@campus-admin/core").LineSeries[];
50
+ series: import("./index.js").LineSeries[];
51
51
  height?: number;
52
52
  width?: number;
53
53
  smooth?: boolean;
@@ -64,7 +64,7 @@ export declare const chartComponents: {
64
64
  }> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
65
65
  CaBarChart: import("vue").DefineComponent<{
66
66
  categories: string[];
67
- series: import("@campus-admin/core").BarSeries[];
67
+ series: import("./index.js").BarSeries[];
68
68
  height?: number;
69
69
  width?: number;
70
70
  stacked?: boolean;
@@ -79,7 +79,7 @@ export declare const chartComponents: {
79
79
  animated?: boolean;
80
80
  }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
81
81
  categories: string[];
82
- series: import("@campus-admin/core").BarSeries[];
82
+ series: import("./index.js").BarSeries[];
83
83
  height?: number;
84
84
  width?: number;
85
85
  stacked?: boolean;
@@ -94,7 +94,7 @@ export declare const chartComponents: {
94
94
  animated?: boolean;
95
95
  }> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
96
96
  CaPieChart: import("vue").DefineComponent<{
97
- items: import("@campus-admin/core").PieItem[];
97
+ items: import("./index.js").PieItem[];
98
98
  donut?: boolean;
99
99
  size?: number;
100
100
  centerLabel?: string;
@@ -105,7 +105,7 @@ export declare const chartComponents: {
105
105
  valueFormatter?: (value: number) => string;
106
106
  animated?: boolean;
107
107
  }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
108
- items: import("@campus-admin/core").PieItem[];
108
+ items: import("./index.js").PieItem[];
109
109
  donut?: boolean;
110
110
  size?: number;
111
111
  centerLabel?: string;
@@ -143,12 +143,12 @@ export declare const chartComponents: {
143
143
  new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{
144
144
  value: import("./chart-math.js").Value;
145
145
  max?: number;
146
- shape?: import("@campus-admin/core").GaugeShape;
146
+ shape?: import("./chart-math.js").GaugeShape;
147
147
  size?: number;
148
148
  thickness?: number;
149
149
  label?: string;
150
150
  color?: string;
151
- thresholds?: import("@campus-admin/core").Threshold[];
151
+ thresholds?: import("./chart-math.js").Threshold[];
152
152
  loading?: boolean;
153
153
  title?: string;
154
154
  animated?: boolean;
@@ -162,12 +162,12 @@ export declare const chartComponents: {
162
162
  }, Readonly<{
163
163
  value: import("./chart-math.js").Value;
164
164
  max?: number;
165
- shape?: import("@campus-admin/core").GaugeShape;
165
+ shape?: import("./chart-math.js").GaugeShape;
166
166
  size?: number;
167
167
  thickness?: number;
168
168
  label?: string;
169
169
  color?: string;
170
- thresholds?: import("@campus-admin/core").Threshold[];
170
+ thresholds?: import("./chart-math.js").Threshold[];
171
171
  loading?: boolean;
172
172
  title?: string;
173
173
  animated?: boolean;
@@ -178,12 +178,12 @@ export declare const chartComponents: {
178
178
  } & import("vue").ComponentOptionsBase<Readonly<{
179
179
  value: import("./chart-math.js").Value;
180
180
  max?: number;
181
- shape?: import("@campus-admin/core").GaugeShape;
181
+ shape?: import("./chart-math.js").GaugeShape;
182
182
  size?: number;
183
183
  thickness?: number;
184
184
  label?: string;
185
185
  color?: string;
186
- thresholds?: import("@campus-admin/core").Threshold[];
186
+ thresholds?: import("./chart-math.js").Threshold[];
187
187
  loading?: boolean;
188
188
  title?: string;
189
189
  animated?: boolean;
@@ -462,21 +462,20 @@ export declare const CaPopover: {
462
462
  readonly tabindex?: string | number | (() => string | number) | undefined;
463
463
  readonly title?: string | (() => string) | undefined;
464
464
  readonly width?: string | number | (() => string | number) | undefined;
465
- readonly id?: string | (() => string) | undefined;
466
- readonly offset?: number | (() => number) | undefined;
467
- readonly onClick?: ((e: PointerEvent) => void) | (() => (e: PointerEvent) => void) | undefined;
468
- readonly zIndex?: number | (() => number) | undefined;
469
- readonly appendTo?: string | (() => string | HTMLElement) | undefined;
470
465
  readonly disabled?: boolean | (() => boolean) | undefined;
471
466
  readonly onFocus?: ((e: FocusEvent) => void) | (() => (e: FocusEvent) => void) | undefined;
472
467
  readonly onBlur?: ((e: FocusEvent) => void) | (() => (e: FocusEvent) => void) | undefined;
473
468
  readonly onKeydown?: ((e: KeyboardEvent) => void) | (() => (e: KeyboardEvent) => void) | undefined;
474
469
  readonly onMouseenter?: ((e: MouseEvent) => void) | (() => (e: MouseEvent) => void) | undefined;
475
470
  readonly onMouseleave?: ((e: MouseEvent) => void) | (() => (e: MouseEvent) => void) | undefined;
471
+ readonly onClick?: ((e: PointerEvent) => void) | (() => (e: PointerEvent) => void) | undefined;
476
472
  readonly onContextmenu?: ((e: PointerEvent) => void) | (() => (e: PointerEvent) => void) | undefined;
477
473
  readonly effect?: import("element-plus").PopperEffect | (() => string) | undefined;
474
+ readonly id?: string | (() => string) | undefined;
478
475
  readonly role?: "grid" | "menu" | "dialog" | "tree" | "tooltip" | "listbox" | "group" | "navigation" | (() => "grid" | "menu" | "dialog" | "tree" | "tooltip" | "listbox" | "group" | "navigation") | undefined;
476
+ readonly zIndex?: number | (() => number) | undefined;
479
477
  readonly content?: string | (() => string) | undefined;
478
+ readonly offset?: number | (() => number) | undefined;
480
479
  readonly placement?: import("element-plus").Placement | (() => "top" | "bottom" | "left" | "right" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
481
480
  readonly popperClass?: string | false | (() => string | false | Record<string, any> | import("element-plus/es/utils/typescript.mjs").ClassValue[]) | null | undefined;
482
481
  readonly popperStyle?: string | false | (() => string | false | import("vue").CSSProperties | import("vue").StyleValue[]) | null | undefined;
@@ -485,6 +484,7 @@ export declare const CaPopover: {
485
484
  readonly className?: string | false | (() => string | false | Record<string, any> | import("element-plus/es/utils/typescript.mjs").ClassValue[]) | null | undefined;
486
485
  readonly teleported?: boolean | (() => boolean) | undefined;
487
486
  readonly showArrow?: boolean | (() => boolean) | undefined;
487
+ readonly appendTo?: string | (() => string | HTMLElement) | undefined;
488
488
  readonly popperOptions?: (() => Partial<import("element-plus").Options>) | undefined;
489
489
  readonly persistent?: boolean | (() => boolean) | undefined;
490
490
  readonly fallbackPlacements?: (() => import("element-plus").Placement[]) | undefined;
@@ -913,21 +913,20 @@ export declare const overlayComponents: {
913
913
  readonly tabindex?: string | number | (() => string | number) | undefined;
914
914
  readonly title?: string | (() => string) | undefined;
915
915
  readonly width?: string | number | (() => string | number) | undefined;
916
- readonly id?: string | (() => string) | undefined;
917
- readonly offset?: number | (() => number) | undefined;
918
- readonly onClick?: ((e: PointerEvent) => void) | (() => (e: PointerEvent) => void) | undefined;
919
- readonly zIndex?: number | (() => number) | undefined;
920
- readonly appendTo?: string | (() => string | HTMLElement) | undefined;
921
916
  readonly disabled?: boolean | (() => boolean) | undefined;
922
917
  readonly onFocus?: ((e: FocusEvent) => void) | (() => (e: FocusEvent) => void) | undefined;
923
918
  readonly onBlur?: ((e: FocusEvent) => void) | (() => (e: FocusEvent) => void) | undefined;
924
919
  readonly onKeydown?: ((e: KeyboardEvent) => void) | (() => (e: KeyboardEvent) => void) | undefined;
925
920
  readonly onMouseenter?: ((e: MouseEvent) => void) | (() => (e: MouseEvent) => void) | undefined;
926
921
  readonly onMouseleave?: ((e: MouseEvent) => void) | (() => (e: MouseEvent) => void) | undefined;
922
+ readonly onClick?: ((e: PointerEvent) => void) | (() => (e: PointerEvent) => void) | undefined;
927
923
  readonly onContextmenu?: ((e: PointerEvent) => void) | (() => (e: PointerEvent) => void) | undefined;
928
924
  readonly effect?: import("element-plus").PopperEffect | (() => string) | undefined;
925
+ readonly id?: string | (() => string) | undefined;
929
926
  readonly role?: "grid" | "menu" | "dialog" | "tree" | "tooltip" | "listbox" | "group" | "navigation" | (() => "grid" | "menu" | "dialog" | "tree" | "tooltip" | "listbox" | "group" | "navigation") | undefined;
927
+ readonly zIndex?: number | (() => number) | undefined;
930
928
  readonly content?: string | (() => string) | undefined;
929
+ readonly offset?: number | (() => number) | undefined;
931
930
  readonly placement?: import("element-plus").Placement | (() => "top" | "bottom" | "left" | "right" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
932
931
  readonly popperClass?: string | false | (() => string | false | Record<string, any> | import("element-plus/es/utils/typescript.mjs").ClassValue[]) | null | undefined;
933
932
  readonly popperStyle?: string | false | (() => string | false | import("vue").CSSProperties | import("vue").StyleValue[]) | null | undefined;
@@ -936,6 +935,7 @@ export declare const overlayComponents: {
936
935
  readonly className?: string | false | (() => string | false | Record<string, any> | import("element-plus/es/utils/typescript.mjs").ClassValue[]) | null | undefined;
937
936
  readonly teleported?: boolean | (() => boolean) | undefined;
938
937
  readonly showArrow?: boolean | (() => boolean) | undefined;
938
+ readonly appendTo?: string | (() => string | HTMLElement) | undefined;
939
939
  readonly popperOptions?: (() => Partial<import("element-plus").Options>) | undefined;
940
940
  readonly persistent?: boolean | (() => boolean) | undefined;
941
941
  readonly fallbackPlacements?: (() => import("element-plus").Placement[]) | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@campus-admin/ui",
3
- "version": "2.0.2",
3
+ "version": "2.0.4",
4
4
  "description": "通用组件:对 Element Plus 的再封装与配置化组件,平台唯一的通用组件入口",
5
5
  "type": "module",
6
6
  "license": "MIT",