@cgeui/platform-head 0.0.1 → 0.0.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.
- package/ReadMe.md +1 -1
- package/dist/esm/components/audioSet/index.js +1 -1
- package/dist/esm/components/audioSet/operation/index.js +1 -1
- package/dist/esm/lang/index.js +1 -1
- package/dist/esm/platformMessage/index.js +3 -3
- package/dist/esm/theme/index.js +2 -2
- package/dist/esm/user/detail/components/AvatarUpload/index.js +1 -1
- package/dist/esm/user/detail/index.js +1 -1
- package/dist/esm/user/index.js +3 -3
- package/dist/lib/components/audioSet/index.js +1 -1
- package/dist/lib/components/audioSet/operation/index.js +1 -1
- package/dist/lib/lang/index.js +1 -1
- package/dist/lib/platformMessage/index.js +3 -3
- package/dist/lib/theme/index.js +2 -2
- package/dist/lib/user/detail/components/AvatarUpload/index.js +1 -1
- package/dist/lib/user/detail/index.js +1 -1
- package/dist/lib/user/index.js +3 -3
- package/package.json +9 -1
package/ReadMe.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// src/components/audioSet/index.tsx
|
|
2
|
-
import { Modal, Table } from "@
|
|
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";
|
package/dist/esm/lang/index.js
CHANGED
|
@@ -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 "@
|
|
24
|
-
import { CatdIcons } from "@
|
|
25
|
-
import { Socket } from "@
|
|
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";
|
package/dist/esm/theme/index.js
CHANGED
|
@@ -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 "@
|
|
23
|
-
import { CatdIcons } from "@
|
|
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";
|
|
@@ -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 "@
|
|
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 "@
|
|
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";
|
package/dist/esm/user/index.js
CHANGED
|
@@ -39,9 +39,9 @@ var __async = (__this, __arguments, generator) => {
|
|
|
39
39
|
};
|
|
40
40
|
|
|
41
41
|
// src/user/index.tsx
|
|
42
|
-
import { SchemaForm } from "@
|
|
43
|
-
import { Avatar, Dropdown, Modal, showConfirm, Space } from "@
|
|
44
|
-
import { CatdIcons } from "@
|
|
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";
|
|
@@ -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("@
|
|
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"));
|
|
@@ -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("@
|
|
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"));
|
package/dist/lib/lang/index.js
CHANGED
|
@@ -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("@
|
|
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");
|
|
@@ -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("@
|
|
56
|
-
var import_icons = require("@
|
|
57
|
-
var import_mozi = require("@
|
|
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");
|
package/dist/lib/theme/index.js
CHANGED
|
@@ -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("@
|
|
43
|
-
var import_icons = require("@
|
|
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");
|
|
@@ -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("@
|
|
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("@
|
|
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");
|
package/dist/lib/user/index.js
CHANGED
|
@@ -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("@
|
|
73
|
-
var import_components = require("@
|
|
74
|
-
var import_icons = require("@
|
|
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");
|
package/package.json
CHANGED
|
@@ -1,12 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cgeui/platform-head",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.2",
|
|
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
|
],
|