@pnt-team/pnt-component-frontend 0.0.35 → 0.0.38

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pnt-team/pnt-component-frontend",
3
- "version": "0.0.35",
3
+ "version": "0.0.38",
4
4
  "description": "A react library developed with dumi",
5
5
  "license": "MIT",
6
6
  "main": "lib/cjs/index.js",
@@ -1,17 +0,0 @@
1
- import { commonEesType } from "../utils/request";
2
- /**
3
- * 高敏信息解密
4
- * @returns
5
- */
6
- interface SecurityItem {
7
- key: string;
8
- value: string;
9
- }
10
- /**
11
- * 对数据进行高安全解密处理
12
- *
13
- * @param data 需要解密的数据
14
- * @returns 解密后的数据
15
- */
16
- export declare function highSecurity(data: any): Promise<commonEesType<SecurityItem[]>>;
17
- export {};
@@ -1,45 +0,0 @@
1
- var __create = Object.create;
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __getProtoOf = Object.getPrototypeOf;
6
- var __hasOwnProp = Object.prototype.hasOwnProperty;
7
- var __export = (target, all) => {
8
- for (var name in all)
9
- __defProp(target, name, { get: all[name], enumerable: true });
10
- };
11
- var __copyProps = (to, from, except, desc) => {
12
- if (from && typeof from === "object" || typeof from === "function") {
13
- for (let key of __getOwnPropNames(from))
14
- if (!__hasOwnProp.call(to, key) && key !== except)
15
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
- }
17
- return to;
18
- };
19
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
20
- // If the importer is in node compatibility mode or this is not an ESM
21
- // file that has been converted to a CommonJS file using a Babel-
22
- // compatible transform (i.e. "__esModule" has not been set), then set
23
- // "default" to the CommonJS "module.exports" for node compatibility.
24
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
25
- mod
26
- ));
27
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
28
-
29
- // src/api/index.ts
30
- var api_exports = {};
31
- __export(api_exports, {
32
- highSecurity: () => highSecurity
33
- });
34
- module.exports = __toCommonJS(api_exports);
35
- var import_request = __toESM(require("../utils/request"));
36
- function highSecurity(data) {
37
- return import_request.default.post(
38
- "/api/v3/business/game_info/high-security-decrypt?audience=/laas-pnt",
39
- data
40
- );
41
- }
42
- // Annotate the CommonJS export names for ESM import in node:
43
- 0 && (module.exports = {
44
- highSecurity
45
- });
@@ -1,12 +0,0 @@
1
- declare const _default: {
2
- development: {
3
- API: string;
4
- };
5
- test: {
6
- API: string;
7
- };
8
- production: {
9
- API: string;
10
- };
11
- };
12
- export default _default;
@@ -1,39 +0,0 @@
1
- var __defProp = Object.defineProperty;
2
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
- var __getOwnPropNames = Object.getOwnPropertyNames;
4
- var __hasOwnProp = Object.prototype.hasOwnProperty;
5
- var __export = (target, all) => {
6
- for (var name in all)
7
- __defProp(target, name, { get: all[name], enumerable: true });
8
- };
9
- var __copyProps = (to, from, except, desc) => {
10
- if (from && typeof from === "object" || typeof from === "function") {
11
- for (let key of __getOwnPropNames(from))
12
- if (!__hasOwnProp.call(to, key) && key !== except)
13
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
14
- }
15
- return to;
16
- };
17
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
-
19
- // src/configs/host.ts
20
- var host_exports = {};
21
- __export(host_exports, {
22
- default: () => host_default
23
- });
24
- module.exports = __toCommonJS(host_exports);
25
- var host_default = {
26
- development: {
27
- // 开发环境接口请求
28
- API: "/api"
29
- },
30
- test: {
31
- // 测试环境接口地址
32
- API: "http://43.134.150.67"
33
- },
34
- production: {
35
- // 正式环境接口地址
36
- API: "http://43.134.150.67"
37
- // 任意ip即可, pnt主应用会自动替换,
38
- }
39
- };
@@ -1,2 +0,0 @@
1
- declare const _default: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50SWQiOiJ1cy0xMDRmZTliNDZmZGY0NTM0YmU2NjNlYzllYWE5ZWEyZSIsImFjY291bnROYW1lIjoidl9id3dlaXdhbmciLCJleHAiOjE3NTcwNjczMzUsImV4cFRva2VuIjoxNzU3MDY2NTM1LCJqdGkiOiI2OWY3Njc3My1lMDk0LTQwZTYtYTNlMS00NWI3ZjQyN2Q2OTMifQ.X81cdIwj3nothPmY6dfJLPNKLKKvnLU3vkNlHFITsRs";
2
- export default _default;
@@ -1,25 +0,0 @@
1
- var __defProp = Object.defineProperty;
2
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
- var __getOwnPropNames = Object.getOwnPropertyNames;
4
- var __hasOwnProp = Object.prototype.hasOwnProperty;
5
- var __export = (target, all) => {
6
- for (var name in all)
7
- __defProp(target, name, { get: all[name], enumerable: true });
8
- };
9
- var __copyProps = (to, from, except, desc) => {
10
- if (from && typeof from === "object" || typeof from === "function") {
11
- for (let key of __getOwnPropNames(from))
12
- if (!__hasOwnProp.call(to, key) && key !== except)
13
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
14
- }
15
- return to;
16
- };
17
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
-
19
- // src/configs/token.ts
20
- var token_exports = {};
21
- __export(token_exports, {
22
- default: () => token_default
23
- });
24
- module.exports = __toCommonJS(token_exports);
25
- var token_default = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50SWQiOiJ1cy0xMDRmZTliNDZmZGY0NTM0YmU2NjNlYzllYWE5ZWEyZSIsImFjY291bnROYW1lIjoidl9id3dlaXdhbmciLCJleHAiOjE3NTcwNjczMzUsImV4cFRva2VuIjoxNzU3MDY2NTM1LCJqdGkiOiI2OWY3Njc3My1lMDk0LTQwZTYtYTNlMS00NWI3ZjQyN2Q2OTMifQ.X81cdIwj3nothPmY6dfJLPNKLKKvnLU3vkNlHFITsRs";
@@ -1,17 +0,0 @@
1
- import { commonEesType } from "../utils/request";
2
- /**
3
- * 高敏信息解密
4
- * @returns
5
- */
6
- interface SecurityItem {
7
- key: string;
8
- value: string;
9
- }
10
- /**
11
- * 对数据进行高安全解密处理
12
- *
13
- * @param data 需要解密的数据
14
- * @returns 解密后的数据
15
- */
16
- export declare function highSecurity(data: any): Promise<commonEesType<SecurityItem[]>>;
17
- export {};
@@ -1,11 +0,0 @@
1
- // src/api/index.ts
2
- import axios from "../utils/request";
3
- function highSecurity(data) {
4
- return axios.post(
5
- "/api/v3/business/game_info/high-security-decrypt?audience=/laas-pnt",
6
- data
7
- );
8
- }
9
- export {
10
- highSecurity
11
- };
@@ -1,12 +0,0 @@
1
- declare const _default: {
2
- development: {
3
- API: string;
4
- };
5
- test: {
6
- API: string;
7
- };
8
- production: {
9
- API: string;
10
- };
11
- };
12
- export default _default;
@@ -1,19 +0,0 @@
1
- // src/configs/host.ts
2
- var host_default = {
3
- development: {
4
- // 开发环境接口请求
5
- API: "/api"
6
- },
7
- test: {
8
- // 测试环境接口地址
9
- API: "http://43.134.150.67"
10
- },
11
- production: {
12
- // 正式环境接口地址
13
- API: "http://43.134.150.67"
14
- // 任意ip即可, pnt主应用会自动替换,
15
- }
16
- };
17
- export {
18
- host_default as default
19
- };
@@ -1,2 +0,0 @@
1
- declare const _default: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50SWQiOiJ1cy0xMDRmZTliNDZmZGY0NTM0YmU2NjNlYzllYWE5ZWEyZSIsImFjY291bnROYW1lIjoidl9id3dlaXdhbmciLCJleHAiOjE3NTcwNjczMzUsImV4cFRva2VuIjoxNzU3MDY2NTM1LCJqdGkiOiI2OWY3Njc3My1lMDk0LTQwZTYtYTNlMS00NWI3ZjQyN2Q2OTMifQ.X81cdIwj3nothPmY6dfJLPNKLKKvnLU3vkNlHFITsRs";
2
- export default _default;
@@ -1,5 +0,0 @@
1
- // src/configs/token.ts
2
- var token_default = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50SWQiOiJ1cy0xMDRmZTliNDZmZGY0NTM0YmU2NjNlYzllYWE5ZWEyZSIsImFjY291bnROYW1lIjoidl9id3dlaXdhbmciLCJleHAiOjE3NTcwNjczMzUsImV4cFRva2VuIjoxNzU3MDY2NTM1LCJqdGkiOiI2OWY3Njc3My1lMDk0LTQwZTYtYTNlMS00NWI3ZjQyN2Q2OTMifQ.X81cdIwj3nothPmY6dfJLPNKLKKvnLU3vkNlHFITsRs";
3
- export {
4
- token_default as default
5
- };