@design-edito/tools 0.1.12 → 0.1.14

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  Bem
3
- } from "../../../chunks/chunk-7YW5HL6N.js";
3
+ } from "../../../chunks/chunk-KIONYWA7.js";
4
+ import "../../../chunks/chunk-W5A2TON3.js";
4
5
  import "../../../chunks/chunk-QXAJXTXV.js";
5
6
  import "../../../chunks/chunk-HC6ZOHCS.js";
6
- import "../../../chunks/chunk-W5A2TON3.js";
7
7
  export {
8
8
  Bem
9
9
  };
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  Random
3
3
  } from "../../chunks/chunk-WLL3FNVL.js";
4
+ import {
5
+ generateNiceColor,
6
+ niceColors
7
+ } from "../../chunks/chunk-EDVNAV3G.js";
4
8
  import {
5
9
  register
6
- } from "../../chunks/chunk-X233BCKX.js";
10
+ } from "../../chunks/chunk-LBOQFB4H.js";
7
11
  import {
8
12
  Crossenv
9
13
  } from "../../chunks/chunk-GJOU3UAL.js";
10
- import {
11
- generateNiceColor,
12
- niceColors
13
- } from "../../chunks/chunk-EDVNAV3G.js";
14
+ import "../../chunks/chunk-4CMAH7Q4.js";
15
+ import "../../chunks/chunk-HEXR23CH.js";
16
+ import "../../chunks/chunk-HDPSQ7WY.js";
14
17
  import {
15
18
  Bem
16
- } from "../../chunks/chunk-7YW5HL6N.js";
17
- import "../../chunks/chunk-QXAJXTXV.js";
18
- import "../../chunks/chunk-HC6ZOHCS.js";
19
+ } from "../../chunks/chunk-KIONYWA7.js";
19
20
  import {
20
21
  classNameRegex,
21
22
  isValidClassName
22
23
  } from "../../chunks/chunk-W5A2TON3.js";
23
- import "../../chunks/chunk-NMPD2424.js";
24
- import "../../chunks/chunk-HKPWV5XP.js";
25
- import "../../chunks/chunk-HDPSQ7WY.js";
24
+ import "../../chunks/chunk-QXAJXTXV.js";
25
+ import "../../chunks/chunk-HC6ZOHCS.js";
26
26
 
27
27
  // src/agnostic/css/styles-set/index.tsx
28
28
  import { Component } from "react";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  Errors
3
- } from "../../chunks/chunk-NMPD2424.js";
4
- import "../../chunks/chunk-HKPWV5XP.js";
3
+ } from "../../chunks/chunk-4CMAH7Q4.js";
4
+ import "../../chunks/chunk-HEXR23CH.js";
5
5
  import "../../chunks/chunk-HDPSQ7WY.js";
6
6
  export {
7
7
  Errors
@@ -1,25 +1,27 @@
1
+ import { Outcome } from '~/agnostic/misc/outcome';
1
2
  export declare namespace Register {
2
3
  type RegisterEntry = {
3
4
  message: string;
4
- detailsMaker?: (...params: any[]) => any;
5
+ detailsMaker: (...params: any[]) => any;
5
6
  };
6
7
  function from<Source extends {
7
8
  [k: string]: RegisterEntry;
8
9
  }>(source: Source): {
9
10
  getMessage: <Code extends keyof Source>(code: Code) => Source[Code]["message"];
10
- getDetailsMaker: <Code extends keyof Source>(code: Code) => Source[Code]["detailsMaker"] extends (...params: any[]) => any ? Source[Code]["detailsMaker"] : undefined;
11
- getDetails: <Code extends keyof Source>(code: Code, ...params: (Source[Code]["detailsMaker"] extends (...params: any[]) => any ? Source[Code]["detailsMaker"] : undefined) extends (...params: infer P) => any ? P : []) => (Source[Code]["detailsMaker"] extends (...params: any[]) => any ? Source[Code]["detailsMaker"] : undefined) extends (...params: any[]) => infer R ? R : never;
12
- getError: <Code extends keyof Source>(code: Code, ...params: (Source[Code]["detailsMaker"] extends (...params: any[]) => any ? Source[Code]["detailsMaker"] : undefined) extends (...params: infer P) => any ? P : []) => {
11
+ getDetailsMaker: <Code extends keyof Source>(code: Code) => Source[Code]["detailsMaker"];
12
+ getDetails: <Code extends keyof Source>(code: Code, ...params: Parameters<Source[Code]["detailsMaker"]>) => ReturnType<Source[Code]["detailsMaker"]>;
13
+ getError: <Code extends keyof Source>(code: Code, ...params: Parameters<Source[Code]["detailsMaker"]>) => {
13
14
  code: Code;
14
- details: (Source[Code]["detailsMaker"] extends (...params: any[]) => any ? Source[Code]["detailsMaker"] : undefined) extends (...params: any[]) => infer R ? R : never;
15
+ details: ReturnType<Source[Code]["detailsMaker"]>;
15
16
  name: string;
16
17
  message: string;
17
18
  stack?: string;
18
19
  };
20
+ getFailureOutcome: <Code extends keyof Source>(code: Code, ...params: Parameters<Source[Code]["detailsMaker"]>) => Outcome.Failure<Code, Source[Code]["message"], ReturnType<Source[Code]["detailsMaker"]>>;
19
21
  CustomError: {
20
- new <Code extends keyof Source>(code: Code, ...params: (Source[Code]["detailsMaker"] extends (...params: any[]) => any ? Source[Code]["detailsMaker"] : undefined) extends (...params: infer P) => any ? P : []): {
22
+ new <Code extends keyof Source>(code: Code, ...params: Parameters<Source[Code]["detailsMaker"]>): {
21
23
  code: Code;
22
- details: (Source[Code]["detailsMaker"] extends (...params: any[]) => any ? Source[Code]["detailsMaker"] : undefined) extends (...params: any[]) => infer R ? R : never;
24
+ details: ReturnType<Source[Code]["detailsMaker"]>;
23
25
  name: string;
24
26
  message: string;
25
27
  stack?: string;
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Register
3
- } from "../../../chunks/chunk-HKPWV5XP.js";
3
+ } from "../../../chunks/chunk-HEXR23CH.js";
4
4
  import "../../../chunks/chunk-HDPSQ7WY.js";
5
5
  export {
6
6
  Register
@@ -1,28 +1,28 @@
1
1
  import {
2
- getPositionInsideParent
3
- } from "../../chunks/chunk-VTPRO4NJ.js";
2
+ selectorToElement
3
+ } from "../../chunks/chunk-TSMHOSST.js";
4
4
  import {
5
- Placeholders
6
- } from "../../chunks/chunk-VYW4IADX.js";
5
+ stringToNodes
6
+ } from "../../chunks/chunk-YJOEYNCI.js";
7
7
  import {
8
8
  insertNode
9
9
  } from "../../chunks/chunk-XA4HVHJ4.js";
10
- import {
11
- stringToNodes
12
- } from "../../chunks/chunk-XFQKGTCZ.js";
13
10
  import {
14
11
  Sanitize
15
- } from "../../chunks/chunk-4VKI6U22.js";
16
- import {
17
- selectorToElement
18
- } from "../../chunks/chunk-H3ORUYQY.js";
12
+ } from "../../chunks/chunk-O2VE3J4K.js";
19
13
  import {
20
14
  getNodeAncestors
21
15
  } from "../../chunks/chunk-SQZGZ3VT.js";
22
- import "../../chunks/chunk-X233BCKX.js";
16
+ import {
17
+ Placeholders
18
+ } from "../../chunks/chunk-VYW4IADX.js";
19
+ import {
20
+ getPositionInsideParent
21
+ } from "../../chunks/chunk-VTPRO4NJ.js";
22
+ import "../../chunks/chunk-LBOQFB4H.js";
23
23
  import "../../chunks/chunk-GJOU3UAL.js";
24
- import "../../chunks/chunk-NMPD2424.js";
25
- import "../../chunks/chunk-HKPWV5XP.js";
24
+ import "../../chunks/chunk-4CMAH7Q4.js";
25
+ import "../../chunks/chunk-HEXR23CH.js";
26
26
  import "../../chunks/chunk-HDPSQ7WY.js";
27
27
 
28
28
  // src/agnostic/html/index.ts
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  Sanitize
3
- } from "../../../chunks/chunk-4VKI6U22.js";
4
- import "../../../chunks/chunk-X233BCKX.js";
3
+ } from "../../../chunks/chunk-O2VE3J4K.js";
4
+ import "../../../chunks/chunk-LBOQFB4H.js";
5
5
  import "../../../chunks/chunk-GJOU3UAL.js";
6
- import "../../../chunks/chunk-NMPD2424.js";
7
- import "../../../chunks/chunk-HKPWV5XP.js";
6
+ import "../../../chunks/chunk-4CMAH7Q4.js";
7
+ import "../../../chunks/chunk-HEXR23CH.js";
8
8
  import "../../../chunks/chunk-HDPSQ7WY.js";
9
9
  export {
10
10
  Sanitize
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  selectorToElement
3
- } from "../../../chunks/chunk-H3ORUYQY.js";
4
- import "../../../chunks/chunk-X233BCKX.js";
3
+ } from "../../../chunks/chunk-TSMHOSST.js";
4
+ import "../../../chunks/chunk-LBOQFB4H.js";
5
5
  import "../../../chunks/chunk-GJOU3UAL.js";
6
- import "../../../chunks/chunk-NMPD2424.js";
7
- import "../../../chunks/chunk-HKPWV5XP.js";
6
+ import "../../../chunks/chunk-4CMAH7Q4.js";
7
+ import "../../../chunks/chunk-HEXR23CH.js";
8
8
  import "../../../chunks/chunk-HDPSQ7WY.js";
9
9
  export {
10
10
  selectorToElement
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  stringToNodes
3
- } from "../../../chunks/chunk-XFQKGTCZ.js";
4
- import "../../../chunks/chunk-4VKI6U22.js";
5
- import "../../../chunks/chunk-X233BCKX.js";
3
+ } from "../../../chunks/chunk-YJOEYNCI.js";
4
+ import "../../../chunks/chunk-O2VE3J4K.js";
5
+ import "../../../chunks/chunk-LBOQFB4H.js";
6
6
  import "../../../chunks/chunk-GJOU3UAL.js";
7
- import "../../../chunks/chunk-NMPD2424.js";
8
- import "../../../chunks/chunk-HKPWV5XP.js";
7
+ import "../../../chunks/chunk-4CMAH7Q4.js";
8
+ import "../../../chunks/chunk-HEXR23CH.js";
9
9
  import "../../../chunks/chunk-HDPSQ7WY.js";
10
10
  export {
11
11
  stringToNodes
@@ -1,15 +1,18 @@
1
+ import {
2
+ Logs
3
+ } from "../../chunks/chunk-HEJV6JIO.js";
1
4
  import {
2
5
  Assert
3
6
  } from "../../chunks/chunk-W7YBGJ4H.js";
4
7
  import {
5
8
  getCurrentDownlink
6
9
  } from "../../chunks/chunk-7AWTHZLY.js";
7
- import {
8
- Logs
9
- } from "../../chunks/chunk-HEJV6JIO.js";
10
10
  import {
11
11
  Cast
12
12
  } from "../../chunks/chunk-4QQBKBYH.js";
13
+ import {
14
+ isConstructorFunction
15
+ } from "../../chunks/chunk-RCO57B6F.js";
13
16
  import {
14
17
  Random
15
18
  } from "../../chunks/chunk-WLL3FNVL.js";
@@ -22,9 +25,6 @@ import {
22
25
  isNullish,
23
26
  nullishValues
24
27
  } from "../../chunks/chunk-HC6ZOHCS.js";
25
- import {
26
- isConstructorFunction
27
- } from "../../chunks/chunk-RCO57B6F.js";
28
28
 
29
29
  // src/agnostic/misc/index.ts
30
30
  var Misc;
@@ -4,9 +4,6 @@ import {
4
4
  import {
5
5
  clamp
6
6
  } from "../../chunks/chunk-OSAXBA7G.js";
7
- import {
8
- interpolate
9
- } from "../../chunks/chunk-EW46EXFB.js";
10
7
  import {
11
8
  createScale,
12
9
  getHarmonic
@@ -14,6 +11,9 @@ import {
14
11
  import {
15
12
  round
16
13
  } from "../../chunks/chunk-32IRF4OP.js";
14
+ import {
15
+ interpolate
16
+ } from "../../chunks/chunk-EW46EXFB.js";
17
17
 
18
18
  // src/agnostic/numbers/index.ts
19
19
  var Numbers;
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  flattenGetters
3
3
  } from "../../chunks/chunk-PO3V3I57.js";
4
+ import {
5
+ isRecord
6
+ } from "../../chunks/chunk-YDIBNEGA.js";
4
7
  import {
5
8
  isNonNullObject,
6
9
  isObject
7
10
  } from "../../chunks/chunk-HQLRJ7XW.js";
8
- import {
9
- isRecord
10
- } from "../../chunks/chunk-YDIBNEGA.js";
11
11
  import {
12
12
  Validation
13
13
  } from "../../chunks/chunk-FPEW3A27.js";
@@ -1,10 +1,10 @@
1
+ import {
2
+ memoize
3
+ } from "../../chunks/chunk-JWBDZPQG.js";
1
4
  import {
2
5
  debounce,
3
6
  throttle
4
7
  } from "../../chunks/chunk-VZDUZTW6.js";
5
- import {
6
- memoize
7
- } from "../../chunks/chunk-JWBDZPQG.js";
8
8
 
9
9
  // src/agnostic/optim/index.ts
10
10
  var Optim;
@@ -1,17 +1,17 @@
1
+ import {
2
+ CharCodes
3
+ } from "../../chunks/chunk-34U4HX4V.js";
1
4
  import {
2
5
  matches,
3
6
  matchesEvery,
4
7
  matchesSome
5
8
  } from "../../chunks/chunk-LQFKUNVQ.js";
6
9
  import {
7
- CharCodes
8
- } from "../../chunks/chunk-34U4HX4V.js";
10
+ replaceAll
11
+ } from "../../chunks/chunk-MF56TTC5.js";
9
12
  import {
10
13
  normalizeIndent
11
14
  } from "../../chunks/chunk-JQXNEJAP.js";
12
- import {
13
- replaceAll
14
- } from "../../chunks/chunk-MF56TTC5.js";
15
15
  import {
16
16
  toAlphanum
17
17
  } from "../../chunks/chunk-COVPTTAD.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Register
3
- } from "./chunk-HKPWV5XP.js";
3
+ } from "./chunk-HEXR23CH.js";
4
4
 
5
5
  // src/agnostic/errors/index.ts
6
6
  var Errors;
@@ -42,6 +42,7 @@ var Register;
42
42
  getDetailsMaker,
43
43
  getDetails,
44
44
  getError,
45
+ getFailureOutcome,
45
46
  CustomError,
46
47
  source
47
48
  };
@@ -3,12 +3,13 @@ import {
3
3
  } from "./chunk-GJOU3UAL.js";
4
4
  import {
5
5
  Errors
6
- } from "./chunk-NMPD2424.js";
6
+ } from "./chunk-4CMAH7Q4.js";
7
7
 
8
8
  // src/shared/errors/index.ts
9
9
  var register = Errors.Register.from({
10
10
  ["no-window-document-on-runtime" /* NO_DOCUMENT */]: {
11
- message: `Runtime '${Crossenv.detectRuntime()}' does not provide a Document object, cannot complete.`
11
+ message: `Runtime '${Crossenv.detectRuntime()}' does not provide a Document object, cannot complete.`,
12
+ detailsMaker: () => void 0
12
13
  },
13
14
  ["no-window-document-on-runtime-please-provide" /* NO_DOCUMENT_PLEASE_PROVIDE */]: {
14
15
  message: `Please provide a Document object since none are found on runtime '${Crossenv.detectRuntime()}'`,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  register
3
- } from "./chunk-X233BCKX.js";
3
+ } from "./chunk-LBOQFB4H.js";
4
4
  import {
5
5
  Crossenv
6
6
  } from "./chunk-GJOU3UAL.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  register
3
- } from "./chunk-X233BCKX.js";
3
+ } from "./chunk-LBOQFB4H.js";
4
4
  import {
5
5
  Crossenv
6
6
  } from "./chunk-GJOU3UAL.js";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  Sanitize
3
- } from "./chunk-4VKI6U22.js";
3
+ } from "./chunk-O2VE3J4K.js";
4
4
  import {
5
5
  register
6
- } from "./chunk-X233BCKX.js";
6
+ } from "./chunk-LBOQFB4H.js";
7
7
  import {
8
8
  Crossenv
9
9
  } from "./chunk-GJOU3UAL.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@design-edito/tools",
3
- "version": "0.1.12",
3
+ "version": "0.1.14",
4
4
  "description": "",
5
5
  "author": "Maxime Fabas",
6
6
  "license": "ISC",
@@ -6,6 +6,7 @@ export declare const register: {
6
6
  getMessage: <Code extends Codes>(code: Code) => {
7
7
  "no-window-document-on-runtime": {
8
8
  message: string;
9
+ detailsMaker: () => undefined;
9
10
  };
10
11
  "no-window-document-on-runtime-please-provide": {
11
12
  message: string;
@@ -15,128 +16,107 @@ export declare const register: {
15
16
  getDetailsMaker: <Code extends Codes>(code: Code) => {
16
17
  "no-window-document-on-runtime": {
17
18
  message: string;
19
+ detailsMaker: () => undefined;
18
20
  };
19
21
  "no-window-document-on-runtime-please-provide": {
20
22
  message: string;
21
23
  detailsMaker: (tips?: string) => string | undefined;
22
24
  };
23
- }[Code]["detailsMaker"] extends (...params: any[]) => any ? {
25
+ }[Code]["detailsMaker"];
26
+ getDetails: <Code extends Codes>(code: Code, ...params: Parameters<{
24
27
  "no-window-document-on-runtime": {
25
28
  message: string;
29
+ detailsMaker: () => undefined;
26
30
  };
27
31
  "no-window-document-on-runtime-please-provide": {
28
32
  message: string;
29
33
  detailsMaker: (tips?: string) => string | undefined;
30
34
  };
31
- }[Code]["detailsMaker"] : undefined;
32
- getDetails: <Code extends Codes>(code: Code, ...params: ({
35
+ }[Code]["detailsMaker"]>) => ReturnType<{
33
36
  "no-window-document-on-runtime": {
34
37
  message: string;
38
+ detailsMaker: () => undefined;
35
39
  };
36
40
  "no-window-document-on-runtime-please-provide": {
37
41
  message: string;
38
42
  detailsMaker: (tips?: string) => string | undefined;
39
43
  };
40
- }[Code]["detailsMaker"] extends (...params: any[]) => any ? {
44
+ }[Code]["detailsMaker"]>;
45
+ getError: <Code extends Codes>(code: Code, ...params: Parameters<{
41
46
  "no-window-document-on-runtime": {
42
47
  message: string;
48
+ detailsMaker: () => undefined;
43
49
  };
44
50
  "no-window-document-on-runtime-please-provide": {
45
51
  message: string;
46
52
  detailsMaker: (tips?: string) => string | undefined;
47
53
  };
48
- }[Code]["detailsMaker"] : undefined) extends (...params: infer P) => any ? P : []) => ({
49
- "no-window-document-on-runtime": {
50
- message: string;
51
- };
52
- "no-window-document-on-runtime-please-provide": {
53
- message: string;
54
- detailsMaker: (tips?: string) => string | undefined;
55
- };
56
- }[Code]["detailsMaker"] extends (...params: any[]) => any ? {
54
+ }[Code]["detailsMaker"]>) => {
55
+ code: Code;
56
+ details: ReturnType<{
57
+ "no-window-document-on-runtime": {
58
+ message: string;
59
+ detailsMaker: () => undefined;
60
+ };
61
+ "no-window-document-on-runtime-please-provide": {
62
+ message: string;
63
+ detailsMaker: (tips?: string) => string | undefined;
64
+ };
65
+ }[Code]["detailsMaker"]>;
66
+ name: string;
67
+ message: string;
68
+ stack?: string;
69
+ };
70
+ getFailureOutcome: <Code extends Codes>(code: Code, ...params: Parameters<{
57
71
  "no-window-document-on-runtime": {
58
72
  message: string;
73
+ detailsMaker: () => undefined;
59
74
  };
60
75
  "no-window-document-on-runtime-please-provide": {
61
76
  message: string;
62
77
  detailsMaker: (tips?: string) => string | undefined;
63
78
  };
64
- }[Code]["detailsMaker"] : undefined) extends (...params: any[]) => infer R ? R : never;
65
- getError: <Code extends Codes>(code: Code, ...params: ({
79
+ }[Code]["detailsMaker"]>) => import("../../agnostic/misc/outcome").Outcome.Failure<Code, {
66
80
  "no-window-document-on-runtime": {
67
81
  message: string;
82
+ detailsMaker: () => undefined;
68
83
  };
69
84
  "no-window-document-on-runtime-please-provide": {
70
85
  message: string;
71
86
  detailsMaker: (tips?: string) => string | undefined;
72
87
  };
73
- }[Code]["detailsMaker"] extends (...params: any[]) => any ? {
88
+ }[Code]["message"], ReturnType<{
74
89
  "no-window-document-on-runtime": {
75
90
  message: string;
91
+ detailsMaker: () => undefined;
76
92
  };
77
93
  "no-window-document-on-runtime-please-provide": {
78
94
  message: string;
79
95
  detailsMaker: (tips?: string) => string | undefined;
80
96
  };
81
- }[Code]["detailsMaker"] : undefined) extends (...params: infer P) => any ? P : []) => {
82
- code: Code;
83
- details: ({
84
- "no-window-document-on-runtime": {
85
- message: string;
86
- };
87
- "no-window-document-on-runtime-please-provide": {
88
- message: string;
89
- detailsMaker: (tips?: string) => string | undefined;
90
- };
91
- }[Code]["detailsMaker"] extends (...params: any[]) => any ? {
92
- "no-window-document-on-runtime": {
93
- message: string;
94
- };
95
- "no-window-document-on-runtime-please-provide": {
96
- message: string;
97
- detailsMaker: (tips?: string) => string | undefined;
98
- };
99
- }[Code]["detailsMaker"] : undefined) extends (...params: any[]) => infer R ? R : never;
100
- name: string;
101
- message: string;
102
- stack?: string;
103
- };
97
+ }[Code]["detailsMaker"]>>;
104
98
  CustomError: {
105
- new <Code extends Codes>(code: Code, ...params: ({
106
- "no-window-document-on-runtime": {
107
- message: string;
108
- };
109
- "no-window-document-on-runtime-please-provide": {
110
- message: string;
111
- detailsMaker: (tips?: string) => string | undefined;
112
- };
113
- }[Code]["detailsMaker"] extends (...params: any[]) => any ? {
99
+ new <Code extends Codes>(code: Code, ...params: Parameters<{
114
100
  "no-window-document-on-runtime": {
115
101
  message: string;
102
+ detailsMaker: () => undefined;
116
103
  };
117
104
  "no-window-document-on-runtime-please-provide": {
118
105
  message: string;
119
106
  detailsMaker: (tips?: string) => string | undefined;
120
107
  };
121
- }[Code]["detailsMaker"] : undefined) extends (...params: infer P) => any ? P : []): {
108
+ }[Code]["detailsMaker"]>): {
122
109
  code: Code;
123
- details: ({
124
- "no-window-document-on-runtime": {
125
- message: string;
126
- };
127
- "no-window-document-on-runtime-please-provide": {
128
- message: string;
129
- detailsMaker: (tips?: string) => string | undefined;
130
- };
131
- }[Code]["detailsMaker"] extends (...params: any[]) => any ? {
110
+ details: ReturnType<{
132
111
  "no-window-document-on-runtime": {
133
112
  message: string;
113
+ detailsMaker: () => undefined;
134
114
  };
135
115
  "no-window-document-on-runtime-please-provide": {
136
116
  message: string;
137
117
  detailsMaker: (tips?: string) => string | undefined;
138
118
  };
139
- }[Code]["detailsMaker"] : undefined) extends (...params: any[]) => infer R ? R : never;
119
+ }[Code]["detailsMaker"]>;
140
120
  name: string;
141
121
  message: string;
142
122
  stack?: string;
@@ -148,6 +128,7 @@ export declare const register: {
148
128
  source: {
149
129
  "no-window-document-on-runtime": {
150
130
  message: string;
131
+ detailsMaker: () => undefined;
151
132
  };
152
133
  "no-window-document-on-runtime-please-provide": {
153
134
  message: string;
@@ -1,9 +1,9 @@
1
- import {
2
- isFalsy
3
- } from "./chunk-QXAJXTXV.js";
4
1
  import {
5
2
  isValidClassName
6
3
  } from "./chunk-W5A2TON3.js";
4
+ import {
5
+ isFalsy
6
+ } from "./chunk-QXAJXTXV.js";
7
7
 
8
8
  // src/agnostic/css/bem/getNamesArr.ts
9
9
  function getNamesArr(arg) {