iv-npm 1.0.17 → 1.0.20

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": "iv-npm",
3
- "version": "1.0.17",
3
+ "version": "1.0.20",
4
4
  "description": "公共通用包",
5
5
  "author": "Mr.Cong",
6
6
  "license": "ISC",
@@ -0,0 +1,40 @@
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 __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
8
+ get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
9
+ }) : x)(function(x) {
10
+ if (typeof require !== "undefined")
11
+ return require.apply(this, arguments);
12
+ throw new Error('Dynamic require of "' + x + '" is not supported');
13
+ });
14
+ var __commonJS = (cb, mod) => function __require2() {
15
+ return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
16
+ };
17
+ var __copyProps = (to, from, except, desc) => {
18
+ if (from && typeof from === "object" || typeof from === "function") {
19
+ for (let key of __getOwnPropNames(from))
20
+ if (!__hasOwnProp.call(to, key) && key !== except)
21
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
22
+ }
23
+ return to;
24
+ };
25
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
26
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
27
+ mod
28
+ ));
29
+
30
+ // configs/server.seeting.ts
31
+ var TIME_OUT = 15e3 * 2;
32
+ var PORT = 3333;
33
+
34
+ export {
35
+ __require,
36
+ __commonJS,
37
+ __toESM,
38
+ TIME_OUT,
39
+ PORT
40
+ };
@@ -1 +1,4 @@
1
+ declare const TIME_OUT: number;
2
+ declare const PORT = 3333;
1
3
 
4
+ export { PORT, TIME_OUT };
@@ -0,0 +1,32 @@
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
+ // configs/server.seeting.ts
20
+ var server_seeting_exports = {};
21
+ __export(server_seeting_exports, {
22
+ PORT: () => PORT,
23
+ TIME_OUT: () => TIME_OUT
24
+ });
25
+ module.exports = __toCommonJS(server_seeting_exports);
26
+ var TIME_OUT = 15e3 * 2;
27
+ var PORT = 3333;
28
+ // Annotate the CommonJS export names for ESM import in node:
29
+ 0 && (module.exports = {
30
+ PORT,
31
+ TIME_OUT
32
+ });
@@ -1 +1,8 @@
1
- import "../chunk-KZOARGN5.mjs";
1
+ import {
2
+ PORT,
3
+ TIME_OUT
4
+ } from "../chunk-JELAPAML.mjs";
5
+ export {
6
+ PORT,
7
+ TIME_OUT
8
+ };
@@ -14454,11 +14454,14 @@ var Request = class {
14454
14454
  };
14455
14455
  var http_default = Request;
14456
14456
 
14457
+ // configs/server.seeting.ts
14458
+ var TIME_OUT = 15e3 * 2;
14459
+
14457
14460
  // utils/api/index.ts
14458
14461
  var import_qs = __toESM(require_lib());
14459
14462
  var request = new http_default({
14460
14463
  baseURL: "https://basis.nacho.cn",
14461
- timeout: void 0,
14464
+ timeout: TIME_OUT,
14462
14465
  headers: {
14463
14466
  "Content-Type": "application/json;charset=UTF-8",
14464
14467
  "Accept-Language": "zh-Hans"
@@ -1,32 +1,9 @@
1
- import "../chunk-KZOARGN5.mjs";
2
- var __create = Object.create;
3
- var __defProp = Object.defineProperty;
4
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
- var __getOwnPropNames = Object.getOwnPropertyNames;
6
- var __getProtoOf = Object.getPrototypeOf;
7
- var __hasOwnProp = Object.prototype.hasOwnProperty;
8
- var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
9
- get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
10
- }) : x)(function(x) {
11
- if (typeof require !== "undefined")
12
- return require.apply(this, arguments);
13
- throw new Error('Dynamic require of "' + x + '" is not supported');
14
- });
15
- var __commonJS = (cb, mod) => function __require2() {
16
- return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
17
- };
18
- var __copyProps = (to, from, except, desc) => {
19
- if (from && typeof from === "object" || typeof from === "function") {
20
- for (let key of __getOwnPropNames(from))
21
- if (!__hasOwnProp.call(to, key) && key !== except)
22
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
23
- }
24
- return to;
25
- };
26
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
27
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
28
- mod
29
- ));
1
+ import {
2
+ TIME_OUT,
3
+ __commonJS,
4
+ __require,
5
+ __toESM
6
+ } from "../chunk-JELAPAML.mjs";
30
7
 
31
8
  // ../../node_modules/.pnpm/axios@0.27.2/node_modules/axios/lib/helpers/bind.js
32
9
  var require_bind = __commonJS({
@@ -14451,7 +14428,7 @@ var http_default = Request;
14451
14428
  var import_qs = __toESM(require_lib());
14452
14429
  var request = new http_default({
14453
14430
  baseURL: "https://basis.nacho.cn",
14454
- timeout: void 0,
14431
+ timeout: TIME_OUT,
14455
14432
  headers: {
14456
14433
  "Content-Type": "application/json;charset=UTF-8",
14457
14434
  "Accept-Language": "zh-Hans"
@@ -659,9 +659,11 @@ var __toESM = function __toESM(mod, isNodeMode, target) {
659
659
  value: mod,
660
660
  enumerable: true
661
661
  }) : target, mod);
662
- }; // ../../node_modules/.pnpm/axios@0.27.2/node_modules/axios/lib/helpers/bind.js
662
+ }; // configs/server.seeting.ts
663
663
 
664
664
 
665
+ var TIME_OUT = 15e3 * 2;
666
+
665
667
  var require_bind = __commonJS({
666
668
  "../../node_modules/.pnpm/axios@0.27.2/node_modules/axios/lib/helpers/bind.js": function node_modulesPnpmAxios0272Node_modulesAxiosLibHelpersBindJs(exports, module) {
667
669
 
@@ -2579,18 +2581,18 @@ var require_follow_redirects = __commonJS({
2579
2581
  var request2 = this._currentRequest = nativeProtocol.request(this._options, this._onNativeResponse);
2580
2582
  request2._redirectable = this;
2581
2583
 
2582
- var _iterator2 = _createForOfIteratorHelper(events),
2583
- _step2;
2584
+ var _iterator = _createForOfIteratorHelper(events),
2585
+ _step;
2584
2586
 
2585
2587
  try {
2586
- for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
2587
- var event = _step2.value;
2588
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
2589
+ var event = _step.value;
2588
2590
  request2.on(event, eventHandlers[event]);
2589
2591
  }
2590
2592
  } catch (err) {
2591
- _iterator2.e(err);
2593
+ _iterator.e(err);
2592
2594
  } finally {
2593
- _iterator2.f();
2595
+ _iterator.f();
2594
2596
  }
2595
2597
 
2596
2598
  this._currentUrl = /^\//.test(this._options.path) ? url.format(this._options) : this._currentUrl = this._options.path;
@@ -2838,18 +2840,18 @@ var require_follow_redirects = __commonJS({
2838
2840
  }
2839
2841
 
2840
2842
  function abortRequest(request2) {
2841
- var _iterator3 = _createForOfIteratorHelper(events),
2842
- _step3;
2843
+ var _iterator2 = _createForOfIteratorHelper(events),
2844
+ _step2;
2843
2845
 
2844
2846
  try {
2845
- for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
2846
- var event = _step3.value;
2847
+ for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
2848
+ var event = _step2.value;
2847
2849
  request2.removeListener(event, eventHandlers[event]);
2848
2850
  }
2849
2851
  } catch (err) {
2850
- _iterator3.e(err);
2852
+ _iterator2.e(err);
2851
2853
  } finally {
2852
- _iterator3.f();
2854
+ _iterator2.f();
2853
2855
  }
2854
2856
 
2855
2857
  request2.on("error", noop);
@@ -15942,7 +15944,7 @@ var import_qs = __toESM(require_lib());
15942
15944
 
15943
15945
  var request = new http_default({
15944
15946
  baseURL: "https://basis.nacho.cn",
15945
- timeout: void 0,
15947
+ timeout: TIME_OUT,
15946
15948
  headers: {
15947
15949
  "Content-Type": "application/json;charset=UTF-8",
15948
15950
  "Accept-Language": "zh-Hans"
@@ -0,0 +1,91 @@
1
+ /* 模态框 */
2
+ body .detail-class {
3
+ top: -50px;
4
+ }
5
+ /* body .ant-modal{
6
+ width: 84vw!important;
7
+ height: 80vh!important;
8
+ } */
9
+ body .module-class .ant-modal-header {
10
+ padding: 0;
11
+ }
12
+ body .module-class .ant-modal-body {
13
+ position: relative;
14
+ padding: 100px 0 100px 100px;
15
+ }
16
+
17
+ body .detail-class .ant-modal-body {
18
+ overflow: auto;
19
+ padding: 0 0 30px 0;
20
+ }
21
+
22
+ body .module-class.not-padding .ant-modal-body {
23
+ position: relative;
24
+ padding: 0;
25
+ }
26
+ body .module-class.pwd .ant-modal-body {
27
+ position: relative;
28
+ padding: 100px 0;
29
+ }
30
+
31
+ .ant-scrolling-effect {
32
+ width: 100% !important;
33
+ }
34
+ /* 组件模态框 */
35
+ body .module-class.modal-components .ant-modal {
36
+ top: 5%;
37
+ left: 0px;
38
+ margin-left: 5%;
39
+ margin-right: 5%;
40
+ height: 40%;
41
+ width: auto !important;
42
+ }
43
+ body .module-class.modal-components .ant-modal .ant-modal-content {
44
+ height: 100%;
45
+ }
46
+ body .module-class .ant-modal-content {
47
+ box-sizing: border-box;
48
+ border-radius: 10px;
49
+ overflow: hidden;
50
+ /* border: 5px solid #f1f1f1; */
51
+ }
52
+ body
53
+ .module-class.modal-components
54
+ .ant-modal
55
+ .ant-modal-content
56
+ .ant-modal-body {
57
+ height: 100%;
58
+ overflow-y: auto;
59
+ }
60
+ body
61
+ .module-class.modal-components
62
+ .ant-modal
63
+ .ant-modal-content
64
+ .ant-modal-body::-webkit-scrollbar {
65
+ width: 15px;
66
+ height: 20px;
67
+ }
68
+ body
69
+ .module-class.modal-components
70
+ .ant-modal
71
+ .ant-modal-content
72
+ .ant-modal-body::-webkit-scrollbar-track {
73
+ border-radius: 100vh;
74
+ background: #f7f4ed;
75
+ }
76
+ body
77
+ .module-class.modal-components
78
+ .ant-modal
79
+ .ant-modal-content
80
+ .ant-modal-body::-webkit-scrollbar-thumb {
81
+ background: #e0cbcb;
82
+ border-radius: 100vh;
83
+ border: 3px solid #f6f7ed;
84
+ }
85
+ body
86
+ .module-class.modal-components
87
+ .ant-modal
88
+ .ant-modal-content
89
+ .ant-modal-body::-webkit-scrollbar-thumb:hover {
90
+ background: #c0a0b9;
91
+ }