yummies 5.15.1 → 6.1.0
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/README.md +10 -4
- package/async.cjs +45 -1
- package/async.cjs.map +1 -1
- package/async.d.ts +7 -6
- package/common.cjs +11 -1
- package/common.cjs.map +1 -1
- package/common.d.ts +8 -5
- package/common.js.map +1 -1
- package/complex.cjs +130 -1
- package/complex.cjs.map +1 -1
- package/complex.d.ts +113 -0
- package/complex.js +43 -1
- package/complex.js.map +1 -1
- package/cookie.cjs +9 -1
- package/cookie.cjs.map +1 -1
- package/cookie.d.ts +5 -3
- package/cookie.js.map +1 -1
- package/css.cjs +45 -1
- package/css.cjs.map +1 -1
- package/css.d.ts +11 -8
- package/css.js.map +1 -1
- package/data.cjs +43 -1
- package/data.cjs.map +1 -1
- package/data.d.ts +5 -4
- package/data.js.map +1 -1
- package/date-time.cjs +395 -1
- package/date-time.cjs.map +1 -1
- package/date-time.d.ts +12 -10
- package/date-time.js.map +1 -1
- package/device.cjs +32 -1
- package/device.cjs.map +1 -1
- package/device.d.ts +9 -8
- package/encodings.cjs +270 -1
- package/encodings.cjs.map +1 -1
- package/encodings.d.ts +3 -2
- package/encodings.js.map +1 -1
- package/errors.cjs +23 -1
- package/errors.cjs.map +1 -1
- package/errors.d.ts +5 -4
- package/errors.js.map +1 -1
- package/file.cjs +28 -1
- package/file.cjs.map +1 -1
- package/file.d.ts +4 -3
- package/format.cjs +75 -1
- package/format.cjs.map +1 -1
- package/format.d.ts +74 -0
- package/format.js.map +1 -1
- package/html.cjs +167 -1
- package/html.cjs.map +1 -1
- package/html.d.ts +19 -17
- package/html.js.map +1 -1
- package/id.cjs +25 -1
- package/id.cjs.map +1 -1
- package/id.d.ts +9 -8
- package/imports.cjs +33 -1
- package/imports.cjs.map +1 -1
- package/imports.d.ts +6 -4
- package/math.cjs +14 -1
- package/math.cjs.map +1 -1
- package/math.d.ts +7 -5
- package/math.js.map +1 -1
- package/media.cjs +105 -1
- package/media.cjs.map +1 -1
- package/media.d.ts +11 -11
- package/mobx.cjs +184 -1
- package/mobx.cjs.map +1 -1
- package/mobx.d.ts +66 -0
- package/mobx.js.map +1 -1
- package/ms.cjs +13 -1
- package/ms.cjs.map +1 -1
- package/ms.d.ts +4 -3
- package/number.cjs +10 -1
- package/number.cjs.map +1 -1
- package/number.d.ts +3 -2
- package/package.json +97 -141
- package/parser.cjs +68 -1
- package/parser.cjs.map +1 -1
- package/parser.d.ts +41 -0
- package/parser.js.map +1 -1
- package/price.cjs +20 -1
- package/price.cjs.map +1 -1
- package/price.d.ts +5 -3
- package/random.cjs +24 -1
- package/random.cjs.map +1 -1
- package/random.d.ts +10 -9
- package/react.cjs +216 -1
- package/react.cjs.map +1 -1
- package/react.d.ts +113 -0
- package/react.js.map +1 -1
- package/sound.cjs +11 -1
- package/sound.cjs.map +1 -1
- package/sound.d.ts +3 -2
- package/text.cjs +37 -1
- package/text.cjs.map +1 -1
- package/text.d.ts +4 -3
- package/type-guard.cjs +75 -1
- package/type-guard.cjs.map +1 -1
- package/type-guard.d.ts +121 -0
- package/type-guard.js.map +1 -1
- package/{utils/types.d.ts → types.d.ts} +54 -53
- package/types.global.cjs +2 -0
- package/types.global.cjs.map +1 -0
- package/{utility-types.d.ts → types.global.d.ts} +1 -1
- package/types.global.js +2 -0
- package/types.global.js.map +1 -0
- package/vibrate.cjs +8 -1
- package/vibrate.cjs.map +1 -1
- package/vibrate.d.ts +3 -2
- package/async.d.ts.map +0 -1
- package/common.d.ts.map +0 -1
- package/complex/counter.d.ts +0 -15
- package/complex/counter.d.ts.map +0 -1
- package/complex/global-config.d.ts +0 -11
- package/complex/global-config.d.ts.map +0 -1
- package/complex/index.d.ts +0 -4
- package/complex/index.d.ts.map +0 -1
- package/complex/modules-factory.d.ts +0 -49
- package/complex/modules-factory.d.ts.map +0 -1
- package/cookie.d.ts.map +0 -1
- package/css.d.ts.map +0 -1
- package/data.d.ts.map +0 -1
- package/date-time.d.ts.map +0 -1
- package/device.d.ts.map +0 -1
- package/encodings.d.ts.map +0 -1
- package/errors.d.ts.map +0 -1
- package/file.d.ts.map +0 -1
- package/format/_exports.d.ts +0 -5
- package/format/_exports.d.ts.map +0 -1
- package/format/constants.d.ts +0 -4
- package/format/constants.d.ts.map +0 -1
- package/format/index.d.ts +0 -3
- package/format/index.d.ts.map +0 -1
- package/format/number.d.ts +0 -36
- package/format/number.d.ts.map +0 -1
- package/format/percent.d.ts +0 -15
- package/format/percent.d.ts.map +0 -1
- package/format/skip-spaces.d.ts +0 -5
- package/format/skip-spaces.d.ts.map +0 -1
- package/html.d.ts.map +0 -1
- package/id.d.ts.map +0 -1
- package/imports.d.ts.map +0 -1
- package/math.d.ts.map +0 -1
- package/media.d.ts.map +0 -1
- package/mobx/apply-observable.d.ts +0 -4
- package/mobx/apply-observable.d.ts.map +0 -1
- package/mobx/create-enhanced-atom.d.ts +0 -11
- package/mobx/create-enhanced-atom.d.ts.map +0 -1
- package/mobx/create-ref.d.ts +0 -28
- package/mobx/create-ref.d.ts.map +0 -1
- package/mobx/deep-observable-struct.d.ts +0 -7
- package/mobx/deep-observable-struct.d.ts.map +0 -1
- package/mobx/get-mobx-administration.d.ts +0 -6
- package/mobx/get-mobx-administration.d.ts.map +0 -1
- package/mobx/index.d.ts +0 -7
- package/mobx/index.d.ts.map +0 -1
- package/mobx/lazy-observe.d.ts +0 -14
- package/mobx/lazy-observe.d.ts.map +0 -1
- package/ms.d.ts.map +0 -1
- package/number.d.ts.map +0 -1
- package/parser/_exports.d.ts +0 -4
- package/parser/_exports.d.ts.map +0 -1
- package/parser/index.d.ts +0 -3
- package/parser/index.d.ts.map +0 -1
- package/parser/number.d.ts +0 -21
- package/parser/number.d.ts.map +0 -1
- package/parser/percent.d.ts +0 -4
- package/parser/percent.d.ts.map +0 -1
- package/parser/string.d.ts +0 -7
- package/parser/string.d.ts.map +0 -1
- package/price.d.ts.map +0 -1
- package/random.d.ts.map +0 -1
- package/react/hooks/index.d.ts +0 -22
- package/react/hooks/index.d.ts.map +0 -1
- package/react/hooks/use-abort-controller.d.ts +0 -2
- package/react/hooks/use-abort-controller.d.ts.map +0 -1
- package/react/hooks/use-abort-signal.d.ts +0 -2
- package/react/hooks/use-abort-signal.d.ts.map +0 -1
- package/react/hooks/use-click-outside.d.ts +0 -9
- package/react/hooks/use-click-outside.d.ts.map +0 -1
- package/react/hooks/use-constant.d.ts +0 -9
- package/react/hooks/use-constant.d.ts.map +0 -1
- package/react/hooks/use-define-ref.d.ts +0 -10
- package/react/hooks/use-define-ref.d.ts.map +0 -1
- package/react/hooks/use-element-ref.d.ts +0 -2
- package/react/hooks/use-element-ref.d.ts.map +0 -1
- package/react/hooks/use-event-listener.d.ts +0 -8
- package/react/hooks/use-event-listener.d.ts.map +0 -1
- package/react/hooks/use-event.d.ts +0 -3
- package/react/hooks/use-event.d.ts.map +0 -1
- package/react/hooks/use-flag.d.ts +0 -8
- package/react/hooks/use-flag.d.ts.map +0 -1
- package/react/hooks/use-force-update.d.ts +0 -2
- package/react/hooks/use-force-update.d.ts.map +0 -1
- package/react/hooks/use-initial-height.d.ts +0 -5
- package/react/hooks/use-initial-height.d.ts.map +0 -1
- package/react/hooks/use-instance.d.ts +0 -27
- package/react/hooks/use-instance.d.ts.map +0 -1
- package/react/hooks/use-intersection-observer.d.ts +0 -2
- package/react/hooks/use-intersection-observer.d.ts.map +0 -1
- package/react/hooks/use-last-defined-value.d.ts +0 -2
- package/react/hooks/use-last-defined-value.d.ts.map +0 -1
- package/react/hooks/use-last-value-ref.d.ts +0 -2
- package/react/hooks/use-last-value-ref.d.ts.map +0 -1
- package/react/hooks/use-life-cycle.d.ts +0 -5
- package/react/hooks/use-life-cycle.d.ts.map +0 -1
- package/react/hooks/use-resize-observer.d.ts +0 -2
- package/react/hooks/use-resize-observer.d.ts.map +0 -1
- package/react/hooks/use-sync-ref.d.ts +0 -2
- package/react/hooks/use-sync-ref.d.ts.map +0 -1
- package/react/hooks/use-toggle.d.ts +0 -2
- package/react/hooks/use-toggle.d.ts.map +0 -1
- package/react/hooks/use-value.d.ts +0 -5
- package/react/hooks/use-value.d.ts.map +0 -1
- package/react/hooks/use-visibility-state.d.ts +0 -2
- package/react/hooks/use-visibility-state.d.ts.map +0 -1
- package/react/index.d.ts +0 -2
- package/react/index.d.ts.map +0 -1
- package/sound.d.ts.map +0 -1
- package/storage.d.ts +0 -39
- package/storage.d.ts.map +0 -1
- package/text.d.ts.map +0 -1
- package/type-guard/_exports.d.ts +0 -86
- package/type-guard/_exports.d.ts.map +0 -1
- package/type-guard/index.d.ts +0 -3
- package/type-guard/index.d.ts.map +0 -1
- package/utility-types.cjs +0 -2
- package/utility-types.cjs.map +0 -1
- package/utility-types.d.ts.map +0 -1
- package/utility-types.js +0 -2
- package/utility-types.js.map +0 -1
- package/utils/types.d.ts.map +0 -1
- package/vibrate.d.ts.map +0 -1
- /package/{utils/types.cjs → types.cjs} +0 -0
- /package/{utils/types.cjs.map → types.cjs.map} +0 -0
- /package/{utils/types.js → types.js} +0 -0
- /package/{utils/types.js.map → types.js.map} +0 -0
|
@@ -4,14 +4,14 @@
|
|
|
4
4
|
* @template T - The input type to extract values from
|
|
5
5
|
* @returns The union of all possible values in T
|
|
6
6
|
*/
|
|
7
|
-
|
|
7
|
+
type ValueOf<T> = T[keyof T];
|
|
8
8
|
/**
|
|
9
9
|
* Extracts enum keys as a union type.
|
|
10
10
|
*
|
|
11
11
|
* @template T - The enum type to extract keys from
|
|
12
12
|
* @returns A union of all string keys in the enum
|
|
13
13
|
*/
|
|
14
|
-
|
|
14
|
+
type ExtractEnumKeys<T> = ValueOf<{
|
|
15
15
|
[key in keyof T]: key extends string ? key : never;
|
|
16
16
|
}>;
|
|
17
17
|
/**
|
|
@@ -20,39 +20,39 @@ export type ExtractEnumKeys<T> = ValueOf<{
|
|
|
20
20
|
* @template T - The enum type to extract values from
|
|
21
21
|
* @returns A union of all string and numeric values in the enum
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
type ExtractEnumValues<T> = `${T & string}` | (T & number);
|
|
24
24
|
/**
|
|
25
25
|
* Represents a type that can be either the specified type or `undefined` or `null`.
|
|
26
26
|
*
|
|
27
27
|
* @template T - The input type
|
|
28
28
|
* @returns T or `undefined` or `null`
|
|
29
29
|
*/
|
|
30
|
-
|
|
30
|
+
type Maybe<T> = Nullable<T> | undefined;
|
|
31
31
|
/**
|
|
32
32
|
* Represents a type that can be either the specified type or `null`.
|
|
33
33
|
*
|
|
34
34
|
* @template T - The type to make possibly `null`
|
|
35
35
|
* @returns `T` or `null`
|
|
36
36
|
*/
|
|
37
|
-
|
|
37
|
+
type Nullable<T> = T | null;
|
|
38
38
|
/**
|
|
39
39
|
* Represents any object with any keys and any values.
|
|
40
40
|
*
|
|
41
41
|
* @returns Record with any keys and any values
|
|
42
42
|
*/
|
|
43
|
-
|
|
43
|
+
type AnyObject = Record<keyof any, any>;
|
|
44
44
|
/**
|
|
45
45
|
* Represents an empty object with no properties.
|
|
46
46
|
*
|
|
47
47
|
* @returns Record with no keys and no values
|
|
48
48
|
*/
|
|
49
|
-
|
|
49
|
+
type EmptyObject = Record<keyof any, never>;
|
|
50
50
|
/**
|
|
51
51
|
* Represents all primitive types in TypeScript.
|
|
52
52
|
*
|
|
53
53
|
* @returns Union of all primitive types
|
|
54
54
|
*/
|
|
55
|
-
|
|
55
|
+
type Primitive = null | undefined | string | number | boolean | symbol | bigint;
|
|
56
56
|
/**
|
|
57
57
|
* Represents any primitive type (string, number, boolean, null, or undefined).
|
|
58
58
|
*
|
|
@@ -60,33 +60,33 @@ export type Primitive = null | undefined | string | number | boolean | symbol |
|
|
|
60
60
|
*
|
|
61
61
|
* @returns Union of all primitive types
|
|
62
62
|
*/
|
|
63
|
-
|
|
63
|
+
type AnyPrimitive = Primitive;
|
|
64
64
|
/**
|
|
65
65
|
* Represents any function type.
|
|
66
66
|
*
|
|
67
67
|
* @returns Function with any parameters and return type
|
|
68
68
|
*/
|
|
69
|
-
|
|
69
|
+
type AnyFunction = (...args: any) => any;
|
|
70
70
|
/**
|
|
71
71
|
* Converts a union type to an intersection type.
|
|
72
72
|
*
|
|
73
73
|
* @template U - The union type to convert
|
|
74
74
|
* @returns Intersection of all types in the union
|
|
75
75
|
*/
|
|
76
|
-
|
|
76
|
+
type UnionToIntersection<U> = (U extends any ? (k: U) => void : never) extends (k: infer I) => void ? I : never;
|
|
77
77
|
/**
|
|
78
78
|
* Represents falsy values (undefined, null, empty string, false, or 0).
|
|
79
79
|
*
|
|
80
80
|
* @returns Union of all falsy values
|
|
81
81
|
*/
|
|
82
|
-
|
|
82
|
+
type FalsyValues = undefined | null | '' | false | 0;
|
|
83
83
|
/**
|
|
84
84
|
* Represents a type that can be either the specified type, undefined, or any other falsy value.
|
|
85
85
|
*
|
|
86
86
|
* @template T - The type to make possibly falsy
|
|
87
87
|
* @returns T, undefined, or a falsy value
|
|
88
88
|
*/
|
|
89
|
-
|
|
89
|
+
type MaybeFalsy<T> = T | FalsyValues;
|
|
90
90
|
/**
|
|
91
91
|
* Represents a type that can be either the specified type or a function returning that type.
|
|
92
92
|
*
|
|
@@ -94,7 +94,7 @@ export type MaybeFalsy<T> = T | FalsyValues;
|
|
|
94
94
|
* @template TArgs - Arguments type for the function
|
|
95
95
|
* @returns T or a function that returns T
|
|
96
96
|
*/
|
|
97
|
-
|
|
97
|
+
type MaybeFn<T, TArgs extends any[] = any[]> = T | ((...args: TArgs) => T);
|
|
98
98
|
/**
|
|
99
99
|
* Represents a class constructor type.
|
|
100
100
|
*
|
|
@@ -102,14 +102,14 @@ export type MaybeFn<T, TArgs extends any[] = any[]> = T | ((...args: TArgs) => T
|
|
|
102
102
|
* @template Args - Constructor arguments type
|
|
103
103
|
* @returns Constructor function for T with specified arguments
|
|
104
104
|
*/
|
|
105
|
-
|
|
105
|
+
type Class<T, Args extends any[] = any[]> = new (...args: Args) => T;
|
|
106
106
|
/**
|
|
107
107
|
* Creates a deeply partial version of a type, making all properties optional recursively.
|
|
108
108
|
*
|
|
109
109
|
* @template T - The type to make deeply partial
|
|
110
110
|
* @returns A type with all properties optional at any depth
|
|
111
111
|
*/
|
|
112
|
-
|
|
112
|
+
type DeepPartial<T> = T extends BrowserNativeObject ? T : {
|
|
113
113
|
[K in keyof T]?: ExtractObjects<T[K]> extends never ? T[K] : DeepPartial<T[K]>;
|
|
114
114
|
};
|
|
115
115
|
/**
|
|
@@ -119,7 +119,7 @@ export type DeepPartial<T> = T extends BrowserNativeObject ? T : {
|
|
|
119
119
|
* @template K - The keys to make optional
|
|
120
120
|
* @returns A type with specified keys optional and others required
|
|
121
121
|
*/
|
|
122
|
-
|
|
122
|
+
type PartialKeys<T, K extends keyof T> = Omit<T, K> & Partial<Pick<T, K>>;
|
|
123
123
|
/**
|
|
124
124
|
* Makes specified keys of a type required while keeping the rest optional.
|
|
125
125
|
*
|
|
@@ -127,7 +127,7 @@ export type PartialKeys<T, K extends keyof T> = Omit<T, K> & Partial<Pick<T, K>>
|
|
|
127
127
|
* @template K - The keys to make required
|
|
128
128
|
* @returns A type with specified keys required and others optional
|
|
129
129
|
*/
|
|
130
|
-
|
|
130
|
+
type RequiredKeys<T, K extends keyof T> = Omit<T, K> & Required<Pick<T, K>>;
|
|
131
131
|
/**
|
|
132
132
|
* Extracts the inner type from a Promise type.
|
|
133
133
|
*
|
|
@@ -136,14 +136,14 @@ export type RequiredKeys<T, K extends keyof T> = Omit<T, K> & Required<Pick<T, K
|
|
|
136
136
|
* @template T - The type that may be a Promise
|
|
137
137
|
* @returns The resolved type of the Promise or T itself if not a Promise
|
|
138
138
|
*/
|
|
139
|
-
|
|
139
|
+
type Unpromise<T> = T extends Promise<infer TValue> ? TValue : T;
|
|
140
140
|
/**
|
|
141
141
|
* Makes all values in an object type possibly undefined.
|
|
142
142
|
*
|
|
143
143
|
* @template T - The object type to make values possibly undefined
|
|
144
144
|
* @returns A type with all values possibly undefined
|
|
145
145
|
*/
|
|
146
|
-
|
|
146
|
+
type MaybeValues<T extends AnyObject> = {
|
|
147
147
|
[K in keyof T]: Maybe<T[K]>;
|
|
148
148
|
};
|
|
149
149
|
/**
|
|
@@ -153,7 +153,7 @@ export type MaybeValues<T extends AnyObject> = {
|
|
|
153
153
|
* @template TValues - The value type to match
|
|
154
154
|
* @returns Union of keys whose values match TValues
|
|
155
155
|
*/
|
|
156
|
-
|
|
156
|
+
type KeyOfByValue<T, TValues> = ValueOf<{
|
|
157
157
|
[K in keyof T]: T[K] extends TValues ? K : never;
|
|
158
158
|
}>;
|
|
159
159
|
/**
|
|
@@ -163,7 +163,7 @@ export type KeyOfByValue<T, TValues> = ValueOf<{
|
|
|
163
163
|
* @template TValues - The value type to match
|
|
164
164
|
* @returns A type with only the properties whose values match TValues
|
|
165
165
|
*/
|
|
166
|
-
|
|
166
|
+
type PickByValue<T, TValues> = Pick<T, KeyOfByValue<T, TValues>>;
|
|
167
167
|
/**
|
|
168
168
|
* Omits properties from an object whose values match a specific type.
|
|
169
169
|
*
|
|
@@ -171,14 +171,14 @@ export type PickByValue<T, TValues> = Pick<T, KeyOfByValue<T, TValues>>;
|
|
|
171
171
|
* @template TValues - The value type to match
|
|
172
172
|
* @returns A type with the properties whose values match TValues omitted
|
|
173
173
|
*/
|
|
174
|
-
|
|
174
|
+
type OmitByValue<T, TValues> = Omit<T, KeyOfByValue<T, TValues>>;
|
|
175
175
|
/**
|
|
176
176
|
* Determines if all properties in a type are optional.
|
|
177
177
|
*
|
|
178
178
|
* @template T - The type to check
|
|
179
179
|
* @returns True if all properties are optional, false otherwise
|
|
180
180
|
*/
|
|
181
|
-
|
|
181
|
+
type IsPartial<T> = keyof T extends never ? true : {
|
|
182
182
|
[K in keyof T]-?: undefined extends T[K] ? never : K;
|
|
183
183
|
} extends {
|
|
184
184
|
[K in keyof T]: never;
|
|
@@ -189,7 +189,7 @@ export type IsPartial<T> = keyof T extends never ? true : {
|
|
|
189
189
|
* @template T - The type to check
|
|
190
190
|
* @returns True if all properties are optional, false otherwise
|
|
191
191
|
*/
|
|
192
|
-
|
|
192
|
+
type AllPropertiesOptional<T> = IsPartial<T>;
|
|
193
193
|
/**
|
|
194
194
|
* Conditionally makes a type partially optional based on a condition.
|
|
195
195
|
*
|
|
@@ -197,14 +197,14 @@ export type AllPropertiesOptional<T> = IsPartial<T>;
|
|
|
197
197
|
* @template TObject - The object type to make partial if condition is true
|
|
198
198
|
* @returns Partial<TObject> if TCondition is true, otherwise TObject
|
|
199
199
|
*/
|
|
200
|
-
|
|
200
|
+
type PartialIf<TCondition, TObject> = TCondition extends true ? Partial<TObject> : TObject;
|
|
201
201
|
/**
|
|
202
202
|
* Converts a record type into an array of key-value pairs.
|
|
203
203
|
*
|
|
204
204
|
* @template T - The record type to convert
|
|
205
205
|
* @returns Array of [key, value] tuples
|
|
206
206
|
*/
|
|
207
|
-
|
|
207
|
+
type RecordEntries<T extends AnyObject> = T extends Record<infer Keys, infer Values> ? [Keys, Values][] : T extends Partial<Record<infer Keys, infer Values>> ? [Keys, Values][] : never;
|
|
208
208
|
/**
|
|
209
209
|
* Renames a key in an object type, preserving the optional nature of the property.
|
|
210
210
|
*
|
|
@@ -213,7 +213,7 @@ export type RecordEntries<T extends AnyObject> = T extends Record<infer Keys, in
|
|
|
213
213
|
* @template TNewKey - The new key name
|
|
214
214
|
* @returns A type with the key renamed
|
|
215
215
|
*/
|
|
216
|
-
|
|
216
|
+
type RenameKey<TObject, TOldKey extends keyof TObject, TNewKey extends string> = Omit<TObject, TOldKey> & IsPartial<Pick<TObject, TOldKey>> extends true ? {
|
|
217
217
|
[K in TNewKey]?: TObject[TOldKey];
|
|
218
218
|
} : {
|
|
219
219
|
[K in TNewKey]: TObject[TOldKey];
|
|
@@ -224,21 +224,21 @@ export type RenameKey<TObject, TOldKey extends keyof TObject, TNewKey extends st
|
|
|
224
224
|
* @template T - The object type to check
|
|
225
225
|
* @returns True if the object is empty, false otherwise
|
|
226
226
|
*/
|
|
227
|
-
|
|
227
|
+
type IsObjectEmpty<T extends AnyObject> = T extends EmptyObject ? true : keyof T extends never ? true : never;
|
|
228
228
|
/**
|
|
229
229
|
* Determines if an array type is empty.
|
|
230
230
|
*
|
|
231
231
|
* @template T - The array type to check
|
|
232
232
|
* @returns True if the array is empty, false otherwise
|
|
233
233
|
*/
|
|
234
|
-
|
|
234
|
+
type IsEmptyArray<T extends readonly any[]> = T extends [] ? true : false;
|
|
235
235
|
/**
|
|
236
236
|
* Extracts the parameter types from a function type.
|
|
237
237
|
*
|
|
238
238
|
* @template T - The function type to extract parameters from
|
|
239
239
|
* @returns Union of all possible parameter types
|
|
240
240
|
*/
|
|
241
|
-
|
|
241
|
+
type Params<T extends (...args: any) => any> = T extends {
|
|
242
242
|
(...args: infer P1): any;
|
|
243
243
|
(...args: infer P2): any;
|
|
244
244
|
} ? P1 | P2 : T extends (...args: infer P) => any ? P : never;
|
|
@@ -247,14 +247,14 @@ export type Params<T extends (...args: any) => any> = T extends {
|
|
|
247
247
|
*
|
|
248
248
|
* @returns Union of browser native object types
|
|
249
249
|
*/
|
|
250
|
-
|
|
250
|
+
type BrowserNativeObject = Date | FileList | File | Element | Node;
|
|
251
251
|
/**
|
|
252
252
|
* Removes undefined from a type.
|
|
253
253
|
*
|
|
254
254
|
* @template T - The type to remove undefined from
|
|
255
255
|
* @returns T with undefined removed
|
|
256
256
|
*/
|
|
257
|
-
|
|
257
|
+
type NonUndefined<T> = T extends undefined ? never : T;
|
|
258
258
|
/**
|
|
259
259
|
* Creates a literal union type that includes both a specific literal type and a primitive type.
|
|
260
260
|
*
|
|
@@ -262,7 +262,7 @@ export type NonUndefined<T> = T extends undefined ? never : T;
|
|
|
262
262
|
* @template U - The primitive type
|
|
263
263
|
* @returns Union of T and U with a private property to prevent widening
|
|
264
264
|
*/
|
|
265
|
-
|
|
265
|
+
type LiteralUnion<T extends U, U extends Primitive> = T | (U & {
|
|
266
266
|
_?: never;
|
|
267
267
|
});
|
|
268
268
|
/**
|
|
@@ -271,7 +271,7 @@ export type LiteralUnion<T extends U, U extends Primitive> = T | (U & {
|
|
|
271
271
|
* @template T - The type to extract objects from
|
|
272
272
|
* @returns T if it's an object, otherwise never
|
|
273
273
|
*/
|
|
274
|
-
|
|
274
|
+
type ExtractObjects<T> = T extends infer U ? U extends object ? U : never : never;
|
|
275
275
|
/**
|
|
276
276
|
* Replace value in object by key
|
|
277
277
|
*
|
|
@@ -287,7 +287,7 @@ export type ExtractObjects<T> = T extends infer U ? U extends object ? U : never
|
|
|
287
287
|
* @template V - The new value type
|
|
288
288
|
* @returns A type with the specified key replaced with the new value type
|
|
289
289
|
*/
|
|
290
|
-
|
|
290
|
+
type OverrideKey<T, K extends keyof T, V> = {
|
|
291
291
|
[KK in keyof T]: KK extends K ? V : T[KK];
|
|
292
292
|
};
|
|
293
293
|
/**
|
|
@@ -297,14 +297,14 @@ export type OverrideKey<T, K extends keyof T, V> = {
|
|
|
297
297
|
* @template Y - Second type to compare
|
|
298
298
|
* @returns True if types are equal, false otherwise
|
|
299
299
|
*/
|
|
300
|
-
|
|
300
|
+
type IfEquals<X, Y> = (<T>() => T extends X ? 1 : 2) extends <T>() => T extends Y ? 1 : 2 ? true : false;
|
|
301
301
|
/**
|
|
302
302
|
* Gets the writable keys of a type (keys that are not readonly).
|
|
303
303
|
*
|
|
304
304
|
* @template T - The type to extract writable keys from
|
|
305
305
|
* @returns Union of keys that are not readonly
|
|
306
306
|
*/
|
|
307
|
-
|
|
307
|
+
type WritableKeys<T> = {
|
|
308
308
|
[K in keyof T]: IfEquals<{
|
|
309
309
|
[Q in K]: T[K];
|
|
310
310
|
}, {
|
|
@@ -317,7 +317,7 @@ export type WritableKeys<T> = {
|
|
|
317
317
|
* @template T - The type to extract readonly keys from
|
|
318
318
|
* @returns Union of keys that are readonly
|
|
319
319
|
*/
|
|
320
|
-
|
|
320
|
+
type ReadonlyKeys<T> = {
|
|
321
321
|
[P in keyof T]-?: IfEquals<{
|
|
322
322
|
[Q in P]: T[P];
|
|
323
323
|
}, {
|
|
@@ -330,35 +330,35 @@ export type ReadonlyKeys<T> = {
|
|
|
330
330
|
* @template T - The type to extract non-readonly properties from
|
|
331
331
|
* @returns A type with only the non-readonly properties
|
|
332
332
|
*/
|
|
333
|
-
|
|
333
|
+
type NonReadonly<T> = Pick<T, WritableKeys<T>>;
|
|
334
334
|
/**
|
|
335
335
|
* Determines if a type is an array.
|
|
336
336
|
*
|
|
337
337
|
* @template T - The type to check
|
|
338
338
|
* @returns True if the type is an array, false otherwise
|
|
339
339
|
*/
|
|
340
|
-
|
|
340
|
+
type IsArray<T> = T extends object ? T extends Function ? false : T extends any[] ? true : false : false;
|
|
341
341
|
/**
|
|
342
342
|
* Determines if a type is a function.
|
|
343
343
|
*
|
|
344
344
|
* @template T - The type to check
|
|
345
345
|
* @returns True if the type is a function, false otherwise
|
|
346
346
|
*/
|
|
347
|
-
|
|
347
|
+
type IsFunction<T> = T extends object ? T extends Function ? true : false : false;
|
|
348
348
|
/**
|
|
349
349
|
* Determines if a type is an object (but not an array or function).
|
|
350
350
|
*
|
|
351
351
|
* @template T - The type to check
|
|
352
352
|
* @returns True if the type is an object, false otherwise
|
|
353
353
|
*/
|
|
354
|
-
|
|
354
|
+
type IsObject<T> = T extends object ? T extends Function ? false : T extends any[] ? false : true : false;
|
|
355
355
|
/**
|
|
356
356
|
* Creates a deep copy of an object type, preserving the structure.
|
|
357
357
|
*
|
|
358
358
|
* @template T - The type to copy
|
|
359
359
|
* @returns A deep copy of the type
|
|
360
360
|
*/
|
|
361
|
-
|
|
361
|
+
type CopyObject<T> = IsObject<T> extends true ? {
|
|
362
362
|
[K in keyof T]: IsObject<T[K]> extends true ? CopyObject<T[K]> : T[K];
|
|
363
363
|
} : T;
|
|
364
364
|
/**
|
|
@@ -367,7 +367,7 @@ export type CopyObject<T> = IsObject<T> extends true ? {
|
|
|
367
367
|
* @template T - The type to make possibly a promise
|
|
368
368
|
* @returns T or Promise<T>
|
|
369
369
|
*/
|
|
370
|
-
|
|
370
|
+
type MaybePromise<T> = T | Promise<T>;
|
|
371
371
|
/**
|
|
372
372
|
* Makes specified keys of a type required while keeping the rest optional.
|
|
373
373
|
*
|
|
@@ -375,7 +375,7 @@ export type MaybePromise<T> = T | Promise<T>;
|
|
|
375
375
|
* @template TKey - The key(s) to make required
|
|
376
376
|
* @returns A type with specified keys required and others optional
|
|
377
377
|
*/
|
|
378
|
-
|
|
378
|
+
type WithRequired<TTarget, TKey extends keyof TTarget> = TTarget & {
|
|
379
379
|
[_ in TKey]: {};
|
|
380
380
|
};
|
|
381
381
|
/**
|
|
@@ -384,27 +384,28 @@ export type WithRequired<TTarget, TKey extends keyof TTarget> = TTarget & {
|
|
|
384
384
|
* @template T - The array type to extract index keys from
|
|
385
385
|
* @returns Union of index keys (string representations of numbers)
|
|
386
386
|
*/
|
|
387
|
-
|
|
387
|
+
type IndexKeys<T extends any[]> = Extract<keyof T, `${number}`>;
|
|
388
388
|
/**
|
|
389
389
|
* Removes undefined from a type.
|
|
390
390
|
*
|
|
391
391
|
* @template T - The type to remove undefined from
|
|
392
392
|
* @returns T with undefined removed
|
|
393
393
|
*/
|
|
394
|
-
|
|
394
|
+
type Defined<T> = Exclude<T, undefined>;
|
|
395
395
|
/**
|
|
396
396
|
* Check existing key in object (T)
|
|
397
397
|
*/
|
|
398
|
-
|
|
398
|
+
type HasKey<T, TKey extends string> = string extends keyof T ? false : TKey extends keyof T ? true : false;
|
|
399
399
|
/**
|
|
400
400
|
* @deprecated use `HasKey`
|
|
401
401
|
*/
|
|
402
|
-
|
|
402
|
+
type HasSpecificKey<T, TKey extends string> = HasKey<T, TKey>;
|
|
403
403
|
/**
|
|
404
404
|
* Checks type is any
|
|
405
405
|
*
|
|
406
406
|
* Returns true if T is any
|
|
407
407
|
*/
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
408
|
+
type IsAny<T> = 0 extends 1 & T ? true : false;
|
|
409
|
+
type IsUnknown<T> = [unknown] extends [T] ? true : false;
|
|
410
|
+
|
|
411
|
+
export type { AllPropertiesOptional, AnyFunction, AnyObject, AnyPrimitive, BrowserNativeObject, Class, CopyObject, DeepPartial, Defined, EmptyObject, ExtractEnumKeys, ExtractEnumValues, ExtractObjects, FalsyValues, HasKey, HasSpecificKey, IfEquals, IndexKeys, IsAny, IsArray, IsEmptyArray, IsFunction, IsObject, IsObjectEmpty, IsPartial, IsUnknown, KeyOfByValue, LiteralUnion, Maybe, MaybeFalsy, MaybeFn, MaybePromise, MaybeValues, NonReadonly, NonUndefined, Nullable, OmitByValue, OverrideKey, Params, PartialIf, PartialKeys, PickByValue, Primitive, ReadonlyKeys, RecordEntries, RenameKey, RequiredKeys, UnionToIntersection, Unpromise, ValueOf, WithRequired, WritableKeys };
|
package/types.global.cjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.global.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/types.global.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.global.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/vibrate.cjs
CHANGED
|
@@ -1,2 +1,9 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const vibrate = (pattern) => {
|
|
4
|
+
if ("vibrate" in navigator) {
|
|
5
|
+
navigator.vibrate(pattern);
|
|
6
|
+
}
|
|
7
|
+
};
|
|
8
|
+
exports.vibrate = vibrate;
|
|
2
9
|
//# sourceMappingURL=vibrate.cjs.map
|
package/vibrate.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vibrate.cjs","sources":["../src/vibrate.ts"],"sourcesContent":["/**\n * Вибрации по шаблону\n */\nexport const vibrate = (pattern: number | number[]) => {\n if ('vibrate' in navigator) {\n navigator.vibrate(pattern);\n }\n};\n"],"names":[
|
|
1
|
+
{"version":3,"file":"vibrate.cjs","sources":["../src/vibrate.ts"],"sourcesContent":["/**\n * Вибрации по шаблону\n */\nexport const vibrate = (pattern: number | number[]) => {\n if ('vibrate' in navigator) {\n navigator.vibrate(pattern);\n }\n};\n"],"names":[],"mappings":";;AAGO,MAAM,UAAU,CAAC,YAA+B;AACrD,MAAI,aAAa,WAAW;AAC1B,cAAU,QAAQ,OAAO;AAAA,EAC3B;AACF;;"}
|
package/vibrate.d.ts
CHANGED
package/async.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"async.d.ts","sourceRoot":"","sources":["../src/async.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,eAAO,MAAM,KAAK,GAAI,OAAM,MAAU,qBACe,CAAC;AAEtD;;;;;;GAMG;AACH,eAAO,MAAM,SAAS,GAAU,WAAS,qBACU,CAAC;AAEpD;;;;;;;;GAQG;AACH,eAAO,MAAM,UAAU,GACrB,cAAc,MAAM,OAAO,GAAG,IAAI,EAClC,cAAc,OAAO,SAYtB,CAAC;AAEF,wBAAgB,mBAAmB,CACjC,QAAQ,EAAE,YAAY,EACtB,SAAS,CAAC,EAAE,MAAM,EAClB,MAAM,CAAC,EAAE,WAAW,QAkBrB;AAED,wBAAgB,oBAAoB,CAClC,QAAQ,EAAE,YAAY,EACtB,SAAS,CAAC,EAAE,MAAM,EAClB,MAAM,CAAC,EAAE,WAAW,QAerB"}
|
package/common.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../src/common.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAEnD;;GAEG;AACH,MAAM,MAAM,OAAO,CAAC,MAAM,EAAE,KAAK,SAAS,GAAG,EAAE,GAAG,EAAE,IAAI,OAAO,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC;AAE/E;;;GAGG;AACH,eAAO,MAAM,YAAY,GAAI,MAAM,EAAE,KAAK,SAAS,GAAG,EAAE,GAAG,EAAE,EAC3D,IAAI,OAAO,CAAC,MAAM,EAAE,KAAK,CAAC,EAC1B,GAAG,MAAM,KAAK,WAOf,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,cAAc,GAdE,MAAM,EAAE,KAAK,SAAS,GAAG,EAAE,WAClD,OAAO,CAAC,MAAM,EAAE,KAAK,CAAC,WACjB,KAAK,WAY0B,CAAC"}
|
package/complex/counter.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
export interface Counter<TValue = number> {
|
|
2
|
-
(): TValue;
|
|
3
|
-
counter: number;
|
|
4
|
-
value: TValue;
|
|
5
|
-
increment(): TValue;
|
|
6
|
-
decrement(): TValue;
|
|
7
|
-
reset(): void;
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* @deprecated use {`Counter`}. Will be removed in next major release
|
|
11
|
-
*/
|
|
12
|
-
export interface CounterFn<TValue = number> extends Counter<TValue> {
|
|
13
|
-
}
|
|
14
|
-
export declare const createCounter: <TValue = number>(processValue?: (value: number) => TValue, initial?: number) => Counter<TValue>;
|
|
15
|
-
//# sourceMappingURL=counter.d.ts.map
|
package/complex/counter.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"counter.d.ts","sourceRoot":"","sources":["../../src/complex/counter.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,OAAO,CAAC,MAAM,GAAG,MAAM;IACtC,IAAI,MAAM,CAAC;IACX,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,IAAI,MAAM,CAAC;IACpB,SAAS,IAAI,MAAM,CAAC;IACpB,KAAK,IAAI,IAAI,CAAC;CACf;AAED;;GAEG;AACH,MAAM,WAAW,SAAS,CAAC,MAAM,GAAG,MAAM,CAAE,SAAQ,OAAO,CAAC,MAAM,CAAC;CAAG;AAEtE,eAAO,MAAM,aAAa,GAAI,MAAM,GAAG,MAAM,EAC3C,eAAe,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,EACxC,UAAS,MAAU,KAClB,OAAO,CAAC,MAAM,CAsBhB,CAAC"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { AnyObject, Maybe } from '../utils/types.ts';
|
|
2
|
-
/**
|
|
3
|
-
* Создает глобальный конфиг, который может быть доступен в любой точке в коде
|
|
4
|
-
*/
|
|
5
|
-
export declare const createGlobalConfig: <T extends AnyObject>(defaultValue: T, accessSymbol?: keyof any) => T;
|
|
6
|
-
export declare const createGlobalDynamicConfig: <T extends AnyObject>(processFn: (change: Maybe<Partial<T>>, current: Maybe<T>) => T, accessSymbol?: keyof any) => {
|
|
7
|
-
get: () => T;
|
|
8
|
-
set: (value: T | null | undefined) => T | null | undefined;
|
|
9
|
-
update: (value: Partial<T>) => void;
|
|
10
|
-
};
|
|
11
|
-
//# sourceMappingURL=global-config.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"global-config.d.ts","sourceRoot":"","sources":["../../src/complex/global-config.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAC;AAyB5D;;GAEG;AACH,eAAO,MAAM,kBAAkB,GAAI,CAAC,SAAS,SAAS,EACpD,cAAc,CAAC,EACf,eAAe,MAAM,GAAG,MAIzB,CAAC;AAEF,eAAO,MAAM,yBAAyB,GAAI,CAAC,SAAS,SAAS,EAC3D,WAAW,CAAC,MAAM,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,EAAE,OAAO,EAAE,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,EAC9D,eAAe,MAAM,GAAG;;;oBAWN,OAAO,CAAC,CAAC,CAAC;CAK7B,CAAC"}
|
package/complex/index.d.ts
DELETED
package/complex/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/complex/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC"}
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import { AnyObject, Class, EmptyObject, IsPartial } from '../utils/types.ts';
|
|
2
|
-
type ModuleLoaderConfig<TPredefinedDeps extends AnyObject = EmptyObject> = {
|
|
3
|
-
factory<TInstance, TDeps extends TPredefinedDeps>(moduleClass: Class<TInstance, [TDeps]>, deps: TDeps): TInstance;
|
|
4
|
-
} & (TPredefinedDeps extends EmptyObject ? {
|
|
5
|
-
deps?: TPredefinedDeps;
|
|
6
|
-
} : {
|
|
7
|
-
deps: TPredefinedDeps;
|
|
8
|
-
});
|
|
9
|
-
/**
|
|
10
|
-
* Класс `ModulesFactory` является универсальной фабрикой для создания экземпляров указанного класса с зависимостями.
|
|
11
|
-
* Он использует объект конфигурации для определения того, как эти экземпляры создаются.
|
|
12
|
-
*
|
|
13
|
-
* Важное примечание - эта сущность работает только с классами конструктор которых имеет один параметр
|
|
14
|
-
*
|
|
15
|
-
* @template TPredefinedDeps - Тип, расширяющий `AnyObject`, представляющий предопределенные зависимости, которые использует фабрика.
|
|
16
|
-
*
|
|
17
|
-
* @example
|
|
18
|
-
* ```
|
|
19
|
-
* const factory = new ModulesFactory({
|
|
20
|
-
* factory: (MyClass, deps) => new MyClass(deps),
|
|
21
|
-
* deps: { someDependency: new Dependency() }
|
|
22
|
-
* });
|
|
23
|
-
*
|
|
24
|
-
* const instance = factory.create(MyClass, { extraDependency: new ExtraDependency() });
|
|
25
|
-
* ```
|
|
26
|
-
*/
|
|
27
|
-
export declare class ModulesFactory<TPredefinedDeps extends AnyObject = EmptyObject> {
|
|
28
|
-
private config;
|
|
29
|
-
/**
|
|
30
|
-
* Создает новый экземпляр `ModulesFactory`.
|
|
31
|
-
*
|
|
32
|
-
* @param config - Объект конфигурации для фабрики, включающий функцию фабрики и необязательные зависимости.
|
|
33
|
-
*/
|
|
34
|
-
constructor(config: ModuleLoaderConfig<TPredefinedDeps>);
|
|
35
|
-
/**
|
|
36
|
-
* Создает экземпляр указанного класса, внедряя необходимые зависимости.
|
|
37
|
-
*
|
|
38
|
-
* @template TInstance - Тип создаваемого экземпляра.
|
|
39
|
-
* @template TDeps - Тип зависимостей, необходимых для экземпляра.
|
|
40
|
-
*
|
|
41
|
-
* @param Constructor - Конструктор класса для создаваемого экземпляра.
|
|
42
|
-
* @param args - Необязательные дополнительные зависимости для объединения с предопределенными зависимостями.
|
|
43
|
-
*
|
|
44
|
-
* @returns Экземпляр указанного класса с внедренными зависимостями.
|
|
45
|
-
*/
|
|
46
|
-
create<TInstance, TDeps extends TPredefinedDeps = TPredefinedDeps>(Constructor: Class<TInstance, [TDeps]>, ...args: IsPartial<Omit<TDeps, keyof TPredefinedDeps>> extends true ? [extraDeps?: Omit<TDeps, keyof TPredefinedDeps>] : [extraDeps: Omit<TDeps, keyof TPredefinedDeps>]): TInstance;
|
|
47
|
-
}
|
|
48
|
-
export {};
|
|
49
|
-
//# sourceMappingURL=modules-factory.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"modules-factory.d.ts","sourceRoot":"","sources":["../../src/complex/modules-factory.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,SAAS,EACT,KAAK,EACL,WAAW,EACX,SAAS,EACV,MAAM,qBAAqB,CAAC;AAE7B,KAAK,kBAAkB,CAAC,eAAe,SAAS,SAAS,GAAG,WAAW,IAAI;IACzE,OAAO,CAAC,SAAS,EAAE,KAAK,SAAS,eAAe,EAC9C,WAAW,EAAE,KAAK,CAAC,SAAS,EAAE,CAAC,KAAK,CAAC,CAAC,EACtC,IAAI,EAAE,KAAK,GACV,SAAS,CAAC;CACd,GAAG,CAAC,eAAe,SAAS,WAAW,GACpC;IAAE,IAAI,CAAC,EAAE,eAAe,CAAA;CAAE,GAC1B;IAAE,IAAI,EAAE,eAAe,CAAA;CAAE,CAAC,CAAC;AAE/B;;;;;;;;;;;;;;;;;GAiBG;AACH,qBAAa,cAAc,CAAC,eAAe,SAAS,SAAS,GAAG,WAAW;IAM7D,OAAO,CAAC,MAAM;IAL1B;;;;OAIG;gBACiB,MAAM,EAAE,kBAAkB,CAAC,eAAe,CAAC;IAE/D;;;;;;;;;;OAUG;IACH,MAAM,CAAC,SAAS,EAAE,KAAK,SAAS,eAAe,GAAG,eAAe,EAC/D,WAAW,EAAE,KAAK,CAAC,SAAS,EAAE,CAAC,KAAK,CAAC,CAAC,EACtC,GAAG,IAAI,EAAE,SAAS,CAAC,IAAI,CAAC,KAAK,EAAE,MAAM,eAAe,CAAC,CAAC,SAAS,IAAI,GAC/D,CAAC,SAAS,CAAC,EAAE,IAAI,CAAC,KAAK,EAAE,MAAM,eAAe,CAAC,CAAC,GAChD,CAAC,SAAS,EAAE,IAAI,CAAC,KAAK,EAAE,MAAM,eAAe,CAAC,CAAC;CAOtD"}
|
package/cookie.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"cookie.d.ts","sourceRoot":"","sources":["../src/cookie.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAErD,eAAO,MAAM,WAAW,GAAI,sBAA+B,cAQ1D,CAAC"}
|
package/css.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"css.d.ts","sourceRoot":"","sources":["../src/css.ts"],"names":[],"mappings":"AACA,OAAO,IAAI,EAAE,EAAE,KAAK,UAAU,EAAE,MAAM,MAAM,CAAC;AAI7C,KAAK,SAAS,GAAG;IACf,KAAK,CAAC,EAAE,UAAU,CAAC;IACnB,SAAS,CAAC,EAAE,UAAU,CAAC;CACxB,CAAC;AAEF,KAAK,eAAe,CAAC,CAAC,IAAI,CAAC,SAAS,MAAM,GAAG,OAAO,GAAG,OAAO,GAAG,CAAC,CAAC;AAEnE;;GAEG;AACH,eAAO,MAAM,KAAK,GAAI,IAAI,MAAM,EAAE,iBAAa,WAA0B,CAAC;AAE1E;;GAEG;AACH,eAAO,MAAM,EAAE,GAAI,GAAG,MAAM,UAAU,CAAC,OAAO,IAAI,CAAC,WAA2B,CAAC;AAE/E,KAAK,YAAY,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC,CAAC;AAC/D,KAAK,cAAc,CAAC,CAAC,SAAS,YAAY,IAAI;KAC3C,OAAO,IAAI,MAAM,CAAC,CAAC,CAAC,EAAE,eAAe,CAAC,MAAM,CAAC,CAAC,OAAO,CAAC,CAAC,GAAG,IAAI,GAAG,SAAS;CAC5E,CAAC;AACF,KAAK,mBAAmB,CAAC,CAAC,SAAS,YAAY,IAAI;KAChD,OAAO,IAAI,MAAM,CAAC,CAAC,CAAC,EACjB,eAAe,CAAC,MAAM,CAAC,CAAC,OAAO,CAAC,CAAC,GACjC,eAAe,CAAC,MAAM,CAAC,CAAC,OAAO,CAAC,CAAC,EAAE,GACnC,SAAS;CACd,CAAC;AACF,KAAK,MAAM,CAAC,CAAC,IAAI,CAAC,SAAS,YAAY,GACnC;IACE,QAAQ,CAAC,EAAE,CAAC,CAAC;IACb,eAAe,CAAC,EAAE,cAAc,CAAC,CAAC,CAAC,CAAC;IACpC,gBAAgB,CAAC,EAAE,CAAC,CAAC,SAAS,YAAY,GACtC,CAAC,cAAc,CAAC,CAAC,CAAC,GAAG,mBAAmB,CAAC,CAAC,CAAC,CAAC,GAAG,SAAS,GACxD,SAAS,CAAC,EAAE,CAAC;CAClB,GACD,KAAK,CAAC;AAEV,KAAK,KAAK,CAAC,CAAC,IAAI,CAAC,SAAS,YAAY,GAClC,cAAc,CAAC,CAAC,CAAC,GAAG,SAAS,GAC7B,SAAS,CAAC;AAEd;;;;GAIG;AACH,eAAO,MAAM,GAAG,EAGH,CAAC,CAAC,EACb,IAAI,CAAC,EAAE,UAAU,EACjB,MAAM,CAAC,EAAE,MAAM,CAAC,CAAC,CAAC,KACf,CAAC,KAAK,CAAC,EAAE,KAAK,CAAC,CAAC,CAAC,KAAK,MAAM,CAAC;AAElC,YAAY,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAC7D,YAAY,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAEvC;;;;GAIG;AACH,eAAO,MAAM,WAAW,GAAI,KAAK,MAAM,EAAE,aAAa,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,qBAwCrE,CAAC"}
|
package/data.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"data.d.ts","sourceRoot":"","sources":["../src/data.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,cAAc,GAAI,GAAG,OAAO,EAAE,GAAG,OAAO,KAAG,OA8CvD,CAAC;AAEF,eAAO,MAAM,WAAW,GAAI,OAAO,EAAE,SAAS,EAC5C,KAAK,OAAO,GAAG,OAAO,EAAE,EACxB,IAAI,CAAC,KAAK,EAAE,OAAO,EAAE,CAAC,EAAE,MAAM,EAAE,GAAG,EAAE,OAAO,EAAE,KAAK,SAAS,KAC3D,SAAS,EAGa,CAAC;AAE1B,eAAO,MAAM,aAAa,GAAI,MAAM,MAAM,QAMzC,CAAC"}
|
package/date-time.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"date-time.d.ts","sourceRoot":"","sources":["../src/date-time.ts"],"names":[],"mappings":"AAAA,OAAc,EAAE,KAAK,KAAK,EAAE,KAAK,cAAc,EAAE,MAAM,OAAO,CAAC;AAO/D,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAC;AAEjD,OAAO,oBAAoB,CAAC;AAsB5B,MAAM,MAAM,eAAe,GAAG,IAAI,GAAG,MAAM,GAAG,MAAM,GAAG,KAAK,CAAC;AAE7D,eAAO,MAAM,UAAU,GACrB,OAAO,KAAK,CAAC,eAAe,CAAC,EAC7B,WAAW,KAAK,CAAC;IACf,MAAM,CAAC,EACH,OAAO,GACP,MAAM,GACN,OAAO,GACP,KAAK,GACL,UAAU,GACV,MAAM,GACN,OAAO,GACP,YAAY,GACZ,MAAM,GACN,YAAY,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB,CAAC,WA6CH,CAAC;AAEF,eAAO,MAAM,eAAe,GAAI,UAAU,MAAM;;;;;;CAwB/C,CAAC;AAEF,KAAK,eAAe,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,CAAC,CAAC;AAEtE,eAAO,MAAM,UAAU,GACrB,MAAM,KAAK,CAAC,eAAe,CAAC,EAC5B,GAAG,MAAM,CACP,GAAG,eAAe,EAClB,GAAG,OAAO,CAAC,eAAe,CAAC,EAC3B,GAAG,OAAO,CAAC,eAAe,CAAC,EAC3B,GAAG,OAAO,CAAC,eAAe,CAAC,EAC3B,GAAG,OAAO,CAAC,eAAe,CAAC,EAC3B,GAAG,OAAO,CAAC,eAAe,CAAC,CAC5B,SAaF,CAAC;AAEF,eAAO,MAAM,YAAY,GAAI,UAAU,MAAM;;;;;CAU5C,CAAC;AASF,wBAAgB,iBAAiB,CAC/B,KAAK,EAAE,IAAI,EACX,KAAK,EAAE,IAAI,EACX,OAAO,CAAC,EAAE,OAAO,GAChB,MAAM,CAAC;AACV,wBAAgB,iBAAiB,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC"}
|
package/device.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"device.d.ts","sourceRoot":"","sources":["../src/device.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY,WAOR,CAAC;AAElB,eAAO,MAAM,mBAAmB,eAe/B,CAAC;AAEF,eAAO,MAAM,mBAAmB,eAM/B,CAAC;AAEF,eAAO,MAAM,kBAAkB,eACiB,CAAC;AAEjD,eAAO,MAAM,cAAc,SAAwB,CAAC;AAEpD,eAAO,MAAM,cAAc,SAAwB,CAAC;AAEpD,eAAO,MAAM,aAAa,SAAmC,CAAC"}
|
package/encodings.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"encodings.d.ts","sourceRoot":"","sources":["../src/encodings.ts"],"names":[],"mappings":"AAoQA,wBAAgB,gBAAgB,CAAC,CAAC,EAAE,MAAM,UASzC"}
|
package/errors.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../src/errors.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAC;AAEjD,KAAK,oBAAoB,GAAG,CAAC,KAAK,EAAE,GAAG,KAAK,MAAM,CAAC;AACnD,KAAK,yBAAyB,GAAG,CAAC,KAAK,EAAE,KAAK,KAAK,MAAM,CAAC;AAE1D;;;;;;;GAOG;AACH,eAAO,MAAM,YAAY;YAAW,OAAO;;;;CAqB1C,CAAC"}
|
package/file.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"file.d.ts","sourceRoot":"","sources":["../src/file.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,iBAAiB,GAAI,MAAM,IAAI,oBAW3C,CAAC;AAEF,eAAO,MAAM,eAAe,GAAI,MAAM,IAAI,EAAE,WAAW,MAAM,oBAW5D,CAAC"}
|
package/format/_exports.d.ts
DELETED
package/format/_exports.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"_exports.d.ts","sourceRoot":"","sources":["../../src/format/_exports.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,kBAAkB,CAAC"}
|
package/format/constants.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/format/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,QAAQ,WAAM,CAAC;AAE5B,eAAO,MAAM,MAAM,MAAM,CAAC;AAE1B,eAAO,MAAM,QAAQ,WAAM,CAAC"}
|
package/format/index.d.ts
DELETED
package/format/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/format/index.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAE,MAAM,EAAE,CAAC"}
|