reykit 1.0.89 → 1.0.91

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/base.d.ts CHANGED
@@ -9,3 +9,7 @@ export type Value<T> = T[keyof T];
9
9
  export type KeyByValue<T, V> = {
10
10
  [K in keyof T]: T[K] extends V ? K : never;
11
11
  }[keyof T];
12
+ /**
13
+ * Start debug CSS style, need to import 'reykit/debug' CSS style first.
14
+ */
15
+ export declare function debugCss(): void;
package/dist/index.js CHANGED
@@ -28015,8 +28015,13 @@ const qA = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
28015
28015
  Notice: xA,
28016
28016
  notice: VT,
28017
28017
  useLoading: NA
28018
- }, Symbol.toStringTag, { value: "Module" })), YA = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
28019
- __proto__: null
28018
+ }, Symbol.toStringTag, { value: "Module" }));
28019
+ function YA() {
28020
+ document.documentElement.classList.add("debug");
28021
+ }
28022
+ const GA = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
28023
+ __proto__: null,
28024
+ debugCss: YA
28020
28025
  }, Symbol.toStringTag, { value: "Module" }));
28021
28026
  function* ES(g, U, j) {
28022
28027
  if (j === 0) throw new Error('the parameter "step" cannot be 0');
@@ -28028,16 +28033,16 @@ function* ES(g, U, j) {
28028
28033
  for (let J = T; J > U; J += j)
28029
28034
  yield J;
28030
28035
  }
28031
- function GA(g, U, j) {
28036
+ function XA(g, U, j) {
28032
28037
  let T;
28033
28038
  return U === void 0 ? T = ES(g) : T = ES(g, U, j), Array.from(T);
28034
28039
  }
28035
- const XA = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
28040
+ const QA = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
28036
28041
  __proto__: null,
28037
28042
  range: ES,
28038
- rangeArray: GA
28043
+ rangeArray: XA
28039
28044
  }, Symbol.toStringTag, { value: "Module" }));
28040
- async function QA(g, U) {
28045
+ async function VA(g, U) {
28041
28046
  let {
28042
28047
  params: j,
28043
28048
  body: T,
@@ -28072,18 +28077,18 @@ async function QA(g, U) {
28072
28077
  }
28073
28078
  return ue;
28074
28079
  }
28075
- const VA = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
28080
+ const ZA = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
28076
28081
  __proto__: null,
28077
- request: QA
28078
- }, Symbol.toStringTag, { value: "Module" })), ZA = /^((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)$/, LA = /^https?:\/\/[^\s/$.?#].[^\s]*$/, wA = /^[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,}$/, JA = /^1[3-9]\d{9}$/, KA = /^[\u4e00-\u9fa5]+$/, $A = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
28082
+ request: VA
28083
+ }, Symbol.toStringTag, { value: "Module" })), LA = /^((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)$/, wA = /^https?:\/\/[^\s/$.?#].[^\s]*$/, JA = /^[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,}$/, KA = /^1[3-9]\d{9}$/, $A = /^[\u4e00-\u9fa5]+$/, WA = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
28079
28084
  __proto__: null,
28080
- PATTERN_CN: KA,
28081
- PATTERN_EMAIL: wA,
28082
- PATTERN_IP: ZA,
28083
- PATTERN_PHONE: JA,
28084
- PATTERN_URL: LA
28085
+ PATTERN_CN: $A,
28086
+ PATTERN_EMAIL: JA,
28087
+ PATTERN_IP: LA,
28088
+ PATTERN_PHONE: KA,
28089
+ PATTERN_URL: wA
28085
28090
  }, Symbol.toStringTag, { value: "Module" }));
28086
- class WA {
28091
+ class kA {
28087
28092
  /**
28088
28093
  * Build instance.
28089
28094
  *
@@ -28175,19 +28180,19 @@ class WA {
28175
28180
  this.set(U, !T);
28176
28181
  }
28177
28182
  }
28178
- const kA = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
28183
+ const FA = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
28179
28184
  __proto__: null,
28180
- Storager: WA
28181
- }, Symbol.toStringTag, { value: "Module" })), u3 = {
28185
+ Storager: kA
28186
+ }, Symbol.toStringTag, { value: "Module" })), c3 = {
28182
28187
  component: qA,
28183
- base: YA,
28184
- data: XA,
28185
- net: VA,
28186
- re: $A,
28188
+ base: GA,
28189
+ data: QA,
28190
+ net: ZA,
28191
+ re: WA,
28187
28192
  react: UA,
28188
28193
  twc: hA,
28189
- window: kA
28194
+ window: FA
28190
28195
  };
28191
28196
  export {
28192
- u3 as default
28197
+ c3 as default
28193
28198
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "reykit",
3
- "version": "1.0.89",
3
+ "version": "1.0.91",
4
4
  "description": "Kit method set.",
5
5
  "author": "reyxbo",
6
6
  "keywords": [
@@ -28,7 +28,7 @@
28
28
  "default": "./dist/index.js"
29
29
  },
30
30
  "./base": {
31
- "style": "./dist/style/index.css"
31
+ "style": "./dist/index.css"
32
32
  },
33
33
  "./shadcn": {
34
34
  "style": "./dist/style/shadcn.css"