reykit 1.0.51 → 1.0.53

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/dist/index.d.ts CHANGED
@@ -3,6 +3,7 @@ import * as base from './base';
3
3
  import * as net from './net';
4
4
  import * as re from './re';
5
5
  import * as react from './react';
6
+ import * as sys from './sys';
6
7
  import * as tailwindcss from './tailwindcss';
7
8
  import * as window from './window';
8
9
  declare const _default: {
@@ -11,6 +12,7 @@ declare const _default: {
11
12
  net: typeof net;
12
13
  re: typeof re;
13
14
  react: typeof react;
15
+ sys: typeof sys;
14
16
  tailwindcss: typeof tailwindcss;
15
17
  window: typeof window;
16
18
  };
package/dist/index.js CHANGED
@@ -27636,15 +27636,18 @@ async function CE(Z, {
27636
27636
  const HE = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
27637
27637
  __proto__: null,
27638
27638
  request: CE
27639
- }, Symbol.toStringTag, { value: "Module" })), BE = "^((25[0-5]|2[0-4]d|1dd|[1-9]?d).){3}(25[0-5]|2[0-4]d|1dd|[1-9]?d)$", NE = "^https?://[^s/$.?#].[^s]*$", xE = "^[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+.[A-Za-z]{2,}$", qE = "^1[3-9]d{9}$", YE = "^[一-龥]+$", jE = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
27639
+ }, Symbol.toStringTag, { value: "Module" })), BE = /^((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)\.){3}(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)$/, NE = /^https?:\/\/[^\s/$.?#].[^\s]*$/, xE = /^[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,}$/, qE = /^1[3-9]\d{9}$/, YE = /^[\u4e00-\u9fa5]+$/, jE = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
27640
27640
  __proto__: null,
27641
27641
  PATTERN_CN: YE,
27642
27642
  PATTERN_EMAIL: xE,
27643
27643
  PATTERN_IP: BE,
27644
27644
  PATTERN_PHONE: qE,
27645
27645
  PATTERN_URL: NE
27646
+ }, Symbol.toStringTag, { value: "Module" })), GE = { BASE_URL: "/", DEV: !1, MODE: "production", PROD: !0, SSR: !1 }, XE = GE, QE = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
27647
+ __proto__: null,
27648
+ env: XE
27646
27649
  }, Symbol.toStringTag, { value: "Module" }));
27647
- class GE {
27650
+ class VE {
27648
27651
  /**
27649
27652
  * Build instance.
27650
27653
  *
@@ -27736,18 +27739,19 @@ class GE {
27736
27739
  this.set(I, !R);
27737
27740
  }
27738
27741
  }
27739
- const XE = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
27742
+ const ZE = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
27740
27743
  __proto__: null,
27741
- Storager: GE
27742
- }, Symbol.toStringTag, { value: "Module" })), JE = {
27744
+ Storager: VE
27745
+ }, Symbol.toStringTag, { value: "Module" })), WE = {
27743
27746
  component: UE,
27744
27747
  base: _E,
27745
27748
  net: HE,
27746
27749
  re: jE,
27747
27750
  react: zE,
27751
+ sys: QE,
27748
27752
  tailwindcss: ME,
27749
- window: XE
27753
+ window: ZE
27750
27754
  };
27751
27755
  export {
27752
- JE as default
27756
+ WE as default
27753
27757
  };
package/dist/re.d.ts CHANGED
@@ -4,8 +4,8 @@
4
4
  * @Contact : reyxbo@163.com
5
5
  * @Explain : Regular expression methods.
6
6
  */
7
- export declare const PATTERN_IP = "^((25[0-5]|2[0-4]d|1dd|[1-9]?d).){3}(25[0-5]|2[0-4]d|1dd|[1-9]?d)$";
8
- export declare const PATTERN_URL = "^https?://[^s/$.?#].[^s]*$";
9
- export declare const PATTERN_EMAIL = "^[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+.[A-Za-z]{2,}$";
10
- export declare const PATTERN_PHONE = "^1[3-9]d{9}$";
11
- export declare const PATTERN_CN = "^[\u4E00-\u9FA5]+$";
7
+ export declare const PATTERN_IP: RegExp;
8
+ export declare const PATTERN_URL: RegExp;
9
+ export declare const PATTERN_EMAIL: RegExp;
10
+ export declare const PATTERN_PHONE: RegExp;
11
+ export declare const PATTERN_CN: RegExp;
package/dist/sys.d.ts ADDED
@@ -0,0 +1,7 @@
1
+ /**
2
+ * @Time : 2026-03-15
3
+ * @Author : Rey
4
+ * @Contact : reyxbo@163.com
5
+ * @Explain : System methods.
6
+ */
7
+ export declare const env: Record<string, string>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "reykit",
3
- "version": "1.0.51",
3
+ "version": "1.0.53",
4
4
  "description": "Kit method set.",
5
5
  "author": "reyxbo",
6
6
  "keywords": [