@design-edito/tools 0.1.26 → 0.1.28
Sign up to get free protection for your applications and to get access to all the features.
- package/agnostic/css/index.js +6 -6
- package/agnostic/html/hyper-json/cast/index.js +6 -2
- package/agnostic/html/hyper-json/index.js +4 -28
- package/agnostic/html/hyper-json/transformers/append/index.js +6 -3
- package/agnostic/html/hyper-json/transformers/classList/index.js +6 -3
- package/agnostic/html/hyper-json/transformers/index.js +3 -27
- package/agnostic/html/hyper-json/transformers/join/index.js +6 -3
- package/agnostic/html/hyper-json/transformers/length/index.js +9 -2
- package/agnostic/html/hyper-json/transformers/print/index.js +10 -2
- package/agnostic/html/hyper-json/transformers/push/index.js +10 -2
- package/agnostic/html/hyper-json/transformers/querySelector/index.js +6 -3
- package/agnostic/html/hyper-json/transformers/ref/index.js +6 -3
- package/agnostic/html/hyper-json/transformers/replace/index.js +5 -3
- package/agnostic/html/hyper-json/transformers/split/index.js +6 -3
- package/agnostic/html/hyper-json/transformers/toArray/index.js +6 -3
- package/agnostic/html/hyper-json/transformers/toBoolean/index.js +6 -3
- package/agnostic/html/hyper-json/transformers/toElement/index.js +6 -3
- package/agnostic/html/hyper-json/transformers/toNodeList/index.js +6 -3
- package/agnostic/html/hyper-json/transformers/toNull/index.js +10 -2
- package/agnostic/html/hyper-json/transformers/toNumber/index.js +6 -3
- package/agnostic/html/hyper-json/transformers/toRecord/index.js +6 -3
- package/agnostic/html/hyper-json/transformers/toRef/index.js +6 -3
- package/agnostic/html/hyper-json/transformers/toString/index.js +6 -3
- package/agnostic/html/hyper-json/transformers/toText/index.js +6 -3
- package/agnostic/html/hyper-json/transformers/toTransformer/index.js +6 -3
- package/agnostic/html/hyper-json/transformers/transformSelected/index.js +3 -27
- package/agnostic/html/hyper-json/transformers/trim/index.js +6 -3
- package/agnostic/html/hyper-json/tree/index.d.ts +1 -1
- package/agnostic/html/hyper-json/tree/index.js +3 -27
- package/agnostic/html/hyper-json/types/index.d.ts +4 -1
- package/agnostic/html/hyper-json/types/index.js +1 -1
- package/agnostic/html/hyper-json/utils/index.d.ts +2 -1
- package/agnostic/html/hyper-json/utils/index.js +10 -1
- package/agnostic/html/index.js +15 -39
- package/agnostic/misc/index.js +20 -17
- package/agnostic/misc/logs/index.d.ts +5 -44
- package/agnostic/misc/logs/index.js +4 -1
- package/agnostic/misc/logs/logger/index.d.ts +42 -0
- package/agnostic/misc/logs/logger/index.js +6 -0
- package/agnostic/misc/logs/make-text-block/index.d.ts +1 -0
- package/agnostic/misc/logs/make-text-block/index.js +6 -0
- package/agnostic/misc/logs/styles/index.d.ts +11 -0
- package/agnostic/misc/logs/styles/index.js +7 -0
- package/agnostic/misc/lorem-ipsum/index.js +3 -3
- package/agnostic/numbers/index.js +3 -3
- package/agnostic/objects/index.js +3 -3
- package/agnostic/optim/index.js +3 -3
- package/agnostic/strings/index.js +9 -9
- package/agnostic/time/index.js +6 -6
- package/chunks/chunk-2UYTYTX4.js +31 -0
- package/chunks/chunk-5GI5G45R.js +27 -0
- package/chunks/chunk-B2O7PFSF.js +1108 -0
- package/chunks/chunk-BEJSITDG.js +31 -0
- package/chunks/chunk-H4PP6AHP.js +15 -0
- package/chunks/chunk-JWKI6G6E.js +102 -0
- package/chunks/chunk-L3OCRR3V.js +25 -0
- package/chunks/chunk-TEB7KZWB.js +21 -0
- package/chunks/chunk-YRGOY5YU.js +1108 -0
- package/node/files/index.js +4 -4
- package/package.json +1 -1
@@ -1,34 +1,10 @@
|
|
1
1
|
import {
|
2
2
|
Tree
|
3
|
-
} from "../../../../chunks/chunk-
|
4
|
-
import "../../../../chunks/chunk-
|
5
|
-
import "../../../../chunks/chunk-
|
6
|
-
import "../../../../chunks/chunk-4RDW62CU.js";
|
7
|
-
import "../../../../chunks/chunk-F7XWUG2V.js";
|
8
|
-
import "../../../../chunks/chunk-3PHPA25U.js";
|
9
|
-
import "../../../../chunks/chunk-SMLKMOAX.js";
|
10
|
-
import "../../../../chunks/chunk-7IGZP4TV.js";
|
11
|
-
import "../../../../chunks/chunk-3X6RXJBR.js";
|
12
|
-
import "../../../../chunks/chunk-MDEDNPU5.js";
|
13
|
-
import "../../../../chunks/chunk-Q52UJOBC.js";
|
14
|
-
import "../../../../chunks/chunk-SH3Y2I5P.js";
|
15
|
-
import "../../../../chunks/chunk-6CM2SWSX.js";
|
16
|
-
import "../../../../chunks/chunk-DBAJ66BR.js";
|
17
|
-
import "../../../../chunks/chunk-S5XDYLJH.js";
|
18
|
-
import "../../../../chunks/chunk-RJ5E22H5.js";
|
19
|
-
import "../../../../chunks/chunk-K3OQEJI3.js";
|
20
|
-
import "../../../../chunks/chunk-VRUJR6WR.js";
|
21
|
-
import "../../../../chunks/chunk-S42P73SC.js";
|
22
|
-
import "../../../../chunks/chunk-RWUPHV54.js";
|
23
|
-
import "../../../../chunks/chunk-FWHUASVA.js";
|
24
|
-
import "../../../../chunks/chunk-BNB7LEMQ.js";
|
25
|
-
import "../../../../chunks/chunk-2DMWYLFG.js";
|
26
|
-
import "../../../../chunks/chunk-QO64L4KB.js";
|
27
|
-
import "../../../../chunks/chunk-7QMAYGNV.js";
|
3
|
+
} from "../../../../chunks/chunk-B2O7PFSF.js";
|
4
|
+
import "../../../../chunks/chunk-5GI5G45R.js";
|
5
|
+
import "../../../../chunks/chunk-GBMHGF7P.js";
|
28
6
|
import "../../../../chunks/chunk-DRNK3RLE.js";
|
29
7
|
import "../../../../chunks/chunk-3LVR6KZH.js";
|
30
|
-
import "../../../../chunks/chunk-YEBOL67V.js";
|
31
|
-
import "../../../../chunks/chunk-GBMHGF7P.js";
|
32
8
|
import "../../../../chunks/chunk-E6MSDKON.js";
|
33
9
|
import "../../../../chunks/chunk-YDIBNEGA.js";
|
34
10
|
import "../../../../chunks/chunk-MF56TTC5.js";
|
@@ -1,6 +1,7 @@
|
|
1
1
|
import { Tree } from '../tree';
|
2
2
|
export declare namespace Types {
|
3
3
|
enum TyperTagName {
|
4
|
+
ANY = "any",
|
4
5
|
NULL = "null",
|
5
6
|
BOOLEAN = "boolean",
|
6
7
|
NUMBER = "number",
|
@@ -8,7 +9,8 @@ export declare namespace Types {
|
|
8
9
|
TEXT = "text",
|
9
10
|
NODELIST = "nodelist",
|
10
11
|
ARRAY = "array",
|
11
|
-
RECORD = "record"
|
12
|
+
RECORD = "record",
|
13
|
+
LITERAL = "literal"
|
12
14
|
}
|
13
15
|
type PrimitiveValue = null | string | number | boolean | Element | Text | NodeListOf<Text | Element> | Transformer;
|
14
16
|
type Value = PrimitiveValue | Value[] | {
|
@@ -37,6 +39,7 @@ export declare namespace Types {
|
|
37
39
|
type AnonymousTransformer = (currentValue: Value, callerTree: Tree.Tree) => TransformerReturnType;
|
38
40
|
type Transformer = AnonymousTransformer & {
|
39
41
|
transformerName: string;
|
42
|
+
args: Value[];
|
40
43
|
};
|
41
44
|
type TransformerGenerator = (name: string, ...args: Value[]) => Transformer;
|
42
45
|
type Resolver = (path: Tree.Tree['path']) => Tree.Tree | undefined;
|
@@ -5,6 +5,7 @@ export declare namespace Utils {
|
|
5
5
|
export const pathToPathString: (path: Tree.Tree["path"]) => string;
|
6
6
|
type ErrReturn = Types.TransformerErrorReturnType;
|
7
7
|
export const makeTransformerError: (value: ErrReturn["value"]) => ErrReturn;
|
8
|
-
export const toNamedTransformer: (name: string, anonymous: Types.AnonymousTransformer) => Types.Transformer;
|
8
|
+
export const toNamedTransformer: (name: string, args: Types.Value[], anonymous: Types.AnonymousTransformer) => Types.Transformer;
|
9
|
+
export const toHyperJson: (value: Types.Value, keyAttribute?: string) => Element;
|
9
10
|
export {};
|
10
11
|
}
|
@@ -1,6 +1,15 @@
|
|
1
1
|
import {
|
2
2
|
Utils
|
3
|
-
} from "../../../../chunks/chunk-
|
3
|
+
} from "../../../../chunks/chunk-B2O7PFSF.js";
|
4
|
+
import "../../../../chunks/chunk-5GI5G45R.js";
|
5
|
+
import "../../../../chunks/chunk-GBMHGF7P.js";
|
6
|
+
import "../../../../chunks/chunk-DRNK3RLE.js";
|
7
|
+
import "../../../../chunks/chunk-3LVR6KZH.js";
|
8
|
+
import "../../../../chunks/chunk-E6MSDKON.js";
|
9
|
+
import "../../../../chunks/chunk-YDIBNEGA.js";
|
10
|
+
import "../../../../chunks/chunk-MF56TTC5.js";
|
11
|
+
import "../../../../chunks/chunk-QXAJXTXV.js";
|
12
|
+
import "../../../../chunks/chunk-HC6ZOHCS.js";
|
4
13
|
export {
|
5
14
|
Utils
|
6
15
|
};
|
package/agnostic/html/index.js
CHANGED
@@ -1,56 +1,32 @@
|
|
1
1
|
import {
|
2
2
|
stringToNodes
|
3
3
|
} from "../../chunks/chunk-ZONKYNKA.js";
|
4
|
+
import {
|
5
|
+
Sanitize
|
6
|
+
} from "../../chunks/chunk-WECTUHS5.js";
|
7
|
+
import {
|
8
|
+
selectorToElement
|
9
|
+
} from "../../chunks/chunk-OO5SJJDW.js";
|
4
10
|
import {
|
5
11
|
HyperJson
|
6
|
-
} from "../../chunks/chunk-
|
7
|
-
import "../../chunks/chunk-
|
8
|
-
import "../../chunks/chunk-
|
9
|
-
import "../../chunks/chunk-
|
10
|
-
import "../../chunks/chunk-4RDW62CU.js";
|
11
|
-
import "../../chunks/chunk-F7XWUG2V.js";
|
12
|
-
import "../../chunks/chunk-3PHPA25U.js";
|
13
|
-
import "../../chunks/chunk-SMLKMOAX.js";
|
14
|
-
import "../../chunks/chunk-7IGZP4TV.js";
|
15
|
-
import "../../chunks/chunk-3X6RXJBR.js";
|
16
|
-
import "../../chunks/chunk-MDEDNPU5.js";
|
17
|
-
import "../../chunks/chunk-Q52UJOBC.js";
|
18
|
-
import "../../chunks/chunk-SH3Y2I5P.js";
|
19
|
-
import "../../chunks/chunk-6CM2SWSX.js";
|
20
|
-
import "../../chunks/chunk-DBAJ66BR.js";
|
21
|
-
import "../../chunks/chunk-S5XDYLJH.js";
|
22
|
-
import "../../chunks/chunk-RJ5E22H5.js";
|
23
|
-
import "../../chunks/chunk-K3OQEJI3.js";
|
24
|
-
import "../../chunks/chunk-VRUJR6WR.js";
|
25
|
-
import "../../chunks/chunk-S42P73SC.js";
|
26
|
-
import "../../chunks/chunk-RWUPHV54.js";
|
27
|
-
import "../../chunks/chunk-FWHUASVA.js";
|
28
|
-
import "../../chunks/chunk-BNB7LEMQ.js";
|
29
|
-
import "../../chunks/chunk-2DMWYLFG.js";
|
30
|
-
import "../../chunks/chunk-QO64L4KB.js";
|
31
|
-
import "../../chunks/chunk-7QMAYGNV.js";
|
12
|
+
} from "../../chunks/chunk-BEJSITDG.js";
|
13
|
+
import "../../chunks/chunk-B2O7PFSF.js";
|
14
|
+
import "../../chunks/chunk-5GI5G45R.js";
|
15
|
+
import "../../chunks/chunk-GBMHGF7P.js";
|
32
16
|
import "../../chunks/chunk-DRNK3RLE.js";
|
33
17
|
import "../../chunks/chunk-3LVR6KZH.js";
|
34
|
-
import "../../chunks/chunk-YEBOL67V.js";
|
35
18
|
import {
|
36
19
|
getPositionInsideParent
|
37
20
|
} from "../../chunks/chunk-VTPRO4NJ.js";
|
21
|
+
import {
|
22
|
+
getNodeAncestors
|
23
|
+
} from "../../chunks/chunk-SQZGZ3VT.js";
|
38
24
|
import {
|
39
25
|
insertNode
|
40
26
|
} from "../../chunks/chunk-XA4HVHJ4.js";
|
41
27
|
import {
|
42
28
|
Placeholders
|
43
29
|
} from "../../chunks/chunk-VYW4IADX.js";
|
44
|
-
import "../../chunks/chunk-GBMHGF7P.js";
|
45
|
-
import {
|
46
|
-
getNodeAncestors
|
47
|
-
} from "../../chunks/chunk-SQZGZ3VT.js";
|
48
|
-
import {
|
49
|
-
Sanitize
|
50
|
-
} from "../../chunks/chunk-WECTUHS5.js";
|
51
|
-
import {
|
52
|
-
selectorToElement
|
53
|
-
} from "../../chunks/chunk-OO5SJJDW.js";
|
54
30
|
import "../../chunks/chunk-E6MSDKON.js";
|
55
31
|
import "../../chunks/chunk-YDIBNEGA.js";
|
56
32
|
import "../../chunks/chunk-MF56TTC5.js";
|
@@ -58,11 +34,11 @@ import "../../chunks/chunk-EAY65ZP6.js";
|
|
58
34
|
import "../../chunks/chunk-GDYVCEWA.js";
|
59
35
|
import "../../chunks/chunk-73V5RDSG.js";
|
60
36
|
import "../../chunks/chunk-4GUDL44X.js";
|
61
|
-
import "../../chunks/chunk-QXAJXTXV.js";
|
62
|
-
import "../../chunks/chunk-HC6ZOHCS.js";
|
63
37
|
import "../../chunks/chunk-2KT7AKRW.js";
|
64
38
|
import "../../chunks/chunk-FENXVJYO.js";
|
65
39
|
import "../../chunks/chunk-QHLQVR3E.js";
|
40
|
+
import "../../chunks/chunk-QXAJXTXV.js";
|
41
|
+
import "../../chunks/chunk-HC6ZOHCS.js";
|
66
42
|
|
67
43
|
// src/agnostic/html/index.ts
|
68
44
|
var Html;
|
package/agnostic/misc/index.js
CHANGED
@@ -1,43 +1,46 @@
|
|
1
1
|
import {
|
2
|
-
|
3
|
-
} from "../../chunks/chunk-
|
2
|
+
LoremIpsum
|
3
|
+
} from "../../chunks/chunk-VA6HXRX4.js";
|
4
4
|
import {
|
5
5
|
Logs
|
6
|
-
} from "../../chunks/chunk-
|
6
|
+
} from "../../chunks/chunk-TEB7KZWB.js";
|
7
|
+
import "../../chunks/chunk-JWKI6G6E.js";
|
8
|
+
import "../../chunks/chunk-L3OCRR3V.js";
|
9
|
+
import "../../chunks/chunk-H4PP6AHP.js";
|
7
10
|
import {
|
8
|
-
|
9
|
-
} from "../../chunks/chunk-
|
11
|
+
Assert
|
12
|
+
} from "../../chunks/chunk-W7YBGJ4H.js";
|
13
|
+
import {
|
14
|
+
Cast
|
15
|
+
} from "../../chunks/chunk-4QQBKBYH.js";
|
10
16
|
import {
|
11
17
|
Crawler
|
12
18
|
} from "../../chunks/chunk-YUP434IY.js";
|
13
19
|
import {
|
14
20
|
getCurrentDownlink
|
15
21
|
} from "../../chunks/chunk-7AWTHZLY.js";
|
16
|
-
import {
|
17
|
-
Cast
|
18
|
-
} from "../../chunks/chunk-4QQBKBYH.js";
|
19
22
|
import "../../chunks/chunk-4CIS3R7T.js";
|
23
|
+
import {
|
24
|
+
Crossenv
|
25
|
+
} from "../../chunks/chunk-GDYVCEWA.js";
|
26
|
+
import "../../chunks/chunk-73V5RDSG.js";
|
27
|
+
import "../../chunks/chunk-4GUDL44X.js";
|
28
|
+
import {
|
29
|
+
Random
|
30
|
+
} from "../../chunks/chunk-R6KCN6CK.js";
|
20
31
|
import "../../chunks/chunk-YS6WMSWC.js";
|
21
32
|
import "../../chunks/chunk-6RGDWX4A.js";
|
22
33
|
import {
|
23
34
|
isConstructorFunction
|
24
35
|
} from "../../chunks/chunk-RCO57B6F.js";
|
25
|
-
import "../../chunks/chunk-FCU6IHKD.js";
|
26
36
|
import "../../chunks/chunk-RLAZR3NL.js";
|
27
|
-
import
|
28
|
-
Crossenv
|
29
|
-
} from "../../chunks/chunk-GDYVCEWA.js";
|
30
|
-
import "../../chunks/chunk-73V5RDSG.js";
|
31
|
-
import "../../chunks/chunk-4GUDL44X.js";
|
37
|
+
import "../../chunks/chunk-FCU6IHKD.js";
|
32
38
|
import "../../chunks/chunk-QXAJXTXV.js";
|
33
39
|
import {
|
34
40
|
isNotNullish,
|
35
41
|
isNullish,
|
36
42
|
nullishValues
|
37
43
|
} from "../../chunks/chunk-HC6ZOHCS.js";
|
38
|
-
import {
|
39
|
-
Random
|
40
|
-
} from "../../chunks/chunk-R6KCN6CK.js";
|
41
44
|
|
42
45
|
// src/agnostic/misc/index.ts
|
43
46
|
var Misc;
|
@@ -1,6 +1,8 @@
|
|
1
|
+
import { Logger as LoggerClass } from './logger';
|
2
|
+
import { makeTextBlock as makeTextBlockFunc } from './make-text-block';
|
1
3
|
export declare namespace Logs {
|
2
|
-
|
3
|
-
|
4
|
+
const makeTextBlock: typeof makeTextBlockFunc;
|
5
|
+
const styles: {
|
4
6
|
regular: (text: string) => string;
|
5
7
|
light: (text: string) => string;
|
6
8
|
danger: (text: string) => string;
|
@@ -11,46 +13,5 @@ export declare namespace Logs {
|
|
11
13
|
error: (text: string) => string;
|
12
14
|
warning: (text: string) => string;
|
13
15
|
};
|
14
|
-
|
15
|
-
type ConsoleMethodsParams = {
|
16
|
-
assert: Parameters<typeof console.assert>;
|
17
|
-
count: Parameters<typeof console.count>;
|
18
|
-
countReset: Parameters<typeof console.countReset>;
|
19
|
-
debug: Parameters<typeof console.debug>;
|
20
|
-
dir: Parameters<typeof console.dir>;
|
21
|
-
dirxml: Parameters<typeof console.dirxml>;
|
22
|
-
error: Parameters<typeof console.error>;
|
23
|
-
group: Parameters<typeof console.group>;
|
24
|
-
groupCollapsed: Parameters<typeof console.groupCollapsed>;
|
25
|
-
groupEnd: Parameters<typeof console.groupEnd>;
|
26
|
-
info: Parameters<typeof console.info>;
|
27
|
-
log: Parameters<typeof console.log>;
|
28
|
-
table: Parameters<typeof console.table>;
|
29
|
-
time: Parameters<typeof console.time>;
|
30
|
-
timeEnd: Parameters<typeof console.timeEnd>;
|
31
|
-
trace: Parameters<typeof console.trace>;
|
32
|
-
warn: Parameters<typeof console.warn>;
|
33
|
-
};
|
34
|
-
class Log<T extends ConsoleMethod = ConsoleMethod> {
|
35
|
-
type: T;
|
36
|
-
data: ConsoleMethodsParams[T];
|
37
|
-
time: Date;
|
38
|
-
stack: string;
|
39
|
-
constructor(type: T, data: ConsoleMethodsParams[T]);
|
40
|
-
get displayTime(): string;
|
41
|
-
get elapsedTimeMs(): number;
|
42
|
-
get displayStack(): string;
|
43
|
-
}
|
44
|
-
export class Logger {
|
45
|
-
_private_threads: Map<string, Log[]>;
|
46
|
-
constructor();
|
47
|
-
dir(thread: string | undefined, ...args: ConsoleMethodsParams['dir']): void;
|
48
|
-
error(thread?: string, ...args: ConsoleMethodsParams['error']): void;
|
49
|
-
log(thread?: string, ...args: ConsoleMethodsParams['log']): void;
|
50
|
-
warn(thread?: string, ...args: ConsoleMethodsParams['warn']): void;
|
51
|
-
setLog<T extends ConsoleMethod>(threadName: string, type: T, data: ConsoleMethodsParams[T]): this;
|
52
|
-
print(this: Logger, threadFilter?: string, withStack?: boolean): void;
|
53
|
-
printThreads(this: Logger, withStack?: boolean): void;
|
54
|
-
}
|
55
|
-
export {};
|
16
|
+
const Logger: typeof LoggerClass;
|
56
17
|
}
|
@@ -1,6 +1,9 @@
|
|
1
1
|
import {
|
2
2
|
Logs
|
3
|
-
} from "../../../chunks/chunk-
|
3
|
+
} from "../../../chunks/chunk-TEB7KZWB.js";
|
4
|
+
import "../../../chunks/chunk-JWKI6G6E.js";
|
5
|
+
import "../../../chunks/chunk-L3OCRR3V.js";
|
6
|
+
import "../../../chunks/chunk-H4PP6AHP.js";
|
4
7
|
export {
|
5
8
|
Logs
|
6
9
|
};
|
@@ -0,0 +1,42 @@
|
|
1
|
+
type ConsoleMethod = 'assert' | 'count' | 'countReset' | 'debug' | 'dir' | 'dirxml' | 'error' | 'group' | 'groupCollapsed' | 'groupEnd' | 'info' | 'log' | 'table' | 'time' | 'timeEnd' | 'trace' | 'warn';
|
2
|
+
type ConsoleMethodsParams = {
|
3
|
+
assert: Parameters<typeof console.assert>;
|
4
|
+
count: Parameters<typeof console.count>;
|
5
|
+
countReset: Parameters<typeof console.countReset>;
|
6
|
+
debug: Parameters<typeof console.debug>;
|
7
|
+
dir: Parameters<typeof console.dir>;
|
8
|
+
dirxml: Parameters<typeof console.dirxml>;
|
9
|
+
error: Parameters<typeof console.error>;
|
10
|
+
group: Parameters<typeof console.group>;
|
11
|
+
groupCollapsed: Parameters<typeof console.groupCollapsed>;
|
12
|
+
groupEnd: Parameters<typeof console.groupEnd>;
|
13
|
+
info: Parameters<typeof console.info>;
|
14
|
+
log: Parameters<typeof console.log>;
|
15
|
+
table: Parameters<typeof console.table>;
|
16
|
+
time: Parameters<typeof console.time>;
|
17
|
+
timeEnd: Parameters<typeof console.timeEnd>;
|
18
|
+
trace: Parameters<typeof console.trace>;
|
19
|
+
warn: Parameters<typeof console.warn>;
|
20
|
+
};
|
21
|
+
declare class Log<T extends ConsoleMethod = ConsoleMethod> {
|
22
|
+
type: T;
|
23
|
+
data: ConsoleMethodsParams[T];
|
24
|
+
time: Date;
|
25
|
+
stack: string;
|
26
|
+
constructor(type: T, data: ConsoleMethodsParams[T]);
|
27
|
+
get displayTime(): string;
|
28
|
+
get elapsedTimeMs(): number;
|
29
|
+
get displayStack(): string;
|
30
|
+
}
|
31
|
+
export declare class Logger {
|
32
|
+
_private_threads: Map<string, Log[]>;
|
33
|
+
constructor();
|
34
|
+
dir(thread: string | undefined, ...args: ConsoleMethodsParams['dir']): void;
|
35
|
+
error(thread?: string, ...args: ConsoleMethodsParams['error']): void;
|
36
|
+
log(thread?: string, ...args: ConsoleMethodsParams['log']): void;
|
37
|
+
warn(thread?: string, ...args: ConsoleMethodsParams['warn']): void;
|
38
|
+
setLog<T extends ConsoleMethod>(threadName: string, type: T, data: ConsoleMethodsParams[T]): this;
|
39
|
+
print(this: Logger, threadFilter?: string, withStack?: boolean): void;
|
40
|
+
printThreads(this: Logger, withStack?: boolean): void;
|
41
|
+
}
|
42
|
+
export {};
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare function makeTextBlock(text: string, vPadding?: number, hPadding?: number): string;
|
@@ -0,0 +1,11 @@
|
|
1
|
+
export declare const styles: {
|
2
|
+
regular: (text: string) => string;
|
3
|
+
light: (text: string) => string;
|
4
|
+
danger: (text: string) => string;
|
5
|
+
important: (text: string) => string;
|
6
|
+
title: (text: string) => string;
|
7
|
+
info: (text: string) => string;
|
8
|
+
success: (text: string) => string;
|
9
|
+
error: (text: string) => string;
|
10
|
+
warning: (text: string) => string;
|
11
|
+
};
|
@@ -1,12 +1,12 @@
|
|
1
1
|
import {
|
2
2
|
LoremIpsum
|
3
|
-
} from "../../../chunks/chunk-
|
3
|
+
} from "../../../chunks/chunk-VA6HXRX4.js";
|
4
|
+
import "../../../chunks/chunk-R6KCN6CK.js";
|
4
5
|
import "../../../chunks/chunk-YS6WMSWC.js";
|
5
6
|
import "../../../chunks/chunk-6RGDWX4A.js";
|
6
7
|
import "../../../chunks/chunk-RCO57B6F.js";
|
7
|
-
import "../../../chunks/chunk-FCU6IHKD.js";
|
8
8
|
import "../../../chunks/chunk-RLAZR3NL.js";
|
9
|
-
import "../../../chunks/chunk-
|
9
|
+
import "../../../chunks/chunk-FCU6IHKD.js";
|
10
10
|
export {
|
11
11
|
LoremIpsum
|
12
12
|
};
|
@@ -1,9 +1,9 @@
|
|
1
|
-
import {
|
2
|
-
clamp
|
3
|
-
} from "../../chunks/chunk-OSAXBA7G.js";
|
4
1
|
import {
|
5
2
|
absoluteModulo
|
6
3
|
} from "../../chunks/chunk-DNIOWD7K.js";
|
4
|
+
import {
|
5
|
+
clamp
|
6
|
+
} from "../../chunks/chunk-OSAXBA7G.js";
|
7
7
|
import {
|
8
8
|
interpolate
|
9
9
|
} from "../../chunks/chunk-EW46EXFB.js";
|
@@ -9,12 +9,12 @@ import {
|
|
9
9
|
isNonNullObject,
|
10
10
|
isObject
|
11
11
|
} from "../../chunks/chunk-HQLRJ7XW.js";
|
12
|
-
import {
|
13
|
-
isRecord
|
14
|
-
} from "../../chunks/chunk-YDIBNEGA.js";
|
15
12
|
import {
|
16
13
|
flattenGetters
|
17
14
|
} from "../../chunks/chunk-PO3V3I57.js";
|
15
|
+
import {
|
16
|
+
isRecord
|
17
|
+
} from "../../chunks/chunk-YDIBNEGA.js";
|
18
18
|
import "../../chunks/chunk-4QQBKBYH.js";
|
19
19
|
import "../../chunks/chunk-QXAJXTXV.js";
|
20
20
|
import "../../chunks/chunk-HC6ZOHCS.js";
|
package/agnostic/optim/index.js
CHANGED
@@ -1,12 +1,3 @@
|
|
1
|
-
import {
|
2
|
-
replaceAll
|
3
|
-
} from "../../chunks/chunk-MF56TTC5.js";
|
4
|
-
import {
|
5
|
-
toAlphanum
|
6
|
-
} from "../../chunks/chunk-COVPTTAD.js";
|
7
|
-
import {
|
8
|
-
normalizeIndent
|
9
|
-
} from "../../chunks/chunk-JQXNEJAP.js";
|
10
1
|
import {
|
11
2
|
CharCodes
|
12
3
|
} from "../../chunks/chunk-34U4HX4V.js";
|
@@ -15,6 +6,15 @@ import {
|
|
15
6
|
matchesEvery,
|
16
7
|
matchesSome
|
17
8
|
} from "../../chunks/chunk-LQFKUNVQ.js";
|
9
|
+
import {
|
10
|
+
toAlphanum
|
11
|
+
} from "../../chunks/chunk-COVPTTAD.js";
|
12
|
+
import {
|
13
|
+
replaceAll
|
14
|
+
} from "../../chunks/chunk-MF56TTC5.js";
|
15
|
+
import {
|
16
|
+
normalizeIndent
|
17
|
+
} from "../../chunks/chunk-JQXNEJAP.js";
|
18
18
|
|
19
19
|
// src/agnostic/strings/index.ts
|
20
20
|
var Strings;
|
package/agnostic/time/index.js
CHANGED
@@ -1,15 +1,15 @@
|
|
1
|
-
import {
|
2
|
-
timeout
|
3
|
-
} from "../../chunks/chunk-Z7ZDDBV5.js";
|
4
|
-
import {
|
5
|
-
Duration
|
6
|
-
} from "../../chunks/chunk-6NYUQXJT.js";
|
7
1
|
import {
|
8
2
|
Transitions
|
9
3
|
} from "../../chunks/chunk-ENMBK6H7.js";
|
4
|
+
import {
|
5
|
+
timeout
|
6
|
+
} from "../../chunks/chunk-Z7ZDDBV5.js";
|
10
7
|
import {
|
11
8
|
wait
|
12
9
|
} from "../../chunks/chunk-4CIS3R7T.js";
|
10
|
+
import {
|
11
|
+
Duration
|
12
|
+
} from "../../chunks/chunk-6NYUQXJT.js";
|
13
13
|
|
14
14
|
// src/agnostic/time/index.ts
|
15
15
|
var Time;
|
@@ -0,0 +1,31 @@
|
|
1
|
+
import {
|
2
|
+
Cast,
|
3
|
+
Transformers,
|
4
|
+
Tree,
|
5
|
+
Utils
|
6
|
+
} from "./chunk-YRGOY5YU.js";
|
7
|
+
import {
|
8
|
+
Serialize
|
9
|
+
} from "./chunk-DRNK3RLE.js";
|
10
|
+
import {
|
11
|
+
Crossenv
|
12
|
+
} from "./chunk-3LVR6KZH.js";
|
13
|
+
import {
|
14
|
+
Types
|
15
|
+
} from "./chunk-5GI5G45R.js";
|
16
|
+
|
17
|
+
// src/agnostic/html/hyper-json/index.ts
|
18
|
+
var HyperJson;
|
19
|
+
((HyperJson2) => {
|
20
|
+
HyperJson2.Cast = Cast;
|
21
|
+
HyperJson2.Crossenv = Crossenv;
|
22
|
+
HyperJson2.Serialize = Serialize;
|
23
|
+
HyperJson2.Transformers = Transformers;
|
24
|
+
HyperJson2.Tree = Tree;
|
25
|
+
HyperJson2.Types = Types;
|
26
|
+
HyperJson2.Utils = Utils;
|
27
|
+
})(HyperJson || (HyperJson = {}));
|
28
|
+
|
29
|
+
export {
|
30
|
+
HyperJson
|
31
|
+
};
|
@@ -0,0 +1,27 @@
|
|
1
|
+
// src/agnostic/html/hyper-json/types/index.ts
|
2
|
+
var Types;
|
3
|
+
((Types2) => {
|
4
|
+
let TyperTagName;
|
5
|
+
((TyperTagName2) => {
|
6
|
+
TyperTagName2["ANY"] = "any";
|
7
|
+
TyperTagName2["NULL"] = "null";
|
8
|
+
TyperTagName2["BOOLEAN"] = "boolean";
|
9
|
+
TyperTagName2["NUMBER"] = "number";
|
10
|
+
TyperTagName2["STRING"] = "string";
|
11
|
+
TyperTagName2["TEXT"] = "text";
|
12
|
+
TyperTagName2["NODELIST"] = "nodelist";
|
13
|
+
TyperTagName2["ARRAY"] = "array";
|
14
|
+
TyperTagName2["RECORD"] = "record";
|
15
|
+
TyperTagName2["LITERAL"] = "literal";
|
16
|
+
})(TyperTagName = Types2.TyperTagName || (Types2.TyperTagName = {}));
|
17
|
+
let ReductionAction;
|
18
|
+
((ReductionAction2) => {
|
19
|
+
ReductionAction2["APPEND"] = "append";
|
20
|
+
ReductionAction2["PREPEND"] = "prepend";
|
21
|
+
ReductionAction2["REPLACE"] = "replace";
|
22
|
+
})(ReductionAction = Types2.ReductionAction || (Types2.ReductionAction = {}));
|
23
|
+
})(Types || (Types = {}));
|
24
|
+
|
25
|
+
export {
|
26
|
+
Types
|
27
|
+
};
|