katanakit-js 2.2.1 → 2.12.9

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.
Files changed (148) hide show
  1. package/README.md +72 -437
  2. package/dist/adapters/astro/astro.service.d.ts +103 -15
  3. package/dist/adapters/astro/astro.service.d.ts.map +1 -1
  4. package/dist/adapters/astro/astro.service.js +145 -75
  5. package/dist/adapters/astro/astro.service.js.map +1 -1
  6. package/dist/adapters/astro/index.d.ts +1 -1
  7. package/dist/adapters/astro/index.d.ts.map +1 -1
  8. package/dist/adapters/astro/index.js +1 -1
  9. package/dist/adapters/astro/index.js.map +1 -1
  10. package/dist/adapters/astro/rss.service.d.ts +85 -105
  11. package/dist/adapters/astro/rss.service.d.ts.map +1 -1
  12. package/dist/adapters/astro/rss.service.js +172 -168
  13. package/dist/adapters/astro/rss.service.js.map +1 -1
  14. package/dist/adapters/astro/seo.service.d.ts +10 -0
  15. package/dist/adapters/astro/seo.service.d.ts.map +1 -0
  16. package/dist/adapters/astro/seo.service.js +3 -0
  17. package/dist/adapters/astro/seo.service.js.map +1 -0
  18. package/dist/adapters/express/app.d.ts +30 -1
  19. package/dist/adapters/express/app.d.ts.map +1 -1
  20. package/dist/adapters/express/app.js +31 -3
  21. package/dist/adapters/express/app.js.map +1 -1
  22. package/dist/adapters/express/index.d.ts +2 -2
  23. package/dist/adapters/express/index.d.ts.map +1 -1
  24. package/dist/adapters/express/index.js +2 -2
  25. package/dist/adapters/express/index.js.map +1 -1
  26. package/dist/adapters/express/main.js +2 -2
  27. package/dist/adapters/express/main.js.map +1 -1
  28. package/dist/adapters/express/products.controller.d.ts +67 -8
  29. package/dist/adapters/express/products.controller.d.ts.map +1 -1
  30. package/dist/adapters/express/products.controller.js +105 -49
  31. package/dist/adapters/express/products.controller.js.map +1 -1
  32. package/dist/adapters/express/server.d.ts +37 -13
  33. package/dist/adapters/express/server.d.ts.map +1 -1
  34. package/dist/adapters/express/server.js +118 -53
  35. package/dist/adapters/express/server.js.map +1 -1
  36. package/dist/adapters/nuxt/nuxt.service.d.ts +8 -6
  37. package/dist/adapters/nuxt/nuxt.service.d.ts.map +1 -1
  38. package/dist/adapters/nuxt/nuxt.service.js +34 -10
  39. package/dist/adapters/nuxt/nuxt.service.js.map +1 -1
  40. package/dist/adapters/vue/vue.service.d.ts +5 -2
  41. package/dist/adapters/vue/vue.service.d.ts.map +1 -1
  42. package/dist/adapters/vue/vue.service.js +41 -7
  43. package/dist/adapters/vue/vue.service.js.map +1 -1
  44. package/dist/config/index.d.ts +2 -1
  45. package/dist/config/index.d.ts.map +1 -1
  46. package/dist/config/index.js +1 -1
  47. package/dist/config/index.js.map +1 -1
  48. package/dist/config/seo-meta.types.d.ts +177 -0
  49. package/dist/config/seo-meta.types.d.ts.map +1 -0
  50. package/dist/config/seo-meta.types.js +11 -0
  51. package/dist/config/seo-meta.types.js.map +1 -0
  52. package/dist/config/seo.service.d.ts +41 -58
  53. package/dist/config/seo.service.d.ts.map +1 -1
  54. package/dist/config/seo.service.js +468 -136
  55. package/dist/config/seo.service.js.map +1 -1
  56. package/dist/config/site.config.d.ts +10 -50
  57. package/dist/config/site.config.d.ts.map +1 -1
  58. package/dist/config/site.config.js +8 -36
  59. package/dist/config/site.config.js.map +1 -1
  60. package/dist/core/index.d.ts +1 -3
  61. package/dist/core/index.d.ts.map +1 -1
  62. package/dist/core/index.js +1 -3
  63. package/dist/core/index.js.map +1 -1
  64. package/dist/core/services/dates.service.d.ts +149 -22
  65. package/dist/core/services/dates.service.d.ts.map +1 -1
  66. package/dist/core/services/dates.service.js +201 -54
  67. package/dist/core/services/dates.service.js.map +1 -1
  68. package/dist/core/services/error.service.d.ts +32 -20
  69. package/dist/core/services/error.service.d.ts.map +1 -1
  70. package/dist/core/services/error.service.js +44 -32
  71. package/dist/core/services/error.service.js.map +1 -1
  72. package/dist/core/services/formatter.service.d.ts +245 -35
  73. package/dist/core/services/formatter.service.d.ts.map +1 -1
  74. package/dist/core/services/formatter.service.js +281 -57
  75. package/dist/core/services/formatter.service.js.map +1 -1
  76. package/dist/core/services/generator.service.d.ts +115 -26
  77. package/dist/core/services/generator.service.d.ts.map +1 -1
  78. package/dist/core/services/generator.service.js +191 -56
  79. package/dist/core/services/generator.service.js.map +1 -1
  80. package/dist/core/services/geometry.service.d.ts +369 -39
  81. package/dist/core/services/geometry.service.d.ts.map +1 -1
  82. package/dist/core/services/geometry.service.js +424 -66
  83. package/dist/core/services/geometry.service.js.map +1 -1
  84. package/dist/core/services/http.service.d.ts +244 -21
  85. package/dist/core/services/http.service.d.ts.map +1 -1
  86. package/dist/core/services/http.service.js +419 -98
  87. package/dist/core/services/http.service.js.map +1 -1
  88. package/dist/core/services/logger.service.d.ts +95 -29
  89. package/dist/core/services/logger.service.d.ts.map +1 -1
  90. package/dist/core/services/logger.service.js +167 -41
  91. package/dist/core/services/logger.service.js.map +1 -1
  92. package/dist/core/services/reactive.service.d.ts +146 -19
  93. package/dist/core/services/reactive.service.d.ts.map +1 -1
  94. package/dist/core/services/reactive.service.js +278 -137
  95. package/dist/core/services/reactive.service.js.map +1 -1
  96. package/dist/core/services/timing.service.d.ts +142 -20
  97. package/dist/core/services/timing.service.d.ts.map +1 -1
  98. package/dist/core/services/timing.service.js +324 -185
  99. package/dist/core/services/timing.service.js.map +1 -1
  100. package/dist/core/services/utils.service.d.ts +228 -43
  101. package/dist/core/services/utils.service.d.ts.map +1 -1
  102. package/dist/core/services/utils.service.js +305 -125
  103. package/dist/core/services/utils.service.js.map +1 -1
  104. package/dist/infrastructure/dom/dom.service.d.ts +307 -44
  105. package/dist/infrastructure/dom/dom.service.d.ts.map +1 -1
  106. package/dist/infrastructure/dom/dom.service.js +408 -129
  107. package/dist/infrastructure/dom/dom.service.js.map +1 -1
  108. package/dist/infrastructure/index.d.ts +0 -3
  109. package/dist/infrastructure/index.d.ts.map +1 -1
  110. package/dist/infrastructure/index.js +0 -3
  111. package/dist/infrastructure/index.js.map +1 -1
  112. package/dist/infrastructure/observer/observer.service.d.ts +124 -31
  113. package/dist/infrastructure/observer/observer.service.d.ts.map +1 -1
  114. package/dist/infrastructure/observer/observer.service.js +227 -131
  115. package/dist/infrastructure/observer/observer.service.js.map +1 -1
  116. package/dist/infrastructure/sensors/sensors.service.d.ts +154 -22
  117. package/dist/infrastructure/sensors/sensors.service.d.ts.map +1 -1
  118. package/dist/infrastructure/sensors/sensors.service.js +264 -112
  119. package/dist/infrastructure/sensors/sensors.service.js.map +1 -1
  120. package/dist/infrastructure/storage/storage.service.d.ts +123 -45
  121. package/dist/infrastructure/storage/storage.service.d.ts.map +1 -1
  122. package/dist/infrastructure/storage/storage.service.js +236 -66
  123. package/dist/infrastructure/storage/storage.service.js.map +1 -1
  124. package/dist/infrastructure/theme/theme.service.d.ts +93 -29
  125. package/dist/infrastructure/theme/theme.service.d.ts.map +1 -1
  126. package/dist/infrastructure/theme/theme.service.js +198 -96
  127. package/dist/infrastructure/theme/theme.service.js.map +1 -1
  128. package/dist/infrastructure/viewport/viewport.service.d.ts +233 -35
  129. package/dist/infrastructure/viewport/viewport.service.d.ts.map +1 -1
  130. package/dist/infrastructure/viewport/viewport.service.js +358 -139
  131. package/dist/infrastructure/viewport/viewport.service.js.map +1 -1
  132. package/dist/infrastructure/worker/worker.service.d.ts +84 -38
  133. package/dist/infrastructure/worker/worker.service.d.ts.map +1 -1
  134. package/dist/infrastructure/worker/worker.service.js +234 -133
  135. package/dist/infrastructure/worker/worker.service.js.map +1 -1
  136. package/dist/prisma/index.d.ts +2 -0
  137. package/dist/prisma/index.d.ts.map +1 -0
  138. package/dist/prisma/index.js +2 -0
  139. package/dist/prisma/index.js.map +1 -0
  140. package/dist/prisma/schema.json +11 -33
  141. package/dist/prisma/use-prisma.d.ts +68 -0
  142. package/dist/prisma/use-prisma.d.ts.map +1 -0
  143. package/dist/prisma/use-prisma.js +82 -0
  144. package/dist/prisma/use-prisma.js.map +1 -0
  145. package/dist/types/index.d.ts +20 -12
  146. package/dist/types/index.d.ts.map +1 -1
  147. package/package.json +124 -125
  148. package/CHANGELOG.md +0 -101
@@ -1,44 +1,229 @@
1
- import type { IAppUtils, IDataUtils, ISystemUtils } from "../../types/index.js";
2
- /**
3
- * Data utilities implemented as a Singleton.
4
- */
5
- export declare class DataUtils implements IDataUtils {
6
- private static instance;
7
- private constructor();
8
- static getInstance(): DataUtils;
9
- useUnique: <T>(array: T[]) => T[];
10
- useChunk: <T>(array: T[], size: number) => T[][];
11
- useGroupBy: <T>(array: T[], key: keyof T | ((item: T) => string)) => Record<string, T[]>;
12
- useIsObject: (item: unknown) => item is Record<string, unknown>;
13
- useDeepClone: <T>(value: T) => T;
14
- useDeepMerge: <T extends Record<string, unknown>>(target: T, source: Record<string, unknown>) => T;
15
- usePick: <T extends object, K extends keyof T>(obj: T, keys: K[]) => Pick<T, K>;
16
- useOmit: <T extends object, K extends keyof T>(obj: T, keys: K[]) => Omit<T, K>;
17
- }
18
- /**
19
- * System utilities implemented as a Singleton.
20
- */
21
- export declare class SystemUtils implements ISystemUtils {
22
- private static instance;
23
- private constructor();
24
- static getInstance(): SystemUtils;
25
- useSleep: (ms: number) => Promise<void>;
26
- useRetry: <T>(fn: () => Promise<T>, retries?: number, delayMs?: number) => Promise<T>;
27
- useCopyToClipboard: (text: string) => Promise<boolean>;
28
- useGetUrlParams: (urlString: string) => Record<string, string>;
29
- useRound: (value: string | number, decimals?: number) => number;
30
- useAverage: (numbers: number[]) => number;
31
- }
32
- /**
33
- * Main facade composing data and system utilities.
34
- */
35
- export declare class AppUtils implements IAppUtils {
36
- private static instance;
37
- readonly data: IDataUtils;
38
- readonly system: ISystemUtils;
39
- private constructor();
40
- static getInstance(): AppUtils;
41
- }
42
- export declare const useUnique: <T>(array: T[]) => T[], useChunk: <T>(array: T[], size: number) => T[][], useGroupBy: <T>(array: T[], key: ((item: T) => string) | keyof T) => Record<string, T[]>, useIsObject: (item: unknown) => item is Record<string, unknown>, useDeepClone: <T>(value: T) => T, useDeepMerge: <T extends Record<string, unknown>>(target: T, source: Record<string, unknown>) => T, usePick: <T extends object, K extends keyof T>(obj: T, keys: K[]) => Pick<T, K>, useOmit: <T extends object, K extends keyof T>(obj: T, keys: K[]) => Omit<T, K>;
43
- export declare const useSleep: (ms: number) => Promise<void>, useRetry: <T>(fn: () => Promise<T>, retries?: number, delayMs?: number) => Promise<T>, useCopyToClipboard: (text: string) => Promise<boolean>, useGetUrlParams: (urlString: string) => Record<string, string>, useRound: (value: string | number, decimals?: number) => number, useAverage: (numbers: number[]) => number;
1
+ /**
2
+ * Returns a new array with duplicate values removed, preserving first-seen order.
3
+ *
4
+ * @typeParam T - Element type.
5
+ * @param array - The input array.
6
+ * @returns A new array with unique values.
7
+ *
8
+ * @example
9
+ * ```ts
10
+ * useUnique([1, 2, 2, 3, 1]); // [1, 2, 3]
11
+ * useUnique(["a", "b", "a"]); // ["a", "b"]
12
+ * ```
13
+ */
14
+ export declare function useUnique<T>(array: T[]): T[];
15
+ /**
16
+ * Splits an array into chunks of the given size.
17
+ *
18
+ * @typeParam T - Element type.
19
+ * @param array - The input array.
20
+ * @param size - Number of elements per chunk (must be > 0).
21
+ * @returns An array of chunks.
22
+ * @throws {Error} If `size` is less than or equal to 0.
23
+ *
24
+ * @example
25
+ * ```ts
26
+ * useChunk([1, 2, 3, 4, 5], 2); // [[1, 2], [3, 4], [5]]
27
+ * useChunk(["a", "b", "c"], 1); // [["a"], ["b"], ["c"]]
28
+ * ```
29
+ */
30
+ export declare function useChunk<T>(array: T[], size: number): T[][];
31
+ /**
32
+ * Groups array items by a key property or key selector function.
33
+ *
34
+ * @typeParam T - Element type.
35
+ * @param array - The input array.
36
+ * @param key - A property name or a function that returns the group key.
37
+ * @returns An object mapping group keys to arrays of items.
38
+ *
39
+ * @example
40
+ * ```ts
41
+ * const items = [
42
+ * { type: "fruit", name: "apple" },
43
+ * { type: "veggie", name: "carrot" },
44
+ * { type: "fruit", name: "banana" },
45
+ * ];
46
+ * useGroupBy(items, "type");
47
+ * // { fruit: [{ type: "fruit", name: "apple" }, { type: "fruit", name: "banana" }], veggie: [...] }
48
+ *
49
+ * useGroupBy(items, (item) => item.type.toUpperCase());
50
+ * // { FRUIT: [...], VEGGIE: [...] }
51
+ * ```
52
+ */
53
+ export declare function useGroupBy<T>(array: T[], key: keyof T | ((item: T) => string)): Record<string, T[]>;
54
+ /**
55
+ * Type guard that checks whether a value is a plain object (not null, not
56
+ * an array).
57
+ *
58
+ * @param item - The value to test.
59
+ * @returns `true` if the value is a plain `Record<string, unknown>`.
60
+ *
61
+ * @example
62
+ * ```ts
63
+ * useIsObject({ a: 1 }); // true
64
+ * useIsObject([1, 2]); // false
65
+ * useIsObject(null); // false
66
+ * useIsObject("hello"); // false
67
+ * ```
68
+ */
69
+ export declare function useIsObject(item: unknown): item is Record<string, unknown>;
70
+ /**
71
+ * Deep clones a value using `structuredClone` with a JSON fallback for
72
+ * environments that do not support it.
73
+ *
74
+ * @typeParam T - Value type.
75
+ * @param value - The value to clone.
76
+ * @returns A deep copy of the value.
77
+ *
78
+ * @example
79
+ * ```ts
80
+ * const original = { a: { b: 1 } };
81
+ * const copy = useDeepClone(original);
82
+ * copy.a.b = 2;
83
+ * original.a.b; // 1 (unchanged)
84
+ * ```
85
+ */
86
+ export declare function useDeepClone<T>(value: T): T;
87
+ /**
88
+ * Deep merges `source` into a shallow copy of `target`. Nested plain
89
+ * objects are merged recursively. Skips prototype-pollution keys
90
+ * (`__proto__`, `constructor`, `prototype`).
91
+ *
92
+ * @typeParam T - Target object type.
93
+ * @param target - The base object (not mutated).
94
+ * @param source - The object to merge in.
95
+ * @returns A new merged object.
96
+ *
97
+ * @example
98
+ * ```ts
99
+ * const base = { a: 1, b: { c: 2, d: 3 } };
100
+ * const override = { b: { c: 99, e: 4 }, f: 5 };
101
+ * useDeepMerge(base, override);
102
+ * // { a: 1, b: { c: 99, d: 3, e: 4 }, f: 5 }
103
+ * ```
104
+ */
105
+ export declare function useDeepMerge<T extends Record<string, unknown>>(target: T, source: Record<string, unknown>): T;
106
+ /**
107
+ * Picks the listed keys from an object into a new object.
108
+ *
109
+ * @typeParam T - Source object type.
110
+ * @typeParam K - Keys to pick.
111
+ * @param obj - The source object.
112
+ * @param keys - Array of keys to include.
113
+ * @returns A new object with only the picked keys.
114
+ *
115
+ * @example
116
+ * ```ts
117
+ * const user = { id: 1, name: "Alice", email: "a@b.com" };
118
+ * usePick(user, ["id", "name"]); // { id: 1, name: "Alice" }
119
+ * ```
120
+ */
121
+ export declare function usePick<T extends object, K extends keyof T>(obj: T, keys: K[]): Pick<T, K>;
122
+ /**
123
+ * Omits the listed keys from an object, returning a shallow copy without
124
+ * them. Shallow on purpose to avoid `structuredClone` failures on
125
+ * non-cloneable values.
126
+ *
127
+ * @typeParam T - Source object type.
128
+ * @typeParam K - Keys to omit.
129
+ * @param obj - The source object.
130
+ * @param keys - Array of keys to exclude.
131
+ * @returns A new object without the omitted keys.
132
+ *
133
+ * @example
134
+ * ```ts
135
+ * const user = { id: 1, name: "Alice", password: "secret" };
136
+ * useOmit(user, ["password"]); // { id: 1, name: "Alice" }
137
+ * ```
138
+ */
139
+ export declare function useOmit<T extends object, K extends keyof T>(obj: T, keys: K[]): Omit<T, K>;
140
+ /**
141
+ * Returns a promise that resolves after `ms` milliseconds.
142
+ *
143
+ * @param ms - Delay in milliseconds.
144
+ * @returns A promise that resolves after the delay.
145
+ *
146
+ * @example
147
+ * ```ts
148
+ * await useSleep(1000); // waits 1 second
149
+ * console.log("done");
150
+ * ```
151
+ */
152
+ export declare function useSleep(ms: number): Promise<void>;
153
+ /**
154
+ * Retries an async function with a fixed delay between attempts.
155
+ *
156
+ * @typeParam T - The resolved value type.
157
+ * @param fn - The async function to retry.
158
+ * @param retries - Maximum number of retries (defaults to `3`).
159
+ * @param delayMs - Delay between retries in milliseconds (defaults to `1000`).
160
+ * @returns The resolved value of `fn`.
161
+ * @throws The last error if all retries are exhausted.
162
+ *
163
+ * @example
164
+ * ```ts
165
+ * const data = await useRetry(() => fetch("/api").then(r => r.json()), 3, 500);
166
+ * ```
167
+ */
168
+ export declare function useRetry<T>(fn: () => Promise<T>, retries?: number, delayMs?: number): Promise<T>;
169
+ /**
170
+ * Copies text to the clipboard (browser only). Returns `false` on failure
171
+ * or in non-browser environments (SSR).
172
+ *
173
+ * @param text - The text to copy.
174
+ * @returns `true` if the text was copied, `false` otherwise.
175
+ *
176
+ * @example
177
+ * ```ts
178
+ * const ok = await useCopyToClipboard("Hello, world!");
179
+ * console.log(ok); // true (in a browser with clipboard API)
180
+ * ```
181
+ */
182
+ export declare function useCopyToClipboard(text: string): Promise<boolean>;
183
+ /**
184
+ * Parses query parameters from a URL string into a plain object.
185
+ * Returns an empty object for invalid URLs.
186
+ *
187
+ * @param urlString - The URL to parse.
188
+ * @returns An object mapping parameter names to values.
189
+ *
190
+ * @example
191
+ * ```ts
192
+ * useGetUrlParams("https://example.com?q=hello&page=1");
193
+ * // { q: "hello", page: "1" }
194
+ *
195
+ * useGetUrlParams("not-a-url"); // {}
196
+ * ```
197
+ */
198
+ export declare function useGetUrlParams(urlString: string): Record<string, string>;
199
+ /**
200
+ * Rounds a number (or numeric string) to the specified number of decimal
201
+ * places. Returns `0` for non-numeric input.
202
+ *
203
+ * @param value - The number or numeric string to round.
204
+ * @param decimals - Number of decimal places (defaults to `2`).
205
+ * @returns The rounded number.
206
+ *
207
+ * @example
208
+ * ```ts
209
+ * useRound(3.14159, 2); // 3.14
210
+ * useRound("5.678", 1); // 5.7
211
+ * useRound("not-a-num"); // 0
212
+ * ```
213
+ */
214
+ export declare function useRound(value: string | number, decimals?: number): number;
215
+ /**
216
+ * Computes the arithmetic mean of an array of numbers. Returns `0` for an
217
+ * empty array.
218
+ *
219
+ * @param numbers - The input numbers.
220
+ * @returns The arithmetic mean.
221
+ *
222
+ * @example
223
+ * ```ts
224
+ * useAverage([1, 2, 3, 4, 5]); // 3
225
+ * useAverage([]); // 0
226
+ * ```
227
+ */
228
+ export declare function useAverage(numbers: number[]): number;
44
229
  //#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