@cgeui/platform-head 0.0.1 → 0.0.3

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 (62) hide show
  1. package/ReadMe.md +1 -1
  2. package/dist/esm/components/audioSet/index.d.ts +2 -1
  3. package/dist/esm/components/audioSet/index.d.ts.map +1 -1
  4. package/dist/esm/components/audioSet/index.js +1 -1
  5. package/dist/esm/components/audioSet/operation/index.d.ts +2 -1
  6. package/dist/esm/components/audioSet/operation/index.d.ts.map +1 -1
  7. package/dist/esm/components/audioSet/operation/index.js +1 -1
  8. package/dist/esm/headRight/index.d.ts +2 -1
  9. package/dist/esm/headRight/index.d.ts.map +1 -1
  10. package/dist/esm/lang/index.d.ts +2 -1
  11. package/dist/esm/lang/index.d.ts.map +1 -1
  12. package/dist/esm/lang/index.js +1 -1
  13. package/dist/esm/platformMessage/index.d.ts +2 -1
  14. package/dist/esm/platformMessage/index.d.ts.map +1 -1
  15. package/dist/esm/platformMessage/index.js +3 -3
  16. package/dist/esm/theme/index.d.ts +2 -1
  17. package/dist/esm/theme/index.d.ts.map +1 -1
  18. package/dist/esm/theme/index.js +2 -2
  19. package/dist/esm/user/detail/components/AvatarCardFormItem/index.d.ts +2 -1
  20. package/dist/esm/user/detail/components/AvatarCardFormItem/index.d.ts.map +1 -1
  21. package/dist/esm/user/detail/components/AvatarTag/index.d.ts +2 -1
  22. package/dist/esm/user/detail/components/AvatarTag/index.d.ts.map +1 -1
  23. package/dist/esm/user/detail/components/AvatarUpload/index.d.ts +3 -0
  24. package/dist/esm/user/detail/components/AvatarUpload/index.d.ts.map +1 -1
  25. package/dist/esm/user/detail/components/AvatarUpload/index.js +1 -1
  26. package/dist/esm/user/detail/index.js +1 -1
  27. package/dist/esm/user/index.d.ts +2 -1
  28. package/dist/esm/user/index.d.ts.map +1 -1
  29. package/dist/esm/user/index.js +3 -3
  30. package/dist/esm/user/userDetail.d.ts +2 -1
  31. package/dist/esm/user/userDetail.d.ts.map +1 -1
  32. package/dist/lib/components/audioSet/index.d.ts +2 -1
  33. package/dist/lib/components/audioSet/index.d.ts.map +1 -1
  34. package/dist/lib/components/audioSet/index.js +1 -1
  35. package/dist/lib/components/audioSet/operation/index.d.ts +2 -1
  36. package/dist/lib/components/audioSet/operation/index.d.ts.map +1 -1
  37. package/dist/lib/components/audioSet/operation/index.js +1 -1
  38. package/dist/lib/headRight/index.d.ts +2 -1
  39. package/dist/lib/headRight/index.d.ts.map +1 -1
  40. package/dist/lib/lang/index.d.ts +2 -1
  41. package/dist/lib/lang/index.d.ts.map +1 -1
  42. package/dist/lib/lang/index.js +1 -1
  43. package/dist/lib/platformMessage/index.d.ts +2 -1
  44. package/dist/lib/platformMessage/index.d.ts.map +1 -1
  45. package/dist/lib/platformMessage/index.js +3 -3
  46. package/dist/lib/theme/index.d.ts +2 -1
  47. package/dist/lib/theme/index.d.ts.map +1 -1
  48. package/dist/lib/theme/index.js +2 -2
  49. package/dist/lib/user/detail/components/AvatarCardFormItem/index.d.ts +2 -1
  50. package/dist/lib/user/detail/components/AvatarCardFormItem/index.d.ts.map +1 -1
  51. package/dist/lib/user/detail/components/AvatarTag/index.d.ts +2 -1
  52. package/dist/lib/user/detail/components/AvatarTag/index.d.ts.map +1 -1
  53. package/dist/lib/user/detail/components/AvatarUpload/index.d.ts +3 -0
  54. package/dist/lib/user/detail/components/AvatarUpload/index.d.ts.map +1 -1
  55. package/dist/lib/user/detail/components/AvatarUpload/index.js +1 -1
  56. package/dist/lib/user/detail/index.js +1 -1
  57. package/dist/lib/user/index.d.ts +2 -1
  58. package/dist/lib/user/index.d.ts.map +1 -1
  59. package/dist/lib/user/index.js +3 -3
  60. package/dist/lib/user/userDetail.d.ts +2 -1
  61. package/dist/lib/user/userDetail.d.ts.map +1 -1
  62. package/package.json +9 -1
package/ReadMe.md CHANGED
@@ -68,7 +68,7 @@ import { PlatformHead } from '@encarbon/platform-head';
68
68
 
69
69
  0.1.7
70
70
  2025-11-21
71
- 适配新UI风格, @catd/icons依赖0.8.4版本
71
+ 适配新UI风格, @cgeui/icons依赖0.8.4版本
72
72
 
73
73
  0.1.6
74
74
  2025-08-15
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  type SetProps = {
3
4
  title: string;
@@ -5,6 +6,6 @@ type SetProps = {
5
6
  setOpen: (open: boolean) => boolean;
6
7
  sdk: any;
7
8
  };
8
- declare const GlobalAlarmAudioSetComponent: (props: SetProps) => any;
9
+ declare const GlobalAlarmAudioSetComponent: (props: SetProps) => JSX.Element;
9
10
  export default GlobalAlarmAudioSetComponent;
10
11
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/audioSet/index.tsx"],"names":[],"mappings":"AAEA,OAAO,cAAc,CAAC;AAGtB,KAAK,QAAQ,GAAG;IACd,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,OAAO,CAAC;IACpC,GAAG,EAAE,GAAG,CAAC;CACV,CAAC;AACF,QAAA,MAAM,4BAA4B,UAAW,QAAQ,QAoFpD,CAAC;AAEF,eAAe,4BAA4B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/audioSet/index.tsx"],"names":[],"mappings":";AAEA,OAAO,cAAc,CAAC;AAGtB,KAAK,QAAQ,GAAG;IACd,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,OAAO,CAAC;IACpC,GAAG,EAAE,GAAG,CAAC;CACV,CAAC;AACF,QAAA,MAAM,4BAA4B,UAAW,QAAQ,gBAoFpD,CAAC;AAEF,eAAe,4BAA4B,CAAC"}
@@ -1,5 +1,5 @@
1
1
  // src/components/audioSet/index.tsx
2
- import { Modal, Table } from "@catd/components";
2
+ import { Modal, Table } from "@cgeui/components";
3
3
  import { PLATFORM_USER_I18N } from "../../i18n";
4
4
  import "./index.less";
5
5
  import GlobalAlarmAudioOperationComponent from "./operation";
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  type OperationProps = {
3
4
  level: number;
@@ -6,6 +7,6 @@ type OperationProps = {
6
7
  data?: any;
7
8
  volumeStatus: boolean;
8
9
  };
9
- declare const GlobalAlarmAudioOperationComponent: (props: OperationProps) => any;
10
+ declare const GlobalAlarmAudioOperationComponent: (props: OperationProps) => JSX.Element;
10
11
  export default GlobalAlarmAudioOperationComponent;
11
12
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/audioSet/operation/index.tsx"],"names":[],"mappings":"AAKA,OAAO,cAAc,CAAC;AAEtB,KAAK,cAAc,GAAG;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,OAAO,CAAC;IAClB,QAAQ,EAAE,OAAO,CAAC;IAClB,IAAI,CAAC,EAAE,GAAG,CAAC;IACX,YAAY,EAAE,OAAO,CAAC;CACvB,CAAC;AAEF,QAAA,MAAM,kCAAkC,UAAW,cAAc,QA6EhE,CAAC;AAEF,eAAe,kCAAkC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/audioSet/operation/index.tsx"],"names":[],"mappings":";AAKA,OAAO,cAAc,CAAC;AAEtB,KAAK,cAAc,GAAG;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,OAAO,CAAC;IAClB,QAAQ,EAAE,OAAO,CAAC;IAClB,IAAI,CAAC,EAAE,GAAG,CAAC;IACX,YAAY,EAAE,OAAO,CAAC;CACvB,CAAC;AAEF,QAAA,MAAM,kCAAkC,UAAW,cAAc,gBA6EhE,CAAC;AAEF,eAAe,kCAAkC,CAAC"}
@@ -1,5 +1,5 @@
1
1
  // src/components/audioSet/operation/index.tsx
2
- import { CatdIcons } from "@catd/icons";
2
+ import { CatdIcons } from "@cgeui/icons";
3
3
  import { useEffect, useRef, useState } from "react";
4
4
  import AudioL1 from "./audio/L1.wav";
5
5
  import AudioL2 from "./audio/L2.mp3";
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import '../encarbon-ui/index.less';
2
3
  import './index.less';
3
4
  declare const HeadRightComponent: (props: {
@@ -23,6 +24,6 @@ declare const HeadRightComponent: (props: {
23
24
  isPasswordCover?: boolean;
24
25
  passwordCallback?: (params: any, message: string) => void;
25
26
  };
26
- }) => any;
27
+ }) => JSX.Element;
27
28
  export default HeadRightComponent;
28
29
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/headRight/index.tsx"],"names":[],"mappings":"AACA,OAAO,2BAA2B,CAAC;AAKnC,OAAO,cAAc,CAAC;AAEtB,QAAA,MAAM,kBAAkB;SACjB,GAAG;iBACK;QACX,MAAM,EAAE,OAAO,CAAC;QAChB,YAAY,CAAC,EAAE,MAAM,CAAC;KACvB;gBACW;QACV,MAAM,EAAE,OAAO,CAAC;QAChB,WAAW,CAAC,EAAE,MAAM,CAAC;KACtB;UACK;QACJ,MAAM,EAAE,OAAO,CAAC;QAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;KACnB;;gBAES,OAAO;wBACC,OAAO;uCACQ,OAAO,KAAK,IAAI;8BACzB,OAAO;6BACR,OAAO;0BACV,OAAO;oCACG,GAAG,WAAW,MAAM,KAAK,IAAI;;SAqD5D,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/headRight/index.tsx"],"names":[],"mappings":";AACA,OAAO,2BAA2B,CAAC;AAKnC,OAAO,cAAc,CAAC;AAEtB,QAAA,MAAM,kBAAkB;SACjB,GAAG;iBACK;QACX,MAAM,EAAE,OAAO,CAAC;QAChB,YAAY,CAAC,EAAE,MAAM,CAAC;KACvB;gBACW;QACV,MAAM,EAAE,OAAO,CAAC;QAChB,WAAW,CAAC,EAAE,MAAM,CAAC;KACtB;UACK;QACJ,MAAM,EAAE,OAAO,CAAC;QAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;KACnB;;gBAES,OAAO;wBACC,OAAO;uCACQ,OAAO,KAAK,IAAI;8BACzB,OAAO;6BACR,OAAO;0BACV,OAAO;oCACG,GAAG,WAAW,MAAM,KAAK,IAAI;;iBAqD5D,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
@@ -1,8 +1,9 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const PlatformLangComponent: (props: {
3
4
  sdk: any;
4
5
  defaultLang?: string;
5
6
  defaultTheme?: string;
6
- }) => any;
7
+ }) => JSX.Element;
7
8
  export default PlatformLangComponent;
8
9
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/lang/index.tsx"],"names":[],"mappings":"AAGA,OAAO,cAAc,CAAC;AAGtB,QAAA,MAAM,qBAAqB,UAAW;IACpC,GAAG,EAAE,GAAG,CAAC;IACT,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,QAoDA,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/lang/index.tsx"],"names":[],"mappings":";AAGA,OAAO,cAAc,CAAC;AAGtB,QAAA,MAAM,qBAAqB,UAAW;IACpC,GAAG,EAAE,GAAG,CAAC;IACT,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,gBAoDA,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
@@ -1,5 +1,5 @@
1
1
  // src/lang/index.tsx
2
- import { Select, Space } from "@catd/components";
2
+ import { Select, Space } from "@cgeui/components";
3
3
  import { useCallback, useEffect, useState } from "react";
4
4
  import { PLATFORM_LANG_I18N } from "./i18n";
5
5
  import "./index.less";
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const PlatformMessage: (props: {
3
4
  icon?: string;
@@ -7,6 +8,6 @@ declare const PlatformMessage: (props: {
7
8
  sdk?: any;
8
9
  locahost?: string;
9
10
  audioSwitch?: boolean;
10
- }) => any;
11
+ }) => JSX.Element;
11
12
  export default PlatformMessage;
12
13
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/platformMessage/index.tsx"],"names":[],"mappings":"AAYA,OAAO,cAAc,CAAC;AAWtB,QAAA,MAAM,eAAe,UAAW;IAC9B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,GAAG,CAAC,EAAE,GAAG,CAAC;IACV,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB,QAwSA,CAAC;AAEF,eAAe,eAAe,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/platformMessage/index.tsx"],"names":[],"mappings":";AAYA,OAAO,cAAc,CAAC;AAWtB,QAAA,MAAM,eAAe,UAAW;IAC9B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,GAAG,CAAC,EAAE,GAAG,CAAC;IACV,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB,gBAwSA,CAAC;AAEF,eAAe,eAAe,CAAC"}
@@ -20,9 +20,9 @@ var __async = (__this, __arguments, generator) => {
20
20
  };
21
21
 
22
22
  // src/platformMessage/index.tsx
23
- import { Badge, Button, CatdErrorTips, notification, Popover, Switch } from "@catd/components";
24
- import { CatdIcons } from "@catd/icons";
25
- import { Socket } from "@catd/mozi";
23
+ import { Badge, Button, CatdErrorTips, notification, Popover, Switch } from "@cgeui/components";
24
+ import { CatdIcons } from "@cgeui/icons";
25
+ import { Socket } from "@cgeui/mozi";
26
26
  import moment from "moment";
27
27
  import { useEffect, useRef, useState } from "react";
28
28
  import { GlobalAlarmAudioOperationComponent } from "../components/index";
@@ -1,8 +1,9 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const PlatformThemeComponent: (props: {
3
4
  sdk: any;
4
5
  theme: string;
5
6
  onChange: (theme: string) => void;
6
- }) => any;
7
+ }) => JSX.Element;
7
8
  export default PlatformThemeComponent;
8
9
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/theme/index.tsx"],"names":[],"mappings":"AAGA,OAAO,cAAc,CAAC;AAGtB,QAAA,MAAM,sBAAsB;SACrB,GAAG;WACD,MAAM;sBACK,MAAM,KAAK,IAAI;SAmElC,CAAC;AAEF,eAAe,sBAAsB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/theme/index.tsx"],"names":[],"mappings":";AAGA,OAAO,cAAc,CAAC;AAGtB,QAAA,MAAM,sBAAsB;SACrB,GAAG;WACD,MAAM;sBACK,MAAM,KAAK,IAAI;iBAmElC,CAAC;AAEF,eAAe,sBAAsB,CAAC"}
@@ -19,8 +19,8 @@ var __spreadValues = (a, b) => {
19
19
  var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
20
20
 
21
21
  // src/theme/index.tsx
22
- import { Switch } from "@catd/components";
23
- import { CatdIcons } from "@catd/icons";
22
+ import { Switch } from "@cgeui/components";
23
+ import { CatdIcons } from "@cgeui/icons";
24
24
  import { useEffect, useState } from "react";
25
25
  import "./index.less";
26
26
  import { patformSetThemeApi } from "./service";
@@ -1,6 +1,7 @@
1
+ /// <reference types="react" />
1
2
  interface AvatarCardFormItemProps {
2
3
  sdk: any;
3
4
  }
4
- declare const AvatarCardFormItem: (props: AvatarCardFormItemProps) => any;
5
+ declare const AvatarCardFormItem: (props: AvatarCardFormItemProps) => JSX.Element;
5
6
  export default AvatarCardFormItem;
6
7
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/user/detail/components/AvatarCardFormItem/index.tsx"],"names":[],"mappings":"AAEA,UAAU,uBAAuB;IAC/B,GAAG,EAAE,GAAG,CAAC;CACV;AAED,QAAA,MAAM,kBAAkB,UAAW,uBAAuB,QAMzD,CAAC;AACF,eAAe,kBAAkB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/user/detail/components/AvatarCardFormItem/index.tsx"],"names":[],"mappings":";AAEA,UAAU,uBAAuB;IAC/B,GAAG,EAAE,GAAG,CAAC;CACV;AAED,QAAA,MAAM,kBAAkB,UAAW,uBAAuB,gBAMzD,CAAC;AACF,eAAe,kBAAkB,CAAC"}
@@ -1,7 +1,8 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const AvatarTag: ({ children, color }: {
3
4
  children?: any;
4
5
  color?: string;
5
- }) => any;
6
+ }) => JSX.Element;
6
7
  export default AvatarTag;
7
8
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/user/detail/components/AvatarTag/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AACtB,QAAA,MAAM,SAAS;eAA+C,GAAG;YAAU,MAAM;SAEhF,CAAC;AACF,eAAe,SAAS,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/user/detail/components/AvatarTag/index.tsx"],"names":[],"mappings":";AAAA,OAAO,cAAc,CAAC;AACtB,QAAA,MAAM,SAAS;eAA+C,GAAG;YAAU,MAAM;iBAEhF,CAAC;AACF,eAAe,SAAS,CAAC"}
@@ -1,3 +1,6 @@
1
+ /// <reference types="react" />
2
+ /// <reference types="react" />
3
+ /// <reference types="prop-types" />
1
4
  import './index.less';
2
5
  interface AvatarUploadProps {
3
6
  sdk: any;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/user/detail/components/AvatarUpload/index.tsx"],"names":[],"mappings":"AAOA,OAAO,cAAc,CAAC;AAGtB,UAAU,iBAAiB;IACzB,GAAG,EAAE,GAAG,CAAC;IACT,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,cAAc,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;CACxC;AAED,QAAA,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CA4E7C,CAAC;AACF,eAAe,YAAY,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/user/detail/components/AvatarUpload/index.tsx"],"names":[],"mappings":";;;AAOA,OAAO,cAAc,CAAC;AAGtB,UAAU,iBAAiB;IACzB,GAAG,EAAE,GAAG,CAAC;IACT,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,cAAc,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;CACxC;AAED,QAAA,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CA4E7C,CAAC;AACF,eAAe,YAAY,CAAC"}
@@ -40,7 +40,7 @@ var __async = (__this, __arguments, generator) => {
40
40
 
41
41
  // src/user/detail/components/AvatarUpload/index.tsx
42
42
  import { LoadingOutlined, PlusOutlined } from "@ant-design/icons";
43
- import { Image, message, Upload } from "@catd/components";
43
+ import { Image, message, Upload } from "@cgeui/components";
44
44
  import { merge, pick } from "lodash";
45
45
  import { useCallback, useState } from "react";
46
46
  import { PLATFORM_USER_I18N } from "../../../i18n";
@@ -39,7 +39,7 @@ var __async = (__this, __arguments, generator) => {
39
39
  };
40
40
 
41
41
  // src/user/detail/index.tsx
42
- import { Button, Card, Form, Input, message } from "@catd/components";
42
+ import { Button, Card, Form, Input, message } from "@cgeui/components";
43
43
  import { merge } from "lodash";
44
44
  import { useEffect, useState } from "react";
45
45
  import { PLATFORM_USER_I18N } from "../i18n";
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const GlobalUserComponent: (props: {
3
4
  sdk: any;
@@ -8,6 +9,6 @@ declare const GlobalUserComponent: (props: {
8
9
  isShowUserInfoPage?: boolean;
9
10
  isPasswordCover?: boolean;
10
11
  passwordCallback?: (params: any, message: string) => void;
11
- }) => any;
12
+ }) => JSX.Element;
12
13
  export default GlobalUserComponent;
13
14
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/user/index.tsx"],"names":[],"mappings":"AAOA,OAAO,cAAc,CAAC;AAItB,QAAA,MAAM,mBAAmB;SAClB,GAAG;eACG,OAAO;oBACF,OAAO;mCACQ,OAAO,KAAK,IAAI;0BACzB,OAAO;yBACR,OAAO;sBACV,OAAO;gCACG,GAAG,WAAW,MAAM,KAAK,IAAI;SA+L1D,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/user/index.tsx"],"names":[],"mappings":";AAOA,OAAO,cAAc,CAAC;AAItB,QAAA,MAAM,mBAAmB;SAClB,GAAG;eACG,OAAO;oBACF,OAAO;mCACQ,OAAO,KAAK,IAAI;0BACzB,OAAO;yBACR,OAAO;sBACV,OAAO;gCACG,GAAG,WAAW,MAAM,KAAK,IAAI;iBA+L1D,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
@@ -39,9 +39,9 @@ var __async = (__this, __arguments, generator) => {
39
39
  };
40
40
 
41
41
  // src/user/index.tsx
42
- import { SchemaForm } from "@catd/business-components";
43
- import { Avatar, Dropdown, Modal, showConfirm, Space } from "@catd/components";
44
- import { CatdIcons } from "@catd/icons";
42
+ import { SchemaForm } from "@cgeui/business-components";
43
+ import { Avatar, Dropdown, Modal, showConfirm, Space } from "@cgeui/components";
44
+ import { CatdIcons } from "@cgeui/icons";
45
45
  import { useCallback, useState } from "react";
46
46
  import { GlobalAlarmAudioSetComponent } from "../components";
47
47
  import { PLATFORM_USER_I18N } from "../i18n";
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export declare const getAccountPswSchema: (intl: any) => {
2
3
  type: string;
3
4
  properties: {
@@ -39,7 +40,7 @@ export declare const getAccountPswSchema: (intl: any) => {
39
40
  title: any;
40
41
  'x-decorator': string;
41
42
  'x-decorator-props': {
42
- extra: any;
43
+ extra: JSX.Element;
43
44
  };
44
45
  'x-component': string;
45
46
  'x-component-props': {
@@ -1 +1 @@
1
- {"version":3,"file":"userDetail.d.ts","sourceRoot":"","sources":["../../src/user/userDetail.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2CAqDC,GAAG;;;;;;;;;;;;;;;2CAqCH,GAAG;;;;;CAalC,CAAC"}
1
+ {"version":3,"file":"userDetail.d.ts","sourceRoot":"","sources":["../../src/user/userDetail.tsx"],"names":[],"mappings":";AAGA,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2CAqDC,GAAG;;;;;;;;;;;;;;;2CAqCH,GAAG;;;;;CAalC,CAAC"}
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  type SetProps = {
3
4
  title: string;
@@ -5,6 +6,6 @@ type SetProps = {
5
6
  setOpen: (open: boolean) => boolean;
6
7
  sdk: any;
7
8
  };
8
- declare const GlobalAlarmAudioSetComponent: (props: SetProps) => any;
9
+ declare const GlobalAlarmAudioSetComponent: (props: SetProps) => JSX.Element;
9
10
  export default GlobalAlarmAudioSetComponent;
10
11
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/audioSet/index.tsx"],"names":[],"mappings":"AAEA,OAAO,cAAc,CAAC;AAGtB,KAAK,QAAQ,GAAG;IACd,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,OAAO,CAAC;IACpC,GAAG,EAAE,GAAG,CAAC;CACV,CAAC;AACF,QAAA,MAAM,4BAA4B,UAAW,QAAQ,QAoFpD,CAAC;AAEF,eAAe,4BAA4B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/audioSet/index.tsx"],"names":[],"mappings":";AAEA,OAAO,cAAc,CAAC;AAGtB,KAAK,QAAQ,GAAG;IACd,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,OAAO,CAAC;IACpC,GAAG,EAAE,GAAG,CAAC;CACV,CAAC;AACF,QAAA,MAAM,4BAA4B,UAAW,QAAQ,gBAoFpD,CAAC;AAEF,eAAe,4BAA4B,CAAC"}
@@ -32,7 +32,7 @@ __export(audioSet_exports, {
32
32
  default: () => audioSet_default
33
33
  });
34
34
  module.exports = __toCommonJS(audioSet_exports);
35
- var import_components = require("@catd/components");
35
+ var import_components = require("@cgeui/components");
36
36
  var import_i18n = require("../../i18n");
37
37
  var import_index = require("./index.less");
38
38
  var import_operation = __toESM(require("./operation"));
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  type OperationProps = {
3
4
  level: number;
@@ -6,6 +7,6 @@ type OperationProps = {
6
7
  data?: any;
7
8
  volumeStatus: boolean;
8
9
  };
9
- declare const GlobalAlarmAudioOperationComponent: (props: OperationProps) => any;
10
+ declare const GlobalAlarmAudioOperationComponent: (props: OperationProps) => JSX.Element;
10
11
  export default GlobalAlarmAudioOperationComponent;
11
12
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/audioSet/operation/index.tsx"],"names":[],"mappings":"AAKA,OAAO,cAAc,CAAC;AAEtB,KAAK,cAAc,GAAG;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,OAAO,CAAC;IAClB,QAAQ,EAAE,OAAO,CAAC;IAClB,IAAI,CAAC,EAAE,GAAG,CAAC;IACX,YAAY,EAAE,OAAO,CAAC;CACvB,CAAC;AAEF,QAAA,MAAM,kCAAkC,UAAW,cAAc,QA6EhE,CAAC;AAEF,eAAe,kCAAkC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/audioSet/operation/index.tsx"],"names":[],"mappings":";AAKA,OAAO,cAAc,CAAC;AAEtB,KAAK,cAAc,GAAG;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,OAAO,CAAC;IAClB,QAAQ,EAAE,OAAO,CAAC;IAClB,IAAI,CAAC,EAAE,GAAG,CAAC;IACX,YAAY,EAAE,OAAO,CAAC;CACvB,CAAC;AAEF,QAAA,MAAM,kCAAkC,UAAW,cAAc,gBA6EhE,CAAC;AAEF,eAAe,kCAAkC,CAAC"}
@@ -32,7 +32,7 @@ __export(operation_exports, {
32
32
  default: () => operation_default
33
33
  });
34
34
  module.exports = __toCommonJS(operation_exports);
35
- var import_icons = require("@catd/icons");
35
+ var import_icons = require("@cgeui/icons");
36
36
  var import_react = require("react");
37
37
  var import_L1 = __toESM(require("./audio/L1.wav"));
38
38
  var import_L2 = __toESM(require("./audio/L2.mp3"));
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import '../encarbon-ui/index.less';
2
3
  import './index.less';
3
4
  declare const HeadRightComponent: (props: {
@@ -23,6 +24,6 @@ declare const HeadRightComponent: (props: {
23
24
  isPasswordCover?: boolean;
24
25
  passwordCallback?: (params: any, message: string) => void;
25
26
  };
26
- }) => any;
27
+ }) => JSX.Element;
27
28
  export default HeadRightComponent;
28
29
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/headRight/index.tsx"],"names":[],"mappings":"AACA,OAAO,2BAA2B,CAAC;AAKnC,OAAO,cAAc,CAAC;AAEtB,QAAA,MAAM,kBAAkB;SACjB,GAAG;iBACK;QACX,MAAM,EAAE,OAAO,CAAC;QAChB,YAAY,CAAC,EAAE,MAAM,CAAC;KACvB;gBACW;QACV,MAAM,EAAE,OAAO,CAAC;QAChB,WAAW,CAAC,EAAE,MAAM,CAAC;KACtB;UACK;QACJ,MAAM,EAAE,OAAO,CAAC;QAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;KACnB;;gBAES,OAAO;wBACC,OAAO;uCACQ,OAAO,KAAK,IAAI;8BACzB,OAAO;6BACR,OAAO;0BACV,OAAO;oCACG,GAAG,WAAW,MAAM,KAAK,IAAI;;SAqD5D,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/headRight/index.tsx"],"names":[],"mappings":";AACA,OAAO,2BAA2B,CAAC;AAKnC,OAAO,cAAc,CAAC;AAEtB,QAAA,MAAM,kBAAkB;SACjB,GAAG;iBACK;QACX,MAAM,EAAE,OAAO,CAAC;QAChB,YAAY,CAAC,EAAE,MAAM,CAAC;KACvB;gBACW;QACV,MAAM,EAAE,OAAO,CAAC;QAChB,WAAW,CAAC,EAAE,MAAM,CAAC;KACtB;UACK;QACJ,MAAM,EAAE,OAAO,CAAC;QAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;KACnB;;gBAES,OAAO;wBACC,OAAO;uCACQ,OAAO,KAAK,IAAI;8BACzB,OAAO;6BACR,OAAO;0BACV,OAAO;oCACG,GAAG,WAAW,MAAM,KAAK,IAAI;;iBAqD5D,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
@@ -1,8 +1,9 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const PlatformLangComponent: (props: {
3
4
  sdk: any;
4
5
  defaultLang?: string;
5
6
  defaultTheme?: string;
6
- }) => any;
7
+ }) => JSX.Element;
7
8
  export default PlatformLangComponent;
8
9
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/lang/index.tsx"],"names":[],"mappings":"AAGA,OAAO,cAAc,CAAC;AAGtB,QAAA,MAAM,qBAAqB,UAAW;IACpC,GAAG,EAAE,GAAG,CAAC;IACT,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,QAoDA,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/lang/index.tsx"],"names":[],"mappings":";AAGA,OAAO,cAAc,CAAC;AAGtB,QAAA,MAAM,qBAAqB,UAAW;IACpC,GAAG,EAAE,GAAG,CAAC;IACT,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,gBAoDA,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
@@ -22,7 +22,7 @@ __export(lang_exports, {
22
22
  default: () => lang_default
23
23
  });
24
24
  module.exports = __toCommonJS(lang_exports);
25
- var import_components = require("@catd/components");
25
+ var import_components = require("@cgeui/components");
26
26
  var import_react = require("react");
27
27
  var import_i18n = require("./i18n");
28
28
  var import_index = require("./index.less");
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const PlatformMessage: (props: {
3
4
  icon?: string;
@@ -7,6 +8,6 @@ declare const PlatformMessage: (props: {
7
8
  sdk?: any;
8
9
  locahost?: string;
9
10
  audioSwitch?: boolean;
10
- }) => any;
11
+ }) => JSX.Element;
11
12
  export default PlatformMessage;
12
13
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/platformMessage/index.tsx"],"names":[],"mappings":"AAYA,OAAO,cAAc,CAAC;AAWtB,QAAA,MAAM,eAAe,UAAW;IAC9B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,GAAG,CAAC,EAAE,GAAG,CAAC;IACV,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB,QAwSA,CAAC;AAEF,eAAe,eAAe,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/platformMessage/index.tsx"],"names":[],"mappings":";AAYA,OAAO,cAAc,CAAC;AAWtB,QAAA,MAAM,eAAe,UAAW;IAC9B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,GAAG,CAAC,EAAE,GAAG,CAAC;IACV,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB,gBAwSA,CAAC;AAEF,eAAe,eAAe,CAAC"}
@@ -52,9 +52,9 @@ __export(platformMessage_exports, {
52
52
  default: () => platformMessage_default
53
53
  });
54
54
  module.exports = __toCommonJS(platformMessage_exports);
55
- var import_components = require("@catd/components");
56
- var import_icons = require("@catd/icons");
57
- var import_mozi = require("@catd/mozi");
55
+ var import_components = require("@cgeui/components");
56
+ var import_icons = require("@cgeui/icons");
57
+ var import_mozi = require("@cgeui/mozi");
58
58
  var import_moment = __toESM(require("moment"));
59
59
  var import_react = require("react");
60
60
  var import_components2 = require("../components/index");
@@ -1,8 +1,9 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const PlatformThemeComponent: (props: {
3
4
  sdk: any;
4
5
  theme: string;
5
6
  onChange: (theme: string) => void;
6
- }) => any;
7
+ }) => JSX.Element;
7
8
  export default PlatformThemeComponent;
8
9
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/theme/index.tsx"],"names":[],"mappings":"AAGA,OAAO,cAAc,CAAC;AAGtB,QAAA,MAAM,sBAAsB;SACrB,GAAG;WACD,MAAM;sBACK,MAAM,KAAK,IAAI;SAmElC,CAAC;AAEF,eAAe,sBAAsB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/theme/index.tsx"],"names":[],"mappings":";AAGA,OAAO,cAAc,CAAC;AAGtB,QAAA,MAAM,sBAAsB;SACrB,GAAG;WACD,MAAM;sBACK,MAAM,KAAK,IAAI;iBAmElC,CAAC;AAEF,eAAe,sBAAsB,CAAC"}
@@ -39,8 +39,8 @@ __export(theme_exports, {
39
39
  default: () => theme_default
40
40
  });
41
41
  module.exports = __toCommonJS(theme_exports);
42
- var import_components = require("@catd/components");
43
- var import_icons = require("@catd/icons");
42
+ var import_components = require("@cgeui/components");
43
+ var import_icons = require("@cgeui/icons");
44
44
  var import_react = require("react");
45
45
  var import_index = require("./index.less");
46
46
  var import_service = require("./service");
@@ -1,6 +1,7 @@
1
+ /// <reference types="react" />
1
2
  interface AvatarCardFormItemProps {
2
3
  sdk: any;
3
4
  }
4
- declare const AvatarCardFormItem: (props: AvatarCardFormItemProps) => any;
5
+ declare const AvatarCardFormItem: (props: AvatarCardFormItemProps) => JSX.Element;
5
6
  export default AvatarCardFormItem;
6
7
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/user/detail/components/AvatarCardFormItem/index.tsx"],"names":[],"mappings":"AAEA,UAAU,uBAAuB;IAC/B,GAAG,EAAE,GAAG,CAAC;CACV;AAED,QAAA,MAAM,kBAAkB,UAAW,uBAAuB,QAMzD,CAAC;AACF,eAAe,kBAAkB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/user/detail/components/AvatarCardFormItem/index.tsx"],"names":[],"mappings":";AAEA,UAAU,uBAAuB;IAC/B,GAAG,EAAE,GAAG,CAAC;CACV;AAED,QAAA,MAAM,kBAAkB,UAAW,uBAAuB,gBAMzD,CAAC;AACF,eAAe,kBAAkB,CAAC"}
@@ -1,7 +1,8 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const AvatarTag: ({ children, color }: {
3
4
  children?: any;
4
5
  color?: string;
5
- }) => any;
6
+ }) => JSX.Element;
6
7
  export default AvatarTag;
7
8
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/user/detail/components/AvatarTag/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AACtB,QAAA,MAAM,SAAS;eAA+C,GAAG;YAAU,MAAM;SAEhF,CAAC;AACF,eAAe,SAAS,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/user/detail/components/AvatarTag/index.tsx"],"names":[],"mappings":";AAAA,OAAO,cAAc,CAAC;AACtB,QAAA,MAAM,SAAS;eAA+C,GAAG;YAAU,MAAM;iBAEhF,CAAC;AACF,eAAe,SAAS,CAAC"}
@@ -1,3 +1,6 @@
1
+ /// <reference types="react" />
2
+ /// <reference types="react" />
3
+ /// <reference types="prop-types" />
1
4
  import './index.less';
2
5
  interface AvatarUploadProps {
3
6
  sdk: any;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/user/detail/components/AvatarUpload/index.tsx"],"names":[],"mappings":"AAOA,OAAO,cAAc,CAAC;AAGtB,UAAU,iBAAiB;IACzB,GAAG,EAAE,GAAG,CAAC;IACT,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,cAAc,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;CACxC;AAED,QAAA,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CA4E7C,CAAC;AACF,eAAe,YAAY,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/user/detail/components/AvatarUpload/index.tsx"],"names":[],"mappings":";;;AAOA,OAAO,cAAc,CAAC;AAGtB,UAAU,iBAAiB;IACzB,GAAG,EAAE,GAAG,CAAC;IACT,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,cAAc,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;CACxC;AAED,QAAA,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CA4E7C,CAAC;AACF,eAAe,YAAY,CAAC"}
@@ -60,7 +60,7 @@ __export(AvatarUpload_exports, {
60
60
  });
61
61
  module.exports = __toCommonJS(AvatarUpload_exports);
62
62
  var import_icons = require("@ant-design/icons");
63
- var import_components = require("@catd/components");
63
+ var import_components = require("@cgeui/components");
64
64
  var import_lodash = require("lodash");
65
65
  var import_react = require("react");
66
66
  var import_i18n = require("../../../i18n");
@@ -69,7 +69,7 @@ __export(detail_exports, {
69
69
  default: () => detail_default
70
70
  });
71
71
  module.exports = __toCommonJS(detail_exports);
72
- var import_components = require("@catd/components");
72
+ var import_components = require("@cgeui/components");
73
73
  var import_lodash = require("lodash");
74
74
  var import_react = require("react");
75
75
  var import_i18n = require("../i18n");
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const GlobalUserComponent: (props: {
3
4
  sdk: any;
@@ -8,6 +9,6 @@ declare const GlobalUserComponent: (props: {
8
9
  isShowUserInfoPage?: boolean;
9
10
  isPasswordCover?: boolean;
10
11
  passwordCallback?: (params: any, message: string) => void;
11
- }) => any;
12
+ }) => JSX.Element;
12
13
  export default GlobalUserComponent;
13
14
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/user/index.tsx"],"names":[],"mappings":"AAOA,OAAO,cAAc,CAAC;AAItB,QAAA,MAAM,mBAAmB;SAClB,GAAG;eACG,OAAO;oBACF,OAAO;mCACQ,OAAO,KAAK,IAAI;0BACzB,OAAO;yBACR,OAAO;sBACV,OAAO;gCACG,GAAG,WAAW,MAAM,KAAK,IAAI;SA+L1D,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/user/index.tsx"],"names":[],"mappings":";AAOA,OAAO,cAAc,CAAC;AAItB,QAAA,MAAM,mBAAmB;SAClB,GAAG;eACG,OAAO;oBACF,OAAO;mCACQ,OAAO,KAAK,IAAI;0BACzB,OAAO;yBACR,OAAO;sBACV,OAAO;gCACG,GAAG,WAAW,MAAM,KAAK,IAAI;iBA+L1D,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
@@ -69,9 +69,9 @@ __export(user_exports, {
69
69
  default: () => user_default
70
70
  });
71
71
  module.exports = __toCommonJS(user_exports);
72
- var import_business_components = require("@catd/business-components");
73
- var import_components = require("@catd/components");
74
- var import_icons = require("@catd/icons");
72
+ var import_business_components = require("@cgeui/business-components");
73
+ var import_components = require("@cgeui/components");
74
+ var import_icons = require("@cgeui/icons");
75
75
  var import_react = require("react");
76
76
  var import_components2 = require("../components");
77
77
  var import_i18n = require("../i18n");
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export declare const getAccountPswSchema: (intl: any) => {
2
3
  type: string;
3
4
  properties: {
@@ -39,7 +40,7 @@ export declare const getAccountPswSchema: (intl: any) => {
39
40
  title: any;
40
41
  'x-decorator': string;
41
42
  'x-decorator-props': {
42
- extra: any;
43
+ extra: JSX.Element;
43
44
  };
44
45
  'x-component': string;
45
46
  'x-component-props': {
@@ -1 +1 @@
1
- {"version":3,"file":"userDetail.d.ts","sourceRoot":"","sources":["../../src/user/userDetail.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2CAqDC,GAAG;;;;;;;;;;;;;;;2CAqCH,GAAG;;;;;CAalC,CAAC"}
1
+ {"version":3,"file":"userDetail.d.ts","sourceRoot":"","sources":["../../src/user/userDetail.tsx"],"names":[],"mappings":";AAGA,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2CAqDC,GAAG;;;;;;;;;;;;;;;2CAqCH,GAAG;;;;;CAalC,CAAC"}
package/package.json CHANGED
@@ -1,12 +1,20 @@
1
1
  {
2
2
  "name": "@cgeui/platform-head",
3
- "version": "0.0.1",
3
+ "version": "0.0.3",
4
4
  "author": "qiy03 <qiy03@catl.com>",
5
5
  "description": "encarbon platform head",
6
6
  "email": "qiy03@catl.ocm",
7
7
  "license": "MIT",
8
+ "main": "dist/lib/index.js",
8
9
  "module": "dist/esm/index.js",
9
10
  "types": "dist/esm/index.d.ts",
11
+ "exports": {
12
+ ".": {
13
+ "import": "./dist/esm/index.js",
14
+ "require": "./dist/lib/index.js",
15
+ "types": "./dist/esm/index.d.ts"
16
+ }
17
+ },
10
18
  "files": [
11
19
  "dist"
12
20
  ],